Return-Path: Delivered-To: apmail-incubator-ivy-user-archive@locus.apache.org Received: (qmail 81889 invoked from network); 11 Jun 2007 10:26:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Jun 2007 10:26:44 -0000 Received: (qmail 71920 invoked by uid 500); 11 Jun 2007 10:26:47 -0000 Delivered-To: apmail-incubator-ivy-user-archive@incubator.apache.org Received: (qmail 71892 invoked by uid 500); 11 Jun 2007 10:26:47 -0000 Mailing-List: contact ivy-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ivy-user@incubator.apache.org Delivered-To: mailing list ivy-user@incubator.apache.org Received: (qmail 71883 invoked by uid 99); 11 Jun 2007 10:26:47 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jun 2007 03:26:47 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [164.128.235.36] (HELO int.ofac.ch) (164.128.235.36) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jun 2007 03:26:42 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: file name changes after resolve Date: Mon, 11 Jun 2007 12:26:20 +0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: file name changes after resolve Thread-Index: AceqcaQmMyIgxU9fRa2XvC1/lzQlfQBoUcfQ From: "Bhatia Saurabh" To: , X-Virus-Checked: Checked by ClamAV on apache.org Ok great, thanks !! -----Message d'origine----- De=A0: Maarten Coene [mailto:maarten_coene@yahoo.com]=20 Envoy=E9=A0: samedi, 9. juin 2007 10:39 =C0=A0: ivy-user@incubator.apache.org Objet=A0: Re: file name changes after resolve You can use [originalname] in your artifact pattern to keep the original = filename. http://incubator.apache.org/ivy/doc/concept.html -- Maarten ----- Original Message ---- From: Bhatia Saurabh To: ivy-user@incubator.apache.org Sent: Friday, June 8, 2007 10:43:51 AM Subject: RE: file name changes after resolve U r right. Axis being an external jar, it doesnt have an ivy file, so = when ivy does a resolve from the rep to the cache, it changes its = file-name. The problem is however, also linked to my projects that do have an ivy = file in which for every dependency, I have specified the following: Now, when ivy does a resolve to the cache, it changes the filename to = OFACPool-prod.jar; I wanted to keep the filenames same as in the = repository since the revision part I would like to keep to myself and = Ivy and would have preferred to maintain the same file names. Is there a way to do this ? Thanks -----Message d'origine----- De : John Gill [mailto:llignhoj@gmail.com]=20 Envoy=E9 : jeudi, 7. juin 2007 14:37 =C0 : ivy-user@incubator.apache.org Objet : Re: file name changes after resolve What does the ivy.xml file look like for axis? My guess is that it is expecting you to use [revision] in the pattern, = and wants to store in the cache with a revision. There is also a cache = pattern in the settings file. cacheArtifactPattern defaults to [organisation]/[module]/[type]s/[artifact]-[revision].[ext] so if you = have no revision in your ivy.xml for axis, it will be as if it is [organisation]/[module]/[type]s/[artifact]-.[ext] which is what you are getting. You really need a revision specified otherwise it all breaks down. On 6/7/07, Bhatia Saurabh wrote: > > Hello, > > > > In my repository, I have the file names in their original form e.g. > axis.jar. > > Resolve: file name changes in the local cache to axis-.jar > > Retrieve: Since Ivy picks up the files from the local cache, I have = the > files with names changed in my IDE as well in my lib directory. > > > > I also changed the ivy.properties file in the ivy distribution on my > classpath to contain: > > ivy.retrieve.pattern =3D ${ivy.lib.dir}/[artifact].[ext] > > ivy.deliver.ivy.pattern =3D = ${ivy.distrib.dir}/[type]s/[artifact].[ext] > > ivy.publish.src.artifacts.pattern =3D > ${ivy.distrib.dir}/[type]s/[artifact].[ext] > > > > Still nothing seems to work. Looking for ideas. > > > > What should I change ? > > > > Thanks > > --=20 Regards, John Gill =20 _________________________________________________________________________= ___________ Pinpoint customers who are looking for what you sell.=20 http://searchmarketing.yahoo.com/