Skip to content

aspose-tasks/Aspose.Tasks-for-Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub all releases GitHub

Microsoft Project File Manipulation API

Aspose.Tasks a Java Project Management API to manipulate Microsoft Project files. Developers can define a project’s main and default properties as well as calendar information. API also provides the ability to specify weekdays and calendar exceptions while making it easy to add & recalculate tasks, resources and other data without user intervention.

Directory Description
Examples A collection of Java examples that help you learn how to product features.
Plugins Plugins that will demonstrate more features of Aspose.Tasks for Java.

Microsoft Project File Processing

  • Read, change and write Microsoft Project® documents.
  • Read MPP and XML project formats.
  • Create, update and write projects in an XML project format.
  • Read MPP project files, update summary information and write in original MPP format.
  • Read MPP project files and convert them to XML format.
  • Change main project settings like schedule type, start and finish dates.
  • Change default project settings like default standard rate, default overtime rate, default task type, default fixed cost accrual, etc.
  • Manage extended attributes.
  • Define weekdays for the project as well as for calendars and calendar exceptions.
  • Read and write calendars for tasks and resources.
  • Manage task baseline scheduling & duration.
  • Handle constraints on tasks.
  • Create and manage links between tasks.
  • Read, change and create tasks, milestone, estimated critical or effort driven tasks.
  • Manage resources costs and variances.
  • Access assignment costs and budget.
  • Resource prefix implementation for nested resources

Read & Write Project Formats

MPP, XML, MPT, MPX

Save Project Files As

XLSX, HTML, TXT, PDF, XER, PrimaveraP6XML
TIF, SVG, PNG, JPEG

Supported Environments

  • Microsoft Windows: Windows Desktop & Server (x86, x64)
  • macOS: Mac OS X
  • Linux: Ubuntu, OpenSUSE, CentOS, and others
  • Java Versions: J2SE 7.0 (1.7) or above

Get Started with Aspose.Tasks for Java

Aspose hosts all Java APIs at the Aspose Repository. You can easily use Aspose.Tasks for Java API directly in your Maven projects with simple configurations. For the detailed instructions please visit Installing Aspose.Tasks for Java from Maven Repository documentation page.

Read Project Data from Microsoft Project Database

String url = "jdbc:sqlserver://";
String serverName = "192.168.56.2\\MSSQLSERVER";
String portNumber = "1433";
String databaseName = "ProjectServer_Published";
String userName = "sa";
String password = "***";
MspDbSettings settings = new MspDbSettings(url+serverName+":"+portNumber+";databaseName="+databaseName+
         ";user=" + userName + ";password=" + password, UUID.fromString("E6426C44-D6CB-4B9C-AF16-48910ACE0F54"));
 
addJDBCDriver(new File("sqljdbc4.jar"));
 
Project project = new Project(settings);
project.save(dir + "output.xml", SaveFileFormat.XML);

Home | Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License