If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Applications & Tools > Error Publishing Adobe Air File

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-06-08, 07:09
cesarcesar cesarcesar is offline
Registered User
 
Join Date: Mar 2008
Posts: 55
Error Publishing Adobe Air File

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 -
Code:
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 -
Code:
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 -
Code:
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? -
Code:
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
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On