Navigation



Building and Running a Sample using ANT

  1. Set an environment variable called SWTHOME that references the location you installed SWT.
  2. Set an environment variable called ECLIPSE_HOME that references the location you installed ECLIPSE.
  3. There is an ant build.xml file located in the base directory of each sample.
  4. 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.