Return-Path: X-Original-To: apmail-ant-ivy-user-archive@www.apache.org Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9FDA865C1 for ; Thu, 30 Jun 2011 21:39:34 +0000 (UTC) Received: (qmail 78576 invoked by uid 500); 30 Jun 2011 21:39:34 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 78505 invoked by uid 500); 30 Jun 2011 21:39:33 -0000 Mailing-List: contact ivy-user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ivy-user@ant.apache.org Delivered-To: mailing list ivy-user@ant.apache.org Received: (qmail 78488 invoked by uid 99); 30 Jun 2011 21:39:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Jun 2011 21:39:33 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [98.138.91.92] (HELO nm16-vm2.bullet.mail.ne1.yahoo.com) (98.138.91.92) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 30 Jun 2011 21:39:24 +0000 Received: from [98.138.90.51] by nm16.bullet.mail.ne1.yahoo.com with NNFMP; 30 Jun 2011 21:39:03 -0000 Received: from [98.138.89.196] by tm4.bullet.mail.ne1.yahoo.com with NNFMP; 30 Jun 2011 21:39:03 -0000 Received: from [127.0.0.1] by omp1054.mail.ne1.yahoo.com with NNFMP; 30 Jun 2011 21:39:03 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 599206.51338.bm@omp1054.mail.ne1.yahoo.com Received: (qmail 11955 invoked by uid 60001); 30 Jun 2011 21:39:03 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1309469943; bh=wzaYaTZIn7zCNCRlz/IvrpC2h1MPn3Oc1NnyM+AVs2M=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=a3L6OLbGLcDF1DVVzv6OTjjdQb67xUt6cGS1EV5cPEqGnv1Q2+o0D2qzN5atgjRRFNgk9uXk08hG0M5vw/s77nd8vJfPQmVcKUnjAWcREebj2xY9ynQ7RX7zeP2/p0zRO7iSzRqFhLlebKIeCWz1ZSqt5enwSTaa3IfJA3Y+WmU= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=lthFbcHb570t0MYAT5Y5SLpa0ooyqwR/Le9NFuTk7RYGMdlrK7XIDQoRacy2ozTJ5lN1NM3Fc2xwS3hoxCIBmybFuSdA8/jbUCpkIRRQt31jF4JUeNUn/S2OdbZQHs5HMNLF104OgBF/B9/iF9trHxHP4XJ+InCPE5aJlNFqezQ=; X-YMail-OSG: 0FldVpcVM1kriywwDgzOhkyTnXpMvhTW4qlAc3ppAx5qVhv BG.e64q2YHiP.iwrBDcwW9v79QNJ1L7ldSE4rqz23xk8PyvsICkB7CL9gUnt RpJdP9UJR1avrgIa6jlzyiEs6YOTh.dNQ6T9QdZi.5VpgqezUGrfJN5d6xTz 1JtaGi07ELUt.pUQescQWPN9yiB.loApAuGbYgZXLl5e3IoE1F54_TyiDWAc 5aW_ugx2PcBTtGcGQEWT7ML68ohhJUsIQbGCUhCVa0EGUmYJCGPVPyQkDx3S rS2G6Y510CbqUlgJKAmdzu5AIp6QGOLnnfn.erXDJAkvgP.gGwSQCTdg9mGg ljhnmt1NHcEGasE_mEwRqkONKI3Lg5sWIK7u13OIylOcR1tow2.LlMFxE Received: from [91.177.139.107] by web30806.mail.mud.yahoo.com via HTTP; Thu, 30 Jun 2011 14:39:03 PDT X-Mailer: YahooMailWebService/0.8.112.307740 References: Message-ID: <1309469943.76838.YahooMailNeo@web30806.mail.mud.yahoo.com> Date: Thu, 30 Jun 2011 14:39:03 -0700 (PDT) From: Maarten Coene Reply-To: Maarten Coene Subject: Re: Help with publish To: "ivy-user@ant.apache.org" In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-666679995-1309469943=:76838" --0-666679995-1309469943=:76838 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Could you try adding the srcivypattern attribute to your ivy:publish task a= nd make it point to your ivy.xml file?=0A=0AMaarten=0A=0A=0A=0A____________= ____________________=0AFrom: Shaka Tard =0ATo: ivy-use= r@ant.apache.org=0ASent: Thursday, June 30, 2011 1:14 AM=0ASubject: Help wi= th publish=0A=0AI'm writing to see if anyone else is having this issue with= Ivy, or whether=0AI am doing wrongly.=A0 I apologize profusely, but I have= not found any=0Asatisfactory answer to my problem in any message group aft= er extensively=0Aresearching this problem for days (not full time).=0A=0AI = am trying to publish an artifact to Nexus from an ANT build occurring on=0A= Hudson, and I generally follow the following steps in my ant build (I'm not= =0Aposting full versions unless requested):=0A=0A=0A=0A=0A=0ABy this time,= ${ivy.new.revision} has advanced to 1.0.1, and I *manually*=0Aset a proper= ty called ${revision-number} to that new number.=0A=0AThen, I have ANY copy= the existing jar (ste-batch.jar) to a file named=0A(ste-batch-1.0.1.jar), = because 1.0.0 exists in Nexus already (which works=0Aperfectly ok when publ= ishing something that has never existed before---I=0Aexpect that because I = state the default revision to be 1.0.0 explicitly)=0A=0AAll of this works a= s expected up until here.=0A=0AWhen I perform the publish:=0A=0A=A0 =A0 =A0= =A0 =0A=A0 =A0 =A0= =A0 =A0 =A0 =0A=A0 =A0= =A0 =A0 =A0 =A0 =0A=A0 =A0 =A0 =A0 =A0 =A0 =0A=A0 =A0 =A0 =A0 =0A=0AANT fails with the following er= ror:=0A=0A/home/hudson/.hudson/jobs/Publish-TEST/workspace/build.xml:120:= =0Aspe#ste-batch;1.0.2:=0Ajava.lang.IllegalStateException: ivy file not fou= nd in cache for=0Aspe#ste-batch;1.0.2:=0Aplease resolve dependencies before= delivering=0A(/home/hudson/.ivy2/cache/resolved-spe-ste-batch-1.0.2.xml)= =0A=0A=0AThe file=0A=0A/home/hudson/.ivy2/cache/resolved-spe-ste-batch-1.0.= 2.xml=0A=0Ais never created, and from my research, this occurs because I am= trying to=0Apublish a file, with the name apps-standard-batch-1.0.2.xml, t= hat had not=0Abeen resolved yet. However, that confuses me because it is th= e artifact I am=0Atrying to build, not some dependency I am trying to resol= ve.=0A=0AThe suggestion I thought might closest help me resolve this issue = seems to=0Aexpress the idea that I need to perform a resolve again after th= e new file=0Ahas been created.=A0 However, I have tried that (and it doesn'= t do anything at=0Aall, as expected), but I don't know how or why that woul= d work unless the=0Anew revision was somehow represented in my ivy.xml file= , which it isn't, and=0Aanyway, I'm trying to not put custom revision numbe= rs in my ivy.xml file=0Aregardless.=0A=0AI expect I am missing something el= ementary here, but would love to hear any=0Asuggestions or comments.=A0 I c= an provide more complete examples of the=0Aivysettings.xml, ivy.xml, build.= xml files as requested.=0A=0AThanks very much in advance,=0AShaka Tardimurt= hy --0-666679995-1309469943=:76838--