|
| basepath |
|
| options |
|
| java_command |
|
| javac_command |
|
| app_engine_web_xml |
|
| web_xml |
|
Performs Java-specific update configurations.
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:
- code/googleappengine-read-only/python/google/appengine/tools/appcfg_java.py