public final class JkPluginEclipse extends JkPlugin
Modifier and Type | Field and Description |
---|---|
java.lang.String |
jreContainer
If not null, this value will be used as the JRE container path when generating .classpath file.
|
boolean |
useVarPath
Flag to set whether 'all' task should use absolute paths instead of classpath variables
|
Modifier | Constructor and Description |
---|---|
protected |
JkPluginEclipse(JkCommandSet run) |
Modifier and Type | Method and Description |
---|---|
protected void |
activate()
Override this method to modify the commands itself or its bound plugins.
|
JkPluginEclipse |
addAccessRule(JkDependency dependency,
java.lang.String kind,
java.lang.String pattern)
For the specified dependency, specify a child accessrule tag to add to the mapping classpathentry tag.
|
JkPluginEclipse |
addAttribute(JkDependency dependency,
java.lang.String name,
java.lang.String value)
For the specified dependency, specify a child attribute tag to add to the mapping classpathentry tag.
|
void |
all() |
void |
files() |
static JkJavaIdeSupport |
getProjectIde(JkCommandSet commands) |
void |
setStandardJREContainer(java.lang.String jreName)
Set the JRE container to the Eclipse Standard VM type with the desired name.
|
getCommandSet, getLowestJekaCompatibleVersion, help, init, name, toString
public java.lang.String jreContainer
public boolean useVarPath
protected JkPluginEclipse(JkCommandSet run)
public void setStandardJREContainer(java.lang.String jreName)
protected void activate()
JkPlugin
public void files()
public void all()
public JkPluginEclipse addAttribute(JkDependency dependency, java.lang.String name, java.lang.String value)
dependency
- The dependency paired to the classpathentry we want generate `JkModuleDependency
or a
JkFileSystemDependency
.
If it is a module dependency, it can be a direct or transitive dependency and only group:name
is relevant.public JkPluginEclipse addAccessRule(JkDependency dependency, java.lang.String kind, java.lang.String pattern)
dependency
- The dependency paired to the classpathentry we want generate `JkModuleDependency
or a
JkFileSystemDependency
.
If it is a module dependency, it can be a direct or transitive dependency and only group:name
is relevant.public static JkJavaIdeSupport getProjectIde(JkCommandSet commands)