Niclas Hedhman wrote:
Hi,
We normally don't deal with Jar/zip files, but a case have come up where we need to read XML inside zip files, which are modified at times.

The developer added a
src="jar:http://our.server.com/cocoon-mountpoint/zips/abc.zip!file-in-question.xml";
using the standard filegenerator. Works... but doesn't reload.

If a jar:file:///...." URL is given, exceptions are thrown when the file is changed.

Somehow I think the URLConnection is cached somewhere, which then dictates that the Jar file can not be modified, but I am unable to figure out 'where' or 'how'. I am not sure if it is the same as the
http://issues.apache.org/bugzilla/show_bug.cgi?id=29365
issue.

Anyone knows what is happening, and what we can do to overcome this?

Try zip: protocol

Vadim

Reply via email to