|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cactus.eclipse.webapp.internal.WarBuilder
public class WarBuilder
Helper class for creating War files.
| Field Summary | |
|---|---|
static java.lang.String |
LIB
Name of the lib directory |
static java.lang.String |
WEBINF
Name of the WEB-INF directory |
static java.lang.String |
WEBXML
Name of the web.xml file |
| Constructor Summary | |
|---|---|
WarBuilder(org.eclipse.jdt.core.IJavaProject theJavaProject)
|
|
| Method Summary | |
|---|---|
java.io.File |
createWar(org.eclipse.core.runtime.IProgressMonitor thePM)
Creates the war file. |
static void |
delete(java.io.File theFile)
Removes the specified file or directory, and all subdirectories |
static java.io.File |
getWebXML(java.io.File theWebFilesDir)
|
| 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 WEBINF
public static final java.lang.String LIB
public static final java.lang.String WEBXML
| Constructor Detail |
|---|
public WarBuilder(org.eclipse.jdt.core.IJavaProject theJavaProject)
throws org.eclipse.jdt.core.JavaModelException
theJavaProject - the Java project for which the webapp will be
created
org.eclipse.jdt.core.JavaModelException - if we can't get the output location| Method Detail |
|---|
public static java.io.File getWebXML(java.io.File theWebFilesDir)
theWebFilesDir - webapp directory to get the web.xml from
public final java.io.File createWar(org.eclipse.core.runtime.IProgressMonitor thePM)
throws org.eclipse.core.runtime.CoreException
thePM - a monitor that reflects the overall progress,
or null if none is to be used.
org.eclipse.core.runtime.CoreException - if we can't create the filepublic static final void delete(java.io.File theFile)
theFile - the file or directory to delete
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||