Re: Maven1: How to use ant-contrib "foreach" in a maven.xml goal

2007-11-05 Thread Lukas Theussl
Maven Users List Subject: Re: Maven1: How to use ant-contrib "foreach" in a maven.xml goal attainGoal is an empty tag: use j:set before that. -Lukas Karr, David wrote: I tried doing something like this:

RE: Maven1: How to use ant-contrib "foreach" in a maven.xml goal

2007-11-04 Thread Karr, David
November 04, 2007 1:03 PM > To: Maven Users List > Subject: Re: Maven1: How to use ant-contrib "foreach" in a > maven.xml goal > > attainGoal is an empty tag: > > > > use j:set before that. > > -Lukas > > > Karr, David wrote: >

Re: Maven1: How to use ant-contrib "foreach" in a maven.xml goal

2007-11-04 Thread Lukas Theussl
ECTED] Sent: Sunday, November 04, 2007 12:03 PM To: Maven Users List Subject: Re: Maven1: How to use ant-contrib "foreach" in a maven.xml goal It's antcall, not antCall. However, I don't think this works with maven anyway, as maven has goals, not targets. You should transfor

RE: Maven1: How to use ant-contrib "foreach" in a maven.xml goal

2007-11-04 Thread Karr, David
-- > > > > It puts the "antCall" code from maven.xml into the output, > showing the > > substitution in the "value" attribute, but when it executes > the "ech

RE: Maven1: How to use ant-contrib "foreach" in a maven.xml goal

2007-11-04 Thread Karr, David
age- > From: Lukas Theussl [mailto:[EMAIL PROTECTED] > Sent: Sunday, November 04, 2007 12:03 PM > To: Maven Users List > Subject: Re: Maven1: How to use ant-contrib "foreach" in a > maven.xml goal > > It's antcall, not antCall. However, I don't think this wo

Re: Maven1: How to use ant-contrib "foreach" in a maven.xml goal

2007-11-04 Thread Lukas Theussl
e "value" attribute, but when it executes the "echo" in the target, it prints blank for the parameter value. -Original Message----- From: Lukas Theussl [mailto:[EMAIL PROTECTED] Sent: Saturday, November 03, 2007 11:31 PM To: Maven Users List Subject: Re: Maven1: Ho

RE: Maven1: How to use ant-contrib "foreach" in a maven.xml goal

2007-11-04 Thread Karr, David
t; > > It puts the "antCall" code from maven.xml into the output, > showing the > > substitution in the "value" attribute, but when it executes > the "echo" > > in the target, it prin

Re: Maven1: How to use ant-contrib "foreach" in a maven.xml goal

2007-11-04 Thread Lukas Theussl
-Original Message- From: Lukas Theussl [mailto:[EMAIL PROTECTED] Sent: Saturday, November 03, 2007 11:31 PM To: Maven Users List Subject: Re: Maven1: How to use ant-contrib "foreach" in a maven.xml goal

RE: Maven1: How to use ant-contrib "foreach" in a maven.xml goal

2007-11-04 Thread Karr, David
eter value. > -Original Message- > From: Lukas Theussl [mailto:[EMAIL PROTECTED] > Sent: Saturday, November 03, 2007 11:31 PM > To: Maven Users List > Subject: Re: Maven1: How to use ant-contrib "foreach" in a > maven.xml goal > >

Re: Maven1: How to use ant-contrib "foreach" in a maven.xml goal

2007-11-03 Thread Lukas Theussl
You can use jelly's forEach tag [1], eg here is a snippet used in the m1 xdoc plugin: ... HTH, -Lukas [1] http://commons.apache.org/jelly/tags.html Karr, David wrote: I have a set of targe

Maven1: How to use ant-contrib "foreach" in a maven.xml goal

2007-11-02 Thread Karr, David
I have a set of targets in an Ant script that I'm trying to integrate into a goal in subproject maven.xml. One of the steps is to iterate over a list of files found in a directory, using the Ant-contrib "foreach" tag. This works fine in the Ant script, but when I do this in my maven.xml file, whe