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 String
get
(NamedNodeMap map, String name) private File
(package private) void
Recursive routine to parse the files.private File
replaceVar
(String path) void
setProperties
(Map<String, String> map) void
setRecurse
(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:
ParserConfigurationException
SAXException
IOException
Exception
-
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:
ParserConfigurationException
SAXException
IOException
-
getFile
-
replaceVar
-
get
-
getClasspath
-
getSourcepath
-
getOutput
-
getDependents
-
setRecurse
public void setRecurse(boolean recurse) -
getExports
-
setProperties
-
getBootclasspath
-
getAllSources
-