Welcome to DeadEd.com
Saturday, May 17 2008 @ 08:48 AM CDT

ClasspathTask


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="${component.name}" 
    ProjectClasspathProperty="project.classpath"/>


Last Updated Monday, November 21 2005 @ 07:35 PM CST; 1,567 Hits View Printable Version