cziegeler    01/09/21 02:08:13

  Modified:    .        Tag: cocoon_20_branch build.xml
  Log:
  Fixed binary dist: javac.jar is not distributed
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.8.2.38  +6 -2      xml-cocoon2/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/build.xml,v
  retrieving revision 1.8.2.37
  retrieving revision 1.8.2.38
  diff -u -r1.8.2.37 -r1.8.2.38
  --- build.xml 2001/09/19 14:06:14     1.8.2.37
  +++ build.xml 2001/09/21 09:08:13     1.8.2.38
  @@ -622,7 +622,7 @@
     </target>
   
     <!-- =================================================================== -->
  -  <!-- Copies the tools.jar to jaavc.jar in web-inf/lib                    -->
  +  <!-- Copies the tools.jar to javac.jar in web-inf/lib                    -->
     <!-- =================================================================== -->
     <target name="prepare-tools-lib" depends="package" if="tools.jar.present">
       <!-- NOTE: java.home is normally set by the JVM to the /jre directory -->
  @@ -888,8 +888,12 @@
       </copy>
       
       <copy todir="${dist.dir}/webapp">
  -      <fileset dir="${build.war}"/>
  +      <fileset dir="${build.war}">
  +        <!-- Do not copy the tools.jar (which is renamed to javac.jar) -->
  +        <exclude name="**/javac.jar"/>
  +      </fileset>
       </copy>
  +
       <!-- Fix for web.xml, cocoon.xconf and sitemap.xmap -->
       <copy file="${webapp.dir}/cocoon.xconf" 
tofile="${dist.dir}/webapp/cocoon.xconf" filtering="off" overwrite="yes"/>
       <copy file="${webapp.dir}/sitemap.xmap" 
tofile="${dist.dir}/webapp/sitemap.xmap" filtering="off" overwrite="yes"/>
  
  
  

----------------------------------------------------------------------
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