cmlenz 2003/07/08 12:56:40
Modified: samples/jetty/src/script build.xml
Added: samples/jetty/src/webapp/test test.jsp
Log:
Fix the Jetty sample
- fork <junit>
- add tools.jar to the classpath (not sure this is portable)
- add the test JSP used by the tests
Revision Changes Path
1.2 +2 -1 jakarta-cactus/samples/jetty/src/script/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-cactus/samples/jetty/src/script/build.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- build.xml 7 Jul 2003 20:16:22 -0000 1.1
+++ build.xml 8 Jul 2003 19:56:39 -0000 1.2
@@ -228,7 +228,7 @@
<mkdir dir="${target.testreports.dir}"/>
- <junit fork="no" failureproperty="tests.failed">
+ <junit fork="yes" failureproperty="tests.failed">
<sysproperty key="cactus.contextURL"
value="http://localhost:${cactus.port}/test"/>
<sysproperty key="cactus.jetty.resourceDir" file="${src.webapp.dir}"/>
@@ -239,6 +239,7 @@
<path refid="cactus.classpath"/>
<pathelement location="${target.classes.java.dir}"/>
<pathelement location="${target.classes.cactus.dir}"/>
+ <pathelement location="${java.home}/../lib/tools.jar"/>
</classpath>
<formatter type="brief" usefile="false"/>
<formatter type="xml"/>
1.1 jakarta-cactus/samples/jetty/src/webapp/test/test.jsp
Index: test.jsp
===================================================================
<%-- Test JSP used by the TestServletTestCase test class to test --%>
<%-- RequestDispatcher call. --%>
<html>
<body>
Hello !
</body>
</html>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]