Package aQute.bnd.osgi.eclipse
Class EclipseClasspath
- java.lang.Object
-
- aQute.bnd.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. @version $Revision: 1.2 $
-
-
Field Summary
Fields Modifier and Type Field Description static int
DO_VARIABLES
-
Constructor Summary
Constructors Constructor Description EclipseClasspath(aQute.service.reporter.Reporter reporter, java.io.File workspace, java.io.File project)
EclipseClasspath(aQute.service.reporter.Reporter reporter, java.io.File workspace, java.io.File project, int options)
Parse an Eclipse project structure to discover the classpath.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
-
-
-
Field Detail
-
DO_VARIABLES
public static final int DO_VARIABLES
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EclipseClasspath
public EclipseClasspath(aQute.service.reporter.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 workspaceproject
- Points to project- Throws:
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException
java.lang.Exception
-
EclipseClasspath
public EclipseClasspath(aQute.service.reporter.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()
-
-