[jboss-cvs] jboss-seam/examples/wiki ...
Peter Muir
peter at bleepbleep.org.uk
Tue Sep 25 12:55:08 EDT 2007
User: pmuir
Date: 07/09/25 12:55:08
Modified: examples/wiki build.xml
Log:
Fix wiki tests
Revision Changes Path
1.39 +17 -5 jboss-seam/examples/wiki/build.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/build.xml,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -b -r1.38 -r1.39
--- build.xml 25 Sep 2007 16:29:51 -0000 1.38
+++ build.xml 25 Sep 2007 16:55:08 -0000 1.39
@@ -7,6 +7,8 @@
<!-- Give user a chance to override without editing this file or typing -D -->
<property file="${basedir}/build.properties" />
+ <property name="tmp.dir" value="build"/>
+
<property name="seam.dir" value="${ant.file.wiki}/../../../"/>
<import file="${seam.dir}/build/common.build.xml" />
@@ -20,7 +22,6 @@
<property name="src.etc.dir" value="src/etc"/>
<property name="view.dir" value="view"/>
- <property name="tmp.dir" value="build"/>
<property name="classes.dir" value="${tmp.dir}/classes"/>
<property name="testclasses.dir" value="${tmp.dir}/testclasses"/>
<!-- TODO: Don't change this, IntelliJ TestNG plugin bug! http://jira.opensymphony.com/browse/TESTNG-146 -->
@@ -60,9 +61,20 @@
<pathelement path="${testclasses.dir}"/>
<pathelement path="${embedded-jboss.dir}"/>
+ <!-- JBoss Embedded, without hibernate -->
+ <fileset dir="${global.lib.dir}/test">
+ <include name="jboss-embedded-all.jar" />
+ <include name="thirdparty-all.jar" />
+ </fileset>
+
<fileset dir="${global.lib.dir}">
<include name="*.jar" />
+ <!-- Horrible hack around jbossembedded -->
+ <exclude name="jboss-container.jar" />
+ <!-- Use local hibernate -->
<exclude name="hibernate*.jar"/>
+ <!-- Don't need all seam jars -->
+ <exclude name="jboss-seam.jar" />
</fileset>
<fileset dir="${local.lib.dir}">
<include name="*.jar" />
@@ -72,7 +84,7 @@
OTHERWISE THE EMBEDDABLE CONTAINER WON'T SCAN IT FOR EJBs (EjbTransaction, TimserServiceDispatcher, etc.)
IN THE jboss-seam.jar.
-->
- <fileset dir="${seam.dir}">
+ <fileset dir="${global.lib.dir}">
<include name="jboss-seam.jar" />
</fileset>
@@ -420,10 +432,10 @@
<!-- ######################## TESTS ################## -->
- <target name="compiletests" depends="clean, compileclasses"
+ <target name="compiletests" depends="clean, compileclasses, copyjbossembedded"
description="Compile the test Java source code">
- <javac classpathref="build.classpath"
+ <javac classpathref="test.classpath"
destdir="${testclasses.dir}"
debug="${javac.debug}"
deprecation="${javac.deprecation}"
More information about the jboss-cvs-commits
mailing list