net.sf.ant4eclipse.tools.internal
Class ReferencedProjectsResolver

java.lang.Object
  extended by net.sf.ant4eclipse.tools.internal.ReferencedProjectsResolver

public class ReferencedProjectsResolver
extends java.lang.Object


Constructor Summary
ReferencedProjectsResolver()
           
 
Method Summary
static EclipseProject[] getProjectsReferencedByClasspath(EclipseProject eclipseProject, boolean exportedProjectsOnly)
          Returns all projects that referenced by this project's classpath.
static EclipseProject[] getReferencedProjects(EclipseProject eclipseProject, boolean recursive)
          Returns all projects that are referenced by this project's .project file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReferencedProjectsResolver

public ReferencedProjectsResolver()
Method Detail

getReferencedProjects

public static EclipseProject[] getReferencedProjects(EclipseProject eclipseProject,
                                                     boolean recursive)
                                              throws BuildOrderException,
                                                     FileParserException
Returns all projects that are referenced by this project's .project file

Parameters:
eclipseProject -
recursive -
Returns:
Throws:
BuildOrderException
FileParserException - TODO check for endless cyclic dependencies

getProjectsReferencedByClasspath

public static EclipseProject[] getProjectsReferencedByClasspath(EclipseProject eclipseProject,
                                                                boolean exportedProjectsOnly)
                                                         throws BuildOrderException,
                                                                FileParserException
Returns all projects that referenced by this project's classpath.

Parameters:
eclipseProject -
exportedProjectsOnly -
Returns:
Throws:
BuildOrderException
FileParserException