incubator-cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Masood Mortazavi <masoodmortaz...@gmail.com>
Subject Building Cassandra from Behind a Proxy
Date Thu, 18 Feb 2010 21:50:36 GMT
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.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message