I wasn't able to get the compiler to build completely, even disabling the
tests:

But I was hoping this was far enough along, so I took a chance and built
royale-asjs which built without errors after super-clean (BTW, why is it
wipe-all for the compiler and super-clean for asks? Be easier to remember
if they were the same).

typedef.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory
/Users/pent/dev/royale-compiler/compiler-jx/target/test-classes
    [mkdir] Created dir:
/Users/pent/dev/royale-compiler/compiler-jx/target/test-classes
    [javac] Compiling 87 source files to
/Users/pent/dev/royale-compiler/compiler-jx/target/test-classes
    [javac] 
/Users/pent/dev/royale-compiler/compiler-jx/src/test/java/org/apache/royale
/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java:39: warning:
[cast] redundant cast to RoyaleJSProject
    [javac]             ((RoyaleJSProject)project).config = new
JSGoogConfiguration();
    [javac]              ^
    [javac] 
/Users/pent/dev/royale-compiler/compiler-jx/src/test/java/org/apache/royale
/compiler/internal/codegen/js/royale/TestRoyaleClass.java:41: warning:
[cast] redundant cast to RoyaleJSProject
    [javac]             ((RoyaleJSProject)project).config = new
JSGoogConfiguration();
    [javac]              ^
    [javac] 
/Users/pent/dev/royale-compiler/compiler-jx/src/test/java/org/apache/royale
/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java:62:
warning: [cast] redundant cast to RoyaleJSProject
    [javac]             ((RoyaleJSProject)project).config = config;
    [javac]              ^
    [javac] 
/Users/pent/dev/royale-compiler/compiler-jx/src/test/java/org/apache/royale
/compiler/internal/codegen/js/royale/TestRoyaleFile.java:45: warning:
[cast] redundant cast to RoyaleJSProject
    [javac]             ((RoyaleJSProject)project).config = new
JSGoogConfiguration();
    [javac]              ^
    [javac] 
/Users/pent/dev/royale-compiler/compiler-jx/src/test/java/org/apache/royale
/compiler/internal/codegen/js/royale/TestRoyalePackage.java:50: warning:
[cast] redundant cast to RoyaleJSProject
    [javac]             ((RoyaleJSProject)project).config = config;
    [javac]              ^
    [javac] 
/Users/pent/dev/royale-compiler/compiler-jx/src/test/java/org/apache/royale
/compiler/internal/codegen/js/royale/TestRoyaleProject.java:173: warning:
[cast] redundant cast to RoyaleJSProject
    [javac] 
                        
((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null
, true);
    [javac]                      ^
    [javac] 
/Users/pent/dev/royale-compiler/compiler-jx/src/test/java/org/apache/royale
/compiler/internal/codegen/js/royale/TestRoyaleProject.java:177: warning:
[cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new
TargetSettings(((RoyaleJSProject)project).config,
(RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] 
/Users/pent/dev/royale-compiler/compiler-jx/src/test/java/org/apache/royale
/compiler/internal/codegen/js/royale/TestRoyaleProject.java:177: warning:
[cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new
TargetSettings(((RoyaleJSProject)project).config,
(RoyaleJSProject)project));
    [javac]        
                         ^
    [javac] 
/Users/pent/dev/royale-compiler/compiler-jx/src/test/java/org/apache/royale
/compiler/internal/codegen/js/royale/TestRoyaleProject.java:196: warning:
[cast] redundant cast to RoyaleJSProject
    [javac] 
                        
((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null
, true);
    [javac]                      ^
    [javac] 
/Users/pent/dev/royale-compiler/compiler-jx/src/test/java/org/apache/royale
/compiler/internal/codegen/js/royale/TestRoyaleProject.java:200: warning:
[cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new
TargetSettings(((RoyaleJSProject)project).config,
(RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] 
/Users/pent/dev/royale-compiler/compiler-jx/src/test/java/org/apache/royale
/compiler/internal/codegen/js/royale/TestRoyaleProject.java:200: warning:
[cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new
TargetSettings(((RoyaleJSProject)project).config,
(RoyaleJSProject)project));
    [javac]        
                         ^
    [javac] 
/Users/pent/dev/royale-compiler/compiler-jx/src/test/java/org/apache/royale
/compiler/internal/codegen/js/royale/TestRoyaleProject.java:347: warning:
[cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] 
/Users/pent/dev/royale-compiler/compiler-jx/src/test/java/org/apache/royale
/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java:50:
warning: [cast] redundant cast to RoyaleJSProject
    [javac]             ((RoyaleJSProject)project).config = new
JSGoogConfiguration();
    [javac]              ^
    [javac] 13 warnings

extern.tests:
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = null
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.1
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = null
    [junit] environment property - FLASHPLAYER_DEBUGGER = null
    [junit] environment property - ASJS_HOME = /Users/pent/dev/royale-asjs
    [junit] environment property - GOOG_HOME = null
    [junit] Running
org.apache.royale.compiler.internal.codegen.externals.TestAnnotationEnum
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec

BUILD FAILED
/Users/pent/dev/royale-compiler/build.xml:153: The following error
occurred while executing this line:
/Users/pent/dev/royale-compiler/compiler-jx/src/test/build.xml:161: Tests
failed







So then I decided to build DataBindingExample with this result:


Buildfile: 
/Users/pent/dev/royale-asjs/examples/royale/DataBindingExample/build.xml

clean:

build_example.compile:
     [echo] Compiling DataBindingExample.swf
     [echo] ROYALE_HOME: /Users/pent/dev/royale-asjs
     [echo] ROYALE_COMPILER_HOME: /Users/pent/dev/royale-asjs/js
     [echo] GOOG_HOME: /Users/pent/dev/closure-library
  [taskdef] Could not load definitions from resource flexTasks.tasks. It
could not be found.

BUILD FAILED
/Users/pent/dev/royale-asjs/examples/build_example.xml:152: Problem:
failed to create task or type mxmlc
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken
place.



On 11/8/17, 12:31 AM, "Alex Harui" <[email protected]> wrote:

>Sync all 3 repos, start with royale-compiler, then royale-typedefs, then
>royale-asjs.
>
>I'd recommend running "ant wipe-all" in royale-compiler before running
>just "ant" (which now builds everything in royale-compiler).  And in
>royale-asjs, run "ant super-clean" before running "ant".
>
>HTH,
>-Alex
>
>On 11/7/17, 1:34 PM, "Peter Ent" <[email protected]> wrote:
>
>>I sync'd the repo (develop branch) and rebuilt asjs. I'm seeing this
>>notice:
>>
>>Could not load definitions from resource flexTasks.tasks. It could not be
>>found.
>>
>>Wouldn't "flexTasks.tasks" get renamed to "royaleTasks.tasks" ?
>>
>>‹peter
>

Reply via email to