You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Will Milspec <wi...@gmail.com> on 2011/07/12 18:38:59 UTC

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

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)?

Posted by Erick Erickson <er...@gmail.com>.
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 <wi...@gmail.com> 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)?

Posted by pravesh <su...@yahoo.com>.
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.