by mistake, I attempted a build with jdk1.5 And then it would no longer compile. Removing the build directory from each of the sub-directories wasn't enough. I also had to remove manually: rm /usr/share/java/servlet-api-2.4/lib/servlet-api.jar and rm /usr/share/java/jsp-api-2.0/lib/jsp-api.jar
It works for me, numerous times, using the existing clean target.
Yoav, you may be right the build.xml you check out of CVS (http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-5/build.xml?rev=1.222&view=markup) does have a target "clean". If you download the latest sources from the zip as per the above URL, there is no target "clean" in jakarta-tomcat-5.5.7-src/build.xml this is the build file that starts with <project name="Tomcat 5.0 Netbuild" default="build" basedir="."> ... P.S.: agreed also the following lines of the build.xml appear to be outdated <property name="year" value="2003" /> <property name="version" value="5.0" />
Netbuild file date and version updated, top-level clean target added. Please test when 5.5.9 comes out in a few days.