Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

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://gforge.statsbiblioteket.dk/svn/bitmagasin. You need to be a registered GForge user to do this.

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:

Precommit 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 changesets

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 uncomment 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
  • No labels