RE: [royale-asjs] branch feature/MXRoyale updated: Update SystemManager.as

2018-07-23 Thread Alina Kazi
Hi Alex,

SHMALIB and MainFlexApp were two separate Projects. I shared API report for 
both separately. But, [1] contains API's for MainFlexApp only. [2] is updated 
API's List 


[1] https://github.com/apache/royale-asjs/wiki/Emulation-Components
[2] https://www.dropbox.com/s/n480v72qztrp1lq/updatedAPI.txt?dl=0

Thanks,
Alina 

-Original Message-
From: Alex Harui [mailto:aha...@adobe.com.INVALID] 
Sent: Tuesday, July 24, 2018 8:46 AM
To: dev@royale.apache.org; comm...@royale.apache.org
Subject: Re: [royale-asjs] branch feature/MXRoyale updated: Update 
SystemManager.as

Hi Alina,

Why are these changes being made?  I don't see rawChildren in the API report, 
and UIComponent probably won't be allowed in SystemManager.  Did the API-report 
miss these APIs?

Thanks,
-Alex

On 7/20/18, 4:42 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%7C878ea8494fe74d48e8f108d5ee35edb8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636676837742598979sdata=cF4%2BAwHXXZFLulvRadx%2BjxsCDgnviWyKjTf%2BfGd2bIc%3Dreserved=0


The following commit(s) were added to refs/heads/feature/MXRoyale by this 
push:
 new bfaf72d  Update SystemManager.as
bfaf72d is described below

commit bfaf72d42f0f7976f876491f4c47105a70d942e4
Author: alinakazi 
AuthorDate: Fri Jul 20 16:42:50 2018 +0500

Update SystemManager.as
---
 .../src/main/royale/mx/managers/SystemManager.as  | 19 
++-
 1 file changed, 10 insertions(+), 9 deletions(-)

diff --git 
a/frameworks/projects/MXRoyale/src/main/royale/mx/managers/SystemManager.as 
b/frameworks/projects/MXRoyale/src/main/royale/mx/managers/SystemManager.as
index 2277071..46cf4d1 100644
--- 
a/frameworks/projects/MXRoyale/src/main/royale/mx/managers/SystemManager.as
+++ 
b/frameworks/projects/MXRoyale/src/main/royale/mx/managers/SystemManager.as
@@ -94,9 +94,9 @@ use namespace mx_internal;
 import mx.core.IChildList;
 import mx.core.IFlexDisplayObject;
 import mx.core.IUIComponent;
-
+import mx.core.UIComponent;
 import org.apache.royale.core.IUIBase;
-import org.apache.royale.events.IEventDispatcher;
+import org.apache.royale.events.IEventDispatcher;
 
 //--
 //  Events
@@ -1286,7 +1286,7 @@ public class SystemManager extends SystemManagerBase 
implements ISystemManager,
  *  Storage for the rawChildren property.
  */
 // private var _rawChildren:SystemRawChildrenList;
-
+   private var _rawChildren:IChildList;
 /**
  *  @inheritDoc
  *  
@@ -1295,18 +1295,18 @@ public class SystemManager extends 
SystemManagerBase implements ISystemManager,
  *  @playerversion AIR 1.1
  *  @productversion Royale 0.9.4
  */
-/*
+   
  public function get rawChildren():IChildList
 {
 //if (!topLevel)
 //  return _topLevelSystemManager.rawChildren;
 
-   if (!_rawChildren)
-_rawChildren = new SystemRawChildrenList(this);
+  /*  if (!_rawChildren)
+_rawChildren = new SystemRawChildrenList(this); */
 
 return _rawChildren;
 } 
-*/
+
 
 
//--
 //  screen
@@ -3336,9 +3336,10 @@ public class SystemManager extends SystemManagerBase 
implements ISystemManager,
  *  @playerversion AIR 1.1
  *  @productversion Royale 0.9.4
  */
-public function getSandboxRoot():Object
+public function getSandboxRoot():UIComponent
 {
-   return this;
+var temp:UIComponent;
+   return temp;
 // work our say up the parent chain to the root. This way we
 // don't have to rely on this object being added to the stage.
 /* var sm:ISystemManager = this;






Build failed in Jenkins: Royale-asjs_MXRoyale #14

2018-07-23 Thread apacheroyaleci
See 


Changes:

[aharui] fix mxtests

--
[...truncated 2.28 MB...]
[mxmlc] 

 removing require: org.apache.royale.events.CollectionEvent
[mxmlc] 

 removing require: org.apache.royale.events.Event
[mxmlc] 

 removing require: org.apache.royale.events.IEventDispatcher
[mxmlc] 

 removing require: org.apache.royale.html.beads.IListView
[mxmlc] 

 removing require: org.apache.royale.utils.loadBeadFromValuesManager
[mxmlc] 

 removing require: org.apache.royale.utils.Language
[mxmlc] Dependencies calculated for 
'org.apache.royale.html.beads.DataItemRendererFactoryForCollectionView'
[mxmlc] 
org.apache.royale.html.beads.DataItemRendererFactoryForCollectionView depends 
on org.apache.royale.events.EventDispatcher
[mxmlc] 
org.apache.royale.html.beads.DataItemRendererFactoryForCollectionView depends 
on org.apache.royale.core.IBead
[mxmlc] 
org.apache.royale.html.beads.DataItemRendererFactoryForCollectionView depends 
on org.apache.royale.core.IDataProviderItemRendererMapper
[mxmlc] 

 removing require: org.apache.royale.events.IRoyaleEvent
[mxmlc] Dependencies calculated for 
'org.apache.royale.events.CollectionEvent'
[mxmlc] org.apache.royale.events.CollectionEvent depends on 
org.apache.royale.events.Event
[mxmlc] 

 removing require: org.apache.royale.core.IChild
[mxmlc] 

 removing require: org.apache.royale.core.IContainer
[mxmlc] 

 removing require: org.apache.royale.core.IParent
[mxmlc] 

 removing require: org.apache.royale.core.IStatesObject
[mxmlc] 

 removing require: org.apache.royale.core.IStrand
[mxmlc] 

 removing require: org.apache.royale.events.Event
[mxmlc] 

 removing require: org.apache.royale.events.IEventDispatcher
[mxmlc] 

 removing require: org.apache.royale.events.ValueChangeEvent
[mxmlc] 

 removing require: org.apache.royale.states.AddItems
[mxmlc] 

Build failed in Jenkins: royale-asjs #1110

2018-07-23 Thread apacheroyaleci
See 


--
[...truncated 2.14 MB...]
[mxmlc] 

 removing require: org.apache.royale.core.IFlexInfo
[mxmlc] 

 removing require: org.apache.royale.core.IStrand
[mxmlc] Dependencies calculated for 'org.apache.royale.utils.MixinManager'
[mxmlc] org.apache.royale.utils.MixinManager depends on 
org.apache.royale.core.IBead
[mxmlc] 

 removing require: org.apache.royale.core.IStrand
[mxmlc] Dependencies calculated for 'org.apache.royale.core.CSSFontFaceBead'
[mxmlc] org.apache.royale.core.CSSFontFaceBead depends on 
org.apache.royale.core.IBead
[mxmlc] Dependencies calculated for 'ExitWhenDone'
[mxmlc] Dependencies calculated for 'RoyaleContext'
[mxmlc] Dependencies calculated for 'SendFormattedResultsToLog'
[mxmlc] 

 removing require: TestCase
[mxmlc] 

 removing require: SetProperty
[mxmlc] 

 removing require: AssertPropertyValue
[mxmlc] 

 removing require: DispatchMouseEvent
[mxmlc] 

 removing require: DispatchMouseClickEvent
[mxmlc] Dependencies calculated for 'halo.scripts.ButtonTestScript'
[mxmlc] halo.scripts.ButtonTestScript depends on UnitTester
[mxmlc] Dependencies calculated for 'UnitTester'
[mxmlc] Dependencies calculated for 'TestCase'
[mxmlc] Dependencies calculated for 'SetProperty'
[mxmlc] Dependencies calculated for 'AssertPropertyValue'
[mxmlc] Dependencies calculated for 'DispatchMouseEvent'
[mxmlc] Dependencies calculated for 'DispatchMouseClickEvent'
[mxmlc] 

 removing require: TestCase
[mxmlc] 

 removing require: SetProperty
[mxmlc] 

 removing require: AssertPropertyValue
[mxmlc] 

 removing require: DispatchMouseEvent
[mxmlc] 

 removing require: DispatchMouseClickEvent
[mxmlc] Dependencies calculated for 'halo.scripts.CheckBoxTestScript'
[mxmlc] halo.scripts.CheckBoxTestScript depends on UnitTester
[mxmlc] 

 removing require: org.apache.royale.core.IContainer
[mxmlc] 

 removing require: org.apache.royale.core.ILayoutView
[mxmlc] 

 removing require: org.apache.royale.core.IStrand
[mxmlc] 

 removing require: org.apache.royale.core.IViewport
[mxmlc] 

Re: [royale-asjs] branch feature/MXRoyale updated: Update SystemManager.as

2018-07-23 Thread Alex Harui
Hi Alina,

Why are these changes being made?  I don't see rawChildren in the API report, 
and UIComponent probably won't be allowed in SystemManager.  Did the API-report 
miss these APIs?

Thanks,
-Alex

On 7/20/18, 4:42 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%7C878ea8494fe74d48e8f108d5ee35edb8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636676837742598979sdata=cF4%2BAwHXXZFLulvRadx%2BjxsCDgnviWyKjTf%2BfGd2bIc%3Dreserved=0


The following commit(s) were added to refs/heads/feature/MXRoyale by this 
push:
 new bfaf72d  Update SystemManager.as
bfaf72d is described below

commit bfaf72d42f0f7976f876491f4c47105a70d942e4
Author: alinakazi 
AuthorDate: Fri Jul 20 16:42:50 2018 +0500

Update SystemManager.as
---
 .../src/main/royale/mx/managers/SystemManager.as  | 19 
++-
 1 file changed, 10 insertions(+), 9 deletions(-)

diff --git 
a/frameworks/projects/MXRoyale/src/main/royale/mx/managers/SystemManager.as 
b/frameworks/projects/MXRoyale/src/main/royale/mx/managers/SystemManager.as
index 2277071..46cf4d1 100644
--- 
a/frameworks/projects/MXRoyale/src/main/royale/mx/managers/SystemManager.as
+++ 
b/frameworks/projects/MXRoyale/src/main/royale/mx/managers/SystemManager.as
@@ -94,9 +94,9 @@ use namespace mx_internal;
 import mx.core.IChildList;
 import mx.core.IFlexDisplayObject;
 import mx.core.IUIComponent;
-
+import mx.core.UIComponent;
 import org.apache.royale.core.IUIBase;
-import org.apache.royale.events.IEventDispatcher;
+import org.apache.royale.events.IEventDispatcher;
 
 //--
 //  Events
@@ -1286,7 +1286,7 @@ public class SystemManager extends SystemManagerBase 
implements ISystemManager,
  *  Storage for the rawChildren property.
  */
 // private var _rawChildren:SystemRawChildrenList;
-
+   private var _rawChildren:IChildList;
 /**
  *  @inheritDoc
  *  
@@ -1295,18 +1295,18 @@ public class SystemManager extends 
SystemManagerBase implements ISystemManager,
  *  @playerversion AIR 1.1
  *  @productversion Royale 0.9.4
  */
-/*
+   
  public function get rawChildren():IChildList
 {
 //if (!topLevel)
 //  return _topLevelSystemManager.rawChildren;
 
-   if (!_rawChildren)
-_rawChildren = new SystemRawChildrenList(this);
+  /*  if (!_rawChildren)
+_rawChildren = new SystemRawChildrenList(this); */
 
 return _rawChildren;
 } 
-*/
+
 
 
//--
 //  screen
@@ -3336,9 +3336,10 @@ public class SystemManager extends SystemManagerBase 
implements ISystemManager,
  *  @playerversion AIR 1.1
  *  @productversion Royale 0.9.4
  */
-public function getSandboxRoot():Object
+public function getSandboxRoot():UIComponent
 {
-   return this;
+var temp:UIComponent;
+   return temp;
 // work our say up the parent chain to the root. This way we
 // don't have to rely on this object being added to the stage.
 /* var sm:ISystemManager = this;





Build failed in Jenkins: royale-asjs #1109

2018-07-23 Thread apacheroyaleci
See 


--
[...truncated 2.14 MB...]
[mxmlc] 

 removing require: org.apache.royale.core.IFlexInfo
[mxmlc] 

 removing require: org.apache.royale.core.IStrand
[mxmlc] Dependencies calculated for 'org.apache.royale.utils.MixinManager'
[mxmlc] org.apache.royale.utils.MixinManager depends on 
org.apache.royale.core.IBead
[mxmlc] 

 removing require: org.apache.royale.core.IStrand
[mxmlc] Dependencies calculated for 'org.apache.royale.core.CSSFontFaceBead'
[mxmlc] org.apache.royale.core.CSSFontFaceBead depends on 
org.apache.royale.core.IBead
[mxmlc] Dependencies calculated for 'ExitWhenDone'
[mxmlc] Dependencies calculated for 'RoyaleContext'
[mxmlc] Dependencies calculated for 'SendFormattedResultsToLog'
[mxmlc] 

 removing require: TestCase
[mxmlc] 

 removing require: SetProperty
[mxmlc] 

 removing require: AssertPropertyValue
[mxmlc] 

 removing require: DispatchMouseEvent
[mxmlc] 

 removing require: DispatchMouseClickEvent
[mxmlc] Dependencies calculated for 'halo.scripts.ButtonTestScript'
[mxmlc] halo.scripts.ButtonTestScript depends on UnitTester
[mxmlc] Dependencies calculated for 'UnitTester'
[mxmlc] Dependencies calculated for 'TestCase'
[mxmlc] Dependencies calculated for 'SetProperty'
[mxmlc] Dependencies calculated for 'AssertPropertyValue'
[mxmlc] Dependencies calculated for 'DispatchMouseEvent'
[mxmlc] Dependencies calculated for 'DispatchMouseClickEvent'
[mxmlc] 

 removing require: TestCase
[mxmlc] 

 removing require: SetProperty
[mxmlc] 

 removing require: AssertPropertyValue
[mxmlc] 

 removing require: DispatchMouseEvent
[mxmlc] 

 removing require: DispatchMouseClickEvent
[mxmlc] Dependencies calculated for 'halo.scripts.CheckBoxTestScript'
[mxmlc] halo.scripts.CheckBoxTestScript depends on UnitTester
[mxmlc] 

 removing require: org.apache.royale.core.IContainer
[mxmlc] 

 removing require: org.apache.royale.core.ILayoutView
[mxmlc] 

 removing require: org.apache.royale.core.IStrand
[mxmlc] 

 removing require: org.apache.royale.core.IViewport
[mxmlc] 

Re: compc compiler error

2018-07-23 Thread Alex Harui
Feel free to zip up all of your API reports and post a link to where I can 
download them.

My concern is that if you get too many errors compiling your SWCs that the 
Royale Compiler may not be outputting all of the Flex API usage.  So it would 
be best to have zero errors (or close to zero).  It is pretty rare for your 
code in a SWC to not use a Flex API somewhere, so I would expect to see Flex 
APIs listed in every API report for every SWC and module.

Each API report will list your classes, the Flex APIs used, the Flash/AIR APIs 
used, and any third-party library APIs that were used.  You can then build a 
list of Flex APIs you are using and compare against what is in the list for 
Alina's app.  That should be roughly what is available at compile-time.  For 
runtime, we have only the most basic operations working for mx Button,  
Checkbox, RadioButton, TextInput, TextArea, ComboBox, List, DataGrid, 
NumericStepper, DateField, DateChooser, MenuBar, maybe Menu, Panel, VBox, HBox. 
 And Spark Button.  I'll probably work on Tree next.

You don't have to remove references to Flex classes, but yes, you do have to 
change the xml namespaces in your MXML files.  The Flex compiler looks for a 
flex-config.xml in the Flex SDK.  The Royale Compiler looks for a royale-config 
in the Royale SDK.  The flex-config.xml file lists the Flex SWCs in the library 
path.   The royale-config.xml lists the Royale SWCs.  All other command-line 
options that you specified when building the SWFs with Flex should remain the 
same.  That's the theory, anyway, but we'll see.

However you built your app with Flex (Maven, Ant, command-line) should work 
with Royale.  But I’m sure there are bugs, so let us know the details of what 
you run into.

-Alex

On 7/23/18, 12:18 PM, "bhau"  wrote:

Hi Alex,

Generating api-report is not a problem. It is getting generated through
MXLMC and COMPC compiler. 

Please advise (and correct me also) on my approach (or understanding) for
migration.

1) API report contains list of all components being used in my application
(or module) . It is not the list of components needs to be emulated. I was
generated this api-report by running MXMLC on my main application mxml file
to find out which components I have to work on for this migration.  But you
have suggested to generate api-report for all modules (one by one) ,which is
very huge list.

2) I don't know which of these components from api-report have been already
emulated completely and which are only emulated with compile only mode.  How
can I find out to calculate my final to-do list for emulation ?

3) You have mentioned in earlier response that I don't have to remove any
adobe flex references before running compc compiler. That means I don't have
to replace adobe mx/spark namespace with Royale namespace in any of my mxml
file.  Does Royale compiler need command line argument to locate these adobe
classes (or libraries) ? Does Royale compiler has some mapping between adobe
mx/spark to Royale mx/spark components to generate corresponding js files? 
How and where does it find that?

4) If I have to generate only js files (no swf files) for migration. What
would be right approach for application having many modules linked with each
other?

Thanks,
--Bhau





--
Sent from: 
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-development.20373.n8.nabble.com%2Fdata=02%7C01%7Caharui%40adobe.com%7Cb9a53625093f4b627d3008d5f0d10f9f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C636679703057589156sdata=U8lzL6%2B0TMRgficCCTzfDJ11syrTsjJ9bxrFqGCgAro%3Dreserved=0




Re: Migrating Enterprise Flex Application

2018-07-23 Thread chembali
I have generated API reports for another Flex application that I am trying to
migrate to Royale. Please see the attached reports.

reportFlexACRRepository.txt

  
reportFlexDataMart.txt

  
reportFlexDataWarehouse.txt

  
reportFlexDimension.txt

  
reportFlexIVPAuditTrail.txt

  
reportFlexIVPBase.txt

  
reportFlexIVProcess.txt

  
reportFlexIVPSolution.txt

  
reportFlexIVPSystem.txt

  
reportFlexReportFramework.txt

  
reportFlexSourceSystem.txt

  
reportFlexVisualization.txt

  

Can you please come up with the latest list of components/APIs need to be
emulated?



--
Sent from: http://apache-royale-development.20373.n8.nabble.com/


Re: [royale-compiler] branch develop updated: add -diagnostics option to try to find out why compiler is hanging

2018-07-23 Thread Carlos Rovira
Hi Alex,
thanks, now is passing. Hope you'll catch the problem
Carlos

2018-07-23 10:13 GMT+02:00 Alex Harui :

> OK, I reverted it.
>
> On 7/23/18, 12:01 AM, "carlos.rov...@gmail.com on behalf of Carlos
> Rovira" 
> wrote:
>
> Hi Alex,
>
> just let you know that maybe something in the latest changes broke one
> of
> the examples. Here's the output :
>
> scanning for overrides: ViewportModel
>
> 133038 bytes written to
> /Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/royale/
> RoyaleWebsiteStatsViewer/target/RoyaleWebsiteStatsViewer-0.9.
> 3-SNAPSHOT.swf
> in 4.862 seconds
>
> /Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/royale/
> RoyaleWebsiteStatsViewer/src/main/royale/models/StatsModel.as(43):
> col: 19 Error: Implicit coercion of a value of type Event to an
> unrelated
> type Object.
>
>
> dispatchEvent(new Event("lastThirtyDaysDataChanged"));
>
>   ^
>
>
> [*INFO*]
> *---
> -*
>
> [*INFO*] *Reactor Summary:*
>
> ..
>
> ...
>
>
> [*INFO*] Apache Royale: Examples: Royale: RoyaleWebsite .
> *SUCCESS* [
> 19.162 s]
>
> [*INFO*] Apache Royale: Examples: Royale: RoyaleWebsiteStatsViewer
> *FAILURE*
> [ 12.515 s]
>
> [*INFO*] Apache Royale: Examples: Royale: StorageExample  *SKIPPED*
>
> [*INFO*] Apache Royale: Examples: Royale: StyleExample .. *SKIPPED*
>
> Hope that helps you to see if is something related to your commit or
> not.
>
> thanks
>
>
>
> 2018-07-23 8:44 GMT+02:00 :
>
> > This is an automated email from the ASF dual-hosted git repository.
> >
> > aharui pushed a commit to branch develop
> > in repository https://na01.safelinks.protection.outlook.com/?url=
> https%3A%2F%2Fgitbox.apache.org%2Frepos%2Fasf%2Froyale-
> compiler.gitdata=02%7C01%7Caharui%40adobe.com%
> 7C222d51f26f6e4909fe2408d5f06a1a5b%7Cfa7b1b5a7b34438794aed2c178de
> cee1%7C0%7C0%7C636679260873634790sdata=XgHiNX38oUSnmcORuqAhIw6puI%
> 2FbrRcA%2BEo0IncEojE%3Dreserved=0
> >
> >
> > The following commit(s) were added to refs/heads/develop by this
> push:
> >  new 547d87e  add -diagnostics option to try to find out why
> compiler
> > is hanging
> > 547d87e is described below
> >
> > commit 547d87ebdefc3a5055b05e5e98f411d5c8715726
> > Author: Alex Harui 
> > AuthorDate: Sun Jul 22 23:41:56 2018 -0700
> >
> > add -diagnostics option to try to find out why compiler is
> hanging
> > ---
> >  .../config/CompilerDiagnosticsConstants.java   | 43
> ++
> >  .../royale/compiler/config/Configuration.java  | 17 ++
> >  .../royale/compiler/config/Configurator.java   |  7 ++-
> >  .../java/org/apache/royale/utils/FileUtils.java|  7 ++-
> >  .../royale/compiler/clients/MXMLJSCRoyale.java |  2 +
> >  .../internal/projects/RoyaleJSProject.java | 13 
> >  .../org/apache/royale/compiler/clients/ASC.java|  5 ++
> >  .../org/apache/royale/compiler/clients/MXMLC.java  | 12 +++-
> >  .../royale/compiler/common/NodeReference.java  |  5 ++
> >  .../internal/definitions/ClassDefinitionBase.java  | 69
> > ++
> >  .../internal/definitions/DefinitionBase.java   |  5 ++
> >  .../embedding/transcoders/JPEGTranscoder.java  | 15 -
> >  .../embedding/transcoders/SoundTranscoder.java |  8 ++-
> >  .../embedding/transcoders/TranscoderBase.java  |  5 ++
> >  .../compiler/internal/graph/SynchronizedGraph.java | 34 +++
> >  .../internal/mxml/MXMLManifestManager.java |  5 ++
> >  .../compiler/internal/parsing/TokenBase.java   |  5 ++
> >  .../compiler/internal/parsing/as/ASToken.java  |  5 ++
> >  .../compiler/internal/parsing/as/BaseASParser.java | 17 ++
> >  .../internal/parsing/mxml/MXMLScopeBuilder.java|  5 ++
> >  .../compiler/internal/projects/ConfigManager.java  | 25 
> >  .../compiler/internal/scopes/ASScopeBase.java  |  5 ++
> >  .../compiler/internal/scopes/ASScopeCache.java | 41
> +
> >  .../compiler/internal/targets/SWCTarget.java   | 17 ++
> >  .../compiler/internal/tree/as/FunctionNode.java|  5 ++
> >  .../royale/compiler/internal/tree/as/NodeBase.java | 12 +++-
> >  .../compiler/internal/tree/mxml/MXMLFileNode.java  | 22 ++-
> >  .../internal/tree/mxml/MXMLScriptNode.java |  5 ++
> >  .../internal/tree/mxml/MXMLTreeBuilder.java|  5 ++
> >  .../compiler/internal/units/ASCompilationUnit.java |  5 ++
> >  .../as/decorators/SymbolDecoratorProvider.java |  5 ++
> >  .../org/apache/royale/swf/io/InputBitStream.java   |  8 ++-
> >  .../org/apache/royale/swf/io/LZMACompressor.java   |  5 ++
> >  .../org/apache/royale/swf/io/LZMAInputStream.java  |  5 

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

2018-07-23 Thread apacheroyaleci
See 




Re: Migrating Enterprise Flex Application

2018-07-23 Thread Alex Harui
Please comment out parts of your build script to build only one SWC.  The 
output you posted seems to be running builds for multiple SWCs in parallel.

Thanks,
-Alex

On 7/23/18, 12:23 AM, "chembali"  wrote:

I just tried to run my application gradle script to build. I modified the
FLEX_HOME in the script to point to the ROYALE install home. I have the
ROYALE installed under C:\devenv\GitHub folder. The output is attached. 
RoyaleCompileOutput.txt


  

The application gradle scripts actually call the flex ANT tasks to do the
compile. Can you spot any mistakes that I am doing here? I noticed one thing
in the output. For e.g. after the execution of following command, the
C:\devenv\ii\trunk\components\Dashboards\build\flex\dashboards-asset.sw
c is not getting generated. 

Execute:Java13CommandLauncher: Executing 'C:\java\java8\jre\bin\java.exe'
with a
rguments:
'-Droyalelib=C:/devenv/GitHub/royale-asjs'
'-classpath'
'C:\devenv\GitHub\royale-asjs\js\lib\jsc.jar'
'org.apache.royale.compiler.clients.COMPJSC'
'-compiler.incremental=true'
'+royalelib=C:/devenv/GitHub/royale-asjs/frameworks/'
'-compiler.locale='

'-output=C:\devenv\ii\trunk\components\Dashboards\build\flex\dashboards-asset.sw
c'

The ' characters around the executable and arguments are
not part of the command.



--
Sent from: 
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-development.20373.n8.nabble.com%2Fdata=02%7C01%7Caharui%40adobe.com%7Cf4465a4069d446e0bd2208d5f06d1e30%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636679273804354416sdata=LB6iTI86DCPZn7bU6pMTXHn5o5xekxtkqsQjXpxaKpY%3Dreserved=0




Build failed in Jenkins: royale-asjs_jsonly #1186

2018-07-23 Thread apacheroyaleci
See 


--
[...truncated 1.31 MB...]
 [java] Compiling file: org.apache.royale.createjs.core.View
 [java] Writing file: js\out\org\apache\royale\createjs\core\View.js
 [java] Compiling file: org.apache.royale.createjs.graphics.Circle
 [java] Writing file: js\out\org\apache\royale\createjs\graphics\Circle.js
 [java] 4.689743 seconds
 [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
 [copy] Copying 1 file to 


main:

copy-swc:

check-for-tests:

test:

main:

HTML5:

clean:

check-for-tests:

clean-tests:

check-compiler-home:

check-transpiler-home:

check-compiler:

compile:

compile-js:
   [delete] Deleting: 


clean:

check-compiler-home:

check-transpiler-home:

check-compiler:

compile:
 [echo] Cross-compiling HTML5JS.swc
 [echo] ROYALE_COMPILER_HOME: 

[mkdir] Created dir: 

 [java] args:
 [java] 
+royalelib=
 [java] -compiler.strict-xml=true
 [java] -compiler.targets=SWF,JSRoyale
 [java] 
-output=
 [java] 
-load-config=
 [java] 
-load-config+=
 [java] target:SWF
 [java] target:JSRoyale
 [java] COMPC
 [java] Loading configuration: 

 [java] Loading configuration: 

 [java] 
 [java] 119678 bytes written to 

 in 1.746 seconds
 [java] COMPCJSCRoyale
 [java] Copy library.swf
 [java] Copy defaults.css
 [java] Compiling file: org.apache.royale.html5.Label
 [java] Writing file: js\out\org\apache\royale\html5\Label.js
 [java] Compiling file: org.apache.royale.html5.Button
 [java] Writing file: js\out\org\apache\royale\html5\Button.js
 [java] Compiling file: org.apache.royale.html5.TextInput
 [java] Writing file: js\out\org\apache\royale\html5\TextInput.js
 [java] Compiling file: org.apache.royale.html5.List
 [java] Writing file: js\out\org\apache\royale\html5\List.js
 [java] Compiling file: org.apache.royale.html5.TextArea
 [java] Writing file: js\out\org\apache\royale\html5\TextArea.js
 [java] Compiling file: org.apache.royale.html5.TransformBead
 [java] Writing file: js\out\org\apache\royale\html5\TransformBead.js
 [java] Compiling file: org.apache.royale.html5.ComboBox
 [java] Writing file: js\out\org\apache\royale\html5\ComboBox.js
 [java] Compiling file: org.apache.royale.html5.DateField
 [java] Writing file: js\out\org\apache\royale\html5\DateField.js
 [java] Compiling file: HTML5Classes
 [java] Writing file: js\out\HTML5Classes.js
 [java] Compiling file: org.apache.royale.html5.TextButton
 [java] Writing file: js\out\org\apache\royale\html5\TextButton.js
 [java] Compiling file: org.apache.royale.html5.CheckBox
 [java] Writing file: js\out\org\apache\royale\html5\CheckBox.js
 [java] Compiling file: org.apache.royale.html5.RadioButton
 [java] Writing file: js\out\org\apache\royale\html5\RadioButton.js
 [java] Compiling file: org.apache.royale.html5.DropDownList
 [java] Writing file: js\out\org\apache\royale\html5\DropDownList.js
 [java] 3.3846548 seconds
 [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
 [copy] Copying 1 file to 


main:

copy-swc:

check-for-tests:

test:

main:

JQuery:

clean:

check-for-tests:

clean-tests:

check-compiler-home:

check-transpiler-home:

check-compiler:

compile:

compile-js:
   [delete] Deleting: 

Re: Migrating Enterprise Flex Application

2018-07-23 Thread chembali
I just tried to run my application gradle script to build. I modified the
FLEX_HOME in the script to point to the ROYALE install home. I have the
ROYALE installed under C:\devenv\GitHub folder. The output is attached. 
RoyaleCompileOutput.txt

  

The application gradle scripts actually call the flex ANT tasks to do the
compile. Can you spot any mistakes that I am doing here? I noticed one thing
in the output. For e.g. after the execution of following command, the
C:\devenv\ii\trunk\components\Dashboards\build\flex\dashboards-asset.sw
c is not getting generated. 

Execute:Java13CommandLauncher: Executing 'C:\java\java8\jre\bin\java.exe'
with a
rguments:
'-Droyalelib=C:/devenv/GitHub/royale-asjs'
'-classpath'
'C:\devenv\GitHub\royale-asjs\js\lib\jsc.jar'
'org.apache.royale.compiler.clients.COMPJSC'
'-compiler.incremental=true'
'+royalelib=C:/devenv/GitHub/royale-asjs/frameworks/'
'-compiler.locale='
'-output=C:\devenv\ii\trunk\components\Dashboards\build\flex\dashboards-asset.sw
c'

The ' characters around the executable and arguments are
not part of the command.



--
Sent from: http://apache-royale-development.20373.n8.nabble.com/