com.google.appengine.tools
Class KickStart
- java.lang.Object
-
- com.google.appengine.tools.KickStart
-
public class KickStart extends java.lang.Object
Launches a process in an operating-system agnostic way. Helps us avoid idiosyncrasies in scripts for different platforms. Currently this only works for DevAppServerMain. Takes a command line invocation like: and turns it into:java -cp ../lib/appengine-tools-api.jar com.google.appengine.tools.KickStart \ --jvm_flag="-Dlog4j.configuration=log4j.props" com.google.appengine.tools.development.DevAppServerMain \ --jvm_flag="-agentlib:jdwp=transport=dt_socket,server=y,address=7000" --address=localhost --port=5005 appDir
while also setting its working directory (if appropriate).java -cp <an_absolute_path>/lib/appengine-tools-api.jar \ -Dlog4j.configuration=log4j.props \ -agentlib:jdwp=transport=dt_socket,server=y,address=7000 \ com.google.appengine.tools.development.DevAppServerMain \ --address=localhost --port=5005 <an_absolute_path>/appDir
All arguments between
com.google.appengine.tools.KickStart
andcom.google.appengine.tools.development.DevAppServerMain
, as well as all--jvm_flag
arguments afterDevAppServerMain
, are consumed by KickStart. The remaining options afterDevAppServerMain
are given as arguments to DevAppServerMain, without interpretation by KickStart. At present, the only valid option to KickStart itself is:- --jvm_flag=<vm_arg>
- Passes <vm_arg> as a JVM argument for the child JVM. May be repeated.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static void
main(java.lang.String[] args)
-