Overview

Project: Ant Eclipse Task
Description: An Ant task for generating an Eclipse project.
License: GPL
Current Release: 1.0.1 (source) (binary)

This task is based on the EclipseClasspath task by Chris Cooper.

Usage

Download the jar and in your build.xml add something like:

 <taskdef name="eclipse" classname="org.sarugo.ant.eclipse.EclipseTask"
 classpath="ant-eclipse.jar"/>
 
 <eclipse todir="." defaultBuildDir="bin">
  <sourcepath refid="project.src.path"/>
  <globmapper from="src/*" to="build/*"/>
  <classpath refid="project.class.path"/>
 </eclipse>

The globmapper can be any Ant mapper and translates source path elements into build directories.

Support

Currently raising tickets and editing the wiki is not enabled for public access until we sort out some anti-spam measures. For support e-mail ant-eclipse@sarugo.org.

Attachments