In your appengine directory there's a file called config/user/ant-
macros.xml
that accepts --address and --port as arguments for dev_appserver,
but you have to include the file into your own build.xml.
Instructions are at the top of the file.


On Jun 3, 8:06 pm, Bourke Floyd IV <[email protected]> wrote:
> I want to change localhost to an ip. I know the flag is -a or -address
> for the dev_appserver.sh (Java)
> but I'm running the Android/AppEngine Task demo and the arguments
> passed into the debug config are for GWT not the previous shell
> script. Thus I get
>
> Unknown argument: -a
> Google Web Toolkit 2.4.0beta
> DevMode [-noserver] [-port port-number | "auto"] [-whitelist whitelist-
> string] [-blacklist blacklist-string] [-logdir directory] [-logLevel
> level] [-gen dir] [-bindAddress host-name-or-address] [-codeServerPort
> port-number | "auto"] [-server servletContainerLauncher[:args]] [-
> startupUrl url] [-war dir] [-deploy dir] [-extra dir] [-workDir dir]
> module[s]
>
> where
>   -noserver        Prevents the embedded web server from running
>   -port            Specifies the TCP port for the embedded web server
> (defaults to 8888)
>   -whitelist       Allows the user to browse URLs that match the
> specified regexes (comma or space separated)
>   -blacklist       Prevents the user browsing URLs that match the
> specified regexes (comma or space separated)
>   -logdir          Logs to a file in the given directory, as well as
> graphically
>   -logLevel        The level of logging detail: ERROR, WARN, INFO,
> TRACE, DEBUG, SPAM, or ALL
>   -gen             Debugging: causes normally-transient generated
> types to be saved in the specified directory
>   -bindAddress     Specifies the bind address for the code server and
> web server (defaults to 127.0.0.1)
>   -codeServerPort  Specifies the TCP port for the code server
> (defaults to 9997)
>   -server          Specify a different embedded web server to run
> (must implement ServletContainerLauncher)
>   -startupUrl      Automatically launches the specified URL
>   -war             The directory into which deployable output files
> will be written (defaults to 'war')
>   -deploy          The directory into which deployable but not
> servable output files will be written (defaults to 'WEB-INF/deploy'
> under the -war directory/jar, and may be the same as the -extra
> directory/jar)
>   -extra           The directory into which extra files, not intended
> for deployment, will be written
>   -workDir         The compiler's working directory for internal use
> (must be writeable; defaults to a system temp dir)
> and
>   module[s]        Specifies the name(s) of the module(s) to host
>
> The app engine server part of the debug config window only lets me
> change the port, not the address. Where can i change this?
>
> Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to