Author: arminw
Date: Tue Oct 2 15:12:37 2007
New Revision: 581414
URL: http://svn.apache.org/viewvc?rev=581414&view=rev
Log:
minor changes
Modified:
db/ojb/branches/OJB_1_0_RELEASE/build.xml
Modified: db/ojb/branches/OJB_1_0_RELEASE/build.xml
URL:
http://svn.apache.org/viewvc/db/ojb/branches/OJB_1_0_RELEASE/build.xml?rev=581414&r1=581413&r2=581414&view=diff
==============================================================================
--- db/ojb/branches/OJB_1_0_RELEASE/build.xml (original)
+++ db/ojb/branches/OJB_1_0_RELEASE/build.xml Tue Oct 2 15:12:37 2007
@@ -1315,7 +1315,7 @@
</target>
<!-- ================================================================== -->
- <!-- Perform JUnit Tasks -->
+ <!-- JUnit Tasks -->
<!-- ================================================================== -->
<!-- property 'test.package' has to be set at command line -->
<target name="run-test" depends="prepare-repository, copy-testdb,
prepare-test-suite">
@@ -1395,6 +1395,30 @@
</junit>
</target>
+ <target name="copy-testdb" depends="prepare">
+ <delete file="${build.test}/OJB.properties"/>
+ <delete file="${build.test}/OJB.script"/>
+ <delete file="${build.test}/OJB.log"/>
+ <copy file="${src.test}/org/apache/ojb/quick-db/OJB.properties"
tofile="${build.test}/OJB.properties"/>
+ <copy file="${src.test}/org/apache/ojb/quick-db/OJB.script"
tofile="${build.test}/OJB.script"/>
+
+ </target>
+
+ <target name="junit-quick" depends="prepare-repository, copy-testdb,
junit-no-compile-no-prepare,junit-no-compile-no-prepare-selected" />
+
+
+ <!-- ================================================================== -->
+ <!-- Junit SQL count Tasks -->
+ <!-- ================================================================== -->
+ <target name="junit-sqlcount"
+ depends=""
+ description="Run the sql statement count tests"
+ >
+ <property name="useP6Spy" value="true"/>
+ <antcall target="main" />
+ <antcall target="junit-sqlcount-no-compile" />
+ </target>
+
<target name="junit-sqlcount-no-compile"
depends="prepare, prepare-testdb,
junit-sqlcount-no-compile-no-prepare, junit-sqlcount-impossible"
description="Run the sql statement count tests"
@@ -1420,7 +1444,11 @@
</junit>
</target>
- <target name="junit-report" depends="" description="create JUnit HTML
report, requires Xalan">
+
+ <!-- ================================================================== -->
+ <!-- Junit Report Task -->
+ <!-- ================================================================== -->
+ <target name="junit-report" depends="" description="create JUnit HTML
report, requires Xalan">
<property name="report.target"
value="${build.dir}/test/junit-report"/>
<property name="report.src" value="${build.dir}/test/"/>
<mkdir dir="${report.target}"/>
@@ -1433,16 +1461,6 @@
<echo message="Create junit-report, see ${report.target}"/>
</target>
- <target name="copy-testdb" depends="prepare">
- <delete file="${build.test}/OJB.properties"/>
- <delete file="${build.test}/OJB.script"/>
- <delete file="${build.test}/OJB.log"/>
- <copy file="${src.test}/org/apache/ojb/quick-db/OJB.properties"
tofile="${build.test}/OJB.properties"/>
- <copy file="${src.test}/org/apache/ojb/quick-db/OJB.script"
tofile="${build.test}/OJB.script"/>
-
- </target>
-
- <target name="junit-quick" depends="prepare-repository, copy-testdb,
junit-no-compile-no-prepare,junit-no-compile-no-prepare-selected" />
<!-- ================================================================== -->
<!-- Performance tests -->
@@ -1532,7 +1550,8 @@
<ant target="copy-testdb"/>
</target>
- <target name="perf-test-jar" depends="prepare">
+ <target name="perf-test-jar" depends="prepare"
+ description="Build the perf-test jar">
<!-- compile perf classes -->
<javac srcdir="${build.srctest}"
includes="**/performance/*"
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]