details: /erp/devel/pi/rev/ebb35a012419
changeset: 7301:ebb35a012419
user: Martin Taal <martin.taal <at> openbravo.com>
date: Tue May 11 17:29:16 2010 +0200
summary: Removed duplicate ant variable
details: /erp/devel/pi/rev/34d7943b17b0
changeset: 7302:34d7943b17b0
user: Martin Taal <martin.taal <at> openbravo.com>
date: Tue May 11 17:29:37 2010 +0200
summary: Added copying of xml files from src-test to output path when running
tests
diffstat:
build.xml | 1 -
src/build.xml | 20 ++++++++++++++++++++
2 files changed, 20 insertions(+), 1 deletions(-)
diffs (62 lines):
diff -r b27cb4c80a74 -r 34d7943b17b0 build.xml
--- a/build.xml Tue May 11 13:23:41 2010 +0200
+++ b/build.xml Tue May 11 17:29:37 2010 +0200
@@ -68,7 +68,6 @@
<property name="base.src.trl" location="src-trl" />
<property name="base.src.wad" location="src-wad" />
<property name="base.src.gen" location="src-gen" />
- <property name="base.src.test" location="src-test" />
<property name="base.client.src" location="srcClient" />
<property name="base.db" location="src-db/database" />
<property name="base.web" location="web" />
diff -r b27cb4c80a74 -r 34d7943b17b0 src/build.xml
--- a/src/build.xml Tue May 11 13:23:41 2010 +0200
+++ b/src/build.xml Tue May 11 17:29:37 2010 +0200
@@ -279,6 +279,11 @@
</target>
<target name="run.tests" depends="compileSqlc,generate.entities.quick">
+
+ <copy todir="${build}">
+ <fileset dir="${base.src.test}" includes="**/*.xml" />
+ </copy>
+
<junit printsummary="yes" haltonfailure="yes">
<classpath refid="project.class.path" />
<formatter type="plain" usefile="no"/>
@@ -287,6 +292,11 @@
</target>
<target name="run.all.tests" depends="compileSqlc,generate.entities.quick">
+
+ <copy todir="${build}">
+ <fileset dir="${base.src.test}" includes="**/*.xml" />
+ </copy>
+
<junit printsummary="yes" haltonfailure="yes">
<classpath refid="project.class.path" />
<formatter type="plain" usefile="no"/>
@@ -297,6 +307,11 @@
</target>
<target name="run.quick.tests" depends="compileSqlc,generate.entities.quick">
+
+ <copy todir="${build}">
+ <fileset dir="${base.src.test}" includes="**/*.xml" />
+ </copy>
+
<junit printsummary="yes" haltonfailure="yes">
<classpath refid="project.class.path" />
<formatter type="plain" usefile="no"/>
@@ -305,6 +320,11 @@
</target>
<target name="run.webservice.tests"
depends="compileSqlc,generate.entities.quick">
+
+ <copy todir="${build}">
+ <fileset dir="${base.src.test}" includes="**/*.xml" />
+ </copy>
+
<junit printsummary="yes" haltonfailure="yes">
<classpath refid="project.class.path" />
<formatter type="plain" usefile="no"/>
------------------------------------------------------------------------------
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits