On 12/03/2008, Stefano Lenzi <[EMAIL PROTECTED]> wrote: > > Hi All, > > How does the maveb-bundle-plugin cope with native code? > AFAIK, it does nothing for native code, am I right?
well, native code can be treated like any other resource and included in the bundle using the Include-Resource instruction - the bundleplugin doesn't really mind where it comes from Do you have any best-practices or advice for coping with native code > that we can add also to the maven-bundle-plugin? IMHO we don't need to add anything - you'd get the native code compiled using another maven plugin, or via the exec or antrun plugins, and then use Include-Resource to place the native code in the right location in the bundle What about interacting with reehep-nar-plugin > (http://java.freehep.org/freehep-nar-plugin/intro.html) or > native-maven-plugin > (http://mojo.codehaus.org/maven-native/native-maven-plugin/) ? this is best done by individual projects, because there are many plugins and approaches to get the native code - and even more ways to arrange where it is in the bundle... Ciao, > Stefano "Kismet" Lenzi > -- Cheers, Stuart
