| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| |
| <ofbiz-component name="pos" enabled="true" |
| 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="config"/> |
| <classpath type="dir" location="styles"/> |
| <classpath type="dir" location="screens"/> |
| <classpath type="jar" location="lib/*"/> |
| <classpath type="jar" location="build/lib/*"/> |
| <entity-resource type="model" reader-name="main" loader="main" location="entitydef/entitymodel.xml"/> |
| |
| <entity-resource type="data" reader-name="seed" loader="main" location="data/PosSecurityData.xml"/> |
| <entity-resource type="data" reader-name="seed" loader="main" location="data/PosTypeData.xml"/> |
| <entity-resource type="data" reader-name="demo" loader="main" location="data/DemoRetail.xml"/> |
| <entity-resource type="data" reader-name="demo" loader="main" location="data/PosSyncSettings.xml"/> |
| |
| <!-- load the JPOS devices --> |
| <container name="jpos.device-container" loaders="pos" class="org.ofbiz.pos.container.JposDeviceContainer"> |
| <property name="CashDrawer.1" value="NullCashDrawer"/> |
| <property name="Receipt" value="NullReceipt"/> |
| <!--property name="Receipt" value="TM-T88III"/--> |
| <!--property name="Receipt" value="StarTSP600"/--> |
| <property name="Keyboard" value="GenericKeyboard"/> |
| <property name="Scanner" value="GenericScanner"/> |
| <property name="Msr" value="TestMsr"/> |
| <property name="PinPad" value="[NOT IMPLEMENTED]"/> |
| <property name="Journal" value="[NOT IMPLEMENTED]"/> |
| <property name="LineDisplay" value="[NOT IMPLEMENTED]"/> |
| <property name="CheckScanner" value="[NOT IMPLEMENTED]"/> |
| <property name="SignatureCapture" value="[NOT IMPLEMENTED]"/> |
| </container> |
| |
| <!-- load the POS GUI --> |
| <container name="pos-container" loaders="pos" class="org.ofbiz.pos.container.PosContainer"> |
| <property name="startup-directory" value="specialpurpose/pos/config/"/> |
| <property name="startup-file" value="xpos.properties"/> |
| <property name="class-package-name " value="net.xoetrope.swing"/> |
| <property name="dispatcher-name" value="POSDispatcher"/> |
| <property name="delegator-name" value="default"/> |
| <property name="xui-session-id" value="pos-1"/> |
| <property name="facility-id" value="MyRetailStore"/> |
| <property name="look-and-feel" value="com.jgoodies.looks.plastic.PlasticLookAndFeel"/> |
| </container> |
| |
| </ofbiz-component> |
| |