Description
Obtains the basic classpath from an Eclipse/WSAD project into a property. The resulting classpath contains absolute paths and file names to any JAR file on the projects build path.
To use this as an ANT task, you will need to add a taskdef to your build file:
<taskdef name="getclasspath" classname="com.deaded.ant.ClasspathTask" classpath="commonAntTasks.jar"/>
Parameters
| Attribute | Description | Required |
| ProjectName | The name of the WSAD project to get the classpath from | Yes |
| ProjectClasspathProperty | The name of the property to put the result in | Yes |
Example
This takes the classpath from the component.name and puts it into the project.classpath property
<getclasspath ProjectName="$"
ProjectClasspathProperty="project.classpath"/>
DeadEd.com
http://www.deaded.com/staticpages/index.php/classpathtask