hi,

i managed to generate a bundle which lets itself install and start on commandline osgi-container. for the developing phase of course i would like to use OSGi runtime inside eclipse IDE, so debugging is possible and implement/run cycle is short.

i am building my bundle with maven bundle-plugin and following settings:

<instructions>
...
 <Embed-Transitive>true</Embed-Transitive>
<Embed-Dependency>*;groupId=!org.eclipse.equinox;inline=false</Embed-Dependency>
...
</instructions>

basically running my osgi bundle inside eclipse works if i add generated manifest to <rootFolderOfProject>/META-INF and if i layout embedded dependencies (see settings above) in <rootFolderOfProject> too (as stated in generated MANIFEST.MF). of course this manual actions are too much and hence not doable when developing.

has anybody experience/suggestions in getting the bundle for release right and working inside eclipse IDE with same maven-bundle-plugin settings (dependencies are referenced correctly and correct path of MANIFEST.MF is set when doing RunAs...->OSGiStartup)?

thanks!


--
manuel aldana
[EMAIL PROTECTED]
homepage: www.aldana-online.de


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to