cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yves Vindevogel" <yves.vindevo...@implements.be>
Subject RE: Cocoon and interaction with the Shell
Date Tue, 18 Nov 2003 11:10:15 GMT
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:uv@upaya.co.uk]
Sent: dinsdag 18 november 2003 11:53
To: users@cocoon.apache.org
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
> yves.vindevogel@implements.be <mailto:yves.vindevogel@implements.be> -
> 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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message