Alex,

The current 'publisher' part of FalconJx uses the vanilla
'DepsGenerator' functionality of the Closure Compiler. Do you have a
minimal test case of the kind of circular dependency you are talking
about? It seems like that should be something that Google should have
encountered and be able to handle. I'm willing to look into it, but I
haven't come across it myself, so a test case might come in handy.

EdB



On Tue, Apr 9, 2013 at 1:36 AM, Alex Harui <aha...@adobe.com> wrote:
> Erik,
>
> Have you noticed that the google tools seem to be too sensitive to circular 
> dependencies in the goog.requires?   Back when I was using FalconJS, I was 
> trying to use the google tools to compute the deps.js files and it kept 
> failing with circular dependencies.  I ended up writing my own deps 
> calculator that kept track of which classes had already been seen and things 
> seemed to work.
>
> In my “customer’s” test case, FalconJX is now returning a circular dependency 
> error.  I haven’t looked into the FalconJX deps logic, but are you also using 
> some google code for that?  Is there some other mechanism other than 
> goog.requires() for dependencies that aren’t involved in the prototype 
> definition?
>
> Thanks,
> --
> Alex Harui
> Flex SDK Team
> Adobe Systems, Inc.
> http://blogs.adobe.com/aharui



-- 
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295
I. www.ixsoftware.nl

Reply via email to