plynch      2002/06/29 14:54:13

  Modified:    .        build-bootstrap.xml
  Log:
  -now fires the correct maven executable depending on the os.
  
  Revision  Changes    Path
  1.110     +11 -1     jakarta-turbine-maven/build-bootstrap.xml
  
  Index: build-bootstrap.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-maven/build-bootstrap.xml,v
  retrieving revision 1.109
  retrieving revision 1.110
  diff -u -r1.109 -r1.110
  --- build-bootstrap.xml       28 Jun 2002 05:33:13 -0000      1.109
  +++ build-bootstrap.xml       29 Jun 2002 21:54:13 -0000      1.110
  @@ -127,7 +127,17 @@
   
       <copy todir="${maven.home}/lib" file="${lib.repo}/maven.jar"/>
   
  -    <exec executable="${maven.home}/bin/maven"
  +    <!-- make sure we run the correct maven script per os -->
  +    <condition property="maven.script" value="maven.bat">
  +      <and>
  +        <os family="windows" />
  +        <equals arg1="${maven.script}" arg2="$${maven.script}" />
  +      </and>
  +    </condition>
  +    <condition property="maven.script" value="maven">
  +      <equals arg1="${maven.script}" arg2="$${maven.script}" />
  +    </condition>
  +    <exec executable="${maven.home}/bin/${maven.script}"
             failonerror="true">
         <arg line="clean"/>
         <arg line="jar"/>
  
  
  

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

Reply via email to