[Httpunit-commit] CVS: httpunit build.xml,1.56,1.57
Brought to you by:
russgold
|
From: Russell G. <rus...@us...> - 2002-11-25 13:52:48
|
Update of /cvsroot/httpunit/httpunit
In directory sc8-pr-cvs1:/tmp/cvs-serv30205
Modified Files:
build.xml
Log Message:
Updated Example.java to point to always-on page
Index: build.xml
===================================================================
RCS file: /cvsroot/httpunit/httpunit/build.xml,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -r1.56 -r1.57
--- build.xml 13 Nov 2002 14:01:22 -0000 1.56
+++ build.xml 25 Nov 2002 13:52:45 -0000 1.57
@@ -24,8 +24,6 @@
<property name="example.classes" value="${build.dir}/examples" />
<property name="javadoc.dir" value="${docs.dir}/api" />
- <property name="use.jtidy" value="" />
-
<property name="dist.dir" value="dist" />
<property name="archive.dir" value="${dist.dir}/${name}-${version}" />
<property name="classpath" value="" />
@@ -59,7 +57,7 @@
classpathref="base.classpath" />
<available property="jtidy.present" classname="org.w3c.tidy.Tidy"
classpathref="base.classpath" />
- <available property="nekoHTML.present" classname="org.cyberneko.html.parsers.DOMParser"
+ <available property="nekoHTML.present" classname="org.cyberneko.html.HTMLConfiguration"
classpathref="base.classpath" />
</target>
@@ -102,6 +100,20 @@
<pathelement location="${build.classes}" />
</classpath>
</javac>
+</target>
+
+
+<!-- =================================================================== -->
+<!-- Runs the main example -->
+<!-- =================================================================== -->
+<target name="run-example" depends="compile-examples">
+ <java fork="true" classname="Example" dir="${basedir}">
+ <classpath>
+ <path refid="base.classpath"/>
+ <pathelement location="${example.classes}"/>
+ <pathelement location="${build.classes}"/>
+ </classpath>
+ </java>
</target>
|