It's all about the answers!

Ask a question

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


Christiano Monteiro (1356) | asked Oct 22 '14, 1:56 p.m.
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.

Accepted answer


permanent link
Lin Lu (3063) | answered Oct 22 '14, 9:16 p.m.
JAZZ DEVELOPER
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

One other answer



permanent link
Christiano Monteiro (1356) | answered Oct 23 '14, 9:19 a.m.
Lin Lu,

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

Thank you so much.

Christiano Monteiro.

Your answer


Register or 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.