0

Hy, I am trying to create MSPDI (.xml) file using MPXJ library. I've managed to add tasks and resources but I have problem with setting project Title, etc.

I have checked examples on SourceForge and can't find how to set ProjectProperties to ProjectFile. There is only get method.

Any help or suggestions would be great :)

BR, Vid Kraner

Scip
  • 3
  • 3

1 Answers1

0

Here's some example code from MpxjCreate.java which shows properties being set:

  ProjectProperties properties = file.getProjectProperties();
  properties.setStartDate(df.parse("01/01/2003"));
  properties.setProjectTitle("Created by MPXJ");
  properties.setAuthor("Jon Iles");
Jon Iles
  • 2,519
  • 1
  • 20
  • 30
  • Thank you very much Jon. I was looking at [link](http://mpxj.cvs.sourceforge.net/viewvc/mpxj/src/net/sf/mpxj/sample/MpxjCreate.java?revision=1.12&view=markup) and didn't find it. – Scip Jul 05 '16 at 06:47