framework/webtools/scipio-component.xml
<?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="webtools"
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/*"/>
<classpath type="dir" location="config"/>
<!-- SCIPIO: NOTE: requires webSocket=true in catalina.properties
// 2019-12-21: This is not required any longer, as the default scanner will include the jar files in build/lib/*
<classpath-special purpose="websockets" type="jar" location="build/lib/ofbiz-webtools-example.jar">
<webapp name="admin"/>
</classpath-special> -->
<entity-resource type="model" reader-name="main" loader="main" location="entitydef/entitymodel_scipio.xml"/>
<entity-resource type="data" reader-name="seed" loader="main" location="data/WebtoolsSecurityPermissionSeedData.xml"/>
<entity-resource type="data" reader-name="demo" loader="main" location="data/WebtoolsSecurityGroupDemoData.xml"/>
<service-resource type="model" loader="main" location="servicedef/services.xml"/>
<service-resource type="model" loader="main" location="servicedef/services_example.xml"/><!-- SCIPIO -->
<webapp name="admin"
title="Admin"
menu-name="secondary"
server="default-server"
location="webapp/webtools"
base-permission="OFBTOOLS,WEBTOOLS"
mount-point="/admin"/>
<!-- SCIPIO: Legacy mount-point redirect -->
<webapp name="webtools"
title="WebTools"
menu-name="secondary"
server="default-server"
location="webapp/webtoolsredirect"
app-bar-display="false"
mount-point="/webtools"/>
</ofbiz-component>