Working copy vs. mutable copy
5 answers
On Thu, 25 Mar 2010 15:08:01 +0000, garymu wrote:
ProjectAreaWorkingCopy isn't API so you can't use it.
--
Jared Burns
Jazz Process Team
I'm struggling to understand the difference between a working copy
(ProjectAreaWorkingCopy) of a project, and just having a mutable version
of a project
(IProcessItemService.getMutableCopy(IProjectArea)).
What can/should I do to one, and what to the other?
Thanks, Gary
ProjectAreaWorkingCopy isn't API so you can't use it.
--
Jared Burns
Jazz Process Team
On Thu, 25 Mar 2010 17:53:00 +0000, garymu wrote:
This interface shouldn't be API and we have a workitem to remove it:
101050: Remove com.ibm.team.process.client.workingcopies as a "API"
package
The classes in the ...process.client.workingcopies package are intended
for use only by our editors. I'm disappointed to hear that someone posted
a snippet to jazz.net telling people to use this API. Can you please
point me to the URL?
If you want to modify a project area, you should just use a mutable copy.
--
Jared Burns
Jazz Process Team
One of the code snippets (Snippet3.java) out there on Jazz.net to show
how to use the APIs has the following line of code.
IProcessAreaWorkingCopy areaWc =
(IProcessAreaWorkingCopy)service.getWorkingCopyManager
().createPrivateWorkingCopy(teamArea);
This interface shouldn't be API and we have a workitem to remove it:
101050: Remove com.ibm.team.process.client.workingcopies as a "API"
package
The classes in the ...process.client.workingcopies package are intended
for use only by our editors. I'm disappointed to hear that someone posted
a snippet to jazz.net telling people to use this API. Can you please
point me to the URL?
If you want to modify a project area, you should just use a mutable copy.
--
Jared Burns
Jazz Process Team
Sorry - I meant IProcessAreaWorkingCopy.
One of the code snippets (Snippet3.java) out there on Jazz.net to show how to use the APIs has the following line of code.
IProcessAreaWorkingCopy areaWc = (IProcessAreaWorkingCopy)service.getWorkingCopyManager().createPrivateWorkingCopy(teamArea);
Should this be done some other way?
Thanks for your help, Gary
One of the code snippets (Snippet3.java) out there on Jazz.net to show how to use the APIs has the following line of code.
IProcessAreaWorkingCopy areaWc = (IProcessAreaWorkingCopy)service.getWorkingCopyManager().createPrivateWorkingCopy(teamArea);
Should this be done some other way?
Thanks for your help, Gary
On Fri, 26 Mar 2010 12:38:02 +0000, garymu wrote:
Thanks, Gary. I wasn't aware of the snippets in this download. I'll try
to get them fixed up.
--
Jared Burns
Jazz Process Team
By the way, Jared, the example code snippets I mentioned are packaged up
in the Plain Java Client Libraries zip file available from the RTC "All
Downloads" page.
Gary
Thanks, Gary. I wasn't aware of the snippets in this download. I'll try
to get them fixed up.
--
Jared Burns
Jazz Process Team