Reading Microsoft files from Java code is one of the little joys in life (he said sarcastically, through clenched teeth). I’ve worked with the Apache POI project to do this successfully in the past. I recently came across MPXJ. It sits on top of POI to allow Java developers to manipulate Microsoft Project Exchange (MPX), Microsoft
Project (MPP, MPT), and Microsoft Project Data Interchange (MSPDI) files. The project is at SourceForge.
For readers interested in Alfresco, one thing you can do with this library is use it to create metadata extractors and content transformers for Microsoft Project. The latter enables Project files to be full-text indexed by the Lucene search engine. The MPXJ library depends on the same version of Apache POI that is shipped with Alfresco 2.2 Enterprise and 2.9 Community (Apache POI 3.0.2).
Hi,
have you already worked with MPXJ? I’m actually trying to write my own Project plan as XML-File. It works fine. Do you have an example for adding the actualWork-attribute to single tasks?
I hope you can help me.
Best regards
Judith Metzner
hi , i m also working with mpxj library but facing problem in updating the existing contents can you help me out?
Sorry, vaibhav, I have no detailed knowledge about the MPXJ library other than what I’ve shared in the blog and the Alfresco Developer Guide.
can anyane tel me how to read data from microsoft project plan file and display its content does any one know how to do