Building and Running a Sample using ANT
- Set an environment variable called SWTHOME that references the location you installed SWT.
- Set an environment variable called ECLIPSE_HOME that references the location you installed ECLIPSE.
- There is an ant build.xml file located in the base directory of each sample.
- From the base directory of the sample just run ant. The default ant target will generate the stubs, compile the Java code and then run the sample.