| java.lang.Object org.objectweb.jonas.ant.JOnASAntTool
JOnASAntTool | public class JOnASAntTool (Code) | | Common constants or methods used by several classes of the package
author: Benoit Pelletier |
Method Summary | |
public static void | configure(Task srcTask, Task dstTask) | public static void | deleteAllFiles(File aFile) Delete a file. | public static void | updateJonasBase(Task antTask, File jonasRoot, File destDir) Update the JONAS_BASE directory with ejbjars, webapps, rars, etc. | public static void | updateJonasBaseForArchives(Task antTask, File jonasRoot, File destDir, Archives archives, String folderName, String[] listOfIncludes) |
APPS_LIST | final public static String[] APPS_LIST(Code) | | List of Apps to copy for each JONAS_BASE
|
CAROL_CONF_FILE | final public static String CAROL_CONF_FILE(Code) | | Name of Carol configuration file
|
EJBJARS_LIST | final public static String[] EJBJARS_LIST(Code) | | List of EjbJars to copy for each JONAS_BASE
|
JETTY_CONF_FILE | final public static String JETTY_CONF_FILE(Code) | | Name of Tomcat configuration file
|
JONAS_CONF_FILE | final public static String JONAS_CONF_FILE(Code) | | Name of JOnAS configuration file
|
JORAM_ADMIN_CONF_FILE | final public static String JORAM_ADMIN_CONF_FILE(Code) | | Name of Joram admin configuration file (resource adaptor)
|
JORAM_CONF_FILE | final public static String JORAM_CONF_FILE(Code) | | Name of Joram configuration file
|
P6SPY_CONF_FILE | final public static String P6SPY_CONF_FILE(Code) | | Name of P6Spy configuration file
|
RARS_LIST | final public static String[] RARS_LIST(Code) | | List of Rars to copy for each JONAS_BASE
|
TOMCAT_CONF_FILE | final public static String TOMCAT_CONF_FILE(Code) | | Name of Tomcat configuration file
|
WARS_LIST | final public static String[] WARS_LIST(Code) | | List of Wars to copy for each JONAS_BASE
|
configure | public static void configure(Task srcTask, Task dstTask)(Code) | | Configure the given task by setting name, project root, etc
Parameters: srcTask - source task Parameters: dstTask - destination task |
deleteAllFiles | public static void deleteAllFiles(File aFile)(Code) | | Delete a file. If the file is a directory, delete recursivly all the
files inside.
Parameters: aFile - file to delete. |
updateJonasBase | public static void updateJonasBase(Task antTask, File jonasRoot, File destDir)(Code) | | Update the JONAS_BASE directory with ejbjars, webapps, rars, etc.
Parameters: antTask - target task Parameters: jonasRoot - JONAS_ROOT Parameters: destDir - destination directory |
updateJonasBaseForArchives | public static void updateJonasBaseForArchives(Task antTask, File jonasRoot, File destDir, Archives archives, String folderName, String[] listOfIncludes)(Code) | | Update JONAS_BASE with given archives with lists of includes
Parameters: antTask - target task Parameters: jonasRoot - JONAS_ROOT Parameters: destDir - destination directory Parameters: archives - tasks (webapps, rars, ejbjars) Parameters: folderName - where to put files Parameters: listOfIncludes - files to include |
|
|