Return-Path: Delivered-To: apmail-incubator-ivy-user-archive@locus.apache.org Received: (qmail 11745 invoked from network); 9 Oct 2007 00:32:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Oct 2007 00:32:15 -0000 Received: (qmail 10565 invoked by uid 500); 9 Oct 2007 00:32:02 -0000 Delivered-To: apmail-incubator-ivy-user-archive@incubator.apache.org Received: (qmail 10548 invoked by uid 500); 9 Oct 2007 00:32:02 -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 10539 invoked by uid 99); 9 Oct 2007 00:32:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Oct 2007 17:32:02 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of llignhoj@gmail.com designates 209.85.198.187 as permitted sender) Received: from [209.85.198.187] (HELO rv-out-0910.google.com) (209.85.198.187) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Oct 2007 00:32:04 +0000 Received: by rv-out-0910.google.com with SMTP id k20so975262rvb for ; Mon, 08 Oct 2007 17:31:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=xLSaX23kvCA/Cw3j8aSjaLKtspASLsyRucO+ytHs5ow=; b=o1zgWhOBvFn7xU4x7FSOuY617ssmAMzUzZcIbwuks2RxLtVv1XiPc8tbDHJhatPc2Wde8Z/YXEewrxRyyAm6e2c2YsxwNFOrIrKVBVprd3gLr9kPmN9bA5Qx23tjyWqT4xUAcGsUxKEsJOxFivFx5lv+ab4N4AKCiQiJLgjZITk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=q/PjrXEC74jSdnTHg66teifR7aOBZij0w3ItMCKZMoCM6pUVha//gzVFbkBrABsVismXMQKEgDiqo8chvPAPURapzSOYBkhHTLMpdeURemBts7Tb+5P+Qk8ovU37EA1W2HYeI44RefnygchQvazWWAvRKyMhZOcT2J4cPf0YIdQ= Received: by 10.141.87.13 with SMTP id p13mr3217967rvl.1191889901709; Mon, 08 Oct 2007 17:31:41 -0700 (PDT) Received: by 10.141.28.18 with HTTP; Mon, 8 Oct 2007 17:31:41 -0700 (PDT) Message-ID: <49c77ae40710081731v4cba6964t28b5a25d32c7db69@mail.gmail.com> Date: Tue, 9 Oct 2007 08:31:41 +0800 From: "John Gill" To: ivy-user@incubator.apache.org Subject: Re: Problems with cache resolution In-Reply-To: <6.2.5.6.2.20071008171550.02c9eb30@bea.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_21714_8223907.1191889901690" References: <31FA9594A4145149911A37454C9E8D6D0A020A97@gsmbnmp03es.firmwide.corp.gs.com> <635a05060709250841v3a36611qc23a4ae6a6abc032@mail.gmail.com> <6.2.5.6.2.20071006135107.02cfcc98@bea.com> <635a05060710072353t4626bb03p5a89b46ed38b7a67@mail.gmail.com> <6.2.5.6.2.20071008171550.02c9eb30@bea.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_21714_8223907.1191889901690 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline It is because you are publishing "another" version of 2.0.0.0. Try publishing using a build number or publication date as the version, that way the cache won't think you already have that version in the cache. In my book, a version is a version and there cannot be more than one release of it. On 10/9/07, Andy Piper wrote: > > Ok, here's an example: > > I have a module cluster.evs4j that depends on cluster.api.gcp. I have > built the latter and published it to my shared repository so that I see: > > eagle Andrew Piper> ls -l > ../../../target/repository/product/com.bea.wlevs.clus > ter.api.gcp_2.0.0.0.jar > -rwxrwxrwx 1 Andrew Piper None 8890 Oct 8 17:09 > ../../../target/repository/prod > uct/com.bea.wlevs.cluster.api.gcp_2.0.0.0.jar > > All well and good. However, if I look in the cache I see this: > > eagle Andrew Piper> ls -l /windows/Documents\ and\ Settings/Andrew\ > Piper/.ivy2 > /cache/com.bea.wlevs/cluster.api.gcp/jars/cluster.api.gcp-2.0.0.0.jar > -rwx------+ 1 Andrew Piper None 8861 Sep 27 11:48 /windows/Documents > and Setting > s/Andrew > Piper/.ivy2/cache/com.bea.wlevs/cluster.api.gcp/jars/cluster.api.gcp-2. > 0.0.0.jar > > Ok, fine publish does not update the cache. But if I then try and > build cluster.evs4j it *only* consults the cache and *always* gets > the wrong version until I remove it from the cache. This seems like > pretty basic operation to me. > > I realize that I may just be making some configuration faux pas here, > which is why I have not raised a JIRA issue as yet. Is there > something obvious I am doing wrong? Should my publish step somehow > update the cache? > > If it matters ivy.resolver.default.check.modified = true > has no effect. > Thanks! > > andy > > At 07:53 08/10/2007, Xavier Hanin wrote: > >On 10/6/07, Andy Piper wrote: > > > > > > Hi Guys, > > > > > > We are having problems with ivy picking up jars from the cache when > > > they don't exist or when they are older than the jars being built. > > > Our only option seems to be to blow away the cache and start again. > > > Are there known problems in this area (I know about the flag for > > > checking for updates to the ivy files)? We have tried useOrigin but > > > that causes other failures. Are there known issues with useOrigin? > > > > > >I have had some issues when using changing revisions with 2.0.0 alpha 2, > but > >haven't isolated them for the moment. This may be related to what happens > to > >you. But in my case it isn't systematic. For the useOrigin feature, I'm > not > >aware of any problem with 2.0.0 alpha 2 in this area, but maybe others > could > >comment? Or maybe you could raise an issue in JIRA with some more > details? > >Same for bad jars picked up from the cache, describe your situation and > your > >ivy settings, and we'll see how this issue can be fixed. > > > >Xavier > > > >ivy 2.0 alpha2 > > > > > > andy > > > > > > > > > Notice: This email message, together with any attachments, may > contain > > > information of BEA Systems, Inc., its > subsidiaries and affiliated > > > entities, that may be > confidential, proprietary, copyrighted and/or > > > legally privileged, and is intended solely for the use of the > individual or > > > entity named in this message. If you are not the intended recipient, > and > > > have received this message in error, please immediately return > > this by email > > > and then delete it. > > > > > > > > > > >-- > >Xavier Hanin - Independent Java Consultant > >http://xhab.blogspot.com/ > >http://incubator.apache.org/ivy/ > >http://www.xoocode.org/ > > > Notice: This email message, together with any attachments, may contain > information of BEA Systems, Inc., its subsidiaries and affiliated > entities, that may be confidential, proprietary, copyrighted and/or > legally privileged, and is intended solely for the use of the individual or > entity named in this message. If you are not the intended recipient, and > have received this message in error, please immediately return this by email > and then delete it. > -- Regards, John Gill ------=_Part_21714_8223907.1191889901690--