Hi! On Thursday 19 July 2007, Gilles Scokart wrote: > I'm not sure if it works, but you can try to use cachefilset task, then > making a copy of the fileset (I don't know if fileset support the refid > attribute), using a mapper. > > If that doesn't work, you will have to make your retrieve, and rename the > files afterward. > > But if is not flexible enough, you can also raise a JIRA issue to ask to > have ivy able to create fileset or resource collections that could be > copied in ant using a mapper (and maybe with ivy specific mappers).
Or you might do several retrieves each with different pattern attribute value. Note that not only those attributes of the retrieve ant task may be set that are mentioned in the documentation but additional those common to all post resolve tasks (as stated in the documentation some lines above), e.g. organisation and even module. Regards, Johannes Stamminger > > Gilles. > > > -----Original Message----- > > From: news [mailto:[EMAIL PROTECTED] On Behalf Of teknokrat > > Sent: jeudi 19 juillet 2007 12:19 > > To: [email protected] > > Subject: Re: AW: any way to rewrite dependency name? > > > > yes, that works. however I want to do this on a per dependency basis > > i.e. some jars need to have -[rev] and some don't! > > > > [EMAIL PROTECTED] wrote: > > > Should be possible via the pattern attribute of retrieve. > > > http://incubator.apache.org/ivy/history/trunk/use/retrieve.html > > > > > > <ivy:retrieve pattern="[artifact].[ext]"/> > > > > > > > > > Jan > > > > > >> -----Ursprüngliche Nachricht----- > > >> Von: news [mailto:[EMAIL PROTECTED] Im Auftrag von teknokrat > > >> Gesendet: Donnerstag, 19. Juli 2007 11:41 > > >> An: [email protected] > > >> Betreff: any way to rewrite dependency name? > > >> > > >> This is a bit of a strange requirement, but is it possible to have ivy > > >> download thefile-1.0/jar and rename it to thefile.jar? I would like to > > >> have version numbers in the repository but i have some third party > > >> libraries that have the name of thelibrary.jar hard coded in them. > > >> > > >> cheers -- !!! NEU/NEW !!! vvvvvvv [EMAIL PROTECTED] [2FE783D0 http://wwwkeys.PGP.net] ------ ----<--{(@ ------------------ EADS ASTRIUM Koenigsberger Str. 17, 28857 Barrien Ground System Eng. (TE55) +49 4242 169582 (Tel + FAX) Huenefeldstr. 1-5, 28199 Bremen +49 174 7731593 (Mobile) +49 421 539 4152 (Tel) / 4378 (FAX) This email (including any attachments) may contain confidential and/or privileged information or information otherwise protected from disclosure. If you are not the intended recipient, please notify the sender immediately, do not copy this message or any attachments and do not use it for any purpose or disclose its content to any person, but delete this message and any attachments from your system. Astrium disclaims any and all liability if this email transmission was virus corrupted, altered or falsified. --------------------------------------------------------- Astrium GmbH Vorsitzender des Aufsichtsrates: Thomas Mueller - Geschaeftsfuehrung: Evert Dudok (Vorsitzender), Dr. Reinhold Lutz, Pablo Salame Fischer Sitz der Gesellschaft: Muenchen - Registergericht: Amtsgericht Muenchen, HRB Nr. 107 647
