that would be another nice thing, but the more important one is that i can work with maven-generated bundles inside eclipse an hook in eclipse's OSGi runtime environment. these days is not able to work with it: when generating bundle with embedded dependencies these are put inside target/classes but this layout is not accepted by OSGi eclipse. it always wants to have the dependencies under <rootFolderOfProject>. because of this i always need to copy the embedded dependencies from target/classes to <rootFolderOfProject> and do a refresh inside eclipse. it would be much more convenient if m2eclipse could do following behind the scenes when starting or debugging an application:
1) generate a bundle
2) embedding dependencies so eclipse OSGi environment can find them.

Eugene Kuleshov schrieb:

I see. So, you basically need a wizard or maybe a Maven archetype to generate preconfigured project for such configuration? Or there is something else I missed?

 regards,
 Eugene


[EMAIL PROTECTED] wrote:
> Manuel, can you please elaborate what OSGi integration you are looking for? We are planning few things, but it would be great to hear first-hand requirements
> before we'll go wild.

oh yes, no problem. for that i do cite a post i did on a felix mailinglist, which should show what i would like to have featured in m2eclipse. in case it is unclear just tell, i then will go into more details.

----POST-CITATION-START-----
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)?
----POST-CITATION-END---

it would be great if m2eclipse would tell my osgi bundle settings to eclipse's OSGi platform, so no manual interactions or workarounds are neccessary.



---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email



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


---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to