I don't know much about apache ant.Last day I was trying to build a project and the build failed.Because there was an error while downloading a package from the net.After hours of battle it was figured out that there is a proxy configuration setting for Ant's JVM.We can set proxy with
export ANT_OPTS="-Dhttp.proxyHost= -Dhttp.proxyPort="eg:
export ANT_OPTS="-Dhttp.proxyHost=192.168.0.2 -Dhttp.proxyPort=8080"
No comments:
Post a Comment