buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Lefevre <>
Subject Re: Modifying contents of jar file
Date Tue, 20 Dec 2011 23:38:12 GMT
You need the ability to treat the jar as a writable virtual file system. Reportedly 

TrueZip and Java 7 can do that. See, e.g.,

> From: Allen Riddle <>
>Sent: Tuesday, December 20, 2011 11:39 PM
>Subject: Modifying contents of jar file
>Does anyone have any idea how I can modify a the contents of a built jar?
>I have an asssembler project that creates 3 different zip files.  There is
>a Spring application context file that I need to override for each archive.
>Any thoughts on how to best do this?  I'm currently looking into the unzip
>method in conjunction with copying the file in question.  Thanks.
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message