Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 61866 invoked from network); 24 Apr 2009 08:00:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Apr 2009 08:00:16 -0000 Received: (qmail 26415 invoked by uid 500); 24 Apr 2009 08:00:16 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 26358 invoked by uid 500); 24 Apr 2009 08:00:16 -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 26348 invoked by uid 99); 24 Apr 2009 08:00:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Apr 2009 08:00:15 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [68.142.200.146] (HELO web30803.mail.mud.yahoo.com) (68.142.200.146) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 24 Apr 2009 08:00:07 +0000 Received: (qmail 24891 invoked by uid 60001); 24 Apr 2009 07:59:46 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1240559986; bh=gQlsE/IMWsf5S2YYIPejNDMeCK1V70JV/vXMCQXJg44=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=S9Kd10kvvvdWcppXRl1QwzQe0vlhUHPoW/HArZbMonVRSv6qQAZuN6orto0XB68zXhNzti/dD57KIBHtpv9Z9It/HNM05//1hFv8tWrT8k1RM63jBn3yZHRSA2vTV8Gia1QvhEYioZen4DGJUIiX17dvA2D72Tx5l64XLJTYhVQ= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=OQkvaBxnT57wuEe9aWtVIumohzvi0UXEwLhLw429bPQBki4Hk52RhPDryuQ6V76F6QiwWM2TFf7zN4XXcR2E/x1LQthBkH+h/BBBIxY7fIfXKU4v1MvGqNZmmxohm+N7CczXrGAHo4wNIHox9qhuVa3MFgWHcHqDdE1MJYjhxQk=; Message-ID: <270616.23395.qm@web30803.mail.mud.yahoo.com> X-YMail-OSG: SEVFnBIVM1kD3qowFuYwFW8RXQvjQkYLTp.WIOe2bL68vCuyQUUwFPVt1EFD.IWXH0AT9llW4b.EoCDXZJDWs0km.H3j4ouPPRYCxoWpNUQAyKA8aj2qn1Zv9D2SPmodMXqCctw0Grs0xn4gPiaTKsPhXD3._nkavyadxS1nvltD1wo7omCa2lF44Y2JvWN2d__G5io6.0MQDwfEnrm_0KWnOVC8m8v5141dCiYv1tcK8eOQeMoQaBAffqaTH4aL1phrK0psjkOZwVJW4OVQKTKOPn8z_w_7J2FHNaG1eJlMIS_QoiwrC4KBwwveOdbPIbU.vTfQQlrpsugw Received: from [134.58.179.36] by web30803.mail.mud.yahoo.com via HTTP; Fri, 24 Apr 2009 00:59:45 PDT X-Mailer: YahooMailRC/1277.35 YahooMailWebService/0.7.289.1 References: <49EF238A.5020908@tbee.org> <49EF2CA8.2080907@tbee.org> <49EF3982.2040301@masergy.com> <49EF4F77.4070005@tbee.org> <49EF5D80.1080201@masergy.com> <49F00D7D.4010508@tbee.org> <49F070DB.6070301@masergy.com> <49F16B1F.1030005@tbee.org> <49F1703C.9000704@tbee.org> Date: Fri, 24 Apr 2009 00:59:45 -0700 (PDT) From: Maarten Coene Subject: Re: Configurations and Ivy file confusion To: ivy-user@ant.apache.org In-Reply-To: <49F1703C.9000704@tbee.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked by ClamAV on apache.org This is because the default ivy retrieve pattern is a bit more complex than the pattern you have specified. The default pattern is: "lib/[artifact]-[revision](-[classifier]).[ext]" Maarten ----- Original Message ---- From: Tom To: ivy-user@ant.apache.org Sent: Friday, April 24, 2009 9:54:36 AM Subject: Re: Configurations and Ivy file confusion >> OK, many projects have source and jar artifacts with the same name, so you really want to either set a retrieve pattern which includes the type of the artifact for disambiguation. If you cannot do this, you'll need to specify an exclusion rule for your dependencies to only include type jar. Here are examples of both: I cannot quite wrap my head around this (I've used your configurations). Now, using: /ivy-retrieve: [echo] Ivy is fetching all dependencies and copying them into the lib dir.. . No ivy:settings found for the default reference 'ivy.instance'. A default insta nce will be used [ivy:retrieve] :: Ivy 2.1.0-rc1 - 20090319213629 :: http://ant.apache.org/ivy/ : : :: loading settings :: file = C:\Documents and Settings\toeu\My Documents\kp\pro filer\kpprofiler2\components\service\ivysettings.xml [ivy:retrieve] :: resolving dependencies :: nl.knowledgeplaza#kpprofiler-service ;0.1 [ivy:retrieve] confs: [default, runtime, compile, test, sources, javadocs] [ivy:retrieve] *found org.codehaus.enunciate#enunciate-rt;1.10 in public* [ivy:retrieve] found org.codehaus.enunciate#enunciate-core-rt;1.10 in public [ivy:retrieve] found org.codehaus.enunciate#enunciate-core-annotations;1.10 in public [ivy:retrieve] found xfire#xfire-jsr181-api;1.0-M1 in public [ivy:retrieve] found javax.ws.rs#jsr311-api;1.0 in public [ivy:retrieve] found javax.xml.ws#jaxws-api;2.1-1 in public [ivy:retrieve] found org.codehaus.enunciate#enunciate-rest-rt;1.10 in public [ivy:retrieve] found org.springframework#spring-beans;2.5.4 in public [ivy:retrieve] found commons-logging#commons-logging;1.0.4 in public [ivy:retrieve] found org.springframework#spring-core;2.5.4 in public [ivy:retrieve] found org.springframework#spring-context;2.5.4 in public [ivy:retrieve] found aopalliance#aopalliance;1.0 in public [ivy:retrieve] found org.springframework#spring-web;2.5.4 in public [ivy:retrieve] found org.springframework#spring-webmvc;2.5.4 in public [ivy:retrieve] found org.springframework#spring-context-support;2.5.4 in public [ivy:retrieve] found org.codehaus.jettison#jettison;1.0.1 in public [ivy:retrieve] found commons-beanutils#commons-beanutils;1.7.0 in public [ivy:retrieve] found com.thoughtworks.xstream#xstream;1.3 in public [ivy:retrieve] found xpp3#xpp3_min;1.1.4c in public [ivy:retrieve] found com.sun.xml.bind#jaxb-impl;2.1.8 in public [ivy:retrieve] found org.codehaus.enunciate#enunciate-jersey-rt;1.10 in public [ivy:retrieve] found com.sun.jersey#jersey-server;1.0.2 in java-net-maven2 [ivy:retrieve] found com.sun.jersey#jersey-core;1.0.2 in java-net-maven2 [ivy:retrieve] found asm#asm;3.1 in public [ivy:retrieve] found com.sun.jersey.contribs#jersey-spring;1.0.2 in java-net-ma ven2 [ivy:retrieve] found org.springframework#spring-aop;2.5.4 in public [ivy:retrieve] found org.codehaus.enunciate#enunciate-xfire-rt;1.10 in public [ivy:retrieve] found jdom#jdom;1.0 in public [ivy:retrieve] found javax.mail#mail;1.4 in public [ivy:retrieve] found org.codehaus.woodstox#wstx-asl;3.2.7 in public [ivy:retrieve] found stax#stax-api;1.0.1 in public [ivy:retrieve] found org.codehaus.xfire#xfire-all;1.2.2 in public [ivy:retrieve] found org.codehaus.enunciate#enunciate-spring-app-rt;1.10 in pub lic [ivy:retrieve] found org.codehaus.enunciate#enunciate-xfire-client-rt;1.10 in p ublic [ivy:retrieve] found commons-codec#commons-codec;1.3 in public [ivy:retrieve] found commons-httpclient#commons-httpclient;3.1 in public [ivy:retrieve] found wsdl4j#wsdl4j;1.6.2 in public [ivy:retrieve] found org.codehaus.enunciate#enunciate-gwt-rt;1.10 in public [ivy:retrieve] found com.google.gwt#gwt-servlet;1.4.60 in public [ivy:retrieve] found org.codehaus.enunciate#enunciate-amf-rt;1.10 in public [ivy:retrieve] found log4j#log4j;1.2.15 in public [ivy:retrieve] found com.adobe.blazeds#blazeds-common;3.0.0.544 in public [ivy:retrieve] found com.adobe.blazeds#blazeds-core;3.0.0.544 in public [ivy:retrieve] found backport-util-concurrent#backport-util-concurrent;3.1 in p ublic [ivy:retrieve] found com.adobe.blazeds#blazeds-remoting;3.0.0.544 in public [ivy:retrieve] found org.codehaus.enunciate#enunciate-cxf-rt;1.10 in public [ivy:retrieve] found javax.annotation#jsr250-api;1.0 in public [ivy:retrieve] found org.apache.cxf#cxf-rt-core;2.1.3 in public [ivy:retrieve] found org.apache.cxf#cxf-api;2.1.3 in public [ivy:retrieve] found org.apache.cxf#cxf-common-utilities;2.1.3 in public [ivy:retrieve] found javax.xml.bind#jaxb-api;2.1 in public [ivy:retrieve] found xml-resolver#xml-resolver;1.2 in public [ivy:retrieve] found org.apache.ws.commons.schema#XmlSchema;1.4.2 in public [ivy:retrieve] found commons-lang#commons-lang;2.4 in public [ivy:retrieve] found org.apache.neethi#neethi;2.0.4 in public [ivy:retrieve] found org.apache.cxf#cxf-common-schemas;2.1.3 in public [ivy:retrieve] found com.sun.xml.fastinfoset#FastInfoset;1.2.2 in public [ivy:retrieve] found org.apache.cxf#cxf-rt-frontend-jaxws;2.1.3 in public [ivy:retrieve] found org.apache.cxf#cxf-rt-bindings-soap;2.1.3 in public [ivy:retrieve] found org.apache.cxf#cxf-tools-common;2.1.3 in public [ivy:retrieve] found org.apache.velocity#velocity;1.5 in public [ivy:retrieve] found commons-collections#commons-collections;3.1 in public [ivy:retrieve] found oro#oro;2.0.8 in public [ivy:retrieve] found com.sun.xml.bind#jaxb-xjc;2.1.7 in public [ivy:retrieve] found javax.xml.soap#saaj-api;1.3 in public [ivy:retrieve] found org.apache.cxf#cxf-rt-databinding-jaxb;2.1.3 in public [ivy:retrieve] found org.apache.cxf#cxf-rt-bindings-xml;2.1.3 in public [ivy:retrieve] found org.apache.cxf#cxf-rt-frontend-simple;2.1.3 in public [ivy:retrieve] found org.apache.cxf#cxf-rt-ws-addr;2.1.3 in public [ivy:retrieve] found com.sun.xml.messaging.saaj#saaj-impl;1.3.2 in public [ivy:retrieve] found org.apache.cxf#cxf-rt-transports-http;2.1.3 in public [ivy:retrieve] found org.codehaus.enunciate#enunciate-jaxws-ri-rt;1.10 in publi c [ivy:retrieve] found cglib#cglib-nodep;2.1_3 in public [ivy:retrieve] found org.jvnet.jax-ws-commons.spring#jaxws-spring;1.8 in java-n et-maven2 [ivy:retrieve] found com.sun.xml.ws#jaxws-rt;2.1.3 in public [ivy:retrieve] found com.sun.org.apache.xml.internal#resolver;20050927 in publi c [ivy:retrieve] found org.jvnet#mimepull;1.1 in public [ivy:retrieve] found org.apache.xbean#xbean-spring;2.7 in public [ivy:retrieve] found org.jvnet.staxex#stax-ex;1.2 in public [ivy:retrieve] found javax.activation#activation;1.1 in public [ivy:retrieve] found junit#junit;3.8 in public [ivy:retrieve] found com.sun.xml.stream.buffer#streambuffer;0.8 in public [ivy:retrieve] found org.codehaus.enunciate#enunciate-core;1.10 in public [ivy:retrieve] found javax.servlet#servlet-api;2.3 in public [ivy:retrieve] found net.sf.apt-jelly#apt-jelly-freemarker;2.6 in public [ivy:retrieve] found net.sf.apt-jelly#apt-jelly-core;2.6 in public [ivy:retrieve] found org.freemarker#freemarker;2.3.14 in public [ivy:retrieve] found commons-digester#commons-digester;1.7 in public [ivy:retrieve] found ant#ant;1.6.2 in public [ivy:retrieve] found junit#junit;4.5 in public [ivy:retrieve] found org.liquibase#liquibase-core;1.9.2 in public [ivy:retrieve] :: resolution report :: resolve 9204ms :: artifacts dl 93ms [ivy:retrieve] :: evicted modules: [ivy:retrieve] asm#asm;2.2.3 by [asm#asm;3.1] in [runtime, compile, test] [ivy:retrieve] com.sun.xml.messaging.saaj#saaj-impl;1.3 by [com.sun.xml.messagi ng.saaj#saaj-impl;1.3.2] in [runtime, compile, test] [ivy:retrieve] junit#junit;3.8 by [junit#junit;4.5] in [test] --------------------------------------------------------------------- | | modules || artifacts | | conf | number| search|dwnlded|evicted|| number|dwnlded| --------------------------------------------------------------------- | default | 0 | 0 | 0 | 0 || 0 | 0 | | runtime | 84 | 0 | 0 | 2 || 83 | 0 | | compile | 91 | 0 | 0 | 2 || 91 | 0 | | test | 86 | 0 | 0 | 3 || 85 | 0 | | sources | 0 | 0 | 0 | 0 || 0 | 0 | | javadocs | 0 | 0 | 0 | 0 || 0 | 0 | --------------------------------------------------------------------- [ivy:retrieve] :: retrieving :: nl.knowledgeplaza#kpprofiler-service [ivy:retrieve] confs: [default, runtime, compile, test, sources, javadocs] [ivy:retrieve] 0 artifacts copied, 259 already retrieved (0kB/172ms) / Using: /ivy-retrieve: [echo] Ivy is fetching all dependencies and copying them into the lib dir.. . No ivy:settings found for the default reference 'ivy.instance'. A default insta nce will be used [ivy:retrieve] :: Ivy 2.1.0-rc1 - 20090319213629 :: http://ant.apache.org/ivy/ : : :: loading settings :: file = C:\Documents and Settings\toeu\My Documents\kp\pro filer\kpprofiler2\components\service\ivysettings.xml [ivy:retrieve] :: resolving dependencies :: nl.knowledgeplaza#kpprofiler-service ;0.1 [ivy:retrieve] confs: [runtime] [ivy:retrieve] *found org.codehaus.enunciate#enunciate-rt;1.10 in public* [ivy:retrieve] found org.codehaus.enunciate#enunciate-core-rt;1.10 in public [ivy:retrieve] found org.codehaus.enunciate#enunciate-core-annotations;1.10 in public [ivy:retrieve] found xfire#xfire-jsr181-api;1.0-M1 in public [ivy:retrieve] found javax.ws.rs#jsr311-api;1.0 in public [ivy:retrieve] found javax.xml.ws#jaxws-api;2.1-1 in public [ivy:retrieve] found org.codehaus.enunciate#enunciate-rest-rt;1.10 in public [ivy:retrieve] found org.springframework#spring-beans;2.5.4 in public [ivy:retrieve] found commons-logging#commons-logging;1.0.4 in public [ivy:retrieve] found org.springframework#spring-core;2.5.4 in public [ivy:retrieve] found org.springframework#spring-context;2.5.4 in public [ivy:retrieve] found aopalliance#aopalliance;1.0 in public [ivy:retrieve] found org.springframework#spring-web;2.5.4 in public [ivy:retrieve] found org.springframework#spring-webmvc;2.5.4 in public [ivy:retrieve] found org.springframework#spring-context-support;2.5.4 in public [ivy:retrieve] found org.codehaus.jettison#jettison;1.0.1 in public [ivy:retrieve] found commons-beanutils#commons-beanutils;1.7.0 in public [ivy:retrieve] found com.thoughtworks.xstream#xstream;1.3 in public [ivy:retrieve] found xpp3#xpp3_min;1.1.4c in public [ivy:retrieve] found com.sun.xml.bind#jaxb-impl;2.1.8 in public [ivy:retrieve] found org.codehaus.enunciate#enunciate-jersey-rt;1.10 in public [ivy:retrieve] found com.sun.jersey#jersey-server;1.0.2 in java-net-maven2 [ivy:retrieve] found com.sun.jersey#jersey-core;1.0.2 in java-net-maven2 [ivy:retrieve] found asm#asm;3.1 in public [ivy:retrieve] found com.sun.jersey.contribs#jersey-spring;1.0.2 in java-net-ma ven2 [ivy:retrieve] found org.springframework#spring-aop;2.5.4 in public [ivy:retrieve] found org.codehaus.enunciate#enunciate-xfire-rt;1.10 in public [ivy:retrieve] found jdom#jdom;1.0 in public [ivy:retrieve] found javax.mail#mail;1.4 in public [ivy:retrieve] found org.codehaus.woodstox#wstx-asl;3.2.7 in public [ivy:retrieve] found stax#stax-api;1.0.1 in public [ivy:retrieve] found org.codehaus.xfire#xfire-all;1.2.2 in public [ivy:retrieve] found org.codehaus.enunciate#enunciate-spring-app-rt;1.10 in pub lic [ivy:retrieve] found org.codehaus.enunciate#enunciate-xfire-client-rt;1.10 in p ublic [ivy:retrieve] found commons-codec#commons-codec;1.3 in public [ivy:retrieve] found commons-httpclient#commons-httpclient;3.1 in public [ivy:retrieve] found wsdl4j#wsdl4j;1.6.2 in public [ivy:retrieve] found org.codehaus.enunciate#enunciate-gwt-rt;1.10 in public [ivy:retrieve] found com.google.gwt#gwt-servlet;1.4.60 in public [ivy:retrieve] found org.codehaus.enunciate#enunciate-amf-rt;1.10 in public [ivy:retrieve] found log4j#log4j;1.2.15 in public [ivy:retrieve] found com.adobe.blazeds#blazeds-common;3.0.0.544 in public [ivy:retrieve] found com.adobe.blazeds#blazeds-core;3.0.0.544 in public [ivy:retrieve] found backport-util-concurrent#backport-util-concurrent;3.1 in p ublic [ivy:retrieve] found com.adobe.blazeds#blazeds-remoting;3.0.0.544 in public [ivy:retrieve] found org.codehaus.enunciate#enunciate-cxf-rt;1.10 in public [ivy:retrieve] found javax.annotation#jsr250-api;1.0 in public [ivy:retrieve] found org.apache.cxf#cxf-rt-core;2.1.3 in public [ivy:retrieve] found org.apache.cxf#cxf-api;2.1.3 in public [ivy:retrieve] found org.apache.cxf#cxf-common-utilities;2.1.3 in public [ivy:retrieve] found javax.xml.bind#jaxb-api;2.1 in public [ivy:retrieve] found xml-resolver#xml-resolver;1.2 in public [ivy:retrieve] found org.apache.ws.commons.schema#XmlSchema;1.4.2 in public [ivy:retrieve] found commons-lang#commons-lang;2.4 in public [ivy:retrieve] found org.apache.neethi#neethi;2.0.4 in public [ivy:retrieve] found org.apache.cxf#cxf-common-schemas;2.1.3 in public [ivy:retrieve] found com.sun.xml.fastinfoset#FastInfoset;1.2.2 in public [ivy:retrieve] found org.apache.cxf#cxf-rt-frontend-jaxws;2.1.3 in public [ivy:retrieve] found org.apache.cxf#cxf-rt-bindings-soap;2.1.3 in public [ivy:retrieve] found org.apache.cxf#cxf-tools-common;2.1.3 in public [ivy:retrieve] found org.apache.velocity#velocity;1.5 in public [ivy:retrieve] found commons-collections#commons-collections;3.1 in public [ivy:retrieve] found oro#oro;2.0.8 in public [ivy:retrieve] found com.sun.xml.bind#jaxb-xjc;2.1.7 in public [ivy:retrieve] found javax.xml.soap#saaj-api;1.3 in public [ivy:retrieve] found org.apache.cxf#cxf-rt-databinding-jaxb;2.1.3 in public [ivy:retrieve] found org.apache.cxf#cxf-rt-bindings-xml;2.1.3 in public [ivy:retrieve] found org.apache.cxf#cxf-rt-frontend-simple;2.1.3 in public [ivy:retrieve] found org.apache.cxf#cxf-rt-ws-addr;2.1.3 in public [ivy:retrieve] found com.sun.xml.messaging.saaj#saaj-impl;1.3.2 in public [ivy:retrieve] found org.apache.cxf#cxf-rt-transports-http;2.1.3 in public [ivy:retrieve] found org.codehaus.enunciate#enunciate-jaxws-ri-rt;1.10 in publi c [ivy:retrieve] found cglib#cglib-nodep;2.1_3 in public [ivy:retrieve] found org.jvnet.jax-ws-commons.spring#jaxws-spring;1.8 in java-n et-maven2 [ivy:retrieve] found com.sun.xml.ws#jaxws-rt;2.1.3 in public [ivy:retrieve] found com.sun.org.apache.xml.internal#resolver;20050927 in publi c [ivy:retrieve] found org.jvnet#mimepull;1.1 in public [ivy:retrieve] found org.apache.xbean#xbean-spring;2.7 in public [ivy:retrieve] found org.jvnet.staxex#stax-ex;1.2 in public [ivy:retrieve] found javax.activation#activation;1.1 in public [ivy:retrieve] found junit#junit;3.8 in public [ivy:retrieve] found com.sun.xml.stream.buffer#streambuffer;0.8 in public [ivy:retrieve] :: resolution report :: resolve 4547ms :: artifacts dl 78ms [ivy:retrieve] :: evicted modules: [ivy:retrieve] asm#asm;2.2.3 by [asm#asm;3.1] in [runtime] [ivy:retrieve] com.sun.xml.messaging.saaj#saaj-impl;1.3 by [com.sun.xml.messagi ng.saaj#saaj-impl;1.3.2] in [runtime] --------------------------------------------------------------------- | | modules || artifacts | | conf | number| search|dwnlded|evicted|| number|dwnlded| --------------------------------------------------------------------- | runtime | 84 | 0 | 0 | 2 || 83 | 0 | --------------------------------------------------------------------- [ivy:retrieve] :: retrieving :: nl.knowledgeplaza#kpprofiler-service [ivy:retrieve] confs: [runtime] BUILD FAILED C:\Documents and Settings\toeu\My Documents\kp\profiler\kpprofiler2\components\s ervice\build.xml:44: impossible to ivy retrieve: java.lang.RuntimeException: pro blem during retrieve of nl.knowledgeplaza#kpprofiler-service: java.lang.RuntimeE xception: *Multiple artifacts of the module org.codehaus.enunciate#enunciate-rt;1 .10 are retrieved to the same file!* Update the retrieve pattern to fix this err or. /