Re: Replace a file in a jar

2001-10-19 Thread Jan Sorensen
> > I have been trying to use the jar task to replace a file in a > > jar, but with > > not success. It seems that if the jar file exists the jar > > task don't do anything. > > > > My solution so far is to unjar and then jar again with the > > new file. Is there a better solution? > > Use the "up

RE: Replace a file in a jar

2001-10-19 Thread Jon Skeet
> I have been trying to use the jar task to replace a file in a > jar, but with > not success. It seems that if the jar file exists the jar > task don't do anything. > > My solution so far is to unjar and then jar again with the > new file. Is there a better solution? Use the "update" paramete

Re: Replace a file in a jar

2001-10-19 Thread Stefan Bodewig
On Thu, 18 Oct 2001, Jan Sorensen <[EMAIL PROTECTED]> wrote: > I have been trying to use the jar task to replace a file in a jar, > but with not success. It seems that if the jar file exists the jar > task don't do anything. I the jar file newer than the file you want to put into it? If yes, t