...
Documents setting up code, config, and data in a development environment using Eclipse.
Prerequisites
- Git client (i.e. Tortoise Git)
- Java 8 installed
- Mysql 6.3 installed
- Maven 3.3.9. installed
- Tomcat 8 installed and configured
- Eclipse Oxygen - J2EE edition
- Note that the below are likely deprecated (added in 2015) but leaving them here in case needed for reference
- Use version 4.4 (Luna) - J2EE edition
- m2e (the maven integration for eclipse - download from the market place)
- m2e-egit connector
- eGit - http://eclipse.github.com/
- Jautodoc - import configuration from Code and XML Formatting in Eclipse
- ObjectAid UML Diagram tool for class hierarchy visualization. Installed via Help->Install New Software. Instructions athttp://www.objectaid.net/installation
- FindBugs (static code analysis)
- AngularJS - see https://github.com/angelozerr/angularjs-eclipse/wiki/Getting-Started
- m2e (the maven integration for eclipse - download from the market place)
...
Step 2 - Clone repository
Clone the Github repository to the directory created to hold the code.
...
- NOTE: this uses the standard "dev-windows" configuration. To use a different configuration artifact pass the following three parameters:
- -Dconfig.groupId=...
- -Dconfig.artifactId=...
- -Dconfig.version=...
- NOTE: the specified configuration artifact must either have been built locally or be an a repository accessible based on the settings.xml file
- For most dev deployments, the default build is fine because the only setting really used for the rest/webapp packages is the "base.url" which by default is set to http://localhost:8080/termumls-server-rest./
- For a production deployment, you would want to use a different setting. For example, see Deploy Instructions for the prod deployment instructions.
...