royale-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Ent <p...@adobe.com.INVALID>
Subject Re: [Royale-ASJS] flexTasks
Date Wed, 08 Nov 2017 15:22:51 GMT
My fault for not setting PLAYERGLOBAL_HOME and FLASHPLAYER_DEBUGGER

compiler builds cleanly now.
thanks.

On 11/8/17, 10:07 AM, "Erik de Bruin" <erik@ixsoftware.nl> wrote:

>Have you tried setting a FLEX_HOME environment variable? I know it's not
>supposed to be needed anymore, but the past few days have taught me that
>there are dark corners of the framework where it still lurks...
>
>EdB
>
>
>
>On Wed, Nov 8, 2017 at 3:58 PM, Peter Ent <pent@adobe.com.invalid> wrote:
>
>> 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" <aharui@adobe.com.INVALID> 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" <pent@adobe.com.INVALID> 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
>> >
>>
>>
>
>
>-- 
>Ix Multimedia Software
>
>Jan Luykenstraat 27
>3521 VB Utrecht
>
>T. 06-51952295
>I. 
>https://na01.safelinks.protection.outlook.com/?url=www.ixsoftware.nl&data=
>02%7C01%7C%7C363413c9706c41b041f908d526ba8eb3%7Cfa7b1b5a7b34438794aed2c178
>decee1%7C0%7C0%7C636457505062127539&sdata=eBcsau%2BLCVIsFjp4HucFQrot8NRJdw
>C1Lwicv0FFGHw%3D&reserved=0

Mime
View raw message