Revision: 5465
Author: [email protected]
Date: Mon Jul 1 13:40:39 2013
Log: ant runserver on ports other than 8080
https://codereview.appspot.com/10828043
allow overriding default port 8080 with
ant runserver -Drunserver.port=xxxx
R=kpreid2
http://code.google.com/p/google-caja/source/detail?r=5465
Modified:
/trunk/build.xml
=======================================
--- /trunk/build.xml Fri Jun 28 16:16:54 2013
+++ /trunk/build.xml Mon Jul 1 13:40:39 2013
@@ -1587,9 +1587,11 @@
<appcfg action="update" war="${war}" />
</target>
+ <property name="runserver.port" value="8080" />
+
<target name="runserver" depends="playground,photon,trycaja"
description="Starts the development server.">
- <dev_appserver war="${war}">
+ <dev_appserver war="${war}" port="${runserver.port}">
<options>
<arg value="--jvm_flag=-Xmx2048m"/>
<arg value="--jvm_flag=-Dappengine.user.timezone=UTC"/>
@@ -1599,7 +1601,7 @@
<target name="runserver-debug" depends="playground,photon"
description="Starts the development server with debug port.">
- <dev_appserver war="${war}">
+ <dev_appserver war="${war}" port="${runserver.port}">
<options>
<arg value="--jvm_flag=-Xmx2048m"/>
<arg
value="--jvm_flag=-Xrunjdwp:transport=dt_socket,address=9999,server=y,suspend=n"/>
--
---
You received this message because you are subscribed to the Google Groups "Google Caja Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.