Setting up karaf w/ cellar

edit bin/setenv
export JAVA_MIN_MEM=1024M
export JAVA_MAX_MEM=2048M
export JAVA_PERM_MEM=1024M
export JAVA_MAX_PERM_MEM=2048M

feature:repo-add cellar 3.0.3
feature:list | grep -i cellar
feature:install cellar
# feature:install cellar/3.0.3
feature:install cellar-obr
# feature:install cellar-obr/3.0.3
cluster:obr-[hit tab] # should show cluster:obr-add-url
cluster:group-create group # optional, I just use default
cluster:obr-add-url default file:///path/to/repo/index.xml # note the file protocol is needed
# alternatively, add the uri above to etc/config.properties under obr.repository.url
cluster:group-list
cluster:obr-list-url default
cluster:obr-list default | grep -i [package name]

note: if you remove ~/.karaf, you will have to re-exec all of the above again.

No comments: