RE: [cli] Problem / Question with context directory needing to be writable

2004-11-14 Thread Carsten Ziegeler
David Crossley wrote: Sylvain Wallez wrote: Upayavira wrote: Says: if (!(d.canRead() d.canWrite())) { log.error(Directory ' + d + ' is not readable/writable); throw new IOException(Directory ' + d + ' is not readable/writable); } Hmm.

Re: [cli] Problem / Question with context directory needing to be writable

2004-11-14 Thread Upayavira
Carsten Ziegeler wrote: David Crossley wrote: Sylvain Wallez wrote: Upayavira wrote: Says: if (!(d.canRead() d.canWrite())) { log.error(Directory ' + d + ' is not readable/writable); throw new IOException(Directory ' + d + ' is not

RE: [cli] Problem / Question with context directory needing to be writable

2004-11-14 Thread Carsten Ziegeler
Upayavira wrote: If it is a bug fix, let's apply it for the release. No prob - can you do it? I'm not in a position to at the moment, and it is a trivial one. No, sorry, I can't currently either :) If noone does it until thursday I will do it. Carsten

[cli] Problem / Question with context directory needing to be writable

2004-11-12 Thread Rick Tessner
Hi all, Over in the Forrest world, we've stumbled across an issue with the Cocoon CLI. It appears that the CLI requires that the context directory (--contextDir option to the cocoon cli) be writable by the CLI process. For reference, see http://issues.cocoondev.org//browse/FOR-356 The Use Case

Re: [cli] Problem / Question with context directory needing to be writable

2004-11-12 Thread Upayavira
Says: if (!(d.canRead() d.canWrite())) { log.error(Directory ' + d + ' is not readable/writable); throw new IOException(Directory ' + d + ' is not readable/writable); } Hmm. This has been in the CLI since Cocoon 2.0. I've no idea why it is there. Assuming that

Re: [cli] Problem / Question with context directory needing to be writable

2004-11-12 Thread Sylvain Wallez
Upayavira wrote: Says: if (!(d.canRead() d.canWrite())) { log.error(Directory ' + d + ' is not readable/writable); throw new IOException(Directory ' + d + ' is not readable/writable); } Hmm. This has been in the CLI since Cocoon 2.0. I've no idea why it is there.

Re: [cli] Problem / Question with context directory needing to be writable

2004-11-12 Thread Rick Tessner
Upayavira wrote: Says: if (!(d.canRead() d.canWrite())) { log.error(Directory ' + d + ' is not readable/writable); throw new IOException(Directory ' + d + ' is not readable/writable); } Hmm. This has been in the CLI since Cocoon 2.0. I've no idea why it is there.

Re: [cli] Problem / Question with context directory needing to be writable

2004-11-12 Thread David Crossley
Sylvain Wallez wrote: Upayavira wrote: Says: if (!(d.canRead() d.canWrite())) { log.error(Directory ' + d + ' is not readable/writable); throw new IOException(Directory ' + d + ' is not readable/writable); } Hmm. This has been in the CLI since Cocoon 2.0. I've no