2 Replies Latest reply on Oct 8, 2007 4:39 PM by FerrieJB

    asdoc with custom namespace

      I'm trying to run asdoc on some mxml files that use namespaces for custom components and asdoc can't seem to handle this. Any suggestions for how to get asdoc to work in this configuration? I've trying messing around with namespaces and manifest files but that doesn't seem to help. Here's a code snippet and the error that is generated:

      <mx:Canvas xmlns:mx=" http://www.adobe.com/2006/mxml" width="100%" height="100%"
      creationCompleteEffect="Fade" xmlns:application="com.mycorp.application.*">

      <mx:TabNavigator paddingTop="0" paddingBottom="0" paddingLeft="0" paddingRight="0"
      cornerRadius="0" useHandCursor="true" top="75" bottom="5" left="5" right="5" >

      <application:ApplicationSummary id="dsp0"

      When I run asdoc I get the following error:

      [exec] C:\src\mycorp\application\Application.mxml(xx): Error: Type was not found or was not a compile-time constant: ApplicationSummary.
      [exec] <application:ApplicationSummary id="dsp0"

      ApplicationSummary is a mxml class located in the com.mycorp.application package. The builder has not problem with this configuration - just asdoc.