|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.ow2.jonas.ant.BootstrapTask
public abstract class BootstrapTask
Allow to use the BootStrap class
It allows to do some operations like
| Field Summary |
|---|
| Fields inherited from class org.apache.tools.ant.Task |
|---|
target, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
|---|
description, location, project |
| Constructor Summary | |
|---|---|
BootstrapTask()
|
|
| Method Summary | |
|---|---|
org.apache.tools.ant.types.Path |
createClasspath()
Adds to the classpath the class of the project. |
protected org.apache.tools.ant.taskdefs.Java |
getBootstraptask(String definedClass)
|
protected org.apache.tools.ant.taskdefs.Java |
getBootstraptask(String definedClass,
boolean assignClasspath)
Run the task. |
String |
getDomainName()
|
File |
getJonasRoot()
|
String |
getMaven2Repository()
|
String |
getServerName()
|
String |
getTaskName()
|
void |
setCatalinaHome(String catalinaHome)
Deprecated. |
void |
setClasspath(org.apache.tools.ant.types.Path classpath)
Set the classpath for this task. |
void |
setDomainName(String domainName)
Set domainName. |
void |
setJettyHome(String jettyHome)
Deprecated. |
void |
setJonasBase(File jonasBase)
Set the JOnAS base directory. |
void |
setJonasRoot(File jonasRoot)
Set the JOnAS root directory. |
void |
setJvmopts(String jvmOpts)
Set the additional args to pass to the JVM. |
void |
setServerName(String serverName)
Set the name of the server. |
void |
setTaskName(String taskName)
Set the name of the task. |
| Methods inherited from class org.apache.tools.ant.Task |
|---|
bindToOwner, execute, getOwningTarget, getRuntimeConfigurableWrapper, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskType |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
|---|
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BootstrapTask()
| Method Detail |
|---|
public void setJonasRoot(File jonasRoot)
jonasRoot - the JOnAS root directory.public void setJonasBase(File jonasBase)
jonasBase - the JOnAS base directory.public void setJvmopts(String jvmOpts)
jvmOpts - the options.public org.apache.tools.ant.types.Path createClasspath()
public void setClasspath(org.apache.tools.ant.types.Path classpath)
classpath - the classpath to use.protected org.apache.tools.ant.taskdefs.Java getBootstraptask(String definedClass)
definedClass -
BootstrapTask.getBootstrapTask(String, boolean)
protected org.apache.tools.ant.taskdefs.Java getBootstraptask(String definedClass,
boolean assignClasspath)
definedClass - Main class to runassignClasspath - if true, will set the default Classpath for Ant task
Java configured ant taskTask.execute()public String getTaskName()
getTaskName in class org.apache.tools.ant.Taskpublic void setTaskName(String taskName)
setTaskName in class org.apache.tools.ant.TasktaskName - Name of the taskpublic String getServerName()
public void setServerName(String serverName)
serverName - The serverName to set.@Deprecated public void setCatalinaHome(String catalinaHome)
catalinaHome - The catalinaHome to set.@Deprecated public void setJettyHome(String jettyHome)
jettyHome - The jettyHome to set.public File getJonasRoot()
public String getMaven2Repository()
public String getDomainName()
public void setDomainName(String domainName)
domainName - The domainName to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||