aQute.lib.osgi.eclipse
Class EclipseClasspath

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

public class EclipseClasspath
extends 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
static int DO_VARIABLES
           
 
Constructor Summary
EclipseClasspath(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
 Set<File> getAllSources()
           
 Set<File> getBootclasspath()
           
 Set<File> getClasspath()
           
 List<File> getDependents()
           
 Set<File> getExports()
           
 File getOutput()
           
 Set<File> getSourcepath()
           
 void setProperties(Map<String,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,
                        File workspace,
                        File project,
                        int options)
                 throws Exception
Parse an Eclipse project structure to discover the classpath.

Parameters:
workspace - Points to workspace
project - Points to project
Throws:
ParserConfigurationException
SAXException
IOException
Exception

EclipseClasspath

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

getClasspath

public Set<File> getClasspath()

getSourcepath

public Set<File> getSourcepath()

getOutput

public File getOutput()

getDependents

public List<File> getDependents()

setRecurse

public void setRecurse(boolean recurse)

getExports

public Set<File> getExports()

setProperties

public void setProperties(Map<String,String> map)

getBootclasspath

public Set<File> getBootclasspath()

getAllSources

public Set<File> getAllSources()


Copyright © 2012 aQute SARL. All Rights Reserved.