|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jonas.ant.JOnASAntTool
public final class JOnASAntTool
Common constants or methods used by several classes of the package.
| Field Summary | |
|---|---|
static String[] |
APPS_LIST
List of Apps to copy for each JONAS_BASE. |
static String[] |
EJBJARS_LIST
List of EjbJars to copy for each JONAS_BASE. |
static String[] |
RARS_LIST
List of Rars to copy for each JONAS_BASE. |
static String[] |
WARS_LIST
List of Wars to copy for each JONAS_BASE. |
| Method Summary | |
|---|---|
static void |
configure(org.apache.tools.ant.Task srcTask,
org.apache.tools.ant.Task dstTask)
Configure the given task by setting name, project root, etc. |
static org.apache.tools.ant.types.Environment.Variable |
createVariable(String key,
File value)
Create an Ant Environment.Variable configured with an absolute File path as value. |
static org.apache.tools.ant.types.Environment.Variable |
createVariable(String key,
String value)
Create an Ant Environment.Variable configured with a simple value. |
static void |
deleteAllFiles(File aFile)
Delete a file. |
static void |
updateJonasBase(org.apache.tools.ant.Task antTask,
File jonasRoot,
File destDir)
Update the JONAS_BASE directory with ejbjars, webapps, rars, etc. |
static void |
updateJonasBaseForArchives(org.apache.tools.ant.Task antTask,
File jonasRoot,
File destDir,
Archives archives,
String folderName,
String[] listOfIncludes)
Update JONAS_BASE with given archives with lists of includes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String[] WARS_LIST
public static final String[] RARS_LIST
public static final String[] EJBJARS_LIST
public static final String[] APPS_LIST
| Method Detail |
|---|
public static void updateJonasBase(org.apache.tools.ant.Task antTask,
File jonasRoot,
File destDir)
antTask - target taskjonasRoot - JONAS_ROOTdestDir - destination directory
public static void updateJonasBaseForArchives(org.apache.tools.ant.Task antTask,
File jonasRoot,
File destDir,
Archives archives,
String folderName,
String[] listOfIncludes)
antTask - target taskjonasRoot - JONAS_ROOTdestDir - destination directoryarchives - tasks (webapps, rars, ejbjars)folderName - where to put fileslistOfIncludes - files to include
public static void configure(org.apache.tools.ant.Task srcTask,
org.apache.tools.ant.Task dstTask)
srcTask - source taskdstTask - destination taskpublic static void deleteAllFiles(File aFile)
aFile - file to delete.
public static org.apache.tools.ant.types.Environment.Variable createVariable(String key,
String value)
Environment.Variable configured with a simple value.
key - variable namevalue - variable value
Environment.Variable
public static org.apache.tools.ant.types.Environment.Variable createVariable(String key,
File value)
Environment.Variable configured with an absolute File path as value.
key - variable namevalue - variable value
Environment.Variable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||