Installation

Requirements

The only requirements are a current version of Java ( JDK 5.0 or better) and the latest version of Maven 2.

Maven 2

See the Quick Start page.

Ant

Note: Ant support is currently hampered by dependency issues. For now, it's better to start with Maven and switch to Ant.

To use RevGen from Ant, paste this target into your build file:

<target name="revgen" depends="" unless="skipgen" description="RevGen code generator">
        <java classname="org.javagen.revgen.SpringMain" fork="true" failonerror="yes" classpathref="build.classpath">
                <arg value="classpath:/RevGenSpringConfig.xml"/>
                <arg value="file:src/revgen/revgen.properties"/>
        </java>
</target>

To download RevGen dependencies, type:

 ant getRevgen

You can also use Maven to generate a stand-alone Ant build file (including a dependency download target) by typing:

mvn ant:ant

From Source

Building from the source repository

  1. Checkout the module, see Source Repository.
  2. Check build by typing: mvn
  3. To publish to your local Maven repository type: mvn install

Eclipse IDE

To generate an Eclipse project for RevGen, type:

 mvn eclipse:eclipse

Even better you can use the Maven 2 Eclipse Plugin to utilize the pom.xml file dependencies directly.

Other IDE's are supported in a similar fashion.