>
> On a Mac, we should be able launch a terminal as a NativeProecess and pass
> in the correct params via the Native Process api.
>

Come to think about it - you should be able to invoke tar as a native
process directly.  You dont need a terminal to do that.

Om

On Tue, May 22, 2012 at 4:56 PM, Om <bigosma...@gmail.com> wrote:

> Justin,
>
> I will work on (1)
>
> For (2) I looked at the Fzip code, it does not appear to be supporting
> .tbz2 files.  I think the solution should be pretty straightforward.  In
> Carol's script for Mac, this is what is going on:
>
> tar xf "$tempDir/$ADOBE_AIR_SDK_MAC_FILE" -C "$FLEX_HOME"
>
> On a Mac, we should be able launch a terminal as a NativeProecess and pass
> in the correct params via the Native Process api.
>
> Some info here:
> http://www.adobe.com/devnet/air/flex/quickstart/articles/interacting_with_native_process.html
>
> I am pretty sure that would work.  Can you please try it out and let me
> know?
>
> Thanks,
> Om
>
>
> On Tue, May 22, 2012 at 4:44 PM, Justin Mclean 
> <jus...@classsoftware.com>wrote:
>
>> Hi,
>>
>> > 1.  Entering flex sdk path in GUI (if not provided as a command line
>> argument)
>> This works but would be better if a directory can be selected.
>>
>> This might help:
>>
>> http://help.adobe.com/en_US/as3/dev/WS5b3ccc516d4fbf351e63e3d118666ade46-7fe4.html#WS5b3ccc516d4fbf351e63e3d118676a4c56-7ff0
>>
>> > 2.  MacOS support.  This has not been tested yet.
>> Run it and got this error on unzipping the AIR runtime:
>>
>> Error: Unknown record signature: 0x39685a42
>>        at
>> org.as3commons.zip::Zip/parseSignature()[C:\projects\as3-commons\as3-commons-zip\target\checkout\src\main\actionscript\org\as3commons\zip\Zip.as:447]
>>        at
>> org.as3commons.zip::Zip/parse()[C:\projects\as3-commons\as3-commons-zip\target\checkout\src\main\actionscript\org\as3commons\zip\Zip.as:413]
>>        at
>> org.as3commons.zip::Zip/loadBytes()[C:\projects\as3-commons\as3-commons-zip\target\checkout\src\main\actionscript\org\as3commons\zip\Zip.as:192]
>>        at
>> MakeApacheFlexForFlashBuilder/unzip()[/Users/justinmclean/Downloads/bigosmallm-MakeApacheFlexForFlashBuilder-ce09288/src/MakeApacheFlexForFlashBuilder.mxml:317]
>>        at
>> MakeApacheFlexForFlashBuilder/unzipAdobeAIRSDK()[/Users/justinmclean/Downloads/bigosmallm-MakeApacheFlexForFlashBuilder-ce09288/src/MakeApacheFlexForFlashBuilder.mxml:230]
>>        at
>> MakeApacheFlexForFlashBuilder/handleAIRSDKDownload()[/Users/justinmclean/Downloads/bigosmallm-MakeApacheFlexForFlashBuilder-ce09288/src/MakeApacheFlexForFlashBuilder.mxml:225]
>>        at flash.events::EventDispatcher/dispatchEventFunction()
>>        at flash.events::EventDispatcher/dispatchEvent()
>>        at flash.net::URLLoader/onComplete()
>>
>> I'm guessing that perhaps as3commons zip doesn't support .tbz2 files?
>>
>> Would it be possible to optionally specify the location of the Apache
>> Flex  SDK and the AIR integration. This would be help  were you may not
>> have internet access or for installing on multiple machines (so you only
>> have to download the the large files once).
>>
>> Thanks,
>> Justin
>
>
>

Reply via email to