The only requirements are a current version of Java ( JDK 5.0 or better) and the latest version of Maven 2.
See the Quick Start page.
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
Building from the source repository
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.