sidler      2002/06/23 03:53:27

  Modified:    .        build.xml
               struts/examples/struts/WEB-INF/build-lib README.txt
               view/examples/simple build.xml
  Added:       struts/examples/struts/WEB-INF/lib README.txt
               view/examples/simple/WEB-INF/lib README.txt
  Log:
  Fixed build process such that it works also if the project is checked out
  with the prune option.
  
  Revision  Changes    Path
  1.8       +0 -9      jakarta-velocity-tools/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-velocity-tools/build.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- build.xml 23 Jun 2002 09:45:16 -0000      1.7
  +++ build.xml 23 Jun 2002 10:53:27 -0000      1.8
  @@ -45,15 +45,6 @@
       <fileset dir="${project.repository}">
         <include name="**/*.jar"/>
       </fileset>
  -    <fileset dir="${basedir}/view/lib">
  -      <include name="**/*.jar"/>
  -    </fileset>
  -    <fileset dir="${basedir}/struts/lib">
  -      <include name="**/*.jar"/>
  -    </fileset>
  -    <fileset dir="${basedir}/tools/lib">
  -      <include name="**/*.jar"/>
  -    </fileset>
     </path>
   
   <!-- ========== Executable Targets ======================================== -->
  
  
  
  1.3       +4 -1      
jakarta-velocity-tools/struts/examples/struts/WEB-INF/build-lib/README.txt
  
  Index: README.txt
  ===================================================================
  RCS file: 
/home/cvs/jakarta-velocity-tools/struts/examples/struts/WEB-INF/build-lib/README.txt,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- README.txt        23 Jun 2002 09:45:16 -0000      1.2
  +++ README.txt        23 Jun 2002 10:53:27 -0000      1.3
  @@ -2,4 +2,7 @@
   ===========
   
   Libraries in this directory are used only for the 
  -build process but not to run the application.
  \ No newline at end of file
  +build process but not to run the application.
  +
  +Library files will be copies here during the build process
  +to avoid having many copies of the same library checked in.
  \ No newline at end of file
  
  
  
  1.1                  
jakarta-velocity-tools/struts/examples/struts/WEB-INF/lib/README.txt
  
  Index: README.txt
  ===================================================================
  R E A D M E
  ===========
  
  Library files will be copies here during the build process
  to avoid having many copies of the same library checked in.
  
  
  1.6       +10 -4     jakarta-velocity-tools/view/examples/simple/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-velocity-tools/view/examples/simple/build.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- build.xml 23 Jun 2002 09:45:16 -0000      1.5
  +++ build.xml 23 Jun 2002 10:53:27 -0000      1.6
  @@ -31,6 +31,14 @@
   
   
     <!-- ================================================================== -->
  +  <!-- P R E P A R E                                                      -->
  +  <!-- ================================================================== -->
  +  <target name="prepare" depends="init">
  +    <mkdir dir="${basedir}/WEB-INF/classes"/>
  +  </target>
  +
  +
  +  <!-- ================================================================== -->
     <!-- A L L                                                              -->
     <!-- ================================================================== -->
     <target name="all" depends="war"
  @@ -40,7 +48,7 @@
     <!-- ================================================================== -->
     <!-- C O M P I L E                                                              
-->
     <!-- ================================================================== -->
  -  <target name="compile" depends="init">
  +  <target name="compile" depends="prepare">
       <!-- Compile the java code from ${SRC} into ${CLASSES} -->
       <javac srcdir="${SRC}"
              includes="*/**"
  @@ -85,9 +93,7 @@
     <!-- ================================================================== -->
     <target name="clean">
       <!-- remove old class files -->
  -    <delete>
  -      <fileset dir="${CLASSES}" includes="**/*.class"/>
  -    </delete>
  +    <delete dir="${CLASSES}"/>
   
       <!-- remove *.bak backups -->
       <delete>
  
  
  
  1.1                  
jakarta-velocity-tools/view/examples/simple/WEB-INF/lib/README.txt
  
  Index: README.txt
  ===================================================================
  R E A D M E
  ===========
  
  Library files will be copies here during the build process
  to avoid having many copies of the same library checked in.
  
  

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

Reply via email to