[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [stellation-res] Scripts in Stellation
|
On Sun, Sep 15, 2002 at 06:42:01PM -0400, Jonathan Gossage wrote:
> Scripts are used in a number of places in Stellation, both as application
> launchers and as test harnesses. Currently these scripts are implemented as
> shell scripts, either for bash or sh. This presents a problem on Windows
> platforms even those where Cygwin is installed. Basically, any *nix script
> that deals with file manipulation needs modification in Cygwin to handle
> translation between DOS and *nix paths using Cygwin specific extensions.
> While it would be possible to modify these scripts so that they could run
> native in a *nix environment or in Cygwin, I do not believe that we should
> be relying on Cygwin as a Windows environent over the long term.
>
> I would like to propose that the current scripts be rewritten in a platform
> independent scripting language such as Perl or Python. If this is done right
> we will have one set of scripts that can be used on all platforms, perhaps
> with some conditional platform dependent code in them.
No! There is no point to require another scripting language.
The way to do it is to create .bat files for windows, the way the
jakarta project has done: for each "command" there is a "command.sh" and
"command.bat".
florin
--
"If it's not broken, let's fix it till it is."
41A9 2BDE 8E11 F1C5 87A6 03EE 34B3 E075 3B90 DFE4
Attachment:
pgpXGO1IIimck.pgp
Description: PGP signature