Scala OSGi plugin template [message #423] |
Thu, 10 April 2008 14:45 |
Miguel Garcia![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=miguel.mgl%40gmail.com) Messages: 6 Registered: July 2009 |
Junior Member |
|
|
I want to build a plugin template to create OSGi Scala bundles that,
optionally, add an Activator written in Scala (http://www.scala-lang.org/)
Based on a previous Wizard of Neil Bartlett
( http://neilbartlett.name/blog/2007/06/13/eclipse-pde-does-sc ala/) I would
like to do two things:
1) Substitute the RequiredBundle with ImportPackages, and require
pureOSGi plugins (done)
2) Add a template to the wizard for the Scala Activator
I have some problems with this second point:
A) It only have sense to add the Scala Activator if we don't have a Java
Activator. I would like to show my Wizard only if the (Java) Activator
check box is not activated, but the boolean property "requiresActivator"
of wizard extensions doesn't allow to express it in that way. There is any
other way?
B) More important than A: How could I modify the MANIFEST to add the
BundleActivator header with the package and class provided by the user?
Thanks,
Miguel
|
|
|
Powered by
FUDForum. Page generated in 0.03673 seconds