oracle.jdeveloper.jsp.utils
Class War
java.lang.Object
oracle.jdeveloper.jsp.utils.War
- public final class War
- extends java.lang.Object
The War
class is responsible for the implementation of War project throughout JDeveloper.
Constructor Summary |
War()
|
Method Summary |
static void |
create(Context ctx)
Create War Structure in Project |
static void |
createForProject(JProject prj)
|
static boolean |
exists(Context context)
Check to see if a WEB-INF directory exists in project |
static boolean |
exists(JProject 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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
War
public War()
create
public static void create(Context ctx)
- Create War Structure in Project
-
- Parameters:
ctx
- Context to gather project information from
createForProject
public static void createForProject(JProject prj)
generateWebXmlFile
public static void generateWebXmlFile(java.net.URL webInfURL)
- Generate web.xml file in WEB-INF directory of Project
-
- Parameters:
webInfURL
- Url path to WEB-INF directory
generateLib
public static void generateLib(java.net.URL webInfURL)
- Generate lib directory in WEB-INF directory of project
-
- Parameters:
webInfURL
- Url Path to WEB-INF directory
exists
public static boolean exists(Context context)
- Check to see if a WEB-INF directory exists in project
-
- Returns:
- boolean
exists
public static boolean exists(JProject prj)
- Check to see if a WEB-INF directory exists in project
-
- Returns:
- boolean
Copyright © 1997, 2004, Oracle. All rights reserved.