this is a good solution Is there a way to uniquely identify the jar using conventional plugin label attributes: artifactId groupId version (this way projects will be able to reference the installed plugin from repository) ? Martin Gainty ______________________________________________ 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: Tue, 2 Jun 2009 11:47:35 +0100 > From: [email protected] > To: [email protected] > Subject: Re: dlls and runtime dependencies > > dkowis wrote: > > I've searched the mailing lists and they don't quite get far enough on this > > subject for me. > > > > I've got a project, incidentally it's the rxtx.org package, that uses the > > rxtxSerial.dll. I then have another project that uses that project: > > > > Project A > > | > > | - Project b > > | > > |- zipfile containing rxtxSerial.dll and rxtxParallel.dll > > > > So the end project needs to have the zip file somewhere in it's runtime > > path. Project A does see that it has a runtime dependency of that zip file, > > but nothing smart happens with it. > > A fairly common idiom for this sort of thing is to pack the dlls in a > .jar file on the classpath, and make the Java code that requires the > native libraries responsible for extracting them from the classpath into > a temporary directory at runtime, and loading them. > > Max. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > _________________________________________________________________ Windows Live™ SkyDrive™: Get 25 GB of free online storage. http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_SD_25GB_062009
