You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by Apache Wiki <wi...@apache.org> on 2012/02/13 05:15:21 UTC

[Cassandra Wiki] Update of "HowToBuild" by MakiWatanabe

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.

The "HowToBuild" page has been changed by MakiWatanabe:
http://wiki.apache.org/cassandra/HowToBuild?action=diff&rev1=3&rev2=4

Comment:
Add git operations to fetch specific release

  || Java SDK   || 1.6 (preferably the latest) ||
  || ANT        || At least version 1.8 ||
  
- To build the latest version of Cassandra from Subversion:
+ To build the latest version of Cassandra from Git:
  
  {{{
- git clone http://git-wip-us.apache.org/repos/asf/cassandra.git cassandra-trunk
+ git clone http://git-wip-us.apache.org/repos/asf/cassandra.git cassandra
- cd cassandra-trunk
+ cd cassandra
  # if directly connected to the internet
  ant
  # if connected via a proxy
  ant -autoproxy
  }}}
  
+ To build the specific release of Cassandra from the cloned Git repository:
- == The 0.7 Stream ==
- 
- Toolchain requirements:
- 
- || '''Tool''' || '''Version''' ||
- || Java SDK   || 1.6 (preferably the latest) ||
- || ANT        || At least version 1.8 ||
- 
- To build the latest version of Cassandra from Git:
  
  {{{
+ # find a tag for the release you need
+ git tag
- svn co http://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7
- cd cassandra-0.7
- # if directly connected to the internet
- ant
- # if connected via a proxy
- ant -autoproxy
- }}}
  
- == The 0.6 Stream ==
+ # checkout source files for the release
+ git checkout _tag_for_the_release_
  
- Toolchain requirements:
+ # for example, if you need to checkout 0.7.9 release
+ git checkout cassandra-0.7.9
  
+ # if you need to checkout the latest files again
+ git checkout trunk
- || '''Tool''' || '''Version''' ||
- || Java SDK   || 1.6 (preferably the latest) ||
- || ANT        || At least version 1.8 ||
  
- To build the latest version of Cassandra from Subversion:
- 
- {{{
- svn co http://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.6
- cd cassandra-0.6
  # if directly connected to the internet
  ant
  # if connected via a proxy