[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] 1.5M4 aspectjrt.jar duplicate entries

> Seems there is something amiss, though?

Er, yeah...  Thanks for pointing this out.  Cause fixed.  Not sure
whether to spin an 1.5M4a for this.  Sorry to take your time for the
workaround.  We were supplying duplicate entries but they did not
appear until we built under Java 5, because duplicates were being
overwritten in Java 1.3.


P.S. - Anyone else noticing that reply-to isn't set to aspectj-users@xxxxxxxxxxx?

> ------------Original Message------------
> From: Paul Christmann <pchristmann@xxxxxxxxx>
> To: aspectj-users@xxxxxxxxxxx
> Date: Thu, Oct-13-2005 11:39 AM
> Subject: [aspectj-users] 1.5M4 aspectjrt.jar duplicate entries
> I downloaded 1.5M4 today and plugged it into our build environment
> this morning.  After fixing our code to respect the more rigorous
> generics handling (thanks!), I noticed one thing with the runtime jar:
> it seems to be filled with duplicate entries.
> I downloaded the 10M aspectj-1.5.0_M4.jar, and ran it.  The extracted
> aspectjrt.jar (in my aspectj1.5\lib folder) was 162k, and contained
> 190 entries (including the manifest).  Many of these appeared (in
> WinZip) to be duplicates.  For example, I saw two
> ajcDeclareAnnotation.class in org.aspectj.internal.lang.annotation
> package.  If I attempted to delete one of them (in WinZip), both
> disappeared.
> This came up because as part of our build and deployment I need to
> sign jars so they can run in a restricted sandbox (via jnlp).  We
> invoke the java jarsigner using the ant <signjar> task, and that task
> fails because of the duplicate entries.
> To work around it (in our environment), I extracted the contents of
> the jar using WinZip.  When prompted, I selected "Yes" to overwrite
> entries.  I then re-zipped the contents.  This created a jar that was
> 105k with 121 entries.  Our code compiled and passed tests with this
> jar, and we were able to sign and use it.
> Seems there is something amiss, though?
> --
> PC
> Paul Christmann
> Prior Artisans, LLC
> mailto:paul@xxxxxxxxxxxxxxxxx
> 504-250-9072
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users