: But, when building solr, it failed since dependencies could not be resolved:
: cd solr
: ant dist
: ...BUILD FAILED
: /scratch/sxzhu/git_storage/lucene-solr/solr/common-build.xml:398: The 
following error occurred while executing this line:
: /scratch/sxzhu/git_storage/lucene-solr/lucene/module-build.xml:284: The 
following error occurred while executing this line:
: /scratch/sxzhu/git_storage/lucene-solr/lucene/common-build.xml:434: 
impossible to resolve dependencies:
:         resolve failed - see output for details
: I believe this is due to the proxy setting, which causes downloading external 
dependencies to fail.

... you pruned too much from the output you emailed us -- what does your 
console log say just before the "BUILD FAILED" part? ... that info would 
be helpful to verify what exactly the problem is.

In general, when having trouple with ant, the "-verbose" and "-debug" 
options are helpful for getting more details.

: I did try something like:
: set ANT_OPTS="-Dproxy.specified=true -Dproxy.host=<proxy-host> 
-Dproxy.port=<proxy-port>"
: but still not effective.

where did you see any docs suggestion that those sysprops would be 
helpful?

I don't use a proxy, but the ivy/ant docs i've seen indicatte that the 
correct sysprops to use are "http.proxyHost" and "http.proxyPort" ...

http://ant.apache.org/ivy/faq.html

-Hoss
http://www.lucidworks.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to