commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: jakarta-commons/jelly maven.xml
Date Tue, 17 Aug 2004 15:23:26 GMT
dion        2004/08/17 08:23:26

  Modified:    jelly    maven.xml
  Log:
  Guess mavenCmd based on OS
  
  Revision  Changes    Path
  1.79      +8 -2      jakarta-commons/jelly/maven.xml
  
  Index: maven.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/maven.xml,v
  retrieving revision 1.78
  retrieving revision 1.79
  diff -u -r1.78 -r1.79
  --- maven.xml	17 Aug 2004 15:05:19 -0000	1.78
  +++ maven.xml	17 Aug 2004 15:23:25 -0000	1.79
  @@ -232,7 +232,14 @@
         </fileset>
       </fileScanner>
               
  -    <property name="mavenCmd" value="maven"/>
  +    <j:choose>
  +      <j:when test="${systemScope['os.name'].startsWith('Windows')}">
  +        <j:set var="mavenCmd" value="${maven.home}/bin/maven.bat"/>
  +      </j:when>
  +      <j:otherwise>
  +        <j:set var="mavenCmd" value="${maven.home}/bin/maven"/>
  +      </j:otherwise>
  +    </j:choose>
           
       <j:forEach items="${taglibProjects.iterator()}" var="taglib">
         <j:set var="tlName" value="${taglib.parentFile.name}" />
  @@ -254,7 +261,6 @@
             </filterchain>
           </copy>
   
  -        <echo>If you are on windows, please use -DmavenCmd=maven.bat</echo>
     
           <exec executable="${mavenCmd}" failonerror="true" dir="${dir}">
             <arg value="jellydoc"/>
             <arg value="site"/>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message