Hi,

Well, found out it works when I use the "attainGoal" command. Not sure
why, but it works.

/ J


On Thu, 2004-02-12 at 12:55, Jo�l Wijngaarde [Us Media] wrote:
> Hi, 
> 
> how can you set a variable using the maven.xml file which normally is
> set using the -D attribute at runtime.
> 
> I want to create a custom target "myproject:webapp" which calls:
> 
>       maven -Dgoal=webapp multiproject:goal
> 
> I currently do:
> 
> <goal name="myproject:deploy" description="Build the projects webapps">
>     <j:set var"goal value="war:webapp" />
>     <maven:maven descriptor="${basedir}/project.xml" 
>       goals="multiproject:goal" />
> </goal>
> 
> Bud this does not seem to wrok. Any ideas?
> 
> Regards,
> 
> Joel
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
-- 
Us Media
Stadhouderskade 115
1073 AX Amsterdam

t: +31 20 428 6868
f: +31 20 470 6905
w: http://www.usmedia.nl


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to