See <http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/1685/changes>

Changes:

[Alex Harui] add 'transform' to the list of CSS functions.  Maybe we should 
allow all functions, but then it won't catch misspelled functions.  If other 
functions are needed, add it to these two files

[Alex Harui] update test to include 'transform'

[Alex Harui] allow a magic 'localId' property that works like the 'id' property 
but is not set on the component so doesn't get factored into CSS calculations.

[Alex Harui] option to skip @export statements in most JS output

[Alex Harui] don't allow renames of MXML IDs

[Alex Harui] upgrade to Google Closure Compiler 20170626.  They deprecated a 
lot of APIs so lots of changes were required.  The primary change is that GCC 
is being more careful about checking that types match in the superclasses, so 
that required adding @type to the accessors

[Alex Harui] control which getter/setters get renamed by GCC by faking a set of 
externs.  AFAICT that is what @export on the Object.defineProperties object 
did.  It didn't actually create an export alias like exportSymbol per class, it 
just prevented renaming of the object keys with that name

------------------------------------------
[...truncated 2404 lines...]
    [javac]                     
((FlexJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac]                      ^
    [javac] 
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSProject.java>:177:
 warning: [cast] redundant cast to FlexJSProject
    [javac]         project.setTargetSettings(new 
TargetSettings(((FlexJSProject)project).config, (FlexJSProject)project));
    [javac]                                                       ^
    [javac] 
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSProject.java>:177:
 warning: [cast] redundant cast to FlexJSProject
    [javac]         project.setTargetSettings(new 
TargetSettings(((FlexJSProject)project).config, (FlexJSProject)project));
    [javac]                                                                     
                  ^
    [javac] 
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSProject.java>:196:
 warning: [cast] redundant cast to FlexJSProject
    [javac]                     
((FlexJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac]                      ^
    [javac] 
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSProject.java>:200:
 warning: [cast] redundant cast to FlexJSProject
    [javac]         project.setTargetSettings(new 
TargetSettings(((FlexJSProject)project).config, (FlexJSProject)project));
    [javac]                                                       ^
    [javac] 
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSProject.java>:200:
 warning: [cast] redundant cast to FlexJSProject
    [javac]         project.setTargetSettings(new 
TargetSettings(((FlexJSProject)project).config, (FlexJSProject)project));
    [javac]                                                                     
                  ^
    [javac] 
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSProject.java>:347:
 warning: [cast] redundant cast to FlexJSProject
    [javac]         ((FlexJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] 
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/mxml/flexjs/TestFlexJSMXMLApplication.java>:50:
 warning: [cast] redundant cast to FlexJSProject
    [javac]             ((FlexJSProject)project).config = new 
JSGoogConfiguration();
    [javac]              ^
    [javac] 13 warnings

unit.tests:
    [mkdir] Created dir: 
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler-jx/target/junit-results>
    [mkdir] Created dir: 
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler-jx/target/junit-temp>
    [junit] environment property - FLEX_HOME = C:\Jenkins\workspace\flex-sdk
    [junit] environment property - PLAYERGLOBAL_HOME = c:\Adobe\flashPlayer
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = C:\Jenkins\workspace\flex-tlf
    [junit] environment property - AIR_HOME = c:\Adobe\AIRSDK40
    [junit] environment property - FLASHPLAYER_DEBUGGER = 
c:\Adobe\flashPlayer\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = c:\Jenkins\workspace\flex-asjs
    [junit] environment property - GOOG_HOME = C:\google\closure\Library
    [junit] Running 
org.apache.flex.compiler.internal.codegen.as.TestAccessorMembers
    [junit] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
7.067 sec
    [junit] Running org.apache.flex.compiler.internal.codegen.as.TestClass
    [junit] Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
3.544 sec
    [junit] Running org.apache.flex.compiler.internal.codegen.as.TestComments
    [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.024 sec
    [junit] Running org.apache.flex.compiler.internal.codegen.as.TestExpressions
    [junit] Tests run: 84, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
8.092 sec
    [junit] Running 
org.apache.flex.compiler.internal.codegen.as.TestFieldMembers
    [junit] Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
1.395 sec
    [junit] Running 
org.apache.flex.compiler.internal.codegen.as.TestGlobalClasses
    [junit] Tests run: 31, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
2.601 sec
    [junit] Running 
org.apache.flex.compiler.internal.codegen.as.TestGlobalConstants
    [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
1.046 sec
    [junit] Running 
org.apache.flex.compiler.internal.codegen.as.TestGlobalFunctions
    [junit] Tests run: 22, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
1.684 sec
    [junit] Running org.apache.flex.compiler.internal.codegen.as.TestInterface
    [junit] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.53 sec
    [junit] Running 
org.apache.flex.compiler.internal.codegen.as.TestMethodMembers
    [junit] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.805 sec
    [junit] Running org.apache.flex.compiler.internal.codegen.as.TestPackage
    [junit] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.475 sec
    [junit] Running org.apache.flex.compiler.internal.codegen.as.TestParenthesis
    [junit] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
3.473 sec
    [junit] Running org.apache.flex.compiler.internal.codegen.as.TestStatements
    [junit] Tests run: 40, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
4.524 sec
    [junit] Running 
org.apache.flex.compiler.internal.codegen.externals.TestTypeInheritence
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
2.135 sec
    [junit] Running 
org.apache.flex.compiler.internal.codegen.js.amd.TestAMDClassA
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 
0.018 sec
    [junit] Running 
org.apache.flex.compiler.internal.codegen.js.amd.TestAMDClassB
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 
0.058 sec
    [junit] Running 
org.apache.flex.compiler.internal.codegen.js.amd.TestAMDEmitter
    [junit] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
1.395 sec
    [junit] Running 
org.apache.flex.compiler.internal.codegen.js.amd.TestAMDInterfaceI
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.237 sec
    [junit] Running 
org.apache.flex.compiler.internal.codegen.js.amd.TestAMDInterfaceIOther
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.317 sec
    [junit] Running 
org.apache.flex.compiler.internal.codegen.js.amd.TestAMDInterfaceISub
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.318 sec
    [junit] Running 
org.apache.flex.compiler.internal.codegen.js.amd.TestAMDPackage
    [junit] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
1.716 sec
    [junit] Running 
org.apache.flex.compiler.internal.codegen.js.flexjs.TestFlexJSAccessorMembers
    [junit] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
2.4 sec
    [junit] Running 
org.apache.flex.compiler.internal.codegen.js.flexjs.TestFlexJSAccessors
    [junit] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
1.686 sec
    [junit] Running 
org.apache.flex.compiler.internal.codegen.js.flexjs.TestFlexJSEmitter
    [junit] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
2.231 sec
    [junit] Running 
org.apache.flex.compiler.internal.codegen.js.flexjs.TestFlexJSExpressions
    [junit] Tests run: 190, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 
32.044 sec
    [junit] Running 
org.apache.flex.compiler.internal.codegen.js.flexjs.TestFlexJSFieldMembers
    [junit] Tests run: 38, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
5.033 sec
    [junit] Running 
org.apache.flex.compiler.internal.codegen.js.flexjs.TestFlexJSGlobalClasses
    [junit] Tests run: 134, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
22.019 sec
    [junit] Running 
org.apache.flex.compiler.internal.codegen.js.flexjs.TestFlexJSGlobalConstants
    [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.534 sec
    [junit] Running 
org.apache.flex.compiler.internal.codegen.js.flexjs.TestFlexJSGlobalFunctions
    [junit] Tests run: 35, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
5.9 sec
    [junit] Running 
org.apache.flex.compiler.internal.codegen.js.flexjs.TestFlexJSInterface
    [junit] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
1.165 sec
    [junit] Running 
org.apache.flex.compiler.internal.codegen.js.flexjs.TestFlexJSJSX
    [junit] Tests run: 42, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
7.313 sec
    [junit] Running 
org.apache.flex.compiler.internal.codegen.js.flexjs.TestFlexJSMethodMembers
    [junit] Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
3.898 sec
    [junit] Running 
org.apache.flex.compiler.internal.codegen.js.flexjs.TestFlexJSPackage
    [junit] Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
3.558 sec
    [junit] Running 
org.apache.flex.compiler.internal.codegen.js.flexjs.TestFlexJSProject
    [junit] resources\flexjs\projects\bad_overrides\Test.as(31:29)
    [junit] interface method someFunction in interface IA is implemented with 
an incompatible signature in class Test
    [junit] resources\flexjs\projects\bad_overrides\Test.as(36:26)
    [junit] interface method someOtherFunction in interface IA is implemented 
with an incompatible signature in class Test
    [junit] resources\flexjs\projects\bad_overrides\Test.as(31:29)
    [junit] Incompatible override.
    [junit] resources\flexjs\projects\bad_overrides\Test.as(36:26)
    [junit] Incompatible override.
    [junit] 
    [junit] 
resources\flexjs\projects\package_conflicts_ambiguous_definition\mypackage\TestClass.as(29:20)
    [junit] Ambiguous reference to Event
    [junit] 
resources\flexjs\projects\package_conflicts_ambiguous_definition\mypackage\TestClass.as(30:41)
    [junit] Ambiguous reference to Event
    [junit] 
    [junit] Tests run: 14, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 
3.101 sec
    [junit] Running 
org.apache.flex.compiler.internal.codegen.js.flexjs.TestFlexJSStatements
    [junit] Tests run: 45, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
10.884 sec
    [junit] Running 
org.apache.flex.compiler.internal.codegen.js.goog.TestGoogAccessorMembers
    [junit] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
2.106 sec
    [junit] Running 
org.apache.flex.compiler.internal.codegen.js.goog.TestGoogClass
    [junit] Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
4.509 sec
    [junit] Running 
org.apache.flex.compiler.internal.codegen.js.goog.TestGoogEmitter
    [junit] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
1.969 sec
    [junit] Running 
org.apache.flex.compiler.internal.codegen.js.goog.TestGoogExpressions
    [junit] Tests run: 84, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
17.194 sec
    [junit] Running 
org.apache.flex.compiler.internal.codegen.js.goog.TestGoogFieldMembers
    [junit] Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
4.115 sec
    [junit] Running 
org.apache.flex.compiler.internal.codegen.js.goog.TestGoogFile
    [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
1.467 sec
    [junit] Running 
org.apache.flex.compiler.internal.codegen.js.goog.TestGoogGlobalClasses
    [junit] Tests run: 31, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
6.777 sec
    [junit] Running 
org.apache.flex.compiler.internal.codegen.js.goog.TestGoogGlobalConstants
    [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.738 sec
    [junit] Running 
org.apache.flex.compiler.internal.codegen.js.goog.TestGoogGlobalFunctions
    [junit] Tests run: 22, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
4.907 sec
    [junit] Running 
org.apache.flex.compiler.internal.codegen.js.goog.TestGoogInterface
    [junit] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
1.458 sec
    [junit] Running 
org.apache.flex.compiler.internal.codegen.js.goog.TestGoogMethodMembers
    [junit] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
3.272 sec
    [junit] Running 
org.apache.flex.compiler.internal.codegen.js.goog.TestGoogPackage
    [junit] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
1.688 sec
    [junit] Running 
org.apache.flex.compiler.internal.codegen.js.goog.TestGoogProject
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.251 sec
    [junit] Running 
org.apache.flex.compiler.internal.codegen.js.goog.TestGoogStatements
    [junit] Tests run: 40, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
9.579 sec
    [junit] Running 
org.apache.flex.compiler.internal.codegen.js.sourcemaps.TestSourceMapExpressions
    [junit] Tests run: 72, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
19.508 sec
    [junit] Running 
org.apache.flex.compiler.internal.codegen.js.sourcemaps.TestSourceMapFieldMembers
    [junit] Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
4.029 sec
    [junit] Running 
org.apache.flex.compiler.internal.codegen.js.sourcemaps.TestSourceMapGlobalClasses
    [junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
1.556 sec
    [junit] Running 
org.apache.flex.compiler.internal.codegen.js.sourcemaps.TestSourceMapStatements
    [junit] Tests run: 32, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
7.969 sec
    [junit] Running org.apache.flex.compiler.internal.test.TestBase
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 
0.533 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

main:

jx:

check-typedefs-home:
     [echo] FLEXJS_TYPEDEFS_HOME is ${env.FLEXJS_TYPEDEFS_HOME}

typedef.swcs:

main:

download:
     [echo] c:\Jenkins\workspace\flex-typedefs\js/..
    [unjar] Expanding: 
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler-jx/lib/google/closure-compiler/compiler.jar>
 into c:\Jenkins\workspace\flex-typedefs\js\target\temp\externs
    [unzip] Expanding: 
c:\Jenkins\workspace\flex-typedefs\js\target\temp\externs\externs.zip into 
c:\Jenkins\workspace\flex-typedefs\js\target\downloads
      [get] Getting: 
https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/closureidl/svg.js
      [get] To: c:\Jenkins\workspace\flex-typedefs\js\target\downloads\svg.js

double-check-file:
     [echo] C:\FlexDownloadCache
     [echo] Need file: ${still_no_file}

get-from-cache-if-needed:

fail-if-not-found:

preprocess:

externc:
     [java] Math parameters not found!  0
     [java] Reflect parameters not found!  0
     [java] chrome parameters not found!  0
     [java] app parameters not found!  0
     [java] webstore parameters not found!  0
     [java] runtime parameters not found!  0
     [java] Intl parameters not found!  0
     [java] 27.6221017 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

postprocess:

compc:
     [java] Loading configuration: 
c:\Jenkins\workspace\flex-typedefs\js\target\compile-as-config.xml
     [java] 
     [java] Warning: FontFaceLoadStatus is defined by multiple files: 
c:\Jenkins\workspace\flex-typedefs\js\target\generated-sources\externc\typedefs\FontFaceLoadStatus.as,
 
c:\Jenkins\workspace\flex-typedefs\js\target\generated-sources\externc\classes\FontFaceLoadStatus.as
     [java] 
     [java] 
     [java] Warning: VisibilityState is defined by multiple files: 
c:\Jenkins\workspace\flex-typedefs\js\target\generated-sources\externc\typedefs\VisibilityState.as,
 
c:\Jenkins\workspace\flex-typedefs\js\target\generated-sources\externc\classes\VisibilityState.as
     [java] 
     [java] 
     [java] Warning: FontFaceSetLoadStatus is defined by multiple files: 
c:\Jenkins\workspace\flex-typedefs\js\target\generated-sources\externc\typedefs\FontFaceSetLoadStatus.as,
 
c:\Jenkins\workspace\flex-typedefs\js\target\generated-sources\externc\classes\FontFaceSetLoadStatus.as
     [java] 
     [java] 
     [java] Error: The same script is defined by two different files 
c:\Jenkins\workspace\flex-typedefs\js\target\generated-sources\externc\typedefs\FontFaceLoadStatus.as
 and 
c:\Jenkins\workspace\flex-typedefs\js\target\generated-sources\externc\classes\FontFaceLoadStatus.as.
 
c:\Jenkins\workspace\flex-typedefs\js\target\generated-sources\externc\classes\FontFaceLoadStatus.as
 will be ignored.
     [java] 
     [java] 
     [java] Error: The same script is defined by two different files 
c:\Jenkins\workspace\flex-typedefs\js\target\generated-sources\externc\typedefs\VisibilityState.as
 and 
c:\Jenkins\workspace\flex-typedefs\js\target\generated-sources\externc\classes\VisibilityState.as.
 
c:\Jenkins\workspace\flex-typedefs\js\target\generated-sources\externc\classes\VisibilityState.as
 will be ignored.
     [java] 
     [java] 
     [java] Error: The same script is defined by two different files 
c:\Jenkins\workspace\flex-typedefs\js\target\generated-sources\externc\typedefs\FontFaceSetLoadStatus.as
 and 
c:\Jenkins\workspace\flex-typedefs\js\target\generated-sources\externc\classes\FontFaceSetLoadStatus.as.
 
c:\Jenkins\workspace\flex-typedefs\js\target\generated-sources\externc\classes\FontFaceSetLoadStatus.as
 will be ignored.
     [java] 
     [java] 
     [java] 
c:\Jenkins\workspace\flex-typedefs\js\target\generated-sources\externc\typedefs\FontFaceLoadStatus.as(11):
 col: 1 Error: Duplicate class definition: FontFaceLoadStatus.
     [java] 
     [java] public class FontFaceLoadStatus {
     [java] ^
     [java] 
     [java] 
c:\Jenkins\workspace\flex-typedefs\js\target\generated-sources\externc\typedefs\FontFaceSetLoadStatus.as(11):
 col: 1 Error: Duplicate class definition: FontFaceSetLoadStatus.
     [java] 
     [java] public class FontFaceSetLoadStatus {
     [java] ^
     [java] 
     [java] 
c:\Jenkins\workspace\flex-typedefs\js\target\generated-sources\externc\typedefs\VisibilityState.as(11):
 col: 1 Error: Duplicate class definition: VisibilityState.
     [java] 
     [java] public class VisibilityState {
     [java] ^
     [java] 
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

BUILD FAILED
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/build.xml>:141: 
The following error occurred while executing this line:
c:\Jenkins\workspace\flex-typedefs\build.xml:52: The following error occurred 
while executing this line:
c:\Jenkins\workspace\flex-typedefs\js\build.xml:173: Java returned: 2

Total time: 13 minutes 57 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
Build step 'Invoke Ant' marked build as failure
Skipped archiving because build is not successful
Recording test results

Reply via email to