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:
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:
>
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
--
> >
> > It puts the "antCall" code from maven.xml into the output,
> showing the
> > substitution in the "value" attribute, but when it executes
> the "ech
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
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
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
-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
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
>
>
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
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
11 matches
Mail list logo