Ben Switzer wrote: > Good day, > > I'm trying to build the nightly build from 2002-08-08 with no success. > > I'm using Ant 1.5 and JDK 1.4 These are the jars in %slide_home%/lib: > > antlr-tools.jar > antlr.jar > commons-dbcp.jar > commons-modeler.jar > commons-pool.jar > hsqldb.jar > jdom-dev.jar > jta-spec1_0_1.jar > junit.jar > log4j.jar > mx4j-jmx.jar > servlet.jar
BTW, I don't think Slide actually depends on commons-pool and commons-dbcp in any way. Remy just added that because he thought we would probably use them, but it doesn't look like we will. They should probably be removed from the build files... > I've modified the build.xml to reflect the other libs that I need. Ant > detect.display shows me that it's found all the libs, required and > optional. (They're all 'true') Also, I'm using jakarta-tomcat-4.1.8, > and jakarta-taglibs/standard-1.0.1. > > This is where the build finally fails: > [javac] > D:\web-apps\jakarta-slide\src\webdav\client\src\org\apache\commons\httpc > lient\methods\PostMethod.java:203: warning: encode(java.lang.String) in > java.net.URLEncoder has been deprecated > [javac] sb.append(URLEncoder.encode(value)); > [javac] ^ > [javac] 3 warnings > [antlr] java.lang.NoClassDefFoundError: antlr/Tool > [antlr] Exception in thread "main" If you're using Ant 1.5 (highly recommend), search build.xml for a line with the string "Ant 1.5" in it and uncomment it, which should fix the above error. Otherwise, you need to put the antlr.jar in your CLASSPATH before executing Ant. -- Christopher Lenz /=/ cmlenz at gmx.de -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
