This example program shows a typical automated build using the
workbench Ant tasks.
To run the automated Ant build example:
- Go to the com.ibm.etools.j2ee.ant directory under your workbench
installation (for example, <installdir>\IBM\SDP70\samples\AutoBuild\).
- Edit the runAnt.bat (or runAnt.sh)
program to set your WORKSPACE variable.
- Unzip the Example.zip file. This creates an Example
directory with subdirectories.
- Edit the file buildExample.preferences to set
the variable WAS_60_INSTALLDIR.
- Do not change the variable name.
- The variable must point to a WebSphere® Application Server installation.
- Run buildExample.bat (or buildExample.sh).
- Sample projects are imported and built (AdderJava, AdderWAR, AdderEJB,
AdderEAR)
- AdderEAR.ear is created as the output result
Important: This is an Example program only. Do not use
it to build production applications.