Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50013
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 8 Oct 2010 12:10:28 +0000 (12:10 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 8 Oct 2010 12:10:28 +0000 (12:10 +0000)
Correctly package classes from org.apache.tomcat.util.file and add the tomcat-util.jar to the class path for the Ant tasks. Based on a patch provided by Sylvain Laurent.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1005795 13f79535-47bb-0310-9956-ffa450edef68

bin/catalina-tasks.xml
build.xml
webapps/docs/changelog.xml

index 9f92e81..88fa0d9 100644 (file)
@@ -29,6 +29,7 @@
     <classpath>
       <fileset file="${catalina.home}/bin/tomcat-juli.jar"/>
       <fileset file="${catalina.home}/lib/tomcat-api.jar"/>
+      <fileset file="${catalina.home}/lib/tomcat-util.jar"/>
       <fileset file="${catalina.home}/lib/jasper.jar"/>
       <fileset file="${catalina.home}/lib/jasper-el.jar"/>
       <fileset file="${catalina.home}/lib/el-api.jar"/>
index 78beca4..c7c9891 100644 (file)
--- a/build.xml
+++ b/build.xml
   </patternset>
 
   <patternset id="files.tomcat-util">
+    <include name="org/apache/tomcat/util/file/**" />
     <include name="org/apache/tomcat/util/res/**" />
     <include name="org/apache/tomcat/util/scan/**" />
   </patternset>
     <include name="org/apache/jk/**" />
     <include name="org/apache/tomcat/util/**" />
     <!-- Exclude the files shared between Catalina & Jasper -->
+    <exclude name="org/apache/tomcat/util/file/**" />
     <exclude name="org/apache/tomcat/util/res/**" />
     <exclude name="org/apache/tomcat/util/scan/**" />
   </patternset>
index 59a8fc3..4292836 100644 (file)
       </fix>
     </changelog>
   </subsection>
+  <subsection name="Other">
+    <changelog>
+      <fix>
+        <bug>50013</bug>: Correctly package classes from
+        <code>org.apache.tomcat.util.file</code> and add the tomcat-util.jar to
+        the class path for the Ant tasks. Based on a patch provided by
+        Sylvain Laurent. (markt)
+      </fix>
+    </changelog>
+  </subsection>
 </section>
 <section name="Tomcat 7.0.3 (markt)" rtext="not released">
   <subsection name="Catalina">