Development support tools (tips for Drupal, Eclipse, Jboss, Linux and so on)
Gazelle team members use various tools for different purposes, here are the links to those tools and what they stand for.
Tools available online
Jenkins: Continous integration systems. The trunk of each project is built every night, if changes have been committed during the last 24 hours
Jira: Bug Tracking System. Each Gazelle tool has its own Jira project (link is available in the footer of the application). The team also uses Tempo and Greenhoper (Agile methodology) plug-ins to respectively log working time and manage Agile sprints.
Nexus: Gazelle projects are built using Maven. Nexus is both a proxy for third-party dependencies and a repository for the releases and snapshots produced in the context of the Gazelle project
Crowdin: Gazelle applications are designed to be displayed in several languagues. Crowdin is an online translation management service. Users and developers work together to translate the applications into several languagues (Engligh, French, Japanese, German, Suomi...)
Sonar: Static analysis of the Java code. Analysis is run each time a job runs in Jenkins.
Testlink: Tests and Requirements management tool used by the Gazelle project
Tools that you may want to install on your computer
Eclipse: Prefered IDE for Java. You may also want to use the following plug-ins
- CodePro
- Maven
- SVN
- Sonar
Oxygen: Edit XML, XSL, XSD, perform validation using Saxon, etc...
PgAdmin III: Access your postgresQL database
plantUML: Develop sequence diagram, class diagram
jEdit: good text editor with advanced features
HL7 Inspector: Send and receive HL7 messages
SoapUI: SOAP webservice client
Virtual Box: Container for virtual machines
Set up your development environment
Execute :
wget http://gazelle.ihe.net/jenkins/job/gazelle-public-RELEASE/ws/gazelle-tm-ear/src/main/scripts/setup.sh chmod +x setup.sh ./setup.sh
install mvn svn
sudo apt-get install maven subversion
Configure Maven
edit ~/.m2/settings.xml file, configure your username and password
<?xml version="1.0"?> <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> <mirrors> <mirror> <id>nexus</id> <mirrorOf>*</mirrorOf> <url>http://gazelle.ihe.net/nexus/content/groups/public</url> </mirror> </mirrors> </settings>
Fetch Sources
You can browse project on: https://gforge.inria.fr/scm/viewvc.php/Maven/?root=gazelle
It is strongly recommended to work from a tagged version of the application.
Gazelle-tm: https://scm.gforge.inria.fr/svn/gazelle/Maven/gazelle-tm/tag
Pickup-up the tagged version of gazelle-tm you would like to build. Then select run the maven build command
mvn -Ppublic clean package
In case you would also like to compile the dependencies, find in the master pom.xml file the tagged version used for each of the dependencies. You can then pick up that version to recompile it.
Gazelle-tm-tools: https://scm.gforge.inria.fr/svn/gazelle/Maven/gazelle-tm-tools/tag
Gazelle-model: https://scm.gforge.inria.fr/svn/gazelle/Maven/gazelle-model/tag
Gazelle-tools: https://scm.gforge.inria.fr/svn/gazelle/Maven/gazelle-tools/tag
Install your favorite IDE (Eclipse or Intellij Idea)