Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-04

oracle.jdeveloper.jsp.utils
Class War

java.lang.Object
  extended by 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(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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

War

public War()
Method Detail

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(Project 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

Parameters:
ctx - the context to gather the project information from
Returns:
boolean

exists

public static boolean exists(Project prj)
Check to see if a WEB-INF directory exists in project

Parameters:
project - the JProject
Returns:
boolean

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-04

Copyright © 1997, 2010, Oracle. All rights reserved.