Dear Wiki user, You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.
The following page has been changed by MichaelGreene: http://wiki.apache.org/cassandra/HowToContribute The comment on the change is: Make headings, add link to empty CodeStyle and IDEA page ------------------------------------------------------------------------------ 1. Check out the latest version of the source code * svn checkout http://svn.apache.org/repos/asf/incubator/cassandra/trunk cassandra-trunk 1. Modify the source to include the improvement/bugfix - * Verify that you follow Cassandra's formatting conventions. + * Verify that you follow Cassandra's CodeStyle. * Verify that your change works by adding a unit test. * Make sure all tests pass by running "ant test" in the project directory. 1. When you're happy with the result create a patch: @@ -15, +15 @@ 1. Wait for other developers or committers to review it and hopefully +1 the ticket 1. Wait for a committer to commit it. + == Testing and Coverage == + Setting up and running system tests: 1. install python setuptools, if necessary (`apt-get install python-setuptools`) @@ -22, +24 @@ 1. from trunk/interface/, run `thrift -gen py cassandra.thrift` 1. `nosetests` from trunk/ - Addendum: running the code coverage task: + Running the code coverage task: 1. Unzip this one: http://prdownloads.sourceforge.net/cobertura/cobertura-1.9.1-bin.zip?download 2. ant codecoverage -Dcobertura.dir=/path/to/cobertura @@ -30, +32 @@ This is also available on Hudson (which updates about once every 24h) here: http://hudson.zones.apache.org/hudson/job/Cassandra/110/cobertura/ - IntelliJ Project Settings: + == IDE == - 1. Main Class: org.apache.cassandra.service.CassandraDaemon - 2. VM Parameters: -ea -Xmx1G -Dstorage-config=conf -Dcassandra-foreground + * Self:RunningCassandraInIDEA + * IntelliJ Project Settings: + * Main Class: org.apache.cassandra.service.CassandraDaemon + * VM Parameters: -ea -Xmx1G -Dstorage-config=conf -Dcassandra-foreground +
