Now that it works OK, cleans things a bit about -pos and -both

Needs OFBiz to be build before it works (classloader)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@828795 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jacques Le Roux
2009-10-22 17:45:22 +00:00
parent 9e2d8f8294
commit 1f46c6f5cc
3 changed files with 1 additions and 66 deletions
@@ -1,63 +0,0 @@
<?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-containers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-containers.xsd">
<!-- load the ofbiz component container (always first) -->
<container name="component-container" class="org.ofbiz.base.container.ComponentContainer"/>
<!-- load the cached classloader container (always second) -->
<container name="classloader-container" class="org.ofbiz.base.container.ClassLoaderContainer"/>
<!-- load the JPOS devices -->
<container name="jpos.device-container" 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" 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>
<!-- load BeanShell remote telnet server -->
<container name="beanshell-container" class="org.ofbiz.base.container.BeanShellContainer">
<!-- the port below and port-1 will be opened by beanshell -->
<property name="telnet-port" value="9994"/>
<property name="app-name" value="OFBiz"/>
</container>
</ofbiz-containers>
+1 -2
View File
@@ -51,8 +51,7 @@ rem "%JAVA_HOME%\bin\java" -Xms128M -Xmx512M -XX:MaxPermSize=128m -Xdebug -Xnoag
rem ### Simple easy to read line
echo on
copy framework\base\config\both-containers.xml framework\base\config\pos-containers.xml /y
"%JAVA_HOME%\bin\java" -Xms128M -Xmx512M -XX:MaxPermSize=128m -jar ofbiz.jar -pos
"%JAVA_HOME%\bin\java" -Xms128M -Xmx512M -XX:MaxPermSize=128m -jar ofbiz.jar -both
echo off
rem ### If you would prefer the console output to be logged rather than displayed switch out the above line for this one
rem "%JAVA_HOME%\bin\java" -Xms128M -Xmx512M -XX:MaxPermSize=128m -jar ofbiz.jar > runtime\logs\console.log
-1
View File
@@ -51,7 +51,6 @@ rem "%JAVA_HOME%\bin\java" -Xms128M -Xmx512M -XX:MaxPermSize=128m -Xdebug -Xnoag
rem ### Simple easy to read line
echo on
copy framework\base\config\pos-containers.xml.bak framework\base\config\pos-containers.xml /y
"%JAVA_HOME%\bin\java" -Xms128M -Xmx512M -XX:MaxPermSize=128m -jar ofbiz.jar -pos
echo off
rem ### If you would prefer the console output to be logged rather than displayed switch out the above line for this one