Yes, setting ANT_OPTS to proper proxy values works. Thanks, m. On Fri, Feb 19, 2010 at 6:21 AM, Gary Dusbabek <gdusba...@gmail.com> wrote:
> I found this: > > set ANT_OPTS=-Dhttp.proxyHost=myproxy -Dhttp.proxyPort=3128 > > from here: http://www.jaya.free.fr/ivy/faq.html > > I have no idea how reliable it is, but please give it a try. > > Gary. > > > On Thu, Feb 18, 2010 at 15:50, Masood Mortazavi > <masoodmortaz...@gmail.com> wrote: > > How does one build Cassandra from behind a proxy? > > > > I just downloaded Cassandra source code and tried to build it locally -- > all > > from behind a firewall. > > > > Download ("svn checkout") succeeded with a proper configuration of > [global] > > proxy settings in the "servers" file in .subversion directory. > > > > However, the build -- again from behind the proxy -- fails when it tries > to > > download ivy-2.1.0.jar. > > > > It is not clear from this fragment of build.xml: > > > > <target name="ivy-download" unless="ivy.jar.exists"> > > <echo>Downloading Ivy...</echo> > > <mkdir dir="${build.dir}" /> > > <get src="${ivy.url}/${ivy.version}/ivy-${ivy.version}.jar" > > dest="${build.dir}/ivy-${ivy.version}.jar" usetimestamp="true" > /> > > </target> > > > > whether a http proxy server / port number / username / password can be > set > > in the build script configuration, some place, for the purpose\ of usage > > when attempting the download target. (I cannot imagine such a facility > not > > be available.) > > > > If there's no such configuration, I'm assuming I can download the > > ivy-2.1.0jar "by hand" and put it in the build director, and set > > "ivy.jar.exists" to true. > > > > Thanks, > > - m. > > >