Eugene,

You could put the <j:set> tag outside the goal:

  <j:set var="myName" value="someValue"/>
  <j:include file="${myName}/maven.xml"/>

Or you could invoke Maven like this:

  maven -DmyName=someValue

  Jeff

On Wed, 18 Aug 2004, at 13:00:47 [GMT +0400] Eugene Kirin wrote:

> Hello!

> I'm wonder can I include maven.xml with some goals into another maven.xml 
> dynamiclly? I mean the next:

> <project>       

>     <goal name="set:name">
>         <j:set var="myName" value="someValue"/>
>     </goal>

>     <j:include file="${myName}/maven.xml"/>

> </project>

> I know the "include" tag always executes first than the "set:name" goal. Does exist 
> any way to set the "myName" var first and than include maven.xml?


> Sincerely, Eugene Kirin
> East View Information Services - Moscow
> Research and Development Department

> URL: http://www.eastview.com

-- 
mailto:[EMAIL PROTECTED]



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

Reply via email to