ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject cvs commit: ant/proposal/sandbox/antlib build.xml
Date Mon, 28 Apr 2003 21:44:34 GMT
antoine     2003/04/28 14:44:34

  Modified:    proposal/sandbox/antlib build.xml
  Log:
  added a basic install-lite target
  
  Revision  Changes    Path
  1.6       +7 -0      ant/proposal/sandbox/antlib/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/ant/proposal/sandbox/antlib/build.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- build.xml	21 Apr 2003 20:03:53 -0000	1.5
  +++ build.xml	28 Apr 2003 21:44:34 -0000	1.6
  @@ -11,6 +11,7 @@
     <property name="debug" value="true" />
     <property name="deprecation" value="false" />
     <property name="optimize" value="true" />
  +  <property environment="env"/>
   
   
     <target name='init'>
  @@ -94,5 +95,11 @@
   
     <target name='cleanall' depends='clean'>
       <delete dir='${dist}' />
  +  </target>
  +  <target name="install-lite" if="env.ANT_HOME" description="primitive installation
system" >
  +     <delete file="${env.ANT_HOME}/lib/optional.jar" quiet="true"/>
  +     <mkdir dir="${env.ANT_HOME}/autolib"/>
  +     <copy file="dist/autolib/optional.jar" todir="${env.ANT_HOME}/autolib"/>
  +     <copy file="dist/lib/ant.jar" todir="${env.ANT_HOME}/lib" overwrite="true"/>
     </target>
   </project>
  
  
  

Mime
View raw message