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:
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
Make sure you have a <taskdef> that points to the Flex Ant tasks. More info here http://livedocs.adobe.com/flex/3/html/help.html?content=anttasks_6.html and here http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7a62.html.
The post you reference on my blog omits that step...I already had it setup in my tasks.
Jason San Jose
Software Engineer, Flex