User Tools

Site Tools


apache_karaf

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
apache_karaf [2015/07/24 12:07]
mihael
apache_karaf [2016/02/25 10:33]
mihael
Line 14: Line 14:
  
 ===== Commands ===== ===== Commands =====
 +
 +==== Scripting ====
 +
 +=== Execute Script ===
 +To execute a script (file with Karaf shell commands) the command ''​shell:​source''​ has to be used.
 +
 +  shell:​source my.script
 +
  
 ==== Bundles ==== ==== Bundles ====
Line 40: Line 48:
  
 === Watch === === Watch ===
-During development it is very inconvenient to manually reload the new bundle version to test the last change. Karaf supports to automatically reload //watched// bundles. There are some requirements for this to work. The bundles **must** be SNAPSHOT versions and the bundles must be installed via the ''​install''​ command **with** the version passed to the command.+During development it is very inconvenient to manually reload the new bundle version to test the last change. Karaf supports to automatically reload //watched// bundles. There are some requirements for this to work. The bundles must be installed via the ''​install''​ command **with** the version passed to the command.
  
   install mvn:​my.group/​my.artifact/​1.0.0-SNAPSHOT   install mvn:​my.group/​my.artifact/​1.0.0-SNAPSHOT
apache_karaf.txt ยท Last modified: 2016/02/25 10:33 by mihael