You might also try to use instances to have different Karaf versions
running in parallel.

Regards, Achim


2013/5/23 Tim Moloney <tim.molo...@gmail.com>

> We can only have one application running in each karaf session so we can't
> add all the applications to org.apache.karaf.features.cfg.
>
> We don't want to edit org.apache.karaf.features.cfg before running each
> application.
>
> Tim
>
>
>
> On Thu, May 23, 2013 at 3:19 PM, Achim Nierbeck 
> <bcanh...@googlemail.com>wrote:
>
>> And why don't you just alter the features config and add your features to
>> the boot features?
>> Or did you consider to built a custom distribution on top of Karaf with
>> those features as boot features?
>>
>> regards, Achim
>>
>>
>> 2013/5/23 Tim Moloney <tim.molo...@gmail.com>
>>
>>> Is it possible to pass the name of a feature to load to the shell script
>>> that starts karaf?
>>> Alternately, is it possible to pass a gogo command to the shell script
>>> that starts karaf?
>>>
>>> We have several applications that all use the same underlying
>>> dependencies that are deployed in the ${KARAF_BASE}/system repo.  We'd like
>>> to be able to create bash shell aliases to conveniently start each of the
>>> applications, e.g.,
>>>
>>>   alias app1='/path/to/karaf/bin/karaf featuresBoot=app1'
>>>   alias app2='/path/to/karaf/bin/karaf featuresBoot=app2'
>>>   ...
>>>
>>> or
>>>
>>>   alias app1='/path/to/karaf/bin/karaf gogoCommand=features:install app1'
>>>   alias app2='/path/to/karaf/bin/karaf gogoCommand=features:install app2'
>>>   ...
>>>
>>> Thanks,
>>> Tim
>>>
>>>
>>
>>
>> --
>>
>> Apache Karaf <http://karaf.apache.org/> Committer & PMC
>> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer
>> & Project Lead
>> OPS4J Pax for Vaadin <http://team.ops4j.org/wiki/display/PAXVAADIN/Home>
>> Commiter & Project Lead
>> blog <http://notizblog.nierbeck.de/>
>>
>
>


-- 

Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
OPS4J Pax for Vaadin <http://team.ops4j.org/wiki/display/PAXVAADIN/Home>
Commiter & Project Lead
blog <http://notizblog.nierbeck.de/>

Reply via email to