ilscipio/scipio-erp

View on GitHub
applications/manufacturing/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="manufacturing"
        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"/>

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

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


    <!-- entity resources: model(s), eca(s) and group definitions -->
    <entity-resource type="model" reader-name="main" loader="main" location="entitydef/entitymodel.xml"/>
    <entity-resource type="data" reader-name="seed" loader="main" location="data/ManufacturingData.xml"/>
    <entity-resource type="data" reader-name="seed" loader="main" location="data/ManufacturingSecurityPermissionSeedData.xml"/>
    <entity-resource type="data" reader-name="demo" loader="main" location="data/ManufacturingSecurityGroupDemoData.xml"/>
    <entity-resource type="data" reader-name="seed" loader="main" location="data/ManufacturingHelpData_EN.xml"/>
    <entity-resource type="data" reader-name="seed" loader="main" location="data/ManufacturingHelpData_NL.xml"/>
    <!--<entity-resource type="data" reader-name="seed-initial" loader="main" location="data/ManufacturingScheduledServices.xml"/>-->
    <entity-resource type="data" reader-name="demo" loader="main" location="data/ManufacturingExampleData.xml"/>

    <!-- service resources: model(s) [definitions], eca(s) and group definitions -->
    <service-resource type="model" loader="main" location="servicedef/services.xml"/>
    <service-resource type="model" loader="main" location="servicedef/services_calendar.xml"/>
    <service-resource type="model" loader="main" location="servicedef/services_routing.xml"/>
    <service-resource type="model" loader="main" location="servicedef/services_production_run.xml"/>
    <service-resource type="model" loader="main" location="servicedef/services_bom.xml"/>
    <service-resource type="model" loader="main" location="servicedef/services_mrp.xml"/>
    <service-resource type="model" loader="main" location="servicedef/services_formula.xml"/>
    <service-resource type="eca" loader="main" location="servicedef/secas.xml"/>

    <test-suite loader="main" location="testdef/productionruntests.xml"/>

    <!-- web applications; will be mounted when using the embedded container -->
    <webapp name="manufacturing"
        title="Manufacturing"
        server="default-server"
        location="webapp/manufacturing"
        base-permission="OFBTOOLS,MANUFACTURING"
        mount-point="/manufacturing"/>

</ofbiz-component>