From: Scott M S. <st...@us...> - 2002-07-16 16:01:33
|
User: starksm Date: 02/07/16 09:01:32 Modified: catalina Tag: Branch_3_0 build.xml Log: Add the if="tomcat.dist.exists" to the depends elements of most to prevent compilation if there is no tomcat dist Revision Changes Path No revision No revision 1.13.2.6 +4 -4 contrib/catalina/build.xml Index: build.xml =================================================================== RCS file: /cvsroot/jboss/contrib/catalina/build.xml,v retrieving revision 1.13.2.5 retrieving revision 1.13.2.6 diff -u -r1.13.2.5 -r1.13.2.6 --- build.xml 15 Jul 2002 18:41:34 -0000 1.13.2.5 +++ build.xml 16 Jul 2002 16:01:31 -0000 1.13.2.6 @@ -12,7 +12,7 @@ <!-- --> <!-- ====================================================================== --> -<!-- $Id: build.xml,v 1.13.2.5 2002/07/15 18:41:34 starksm Exp $ --> +<!-- $Id: build.xml,v 1.13.2.6 2002/07/16 16:01:31 starksm Exp $ --> <project default="main" name="JBoss/Tomcat-4"> @@ -221,12 +221,12 @@ | different type of compile that needs to be performed, short of | documentation compiles. --> - <target name="compile" + <target name="compile" if="tomcat.dist.exists" depends="compile-classes, compile-resources, compile-etc" description="Compile all source files."/> <!-- Compile all class files --> - <target name="compile-classes" depends="init"> + <target name="compile-classes" if="tomcat.dist.exists" depends="init"> <mkdir dir="${build.classes}"/> <javac destdir="${build.classes}" optimize="${javac.optimize}" @@ -275,7 +275,7 @@ <!-- | Build all jar files. --> - <target name="jars" + <target name="jars" if="tomcat.dist.exists" description="Build the Service Archive" depends="compile"> |