I have an ant script that does all my AIR compiling, signing & packaging
for me. You can svn checkout a full working sample of the source build
here <http://practicalflash.googlecode.com/svn/trunk/>  (Note you'll
have to update your build.parameters.xml from the default). I've copied
the macrodef I use below.

 

<macrodef name="amxmlc">
        <attribute name="source" />
        <attribute name="destination" />
        <attribute name="parameters" default="" />
        
        <sequential>
               <exec executable="${flex.path.mxmlc}">
                        <arg value="-debug=false"/>
                        <arg
value="-compiler.allow-source-path-overlap"/>
                        <arg
value="+flexlib=${flex.path.sdk}/frameworks"/>
                        <arg value="+configname=air"/>
                        <arg value="[EMAIL PROTECTED]"/>
                        <arg value="-source-path=${flex.path.source}" />
                       <arg
value="-source-path+=${flex.path.source}/locale/{locale}" />
                       <arg
value="-source-path+=${flex.path.practicalflash}" />
                       <arg
value="-compiler.library-path+=${flex.path.libs}" />
                       <arg line="@{parameters}"/>
                       <arg value="@{source}"/>
                </exec>
        </sequential>
</macrodef>

 

 

Michael Krotscheck

Senior Developer

 
RESOURCE INTERACTIVE

<http://www.resource.com/> www.resource.com <http://www.resource.com> 

[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 

_____________________________________________________________________

We support privacy and confidentiality. Please delete this email if it
was received in error.


weThink. Our new blog. http://blog.resource.com



________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Jeffry Houser
Sent: Tuesday, July 01, 2008 9:32 AM
To: [email protected]
Subject: Re: [flexcoders] Creating an AIR install file from scratch..

 


Isn't there a command line compiler for AIR? 

Google will come up with some hits on it; but I'd start here:

http://help.adobe.com/en_US/AIR/1.1/devappshtml/WS5b3ccc516d4fbf351e63e3
d118666ade46-7fd9.html
<http://help.adobe.com/en_US/AIR/1.1/devappshtml/WS5b3ccc516d4fbf351e63e
3d118666ade46-7fd9.html>  

essuark wrote:
> lets just 'say' I wanted to do this, any ideas, pointers, links? I am
> interested in automating an internal process that requires an AIR
> file. I want a program to create the AIR file, NOT Flex Builder...
>
> thanks
> Ralph
>
>
> ------------------------------------
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
<http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt> 
> Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo
<http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo> ! Groups
Links
>
>
>
>
> 

-- 
Jeffry Houser
Flex, ColdFusion, AIR
AIM: Reboog711 | Phone: 1-203-379-0773
--
Adobe Community Expert
<http://www.adobe.com/communities/experts/members/JeffryHouser.html
<http://www.adobe.com/communities/experts/members/JeffryHouser.html> >
My Company: <http://www.dot-com-it.com <http://www.dot-com-it.com> > 
My Podcast: <http://www.theflexshow.com <http://www.theflexshow.com> >
My Blog: <http://www.jeffryhouser.com <http://www.jeffryhouser.com> > 

 

Reply via email to