<arg line="-storepass ${STOREPASS}"/> works for me. Which does much the same thing.
Are you sure your ${STOREPASS} property is correct/has valid data? Ian On Mon, Sep 28, 2009 at 8:18 PM, seanmcmonahan <s...@seanmonahan.org> wrote: > > > 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! > > >