aspose file tools*
The moose likes Other Open Source Projects and the fly likes How can I save Baseline by using MPXJ Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "How can I save Baseline by using MPXJ" Watch "How can I save Baseline by using MPXJ" New topic
Author

How can I save Baseline by using MPXJ

Carley Wong
Greenhorn

Joined: May 21, 2008
Posts: 1
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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How can I save Baseline by using MPXJ