Building the Bitrepository
Here you can find information on how to use /wiki/spaces/APP/pages/11538241 based build environment to start development on the Bitrepository system.
See Common build problems for tips on solving build problems.
The source
Check project out fra https://sbforge.org/svn/bitrepository. Note the project consists of multiple sub projects.
- Bitrepository-collection-settings: Contains the Collection settings definitions.
- Bitrepository-message-xml: Contains the Message format definitions.
- Bitrepository-reference: Contains the Reference system code.
- Command-line-client: Containds the code for the Command line client.
The building
- Building
- Creating distributable
- /wiki/spaces/BITMAG/pages/21076592
- Handling licensing information
- Testing
- Starting Coordination layer
The committing
Using the /wiki/spaces/APP/pages/11542393 or the /wiki/spaces/APP/pages/11541720 will make it much easier to structure your commits according to the following rules:
Pre-commit checks
Before committing your should run the precommit.sh. This will run as automatic QA of the code and attempt to fix trivial problems. See precommit.sh for current functionality.
Commit logical change-sets
When you commit a change to the repository, make sure your change reflects a single purpose: the fixing of a specific bug, the addition of a new feature, or some particular task. Your commit will create a new revision number which can forever be used as a "name" for the change.
Commit messages
All commits should contain a commit message describing the change set. This message must contain the key of the Jira issue related to this commit, this will make all subversion aware applications, able to map issues to change sets.
Adding new files to SVN
If you commit a new file directly to our SVN repository, you must add the SVN property (svn:keywords) for this file to the value: URL Revision Author Date Id
Eclipse will add this automatically for you for all new files if you make sure that auto-props are enabled for subversion. The following modifications to the file $HOME/.subversion/config needs to be made
Add or comment out the line in the [miscellany] section
enable-auto-props = yes
Add the following to the end of the file:
[auto-props] *.java = svn:keywords=URL Revision Author Date Id *.xml = svn:keywords=URL Revision Author Date Id *.jsp = svn:keywords=URL Revision Author Date Id *.css = svn:keywords=URL Revision Author Date Id *.properties = svn:keywords=URL Revision Author Date Id