Automating ActionScript Projects with Eclipse and Ant

Book description

Automating repetitive programming tasks is easier than many Flash/AS3 developers think. With the Ant build tool, the Eclipse IDE, and this concise guide, you can set up your own "ultimate development machine" to code, compile, debug, and deploy projects faster. You’ll also get started with versioning systems, such as Subversion and Git.

Create a consistent workflow for multiple machines, or even complete departments, with the help of extensive Ant code samples. If you want to work smarter and take your skills to a new level, this book will get you on the road to automation—with Ant.

  • Set up your Eclipse work environment with Eclipse plugins, including the FDT code editor and the Mylyn task manager
  • Enable several developers to work on the same project simultaneously with a versioning system
  • Walk through the basics of Ant, and use sample code to create your first script
  • Compile and debug your Ant build with FDT or the Flex SDK
  • Apply Ant to mobile development for both the Android Platform and iOS, using the Android SDK and Adobe Air

Table of contents

  1. Automating ActionScript Projects with Eclipse and Ant
    1. SPECIAL OFFER: Upgrade this ebook with O’Reilly
    2. Preface
      1. Introduction
      2. Build Systems
      3. Audience
      4. Contents of This Book
      5. Conventions Used in This Book
      6. Using Code Examples
      7. We’d Like to Hear from You
      8. Safari® Books Online
      9. Acknowledgments
    3. 1. Tools
      1. Eclipse
        1. Workspaces and Perspectives
        2. Preferences
        3. Increase Eclipse’s Available Memory
        4. Shortcut Keys
      2. FDT
      3. Downloading the Android SDK
        1. Installing the ADT Plug-in for Eclipse
        2. Installing Android SDK Platform Tools
      4. Mylyn
        1. Installing Connectors
          1. Google Code connector
          2. GitHub connector
        2. Adding a Repository to Mylyn
    4. 2. Source Code Management
      1. SVN and Git
      2. SVN in Eclipse
      3. Git in Eclipse
    5. 3. Automation
      1. Ant
      2. The Basics
      3. Setup
      4. Our First “Real” Ant Script
        1. Projects
        2. Functions
        3. Variables
      5. Directly Calling the Compiler
        1. Downloading the Flex SDK
          1. Compiling
          2. Adding external SWC libraries
          3. Cleaning
          4. Debugging
      6. Using FDT’s Ant Tasks
        1. Compiling (with FDT Ant Tasks)
        2. Debugging (with FDT Ant Tasks)
      7. Deploying Your SWF Files to a Different Source
      8. Setting Up Web Deployment
        1. Adding Information to a SWF
      9. Setting Up the HTML File
      10. Deploying to a Network Share
      11. Creating a Zip File
      12. Making a Backup of the Complete Project
      13. Emailing the Client/Support Desk
      14. Adobe AIR and Mobile Compiling
        1. Compiling and Packaging to AIR
        2. Creating a Self-Signed Certificate
        3. Compiling and Packaging to an Android APK
        4. Compiling to Android APK
        5. Compiling for iOS
        6. Certificates for iOS
        7. Other Cool Stuff to Do with Ant
    6. About the Author
    7. SPECIAL OFFER: Upgrade this ebook with O’Reilly

Product information

  • Title: Automating ActionScript Projects with Eclipse and Ant
  • Author(s): Sidney de Koning
  • Release date: October 2011
  • Publisher(s): O'Reilly Media, Inc.
  • ISBN: 9781449319106