java action: get ModelProject

0
  Hi,   In a java action I want to traverse the project. To do this I get the ModelProject: ProjectModelStore pms = Core.getComponent().projectStore(); ModelProject mp = pms.getProject();   As you might see, Core.getComponent() is depracated. I can.t find an alternative way to get hold of the ModelProject. Can anyone point it out??   Second: how do I get the sprintr version/revision/branch in java??   Thx,   BR,   M.
asked
2 answers
0

Core.getConfiguration().getModelerFile()?

 

 

 

answered
0

also flagged deprecated https://apidocs.mendix.com/6/runtime/com/mendix/core/conf/ConfigurationImpl.html#getModelerFile--

 

answered