You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Justin Mclean <ju...@classsoftware.com> on 2013/06/20 13:23:13 UTC
Ide scripts working on windows
Hi,
Anyone on windows want to have a try at converting the OSX .sh script to .bat scripts? Would be a nice to have for the release.
The scripts are:
addAIRtoSDK.sh - Add AIR SDK to Flex SDK
checkAllPlayerGlobals.sh - download and check (via MD5 hashes) all version of playerglobal.swc
setFlashPlayerVersion.sh - changes Flash Player version for Flex SDK
They would help a lot with testing and with people wanting to use different versions of AIR/FP.
Thanks,
Justin
Re: Ide scripts working on windows
Posted by Mark Kessler <ke...@gmail.com>.
Ok corrected the command to perform correctly... goofy freaking format for
bash sh. I'm sure there is a better sollution than awk to strip the
filename, but it works. The second line removes the prefixed \. All the
hashes match except the last one. It seems to be different.
#Gets the hash of the file and strips the filename off the results.
MD5hash=`md5sum "${playerGlobalSWC}" | awk '{ print $1 }'`
#Removes the prefixed slash.
MD5hash=${MD5hash:1}
On Thu, Jun 20, 2013 at 6:59 PM, Mark Kessler
<ke...@gmail.com>wrote:
> Yeah in my Windows Git bin folder I see the md5Sum.exe. (I don't use
> cygwin). I tried changing it in the script and now I get a option error.
> the -q isn't a valid option. I'll have to fiddle with this later.
>
> -Mark
>
>
>
>
> C:\Program Files (x86)\Git\bin>md5sum --help
> Usage: md5sum [OPTION] [FILE]...
> or: md5sum [OPTION] --check [FILE]
> Print or check MD5 checksums.
> With no FILE, or when FILE is -, read standard input.
>
> -b, --binary read files in binary mode (default on
> DOS/Windows)
> -c, --check check MD5 sums against given list
> -t, --text read files in text mode (default)
>
> The following two options are useful only when verifying checksums:
> --status don't output anything, status code shows success
> -w, --warn warn about improperly formated MD5 checksum lines
>
> --help display this help and exit
> --version output version information and exit
>
> The sums are computed as described in RFC 1321. When checking, the input
> should be a former output of this program. The default mode is to print
> a line with checksum, a character indicating type (`*' for binary, ` ' for
> text), and name for each FILE.
>
> Report bugs to <bu...@gnu.org>.
>
>
>
>
>
> On Thu, Jun 20, 2013 at 6:49 PM, OmPrakash Muppirala <bigosmallm@gmail.com
> > wrote:
>
>> On Windows/Cygwin, it should call md5sum instead. md5 is specific to
>> Macs.
>>
>>
>> Thanks,
>> Om
>>
>>
>
Re: Ide scripts working on windows
Posted by Mark Kessler <ke...@gmail.com>.
Yeah in my Windows Git bin folder I see the md5Sum.exe. (I don't use
cygwin). I tried changing it in the script and now I get a option error.
the -q isn't a valid option. I'll have to fiddle with this later.
-Mark
C:\Program Files (x86)\Git\bin>md5sum --help
Usage: md5sum [OPTION] [FILE]...
or: md5sum [OPTION] --check [FILE]
Print or check MD5 checksums.
With no FILE, or when FILE is -, read standard input.
-b, --binary read files in binary mode (default on DOS/Windows)
-c, --check check MD5 sums against given list
-t, --text read files in text mode (default)
The following two options are useful only when verifying checksums:
--status don't output anything, status code shows success
-w, --warn warn about improperly formated MD5 checksum lines
--help display this help and exit
--version output version information and exit
The sums are computed as described in RFC 1321. When checking, the input
should be a former output of this program. The default mode is to print
a line with checksum, a character indicating type (`*' for binary, ` ' for
text), and name for each FILE.
Report bugs to <bu...@gnu.org>.
On Thu, Jun 20, 2013 at 6:49 PM, OmPrakash Muppirala
<bi...@gmail.com>wrote:
> On Windows/Cygwin, it should call md5sum instead. md5 is specific to Macs.
>
>
> Thanks,
> Om
>
>
Re: Ide scripts working on windows
Posted by OmPrakash Muppirala <bi...@gmail.com>.
On Windows/Cygwin, it should call md5sum instead. md5 is specific to Macs.
Thanks,
Om
On Thu, Jun 20, 2013 at 3:47 PM, Mark Kessler
<ke...@gmail.com>wrote:
> Well by fine, I mean it ran all the way through and actually downloaded the
> files. However I do see the md5 requirement in there too... which I don't
> have.
>
>
> On Thu, Jun 20, 2013 at 6:44 PM, Mark Kessler
> <ke...@gmail.com>wrote:
>
> > I ran the checkAllPlayerGlobal.sh using my local git and it worked fine..
> > Here is the output. So besides needing a shell (which was already
> > associated with that mime type on my machine), it works.
> >
> >
> > -Mark
> > -------------------------------------
> >
> >
> >
> > D:\Development\Flex\flex-sdk\ide>checkAllPlayerGlobals.sh
> > D:\PortableApps\Flex
> > Welcome to Git (version 1.8.1.2-preview20130201)
> >
> >
> > Run 'git help git' to display the help index.
> > Run 'git help <command>' to display help for specific commands.
> > The Apache Flex directory for the IDE is D:\PortableApps\Flex
> >
> > Playerglobal.swc is part of the Adobe Flash Player and is licensed
> > under the the Flash Player end user license agreement (EULA).
> >
> > The 10.2 and 10.3 Flash Player EULA is specified here:
> >
> >
> http://www.adobe.com/products/eulas/pdfs/PlatformClients_PC_WWEULA_Combined_2010
> > 0108_1657.pdf
> >
> > The 11.X Flash Player EULA is specified here:
> >
> >
> http://www.adobe.com/products/eulas/pdfs/PlatformClients_PC_WWEULA-MULTI-2011080
> > 9_1357.pdf
> >
> > In addition to the Adobe EULA license terms, you also agree to be bound
> by
> > the t
> > hird-party
> > terms specified here:
> > http://www.adobe.com/products/eula/third_party/
> >
> > Adobe recommends that you review all licensing terms.
> >
> > Please type Y to agree to terms of the license >
> > y
> > License accepted
> > Downloading player global 10.2
> > % Total % Received % Xferd Average Speed Time Time Time
> > Current
> > Dload Upload Total Spent Left
> > Speed
> > 100 296k 100 296k 0 0 500k 0 --:--:-- --:--:-- --:--:--
> > 575k
> > D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 95: md5:
> > command
> > not found
> > D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 97: [:
> > aa7d785dd
> > 5715626201f5e30fc1deb51: unary operator expected
> > MD5 hash incorrect
> > Downloading player global 10.2
> > % Total % Received % Xferd Average Speed Time Time Time
> > Current
> > Dload Upload Total Spent Left
> > Speed
> > 100 296k 100 296k 0 0 612k 0 --:--:-- --:--:-- --:--:--
> > 678k
> > Downloading player global 10.3
> > % Total % Received % Xferd Average Speed Time Time Time
> > Current
> > Dload Upload Total Spent Left
> > Speed
> > 100 299k 100 299k 0 0 564k 0 --:--:-- --:--:-- --:--:--
> > 600k
> > D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 95: md5:
> > command
> > not found
> > D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 97: [:
> > 6092b3d4e
> > 2784212d174ca10904412bd: unary operator expected
> > MD5 hash incorrect
> > Downloading player global 10.3
> > % Total % Received % Xferd Average Speed Time Time Time
> > Current
> > Dload Upload Total Spent Left
> > Speed
> > 100 299k 100 299k 0 0 712k 0 --:--:-- --:--:-- --:--:--
> > 801k
> > Downloading player global 11.0
> > % Total % Received % Xferd Average Speed Time Time Time
> > Current
> > Dload Upload Total Spent Left
> > Speed
> > 100 329k 100 329k 0 0 639k 0 --:--:-- --:--:-- --:--:--
> > 703k
> > D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 95: md5:
> > command
> > not found
> > D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 97: [:
> > 5f5a291f0
> > 2105cd83fb582b76646e603: unary operator expected
> > MD5 hash incorrect
> > Downloading player global 11.0
> > % Total % Received % Xferd Average Speed Time Time Time
> > Current
> > Dload Upload Total Spent Left
> > Speed
> > 100 329k 100 329k 0 0 640k 0 --:--:-- --:--:-- --:--:--
> > 703k
> > Downloading player global 11.1
> > % Total % Received % Xferd Average Speed Time Time Time
> > Current
> > Dload Upload Total Spent Left
> > Speed
> > 100 329k 100 329k 0 0 639k 0 --:--:-- --:--:-- --:--:--
> > 703k
> > D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 95: md5:
> > command
> > not found
> > D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 97: [:
> > e3a0e0e8c
> > 703ae5b1847b8ac25bbdc5f: unary operator expected
> > MD5 hash incorrect
> > Downloading player global 11.1
> > % Total % Received % Xferd Average Speed Time Time Time
> > Current
> > Dload Upload Total Spent Left
> > Speed
> > 100 329k 100 329k 0 0 917k 0 --:--:-- --:--:-- --:--:--
> > 1004k
> > Downloading player global 11.2
> > % Total % Received % Xferd Average Speed Time Time Time
> > Current
> > Dload Upload Total Spent Left
> > Speed
> > 100 331k 100 331k 0 0 815k 0 --:--:-- --:--:-- --:--:--
> > 922k
> > D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 95: md5:
> > command
> > not found
> > D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 97: [:
> > c544a0695
> > 18897880e0d732457b6fdeb: unary operator expected
> > MD5 hash incorrect
> > Downloading player global 11.2
> > % Total % Received % Xferd Average Speed Time Time Time
> > Current
> > Dload Upload Total Spent Left
> > Speed
> > 100 331k 100 331k 0 0 589k 0 --:--:-- --:--:-- --:--:--
> > 643k
> > Downloading player global 11.3
> > % Total % Received % Xferd Average Speed Time Time Time
> > Current
> > Dload Upload Total Spent Left
> > Speed
> > 100 338k 100 338k 0 0 658k 0 --:--:-- --:--:-- --:--:--
> > 723k
> > D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 95: md5:
> > command
> > not found
> > D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 97: [:
> > e2a9ee439
> > d9660feaf756aa05e7e6412: unary operator expected
> > MD5 hash incorrect
> > Downloading player global 11.3
> > % Total % Received % Xferd Average Speed Time Time Time
> > Current
> > Dload Upload Total Spent Left
> > Speed
> > 100 338k 100 338k 0 0 658k 0 --:--:-- --:--:-- --:--:--
> > 700k
> > Downloading player global 11.4
> > % Total % Received % Xferd Average Speed Time Time Time
> > Current
> > Dload Upload Total Spent Left
> > Speed
> > 100 342k 100 342k 0 0 594k 0 --:--:-- --:--:-- --:--:--
> > 646k
> > D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 95: md5:
> > command
> > not found
> > D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 97: [:
> > e15587856
> > cdb5e21fa1acb6b0610a032: unary operator expected
> > MD5 hash incorrect
> > Downloading player global 11.4
> > % Total % Received % Xferd Average Speed Time Time Time
> > Current
> > Dload Upload Total Spent Left
> > Speed
> > 100 342k 100 342k 0 0 665k 0 --:--:-- --:--:-- --:--:--
> > 732k
> > Downloading player global 11.5
> > % Total % Received % Xferd Average Speed Time Time Time
> > Current
> > Dload Upload Total Spent Left
> > Speed
> > 100 342k 100 342k 0 0 732k 0 --:--:-- --:--:-- --:--:--
> > 814k
> > D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 95: md5:
> > command
> > not found
> > D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 97: [:
> > 00384b241
> > 57442c59ca5d625ecfd11a2: unary operator expected
> > MD5 hash incorrect
> > Downloading player global 11.5
> > % Total % Received % Xferd Average Speed Time Time Time
> > Current
> > Dload Upload Total Spent Left
> > Speed
> > 100 342k 100 342k 0 0 549k 0 --:--:-- --:--:-- --:--:--
> > 593k
> > Downloading player global 11.6
> > % Total % Received % Xferd Average Speed Time Time Time
> > Current
> > Dload Upload Total Spent Left
> > Speed
> > 100 343k 100 343k 0 0 686k 0 --:--:-- --:--:-- --:--:--
> > 733k
> > D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 95: md5:
> > command
> > not found
> > D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 97: [:
> > 1b841a0a2
> > 6ada3e5da26eb70c32ab263: unary operator expected
> > MD5 hash incorrect
> > Downloading player global 11.6
> > % Total % Received % Xferd Average Speed Time Time Time
> > Current
> > Dload Upload Total Spent Left
> > Speed
> > 100 343k 100 343k 0 0 647k 0 --:--:-- --:--:-- --:--:--
> > 687k
> > Downloading player global 11.7
> > % Total % Received % Xferd Average Speed Time Time Time
> > Current
> > Dload Upload Total Spent Left
> > Speed
> > 100 358k 100 358k 0 0 766k 0 --:--:-- --:--:-- --:--:--
> > 852k
> > D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 95: md5:
> > command
> > not found
> > D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 97: [:
> > 12656571c
> > 57b2ad641838e5695a00e27: unary operator expected
> > MD5 hash incorrect
> > Downloading player global 11.7
> > % Total % Received % Xferd Average Speed Time Time Time
> > Current
> > Dload Upload Total Spent Left
> > Speed
> > 100 358k 100 358k 0 0 883k 0 --:--:-- --:--:-- --:--:--
> > 999k
> > Downloading player global 11.8
> > % Total % Received % Xferd Average Speed Time Time Time
> > Current
> > Dload Upload Total Spent Left
> > Speed
> > 100 364k 100 364k 0 0 778k 0 --:--:-- --:--:-- --:--:--
> > 1015k
> > D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 95: md5:
> > command
> > not found
> > D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 97: [:
> > 8890d61ce
> > 8f96fdb01d2a66290793a8e: unary operator expected
> > MD5 hash incorrect
> > Downloading player global 11.8
> > % Total % Received % Xferd Average Speed Time Time Time
> > Current
> > Dload Upload Total Spent Left
> > Speed
> > 100 364k 100 364k 0 0 900k 0 --:--:-- --:--:-- --:--:--
> > 974k
> >
> > D:\Development\Flex\flex-sdk\ide>
> >
> >
> >
> >
> >
> > On Thu, Jun 20, 2013 at 7:23 AM, Justin Mclean <justin@classsoftware.com
> >wrote:
> >
> >> Hi,
> >>
> >> Anyone on windows want to have a try at converting the OSX .sh script to
> >> .bat scripts? Would be a nice to have for the release.
> >>
> >> The scripts are:
> >> addAIRtoSDK.sh - Add AIR SDK to Flex SDK
> >> checkAllPlayerGlobals.sh - download and check (via MD5 hashes) all
> >> version of playerglobal.swc
> >> setFlashPlayerVersion.sh - changes Flash Player version for Flex SDK
> >>
> >> They would help a lot with testing and with people wanting to use
> >> different versions of AIR/FP.
> >>
> >> Thanks,
> >> Justin
> >
> >
> >
>
Re: Ide scripts working on windows
Posted by Mark Kessler <ke...@gmail.com>.
Well by fine, I mean it ran all the way through and actually downloaded the
files. However I do see the md5 requirement in there too... which I don't
have.
On Thu, Jun 20, 2013 at 6:44 PM, Mark Kessler
<ke...@gmail.com>wrote:
> I ran the checkAllPlayerGlobal.sh using my local git and it worked fine..
> Here is the output. So besides needing a shell (which was already
> associated with that mime type on my machine), it works.
>
>
> -Mark
> -------------------------------------
>
>
>
> D:\Development\Flex\flex-sdk\ide>checkAllPlayerGlobals.sh
> D:\PortableApps\Flex
> Welcome to Git (version 1.8.1.2-preview20130201)
>
>
> Run 'git help git' to display the help index.
> Run 'git help <command>' to display help for specific commands.
> The Apache Flex directory for the IDE is D:\PortableApps\Flex
>
> Playerglobal.swc is part of the Adobe Flash Player and is licensed
> under the the Flash Player end user license agreement (EULA).
>
> The 10.2 and 10.3 Flash Player EULA is specified here:
>
> http://www.adobe.com/products/eulas/pdfs/PlatformClients_PC_WWEULA_Combined_2010
> 0108_1657.pdf
>
> The 11.X Flash Player EULA is specified here:
>
> http://www.adobe.com/products/eulas/pdfs/PlatformClients_PC_WWEULA-MULTI-2011080
> 9_1357.pdf
>
> In addition to the Adobe EULA license terms, you also agree to be bound by
> the t
> hird-party
> terms specified here:
> http://www.adobe.com/products/eula/third_party/
>
> Adobe recommends that you review all licensing terms.
>
> Please type Y to agree to terms of the license >
> y
> License accepted
> Downloading player global 10.2
> % Total % Received % Xferd Average Speed Time Time Time
> Current
> Dload Upload Total Spent Left
> Speed
> 100 296k 100 296k 0 0 500k 0 --:--:-- --:--:-- --:--:--
> 575k
> D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 95: md5:
> command
> not found
> D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 97: [:
> aa7d785dd
> 5715626201f5e30fc1deb51: unary operator expected
> MD5 hash incorrect
> Downloading player global 10.2
> % Total % Received % Xferd Average Speed Time Time Time
> Current
> Dload Upload Total Spent Left
> Speed
> 100 296k 100 296k 0 0 612k 0 --:--:-- --:--:-- --:--:--
> 678k
> Downloading player global 10.3
> % Total % Received % Xferd Average Speed Time Time Time
> Current
> Dload Upload Total Spent Left
> Speed
> 100 299k 100 299k 0 0 564k 0 --:--:-- --:--:-- --:--:--
> 600k
> D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 95: md5:
> command
> not found
> D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 97: [:
> 6092b3d4e
> 2784212d174ca10904412bd: unary operator expected
> MD5 hash incorrect
> Downloading player global 10.3
> % Total % Received % Xferd Average Speed Time Time Time
> Current
> Dload Upload Total Spent Left
> Speed
> 100 299k 100 299k 0 0 712k 0 --:--:-- --:--:-- --:--:--
> 801k
> Downloading player global 11.0
> % Total % Received % Xferd Average Speed Time Time Time
> Current
> Dload Upload Total Spent Left
> Speed
> 100 329k 100 329k 0 0 639k 0 --:--:-- --:--:-- --:--:--
> 703k
> D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 95: md5:
> command
> not found
> D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 97: [:
> 5f5a291f0
> 2105cd83fb582b76646e603: unary operator expected
> MD5 hash incorrect
> Downloading player global 11.0
> % Total % Received % Xferd Average Speed Time Time Time
> Current
> Dload Upload Total Spent Left
> Speed
> 100 329k 100 329k 0 0 640k 0 --:--:-- --:--:-- --:--:--
> 703k
> Downloading player global 11.1
> % Total % Received % Xferd Average Speed Time Time Time
> Current
> Dload Upload Total Spent Left
> Speed
> 100 329k 100 329k 0 0 639k 0 --:--:-- --:--:-- --:--:--
> 703k
> D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 95: md5:
> command
> not found
> D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 97: [:
> e3a0e0e8c
> 703ae5b1847b8ac25bbdc5f: unary operator expected
> MD5 hash incorrect
> Downloading player global 11.1
> % Total % Received % Xferd Average Speed Time Time Time
> Current
> Dload Upload Total Spent Left
> Speed
> 100 329k 100 329k 0 0 917k 0 --:--:-- --:--:-- --:--:--
> 1004k
> Downloading player global 11.2
> % Total % Received % Xferd Average Speed Time Time Time
> Current
> Dload Upload Total Spent Left
> Speed
> 100 331k 100 331k 0 0 815k 0 --:--:-- --:--:-- --:--:--
> 922k
> D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 95: md5:
> command
> not found
> D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 97: [:
> c544a0695
> 18897880e0d732457b6fdeb: unary operator expected
> MD5 hash incorrect
> Downloading player global 11.2
> % Total % Received % Xferd Average Speed Time Time Time
> Current
> Dload Upload Total Spent Left
> Speed
> 100 331k 100 331k 0 0 589k 0 --:--:-- --:--:-- --:--:--
> 643k
> Downloading player global 11.3
> % Total % Received % Xferd Average Speed Time Time Time
> Current
> Dload Upload Total Spent Left
> Speed
> 100 338k 100 338k 0 0 658k 0 --:--:-- --:--:-- --:--:--
> 723k
> D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 95: md5:
> command
> not found
> D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 97: [:
> e2a9ee439
> d9660feaf756aa05e7e6412: unary operator expected
> MD5 hash incorrect
> Downloading player global 11.3
> % Total % Received % Xferd Average Speed Time Time Time
> Current
> Dload Upload Total Spent Left
> Speed
> 100 338k 100 338k 0 0 658k 0 --:--:-- --:--:-- --:--:--
> 700k
> Downloading player global 11.4
> % Total % Received % Xferd Average Speed Time Time Time
> Current
> Dload Upload Total Spent Left
> Speed
> 100 342k 100 342k 0 0 594k 0 --:--:-- --:--:-- --:--:--
> 646k
> D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 95: md5:
> command
> not found
> D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 97: [:
> e15587856
> cdb5e21fa1acb6b0610a032: unary operator expected
> MD5 hash incorrect
> Downloading player global 11.4
> % Total % Received % Xferd Average Speed Time Time Time
> Current
> Dload Upload Total Spent Left
> Speed
> 100 342k 100 342k 0 0 665k 0 --:--:-- --:--:-- --:--:--
> 732k
> Downloading player global 11.5
> % Total % Received % Xferd Average Speed Time Time Time
> Current
> Dload Upload Total Spent Left
> Speed
> 100 342k 100 342k 0 0 732k 0 --:--:-- --:--:-- --:--:--
> 814k
> D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 95: md5:
> command
> not found
> D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 97: [:
> 00384b241
> 57442c59ca5d625ecfd11a2: unary operator expected
> MD5 hash incorrect
> Downloading player global 11.5
> % Total % Received % Xferd Average Speed Time Time Time
> Current
> Dload Upload Total Spent Left
> Speed
> 100 342k 100 342k 0 0 549k 0 --:--:-- --:--:-- --:--:--
> 593k
> Downloading player global 11.6
> % Total % Received % Xferd Average Speed Time Time Time
> Current
> Dload Upload Total Spent Left
> Speed
> 100 343k 100 343k 0 0 686k 0 --:--:-- --:--:-- --:--:--
> 733k
> D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 95: md5:
> command
> not found
> D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 97: [:
> 1b841a0a2
> 6ada3e5da26eb70c32ab263: unary operator expected
> MD5 hash incorrect
> Downloading player global 11.6
> % Total % Received % Xferd Average Speed Time Time Time
> Current
> Dload Upload Total Spent Left
> Speed
> 100 343k 100 343k 0 0 647k 0 --:--:-- --:--:-- --:--:--
> 687k
> Downloading player global 11.7
> % Total % Received % Xferd Average Speed Time Time Time
> Current
> Dload Upload Total Spent Left
> Speed
> 100 358k 100 358k 0 0 766k 0 --:--:-- --:--:-- --:--:--
> 852k
> D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 95: md5:
> command
> not found
> D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 97: [:
> 12656571c
> 57b2ad641838e5695a00e27: unary operator expected
> MD5 hash incorrect
> Downloading player global 11.7
> % Total % Received % Xferd Average Speed Time Time Time
> Current
> Dload Upload Total Spent Left
> Speed
> 100 358k 100 358k 0 0 883k 0 --:--:-- --:--:-- --:--:--
> 999k
> Downloading player global 11.8
> % Total % Received % Xferd Average Speed Time Time Time
> Current
> Dload Upload Total Spent Left
> Speed
> 100 364k 100 364k 0 0 778k 0 --:--:-- --:--:-- --:--:--
> 1015k
> D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 95: md5:
> command
> not found
> D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 97: [:
> 8890d61ce
> 8f96fdb01d2a66290793a8e: unary operator expected
> MD5 hash incorrect
> Downloading player global 11.8
> % Total % Received % Xferd Average Speed Time Time Time
> Current
> Dload Upload Total Spent Left
> Speed
> 100 364k 100 364k 0 0 900k 0 --:--:-- --:--:-- --:--:--
> 974k
>
> D:\Development\Flex\flex-sdk\ide>
>
>
>
>
>
> On Thu, Jun 20, 2013 at 7:23 AM, Justin Mclean <ju...@classsoftware.com>wrote:
>
>> Hi,
>>
>> Anyone on windows want to have a try at converting the OSX .sh script to
>> .bat scripts? Would be a nice to have for the release.
>>
>> The scripts are:
>> addAIRtoSDK.sh - Add AIR SDK to Flex SDK
>> checkAllPlayerGlobals.sh - download and check (via MD5 hashes) all
>> version of playerglobal.swc
>> setFlashPlayerVersion.sh - changes Flash Player version for Flex SDK
>>
>> They would help a lot with testing and with people wanting to use
>> different versions of AIR/FP.
>>
>> Thanks,
>> Justin
>
>
>
Re: Ide scripts working on windows
Posted by Mark Kessler <ke...@gmail.com>.
I ran the checkAllPlayerGlobal.sh using my local git and it worked fine..
Here is the output. So besides needing a shell (which was already
associated with that mime type on my machine), it works.
-Mark
-------------------------------------
D:\Development\Flex\flex-sdk\ide>checkAllPlayerGlobals.sh
D:\PortableApps\Flex
Welcome to Git (version 1.8.1.2-preview20130201)
Run 'git help git' to display the help index.
Run 'git help <command>' to display help for specific commands.
The Apache Flex directory for the IDE is D:\PortableApps\Flex
Playerglobal.swc is part of the Adobe Flash Player and is licensed
under the the Flash Player end user license agreement (EULA).
The 10.2 and 10.3 Flash Player EULA is specified here:
http://www.adobe.com/products/eulas/pdfs/PlatformClients_PC_WWEULA_Combined_2010
0108_1657.pdf
The 11.X Flash Player EULA is specified here:
http://www.adobe.com/products/eulas/pdfs/PlatformClients_PC_WWEULA-MULTI-2011080
9_1357.pdf
In addition to the Adobe EULA license terms, you also agree to be bound by
the t
hird-party
terms specified here:
http://www.adobe.com/products/eula/third_party/
Adobe recommends that you review all licensing terms.
Please type Y to agree to terms of the license >
y
License accepted
Downloading player global 10.2
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 296k 100 296k 0 0 500k 0 --:--:-- --:--:-- --:--:--
575k
D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 95: md5:
command
not found
D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 97: [:
aa7d785dd
5715626201f5e30fc1deb51: unary operator expected
MD5 hash incorrect
Downloading player global 10.2
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 296k 100 296k 0 0 612k 0 --:--:-- --:--:-- --:--:--
678k
Downloading player global 10.3
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 299k 100 299k 0 0 564k 0 --:--:-- --:--:-- --:--:--
600k
D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 95: md5:
command
not found
D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 97: [:
6092b3d4e
2784212d174ca10904412bd: unary operator expected
MD5 hash incorrect
Downloading player global 10.3
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 299k 100 299k 0 0 712k 0 --:--:-- --:--:-- --:--:--
801k
Downloading player global 11.0
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 329k 100 329k 0 0 639k 0 --:--:-- --:--:-- --:--:--
703k
D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 95: md5:
command
not found
D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 97: [:
5f5a291f0
2105cd83fb582b76646e603: unary operator expected
MD5 hash incorrect
Downloading player global 11.0
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 329k 100 329k 0 0 640k 0 --:--:-- --:--:-- --:--:--
703k
Downloading player global 11.1
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 329k 100 329k 0 0 639k 0 --:--:-- --:--:-- --:--:--
703k
D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 95: md5:
command
not found
D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 97: [:
e3a0e0e8c
703ae5b1847b8ac25bbdc5f: unary operator expected
MD5 hash incorrect
Downloading player global 11.1
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 329k 100 329k 0 0 917k 0 --:--:-- --:--:-- --:--:--
1004k
Downloading player global 11.2
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 331k 100 331k 0 0 815k 0 --:--:-- --:--:-- --:--:--
922k
D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 95: md5:
command
not found
D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 97: [:
c544a0695
18897880e0d732457b6fdeb: unary operator expected
MD5 hash incorrect
Downloading player global 11.2
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 331k 100 331k 0 0 589k 0 --:--:-- --:--:-- --:--:--
643k
Downloading player global 11.3
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 338k 100 338k 0 0 658k 0 --:--:-- --:--:-- --:--:--
723k
D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 95: md5:
command
not found
D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 97: [:
e2a9ee439
d9660feaf756aa05e7e6412: unary operator expected
MD5 hash incorrect
Downloading player global 11.3
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 338k 100 338k 0 0 658k 0 --:--:-- --:--:-- --:--:--
700k
Downloading player global 11.4
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 342k 100 342k 0 0 594k 0 --:--:-- --:--:-- --:--:--
646k
D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 95: md5:
command
not found
D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 97: [:
e15587856
cdb5e21fa1acb6b0610a032: unary operator expected
MD5 hash incorrect
Downloading player global 11.4
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 342k 100 342k 0 0 665k 0 --:--:-- --:--:-- --:--:--
732k
Downloading player global 11.5
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 342k 100 342k 0 0 732k 0 --:--:-- --:--:-- --:--:--
814k
D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 95: md5:
command
not found
D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 97: [:
00384b241
57442c59ca5d625ecfd11a2: unary operator expected
MD5 hash incorrect
Downloading player global 11.5
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 342k 100 342k 0 0 549k 0 --:--:-- --:--:-- --:--:--
593k
Downloading player global 11.6
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 343k 100 343k 0 0 686k 0 --:--:-- --:--:-- --:--:--
733k
D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 95: md5:
command
not found
D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 97: [:
1b841a0a2
6ada3e5da26eb70c32ab263: unary operator expected
MD5 hash incorrect
Downloading player global 11.6
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 343k 100 343k 0 0 647k 0 --:--:-- --:--:-- --:--:--
687k
Downloading player global 11.7
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 358k 100 358k 0 0 766k 0 --:--:-- --:--:-- --:--:--
852k
D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 95: md5:
command
not found
D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 97: [:
12656571c
57b2ad641838e5695a00e27: unary operator expected
MD5 hash incorrect
Downloading player global 11.7
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 358k 100 358k 0 0 883k 0 --:--:-- --:--:-- --:--:--
999k
Downloading player global 11.8
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 364k 100 364k 0 0 778k 0 --:--:-- --:--:-- --:--:--
1015k
D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 95: md5:
command
not found
D:\Development\Flex\flex-sdk\ide\checkAllPlayerGlobals.sh: line 97: [:
8890d61ce
8f96fdb01d2a66290793a8e: unary operator expected
MD5 hash incorrect
Downloading player global 11.8
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 364k 100 364k 0 0 900k 0 --:--:-- --:--:-- --:--:--
974k
D:\Development\Flex\flex-sdk\ide>
On Thu, Jun 20, 2013 at 7:23 AM, Justin Mclean <ju...@classsoftware.com>wrote:
> Hi,
>
> Anyone on windows want to have a try at converting the OSX .sh script to
> .bat scripts? Would be a nice to have for the release.
>
> The scripts are:
> addAIRtoSDK.sh - Add AIR SDK to Flex SDK
> checkAllPlayerGlobals.sh - download and check (via MD5 hashes) all version
> of playerglobal.swc
> setFlashPlayerVersion.sh - changes Flash Player version for Flex SDK
>
> They would help a lot with testing and with people wanting to use
> different versions of AIR/FP.
>
> Thanks,
> Justin
RE: Ide scripts working on windows
Posted by Kessler CTR Mark J <ma...@usmc.mil>.
Windows does have cscript.exe[1] / wscript.exe which allows more control than batch files. CScript stays in a console window, while wscript produces a Windows popup. They use JScript and VBScript. It can also interface with WMI [2] if needed. WMI Reference [3], VBScript language reference [4].
A couple of references [5][6] show two very different ways to download files.
[1] http://en.wikipedia.org/wiki/Windows_Script_Host
[2] http://technet.microsoft.com/en-us/library/ee692772.aspx
[3] http://msdn.microsoft.com/en-us/library/windows/desktop/aa394572(v=vs.85).aspx
[4] http://msdn.microsoft.com/en-us/library/d1wf56tt(v=vs.84).aspx
[5] http://stackoverflow.com/questions/2973136/download-a-file-with-vbs
[6] http://www.robvanderwoude.com/vbstech_internet_download.php
-Mark
-----Original Message-----
From: Alex Harui [mailto:aharui@adobe.com]
Sent: Thursday, June 20, 2013 11:11 AM
To: dev@flex.apache.org
Subject: Re: Ide scripts working on windows
IIRC, any .sh that does a download won't work on Windows as .bat doesn't
have such a command. The .bat versions requires some library like visual
basic which was considered too painful a requirement and thus we wrote the
installer.
It might be better to make the installer also a "configurator" or write a
separate "configurator"?
On 6/20/13 4:23 AM, "Justin Mclean" <ju...@classsoftware.com> wrote:
>Hi,
>
>Anyone on windows want to have a try at converting the OSX .sh script to
>.bat scripts? Would be a nice to have for the release.
>
>The scripts are:
>addAIRtoSDK.sh - Add AIR SDK to Flex SDK
>checkAllPlayerGlobals.sh - download and check (via MD5 hashes) all
>version of playerglobal.swc
>setFlashPlayerVersion.sh - changes Flash Player version for Flex SDK
>
>They would help a lot with testing and with people wanting to use
>different versions of AIR/FP.
>
>Thanks,
>Justin
Re: Ide scripts working on windows
Posted by OmPrakash Muppirala <bi...@gmail.com>.
I would imagine that the scripts would work without any issues on Cygwin.
But, of course, would require the end user to download Cygwin configure it
first. Which is an unnecessary barrier when it comes to get going with the
Apache Flex SDK.
Thanks,
Om
On Thu, Jun 20, 2013 at 10:16 AM, Kessler CTR Mark J <
mark.kessler.ctr@usmc.mil> wrote:
> I can try it out on my git tools when I get home in a few hours. It's not
> Cygwin, but it runs the mini_run fine from the command line.
>
> -Mark
>
>
> -----Original Message-----
> From: Alex Harui [mailto:aharui@adobe.com]
> Sent: Thursday, June 20, 2013 1:02 PM
> To: dev@flex.apache.org
> Subject: Re: Ide scripts working on windows
>
>
>
> On 6/20/13 9:21 AM, "Justin Mclean" <ju...@classsoftware.com> wrote:
>
> >Hi,
> >
> >Perhaps someone can try the scripts under cygwin on window to see if they
> >work?
> >
> >Justin
> I've been wondering that myself. I haven't tried it because the issue
> remains that not everybody has Cygwin, VBScript or Jscript on Windows.
>
>
RE: Ide scripts working on windows
Posted by Kessler CTR Mark J <ma...@usmc.mil>.
I can try it out on my git tools when I get home in a few hours. It's not Cygwin, but it runs the mini_run fine from the command line.
-Mark
-----Original Message-----
From: Alex Harui [mailto:aharui@adobe.com]
Sent: Thursday, June 20, 2013 1:02 PM
To: dev@flex.apache.org
Subject: Re: Ide scripts working on windows
On 6/20/13 9:21 AM, "Justin Mclean" <ju...@classsoftware.com> wrote:
>Hi,
>
>Perhaps someone can try the scripts under cygwin on window to see if they
>work?
>
>Justin
I've been wondering that myself. I haven't tried it because the issue
remains that not everybody has Cygwin, VBScript or Jscript on Windows.
Re: Ide scripts working on windows
Posted by Alex Harui <ah...@adobe.com>.
On 6/20/13 9:21 AM, "Justin Mclean" <ju...@classsoftware.com> wrote:
>Hi,
>
>Perhaps someone can try the scripts under cygwin on window to see if they
>work?
>
>Justin
I've been wondering that myself. I haven't tried it because the issue
remains that not everybody has Cygwin, VBScript or Jscript on Windows.
Re: Ide scripts working on windows
Posted by Justin Mclean <ju...@classsoftware.com>.
Hi,
Perhaps someone can try the scripts under cygwin on window to see if they work?
Justin
Re: Ide scripts working on windows
Posted by Alex Harui <ah...@adobe.com>.
IIRC, any .sh that does a download won't work on Windows as .bat doesn't
have such a command. The .bat versions requires some library like visual
basic which was considered too painful a requirement and thus we wrote the
installer.
It might be better to make the installer also a "configurator" or write a
separate "configurator"?
On 6/20/13 4:23 AM, "Justin Mclean" <ju...@classsoftware.com> wrote:
>Hi,
>
>Anyone on windows want to have a try at converting the OSX .sh script to
>.bat scripts? Would be a nice to have for the release.
>
>The scripts are:
>addAIRtoSDK.sh - Add AIR SDK to Flex SDK
>checkAllPlayerGlobals.sh - download and check (via MD5 hashes) all
>version of playerglobal.swc
>setFlashPlayerVersion.sh - changes Flash Player version for Flex SDK
>
>They would help a lot with testing and with people wanting to use
>different versions of AIR/FP.
>
>Thanks,
>Justin