Specify --oauth2 flag to appcfg operations.
This will allow them to succeed when run from ant iff credentials are
available and still bad; direct command line use will still be needed
to obtain new credentials.
@@ -1379,11 +1379,19 @@ For help on building and testing Caja, see:
</target>
<target name="deploy" depends="playground">
- <appcfg action="update" war="${war}" />
+ <appcfg action="update" war="${war}">
+ <options>
+ <arg value="--oauth2"/>
+ </options>
+ </appcfg>
</target>
<target name="alt-deploy" depends="alt-playground">
- <appcfg action="update" war="${war}" />
+ <appcfg action="update" war="${war}">
+ <options>
+ <arg value="--oauth2"/>
+ </options>
+ </appcfg>
</target>
<property name="runserver.port" value="8080" />
