geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Dillon <ja...@planet57.com>
Subject Re: bootstrap.bat for windows users
Date Wed, 23 Aug 2006 03:51:50 GMT
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
>>
>
>


Mime
View raw message