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

Ondřej Žižka ozizka at redhat.com
Fri Sep 30 13:42:20 EDT 2011


Here you are - 
https://github.com/OndraZizka/jboss-as/blob/rich2_reorg/build.js
Proof of concept - I did not spend time making it verbatim copy of
functionality.

Ondra



Sebastian Otaegui píše v Čt 29. 09. 2011 v 18:08 -0500:
> I'd love to see that script, is it committed to a github repo?
> 
> 
> 2011/9/29 Ondřej Žižka <ozizka at redhat.com>
> 
>         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 
>         > 
>         > _______________________________________________
>         > jboss-as7-dev mailing list
>         > jboss-as7-dev at lists.jboss.org
>         > https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>         
>         
>         _______________________________________________
>         jboss-as7-dev mailing list
>         jboss-as7-dev at lists.jboss.org
>         https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>         
> 
> 
> 
> 
> 
> 
> 
> -- 
> Those who do not understand Unix are condemned to reinvent it, poorly.
> Any sufficiently recent Microsoft OS contains an ad hoc,
> informally-specified, bug-ridden, slow implementation of half of Unix.
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-as7-dev/attachments/20110930/110cae93/attachment.html 


More information about the jboss-as7-dev mailing list