[jboss-as7-dev] Windows build/testsuite script - .js instead of .bat ? // Re: build.sh - #!/bin/sh

Anil Saldhana Anil.Saldhana at redhat.com
Thu Sep 29 18:57:50 EDT 2011


Can I also have /bin/util/vault.js?  Please please....

On 09/29/2011 05:58 PM, Ondřej Žižka wrote:
> We traditionally use .bat. But everyone who ever tried coding it knows 
> that it's really PIT*.
> Since Windows 98, there's a Windows Scripting Host installed by 
> default which allows scripting in various languages, with JScript and 
> VBScript bundled with the OS.
> Coding JScript is a pleasure compared to .bat.
>
> I've created a .js which basically does the same as AS 7's current .bat.
> If it worked well, is there any reason not to use it instead?
>
> Ondra
>
>
>
> Ondřej Žižka píše v Čt 29. 09. 2011 v 21:59 +0200:
>> In build.sh, we have
>>
>>   #!/bin/sh
>>
>> which is  is not guaranteed to be bash. I only know bash and am 
>> hitting sh incompatibilities when coding testsuite script.
>> Can I change it to /bin/bash? Or are we restricted by some crazy 
>> platforms without bash?
>>
>> Thanks,
>> Ondra
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-as7-dev/attachments/20110929/cb1d65cb/attachment.html 


More information about the jboss-as7-dev mailing list