I’m trying to automate the upload of a google app engine (java) project, there’s not problem using the ant macros to upload to a single user+password combination as after the first manual login through appcfg but when I want to switch to another account I need to re-input the password through the stdin in appcfg.
I don’t seem to be able to find a way to pass the password as a switch to appcfg only the username has anyone successfully automated this process or have any ideas on how to go about it?
You can tell appcfg to read your password from standard input by passing the
--passinswitch. Then you can redirect standard input to read your password from a file like this to avoid having appcfg prompt you for anything: