[Laszlo-dev] compile AIR instead of SWF9
Henry Minsky
hminsky at laszlosystems.com
Wed Aug 27 07:13:04 PDT 2008
OK, I'll give it a try. I removed the air libraries when I packaged up the
flex compilerfor the release, I could put those back into the standard
release tree, they're not very large.
On Wed, Aug 27, 2008 at 9:37 AM, Sebastian Wagner <seba.wagner at gmail.com>wrote:
> there is a ready to run ant-script in the Docs:
>
> http://livedocs.adobe.com/flex/3/html/help.html?content=CommandLineTools_7.html
>
>
> I think basically you just need to replace
>
> mxmlc
> with
> amxmlc (amxmlc *[compiler options]* -- MyAIRApp.mxml)
>
> like descibed here:
>
> http://livedocs.adobe.com/flex/3/html/help.html?content=CommandLineTools_2.html
>
> then package the resulting SWF with the adt-command line tool:
>
> adt -package *SIGNING_OPTIONS* *air_file* *app_xml* [*file_or_dir* | -C *dir* *f**ile_or_dir* | -e file dir ...] ...
>
> like described here:
>
> http://livedocs.adobe.com/flex/3/html/help.html?content=CommandLineTools_5.html
>
> and finally need to sign the AIR application:
>
> [-alias *aliasName*] [-storetype *type*] [-keystore *path*] [-storepass *password1*] [-keypass *password2*] [-providerName *className*] [-tsa *url*]
>
>
> thats it :)
>
> sebastian
>
> PS: I think the certificate could be also loaded from an file path on lps
> server, no need to generate that certificate for every application
>
> 2008/8/27 Henry Minsky <hminsky at laszlosystems.com>
>
> I have never tried generating an AIR app, but it seems like it should be
>> pretty straightforward. What is the simplest way to do it? If you can
>> send me a command line example that works, I can
>> add an option to the lzc script or something.
>>
>>
>>
>> On Wed, Aug 27, 2008 at 3:06 AM, Sebastian Wagner <seba.wagner at gmail.com>wrote:
>>
>>> hi,
>>>
>>> is there already a command line option to compile an AIR application
>>> instead of SWF9?
>>> I see adt(-compiler) is already in the bin dir, so you should be able to
>>> sign and package it.
>>>
>>> sebastian
>>>
>>> --
>>> Sebastian Wagner
>>> http://www.webbase-design.de
>>> http://openmeetings.googlecode.com
>>> http://www.laszlo-forum.de
>>> seba.wagner at gmail.com
>>>
>>
>>
>>
>> --
>> Henry Minsky
>> Software Architect
>> hminsky at laszlosystems.com
>>
>>
>>
>
>
> --
> Sebastian Wagner
> http://www.webbase-design.de
> http://openmeetings.googlecode.com
> http://www.laszlo-forum.de
> seba.wagner at gmail.com
>
--
Henry Minsky
Software Architect
hminsky at laszlosystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20080827/867188e1/attachment.html
More information about the Laszlo-dev
mailing list