how to build lucene-solr (espeically if behind a firewall)?

2011-07-12 Thread Will Milspec
hi all,

building lucene/solr behind the firewall fails for us due to proxy errors.

I tried setting the ant_opts -Dhttp.proxyHost, etc, but found the "lucene"
portion still failed on javadoc links.

I worked round this by changing failonjavadocerror to 'false' in
lucene/common-build.xml (or alternatively adding -J-Dhttp.proxyHost, etc as
"args" element to the
javadoc tasks), but then 'changes2html' failed to connect to
https://issues.apache.org.

I'm posting to the solr-user group (even though compiling is developer-ish
stuff) as we need to apply a few patches lucene-solr.

Would someone be so kind as to post the following?
* Easiest way to build lucene-solr from source
* same, but if you're behind the firewall.

thanks,

will


Re: how to build lucene-solr (espeically if behind a firewall)?

2011-07-12 Thread Erick Erickson
What target did you try to build? Did you try "ant dist"?

Best
Erick

On Tue, Jul 12, 2011 at 12:38 PM, Will Milspec  wrote:
> hi all,
>
> building lucene/solr behind the firewall fails for us due to proxy errors.
>
> I tried setting the ant_opts -Dhttp.proxyHost, etc, but found the "lucene"
> portion still failed on javadoc links.
>
> I worked round this by changing failonjavadocerror to 'false' in
> lucene/common-build.xml (or alternatively adding -J-Dhttp.proxyHost, etc as
> "args" element to the
> javadoc tasks), but then 'changes2html' failed to connect to
> https://issues.apache.org.
>
> I'm posting to the solr-user group (even though compiling is developer-ish
> stuff) as we need to apply a few patches lucene-solr.
>
> Would someone be so kind as to post the following?
> * Easiest way to build lucene-solr from source
> * same, but if you're behind the firewall.
>
> thanks,
>
> will
>


Re: how to build lucene-solr (espeically if behind a firewall)?

2011-07-13 Thread pravesh
If behind proxy; then use:

ant dist ${build_files:autoproxy}

Thanx
Pravesh

--
View this message in context: 
http://lucene.472066.n3.nabble.com/how-to-build-lucene-solr-espeically-if-behind-a-firewall-tp3163038p3165568.html
Sent from the Solr - User mailing list archive at Nabble.com.