Skip to content

Project Setup

Rob Crocombe edited this page Jul 23, 2016 · 11 revisions

Requirements

Codegen requires the following software:

  • Java 1.8
  • Java JDK 8
  • Apache Tomcat 7.0.70
  • Eclipse IDE for Java EE Developers Mars (or newer - untested), which should include:
    • Maven
    • EMF
    • Ant
    • JUnit
  • Epsilon 1.3 JAR (kitchen sink)
  • xmlparser.jar from my repository (download the release or build yourself)

Running Codegen

  1. Import project into your Eclipse workspace.
  • Add Epsilon and xmlparser JARs to /WEB-INF/lib directory inside CodeGenerator project.
  • Ensure Maven has added the required dependancies.
  • Setup Tomcat as a server, add CodeGenerator to project list.
  • Create run configurations for each executable:
    • CodeGenerator should already be in the Tomcat config.
    • GeneratorTests should be JUnit
    • ValidationTests should be JUnit
    • ClientTests should be JUnit
    • Client should be a Java App
  • Set environmental variables:
    • gen_path
    • output_path
  • Test the project is working with the JUnit tests.

Clone this wiki locally