Class 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.
    • 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 workspace
        project - 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()