If you use the ivy:retrieve task you can specify an artifact pattern without 
the [revision] token to obtain jars without revision numbers in their filenames.

Maarten




----- Original Message ----
From: Dave Brosius <[email protected]>
To: [email protected]
Sent: Saturday, August 22, 2009 12:09:06 AM
Subject: Re: Ivy and jar references in applets/jnlp, etc.



From: "Geoff Clitheroe" <[email protected]>

>> Hi Dave,


.....[snip].....

>>When you build and deploy (which may be no more
>>thean get pages and jars into the correct place) the resolve for this
>>project could fetch the jars from a repo and rename them to remove the
>>version number as part of the ivy resolve.

Hmm, thats reasonable. i wonder if an ant task with simple regex could do 
this...

>>As a general comment - when we rename jars, or build our own, to not
>>have version numbers as part of the name we're very careful to make
>>sure the manifest has the versions in it incase we need to identify
>>them later...

yup, makes sense.

thanks.



      

Reply via email to