I implemented the conditional in traditional ant fashion using targets and <condition>. Lemme know if this works.

--jason


On Aug 22, 2006, at 8:16 PM, Mark DeLaFranier wrote:

Jason,

Under Windows Ant needs:

       <exec executable="mvn.bat">

Instead of:

       <exec executable="mvn">

What I have done before is something like:

       <property name="mvn.exec" value="mvn${platform.script.ext}"/>
       <exec executable="${mvn.exec}">

Then inside:

bootstrap.bat:

set ANT_OPTS=$ANT_OPTS -Dplatform.script.ext=.bat

bootstrap:

Just don't define the platform.script.ext

Thanks
Mark

Jason Dillon wrote:
Aight, its out... give it a whirl and let me know if you run into anything.

--jason




Reply via email to