JustificationStyle is in a separate Text.swc file, and yes, the js files are 
there.

The js files are copied correctly to the bin/js-debug folder, but something is 
wrong with the dependency tree.

There’s quite a few classes that are not recognized. Some are in TLF and some 
are in Text.

The full console output was in that paste.

> On Mar 10, 2017, at 12:20 AM, Alex Harui <aha...@adobe.com> wrote:
> 
> 
> 
> On 3/9/17, 12:41 PM, "Harbs" <harbs.li...@gmail.com> wrote:
> 
>> I’ve already eliminated those errors by removing circular dependencies.
>> 
>> I moved static functions to utility classes and all inter-class
>> references are using interfaces.
>> 
>> To get you the output, I’d need to revert the state of the repo.
>> 
>> I’m not getting a new class of errors:
>> 
>> https://paste.apache.org/mQIx <https://paste.apache.org/mQIx>
>> 
>> Which outputs this HTML:
>> https://paste.apache.org/1xWp <https://paste.apache.org/1xWp>
>> 
>> BTW, I’ve been using the dependency chain in the HTML to figure out where
>> the interdependencies are. I used the same technique while tracking these
>> issues down in my app. It’s a very effective method. Of course it was
>> much easier in my app than it’s proved to be in TLF…
> 
> Hmm.  Looks like some files like JustificationStyle are not even being
> seen as a dependency by the compiler.  I would first unpack TLF.swc and
> see if the js/out folder even contains a JustificationStyle.js.  If it
> doesn't the build for TLF.swc needs to be fixed to cause
> JustificationStyle.as to be cross-compiled.
> 
> If JustificationStyle.js is in the SWC, then the question is what file
> goog.required it before remove-circulars.  But that usually shows up in
> the console output.
> 
> HTH,
> -Alex
> 

Reply via email to