SUCCESS!!  Thanks so much!  This worked perfectly for me.


--- In flexcoders@yahoogroups.com, "Jim Hayes" <j...@...> wrote:
>
> I have this :
>  
> <java jar="${ADT.JAR}" fork="true" failonerror="true">
>              <arg value="-package"/>
>              <arg value="-storetype"/>
>              <arg value="${STORETYPE}"/>
>              <arg value="-keystore"/>
>              <arg value="${AIR_CERT_PATH}"/>
>               <arg value="-keypass"/>
>               <arg value="${KEY_PASSWORD}"/>
>               <arg value="-storepass"/>
>               <arg value="${KEY_PASSWORD}"/>
>  
> So it looks like I'm using -keypass as well as -storepass , with the
> same password.
>  
> No idea why! I built this script over a year ago, so have completely
> forgotten the whys and wherefores, but it's still working for me without
> asking for any passwords.
> Hope that helps.
>  
> -----Original Message-----
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
> Behalf Of seanmcmonahan
> Sent: 28 September 2009 20:18
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Ant Task to Build Air Package
>  
>   
> I'm working on an Ant build script to build and package my Air
> application. So far it works pretty well except I cannot get the script
> to use the password for the signing certificate.
> 
> ADT is invoked like this:
> 
> <java
> jar="${ADT.JAR}"
> fork="true"
> failonerror="true">
> 
> <arg value="-package"/>
> <arg value="-storetype"/>
> <arg value="${STORETYPE}"/>
> <arg value="-keystore"/>
> <arg value="${KEYSTORE}"/>
> <arg value="-storepass"/>
> <arg value="${STOREPASS}"/>
> 
> <arg value="${AIR_NAME}"/>
> <arg value="${BUILD_DIR}/temp-app.xml"/>
> 
> <!-- Copy the main SWF -->
> <arg value="-C"/>
> <arg value="${BUILD_DIR}"/>
> <arg value="${APP_ROOT_FILE}"/>
> 
> <!-- Copy the assets -->
> <arg value="-C"/>
> <arg value="${RELEASE_DIR}"/>
> <arg value="assets"/>
> </java>
> 
> When I run the script from Flex Builder everything works fine until, I
> presume, it gets to the storepass. If I run this build from the
> Termninal on Mac OS I can manually type in the password when the build
> script gets to the storepass and then the script will complete the
> build.
> 
> So my build script mostly works, anyone have any thoughts on how to get
> it to entirely work? Ideally I'd like to be able to run the script from
> Flex Builder, but using the Terminal or Command Prompt is fine as well,
> I just don't want to have to type the password in for the certificate.
> 
> Thanks!
> 
> 
> ______________________________________________________________________
> 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.
> ______________________________________________________________________
>


Reply via email to