cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yves Vindevogel" <>
Subject RE: Cocoon and interaction with the Shell
Date Tue, 18 Nov 2003 13:15:18 GMT
I was answering a mail from Upayavira.  Saying this would be nice to have.
It's not about re-inventing the wheel.  It's about including shell commands
in Cocoon.
Commands like "delete this file", but maybe also stuff like "stop deamon",
"copy file", ...

No, there isn't, but I think it would be extremely useful to have
something. Ideally something that XMLizes a unix pipe (but also works on


Regards, Upayavira

-----Original Message-----
From: Simon Mieth []
Sent: dinsdag 18 november 2003 13:07
Subject: Re: Cocoon and interaction with the Shell

On Tue, 18 Nov 2003 12:10:15 +0100
"Yves Vindevogel" <> wrote:

> I agree that it something very useful.
> I think, but I'm not an export, that we need something like this:
> An XSP, with parameter "target-platform" for Linux / Windows choice.
> The XSP should be able to do this, eg.
> <xsp-shell:execute-command>rm -f <xsp-request:get-parameter
> name="file"</xsp-shell:execute>
> (platform dependant but flexible)
> OR
> <xsp-shell:delete-file><xsp-request:get parameter
> name="file"><xsp-shell:delete-file>
> (this would be platform independant, but limited to a number of methods)


could File file = new File(name);
file.delete(); //platform independend

from not do this job, or i'm misunderstandig you?


To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message