App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Classes | Public Member Functions | Public Attributes | List of all members
google.appengine.tools.appcfg_java.JavaAppUpdate Class Reference
Inheritance diagram for google.appengine.tools.appcfg_java.JavaAppUpdate:

Classes

class  _XmlParser
 

Public Member Functions

def __init__
 
def CreateStagingDirectory
 
def GenerateAppYamlString
 

Public Attributes

 basepath
 
 options
 
 java_command
 
 javac_command
 
 app_engine_web_xml
 
 web_xml
 

Detailed Description

Performs Java-specific update configurations.

Member Function Documentation

def google.appengine.tools.appcfg_java.JavaAppUpdate.CreateStagingDirectory (   self,
  tools_dir 
)
Creates a staging directory for uploading.

This is where we perform the necessary actions to create an application
directory for the update command to work properly - files are organized
into the static folder, and yaml files are generated where they can be
found later.

Args:
  tools_dir: Path to the SDK tools directory
(typically .../google/appengine/tools)

Returns:
  The path to a new temporary directory which contains generated yaml files
  and a static file directory. For the most part, the rest of the update and
  upload flow can resume identically to Python/PHP/Go applications.

Raises:
  CompileError: if compilation of JSPs failed.
  ConfigurationError: if the app to be staged has a configuration error.
  IOError: if there was an I/O problem, for example when scanning jar files.
def google.appengine.tools.appcfg_java.JavaAppUpdate.GenerateAppYamlString (   self,
  static_file_list,
  api_version = None 
)
Constructs an app.yaml string equivalent to the XML files under WEB-INF.

Args:
  static_file_list: a list of strings that are the absolute path names of
static file resources.
  api_version: a string that is the Java API version number, or None if
not known or relevant.

Returns:
  A string that would have the same effect as the XML files under WEB-INF
  if it were the contents of an app.yaml file.

The documentation for this class was generated from the following file: