Working copy vs. mutable copy
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 |
5 answers
Jared Burns (4.5k●2●9)
| answered Mar 25 '10, 11:03 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
On Thu, 25 Mar 2010 15:08:01 +0000, garymu wrote:
I'm struggling to understand the difference between a working copy ProjectAreaWorkingCopy isn't API so you can't use it. -- Jared Burns Jazz Process Team |
Jared Burns (4.5k●2●9)
| answered Mar 25 '10, 12:50 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
On Thu, 25 Mar 2010 17:53:00 +0000, garymu wrote:
One of the code snippets (Snippet3.java) out there on Jazz.net to show 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 |
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 |
Jared Burns (4.5k●2●9)
| answered Mar 26 '10, 9:02 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
On Fri, 26 Mar 2010 12:38:02 +0000, garymu wrote:
By the way, Jared, the example code snippets I mentioned are packaged up 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 |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.