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 Windows). Thoughts? Regards, Upayavira -----Original Message----- From: Simon Mieth [mailto:[EMAIL PROTECTED] Sent: dinsdag 18 november 2003 13:07 To: [EMAIL PROTECTED] Subject: Re: Cocoon and interaction with the Shell On Tue, 18 Nov 2003 12:10:15 +0100 "Yves Vindevogel" <[EMAIL PROTECTED]> 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) > Hi, could File file = new File(name); file.delete(); //platform independend from java.io.File not do this job, or i'm misunderstandig you? Regards, Simon --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
