diff --git a/ant b/ant index 04f487b968..ea71faed5e 100755 --- a/ant +++ b/ant @@ -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 diff --git a/ant.bat b/ant.bat index a86ae8f178..2dc0c9d5af 100644 --- a/ant.bat +++ b/ant.bat @@ -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 + diff --git a/ij.ofbiz b/ij.ofbiz index 1e0fad960d..c576590af1 100755 --- a/ij.ofbiz +++ b/ij.ofbiz @@ -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' diff --git a/rc.ofbiz b/rc.ofbiz index 01f6b0a919..1873c98e71 100644 --- a/rc.ofbiz +++ b/rc.ofbiz @@ -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 diff --git a/startofbiz.bat b/startofbiz.bat index 49023bbab2..2d099404d7 100644 --- a/startofbiz.bat +++ b/startofbiz.bat @@ -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 + diff --git a/startofbiz.sh b/startofbiz.sh index 8c3b62c6bf..5c63838ec3 100755 --- a/startofbiz.sh +++ b/startofbiz.sh @@ -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 diff --git a/stopofbiz.sh b/stopofbiz.sh index aefb24eafd..799566a2f8 100755 --- a/stopofbiz.sh +++ b/stopofbiz.sh @@ -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 ####