Run Ant from within Eclipse

The following section has to be added to build.xml to have Eclipse run Ant.

<!-- javac resolver --> 
    <available 
classname="org.eclipse.core.launcher.Main" 
property="build.compiler" 
value="org.eclipse.pde.internal.core.JDTCompilerAdapter" 
classpath="${java.class.path}" 
/>

Tini and Eclipse

Some experience gained today that can become useful.

If you select Run Ant on a build.xml file that uses the tasks defined in TiniAnt the run will fail since eclipse will not find the TiniAnt jar-file. To fix this, select Preferences in the Window Menu. Expand the Ant->Runtime tab in the list. Press Add JARs-button and point to you TiniAnt.jar file.