Package aQute.bnd.osgi.eclipse
Class EclipseClasspath
java.lang.Object
aQute.bnd.osgi.eclipse.EclipseClasspath
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 -
Constructor Summary
ConstructorsConstructorDescriptionEclipseClasspath(Reporter reporter, File workspace, File project) EclipseClasspath(Reporter reporter, File workspace, File project, int options) Parse an Eclipse project structure to discover the classpath. -
Method Summary
Modifier and TypeMethodDescriptionprivate Stringget(NamedNodeMap map, String name) private File(package private) voidRecursive routine to parse the files.private FilereplaceVar(String path) voidsetProperties(Map<String, String> map) voidsetRecurse(boolean recurse)
-
Field Details
-
Constructor Details
-
EclipseClasspath
public EclipseClasspath(Reporter reporter, File workspace, File project, int options) throws Exception Parse an Eclipse project structure to discover the classpath.- Parameters:
workspace- Points to workspaceproject- Points to project- Throws:
ParserConfigurationExceptionSAXExceptionIOExceptionException
-
EclipseClasspath
- Throws:
Exception
-
-
Method Details
-
parse
void parse(File project, boolean top) throws ParserConfigurationException, SAXException, IOException Recursive routine to parse the files. If a sub project is detected, it is parsed before the parsing continues. This should give the right order.- Parameters:
project- Project directorytop- If this is the top project- Throws:
ParserConfigurationExceptionSAXExceptionIOException
-
getFile
-
replaceVar
-
get
-
getClasspath
-
getSourcepath
-
getOutput
-
getDependents
-
setRecurse
public void setRecurse(boolean recurse) -
getExports
-
setProperties
-
getBootclasspath
-
getAllSources
-