You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by as...@apache.org on 2010/02/25 11:55:03 UTC

svn commit: r916243 - /ofbiz/trunk/framework/resources/templates/web.xml

Author: ashish
Date: Thu Feb 25 10:55:02 2010
New Revision: 916243

URL: http://svn.apache.org/viewvc?rev=916243&view=rev
Log:
Applied patch from jira issue OFBIZ-3509 - create-component ant task creates web.xml with hardcoded values of "example" for webSiteId and localDispatcherName.
Thanks Chris for the contribution.

Modified:
    ofbiz/trunk/framework/resources/templates/web.xml

Modified: ofbiz/trunk/framework/resources/templates/web.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/resources/templates/web.xml?rev=916243&r1=916242&r2=916243&view=diff
==============================================================================
--- ofbiz/trunk/framework/resources/templates/web.xml (original)
+++ ofbiz/trunk/framework/resources/templates/web.xml Thu Feb 25 10:55:02 2010
@@ -5,11 +5,11 @@
 
     <context-param>
         <param-name>webSiteId</param-name>
-        <param-value>EXAMPLE</param-value>
+        <param-value>@component-name@Site</param-value>
         <description>A unique ID used to look up the WebSite entity</description>
     </context-param>
     <context-param>
-        <param-name>localDispatcherName</param-name><param-value>example</param-value>
+        <param-name>localDispatcherName</param-name><param-value>@component-name@</param-value>
         <description>A unique name used to identify/recognize the local dispatcher for the Service Engine</description>
     </context-param>
     <context-param>