This project is meant to showcase Apache Ant for OpenEdge Developers. It includes some basic code as well as a basic build.xml file. It accompanies the presentation "Building Your Ant Colony: Designing An Automated Build System with Apache Ant" presented at the PUG Challenge Americas 2017.
Slides for that talk are available here: https://speakerdeck.com/jcleaver/intro-to-ant
Fortunately, Ant is already installed alongside PDSOE. This guide assumes that you already have PDSOE installed. This guide also assumes that you are on a Windows platform. While the gist of it is the same for OS X, the mechanics of setting environment variables is very different.
Throughout, I will use $DLC
to refer to the OpenEdge install directory.
Whenever you see that, replace it with the path to your OpenEdge install.
- To access environment variables, type
environment variables
in the start menu. - Select the option to"Edit the System Envirionment Variables"
- On the bottom of the "Advanced" tab, click the "Environment Variables" button.
- If it isn't already, add
JAVA_HOME
with a value of$DLC\jdk
- Add a new system variable called
ANT_HOME
with a value of$DLC\oeide\eclipse\plugins\org.apache.ant_1.8.4.v201303080030
.- Note that the version number might not be exact. This is the number for
11.6.2. Check the
plugins
folder to make sure you have the right one.
- Note that the version number might not be exact. This is the number for
11.6.2. Check the
- Add the
bin
directory to yourPATH
variable.- The
PATH
is a semi-colon delimited list. When you edit it, make sure to put a semi-colon after the last entry if there isn't one and then add$DLC\oeide\eclipse\plugins\org.apache.ant_1.8.4.v201303080030\bin;
to the end.- As above, make sure to use the correct version number for the Ant folder.
- The
For in-depth and up-to-date information, please see the PCT Wiki.
- Download the latest PCT Jar file from the PCT Github Repository.
- Copy the .jar file to
$ANT_HOME\lib
.