0 Replies Latest reply on Dec 9, 2009 12:40 AM by maddec2

    asdoc how to add a custom local namespace used in mxml with manifest file?


      Hi there


      I use the flex 4 beta1 sdk to test the following:


      I have:




      <?xml version="1.0" encoding="utf-8"?>
      <s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"


          <views:AbcView id="abcView" right="20" />



      I tried to use a manifest file which seems to be how to handle this kind of situation (using ant):

          <arg line="-namespace views ${manifest.file}"/>
          <arg line="-doc-namespaces views"/>

      the manifest.xml contain the following:


      <?xml version="1.0" encoding="UTF-8"?>
                 <component id="AbcView" class="com.xyz.core.view.components.AbcView" />


      when I compile asdoc return the following error:

      ...MainScreen.mxml(52):  Error: Type was not found or was not a compile-time constant: AbcView


      Any idea how I can "force" asdoc to add/recognize AbcView.mxml ? Is my use of manifest file correct in this situation?



      Thank you in advance for your help.


      Best regards.