Package aQute.bnd.plugin.eclipse
Class EclipsePlugin
- java.lang.Object
-
- aQute.bnd.service.lifecycle.LifeCyclePlugin
-
- aQute.bnd.plugin.eclipse.EclipsePlugin
-
public class EclipsePlugin extends LifeCyclePlugin
This plugin creates a build.xml file in the project when a project gets created. You can either store a template under cnf/ant/project.xml or a default is taken.
-
-
Constructor Summary
Constructors Constructor Description EclipsePlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidcopy(java.lang.String source, java.lang.String dest, Project p)voidcreated(Project p)voidinit(Workspace ws)Called when the plugin is setup.java.lang.StringtoString()-
Methods inherited from class aQute.bnd.service.lifecycle.LifeCyclePlugin
addedPlugin, augmentSetup, close, delete, opened, removedPlugin
-
-
-
-
Method Detail
-
created
public void created(Project p) throws java.io.IOException
- Overrides:
createdin classLifeCyclePlugin- Throws:
java.io.IOException
-
copy
private void copy(java.lang.String source, java.lang.String dest, Project p) throws java.io.IOException- Throws:
java.io.IOException
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
init
public void init(Workspace ws) throws java.lang.Exception
Description copied from class:LifeCyclePluginCalled when the plugin is setup. This plugin will be added to the setup but the workspace is not yet refreshed.- Overrides:
initin classLifeCyclePlugin- Throws:
java.lang.Exception
-
-