|
HowToCompile
Instructions on compiling the Huddle Desktop application
IntroductionThis page details how to compile and sign the Huddle desktop application. The certificates used to compile the original application are not included here, to preserve the authenticity of the compiled application available on the Huddle website. Prerequisites
Creating a self-signing certificateIf you already have a certificate for signing .air files, proceed to the next stage. This section will create a self-signing certificate for you to use to sign your compiled application. This means that your compiled code won't replace the official Huddle compilation if it is already installed on a user's machine. To generate your certificate, open a command prompt and navigate to where the Adobe development tools are in your filesystem. Then, run this command: adt -certificate -cn NAME [-ou UNIT][-o ORG][-c COUNTRY] TYPE FILE PASSWORD where:
Your certificate is generated :) It's valid for 5 years. Packaging the codeThis step will take the code and your certificate and compile them into a .air install file. Use this command to compile the code: adt -package SIGNING_OPTS OUT.air APP.xml Huddle.html imgs scripts styles where:
ConclusionAnd that's the application built! Let us know what you do with the code! |