Package aQute.bnd.osgi.eclipse
Class EclipseUtil
- java.lang.Object
-
- aQute.bnd.osgi.eclipse.EclipseUtil
-
public class EclipseUtil extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description EclipseUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
createClasspath(Project model)
Create a classpath for the project, overwriting an existing classpathstatic void
createProject(Project model)
Create a classpath for the project, overwriting an existing classpathstatic void
fixDirectories(Project model)
Fix the source & test directories if they are emptystatic java.lang.String
getClasspath(Project model)
Get the .classpath file for a projectstatic java.lang.String
getProjectDescription(Project model)
-
-
-
Method Detail
-
getClasspath
public static java.lang.String getClasspath(Project model) throws java.lang.Exception
Get the .classpath file for a project- Parameters:
model
-- Throws:
java.lang.Exception
-
createClasspath
public static void createClasspath(Project model) throws java.lang.Exception
Create a classpath for the project, overwriting an existing classpath- Parameters:
model
- the project- Throws:
java.lang.Exception
-
fixDirectories
public static void fixDirectories(Project model) throws java.lang.Exception
Fix the source & test directories if they are empty- Parameters:
model
- the project- Throws:
java.lang.Exception
-
createProject
public static void createProject(Project model) throws java.lang.Exception
Create a classpath for the project, overwriting an existing classpath- Parameters:
model
- the project- Throws:
java.lang.Exception
-
getProjectDescription
public static java.lang.String getProjectDescription(Project model)
-
-