I want to create AIR applications. I have downloaded the current AIR app and the current SDK files. I have followed a few different tutorials about creating an air app. Each tutorial works fine when testing the created files against the adl.exe file. My issues arise when i try to publish the actual AIR file in the command line.
I am able to create the PFX file fine using a command similar to -
C:\apache2triad\htdocs\air\sdk\bin>adt -certificate -cn SelfSigned 1024-RSA samp
leCert.pfx samplePassword
But when i try to create the AIR file like this -
C:\apache2triad\htdocs\air\sdk\bin>adt -package -storetype pkcs12 -keystore samp
leCert.pfx HelloWorld.air C:\apache2triad\htdocs\air\projects\HelloWorld\HelloWo
rld-app.xml C:\apache2triad\htdocs\air\projects\HelloWorld\HelloWorld.html C:\ap
ache2triad\htdocs\air\projects\HelloWorld\AIRAliases.js
I get the the following message with no resulting AIR file -
absolute path: C:\apache2triad\htdocs\air\projects\HelloWorld\HelloWorld.html
usage:
adt -checkstore SIGNING_OPTIONS
adt -certificate -cn <name> ( -ou <org-unit> )? ( -o <org-name> )? ( -c <count
ry> )? <key-type> <pfx-file> <password>
adt -help
adt -migrate SIGNING_OTIONS <air-file-in> <air-file-out>
adt -package SIGNING_OPTIONS <air-file> <app-desc> FILE_ARGS
adt -prepare <airi-file> <app-desc> FILE_ARGS
adt -sign SIGNING_OPTIONS <airi-file> <air-file>
adt -version
SIGNING_OPTIONS: -storetype <type> ( -keystore <store> )? ( -storepass <pass> )?
( -keypass <pass> )? ( -providerName <name> )? ( -tsa <url> )?
FILE_ARGS: <fileOrDir>* (( -C <dir> <fileOrDir>+ ) | ( -e <file> <path> ))*
I believe the actual error within it is.. WHY? -
absolute path: C:\apache2triad\htdocs\air\projects\HelloWorld\HelloWorld.html
Also other attempts have resulted in the error message saying "not enough arguments" then giving the same "usage" help as above.
I REALLY need to figure this out. Any help is much appreciated.
Thank you, Cesar