Skip to main content



      Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Scala OSGi plugin template
Scala OSGi plugin template [message #423] Thu, 10 April 2008 10:45
Eclipse UserFriend
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
Previous Topic:Problems building my own plugin template
Next Topic:Scala OSGi plugin template
Goto Forum:
  


Current Time: Wed Apr 30 15:55:28 EDT 2025

Powered by FUDForum. Page generated in 0.07349 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top