Re: Replace a file in a jar

2001-10-19 Thread Jan Sorensen
w file. Is there a better solution? > > Use the "update" parameter on the jar task. This should update the jar > file *if* the new contents are newer than the jar file itself. Unfortunately I'm (still) using ant 1.3 and the "udpate" attributes is only in 1.4. Well, I think it is time to upgrade. -- Jan Sorensen

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? -- Jan Sorensen