From ivy-userlisa23@example.net Wed Nov 01 16:36:39 2006 Return-Path: <ivy-userlisa23@example.net> Delivered-To: lisa23@example.net Received: (qmail 64560 invoked from network); 1 Nov 2006 16:36:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2006 16:36:39 -0000 Received: (qmail 62287 invoked by uid 500); 1 Nov 2006 16:36:50 -0000 Delivered-To: lisa23@example.net Received: (qmail 62269 invoked by uid 500); 1 Nov 2006 16:36:50 -0000 Mailing-List: contact lisa23@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:lisa23@example.net> List-Unsubscribe: <mailto:lisa23@example.net> List-Post: <mailto:lisa23@example.net> List-Id: <ivy-user.incubator.apache.org> Reply-To: lisa23@example.net Delivered-To: mailing list lisa23@example.net Received: (qmail 62250 invoked by uid 99); 1 Nov 2006 16:36:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 08:36:50 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [83.161.120.155] (HELO v30161.1blu.de) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 08:36:36 -0800 Received: (qmail 17595 invoked by uid 2525); 1 Nov 2006 17:32:11 +0100 To: lisa23@example.net, lisa23@example.net, lisa23@example.net Subject: First mail? X-Draft-From: ("nnfolder:asf-stuff" "") From: Stefan Bodewig <lisa23@example.net> Date: Wed, 01 Nov 2006 17:32:11 +0100 Message-ID: <lisa23@example.net> User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.19 (linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked by ClamAV on apache.org Hi all, this is just a quick test to see whether the lists are functional. Stefan From ivy-userlisa23@example.net Thu Nov 09 13:55:36 2006 Return-Path: <ivy-userlisa23@example.net> Delivered-To: lisa23@example.net Received: (qmail 60997 invoked from network); 9 Nov 2006 13:55:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 9 Nov 2006 13:55:36 -0000 Received: (qmail 93285 invoked by uid 500); 9 Nov 2006 13:55:47 -0000 Delivered-To: lisa23@example.net Received: (qmail 93239 invoked by uid 500); 9 Nov 2006 13:55:46 -0000 Mailing-List: contact lisa23@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:lisa23@example.net> List-Unsubscribe: <mailto:lisa23@example.net> List-Post: <mailto:lisa23@example.net> List-Id: <ivy-user.incubator.apache.org> Reply-To: lisa23@example.net Delivered-To: mailing list lisa23@example.net Received: (qmail 93207 invoked by uid 99); 9 Nov 2006 13:55:46 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Nov 2006 05:55:46 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [83.161.120.155] (HELO colossus.hpl.hp.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Nov 2006 05:55:25 -0800 Received: from localhost (localhost.localdomain [83.161.120.155]) by colossus.hpl.hp.com (Postfix) with ESMTP id 987AD6B9F7 for <lisa23@example.net>; Thu, 9 Nov 2006 13:54:50 +0000 (GMT) X-Virus-Scanned: lisa23@example.net Received: from colossus.hpl.hp.com ([83.161.120.155]) by localhost (colossus.hpl.hp.com [83.161.120.155]) (amavisd-new, port 10024) with LMTP id ALgv0o1bqcVx for <lisa23@example.net>; Thu, 9 Nov 2006 13:54:49 +0000 (GMT) Received: from ha-node-br2.hpl.hp.com (ha-node-br2.hpl.hp.com [83.161.120.155]) by colossus.hpl.hp.com (Postfix) with ESMTP id 3C0A16B9F1 for <lisa23@example.net>; Thu, 9 Nov 2006 13:54:48 +0000 (GMT) Received: from [83.161.120.155] (chamonix.hpl.hp.com [83.161.120.155]) by ha-node-br2.hpl.hp.com (8.13.4/8.13.4) with ESMTP id kA9DsR6q001548 for <lisa23@example.net>; Thu, 9 Nov 2006 13:54:28 GMT Message-ID: <lisa23@example.net> Date: Thu, 09 Nov 2006 13:51:45 +0000 From: Steve Loughran <lisa23@example.net> User-Agent: Thunderbird 83.161.120.155 (X11/20061025) MIME-Version: 1.0 To: lisa23@example.net Subject: retrieve doesnt Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HPL-MailScanner-Information: Please contact the ISP for more information X-HPL-MailScanner: Found to be clean X-HPL-MailScanner-From: lisa23@example.net X-Virus-Checked: Checked by ClamAV on apache.org First user question. I am trying to retrieve artifacts that are resolving nicely: This is what I am asking <ivy:resolve /> <ivy:retrieve pattern="lib/[artifact].[ext]" conf="compile" /> But what I get is 0 files copied: Buildfile: build.xml [echo] Building /home/slo/Projects/examples/diary/core/build.xml ivy-init: [ivy:configure] 888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4 Ivy 1.4 - 20061009124215 888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4 http://ivy.jayasoft.org/ 888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4 [ivy:configure] 888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4 configuring 888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4 file = /home/slo/Projects/examples/diary/ivyconf.xml ivy-resolve: [ivy:resolve] 888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4 resolving dependencies 888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4 [ org.antbook | core | working@chamonix ] [ivy:resolve] confs: [compile, test, master, runtime] [ivy:resolve] found [ log4j | log4j | 1.2.13 ] in maven2 [ivy:resolve] found [ junit | junit | 3.8.2 ] in maven2 [ivy:resolve] 888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4 resolution report 888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4 --------------------------------------------------------------------- | | modules || artifacts | | conf | number| search|dwnlded|evicted|| number|dwnlded| --------------------------------------------------------------------- | compile | 1 | 1 | 0 | 0 || 0 | 0 | | test | 2 | 2 | 0 | 0 || 0 | 0 | | master | 0 | 0 | 0 | 0 || 0 | 0 | | runtime | 1 | 1 | 0 | 0 || 0 | 0 | --------------------------------------------------------------------- ivy-retrieve: [ivy:retrieve] 888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4 retrieving 888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4 [ org.antbook | core ] [ivy:retrieve] confs: [compile] [ivy:retrieve] 0 artifacts copied, 0 already retrieved BUILD SUCCESSFUL - at 09/11/06 13:46 Total time: 4 seconds What am I doing wrong? From ivy-userlisa23@example.net Thu Nov 09 15:00:47 2006 Return-Path: <ivy-userlisa23@example.net> Delivered-To: lisa23@example.net Received: (qmail 88377 invoked from network); 9 Nov 2006 15:00:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 9 Nov 2006 15:00:46 -0000 Received: (qmail 73582 invoked by uid 500); 9 Nov 2006 15:00:57 -0000 Delivered-To: lisa23@example.net Received: (qmail 73554 invoked by uid 500); 9 Nov 2006 15:00:57 -0000 Mailing-List: contact lisa23@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:lisa23@example.net> List-Unsubscribe: <mailto:lisa23@example.net> List-Post: <mailto:lisa23@example.net> List-Id: <ivy-user.incubator.apache.org> Reply-To: lisa23@example.net Delivered-To: mailing list lisa23@example.net Received: (qmail 73545 invoked by uid 99); 9 Nov 2006 15:00:57 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Nov 2006 07:00:57 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lisa23@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ug-out-1314.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Nov 2006 07:00:44 -0800 Received: by ug-out-1314.google.com with SMTP id y2so294307uge for <lisa23@example.net>; Thu, 09 Nov 2006 07:00:23 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=rguSzsIBXn71OoMECCwOsf48OZyyXMwpTME9HHq5n59jaZYDjOYCr/dq3OOrAuU98fyBew2TKbmg54aqssf8Q6yYscGh70vQyVirjvYSbHyZi8FXPGhm5spDs8gi9I/B+viVkp8Fu4o14Mq5Snwa8PyNUUu1AvIAfa71YtqEVMY= Received: by 83.161.120.155 with SMTP id f15mr142658buc.1163084422994; Thu, 09 Nov 2006 07:00:22 -0800 (PST) Received: by 83.161.120.155 with HTTP; Thu, 9 Nov 2006 07:00:22 -0800 (PST) Message-ID: <lisa23@example.net> Date: Thu, 9 Nov 2006 16:00:22 +0100 From: "Xavier Hanin" <lisa23@example.net> To: lisa23@example.net Subject: Re: retrieve doesnt In-Reply-To: <lisa23@example.net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_31434_14425108.1163084422819" References: <lisa23@example.net> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_31434_14425108.1163084422819 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline It seems that Ivy find the modules but no artifacts (only 0 in the artifact number column). So either the module descriptors for your dependencies define no published artifact, or you depend on a configuration in these module which have no artifacts. Could you share your ivy.xml (and maybe also your ivyconf.xml)? Xavier On 11/9/06, Steve Loughran <lisa23@example.net> wrote: > > > First user question. I am trying to retrieve artifacts that are > resolving nicely: > > This is what I am asking > <ivy:resolve /> > <ivy:retrieve pattern="lib/[artifact].[ext]" conf="compile" /> > > But what I get is 0 files copied: > > > Buildfile: build.xml > [echo] Building /home/slo/Projects/examples/diary/core/build.xml > > ivy-init: > [ivy:configure] 888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4 Ivy 1.4 - 20061009124215 888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4 http://ivy.jayasoft.org/ 888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4 > [ivy:configure] 888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4 configuring 888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4 file = > /home/slo/Projects/examples/diary/ivyconf.xml > > ivy-resolve: > [ivy:resolve] 888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4 resolving dependencies 888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4 [ org.antbook | core | > working@chamonix ] > [ivy:resolve] confs: [compile, test, master, runtime] > [ivy:resolve] found [ log4j | log4j | 1.2.13 ] in maven2 > [ivy:resolve] found [ junit | junit | 3.8.2 ] in maven2 > [ivy:resolve] 888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4 resolution report 888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4 > > --------------------------------------------------------------------- > | | modules || > artifacts | > | conf | number| search|dwnlded|evicted|| > number|dwnlded| > > --------------------------------------------------------------------- > | compile | 1 | 1 | 0 | 0 || 0 | > 0 | > | test | 2 | 2 | 0 | 0 || 0 | > 0 | > | master | 0 | 0 | 0 | 0 || 0 | > 0 | > | runtime | 1 | 1 | 0 | 0 || 0 | > 0 | > > --------------------------------------------------------------------- > > ivy-retrieve: > [ivy:retrieve] 888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4 retrieving 888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4 [ org.antbook | core ] > [ivy:retrieve] confs: [compile] > [ivy:retrieve] 0 artifacts copied, 0 already retrieved > > BUILD SUCCESSFUL - at 09/11/06 13:46 > Total time: 4 seconds > > > What am I doing wrong? > ------=_Part_31434_14425108.1163084422819-- From ivy-userlisa23@example.net Thu Nov 09 15:07:31 2006 Return-Path: <ivy-userlisa23@example.net> Delivered-To: lisa23@example.net Received: (qmail 90373 invoked from network); 9 Nov 2006 15:07:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 9 Nov 2006 15:07:30 -0000 Received: (qmail 92553 invoked by uid 500); 9 Nov 2006 15:07:41 -0000 Delivered-To: lisa23@example.net Received: (qmail 92532 invoked by uid 500); 9 Nov 2006 15:07:41 -0000 Mailing-List: contact lisa23@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:lisa23@example.net> List-Unsubscribe: <mailto:lisa23@example.net> List-Post: <mailto:lisa23@example.net> List-Id: <ivy-user.incubator.apache.org> Reply-To: lisa23@example.net Delivered-To: mailing list lisa23@example.net Received: (qmail 92521 invoked by uid 99); 9 Nov 2006 15:07:41 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Nov 2006 07:07:41 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [83.161.120.155] (HELO colossus.hpl.hp.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Nov 2006 07:07:26 -0800 Received: from localhost (localhost.localdomain [83.161.120.155]) by colossus.hpl.hp.com (Postfix) with ESMTP id 84E7C6B9FB for <lisa23@example.net>; Thu, 9 Nov 2006 15:07:04 +0000 (GMT) X-Virus-Scanned: lisa23@example.net Received: from colossus.hpl.hp.com ([83.161.120.155]) by localhost (colossus.hpl.hp.com [83.161.120.155]) (amavisd-new, port 10024) with LMTP id IOdYPKlftU2Q for <lisa23@example.net>; Thu, 9 Nov 2006 15:07:02 +0000 (GMT) Received: from ha-node-br2.hpl.hp.com (ha-node-br2.hpl.hp.com [83.161.120.155]) by colossus.hpl.hp.com (Postfix) with ESMTP id 1388D6B9F7 for <lisa23@example.net>; Thu, 9 Nov 2006 15:07:01 +0000 (GMT) Received: from [83.161.120.155] (chamonix.hpl.hp.com [83.161.120.155]) by ha-node-br2.hpl.hp.com (8.13.4/8.13.4) with ESMTP id kA9F6ihg021429 for <lisa23@example.net>; Thu, 9 Nov 2006 15:06:45 GMT Message-ID: <lisa23@example.net> Date: Thu, 09 Nov 2006 15:04:01 +0000 From: Steve Loughran <lisa23@example.net> User-Agent: Thunderbird 83.161.120.155 (X11/20061025) MIME-Version: 1.0 To: lisa23@example.net Subject: Re: retrieve doesnt References: <lisa23@example.net> <lisa23@example.net> In-Reply-To: <lisa23@example.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HPL-MailScanner-Information: Please contact the ISP for more information X-HPL-MailScanner: Found to be clean X-HPL-MailScanner-From: lisa23@example.net X-Virus-Checked: Checked by ClamAV on apache.org Xavier Hanin wrote: > It seems that Ivy find the modules but no artifacts (only 0 in the artifact > number column). So either the module descriptors for your dependencies > define no published artifact, or you depend on a configuration in these > module which have no artifacts. > > Could you share your ivy.xml (and maybe also your ivyconf.xml)? I'm pulling in stuff from the m2 repository, at least trying to. ivy.xml <?xml version="1.0" encoding="ISO-8859-1"?> <?xml-stylesheet type="text/xsl" href="http://ivyrep.jayasoft.org/ivy-doc.xsl"?> <ivy-module version="1.4"> <info organisation="org.antbook" module="diary-core" /> <!-- define four configurations, here--> <configurations defaultconfmapping="runtime"> <conf name="compile" visibility="private"/> <conf name="test" extends="compile" visibility="private"/> <conf name="master" description="contains the artifact but no dependencies"/> <conf name="runtime" extends="compile"/> </configurations> <publications> <!--get the artifact from our module name--> <artifact /> </publications> <dependencies> <dependency org="log4j" name="log4j" rev="${log4j.version}" conf="compile->runtime"/> <!--test time artifacts--> <dependency org="junit" name="junit" rev="${junit.version}" conf="test->runtime"/> </dependencies> </ivy-module> <ivyconf> <!-- see http://www.jayasoft.org/ivy/doc/configuration --> <!-- you can override this property to use mirrors http://mirrors.dotsrc.org/maven2 http://ftp.ggi-project.org/pub/packages/maven2 http://mirrors.sunsite.dk/maven2 http://public.planetmirror.com/pub/maven2 http://ibiblio.lsu.edu/main/pub/packages/maven2 http://www.ibiblio.net/pub/packages/maven2 --> <property name="ibiblio-maven2-root" value="http://www.ibiblio.org/maven2/" override="false"/> <property name="maven2.pattern" value="[organisation]/[module]/[revision]/[module]-[revision]" /> <property name="maven2.pattern.ext" value="${maven2.pattern}.[ext]" /> <!-- pull in the local repository --> <include url="${ivy.default.conf.dir}/ivyconf-local.xml"/> <conf defaultResolver="default"/> <resolvers> <filesystem name="team"> ivys="true" artifacts="true" m2compatible="true" > <artifact pattern="${ivy.conf.dir}/repository/${maven2.pattern.ext}"/> <ivy pattern="${ivy.conf.dir}/repository/${maven2.pattern}.xml"/> </filesystem> <ivyrep name="ivyrep"/> <ivyrep name="sandbox" ivyroot="http://opensvn.csie.org/ivyrepsandbox/"/> <ibiblio name="maven2" root="${ibiblio-maven2-root}" pattern="${maven2.pattern.ext}" m2compatible="true" /> <chain name="default" dual="true"> <resolver ref="local"/> <resolver ref="team"/> <resolver ref="ivyrep"/> <resolver ref="sandbox"/> <resolver ref="maven2"/> </chain> <chain name="internal"> <resolver ref="local"/> <resolver ref="team"/> </chain> </resolvers> <modules> <module organisation="org.antbook" name=".*" resolver="internal"/> </modules> </ivyconf> From ivy-userlisa23@example.net Thu Nov 09 15:38:45 2006 Return-Path: <ivy-userlisa23@example.net> Delivered-To: lisa23@example.net Received: (qmail 97335 invoked from network); 9 Nov 2006 15:38:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 9 Nov 2006 15:38:41 -0000 Received: (qmail 57548 invoked by uid 500); 9 Nov 2006 15:38:50 -0000 Delivered-To: lisa23@example.net Received: (qmail 57513 invoked by uid 500); 9 Nov 2006 15:38:49 -0000 Mailing-List: contact lisa23@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:lisa23@example.net> List-Unsubscribe: <mailto:lisa23@example.net> List-Post: <mailto:lisa23@example.net> List-Id: <ivy-user.incubator.apache.org> Reply-To: lisa23@example.net Delivered-To: mailing list lisa23@example.net Received: (qmail 57497 invoked by uid 99); 9 Nov 2006 15:38:49 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Nov 2006 07:38:49 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lisa23@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO nf-out-0910.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Nov 2006 07:38:36 -0800 Received: by nf-out-0910.google.com with SMTP id p46so873446nfa for <lisa23@example.net>; Thu, 09 Nov 2006 07:38:14 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=DUCoFg9356ivl6610bYl7QRyiLdbX4X13vKaiBacg9sXX10snon34yX0yEoiprUSLQFDHRmSyunHa2wvSWdgA95imnPSRyXhT6xU++vk9+WOV2Az1HK+ylhT9LdMnCKNTGtzorSgrnRs5XYbC0cJzVYss4/c9vFTqBrsm+TocQE= Received: by 83.161.120.155 with SMTP id i13mr146009bud.1163086693685; Thu, 09 Nov 2006 07:38:13 -0800 (PST) Received: by 83.161.120.155 with HTTP; Thu, 9 Nov 2006 07:38:13 -0800 (PST) Message-ID: <lisa23@example.net> Date: Thu, 9 Nov 2006 16:38:13 +0100 From: "Xavier Hanin" <lisa23@example.net> To: lisa23@example.net Subject: Re: retrieve doesnt In-Reply-To: <lisa23@example.net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_31870_23419610.1163086693657" References: <lisa23@example.net> <lisa23@example.net> <lisa23@example.net> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_31870_23419610.1163086693657 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 11/9/06, Steve Loughran <lisa23@example.net> wrote: > > Xavier Hanin wrote: > > It seems that Ivy find the modules but no artifacts (only 0 in the > artifact > > number column). So either the module descriptors for your dependencies > > define no published artifact, or you depend on a configuration in these > > module which have no artifacts. > > > > Could you share your ivy.xml (and maybe also your ivyconf.xml)? > > I'm pulling in stuff from the m2 repository, at least trying to. Ok, so it must be due to a problem of pom conversion or something like that. To investigate on that I'd suggest checking directly your ivy cache (should be in ~/.ivy/cache) where ivy put the log4j module descriptor for example. You will see an ivy file, and also a file called ivydata-xxx.properties. This file is interesting because it contains information about which resolver was used to get the ivy.xml. Note that even if maven2 repository is used, you will get an ivy.xml which will be the result of a pom conversion. This may help you to know why you have no artifact in your runtime configuration of log4j. BTW, using in a same environment both maven2 repository and ivyrep can lead to tricky problems of names. I usually do not suggest to use both, and prefer the use of a maven 1 repository for artifacts only. Note that if you really want to use maven 2 repository and their poms alongside ivyrep, you caan use the namespace feature to map maven2 namespace to ivyrep one. This takes time to setup (you have to write a set of rewriting rules) but can solve problem elegantly. Xavier ivy.xml > > <?xml version="1.0" encoding="ISO-8859-1"?> > <?xml-stylesheet type="text/xsl" > href="http://ivyrep.jayasoft.org/ivy-doc.xsl"?> > <ivy-module version="1.4"> > > <info organisation="org.antbook" module="diary-core" /> > <!-- define four configurations, here--> > <configurations defaultconfmapping="runtime"> > <conf name="compile" visibility="private"/> > <conf name="test" extends="compile" visibility="private"/> > <conf name="master" description="contains the artifact but no > dependencies"/> > <conf name="runtime" extends="compile"/> > </configurations> > <publications> > <!--get the artifact from our module name--> > <artifact /> > </publications> > <dependencies> > > <dependency org="log4j" name="log4j" rev="${log4j.version}" > conf="compile->runtime"/> > > <!--test time artifacts--> > <dependency org="junit" name="junit" rev="${junit.version}" > conf="test->runtime"/> > > </dependencies> > </ivy-module> > > > > <ivyconf> > <!-- > see http://www.jayasoft.org/ivy/doc/configuration > --> > <!-- you can override this property to use mirrors > http://mirrors.dotsrc.org/maven2 > http://ftp.ggi-project.org/pub/packages/maven2 > http://mirrors.sunsite.dk/maven2 > http://public.planetmirror.com/pub/maven2 > http://ibiblio.lsu.edu/main/pub/packages/maven2 > http://www.ibiblio.net/pub/packages/maven2 > --> > <property name="ibiblio-maven2-root" > value="http://www.ibiblio.org/maven2/" override="false"/> > <property name="maven2.pattern" > value="[organisation]/[module]/[revision]/[module]-[revision]" /> > <property name="maven2.pattern.ext" > value="${maven2.pattern}.[ext]" /> > <!-- pull in the local repository --> > <include url="${ivy.default.conf.dir}/ivyconf-local.xml"/> > <conf defaultResolver="default"/> > <resolvers> > <filesystem name="team"> > ivys="true" artifacts="true" > m2compatible="true" > > <artifact > pattern="${ivy.conf.dir}/repository/${maven2.pattern.ext}"/> > <ivy pattern="${ivy.conf.dir}/repository/${maven2.pattern}.xml"/> > </filesystem> > <ivyrep name="ivyrep"/> > <ivyrep name="sandbox" > ivyroot="http://opensvn.csie.org/ivyrepsandbox/"/> > <ibiblio name="maven2" > root="${ibiblio-maven2-root}" > pattern="${maven2.pattern.ext}" > m2compatible="true" > /> > <chain name="default" dual="true"> > <resolver ref="local"/> > <resolver ref="team"/> > <resolver ref="ivyrep"/> > <resolver ref="sandbox"/> > <resolver ref="maven2"/> > </chain> > <chain name="internal"> > <resolver ref="local"/> > <resolver ref="team"/> > </chain> > </resolvers> > <modules> > <module organisation="org.antbook" name=".*" resolver="internal"/> > </modules> > </ivyconf> > > > > ------=_Part_31870_23419610.1163086693657-- From ivy-userlisa23@example.net Thu Nov 09 15:52:03 2006 Return-Path: <ivy-userlisa23@example.net> Delivered-To: lisa23@example.net Received: (qmail 536 invoked from network); 9 Nov 2006 15:52:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 9 Nov 2006 15:52:02 -0000 Received: (qmail 75299 invoked by uid 500); 9 Nov 2006 15:52:13 -0000 Delivered-To: lisa23@example.net Received: (qmail 75280 invoked by uid 500); 9 Nov 2006 15:52:13 -0000 Mailing-List: contact lisa23@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:lisa23@example.net> List-Unsubscribe: <mailto:lisa23@example.net> List-Post: <mailto:lisa23@example.net> List-Id: <ivy-user.incubator.apache.org> Reply-To: lisa23@example.net Delivered-To: mailing list lisa23@example.net Received: (qmail 75271 invoked by uid 99); 9 Nov 2006 15:52:13 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Nov 2006 07:52:13 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [83.161.120.155] (HELO tobor.hpl.hp.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Nov 2006 07:51:58 -0800 Received: from localhost (localhost.localdomain [83.161.120.155]) by tobor.hpl.hp.com (Postfix) with ESMTP id C74134C09A for <lisa23@example.net>; Thu, 9 Nov 2006 15:51:37 +0000 (GMT) X-Virus-Scanned: lisa23@example.net Received: from tobor.hpl.hp.com ([83.161.120.155]) by localhost (tobor.hpl.hp.com [83.161.120.155]) (amavisd-new, port 10024) with LMTP id e0x1tpAADkqv for <lisa23@example.net>; Thu, 9 Nov 2006 15:51:36 +0000 (GMT) Received: from ha-node-br2.hpl.hp.com (ha-node-br2.hpl.hp.com [83.161.120.155]) by tobor.hpl.hp.com (Postfix) with ESMTP id 9E19B4C07D for <lisa23@example.net>; Thu, 9 Nov 2006 15:51:36 +0000 (GMT) Received: from [83.161.120.155] (chamonix.hpl.hp.com [83.161.120.155]) by ha-node-br2.hpl.hp.com (8.13.4/8.13.4) with ESMTP id kA9FpLc3004446 for <lisa23@example.net>; Thu, 9 Nov 2006 15:51:21 GMT Message-ID: <lisa23@example.net> Date: Thu, 09 Nov 2006 15:48:37 +0000 From: Steve Loughran <lisa23@example.net> User-Agent: Thunderbird 83.161.120.155 (X11/20061025) MIME-Version: 1.0 To: lisa23@example.net Subject: Re: retrieve doesnt References: <lisa23@example.net> <lisa23@example.net> <lisa23@example.net> <lisa23@example.net> In-Reply-To: <lisa23@example.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HPL-MailScanner-Information: Please contact the ISP for more information X-HPL-MailScanner: Found to be clean X-HPL-MailScanner-From: lisa23@example.net X-Virus-Checked: Checked by ClamAV on apache.org Xavier Hanin wrote: > On 11/9/06, Steve Loughran <lisa23@example.net> wrote: >> >> Xavier Hanin wrote: >> > It seems that Ivy find the modules but no artifacts (only 0 in the >> artifact >> > number column). So either the module descriptors for your dependencies >> > define no published artifact, or you depend on a configuration in these >> > module which have no artifacts. >> > >> > Could you share your ivy.xml (and maybe also your ivyconf.xml)? >> >> I'm pulling in stuff from the m2 repository, at least trying to. > > > Ok, so it must be due to a problem of pom conversion or something like > that. > To investigate on that I'd suggest checking directly your ivy cache (should > be in ~/.ivy/cache) where ivy put the log4j module descriptor for example. > You will see an ivy file, and also a file called ivydata-xxx.properties. > This file is interesting because it contains information about which > resolver was used to get the ivy.xml. Note that even if maven2 > repository is > used, you will get an ivy.xml which will be the result of a pom conversion. > This may help you to know why you have no artifact in your runtime > configuration of log4j. > OK. now its clear. the 'runtime' includes dependencies, but not the generated artifact itself. if I depend on runtime, I dont get the primary artifact. <ivy-module version="1.0"> <info organisation="log4j" module="log4j" revision="1.2.13" status="integration" publication="20060103173401" /> <configurations> <conf name="default" visibility="public" description="runtime dependencies and master artifact can be used with this conf" extends="runtime,master"/> <conf name="master" visibility="public" description="contains only the artifact published by this module itself, with no transitive dependencies "/> <conf name="compile" visibility="public" description="this is the default scope, used if none is specified. Compile dependencies are available in all classpaths."/> <conf name="provided" visibility="public" description="this is much like compile, but indicates you expect the JDK or a container to provide it. It is only available on the compilation classpath, and is not transitive."/> <conf name="runtime" visibility="public" description="this scope indicates that the dependency is not required for compilation, but is for execution. It is in the runtime and test classpaths, but not the compile classpath." extends="compile"/> <conf name="test" visibility="private" description="this scope indicates that the dependency is not required for normal use of the application, and is only available for the test compilation and execution phases."/> <conf name="system" visibility="public" description="this scope is similar to provided except that you have to provide the JAR which contains it explicitly. The artifact is always available and is not looked up in a repository."/> </configurations> <publications> <artifact name="log4j" type="jar" ext="jar" conf="master"/> </publications> </ivy-module> > BTW, using in a same environment both maven2 repository and ivyrep can lead > to tricky problems of names. I usually do not suggest to use both, and > prefer the use of a maven 1 repository for artifacts only. Note that if you > really want to use maven 2 repository and their poms alongside ivyrep, you > caan use the namespace feature to map maven2 namespace to ivyrep one. This > takes time to setup (you have to write a set of rewriting rules) but can > solve problem elegantly. I'm not sure if rewrite rules consitute elegance. Workaround, yes. Elegance? doubtful. > From ivy-userlisa23@example.net Thu Nov 09 16:41:49 2006 Return-Path: <ivy-userlisa23@example.net> Delivered-To: lisa23@example.net Received: (qmail 23819 invoked from network); 9 Nov 2006 16:41:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 9 Nov 2006 16:41:48 -0000 Received: (qmail 91270 invoked by uid 500); 9 Nov 2006 16:41:59 -0000 Delivered-To: lisa23@example.net Received: (qmail 91212 invoked by uid 500); 9 Nov 2006 16:41:59 -0000 Mailing-List: contact lisa23@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:lisa23@example.net> List-Unsubscribe: <mailto:lisa23@example.net> List-Post: <mailto:lisa23@example.net> List-Id: <ivy-user.incubator.apache.org> Reply-To: lisa23@example.net Delivered-To: mailing list lisa23@example.net Received: (qmail 91195 invoked by uid 99); 9 Nov 2006 16:41:59 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Nov 2006 08:41:59 -0800 X-ASF-Spam-Status: No, hits=2.9 required=10.0 tests=HTML_10_20,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lisa23@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO nf-out-0910.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Nov 2006 08:41:45 -0800 Received: by nf-out-0910.google.com with SMTP id p46so893251nfa for <lisa23@example.net>; Thu, 09 Nov 2006 08:41:24 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=lrPxeLGuRzHZDFHkIOO4xm7ekh1k83czoZazlIchuGGDz/+bryKXu+mFPsxnYt69Uf+gq5t6Hwcq13ugXblTSuoQ4mQCjm7T8Haf0rUgHNk/mMHbKOk1vfWXjITAXFceM+IIclFoghrgbuaad5F0WYkET7YE8dFoecarPxxgeRc= Received: by 83.161.120.155 with SMTP id u6mr163894bud.1163090483748; Thu, 09 Nov 2006 08:41:23 -0800 (PST) Received: by 83.161.120.155 with HTTP; Thu, 9 Nov 2006 08:41:23 -0800 (PST) Message-ID: <lisa23@example.net> Date: Thu, 9 Nov 2006 17:41:23 +0100 From: "Xavier Hanin" <lisa23@example.net> To: lisa23@example.net, lisa23@example.net Subject: Ivy 1.4.1 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_32631_18834836.1163090483476" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_32631_18834836.1163090483476 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi All, I've just released the 1.4.1 version of Ivy on jayasoft.org website. I've also closed the svn write access, so I'll be ready for migration to apache infrastructure soon (I have to process the svn history to isolate Ivy with standard svn directories like trunk / tags / ...). I hope to be ready tomorrow. Xavier ------=_Part_32631_18834836.1163090483476-- From ivy-userlisa23@example.net Thu Nov 09 16:44:36 2006 Return-Path: <ivy-userlisa23@example.net> Delivered-To: lisa23@example.net Received: (qmail 24988 invoked from network); 9 Nov 2006 16:44:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 9 Nov 2006 16:44:34 -0000 Received: (qmail 98770 invoked by uid 500); 9 Nov 2006 16:44:45 -0000 Delivered-To: lisa23@example.net Received: (qmail 98747 invoked by uid 500); 9 Nov 2006 16:44:45 -0000 Mailing-List: contact lisa23@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:lisa23@example.net> List-Unsubscribe: <mailto:lisa23@example.net> List-Post: <mailto:lisa23@example.net> List-Id: <ivy-user.incubator.apache.org> Reply-To: lisa23@example.net Delivered-To: mailing list lisa23@example.net Received: (qmail 98738 invoked by uid 99); 9 Nov 2006 16:44:45 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Nov 2006 08:44:45 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lisa23@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO nf-out-0910.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Nov 2006 08:44:31 -0800 Received: by nf-out-0910.google.com with SMTP id p46so894160nfa for <lisa23@example.net>; Thu, 09 Nov 2006 08:44:10 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=rguZ5p2LlhVlkUTQ68nvPRw3TAxNSgFCQQcPHS4zn8F3QV6+8BJO2act8EU1yT3/IrHX1Q11Din3HjINJEVlMFAm6gQDvoYeFpyyT9MHtgoN4BEZ/7RbqjDF4NfGUAEAazqtv64TFomVCevr86kKQAIaqvXaXsgqJbqkPmtL/4A= Received: by 83.161.120.155 with SMTP id m9mr164887bue.1163090649664; Thu, 09 Nov 2006 08:44:09 -0800 (PST) Received: by 83.161.120.155 with HTTP; Thu, 9 Nov 2006 08:44:09 -0800 (PST) Message-ID: <lisa23@example.net> Date: Thu, 9 Nov 2006 17:44:09 +0100 From: "Xavier Hanin" <lisa23@example.net> To: lisa23@example.net Subject: Re: retrieve doesnt In-Reply-To: <lisa23@example.net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_32663_27874545.1163090649638" References: <lisa23@example.net> <lisa23@example.net> <lisa23@example.net> <lisa23@example.net> <lisa23@example.net> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_32663_27874545.1163090649638 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 11/9/06, Steve Loughran <lisa23@example.net> wrote: > > <snip> > > BTW, using in a same environment both maven2 repository and ivyrep can > lead > > to tricky problems of names. I usually do not suggest to use both, and > > prefer the use of a maven 1 repository for artifacts only. Note that if > you > > really want to use maven 2 repository and their poms alongside ivyrep, > you > > caan use the namespace feature to map maven2 namespace to ivyrep one. > This > > takes time to setup (you have to write a set of rewriting rules) but can > > solve problem elegantly. > > I'm not sure if rewrite rules consitute elegance. Workaround, yes. > Elegance? doubtful. Well, let's say that it's a powerful solution which allow to combine two heterogeneous namespaces from Ivy. But I agree it's not elegant. Xavier > > > ------=_Part_32663_27874545.1163090649638-- From ivy-userlisa23@example.net Thu Nov 09 17:10:32 2006 Return-Path: <ivy-userlisa23@example.net> Delivered-To: lisa23@example.net Received: (qmail 31897 invoked from network); 9 Nov 2006 17:10:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 9 Nov 2006 17:10:31 -0000 Received: (qmail 45687 invoked by uid 500); 9 Nov 2006 17:10:42 -0000 Delivered-To: lisa23@example.net Received: (qmail 45664 invoked by uid 500); 9 Nov 2006 17:10:42 -0000 Mailing-List: contact lisa23@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:lisa23@example.net> List-Unsubscribe: <mailto:lisa23@example.net> List-Post: <mailto:lisa23@example.net> List-Id: <ivy-user.incubator.apache.org> Reply-To: lisa23@example.net Delivered-To: mailing list lisa23@example.net Received: (qmail 45655 invoked by uid 99); 9 Nov 2006 17:10:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Nov 2006 09:10:42 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [83.161.120.155] (HELO tobor.hpl.hp.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Nov 2006 09:10:27 -0800 Received: from localhost (localhost.localdomain [83.161.120.155]) by tobor.hpl.hp.com (Postfix) with ESMTP id 755294C0A1 for <lisa23@example.net>; Thu, 9 Nov 2006 17:10:06 +0000 (GMT) X-Virus-Scanned: lisa23@example.net Received: from tobor.hpl.hp.com ([83.161.120.155]) by localhost (tobor.hpl.hp.com [83.161.120.155]) (amavisd-new, port 10024) with LMTP id Ri8CB85rjj0k for <lisa23@example.net>; Thu, 9 Nov 2006 17:10:04 +0000 (GMT) Received: from ha-node-br2.hpl.hp.com (ha-node-br2.hpl.hp.com [83.161.120.155]) by tobor.hpl.hp.com (Postfix) with ESMTP id 84E5E4C092 for <lisa23@example.net>; Thu, 9 Nov 2006 17:10:04 +0000 (GMT) Received: from [83.161.120.155] (chamonix.hpl.hp.com [83.161.120.155]) by ha-node-br2.hpl.hp.com (8.13.4/8.13.4) with ESMTP id kA9H9nlh027173 for <lisa23@example.net>; Thu, 9 Nov 2006 17:09:49 GMT Message-ID: <lisa23@example.net> Date: Thu, 09 Nov 2006 17:07:04 +0000 From: Steve Loughran <lisa23@example.net> User-Agent: Thunderbird 83.161.120.155 (X11/20061025) MIME-Version: 1.0 To: ivy-user <lisa23@example.net> Subject: publishing war files Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HPL-MailScanner-Information: Please contact the ISP for more information X-HPL-MailScanner: Found to be clean X-HPL-MailScanner-From: lisa23@example.net X-Virus-Checked: Checked by ClamAV on apache.org I cannot get ivy1.4.1 to publish my WAR file. Jar files yes, war files no. From ivy.xml <publications> <!-- the artifact is only produced in the master distro, and it is a WAR file--> <artifact conf="master" type="war" ext="war"/> </publications> the build log: ivy-publish: [ivy:publish] 888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4 publishing 888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4 [ org.antbook | diary ] [ivy:publish] missing artifact [ org.antbook | diary | 0.1alpha-SNAPSHOT ]/diary.jar[jar]: [ivy:publish] /home/slo/Projects/examples/diary/webapp/dist/diary-0.1alpha-SNAPSHOT.jar file does not exist [ivy:publish] published ivy to /home/slo/.ivy/local/org.antbook/diary/0.1alpha-SNAPSHOT/ivys/ivy.xml BUILD FAILED - at 09/11/06 17:04 /home/slo/Projects/examples/diary/xml/ivy-mixin.xml:44: impossible to publish artifacts for [ org.antbook | diary | working@chamonix ]: missing published artifacts for [ org.antbook | diary | working@chamonix ]: [[ org.antbook | diary | 0.1alpha-SNAPSHOT ]/diary.jar[jar]] and the filesystem webapp> ls -l dist total 384 drwxr-xr-x 2 slo users 48 2006-11-09 16:32 api -rw-r--r-- 1 slo users 386998 2006-11-09 16:58 diary0.1alpha-SNAPSHOT.war drwxr-xr-x 2 slo users 48 2006-11-09 16:32 doc -rw-r--r-- 1 slo users 1727 2006-11-09 16:56 ivy-0.1alpha-SNAPSHOT.xml From ivy-user-lisa23@example.net Thu Nov 09 17:30:29 2006 Return-Path: <ivy-user-lisa23@example.net> Delivered-To: lisa23@example.net Received: (qmail 44737 invoked from network); 9 Nov 2006 17:30:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 9 Nov 2006 17:30:28 -0000 Received: (qmail 91034 invoked by uid 500); 9 Nov 2006 17:30:34 -0000 Delivered-To: lisa23@example.net Received: (qmail 90982 invoked by uid 500); 9 Nov 2006 17:30:34 -0000 Mailing-List: contact lisa23@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:lisa23@example.net> List-Unsubscribe: <mailto:lisa23@example.net> List-Post: <mailto:lisa23@example.net> List-Id: <ivy-user.incubator.apache.org> Reply-To: lisa23@example.net Delivered-To: mailing list lisa23@example.net Received: (qmail 90945 invoked by uid 99); 9 Nov 2006 17:30:33 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Nov 2006 09:30:33 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [83.161.120.155] (HELO colossus.hpl.hp.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Nov 2006 09:30:13 -0800 Received: from localhost (localhost.localdomain [83.161.120.155]) by colossus.hpl.hp.com (Postfix) with ESMTP id 1FB5F6B9F1 for <lisa23@example.net>; Thu, 9 Nov 2006 17:29:52 +0000 (GMT) X-Virus-Scanned: lisa23@example.net Received: from colossus.hpl.hp.com ([83.161.120.155]) by localhost (colossus.hpl.hp.com [83.161.120.155]) (amavisd-new, port 10024) with LMTP id 4GXh1nI572N7 for <lisa23@example.net>; Thu, 9 Nov 2006 17:29:51 +0000 (GMT) Received: from ha-node-br2.hpl.hp.com (ha-node-br2.hpl.hp.com [83.161.120.155]) by colossus.hpl.hp.com (Postfix) with ESMTP id CC65F6B9F7 for <lisa23@example.net>; Thu, 9 Nov 2006 17:29:49 +0000 (GMT) Received: from [83.161.120.155] (chamonix.hpl.hp.com [83.161.120.155]) by ha-node-br2.hpl.hp.com (8.13.4/8.13.4) with ESMTP id kA9HTWMQ002760 for <lisa23@example.net>; Thu, 9 Nov 2006 17:29:32 GMT Message-ID: <lisa23@example.net> Date: Thu, 09 Nov 2006 17:26:47 +0000 From: Steve Loughran <lisa23@example.net> User-Agent: Thunderbird 83.161.120.155 (X11/20061025) MIME-Version: 1.0 To: ivy-user <lisa23@example.net> Subject: <repreport> and stylesheets Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HPL-MailScanner-Information: Please contact the ISP for more information X-HPL-MailScanner: Found to be clean X-HPL-MailScanner-From: lisa23@example.net X-Virus-Checked: Checked by ClamAV on apache.org Where is a suitable xsl stylesheet to go with <repreport>? it sticks a reference to ivy-report.xsl in the generated XML file, but no XSL file. -steve From ivy-user-lisa23@example.net Thu Nov 09 17:31:16 2006 Return-Path: <ivy-user-lisa23@example.net> Delivered-To: lisa23@example.net Received: (qmail 44923 invoked from network); 9 Nov 2006 17:31:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 9 Nov 2006 17:31:16 -0000 Received: (qmail 93432 invoked by uid 500); 9 Nov 2006 17:31:27 -0000 Delivered-To: lisa23@example.net Received: (qmail 93411 invoked by uid 500); 9 Nov 2006 17:31:27 -0000 Mailing-List: contact lisa23@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:lisa23@example.net> List-Unsubscribe: <mailto:lisa23@example.net> List-Post: <mailto:lisa23@example.net> List-Id: <ivy-user.incubator.apache.org> Reply-To: lisa23@example.net Delivered-To: mailing list lisa23@example.net Received: (qmail 93401 invoked by uid 99); 9 Nov 2006 17:31:27 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Nov 2006 09:31:27 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lisa23@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ug-out-1314.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Nov 2006 09:31:12 -0800 Received: by ug-out-1314.google.com with SMTP id y2so349355uge for <lisa23@example.net>; Thu, 09 Nov 2006 09:30:51 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=EBaXq4A736nHt8Mg13F77638uv4jPc3qpZb+I9WRJRj9ktbg0apmC4uKqhCEGnPZaldQBFcGxsNb7KA1niK2GugCWtV8eOil4oIlESYeV8A1+bXgOoaviYHsR/DBbQcEdZgfVaDiZivcZjPd2p0w1xGdGqiHcjyVcZmQtTsIOwQ= Received: by 83.161.120.155 with SMTP id a5mr175643bue.1163093450170; Thu, 09 Nov 2006 09:30:50 -0800 (PST) Received: by 83.161.120.155 with HTTP; Thu, 9 Nov 2006 09:30:49 -0800 (PST) Message-ID: <lisa23@example.net> Date: Thu, 9 Nov 2006 18:30:49 +0100 From: "Xavier Hanin" <lisa23@example.net> To: lisa23@example.net Subject: Re: publishing war files In-Reply-To: <lisa23@example.net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_33635_2781168.1163093449976" References: <lisa23@example.net> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_33635_2781168.1163093449976 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 11/9/06, Steve Loughran <lisa23@example.net> wrote: > > I cannot get ivy1.4.1 to publish my WAR file. Jar files yes, war files no. According to the console messages it seems that Ivy is trying to publish a jar and nor a war, but your ivy file snippet is ok. So my guess is that Ivy is actually using another ivy file.It's difficult to know, Ivy can use the ivy file it publishes or the ivy file used for the last resolve. So you can check the /home/slo/.ivy/local/org.antbook/diary/0.1alpha-SNAPSHOT/ivys/ivy.xml to see if the publication section is ok. And you can check the cache, and look for a resolved-xxx.xml file at the root, to see how it looks like. Xavier >From ivy.xml > > <publications> > <!-- the artifact is only produced in the master distro, and it is > a WAR file--> > <artifact conf="master" type="war" ext="war"/> > </publications> > > the build log: > > ivy-publish: > [ivy:publish] 888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4 publishing 888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4 [ org.antbook | diary ] > [ivy:publish] missing artifact [ org.antbook | diary | 0.1alpha-SNAPSHOT > ]/diary.jar[jar]: > [ivy:publish] > /home/slo/Projects/examples/diary/webapp/dist/diary-0.1alpha-SNAPSHOT.jar > file does not exist > [ivy:publish] published ivy to > /home/slo/.ivy/local/org.antbook/diary/0.1alpha-SNAPSHOT/ivys/ivy.xml > > BUILD FAILED - at 09/11/06 17:04 > /home/slo/Projects/examples/diary/xml/ivy-mixin.xml:44: impossible to > publish artifacts for [ org.antbook | diary | working@chamonix ]: > missing published artifacts for [ org.antbook | diary | working@chamonix > ]: [[ org.antbook | diary | 0.1alpha-SNAPSHOT ]/diary.jar[jar]] > > > and the filesystem > webapp> ls -l dist > > total 384 > drwxr-xr-x 2 slo users 48 2006-11-09 16:32 api > -rw-r--r-- 1 slo users 386998 2006-11-09 16:58 diary0.1alpha-SNAPSHOT.war > drwxr-xr-x 2 slo users 48 2006-11-09 16:32 doc > -rw-r--r-- 1 slo users 1727 2006-11-09 16:56 ivy-0.1alpha-SNAPSHOT.xml > > > ------=_Part_33635_2781168.1163093449976-- From ivy-user-lisa23@example.net Thu Nov 09 17:34:51 2006 Return-Path: <ivy-user-lisa23@example.net> Delivered-To: lisa23@example.net Received: (qmail 46210 invoked from network); 9 Nov 2006 17:34:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 9 Nov 2006 17:34:51 -0000 Received: (qmail 5286 invoked by uid 500); 9 Nov 2006 17:35:00 -0000 Delivered-To: lisa23@example.net Received: (qmail 5263 invoked by uid 500); 9 Nov 2006 17:35:00 -0000 Mailing-List: contact lisa23@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:lisa23@example.net> List-Unsubscribe: <mailto:lisa23@example.net> List-Post: <mailto:lisa23@example.net> List-Id: <ivy-user.incubator.apache.org> Reply-To: lisa23@example.net Delivered-To: mailing list lisa23@example.net Received: (qmail 5254 invoked by uid 99); 9 Nov 2006 17:35:00 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Nov 2006 09:35:00 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lisa23@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO nf-out-0910.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Nov 2006 09:34:47 -0800 Received: by nf-out-0910.google.com with SMTP id p46so909966nfa for <lisa23@example.net>; Thu, 09 Nov 2006 09:34:25 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=IFYunWRixgnPs7cldyw/eislTYed4A0zmAPwKX910rv72NYXTtou1g8zTEIBJaDcrHeJzOQzl9IOdmLp9bDUVw+zLuhf3hDx/UqbMIwerw2Xjy3p0pmqY7cITbAu8G7JGz8ACOcckKC6ARglvT8u4bFFF6B75ric+aT/nCyBMZk= Received: by 83.161.120.155 with SMTP id z16mr176850bud.1163093664982; Thu, 09 Nov 2006 09:34:24 -0800 (PST) Received: by 83.161.120.155 with HTTP; Thu, 9 Nov 2006 09:34:24 -0800 (PST) Message-ID: <lisa23@example.net> Date: Thu, 9 Nov 2006 18:34:24 +0100 From: "Xavier Hanin" <lisa23@example.net> To: lisa23@example.net Subject: Re: <repreport> and stylesheets In-Reply-To: <lisa23@example.net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_33679_10923795.1163093664812" References: <lisa23@example.net> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_33679_10923795.1163093664812 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 11/9/06, Steve Loughran <lisa23@example.net> wrote: > > > > Where is a suitable xsl stylesheet to go with <repreport>? it sticks a > reference to ivy-report.xsl in the generated XML file, but no XSL file. You can use the same xsl as for standard report (you will find it at the root of your cache). Actually repreport is only a trick which generates a module depending on all modules of your repository, resolve the dependencies, and then generate reports based on that. I've just developed specific xsl (ignoring this fake generated module) to generate a graphml or a dot file, but none for a text report. Xavier -steve > ------=_Part_33679_10923795.1163093664812-- From ivy-user-lisa23@example.net Thu Nov 09 18:32:51 2006 Return-Path: <ivy-user-lisa23@example.net> Delivered-To: lisa23@example.net Received: (qmail 66461 invoked from network); 9 Nov 2006 18:32:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 9 Nov 2006 18:32:50 -0000 Received: (qmail 13455 invoked by uid 500); 9 Nov 2006 18:33:01 -0000 Delivered-To: lisa23@example.net Received: (qmail 13434 invoked by uid 500); 9 Nov 2006 18:33:01 -0000 Mailing-List: contact lisa23@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:lisa23@example.net> List-Unsubscribe: <mailto:lisa23@example.net> List-Post: <mailto:lisa23@example.net> List-Id: <ivy-user.incubator.apache.org> Reply-To: lisa23@example.net Delivered-To: mailing list lisa23@example.net Received: (qmail 13424 invoked by uid 99); 9 Nov 2006 18:33:01 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Nov 2006 10:33:01 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lisa23@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO nf-out-0910.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Nov 2006 10:32:46 -0800 Received: by nf-out-0910.google.com with SMTP id p46so926732nfa for <lisa23@example.net>; Thu, 09 Nov 2006 10:32:24 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=pkkArSRRj7hv3AcgXAPRzFTZLusE1fGPUpcLDlbj4s3JiFhgNtVQziFB5BrBywZT07iz8GjxSijHGTYvW8u/GDjAZlT2tNUlT+MEYcVz0psXI8q0t2Dc+jsLbjDXjwlUc9Z4h0TI+bX6f0lPOj+iZapTAeGd8v+AXGlBhkr7p3E= Received: by 83.161.120.155 with SMTP id l10mr4461863nfi.1163097137272; Thu, 09 Nov 2006 10:32:17 -0800 (PST) Received: from ?83.161.120.155? ( [83.161.120.155]) by mx.google.com with ESMTP id b1sm2682296nfe.283.161.120.155.32.14; Thu, 09 Nov 2006 10:32:15 -0800 (PST) Message-ID: <lisa23@example.net> Date: Thu, 09 Nov 2006 19:32:03 +0100 From: Stephane Bailliez <lisa23@example.net> User-Agent: Thunderbird 83.161.120.155 (Windows/20061025) MIME-Version: 1.0 To: lisa23@example.net Subject: Re: publishing war files References: <lisa23@example.net> In-Reply-To: <lisa23@example.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Steve Loughran wrote: > > > > I cannot get ivy1.4.1 to publish my WAR file. Jar files yes, war files > no. > You may need to specify the type in the task otherwise I think it tries to publish jar instead of using what is in the ivy.xml (might be wrong, but from the top of my head) From ivy-user-lisa23@example.net Fri Nov 10 12:28:25 2006 Return-Path: <ivy-user-lisa23@example.net> Delivered-To: lisa23@example.net Received: (qmail 39240 invoked from network); 10 Nov 2006 12:28:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 10 Nov 2006 12:28:24 -0000 Received: (qmail 15738 invoked by uid 500); 10 Nov 2006 12:28:35 -0000 Delivered-To: lisa23@example.net Received: (qmail 15718 invoked by uid 500); 10 Nov 2006 12:28:35 -0000 Mailing-List: contact lisa23@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:lisa23@example.net> List-Unsubscribe: <mailto:lisa23@example.net> List-Post: <mailto:lisa23@example.net> List-Id: <ivy-user.incubator.apache.org> Reply-To: lisa23@example.net Delivered-To: mailing list lisa23@example.net Received: (qmail 15709 invoked by uid 99); 10 Nov 2006 12:28:35 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Nov 2006 04:28:35 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [83.161.120.155] (HELO tobor.hpl.hp.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Nov 2006 04:28:20 -0800 Received: from localhost (localhost.localdomain [83.161.120.155]) by tobor.hpl.hp.com (Postfix) with ESMTP id 7354D4C098 for <lisa23@example.net>; Fri, 10 Nov 2006 12:27:58 +0000 (GMT) X-Virus-Scanned: lisa23@example.net Received: from tobor.hpl.hp.com ([83.161.120.155]) by localhost (tobor.hpl.hp.com [83.161.120.155]) (amavisd-new, port 10024) with LMTP id Vy+nTywO2Pv5 for <lisa23@example.net>; Fri, 10 Nov 2006 12:27:55 +0000 (GMT) Received: from ha-node-br2.hpl.hp.com (ha-node-br2.hpl.hp.com [83.161.120.155]) by tobor.hpl.hp.com (Postfix) with ESMTP id 921C54C092 for <lisa23@example.net>; Fri, 10 Nov 2006 12:27:55 +0000 (GMT) Received: from [83.161.120.155] (chamonix.hpl.hp.com [83.161.120.155]) by ha-node-br2.hpl.hp.com (8.13.4/8.13.4) with ESMTP id kAACRh2T021157 for <lisa23@example.net>; Fri, 10 Nov 2006 12:27:43 GMT Message-ID: <lisa23@example.net> Date: Fri, 10 Nov 2006 12:24:49 +0000 From: Steve Loughran <lisa23@example.net> User-Agent: Thunderbird 83.161.120.155 (X11/20061025) MIME-Version: 1.0 To: lisa23@example.net Subject: Re: publishing war files References: <lisa23@example.net> <lisa23@example.net> In-Reply-To: <lisa23@example.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HPL-MailScanner-Information: Please contact the ISP for more information X-HPL-MailScanner: Found to be clean X-HPL-MailScanner-From: lisa23@example.net X-Virus-Checked: Checked by ClamAV on apache.org Stephane Bailliez wrote: > Steve Loughran wrote: >> >> >> >> I cannot get ivy1.4.1 to publish my WAR file. Jar files yes, war files >> no. >> > You may need to specify the type in the task otherwise I think it tries > to publish jar instead of using what is in the ivy.xml > > (might be wrong, but from the top of my head) No, I fixed it. I had to delete the ivy xml file created in dist/ next to the WAR and the rebuild would recreate it...it looks like ivy doesnt recreate this file if the source ivy.xml file has changed. From ivy-user-lisa23@example.net Fri Nov 10 12:36:52 2006 Return-Path: <ivy-user-lisa23@example.net> Delivered-To: lisa23@example.net Received: (qmail 43030 invoked from network); 10 Nov 2006 12:36:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 10 Nov 2006 12:36:51 -0000 Received: (qmail 34835 invoked by uid 500); 10 Nov 2006 12:37:02 -0000 Delivered-To: lisa23@example.net Received: (qmail 34800 invoked by uid 500); 10 Nov 2006 12:37:02 -0000 Mailing-List: contact lisa23@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:lisa23@example.net> List-Unsubscribe: <mailto:lisa23@example.net> List-Post: <mailto:lisa23@example.net> List-Id: <ivy-user.incubator.apache.org> Reply-To: lisa23@example.net Delivered-To: mailing list lisa23@example.net Received: (qmail 34791 invoked by uid 99); 10 Nov 2006 12:37:02 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Nov 2006 04:37:02 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lisa23@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO nf-out-0910.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Nov 2006 04:36:48 -0800 Received: by nf-out-0910.google.com with SMTP id p46so1179202nfa for <lisa23@example.net>; Fri, 10 Nov 2006 04:36:26 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=BVp+h24r/QYLRPNLZHf04LanNqaEs/QVi4ALIuoJfhRgLjIHothHLIg5OyoJ+ONn6w+9GxoAyLFj41NGAyuvXck6Znhk4/zzsb5Ox+Y0KJgMx3E0X47lRhJsDRG/hvGbicfa+INeTOkL+x40Nb7r1Lvic1dfIy65luYGxA2n27Y= Received: by 83.161.120.155 with SMTP id x5mr5322351nfi.1163162186637; Fri, 10 Nov 2006 04:36:26 -0800 (PST) Received: from ?83.161.120.155? ( [83.161.120.155]) by mx.google.com with ESMTP id l38sm4253420nfc.283.161.120.155.36.26; Fri, 10 Nov 2006 04:36:26 -0800 (PST) Message-ID: <lisa23@example.net> Date: Fri, 10 Nov 2006 13:36:15 +0100 From: Stephane Bailliez <lisa23@example.net> User-Agent: Thunderbird 83.161.120.155 (Windows/20061025) MIME-Version: 1.0 To: lisa23@example.net Subject: Re: publishing war files References: <lisa23@example.net> <lisa23@example.net> <lisa23@example.net> In-Reply-To: <lisa23@example.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Steve Loughran wrote: > > No, I fixed it. I had to delete the ivy xml file created in dist/ next > to the WAR and the rebuild would recreate it...it looks like ivy > doesnt recreate this file if the source ivy.xml file has changed. Indeed, common source of mishaps that happen, my build process is constantly getting rid of it as I have learned it the hard way. That's certainly part of the thing that needs to be fixed. What I would like for any subsequent release is to stop having too much configuration entry points, too much assumptions and too much autodecisions. The fact that you can configure part of it with properties, other parts with the xml that it does an auto configuration, auto resolve, if not done, is creating more problem than it solve from my perspective. I generally want thing to fail right away. -- stephane From ivy-user-lisa23@example.net Fri Nov 10 15:00:21 2006 Return-Path: <ivy-user-lisa23@example.net> Delivered-To: lisa23@example.net Received: (qmail 171 invoked from network); 10 Nov 2006 15:00:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 10 Nov 2006 15:00:18 -0000 Received: (qmail 35842 invoked by uid 500); 10 Nov 2006 15:00:24 -0000 Delivered-To: lisa23@example.net Received: (qmail 35806 invoked by uid 500); 10 Nov 2006 15:00:24 -0000 Mailing-List: contact lisa23@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:lisa23@example.net> List-Unsubscribe: <mailto:lisa23@example.net> List-Post: <mailto:lisa23@example.net> List-Id: <ivy-user.incubator.apache.org> Reply-To: lisa23@example.net Delivered-To: mailing list lisa23@example.net Received: (qmail 35755 invoked by uid 99); 10 Nov 2006 15:00:23 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Nov 2006 07:00:23 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [83.161.120.155] (HELO tobor.hpl.hp.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Nov 2006 07:00:07 -0800 Received: from localhost (localhost.localdomain [83.161.120.155]) by tobor.hpl.hp.com (Postfix) with ESMTP id 790D74C092 for <lisa23@example.net>; Fri, 10 Nov 2006 14:59:46 +0000 (GMT) X-Virus-Scanned: lisa23@example.net Received: from tobor.hpl.hp.com ([83.161.120.155]) by localhost (tobor.hpl.hp.com [83.161.120.155]) (amavisd-new, port 10024) with LMTP id jIGrFgx6oyMm for <lisa23@example.net>; Fri, 10 Nov 2006 14:59:45 +0000 (GMT) Received: from ha-node-br2.hpl.hp.com (ha-node-br2.hpl.hp.com [83.161.120.155]) by tobor.hpl.hp.com (Postfix) with ESMTP id A93324C090 for <lisa23@example.net>; Fri, 10 Nov 2006 14:59:45 +0000 (GMT) Received: from [83.161.120.155] (chamonix.hpl.hp.com [83.161.120.155]) by ha-node-br2.hpl.hp.com (8.13.4/8.13.4) with ESMTP id kAAExW5R002452 for <lisa23@example.net>; Fri, 10 Nov 2006 14:59:32 GMT Message-ID: <lisa23@example.net> Date: Fri, 10 Nov 2006 14:56:38 +0000 From: Steve Loughran <lisa23@example.net> User-Agent: Thunderbird 83.161.120.155 (X11/20061025) MIME-Version: 1.0 To: ivy-user <lisa23@example.net> Subject: local m2-style repository Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HPL-MailScanner-Information: Please contact the ISP for more information X-HPL-MailScanner: Found to be clean X-HPL-MailScanner-From: lisa23@example.net X-Virus-Checked: Checked by ClamAV on apache.org I know that my official role on the project is 'mentor' not troublemaker, but I take the view the more I break things, the better the tests people get to write. Here's my next problem: I can declare that a filesystem layout shoudl be m2 compatible: <filesystem name="team"> ivys="true" artifacts="true" m2compatible="true" > <artifact pattern="${ivy.conf.dir}/repository/${maven2.pattern.ext}"/> <ivy pattern="${ivy.conf.dir}/repository/${maven2.pattern}.xml"/> </filesystem> But it doesnt pick up, because the javax.j2ee pattern isnt being switched to javax/j2ee. [ivy:resolve] team: tried /home/slo/Projects/examples/diary/repository/javax.j2ee/j2ee/1.5/j2ee-1.5.xml [ivy:resolve] team: tried artifact [ javax.j2ee | j2ee | 1.5 ]/j2ee.jar[jar]: [ivy:resolve] /home/slo/Projects/examples/diary/repository/javax.j2ee/j2ee/1.5/j2ee-1.5.jar Is this intentional? From ivy-user-lisa23@example.net Fri Nov 10 18:34:19 2006 Return-Path: <ivy-user-lisa23@example.net> Delivered-To: lisa23@example.net Received: (qmail 76939 invoked from network); 10 Nov 2006 18:34:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 10 Nov 2006 18:34:18 -0000 Received: (qmail 53700 invoked by uid 500); 10 Nov 2006 18:34:28 -0000 Delivered-To: lisa23@example.net Received: (qmail 53680 invoked by uid 500); 10 Nov 2006 18:34:28 -0000 Mailing-List: contact lisa23@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:lisa23@example.net> List-Unsubscribe: <mailto:lisa23@example.net> List-Post: <mailto:lisa23@example.net> List-Id: <ivy-user.incubator.apache.org> Reply-To: lisa23@example.net Delivered-To: mailing list lisa23@example.net Received: (qmail 53631 invoked by uid 99); 10 Nov 2006 18:34:28 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Nov 2006 10:34:28 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lisa23@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail.gmx.net) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 10 Nov 2006 10:34:13 -0800 Received: (qmail 11741 invoked by uid 0); 10 Nov 2006 18:33:52 -0000 Received: from 83.161.120.155 by www016.gmx.net with HTTP; Fri, 10 Nov 2006 19:33:52 +0100 (CET) Content-Type: text/plain; charset="us-ascii" Date: Fri, 10 Nov 2006 19:33:51 +0100 From: "Antoine Levy-Lambert" <lisa23@example.net> In-Reply-To: <lisa23@example.net> Message-ID: <lisa23@example.net> MIME-Version: 1.0 References: <lisa23@example.net> <lisa23@example.net> <lisa23@example.net> Subject: Re: publishing war files To: lisa23@example.net X-Authenticated: #22961642 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) X-Priority: 3 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hello Steve, you just found out about the ivy task deliver. This task prepares the ivy.xml which gets published. this is a snip from a build file of mine : <mkdir dir="delivery"/> <ivy:deliver deliverpattern="delivery/ivy.xml" pubrevision="${revision}" /> <ivy:publish artifactspattern="${websphere.lib.dir}/[artifact].[ext]" srcivypattern="delivery/ivy.xml" resolver="thirdparty" pubrevision="${revision}" status="release" overwrite="true" /> so I explicitly invoke this ivy:deliver task and feed the location of the ivy file that deliver generates in the srcivypattern attribute of ivy:publish. When you do not use the srcivypattern attribute, ivy:publish delegates to ivy:deliver. The generated ivy file seems to go to the directory of the artifact that you publish. bonjour de la grande pomme, Antoine -------- Original-Nachricht -------- Datum: Fri, 10 Nov 2006 12:24:49 +0000 Von: Steve Loughran <lisa23@example.net> An: lisa23@example.net Betreff: Re: publishing war files > > No, I fixed it. I had to delete the ivy xml file created in dist/ next > to the WAR and the rebuild would recreate it...it looks like ivy doesnt > recreate this file if the source ivy.xml file has changed. From ivy-user-lisa23@example.net Sat Nov 11 10:13:49 2006 Return-Path: <ivy-user-lisa23@example.net> Delivered-To: lisa23@example.net Received: (qmail 99781 invoked from network); 11 Nov 2006 10:13:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 11 Nov 2006 10:13:49 -0000 Received: (qmail 97608 invoked by uid 500); 11 Nov 2006 10:14:00 -0000 Delivered-To: lisa23@example.net Received: (qmail 97581 invoked by uid 500); 11 Nov 2006 10:13:59 -0000 Mailing-List: contact lisa23@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:lisa23@example.net> List-Unsubscribe: <mailto:lisa23@example.net> List-Post: <mailto:lisa23@example.net> List-Id: <ivy-user.incubator.apache.org> Reply-To: lisa23@example.net Delivered-To: mailing list lisa23@example.net Received: (qmail 97572 invoked by uid 99); 11 Nov 2006 10:13:59 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Nov 2006 02:13:59 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lisa23@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO nf-out-0910.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Nov 2006 02:13:46 -0800 Received: by nf-out-0910.google.com with SMTP id p46so1456693nfa for <lisa23@example.net>; Sat, 11 Nov 2006 02:13:24 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=QTmh7MK5ePjpO/IpgVvln+Q1UcKspiuPqkVL4qAeDzATg0x9U+oRR/PBmFlDapKoSvEH0IWTUGlRYJM4YtWMnDFypFQDSvdLYkwSkci3tDOk2+Vx01lg+Zq0uZrIhTVDqJYbQwQFXsOQpMTi50+gDQq+63E4+mpqBD3pgCICv1U= Received: by 83.161.120.155 with SMTP id b9mr421671buf.1163240004037; Sat, 11 Nov 2006 02:13:24 -0800 (PST) Received: by 83.161.120.155 with HTTP; Sat, 11 Nov 2006 02:13:23 -0800 (PST) Message-ID: <lisa23@example.net> Date: Sat, 11 Nov 2006 11:13:24 +0100 From: "Xavier Hanin" <lisa23@example.net> To: lisa23@example.net Subject: Re: local m2-style repository In-Reply-To: <lisa23@example.net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_48230_17174845.1163240004006" References: <lisa23@example.net> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_48230_17174845.1163240004006 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 11/10/06, Steve Loughran <lisa23@example.net> wrote: > > > I know that my official role on the project is 'mentor' not > troublemaker, but I take the view the more I break things, the better > the tests people get to write. I agree, I like problem reports, it's the best way to improve a tool. And Ivy still need a lot of improvements :-) Here's my next problem: > > I can declare that a filesystem layout shoudl be m2 compatible: > > <filesystem name="team"> > ivys="true" artifacts="true" > m2compatible="true" > > <artifact > pattern="${ivy.conf.dir}/repository/${maven2.pattern.ext}"/> > <ivy pattern="${ivy.conf.dir}/repository/${maven2.pattern}.xml"/> > </filesystem> > > But it doesnt pick up, because the javax.j2ee pattern isnt being > switched to javax/j2ee. > > [ivy:resolve] team: tried > /home/slo/Projects/examples/diary/repository/javax.j2ee/j2ee/1.5/j2ee- > 1.5.xml > [ivy:resolve] team: tried artifact [ javax.j2ee | j2ee > | 1.5 ]/j2ee.jar[jar]: > [ivy:resolve] > /home/slo/Projects/examples/diary/repository/javax.j2ee/j2ee/1.5/j2ee- > 1.5.jar > > Is this intentional? No it isn't, I'm even surprised it doesn't work. You can open a bug in jira (still on http://jira.jayasoft.org, but will be moved to apache soon :-) ). Xavier ------=_Part_48230_17174845.1163240004006-- From ivy-user-lisa23@example.net Sat Nov 11 10:22:03 2006 Return-Path: <ivy-user-lisa23@example.net> Delivered-To: lisa23@example.net Received: (qmail 3566 invoked from network); 11 Nov 2006 10:22:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 11 Nov 2006 10:22:02 -0000 Received: (qmail 13051 invoked by uid 500); 11 Nov 2006 10:22:13 -0000 Delivered-To: lisa23@example.net Received: (qmail 13025 invoked by uid 500); 11 Nov 2006 10:22:13 -0000 Mailing-List: contact lisa23@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:lisa23@example.net> List-Unsubscribe: <mailto:lisa23@example.net> List-Post: <mailto:lisa23@example.net> List-Id: <ivy-user.incubator.apache.org> Reply-To: lisa23@example.net Delivered-To: mailing list lisa23@example.net Received: (qmail 13016 invoked by uid 99); 11 Nov 2006 10:22:13 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Nov 2006 02:22:13 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lisa23@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO nf-out-0910.google.com) (83.161.120.155)
{'source': 'Apache Software Foundation Public Mail Archives'}