-
Notifications
You must be signed in to change notification settings - Fork 0
Project Setup
Rob Crocombe edited this page Jul 23, 2016
·
11 revisions
Codegen requires the following software:
- Java 1.8
- Java JDK 8
- Apache Tomcat 8.0.36
- Eclipse IDE for Java EE Developers Neon, which should include:
- Maven
- EMF
- Ant
- JUnit
- Epsilon 1.3 JAR (kitchen sink)
- xmlparser.jar from my repository (download the release or build yourself)
- Import project into your Eclipse workspace.
- Add Epsilon and xmlparser JARs to
/WebContent/WEB-INF/libdirectory insideCodeGeneratorproject. - Check that Maven has added the required dependancies.
- Setup Tomcat as a server, add
CodeGeneratorto the configured list. - Create run configurations for each executable:
-
CodeGeneratorshould already be in the Tomcat config. -
Clientshould be a Java App. - All tests should be JUnit.
-
- Set environmental variables:
- gen_path
- output_path
- Test the project is working with the JUnit tests.
Sometimes after restarting the server it refuses to work. Try one of the following:
- Restart Eclipse.
- Right click the Server and choose the
Clean…option. - Right click the Server and choose to monitor port 8080.