Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add property for server port as well.
  • Loading branch information
mramato committed Mar 27, 2013
1 parent d693340 commit 25006c5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.xml
Expand Up @@ -101,8 +101,9 @@
<!-- properties controlling which steps get run -->
<property name="build.minification" value="false" />

<!-- properties controlling if the server listens on all addresses or not-->
<property name="runServer.public" value="false" />
<!-- properties running the server-->
<property name="runServer.public" value="false" />
<property name="runServer.port" value="8080" />

<!-- Inputs -->
<!-- this version should be set to the upcoming version, so it can be tagged without requiring a bump first -->
Expand Down Expand Up @@ -336,9 +337,8 @@
upstreamProxyHost: a standard proxy server that the local server will use to retrieve data
upstreamProxyPort: the port number of the upstream proxy, default 80
noUpstreamProxyHostList: A comma-separated list of hosts that will not use the upstreamProxy
listenOnAllAddresses: Set to true if you want the server to listen to all addresses, not just localhost.
-->
<server proxyContextPath="/proxy" listenOnAllAddresses="${runServer.public}" terrainTranscodingContextPath="/terrain" allowedHostList="localhost,*.arcgisonline.com,tile.openstreetmap.org,otile1.mqcdn.com,oatile1.mqcdn.com,tile.stamen.com,*.virtualearth.net,mesonet.agron.iastate.edu" port="8080" baseDir="${basedir}" />
<server proxyContextPath="/proxy" listenOnAllAddresses="${runServer.public}" terrainTranscodingContextPath="/terrain" allowedHostList="localhost,*.arcgisonline.com,tile.openstreetmap.org,otile1.mqcdn.com,oatile1.mqcdn.com,tile.stamen.com,*.virtualearth.net,mesonet.agron.iastate.edu" port="${runServer.port}" baseDir="${basedir}" />
</target>

<target name="runPublicServer" description="Runs a public web server">
Expand Down

0 comments on commit 25006c5

Please sign in to comment.