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

[build] How to get the component of a loaded project?

I'm using a Ant-based JBE build that exports build results into a SVN repository.
To be able to map the local build workspace from RTC into the SVN working copy, I need the info to which components the loaded projects belong in the repository workspace/stream.
Can I get this info from somewhere inside my Ant script?

thanks for any hints,
Florian

0 votes



One answer

Permanent link
I need the info to which components the loaded projects belong in the repository workspace/stream. Can I get this info from somewhere inside my Ant script?


Assuming that your projects are in the component root in your remote workspace, and you have loaded all of them, you could try using 'scm list remote-files <ws> <comp> --depth 1'. You can find the components in the remote workspace by running 'scm list components <ws>'.

There currently isn't a mechanism to find which workspace/component contains a loaded resource. That would solve your problem and behave more consistently in scenarios where you're loading a subset of the components or files in a workspace. Please open a work item if you feel that is necessary.

e

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: Apr 01 '10, 5:02 a.m.

Question was seen: 4,892 times

Last updated: Apr 01 '10, 5:02 a.m.

Confirmation Cancel Confirm