Here is a first stab at an alternative script that uses JScript embedded in a bat file. http://pastebin.com/m8HSHgTW
The script creates the output directory specified by the argument passed to the bat file. It also creates a directory path for playerglobal and downloads the file to it. I guess this would be an acceptable alternative to the 3-file and the PowerShell version? 2012/5/17 Christophe Herreman <christophe.herre...@gmail.com> > It is actually possible to embed JScript in a bat file. This way we could > have 1 file using the built-in scripting capabilities. > > I'm currently doing some tests and will post the results. > > > 2012/5/17 Christophe Herreman <christophe.herre...@gmail.com> > >> How will you decide whether or not to keep the PowerShell version? >> >> >> 2012/5/17 Carol Frampton <cfram...@adobe.com> >> >>> These scripts aren't run as part of the build so I don't think it matters >>> if the build machine has powershell or not. >>> I'm not sure if powershell will remain in the script. The alternative is >>> back to 3 files. >>> >>> On 5/17/12 7 :09AM, "Roland Zwaga" <rol...@stackandheap.com> wrote: >>> >>> >> >>> >> The windows CI machine runs 2003 server I believe. Guess there's an >>> easy >>> >> way to find out (ie try and run the script) :-) >>> >> >>> > >>> >Sounds like a plan ;) PowerShell can be installed on 2003 server though, >>> >so >>> >if its absent I guess we'd have to put in >>> >a request at Apache infra. >>> >OR, we find an alternative for the powershell functionality... >>> >>> >> >> >> -- >> Christophe Herreman >> http://www.herrodius.com >> http://www.springactionscript.org >> http://www.as3commons.org >> > > > > -- > Christophe Herreman > http://www.herrodius.com > http://www.springactionscript.org > http://www.as3commons.org > -- Christophe Herreman http://www.herrodius.com http://www.springactionscript.org http://www.as3commons.org