aQute.lib.osgi.eclipse
Class EclipseClasspath

java.lang.Object
  extended by aQute.lib.osgi.eclipse.EclipseClasspath

public class EclipseClasspath
extends java.lang.Object

Parse the Eclipse project information for the classpath. Unfortunately, it is impossible to read the variables. They are ignored but that can cause problems.


Field Summary
static int DO_VARIABLES
           
 
Constructor Summary
EclipseClasspath(Reporter reporter, java.io.File workspace, java.io.File project)
           
EclipseClasspath(Reporter reporter, java.io.File workspace, java.io.File project, int options)
          Parse an Eclipse project structure to discover the classpath.
 
Method Summary
 java.util.Set<java.io.File> getAllSources()
           
 java.util.Set<java.io.File> getBootclasspath()
           
 java.util.Set<java.io.File> getClasspath()
           
 java.util.List<java.io.File> getDependents()
           
 java.util.Set<java.io.File> getExports()
           
 java.io.File getOutput()
           
 java.util.Set<java.io.File> getSourcepath()
           
 void setProperties(java.util.Map<java.lang.String,java.lang.String> map)
           
 void setRecurse(boolean recurse)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DO_VARIABLES

public static final int DO_VARIABLES
See Also:
Constant Field Values
Constructor Detail

EclipseClasspath

public EclipseClasspath(Reporter reporter,
                        java.io.File workspace,
                        java.io.File project,
                        int options)
                 throws java.lang.Exception
Parse an Eclipse project structure to discover the classpath.

Parameters:
workspace - Points to workspace
project - Points to project
Throws:
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException
java.lang.Exception

EclipseClasspath

public EclipseClasspath(Reporter reporter,
                        java.io.File workspace,
                        java.io.File project)
                 throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getClasspath

public java.util.Set<java.io.File> getClasspath()

getSourcepath

public java.util.Set<java.io.File> getSourcepath()

getOutput

public java.io.File getOutput()

getDependents

public java.util.List<java.io.File> getDependents()

setRecurse

public void setRecurse(boolean recurse)

getExports

public java.util.Set<java.io.File> getExports()

setProperties

public void setProperties(java.util.Map<java.lang.String,java.lang.String> map)

getBootclasspath

public java.util.Set<java.io.File> getBootclasspath()

getAllSources

public java.util.Set<java.io.File> getAllSources()