Any error messages?

You don't seem to be including any icons, they're not required but if they're 
specified in the application descriptor you also need to specify them in the 
ant task or it will fail.
I'm only guessing that you might have forgotten them, however - it's possible 
that you're not using them and the error lies elsewhere.


-----Original Message-----
From: flexcoders@yahoogroups.com on behalf of markflex2007
Sent: Tue 17/03/2009 16:25
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Ant and Air package?
 
I try to build a Ant auto package function but I do not know why it doesn't 
work.

Any idea,atahnks


Mark   

<target name="package" if="do.package" depends="compile"
        description="Packages AIR application.">
        <antcall target="create.certificate" />
        <java jar="${adt.jar}" fork="true" failonerror="true"
            inputstring="${cert.pass}">
            <arg value="-package" />
            <arg value="-storetype" />
            <arg value="${store.type}" />
            <arg value="-keystore" />
            <arg value="${cert.name}" />
            <arg value="${app.name}.air" />
            <arg value="${desc.name}.xml" />
            <arg value="${deploy.dir}\${app.name}.swf" />
        </java>
    </target>
    
    <target name="create.certificate" if="do.package"
        description="Creates self signed certificate.">
        <java jar="${adt.jar}" fork="true" failonerror="true">
            <arg value="-certificate" />
            <arg value="-cn" />
            <arg value="${app.name}" />
            <arg value="${cert.type}" /> 
            <arg value="${cert.name}" />
            <arg value="${cert.pass}" />
        </java>
    </target>



______________________________________________________________________
This communication is from Primal Pictures Ltd., a company registered in 
England and Wales with registration No. 02622298 and registered office: 4th 
Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK. VAT 
registration No. 648874577.

This e-mail is confidential and may be privileged. It may be read, copied and 
used only by the intended recipient. If you have received it in error, please 
contact the sender immediately by return e-mail or by telephoning +44(0)20 7637 
1010. Please then delete the e-mail and do not disclose its contents to any 
person.
This email has been scanned for Primal Pictures by the MessageLabs Email 
Security System.
______________________________________________________________________

<<winmail.dat>>

Reply via email to