Crap.  You are hitting https://issues.apache.org/jira/browse/FLEX-35203

Which I thought I'd fixed but I guess not.

I'll push a fix today.

-Alex

On 1/30/17, 1:39 AM, "Harbs" <harbs.li...@gmail.com> wrote:

>FWIW, Yishay’s falcon is from about a month ago. He’s getting (two)
>goog.requires for XML. I’m using an ant build (and not Maven) in case
>that makes a difference.
>
>> On Jan 30, 2017, at 11:27 AM, Harbs <harbs.li...@gmail.com> wrote:
>> 
>> I added a bunch of System.outs to see what’s going on:
>> http://pastebin.com/Wr4xMDaT
>> 
>> The way it looks to me is that there’s no goog.require being added for
>>XML. So although it sees XML in the asEmitter used names, it’s not found
>>as a require. Even if it would, without the goog.require, the code will
>>fail anyway.
>> 
>> So the question is why the goog.require is not being added.
>> 
>>> On Jan 30, 2017, at 9:59 AM, Alex Harui <aha...@adobe.com> wrote:
>>> 
>>> Hmm.  Well it sees that XML is a usedName.
>>> 
>>> You can see on commits@ my last changes to MXMLFlexJSEmitter.java.  I
>>>have
>>> to stop working for tonight, so it will probably be most efficient if
>>>you
>>> sprinkle more System.out.println calls throughout that postProcess()
>>> method to see why the requires for XML are not going in, or going in
>>>and
>>> removed.
>>> 
>>> HTH,
>>> -Alex
>>> 
>>> 
>>> On 1/29/17, 11:35 PM, "Harbs" <harbs.li...@gmail.com> wrote:
>>> 
>>>> Sorry about that.
>>>> 
>>>> Here’s the output for the test:
>>>> 
>>>> http://pastebin.com/f8BpVwDJ
>>>> 
>>>>> On Jan 30, 2017, at 3:34 AM, Alex Harui <aha...@adobe.com> wrote:
>>>>> 
>>>>> The test project looks like it compiled against the nightly build and
>>>>> thus
>>>>> didn't emit the extra output?  When you compiled DataBindingExample,
>>>>>it
>>>>> had the extra output and compiled against the repo.
>>>>> 
>>>>> -Alex
>>>>> 
>>>>> 
>>>>> On 1/29/17, 1:12 PM, "Harbs" <harbs.li...@gmail.com> wrote:
>>>>> 
>>>>>> Here’s what I get for the test project:
>>>>>> http://pastebin.com/XXCdPYxi
>>>>> 
>>>>> 
>>>> 
>>> 
>> 
>

Reply via email to