Re: Changes for Cairngorm ServiceLocator - feedback

2020-02-06 Thread Greg Dove
I will be doing some other comparisons with Flex soon for Bindings, so I
might be able to do that actually. I will probably just create an issue and
note things down if I do that and only come back to them later.
I did work on something for bindings related to the needsEventDispatcher
stuff sometime in the distant past, I think adding that part might not be
too difficult.

The other thing I wonder about is the change that happened between Flex3
and Flex4 with the addition of fx:Declarations for non-visual instances.
iirc this was only inside mxml subclasses of visual components.

I was able to put:

 

in my test project View alongside all the other top level visual element
children. I think for Flex 4 that should be inside fx:Declarations, but it
seems to work Flex3 style in royale - is that correct?

not something critical... just wondering about it


On Fri, Feb 7, 2020 at 7:29 PM Alex Harui  wrote:

> OK, thanks for figuring it out.
>
> I'm not familiar with this scenario at all.  My main goal was to debug the
> data stream since most folks aren't familiar with it.
>
> It is true that, currently, to be an MXML tag you have to implement
> certain methods.  Maybe that will change someday based on what I learn in
> the "has" experiment.
>
> If you have time to explore further, I suppose you could compile with Flex
> and the -keep option and see if there are other transformations in the
> generated AS.
>
> Thanks,
> -Alex
>
> On 2/6/20, 10:11 PM, "Greg Dove"  wrote:
>
>   This is related to compiler changes following a specific request in
> users
> list.
>   Changes were made to the compiler to help  cairngorm ServiceLocator
> work
> in mxml.
>
>
> @aharui :
>
> there was a change that added the following to an mxml subclass of
> ServiceLocator in a local test project (GithubCommitsViewer):
>
> this.generateMXMLAttributes
>   ([2,
> 'configuratorService',
> false,
> [mx.rpc.http.mxml.HTTPService, 2, 'id', true, 'configuratorService',
> 'resultFormat', true, 'text', 0, 0, null],
> 'commitsService',
> false,
> [mx.rpc.http.mxml.HTTPService, 2, 'id', true, 'commitsService',
> 'resultFormat', true, 'text', 0, 0, null],
> 0,
> 0
>   ]);
>
> But the ServiceLocator class does not implement the
> generateMXMLAttributes
> method.
> So I can manually implement it on the original class (although this
> seems
> not necessary in Flex), like so:
>
>  public function generateMXMLAttributes(descriptor:Array):void{
>  MXMLDataInterpreter.generateMXMLProperties(this, descriptor);
>   }
>
>
> But that alone was not enough. I also had to change the original
> ServiceLocator class to extend from royale EventDispatcher because it
> was
> not being automatically 'upgraded' by the compiler to EventDispatcher
> (like
> Bindable does for regular actionscript VO classes, for example).
> Without
> this change the  'id' properties being set throw errors when the
> generated
> setter code tries to dispatch 'valueChange'.
>
> So the good news is I can get it to work. But it seems like we have
> some
> more things to address here to get it to automatically 'upgrade' the
> mxml
> definitions similar to Flex.
>
>
>


Re: Changes for Cairngorm ServiceLocator - feedback

2020-02-06 Thread Alex Harui
OK, thanks for figuring it out.

I'm not familiar with this scenario at all.  My main goal was to debug the data 
stream since most folks aren't familiar with it.  

It is true that, currently, to be an MXML tag you have to implement certain 
methods.  Maybe that will change someday based on what I learn in the "has" 
experiment.

If you have time to explore further, I suppose you could compile with Flex and 
the -keep option and see if there are other transformations in the generated AS.

Thanks,
-Alex

On 2/6/20, 10:11 PM, "Greg Dove"  wrote:

  This is related to compiler changes following a specific request in users
list.
  Changes were made to the compiler to help  cairngorm ServiceLocator work
in mxml.


@aharui :

there was a change that added the following to an mxml subclass of
ServiceLocator in a local test project (GithubCommitsViewer):

this.generateMXMLAttributes
  ([2,
'configuratorService',
false,
[mx.rpc.http.mxml.HTTPService, 2, 'id', true, 'configuratorService',
'resultFormat', true, 'text', 0, 0, null],
'commitsService',
false,
[mx.rpc.http.mxml.HTTPService, 2, 'id', true, 'commitsService',
'resultFormat', true, 'text', 0, 0, null],
0,
0
  ]);

But the ServiceLocator class does not implement the generateMXMLAttributes
method.
So I can manually implement it on the original class (although this seems
not necessary in Flex), like so:

 public function generateMXMLAttributes(descriptor:Array):void{
 MXMLDataInterpreter.generateMXMLProperties(this, descriptor);
  }


But that alone was not enough. I also had to change the original
ServiceLocator class to extend from royale EventDispatcher because it was
not being automatically 'upgraded' by the compiler to EventDispatcher (like
Bindable does for regular actionscript VO classes, for example). Without
this change the  'id' properties being set throw errors when the generated
setter code tries to dispatch 'valueChange'.

So the good news is I can get it to work. But it seems like we have some
more things to address here to get it to automatically 'upgrade' the mxml
definitions similar to Flex.




Changes for Cairngorm ServiceLocator - feedback

2020-02-06 Thread Greg Dove
  This is related to compiler changes following a specific request in users
list.
  Changes were made to the compiler to help  cairngorm ServiceLocator work
in mxml.


@aharui :

there was a change that added the following to an mxml subclass of
ServiceLocator in a local test project (GithubCommitsViewer):

this.generateMXMLAttributes
  ([2,
'configuratorService',
false,
[mx.rpc.http.mxml.HTTPService, 2, 'id', true, 'configuratorService',
'resultFormat', true, 'text', 0, 0, null],
'commitsService',
false,
[mx.rpc.http.mxml.HTTPService, 2, 'id', true, 'commitsService',
'resultFormat', true, 'text', 0, 0, null],
0,
0
  ]);

But the ServiceLocator class does not implement the generateMXMLAttributes
method.
So I can manually implement it on the original class (although this seems
not necessary in Flex), like so:

 public function generateMXMLAttributes(descriptor:Array):void{
 MXMLDataInterpreter.generateMXMLProperties(this, descriptor);
  }


But that alone was not enough. I also had to change the original
ServiceLocator class to extend from royale EventDispatcher because it was
not being automatically 'upgraded' by the compiler to EventDispatcher (like
Bindable does for regular actionscript VO classes, for example). Without
this change the  'id' properties being set throw errors when the generated
setter code tries to dispatch 'valueChange'.

So the good news is I can get it to work. But it seems like we have some
more things to address here to get it to automatically 'upgrade' the mxml
definitions similar to Flex.


Build failed in Jenkins: TourDeFlexMigration #601

2020-02-06 Thread apacheroyaleci
See 


Changes:


--
Started by upstream project "royale-asjs" build number 687
originally caused by:
 Started by upstream project "royale-asjs_jsonly" build number 772
 originally caused by:
  Started by upstream project "royale-typedefs" build number 325
  originally caused by:
   Started by timer
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on agent1 in workspace 

No credentials specified
 > C:\Program Files\Git\cmd\git.exe rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > C:\Program Files\Git\cmd\git.exe config remote.origin.url 
 > https://github.com/apache/royale-asjs # timeout=10
Fetching upstream changes from https://github.com/apache/royale-asjs
 > C:\Program Files\Git\cmd\git.exe --version # timeout=10
 > C:\Program Files\Git\cmd\git.exe fetch --tags --force --progress -- 
 > https://github.com/apache/royale-asjs +refs/heads/*:refs/remotes/origin/*
 > C:\Program Files\Git\cmd\git.exe rev-parse 
 > "refs/remotes/origin/develop^{commit}" # timeout=10
 > C:\Program Files\Git\cmd\git.exe rev-parse 
 > "refs/remotes/origin/origin/develop^{commit}" # timeout=10
Checking out Revision 4a0a65206a7e3977aa15c6681ade6ae191353b53 
(refs/remotes/origin/develop)
 > C:\Program Files\Git\cmd\git.exe config core.sparsecheckout # timeout=10
 > C:\Program Files\Git\cmd\git.exe checkout -f 
 > 4a0a65206a7e3977aa15c6681ade6ae191353b53
Commit message: "some missing imports"
 > C:\Program Files\Git\cmd\git.exe rev-list --no-walk 
 > 4a0a65206a7e3977aa15c6681ade6ae191353b53 # timeout=10
[tourdeflexmodules] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file 
build.xml 
-Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe 
-Denv.PLAYERGLOBAL_HOME=C:\adobe\flash 
-Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK 
-DROYALE_HOME=C:\jenkins\workspace\royale-asjs -Dbuild.noprompt=true 
-Dplayerglobal.version=11.7 clean compile && exit %%ERRORLEVEL%%"
Buildfile: 


clean:
   [delete] Deleting directory 


compile-shell:
[mkdir] Created dir: 

[mxmlc] MXMLJSC
[mxmlc] -module-output=/
[mxmlc] -js-compiler-option=--variable_map_output_file gcc_variablemap.txt
[mxmlc] -js-compiler-option+=--property_map_output_file gcc_propertymap.txt
[mxmlc] 
-externs-report=
[mxmlc] 
-link-report=
[mxmlc] +playerglobal.version=11.7
[mxmlc] +env.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK
[mxmlc] +env.PLAYERGLOBAL_HOME=C:\adobe\flash
[mxmlc] -compiler.debug=false
[mxmlc] +royalelib=C:\jenkins\workspace\royale-asjs/frameworks/
[mxmlc] 
-load-config=C:\jenkins\workspace\royale-asjs/frameworks/flex-config.xml
[mxmlc] 
-output=
[mxmlc] --
[mxmlc] 

[mxmlc] Loading configuration: 
C:\jenkins\workspace\royale-asjs\frameworks\flex-config.xml
[mxmlc] 
[mxmlc] 330159 bytes written to 
C:\jenkins\workspace\TourDeFlexMigration\examples\mxroyale\tourdeflexmodules\bin-debug\explorer.swf
 in 10.354 seconds
[mxmlc] Feb 07, 2020 5:44:49 AM 
com.google.javascript.jscomp.LoggerErrorManager println
[mxmlc] WARNING: 
c:/jenkins/workspace/TourDeFlexMigration/examples/mxroyale/tourdeflexmodules/bin/js-debug/SourceTab.js:124:
 WARNING - Invalid flags to RegExp constructor: STRING gs 124 [length: 4] 
[source_file: 
c:/jenkins/workspace/TourDeFlexMigration/examples/mxroyale/tourdeflexmodules/bin/js-debug/SourceTab.js]
 : string
[mxmlc]   var /** @type {RegExp} */ r = new RegExp("\r\n", "gs");
[mxmlc]
[mxmlc] 
[mxmlc] Feb 07, 2020 5:44:49 AM 
com.google.javascript.jscomp.LoggerErrorManager println
[mxmlc] WARNING: 
c:/jenkins/workspace/TourDeFlexMigration/examples/mxroyale/tourdeflexmodules/bin/js-debug/explorer.js:398:
 WA

Build failed in Jenkins: Royale_ASDoc_Example #602

2020-02-06 Thread apacheroyaleci
See 


Changes:


--
[...truncated 5.72 KB...]
[mxmlc] 14
[mxmlc] 
-output=
[mxmlc] --
[mxmlc] 

[mxmlc] Loading configuration: 
C:\jenkins\workspace\royale-asjs\frameworks\royale-config.xml
[mxmlc] Loading configuration: 

[mxmlc] 
[mxmlc] 131231 bytes written to 
C:\jenkins\workspace\Royale_ASDoc_Example\examples\royale\ASDoc\bin-debug\ASDoc.swf
 in 17.025 seconds
[mxmlc] The project 'ASDoc' has been successfully compiled.
[mxmlc] 31.8957554 seconds
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

build_example.check-air:

build_example.wrapper:
 [copy] Copying 1 file to 

 [copy] Copied 1 empty directory to 1 empty directory under 

 [copy] Copying 2 files to 


build_example.check-resources:

build_example.copy-resources:
 [copy] Copying 1 file to 


build_example.compile-js-release:
[mxmlc] MXMLJSC
[mxmlc] 
-load-config+=
[mxmlc] -js-dynamic-access-unknown-members=true
[mxmlc] +playerglobal.version=11.7
[mxmlc] +env.PLAYERGLOBAL_HOME=C:\adobe\flash
[mxmlc] -compiler.debug=false
[mxmlc] +royalelib=C:\jenkins\workspace\royale-asjs/frameworks/
[mxmlc] 
-closure-lib=C:\jenkins\workspace\royale-asjs/js/lib/google/closure-library
[mxmlc] +configname=royale
[mxmlc] -swf-version
[mxmlc] 14
[mxmlc] 
-output=
[mxmlc] --
[mxmlc] 

[mxmlc] Loading configuration: 
C:\jenkins\workspace\royale-asjs\frameworks\royale-config.xml
[mxmlc] Loading configuration: 

[mxmlc] 
[mxmlc] 66707 bytes written to 
C:\jenkins\workspace\Royale_ASDoc_Example\examples\royale\ASDoc\bin-release\ASDoc.swf
 in 7.349 seconds
[mxmlc] Feb 07, 2020 5:40:31 AM 
com.google.javascript.jscomp.LoggerErrorManager printSummary
[mxmlc] INFO: 0 error(s), 0 warning(s), 97.3% typed
[mxmlc] The project 'ASDoc' has been successfully compiled and optimized.
[mxmlc] 43.1176447 seconds
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

build_example.check-air:

build_example.copy-app-xml:

main:

json:
 [echo] ROYALE_COMPILER_HOME: C:\jenkins\workspace\royale-asjs/js
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\Core\src\main\royale\org\apache\royale\utils\object\defineSimpleProperty.as(36):
 col: 12 Encountered this keyword within closure. Value of this will not be the 
same as enclosing scope.
 [java] 
 [java] return this[privateProp];
 [java]^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\Core\src\main\royale\org\apache\royale\utils\object\defineSimpleProperty.as(39):
 col: 5 Encountered this keyword within closure. Value of this will not be the 
same as enclosing scope.
 [java] 
 [java] this[privateProp] = val;
 [java] ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\GoogleMaps\src\main\royale\org\apache\royale\maps\google\beads\GoogleMapView.as(114):
 col: 6 Encountered this keyword within closure. Value of this will not be the 
same as enclosing scope.
 [java] 
 [java] (this['mapView'] as 
GoogleMapView).finishInitialization();
 [java]   

Build failed in Jenkins: TourDeFlexMigration #600

2020-02-06 Thread apacheroyaleci
See 


Changes:


--
Started by upstream project "royale-asjs" build number 686
originally caused by:
 Started by upstream project "royale-asjs_jsonly" build number 771
 originally caused by:
  Started by timer
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on agent1 in workspace 

No credentials specified
 > C:\Program Files\Git\cmd\git.exe rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > C:\Program Files\Git\cmd\git.exe config remote.origin.url 
 > https://github.com/apache/royale-asjs # timeout=10
Fetching upstream changes from https://github.com/apache/royale-asjs
 > C:\Program Files\Git\cmd\git.exe --version # timeout=10
 > C:\Program Files\Git\cmd\git.exe fetch --tags --force --progress -- 
 > https://github.com/apache/royale-asjs +refs/heads/*:refs/remotes/origin/*
 > C:\Program Files\Git\cmd\git.exe rev-parse 
 > "refs/remotes/origin/develop^{commit}" # timeout=10
 > C:\Program Files\Git\cmd\git.exe rev-parse 
 > "refs/remotes/origin/origin/develop^{commit}" # timeout=10
Checking out Revision 4a0a65206a7e3977aa15c6681ade6ae191353b53 
(refs/remotes/origin/develop)
 > C:\Program Files\Git\cmd\git.exe config core.sparsecheckout # timeout=10
 > C:\Program Files\Git\cmd\git.exe checkout -f 
 > 4a0a65206a7e3977aa15c6681ade6ae191353b53
Commit message: "some missing imports"
 > C:\Program Files\Git\cmd\git.exe rev-list --no-walk 
 > 4a0a65206a7e3977aa15c6681ade6ae191353b53 # timeout=10
[tourdeflexmodules] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file 
build.xml 
-Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe 
-Denv.PLAYERGLOBAL_HOME=C:\adobe\flash 
-Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK 
-DROYALE_HOME=C:\jenkins\workspace\royale-asjs -Dbuild.noprompt=true 
-Dplayerglobal.version=11.7 clean compile && exit %%ERRORLEVEL%%"
Buildfile: 


clean:
   [delete] Deleting directory 


compile-shell:
[mkdir] Created dir: 

[mxmlc] MXMLJSC
[mxmlc] -module-output=/
[mxmlc] -js-compiler-option=--variable_map_output_file gcc_variablemap.txt
[mxmlc] -js-compiler-option+=--property_map_output_file gcc_propertymap.txt
[mxmlc] 
-externs-report=
[mxmlc] 
-link-report=
[mxmlc] +playerglobal.version=11.7
[mxmlc] +env.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK
[mxmlc] +env.PLAYERGLOBAL_HOME=C:\adobe\flash
[mxmlc] -compiler.debug=false
[mxmlc] +royalelib=C:\jenkins\workspace\royale-asjs/frameworks/
[mxmlc] 
-load-config=C:\jenkins\workspace\royale-asjs/frameworks/flex-config.xml
[mxmlc] 
-output=
[mxmlc] --
[mxmlc] 

[mxmlc] Loading configuration: 
C:\jenkins\workspace\royale-asjs\frameworks\flex-config.xml
[mxmlc] 
[mxmlc] 330123 bytes written to 
C:\jenkins\workspace\TourDeFlexMigration\examples\mxroyale\tourdeflexmodules\bin-debug\explorer.swf
 in 19.059 seconds
[mxmlc] Feb 07, 2020 3:57:37 AM 
com.google.javascript.jscomp.LoggerErrorManager println
[mxmlc] WARNING: 
c:/jenkins/workspace/TourDeFlexMigration/examples/mxroyale/tourdeflexmodules/bin/js-debug/SourceTab.js:124:
 WARNING - Invalid flags to RegExp constructor: STRING gs 124 [length: 4] 
[source_file: 
c:/jenkins/workspace/TourDeFlexMigration/examples/mxroyale/tourdeflexmodules/bin/js-debug/SourceTab.js]
 : string
[mxmlc]   var /** @type {RegExp} */ r = new RegExp("\r\n", "gs");
[mxmlc]
[mxmlc] 
[mxmlc] Feb 07, 2020 3:57:37 AM 
com.google.javascript.jscomp.LoggerErrorManager println
[mxmlc] WARNING: 
c:/jenkins/workspace/TourDeFlexMigration/examples/mxroyale/tourdeflexmodules/bin/js-debug/explorer.js:398:
 WARNING - Parse error. extra visibility tag
[mxmlc]   * @private
[mxmlc] ^
[

Build failed in Jenkins: Royale_ASDoc_Example #601

2020-02-06 Thread apacheroyaleci
See 


Changes:


--
[...truncated 5.08 KB...]
[mxmlc] 14
[mxmlc] 
-output=
[mxmlc] --
[mxmlc] 

[mxmlc] Loading configuration: 
C:\jenkins\workspace\royale-asjs\frameworks\royale-config.xml
[mxmlc] Loading configuration: 

[mxmlc] 
[mxmlc] 131232 bytes written to 
C:\jenkins\workspace\Royale_ASDoc_Example\examples\royale\ASDoc\bin-debug\ASDoc.swf
 in 10.088 seconds
[mxmlc] The project 'ASDoc' has been successfully compiled.
[mxmlc] 23.8000553 seconds
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

build_example.check-air:

build_example.wrapper:
 [copy] Copying 1 file to 

 [copy] Copied 1 empty directory to 1 empty directory under 

 [copy] Copying 2 files to 


build_example.check-resources:

build_example.copy-resources:
 [copy] Copying 1 file to 


build_example.compile-js-release:
[mxmlc] MXMLJSC
[mxmlc] 
-load-config+=
[mxmlc] -js-dynamic-access-unknown-members=true
[mxmlc] +playerglobal.version=11.7
[mxmlc] +env.PLAYERGLOBAL_HOME=C:\adobe\flash
[mxmlc] -compiler.debug=false
[mxmlc] +royalelib=C:\jenkins\workspace\royale-asjs/frameworks/
[mxmlc] 
-closure-lib=C:\jenkins\workspace\royale-asjs/js/lib/google/closure-library
[mxmlc] +configname=royale
[mxmlc] -swf-version
[mxmlc] 14
[mxmlc] 
-output=
[mxmlc] --
[mxmlc] 

[mxmlc] Loading configuration: 
C:\jenkins\workspace\royale-asjs\frameworks\royale-config.xml
[mxmlc] Loading configuration: 

[mxmlc] 
[mxmlc] 66512 bytes written to 
C:\jenkins\workspace\Royale_ASDoc_Example\examples\royale\ASDoc\bin-release\ASDoc.swf
 in 8.159 seconds
[mxmlc] Feb 07, 2020 3:53:18 AM 
com.google.javascript.jscomp.LoggerErrorManager printSummary
[mxmlc] INFO: 0 error(s), 0 warning(s), 97.3% typed
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[mxmlc] The project 'ASDoc' has been successfully compiled and optimized.
[mxmlc] 55.2206691 seconds

build_example.check-air:

build_example.copy-app-xml:

main:

json:
 [echo] ROYALE_COMPILER_HOME: C:\jenkins\workspace\royale-asjs/js
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\Core\src\main\royale\org\apache\royale\utils\object\defineSimpleProperty.as(36):
 col: 12 Encountered this keyword within closure. Value of this will not be the 
same as enclosing scope.
 [java] 
 [java] return this[privateProp];
 [java]^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\Core\src\main\royale\org\apache\royale\utils\object\defineSimpleProperty.as(39):
 col: 5 Encountered this keyword within closure. Value of this will not be the 
same as enclosing scope.
 [java] 
 [java] this[privateProp] = val;
 [java] ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\GoogleMaps\src\main\royale\org\apache\royale\maps\google\beads\GoogleMapView.as(114):
 col: 6 Encountered this keyword within closure. Value of this will not be the 
same as enclosing scope.
 [java] 
 [java] (this['mapView'] as 
GoogleMapView).finishInitialization();
 [java]   

Jenkins build is back to normal : royale-asjs #686

2020-02-06 Thread apacheroyaleci
See 




Build failed in Jenkins: royale-asjs #685

2020-02-06 Thread apacheroyaleci
See 


Changes:


--
[...truncated 2.02 MB...]
[royaleunit] Client connected.
[royaleunit] Receiving data ...
[royaleunit] Sending acknowledgement to player to start sending test data ...
[royaleunit] 
[royaleunit] 
[royaleunit] Stopping server ...
[royaleunit] End of test data reached, sending acknowledgement to player ...
[royaleunit] Analyzing reports ...
[royaleunit] 
[royaleunit] Suite: flexUnitTests.mxroyale.FlexSDK_ObjectUtil_Compare_Tests
[royaleunit] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.984 sec
[royaleunit] Suite: flexUnitTests.mxroyale.FlexSDK_ObjectUtil_FLEX_34852_Tests
[royaleunit] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.861 sec
[royaleunit] Suite: flexUnitTests.mxroyale.FlexSDK_ObjectUtil_Tests
[royaleunit] Tests run: 30, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
3.690 sec
[royaleunit] Suite: flexUnitTests.mxroyale.ObjectUtilTest
[royaleunit] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.861 sec
[royaleunit] 
[royaleunit] Results :
[royaleunit] 
[royaleunit] Tests run: 52, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
6.396 sec
[royaleunit] 
[junitreport] Processing 

 to C:\Users\ApacheRoyaleCI\AppData\Local\Temp\null1781932244
[junitreport] Loading stylesheet 
jar:file:/C:/apache/apache-ant-1.9.9/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl
[junitreport] Transform time: 126ms
[junitreport] Deleting: 
C:\Users\ApacheRoyaleCI\AppData\Local\Temp\null1781932244

main:

SparkRoyaleTest:
 [echo] swc-date is 02/07/20 02:36 +

check-for-tests:

check-compiler-home:

check-transpiler-home:

check-compiler:

test:

CruxTest:
 [echo] swc-date is 02/07/20 02:36 +

check-for-tests:

check-compiler-home:

check-transpiler-home:

check-compiler:

test:

JewelTest:
 [echo] swc-date is 02/07/20 02:36 +

check-for-tests:

check-compiler-home:

check-transpiler-home:

check-compiler:

test:

IconsTest:
 [echo] swc-date is 02/07/20 02:36 +

check-for-tests:

check-compiler-home:

check-transpiler-home:

check-compiler:

test:

fonts:

check-compile-env:

check-playerglobal-home:
 [echo] PLAYERGLOBAL_HOME is C:\adobe\flash
 [echo] playerglobal.version is 11.7
 [echo] playerglobal.swc is C:\adobe\flash/11.7/playerglobal.swc

check-air-home:
 [echo] AIR_HOME is C:\adobe\air\4.0\AdobeAIRSDK

check-compiler-home:

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

prepare:

compile:

flat-ui-icons:
 [java] Error: Unable to access jarfile 

 [java] Java Result: 1

main:

main:

tweak-for-jsonly:

ide:

post-build:
[mkdir] Created dir: 

[mkdir] Created dir: 

[mkdir] Created dir: 

[mkdir] Created dir: 

 [copy] Copying 1 file to 

 [copy] Copying 1 file to 

[touch] Creating 

[touch] Creating 

[touch] Creating 


last-message-if-airsdk:

main:
 [echo] ant main target completed on 02/07/2020 02:36:41 AM

sample-themes:

check-runtime-env:

runtime-setup:

mustella-setup:

clean:
   [delete] Deleting: 


check-compiler-home:

check-compiler:

compile:
 [echo] Compiling mustella.swc
 [echo] ROYALE_HOME: 

 [echo] ROYALE_COMPILER_HOME: 

 [java] args:
 [java] 
+royalelib=

Jenkins build is back to normal : royale-asjs_MXTests #601

2020-02-06 Thread apacheroyaleci
See 




Build failed in Jenkins: TourDeFlexMigration #599

2020-02-06 Thread apacheroyaleci
See 


Changes:

[carlosrovira] jewel: Add VirtualList for performant lists that need to recycle

[carlosrovira] jewel: Add VirtualComboBox for combos that need performance in 
the popup

[carlosrovira] jewel-virtualcombox: fix popup reference

[carlosrovira] tour-de-jewel: add virtual lists pane with VirtualList and

[carlosrovira] some missing imports


--
Started by upstream project "royale-asjs" build number 684
originally caused by:
 Started by upstream project "royale-asjs_jsonly" build number 769
 originally caused by:
  Started by an SCM change
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on agent1 in workspace 

No credentials specified
 > C:\Program Files\Git\cmd\git.exe rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > C:\Program Files\Git\cmd\git.exe config remote.origin.url 
 > https://github.com/apache/royale-asjs # timeout=10
Fetching upstream changes from https://github.com/apache/royale-asjs
 > C:\Program Files\Git\cmd\git.exe --version # timeout=10
 > C:\Program Files\Git\cmd\git.exe fetch --tags --force --progress -- 
 > https://github.com/apache/royale-asjs +refs/heads/*:refs/remotes/origin/*
 > C:\Program Files\Git\cmd\git.exe rev-parse 
 > "refs/remotes/origin/develop^{commit}" # timeout=10
 > C:\Program Files\Git\cmd\git.exe rev-parse 
 > "refs/remotes/origin/origin/develop^{commit}" # timeout=10
Checking out Revision 4a0a65206a7e3977aa15c6681ade6ae191353b53 
(refs/remotes/origin/develop)
 > C:\Program Files\Git\cmd\git.exe config core.sparsecheckout # timeout=10
 > C:\Program Files\Git\cmd\git.exe checkout -f 
 > 4a0a65206a7e3977aa15c6681ade6ae191353b53
Commit message: "some missing imports"
 > C:\Program Files\Git\cmd\git.exe rev-list --no-walk 
 > 1e3b81581b3ddb0845b3bdabe4e0915e6151c2c1 # timeout=10
[tourdeflexmodules] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file 
build.xml 
-Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe 
-Denv.PLAYERGLOBAL_HOME=C:\adobe\flash 
-Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK 
-DROYALE_HOME=C:\jenkins\workspace\royale-asjs -Dbuild.noprompt=true 
-Dplayerglobal.version=11.7 clean compile && exit %%ERRORLEVEL%%"
Buildfile: 


clean:
   [delete] Deleting directory 


compile-shell:
[mkdir] Created dir: 

[mxmlc] MXMLJSC
[mxmlc] -module-output=/
[mxmlc] -js-compiler-option=--variable_map_output_file gcc_variablemap.txt
[mxmlc] -js-compiler-option+=--property_map_output_file gcc_propertymap.txt
[mxmlc] 
-externs-report=
[mxmlc] 
-link-report=
[mxmlc] +playerglobal.version=11.7
[mxmlc] +env.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK
[mxmlc] +env.PLAYERGLOBAL_HOME=C:\adobe\flash
[mxmlc] -compiler.debug=false
[mxmlc] +royalelib=C:\jenkins\workspace\royale-asjs/frameworks/
[mxmlc] 
-load-config=C:\jenkins\workspace\royale-asjs/frameworks/flex-config.xml
[mxmlc] 
-output=
[mxmlc] --
[mxmlc] 

[mxmlc] Loading configuration: 
C:\jenkins\workspace\royale-asjs\frameworks\flex-config.xml
[mxmlc] 
[mxmlc] 329998 bytes written to 
C:\jenkins\workspace\TourDeFlexMigration\examples\mxroyale\tourdeflexmodules\bin-debug\explorer.swf
 in 11.145 seconds
[mxmlc] Feb 07, 2020 1:00:04 AM 
com.google.javascript.jscomp.LoggerErrorManager println
[mxmlc] WARNING: 
c:/jenkins/workspace/TourDeFlexMigration/examples/mxroyale/tourdeflexmodules/bin/js-debug/SourceTab.js:124:
 WARNING - Invalid flags to RegExp constructor: STRING gs 124 [length: 4] 
[source_file: 
c:/jenkins/workspace/TourDeFlexMigration/examples/mxroyale/tourdeflexmodules/bin/js-debug/SourceTab.js]
 : string
[mxmlc]   var /** @type {RegExp} */ r = new RegExp("\r\n", "gs");
[mxmlc]

Build failed in Jenkins: Royale_ASDoc_Example #600

2020-02-06 Thread apacheroyaleci
See 


Changes:

[carlosrovira] jewel: Add VirtualList for performant lists that need to recycle

[carlosrovira] jewel: Add VirtualComboBox for combos that need performance in 
the popup

[carlosrovira] jewel-virtualcombox: fix popup reference

[carlosrovira] tour-de-jewel: add virtual lists pane with VirtualList and

[carlosrovira] some missing imports


--
[...truncated 5.09 KB...]
[mxmlc] 14
[mxmlc] 
-output=
[mxmlc] --
[mxmlc] 

[mxmlc] Loading configuration: 
C:\jenkins\workspace\royale-asjs\frameworks\royale-config.xml
[mxmlc] Loading configuration: 

[mxmlc] 
[mxmlc] 131231 bytes written to 
C:\jenkins\workspace\Royale_ASDoc_Example\examples\royale\ASDoc\bin-debug\ASDoc.swf
 in 13.674 seconds
[mxmlc] The project 'ASDoc' has been successfully compiled.
[mxmlc] 33.4149681 seconds
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

build_example.check-air:

build_example.wrapper:
 [copy] Copying 1 file to 

 [copy] Copied 1 empty directory to 1 empty directory under 

 [copy] Copying 2 files to 


build_example.check-resources:

build_example.copy-resources:
 [copy] Copying 1 file to 


build_example.compile-js-release:
[mxmlc] MXMLJSC
[mxmlc] 
-load-config+=
[mxmlc] -js-dynamic-access-unknown-members=true
[mxmlc] +playerglobal.version=11.7
[mxmlc] +env.PLAYERGLOBAL_HOME=C:\adobe\flash
[mxmlc] -compiler.debug=false
[mxmlc] +royalelib=C:\jenkins\workspace\royale-asjs/frameworks/
[mxmlc] 
-closure-lib=C:\jenkins\workspace\royale-asjs/js/lib/google/closure-library
[mxmlc] +configname=royale
[mxmlc] -swf-version
[mxmlc] 14
[mxmlc] 
-output=
[mxmlc] --
[mxmlc] 

[mxmlc] Loading configuration: 
C:\jenkins\workspace\royale-asjs\frameworks\royale-config.xml
[mxmlc] Loading configuration: 

[mxmlc] 
[mxmlc] 66695 bytes written to 
C:\jenkins\workspace\Royale_ASDoc_Example\examples\royale\ASDoc\bin-release\ASDoc.swf
 in 9.582 seconds
[mxmlc] Feb 07, 2020 12:55:24 AM 
com.google.javascript.jscomp.LoggerErrorManager printSummary
[mxmlc] INFO: 0 error(s), 0 warning(s), 97.3% typed
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[mxmlc] The project 'ASDoc' has been successfully compiled and optimized.
[mxmlc] 62.2544992 seconds

build_example.check-air:

build_example.copy-app-xml:

main:

json:
 [echo] ROYALE_COMPILER_HOME: C:\jenkins\workspace\royale-asjs/js
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\Core\src\main\royale\org\apache\royale\utils\object\defineSimpleProperty.as(36):
 col: 12 Encountered this keyword within closure. Value of this will not be the 
same as enclosing scope.
 [java] 
 [java] return this[privateProp];
 [java]^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\Core\src\main\royale\org\apache\royale\utils\object\defineSimpleProperty.as(39):
 col: 5 Encountered this keyword within closure. Value of this will not be the 
same as enclosing scope.
 [java] 
 [java] this[privateProp] = val;
 [java] ^
 [java] 
 [java] 
C:\jenkins\worksp

Jenkins build is back to normal : royale-asjs #684

2020-02-06 Thread apacheroyaleci
See 




Build failed in Jenkins: royale-asjs #683

2020-02-06 Thread apacheroyaleci
See 


Changes:


--
[...truncated 1.79 MB...]
 [java] 
+royalelib=
 [java] -compiler.strict-xml=true
 [java] -compiler.targets=SWF,JSRoyale
 [java] -metadata.date=02/06/20 20:21 +
 [java] -metadata.dateFormat=MM/dd/yy HH:mm Z
 [java] -swf-debugfile-alias=/org/apache/royale/0.9.7
 [java] 
-output=
 [java] 
-load-config=
 [java] 
-load-config+=
 [java] target:SWF
 [java] target:JSRoyale
 [java] COMPC
 [java] Loading configuration: 

 [java] Loading configuration: 

 [java] 
 [java] 134388 bytes written to 
C:\jenkins\workspace\royale-asjs\frameworks\js\projects\CruxJS\target\CruxJS.swc
 in 4.571 seconds
 [java] COMPCJSCRoyale
 [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
 [java] 17.3983353 seconds
 [copy] Copying 1 file to 


main:

copy-swc:
 [copy] Copying 1 file to 


check-for-tests:

test:

main:

Jewel:
 [echo] swc-date is 02/06/20 20:21 +

clean:
 [echo] swc-date is 02/06/20 20:21 +

check-for-tests:

clean-tests:

check-compiler-home:

check-transpiler-home:

check-compiler:

compile:
 [echo] swc-date is 02/06/20 20:21 +

compile-swf:
 [echo] Compiling libs/Jewel.swc
 [echo] ROYALE_HOME: 

 [echo] ROYALE_SWF_COMPILER_HOME: 

 [echo] ROYALE_COMPILER_HOME: 

 [java] args:
 [java] 
+royalelib=
 [java] +playerglobal.version=11.7
 [java] +env.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK
 [java] -compiler.strict-xml=true
 [java] -compiler.targets=SWF,JSRoyale
 [java] -metadata.date=02/06/20 20:21 +
 [java] -metadata.dateFormat=MM/dd/yy HH:mm Z
 [java] -swf-debugfile-alias=/org/apache/royale/0.9.7
 [java] 
-output=
 [java] 
-load-config=
 [java] 
-js-load-config=
 [java] 
-js-load-config+=
 [java] target:SWF
 [java] target:JSRoyale
 [java] COMPC
 [java] Loading configuration: 

 [java] 
 [java] 
:
 col: 24 Error: Type was not found or was not a compile-time constant: EdgeData.
 [java] 
 [java] var paddingMetrics:EdgeData = 
(ValuesManager.valuesImpl as 
IBorderPaddingMarginValuesImpl).getPaddingMetrics(host);
 [java]^
 [java] 
 [java] 
:
 col: 36 Error: Access of possibly undefined property ValuesManager.
 [java] 
 [java] var paddingMetrics:EdgeData = 
(ValuesManager.valuesImpl as 
IBorderPaddingMarginValuesImpl).getPaddingMetrics(host);
 [java]^
 [java] 
 

Build failed in Jenkins: royale-asjs #682

2020-02-06 Thread apacheroyaleci
See 


Changes:

[carlosrovira] jewel: Add VirtualList for performant lists that need to recycle

[carlosrovira] jewel: Add VirtualComboBox for combos that need performance in 
the popup

[carlosrovira] jewel-virtualcombox: fix popup reference

[carlosrovira] tour-de-jewel: add virtual lists pane with VirtualList and


--
[...truncated 1.79 MB...]
 [java] 
+royalelib=
 [java] -compiler.strict-xml=true
 [java] -compiler.targets=SWF,JSRoyale
 [java] -metadata.date=02/06/20 19:16 +
 [java] -metadata.dateFormat=MM/dd/yy HH:mm Z
 [java] -swf-debugfile-alias=/org/apache/royale/0.9.7
 [java] 
-output=
 [java] 
-load-config=
 [java] 
-load-config+=
 [java] target:SWF
 [java] target:JSRoyale
 [java] COMPC
 [java] Loading configuration: 

 [java] Loading configuration: 

 [java] 
 [java] 134388 bytes written to 
C:\jenkins\workspace\royale-asjs\frameworks\js\projects\CruxJS\target\CruxJS.swc
 in 7.842 seconds
 [java] COMPCJSCRoyale
 [java] 13.2863766 seconds
 [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
 [copy] Copying 1 file to 


main:

copy-swc:
 [copy] Copying 1 file to 


check-for-tests:

test:

main:

Jewel:
 [echo] swc-date is 02/06/20 19:16 +

clean:
 [echo] swc-date is 02/06/20 19:16 +

check-for-tests:

clean-tests:

check-compiler-home:

check-transpiler-home:

check-compiler:

compile:
 [echo] swc-date is 02/06/20 19:16 +

compile-swf:
 [echo] Compiling libs/Jewel.swc
 [echo] ROYALE_HOME: 

 [echo] ROYALE_SWF_COMPILER_HOME: 

 [echo] ROYALE_COMPILER_HOME: 

 [java] args:
 [java] 
+royalelib=
 [java] +playerglobal.version=11.7
 [java] +env.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK
 [java] -compiler.strict-xml=true
 [java] -compiler.targets=SWF,JSRoyale
 [java] -metadata.date=02/06/20 19:16 +
 [java] -metadata.dateFormat=MM/dd/yy HH:mm Z
 [java] -swf-debugfile-alias=/org/apache/royale/0.9.7
 [java] 
-output=
 [java] 
-load-config=
 [java] 
-js-load-config=
 [java] 
-js-load-config+=
 [java] target:SWF
 [java] target:JSRoyale
 [java] COMPC
 [java] Loading configuration: 

 [java] 
 [java] 
:
 col: 24 Error: Type was not found or was not a compile-time constant: EdgeData.
 [java] 
 [java] var paddingMetrics:EdgeData = 
(ValuesManager.valuesImpl as 
IBorderPaddingMarginValuesImpl).getPaddingMetrics(host);
 [java]^
 [java] 
 [java] 
:
 col: 36 Error:

Jenkins build is back to normal : royale-compiler-integration-tests #523

2020-02-06 Thread apacheroyaleci
See 




Build failed in Jenkins: royale-asjs_MXTests #600

2020-02-06 Thread apacheroyaleci
See 


Changes:

[carlosrovira] jewel: Add VirtualList for performant lists that need to recycle

[carlosrovira] jewel: Add VirtualComboBox for combos that need performance in 
the popup


--
[...truncated 637.58 KB...]
 [java] 
+royalelib=
 [java] -compiler.strict-xml=true
 [java] -compiler.targets=SWF,JSRoyale
 [java] -metadata.date=02/06/20 18:13 +
 [java] -metadata.dateFormat=MM/dd/yy HH:mm Z
 [java] -swf-debugfile-alias=/org/apache/royale/0.9.7
 [java] 
-output=
 [java] 
-load-config=
 [java] 
-load-config+=
 [java] target:SWF
 [java] target:JSRoyale
 [java] COMPC
 [java] Loading configuration: 

 [java] Loading configuration: 

 [java] 
 [java] 134388 bytes written to 
C:\jenkins\workspace\royale-asjs_MXTests\frameworks\js\projects\CruxJS\target\CruxJS.swc
 in 4.387 seconds
 [java] COMPCJSCRoyale
 [java] 12.531198 seconds
 [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
 [copy] Copying 1 file to 


main:

copy-swc:
 [copy] Copying 1 file to 


check-for-tests:

test:

main:

Jewel:
 [echo] swc-date is 02/06/20 18:13 +

clean:
 [echo] swc-date is 02/06/20 18:13 +

check-for-tests:

clean-tests:

check-compiler-home:

check-transpiler-home:

check-compiler:

compile:
 [echo] swc-date is 02/06/20 18:13 +

compile-swf:
 [echo] Compiling libs/Jewel.swc
 [echo] ROYALE_HOME: 

 [echo] ROYALE_SWF_COMPILER_HOME: 

 [echo] ROYALE_COMPILER_HOME: 

 [java] args:
 [java] 
+royalelib=
 [java] +playerglobal.version=11.7
 [java] +env.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK
 [java] -compiler.strict-xml=true
 [java] -compiler.targets=SWF,JSRoyale
 [java] -metadata.date=02/06/20 18:13 +
 [java] -metadata.dateFormat=MM/dd/yy HH:mm Z
 [java] -swf-debugfile-alias=/org/apache/royale/0.9.7
 [java] 
-output=
 [java] 
-load-config=
 [java] 
-js-load-config=
 [java] 
-js-load-config+=
 [java] target:SWF
 [java] target:JSRoyale
 [java] COMPC
 [java] Loading configuration: 

 [java] 
 [java] 
:
 col: 24 Error: Type was not found or was not a compile-time constant: EdgeData.
 [java] 
 [java] var paddingMetrics:EdgeData = 
(ValuesManager.valuesImpl as 
IBorderPaddingMarginValuesImpl).getPaddingMetrics(host);
 [java]^
 [java] 
 [java] 


Build failed in Jenkins: Royale_ASDoc_Example #599

2020-02-06 Thread apacheroyaleci
See 


Changes:


--
[...truncated 5.19 KB...]
[mxmlc] 14
[mxmlc] 
-output=
[mxmlc] --
[mxmlc] 

[mxmlc] Loading configuration: 
C:\jenkins\workspace\royale-asjs\frameworks\royale-config.xml
[mxmlc] Loading configuration: 

[mxmlc] 
[mxmlc] 131232 bytes written to 
C:\jenkins\workspace\Royale_ASDoc_Example\examples\royale\ASDoc\bin-debug\ASDoc.swf
 in 19.118 seconds
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[mxmlc] The project 'ASDoc' has been successfully compiled.
[mxmlc] 35.0291127 seconds

build_example.check-air:

build_example.wrapper:
 [copy] Copying 1 file to 

 [copy] Copied 1 empty directory to 1 empty directory under 

 [copy] Copying 2 files to 


build_example.check-resources:

build_example.copy-resources:
 [copy] Copying 1 file to 


build_example.compile-js-release:
[mxmlc] MXMLJSC
[mxmlc] 
-load-config+=
[mxmlc] -js-dynamic-access-unknown-members=true
[mxmlc] +playerglobal.version=11.7
[mxmlc] +env.PLAYERGLOBAL_HOME=C:\adobe\flash
[mxmlc] -compiler.debug=false
[mxmlc] +royalelib=C:\jenkins\workspace\royale-asjs/frameworks/
[mxmlc] 
-closure-lib=C:\jenkins\workspace\royale-asjs/js/lib/google/closure-library
[mxmlc] +configname=royale
[mxmlc] -swf-version
[mxmlc] 14
[mxmlc] 
-output=
[mxmlc] --
[mxmlc] 

[mxmlc] Loading configuration: 
C:\jenkins\workspace\royale-asjs\frameworks\royale-config.xml
[mxmlc] Loading configuration: 

[mxmlc] 
[mxmlc] 66695 bytes written to 
C:\jenkins\workspace\Royale_ASDoc_Example\examples\royale\ASDoc\bin-release\ASDoc.swf
 in 17.274 seconds
[mxmlc] Feb 06, 2020 4:29:48 PM 
com.google.javascript.jscomp.LoggerErrorManager printSummary
[mxmlc] INFO: 0 error(s), 0 warning(s), 97.3% typed
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[mxmlc] The project 'ASDoc' has been successfully compiled and optimized.
[mxmlc] 57.9370467 seconds

build_example.check-air:

build_example.copy-app-xml:

main:

json:
 [echo] ROYALE_COMPILER_HOME: C:\jenkins\workspace\royale-asjs/js
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\Core\src\main\royale\org\apache\royale\utils\object\defineSimpleProperty.as(36):
 col: 12 Encountered this keyword within closure. Value of this will not be the 
same as enclosing scope.
 [java] 
 [java] return this[privateProp];
 [java]^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\Core\src\main\royale\org\apache\royale\utils\object\defineSimpleProperty.as(39):
 col: 5 Encountered this keyword within closure. Value of this will not be the 
same as enclosing scope.
 [java] 
 [java] this[privateProp] = val;
 [java] ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\GoogleMaps\src\main\royale\org\apache\royale\maps\google\beads\GoogleMapView.as(114):
 col: 6 Encountered this keyword within closure. Value of this will not be the 
same as enclosing scope.
 [java] 
 [java] (this['mapView'] as 
GoogleMapView).finishInitialization();
 [java]  

Re: Maven Distribution SDK fixed and working for IDEs

2020-02-06 Thread Josh Tynjala
Yeah, I don't see why Moonshine is reporting those errors, but VSCode does
not. If royale-config.xml is referencing SWCs that don't exist, that should
affect both IDEs.

Regardless, like you explained, the same issue should reproduce when
compiling from a terminal without Moonshine.

--
Josh Tynjala
Bowler Hat LLC 


On Thu, Feb 6, 2020 at 5:10 AM Piotr Zarzycki 
wrote:

> Hi Carlos,
>
> Yeah it would be pretty great if you could setup Moonshine, but you don't
> have to do that actually to reproduce the issue. Command which I have
> pasted in this thread can be copy and used in Terminal with small path
> adjustment. Try it on any project you have using distribution build and for
> sure you will get the error.
>
> In case of Moonshine we have freez code for commits and prepare for
> release, we have some internal problems with bamboo build - if it will get
> resolved we should have release early next week. You can always try Nightly
> build.
>
> I'm really surprised that VSCode do not throwing the same error - What
> could be the case Josh? The only difference is that we are using mxmlc file
> and VSCode is probably using jar file, but playerglobal.swc doesn't exists
> so both should report same issue.
>
> Thanks,
> Piotr
>
> czw., 6 lut 2020 o 13:02 Carlos Rovira 
> napisał(a):
>
> > Hi Piotr,
> >
> > so I think you're a bit closer (not farther ;)), since compiler was
> found.
> > Now is a matter to find what's missing.
> > What's curious for me is VSCode recognizes but Moonshine not. I think the
> > problem is each IDE is looking at different things to match a valid SDK,
> > and maybe even we could be setting duplicate artifacts in the SDK so
> VSCode
> > finds all but Moonshine not.
> > I'll be setup Moonshine as I have time to try it.
> > I think you plan to launch a new one soon right? should I wait for it?
> >
> > Thanks
> >
> >
> > El jue., 6 feb. 2020 a las 7:53, Piotr Zarzycki (<
> > piotrzarzyck...@gmail.com>)
> > escribió:
> >
> > > Hi Carlos,
> > >
> > > I just tried your changes and I'm a bit farther. Now I'm getting
> > following
> > > errors. It's throwing that errors cause in JS only binaries prepared by
> > ant
> > > we have in following location
> > > /frameworks/libs/player/{playerbersion}/playerglobal.swc fake
> > > playerglobal.swc, so distribution should probably have the same.
> > >
> > >
> > >
> >
> /Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/js/bin/mxmlc"
> > > > -load-config+=obj/NewJavaScriptBrowserProjectConfig.xml -debug=true
> > > > -source-map=true -compiler.targets=JSRoyale
> > > > -js-output="/Users/piotr/Downloads/Tests/NewJavaScriptBrowserProject"
> > > > : Using Royale Compiler codebase:
> > > > /Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution
> > > > : Using Royale SDK:
> > > > /Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution
> > > > : MXMLJSC
> > > > :
> > > >
> > >
> >
> +royalelib=/Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks
> > > > :
> > > >
> > >
> >
> -sdk-js-lib=/Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/js/Royale/generated-sources
> > > > : -load-config+=obj/NewJavaScriptBrowserProjectConfig.xml
> > > > : -debug=true
> > > > : -source-map=true
> > > > : -compiler.targets=JSRoyale
> > > > : -js-output=/Users/piotr/Downloads/Tests/NewJavaScriptBrowserProject
> > > > :
> > > >
> > >
> >
> /Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/royale-config.xml(74):
> > > > col: 0 Error: unable to open
> > > >
> > >
> >
> '/Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/libs/player/20.0/playerglobal.swc'.
> > > > :
> > > >
> > >
> >
> /Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/royale-config.xml
> > > > (line: 74)
> > > > :   
> > > > :
> > > >
> > >
> >
> /Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/royale-config.xml(81):
> > > > col: 0 Error: unable to open
> > > >
> > >
> >
> '/Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/js/libs/royale-typedefs-js-0.9.7-SNAPSHOT-typedefs.swc'.
> > > > :
> > > >
> > >
> >
> /Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/royale-config.xml
> > > > (line: 81)
> > > > :   
> > > > :
> > > >
> > >
> >
> /Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/royale-config.xml(81):
> > > > col: 0 Error: unable to open
> > > >
> > >
> >
> '/Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/js/libs/royale-typedefs-gcl-0.9.7-SNAPSHOT-typedefs.swc'.
> > > > :
> > > >
> > >
> >
> /Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/royale-config.xml
> > > > (line: 81)
> > > > :   
> > > > :
> > > >
> > >
> >
> /Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/royale-config.xml(99):
> > > > col: 0 Error: unable

Re: No script message on public site

2020-02-06 Thread Josh Tynjala
I don't think Jude is talking about using  in a Royale app. I
think he's saying that the official Apache Flex homepage (or is that a
typo? maybe it's the Royale site) requires JavaScript and should have a
fallback .

--
Josh Tynjala
Bowler Hat LLC 


On Wed, Feb 5, 2020 at 6:10 PM Alex Harui  wrote:

> Well, my PAYG philosophy says that the compiler would not generate a
> noscript tag so that we can save a few bytes for those who can safely
> assume that their users are running JS.  The compiler already supports an
> -html-template option where you specify your own template and the compiler
> fills in a few slots, so folks who want a  can use a custom
> template and thus customize what the  says.
>
> If you want to post an example of how to use the -html-template option to
> implement a noscript tag in a Royale app, that would be great.
>
> -Alex
>
> On 2/5/20, 1:59 PM, "QA"  wrote:
>
> Visited
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fflex.apache.org%2F&data=02%7C01%7Caharui%40adobe.com%7C04d6243e688a4a7631e908d7aa869d0c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637165367446693874&sdata=EyUl3R5S362nuLx3GKy7opI1L1YirLI6A%2BzLduL71S4%3D&reserved=0
> with JavaScript disabled and noticed
> some of the content wasn't visible. Would it be possible to add a
> noscript
> <
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdeveloper.mozilla.org%2Fen-US%2Fdocs%2FWeb%2FHTML%2FElement%2Fnoscript&data=02%7C01%7Caharui%40adobe.com%7C04d6243e688a4a7631e908d7aa869d0c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637165367446693874&sdata=iQqA27lc8H6sZUGog75%2FuDFwwZutX9%2Bg6gasP0Ub%2Boo%3D&reserved=0>
>
> message?
>
> Jude
>
>
>
>


Build failed in Jenkins: royale-compiler-integration-tests #522

2020-02-06 Thread apacheroyaleci
See 


Changes:


--
[...truncated 129.72 KB...]
[junit] SEVERE: goog/object/object.js:263: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   const isArrayLike = goog.isArrayLike(var_args);
[junit]   ^
[junit] 
[junit] Feb 06, 2020 3:20:47 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:264: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   const keys = isArrayLike ?
[junit]   ^
[junit] 
[junit] Feb 06, 2020 3:20:47 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:269: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: let declaration.
[junit]   for (let i = isArrayLike ? 0 : 1; i < keys.length; i++) {
[junit]^
[junit] 
[junit] Feb 06, 2020 3:20:47 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:299: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   for (const key in obj) {
[junit]^
[junit] 
[junit] Feb 06, 2020 3:20:47 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:321: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   for (const key in obj) {
[junit]^
[junit] 
[junit] Feb 06, 2020 3:20:47 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:343: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   const key = goog.object.findKey(obj, f, opt_this);
[junit]   ^
[junit] 
[junit] Feb 06, 2020 3:20:47 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:355: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   for (const key in obj) {
[junit]^
[junit] 
[junit] Feb 06, 2020 3:20:47 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:368: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   for (const i in obj) {
[junit]^
[junit] 
[junit] Feb 06, 2020 3:20:47 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:382: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: let declaration.
[junit]   let rv;
[junit]   ^
[junit] 
[junit] Feb 06, 2020 3:20:47 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:472: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   const val = f();
[junit]   ^
[junit] 
[junit] Feb 06, 2020 3:20:47 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:487: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   for (const k in a) {
[junit]^
[junit] 
[junit] Feb 06, 2020 3:20:47 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:492: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   for (const k in b) {
[junit]^
[junit] 
[junit] Feb 06, 2020 3:20:47 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:512: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   const res = {};
[junit]   ^
[junit] 
[junit] Feb 06, 2020 3:20:47 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:513: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   for (const key in obj) {
[junit]^
[junit] 
[junit] Feb 06, 2020 3:20:47 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:537: ERROR - This language feature is 
only supported for ECMASCRIPT6 mode or better: const declaration.
[junit]   const type = goog.typeOf(obj);
[junit]   ^
[junit] 
[junit] Feb 06, 2020 3:20:47 PM 
com.google.javascript.jscomp.LoggerErrorManager println
[junit] SEVERE: goog/object/object.js:542: ERROR - This language feature is 
only support

Jenkins build is back to normal : royale-asjs_MXTests #599

2020-02-06 Thread apacheroyaleci
See 




Build failed in Jenkins: Royale_ASDoc_Example #598

2020-02-06 Thread apacheroyaleci
See 


Changes:

[yishayjobs] Adding another model to network, can be convenient for displaying


--
[...truncated 6.43 KB...]
[mxmlc] 14
[mxmlc] 
-output=
[mxmlc] --
[mxmlc] 

[mxmlc] Loading configuration: 
C:\jenkins\workspace\royale-asjs\frameworks\royale-config.xml
[mxmlc] Loading configuration: 

[mxmlc] 
[mxmlc] 131232 bytes written to 
C:\jenkins\workspace\Royale_ASDoc_Example\examples\royale\ASDoc\bin-debug\ASDoc.swf
 in 8.384 seconds
[mxmlc] The project 'ASDoc' has been successfully compiled.
[mxmlc] 24.7764009 seconds
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

build_example.check-air:

build_example.wrapper:
 [copy] Copying 1 file to 

 [copy] Copied 1 empty directory to 1 empty directory under 

 [copy] Copying 2 files to 


build_example.check-resources:

build_example.copy-resources:
 [copy] Copying 1 file to 


build_example.compile-js-release:
[mxmlc] MXMLJSC
[mxmlc] 
-load-config+=
[mxmlc] -js-dynamic-access-unknown-members=true
[mxmlc] +playerglobal.version=11.7
[mxmlc] +env.PLAYERGLOBAL_HOME=C:\adobe\flash
[mxmlc] -compiler.debug=false
[mxmlc] +royalelib=C:\jenkins\workspace\royale-asjs/frameworks/
[mxmlc] 
-closure-lib=C:\jenkins\workspace\royale-asjs/js/lib/google/closure-library
[mxmlc] +configname=royale
[mxmlc] -swf-version
[mxmlc] 14
[mxmlc] 
-output=
[mxmlc] --
[mxmlc] 

[mxmlc] Loading configuration: 
C:\jenkins\workspace\royale-asjs\frameworks\royale-config.xml
[mxmlc] Loading configuration: 

[mxmlc] 
[mxmlc] 66584 bytes written to 
C:\jenkins\workspace\Royale_ASDoc_Example\examples\royale\ASDoc\bin-release\ASDoc.swf
 in 11.748 seconds
[mxmlc] Feb 06, 2020 1:25:00 PM 
com.google.javascript.jscomp.LoggerErrorManager printSummary
[mxmlc] INFO: 0 error(s), 0 warning(s), 97.3% typed
[mxmlc] The project 'ASDoc' has been successfully compiled and optimized.
[mxmlc] 42.1290173 seconds
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

build_example.check-air:

build_example.copy-app-xml:

main:

json:
 [echo] ROYALE_COMPILER_HOME: C:\jenkins\workspace\royale-asjs/js
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\Core\src\main\royale\org\apache\royale\utils\object\defineSimpleProperty.as(36):
 col: 12 Encountered this keyword within closure. Value of this will not be the 
same as enclosing scope.
 [java] 
 [java] return this[privateProp];
 [java]^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\Core\src\main\royale\org\apache\royale\utils\object\defineSimpleProperty.as(39):
 col: 5 Encountered this keyword within closure. Value of this will not be the 
same as enclosing scope.
 [java] 
 [java] this[privateProp] = val;
 [java] ^
 [java] 
 [java] 
C:\jenkins\workspace\royale-asjs\frameworks\projects\GoogleMaps\src\main\royale\org\apache\royale\maps\google\beads\GoogleMapView.as(114):
 col: 6 Encountered this keyword within closure. Value of this will not be the 
same as enclosing scope.
 [java] 
 [java]  

Re: Maven Distribution SDK fixed and working for IDEs

2020-02-06 Thread Piotr Zarzycki
Hi Carlos,

Yeah it would be pretty great if you could setup Moonshine, but you don't
have to do that actually to reproduce the issue. Command which I have
pasted in this thread can be copy and used in Terminal with small path
adjustment. Try it on any project you have using distribution build and for
sure you will get the error.

In case of Moonshine we have freez code for commits and prepare for
release, we have some internal problems with bamboo build - if it will get
resolved we should have release early next week. You can always try Nightly
build.

I'm really surprised that VSCode do not throwing the same error - What
could be the case Josh? The only difference is that we are using mxmlc file
and VSCode is probably using jar file, but playerglobal.swc doesn't exists
so both should report same issue.

Thanks,
Piotr

czw., 6 lut 2020 o 13:02 Carlos Rovira  napisał(a):

> Hi Piotr,
>
> so I think you're a bit closer (not farther ;)), since compiler was found.
> Now is a matter to find what's missing.
> What's curious for me is VSCode recognizes but Moonshine not. I think the
> problem is each IDE is looking at different things to match a valid SDK,
> and maybe even we could be setting duplicate artifacts in the SDK so VSCode
> finds all but Moonshine not.
> I'll be setup Moonshine as I have time to try it.
> I think you plan to launch a new one soon right? should I wait for it?
>
> Thanks
>
>
> El jue., 6 feb. 2020 a las 7:53, Piotr Zarzycki (<
> piotrzarzyck...@gmail.com>)
> escribió:
>
> > Hi Carlos,
> >
> > I just tried your changes and I'm a bit farther. Now I'm getting
> following
> > errors. It's throwing that errors cause in JS only binaries prepared by
> ant
> > we have in following location
> > /frameworks/libs/player/{playerbersion}/playerglobal.swc fake
> > playerglobal.swc, so distribution should probably have the same.
> >
> >
> >
> /Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/js/bin/mxmlc"
> > > -load-config+=obj/NewJavaScriptBrowserProjectConfig.xml -debug=true
> > > -source-map=true -compiler.targets=JSRoyale
> > > -js-output="/Users/piotr/Downloads/Tests/NewJavaScriptBrowserProject"
> > > : Using Royale Compiler codebase:
> > > /Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution
> > > : Using Royale SDK:
> > > /Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution
> > > : MXMLJSC
> > > :
> > >
> >
> +royalelib=/Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks
> > > :
> > >
> >
> -sdk-js-lib=/Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/js/Royale/generated-sources
> > > : -load-config+=obj/NewJavaScriptBrowserProjectConfig.xml
> > > : -debug=true
> > > : -source-map=true
> > > : -compiler.targets=JSRoyale
> > > : -js-output=/Users/piotr/Downloads/Tests/NewJavaScriptBrowserProject
> > > :
> > >
> >
> /Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/royale-config.xml(74):
> > > col: 0 Error: unable to open
> > >
> >
> '/Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/libs/player/20.0/playerglobal.swc'.
> > > :
> > >
> >
> /Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/royale-config.xml
> > > (line: 74)
> > > :   
> > > :
> > >
> >
> /Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/royale-config.xml(81):
> > > col: 0 Error: unable to open
> > >
> >
> '/Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/js/libs/royale-typedefs-js-0.9.7-SNAPSHOT-typedefs.swc'.
> > > :
> > >
> >
> /Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/royale-config.xml
> > > (line: 81)
> > > :   
> > > :
> > >
> >
> /Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/royale-config.xml(81):
> > > col: 0 Error: unable to open
> > >
> >
> '/Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/js/libs/royale-typedefs-gcl-0.9.7-SNAPSHOT-typedefs.swc'.
> > > :
> > >
> >
> /Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/royale-config.xml
> > > (line: 81)
> > > :   
> > > :
> > >
> >
> /Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/royale-config.xml(99):
> > > col: 0 Error: unable to open
> > >
> >
> '/Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/libs/player/20.0'.
> > > :
> > >
> >
> /Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/royale-config.xml
> > > (line: 99)
> > > :   
> > > : 1.034449561 seconds
> >
> >
> > Thanks,
> > Piotr
> >
> > czw., 6 lut 2020 o 00:43 Carlos Rovira 
> > napisał(a):
> >
> > > Thanks Josh for pointing that out I think I got it.
> > >
> > > @Piotr Zarzycki  please try with my latest
> > > commit. I couldn't test myself, but I think it should work now for
> > > Moonshine.
> > > VSCode still work with this changes.
> > >
> > > Thanks
> > >
>

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

2020-02-06 Thread apacheroyaleci
See 




Jenkins build is back to normal : royale-typedefs #322

2020-02-06 Thread apacheroyaleci
See 




Re: Maven Distribution SDK fixed and working for IDEs

2020-02-06 Thread Carlos Rovira
Hi Piotr,

so I think you're a bit closer (not farther ;)), since compiler was found.
Now is a matter to find what's missing.
What's curious for me is VSCode recognizes but Moonshine not. I think the
problem is each IDE is looking at different things to match a valid SDK,
and maybe even we could be setting duplicate artifacts in the SDK so VSCode
finds all but Moonshine not.
I'll be setup Moonshine as I have time to try it.
I think you plan to launch a new one soon right? should I wait for it?

Thanks


El jue., 6 feb. 2020 a las 7:53, Piotr Zarzycki ()
escribió:

> Hi Carlos,
>
> I just tried your changes and I'm a bit farther. Now I'm getting following
> errors. It's throwing that errors cause in JS only binaries prepared by ant
> we have in following location
> /frameworks/libs/player/{playerbersion}/playerglobal.swc fake
> playerglobal.swc, so distribution should probably have the same.
>
>
> /Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/js/bin/mxmlc"
> > -load-config+=obj/NewJavaScriptBrowserProjectConfig.xml -debug=true
> > -source-map=true -compiler.targets=JSRoyale
> > -js-output="/Users/piotr/Downloads/Tests/NewJavaScriptBrowserProject"
> > : Using Royale Compiler codebase:
> > /Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution
> > : Using Royale SDK:
> > /Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution
> > : MXMLJSC
> > :
> >
> +royalelib=/Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks
> > :
> >
> -sdk-js-lib=/Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/js/Royale/generated-sources
> > : -load-config+=obj/NewJavaScriptBrowserProjectConfig.xml
> > : -debug=true
> > : -source-map=true
> > : -compiler.targets=JSRoyale
> > : -js-output=/Users/piotr/Downloads/Tests/NewJavaScriptBrowserProject
> > :
> >
> /Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/royale-config.xml(74):
> > col: 0 Error: unable to open
> >
> '/Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/libs/player/20.0/playerglobal.swc'.
> > :
> >
> /Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/royale-config.xml
> > (line: 74)
> > :   
> > :
> >
> /Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/royale-config.xml(81):
> > col: 0 Error: unable to open
> >
> '/Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/js/libs/royale-typedefs-js-0.9.7-SNAPSHOT-typedefs.swc'.
> > :
> >
> /Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/royale-config.xml
> > (line: 81)
> > :   
> > :
> >
> /Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/royale-config.xml(81):
> > col: 0 Error: unable to open
> >
> '/Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/js/libs/royale-typedefs-gcl-0.9.7-SNAPSHOT-typedefs.swc'.
> > :
> >
> /Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/royale-config.xml
> > (line: 81)
> > :   
> > :
> >
> /Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/royale-config.xml(99):
> > col: 0 Error: unable to open
> >
> '/Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/libs/player/20.0'.
> > :
> >
> /Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/royale-config.xml
> > (line: 99)
> > :   
> > : 1.034449561 seconds
>
>
> Thanks,
> Piotr
>
> czw., 6 lut 2020 o 00:43 Carlos Rovira 
> napisał(a):
>
> > Thanks Josh for pointing that out I think I got it.
> >
> > @Piotr Zarzycki  please try with my latest
> > commit. I couldn't test myself, but I think it should work now for
> > Moonshine.
> > VSCode still work with this changes.
> >
> > Thanks
> >
> > Carlos
> >
> >
> >
> > El mié., 5 feb. 2020 a las 19:43, Josh Tynjala (<
> joshtynj...@bowlerhat.dev>)
> > escribió:
> >
> >> If I had to guess, this classpath is wrong:
> >>
> >> args4j.jar org.json.jar compiler-jx-0.9.7-SNAPSHOT.jar >> Class-Path>
> >>
> >>
> >>
> https://github.com/apache/royale-asjs/blob/develop/distribution/jars/compiler-mxmljsc/pom.xml
> >>
> >> I think that the names of those JAR files all include a version number
> in
> >> the Maven distribution.
> >>
> >> --
> >> Josh Tynjala
> >> Bowler Hat LLC 
> >>
> >>
> >> On Wed, Feb 5, 2020 at 10:17 AM Carlos Rovira 
> >> wrote:
> >>
> >> > ok didn't notice.
> >> > So maybe is a classpath problem?
> >> > It's clear that VSCode goes to the same place and find it since mxmlc
> >> is a
> >> > dummy jar that has exactly that class, but Moonshine goes and didn't
> >> find
> >> > it.
> >> > If not any clue what could be happening?
> >> > Thanks
> >> >
> >> > El mié., 5 feb. 2020 a las 16:53, Piotr Zarzycki (<
> >> > piotrzarzyck...@gmail.com>)
> >> > escribió:
> >> >
> >> > > Exactly and I can confirm that mxmlc is in place.
> >> > >
> >> > > śr., 5 lut 202

Re: Maven Distribution SDK fixed and working for IDEs

2020-02-06 Thread Carlos Rovira
Hi Alex,

a part from files, there could be differences with MANIFEST in jar files.
In the other hand, I lack the knowledge of how to use the reproducible
feature or how to do that comparison.
Anyway, I think it's a matter of solve little things at this point.

Thanks
Carlos


El jue., 6 feb. 2020 a las 9:41, Alex Harui ()
escribió:

> A reminder that because we have reproducible binaries, it is theoretically
> possible to diff the maven vs ant folders instead of making guesses as to
> when the maven version is correct.
>
> HTH,
> -Alex
>
> On 2/5/20, 10:53 PM, "Piotr Zarzycki"  wrote:
>
> Hi Carlos,
>
> I just tried your changes and I'm a bit farther. Now I'm getting
> following
> errors. It's throwing that errors cause in JS only binaries prepared
> by ant
> we have in following location
> /frameworks/libs/player/{playerbersion}/playerglobal.swc fake
> playerglobal.swc, so distribution should probably have the same.
>
>
> /Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/js/bin/mxmlc"
> > -load-config+=obj/NewJavaScriptBrowserProjectConfig.xml -debug=true
> > -source-map=true -compiler.targets=JSRoyale
> > -js-output="/Users/piotr/Downloads/Tests/NewJavaScriptBrowserProject"
> > : Using Royale Compiler codebase:
> > /Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution
> > : Using Royale SDK:
> > /Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution
> > : MXMLJSC
> > :
> >
> +royalelib=/Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks
> > :
> >
> -sdk-js-lib=/Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/js/Royale/generated-sources
> > : -load-config+=obj/NewJavaScriptBrowserProjectConfig.xml
> > : -debug=true
> > : -source-map=true
> > : -compiler.targets=JSRoyale
> > : -js-output=/Users/piotr/Downloads/Tests/NewJavaScriptBrowserProject
> > :
> >
> /Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/royale-config.xml(74):
> > col: 0 Error: unable to open
> >
> '/Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/libs/player/20.0/playerglobal.swc'.
> > :
> >
> /Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/royale-config.xml
> > (line: 74)
> > :   
> > :
> >
> /Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/royale-config.xml(81):
> > col: 0 Error: unable to open
> >
> '/Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/js/libs/royale-typedefs-js-0.9.7-SNAPSHOT-typedefs.swc'.
> > :
> >
> /Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/royale-config.xml
> > (line: 81)
> > :   
> > :
> >
> /Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/royale-config.xml(81):
> > col: 0 Error: unable to open
> >
> '/Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/js/libs/royale-typedefs-gcl-0.9.7-SNAPSHOT-typedefs.swc'.
> > :
> >
> /Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/royale-config.xml
> > (line: 81)
> > :   
> > :
> >
> /Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/royale-config.xml(99):
> > col: 0 Error: unable to open
> >
> '/Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/libs/player/20.0'.
> > :
> >
> /Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/royale-config.xml
> > (line: 99)
> > :   
> > : 1.034449561 seconds
>
>
> Thanks,
> Piotr
>
> czw., 6 lut 2020 o 00:43 Carlos Rovira 
> napisał(a):
>
> > Thanks Josh for pointing that out I think I got it.
> >
> > @Piotr Zarzycki  please try with my
> latest
> > commit. I couldn't test myself, but I think it should work now for
> > Moonshine.
> > VSCode still work with this changes.
> >
> > Thanks
> >
> > Carlos
> >
> >
> >
> > El mié., 5 feb. 2020 a las 19:43, Josh Tynjala (<
> joshtynj...@bowlerhat.dev>)
> > escribió:
> >
> >> If I had to guess, this classpath is wrong:
> >>
> >> args4j.jar org.json.jar compiler-jx-0.9.7-SNAPSHOT.jar >> Class-Path>
> >>
> >>
> >>
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fblob%2Fdevelop%2Fdistribution%2Fjars%2Fcompiler-mxmljsc%2Fpom.xml&data=02%7C01%7Caharui%40adobe.com%7C0d6a5b01d34e4f49d84508d7aad15558%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637165688375141803&sdata=25d%2FJXF5cAHZsPoJ9iGBDowK26hTcgLrZoPSCYOsxLA%3D&reserved=0
> >>
> >> I think that the names of those JAR files all include a version
> number in
> >> the Maven distribution.
> >>
> >> --
> >> Josh Ty

Re: Maven Distribution SDK fixed and working for IDEs

2020-02-06 Thread Alex Harui
A reminder that because we have reproducible binaries, it is theoretically 
possible to diff the maven vs ant folders instead of making guesses as to when 
the maven version is correct.

HTH,
-Alex

On 2/5/20, 10:53 PM, "Piotr Zarzycki"  wrote:

Hi Carlos,

I just tried your changes and I'm a bit farther. Now I'm getting following
errors. It's throwing that errors cause in JS only binaries prepared by ant
we have in following location
/frameworks/libs/player/{playerbersion}/playerglobal.swc fake
playerglobal.swc, so distribution should probably have the same.


/Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/js/bin/mxmlc"
> -load-config+=obj/NewJavaScriptBrowserProjectConfig.xml -debug=true
> -source-map=true -compiler.targets=JSRoyale
> -js-output="/Users/piotr/Downloads/Tests/NewJavaScriptBrowserProject"
> : Using Royale Compiler codebase:
> /Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution
> : Using Royale SDK:
> /Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution
> : MXMLJSC
> :
> 
+royalelib=/Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks
> :
> 
-sdk-js-lib=/Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/js/Royale/generated-sources
> : -load-config+=obj/NewJavaScriptBrowserProjectConfig.xml
> : -debug=true
> : -source-map=true
> : -compiler.targets=JSRoyale
> : -js-output=/Users/piotr/Downloads/Tests/NewJavaScriptBrowserProject
> :
> 
/Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/royale-config.xml(74):
> col: 0 Error: unable to open
> 
'/Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/libs/player/20.0/playerglobal.swc'.
> :
> 
/Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/royale-config.xml
> (line: 74)
> :   
> :
> 
/Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/royale-config.xml(81):
> col: 0 Error: unable to open
> 
'/Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/js/libs/royale-typedefs-js-0.9.7-SNAPSHOT-typedefs.swc'.
> :
> 
/Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/royale-config.xml
> (line: 81)
> :   
> :
> 
/Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/royale-config.xml(81):
> col: 0 Error: unable to open
> 
'/Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/js/libs/royale-typedefs-gcl-0.9.7-SNAPSHOT-typedefs.swc'.
> :
> 
/Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/royale-config.xml
> (line: 81)
> :   
> :
> 
/Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/royale-config.xml(99):
> col: 0 Error: unable to open
> 
'/Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/libs/player/20.0'.
> :
> 
/Users/piotr/Downloads/MoonshineSDKs/Royale_SDK/royale_distribution/frameworks/royale-config.xml
> (line: 99)
> :   
> : 1.034449561 seconds


Thanks,
Piotr

czw., 6 lut 2020 o 00:43 Carlos Rovira  napisał(a):

> Thanks Josh for pointing that out I think I got it.
>
> @Piotr Zarzycki  please try with my latest
> commit. I couldn't test myself, but I think it should work now for
> Moonshine.
> VSCode still work with this changes.
>
> Thanks
>
> Carlos
>
>
>
> El mié., 5 feb. 2020 a las 19:43, Josh Tynjala 
()
> escribió:
>
>> If I had to guess, this classpath is wrong:
>>
>> args4j.jar org.json.jar compiler-jx-0.9.7-SNAPSHOT.jar> Class-Path>
>>
>>
>> 
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fblob%2Fdevelop%2Fdistribution%2Fjars%2Fcompiler-mxmljsc%2Fpom.xml&data=02%7C01%7Caharui%40adobe.com%7C0d6a5b01d34e4f49d84508d7aad15558%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637165688375141803&sdata=25d%2FJXF5cAHZsPoJ9iGBDowK26hTcgLrZoPSCYOsxLA%3D&reserved=0
>>
>> I think that the names of those JAR files all include a version number in
>> the Maven distribution.
>>
>> --
>> Josh Tynjala
>> Bowler Hat LLC 

>>
>>
>> On Wed, Feb 5, 2020 at 10:17 AM Carlos Rovira 
>> wrote:
>>
>> > ok didn't notice.
>> > So maybe is a classpath problem?
>> > It's clear that VSCode goes to the same place and find it since mxmlc
>> is a
   

Re: Broken royale-config in JS only build of released Apache Royale SDK 0.9.6

2020-02-06 Thread Alex Harui
Might you have an AIR_HOME environment variable?  The scripts assume a truly 
clean system where someone wanting js-only wouldn't have AIR set up in the 
environment.

-Alex

On 2/5/20, 7:21 PM, "OmPrakash Muppirala"  wrote:

I'm sorry I missed this thread from a while ago.

I tried Alex's suggested fix on my current npm installation, but I am still
getting the same error.

Here is the pastbein: 
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpastebin.com%2Fraw%2Ft4v8CWYe&data=02%7C01%7Caharui%40adobe.com%7C898eaedfd50d43abb76208d7aab3a109%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637165560793716399&sdata=0Mn9YhoSLoDLF3qDeRQsGCOJYRn%2B6KATOhCSph%2BCWDc%3D&reserved=0

Maybe I am doing it wrong?

Thanks,
Om

On Mon, Oct 14, 2019 at 10:31 AM Alex Harui 
wrote:

> We've never tried a hotfix release version.  Could be a lot of work to get
> it to work.  Might be easier to just roll forward to 0.9.7.  Volunteers 
are
> welcome to try.  I won't be spending time on it.
>
> Regarding a "modified SDK", the issue is not a licensing issue, but a
> branding issue.  We would not want other people altering our release
> artifacts and calling it an "Apache Royale" release, right?  Plus they
> cannot get the checksums to match what is on dist.a.o.
>
> However, if Moonshine is going to automate the fixing of the artifact, I
> think that's totally fine.  So instead of downloading a modified artifact,
> if Moonshine can download the actual 0.9.6 release, unpack it and then
> modify the royale-config.xml, that is totally fine.  I would recommend 
that
> being mentioned in the Moonshine release notes and added to our wiki
> release notes so folks know that they don't have to manually fix up the
> file.
>
> Have we added any notes about this problem to our online wiki release
> notes?  I'm generally unavailable today tending to a sick child.
>
> My 2 cents,
> -Alex
>
> On 10/14/19, 3:51 AM, "Carlos Rovira"  wrote:
>
> Hi Piotr,
>
> about license: My common sense says that you can provide a modified 
SDK
> (since is an Open Source project) but you should state that *it is
> not* the
> official 0.9.6 SDK release, but a modified one provided by Moonshine
> to fix
> an issue. Maybe others could know and say more about this.
>
> Thanks
>
>
>
> El lun., 14 oct. 2019 a las 12:39, Piotr Zarzycki (<
> piotrzarzyck...@gmail.com>) escribió:
>
> > Ok that's can be an idea - It may happen or not - We will see.
> Currently
> > I'm interested really in an answer for the license question.
> >
> > pon., 14 paź 2019 o 12:34 Carlos Rovira 
> > napisał(a):
> >
> > > Hi Piotr,
> > >
> > > I think since is a hot fix it starts from 0.9.6 release branch and
> there
> > > you apply the fix to generate a 0.9.6.1.
> > > Then when released the hot fix is merged in current develop branch
> with
> > > 0.9.7
> > > Or at least is what I suppose it should be
> > >
> > >
> > >
> > >
> > > El lun., 14 oct. 2019 a las 12:15, Piotr Zarzycki (<
> > > piotrzarzyck...@gmail.com>) escribió:
> > >
> > > > Hi Carlos,
> > > >
> > > > I was talking exactly about hot fix. However it seems to me a 
bit
> > > > difficult, cause we have now in develop version 0.9.7 - I'm not
> really
> > > sure
> > > > how maven react if I change it to 0.6.1 ;)
> > > >
> > > > Thanks,
> > > > Piotr
> > > >
> > > > pon., 14 paź 2019 o 11:13 Carlos Rovira  >
> > > > napisał(a):
> > > >
> > > > > Hi Piotr,
> > > > >
> > > > > other option is to release a hot fix version like 0.9.6.1 if
> you want
> > > to
> > > > > release in few days
> > > > > what do you think?
> > > > >
> > > > >
> > > > > El lun., 14 oct. 2019 a las 9:58, Piotr Zarzycki (<
> > > > > piotrzarzyck...@gmail.com>)
> > > > > escribió:
> > > > >
> > > > > > Hey Guys,
> > > > > >
> > > > > > I'm willing to try release very soon another version of
> Royale just
> > > > with
> > > > > > fix for our issue with broken royale config. If it won't
> happen
> > next
> > > > > week I
> > > > > > will probably do that next month which will be I think
> enough to
> > have
> > > > > > proper release not only with that fix.
> > > > > >
> > > > > > Anyway my question is a bit different. We are going to
> release
> > > > Moonshine
> > > > > > where one of the update is that u