Why is IProjectArea.getProcessData() finding multiple process xml source objects for a project area? v 4.0
I am using 4.0, and building a tool to extract all the process xml for all (or specified) project(s).
I get the project, and then the process data content
IProjectArea.getProcessData();
this is a Map..
so, looping thru the keys, I find TWO definitons of the process xml..
under keys
com.ibm.team.internal.process.40.compiled.xml
and
com.ibm.team.internal.process.compiled.xml
the content is identical between the two..
in 3.0.1.1 only
com.ibm.team.internal.process.compiled.xml
is returned..
is this a bug?
Sam
I get the project, and then the process data content
IProjectArea.getProcessData();
this is a Map..
so, looping thru the keys, I find TWO definitons of the process xml..
under keys
com.ibm.team.internal.process.40.compiled.xml
and
com.ibm.team.internal.process.compiled.xml
the content is identical between the two..
in 3.0.1.1 only
com.ibm.team.internal.process.compiled.xml
is returned..
is this a bug?
Sam
Accepted answer
Those two keys will have different values when the project area is consuming the process of a project area on a remote server. Otherwise, the keys should have the same value.
You can probably look at just the com.ibm.team.internal.process.compiled.xml key and ignore the "40" key.
(The two separate keys are needed in order to correctly support 3.0.x Eclipse clients connecting to a 4.0 server.)
-- David Olsen, IBM Rational, Jazz Process Team