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

2007-11-05 Thread Lukas Theussl
: Re: Maven1: How to use ant-contrib foreach in a maven.xml goal attainGoal is an empty tag: attainGoal name=${goal} / use j:set before that. -Lukas Karr, David wrote: I tried doing something like this: j:forEach items=${springContexts.iterator()} var=springContext echo

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

2007-11-04 Thread Karr, David
the substitution in the 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: How to use ant

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

2007-11-04 Thread Lukas Theussl
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: How to use ant-contrib foreach in a maven.xml goal You can use jelly's forEach tag [1

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

2007-11-04 Thread Karr, David
To: Maven Users List Subject: Re: Maven1: How to use ant-contrib foreach in a maven.xml goal You can use jelly's forEach tag [1], eg here is a snippet used in the m1 xdoc plugin: fileScanner var=xmlFiles fileset dir=${maven.docs.src} patternset

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

2007-11-04 Thread Lukas Theussl
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: How to use ant-contrib foreach

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

2007-11-04 Thread Karr, David
- 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 works with maven anyway, as maven has goals

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

2007-11-04 Thread Karr, David
To: Maven Users List Subject: Re: Maven1: How to use ant-contrib foreach in a maven.xml goal You can use jelly's forEach tag [1], eg here is a snippet used in the m1 xdoc plugin: fileScanner var=xmlFiles fileset dir=${maven.docs.src} patternset

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

2007-11-04 Thread Lukas Theussl
] 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 transform your targets into goals

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

2007-11-04 Thread Karr, David
PM To: Maven Users List Subject: Re: Maven1: How to use ant-contrib foreach in a maven.xml goal attainGoal is an empty tag: attainGoal name=${goal} / use j:set before that. -Lukas Karr, David wrote: I tried doing something like this: j:forEach items

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: fileScanner var=xmlFiles fileset dir=${maven.docs.src} patternset include name=**/*.xml/ exclude name=**/${maven.xdoc.navigation.file} / /patternset

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, when