Bug 33325 - add target "clean" to top-level build.xml
Summary: add target "clean" to top-level build.xml
Alias: None
Product: Tomcat 5
Classification: Unclassified
Component: Unknown (show other bugs)
Version: 5.5.7
Hardware: PC Windows XP
: P2 enhancement (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL: http://mirror.switch.ch/mirror/apache...
Depends on:
Reported: 2005-02-01 09:26 UTC by Ralf Hauser
Modified: 2005-03-24 19:17 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Hauser 2005-02-01 09:26:25 UTC
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
  rm /usr/share/java/jsp-api-2.0/lib/jsp-api.jar
Comment 1 Yoav Shapira 2005-02-01 21:31:13 UTC
It works for me, numerous times, using the existing clean target.
Comment 2 Ralf Hauser 2005-02-01 22:22:49 UTC
Yoav, you may be right the build.xml you check out of CVS
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" />
Comment 3 Yoav Shapira 2005-03-25 04:17:36 UTC
Netbuild file date and version updated, top-level clean target added.  Please
test when 5.5.9 comes out in a few days.