DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22097>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22097 build.xml dependency problem Summary: build.xml dependency problem Product: Tomcat 5 Version: Nightly Build Platform: All OS/Version: All Status: NEW Severity: Blocker Priority: Other Component: Catalina AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Catalina build.xml dependency problem The Ant build script of Catalina (Jakarta-tomcat-catalina/Catalina/build.xml) has a problem. If you run Ant with target <all>, it fails in the middle of <build-catalina- core>. It’s because the <clean> has deleted the “tomcat-coyote.jar” which <build- catalina-core> requires. (<all> is <build-clean> + <build-main>. <clean> = <build-clean> + <dist- clean>. and <build-clean> do ${tomcat-coyote.home}’s <clean>. <build-clean> depends only <build-static>, <build-tomcat-util>, <build- catalina>. There is no <build-tomcat-coyote> which actually <build-catalina>’s javac has classpath to do with.) So, I think <build-tomcat-coyote> should have dependency relation not to <deploy> but to <build-main> --- Index: build.xml =================================================================== RCS file: /home/cvspublic/jakarta-tomcat-catalina/catalina/build.xml,v retrieving revision 1.53 diff -u -r1.53 build.xml --- build.xml 14 Jul 2003 16:30:12 -0000 1.53 +++ build.xml 4 Aug 2003 02:29:01 -0000 @@ -8,6 +8,7 @@ <!--property file="build.properties"/> <property file="../build.properties"/> <property file="${user.home}/build.properties"/--> + <property file="../build.properties"/> <!-- Build Defaults --> <property name="catalina.home" location=".."/> @@ -707,7 +708,7 @@ <!-- ================= BUILD: Compile All Server Components ============= -- > - <target name="build-main" depends="build-static,build-tomcat-util,build- catalina"> + <target name="build-main" depends="build-static,build-tomcat-util,build- tomcat-coyote,build-catalina"> </target> @@ -1092,7 +1093,7 @@ <!-- ====================== DEPLOY: Create Catalina JARs ================ -- > - <target name="deploy" depends="deploy-catalina,build-tomcat-coyote,build- tomcat-jk,build-tomcat-http11" + <target name="deploy" depends="deploy-catalina,build-tomcat-jk,build-tomcat- http11" description="Build and deploy Catalina"> </target> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]