8th Apr, 2008

MPXJ is a Java API for Microsoft Project files

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).

Responses

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

Leave a response

Your response:

Categories