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 void
copy(java.lang.String source, java.lang.String dest, Project p)
void
created(Project p)
void
init(Workspace ws)
Called when the plugin is setup.java.lang.String
toString()
-
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:
created
in 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:
toString
in classjava.lang.Object
-
init
public void init(Workspace ws) throws java.lang.Exception
Description copied from class:LifeCyclePlugin
Called when the plugin is setup. This plugin will be added to the setup but the workspace is not yet refreshed.- Overrides:
init
in classLifeCyclePlugin
- Throws:
java.lang.Exception
-
-