The Gpp source is available from the SourceForge project web site as both a .zip or as a .tar.gz. Get the latest release from here.
See the section Building Gpp on how to build Gpp from the source code.
To build and use Gpp, you must have an Ant 1.6.x release
installed and ANT_HOME
defined. The necessary Groovy libraries
are included with Gpp.
Finally, to execute Gpp, you will also need a JDK installed on your system, version 1.4.2 or later.
Before Ant 1.6, extensions were installed by copying .jars into
$ANT_HOME/lib
. Since 1.6, there is a new way to extend Ant
using the Antlib convention. Gpp may either be installed as an
extension or as an Antlib.
Note: How you will use Gpp in your projects depends on whether you install Gpp as an extension or as an Antlib.
ANT_HOME
, if you haven't alreadyant deploy
ANT_HOME
, if you haven't already.$GPP_HOME/groovytools-ant-x.0.0.jar
to
your CLASSPATH
.
The Gpp distribution consists of the following directory layout:
$Gpp_HOME // installation directory | +--- doc // contains documentation | | | +--- api // contains Gpp Javadoc API | | | +--- howto // contains various Gpp howto guides | | | +--- manual // contains this manual | +--- example // contains a simple project demonstrating Gpp | +--- lib // contains Gpp and dependent jars | +--- src // contains Gpp sources
Building Gpp from source requires Ant 1.6 or later and JDK 1.4.2 or later.
To build, simply:
ant build deploy
.Gpp depends on the following libraries:
Jar Name | Version | Available At |
ant.jar |
|
http://ant.apache.org |
groovy-all-1.0.jar | 1.0 | http://groovy.codehaus.org |
Copyright © 2007 FoundryLogic, LLC. All rights Reserved.