Eclipse Keplar and Ant 1.8.2 [message #1222589] |
Fri, 20 December 2013 21:03 |
Laura McCord Messages: 5 Registered: December 2013 |
Junior Member |
|
|
Hi,
I have Eclipse Keplar installed and I have a project that require Apache Ant 1.8.2 installed. Is it possible to use this version?
When I create an Ant configuration, I added the Ant Home entry to point to my specific version of ant. However, each time I run the build. I get the following error:
BUILD FAILED
1) org.apache.ant:ant:jar:Apache Ant(TM) version 1.8.2 compiled on December 20 2010
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.ant -DartifactId=ant -Dversion=Apache Ant(TM) version 1.8.2 compiled on December 20 2010 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.apache.ant -DartifactId=ant -Dversion=Apache Ant(TM) version 1.8.2 compiled on December 20 2010 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
I ran the install command above from the terminal inside my project but it still isn't working.
Any suggestions?
Thanks
[Updated on: Fri, 20 December 2013 21:11] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.02825 seconds