Hi. I'm trying to install Ant (binary), the fetch step is not working, I'm getting 403 Forbidden.
I also got a warning that tools.jar was not found. Is this a critical dependency? # ant -f fetch.xml -Ddest=system Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/lib/tools.jar Buildfile: /home/atsaloli/opt/apache-ant-1.8.2/fetch.xml pick-dest: [echo] Downloading to /home/atsaloli/opt/apache-ant-1.8.2/lib probe-m2: download-m2: dont-validate-m2-checksum: validate-m2-checksum: checksum-mismatch: checksum-match: get-m2: macros: init: logging: junit: xml: networking: regexp: antlr: bcel: jdepend: bsf: debugging: jruby: beanshell: rhino: script: javamail: jspc: [artifact:dependencies] Downloading: tomcat/jasper-compiler/4.1.36/jasper-compiler-4.1.36.pom [artifact:dependencies] [WARNING] Unable to get resource from repository remote (http://repo1.maven.org/maven2/) [artifact:dependencies] Downloading: tomcat/jasper-compiler/4.1.36/jasper-compiler-4.1.36.pom [artifact:dependencies] [WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2) [artifact:dependencies] Downloading: tomcat/jasper-runtime/4.1.36/jasper-runtime-4.1.36.pom [artifact:dependencies] [WARNING] Unable to get resource from repository remote (http://repo1.maven.org/maven2/) [artifact:dependencies] Downloading: tomcat/jasper-runtime/4.1.36/jasper-runtime-4.1.36.pom [artifact:dependencies] [WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2) jai: [artifact:dependencies] Downloading: javax/media/jai-core/1.1.3/jai-core-1.1.3.pom [artifact:dependencies] An error has occurred while processing the Maven artifact tasks. [artifact:dependencies] Diagnosis: [artifact:dependencies] [artifact:dependencies] Unable to resolve artifact: Unable to get dependency information: Unable to read the metadata file for artifact 'javax.media:jai-core:jar': Error getting POM for 'javax.media:jai-core' from the repository: Error transferring file [artifact:dependencies] javax.media:jai-core:pom:1.1.3 [artifact:dependencies] [artifact:dependencies] from the specified remote repositories: [artifact:dependencies] remote (http://repository.jboss.org/maven2), [artifact:dependencies] central (http://repo1.maven.org/maven2) [artifact:dependencies] [artifact:dependencies] javax.media:jai-core:jar:1.1.3 [artifact:dependencies] [artifact:dependencies] from the specified remote repositories: [artifact:dependencies] remote (http://repository.jboss.org/maven2), [artifact:dependencies] central (http://repo1.maven.org/maven2) [artifact:dependencies] Path to dependency: [artifact:dependencies] 1) unspecified:unspecified:jar:0.0 [artifact:dependencies] [artifact:dependencies] [artifact:dependencies] Server returned HTTP response code 403 for URL http://repository.jboss.org/maven2/javax/media/jai-core/1.1.3/jai-core-1.1.3.pom BUILD FAILED /home/atsaloli/opt/apache-ant-1.8.2/fetch.xml:309: The following error occurred while executing this line: /home/atsaloli/opt/apache-ant-1.8.2/fetch.xml:116: Unable to resolve artifact: Unable to get dependency information: Unable to read the metadata file for artifact 'javax.media:jai-core:jar': Error getting POM for 'javax.media:jai-core' from the repository: Error transferring file javax.media:jai-core:pom:1.1.3 from the specified remote repositories: remote (http://repository.jboss.org/maven2), central (http://repo1.maven.org/maven2) javax.media:jai-core:jar:1.1.3 from the specified remote repositories: remote (http://repository.jboss.org/maven2), central (http://repo1.maven.org/maven2) Path to dependency: 1) unspecified:unspecified:jar:0.0 Total time: 20 seconds # Please advise? # ant -diagnostics Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/lib/tools.jar ------- Ant diagnostics report ------- Apache Ant(TM) version 1.8.2 compiled on December 20 2010 ------------------------------------------- Implementation Version ------------------------------------------- core tasks : 1.8.2 in file:/home/atsaloli/opt/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.4 Is this the Apache Harmony VM? no Is this the Kaffe VM? no Is this gij/gcj? yes ant.core.lib: /home/atsaloli/opt/apache-ant-1.8.2/lib/ant.jar ant.home: /home/atsaloli/opt/apache-ant-1.8.2 ------------------------------------------- ANT_HOME/lib jar listing ------------------------------------------- ant.home: /home/atsaloli/opt/apache-ant-1.8.2 js-1.6R7.jar (813521 bytes) ant-jmf.jar (6739 bytes) ant-apache-bcel.jar (8746 bytes) jasper-compiler-4.1.36.jar (184124 bytes) ant-launcher.jar (12322 bytes) ant-apache-bsf.jar (3931 bytes) log4j-1.2.14.jar (367444 bytes) ant-commons-logging.jar (3913 bytes) xalan-2.7.1.jar (3176148 bytes) ant-commons-net.jar (85511 bytes) ant-junit.jar (102220 bytes) junit-4.8.1.jar (237047 bytes) jdepend-2.9.1.jar (57933 bytes) ant-junit4.jar (7120 bytes) mail-1.4.jar (388864 bytes) xml-resolver-1.2.jar (84091 bytes) ant-apache-log4j.jar (3059 bytes) commons-logging-api-1.1.jar (44598 bytes) ant-apache-resolver.jar (4084 bytes) which-1.0.jar (17398 bytes) bsh-core-2.0b4.jar (143992 bytes) ant-apache-xalan2.jar (2295 bytes) asm-2.2.3.jar (34832 bytes) ant-antlr.jar (5748 bytes) jsch-0.1.42.jar (185746 bytes) ant-apache-oro.jar (39638 bytes) jasper-runtime-4.1.36.jar (72397 bytes) maven-artifact-ant-2.0.4-dep.jar (887507 bytes) ant-jdepend.jar (8222 bytes) antlr-2.7.7.jar (445288 bytes) servlet-api-2.3.jar (77977 bytes) asm-commons-2.2.3.jar (15114 bytes) oro-2.0.8.jar (65261 bytes) regexp-1.3.jar (25429 bytes) asm-tree-2.2.3.jar (16248 bytes) regexp-1.2.jar (29871 bytes) bcel-5.1.jar (515920 bytes) jruby-0.9.8.jar (1683526 bytes) serializer-2.7.1.jar (278281 bytes) xml-apis-1.3.04.jar (194354 bytes) ant-swing.jar (7555 bytes) ant-apache-regexp.jar (3761 bytes) commons-logging-1.0.4.jar (38015 bytes) ant-netrexx.jar (10392 bytes) commons-net-1.4.1.jar (180792 bytes) ant-testutil.jar (15201 bytes) ant-jsch.jar (40175 bytes) ant-jai.jar (22265 bytes) ant.jar (1933743 bytes) bsf-2.4.0.jar (113369 bytes) bsh-2.0b4.jar (281694 bytes) ant-javamail.jar (7960 bytes) activation-1.1.jar (62983 bytes) ------------------------------------------- USER_HOME/.ant/lib jar listing ------------------------------------------- user.home: /home/atsaloli No such directory. ------------------------------------------- Tasks availability ------------------------------------------- image : Missing dependency org.apache.tools.ant.taskdefs.optional.image.Image wlrun : Not Available (the implementation class is not present) ddcreator : Not Available (the implementation class is not present) wlstop : Not Available (the implementation class is not present) starteam : Not Available (the implementation class is not present) stcheckin : Not Available (the implementation class is not present) stlabel : Not Available (the implementation class is not present) stcheckout : Not Available (the implementation class is not present) ejbc : Not Available (the implementation class is not present) stlist : Not Available (the implementation class is not present) A task being missing/unavailable should only matter if you are trying to use it ------------------------------------------- org.apache.env.Which diagnostics ------------------------------------------- #---- BEGIN: Which report java.class.path=/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-launcher.jar:/home/atsaloli/opt/apache-ant-1.8.2/./:/usr/local/jdk/lib/clas ses.zip:/home/atsaloli/opt/apache-ant-1.8.2/lib/js-1.6R7.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jmf.jar:/home/atsaloli/opt/apa che-ant-1.8.2/lib/ant-apache-bcel.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jasper-compiler-4.1.36.jar:/home/atsaloli/opt/apache-ant- 1.8.2/lib/ant-launcher.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-apache-bsf.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/log4j-1.2 .14.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-commons-logging.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/xalan-2.7.1.jar:/home/a tsaloli/opt/apache-ant-1.8.2/lib/ant-commons-net.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-junit.jar:/home/atsaloli/opt/apache-an t-1.8.2/lib/junit-4.8.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jdepend-2.9.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-junit 4.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/mail-1.4.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/xml-resolver-1.2.jar:/home/atsaloli/ opt/apache-ant-1.8.2/lib/ant-apache-log4j.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/commons-logging-api-1.1.jar:/home/atsaloli/opt/ap ache-ant-1.8.2/lib/ant-apache-resolver.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/which-1.0.jar:/home/atsaloli/opt/apache-ant-1.8.2/li b/bsh-core-2.0b4.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-apache-xalan2.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/asm-2.2.3.ja r:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-antlr.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jsch-0.1.42.jar:/home/atsaloli/opt/apac he-ant-1.8.2/lib/ant-apache-oro.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jasper-runtime-4.1.36.jar:/home/atsaloli/opt/apache-ant-1.8 .2/lib/maven-artifact-ant-2.0.4-dep.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jdepend.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib /antlr-2.7.7.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/servlet-api-2.3.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/asm-commons-2.2.3. jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/oro-2.0.8.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/regexp-1.3.jar:/home/atsaloli/opt/apa che-ant-1.8.2/lib/asm-tree-2.2.3.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/regexp-1.2.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/bce l-5.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jruby-0.9.8.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/serializer-2.7.1.jar:/home/at saloli/opt/apache-ant-1.8.2/lib/xml-apis-1.3.04.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-swing.jar:/home/atsaloli/opt/apache-ant -1.8.2/lib/ant-apache-regexp.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/commons-logging-1.0.4.jar:/home/atsaloli/opt/apache-ant-1.8.2/ lib/ant-netrexx.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/commons-net-1.4.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-testutil. jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jsch.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jai.jar:/home/atsaloli/opt/apache- ant-1.8.2/lib/ant.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/bsf-2.4.0.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/bsh-2.0b4.jar:/home /atsaloli/opt/apache-ant-1.8.2/lib/ant-javamail.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/activation-1.1.jar java.ext.dirs=/usr/share/java/ext java.version=1.4.2 Which.version=Which.java:($Revision: 1.2 $) WhichJar.java:($Revision: 1.2 $) Which.error=Accessing System.getProperty(...) threw: java.lang.NullPointerException sun.boot.class.path=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/lib/rt.jar #---- END: Which report ------------------------------------------- XML Parser information ------------------------------------------- XML Parser : gnu.xml.stream.SAXParser XML Parser Location: unknown Namespace-aware parser : gnu.xml.stream.SAXParser Namespace-aware parser Location: unknown ------------------------------------------- XSLT Processor information ------------------------------------------- XSLT Processor : org.apache.xalan.transformer.TransformerIdentityImpl XSLT Processor Location: file:/home/atsaloli/opt/apache-ant-1.8.2/lib/xalan-2.7.1.jar ------------------------------------------- System properties ------------------------------------------- ant.library.dir : /home/atsaloli/opt/apache-ant-1.8.2/lib path.separator : : java.vm.name : GNU libgcj java.vm.specification.name : Java(tm) Virtual Machine Specification java.runtime.version : 1.4.2 java.home : /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre java.vm.specification.version : 1.0 line.separator : java.vm.specification.vendor : Sun Microsystems Inc. gnu.classpath.home.url : file:///usr/lib64 gnu.classpath.version : 0.92 gnu.gcj.progname : org.apache.tools.ant.launch.Launcher java.specification.version : 1.4 gnu.java.util.zoneinfo.dir : /usr/share/zoneinfo java.library.path : /usr/lib64/gcj-4.1.2 gnu.classpath.vm.shortname : libgcj java.class.version : 48.0 java.specification.name : Java(tm) Platform API Specification os.version : 2.6.18-338.9.1.el5.lve0.8.32 gnu.classpath.home : /usr user.home : /home/atsaloli file.encoding : UTF-8 ant.home : /home/atsaloli/opt/apache-ant-1.8.2 os.name : Linux user.name : atsaloli java.class.path : /home/atsaloli/opt/apache-ant-1.8.2/lib/ant-launcher.jar:/home/atsaloli/opt/apache-ant-1.8.2/./:/usr/local/jdk/lib/cl asses.zip:/home/atsaloli/opt/apache-ant-1.8.2/lib/js-1.6R7.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jmf.jar:/home/atsaloli/opt/a pache-ant-1.8.2/lib/ant-apache-bcel.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jasper-compiler-4.1.36.jar:/home/atsaloli/opt/apache-an t-1.8.2/lib/ant-launcher.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-apache-bsf.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/log4j-1 .2.14.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-commons-logging.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/xalan-2.7.1.jar:/home /atsaloli/opt/apache-ant-1.8.2/lib/ant-commons-net.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-junit.jar:/home/atsaloli/opt/apache- ant-1.8.2/lib/junit-4.8.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jdepend-2.9.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jun it4.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/mail-1.4.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/xml-resolver-1.2.jar:/home/atsalol i/opt/apache-ant-1.8.2/lib/ant-apache-log4j.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/commons-logging-api-1.1.jar:/home/atsaloli/opt/ apache-ant-1.8.2/lib/ant-apache-resolver.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/which-1.0.jar:/home/atsaloli/opt/apache-ant-1.8.2/ lib/bsh-core-2.0b4.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-apache-xalan2.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/asm-2.2.3. jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-antlr.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jsch-0.1.42.jar:/home/atsaloli/opt/ap ache-ant-1.8.2/lib/ant-apache-oro.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jasper-runtime-4.1.36.jar:/home/atsaloli/opt/apache-ant-1 .8.2/lib/maven-artifact-ant-2.0.4-dep.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jdepend.jar:/home/atsaloli/opt/apache-ant-1.8.2/l ib/antlr-2.7.7.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/servlet-api-2.3.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/asm-commons-2.2. 3.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/oro-2.0.8.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/regexp-1.3.jar:/home/atsaloli/opt/a pache-ant-1.8.2/lib/asm-tree-2.2.3.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/regexp-1.2.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/b cel-5.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/jruby-0.9.8.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/serializer-2.7.1.jar:/home/ atsaloli/opt/apache-ant-1.8.2/lib/xml-apis-1.3.04.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-swing.jar:/home/atsaloli/opt/apache-a nt-1.8.2/lib/ant-apache-regexp.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/commons-logging-1.0.4.jar:/home/atsaloli/opt/apache-ant-1.8. 2/lib/ant-netrexx.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/commons-net-1.4.1.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-testuti l.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jsch.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/ant-jai.jar:/home/atsaloli/opt/apach e-ant-1.8.2/lib/ant.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/bsf-2.4.0.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/bsh-2.0b4.jar:/ho me/atsaloli/opt/apache-ant-1.8.2/lib/ant-javamail.jar:/home/atsaloli/opt/apache-ant-1.8.2/lib/activation-1.1.jar java.io.tmpdir : /tmp os.arch : x86_64 java.fullversion : GNU libgcj 4.1.2 20080704 (Red Hat 4.1.2-51) user.language : en java.specification.vendor : Sun Microsystems Inc. user.dir : /home/atsaloli/opt/apache-ant-1.8.2 java.vm.info : GNU libgcj 4.1.2 20080704 (Red Hat 4.1.2-51) java.version : 1.4.2 java.ext.dirs : /usr/share/java/ext gnu.gcj.user.realname : sun.boot.class.path : /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/lib/rt.jar java.vendor : Free Software Foundation, Inc. java.vendor.url : http://gcc.gnu.org/java/ java.vm.vendor : Free Software Foundation, Inc. file.separator : / java.vm.version : 4.1.2 20080704 (Red Hat 4.1.2-51) http.agent : gnu-classpath/0.92 (libgcj/4.1.2 20080704 (Red Hat 4.1.2-51)) gnu.cpu.endian : little gnu.gcj.precompiled.db.path : /usr/lib64/gcj-4.1.2/classmap.db user.region : US gnu.gcj.runtime.endorsed.dirs : /usr/share/java/gcj-endorsed ------------------------------------------- Temp dir ------------------------------------------- Temp dir is /tmp Temp dir is writeable Temp dir alignment with system clock is -306 ms ------------------------------------------- Locale information ------------------------------------------- Timezone GMT-05:00 offset=-14400000 ------------------------------------------- Proxy information ------------------------------------------- # Best, -at --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org