On 25/04/07, Aggelos Mpimpoudis <[EMAIL PROTECTED]> wrote:
Stuart McCulloch wrote:
> if you're developing this as a PDE project then you can double-click
> on the MANIFEST.MF file, and either go to the MANIFEST.MF tab
> and edit the file directly, or go to the runtime tab and add the jarfile
> to the classpath panel.
>
I have done an OSGi project.
> otherwise if you want to develop this as a plain Java project then
> you can use Peter Krien's Bnd tool as an Eclipse plugin, and add
> the jarfile to the Bundle-ClassPath in the bnd file for the project.
>
> (see http://www.aqute.biz/Code/Bnd#eclipse)
>
> another approach is shown at the end of the Pax Construct page:
>
> http://wiki.ops4j.org/confluence/display/ops4j/Pax+Construct
>
I have included a primitive mean to show you what I ment in case I
didn't make myself clear earlier. 2 Screenshots!!!! :-P :-P
er, on the screenshot where you say you cannot add anything there
is an 'add...' button - do you mean that this button does nothing, or
that it opens a window, but the jar you want to add isn't available?
also, have you tried clicking on the 'bundle.manifest' tab (third tab
along near the bottom) as this should let you edit the file directly.
btw, the screenshots suggest you're using the Knopflerfish OSGi
plugin for Eclipse - this is not the only way to develop bundles in
Eclipse, other ways include creating a 'PDE' project (in v3.2) or
using the Bnd plugin.
finally, the Knopflerfish site says the following about their plugin:
"Not all attributes can yet be set through the graphical view,
e.g. Import-Package, Export-Package etc. For now you will
have to set these attributes in the text view."
so I'd suggest clicking on that 'bundle.manifest' tab and editing it directly :)
Well I will continue to examine what you have said. Thank you!!!!
Aggelos Mpimpoudis
ps: Look what I write on the screenshots. Thx for your help.
--
Dept. of Informatics & Telecommunications, University of Athens
Athens, Greece
GSM +306942075153 / Msn: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
_______________________________________________
OSGi Developer Mail List
[email protected]
http://www2.osgi.org/mailman/listinfo/osgi-dev
--
Cheers, Stuart
_______________________________________________
OSGi Developer Mail List
[email protected]
http://www2.osgi.org/mailman/listinfo/osgi-dev