• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

Reading Task Duration as Text & Project IDs from Primavera Document inside Java Apps

Ranch Hand
Posts: 714
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is new in this release?

We are pleased to announce the release of Aspose.Tasks for Java 9.1.0 . This month’s release includes enhancements related to the API’s Project class for loading Primavera files from stream and reading the entire project IDs from Primavera XML files. A Primavera project document may contain more than one project where each project is identified by its own unique identifier (UID). Aspose.Tasks for Java now supports reading all the project ids from such a Primavera document that can then be used to access and retrieve individual project from such a file. The following sample code shows how to retrieve all project IDs from multi-project Primavera XML file. This month’s release also includes a new property to the Tsk class for retrieving task duration as text. This can be retrieved using the Tsk.DURATION_TEXT property. If this field returns null, the Duration filed can be used to get the task duration. Ported from its equivalent .NET version, Aspose.Tasks for Java includes the same bug fixes as were part of its equivalent .NET version. Below is the complete list of bug fixes and enhanced features included in this release.

- Implement Task.DurationText field writing to mpp 2010/2013 formats
- Read Task.DurationText field from project file
- Provide constructor for Project(Stream steam,PrimaveraXmlReadingOptions options)
- Read all projects UID from Primavera XML to get list of UID
- Project reading exception while loading the MPP file
- Reading MPP file raises ProjectReadingException
- Project reading exception raised while loading the project

Newly added documentation pages and articles

Some new tips and articles have now been added into Aspose.Tasks for .NET documentation that may guide you briefly how to use Aspose.Tasks for performing different tasks like the followings.

- Importing and Exporting Project Data to Primavera Format
- Reading a Project File

Overview: Aspose.Tasks for Java

Aspose.Tasks is a non-graphical Java Project management component that enables Java applications to read, write & manage Project documents without utilizing MS Project. It supports reading MS Project Template (MPT) files as well as allows exporting project data to HTML, BMP, PNG, JPEG, PDF, TIFF, XPS, XAML and SVG formats. It reads & writes MS Project documents in both MPP & XML formats. Developers can read & change tasks, recurring tasks, resources, resource assignments, relations & calendars.

More about Aspose.Tasks for Java

- Homepage of Aspose.Tasks for Java
- Download Aspose.Tasks for Java
- Online documentation of Aspose.Tasks for Java

Contact Information
Aspose Pty Ltd
Suite 163, 79 Longueville Road
Lane Cove, NSW, 2066
Aspose - The .NET and Java component publisher
Phone: 888.277.6734
Fax: 866.810.9465
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic