1 Reply Latest reply on Sep 12, 2011 2:40 PM by Jason San Jose

    compile asdoc info into my swc

    5Systems Level 1

      I have been trying to figure out how to include asdoc info into my swc file so when another developer uses my library he will get asdoc info with code hinting in Flash Builder.

       

      I came accross this link that basicly says:

      1. Generate SWC
      2. Generate doc XML Files using ASDoc tool
      3. Update SWC with doc XML fIles

       

      I got 1 and 2, no problem, it is 3 I have spent most of the day trying to figure out. I have found a lot of info referencing this page and example. So I downloaded the ExampleFatSWC.zip and imported it into Flash Builder, Moved the build.xml file into my project directory. Modified the build.xml file to fit my project and ran as an ant build. I get the following error:

       

      BUILD FAILED
      C:\path\build.xml:21: Problem: failed to create task or type compc
      Cause: The name is undefined.
      Action: Check the spelling.
      Action: Check that any custom tasks/types have been declared.
      Action: Check that any <presetdef>/<macrodef> declarations have taken place.
      
      
      Total time: 112 milliseconds
      

       

      Everywhere I look seems to point back to this build.xml file by by Jason San Jose to add asdoc info to my swc. Is there another way or better way to do this, this seem ridiculously difficult for such a simple, and I would think a very well used aspect of Flash development

       

      thanks