|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.jonas.ant.JOnASAntTool
public class JOnASAntTool
Common constants or methods used by several classes of the package
Field Summary | |
---|---|
static java.lang.String[] |
APPS_LIST
List of Apps to copy for each JONAS_BASE |
static java.lang.String |
CAROL_CONF_FILE
Name of Carol configuration file |
static java.lang.String[] |
EJBJARS_LIST
List of EjbJars to copy for each JONAS_BASE |
static java.lang.String |
JETTY_CONF_FILE
Name of Tomcat configuration file |
static java.lang.String |
JONAS_CONF_FILE
Name of JOnAS configuration file |
static java.lang.String |
JORAM_ADMIN_CONF_FILE
Name of Joram admin configuration file (resource adaptor) |
static java.lang.String |
JORAM_CONF_FILE
Name of Joram configuration file |
static java.lang.String |
P6SPY_CONF_FILE
Name of P6Spy configuration file |
static java.lang.String[] |
RARS_LIST
List of Rars to copy for each JONAS_BASE |
static java.lang.String |
TOMCAT_CONF_FILE
Name of Tomcat configuration file |
static java.lang.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 void |
deleteAllFiles(java.io.File aFile)
Delete a file. |
static void |
updateJonasBase(org.apache.tools.ant.Task antTask,
java.io.File jonasRoot,
java.io.File destDir)
Update the JONAS_BASE directory with ejbjars, webapps, rars, etc. |
static void |
updateJonasBaseForArchives(org.apache.tools.ant.Task antTask,
java.io.File jonasRoot,
java.io.File destDir,
Archives archives,
java.lang.String folderName,
java.lang.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 java.lang.String JONAS_CONF_FILE
public static final java.lang.String JORAM_CONF_FILE
public static final java.lang.String JORAM_ADMIN_CONF_FILE
public static final java.lang.String CAROL_CONF_FILE
public static final java.lang.String TOMCAT_CONF_FILE
public static final java.lang.String JETTY_CONF_FILE
public static final java.lang.String P6SPY_CONF_FILE
public static final java.lang.String[] WARS_LIST
public static final java.lang.String[] RARS_LIST
public static final java.lang.String[] EJBJARS_LIST
public static final java.lang.String[] APPS_LIST
Method Detail |
---|
public static void updateJonasBase(org.apache.tools.ant.Task antTask, java.io.File jonasRoot, java.io.File destDir)
antTask
- target taskjonasRoot
- JONAS_ROOTdestDir
- destination directorypublic static void updateJonasBaseForArchives(org.apache.tools.ant.Task antTask, java.io.File jonasRoot, java.io.File destDir, Archives archives, java.lang.String folderName, java.lang.String[] listOfIncludes)
antTask
- target taskjonasRoot
- JONAS_ROOTdestDir
- destination directoryarchives
- tasks (webapps, rars, ejbjars)folderName
- where to put fileslistOfIncludes
- files to includepublic static void configure(org.apache.tools.ant.Task srcTask, org.apache.tools.ant.Task dstTask)
srcTask
- source taskdstTask
- destination taskpublic static void deleteAllFiles(java.io.File aFile)
aFile
- file to delete.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |