Not that I'm aware of. Keep in mind that this scheme requires running unit tests and whatnot inside the OSGi universe. I don't know if surefire can be persuaded to do that.
On Sun, Jun 14, 2009 at 11:47 AM, Martin Gainty<[email protected]> wrote: > > so the solution would be to bundle/package the native libs in OS-classifier > specific OSGI jars > then identify the OS-classifier specific OSGI jar as a dependency plugin to > pom.xml? > does anyone have a working example ? > > thanks > Martin > ______________________________________________ > Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité > > Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger > sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung > oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich > dem Austausch von Informationen und entfaltet keine rechtliche > Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen > wir keine Haftung fuer den Inhalt uebernehmen. > Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le > destinataire prévu, nous te demandons avec bonté que pour satisfaire informez > l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci > est interdite. Ce message sert à l'information seulement et n'aura pas > n'importe quel effet légalement obligatoire. Étant donné que les email > peuvent facilement être sujets à la manipulation, nous ne pouvons accepter > aucune responsabilité pour le contenu fourni. > > > > >> Date: Sun, 14 Jun 2009 10:40:30 -0400 >> Subject: Re: Handling JNI projects >> From: [email protected] >> To: [email protected] >> >> There are some hard problems in handling JNI. >> >> First, while you can set java.library.path, you can't set PATH or >> LD_LIBRARY_PATH or DYLD_LIBRARY_PATH, which you need on Windows, >> Linux/Solaris, or MacOS respectively. >> >> If you really plan to retrieve the shared objects as maven artifacts, >> then they will arrive in your local repo, and you have to set these >> environment variables to the directories where they land. >> >> If you want to support multiple platforms, you have to worry about >> that. Classifiers might be helpful for this. >> >> It has seemed to me that perhaps a creative mashup of OSGi and maven >> might produce something handy here, since OSGi bundles/fragments can >> carry native libs, and the OSGi runtime undertakes to get all the >> environment variables and such set up for you. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> > > _________________________________________________________________ > Hotmail® has ever-growing storage! Don’t worry about storage limits. > http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutorial_Storage_062009 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
