Return-Path: Delivered-To: apmail-ant-notifications-archive@locus.apache.org Received: (qmail 5174 invoked from network); 18 Sep 2008 16:03:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Sep 2008 16:03:42 -0000 Received: (qmail 76598 invoked by uid 500); 18 Sep 2008 16:03:38 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 76580 invoked by uid 500); 18 Sep 2008 16:03:38 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 76571 invoked by uid 99); 18 Sep 2008 16:03:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Sep 2008 09:03:38 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED,NORMAL_HTTP_TO_IP X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Sep 2008 16:02:41 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3358B234C1D8 for ; Thu, 18 Sep 2008 09:02:44 -0700 (PDT) Message-ID: <292901869.1221753764205.JavaMail.jira@brutus> Date: Thu, 18 Sep 2008 09:02:44 -0700 (PDT) From: "Erik-Berndt Scheper (JIRA)" To: notifications@ant.apache.org Subject: [jira] Commented: (IVY-907) Environment properties in ivy settings are no longer resolved In-Reply-To: <1094837678.1221642826401.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/IVY-907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12632265#action_12632265 ] Erik-Berndt Scheper commented on IVY-907: ----------------------------------------- I've tried to compile a project with the behaviour I encounter. If I run ant ivy.clean.all ivy.resolve after D:\ws\eclipse-3.4\IVY-Bugreport\IVY-907>set IVY IVY_CACHE_DIR=D:\ivy-cache I get the following output {noformat} (ant ivy.clean.all ivy.resolve D:\ws\eclipse-3.4\IVY-Bugreport\IVY-907>ant ivy.clean.all ivy.resolve Buildfile: build.xml ivy.check: ivy.init: ivy.clean: ivy.clean.all: ivy.check: ivy.init: ivy.resolve: [ivy:resolve] :: Ivy 2.0.0-rc1 - 20080916082609 :: http://ant.apache.org/ivy/ :: :: loading settings :: file = D:\ws\eclipse-3.4\IVY-Bugreport\IVY-907\ivy.settings.xml BUILD FAILED D:\ws\eclipse-3.4\IVY-Bugreport\IVY-907\build.ivy.xml:77: java.lang.IllegalArgumentException: ivy.cache.dir must be absolute: ${env.IVY_CACHE_DIR} {noformat} If I change ivy.properties to an old ivy jar file ivy.jar.filename =org.apache.ivy_2.0.0.rc1_20080813101604.jar #ivy.jar.filename =ivy-2.0.0-rc1.jar Then all works fine and I get the following output: {noformat} D:\ws\eclipse-3.4\IVY-Bugreport\IVY-907\IVY-907>ant ivy.clean.all ivy.resolve Buildfile: build.xml ivy.check: ivy.init: ivy.clean: ivy.clean.all: ivy.check: ivy.init: ivy.resolve: [ivy:resolve] :: Ivy 2.0.0-rc1-local-20080813101604 - 20080813101604 :: http://ant.apache.org/ivy/ :: :: loading settings :: file = D:\ws\eclipse-3.4\IVY-Bugreport\IVY-907\IVY-907\ivy.settings.xml [ivy:resolve] :: resolving dependencies :: nl.ibgroep.aad#aad-domain-model;working@c120800 [ivy:resolve] confs: [default, master, compile, runtime, test, sources, javadoc] [ivy:resolve] found org.junit#junit;4.4 in ivy-external-resolver [ivy:resolve] [4.4] org.junit#junit;[4.4,) [ivy:resolve] :: resolution report :: resolve 375ms :: artifacts dl 0ms --------------------------------------------------------------------- | | modules || artifacts | | conf | number| search|dwnlded|evicted|| number|dwnlded| --------------------------------------------------------------------- | default | 0 | 0 | 0 | 0 || 0 | 0 | | master | 0 | 0 | 0 | 0 || 0 | 0 | | compile | 0 | 0 | 0 | 0 || 0 | 0 | | runtime | 0 | 0 | 0 | 0 || 0 | 0 | | test | 1 | 1 | 0 | 0 || 1 | 0 | | sources | 1 | 1 | 0 | 0 || 1 | 0 | | javadoc | 0 | 0 | 0 | 0 || 0 | 0 | --------------------------------------------------------------------- [ivy:retrieve] :: retrieving :: nl.ibgroep.aad#aad-domain-model [sync] [ivy:retrieve] confs: [default, master, compile, runtime, test, sources, javadoc] [ivy:retrieve] 0 artifacts copied, 2 already retrieved (0kB/31ms) [ivy:report] Processing D:\ivy-cache\resolution\nl.ibgroep.aad-aad-domain-model-default.xml to D:\ws\eclipse-3.4\IVY-Bugreport\IVY-907\IVY-907\doc\ivy \nl.ibgroep.aad-aad-domain-model-default.html [ivy:report] Processing D:\ivy-cache\resolution\nl.ibgroep.aad-aad-domain-model-master.xml to D:\ws\eclipse-3.4\IVY-Bugreport\IVY-907\IVY-907\doc\ivy\ nl.ibgroep.aad-aad-domain-model-master.html [ivy:report] Processing D:\ivy-cache\resolution\nl.ibgroep.aad-aad-domain-model-compile.xml to D:\ws\eclipse-3.4\IVY-Bugreport\IVY-907\IVY-907\doc\ivy \nl.ibgroep.aad-aad-domain-model-compile.html [ivy:report] Processing D:\ivy-cache\resolution\nl.ibgroep.aad-aad-domain-model-runtime.xml to D:\ws\eclipse-3.4\IVY-Bugreport\IVY-907\IVY-907\doc\ivy \nl.ibgroep.aad-aad-domain-model-runtime.html [ivy:report] Processing D:\ivy-cache\resolution\nl.ibgroep.aad-aad-domain-model-test.xml to D:\ws\eclipse-3.4\IVY-Bugreport\IVY-907\IVY-907\doc\ivy\nl .ibgroep.aad-aad-domain-model-test.html [ivy:report] Processing D:\ivy-cache\resolution\nl.ibgroep.aad-aad-domain-model-sources.xml to D:\ws\eclipse-3.4\IVY-Bugreport\IVY-907\IVY-907\doc\ivy \nl.ibgroep.aad-aad-domain-model-sources.html [ivy:report] Processing D:\ivy-cache\resolution\nl.ibgroep.aad-aad-domain-model-javadoc.xml to D:\ws\eclipse-3.4\IVY-Bugreport\IVY-907\IVY-907\doc\ivy \nl.ibgroep.aad-aad-domain-model-javadoc.html BUILD SUCCESSFUL Total time: 2 seconds D:\ws\eclipse-3.4\IVY-Bugreport\IVY-907\IVY-907> {noformat} > Environment properties in ivy settings are no longer resolved > ------------------------------------------------------------- > > Key: IVY-907 > URL: https://issues.apache.org/jira/browse/IVY-907 > Project: Ivy > Issue Type: Bug > Affects Versions: 2.0-RC1 > Reporter: Erik-Berndt Scheper > Fix For: 2.0-RC1 > > Attachments: IVY-907.zip, ivysettings.zip > > > I have an ivy.settings.xml file published on an intranet http server, which includes a property file from the same http server. (see attached files). This property file includes the property: > {code}ivy.cache.dir = ${env.IVY_CACHE_DIR}{code} > This environment based property is no longer resolved when I use the proposed ivy-2.0.0-rc1.jar. This leads to the following error during resolve: > {noformat} > ivy.check: > ivy.init: > [mkdir] Created dir: D:\ws\eclipse-3.4\AAD\AAD-domain-model\target\reports\ivy > ivy.resolve: > [ivy:resolve] :: Ivy 2.0.0-rc1 - 20080916082609 :: http://ant.apache.org/ivy/ :: > :: loading settings :: url = http://172.30.247.68/ivy-settings/ivy.settings.xml > BUILD FAILED > D:\ws\eclipse-3.4\AAD\build\build-ivy\build.ivy.xml:75: java.lang.IllegalArgumentException: ivy.cache.dir must be absolute: ${env.IVY_CACHE_DIR} > Total time: 2 seconds > {noformat} > The same ivy settings files worked perfectly well with a previous ivy which I built from trunk: org.apache.ivy_2.0.0.rc1_20080813101604.jar -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.