Hi all,
I'm facing a little problem when trying to deploy my new plugins using the p2 update feature, because they do not start automatically.
Steps that i did:
1 - created a plug-in project (singleton, without activator because i don't have 2pack)
2 - created a feature that includes the plugin project
3 - exported with buckminster using "site.p2" (i tryied this step using Export from Eclipse too)
4 - Created a script updateMyPlugins.sh on the server (based on update.sh)
5 - run the updateMyPlugins.sh with correct parameters
6 - The installation is fine and everything looks OK
But when I run the application server, the plug-in is not working as expected.
Then using Felix or telnet OSGi console I can see that my plug-in status is "RESOLVED". To fix that, I need to manually start the plug-in, then reload all.
By doing this everything works OK...
I don't know if I'm doing something wrong, but someone can give a hint on how making this plug-in starts automatically when installed using p2 and/or when the application server is started.
Thanks!