ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jon Skeet" <>
Subject RE: Merging a single file out of a jar
Date Thu, 28 Jun 2001 11:21:27 GMT
> I have the following problem.
> I distribute a JAR file that contains a property file. That 
> property file can be changed by my colleague.
> My problem is, that if I make a new deployment of the jar 
> file, I need to take the property file ou of the old jar file 
> (which may have been changed).
> Is there a way to just extract that file and put it in the 
> new jar. I found the task JLink that allows to merge whole 
> jar files, but that is not what I want.

I submitted a patch to the Zip task a little while ago (on the ant-dev
list) which will let you update a zip file (and therefore a jar file). I
believe that's what you're after - it should be in the archives. This is
a patch to 1.4, however - well, 1.4 as was when I submitted it :)


View raw message