You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@royale.apache.org by ap...@gmail.com on 2018/08/02 01:15:18 UTC

Build failed in Jenkins: Royale-asjs_MXRoyale #45

See <http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/Royale-asjs_MXRoyale/45/display/redirect?page=changes>

Changes:

[aharui] commit the working Flex source

[aharui] tweak build script to compile using royale compiler.

[aharui] update the namespaces in MXML files.  On a Mac this is as simple as

[aharui] Container needs removeAllChildren

[aharui] take out SWFLoader for now.  We'll deal with it later.

[aharui] add stub for horizontalAlign

[aharui] replace navigateToURL with BrowserWindow.open

[aharui] make second param optional

[aharui] add missing APIs

[aharui] replace navigateToURL with BrowserWindow.open

[aharui] refactor URLLoader to try to make it functional

[aharui] switch to royale URLLoader

[aharui] if you get 'Error: Implicit coercion of a value of type MouseEvent to an

[aharui] octed embedding isn't currently working.  switched to text/plain instead

[aharui] emulation for RichText

[aharui] need include lookupOnly

[aharui] need to put tlf equivalents in spark namespace

[aharui] need useProxy

[aharui] containers have labels

[aharui] another place were navigateToURL can be replaced by BrowserWindow

[aharui] swap out navigateToURL and use BrowserWindow.open instead

[aharui] emulate scrollpositions

[aharui] disable resource bundles for now

[aharui] update clean target

[aharui] no embedding support right now

[aharui] clean up asdoc

[aharui] keep GCC from complaining

[aharui] spark image

[aharui] comment out resource bundles for now

------------------------------------------
[...truncated 566.17 KB...]
      [get] Getting: https://raw.githubusercontent.com/royale-extras/closure-compiler/royale/externs/es6.js
      [get] To: C:\Program Files (x86)\Jenkins\workspace\royale-typedefs\js\target\downloads\es6.js
      [get] Getting: https://raw.githubusercontent.com/royale-extras/closure-compiler/royale/externs/browser/w3c_css.js
      [get] To: C:\Program Files (x86)\Jenkins\workspace\royale-typedefs\js\target\downloads\browser\w3c_css.js
      [get] Getting: https://raw.githubusercontent.com/royale-extras/closure-compiler/royale/externs/browser/gecko_dom.js
      [get] To: C:\Program Files (x86)\Jenkins\workspace\royale-typedefs\js\target\downloads\browser\gecko_dom.js
      [get] Getting: https://raw.githubusercontent.com/royale-extras/closure-compiler/royale/externs/browser/w3c_dom2.js
      [get] To: C:\Program Files (x86)\Jenkins\workspace\royale-typedefs\js\target\downloads\browser\w3c_dom2.js

double-check-file:
     [echo] ${env.ROYALE_DOWNLOAD_CACHE}
     [echo] Need file: ${still_no_file}

get-from-cache-if-needed:

double-check-file:
     [echo] ${env.ROYALE_DOWNLOAD_CACHE}
     [echo] Need file: ${still_no_file}

get-from-cache-if-needed:

double-check-file:
     [echo] ${env.ROYALE_DOWNLOAD_CACHE}
     [echo] Need file: ${still_no_file}

get-from-cache-if-needed:

double-check-file:
     [echo] ${env.ROYALE_DOWNLOAD_CACHE}
     [echo] Need file: ${still_no_file}

get-from-cache-if-needed:

double-check-file:
     [echo] ${env.ROYALE_DOWNLOAD_CACHE}
     [echo] Need file: ${still_no_file}

get-from-cache-if-needed:

double-check-file:
     [echo] ${env.ROYALE_DOWNLOAD_CACHE}
     [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] Atomics parameters not found!  0
     [java] Intl parameters not found!  0
     [java] 21.4744083 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8

postprocess:

compc:
     [copy] Copying 1 file to C:\Program Files (x86)\Jenkins\workspace\royale-typedefs\js\target
     [java] Loading configuration: C:\Program Files (x86)\Jenkins\workspace\royale-typedefs\js\target\compile-as-config.xml
     [java] 
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
     [java] 622507 bytes written to C:\Program Files (x86)\Jenkins\workspace\royale-typedefs\js\target\js.swc in 5.553 seconds

main:

preprocess:

externc:

postprocess:

compc:
     [copy] Copying 1 file to C:\Program Files (x86)\Jenkins\workspace\royale-typedefs\GCL\target
     [java] Loading configuration: C:\Program Files (x86)\Jenkins\workspace\royale-typedefs\GCL\target\compile-as-config.xml
     [java] 
     [java] 13570 bytes written to C:\Program Files (x86)\Jenkins\workspace\royale-typedefs\GCL\target\GCL.swc in 3.021 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8

main:

preprocess:

externc:
     [java] 1.0020824 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8

postprocess:

compc:
     [copy] Copying 1 file to C:\Program Files (x86)\Jenkins\workspace\royale-typedefs\cordova\target
     [java] Loading configuration: C:\Program Files (x86)\Jenkins\workspace\royale-typedefs\cordova\target\compile-as-config.xml
     [java] 
     [java] 15198 bytes written to C:\Program Files (x86)\Jenkins\workspace\royale-typedefs\cordova\target\cordova.swc in 1.910 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8

main:

externc:
     [java] createjs parameters not found!  0
     [java] 'compiler.warn-no-constructor' is no longer supported and will have no effect.
     [java] no parameter type for stroke _setStroke
     [java] no parameter type for commit _updateInstructions
     [java] no parameter type for fill _setFill
     [java] 2.7990866 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8

compc:
     [copy] Copying 1 file to C:\Program Files (x86)\Jenkins\workspace\royale-typedefs\createjs\target
     [java] Loading configuration: C:\Program Files (x86)\Jenkins\workspace\royale-typedefs\createjs\target\compile-as-config.xml
     [java] 
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
     [java] 100451 bytes written to C:\Program Files (x86)\Jenkins\workspace\royale-typedefs\createjs\target\createjs.swc in 3.117 seconds

main:

preprocess:
    [mkdir] Created dir: C:\Program Files (x86)\Jenkins\workspace\royale-typedefs\jasmine\target\downloads
      [get] Getting: https://raw.githubusercontent.com/royale-extras/closure-compiler/royale/contrib/externs/jasmine-2.0.js
      [get] To: C:\Program Files (x86)\Jenkins\workspace\royale-typedefs\jasmine\target\downloads\jasmine-2.0.js

double-check-file:
     [echo] ${env.ROYALE_DOWNLOAD_CACHE}
     [echo] Need file: ${still_no_file}

get-from-cache-if-needed:

fail-if-not-found:

externc:
     [java] jasmine parameters not found!  0
     [java] 1.9417787 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8

postprocess:

compc:
     [copy] Copying 1 file to C:\Program Files (x86)\Jenkins\workspace\royale-typedefs\jasmine\target
     [java] Loading configuration: C:\Program Files (x86)\Jenkins\workspace\royale-typedefs\jasmine\target\compile-as-config.xml
     [java] 
     [java] 19570 bytes written to C:\Program Files (x86)\Jenkins\workspace\royale-typedefs\jasmine\target\jasmine.swc in 1.690 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8

main:

download:
    [mkdir] Created dir: C:\Program Files (x86)\Jenkins\workspace\royale-typedefs\jquery\target\downloads
      [get] Getting: https://raw.githubusercontent.com/royale-extras/closure-compiler/royale/contrib/externs/jquery-1.9.js
      [get] To: C:\Program Files (x86)\Jenkins\workspace\royale-typedefs\jquery\target\downloads\jquery-1.9.js

double-check-file:
     [echo] ${env.ROYALE_DOWNLOAD_CACHE}
     [echo] Need file: ${still_no_file}

get-from-cache-if-needed:

fail-if-not-found:

preprocess:

externc:
     [java] event parameters not found!  0
     [java] fx parameters not found!  0
     [java] 2.1494984 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8

postprocess:

compc:
     [copy] Copying 1 file to C:\Program Files (x86)\Jenkins\workspace\royale-typedefs\jquery\target
     [java] Loading configuration: C:\Program Files (x86)\Jenkins\workspace\royale-typedefs\jquery\target\compile-as-config.xml
     [java] 
     [java] 59337 bytes written to C:\Program Files (x86)\Jenkins\workspace\royale-typedefs\jquery\target\jquery-1.9.swc in 2.673 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8

main:

download:
    [mkdir] Created dir: C:\Program Files (x86)\Jenkins\workspace\royale-typedefs\google_maps\target\downloads
      [get] Getting: https://raw.githubusercontent.com/royale-extras/closure-compiler/royale/contrib/externs/maps/google_maps_api_v3_11.js
      [get] To: C:\Program Files (x86)\Jenkins\workspace\royale-typedefs\google_maps\target\downloads\google_maps_api_v3_11.js

double-check-file:
     [echo] ${env.ROYALE_DOWNLOAD_CACHE}
     [echo] Need file: ${still_no_file}

get-from-cache-if-needed:

fail-if-not-found:

preprocess:

externc:
     [java] google parameters not found!  0
     [java] maps parameters not found!  0
     [java] adsense parameters not found!  0
     [java] drawing parameters not found!  0
     [java] event parameters not found!  0
     [java] geometry parameters not found!  0
     [java] encoding parameters not found!  0
     [java] poly parameters not found!  0
     [java] spherical parameters not found!  0
     [java] panoramio parameters not found!  0
     [java] places parameters not found!  0
     [java] visualization parameters not found!  0
     [java] weather parameters not found!  0
     [java] 4.2651066 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8

postprocess:

compc:
     [copy] Copying 1 file to C:\Program Files (x86)\Jenkins\workspace\royale-typedefs\google_maps\target
     [java] Loading configuration: C:\Program Files (x86)\Jenkins\workspace\royale-typedefs\google_maps\target\compile-as-config.xml
     [java] 
     [java] Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/royale/swc/catalog/XMLFormatter
     [java] 	at org.apache.royale.compiler.config.Configuration.generateMetadata(Configuration.java:575)
     [java] 	at org.apache.royale.compiler.config.Configuration.getRawMetadata(Configuration.java:557)
     [java] 	at org.apache.royale.compiler.internal.config.TargetSettings.getSWFMetadata(TargetSettings.java:321)
     [java] 	at org.apache.royale.compiler.internal.targets.SWFTarget.initializeSWF(SWFTarget.java:876)
     [java] 	at org.apache.royale.compiler.internal.targets.SWFTarget.build(SWFTarget.java:250)
     [java] 	at org.apache.royale.compiler.internal.targets.SWCTarget.buildLibrarySWF(SWCTarget.java:384)
     [java] 	at org.apache.royale.compiler.internal.targets.SWCTarget.build(SWCTarget.java:132)
     [java] 	at org.apache.royale.compiler.clients.COMPC.buildArtifact(COMPC.java:155)
     [java] 	at org.apache.royale.compiler.clients.MXMLC.compile(MXMLC.java:631)
     [java] 	at org.apache.royale.compiler.clients.MXMLC.compile(MXMLC.java:617)
     [java] 	at org.apache.royale.compiler.clients.MXMLC.mainNoExit(MXMLC.java:234)
     [java] 	at org.apache.royale.compiler.clients.MXMLC.mainNoExit(MXMLC.java:201)
     [java] 	at org.apache.royale.compiler.clients.COMPC.staticMainNoExit(COMPC.java:77)
     [java] 	at org.apache.royale.compiler.clients.COMPC.main(COMPC.java:64)
     [java] Caused by: java.lang.ClassNotFoundException: org.apache.royale.swc.catalog.XMLFormatter
     [java] 	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
     [java] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
     [java] 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:338)
     [java] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
     [java] 	... 14 more
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8

BUILD FAILED
<http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/Royale-asjs_MXRoyale/ws/build.xml>:2014: The following error occurred while executing this line:
C:\Program Files (x86)\Jenkins\workspace\royale-typedefs\build.xml:60: The following error occurred while executing this line:
C:\Program Files (x86)\Jenkins\workspace\royale-typedefs\google_maps\build.xml:170: Java returned: 1

Total time: 7 minutes 17 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
Build step 'Invoke Ant' marked build as failure
Skipped archiving because build is not successful

Jenkins build is back to normal : Royale-asjs_MXRoyale #46

Posted by ap...@gmail.com.
See <http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/Royale-asjs_MXRoyale/46/display/redirect?page=changes>