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

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.GetSourcePathTask
                  extended by net.sf.ant4eclipse.ant.task.project.GetCSourcePathTask

public class GetCSourcePathTask
extends GetSourcePathTask

A task that is used to retrieve the source path of a C/C++ project.


Constructor Summary
GetCSourcePathTask()
          Initializes this task.
 
Method Summary
 boolean isNoIncludes()
          Returns true if include pathes aren't allowed as a part of the source pathes.
protected  ResolvedPathEntry[] resolvePath()
           Resolves the current path.
 void setNoIncludes(boolean noincludes)
          Allows/disallows include pathes to be a part of the source path.
 
Methods inherited from class net.sf.ant4eclipse.ant.task.project.GetSourcePathTask
isAllowMultipleFolders, setAllowMultipleFolders
 
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

GetCSourcePathTask

public GetCSourcePathTask()
Initializes this task.

Method Detail

setNoIncludes

public void setNoIncludes(boolean noincludes)
Allows/disallows include pathes to be a part of the source path.

Parameters:
noincludes - true <=> Include pathes are not allowed to be a part of the source pathes.

isNoIncludes

public boolean isNoIncludes()
Returns true if include pathes aren't allowed as a part of the source pathes.

Returns:
true <=> Includes pathes aren't allowed as a part of the source pathes.

resolvePath

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

Resolves the current path.

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