jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gl...@apache.org
Subject cvs commit: jakarta-taglibs/session build.xml
Date Sat, 06 Jan 2001 19:03:07 GMT
glenn       01/01/06 11:03:07

  Modified:    session  build.xml
  Log:
  Replace deprecated ant tags
  
  Revision  Changes    Path
  1.6       +21 -30    jakarta-taglibs/session/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/session/build.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- build.xml	2000/12/08 02:50:06	1.5
  +++ build.xml	2001/01/06 19:03:07	1.6
  @@ -1,5 +1,5 @@
   <!-- ANT Build Script for the "session" Custom Tag Library -->
  -<!-- $Id: build.xml,v 1.5 2000/12/08 02:50:06 horwat Exp $ -->
  +<!-- $Id: build.xml,v 1.6 2001/01/06 19:03:07 glenn Exp $ -->
   <project name="session" default="main" basedir=".">
   
       <!-- ******************** Adjustable Properties *********************** -->
  @@ -142,38 +142,29 @@
                doctitle="Jakarta SESSION custom tag library"
                bottom="Copyright &#169; 2000 Apache Software Foundation. All Rights Reserved."
       />
  -<!--
  -    <javac srcdir="${doc.src}/src"   destdir="${build.doc}/WEB-INF/classes"
  -           classpath="${servlet.jar}" debug="on"/>
  --->
     </target>
   
     <!-- Compile the examples application -->
     <target name="examples" depends="library-dist">
  -<!--
  -    <copydir src="${lib.src}" dest="${build.examples}/WEB-INF/lib"/>
  -    <copydir src="${library.src}" dest="${build.examples}/WEB-INF/classes"/>
  --->
  -    <copydir src="${examples.src}/conf" dest="${build.examples}/WEB-INF"/>
  -    <copydir src="${examples.src}/web"  dest="${build.examples}"/>
  -    <copyfile src="${conf.src}/session.tld" dest="${dist.tld}"/>
  -    <copyfile src="${dist.tld}"
  -              dest="${build.examples}/WEB-INF/${taglib.name}.tld"/>
  -    <copyfile src="${dist.library}"
  -              dest="${build.examples}/WEB-INF/lib/${taglib.name}.jar"/>
  -    <copyfile src="${examples.src}/web/session.jsp"
  -	      dest="${build.examples}/session.txt"/>
  -<!--
  -    <javac srcdir="${examples.src}/src"
  -           destdir="${build.examples}/WEB-INF/classes"
  -           classpath="${servlet.jar}" debug="on"/>
  --->
  +    <copy todir="${build.examples}/WEB-INF">
  +      <fileset dir="${examples.src}/conf"/>
  +    </copy>
  +    <copy todir="${build.examples}">
  +      <fileset dir="${examples.src}/web"/>
  +    </copy>
  +    <copy file="${conf.src}/session.tld" tofile="${dist.tld}"/>
  +    <copy file="${dist.tld}"
  +              tofile="${build.examples}/WEB-INF/${taglib.name}.tld"/>
  +    <copy file="${dist.library}"
  +              tofile="${build.examples}/WEB-INF/lib/${taglib.name}.jar"/>
  +    <copy file="${examples.src}/web/session.jsp"
  +	      tofile="${build.examples}/session.txt"/>
     </target>
   
     <!-- Compile the tag library itself -->
     <target name="library" depends="prepare">
  -    <copyfile src="${conf.src}/session.tld"
  -              dest="${build.library}/META-INF/taglib.tld"/>
  +    <copy file="${conf.src}/session.tld"
  +              tofile="${build.library}/META-INF/taglib.tld"/>
       <javac srcdir="${library.src}" destdir="${build.library}"
              classpath="${servlet.jar}" debug="on"/>
     </target>
  @@ -197,7 +188,7 @@
     <!-- Create the library distribution files -->
     <target name="library-dist" depends="library">
       <jar jarfile="${dist.library}" basedir="${build.library}"/>
  -    <copyfile src="${conf.src}/${taglib.name}.tld" dest="${dist.tld}"/>
  +    <copy file="${conf.src}/${taglib.name}.tld" tofile="${dist.tld}"/>
     </target>
   
     <!-- Create the entire set of distribution files -->
  @@ -209,10 +200,10 @@
   
     <!-- Delete output directories and files so we can build from scratch -->
     <target name="clean">
  -    <deltree dir="${build.doc}"/>
  -    <deltree dir="${build.examples}"/>
  -    <deltree dir="${build.library}"/>
  -    <deltree dir="${dist.dir}/${taglib.name}"/>
  +    <delete dir="${build.doc}"/>
  +    <delete dir="${build.examples}"/>
  +    <delete dir="${build.library}"/>
  +    <delete dir="${dist.dir}/${taglib.name}"/>
     </target>
   
   </project>
  
  
  

Mime
View raw message