You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by fe...@apache.org on 2005/06/06 17:49:31 UTC
svn commit: r180329 - /forrest/trunk/main/forrest.build.xml
Author: ferdinand
Date: Mon Jun 6 08:49:29 2005
New Revision: 180329
URL: http://svn.apache.org/viewcvs?rev=180329&view=rev
Log:
FOR-364: Added special info-message for terminating jetty under windows and removed the 'demo' from 'demo jetty server'
Modified:
forrest/trunk/main/forrest.build.xml
Modified: forrest/trunk/main/forrest.build.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/forrest.build.xml?rev=180329&r1=180328&r2=180329&view=diff
==============================================================================
--- forrest/trunk/main/forrest.build.xml (original)
+++ forrest/trunk/main/forrest.build.xml Mon Jun 6 08:49:29 2005
@@ -43,6 +43,9 @@
<property name="forrest.core" location="${forrest.home}/main"/>
<property name="forrest.core.webapp" location="${forrest.core}/webapp"/>
+
+
+
<import file="targets/validate.xml"/>
<import file="targets/webapp.xml"/>
@@ -445,8 +448,17 @@
if="custom_jetty_config"
description="Run Jetty with configuration file found in the project">
<echo>
- Note: Use Ctrl-C to stop the demo Jetty server
+ Note: Use Ctrl-C to stop the Jetty server
</echo>
+ <if>
+ <os family="dos"/>
+ <then>
+ <echo>
+ ... and reply 'n' and press [Enter]
+ when asked about aborting the batch!
+ </echo>
+ </then>
+ </if>
<java classname="org.mortbay.jetty.Server"
dir="${forrest.core.webapp}"
fork="yes"
@@ -469,8 +481,17 @@
<target name="run_default_jetty"
description="Run Jetty with configuration file found in Forrest">
<echo>
- Note: Use Ctrl-C to stop the demo Jetty server
+ Note: Use Ctrl-C to stop the Jetty server
</echo>
+ <if>
+ <os family="dos"/>
+ <then>
+ <echo>
+ ... and reply 'n' and press [Enter]
+ when asked about aborting the batch!
+ </echo>
+ </then>
+ </if>
<java classname="org.mortbay.jetty.Server"
dir="${forrest.core.webapp}"
fork="yes"