Author Topic: Java-API: CreateBaseline application (parameter)  (Read 2509 times)


  • EA User
  • **
  • Posts: 38
  • Karma: +0/-0
    • View Profile
Java-API: CreateBaseline application (parameter)
« on: May 08, 2017, 11:18:48 pm »

Question to use of API for CreateBaseline. API Doc describes the requirement to first parameter "PackageGUID: String - the GUID (in XML format) of the Package to Baseline". I found some example for jscript but not for Java API.
I do call
org.sparx.Package packageSel = m_repository.GetTreeSelectedPackage();
m_repository.GetProjectInterface().CreateBaseline(packageSel.GetPackageGUID(),startDate, baseLineNoteStr + startDate);

and it runs seemingly well, but I'm not sure if I use the api well.
Can someone confirm or please describe correct use of api.

Thank you  in advance


  • EA Guru
  • *****
  • Posts: 12841
  • Karma: +367/-296
  • I'm no guru at all
    • View Profile
Re: Java-API: CreateBaseline application (parameter)
« Reply #1 on: May 08, 2017, 11:43:51 pm »
As written in the other reply: see GetProjectInterface GUID XML conversion routines.