From ivy-user-return-6285-apmail-ant-ivy-user-archive=ant.apache.org@ant.apache.org Fri Jan 08 17:10:54 2010 Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 25186 invoked from network); 8 Jan 2010 17:10:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Jan 2010 17:10:54 -0000 Received: (qmail 94226 invoked by uid 500); 8 Jan 2010 17:10:54 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 94149 invoked by uid 500); 8 Jan 2010 17:10:53 -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 94139 invoked by uid 99); 8 Jan 2010 17:10:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jan 2010 17:10:53 +0000 X-ASF-Spam-Status: No, hits=-8.0 required=10.0 tests=RCVD_IN_DNSWL_HI,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [196.3.51.114] (HELO mailgate6.roche.com) (196.3.51.114) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jan 2010 17:10:42 +0000 Received: from rkamsemcn1.emea.roche.com ([151.120.58.100]) by mailgate6.roche.com (MOS 3.8.3-GA) with ESMTP id LRV32965; Fri, 8 Jan 2010 12:10:21 -0500 (EST) Received: from rbamsemhc01.emea.roche.com ([145.245.4.174]) by rkamsemcn1.emea.roche.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 8 Jan 2010 18:09:51 +0100 Received: from rkamsemhc03.emea.roche.com (145.245.221.140) by rbamsemhc01.emea.roche.com (145.245.4.174) with Microsoft SMTP Server (TLS) id 8.1.340.0; Fri, 8 Jan 2010 18:09:50 +0100 Received: from RBAMSEM705.emea.roche.com ([145.245.4.215]) by rkamsemhc03.emea.roche.com ([145.245.221.140]) with mapi; Fri, 8 Jan 2010 18:09:50 +0100 From: "Baron, Randy" To: "'ivy-user@ant.apache.org'" Date: Fri, 8 Jan 2010 18:09:50 +0100 Subject: RE: ivy extra attributes not available in build.xml? Thread-Topic: ivy extra attributes not available in build.xml? Thread-Index: AcqP8LWWwNAU/3N/TO6zDI8Q1ZxJVgAWozoQ Message-ID: <680114B0CDAE534EAF29464499ADAAAF073AD051@RBAMSEM705.emea.roche.com> References: <680114B0CDAE534EAF29464499ADAAAF073AD045@RBAMSEM705.emea.roche.com> <168756.26577.qm@web30801.mail.mud.yahoo.com> In-Reply-To: <168756.26577.qm@web30801.mail.mud.yahoo.com> Accept-Language: en-US Content-Language: en-US acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 08 Jan 2010 17:09:51.0146 (UTC) FILETIME=[63B6E0A0:01CA9085] X-Virus-Checked: Checked by ClamAV on apache.org hi, ah-ha...no, and when I add I do indeed get a value for my ${iv= y.extra.submodule} property. Thanks. I still can't use [submodule] in the = publish pattern though: =20 ...although I guess I can use the property as above instead. So it kind of works now but although it publishes my app jar and a resour= ce jar (the jars from my build), with the right names, they are in fact bot= h the same jar file. I guess it's something with the (confusing) way patte= rns work for publishing. regards, Randy -----Original Message----- From: Maarten Coene [mailto:maarten_coene@yahoo.com]=20 Sent: Friday, January 08, 2010 12:18 AM To: ivy-user@ant.apache.org Subject: Re: ivy extra attributes not available in build.xml? Are you sure you call the ivy:info task? I don't see this in your build.xml snippet. Maarten ----- Original Message ---- From: "Baron, Randy" To: "ivy-user@ant.apache.org" Sent: Thu, January 7, 2010 3:15:04 PM Subject: ivy extra attributes not available in build.xml? hi, I've been trying to use ivy "extra attributes" but am not entirely succes= sful. When I try the publish ant task and use my extra attribute in the ar= tifact pattern the attribute doesn't seem to be defined. Some relevant snippets: ivy.xml ...etc. build.xml: ... ivy-init.xml: compil= e test and publish this project in the local ivy repository"> When I run "ant publish" it prints: [echo] extra attribute 'submodule': ${ivy.extra.submodule} so, the = apparently variable is undefined, and then puts an ivy file in "dist" but w= ith the (bad) name "${ivy.extra.submodule}-1.0.9.xml" I have tried many other things--using [submodule] or [e:submodule] in the p= attern, adding xmlns:e to the build, etc.--but nothing worked so far. Anyone know what might be going wrong? regards, Randy =20