Class EclipseUtil

java.lang.Object
aQute.bnd.osgi.eclipse.EclipseUtil

public class EclipseUtil extends Object
  • Constructor Details

    • EclipseUtil

      public EclipseUtil()
  • Method Details

    • getClasspath

      public static String getClasspath(Project model) throws Exception
      Get the .classpath file for a project
       <?xml version="1.0" encoding="UTF-8"?>
              
              
                                      
                                      
                                              
                                      
                              
              
              
                      
                      
                              
                      
              
              
              
       
      Parameters:
      model -
      Throws:
      Exception
    • createClasspath

      public static void createClasspath(Project model) throws Exception
      Create a classpath for the project, overwriting an existing classpath
      Parameters:
      model - the project
      Throws:
      Exception
    • relative

      private static String relative(Project model, File output)
    • fixDirectories

      public static void fixDirectories(Project model) throws Exception
      Fix the source & test directories if they are empty
      Parameters:
      model - the project
      Throws:
      Exception
    • createProject

      public static void createProject(Project model) throws Exception
      Create a classpath for the project, overwriting an existing classpath
      Parameters:
      model - the project
      Throws:
      Exception
    • getProjectDescription

      public static String getProjectDescription(Project model)
    • buildCommand

      private static void buildCommand(Tag buildSpec, String string)