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) BUT This is what Steven Noels wrote me ... Yves Vindevogel wrote: > Is there anything within Cocoon that interacts with the (*nix)-shell ? > Or a way to do this ? System.exec() from Java, but evil as hell. Don't!!! </Steven> -- Steven Noels http://outerthought.org/ Outerthought - Open Source Java & XML An Orixo Member Read my weblog at http://blogs.cocoondev.org/stevenn/ stevenn at outerthought.org stevenn at apache.org -----Original Message----- From: Upayavira [mailto:[EMAIL PROTECTED] Sent: dinsdag 18 november 2003 11:53 To: [EMAIL PROTECTED] Subject: Re: Cocoon and interaction with the Shell Yves Vindevogel wrote: > Is there anything within Cocoon that interacts with the (*nix)-shell ? > Or a way to do this ? > > *Yves Vindevogel* > *Implements* > > Kempische Steenweg 206 - 3500 Hasselt - Belgium > Tel+Fax: +32-11-43.55.76 Mobile: +32-478-80.82.91 > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> - > www.implements.be <http://www.implements.be/> > > > /First they ignore you. Then they laugh at you. Then they fight you. > Then you win. > Mahatma Ghandi. > / > 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 --------------------------------------------------------------------- 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]
