Author: manaRH
Date: 2012-09-14 09:43:43 -0400 (Fri, 14 Sep 2012)
New Revision: 15143
Modified:
branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts/build-war.xml
Log:
fixed jndi for EM factory
Modified: branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts/build-war.xml
===================================================================
--- branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts/build-war.xml 2012-09-14
13:43:37 UTC (rev 15142)
+++ branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts/build-war.xml 2012-09-14
13:43:43 UTC (rev 15143)
@@ -69,12 +69,8 @@
<property name="transactionManagerLookupClass"
value="org.hibernate.transaction.JBossTransactionManagerLookup"/>
<property name="ejbJndiPattern"
value="java:app/${project.name}.jar/#{ejbName}"/>
<property name="seamBootstrapsPu" value="false" />
- <condition property="seamEmfRef"
value="#{entityManagerFactory}" else="#{null}">
- <istrue value="${seamBootstrapsPu}"/>
- </condition>
- <condition property="puJndiName" value="#{null}"
else="java:comp/env/${project.name}/pu">
- <istrue value="${seamBootstrapsPu}"/>
- </condition>
+ <property name="seamEmfRef" value="#{null}"/>
+ <property name="puJndiName"
value="java:/${project.name}EntityManagerFactory"/>
<filterset id="persistence">
<filter token="transactionManagerLookupClass"
value="${transactionManagerLookupClass}"/>
Show replies by date