Dear Wiki user,

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

The "DebianPackaging" page has been changed by EricEvans.
The comment on this change is: some notes on building a debian package.
http://wiki.apache.org/cassandra/DebianPackaging?action=diff&rev1=3&rev2=4

--------------------------------------------------

   * The configuration files are located in /etc/cassandra
   * Start-up options (heap size, etc) can be configured in 
/etc/default/cassandra
  
+ == Building ==
+ The Debian packaging is kept in a repository on [[http://github.com|Github]] 
and its layout conforms to the convention used by 
[[http://packages.debian.org/search?keywords=git-buildpackage|git-buildpackage]].
+ 
+ {{{
+ # Install build dependencies.
+ sudo aptitude install build-essential fakeroot git-buildpackage debhelper \
+        openjdk-6-jdk ant
+ 
+ # Get the source from git.apache.org
+ git clone git://git.apache.org/cassandra && cd cassandra
+ 
+ # Add the debian packaging repo as a remote.
+ git remote add debian git://github.com/eevans/cassandra.git && git fetch 
debian
+ 
+ # Assuming a build based on the 0.5 branch ...
+ git checkout -b debian_0.5 debian/debian_0.5
+ git-buildpackage --git-upstream-branch=origin/cassandra-0.5 \
+         --git-debian-branch=debian_0.5 -rfakeroot -us -uc
+ 
+ # Assuming a build based on trunk ...
+ git checkout -b debian debian/debian
+ git-buildpackage --git-upstream-branch=origin/trunk 
--git-debian-branch=debian \
+         -rfakeroot -us -uc
+ }}}
+ 

Reply via email to