[jboss-cvs] jboss-portal/identity ...
Julien Viet
julien at jboss.com
Mon Jul 17 08:27:13 EDT 2006
User: julien
Date: 06/07/17 08:27:13
Modified: identity build.xml
Log:
added identity tests to the main testsuite
Revision Changes Path
1.9 +30 -6 jboss-portal/identity/build.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-portal/identity/build.xml,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- build.xml 16 Jul 2006 23:38:54 -0000 1.8
+++ build.xml 17 Jul 2006 12:27:13 -0000 1.9
@@ -8,7 +8,7 @@
<!ENTITY targets SYSTEM "../tools/etc/buildfragments/targets.ent">
]>
-<!-- $Id: build.xml,v 1.8 2006/07/16 23:38:54 julien Exp $ -->
+<!-- $Id: build.xml,v 1.9 2006/07/17 12:27:13 julien Exp $ -->
<!--+======================================================================+-->
<!--| JBoss Portal (The OpenSource Portal) Build File |-->
@@ -65,11 +65,11 @@
<!-- Configure thirdparty libraries -->
&libraries;
<path id="library.classpath">
+ <path refid="jboss.microcontainer.classpath"/>
<path refid="jboss.jbossxb.classpath"/>
<path refid="apache.xerces.classpath"/>
<path refid="jbossas/core.libs.classpath"/>
<path refid="oswego.concurrent.classpath"/>
- <path refid="jboss.microcontainer.classpath"/>
<path refid="hibernate.hibernate.classpath"/>
<path refid="apache.log4j.classpath"/>
<path refid="junit.junit.classpath"/>
@@ -136,12 +136,21 @@
<mkdir dir="${build.lib}"/>
<jar jarfile="${build.lib}/portal-identity-lib.jar">
<fileset dir="${build.classes}" excludes="org/jboss/portal/test/**"/>
- <fileset dir="${build.resources}/portal-identity-jar"/>
</jar>
<jar jarfile="${build.lib}/portal-identity-test-lib.jar">
<fileset dir="${build.classes}" includes="org/jboss/portal/test/**"/>
<fileset dir="${build.resources}/portal-identity-test-jar"/>
</jar>
+ <copy file="${build.resources}/hibernate/domain.hbm.xml" tofile="${build.resources}/hibernate/domain-single.hbm.xml">
+ <filterset>
+ <filtersfile file="../build/etc/single.properties"/>
+ </filterset>
+ </copy>
+ <copy file="${build.resources}/hibernate/domain.hbm.xml" tofile="${build.resources}/hibernate/domain-clustered.hbm.xml">
+ <filterset>
+ <filtersfile file="../build/etc/clustered.properties"/>
+ </filterset>
+ </copy>
</target>
<!-- ================================================================== -->
@@ -172,7 +181,7 @@
<target name="most" depends="_default:most"/>
<target name="help" depends="_default:help"/>
- <target name="test" depends="compile">
+ <target name="test" depends="init">
<execute-tests>
<x-test>
<test name="org.jboss.portal.test.identity.UserTestCase"/>
@@ -181,9 +190,24 @@
<pathelement location="${build.lib}/portal-identity-lib.jar"/>
<pathelement location="${build.lib}/portal-identity-test-lib.jar"/>
<pathelement location="${jboss.portal-test.root}/etc"/>
+ <pathelement location="${build.resources}/hibernate"/>
<path refid="dom4j.dom4j.classpath"/>
- <path refid="library.classpath"/>
- <path refid="dependentmodule.classpath"/>
+ <path refid="jboss.microcontainer.classpath"/>
+ <path refid="jboss.jbossxb.classpath"/>
+ <path refid="apache.xerces.classpath"/>
+ <path refid="oswego.concurrent.classpath"/>
+ <path refid="apache.log4j.classpath"/>
+ <path refid="hibernate.hibernate.classpath"/>
+ <path refid="antlr.antlr.classpath"/>
+ <path refid="asm.asm.classpath"/>
+ <path refid="hsqldb.hsqldb.classpath"/>
+ <path refid="apache.collections.classpath"/>
+ <path refid="jbossas/core.libs.classpath"/>
+ <path refid="junit.junit.classpath"/>
+ <path refid="apache.logging.classpath"/>
+ <path refid="cglib.cglib.classpath"/>
+ <path refid="jboss.portal-test.classpath"/>
+ <path refid="jboss.portal-common.classpath"/>
</x-classpath>
</execute-tests>
</target>
More information about the jboss-cvs-commits
mailing list