Build failed in Jenkins: royale-typedefs #604

2018-08-06 Thread apacheroyaleci
See 


--
Started by timer
Building on master in workspace 

 > git.exe rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git.exe config remote.origin.url 
 > https://github.com/apache/royale-typedefs.git # timeout=10
Fetching upstream changes from https://github.com/apache/royale-typedefs.git
 > git.exe --version # timeout=10
 > git.exe fetch --tags --progress 
 > https://github.com/apache/royale-typedefs.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git.exe rev-parse "refs/remotes/origin/develop^{commit}" # timeout=10
 > git.exe rev-parse "refs/remotes/origin/origin/develop^{commit}" # timeout=10
Checking out Revision 0c70777400dfe1963a51414f79fb103a5782a805 
(refs/remotes/origin/develop)
 > git.exe config core.sparsecheckout # timeout=10
 > git.exe checkout -f 0c70777400dfe1963a51414f79fb103a5782a805
Commit message: "Merge pull request #2 from ajwfrost/develop"
 > git.exe rev-list --no-walk 0c70777400dfe1963a51414f79fb103a5782a805 # 
 > timeout=10
[royale-typedefs] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat main && 
exit %%ERRORLEVEL%%"
Buildfile: 


main:

download:
 [echo] 


BUILD FAILED
:54:
 The following error occurred while executing this line:
:86:
 src 
'
 doesn't exist.

Total time: 0 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
Build step 'Invoke Ant' marked build as failure


Build failed in Jenkins: royale-asjs_jsonly #1287

2018-08-06 Thread apacheroyaleci
See 


--
[...truncated 983.69 KB...]

check-playerglobal-home:

check-air-home:

check-compiler-home:

check-compile-env:
 [echo] OS: Windows Server 2016 / 10.0 / amd64
 [echo] VM: Java HotSpot(TM) 64-Bit Server VM / 25.152-b16
 [echo] Java: 1.8.0_152
 [echo] Ant: Apache Ant(TM) version 1.9.9 compiled on February 2 2017 Ant 
Java Version: 1.8

clean:

clean:

check-for-tests:

clean-tests:

clean:

clean:

check-for-tests:

clean-tests:

clean:

check-for-tests:

clean-tests:

clean:

check-for-tests:

clean-tests:

clean:

check-for-tests:

clean-tests:

clean:

check-for-tests:

clean-tests:

clean:

check-for-tests:

clean-tests:

clean:

check-for-tests:

clean-tests:

clean:

check-for-tests:

clean-tests:

clean:

check-for-tests:

clean-tests:

clean:

check-for-tests:

clean-tests:

clean:

check-for-tests:

clean-tests:

clean:

check-for-tests:

clean-tests:

clean:

check-for-tests:

clean-tests:

clean:

check-for-tests:

clean-tests:

clean:

check-for-tests:

clean-tests:

clean:

clean:

check-for-tests:

clean-tests:

clean:

check-for-tests:

clean-tests:

clean:

check-for-tests:

clean-tests:

clean:

check-for-tests:

clean-tests:

clean:

check-for-tests:

clean-tests:

clean:

check-for-tests:

clean-tests:

clean:

check-for-tests:

clean-tests:

clean:

check-for-tests:

clean-tests:

clean:

check-for-tests:

clean-tests:

clean:

check-for-tests:

clean-tests:

clean:

check-for-tests:

clean-tests:

clean:

check-for-tests:

clean-tests:

clean:

check-for-tests:

clean-tests:

clean:

check-for-tests:

clean-tests:

clean:

check-for-tests:

clean-tests:

clean:

thirdparty-downloads:

prepare:
[mkdir] Created dir: 

[mkdir] Created dir: 


check-playerglobal:

fake-playerglobal:
[mkdir] Created dir: 

 [copy] Copying 1 file to 


check-airglobal:

fake-airglobal:
[mkdir] Created dir: 

 [copy] Copying 1 file to 


compile:

Language:

clean:

check-for-tests:

clean-tests:

check-compiler-home:

check-transpiler-home:

BUILD FAILED
:648:
 The following error occurred while executing this line:
:111:
 The following error occurred while executing this line:
:306:
 The following error occurred while executing this line:
:127:
 ROYALE_COMPILER_HOME must be set to a folder with a lib sub-folder containing 
jsc.jar such as the compiler-jx folder in royale-compiler repo or the js folder 
of a Royale SDK

Total time: 10 minutes 24 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
Build step 'Invoke Ant' marked build as failure
Archiving artifacts


Build failed in Jenkins: royale-compiler #370

2018-08-06 Thread apacheroyaleci
See 


Changes:

[aharui] handle fx:Array in top-level of fx:Declarations

--
[...truncated 18.87 KB...]

download-dependency:
 [echo] basedir is 

 [echo] ROYALE_COMPILER_HOME is 

 [echo] ROYALE_COMPILER_HOME is 


check-dependency:
 [echo] checking for 


download-dependency:
 [echo] basedir is 

 [echo] ROYALE_COMPILER_HOME is 

 [echo] ROYALE_COMPILER_HOME is 


check-dependency:
 [echo] checking for 


download-dependency:
 [echo] basedir is 

 [echo] ROYALE_COMPILER_HOME is 

 [echo] ROYALE_COMPILER_HOME is 


check-dependency:
 [echo] checking for 


download-dependency:
 [echo] basedir is 

 [echo] ROYALE_COMPILER_HOME is 

 [echo] ROYALE_COMPILER_HOME is 


check-dependency:
 [echo] checking for 


download-dependency:
 [echo] basedir is 

 [echo] ROYALE_COMPILER_HOME is 

 [echo] ROYALE_COMPILER_HOME is 


check-dependency:
 [echo] checking for 


download-dependency:
 [echo] basedir is 

 [echo] ROYALE_COMPILER_HOME is 

 [echo] ROYALE_COMPILER_HOME is 


check-dependency:
 [echo] checking for 


download-dependency:
 [copy] Warning: 

 does not exist.
 [echo] basedir is 

 [echo] ROYALE_COMPILER_HOME is 

 [echo] ROYALE_COMPILER_HOME is 


check-dependency:
 [echo] checking for 


download-dependency:
 [echo] basedir is 

 [echo] ROYALE_COMPILER_HOME is 

 [echo] ROYALE_COMPILER_HOME is 


check-dependency:
 [echo] checking for 


download-dependency:

main:

IASNodeAdapter:
[mkdir] Created dir: 

Build failed in Jenkins: royale-asjs #1161

2018-08-06 Thread apacheroyaleci
See 


Changes:

[carlosrovira] integrating navigation buttons in the datechooser table

--
[...truncated 1.87 MB...]
 [java] Writing file: 
js\out\org\apache\royale\jewel\beads\layouts\TileLayout.js
 [java] Compiling file: 
org.apache.royale.jewel.beads.controllers.DateFieldMouseController
 [java] Writing file: 
js\out\org\apache\royale\jewel\beads\controllers\DateFieldMouseController.js
 [java] Compiling file: org.apache.royale.jewel.View
 [java] Writing file: js\out\org\apache\royale\jewel\View.js
 [java] Compiling file: org.apache.royale.core.IListWithPresentationModel
 [java] Writing file: 
js\out\org\apache\royale\core\IListWithPresentationModel.js
 [java] Compiling file: 
org.apache.royale.jewel.beads.controls.slider.ISliderView
 [java] Writing file: 
js\out\org\apache\royale\jewel\beads\controls\slider\ISliderView.js
 [java] Compiling file: org.apache.royale.jewel.beads.views.SliderView
 [java] Writing file: 
js\out\org\apache\royale\jewel\beads\views\SliderView.js
 [java] Compiling file: 
org.apache.royale.jewel.beads.layouts.StyledLayoutBase
 [java] Writing file: 
js\out\org\apache\royale\jewel\beads\layouts\StyledLayoutBase.js
 [java] Compiling file: 
org.apache.royale.jewel.beads.layouts.SimpleHorizontalLayout
 [java] Writing file: 
js\out\org\apache\royale\jewel\beads\layouts\SimpleHorizontalLayout.js
 [java] Compiling file: 
org.apache.royale.jewel.beads.layouts.HorizontalCenteredLayout
 [java] Writing file: 
js\out\org\apache\royale\jewel\beads\layouts\HorizontalCenteredLayout.js
 [java] Compiling file: org.apache.royale.jewel.beads.layouts.GridCellLayout
 [java] Writing file: 
js\out\org\apache\royale\jewel\beads\layouts\GridCellLayout.js
 [java] Compiling file: org.apache.royale.jewel.supportClasses.table.TFoot
 [java] Writing file: 
js\out\org\apache\royale\jewel\supportClasses\table\TFoot.js
 [java] Compiling file: org.apache.royale.jewel.Card
 [java] Writing file: js\out\org\apache\royale\jewel\Card.js
 [java] Compiling file: org.apache.royale.jewel.Table
 [java] Writing file: js\out\org\apache\royale\jewel\Table.js
 [java] Compiling file: 
org.apache.royale.jewel.supportClasses.datechooser.DateChooserTable
 [java] Writing file: 
js\out\org\apache\royale\jewel\supportClasses\datechooser\DateChooserTable.js
 [java] Compiling file: org.apache.royale.jewel.beads.controls.TextAlign
 [java] Writing file: 
js\out\org\apache\royale\jewel\beads\controls\TextAlign.js
 [java] Compiling file: org.apache.royale.jewel.TopAppBarSection
 [java] Writing file: js\out\org\apache\royale\jewel\TopAppBarSection.js
 [java] Compiling file: 
org.apache.royale.jewel.supportClasses.dropdownlist.DropDownListList
 [java] Writing file: 
js\out\org\apache\royale\jewel\supportClasses\dropdownlist\DropDownListList.js
 [java] Compiling file: 
org.apache.royale.jewel.beads.layouts.ResponsiveVisibility
 [java] Writing file: 
js\out\org\apache\royale\jewel\beads\layouts\ResponsiveVisibility.js
 [java] Compiling file: org.apache.royale.jewel.DateField
 [java] Writing file: js\out\org\apache\royale\jewel\DateField.js
 [java] Compiling file: 
org.apache.royale.jewel.beads.controls.textinput.TextPrompt
 [java] Writing file: 
js\out\org\apache\royale\jewel\beads\controls\textinput\TextPrompt.js
 [java] Compiling file: org.apache.royale.jewel.DataContainer
 [java] Writing file: js\out\org\apache\royale\jewel\DataContainer.js
 [java] Compiling file: org.apache.royale.jewel.Spacer
 [java] Writing file: js\out\org\apache\royale\jewel\Spacer.js
 [java] Compiling file: org.apache.royale.jewel.beads.views.TitleBarView
 [java] org.apache.royale.jewel.beads.views.TitleBarView as: 
[org.apache.royale.jewel.beads.views.TitleBarView, 
org.apache.royale.events.Event, org.apache.royale.core.UIBase, 
org.apache.royale.core.ITitleBarModel]
 [java] org.apache.royale.jewel.beads.views.TitleBarView mxml: 
[org.apache.royale.binding.MXMLBeadViewDataBinding, 
org.apache.royale.html.beads.layouts.LayoutChangeNotifier, 
org.apache.royale.jewel.Label, org.apache.royale.jewel.Button, 
org.apache.royale.jewel.beads.views.TitleBarView, 
org.apache.royale.html.MXMLBeadView, org.apache.royale.events.MouseEvent]
 [java] Writing file: 
js\out\org\apache\royale\jewel\beads\views\TitleBarView.js
 [java] Compiling file: org.apache.royale.jewel.Divider
 [java] Writing file: js\out\org\apache\royale\jewel\Divider.js
 [java] Compiling file: org.apache.royale.jewel.DrawerContent
 [java] Writing file: js\out\org\apache\royale\jewel\DrawerContent.js
 [java] Compiling file: org.apache.royale.jewel.beads.views.AlertView
 [java] Writing file: 
js\out\org\apache\royale\jewel\beads\views\AlertView.js
 [java] 

Re: XML filters broke

2018-08-06 Thread Alex Harui
In porting Tour De Flex, there were patterns like this (explorerTree is XML):

explorerTree..node.(hasOwnProperty("@app") && @app.length() > 0)

The compiler logic before I made any changes yesterday just assumed that the 
first expression was a reference to the node parameter but other expressions 
were not, but it looks like the expression "@app.length()" was allowed in Flex 
as a reference to the node.  So I think the compiler has to determine what 
expressions evaluate to "nothing" which implies they are references to the 
node, and what did resolve to something.  This is all new logic and I don't 
know how to determine all of the test cases up front, so we'll have to keep 
tuning it as we find patterns that don't work as we want them to.

In your case, if the expression resolves to a VariableDefinition, that probably 
means that isn't a reference to node.  Not exactly sure, so you should debug 
into it to see what the node pattern is and return false.

Thanks,
-Alex

On 8/6/18, 3:28 PM, "Harbs"  wrote:

Doesn’t it always need to be a method for it to reference the node?

I.e. child() should be node.child(), but foo.baz would not.

> On Aug 7, 2018, at 1:12 AM, Alex Harui  wrote:
> 
> Yep, we need more intelligent understanding of when a reference is to the 
node or not.
> 
> Debug into EmitterUtils.writeE4xFilterNode and figure out the node 
pattern you need.
> 
> -Alex
> 
> On 8/6/18, 3:09 PM, "Harbs"  wrote:
> 
>var folderFolders:XMLList = 
assetXML.folder.(child('key').indexOf(folder.key) == 0);
>var folderImages:XMLList = 
assetXML.image.(child('key').indexOf(folder.key) == 0);
> 
>Is now compiled as:
> 
>var /** @type {XMLList} */ folderFolders = 
this.assetXML.child('folder').filter(function(node){return 
(node.child('key').indexOf(node.folder.key) == 0)});
>var /** @type {XMLList} */ folderImages = 
this.assetXML.child('image').filter(function(node){return 
(node.child('key').indexOf(node.folder.key) == 0)});
> 
>“node.folder.key” is not correct. “folder” is a local variable of an 
un related object type.
> 
>I assume this broke with the recent XML filter changes.
> 
>Harbs
> 





Re: XML filters broke

2018-08-06 Thread Alex Harui
Yep, we need more intelligent understanding of when a reference is to the node 
or not.

Debug into EmitterUtils.writeE4xFilterNode and figure out the node pattern you 
need.

-Alex

On 8/6/18, 3:09 PM, "Harbs"  wrote:

var folderFolders:XMLList = 
assetXML.folder.(child('key').indexOf(folder.key) == 0);
var folderImages:XMLList = assetXML.image.(child('key').indexOf(folder.key) 
== 0);

Is now compiled as:

var /** @type {XMLList} */ folderFolders = 
this.assetXML.child('folder').filter(function(node){return 
(node.child('key').indexOf(node.folder.key) == 0)});
var /** @type {XMLList} */ folderImages = 
this.assetXML.child('image').filter(function(node){return 
(node.child('key').indexOf(node.folder.key) == 0)});

“node.folder.key” is not correct. “folder” is a local variable of an un 
related object type.

I assume this broke with the recent XML filter changes.

Harbs



XML filters broke

2018-08-06 Thread Harbs
var folderFolders:XMLList = assetXML.folder.(child('key').indexOf(folder.key) 
== 0);
var folderImages:XMLList = assetXML.image.(child('key').indexOf(folder.key) == 
0);

Is now compiled as:

var /** @type {XMLList} */ folderFolders = 
this.assetXML.child('folder').filter(function(node){return 
(node.child('key').indexOf(node.folder.key) == 0)});
var /** @type {XMLList} */ folderImages = 
this.assetXML.child('image').filter(function(node){return 
(node.child('key').indexOf(node.folder.key) == 0)});

“node.folder.key” is not correct. “folder” is a local variable of an un related 
object type.

I assume this broke with the recent XML filter changes.

Harbs

Jenkins build is back to normal : royale-asjs_jsonly #1285

2018-08-06 Thread apacheroyaleci
See 




Jenkins build is back to normal : royale-compiler #369

2018-08-06 Thread apacheroyaleci
See 




Build failed in Jenkins: royale-asjs_jsonly #1284

2018-08-06 Thread apacheroyaleci
See 


Changes:

[carlosrovira] Jewel DateChooser styles closer to what it should be

--
[...truncated 948.78 KB...]
 [java] Aug 06, 2018 5:48:57 PM 
com.google.javascript.jscomp.LoggerErrorManager println
 [java] WARNING: [tls]:24: WARNING - accessing name require in externs has 
no effect. Perhaps you forgot to add a var keyword?
 [java] var events = require('events');
 [java]  ^^^
 [java] 
 [java] Aug 06, 2018 5:48:57 PM 
com.google.javascript.jscomp.LoggerErrorManager println
 [java] WARNING: [tls]:25: WARNING - accessing name require in externs has 
no effect. Perhaps you forgot to add a var keyword?
 [java] var net = require('net');
 [java]   ^^^
 [java] 
 [java] Aug 06, 2018 5:48:57 PM 
com.google.javascript.jscomp.LoggerErrorManager println
 [java] WARNING: [tls]:26: WARNING - accessing name require in externs has 
no effect. Perhaps you forgot to add a var keyword?
 [java] var stream = require('stream');
 [java]  ^^^
 [java] 
 [java] Aug 06, 2018 5:48:57 PM 
com.google.javascript.jscomp.LoggerErrorManager println
 [java] WARNING: [tls]:148: WARNING - name module is not defined in the 
externs.
 [java] module.exports = tls;
 [java] ^^
 [java] 
 [java] Aug 06, 2018 5:48:57 PM 
com.google.javascript.jscomp.LoggerErrorManager println
 [java] WARNING: [tty]:23: WARNING - accessing name require in externs has 
no effect. Perhaps you forgot to add a var keyword?
 [java] var net = require('net');
 [java]   ^^^
 [java] 
 [java] Aug 06, 2018 5:48:57 PM 
com.google.javascript.jscomp.LoggerErrorManager println
 [java] WARNING: [tty]:75: WARNING - name module is not defined in the 
externs.
 [java] module.exports = tty;
 [java] ^^
 [java] 
 [java] Aug 06, 2018 5:48:57 PM 
com.google.javascript.jscomp.LoggerErrorManager println
 [java] WARNING: [url]:57: WARNING - name module is not defined in the 
externs.
 [java] module.exports = url;
 [java] ^^
 [java] 
 [java] Aug 06, 2018 5:48:57 PM 
com.google.javascript.jscomp.LoggerErrorManager println
 [java] WARNING: [util]:112: WARNING - name module is not defined in the 
externs.
 [java] module.exports = util;
 [java] ^^
 [java] 
 [java] Aug 06, 2018 5:48:57 PM 
com.google.javascript.jscomp.LoggerErrorManager println
 [java] WARNING: [vm]:86: WARNING - name module is not defined in the 
externs.
 [java] module.exports = vm;
 [java] ^^
 [java] 
 [java] Aug 06, 2018 5:48:57 PM 
com.google.javascript.jscomp.LoggerErrorManager println
 [java] WARNING: [zlib]:23: WARNING - accessing name require in externs has 
no effect. Perhaps you forgot to add a var keyword?
 [java] var stream = require('stream');
 [java]  ^^^
 [java] 
 [java] Aug 06, 2018 5:48:57 PM 
com.google.javascript.jscomp.LoggerErrorManager println
 [java] WARNING: [zlib]:386: WARNING - name module is not defined in the 
externs.
 [java] module.exports = zlib;
 [java] ^^
 [java] 
 [java] Aug 06, 2018 5:48:57 PM 
com.google.javascript.jscomp.LoggerErrorManager printSummary
 [java] WARNING: 0 error(s), 51 warning(s)
 [java] 2.4442224 seconds
 [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8

postprocess:

compc:
 [java] Loading configuration: 
c:\jenkins\workspace\royale-typedefs\node\target\compile-as-config.xml
 [java] 
 [java] 155023 bytes written to 
C:\jenkins\workspace\royale-typedefs\node\target\node.swc in 2.897 seconds
 [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8

main:

download:
  [get] Getting: 
https://raw.githubusercontent.com/google/closure-compiler/master/contrib/externs/ace-1.2.3.js
  [get] To: 
c:\jenkins\workspace\royale-typedefs\ace\target\downloads\ace-1.2.3.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] 1.3844734 seconds
 [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8

postprocess:

compc:
 [java] Loading configuration: 
c:\jenkins\workspace\royale-typedefs\ace\target\compile-as-config.xml
 [java] 
 [java] 101389 bytes written to 
C:\jenkins\workspace\royale-typedefs\ace\target\ace-1.2.3.swc in 2.279 seconds
 [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8

main:

ask-about-downloading-repos:

block-main:

check-if-ide:

check-compiler-home:

check-compile-env:
 [echo] OS: Windows Server 2016 / 10.0 / amd64
 [echo] VM: Java HotSpot(TM) 64-Bit Server VM / 25.152-b16
 [echo] Java: 1.8.0_152
 [echo] Ant: Apache Ant(TM) version 1.9.9 compiled on February 2 2017 Ant 
Java 

Build failed in Jenkins: royale-compiler #368

2018-08-06 Thread apacheroyaleci
See 


Changes:

[aharui] try to get better error handling for a reported NPE

--
[...truncated 32.68 KB...]

commons-compress-jar:

commons-lang3-jar-check:

commons-lang3-jar:

main:

test.classes:
[mkdir] Created dir: 

[javac] Compiling 6 source files to 

[javac] warning: [options] bootstrap class path not set in conjunction with 
-source 1.6
[javac] 1 warning

main:
 [echo] RELEASE_VERSION IS: 0.9.3

compile:
[mkdir] Created dir: 

[javac] Compiling 245 source files to 

[javac] warning: [options] bootstrap class path not set in conjunction with 
-source 1.6
[javac] 
:29:
 warning: [overrides] Class ModifiersSet overrides equals, but neither it nor 
any superclass overrides hashCode method
[javac] public class ModifiersSet
[javac]^
[javac] 
:33:
 warning: [overrides] Class PrefixMap overrides equals, but neither it nor any 
superclass overrides hashCode method
[javac] public class PrefixMap implements Cloneable
[javac]^
[javac] 
:97:
 warning: [deprecation] binarySearch(List,T) in Ordering has been 
deprecated
[javac] final int index = 
ORDER_BY_ABSOLUTE.binarySearch(offsetCueList, key);
[javac]^
[javac]   where T is a type-variable:
[javac] T extends Object declared in class Ordering
[javac] 
:372:
 warning: [rawtypes] found raw type: Class
[javac] argtypes = new Class[] {String.class};
[javac]^
[javac]   missing type arguments for generic class Class
[javac]   where T is a type-variable:
[javac] T extends Object declared in class Class
[javac] 
:387:
 warning: [rawtypes] found raw type: Class
[javac] argtypes = new Class[fields.length];
[javac]^
[javac]   missing type arguments for generic class Class
[javac]   where T is a type-variable:
[javac] T extends Object declared in class Class
[javac] 
:407:
 warning: [rawtypes] found raw type: Class
[javac] argtypes = new Class[pt.length - 1];
[javac]^
[javac]   missing type arguments for generic class Class
[javac]   where T is a type-variable:
[javac] T extends Object declared in class Class
[javac] 
:27:
 warning: [overrides] Class MXMLNamespaceMapping overrides equals, but neither 
it nor any superclass overrides hashCode method
[javac] public class MXMLNamespaceMapping implements IMXMLNamespaceMapping
[javac]^
[javac] 8 warnings

version-info:

main:
 [copy] Copying 1 file to 

 [copy] Copying 1 file to 

  [jar] Building jar: 


prebuild:
[mkdir] Created dir: 

[mkdir] Created dir: 

Build failed in Jenkins: Royale-asjs_MXRoyale #57

2018-08-06 Thread apacheroyaleci
See 


Changes:

[aharui] comment out resource bundles for now

[aharui] don't need this manifest

[aharui] fix RichTextEditor

--
[...truncated 548.75 KB...]
 [java] Warning: pattern assignBitwiseOrToDescendantsExpr has no reduction 
- ignored.
 [java] Warning: pattern assignBitwiseOrToRuntimeNameExpr has no reduction 
- ignored.
 [java] Warning: pattern assignBitwiseXorToDescendantsExpr has no reduction 
- ignored.
 [java] Warning: pattern assignBitwiseXorToRuntimeNameExpr has no reduction 
- ignored.
 [java] Warning: pattern assignDivideToDescendantsExpr has no reduction - 
ignored.
 [java] Warning: pattern assignDivideToRuntimeNameExpr has no reduction - 
ignored.
 [java] Warning: pattern assignLeftShiftToDescendantsExpr has no reduction 
- ignored.
 [java] Warning: pattern assignLeftShiftToRuntimeNameExpr has no reduction 
- ignored.
 [java] Warning: pattern assignLogicalAndToBracketExpr has no reduction - 
ignored.
 [java] Warning: pattern assignLogicalAndToDescendantsExpr has no reduction 
- ignored.
 [java] Warning: pattern assignLogicalAndToMemberExpr has no reduction - 
ignored.
 [java] Warning: pattern assignLogicalAndToNameExpr has no reduction - 
ignored.
 [java] Warning: pattern assignLogicalAndToRuntimeNameExpr has no reduction 
- ignored.
 [java] Warning: pattern assignLogicalOrToBracketExpr has no reduction - 
ignored.
 [java] Warning: pattern assignLogicalOrToDescendantsExpr has no reduction 
- ignored.
 [java] Warning: pattern assignLogicalOrToMemberExpr has no reduction - 
ignored.
 [java] Warning: pattern assignLogicalOrToNameExpr has no reduction - 
ignored.
 [java] Warning: pattern assignLogicalOrToRuntimeNameExpr has no reduction 
- ignored.
 [java] Warning: pattern assignMinusToDescendantsExpr has no reduction - 
ignored.
 [java] Warning: pattern assignMinusToRuntimeNameExpr has no reduction - 
ignored.
 [java] Warning: pattern assignModuloToDescendantsExpr has no reduction - 
ignored.
 [java] Warning: pattern assignModuloToRuntimeNameExpr has no reduction - 
ignored.
 [java] Warning: pattern assignMultiplyToDescendantsExpr has no reduction - 
ignored.
 [java] Warning: pattern assignMultiplyToRuntimeNameExpr has no reduction - 
ignored.
 [java] Warning: pattern assignPlusToDescendantsExpr has no reduction - 
ignored.
 [java] Warning: pattern assignPlusToRuntimeNameExpr has no reduction - 
ignored.
 [java] Warning: pattern assignRightShiftToDescendantsExpr has no reduction 
- ignored.
 [java] Warning: pattern assignRightShiftToRuntimeNameExpr has no reduction 
- ignored.
 [java] Warning: pattern assignToQualifiedRuntimeAttributeExpr has no 
reduction - ignored.
 [java] Warning: pattern assignUnsignedRightShiftToDescendantsExpr has no 
reduction - ignored.
 [java] Warning: pattern assignUnsignedRightShiftToRuntimeNameExpr has no 
reduction - ignored.
 [java] Warning: pattern blockStmt has no reduction - ignored.
 [java] Warning: pattern breakStmt has no reduction - ignored.
 [java] Warning: pattern catchBlockTyped has no reduction - ignored.
 [java] Warning: pattern catchBlockUntyped has no reduction - ignored.
 [java] Warning: pattern configBlockStmt has no reduction - ignored.
 [java] Warning: pattern constantDottedName has no reduction - ignored.
 [java] Warning: pattern constantSwitchCase has no reduction - ignored.
 [java] Warning: pattern continueStmt has no reduction - ignored.
 [java] Warning: pattern countedForStmt has no reduction - ignored.
 [java] Warning: pattern defaultXMLNamespace has no reduction - ignored.
 [java] Warning: pattern doStmt has no reduction - ignored.
 [java] Warning: pattern emptyConstructor has no reduction - ignored.
 [java] Warning: pattern forEachArrayStmt has no reduction - ignored.
 [java] Warning: pattern forEachInDescendantStmt has no reduction - ignored.
 [java] Warning: pattern forEachMemberStmt has no reduction - ignored.
 [java] Warning: pattern forEachStmt has no reduction - ignored.
 [java] Warning: pattern forEachSuperBracketStmt has no reduction - ignored.
 [java] Warning: pattern forEachSuperStmt has no reduction - ignored.
 [java] Warning: pattern forEachVarDeclInStmt has no reduction - ignored.
 [java] Warning: pattern forInArrayStmt has no reduction - ignored.
 [java] Warning: pattern forInDescendantStmt has no reduction - ignored.
 [java] Warning: pattern forInMemberStmt has no reduction - ignored.
 [java] Warning: pattern forInStmt has no reduction - ignored.
 [java] Warning: pattern forInSuperBracketStmt has no reduction - ignored.
 [java] Warning: pattern forInSuperStmt has no reduction - ignored.
 [java] Warning: pattern forVarDeclInStmt has no 

Re: Migrating Enterprise Flex Application

2018-08-06 Thread Alex Harui
I pushed changes that should eliminate the ResourceBundle errors and report 
better info on the NPE.

HTH,
-Alex

On 8/6/18, 12:14 AM, "Alex Harui"  wrote:

Any committer can clean up the resource bundle issues.  I won't have time 
tonight.

More interesting is the null pointer exception.  You may have to 
temporarily comment out some of your MXML in order to determine what is causing 
that exception.

Thanks,
-Alex

On 8/5/18, 11:42 PM, "chembali"  wrote:

Tried with the latest build. The earlier error is gone. Getting another
resource bundle error now. Do you have to comment out more code?

Using Royale Compiler codebase:
C:\devenv\GitHub\apache-royale-0.9.3\royale-asjs
\js\bin\..\..
Using Royale SDK: C:\devenv\GitHub\apache-royale-0.9.3\royale-asjs\
MXMLJSC

-sdk-js-lib=C:\devenv\GitHub\apache-royale-0.9.3\royale-asjs\\frameworks\js\Roya
le\generated-sources
-compiler.source-path=C:\devenv\BlazeDSRemoteObjects\BlazeDsExample\src
C:\devenv\BlazeDSRemoteObjects\BlazeDsExample\src/BlazeDsExample.mxml
Loading configuration:
C:\devenv\GitHub\apache-royale-0.9.3\royale-asjs\framewor
ks\royale-config.xml

scanning for overrides: IFlexModuleFactory
scanning for overrides: IEventDispatcher
scanning for overrides: IChildList
scanning for overrides: ISystemManager
scanning for overrides: SystemManagerBase
scanning for overrides: SystemManager
scanning for overrides: IRenderedObject
scanning for overrides: IChild
scanning for overrides: IStrand
scanning for overrides: IUIBase
scanning for overrides: IFlexDisplayObject
scanning for overrides: IUIComponent
scanning for overrides: IBead
scanning for overrides: IParent
scanning for overrides: IFlexInfo
scanning for overrides: IPopUpHost
scanning for overrides: IContainer
scanning for overrides: IContainerBaseStrandChildrenHost
scanning for overrides: IContentViewHost
scanning for overrides: ILayoutParent
scanning for overrides: ILayoutView
scanning for overrides: IMXMLDocument
scanning for overrides: IDataRenderer
scanning for overrides: HTMLElementWrapper
scanning for overrides: ILayoutChild
scanning for overrides: IParentIUIBase
scanning for overrides: IRoyaleElement
scanning for overrides: IStrandWithModel
scanning for overrides: IStrandWithModelView
scanning for overrides: IStyleableObject
scanning for overrides: UIBase
scanning for overrides: IStatesObject
scanning for overrides: IFlexModule
scanning for overrides: IInvalidating
scanning for overrides: IVisualElement
scanning for overrides: UIComponent
scanning for overrides: MethodQueueElement
scanning for overrides: IFocusManagerContainer
scanning for overrides: Container
scanning for overrides: Application
scanning for overrides: EventDispatcher
scanning for overrides: IStyleManager2
scanning for overrides: StyleManagerImpl
scanning for overrides: StyleEventDispatcher
scanning for overrides: CSSClass
scanning for overrides: CSSFactory
scanning for overrides: CSSDataType
scanning for overrides: ContainerBaseStrandChildren
scanning for overrides: ContainerContentArea
scanning for overrides: DataBindingBase
scanning for overrides: ApplicationDataBinding
scanning for overrides: EdgeData
scanning for overrides: IValuesImpl
scanning for overrides: IBorderPaddingMarginValuesImpl
scanning for overrides: ICSSImpl
scanning for overrides: AllCSSValuesImpl
scanning for overrides: CSSClass
scanning for overrides: CSSFactory
scanning for overrides: CSSDataType
scanning for overrides: CallLaterBead
scanning for overrides: IBeadController
scanning for overrides: IBeadLayout
scanning for overrides: IBeadModel
scanning for overrides: IBeadView
scanning for overrides: ILayoutHost
scanning for overrides: IMeasurementBead
scanning for overrides: IStatesImpl
scanning for overrides: StageProxy
scanning for overrides: TextLineMetrics
scanning for overrides: ValuesManager
scanning for overrides: MouseEventConverter
scanning for overrides: IRoyaleEvent
scanning for overrides: Event
scanning for overrides: IBrowserEvent
scanning for overrides: KeyboardEvent
scanning for overrides: MouseEvent
scanning for overrides: ValueChangeEvent
scanning for overrides: ValueEvent
scanning for overrides: Rectangle
scanning for overrides: MXMLDataInterpreter
 

Re: [royale-asjs] branch feature/MXRoyale updated: RichTextEditor.mxml Added

2018-08-06 Thread Alex Harui
Hi Alina,

This did not compile for me.  Please make sure your changes build before 
committing.

Thanks,
-Alex

On 8/6/18, 2:56 AM, "alinak...@apache.org"  wrote:

This is an automated email from the ASF dual-hosted git repository.

alinakazi pushed a commit to branch feature/MXRoyale
in repository 
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitbox.apache.org%2Frepos%2Fasf%2Froyale-asjs.gitdata=02%7C01%7Caharui%40adobe.com%7Ccdac898b4cbb4d71b05a08d5fb82eff4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636691462175795993sdata=jLzQztKIVyrbO4XOHfIBUYaxvcfo4SQh0qTshi9hFpQ%3Dreserved=0


The following commit(s) were added to refs/heads/feature/MXRoyale by this 
push:
 new ebaf942  RichTextEditor.mxml Added
ebaf942 is described below

commit ebaf94268e59ee796fd39bf1d5dbc240788737c8
Author: alinakazi 
AuthorDate: Mon Aug 6 14:56:50 2018 +0500

RichTextEditor.mxml Added
---
 .../main/royale/mx/controls/RichTextEditor.mxml| 1078 

 1 file changed, 1078 insertions(+)

diff --git 
a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/RichTextEditor.mxml 
b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/RichTextEditor.mxml
new file mode 100644
index 000..15b9a2c
--- /dev/null
+++ 
b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/RichTextEditor.mxml
@@ -0,0 +1,1078 @@
+
+
+
+
+
+ http://www.adobe.com/2006/mxml; xmlns="*" 
minWidth="220" minHeight="200" width="325" height="300">
+
+
+
+
+
+ 
+_sans
+_serif
+_typewriter
+Arial
+Courier
+Courier New
+Geneva
+Georgia
+Helvetica
+Times New Roman
+Times
+Verdana
+
+
+ 
+8
+9
+10
+11
+12
+14
+16
+18
+20
+22
+24
+26
+28
+36
+48
+72
+
+
+
+
+
+
+
+
+
+ 
+
+
+
+
+
+
+
+ 
+
+
+ 
+
+ 
+
+ 
+
+
+
+
+
+
+
+
+
+ 
+
+
+
+
+
+
+
+
+ 
+
+
+
+
+
+
+
+ 
+
+





Build failed in Jenkins: Royale-asjs_MXRoyale #56

2018-08-06 Thread apacheroyaleci
See 


Changes:

[noreply] Update LinearGradientStroke.as

[noreply] Update spark-royale-manifest.xml

--
[...truncated 552.43 KB...]
 [java] Warning: pattern configBlockStmt has no reduction - ignored.
 [java] Warning: pattern constantDottedName has no reduction - ignored.
 [java] Warning: pattern constantSwitchCase has no reduction - ignored.
 [java] Warning: pattern continueStmt has no reduction - ignored.
 [java] Warning: pattern countedForStmt has no reduction - ignored.
 [java] Warning: pattern defaultXMLNamespace has no reduction - ignored.
 [java] Warning: pattern doStmt has no reduction - ignored.
 [java] Warning: pattern emptyConstructor has no reduction - ignored.
 [java] Warning: pattern forEachArrayStmt has no reduction - ignored.
 [java] Warning: pattern forEachInDescendantStmt has no reduction - ignored.
 [java] Warning: pattern forEachMemberStmt has no reduction - ignored.
 [java] Warning: pattern forEachStmt has no reduction - ignored.
 [java] Warning: pattern forEachSuperBracketStmt has no reduction - ignored.
 [java] Warning: pattern forEachSuperStmt has no reduction - ignored.
 [java] Warning: pattern forEachVarDeclInStmt has no reduction - ignored.
 [java] Warning: pattern forInArrayStmt has no reduction - ignored.
 [java] Warning: pattern forInDescendantStmt has no reduction - ignored.
 [java] Warning: pattern forInMemberStmt has no reduction - ignored.
 [java] Warning: pattern forInStmt has no reduction - ignored.
 [java] Warning: pattern forInSuperBracketStmt has no reduction - ignored.
 [java] Warning: pattern forInSuperStmt has no reduction - ignored.
 [java] Warning: pattern forVarDeclInStmt has no reduction - ignored.
 [java] Warning: pattern gotoStmt has no reduction - ignored.
 [java] Warning: pattern groupedVoidExpression has no reduction - ignored.
 [java] Warning: pattern ifElseIf has no reduction - ignored.
 [java] Warning: pattern importDirective has no reduction - ignored.
 [java] Warning: pattern instructionListExpression has no reduction - 
ignored.
 [java] Warning: pattern integerLiteral has no reduction - ignored.
 [java] Warning: pattern labeledBreakStmt has no reduction - ignored.
 [java] Warning: pattern labeledContinueStmt has no reduction - ignored.
 [java] Warning: pattern labeledStmt has no reduction - ignored.
 [java] Warning: pattern lastElse has no reduction - ignored.
 [java] Warning: pattern logicalAndExpr has no reduction - ignored.
 [java] Warning: pattern logicalOrExpr has no reduction - ignored.
 [java] Warning: pattern mxmlEventSpecifier has no reduction - ignored.
 [java] Warning: pattern namespaceDeclaration has no reduction - ignored.
 [java] Warning: pattern namespaceDeclarationConstantInitializer has no 
reduction - ignored.
 [java] Warning: pattern namespaceDeclarationInitializer has no reduction - 
ignored.
 [java] Warning: pattern optionalParameter has no reduction - ignored.
 [java] Warning: pattern plist has no reduction - ignored.
 [java] Warning: pattern requiredParameter has no reduction - ignored.
 [java] Warning: pattern restParameter has no reduction - ignored.
 [java] Warning: pattern returnNil has no reduction - ignored.
 [java] Warning: pattern returnValue has no reduction - ignored.
 [java] Warning: pattern returnVoid has no reduction - ignored.
 [java] Warning: pattern returnVoidSideEffect has no reduction - ignored.
 [java] Warning: pattern returnVoidValue has no reduction - ignored.
 [java] Warning: pattern superCallExpr has no reduction - ignored.
 [java] Warning: pattern superThisAccess has no reduction - ignored.
 [java] Warning: pattern switchCase has no reduction - ignored.
 [java] Warning: pattern switchDefault has no reduction - ignored.
 [java] Warning: pattern switchStmt has no reduction - ignored.
 [java] Warning: pattern throwStmt has no reduction - ignored.
 [java] Warning: pattern tryCatchFinallyStmt has no reduction - ignored.
 [java] Warning: pattern tryCatchStmt has no reduction - ignored.
 [java] Warning: pattern tryFinallyStmt has no reduction - ignored.
 [java] Warning: pattern typedBindableVariableDecl has no reduction - 
ignored.
 [java] Warning: pattern typedBindableVariableDeclWithInitializer has no 
reduction - ignored.
 [java] Warning: pattern typedFunction has no reduction - ignored.
 [java] Warning: pattern typedFunctionObject has no reduction - ignored.
 [java] Warning: pattern typedGetter has no reduction - ignored.
 [java] Warning: pattern typedSetter has no reduction - ignored.
 [java] Warning: pattern typedVariableDecl has no reduction - ignored.
 [java] Warning: pattern 

Build failed in Jenkins: Royale-asjs_MXRoyale #55

2018-08-06 Thread apacheroyaleci
See 


Changes:

[noreply] Update Base64Decoder.as

[noreply] Update Base64Encoder.as

--
[...truncated 1.28 MB...]
 [java] Writing file: 
js\out\org\apache\royale\html\beads\layouts\HorizontalFlowLayout.js
 [java] Compiling file: 
org.apache.royale.html.beads.layouts.HDividedContainerLayout
 [java] Writing file: 
js\out\org\apache\royale\html\beads\layouts\HDividedContainerLayout.js
 [java] Compiling file: org.apache.royale.html.DateField
 [java] Writing file: js\out\org\apache\royale\html\DateField.js
 [java] Compiling file: 
org.apache.royale.html.supportClasses.CascadingMenuItemRenderer
 [java] Writing file: 
js\out\org\apache\royale\html\supportClasses\CascadingMenuItemRenderer.js
 [java] Compiling file: org.apache.royale.html.DataGridButtonBar
 [java] Writing file: js\out\org\apache\royale\html\DataGridButtonBar.js
 [java] Compiling file: org.apache.royale.html.supportClasses.DataGridColumn
 [java] Writing file: 
js\out\org\apache\royale\html\supportClasses\DataGridColumn.js
 [java] Compiling file: org.apache.royale.html.RadioButton
 [java] Writing file: js\out\org\apache\royale\html\RadioButton.js
 [java] Compiling file: org.apache.royale.html.beads.ImageView
 [java] Writing file: js\out\org\apache\royale\html\beads\ImageView.js
 [java] Compiling file: org.apache.royale.html.Container
 [java] Writing file: js\out\org\apache\royale\html\Container.js
 [java] Compiling file: org.apache.royale.html.HContainer
 [java] Writing file: js\out\org\apache\royale\html\HContainer.js
 [java] Compiling file: org.apache.royale.html.Menu
 [java] Writing file: js\out\org\apache\royale\html\Menu.js
 [java] Compiling file: org.apache.royale.core.ListBase
 [java] Writing file: js\out\org\apache\royale\core\ListBase.js
 [java] Compiling file: org.apache.royale.html.beads.TitleBarMeasurementBead
 [java] Writing file: 
js\out\org\apache\royale\html\beads\TitleBarMeasurementBead.js
 [java] Compiling file: 
org.apache.royale.html.beads.controllers.VSliderMouseController
 [java] Writing file: 
js\out\org\apache\royale\html\beads\controllers\VSliderMouseController.js
 [java] Compiling file: org.apache.royale.html.VContainer
 [java] Writing file: js\out\org\apache\royale\html\VContainer.js
 [java] Compiling file: org.apache.royale.html.beads.models.ButtonBarModel
 [java] Writing file: 
js\out\org\apache\royale\html\beads\models\ButtonBarModel.js
 [java] Compiling file: org.apache.royale.svg.Circle
 [java] Writing file: js\out\org\apache\royale\svg\Circle.js
 [java] Compiling file: 
org.apache.royale.html.beads.controllers.TreeSingleSelectionMouseController
 [java] Writing file: 
js\out\org\apache\royale\html\beads\controllers\TreeSingleSelectionMouseController.js
 [java] Compiling file: org.apache.royale.html.CascadingMenu
 [java] Writing file: js\out\org\apache\royale\html\CascadingMenu.js
 [java] Compiling file: 
org.apache.royale.html.beads.VirtualDataItemRendererFactoryForArrayData
 [java] Writing file: 
js\out\org\apache\royale\html\beads\VirtualDataItemRendererFactoryForArrayData.js
 [java] Compiling file: org.apache.royale.events.ItemRemovedEvent
 [java] Writing file: js\out\org\apache\royale\events\ItemRemovedEvent.js
 [java] Compiling file: org.apache.royale.html.VDividedContainer
 [java] Writing file: js\out\org\apache\royale\html\VDividedContainer.js
 [java] Compiling file: org.apache.royale.html.PanelWithControlBar
 [java] Writing file: js\out\org\apache\royale\html\PanelWithControlBar.js
 [java] Compiling file: org.apache.royale.html.beads.models.ImageModel
 [java] Writing file: 
js\out\org\apache\royale\html\beads\models\ImageModel.js
 [java] Compiling file: 
org.apache.royale.html.beads.layouts.TableHeaderLayout
 [java] Writing file: 
js\out\org\apache\royale\html\beads\layouts\TableHeaderLayout.js
 [java] Compiling file: org.apache.royale.html.beads.DecrementButtonView
 [java] Writing file: 
js\out\org\apache\royale\html\beads\DecrementButtonView.js
 [java] Compiling file: org.apache.royale.svg.TextButton
 [java] Writing file: js\out\org\apache\royale\svg\TextButton.js
 [java] Compiling file: org.apache.royale.html.beads.MenuFactory
 [java] Writing file: js\out\org\apache\royale\html\beads\MenuFactory.js
 [java] Compiling file: 
org.apache.royale.html.beads.layouts.VDividedContainerLayout
 [java] Writing file: 
js\out\org\apache\royale\html\beads\layouts\VDividedContainerLayout.js
 [java] Compiling file: 
org.apache.royale.html.beads.ApplicationParametersBead
 [java] Writing file: 
js\out\org\apache\royale\html\beads\ApplicationParametersBead.js
 [java] Compiling file: 

Build failed in Jenkins: Royale-asjs_MXRoyale #54

2018-08-06 Thread apacheroyaleci
See 


Changes:

[noreply] ByteArray.as Added

[noreply] Update MXRoyaleClasses.as

[noreply] RichTextEditor.as added

[noreply] RichTextEditor.mxml Added

[noreply] Update mx-royale-manifest.xml

--
[...truncated 1.28 MB...]
 [java] Writing file: 
js\out\org\apache\royale\html\beads\layouts\HorizontalFlowLayout.js
 [java] Compiling file: 
org.apache.royale.html.beads.layouts.HDividedContainerLayout
 [java] Writing file: 
js\out\org\apache\royale\html\beads\layouts\HDividedContainerLayout.js
 [java] Compiling file: org.apache.royale.html.DateField
 [java] Writing file: js\out\org\apache\royale\html\DateField.js
 [java] Compiling file: 
org.apache.royale.html.supportClasses.CascadingMenuItemRenderer
 [java] Writing file: 
js\out\org\apache\royale\html\supportClasses\CascadingMenuItemRenderer.js
 [java] Compiling file: org.apache.royale.html.DataGridButtonBar
 [java] Writing file: js\out\org\apache\royale\html\DataGridButtonBar.js
 [java] Compiling file: org.apache.royale.html.supportClasses.DataGridColumn
 [java] Writing file: 
js\out\org\apache\royale\html\supportClasses\DataGridColumn.js
 [java] Compiling file: org.apache.royale.html.RadioButton
 [java] Writing file: js\out\org\apache\royale\html\RadioButton.js
 [java] Compiling file: org.apache.royale.html.beads.ImageView
 [java] Writing file: js\out\org\apache\royale\html\beads\ImageView.js
 [java] Compiling file: org.apache.royale.html.Container
 [java] Writing file: js\out\org\apache\royale\html\Container.js
 [java] Compiling file: org.apache.royale.html.HContainer
 [java] Writing file: js\out\org\apache\royale\html\HContainer.js
 [java] Compiling file: org.apache.royale.html.Menu
 [java] Writing file: js\out\org\apache\royale\html\Menu.js
 [java] Compiling file: org.apache.royale.core.ListBase
 [java] Writing file: js\out\org\apache\royale\core\ListBase.js
 [java] Compiling file: org.apache.royale.html.beads.TitleBarMeasurementBead
 [java] Writing file: 
js\out\org\apache\royale\html\beads\TitleBarMeasurementBead.js
 [java] Compiling file: 
org.apache.royale.html.beads.controllers.VSliderMouseController
 [java] Writing file: 
js\out\org\apache\royale\html\beads\controllers\VSliderMouseController.js
 [java] Compiling file: org.apache.royale.html.VContainer
 [java] Writing file: js\out\org\apache\royale\html\VContainer.js
 [java] Compiling file: org.apache.royale.html.beads.models.ButtonBarModel
 [java] Writing file: 
js\out\org\apache\royale\html\beads\models\ButtonBarModel.js
 [java] Compiling file: org.apache.royale.svg.Circle
 [java] Writing file: js\out\org\apache\royale\svg\Circle.js
 [java] Compiling file: 
org.apache.royale.html.beads.controllers.TreeSingleSelectionMouseController
 [java] Writing file: 
js\out\org\apache\royale\html\beads\controllers\TreeSingleSelectionMouseController.js
 [java] Compiling file: org.apache.royale.html.CascadingMenu
 [java] Writing file: js\out\org\apache\royale\html\CascadingMenu.js
 [java] Compiling file: 
org.apache.royale.html.beads.VirtualDataItemRendererFactoryForArrayData
 [java] Writing file: 
js\out\org\apache\royale\html\beads\VirtualDataItemRendererFactoryForArrayData.js
 [java] Compiling file: org.apache.royale.events.ItemRemovedEvent
 [java] Writing file: js\out\org\apache\royale\events\ItemRemovedEvent.js
 [java] Compiling file: org.apache.royale.html.VDividedContainer
 [java] Writing file: js\out\org\apache\royale\html\VDividedContainer.js
 [java] Compiling file: org.apache.royale.html.PanelWithControlBar
 [java] Writing file: js\out\org\apache\royale\html\PanelWithControlBar.js
 [java] Compiling file: org.apache.royale.html.beads.models.ImageModel
 [java] Writing file: 
js\out\org\apache\royale\html\beads\models\ImageModel.js
 [java] Compiling file: 
org.apache.royale.html.beads.layouts.TableHeaderLayout
 [java] Writing file: 
js\out\org\apache\royale\html\beads\layouts\TableHeaderLayout.js
 [java] Compiling file: org.apache.royale.html.beads.DecrementButtonView
 [java] Writing file: 
js\out\org\apache\royale\html\beads\DecrementButtonView.js
 [java] Compiling file: org.apache.royale.svg.TextButton
 [java] Writing file: js\out\org\apache\royale\svg\TextButton.js
 [java] Compiling file: org.apache.royale.html.beads.MenuFactory
 [java] Writing file: js\out\org\apache\royale\html\beads\MenuFactory.js
 [java] Compiling file: 
org.apache.royale.html.beads.layouts.VDividedContainerLayout
 [java] Writing file: 
js\out\org\apache\royale\html\beads\layouts\VDividedContainerLayout.js
 [java] Compiling file: 
org.apache.royale.html.beads.ApplicationParametersBead
 [java] Writing file: 

Jenkins build is back to normal : royale-compiler #366

2018-08-06 Thread apacheroyaleci
See 




Re: Any ideas why I'm not able to build the compiler?

2018-08-06 Thread Harbs
Figured it out…

Positive GMT-relative timezones were not working. I just committed a fix for 
this.

> On Aug 6, 2018, at 10:35 AM, Harbs  wrote:
> 
> Here’s the output we’re both getting.
> 
> I’m guessing it has to do with the timezone we’re both in (and maybe the time 
> of day?)…
> 
> https://paste.apache.org/eri2 
> 
> I’m having trouble following exactly what these tests are doing.
> 
>> On Aug 6, 2018, at 10:07 AM, Alex Harui > > wrote:
>> 
>> as.ASDateTests.xml
> 



Re: Any ideas why I'm not able to build the compiler?

2018-08-06 Thread Harbs
Here’s the output we’re both getting.

I’m guessing it has to do with the timezone we’re both in (and maybe the time 
of day?)…

https://paste.apache.org/eri2 

I’m having trouble following exactly what these tests are doing.

> On Aug 6, 2018, at 10:07 AM, Alex Harui  wrote:
> 
> as.ASDateTests.xml



Re: Migrating Enterprise Flex Application

2018-08-06 Thread Alex Harui
Any committer can clean up the resource bundle issues.  I won't have time 
tonight.

More interesting is the null pointer exception.  You may have to temporarily 
comment out some of your MXML in order to determine what is causing that 
exception.

Thanks,
-Alex

On 8/5/18, 11:42 PM, "chembali"  wrote:

Tried with the latest build. The earlier error is gone. Getting another
resource bundle error now. Do you have to comment out more code?

Using Royale Compiler codebase:
C:\devenv\GitHub\apache-royale-0.9.3\royale-asjs
\js\bin\..\..
Using Royale SDK: C:\devenv\GitHub\apache-royale-0.9.3\royale-asjs\
MXMLJSC

-sdk-js-lib=C:\devenv\GitHub\apache-royale-0.9.3\royale-asjs\\frameworks\js\Roya
le\generated-sources
-compiler.source-path=C:\devenv\BlazeDSRemoteObjects\BlazeDsExample\src
C:\devenv\BlazeDSRemoteObjects\BlazeDsExample\src/BlazeDsExample.mxml
Loading configuration:
C:\devenv\GitHub\apache-royale-0.9.3\royale-asjs\framewor
ks\royale-config.xml

scanning for overrides: IFlexModuleFactory
scanning for overrides: IEventDispatcher
scanning for overrides: IChildList
scanning for overrides: ISystemManager
scanning for overrides: SystemManagerBase
scanning for overrides: SystemManager
scanning for overrides: IRenderedObject
scanning for overrides: IChild
scanning for overrides: IStrand
scanning for overrides: IUIBase
scanning for overrides: IFlexDisplayObject
scanning for overrides: IUIComponent
scanning for overrides: IBead
scanning for overrides: IParent
scanning for overrides: IFlexInfo
scanning for overrides: IPopUpHost
scanning for overrides: IContainer
scanning for overrides: IContainerBaseStrandChildrenHost
scanning for overrides: IContentViewHost
scanning for overrides: ILayoutParent
scanning for overrides: ILayoutView
scanning for overrides: IMXMLDocument
scanning for overrides: IDataRenderer
scanning for overrides: HTMLElementWrapper
scanning for overrides: ILayoutChild
scanning for overrides: IParentIUIBase
scanning for overrides: IRoyaleElement
scanning for overrides: IStrandWithModel
scanning for overrides: IStrandWithModelView
scanning for overrides: IStyleableObject
scanning for overrides: UIBase
scanning for overrides: IStatesObject
scanning for overrides: IFlexModule
scanning for overrides: IInvalidating
scanning for overrides: IVisualElement
scanning for overrides: UIComponent
scanning for overrides: MethodQueueElement
scanning for overrides: IFocusManagerContainer
scanning for overrides: Container
scanning for overrides: Application
scanning for overrides: EventDispatcher
scanning for overrides: IStyleManager2
scanning for overrides: StyleManagerImpl
scanning for overrides: StyleEventDispatcher
scanning for overrides: CSSClass
scanning for overrides: CSSFactory
scanning for overrides: CSSDataType
scanning for overrides: ContainerBaseStrandChildren
scanning for overrides: ContainerContentArea
scanning for overrides: DataBindingBase
scanning for overrides: ApplicationDataBinding
scanning for overrides: EdgeData
scanning for overrides: IValuesImpl
scanning for overrides: IBorderPaddingMarginValuesImpl
scanning for overrides: ICSSImpl
scanning for overrides: AllCSSValuesImpl
scanning for overrides: CSSClass
scanning for overrides: CSSFactory
scanning for overrides: CSSDataType
scanning for overrides: CallLaterBead
scanning for overrides: IBeadController
scanning for overrides: IBeadLayout
scanning for overrides: IBeadModel
scanning for overrides: IBeadView
scanning for overrides: ILayoutHost
scanning for overrides: IMeasurementBead
scanning for overrides: IStatesImpl
scanning for overrides: StageProxy
scanning for overrides: TextLineMetrics
scanning for overrides: ValuesManager
scanning for overrides: MouseEventConverter
scanning for overrides: IRoyaleEvent
scanning for overrides: Event
scanning for overrides: IBrowserEvent
scanning for overrides: KeyboardEvent
scanning for overrides: MouseEvent
scanning for overrides: ValueChangeEvent
scanning for overrides: ValueEvent
scanning for overrides: Rectangle
scanning for overrides: MXMLDataInterpreter
scanning for overrides: IChartSeries
scanning for overrides: ColumnSeries
scanning for overrides: ColumnSeries
scanning for overrides: GroupBase
scanning for overrides: ContainerBase
scanning for overrides: DataContainerBase
scanning for overrides: IStrandWithPresentationModel
scanning for overrides: DataContainer
scanning for overrides: List
scanning for overrides: IChart
scanning for overrides: ChartBase
scanning for overrides: ChartBase
scanning for overrides: BarChart
scanning for overrides: CategoryAxis

Re: Any ideas why I'm not able to build the compiler?

2018-08-06 Thread Alex Harui
Harbs ran into this earlier, got past it and we never figured out the exact 
cause.  My answer is the same:  Look at the actual failure report.   It should 
be in compiler/target/junit-reports/Test-as.ASDateTests.xml

Thanks,
-Alex

On 8/5/18, 11:59 PM, "Yishay Weiss"  wrote:

I’m getting [1] compiler tests failure. The read-only errors should be 
ignored IMO because they’re part of compileAndExpectErrors() runs. So I’m not 
sure what’s going on…

[1] 
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2F4Seidata=02%7C01%7Caharui%40adobe.com%7Cc828d6f287e64583a8b808d5fb6a194c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636691355466849712sdata=FmTy3TieWpAVACuxfEiBthjUv8hRULiQy0%2F3HWhxyC0%3Dreserved=0





Any ideas why I'm not able to build the compiler?

2018-08-06 Thread Yishay Weiss
I’m getting [1] compiler tests failure. The read-only errors should be ignored 
IMO because they’re part of compileAndExpectErrors() runs. So I’m not sure 
what’s going on…

[1] https://paste.apache.org/4Sei



Re: Migrating Enterprise Flex Application

2018-08-06 Thread chembali
Tried with the latest build. The earlier error is gone. Getting another
resource bundle error now. Do you have to comment out more code?

Using Royale Compiler codebase:
C:\devenv\GitHub\apache-royale-0.9.3\royale-asjs
\js\bin\..\..
Using Royale SDK: C:\devenv\GitHub\apache-royale-0.9.3\royale-asjs\
MXMLJSC
-sdk-js-lib=C:\devenv\GitHub\apache-royale-0.9.3\royale-asjs\\frameworks\js\Roya
le\generated-sources
-compiler.source-path=C:\devenv\BlazeDSRemoteObjects\BlazeDsExample\src
C:\devenv\BlazeDSRemoteObjects\BlazeDsExample\src/BlazeDsExample.mxml
Loading configuration:
C:\devenv\GitHub\apache-royale-0.9.3\royale-asjs\framewor
ks\royale-config.xml

scanning for overrides: IFlexModuleFactory
scanning for overrides: IEventDispatcher
scanning for overrides: IChildList
scanning for overrides: ISystemManager
scanning for overrides: SystemManagerBase
scanning for overrides: SystemManager
scanning for overrides: IRenderedObject
scanning for overrides: IChild
scanning for overrides: IStrand
scanning for overrides: IUIBase
scanning for overrides: IFlexDisplayObject
scanning for overrides: IUIComponent
scanning for overrides: IBead
scanning for overrides: IParent
scanning for overrides: IFlexInfo
scanning for overrides: IPopUpHost
scanning for overrides: IContainer
scanning for overrides: IContainerBaseStrandChildrenHost
scanning for overrides: IContentViewHost
scanning for overrides: ILayoutParent
scanning for overrides: ILayoutView
scanning for overrides: IMXMLDocument
scanning for overrides: IDataRenderer
scanning for overrides: HTMLElementWrapper
scanning for overrides: ILayoutChild
scanning for overrides: IParentIUIBase
scanning for overrides: IRoyaleElement
scanning for overrides: IStrandWithModel
scanning for overrides: IStrandWithModelView
scanning for overrides: IStyleableObject
scanning for overrides: UIBase
scanning for overrides: IStatesObject
scanning for overrides: IFlexModule
scanning for overrides: IInvalidating
scanning for overrides: IVisualElement
scanning for overrides: UIComponent
scanning for overrides: MethodQueueElement
scanning for overrides: IFocusManagerContainer
scanning for overrides: Container
scanning for overrides: Application
scanning for overrides: EventDispatcher
scanning for overrides: IStyleManager2
scanning for overrides: StyleManagerImpl
scanning for overrides: StyleEventDispatcher
scanning for overrides: CSSClass
scanning for overrides: CSSFactory
scanning for overrides: CSSDataType
scanning for overrides: ContainerBaseStrandChildren
scanning for overrides: ContainerContentArea
scanning for overrides: DataBindingBase
scanning for overrides: ApplicationDataBinding
scanning for overrides: EdgeData
scanning for overrides: IValuesImpl
scanning for overrides: IBorderPaddingMarginValuesImpl
scanning for overrides: ICSSImpl
scanning for overrides: AllCSSValuesImpl
scanning for overrides: CSSClass
scanning for overrides: CSSFactory
scanning for overrides: CSSDataType
scanning for overrides: CallLaterBead
scanning for overrides: IBeadController
scanning for overrides: IBeadLayout
scanning for overrides: IBeadModel
scanning for overrides: IBeadView
scanning for overrides: ILayoutHost
scanning for overrides: IMeasurementBead
scanning for overrides: IStatesImpl
scanning for overrides: StageProxy
scanning for overrides: TextLineMetrics
scanning for overrides: ValuesManager
scanning for overrides: MouseEventConverter
scanning for overrides: IRoyaleEvent
scanning for overrides: Event
scanning for overrides: IBrowserEvent
scanning for overrides: KeyboardEvent
scanning for overrides: MouseEvent
scanning for overrides: ValueChangeEvent
scanning for overrides: ValueEvent
scanning for overrides: Rectangle
scanning for overrides: MXMLDataInterpreter
scanning for overrides: IChartSeries
scanning for overrides: ColumnSeries
scanning for overrides: ColumnSeries
scanning for overrides: GroupBase
scanning for overrides: ContainerBase
scanning for overrides: DataContainerBase
scanning for overrides: IStrandWithPresentationModel
scanning for overrides: DataContainer
scanning for overrides: List
scanning for overrides: IChart
scanning for overrides: ChartBase
scanning for overrides: ChartBase
scanning for overrides: BarChart
scanning for overrides: CategoryAxis
scanning for overrides: ListCollectionView
scanning for overrides: ArrayCollection
scanning for overrides: LayoutBase
scanning for overrides: BoxLayout
scanning for overrides: ApplicationLayout
scanning for overrides: Box
scanning for overrides: VBox
scanning for overrides: ToolTipBead
scanning for overrides: ToolTipBead
scanning for overrides: Button
scanning for overrides: ContainerLayout
scanning for overrides: EdgeMetrics
scanning for overrides: AllCSSStyles
scanning for overrides: FlexCSSStyles
scanning for overrides: FlexGlobals
scanning for overrides: ScrollPolicy
scanning for overrides: IGraphicShape
scanning for overrides: GraphicShape
scanning for overrides: ICompoundGraphic
scanning for overrides: CompoundGraphic
scanning for overrides: 

Re: ***UNCHECKED*** Re: Trouble building compiler

2018-08-06 Thread Harbs
Interesting. My variables are set without quotes, but I am escaping the spaces. 
I’m pretty sure that’s necessary in a shell script.

> On Aug 6, 2018, at 6:07 AM, Alex Harui  wrote:
> 
> FWIW, I ran into the same or similar problem today.  For me, quotes around 
> the entry in env.properties:
> FLASHPLAYER_DEBUGGER='/Users/aharui/adobe/flashplayer/11.1/Flash Player 
> Debugger.app/Contents/MacOS/Flash Player Debugger'
> 
> Resulted in the FLASHPLAYER_DEBUGGER not being found and the tests going into 
> "no-Flash" test running even though they'd been compiled with Flash 
> playerglobal.swc".  Removing the quotes resulted in the test runner finding 
> FLASHPLAYER_DEBUGGER and the tests passed again.
> 
> The output went from having quotes to not having quotes as in:
> 
> environment property - FLASHPLAYER_DEBUGGER = 
> /Users/aharui/adobe/flashplayer/11.1/Flash Player 
> Debugger.app/Contents/MacOS/Flash Player Debugger
> 
> HTH,
> -Alex
> 
> On 7/26/18, 9:15 AM, "Alex Harui"  wrote:
> 
>In general, if "ant all" fails in the compiler, try running "ant" directly 
> in royale-compiler.  Same for royale-typedefs.
> 
>HTH,
>-Alex
> 
>On 7/26/18, 2:00 AM, "Harbs"  wrote:
> 
>I’m running ant all from royale-asjs.
> 
>I’m not sure when I’m going to have the time to work on this, but I’ll 
> look into it more when I do…
> 
>> On Jul 26, 2018, at 10:35 AM, Alex Harui  wrote:
>> 
>> If you don't get errors in the output for compiling the Date tests without 
>> the Flash variables, that implies that an older compiler is running.  The 
>> latest should be picking up the field-readonly and result in those compile 
>> errors in the console output, but since the compile errors are expected that 
>> should not result in a failure.  The failure might be something else like 
>> some sensitivity to your time zone.  So check the junit-reports file and see 
>> what it says failed if you can reproduce it.
>> 
>> Same for typedefs.  It seems like you aren't running the latest compiler.  
>> Are you just running "ant" from royale-typedefs?  Maybe it is picking up the 
>> jars from royale-asjs that haven't been updated yet.  You can add some 
>>  statements to the js/build.xml and see what ROYALE_TRANSPILER_HOME is 
>> calculated to be.
>> 
>> HTH,
>> -Alex
>> 
>> On 7/25/18, 11:12 PM, "Harbs"  wrote:
>> 
>> 
>>> On Jul 26, 2018, at 2:55 AM, Alex Harui  wrote:
>>> 
>>> I took a closer look.  If you are getting ASDateTest failures, you will 
>>> need to open compiler/target/junit-reports/TEST-as.ASDateTests.xml and see 
>>> what the failure is.  The compile errors in the output are expected and 
>>> should not cause test failures.
>> 
>>   I’ll try to look at this again. I was only getting the errors when I 
>> compile with the Flash environment variables.
>> 
>>> If you are having a problem with field-readonly, it implies that the 
>>> compiler you are using is stale.  
>>> compiler-externc/src/main/java/org/apache/royale/compiler/clients/ExternCConfiguration.java
>>>  should contain an entry for field-readonly.
>> 
>>   My source does contain the entry. That’s what’s really weird. I confirmed 
>> that externs was wiped and regenerated when I compile. Is there some file I 
>> might be missing?
>> 
>>> 
>>> HTH,
>>> -Alex
>>> 
>>> On 7/25/18, 12:52 AM, "Harbs"  wrote:
>>> 
>>>  I rolled back royale-typedefs to before the Date changes to enable my 
>>> compilation. It does seem to me like we need to figure this out though…
>>> 
>>>  Harbs
>>> 
 On Jul 25, 2018, at 9:59 AM, Harbs  wrote:
 
 I tried without environment vars and that might have made a difference. I’ 
 using these normally:
 
 export ROYALE_COMPILER_REPO=/Apache/royale-compiler
 export AIR_HOME=/Apache/frameworks/AIRSDK_Compiler
 export PLAYERGLOBAL_HOME=/Apache/frameworks/libs/player 
 export FLASHPLAYER_DEBUGGER=/Apache/frameworks/Flash\ Player\ 
 Debugger.app/Contents/MacOS/Flash\ Player\ Debugger
 export ROYALE_HOME=/Apache/royale-asjs
 
 I’m now getting field-readonly error again… :-(
 
> On Jul 25, 2018, at 9:52 AM, Harbs  wrote:
> 
> Weird. I ran ant all again and it’s no longer getting this error, but 
> it’s failing again on the Date tests (4 failures).
> 
>> On Jul 25, 2018, at 9:43 AM, Harbs > > wrote:
>> 
>> Yes I did, but it looks like that does not clear the files in the 
>> typedefs repo.
>> 
>> I just manually deleted all the target folders in typedefs and now I’m 
>> getting a new error:
>> 
>> externc:
>>  [java] Unknown tag:field-readonly
>>  [java] 0.362347459 seconds
>>  [java] 
>> org.apache.royale.compiler.exceptions.ConfigurationException.UnknownVariable[var='field-readonly',
>>  line='178', 
>> source='/Apache/royale-typedefs/js/src/main/config/externc-config.xml'].
>>  [java] /Apache/royale-typedefs/js/src/main/config/externc-config.xml