That’s great! I’m anxiously waiting to see what you can do! ;-)
> On Mar 14, 2017, at 8:17 AM, Alex Harui <aha...@adobe.com> wrote:
>
> OK, I reproduced it in a simple case.
>
> StandardFlowComposer extends FlowComposerBase which references
> FactoryComposer which extends StandardFlowComposer
>
> This is totally allowed, but the order of files passed to GCC isn't
> correct. I will work on a fix.
>
> -Alex
>
> On 3/13/17, 3:06 PM, "Harbs" <harbs.li...@gmail.com> wrote:
>
>> Yes. Remove circulars is on.
>>
>> I will send you a dropbox link privately.
>>
>> Harbs
>>
>>> On Mar 13, 2017, at 11:42 PM, Alex Harui <aha...@adobe.com> wrote:
>>>
>>> I would definitely have remove-circulars on, since GCC definitely hates
>>> circulars. Then, in theory, the new code is telling GCC exactly which
>>> order to visit the files so that we can compute namespaces correctly by
>>> removing circulars.
>>>
>>> So, if -remove-circulars is on, then can you package up the entire
>>> console
>>> output and the bin/js-debug so I can try to see what is still wrong?
>>>
>>> Thanks,
>>> -Alex
>>>
>>> On 3/13/17, 2:20 PM, "Harbs" <harbs.li...@gmail.com> wrote:
>>>
>>>> I got rid of circulars which was causing the two
>>>> SubParagraphGroupElementBase errors, but the StandardFlowComposer error
>>>> seems wrong to me. (Of course I could be missing something…)
>>>>
>>>>> On Mar 13, 2017, at 10:28 PM, Harbs <harbs.li...@gmail.com> wrote:
>>>>>
>>>>> I’m getting these three errors with remove-circulars enabled.
>>>>>
>>>>> [java] Mar 13, 2017 10:17:00 PM
>>>>> com.google.javascript.jscomp.LoggerErrorManager println
>>>>> [java] SEVERE:
>>>>>
>>>>> /Users/harbs/Documents/git/PrintUI/printui-flexjs/text_engine/test/Hell
>>>>> oW
>>>>>
>>>>> orldTLF/bin/js-debug/org/apache/flex/textLayout/compose/FactoryComposer
>>>>> .j
>>>>> s:12: ERROR - required
>>>>> "org.apache.flex.textLayout.compose.StandardFlowComposer" namespace
>>>>> not
>>>>> provided yet
>>>>> [java]
>>>>>
>>>>> goog.require('org.apache.flex.textLayout.compose.StandardFlowComposer')
>>>>> ;
>>>>> [java]
>>>>>
>>>>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>>>> [java]
>>>>> [java] Mar 13, 2017 10:17:00 PM
>>>>> com.google.javascript.jscomp.LoggerErrorManager println
>>>>> [java] SEVERE:
>>>>>
>>>>> /Users/harbs/Documents/git/PrintUI/printui-flexjs/text_engine/test/Hell
>>>>> oW
>>>>>
>>>>> orldTLF/bin/js-debug/org/apache/flex/textLayout/elements/LinkElement.js
>>>>> :1
>>>>> 4: ERROR - required
>>>>> "org.apache.flex.textLayout.elements.SubParagraphGroupElementBase"
>>>>> namespace not provided yet
>>>>> [java]
>>>>>
>>>>> goog.require('org.apache.flex.textLayout.elements.SubParagraphGroupElem
>>>>> en
>>>>> tBase');
>>>>> [java]
>>>>>
>>>>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>>>> ^^
>>>>> ^^^^^^^
>>>>> [java]
>>>>> [java] Mar 13, 2017 10:17:00 PM
>>>>> com.google.javascript.jscomp.LoggerErrorManager println
>>>>> [java] SEVERE:
>>>>>
>>>>> /Users/harbs/Documents/git/PrintUI/printui-flexjs/text_engine/test/Hell
>>>>> oW
>>>>>
>>>>> orldTLF/bin/js-debug/org/apache/flex/textLayout/elements/TCYElement.js:
>>>>> 12
>>>>> : ERROR - required
>>>>> "org.apache.flex.textLayout.elements.SubParagraphGroupElementBase"
>>>>> namespace not provided yet
>>>>> [java]
>>>>>
>>>>> goog.require('org.apache.flex.textLayout.elements.SubParagraphGroupElem
>>>>> en
>>>>> tBase');
>>>>> [java]
>>>>>
>>>>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>>>> ^^
>>>>> ^^^^^^^
>>>>>
>>>>> These three classes are all classes which subclass the not-provided
>>>>> class.
>>>>>
>>>>>> On Mar 13, 2017, at 10:18 PM, Harbs <harbs.li...@gmail.com> wrote:
>>>>>>
>>>>>> I pulle the latest commit and the error went away.
>>>>>>
>>>>>> I’m looking to see if the output is better.
>>>>>>
>>>>>>> On Mar 13, 2017, at 9:57 PM, Harbs <harbs.li...@gmail.com> wrote:
>>>>>>>
>>>>>>> I just tried and got this error:
>>>>>>>
>>>>>>> [java] Compiling file:
>>>>>>>
>>>>>>> /Users/harbs/Documents/git/PrintUI/printui-flexjs/text_engine/test/He
>>>>>>> ll
>>>>>>> oWorldTLF/bin/js-debug/HelloWorldTLF.js
>>>>>>> [java] HelloWorldTLF as: [HelloWorldTLF,
>>>>>>> org.apache.flex.textLayout.container.ContainerController, NaN,
>>>>>>> org.apache.flex.textLayout.elements.Configuration,
>>>>>>> org.apache.flex.textLayout.elements.TextFlow,
>>>>>>> org.apache.flex.textLayout.factory.StandardTLFFactory,
>>>>>>> org.apache.flex.textLayout.elements.ParagraphElement,
>>>>>>> org.apache.flex.textLayout.elements.SpanElement,
>>>>>>> org.apache.flex.text.engine.TextEngine,
>>>>>>> org.apache.flex.text.svg.SVGTextFactory]
>>>>>>> [java] HelloWorldTLF mxml: [org.apache.flex.core.View,
>>>>>>> org.apache.flex.html.Label, org.apache.flex.svg.GraphicContainer,
>>>>>>> org.apache.flex.core.SimpleCSSValuesImpl, HelloWorldTLF,
>>>>>>> org.apache.flex.core.Application, org.apache.flex.events.Event]
>>>>>>> [java] 1.926593088 seconds
>>>>>>> [java]
>>>>>>>
>>>>>>> java.lang.String.contains(String.java:2133)org.apache.flex.compiler.i
>>>>>>> nt
>>>>>>>
>>>>>>> ernal.codegen.mxml.flexjs.MXMLFlexJSPublisher.closureFilesInOrder(MXM
>>>>>>> LF
>>>>>>>
>>>>>>> lexJSPublisher.java:455)org.apache.flex.compiler.internal.codegen.mxm
>>>>>>> l.
>>>>>>>
>>>>>>> flexjs.MXMLFlexJSPublisher.publish(MXMLFlexJSPublisher.java:240)org.a
>>>>>>> pa
>>>>>>>
>>>>>>> che.flex.compiler.clients.MXMLJSC.compile(MXMLJSC.java:455)org.apache
>>>>>>> .f
>>>>>>>
>>>>>>> lex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:313)org.apache.
>>>>>>> fl
>>>>>>>
>>>>>>> ex.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:270)org.apache.fl
>>>>>>> ex
>>>>>>>
>>>>>>> .compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.java:232)org.apach
>>>>>>> e.
>>>>>>> flex.compiler.clients.MXMLJSC.main(MXMLJSC.java:176)
>>>>>>> [java]
>>>>>>> [java]
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> On Mar 13, 2017, at 7:33 PM, Alex Harui <aha...@adobe.com> wrote:
>>>>>>>>
>>>>>>>> So I just pushed some changes in flex-falcon that might help. Give
>>>>>>>> it a
>>>>>>>> try and let me know...
>>>>>>>>
>>>>>>>> -Alex
>>>>>>>>
>>>>>>>> On 3/10/17, 10:45 PM, "Alex Harui" <aha...@adobe.com> wrote:
>>>>>>>>
>>>>>>>>> Ah crud. Nevermind. I didn't have remove-circulars in the
>>>>>>>>> failing
>>>>>>>>> case.
>>>>>>>>>
>>>>>>>>> Still pondering...
>>>>>>>>> -Alex
>>>>>>>>>
>>>>>>>>> On 3/10/17, 4:17 PM, "Alex Harui" <aha...@adobe.com> wrote:
>>>>>>>>>
>>>>>>>>>> For those keeping track, I think I have gathered enough evidence
>>>>>>>>>> to
>>>>>>>>>> conclude that it is a Java 6 vs 7 difference in the Hash
>>>>>>>>>> iterators
>>>>>>>>>> that
>>>>>>>>>> is
>>>>>>>>>> fooling the way we build the list of files for GCC.
>>>>>>>>>>
>>>>>>>>>> I will look into fixing that.
>>>>>>>>>>
>>>>>>>>>> -Alex
>>>>>>>>>>
>>>>>>>>>> On 3/10/17, 11:27 AM, "Alex Harui" <aha...@adobe.com> wrote:
>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On 3/9/17, 2:35 PM, "Harbs" <harbs.li...@gmail.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> It looks to me like the missing definitions are classes which
>>>>>>>>>>>> are only
>>>>>>>>>>>> used in static methods.
>>>>>>>>>>>>
>>>>>>>>>>>> Could it be that Falcon is not properly declaring dependencies
>>>>>>>>>>>> in
>>>>>>>>>>>> static
>>>>>>>>>>>> methods?
>>>>>>>>>>>
>>>>>>>>>>> I think the issue is the order of files being passed to GCC. I
>>>>>>>>>>> am
>>>>>>>>>>> investigating.
>>>>>>>>>>>
>>>>>>>>>>> -Alex
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>