net.sf.ant4eclipse.ant.task.project
Class GetEclipseClassPathTask

java.lang.Object
  extended by Task
      extended by net.sf.ant4eclipse.ant.task.project.AbstractProjectBasedTask
          extended by net.sf.ant4eclipse.ant.task.project.AbstractGetProjectPathTask
              extended by net.sf.ant4eclipse.ant.task.project.GetEclipseClassPathTask

public class GetEclipseClassPathTask
extends AbstractGetProjectPathTask


Constructor Summary
GetEclipseClassPathTask()
           
 
Method Summary
 java.io.File getTargetPlatformLocation()
           Returns the target platform against which the workspace plugins will be compiled and tested.
 boolean isRuntime()
           
 boolean isTargetPlatformLocationSet()
           Returns whether the target platform location is set.
protected  ResolvedPathEntry[] resolvePath()
           Resolves the current path.
 void setClasspathId(java.lang.String id)
           
 void setRuntime(boolean runtime)
           
 void setTargetPlatformLocation(java.io.File targetPlatformLocation)
           Sets the target platform against which the workspace plugins will be compiled and tested.
 
Methods inherited from class net.sf.ant4eclipse.ant.task.project.AbstractGetProjectPathTask
execute, getPathId, getPathSeparator, getProperty, getResolvedPath, isPathIdSet, isPathSeparatorSet, isPropertySet, isRelative, populatePathId, populateProperty, requirePathIdOrPropertySet, setPathId, setPathSeparator, setProperty, setRelative, setResolvedPath
 
Methods inherited from class net.sf.ant4eclipse.ant.task.project.AbstractProjectBasedTask
ensureJavaProject, getEclipseProject, getWorkspace, hasText, isProjectNameSet, isProjectSet, isWorkspaceSet, requireWorkspaceAndProjectNameOrProjectSet, requireWorkspaceSet, setInitialiseWorkspace, setProject, setProjectName, setWorkspace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetEclipseClassPathTask

public GetEclipseClassPathTask()
Method Detail

getTargetPlatformLocation

public final java.io.File getTargetPlatformLocation()

Returns the target platform against which the workspace plugins will be compiled and tested.

Returns:
the target platform against which the workspace plugins will be compiled and tested.

setTargetPlatformLocation

public void setTargetPlatformLocation(java.io.File targetPlatformLocation)

Sets the target platform against which the workspace plugins will be compiled and tested.

Parameters:
targetPlatformLocation - the target platform against which the workspace plugins will be compiled and tested.

isTargetPlatformLocationSet

public boolean isTargetPlatformLocationSet()

Returns whether the target platform location is set.

Returns:
whether the target platform location is set.

setClasspathId

public void setClasspathId(java.lang.String id)
Parameters:
id -

isRuntime

public boolean isRuntime()
Returns:
Returns the runtime.

setRuntime

public void setRuntime(boolean runtime)
Parameters:
runtime - The runtime to set.

resolvePath

protected ResolvedPathEntry[] resolvePath()
                                   throws java.lang.Exception

Resolves the current path.

Specified by:
resolvePath in class AbstractGetProjectPathTask
Returns:
A list of resolved pathes.
Throws:
java.lang.Exception - The resolving process failed for some reason.