Getting a reference to or instantiate a IProjectAreaHandle o
How do a get a reference to or instantiate a IProjectAreaHandle object? If
possible, post a sample code showing this. I have a ITeamRepository object at this point. Thanks. -- Sincerely, Ahmed Hadad |
12 answers
Jared Burns (4.5k●2●9)
| answered Jul 23 '08, 1:02 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I don't know anyone who's run RTC plugins on Eclipse 3.2. Feel free to
try running our plugin against the earlier version, of course. But I believe you're in uncharted waters. Jared Burns Jazz Process Team ying1 wrote: Right after I posted this, I realized that removing the dependency to |
Right after I posted this, I realized that removing the dependency to com.ibm.team.process.client may cause other plugins that I use to fail in dependency check.. and it does... Ah well.
Sorry about that. Since com.ibm.team.process.client does not specify a version of org.eclipse.xsd, perhaps an earlier version (say org.eclipse.xsd 2.2.2) can work with it ? |
Is there a way to get an IProjectArea without using any items from com.ibm.team.process.client plug-in ?
I am writing code to be delivered on top of a product that is based on Eclipse 3.2, and have narrowed down to a dependency that the team.process.client needs that is conflicting with the packages that I have... org.eclipse.xsd. Is it possible at all ? |
IProcessClientService clientService =
teamRepository.getClientLibrary(IProcessClientService.class); IProcessArea area = (IProjectArea) clientService.findProcessArea( new URI(areaName), IProcessItemService.ALL_PROPERTIES, progressMonitor); Kai Jazz Process Team Ahmed Hadad (IBM) wrote: Can you, please, post some sample code? Thanks. |
Can you, please, post some sample code? Thanks.
-- Sincerely, Ahmed Hadad "Kai-Uwe Maetzel" <kai> wrote in message news:fvt21v$u8r$1@localhost.localdomain... Get the process client library (IProcessClientService) and use |
Get the process client library (IProcessClientService) and use
'findProcessArea' with a URI that you constructed based on the name. Kai Jazz Process Team Ahmed Hadad (IBM) wrote: I will have the name or that identifies the project area at run time. |
I will have the name or that identifies the project area at run time.
-- Sincerely, Ahmed Hadad "Kai-Uwe Maetzel" <kai> wrote in message news:fvt18p$tvq$2@localhost.localdomain... If a jazz server contains multiple project areas, how do you know for |
If a jazz server contains multiple project areas, how do you know for
which one you have to create the work items? Kai Ahmed Hadad (IBM) wrote: I am writing an external application that will interact with Jazz by means |
I am writing an external application that will interact with Jazz by means
of the Jazz APIs. The application will not be running in the Jazz environment. My application will be migrating defects (workitem) from other problem tracking systems (Bugzilla, CMVC, CQ and so on) into Jazz. I have accomplish the login operation, and I have ITeamRepository object. I need to get a handle to the IProjectAreaHandle to create workitems there. From parrym, Specifically Ahmed is trying to migrate CMVC Defects to Jazz workitems using the Item Connector APIs. The architecture is similar in nature to the CQ Gateway, only this is a straight jazz application and not implemented with OSGi bundles. -- Sincerely, Ahmed Hadad "Kai-Uwe Maetzel" <kai> wrote in message news:fvt04o$te9$1@localhost.localdomain... Can you give us a bit more context information? What do you try to |
Can you give us a bit more context information? What do you try to
achieve? Without additional information it is hard to give a reasonable answer. Thanks, Kai Jazz Process Team Ahmed Hadad (IBM) wrote: How do a get a reference to or instantiate a IProjectAreaHandle object? |
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.