Try ant1.5Beta2 ( or the ant nightly ), it should be fixed now.
For tomcat3.3 and all other components that are still maintaining compatibility with JDK1.1 - it is absolutely required we add a 'target=1.1', since code generated by 1.4.0 will _not_ work with JDK1.1 ( or jikes and many other tools ). Costin On Thu, 30 May 2002, jean-frederic clere wrote: > Hi, > > I have an error with making "ant dist" when I am using > ant1.5Beta1 anf JDK1.4.0. > The error is due to the <property name="build.compiler" value="classic"/> of > catalina/build.xml. > > Why do we need to set build.compiler to classic? > > The work-around is easy: build.compiler=modern in build.properties ;-) > > Cheers > > Jean-frederic > > +++ > build-prepare: > [mkdir] Created dir: /home/jakarta/jakarta-tomcat-4.1/catalina/build > [mkdir] Created dir: /home/jakarta/jakarta-tomcat-4.1/catalina/build/bin > [mkdir] Created dir: > /home/jakarta/jakarta-tomcat-4.1/catalina/build/common/classes > [mkdir] Created dir: /home/jakarta/jakarta-tomcat-4.1/catalina/build/common/lib > [mkdir] Created dir: > /home/jakarta/jakarta-tomcat-4.1/catalina/build/common/endorsed > [mkdir] Created dir: /home/jakarta/jakarta-tomcat-4.1/catalina/build/conf > [mkdir] Created dir: /home/jakarta/jakarta-tomcat-4.1/catalina/build/logs > [mkdir] Created dir: > /home/jakarta/jakarta-tomcat-4.1/catalina/build/server/classes > [mkdir] Created dir: /home/jakarta/jakarta-tomcat-4.1/catalina/build/server/lib > [mkdir] Created dir: > /home/jakarta/jakarta-tomcat-4.1/catalina/build/shared/classes > [mkdir] Created dir: /home/jakarta/jakarta-tomcat-4.1/catalina/build/shared/lib > [mkdir] Created dir: /home/jakarta/jakarta-tomcat-4.1/catalina/build/work > [mkdir] Created dir: /home/jakarta/jakarta-tomcat-4.1/catalina/build/temp > > copy-activation.jar: > [copy] Copying 1 file to > /home/jakarta/jakarta-tomcat-4.1/catalina/build/common/lib > [copy] Copying 1 file to > /home/jakarta/jakarta-tomcat-4.1/catalina/build/common/lib > > copy-daemon.jar: > [copy] Copying 1 file to /home/jakarta/jakarta-tomcat-4.1/catalina/build/bin > > copy-dbcp.jar: > [copy] Copying 1 file to > /home/jakarta/jakarta-tomcat-4.1/catalina/build/common/lib > > copy-jaas.jar: > > copy-jdbc20ext.jar: > > copy-jmx.jar: > [copy] Copying 1 file to > /home/jakarta/jakarta-tomcat-4.1/catalina/build/server/lib > [copy] Copying 1 file to > /home/jakarta/jakarta-tomcat-4.1/catalina/build/server/lib > > copy-jndi.jar: > > copy-jsse.jar: > > copy-jta.jar: > [copy] Copying 1 file to > /home/jakarta/jakarta-tomcat-4.1/catalina/build/common/lib > > copy-ldap.jar: > > copy-modeler.jar: > [copy] Copying 1 file to > /home/jakarta/jakarta-tomcat-4.1/catalina/build/server/lib > > copy-pool.jar: > [copy] Copying 1 file to > /home/jakarta/jakarta-tomcat-4.1/catalina/build/common/lib > > copy-tyrex.jar: > > copy-xerces.jar: > > copy-xerces2.jars: > > build-static: > [copy] Copying 13 files to /home/jakarta/jakarta-tomcat-4.1/catalina/build/bin > [copy] Copying 1 file to > /home/jakarta/jakarta-tomcat-4.1/catalina/build/common/lib > [copy] Copying 1 file to > /home/jakarta/jakarta-tomcat-4.1/catalina/build/common/lib > [copy] Copying 5 files to /home/jakarta/jakarta-tomcat-4.1/catalina/build/conf > [copy] Copying 1 file to > /home/jakarta/jakarta-tomcat-4.1/catalina/build/server/lib > [copy] Copying 1 file to > /home/jakarta/jakarta-tomcat-4.1/catalina/build/server/lib > [copy] Copying 1 file to > /home/jakarta/jakarta-tomcat-4.1/catalina/build/common/lib > [copy] Copying 1 file to > /home/jakarta/jakarta-tomcat-4.1/catalina/build/server/lib > > build-tomcat-util: > > detect: > > build-prepare: > [mkdir] Created dir: /home/jakarta/jakarta-tomcat-connectors/util/build > [mkdir] Created dir: /home/jakarta/jakarta-tomcat-connectors/util/build/classes > [mkdir] Created dir: /home/jakarta/jakarta-tomcat-connectors/util/build/lib > > build-main: > [echo] ----- Java-utils ----- > [echo] -- puretls.present = ${puretls.present} > [echo] -- jsse.present = true > [echo] -- commons-logging = true > [javac] Compiling 57 source files to > /home/jakarta/jakarta-tomcat-connectors/util/build/classes > > BUILD FAILED > /home/jakarta/jakarta-tomcat-connectors/util/build.xml:47: This version of java > does not support the classic compiler > > Total time: 4 seconds > +++ > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>