Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Get project name for a component

 Hello,

I have a component A and I need the names of all of the projects from that components.
How can I do that using Jazz Java Plain Api?

Thanks

0 votes



One answer

Permanent link
Since projects don't necessarily have to be at the top-level, you have to search the configuration for the .project files. (these are special files which Eclipse uses to identify a project)

For a code example, take a look in and around the com.ibm.team.filesystem.ide.ui.internal.wizards.load.LoadWizard class. Specifically there is com.ibm.team.filesystem.ide.ui.internal.wizards.load.LoadWizardInput which does the real work and gathers the information about the projects.

0 votes

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Sep 12 '12, 7:07 a.m.

Question was seen: 5,739 times

Last updated: Sep 12 '12, 11:24 a.m.

Confirmation Cancel Confirm