Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Excerpt

Here you can find information on how to

...

use /wiki/spaces/APP/pages/11538241 based build environment to start development on the Bitrepository system.


Table of Contents

See Common build problems for tips on solving build problems.

The source

Check project out fra https://gforgesbforge.statsbiblioteket.dkorg/svn/bitmagasin. You need to be a registered GForge user to do thisbitrepository. Note the project consists of multiple sub projects.

The building

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

Code Block

enable-auto-props = yes

Add the following to the end of the file:

Code Block

[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