Author: mor
Date: Mon Nov 17 01:57:57 2008 New Revision: 718213 URL: http://svn.apache.org/viewvc?rev=718213&view=rev Log: Removed the script directory from classpath for oagis component and chaged the service def to refer to simple method files by component:// url instead of classpath resource location. This is the second step (I guess after David commit for the same thing but for example component in rev 574829) to make the project less classpath dependent. Modified: ofbiz/trunk/specialpurpose/oagis/ofbiz-component.xml ofbiz/trunk/specialpurpose/oagis/servicedef/services.xml Modified: ofbiz/trunk/specialpurpose/oagis/ofbiz-component.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/oagis/ofbiz-component.xml?rev=718213&r1=718212&r2=718213&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/oagis/ofbiz-component.xml (original) +++ ofbiz/trunk/specialpurpose/oagis/ofbiz-component.xml Mon Nov 17 01:57:57 2008 @@ -22,7 +22,6 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd"> <resource-loader name="main" type="component"/> - <classpath type="dir" location="script"/> <classpath type="dir" location="config"/> <classpath type="jar" location="build/lib/*"/> Modified: ofbiz/trunk/specialpurpose/oagis/servicedef/services.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/oagis/servicedef/services.xml?rev=718213&r1=718212&r2=718213&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/oagis/servicedef/services.xml (original) +++ ofbiz/trunk/specialpurpose/oagis/servicedef/services.xml Mon Nov 17 01:57:57 2008 @@ -31,33 +31,33 @@ <!-- Low Level CrUD Services --> <service name="createOagisMessageInfo" engine="simple" default-entity-name="OagisMessageInfo" require-new-transaction="true" - location="org/ofbiz/oagis/OagisMessageServices.xml" invoke="createOagisMessageInfo" auth="true"> + location="component://oagis/script/org/ofbiz/oagis/OagisMessageServices.xml" invoke="createOagisMessageInfo" auth="true"> <description>Create MessageInfo</description> <auto-attributes mode="IN" include="pk" optional="false"/> <auto-attributes mode="IN" include="nonpk" optional="true"/> </service> <service name="updateOagisMessageInfo" engine="simple" default-entity-name="OagisMessageInfo" require-new-transaction="true" - location="org/ofbiz/oagis/OagisMessageServices.xml" invoke="updateOagisMessageInfo" auth="true"> + location="component://oagis/script/org/ofbiz/oagis/OagisMessageServices.xml" invoke="updateOagisMessageInfo" auth="true"> <description>Update MessageInfo</description> <auto-attributes mode="IN" include="pk" optional="false"/> <auto-attributes mode="IN" include="nonpk" optional="true"/> </service> <service name="createOagisMessageErrorInfo" engine="simple" default-entity-name="OagisMessageErrorInfo" - location="org/ofbiz/oagis/OagisMessageServices.xml" invoke="createOagisMessageErrorInfo" auth="true"> + location="component://oagis/script/org/ofbiz/oagis/OagisMessageServices.xml" invoke="createOagisMessageErrorInfo" auth="true"> <description>Create MessageErrorInfo</description> <auto-attributes mode="IN" include="pk" optional="false"/> <auto-attributes mode="IN" include="nonpk" optional="true"/> <override name="errorSeqId" optional="true"/> </service> <service name="updateOagisMessageErrorInfo" engine="simple" default-entity-name="OagisMessageErrorInfo" - location="org/ofbiz/oagis/OagisMessageServices.xml" invoke="updateOagisMessageErrorInfo" auth="true"> + location="component://oagis/script/org/ofbiz/oagis/OagisMessageServices.xml" invoke="updateOagisMessageErrorInfo" auth="true"> <description>Update MessageErrorInfo</description> <auto-attributes mode="IN" include="pk" optional="false"/> <auto-attributes mode="IN" include="nonpk" optional="true"/> </service> <service name="createOagisMsgErrInfosFromErrMapList" engine="simple" - location="org/ofbiz/oagis/OagisMessageServices.xml" invoke="createOagisMsgErrInfosFromErrMapList" auth="true"> + location="component://oagis/script/org/ofbiz/oagis/OagisMessageServices.xml" invoke="createOagisMsgErrInfosFromErrMapList" auth="true"> <description>Create MessageErrorInfo From Error Map List</description> <auto-attributes entity-name="OagisMessageInfo" mode="IN" include="pk" optional="false"/> <attribute type="List" mode="IN" name="errorMapList" optional="true"/> |
Free forum by Nabble | Edit this page |