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 7A6686698 for ; Fri, 24 Jun 2011 13:02:37 +0000 (UTC) Received: (qmail 45427 invoked by uid 500); 24 Jun 2011 13:02:37 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 45372 invoked by uid 500); 24 Jun 2011 13:02:36 -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 45364 invoked by uid 99); 24 Jun 2011 13:02:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Jun 2011 13:02:36 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jeanlouis.boudart@gmail.com designates 209.85.218.45 as permitted sender) Received: from [209.85.218.45] (HELO mail-yi0-f45.google.com) (209.85.218.45) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Jun 2011 13:02:31 +0000 Received: by yia25 with SMTP id 25so1407878yia.4 for ; Fri, 24 Jun 2011 06:02:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=AUr7ZCQT274bpOHnQpxe+sXKM+2MO79c0HfeXUiNeYs=; b=kkyG0eMe12n/ngCVWL2Fp07z0TZ5A1QvaDZwZoWsJt6VwmKyczJRYoJuw2fTKeNLEQ AM9A8OD/p5hVfRQmMjpcMf0vXnsavGTdUpo7rHDHyOmC1rAZ3oZ5DE65miJflJg6/yVJ CS1UTlrHOkbTVyqkrK/J2yOdcG6GCiJ7ZDegM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=LHhBpslXJSPZHKuD6cLw5w3rulluBSEUfTYfxLBKBs6gQ6sp4WsVAT+uP6dPwHDBnd V7tyIVACE0pdagPyAaYweJNkhAMtKzLnESWO8USgPEl3xFK1Tu1Eo9TAyLaYW6VOigL2 vniWIaMrHeM/QA8hMeSNHxR/bp1IACxy2xk18= MIME-Version: 1.0 Received: by 10.236.176.36 with SMTP id a24mr4600788yhm.284.1308920530593; Fri, 24 Jun 2011 06:02:10 -0700 (PDT) Received: by 10.146.168.8 with HTTP; Fri, 24 Jun 2011 06:02:10 -0700 (PDT) In-Reply-To: References: Date: Fri, 24 Jun 2011 15:02:10 +0200 Message-ID: Subject: Re: Unable to fetch a library from my repo From: Jean-Louis Boudart To: ivy-user@ant.apache.org Content-Type: multipart/alternative; boundary=20cf303b3cc143e90504a674cfe1 --20cf303b3cc143e90504a674cfe1 Content-Type: text/plain; charset=ISO-8859-1 Hi again, I'm not sure to have enough information, but it seems you're using a wrong pattern for dynamic revision (see http://ant.apache.org/ivy/history/latest-milestone/ivyfile/dependency.html). I assume you used "[3.3.0,4.0.0)", instead of : - "[3.3.0,4.0.0]" (a version greater or equal to 3.3.0 and lower or equal to 4.0.0) - "[3.3.0,4.0.0[" (a version greater or equal to 3.3.0 and lower than 4.0.0) Hope that helps, 2011/6/24 jerome moliere > Hi all, > this is my first message here.... > I am about delivering a continuus integration solution to my > customers, it's built upon Hudson, ANT + Ivy , artifactory ,bnd and > Test-NG > I work on a project based on OSGi , this is a multi - multi projects > one with an organisation like this: > P1 : > module 11 > module 12 > module 13 > > P2: > module21 > module22 > > P3: > module31 > module32 > module33 > > The whole project is about 300 OSGi bundles > I am already able to build about 250 bundles, but in one module three > 's a dependency that Ivy can't find I've got a message like this: > [ivy:resolve] :: resolution report :: resolve 8479ms :: artifacts dl 1ms > > --------------------------------------------------------------------- > | | modules || artifacts > | > | conf | number| search|dwnlded|evicted|| > number|dwnlded| > > --------------------------------------------------------------------- > | std | 5 | 2 | 0 | 0 || 4 | 0 > | > | test | 0 | 0 | 0 | 0 || 0 | 0 > | > > --------------------------------------------------------------------- > [ivy:resolve] > [ivy:resolve] :: problems summary :: > [ivy:resolve] :::: WARNINGS > [ivy:resolve] module not found: > org.eclipse.core#commands;[3.3.0,4.0.0) > [ivy:resolve] ==== public: tried > [ivy:resolve] > > http://localhost:8081/artifactory/repo/org/eclipse/core/commands/[revision]/commands-[revision].pom > [ivy:resolve] [3.3.0-I20070605-0010, 3.2.0-I20060605-1400] > [ivy:resolve] -- artifact > org.eclipse.core#commands;[3.3.0,4.0.0)!commands.jar: > [ivy:resolve] > > http://localhost:8081/artifactory/repo/org/eclipse/core/commands/[revision]/commands-[revision].jar > [ivy:resolve] [3.3.0-I20070605-0010, 3.2.0-I20060605-1400] > [ivy:resolve] ==== artifactory-publish: tried > [ivy:resolve] > > http://localhost:8081/artifactory/libs-release-local/org.eclipse.core/commands/[revision]/ivy-[revision].xml > [ivy:resolve] -- artifact > org.eclipse.core#commands;[3.3.0,4.0.0)!commands.jar: > [ivy:resolve] > > http://localhost:8081/artifactory/libs-release-local/org.eclipse.core/commands/[revision]/commands-[revision].jar > [ivy:resolve] :::::::::::::::::::::::::::::::::::::::::::::: > [ivy:resolve] :: UNRESOLVED DEPENDENCIES :: > [ivy:resolve] :::::::::::::::::::::::::::::::::::::::::::::: > [ivy:resolve] :: org.eclipse.core#commands;[3.3.0,4.0.0): not > found > [ivy:resolve] :::::::::::::::::::::::::::::::::::::::::::::: > > > As stated the repository contains one version of > org.eclipse.core.commands with a strange version number (it's not my > fault -) ) > The dependency requires any version between 3.3 and 4.0.0 but the > version living in the repo does not match ... > > what can I do ? Should I use a Latest-Startegy ? if yes, how ? > Can I implement my own strategy ? Can i force Ivy to use the version > in the repository ? > > > Thanks for your help > Kind regards > jerome > > J.MOLIERE - Mentor/J > auteur Eyrolles > -- Jean Louis Boudart Independent consultant Project Lead http://www.easyant.org --20cf303b3cc143e90504a674cfe1--