donaldp     01/03/30 00:54:14

  Modified:    .        build.xml
  Log:
  Made it possible to reference a global directory ${cjan.lib} that contains 
implementations of all dependent jars.
  
  Also made it possible to install into a global ${phoenix.home}
  
  If a user wants to take advantage of this they should ideally set them in a 
.ant.properties in their home directory. They then run build.[sh|bat] install rather 
than standard command.
  
  Revision  Changes    Path
  1.6       +12 -1     jakarta-avalon-testlet/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-testlet/build.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- build.xml 2001/03/02 05:36:08     1.5
  +++ build.xml 2001/03/30 08:54:13     1.6
  @@ -170,11 +170,22 @@
   
       <mkdir dir="${build.lib}"/>
   
  -    <jar jarfile="${build.lib}/testlet.jar" basedir="${build.classes}">
  +    <jar jarfile="${build.lib}/${name}.jar" basedir="${build.classes}">
         <include name="org/apache/testlet/**" />
         <zipfileset src="${lib.dir}/clutil.jar" includes="**/*.class"/>
       </jar>
   
  +  </target>
  +
  +  <target name="install" depends="jar,install-check-cjan">
  +
  +    <mkdir dir="${cjan.lib}" />
  +    <copy file="${build.lib}/${name}.jar" todir="${cjan.lib}"/>
  +
  +  </target>
  +
  +  <target name="install-check-cjan" unless="cjan.lib">
  +    <fail message="cjan.lib not specified." />
     </target>
   
     <!--
  
  
  

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

Reply via email to