in maven everything is a plugin so i was trying to convert your C binary to plugin so it will install as a configured plugin
(btw: still looking for a solution to convert a C binary to a maven plugin) thanks, Martin ______________________________________________ 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: Mon, 1 Jun 2009 13:56:19 -0500 > From: dko...@shlrm.org > To: users@maven.apache.org > Subject: RE: dlls and runtime dependencies > > On Mon, 1 Jun 2009 13:58:25 -0400, Martin Gainty <mgai...@hotmail.com> > wrote: > > you would need to build in some manner of intelligently defining the > > (groupId,artifactId,version) for your DLL e.g. > > > > i believe the analog for groupId could be namespace //here is an example > > > > #include > > <iostream> > > > > using namespace > > std; > > > > > > namespace > > SampleOne > > > > { > > > > > > float p = 10.34; > > > > }http://www.tenouk.com/download/Module23.txt > > > > if memory serves the analog of artifactId (filename) would be system > > variable called _FILE > > __FILE > > http://gcc.gnu.org/ml/libstdc++/2000-q2/msg00381.html > > > > version would be more of a challenge ..maybe some sort of static variable > > with hardcoded version stamp? > > Hmm. I don't think I made it very clear, sorry. > > Project A and Project B are java projects that need the dll, accessed via > JNI, at runtime. Source code compilation for all the java stuff works > great. > > My problem is that the runtime dependency of rxtxSerial.dll and > rxtxParallel.dll isn't included in any way that the tests can see it or the > application upon it's completion. Especially not in Project A. It knows > it's got a runtime dependency on the zip file, but it doesn't know what to > do with it. > > Sorry for the confusion, > David > > > > > > >> Date: Mon, 1 Jun 2009 12:06:57 -0500 > >> From: dko...@shlrm.org > >> To: users@maven.apache.org > >> Subject: dlls and runtime dependencies > >> > >> 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. > >> > >> Basically I need an example of how to do this. If I have to break up the > >> rxtxSerial.dll and rxtxParallel.dll into two separate artifacts some > how, > >> I'd like to know how to do that too. > >> > >> I did apply the hacks to get project b to build and run it's tests. That > >> all works, but the unpacking of that dependency isn't happening anywhere > >> else up the hierarchy. > >> > >> Thanks, > >> David > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > >> For additional commands, e-mail: users-h...@maven.apache.org > >> > > > > _________________________________________________________________ > > Hotmail® has a new way to see what's up with your friends. > > > http://windowslive.com/Tutorial/Hotmail/WhatsNew?ocid=TXT_TAGLM_WL_HM_Tutorial_WhatsNew1_052009 > > > > !DSPAM:2,4a2416e6102591753466293! > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > _________________________________________________________________ Insert movie times and more without leaving Hotmail®. http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd1_052009