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

[RAM] Custom ANT Script: How can i prohibit modify a non existing asset?

I need modify an existing asset on Rational Asset Manager, but when i request a build with a non existing version, RAM creates a new asset with this version.

1 vote


Accepted answer

Permanent link
Hi,

I think that is how modify task works at this moment. If ANT client could not fetch asset according to guid/version, or search input, it eill create a new one according to version, and guid, if there is one.

If one is not sure about the guid or version the asset, I woule like to suggest use search type to specify the criteria of the asset and leave ram:guid and ram:version alone. I think in that way modify task will use the first existing asset return from search result, and new asset will not be created even if there is no asset return from search.

Thanks.


Christiano Monteiro selected this answer as the correct answer

1 vote


One other answer

Permanent link
Lin Lu,

It worked perfectly. I changed the query criteria using the name, community, type and status.

Thank you so much.

Christiano Monteiro.

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
× 12,023
× 20

Question asked: Oct 22 '14, 1:56 p.m.

Question was seen: 4,133 times

Last updated: Oct 23 '14, 9:19 a.m.

Confirmation Cancel Confirm