Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How can I save Baseline by using MPXJ

 
Carley Wong
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I meet a problem with mpxj.
I want to save a serial of tasks as MS Project file by using mpxj, and save both start date and start plan date (refer to "baseline start" in MS Project) of a task, but it is failed to save that info in following code:

ProjectFile mpxFile = new ProjectFile();
Task newTask = mpxFile.addTask();
newTask.setStart(new Date());
newTask.setBaselineStart(new Date()); // here I think it is to save start plan date, but it dosen't work. why?
...
...

Dose any one know how to use mpxj to save that info?
Thanks!
[ May 21, 2008: Message edited by: Carley Wong ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic