How to make project area updateable
Hi,
i'm using RTC-SDK-3.0.1.1.zip in eclipse java environment to got a programming interface to the jazz repository.
I want update existing project area from latest process template where the project area derived from.
I'm using following interface to get information from connected team repository:
IProcessItemService.isProjectAreaUpdateable(myProjectArea, monitor)
This function should tells me whether myProjectArea is updateable(true) or not (false).
This function always returned false for my projectArea's.
So my question is:
How to make project areas updateable?
One answer
Whether or not the project area is "updateable" is not a property of the project area itself.
There is an eclipse extension point " com.ibm.team.process.service.projectAreaUpdater ", a project area will be updateable if there exists a projectAreaUpdater that specifies that it updates the process template that matches the project area's IProjectArea.getProcessDefinition().getProcessId() .
This is the extent of my knowledge, it looks like whoever provides the process template will also need to provide an updater for it for a project that uses it to be updateable.
There is an eclipse extension point " com.ibm.team.process.service.projectAreaUpdater ", a project area will be updateable if there exists a projectAreaUpdater that specifies that it updates the process template that matches the project area's IProjectArea.getProcessDefinition().getProcessId() .
This is the extent of my knowledge, it looks like whoever provides the process template will also need to provide an updater for it for a project that uses it to be updateable.