Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.help > #1422

Ant Setup on Windows XP, missing artifacts in fetch.xml

From mister270@gmail.com
Newsgroups comp.lang.java.help
Subject Ant Setup on Windows XP, missing artifacts in fetch.xml
Date 2011-12-09 16:02 -0800
Organization http://groups.google.com
Message-ID <17865739.414.1323475331831.JavaMail.geo-discussion-forums@yqcc19> (permalink)

Show all headers | View raw


After downloading Ant 1.8.2 on my XP machine, I run the following from %ANT_HOME% per the installation directions:

bin\ant -f fetch.xml -Ddest=system

And I get this:

Buildfile: C:\bin\apache-ant-1.8.2\fetch.xml

pick-dest:
     [echo] Downloading to C:\bin\apache-ant-1.8.2\lib

probe-m2:

download-m2:
     [echo] Downloading to C:\bin\apache-ant-1.8.2\lib
      [get] Getting: http://ibiblio.org/maven2//org/apache/maven/maven-artifact-
ant/2.0.4/maven-artifact-ant-2.0.4-dep.jar
      [get] To: C:\bin\apache-ant-1.8.2\lib\maven-artifact-ant-2.0.4-dep.jar
      [get] Error opening connection java.io.FileNotFoundException: http://ibibl
io.org/maven2//org/apache/maven/maven-artifact-ant/2.0.4/maven-artifact-ant-2.0.
4-dep.jar
      [get] Error opening connection java.io.FileNotFoundException: http://ibibl
io.org/maven2//org/apache/maven/maven-artifact-ant/2.0.4/maven-artifact-ant-2.0.
4-dep.jar
      [get] Error opening connection java.io.FileNotFoundException: http://ibibl
io.org/maven2//org/apache/maven/maven-artifact-ant/2.0.4/maven-artifact-ant-2.0.
4-dep.jar
      [get] Can't get http://ibiblio.org/maven2//org/apache/maven/maven-artifact
-ant/2.0.4/maven-artifact-ant-2.0.4-dep.jar to C:\bin\apache-ant-1.8.2\lib\maven
-artifact-ant-2.0.4-dep.jar

BUILD FAILED
C:\bin\apache-ant-1.8.2\get-m2.xml:85: Can't get http://ibiblio.org/maven2//org/
apache/maven/maven-artifact-ant/2.0.4/maven-artifact-ant-2.0.4-dep.jar to C:\bin
\apache-ant-1.8.2\lib\maven-artifact-ant-2.0.4-dep.jar

Total time: 0 seconds

So it looks like the Maven files aren't there and I verified that by going to the sites myself.

So where does that leave this installation? Perhaps there's an updated fetch.xml somewhere I can use? Can I edit that file to not pull in the Maven artifacts? Or should I do something else.

Back to comp.lang.java.help | Previous | Next | Find similar


Thread

Ant Setup on Windows XP, missing artifacts in fetch.xml mister270@gmail.com - 2011-12-09 16:02 -0800

csiph-web