Author: dan.j.allen
Date: 2009-05-13 12:13:13 -0400 (Wed, 13 May 2009)
New Revision: 10908
Modified:
branches/community/Seam_2_1/seam-gen/build.xml
Log:
remove hardcoded values and use tokens for ejb-local-ref entry
Modified: branches/community/Seam_2_1/seam-gen/build.xml
===================================================================
--- branches/community/Seam_2_1/seam-gen/build.xml 2009-05-13 13:08:35 UTC (rev 10907)
+++ branches/community/Seam_2_1/seam-gen/build.xml 2009-05-13 16:13:13 UTC (rev 10908)
@@ -970,10 +970,10 @@
<replacevalue><![CDATA[ <!-- uncomment <ejb-local-ref>
entries when deploying to GlassFish and (optionally) JBoss AS 5 -->
<!--
<ejb-local-ref>
- <ejb-ref-name>vehicles/AuthenticatorBean/local</ejb-ref-name>
+ <ejb-ref-name>@projectName@/AuthenticatorBean/local</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<local-home/>
- <local>org.example.vehicles.action.Authenticator</local>
+ <local>@actionPackage@.Authenticator</local>
</ejb-local-ref>
-->
@@ -991,6 +991,7 @@
</replace>
<replace file="${project.home}/resources/WEB-INF/web.xml">
+ <replacefilter token="@actionPackage@"
value="${action.package}"/>
<replacefilter token="@projectName@"
value="${project.name}"/>
</replace>