Jacques,

Do we need to change the same thing in controller.xml ?
For ex :
<event type="simple" path="org/ofbiz/ecommerce/customer/CustomerEvents.xml" invoke="processCustomerSettings"/>

WDYT ?

--
Ashish


Jacques Le Roux wrote:
Done at  revision: 755977

Jacques

From: "David E Jones" <david.jo...@hotwaxmedia.com>

This would be great to have done before the release. It would allow us to get a LOT of stuff off the classpath, which can be a painful part of deployment.

-David


On Mar 18, 2009, at 11:28 AM, Jacques Le Roux wrote:

I had a closer look
<service name=(.*)engine="simple"(.*)\R(.*)location="org.ofbiz
says there are 1305 other cases... (I did not look into details, maybe this regexp is too loosely written)

I will do a serious Eclipse regexp S/R, when I will get a chance...

Jacques

From: <jler...@apache.org>
Author: jleroux
Date: Wed Mar 18 17:21:14 2009
New Revision: 755658

URL: http://svn.apache.org/viewvc?rev=755658&view=rev
Log:
Following Ashish's commit at r755572:
Followed best practice.
Changed location="org/ofbiz/......... to location="component:// party/script/org/ofbiz......

Modified:
  ofbiz/trunk/applications/party/servicedef/services_view.xml

Modified: ofbiz/trunk/applications/party/servicedef/services_view.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/servicedef/services_view.xml?rev=755658&r1=755657&r2=755658&view=diff = = = = = = = = = ===================================================================== --- ofbiz/trunk/applications/party/servicedef/services_view.xml (original) +++ ofbiz/trunk/applications/party/servicedef/services_view.xml Wed Mar 18 17:21:14 2009
@@ -115,14 +115,14 @@
   </service>

   <service name="getPartiesByRelationship" engine="simple"
- location="org/ofbiz/party/party/PartyServices.xml" invoke="getPartiesByRelationship"> + location="component://party/script/org/ofbiz/party/party/ PartyServices.xml" invoke="getPartiesByRelationship"> <description>Gets all parties related to partyIdFrom through the PartyRelationship entity</description> <auto-attributes mode="IN" include="all" optional="true" entity-name="PartyRelationship"/> <attribute name="parties" type="java.util.Collection" mode="OUT" optional="true"/>
       <override name="partyIdFrom" optional="false"/>
   </service>
   <service name="getRelatedParties" engine="simple"
- location="org/ofbiz/party/party/PartyServices.xml" invoke="getRelatedParties"> + location="component://party/script/org/ofbiz/party/ party/PartyServices.xml" invoke="getRelatedParties">
       <description>
           Get Parties Related to a Party
- The relatedPartyIdList coming out will include the original partyIdFrom
@@ -142,7 +142,7 @@
   </service>

   <service name="getParentOrganizations" engine="simple"
- location="org/ofbiz/party/party/PartyServices.xml" invoke="getParentOrganizations"> + location="component://party/script/org/ofbiz/party/ party/PartyServices.xml" invoke="getParentOrganizations">
       <description>
           Gets Parent Organizations for an Organization Party.
This uses the PartyRelationship table with partyRelationshipTypeId="GROUP_ROLLUP".
@@ -157,7 +157,7 @@
   </service>

   <service name="getChildRoleTypes" engine="simple"
- location="org/ofbiz/party/party/PartyServices.xml" invoke="getChildRoleTypes"> + location="component://party/script/org/ofbiz/party/ party/PartyServices.xml" invoke="getChildRoleTypes">
       <description>
           Get Child RoleTypes.
The childRoleTypeIdList coming out will contain the original roleTypeId.
@@ -168,7 +168,7 @@

   <!-- PostalAddressBoundary -->
   <service name="getPostalAddressBoundary" engine="simple"
- location="org/ofbiz/party/party/PartyServices.xml" invoke="getPostalAddressBoundary"> + location="component://party/script/org/ofbiz/party/ party/PartyServices.xml" invoke="getPostalAddressBoundary">
       <description>Get all Postal Address Boundaries</description>
<permission-service service-name="partyBasePermissionCheck" main-action="VIEW"/> <attribute name="contactMechId" type="String" mode="IN" optional="false"/>
@@ -177,12 +177,12 @@

   <!-- Get a list of country and associated states from Geo -->
   <service name="getCountryList" engine="simple" auth="false"
- location="org/ofbiz/party/party/PartyServices.xml" invoke="getCountryList"> + location="component://party/script/org/ofbiz/party/ party/PartyServices.xml" invoke="getCountryList"> <attribute name="countryList" mode="OUT" type="java.util.List"/>
   </service>

<service name="getAssociatedStateList" engine="simple" auth="false" - location="org/ofbiz/party/party/PartyServices.xml" invoke="getAssociatedStateList"> + location="component://party/script/org/ofbiz/party/ party/PartyServices.xml" invoke="getAssociatedStateList"> <attribute name="countryGeoId" mode="IN" type="String" optional="false"/>
       <attribute name="stateList" mode="OUT" type="java.util.List"/>
   </service>






Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to