Bug 50013 - missing classes when running catalina ant tasks
Summary: missing classes when running catalina ant tasks
Alias: None
Product: Tomcat 7
Classification: Unclassified
Component: Jasper (show other bugs)
Version: trunk
Hardware: PC All
: P2 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
Depends on:
Reported: 2010-09-27 13:15 UTC by Sylvain Laurent
Modified: 2010-10-08 08:11 UTC (History)
0 users

proposed patch (956 bytes, patch)
2010-09-27 13:17 UTC, Sylvain Laurent
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sylvain Laurent 2010-09-27 13:15:09 UTC
With trunk after 7.0.2 :

- tomcat-util.jar is missing in /bin/catalina-tasks.xml
- even after adding this, I still have a NoClassDefFoundError for org.apache.tomcat.util.file.Matcher . Apparently this is a new class in a new package and the build script does not put it in any jar built.
Comment 1 Sylvain Laurent 2010-09-27 13:17:40 UTC
Created attachment 26086 [details]
proposed patch

Proposed patch, I added org/apache/tomcat/util/file/** in tomcat-util.jar to fix the error
Comment 2 Mark Thomas 2010-10-08 08:11:11 UTC
Thanks. Fixed in trunk and will be included in 7.0.4 onwards. I tweaked the suggested patch slightly to move the o.a.t.u.file.* classes to the tomcat-util.jar rather than duplicate them.