Merge "Bug 1025: Fixed incorrect revision in sal-remote-augment, which caused log...
[controller.git] / opendaylight / distribution / opendaylight-karaf-resources / src / main / resources / bin / setenv.bat
1 @echo off
2 rem
3 rem
4 rem    Licensed to the Apache Software Foundation (ASF) under one or more
5 rem    contributor license agreements.  See the NOTICE file distributed with
6 rem    this work for additional information regarding copyright ownership.
7 rem    The ASF licenses this file to You under the Apache License, Version 2.0
8 rem    (the "License"); you may not use this file except in compliance with
9 rem    the License.  You may obtain a copy of the License at
10 rem
11 rem       http://www.apache.org/licenses/LICENSE-2.0
12 rem
13 rem    Unless required by applicable law or agreed to in writing, software
14 rem    distributed under the License is distributed on an "AS IS" BASIS,
15 rem    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 rem    See the License for the specific language governing permissions and
17 rem    limitations under the License.
18 rem
19
20 rem
21 rem handle specific scripts; the SCRIPT_NAME is exactly the name of the Karaf
22 rem script; for example karaf.bat, start.bat, stop.bat, admin.bat, client.bat, ...
23 rem
24 rem if "%KARAF_SCRIPT%" == "SCRIPT_NAME" (
25 rem   Actions go here...
26 rem )
27
28 rem
29 rem general settings which should be applied for all scripts go here; please keep
30 rem in mind that it is possible that scripts might be executed more than once, e.g.
31 rem in example of the start script where the start script is executed first and the
32 rem karaf script afterwards.
33 rem
34
35 rem
36 rem The following section shows the possible configuration options for the default
37 rem karaf scripts
38 rem
39 rem Window name of the windows console
40 rem SET KARAF_TITLE
41 rem Location of Java installation
42 rem SET JAVA_HOME
43 rem Minimum memory for the JVM
44 rem SET JAVA_MIN_MEM
45 rem Maximum memory for the JVM
46 rem SET JAVA_MAX_MEM
47 rem Minimum perm memory for the JVM
48 rem SET JAVA_PERM_MEM
49 rem Maximum perm memory for the JVM
50 rem SET JAVA_MAX_PERM_MEM
51 rem Karaf home folder
52 rem SET KARAF_HOME
53 rem Karaf data folder
54 rem SET KARAF_DATA
55 rem Karaf base folder
56 rem SET KARAF_BASE
57 rem Karaf etc folder
58 rem SET KARAF_ETC
59 rem Additional available Karaf options
60 rem SET KARAF_OPTS
61 rem Enable debug mode
62 rem SET KARAF_DEBUG
63 IF "%JAVA_MAX_PERM_MEM%"=="" SET JAVA_MAX_PERM_MEM=512m
64 IF "%JAVA_MAX_MEM%"=="" SET JAVA_MAX_MEM=2048m