felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard S. Hall" <he...@ungoverned.org>
Subject Re: AutoActivator
Date Mon, 16 Feb 2009 16:17:06 GMT
Well, this is probably more of a user list question, but no worries...

The AutoActivator code is simplistic to handle the basic cases. You 
could create your own version of it that reports errors any way you want.

-> richard

Pete Haidinyak wrote:
> Good morning,
>     I was using the following example code...
>
>   Map configMap = new HashMap();
>          configMap.put(AutoActivator.AUTO_START_PROP + ".1",
>              "file:bundle/org.apache.felix.shell-1.0.2.jar " +
>              "file:bundle/org.apache.felix.shell.tui-1.0.2.jar");
>          List list = new ArrayList();
>          list.add(new AutoActivator(configMap));
>          configMap.put(FelixConstants.SYSTEMBUNDLE_ACTIVATORS_PROP, 
> list);
>
> and I noticed that if the bundles can't be loaded there is an message
> printed to System.err and nothing else. Since I am starting Felix from my
> application is there a good way to see the bundle that were suppose to
> auto start did?
>     Also, since this is the Dev list is this the correct place to put my
> questions?
>
> Thanks
>
> -Pete
>
>

Mime
View raw message