Help | Site Map
Connecting Tech Pros Worldwide
Reply
 
LinkBack Thread Tools
  #1  
Old September 6th, 2008, 12:11 PM
Member
 
Join Date: Apr 2006
Posts: 112
Default 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 -
Expand|Select|Wrap|Line Numbers
  1. C:\apache2triad\htdocs\air\sdk\bin>adt -certificate -cn SelfSigned 1024-RSA samp
  2. leCert.pfx samplePassword
But when i try to create the AIR file like this -
Expand|Select|Wrap|Line Numbers
  1. C:\apache2triad\htdocs\air\sdk\bin>adt -package -storetype pkcs12 -keystore samp
  2. leCert.pfx HelloWorld.air C:\apache2triad\htdocs\air\projects\HelloWorld\HelloWo
  3. rld-app.xml C:\apache2triad\htdocs\air\projects\HelloWorld\HelloWorld.html C:\ap
  4. ache2triad\htdocs\air\projects\HelloWorld\AIRAliases.js
I get the the following message with no resulting AIR file -
Expand|Select|Wrap|Line Numbers
  1. absolute path: C:\apache2triad\htdocs\air\projects\HelloWorld\HelloWorld.html
  2. usage:
  3.   adt -checkstore SIGNING_OPTIONS
  4.   adt -certificate -cn <name> ( -ou <org-unit> )? ( -o <org-name> )? ( -c <count
  5. ry> )? <key-type> <pfx-file> <password>
  6.   adt -help
  7.   adt -migrate SIGNING_OTIONS <air-file-in> <air-file-out>
  8.   adt -package SIGNING_OPTIONS <air-file> <app-desc> FILE_ARGS
  9.   adt -prepare <airi-file> <app-desc> FILE_ARGS
  10.   adt -sign SIGNING_OPTIONS <airi-file> <air-file>
  11.   adt -version
  12.  
  13. SIGNING_OPTIONS: -storetype <type> ( -keystore <store> )? ( -storepass <pass> )?
  14.  ( -keypass <pass> )? ( -providerName <name> )? ( -tsa <url> )?
  15. FILE_ARGS: <fileOrDir>* (( -C <dir> <fileOrDir>+ ) | ( -e <file> <path> ))*
I believe the actual error within it is.. WHY? -
Expand|Select|Wrap|Line Numbers
  1. 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
Reply

Bookmarks

Thread Tools

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 Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles