Author: manaRH
Date: 2012-06-07 06:59:35 -0400 (Thu, 07 Jun 2012)
New Revision: 14872
Modified:
branches/enterprise/WFK-2_0/jboss-seam-gen/dist/build-scripts/build.xml
Log:
JBSEAM-4975 fixed correct puJndiName
Modified: branches/enterprise/WFK-2_0/jboss-seam-gen/dist/build-scripts/build.xml
===================================================================
--- branches/enterprise/WFK-2_0/jboss-seam-gen/dist/build-scripts/build.xml 2012-06-07
10:59:28 UTC (rev 14871)
+++ branches/enterprise/WFK-2_0/jboss-seam-gen/dist/build-scripts/build.xml 2012-06-07
10:59:35 UTC (rev 14872)
@@ -67,9 +67,7 @@
<property name="ejbJndiPattern"
value="${project.name}/#{ejbName}/local"/>
<property name="seamBootstrapsPu" value="false"/>
<property name="seamEmfRef" value="#{null}"/>
- <condition property="puJndiName"
value="java:comp/env/${project.name}/pu"
else="java:/${project.name}EntityManagerFactory">
- <available file="${jboss.home}/lib/jboss-vfs.jar"/> <!--
JBoss AS >= 5.0 -->
- </condition>
+ <property name="puJndiName"
value="java:/${project.name}EntityManagerFactory"/>
<filterset id="persistence">
<filter token="transactionManagerLookupClass"
value="${transactionManagerLookupClass}"/>