public final class War
extends java.lang.Object
War
class is responsible for the implementation
of War project throughout JDeveloper.
Constructor and Description |
---|
War() |
Modifier and Type | Method and Description |
---|---|
static void |
create(Context ctx)
Create War Structure in Project
|
static void |
createForProject(Project prj) |
static boolean |
exists(Context context)
Check to see if a WEB-INF directory exists in project
|
static boolean |
exists(Project prj)
Check to see if a WEB-INF directory exists in project
|
static void |
generateLib(java.net.URL webInfURL)
Generate lib directory in WEB-INF directory of project
|
static void |
generateWebXmlFile(java.net.URL webInfURL)
Generate web.xml file in WEB-INF directory of Project
|
public static void create(Context ctx)
ctx
- Context to gather project information frompublic static void createForProject(Project prj)
public static void generateWebXmlFile(java.net.URL webInfURL)
webInfURL
- Url path to WEB-INF directorypublic static void generateLib(java.net.URL webInfURL)
webInfURL
- Url Path to WEB-INF directorypublic static boolean exists(Context context)
ctx
- the context to gather the project information frompublic static boolean exists(Project prj)
project
- the JProject