this method can bu used to combine DB2 Universal Type 4 Driver jars.There are two jars. One of them is licence jar another one is main jar. If licence jar is not added at the same classpath, main jar can not work.
-----Orijinal e-posta iletisi----- From: "Keith Beattie" [EMAIL PROTECTED] Date: Wed, 27 Jun 2007 01:04:19 +0300 To: "Maven Users List" users@maven.apache.org Subject: Re: adding the classpath to jar file > On 6/26/07, DCVer <[EMAIL PROTECTED]> wrote: > > > > > > Ok, thanks for some information! > > > I've gotten Maven to create an executable jar which sets a class-path in its > manifest file pointing (via a *relative* path) to contained dependent jars > within the same jar though the use of the jar and assembly plugins [1]. So > this *is* possible but of little use beyond just having them all in a single > container due to the classloading problem [2]. > > [1] > http://dsd.lbl.gov/~ksb/Scratch/Maven_notes.html<http://dsd.lbl.gov/%7Eksb/Scratch/Maven_notes.html> > [2] http://one-jar.sourceforge.net/ > > ksb > > ----------------------------------------------------------------------- Mustafa Sait ÖZEN Elektrik-Elektronik Mühendisi / Electrical-Electronics Engineer +9 0 222 335 05 80 /1390 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]