Browse our Products
<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-tasks</artifactId>
<version>21.9</version>
<classifier>jdk18</classifier>
</dependency>
compile(group: 'com.aspose', name: 'aspose-tasks', version: '21.9', classifier: 'jdk18')
<dependency org="com.aspose" name="aspose-tasks" rev="21.9">
<artifact name="aspose-tasks" m:classifier="jdk18" ext="jar"/>
</dependency>
libraryDependencies += "com.aspose" % "aspose-tasks" % "21.9"
Microsoft Project File Manipulation API
Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License
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.
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
Aspose.Tasks Java APIs are hosted 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);
Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License
Version | Release Date |
---|---|
24.9 | September 30, 2024 |
24.8 | August 27, 2024 |
24.7 | July 29, 2024 |
24.6 | June 28, 2024 |
24.5 | May 23, 2024 |
24.4 | April 17, 2024 |
24.3 | March 26, 2024 |
24.2 | February 28, 2024 |
24.1 | January 30, 2024 |
23.12 | December 21, 2023 |
23.11 | November 21, 2023 |
23.10 | October 19, 2023 |
23.9 | September 21, 2023 |
23.8 | August 25, 2023 |
23.7 | July 21, 2023 |
23.6 | June 23, 2023 |
23.5 | May 19, 2023 |
23.4 | April 19, 2023 |
23.3 | March 15, 2023 |
23.2 | February 10, 2023 |
23.1 | January 21, 2023 |
22.12 | December 19, 2022 |
22.11 | November 18, 2022 |
22.10 | October 7, 2022 |
22.9 | September 12, 2022 |
22.8 | August 16, 2022 |
22.7 | July 14, 2022 |
22.6 | June 21, 2022 |
22.5 | May 25, 2022 |
22.4 | April 25, 2022 |
22.3 | March 23, 2022 |
22.2 | February 22, 2022 |
22.1 | January 26, 2022 |
21.12 | December 14, 2021 |
21.11 | November 17, 2021 |
21.10 | October 25, 2021 |
21.9 | September 14, 2021 |
21.8 | August 13, 2021 |
21.7 | July 10, 2021 |
21.6 | June 15, 2021 |
21.5 | May 12, 2021 |
21.4 | April 7, 2021 |
21.3 | March 16, 2021 |
21.2 | February 18, 2021 |
20.12 | December 30, 2020 |
20.11 | November 24, 2020 |
20.10 | October 16, 2020 |
20.8 | September 10, 2020 |
20.7 | July 8, 2020 |
20.6 | June 16, 2020 |
20.4 | April 22, 2020 |
20.2 | February 25, 2020 |
20.1 | January 31, 2020 |
19.12 | December 25, 2019 |
19.10 | November 8, 2019 |
19.9 | September 27, 2019 |
19.7 | August 13, 2019 |
19.6 | July 11, 2019 |
19.5 | June 3, 2019 |
19.4 | April 8, 2019 |
19.3 | March 18, 2019 |
18.11 | November 28, 2018 |
18.10 | October 31, 2018 |
18.8 | September 28, 2018 |
18.7 | July 30, 2018 |
18.6 | June 29, 2018 |
18.5 | May 31, 2018 |
18.4 | May 3, 2018 |
18.3 | March 29, 2018 |
17.11 | January 28, 2018 |
17.8 | November 13, 2017 |
17.5 | July 22, 2017 |
17.3.0 | May 16, 2017 |
17.1.0 | February 22, 2017 |
16.11.0 | December 11, 2016 |
9.6.0 | October 26, 2016 |
9.5.0 | August 21, 2016 |
9.4.0 | June 17, 2016 |
9.3.0 | March 18, 2016 |
9.2.0 | January 29, 2016 |
9.1.0 | December 30, 2015 |
File | Classifier | Size |
---|---|---|
aspose-tasks-21.9-javadoc.jar | javadoc | 2.59 MB |
aspose-tasks-21.9-jdk17.jar | jdk17 | 12.67 MB |
aspose-tasks-21.9-jdk18.jar | jdk18 | 12.67 MB |
aspose-tasks-21.9.pom | 448 bytes |