webwork build.properties,1.1,1.2 build.xml,1.4,1.5
[email protected] Sat, 01 Nov 2003 19:39:41 -0800
| Newsgroups | gmane.comp.java.open-symphony.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/opensymphony/webwork
In directory sc8-pr-cvs1:/tmp/cvs-serv25779
Modified Files:
build.properties build.xml
Log Message:
Added ClientDispatcher testcase
context path should not include tests directory
Fixed a relative file mapping in views.properties
Building test-web is now separate from running tests.
To run the web testcases configure build.properties, run test-web target, deploy test-web in your container, then run ant test. To get coverage results, stop the container, then run ant clover.report
Index: build.properties
===================================================================
RCS file: /cvsroot/opensymphony/webwork/build.properties,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- build.properties 2 Nov 2003 02:27:33 -0000 1.1
+++ build.properties 2 Nov 2003 03:39:38 -0000 1.2
@@ -1,3 +1,4 @@
-# the url for the test application, used for the web testcases
+# the sercer url for the test application, used for the web testcases
test.server=http://localhost:8000
-test.context=/webwork/tests/
+# the webapp context, must beginand end with /
+test.context=/webwork/
Index: build.xml
===================================================================
RCS file: /cvsroot/opensymphony/webwork/build.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- build.xml 2 Nov 2003 02:27:33 -0000 1.4
+++ build.xml 2 Nov 2003 03:39:38 -0000 1.5
@@ -46,7 +46,7 @@
</target>
- <target name="test-web">
+ <target name="test-web" depends="clover-check,junit-check,precompile,init-clover">
<property name="test.classes" value="${build.dir}/result/test-web/WEB-INF/classes"/>
<mkdir dir="${test.classes}"/>
<javac srcdir="${src.dir}/main" destdir="${test.classes}" debug="on" classpathref="core.class.path" compiler="org.apache.tools.ant.taskdefs.CloverCompilerAdapter"/>
@@ -91,8 +91,10 @@
</target>
- <target name="test" depends="clover-check,junit-check,precompile,init-clover,test-web">
+ <target name="test" depends="clover-check,junit-check,init-clover">
+
<taskdef name="junit" classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask"/>
+ <property name="test.classes" value="${build.dir}/result/test-web/WEB-INF/classes"/>
<junit printsummary="withOutAndErr" haltonfailure="no" haltonerror="no" showoutput="true" fork="true">
<!-- pass in build.properties settings, so we can pick up the test url from there -->
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/