The Breeding Manager tools provide a user-friendly interface for breeding activities such as importing germplasms, germplasm list management and making germplasm crosses. The List Manager allows the building, editing and browsing of germplasm lists. The Crossing Manager allows the creation of germplasm crosses either manually or by uploading a file. The Germplasm Import tool allows creation of germplasm lists by importing existing or creating new germplasms. The Nursery Template Wizard allows creation of templates for making crosses. These tools make use of our Middleware API to connect to public and program databases.
Build and install IBPMiddleware and IBPCommons using one of the following methods:
- Using the command line, go the IBPMiddleware/IBPCommons home directory, run the command:
mvn clean install
- From within Eclipse, right-click on the project, IBPCommons for instance, select Run As --> Maven build..., then input the target
clean install
Note: Please see build instructions for the IBPMiddleware for more information.
- To create a clean build and run the test code:
mvn clean package
- To build using a specific configuration, run the following:
mvn clean package-DenvConfig=release
In this example, it is expected that pipeline/config/release folder exists and the database configuration files (workbench.properties) are properly set.
To run junit tests using the command line, issue the following commands in the BreedingManager directory:
- To run all tests:
mvn clean test
- To run a specific test class:
mvn clean test -Dtest=TestClassName
- To run a specific test function:
mvn clean test -Dtest=TestClassName#testFunctionName
- Deploy the code after the build.
- Or run via command line:
Configuration
* Go to your maven installation, you can find your installation directory by typing in DOS "mvn -version", this should show you the MVN installation information
* Go to the Maven installation directory conf/settings.xml, modify as necessary and set the profiles.
* In the BreedingManager directory, go to pipeline/config, you should have a specific profile for the user, with the correct DB settings and properties.
Running via command line
* From the command line, go to the BreedingManager folder
* Execute the ff: <pre>mvn tomcat7:run</pre>
Below are the URLs to access the BreedingManager tools:
- List Manager - http://<tomcatHost>:<tomcatPort>/BreedingManager/main/list-manager/
- Crossing Manager - http://<tomcatHost>:<tomcatPort>/BreedingManager/main/crosses/
- Germplasm Import - http://<tomcatHost>:<tomcatPort>/BreedingManager/main/germplasm-import/
- Nursery Template Wizard - http://<tomcatHost>:<tomcatPort>/BreedingManager/main/nursery-template/
To setup remote debugging:
- In Windows: set
MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
- Go to IDE, setup remote debugging application, choose socket attach and input the correct port number.
- Happy debugging