I was seeing the same problem and I think I found a workaround and the
possible cause of this problem.

In my application we are using the code behind methodology and at the
same time we have the typical com package stucture.  Here is the
general layout of our project:

com/site/project <-- API
views/code <-- AS files that extend Canvas (code behind)
views/layout <-- MXML files that implement the extended classes
app.mxmml

now, when I use ASDoc and set the doc-locations to the root app folder
I get the circular reference error that everyone is seeing.  But, if I
just point to the folder "com.site.project", "views.code", or
"views.layout" it compiles fine.  If I add more then one directory it
blows up again.

It seems that the cause is that I have MXML files that reference AS
files that reference com and extend the base MX classes (but no
circular ref).  I haven't narrowed it down farther yet, but I hope
this gets you in the right direction.

On the workaround side, I found if I just point to the root app mxml
file as my doc-location then all is well and I get the full docs.

J.

--- In [email protected], "Brian Deitte" <[EMAIL PROTECTED]> wrote:
>
> Thanks.  I'd love to dig into this more and figure out what's happening.
> -Brian
>  
> 
> 
> ________________________________
> 
>       From: [email protected]
> [mailto:[EMAIL PROTECTED] On Behalf Of Paul BH
>       Sent: Monday, August 14, 2006 4:29 PM
>       To: [email protected]
>       Subject: Re: [flexcoders] Re: ASDoc now available on Labs
>       
>       
>       I'm getting the same too - I seem to be getting in particularly
> on interface definitions - I'll try and make a simple reproducable case
> when I get a spare minute or two...
>       
>       ta
>       
>       PBH
>       
>       
>       On 8/14/06, Brian Deitte <[EMAIL PROTECTED]> wrote: 
> 
>               Hi, I would just stick to doc-classes then. :) Well, I'm
> not sure why
>               you'd get that with doc-sources. The compiler believes
> that you have
>               something similar to a class A which extends B which
> extends A. If you
>               could send me the files you use to reproduce this or a
> smaller test
>               case, I can look into this for a later release. -Brian 
> 
>               
>               
>               > -----Original Message-----
>               > From: [email protected]
> <mailto:flexcoders%40yahoogroups.com>  
>               
>               > [mailto:[email protected]
> <mailto:flexcoders%40yahoogroups.com> ] On Behalf Of Geoffrey Williams
>               > Sent: Monday, August 14, 2006 3:24 PM
>               > To: [email protected]
> <mailto:flexcoders%40yahoogroups.com> 
>               
>               > Subject: [flexcoders] Re: ASDoc now available on Labs
>               > 
>               > Any Idea what would fire off the following:
>               > 
>               > Error: The definition is in circular inheritance.
>               > 
>               > I can get it going by specifying individual classes
> but when I use -
>               > doc-sources I get an output of a few of those errors.
>               > 
>               > --- In [email protected]
> <mailto:flexcoders%40yahoogroups.com> , "Brian Deitte" <bdeitte@>
> wrote:
>               > >
>               > > And I'll be trying to awaken myself from my
> hibernation on 
>               > flexcoders,
>               > > so if you have any questions about it, fire away.
> -Brian
>               > 
>               > 
>               > 
>               > 
>               > 
>               > 
>               
>               > --
>               > Flexcoders Mailing List
>               > FAQ:
> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 
>               > Search Archives: 
>               >
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
>               
>               > Yahoo! Groups Links
>               > 
>               > 
>               > 
>               > 
>               > 
>               > 
>               > 
>               >
>






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to