How to Merge PRIMAVERA XER to MS PROJECT Using Java

In order to Merge PRIMAVERA XER to MS PROJECT, we’ll use

Aspose.Tasks for Java

API which is a feature-rich, powerful and easy to use conversion API for Java platform. You can download its latest version directly from


and install it within your Maven-based project by adding the following configurations to the pom.xml.

Package Manager Console Command

<name>Aspose Java API</name>


<version>version of aspose-tasks API</version>

Steps to Merge PRIMAVERA XER to MS PROJECT via Java

Developers can easily load & merge PRIMAVERA XER files to MS PROJECT in just a few lines of code.

  1. Load first file as project with Project class
  2. Decide what entities you what to merge (tasks, assignment, resources, etc)
  3. Load other files as project objects with Project class
  4. Add target entities from other project objects to the first one
  5. Call the Project.Save method with output file path & SaveFileFormat.PRIMAVERA XER as parameters

System Requirements

Before running the merging example code, make sure that you have the following prerequisites.

  • Microsoft Windows or a compatible OS with Java Runtime Environment for JSP/JSF Application and Desktop Applications.
  • Get latest version of Aspose.Tasks for Java directly from Maven.

This sample code shows PRIMAVERA XER to MS PROJECT Java Merging

  • Free App to Merge PRIMAVERA XER to MS PROJECT

    Other Supported Merging Formats

    You can also merge PRIMAVERA XER into other file formats including few listed below.

    PRIMAVERA XER TO MPP (Microsoft Project Data File)
    PRIMAVERA XER TO PDF (Portable Document Format)
    PRIMAVERA XER TO MS PROJECT (Microsoft Project Data File)