I don’t know why it works on a clean build, but it looks to me like the problem 
is here:

goog.provide('org.apache.royale.collections.ArrayList');
/* Royale Dependency List: */

goog.require('org.apache.royale.core.IStrand');
goog.require('org.apache.royale.events.CollectionEvent');
goog.require('org.apache.royale.events.Event');
goog.require('org.apache.royale.events.EventDispatcher');
goog.require('org.apache.royale.collections.IArrayList');
goog.require('org.apache.royale.collections.ICollectionView');
goog.require('org.apache.royale.core.IBead');

The Royale Dependency List is empty. Any clues why that would be?

> On Oct 23, 2018, at 1:11 PM, Harbs <[email protected]> wrote:
> 
> The file is identical in both cases.
> 
>> On Oct 22, 2018, at 8:16 PM, Alex Harui <[email protected]> wrote:
>> 
>> GoogDepsWriter tries to cache dependency information in the individual JS 
>> files in the js-debug folder.  So if what is being cached isn't quite right, 
>> then it could cause problems on the next build.
>> 
>> What does ArrayList.js look like after it compiles on a clean build?
>> 
>> -Alex
>> 
>> On 10/22/18, 1:30 AM, "Harbs" <[email protected]> wrote:
>> 
>>   Recently I started getting this error when compiling my app:
>> 
>>   Oct 22, 2018 11:25:06 AM com.google.javascript.jscomp.LoggerErrorManager 
>> println
>>   SEVERE: 
>> /Users/harbs/Documents/git/PrintUI/printui-flexjs/PortedPrintUI/bin/js-debug/org/apache/royale/collections/ArrayList.js:14:
>>  ERROR - required "org.apache.royale.events.CollectionEvent" namespace not 
>> provided yet
>>   goog.require('org.apache.royale.events.CollectionEvent');
>>   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>> 
>>   Oct 22, 2018 11:25:06 AM com.google.javascript.jscomp.LoggerErrorManager 
>> printSummary
>>   WARNING: 1 error(s), 58 warning(s)
>> 
>>   The odd thing is that it only happens if I don’t clean my project before 
>> building. If I clean my project first, it compiles correctly (yeah, there’s 
>> a lot of warnings, but they are non-critical):
>> 
>>   Oct 22, 2018 11:26:32 AM com.google.javascript.jscomp.LoggerErrorManager 
>> printSummary
>>   WARNING: 0 error(s), 81 warning(s)
>>   The project 'PortedPrintUI' has been successfully compiled and optimized.
>>   38.822735267 seconds
>> 
>>   Any ideas on what could be causing this?
>> 
> 

Reply via email to