Author: hlship
Date: Mon Jul  4 21:25:12 2011
New Revision: 1142812

URL: http://svn.apache.org/viewvc?rev=1142812&view=rev
Log:
Modify the LaunchJetty7 script to require the path to the web app, making is 
useable for different modules in the project

Modified:
    
tapestry/tapestry5/trunk/tapestry-core/src/test/groovy/org/apache/tapestry5/LaunchJetty7.groovy

Modified: 
tapestry/tapestry5/trunk/tapestry-core/src/test/groovy/org/apache/tapestry5/LaunchJetty7.groovy
URL: 
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/test/groovy/org/apache/tapestry5/LaunchJetty7.groovy?rev=1142812&r1=1142811&r2=1142812&view=diff
==============================================================================
--- 
tapestry/tapestry5/trunk/tapestry-core/src/test/groovy/org/apache/tapestry5/LaunchJetty7.groovy
 (original)
+++ 
tapestry/tapestry5/trunk/tapestry-core/src/test/groovy/org/apache/tapestry5/LaunchJetty7.groovy
 Mon Jul  4 21:25:12 2011
@@ -14,4 +14,8 @@
 
 import org.apache.tapestry5.test.Jetty7Runner
 
-new Jetty7Runner("src/test/app1", "/", 8080, 9999).start()
+if (this.args.length != 1) {
+  fail "Expects one argument: the path to the web context to execute."
+}
+
+new Jetty7Runner(this.args[0], "/", 8080, 9999).start()


Reply via email to