cziegeler    02/01/31 06:16:03

  Modified:    .        build.bat build.sh build.xml
  Log:
  Classpath for anttasks is set inside build.xml. Now you can use (hopefully) any 
installed ant without using our build scripts. This was suggested by Berin
  
  Revision  Changes    Path
  1.16      +1 -2      xml-cocoon2/build.bat
  
  Index: build.bat
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/build.bat,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- build.bat 25 Jan 2002 20:58:20 -0000      1.15
  +++ build.bat 31 Jan 2002 14:16:03 -0000      1.16
  @@ -2,14 +2,13 @@
   rem ----------------------------------------------------------------------------
   rem build.bat - Win32 Build Script for Apache Cocoon
   rem
  -rem $Id: build.bat,v 1.15 2002/01/25 20:58:20 vgritsenko Exp $
  +rem $Id: build.bat,v 1.16 2002/01/31 14:16:03 cziegeler Exp $
   rem ----------------------------------------------------------------------------
   
   rem ----- Copy Xalan and Xerces for the build system    ------------------------
   copy lib\core\xerces*.jar tools\lib
   copy lib\core\xalan*.jar tools\lib
   copy lib\core\xml-api*.jar tools\lib
  -copy lib\optional\jtidy*.jar tools\lib
   
   rem ----- Verify and Set Required Environment Variables ------------------------
   
  
  
  
  1.15      +0 -1      xml-cocoon2/build.sh
  
  Index: build.sh
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/build.sh,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- build.sh  30 Jan 2002 11:17:46 -0000      1.14
  +++ build.sh  31 Jan 2002 14:16:03 -0000      1.15
  @@ -7,7 +7,6 @@
   cp ./lib/core/xalan*.jar ./tools/lib
   cp ./lib/core/xerces*.jar ./tools/lib
   cp ./lib/core/xml-api*.jar ./tools/lib
  -cp ./lib/optional/jtidy*.jar ./tools/lib
   
   chmod u+x ./tools/bin/antRun
   chmod u+x ./tools/bin/ant
  
  
  
  1.156     +15 -1     xml-cocoon2/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/build.xml,v
  retrieving revision 1.155
  retrieving revision 1.156
  diff -u -r1.155 -r1.156
  --- build.xml 31 Jan 2002 13:46:00 -0000      1.155
  +++ build.xml 31 Jan 2002 14:16:03 -0000      1.156
  @@ -131,6 +131,18 @@
       </fileset>
     </path>
   
  +  <path id="anttasks.classpath">
  +    <fileset dir="./lib/core">
  +      <include name="*.jar"/>
  +    </fileset>
  +    <fileset dir="./lib/optional">
  +      <include name="*.jar"/>
  +    </fileset>
  +    <fileset dir="./tools/lib">
  +      <include name="*.jar"/>
  +    </fileset>
  +  </path>
  +
     <path id="scratchpad.classpath">
       <fileset dir="./lib/core">
         <include name="*.jar"/>
  @@ -237,7 +249,9 @@
   
       <!-- compile the ant tasks -->
       <mkdir dir="${tools.dir}/anttasks"/>
  -    <javac srcdir="${tools.dir}/src" destdir="${tools.dir}/anttasks"/>
  +    <javac srcdir="${tools.dir}/src" 
  +           destdir="${tools.dir}/anttasks"
  +           classpathref="anttasks.classpath"/>
   
     </target>
   
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to