Author: manaRH
Date: 2013-03-21 13:25:22 -0400 (Thu, 21 Mar 2013)
New Revision: 15464
Modified:
branches/enterprise/WFK-2_1/jboss-seam-gen/dist/build-scripts/build.xml
Log:
bz924272 - fixed EAR project testsuite
Modified: branches/enterprise/WFK-2_1/jboss-seam-gen/dist/build-scripts/build.xml
===================================================================
--- branches/enterprise/WFK-2_1/jboss-seam-gen/dist/build-scripts/build.xml 2013-03-20
16:01:49 UTC (rev 15463)
+++ branches/enterprise/WFK-2_1/jboss-seam-gen/dist/build-scripts/build.xml 2013-03-21
17:25:22 UTC (rev 15464)
@@ -78,6 +78,12 @@
<filter token="seamEmfRef" value="${seamEmfRef}"/>
<filter token="puJndiName" value="${puJndiName}"/>
</filterset>
+ <filterset id="test">
+ <filter token="ejbJndiPattern"
value="java:app/test/#{ejbName}"/>
+ <filter token="seamBootstrapsPu"
value="${seamBootstrapsPu}"/>
+ <filter token="seamEmfRef" value="${seamEmfRef}"/>
+ <filter token="puJndiName" value="${puJndiName}"/>
+ </filterset>
<filterset id="profile">
<filter token="debug" value="${debug}"/>
</filterset>
@@ -439,6 +445,12 @@
<copy tofile="${test.dir}/import.sql"
file="${basedir}/resources/import-test.sql"/>
<copy tofile="${test.dir}/components.properties"
+ file="${basedir}/resources/components-test.properties">
+ <filterset refid="test"/>
+ </copy>
+ <copy tofile="${test.dir}/WEB-INF/ejb-jar.xml"
+ file="${basedir}/resources/META-INF/ejb-jar.xml"/>
+ <copy tofile="${test.dir}/components.properties"
file="${basedir}/resources/components-test.properties"/>
<copy tofile="${test.dir}/WEB-INF/web.xml"
file="${basedir}/resources/WEB-INF/web-test.xml"/>