|
ContributingCode
How to contribute to code to Caja
IntroductionTo contribute to Caja, you will need to install python2.4 and gvn. Directory structureUse the following directory structure for your changes: svn-changes
|
+----my-change-1
| |
| +----google-caja
| |
| +----src
|
+----my-change-2
|
+----google-caja
|
+----srcIn this way, the myvn script you will use for creating and submitting changelists can provide a changelist name for you for common commands. For example, myvn change will behave like gvn change -c my-change-1 if run under svn-changes/my-change-1/google-caja as will other gvn commands like mail, describe and snapshot unless a changelist name is explicitly provided. Life of a Changelist
$ mkdir -p svn-changes/my-change-name $ cd svn-changes/my-change-name $ myvn checkout $ cd google-caja/ See Eclipse steps below $ myvn change Should pop up an editor. Check the EDITOR, or SVNEDITOR environment variables if it doesn't $ myvn mail --reviewers your-friendly-neighborhood-cajador@gmail.com This will automatically CC google-caja-discuss $ myvn bug and copy and paste the url into your browser. $ myvn snapshot $ myvn change $ myvn submit $ myvn describe $ myvn change --delete Eclipse
$ myvn eclipse $ ant Right click on project and select "Run As" > "JUnit Test"$ ant runtests Other Commands
LegalSee also the Contributor Licence Agreement (either the individual CLA or the [http://code.google.com/legal/corporate-cla-v1.0.html corporate CLA]). |
Sign in to add a comment