Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 66709 invoked from network); 2 May 2006 12:15:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 May 2006 12:15:39 -0000 Received: (qmail 82799 invoked by uid 500); 2 May 2006 12:15:06 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 82620 invoked by uid 500); 2 May 2006 12:15:05 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 82609 invoked by uid 99); 2 May 2006 12:15:05 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 May 2006 05:15:05 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of petelists@gmail.com designates 64.233.162.193 as permitted sender) Received: from [64.233.162.193] (HELO nz-out-0102.google.com) (64.233.162.193) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 May 2006 05:15:03 -0700 Received: by nz-out-0102.google.com with SMTP id s18so783678nze for ; Tue, 02 May 2006 05:14:43 -0700 (PDT) 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=UbK9J2PVN2bqMkTCZbd0XqsQiEwtMOnPSHoF5iEQTBwr2ijVPO0kY8r+VKcZPnJIw5nidiWt2n0MeSi1+YDqbpqy/viZzQmCK4jUgOO85vPytqnccFs9Lj46jww6Iw3boo5R4FMTOq1+j7V+6o/q3uKPOId7sNhAPxR0aWUlAZU= Received: by 10.36.12.16 with SMTP id 16mr1045514nzl; Tue, 02 May 2006 05:14:43 -0700 (PDT) Received: by 10.37.20.36 with HTTP; Tue, 2 May 2006 05:14:43 -0700 (PDT) Message-ID: Date: Tue, 2 May 2006 13:14:43 +0100 From: Pete To: "Maven Users List" Subject: Re: maven-antrun-plugin - issue In-Reply-To: <224FA3CABCDD794383847119937C94A801CF1CDE@xmb-sjc-226.amer.cisco.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_8665_22472087.1146572083333" References: <224FA3CABCDD794383847119937C94A801CF1CDE@xmb-sjc-226.amer.cisco.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_8665_22472087.1146572083333 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I am using Antrun with antcontrib if's as follows :- ..... this works fine. On 01/05/06, Jagan Padmanabha Pillai -X (jpadmana - Insight Solutions, Inc. at Cisco) wrote: > > > I did try that. Copied the ant-contrib jar to my local repository and > added the dependency. > But still didn't work :-( > Same error msg that task if cannot be found. > > Thanks > -Jagan > > -----Original Message----- > From: Daniel Kulp [mailto:dan@kulp.com] > Sent: Monday, May 01, 2006 5:37 AM > To: users@maven.apache.org > Cc: Jagan Padmanabha Pillai -X (jpadmana - Insight Solutions, Inc. at > Cisco) > Subject: Re: maven-antrun-plugin - issue > > > > You could try using the antcontrib stuff from: > http://ant-contrib.sourceforge.net/tasks/tasks/index.html > > There is an if task, etc.... I don't think it's available on ibiblio, > > so you would either need to put it in your own repository or file the > right jira issue to get it added. > > Dan > > > > On Monday 01 May 2006 06:51, Jagan Padmanabha Pillai -X (jpadmana - > Insight Solutions, Inc. at Cisco) wrote: > > I have some ant tasks which needs to be executed only if packaging is > > "ejb". > > But don't want to repeat this code in all ejb POMs. > > So thought of adding this to a parent POM, which all other modules > > (many components- ejbs, wars, jars, ears, etc) inherit. > > > > So in order to make sure that this gets executed only for ejb > > projects, I want to check, > arg1=3D"${project.packaging}" arg2=3D"pom" /> > > ant tasks details... > > > > > > > > Does this makes sense ? > > > > -Jagan > > > > > > -----Original Message----- > > From: Kenney Westerhof [mailto:kenney@apache.org] > > Sent: Monday, May 01, 2006 2:42 AM > > To: Maven Users List > > Subject: Re: maven-antrun-plugin - issue > > > > On Mon, 1 May 2006, Jagan Padmanabha Pillai -X (jpadmana - Insight > > Solutions, Inc. at Cisco) wrote: > > > > Can you give me an example of what you're doing? A POM snippet for > > example? > > > > It's true that > > > > > > does not work. It's on my todo list. > > > > -- Kenney > > > > > Hi, > > > > > > ANT condition doesn't seem to work while using > > > > maven-antrun-plugin. > > > > > I have added the ant-contrib dependency. > > > > > > Could someone please let me know what may be the issue. Please send > > > me > > > > > > a sample code if you have any. > > > > > > Thanks > > > -Jagan > > > > -- > > Kenney Westerhof > > http://www.neonics.com > > GPG public key: http://www.gods.nl/~forge/kenneyw.key > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > > For additional commands, e-mail: users-help@maven.apache.org > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > > For additional commands, e-mail: users-help@maven.apache.org > > -- > J. Daniel Kulp > dan@kulp.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > For additional commands, e-mail: users-help@maven.apache.org > > ------=_Part_8665_22472087.1146572083333--