Hello,

We have a rather large AIR application which we're trying to generate docs
for. We CANNOT get ASDOC to work. It keeps spitting out strange errors. We
have included the AIR libraries as args along with some other custom
libraries.

Here's our ant task source:

    <target name="createASdocs" description="Create AS Docs">
        <exec executable="${FLEX_HOME}/bin/asdoc.exe" failonerror="true">
            <arg line="-doc-sources ${srcdir}/air"></arg>
            <arg line="-library-path '${FLEX_HOME}/frameworks/libs/'"></arg>
            <arg line="-library-path
'${FLEX_HOME}/frameworks/libs/air'"></arg>
            <arg line="-library-path
'${FLEX_HOME}/frameworks/libs/player'"></arg>
            <arg line="-library-path
'${FLEX_HOME}/frameworks/locale/en_US'"></arg>
        </exec>
    </target>


Here's a partial dump of the error output:

createASdocs:
     [exec] Loading configuration file C:\Program Files\Adobe\Flex Builder
3\sdks\3.0.0\frameworks\flex-config.xml
     [exec] This beta will expire on Thu Jan 31 00:00:00 PST 2008.
     [exec] C:\Documents and Settings\Walt
Schlender\Desktop\Alt7Rev3\src\client\air\com\alt7\air\browser\controls\A7FindPanel.mxml(11):
Error: Type was not found or was not a compile-time constant: HTMLControl.
     [exec]
     [exec]             public function
initFindPanel(html:HTMLControl):void{
     [exec]
     [exec] C:\Documents and Settings\Walt
Schlender\Desktop\Alt7Rev3\src\client\air\com\alt7\gps\RosterAddUI.mxml(25):
Error: Type was not found or was not a compile-time constant: A7Roster.
     [exec]
     [exec]             public function init(host:String,
roster:A7Roster):void{
     [exec]
     [exec] C:\Documents and Settings\Walt
Schlender\Desktop\Alt7Rev3\src\client\air\com\alt7\air\browser\Alt7BrowserPanel.mxml(59):
Error: Type was not found or was not a compile-time constant: HTMLControl.
     [exec]
     [exec]             public function get htmlControl():HTMLControl{



-- 
Walt Schlender
510-280-4586
[EMAIL PROTECTED]
weblog: www.dice.cx - business, computers, food
_________________________________________
bLine Creations - An Interactive Internet Company
www.blinecreations.com

--Referrals are the life's blood of my business.
If you or anyone you know needs a developer,
please contact me!

Reply via email to