This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How can I save Baseline by using MPXJ

Carley Wong
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?
[ May 21, 2008: Message edited by: Carley Wong ]
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic