ilscipio/scipio-erp

View on GitHub
applications/commonext/scipio-component.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="UTF-8"?>
<!--
This file is subject to the terms and conditions defined in the
files 'LICENSE' and 'NOTICE', which are part of this source
code package.
-->

<ofbiz-component name="commonext"
        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="jar" location="build/lib/*"/><!-- SCIPIO -->
    <classpath type="dir" location="config"/>
    
    <entity-resource type="data" reader-name="seed" loader="main" location="data/EntityDiagramGroupData.xml"/>
    <entity-resource type="data" reader-name="seed" loader="main" location="data/CommonExtSecurityPermissionSeedData.xml"/>
    <entity-resource type="data" reader-name="demo" loader="main" location="data/CommonExtSecurityGroupDemoData.xml"/>
    <entity-resource type="data" reader-name="seed" loader="main" location="data/CommonExtHelpData.xml"/>
    <entity-resource type="data" reader-name="seed" loader="main" location="data/SystemInfoPortletData.xml"/>
    <entity-resource type="data" reader-name="seed" loader="main" location="data/SetupData.xml"/>
    <entity-resource type="data" reader-name="seed" loader="main" location="data/OfbizSetupSecurityPermissionSeedData.xml"/>
    <entity-resource type="data" reader-name="demo" loader="main" location="data/OfbizSetupSecurityGroupDemoData.xml"/>
    
    <entity-resource type="model" reader-name="main" loader="main" location="entitydef/entitymodel.xml"/>
    
    <service-resource type="model" loader="main" location="servicedef/services.xml"/>
    <service-resource type="model" loader="main" location="servicedef/services_email.xml"/><!-- SCIPIO -->
    <service-resource type="eca" loader="main" location="servicedef/secas.xml"/>
    
    <!-- SCIPIO: DEPRECATED: ofbizsetup webapp is replaced by full dedicated setup component: component://setup/ofbiz-component.xml
        NOTE: The new setup component may still reuse files from the original component://commonext/... location.
        Although having a separate component creates issues with finding/splitting/reusing/duplication of legacy files,
        the original inclusion of ofbizsetup in commonext muddied the component dependencies and was flawed; it really belonged as
        a separate component due to physical and logical dependendies on the other applications. -->
    <webapp name="ofbizsetup"
        title="Setup"
        server="default-server"
        location="webapp/ofbizsetup"
        base-permission="OFBTOOLS,SETUP"
        mount-point="/ofbizsetup"
        app-bar-display="false"/><!-- SCIPIO: Removed from appbar here, instead of using layoutSettings.suppressTab in decorators -->

    <webapp name="ordermgr-js"
        title="ordermgr-js"
        server="default-server"
        location="webapp/ordermgr-js"
        mount-point="/ordermgr-js"
        app-bar-display="false"/>
    
</ofbiz-component>