Wow, thanks Jacques. This is a great thing to see done.

On a side note for those reading in: this change impacts a lot of stuff and will cause problems anywhere that something in these script directories is still being referred to from the classpath. Hopefully all of those are fixed, but some could have slipped through. I guess watch for "Resource not found" errors.

-David


On May 3, 2009, at 11:19 AM, jler...@apache.org wrote:

Author: jleroux
Date: Sun May  3 17:19:37 2009
New Revision: 771090

URL: http://svn.apache.org/viewvc?rev=771090&view=rev
Log:
As suggested by David, these lines are not needed anymore

Modified:
   ofbiz/trunk/applications/accounting/ofbiz-component.xml
   ofbiz/trunk/applications/content/ofbiz-component.xml
   ofbiz/trunk/applications/humanres/ofbiz-component.xml
   ofbiz/trunk/applications/manufacturing/ofbiz-component.xml
   ofbiz/trunk/applications/marketing/ofbiz-component.xml
   ofbiz/trunk/applications/order/ofbiz-component.xml
   ofbiz/trunk/applications/party/ofbiz-component.xml
   ofbiz/trunk/applications/product/ofbiz-component.xml
   ofbiz/trunk/applications/securityext/ofbiz-component.xml
   ofbiz/trunk/applications/workeffort/ofbiz-component.xml
   ofbiz/trunk/framework/bi/ofbiz-component.xml
   ofbiz/trunk/framework/common/ofbiz-component.xml
   ofbiz/trunk/framework/entityext/ofbiz-component.xml
   ofbiz/trunk/specialpurpose/assetmaint/ofbiz-component.xml
   ofbiz/trunk/specialpurpose/ecommerce/ofbiz-component.xml
   ofbiz/trunk/specialpurpose/googleCheckout/ofbiz-component.xml
   ofbiz/trunk/specialpurpose/hhfacility/ofbiz-component.xml
   ofbiz/trunk/specialpurpose/myportal/ofbiz-component.xml
   ofbiz/trunk/specialpurpose/projectmgr/ofbiz-component.xml
   ofbiz/trunk/specialpurpose/webpos/ofbiz-component.xml

Modified: ofbiz/trunk/applications/accounting/ofbiz-component.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/ofbiz-component.xml?rev=771090&r1=771089&r2=771090&view=diff
= = = = = = = = ======================================================================
--- ofbiz/trunk/applications/accounting/ofbiz-component.xml (original)
+++ ofbiz/trunk/applications/accounting/ofbiz-component.xml Sun May 3 17:19:37 2009
@@ -23,7 +23,6 @@
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd ">
    <resource-loader name="main" type="component"/>
    <classpath type="jar" location="build/lib/*"/>
-    <classpath type="dir" location="script"/>
    <classpath type="dir" location="config"/>
    <classpath type="jar" location="lib/*"/>
    <classpath type="jar" location="lib/cybersource/*"/>

Modified: ofbiz/trunk/applications/content/ofbiz-component.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/ofbiz-component.xml?rev=771090&r1=771089&r2=771090&view=diff
= = = = = = = = ======================================================================
--- ofbiz/trunk/applications/content/ofbiz-component.xml (original)
+++ ofbiz/trunk/applications/content/ofbiz-component.xml Sun May 3 17:19:37 2009
@@ -23,7 +23,6 @@
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd ">
    <resource-loader name="main" type="component"/>
    <classpath type="dir" location="config"/>
-    <classpath type="dir" location="script"/>
    <classpath type="dir" location="dtd"/>
    <classpath type="jar" location="lib/*"/>
    <classpath type="jar" location="lib/uno/*"/>

Modified: ofbiz/trunk/applications/humanres/ofbiz-component.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/ofbiz-component.xml?rev=771090&r1=771089&r2=771090&view=diff
= = = = = = = = ======================================================================
--- ofbiz/trunk/applications/humanres/ofbiz-component.xml (original)
+++ ofbiz/trunk/applications/humanres/ofbiz-component.xml Sun May 3 17:19:37 2009
@@ -23,7 +23,6 @@
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd ">
    <resource-loader name="main" type="component"/>
    <classpath type="jar" location="build/lib/*"/>
-    <classpath type="dir" location="script"/>
    <classpath type="dir" location="config"/>
<entity-resource type="model" reader-name="main" loader="main" location="entitydef/entitymodel.xml"/> <entity-resource type="model" reader-name="main" loader="main" location="entitydef/entitymodel_old.xml"/>

Modified: ofbiz/trunk/applications/manufacturing/ofbiz-component.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/ofbiz-component.xml?rev=771090&r1=771089&r2=771090&view=diff
= = = = = = = = ====================================================================== --- ofbiz/trunk/applications/manufacturing/ofbiz-component.xml (original) +++ ofbiz/trunk/applications/manufacturing/ofbiz-component.xml Sun May 3 17:19:37 2009
@@ -30,7 +30,6 @@
<!-- place the config directory on the classpath to access configuration files -->
    <classpath type="dir" location="config"/>

-    <classpath type="dir" location="script"/>

    <!-- entity resources: model(s), eca(s) and group definitions -->
<entity-resource type="model" reader-name="main" loader="main" location="entitydef/entitymodel.xml"/>

Modified: ofbiz/trunk/applications/marketing/ofbiz-component.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/ofbiz-component.xml?rev=771090&r1=771089&r2=771090&view=diff
= = = = = = = = ======================================================================
--- ofbiz/trunk/applications/marketing/ofbiz-component.xml (original)
+++ ofbiz/trunk/applications/marketing/ofbiz-component.xml Sun May 3 17:19:37 2009
@@ -24,7 +24,6 @@
    <resource-loader name="main" type="component"/>
    <classpath type="jar" location="build/lib/*"/>
    <classpath type="jar" location="lib/*"/>
-    <classpath type="dir" location="script"/>
    <classpath type="dir" location="config"/>
<entity-resource type="model" reader-name="main" loader="main" location="entitydef/entitymodel.xml"/> <entity-resource type="data" reader-name="seed" loader="main" location="data/MarketingTypeData.xml"/>

Modified: ofbiz/trunk/applications/order/ofbiz-component.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/ofbiz-component.xml?rev=771090&r1=771089&r2=771090&view=diff
= = = = = = = = ======================================================================
--- ofbiz/trunk/applications/order/ofbiz-component.xml (original)
+++ ofbiz/trunk/applications/order/ofbiz-component.xml Sun May 3 17:19:37 2009
@@ -24,7 +24,6 @@
    <resource-loader name="main" type="component"/>
    <classpath type="jar" location="build/lib/*"/>
    <classpath type="dir" location="config"/>
-    <classpath type="dir" location="script"/>
    <classpath type="dir" location="email"/>
<entity-resource type="model" reader-name="main" loader="main" location="entitydef/entitymodel.xml"/> <entity-resource type="model" reader-name="main" loader="main" location="entitydef/entitymodel_old.xml"/>

Modified: ofbiz/trunk/applications/party/ofbiz-component.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/ofbiz-component.xml?rev=771090&r1=771089&r2=771090&view=diff
= = = = = = = = ======================================================================
--- ofbiz/trunk/applications/party/ofbiz-component.xml (original)
+++ ofbiz/trunk/applications/party/ofbiz-component.xml Sun May 3 17:19:37 2009
@@ -24,7 +24,6 @@
    <resource-loader name="main" type="component"/>
    <classpath type="jar" location="build/lib/*"/>
    <classpath type="dir" location="config"/>
-    <classpath type="dir" location="script"/>

<entity-resource type="model" reader-name="main" loader="main" location="entitydef/entitymodel.xml"/> <entity-resource type="data" reader-name="seed" loader="main" location="data/PartyTypeData.xml"/>

Modified: ofbiz/trunk/applications/product/ofbiz-component.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/ofbiz-component.xml?rev=771090&r1=771089&r2=771090&view=diff
= = = = = = = = ======================================================================
--- ofbiz/trunk/applications/product/ofbiz-component.xml (original)
+++ ofbiz/trunk/applications/product/ofbiz-component.xml Sun May 3 17:19:37 2009
@@ -23,7 +23,6 @@
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd ">
    <resource-loader name="main" type="component"/>
    <classpath type="dir" location="config"/>
-    <classpath type="dir" location="script"/>
    <classpath type="jar" location="build/lib/*"/>

<entity-resource type="model" reader-name="main" loader="main" location="entitydef/entitymodel.xml"/>

Modified: ofbiz/trunk/applications/securityext/ofbiz-component.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/securityext/ofbiz-component.xml?rev=771090&r1=771089&r2=771090&view=diff
= = = = = = = = ====================================================================== --- ofbiz/trunk/applications/securityext/ofbiz-component.xml (original) +++ ofbiz/trunk/applications/securityext/ofbiz-component.xml Sun May 3 17:19:37 2009
@@ -24,7 +24,6 @@
    <resource-loader name="main" type="component"/>
    <classpath type="jar" location="build/lib/*"/>
    <classpath type="dir" location="config"/>
-    <classpath type="dir" location="script"/>
<entity-resource type="data" reader-name="demo" loader="main" location="data/UserDemoData.xml"/> <!-- NOTE: comment this line out to ensure no resetting of passwords --> <entity-resource type="data" reader-name="demo" loader="main" location="data/PasswordSecurityData.xml"/>

Modified: ofbiz/trunk/applications/workeffort/ofbiz-component.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/ofbiz-component.xml?rev=771090&r1=771089&r2=771090&view=diff
= = = = = = = = ======================================================================
--- ofbiz/trunk/applications/workeffort/ofbiz-component.xml (original)
+++ ofbiz/trunk/applications/workeffort/ofbiz-component.xml Sun May 3 17:19:37 2009
@@ -24,7 +24,6 @@
    <resource-loader name="main" type="component"/>
    <classpath type="jar" location="build/lib/*"/>
    <classpath type="dir" location="config"/>
-    <classpath type="dir" location="script"/>
<entity-resource type="model" reader-name="main" loader="main" location="entitydef/entitymodel.xml"/> <entity-resource type="model" reader-name="main" loader="main" location="entitydef/entitymodel_old.xml"/> <entity-resource type="model" reader-name="main" loader="main" location="entitydef/entitymodel_view.xml"/>

Modified: ofbiz/trunk/framework/bi/ofbiz-component.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/framework/bi/ofbiz-component.xml?rev=771090&r1=771089&r2=771090&view=diff
= = = = = = = = ======================================================================
--- ofbiz/trunk/framework/bi/ofbiz-component.xml (original)
+++ ofbiz/trunk/framework/bi/ofbiz-component.xml Sun May 3 17:19:37 2009
@@ -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/framework/common/ofbiz-component.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/ofbiz-component.xml?rev=771090&r1=771089&r2=771090&view=diff
= = = = = = = = ======================================================================
--- ofbiz/trunk/framework/common/ofbiz-component.xml (original)
+++ ofbiz/trunk/framework/common/ofbiz-component.xml Sun May 3 17:19:37 2009
@@ -24,7 +24,6 @@
    <resource-loader name="main" type="component"/>
    <classpath type="jar" location="build/lib/*"/>
    <classpath type="dir" location="config"/>
-    <classpath type="dir" location="script"/>
<entity-resource type="model" reader-name="main" loader="main" location="entitydef/entitymodel.xml"/> <entity-resource type="model" reader-name="main" loader="main" location="entitydef/entitymodel_olap.xml"/> <entity-resource type="group" reader-name="main" loader="main" location="entitydef/entitygroup_olap.xml"/>

Modified: ofbiz/trunk/framework/entityext/ofbiz-component.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/framework/entityext/ofbiz-component.xml?rev=771090&r1=771089&r2=771090&view=diff
= = = = = = = = ======================================================================
--- ofbiz/trunk/framework/entityext/ofbiz-component.xml (original)
+++ ofbiz/trunk/framework/entityext/ofbiz-component.xml Sun May 3 17:19:37 2009
@@ -23,7 +23,6 @@
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd ">
    <resource-loader name="main" type="component"/>
    <classpath type="jar" location="build/lib/*"/>
-    <classpath type="dir" location="script"/>
<entity-resource type="model" reader-name="main" loader="main" location="entitydef/entitymodel.xml"/> <entity-resource type="data" reader-name="seed" loader="main" location="data/EntityExtTypeData.xml"/> <entity-resource type="data" reader-name="seed-initial" loader="main" location="data/EntityScheduledServices.xml"/>

Modified: ofbiz/trunk/specialpurpose/assetmaint/ofbiz-component.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/assetmaint/ofbiz-component.xml?rev=771090&r1=771089&r2=771090&view=diff
= = = = = = = = ====================================================================== --- ofbiz/trunk/specialpurpose/assetmaint/ofbiz-component.xml (original) +++ ofbiz/trunk/specialpurpose/assetmaint/ofbiz-component.xml Sun May 3 17:19:37 2009
@@ -26,7 +26,6 @@

<!-- place the config directory on the classpath to access configuration files -->
    <classpath type="dir" location="config"/>
-    <classpath type="dir" location="script"/>

    <!-- load single or multiple external libraries -->
    <classpath type="jar" location="build/lib/*"/>

Modified: ofbiz/trunk/specialpurpose/ecommerce/ofbiz-component.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/ofbiz-component.xml?rev=771090&r1=771089&r2=771090&view=diff
= = = = = = = = ====================================================================== --- ofbiz/trunk/specialpurpose/ecommerce/ofbiz-component.xml (original) +++ ofbiz/trunk/specialpurpose/ecommerce/ofbiz-component.xml Sun May 3 17:19:37 2009
@@ -24,7 +24,6 @@
    <resource-loader name="main" type="component"/>
    <classpath type="jar" location="build/lib/*"/>
    <classpath type="dir" location="config"/>
-    <classpath type="dir" location="script"/>
<entity-resource type="data" reader-name="seed" loader="main" location="data/EcommerceTypeData.xml"/> <entity-resource type="data" reader-name="demo" loader="main" location="data/DemoProduct.xml"/> <entity-resource type="data" reader-name="demo" loader="main" location="data/DemoProductImages.xml"/>

Modified: ofbiz/trunk/specialpurpose/googleCheckout/ofbiz- component.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/googleCheckout/ofbiz-component.xml?rev=771090&r1=771089&r2=771090&view=diff
= = = = = = = = ====================================================================== --- ofbiz/trunk/specialpurpose/googleCheckout/ofbiz-component.xml (original) +++ ofbiz/trunk/specialpurpose/googleCheckout/ofbiz-component.xml Sun May 3 17:19:37 2009
@@ -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"/>

<service-resource type="model" loader="main" location="servicedef/services.xml"/>

Modified: ofbiz/trunk/specialpurpose/hhfacility/ofbiz-component.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/hhfacility/ofbiz-component.xml?rev=771090&r1=771089&r2=771090&view=diff
= = = = = = = = ====================================================================== --- ofbiz/trunk/specialpurpose/hhfacility/ofbiz-component.xml (original) +++ ofbiz/trunk/specialpurpose/hhfacility/ofbiz-component.xml Sun May 3 17:19:37 2009
@@ -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="jar" location="build/lib/*"/>

<service-resource type="model" loader="main" location="servicedef/services_hhfacility.xml"/>

Modified: ofbiz/trunk/specialpurpose/myportal/ofbiz-component.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/myportal/ofbiz-component.xml?rev=771090&r1=771089&r2=771090&view=diff
= = = = = = = = ======================================================================
--- ofbiz/trunk/specialpurpose/myportal/ofbiz-component.xml (original)
+++ ofbiz/trunk/specialpurpose/myportal/ofbiz-component.xml Sun May 3 17:19:37 2009
@@ -23,7 +23,6 @@
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd ">
    <resource-loader name="main" type="component"/>
    <classpath type="dir" location="config"/>
-    <classpath type="dir" location="script"/>

<entity-resource type="data" reader-name="seed" loader="main" location="data/MyPortalSecurityData.xml"/> <entity-resource type="data" reader-name="seed" loader="main" location="data/MyPortalTypeData.xml"/>

Modified: ofbiz/trunk/specialpurpose/projectmgr/ofbiz-component.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/ofbiz-component.xml?rev=771090&r1=771089&r2=771090&view=diff
= = = = = = = = ====================================================================== --- ofbiz/trunk/specialpurpose/projectmgr/ofbiz-component.xml (original) +++ ofbiz/trunk/specialpurpose/projectmgr/ofbiz-component.xml Sun May 3 17:19:37 2009
@@ -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/webpos/ofbiz-component.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/ofbiz-component.xml?rev=771090&r1=771089&r2=771090&view=diff
= = = = = = = = ======================================================================
--- ofbiz/trunk/specialpurpose/webpos/ofbiz-component.xml (original)
+++ ofbiz/trunk/specialpurpose/webpos/ofbiz-component.xml Sun May 3 17:19:37 2009
@@ -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/*"/>




Reply via email to