On Wed, 2003-02-19 at 11:36, Berin Loritsch wrote: > J Aaron Farr wrote: > > > Hello. > > > > The excalibur-fortress-complete-1.0.jar file "thinks" it contains > multiple > > LICENSE.txt files in META-INF. This causes jarsigner to crash: > > > > $ jarsigner -keystore keystore > target/jnlp/excalibur-fortress-complete-1.0.jar > > myAlias > > Enter Passphrase for keystore: myPassword > > jarsigner: unable to sign jar: java.util.zip.ZipException: duplicate > entry: > > META > > -INF/LICENSE.txt > > If you unjar the file, there is only one LICENSE.txt file. > > > > But if you just look into the file, you get a different result: > > > > $ jar tvf excalibur-fortress-complete-1.0.jar | grep LICENSE > > 2691 Sat Feb 08 16:37:32 EST 2003 META-INF/LICENSE.txt > > 2691 Sat Feb 08 13:22:18 EST 2003 META-INF/LICENSE.txt > > 2691 Sat Feb 08 16:37:40 EST 2003 META-INF/LICENSE.txt > > 2691 Sat Feb 08 16:37:40 EST 2003 META-INF/LICENSE.txt > > 2691 Sat Feb 08 16:37:54 EST 2003 META-INF/LICENSE.txt > > 2642 Tue Dec 10 16:50:02 EST 2002 META-INF/LICENSE.txt > > 2691 Sat Feb 08 16:37:46 EST 2003 META-INF/LICENSE.txt > > 2691 Sat Feb 08 16:46:32 EST 2003 META-INF/LICENSE.txt > > 2691 Sat Feb 08 16:46:50 EST 2003 META-INF/LICENSE.txt > > > > Any clues? > > > These are all the cause of merging the JAR files into one large > one. All the licenses should be essentially the same text. >
Yeah, but it still causes jarsigner to crash which isn't cool. I'm going to look over the build scripts tomorrow and see if I can come up with a solution. Alternatively, one could just unjar and then rejar and it would be fine, but I'd rather not introduce manual steps like that. -- jaaron <[EMAIL PROTECTED]> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
