Scala OSGi plugin template [message #423] |
Thu, 10 April 2008 10:45 |
Eclipse User |
|
|
|
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.07349 seconds