Lou, I've tested with Ubuntu 10.10 and Sun JDK. raju@ubuntu:~$ ls -al /usr/share/java/ant-nodeps* -rw-r--r-- 1 root root 402286 2010-05-09 06:31 /usr/share/java/ant-nodeps-1.8.0.jar lrwxrwxrwx 1 root root 20 2011-01-31 13:25 /usr/share/java/ant-nodeps.jar -> ant-nodeps-1.8.0.jar
ant-nodeps.jar is part of the ant-optional package. Do you have ant-optional installed? On Mon, Jan 31, 2011 at 9:50 PM, P T Withington <[email protected]> wrote: > That's supposed to be in the catalina-ant.jar. CC-ing dnault who is the > expert on ant vs. tomcat. > > On 2011-01-31, at 14:21, Lou Iorio wrote: > >> I upgtraded to ant 1.8.2 (just so I can be .1 better than you), and when I >> run diags, I get >> what follows. One difference I notice is that I don't get this: >> >> optional tasks : 1.8.1 in file:/usr/share/ant/lib/ant-nodeps.jar >> >> ant-nodps.jar did not come with the distribution; I had to download >> it separately. >> See ANT_HOME/lib jar listing >> >> now when I do ant build, I get this: >> >> lou@lou-linux:~/src/svn/openlaszlo/trunk$ ant build >> Buildfile: /home/lou/src/svn/openlaszlo/trunk/build.xml >> [echo] build.url is ${build.url} >> [echo] dont-need-svn-info is ${dont-need-svn-info} >> >> BUILD FAILED >> /home/lou/src/svn/openlaszlo/trunk/build.xml:1409: The following error >> occurred while executing this line: >> /home/lou/src/svn/openlaszlo/trunk/build-tools/tomcat-manager-ant-macros.xml:16: >> taskdef class org.apache.catalina.ant.RemoveTask cannot be found >> using the classloader AntClassLoader[] >> >> Total time: 0 seconds >> >> >> >> ------- Ant diagnostics report ------- >> Apache Ant(TM) version 1.8.2 compiled on December 20 2010 >> >> ------------------------------------------- >> Implementation Version >> ------------------------------------------- >> core tasks : 1.8.2 in file:/usr/share/apache-ant-1.8.2/lib/ant.jar >> >> ------------------------------------------- >> ANT PROPERTIES >> ------------------------------------------- >> ant.version: Apache Ant(TM) version 1.8.2 compiled on December 20 2010 >> ant.java.version: 1.6 >> Is this the Apache Harmony VM? no >> Is this the Kaffe VM? no >> Is this gij/gcj? no >> ant.core.lib: /usr/share/apache-ant-1.8.2/lib/ant.jar >> ant.home: /usr/share/apache-ant-1.8.2/ >> >> ------------------------------------------- >> ANT_HOME/lib jar listing >> ------------------------------------------- >> ant.home: /usr/share/apache-ant-1.8.2/ >> ant-javamail.jar (7960 bytes) >> ant-commons-logging.jar (3913 bytes) >> ant-apache-bsf.jar (3931 bytes) >> ant-commons-net.jar (85511 bytes) >> ant-antlr.jar (5748 bytes) >> ant-swing.jar (7555 bytes) >> ant-jsch.jar (40175 bytes) >> ant-apache-bcel.jar (8746 bytes) >> ant-netrexx.jar (10392 bytes) >> ant-jdepend.jar (8222 bytes) >> ant-launcher.jar (12322 bytes) >> ant.jar (1933743 bytes) >> ant-jai.jar (22265 bytes) >> ant-apache-resolver.jar (4084 bytes) >> ant-apache-log4j.jar (3059 bytes) >> ant-jmf.jar (6739 bytes) >> ant-testutil.jar (15201 bytes) >> ant-nodeps.jar (402003 bytes) >> ant-apache-regexp.jar (3761 bytes) >> ant-apache-xalan2.jar (2295 bytes) >> ant-junit4.jar (7120 bytes) >> ant-junit.jar (102220 bytes) >> ant-apache-oro.jar (39638 bytes) >> >> ------------------------------------------- >> USER_HOME/.ant/lib jar listing >> ------------------------------------------- >> user.home: /home/lou >> el-api.jar (43065 bytes) >> tomcat-coyote.jar (747399 bytes) >> js.jar (871260 bytes) >> ecj-3.6.jar (1690519 bytes) >> jasper-el.jar (122141 bytes) >> jsp-api.jar (88767 bytes) >> tomcat-i18n-fr.jar (51382 bytes) >> catalina-ha.jar (130348 bytes) >> ant-contrib.jar (194050 bytes) >> jasper.jar (586057 bytes) >> tomcat-util.jar (18551 bytes) >> catalina-ant.jar (54048 bytes) >> servlet-api.jar (176815 bytes) >> tomcat-api.jar (6868 bytes) >> catalina.jar (1419927 bytes) >> tomcat-dbcp.jar (234639 bytes) >> tomcat-i18n-ja.jar (53233 bytes) >> serializer.jar (188993 bytes) >> xalan.jar (3078593 bytes) >> annotations-api.jar (15261 bytes) >> tomcat-i18n-es.jar (69135 bytes) >> jing.jar (708436 bytes) >> activation.jar (54665 bytes) >> catalina-tribes.jar (251664 bytes) >> javamail-1.4.jar (356519 bytes) >> >> On Mon, Jan 31, 2011 at 1:32 PM, P T Withington <[email protected]> wrote: >> >>> Hm. Well, unbeknownst to me, apparently Apple have updated my ant to >>> 1.8.1. Here's the beginning of my diagnostics output, maybe differences >>> from that will be a clue: >>> >>>> [ptw@padme trunk-3 12:28:59]$ ant -diagnostics >>>> ------- Ant diagnostics report ------- >>>> Apache Ant version 1.8.1 compiled on September 21 2010 >>>> >>>> ------------------------------------------- >>>> Implementation Version >>>> ------------------------------------------- >>>> core tasks : 1.8.1 in file:/usr/share/ant/lib/ant.jar >>>> optional tasks : 1.8.1 in file:/usr/share/ant/lib/ant-nodeps.jar >>>> >>>> ------------------------------------------- >>>> ANT PROPERTIES >>>> ------------------------------------------- >>>> ant.version: Apache Ant version 1.8.1 compiled on September 21 2010 >>>> ant.java.version: 1.6 >>>> ant.core.lib: /usr/share/ant/lib/ant.jar >>>> ant.home: /usr/share/ant/ >>>> >>>> ------------------------------------------- >>>> ANT_HOME/lib jar listing >>>> ------------------------------------------- >>>> ant.home: /usr/share/ant/ >>>> ant-antlr.jar (5758 bytes) >>>> ant-jai.jar (22282 bytes) >>>> ant-jmf.jar (6747 bytes) >>>> ant-junit.jar (97583 bytes) >>>> ant-launcher.jar (12312 bytes) >>>> ant-nodeps.jar (409067 bytes) >>>> ant-swing.jar (7565 bytes) >>>> ant-testutil.jar (15199 bytes) >>>> ant.jar (1516775 bytes) >>>> >>>> ------------------------------------------- >>>> USER_HOME/.ant/lib jar listing >>>> ------------------------------------------- >>>> user.home: /Users/ptw >>>> ant-contrib.jar (194050 bytes) >>>> catalina-ant.jar (20418 bytes) >>>> jing.jar (708436 bytes) >>>> js.jar (871260 bytes) >>>> serializer.jar (188993 bytes) >>>> xalan.jar (3078593 bytes) >>> >>> [...] >>> > > >
