Setup of development environment
Here you can the documentation need to setup a development environment
After you have setup your development environment, you should be ready to start Building the Bitrepository.
IDE
Install IDE together with relevant extensions.
Eclipse
Setup Eclipse with all the SBForge Eclipse extensions
Install TestNG plugin (update site ) for unitt testing functionality.
Install checkstyle plugin for Sonar codestyle integration. Note that we use the 'SBForge way' profile on the Bitrepository project.
IntelliJ
Setup IntelliJ IDEA with all the SBForge extensions
TestNG is already part of IntelliJ
Install checkstyle plugin. Note that we use the 'SBForge way' profile on the Bitrepository project.
Command line
Maven2
Installer Maven.
Subversion
If you are going to use Subversion from the command line, you need to install a client for this
XML validation
XML files can be quickly validated against schemas using the xmllint command from libxml.
To validate all xml-example-files in the message-xml module, use the following command from the examples/data directory:
xmllint --schema ../../xsd/BitRepositoryData.xsd *.xml
and the following command from the examples/messages directory
xmllint --schema ../../xsd/BitRepositoryMessages.xsd *.xml
The windows version of xmllint doesn't seem to handle wild cards on the command line, to process all XML files in the current directory use (batch file syntax, remove a % to get it working on the command line):
FOR %%i IN (*.xml) DO @xmllint --schema ../../xsd/BitRepositoryMessages.xsd %%i >NUL: