Added ASL2.0 to start scripts.

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@424208 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jacopo Cappellato
2006-07-21 07:02:43 +00:00
parent 8f692c6f9c
commit e2695cd95d
7 changed files with 118 additions and 13 deletions
+15
View File
@@ -1,4 +1,19 @@
#!/bin/sh
#####################################################################
# Copyright 2001-2006 The Apache Software Foundation
#
# Licensed 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.
#####################################################################
# location of java executable
if [ -f "$JAVA_HOME/bin/java" ]; then
+20 -3
View File
@@ -1,3 +1,20 @@
"%JAVA_HOME%\bin\java" -jar framework/base/lib/ant-launcher.jar %1 %2 %3 %4 %5 %6
ECHO OFF
REM #####################################################################
REM # Copyright 2001-2006 The Apache Software Foundation
REM #
REM # Licensed under the Apache License, Version 2.0 (the "License"); you may not
REM # use this file except in compliance with the License. You may obtain a copy of
REM # the License at
REM #
REM # http://www.apache.org/licenses/LICENSE-2.0
REM #
REM # Unless required by applicable law or agreed to in writing, software
REM # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
REM # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
REM # License for the specific language governing permissions and limitations
REM # under the License.
REM #####################################################################
ECHO ON
"%JAVA_HOME%\bin\java" -jar framework/base/lib/ant-launcher.jar %1 %2 %3 %4 %5 %6
+15
View File
@@ -1,4 +1,19 @@
#!/bin/sh
#####################################################################
# Copyright 2001-2006 The Apache Software Foundation
#
# Licensed 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.
#####################################################################
# Properties
HM='-Dderby.system.home=data/derby'
+15
View File
@@ -1,4 +1,19 @@
#!/bin/sh
#####################################################################
# Copyright 2001-2006 The Apache Software Foundation
#
# Licensed 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 This shell script takes care of starting and stopping
# the OFBiz subsystem
+23 -6
View File
@@ -1,6 +1,23 @@
"%JAVA_HOME%\bin\java" -Xms256M -Xmx512M -jar ofbiz.jar > framework\logs\console.log
REM This one is for more of a debugging mode
REM "%JAVA_HOME%\bin\java" -Xms256M -Xmx512M -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 -jar ofbiz.jar > framework\logs\console.log
ECHO OFF
REM #####################################################################
REM # Copyright 2001-2006 The Apache Software Foundation
REM #
REM # Licensed under the Apache License, Version 2.0 (the "License"); you may not
REM # use this file except in compliance with the License. You may obtain a copy of
REM # the License at
REM #
REM # http://www.apache.org/licenses/LICENSE-2.0
REM #
REM # Unless required by applicable law or agreed to in writing, software
REM # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
REM # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
REM # License for the specific language governing permissions and limitations
REM # under the License.
REM #####################################################################
ECHO ON
"%JAVA_HOME%\bin\java" -Xms256M -Xmx512M -jar ofbiz.jar > framework\logs\console.log
REM This one is for more of a debugging mode
REM "%JAVA_HOME%\bin\java" -Xms256M -Xmx512M -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 -jar ofbiz.jar > framework\logs\console.log
+15 -3
View File
@@ -1,7 +1,19 @@
#!/bin/sh
####
# $Id: startofbiz.sh 7923 2006-07-01 17:37:19Z jonesde $
####
#####################################################################
# Copyright 2001-2006 The Apache Software Foundation
#
# Licensed 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.
#####################################################################
# shutdown settings
ADMIN_PORT=10523
+15 -1
View File
@@ -1,6 +1,20 @@
#!/bin/sh
#####################################################################
# Copyright 2001-2006 The Apache Software Foundation
#
# Licensed 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.
#####################################################################
####
# $Id: stopofbiz.sh 5952 2005-10-13 09:52:25Z jonesde $
# ofbiz.admin.key and ofbiz.admin.port must match that which OFBIZ was started with
####