Hi, that sounds interesting. Can please give me a short example how you "assemble the classpath in the start script"?
-------- Original-Nachricht -------- > Datum: Tue, 21 Sep 2010 09:31:24 +0200 > Von: "Jörg Schaible" <[email protected]> > An: [email protected] > Betreff: Re: Re: write dependencies into file during assembly > Hi, > > Iron Eagle wrote: > > > Hi, > > > > thanks for your awnser. I want to create a script, that calls another > > binary (jsvc, that is also included in the assembly). That binary starts > > the actual java program as a service. But the binary needs special > > parameter. The classpath among other things. So I need to include the > > filename of all depending jar files, to be able to build a string for > the > > classpath. > > > > I'll check the plugins, you suggested > > we use the dependency plugin to put all dependend jars into a subdirectoy > "lib" and use a start script (WIndows shell or bash) to collect the file > names and assemble the classpath in the start script. That way it is > completely transparent to replace any jar without the necessity to > modifying > the scritp at all. > > - Jörg > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > -- Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief! Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
