[Mulgara-general] Cannot modify config-file in JAR-package

Life is hard, and then you die ronald at innovation.ch
Tue Sep 23 03:55:43 UTC 2008


On Mon, Sep 22, 2008 at 08:50:20PM -0700, Life is hard, and then you die wrote:
> On Tue, Sep 23, 2008 at 05:28:01AM +0200, Rune Stilling wrote:
> > 
> > I'm trying to modify the "conf/mulgara-x-config.xml" i the Mulgara  
> > JAR-file by using the "jar -uf"-command. But with every version since  
> > 2.0 I get a duplicate entry exception. In version 2.0.5 the problem  
> > is around files in the Jasper directory.
> 
> Ah, yes, the current jar is a bit of a mess in this regard. You could
> use 'zip -u ...' instead.

Oh, I forgot to mention: because there are multiple entries with the
same name in the jar/zip, which one that gets updated by 'zip -u' is a
bit arbitrary, and if it's not the first one then it probably won't
get picked up by mulgara (or more precisely, by the classloader).


  Cheers,

  Ronald




More information about the Mulgara-general mailing list