You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by cr...@locus.apache.org on 2000/08/31 00:41:47 UTC

cvs commit: jakarta-struts build.xml

craigmcc    00/08/30 15:41:46

  Modified:    .        build.xml
  Log:
  Include all TLDs (not just "struts.tld"), including the generated ones.
  
  Revision  Changes    Path
  1.13      +10 -7     jakarta-struts/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/build.xml,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- build.xml	2000/08/30 02:28:34	1.12
  +++ build.xml	2000/08/30 22:41:45	1.13
  @@ -70,11 +70,12 @@
               debug="true" optimize="false" deprecation="false"/>
   -->
   
  -    <!-- Copy Struts JAR file and TLD to the documentation app -->
  +    <!-- Copy Struts JAR file and TLDs to the documentation app -->
       <copyfile src="${dist.home}/lib/${app.name}.jar"
                dest="${build.home}/documentation/WEB-INF/lib/${app.name}.jar"/>
  -    <copyfile src="${dist.home}/lib/${app.name}.tld"
  -             dest="${build.home}/documentation/WEB-INF/${app.name}.tld"/>
  +    <copydir  src="${dist.home}/lib"
  +             dest="${build.home}/documentation/WEB-INF"
  +         includes="*.tld"/>
   
       <!-- Copy static documentation content -->
       <copyfile src="TODO" dest="${build.home}/documentation/todo.txt"/>
  @@ -101,8 +102,9 @@
       <copydir  src="web/example" dest="${build.home}/example"/>
       <copyfile src="${dist.home}/lib/${app.name}.jar"
                dest="${build.home}/example/WEB-INF/lib/${app.name}.jar"/>
  -    <copyfile src="${dist.home}/lib/${app.name}.tld"
  -             dest="${build.home}/example/WEB-INF/${app.name}.tld"/>
  +    <copydir  src="${dist.home}/lib"
  +             dest="${build.home}/example/WEB-INF"
  +         includes="*.tld"/>
     </target>
   
     <!-- BUILD:  Create Javadoc documentation -->
  @@ -122,8 +124,9 @@
   
     <!-- DIST:  Construct library distributables -->
     <target name="dist.library" depends="prepare.dist,compile.library">
  -    <copyfile src="${build.home}/library/${app.name}.tld"
  -             dest="${dist.home}/lib/${app.name}.tld"/>
  +    <copydir  src="${build.home}/library"
  +             dest="${dist.home}/lib"
  +         includes="*.tld"/>
       <jar  jarfile="${dist.home}/lib/${app.name}.jar"
             basedir="${build.home}/library/classes" includes="**"/>
     </target>