commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett Porter <br...@apache.org>
Subject Re: [exec] Design of commons-exec
Date Fri, 05 Aug 2005 23:31:45 GMT
2 or 3 for me. Sun no longer support them, and I don't think anyone
would be developing new code for them. I don't think commons-exec would
be an important thing to have running on the MS VM :)

- Brett

Niklas Gustavsson wrote:

> Hi Jerome
>
> Thanks for a lot of really good feedback and ideas! I will come back
> to some of the other stuff later on, but first I think we need to
> discuss on of the points you bring up:
>
> jerome lacoste wrote:
>
>>     * run on the oldest SDK possible
>
>
> I think there are three ways to go:
> 1. Full support for 1.1+
> 2. Limited support for 1.1-1.2, full support for 1.3+
> 3. No support for 1.1-1.2, full support 1.3+
>
> Runtime.exec(String[] cmd, String[] env, File workingDir) was added in
> 1.3. A lot of the Ant trickery going on the the current code is to
> handle working directories on older (pre 1.3) JVMs. This include most
> of the CommandLaunchers and the shell/Perl scripts.
>
> The middle road would be to only support execution in the current
> directory only on 1.1.
>
> So, what do you all think? I'm personally lucky enough to mostly be on
> 1.3 and 1.4 these days, but I'm fine with either choice here. If you
> think we should aim for 1.1, I would prefer option 2 to ease our pains
> a little bit. If we make the CommandLaunchers pluggable (and I think
> we should), someone who would really need working directory support on
> 1.1 could potentially write their own CommandLauncher.
>
> /niklas
>
> ------------------
> Niklas Gustavsson
> niklas@protocol7.com
> http://www.protocol7.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message