nicolaken    2002/09/03 15:20:41

  Modified:    .        build.xml
  Log:
  http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12264
  
  [PATCH] fix for build.xml target webapp-local
  
  [EMAIL PROTECTED] (Marcus Crafter)
  
  Revision  Changes    Path
  1.261     +5 -5      xml-cocoon2/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/build.xml,v
  retrieving revision 1.260
  retrieving revision 1.261
  diff -u -r1.260 -r1.261
  --- build.xml 28 Aug 2002 17:47:15 -0000      1.260
  +++ build.xml 3 Sep 2002 22:20:40 -0000       1.261
  @@ -974,7 +974,7 @@
     <!-- =================================================================== -->
     <!-- Creates the jar file                                                -->
     <!-- =================================================================== -->
  -  <target name="all" depends="package" description="Default target (calls the 
'package' target)"/>
  +  <target name="all" depends="compile" description="Default target (calls the 
'package' target)"/>
   
     <target name="package" depends="compile-core" description="Generates the jar 
packages">
       <jar jarfile="${build.dir}/${name}.jar" manifest="${build.src}/Manifest.mf">
  @@ -1281,15 +1281,15 @@
           <exclude name="servlet*.jar"/>
         </fileset>
       </copy>
  -  </target>
  -
  -  <target name="prepare-webapp-libs" depends="package, copy-webapp-libs" 
if="include.webapp.libs">
  -    <copy file="${build.dir}/${name}.jar" 
tofile="${build.war}/WEB-INF/lib/${name}-${version}.jar"/>
       <copy todir="${build.war}/WEB-INF/lib">
         <fileset dir="${build.dir}">
           <include name="**/*-block.jar"/>
         </fileset>
       </copy>    
  +  </target>
  +
  +  <target name="prepare-webapp-libs" depends="package, copy-webapp-libs" 
if="include.webapp.libs">
  +    <copy file="${build.dir}/${name}.jar" 
tofile="${build.war}/WEB-INF/lib/${name}-${version}.jar"/>
     </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