setenv.bat 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. rem
  20. rem handle specific scripts; the SCRIPT_NAME is exactly the name of the Karaf
  21. rem script; for example karaf.bat, start.bat, stop.bat, admin.bat, client.bat, ...
  22. rem
  23. rem if "%KARAF_SCRIPT%" == "SCRIPT_NAME" (
  24. rem Actions go here...
  25. rem )
  26. rem
  27. rem general settings which should be applied for all scripts go here; please keep
  28. rem in mind that it is possible that scripts might be executed more than once, e.g.
  29. rem in example of the start script where the start script is executed first and the
  30. rem karaf script afterwards.
  31. rem
  32. rem
  33. rem The following section shows the possible configuration options for the default
  34. rem karaf scripts
  35. rem
  36. rem Window name of the windows console
  37. rem SET KARAF_TITLE
  38. rem Location of Java installation
  39. rem SET JAVA_HOME
  40. rem Minimum memory for the JVM
  41. rem SET JAVA_MIN_MEM
  42. rem Maximum memory for the JVM
  43. rem SET JAVA_MAX_MEM
  44. rem Minimum perm memory for the JVM
  45. rem SET JAVA_PERM_MEM
  46. rem Maximum perm memory for the JVM
  47. rem SET JAVA_MAX_PERM_MEM
  48. rem Additional JVM options
  49. rem SET EXTRA_JAVA_OPTS
  50. rem Karaf home folder
  51. rem SET KARAF_HOME
  52. rem Karaf data folder
  53. rem SET KARAF_DATA
  54. rem Karaf base folder
  55. rem SET KARAF_BASE
  56. rem Karaf etc folder
  57. rem SET KARAF_ETC
  58. rem Additional available Karaf options
  59. rem SET KARAF_OPTS
  60. rem Enable debug mode
  61. rem SET KARAF_DEBUG