You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@royale.apache.org by Alex Harui <ah...@adobe.com> on 2018/03/06 08:36:19 UTC

API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

Hi Alina,

I'm starting on the emulation.  I've noticed that your application code appears to be calling commitProperties().  Can you tell us why?

Also, it looks like there are a few uses of rotation, transform, scaleX and scaleY.  What are those used for?

Thanks,
-Alex

From: Alex Harui <ah...@adobe.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Monday, March 5, 2018 at 11:38 PM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: Re: Generating API report for Flex Web Browser application

Hi Alina,

Try again.  Sometimes the Antlr server goes off-line around this time of day.

-Alex

From: Alina Kazi <al...@d-bz.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Monday, March 5, 2018 at 11:12 PM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: RE: Generating API report for Flex Web Browser application

Hi Alex,
Using jdk1.8.0_162:

C:\Users\aleena\royale-asjs>ant all
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
Buildfile: C:\Users\aleena\royale-asjs\build.xml

set.base.folder:

check-git:
     [echo] Checking for Git...
     [exec] git version 2.16.2.windows.1

get-download-folder:

download-all:
     [echo] Using folder C:\Users\aleena\royale-asjs/..

check-royale-asjs:

warn-before-clone:

check-royale-asjs:

clone-royale-asjs:

check-royale-compiler:

clone-royale-compiler:

check-royale-typedefs:

clone-royale-typedefs:

check-playerglobal-home:

check-air-home:

build-all:

ask-before-build-all:
    [input] This script will now download and compile lots of files.  This can t
ake several minutes.   No interaction should be required.  Press the enter key t
o continue.


sdk:

annotate.class:
    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-
build-tools\target\classes
    [javac] warning: [options] bootstrap class path not set in conjunction with
-source 1.5
    [javac] warning: [options] source value 1.5 is obsolete and will be removed
in a future release
    [javac] warning: [options] target value 1.5 is obsolete and will be removed
in a future release
    [javac] warning: [options] To suppress warnings about obsolete options, use
-Xlint:-options.
    [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\src\main\java\o
rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:24: warning: [serial
] serializable class AnnotateClassDeleteException has no definition of serialVer
sionUID
    [javac]     public static class AnnotateClassDeleteException extends Excepti
on
    [javac]                   ^
    [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\src\main\java\o
rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:32: warning: [serial
] serializable class AnnotateClassRenameException has no definition of serialVer
sionUID
    [javac]     public static class AnnotateClassRenameException extends Excepti
on
    [javac]                   ^
    [javac] 6 warnings

unknown.tree.pattern.input.output:
    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-
build-tools\target\classes
    [javac] warning: [options] bootstrap class path not set in conjunction with
-source 1.5
    [javac] warning: [options] source value 1.5 is obsolete and will be removed
in a future release
    [javac] warning: [options] target value 1.5 is obsolete and will be removed
in a future release
    [javac] warning: [options] To suppress warnings about obsolete options, use
-Xlint:-options.
    [javac] 4 warnings

main:

compiler.downloads.cache:

compiler.downloads:
     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc
es
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

prepare:
     [echo] Making lib directory C:\Users\aleena\royale-compiler\compiler/lib/ex
ternal
    [mkdir] Created dir: C:\Users\aleena\royale-compiler\compiler\lib\external

all:
     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc
es
     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler
     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

check-dependency:
     [echo] checking for C:\Users\aleena\royale-compiler\compiler/lib/external//
antlr.jar

download-dependency:
     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc
es
     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler
     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

echo-project-jar:
   [delete] Deleting: C:\Users\aleena\royale-compiler\compiler\src\main\resource
s\project.properties
     [echo] ${INFO_DOWNLOADING_FILE_FROM}
     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc
es
     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler
     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

download-apache-license:
     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc
es
     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler
     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

download-other-license:
      [get] Getting: http://www.antlr.org/license.html<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0>
      [get] To: C:\Users\aleena\royale-compiler\compiler\lib\external\antlr-LICE
NSE.html
      [get] Error getting http://www.antlr.org/license.html<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0> to C:\Users\aleena\r
oyale-compiler\compiler\lib\external\antlr-LICENSE.html
     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc
es
     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler
     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

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

get-from-cache-if-needed:
     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc
es
     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler
     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

fail-if-not-found:

BUILD FAILED
C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred while e
xecuting this line:
C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred while e
xecuting this line:
C:\Users\aleena\royale-compiler\build.xml:64: The following error occurred while
 executing this line:
C:\Users\aleena\royale-compiler\compiler-jburg-types\build.xml:87: The following
 error occurred while executing this line:
C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:81: Th
e following error occurred while executing this line:
C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:275: T
he following error occurred while executing this line:
C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:329: T
he following error occurred while executing this line:
C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:489: C
:\Users\aleena\royale-compiler\compiler/lib/external//antlr-LICENSE.html could n
ot be downloaded or found in cache

Total time: 47 seconds

C:\Users\aleena\royale-asjs>

Thanks,
Alina

From: Alex Harui [mailto:aharui@adobe.com]
Sent: Tuesday, March 06, 2018 11:55 AM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

Hi Alina,

Please use JDK8.

Thanks,
-Alex

From: Alina Kazi <al...@d-bz.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Monday, March 5, 2018 at 10:40 PM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: RE: Generating API report for Flex Web Browser application

Hi Alex,

Java version that I am using is “9.0.1”

Thanks,
Alina

From: Alex Harui [mailto:aharui@adobe.com]
Sent: Tuesday, March 06, 2018 11:42 AM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

Hi Alina,

What version of Java are you using?  Please get a JDK7 or 8 and try that.

Thanks,
-Alex

From: Alina Kazi <al...@d-bz.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Monday, March 5, 2018 at 10:22 PM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: RE: Generating API report for Flex Web Browser application

Hi Alex,
Command Prompt Output is:
C:\Users\aleena>git clone https://github.com/apache/royale-asjs.git<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs.git&data=02%7C01%7Caharui%40adobe.com%7Cdf86fa0dd25b41ffbc8108d5832f0997%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559160423949211&sdata=d9cKX4ILIQPLI5USXvAafSnrWZSgW1XHw6G4r%2B9wgsE%3D&reserved=0> royale-asjs
Cloning into 'royale-asjs'...
remote: Counting objects: 101103, done.
remote: Compressing objects: 100% (22/22), done.
remote: Total 101103 (delta 9), reused 30 (delta 7), pack-reused 101066R
Receiving objects: 100% (101103/101103), 19.23 MiB | 208.00 KiB/s, done.

Resolving deltas: 100% (61584/61584), done.
Checking out files: 100% (3572/3572), done.

C:\Users\aleena>cd royale-asjs

C:\Users\aleena\royale-asjs>git checkout develop
Already on 'develop'
Your branch is up to date with 'origin/develop'.

C:\Users\aleena\royale-asjs>ant all
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
Buildfile: C:\Users\aleena\royale-asjs\build.xml

set.base.folder:

check-git:
     [echo] Checking for Git...
     [exec] git version 2.16.2.windows.1

get-download-folder:

download-all:
     [echo] Using folder C:\Users\aleena\royale-asjs/..

check-royale-asjs:

warn-before-clone:

check-royale-asjs:

clone-royale-asjs:

check-royale-compiler:

clone-royale-compiler:
     [echo] cloning royale-compiler repo into C:\Users\aleena\royale-asjs/../roy
ale-compiler
     [exec] Cloning into 'royale-compiler'...
     [exec] Checking out files:   8% (284/3191)
     [exec] Checking out files:   9% (288/3191)   Checking out files:  10% (320/
3191)   Checking out files:  11% (352/3191)   Checking out files:  12% (383/3191
)   Checking out files:  13% (415/3191)   Checking out files:  13% (444/3191)
Checking out files:  14% (447/3191)   Checking out files:  15% (479/3191)   Chec
king out files:  16% (511/3191)   Checking out files:  17% (543/3191)   Checking
 out files:  18% (575/3191)   Checking out files:  19% (607/3191)   Checking out
 files:  20% (639/3191)   Checking out files:  20% (641/3191)   Checking out fil
es:  21% (671/3191)   Checking out files:  22% (703/3191)   Checking out files:
 23% (734/3191)   Checking out files:  24% (766/3191)   Checking out files:  25%
 (798/3191)   Checking out files:  26% (830/3191)   Checking out files:  26% (84
2/3191)   Checking out files:  27% (862/3191)   Checking out files:  28% (894/31
91)   Checking out files:  29% (926/3191)   Checking out files:  30% (958/3191)
  Checking out files:  31% (990/3191)   Checking out files:  32% (1022/3191)   C
hecking out files:  33% (1054/3191)   Checking out files:  34% (1085/3191)   Che
cking out files:  35% (1117/3191)   Checking out files:  36% (1149/3191)   Check
ing out files:  37% (1181/3191)   Checking out files:  38% (1213/3191)   Checkin
g out files:  39% (1245/3191)   Checking out files:  40% (1277/3191)   Checking
out files:  40% (1308/3191)   Checking out files:  41% (1309/3191)   Checking ou
t files:  42% (1341/3191)   Checking out files:  42% (1352/3191)   Checking out
files:  43% (1373/3191)   Checking out files:  44% (1405/3191)   Checking out fi
les:  45% (1436/3191)   Checking out files:  46% (1468/3191)   Checking out file
s:  47% (1500/3191)   Checking out files:  48% (1532/3191)   Checking out files:
  49% (1564/3191)   Checking out files:  49% (1578/3191)   Checking out files:
50% (1596/3191)   Checking out files:  51% (1628/3191)   Checking out files:  52
% (1660/3191)   Checking out files:  53% (1692/3191)   Checking out files:  54%
(1724/3191)   Checking out files:  55% (1756/3191)   Checking out files:  56% (1
787/3191)   Checking out files:  57% (1819/3191)   Checking out files:  58% (185
1/3191)   Checking out files:  59% (1883/3191)   Checking out files:  60% (1915/
3191)   Checking out files:  61% (1947/3191)   Checking out files:  62% (1979/31
91)   Checking out files:  63% (2011/3191)   Checking out files:  63% (2022/3191
)   Checking out files:  64% (2043/3191)   Checking out files:  65% (2075/3191)
  Checking out files:  66% (2107/3191)   Checking out files:  67% (2138/3191)
Checking out files:  68% (2170/3191)   Checking out files:  69% (2202/3191)   Ch
ecking out files:  70% (2234/3191)   Checking out files:  71% (2266/3191)   Chec
king out files:  72% (2298/3191)   Checking out files:  73% (2330/3191)   Checki
ng out files:  74% (2362/3191)   Checking out files:  75% (2394/3191)   Checking
 out files:  76% (2426/3191)   Checking out files:  77% (2458/3191)   Checking o
ut files:  78% (2489/3191)   Checking out files:  79% (2521/3191)   Checking out
 files:  80% (2553/3191)   Checking out files:  81% (2585/3191)   Checking out f
iles:  82% (2617/3191)   Checking out files:  83% (2649/3191)   Checking out fil
es:  83% (2679/3191)   Checking out files:  84% (2681/3191)   Checking out files
:  85% (2713/3191)   Checking out files:  86% (2745/3191)   Checking out files:
 87% (2777/3191)   Checking out files:  88% (2809/3191)   Checking out files:  8
9% (2840/3191)   Checking out files:  89% (2845/3191)   Checking out files:  90%
 (2872/3191)   Checking out files:  91% (2904/3191)   Checking out files:  92% (
2936/3191)   Checking out files:  93% (2968/3191)   Checking out files:  94% (30
00/3191)   Checking out files:  95% (3032/3191)   Checking out files:  95% (3035
/3191)   Checking out files:  96% (3064/3191)   Checking out files:  97% (3096/3
191)   Checking out files:  98% (3128/3191)   Checking out files:  99% (3160/319
1)   Checking out files: 100% (3191/3191)   Checking out files: 100% (3191/3191)
, done.
     [exec] Your branch is up to date with 'origin/develop'.
     [exec] Already on 'develop'

check-royale-typedefs:

clone-royale-typedefs:
     [echo] cloning royale-typedefs repo into C:\Users\aleena\royale-asjs/../roy
ale-typedefs
     [exec] Cloning into 'royale-typedefs'...
     [exec] Your branch is up to date with 'origin/develop'.
     [exec] Already on 'develop'

check-playerglobal-home:

check-air-home:

build-all:

ask-before-build-all:
    [input] This script will now download and compile lots of files.  This can t
ake several minutes.   No interaction should be required.  Press the enter key t
o continue.

sdk:

annotate.class:
    [mkdir] Created dir: C:\Users\aleena\royale-compiler\compiler-build-tools\ta
rget\classes
    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-
build-tools\target\classes
    [javac] warning: [options] bootstrap class path not set in conjunction with
-source 1.5
    [javac] error: Source option 1.5 is no longer supported. Use 1.6 or later.
    [javac] error: Target option 1.5 is no longer supported. Use 1.6 or later.

BUILD FAILED
C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred while e
xecuting this line:
C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred while e
xecuting this line:
C:\Users\aleena\royale-compiler\build.xml:63: The following error occurred while
 executing this line:
C:\Users\aleena\royale-compiler\compiler-build-tools\build.xml:74: Compile faile
d; see the compiler error output for details.

Total time: 17 minutes 59 seconds

C:\Users\aleena\royale-asjs>

Unable to Build, Please guide.

Thanks,
Alina
From: Alex Harui [mailto:aharui@adobe.com]
Sent: Friday, March 02, 2018 10:31 PM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

Hi Alina,

I was able to download and expand the files.  I will be consolidating the data today.

In order to be able to write some of these emulations, you will probably need to be able to build the framework sources.  If you haven't already, you can try cloning the royale-asjs repo and figure out how to get it to build.  You can choose Apache Maven or Apache Ant as the build tool.

https://github.com/apache/royale-asjs<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs&data=02%7C01%7Caharui%40adobe.com%7C3c1833c1fc9442003f2608d5832c7fe0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559149534170415&sdata=YqGTpbzoou8SilHbsTxjriIjiREaS%2FA9j6xjZYRR%2F4E%3D&reserved=0>

Hopefully the instruction in the readme are sufficient.

Thanks,
-Alex

From: Alina Kazi <al...@d-bz.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Friday, March 2, 2018 at 12:34 AM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: RE: Generating API report for Flex Web Browser application

Hi Alex,

Application API-Report link:
https://www.dropbox.com/s/swvqhly6wa0jrc5/API-Reports.rar?dl=0<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fswvqhly6wa0jrc5%2FAPI-Reports.rar%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C928c248220464230f6dd08d5801a2f13%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555772324148830&sdata=9%2BsrGG41iCMIEmbtqnEbV%2BPvi1ngE9vF%2BKuqPAZ%2Bzao%3D&reserved=0>
SHMALib Report, applications,shmDoclist,shmSetupList,AppView_EIS, AppView_ERP,shmMappingSetup, shmMappingSetupOpenDetailGrid,shmSalesInvoice, shmSalesInvoiceDetail are main API Files.

Regards,
Alina




From: Alina Kazi [mailto:alina.kazi@d-bz.com]
Sent: Friday, March 02, 2018 11:32 AM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

Hi Alex,

2) We are using Effects in our Application 2-3 times
4) We are using text styling in our Application 3-5 times

Thanks,
Alina

From: Alex Harui [mailto:aharui@adobe.com]
Sent: Friday, March 02, 2018 4:26 AM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

Hi Alina,

1) Interesting about Charts.  They were being used by the SWC.
2) Effects are any animations that move, resize or fade things in the UI.
3) ok
4) I'm not sure what to conclude from the screenshot.  I'm interested in how often folks use it to create text with bold, italics and other styling of text.

Thanks,
-Alex

From: Alina Kazi <al...@d-bz.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Thursday, March 1, 2018 at 4:24 AM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: RE: Generating API report for Flex Web Browser application

Hi Alex,
600 mxml.api.txt files are generated and still in process. I will share link for files tomorrow.
After sharing my files tomorrow, If you will suggest to build  emulations.
I will  definitely want to learn how to create emulations and contribute them to Apache Royale.
1.We are not using Charts in our Application
2. How important are effects? (Please explain effects )
3. We are not using Right-to-left languages in RichTextEditor.
4. Is RichTextEditor being used for non-plain text?  If so, what kinds of text styling is important?
Link:https://www.dropbox.com/s/ky93eycmefm3cuu/RICHTEXTEDITOR.png?dl=0<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fky93eycmefm3cuu%2FRICHTEXTEDITOR.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cff526ec5592c42772ade08d57f713736%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555046634193460&sdata=BjS8q1GarTweRfMMmZOKxN%2FTQTqhtzJlm05KAtWnNTQ%3D&reserved=0>
Thanks,
Alina
From: Alex Harui [mailto:aharui@adobe.com]
Sent: Wednesday, February 28, 2018 10:45 PM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

Hi Alina,

Good to hear it worked.

I think I am waiting on all of the mxml.api.txt files to see what else is in there that isn't in the two reports we have, then we'll have a pretty good list of the places you will either need to change in your code or that we  will build emulations for.

I think emulations will be less work in the end, but there will be a lot of them to do.  We will want to you to learn how to create emulations and contribute them to Apache Royale.  That's how many Apache projects work: some of the users learn how to become committers.  This will be an asset to your company as well since you will learn how to fix things in Royale yourself.  Then your company won't be dependent on outsiders for support.

So, Peter and I and hopefully others will get started on some emulations to make sure they work for us, and then you can see if they work for you, and then we will teach you how to write those emulations.  Over the next several months, besides testing emulations written by others in your app, you will be writing your own emulations for things you need right away that we haven't written yet, or for third-party code that you are using.

It might help to get some prioritization on the emulations we need to write.  In looking at the list, I am wondering:

  1.  Are some charts more important than others?
  2.  How important are effects?
  3.  Do you use Right-to-left languages in RichTextEditor?
  4.  Is RichTextEditor being used for non-plain text?  If so, what kinds of text styling is important?
Thanks,
-Alex

From: Alina Kazi <al...@d-bz.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Wednesday, February 28, 2018 at 1:22 AM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: RE: Generating API report for Flex Web Browser application

Hi Alex,
Thank you.
It’s working with latest nightly build:
https://www.dropbox.com/s/77wkgrm74upkg0j/SHMALib%20Report.txt?dl=0<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F77wkgrm74upkg0j%2FSHMALib%2520Report.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C16fa845b6d2f4efb7f4a08d57e8e9097%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636554073167111532&sdata=UV0BOZpVonw%2BILcK9njhQdf5pKpqWPccp0IKDPm4jOI%3D&reserved=0>


Regards,
Alina



From: Alex Harui [mailto:aharui@adobe.com]
Sent: Wednesday, February 28, 2018 1:15 PM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

Hi Alina,

Looks like COMPC collected the data but never generated the report.  I pushed a fix for that.  Please try the latest nightly build.

Thanks,
-Alex

From: Alina Kazi <al...@d-bz.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Tuesday, February 27, 2018 at 10:35 PM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: RE: Generating API report for Flex Web Browser application

Hi Alex,
Thank you
After commenting the embedded font part from source.
Output to console:
3462313 bytes written to D:\SHMALib.swc in 19.878 seconds
D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"
 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\framewor
ks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\sr
c" -library-path+=D:\SHMALIB\libs

SHMALib.swf file Generated and Report.txt is empty
SHMALib.swc output Link:
https://www.dropbox.com/s/4tz49sz134m2gg9/SHMALib.swc?dl=0<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F4tz49sz134m2gg9%2FSHMALib.swc%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=%2FNcbTJtah21RRPeWfwg2pRaZ72hd%2BdG0iJlnH3GsA28%3D&reserved=0>
then I change, Compc -output "D:\SHMALib.swc" to Compc -output "D:\SHMALib. txt "
SHMALib.txt output Link:
https://www.dropbox.com/s/j38obt5e36awuh3/SHMALib.txt?dl=0<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fj38obt5e36awuh3%2FSHMALib.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=V%2FcA5dJ3Fi1qOvh%2BtUlbU%2FZ%2FQ5SBfRw7psjsm2Q%2Fe8w%3D&reserved=0>

Thanks,
Alina



From: Alex Harui [mailto:aharui@adobe.com]
Sent: Wednesday, February 28, 2018 11:18 AM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

Hi Alina,

The only error right now is the embedded font.

We can discuss the pros and cons of embedding images in the JS output at some other point in time.

-Alex

From: Alina Kazi <al...@d-bz.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Tuesday, February 27, 2018 at 10:01 PM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: RE: Generating API report for Flex Web Browser application

Big Part of SHMALib Uses Embed and metadata :

                                // Embed the font so we can rotate it for further distortion
                                [Embed(systemFont="Comic Sans MS",
                                                                embedAsCFF='false')]
                <mx:Image y="4" width="18" height="20" right="185" source="@Embed(source='assets/default/images/load.png')"
                                                  source="@Embed(source='assets/default/images/next.gif')" scaleContent="false"/>
                <mx:Image y="4" width="18" height="20" right="3" source="@Embed(source='assets/default/images/magnifier.png')"
     * An IFrame which you can embed into Flex applications to show an HTML page.
     * @example A simple application with Google embedded
        // SWF embed object tracking
         * The SWF embed object id.
         * Get the embed object id.
        protected function resolveEmbedObjectId():void
                    var result:Object=ExternalInterface.call(IFrameExternalCalls.FUNCTION_ASK_FOR_EMBED_OBJECT_ID, randomIdentificationString.toString());
                        logger.info("Resolved the SWF embed object id to '{0}'.", applicationId);
                        logger.error('Could not resolve the SWF embed object Id.');
            // Resolve the SWF embed object id in the DOM.
            ExternalInterface.call(IFrameExternalCalls.INSERT_FUNCTION_ASK_FOR_EMBED_OBJECT_ID);
            resolveEmbedObjectId();
            logger.info("Loading IFrame with id '{0}', on SWF embed object with id '{1}'.", _frameId, applicationId);
                    FUNCTION_LOADIFRAME + " = function (frameID, iframeID, url, embedID, scrollPolicy)" +
                                      "onLoad='\"+embedID+\".\"+frameID+\"_load();' " +
        public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String = "askForEmbedObjectId";
        public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String = "askForEmbedObjectId";
        public static var INSERT_FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =
                "if (document." + FUNCTION_ASK_FOR_EMBED_OBJECT_ID + "==null)" +
                    FUNCTION_ASK_FOR_EMBED_OBJECT_ID + " = function(randomString) " +
                            "var embeds = document.getElementsByTagName('embed'); " +
                            "var embeds = document.getElementsByTagName('embed'); " +
                            "for (var i = 0; i < embeds.length; i++) { " +
                                "var isTheGoodOne = embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " +
                                "var isTheGoodOne = embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " +
                                    "return embeds[i].getAttribute('id'); " +
                                 * The UITextField control for displaying embeded hints.
                                private var embedTextField:UITextField;
                                 *  The String to be shown as the embeded hint.
                                private var embedStr:String = "";
                                                                                embedStr = "MM DD YYYY";
                                                                                embedStr = "DD MM YYYY";
                                                                                embedStr = "YYYY MM DD";
                                                                                embedStr = "YYYY DD MM";
                                 *  Create child objects for displaying embeded hints.
                                                                embedTextField = new UITextField();
                                                                //embedTextField.text = embedStr;
                                                                //embedTextField.text = embedStr;
                                                                addChildAt(UITextField(embedTextField),getChildIndex(DisplayObject(textField)));//as TextField
                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;
                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;
                                                                                                                                s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);
                                                                                                                                embedTextField.text = s;
                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;
                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;
                                                                                                                                //s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);
                                                                                                                                //embedTextField.text = s;
                                                                                                                                s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);
                                                                                                                                embedTextField.text = s;
                                                                                // If embeded hints are displayed then update the
                                                                                // UITextField corresponding to the embeded hints
                                                                                                var s:String = embedTextField.text == null ? "":embedTextField.text;
                                                                                                var s:String = embedTextField.text == null ? "":embedTextField.text;
                                                                                                                embedTextField.text = s;
                                                                // create the embeded text field for showing
                                                                // embeded hints if its not already created.
                                                                // If it is created, then just change the embeded hint.
                                                                if(!embedTextField)
                                                                                embedTextField = new UITextField();
                                                                                addChildAt(embedTextField,getChildIndex(DisplayObject(textField))); //as TextField
                                                                //embedTextField.text = embedStr;
                                                                //embedTextField.text = embedStr;
                                                                embedTextField.alpha = 1;
                                                                embedTextField.setTextFormat(txtFormat);
                                                                embedTextField.x = 0;
                                                                embedTextField.y = 2;
                                                                embedTextField.setActualSize(width,height);
                                                                if(embedTextField)
                                                                                embedTextField.text = "";
                                                                                embedTextField = null;
                                                // setting the color of the embeded text field to white.
                                                                if(embedTextField)
                                                                                embedTextField.setColor(0xFFFFFF);
                                                                                if(embedTextField)
                                                                                                addChildAt(DisplayObject(newSkin),getChildIndex(DisplayObject(embedTextField)));//
   background-image:                                      Embed(source="/assets/application_background.png",
                up-skin:                Embed("/assets/maximize_up.png");
                over-skin:            Embed("/assets/maximize_over.png");
                down-skin:         Embed("/assets/maximize_up.png");
                selected-up-skin:   Embed("/assets/restore_up.png");
                selected-over-skin: Embed("/assets/restore_over.png");
                selected-down-skin: Embed("/assets/restore_up.png");
                up-skin:        Embed("/assets/minimize_up.png");
                over-skin:      Embed("/assets/minimize_over.png");
                down-skin:      Embed("/assets/minimize_up.png");
                up-skin:                                Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");
                over-skin:                            Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");
                down-skin:                         Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");
                selected-up-skin:                             Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");
                selected-over-skin:                         Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");
                selected-down-skin:                      Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");
                up-skin:                                Embed("/assets/left_arrow_up.gif");
                over-skin:                            Embed("/assets/left_arrow_over.gif");
                down-skin:                         Embed("/assets/left_arrow_up.gif");
                disabled-skin:    Embed("/assets/left_arrow_disabled.gif");
                up-skin:                                Embed("/assets/right_arrow_up.gif");
                over-skin:                            Embed("/assets/right_arrow_over.gif");
                down-skin:                         Embed("/assets/right_arrow_up.gif");
                disabled-skin:    Embed("/assets/right_arrow_disabled.gif");
                                //[Embed(source="/assets/cursor_move.gif")]
                                //[Embed(source="/assets/cursor_resize.gif")]
                                [Embed(source="/assets/default/images/mouseMove.gif")]
                                [Embed(source="/assets/default/images/verticalSize.gif")]
                                [Embed(source="/assets/default/images/horizontalSize.gif")]
                                [Embed(source="/assets/default/images/leftObliqueSize.gif")]
                                [Embed(source="/assets/default/images/rightObliqueSize.gif")]
                                                if (image.isEmbedded)
                                                //if (!Application.application.systemManager.isFontFaceEmbedded(textFormat))
                                                if (!FlexGlobals.topLevelApplication.systemManager.isFontFaceEmbedded(textFormat))
                                                                if (Application.application.isFontsEmbedded) {
                                                                if (Application.application.isFontsEmbedded) {
                                                                if (Application.application.isFontsEmbedded) {
                                private var _isEmbedded:Boolean = false;
                                public function set isEmbedded(embedded:Boolean):void
                                public function set isEmbedded(embedded:Boolean):void
                                                _isEmbedded = embedded;
                                                _isEmbedded = embedded;
                                public function get isEmbedded():Boolean
                                                return _isEmbedded;
                                                <mx:icon>@Embed(source='images/print.GIF')</mx:icon>
                                                <mx:icon>@Embed(source='images/reload.GIF')</mx:icon>
                                                                <mx:disabledIcon>@Embed(source='images/first-gray.GIF')</mx:disabledIcon>
                                                                <mx:icon>@Embed(source='images/first.GIF')</mx:icon>
                                                                <mx:disabledIcon>@Embed(source='images/previous-gray.GIF')</mx:disabledIcon>
                                                                <mx:icon>@Embed(source='images/previous.GIF')</mx:icon>
                                                                <mx:disabledIcon>@Embed(source='images/next-gray.GIF')</mx:disabledIcon>
                                                                <mx:icon>@Embed(source='images/next.GIF')</mx:icon>
                                                                <mx:disabledIcon>@Embed(source='images/last-gray.GIF')</mx:disabledIcon>
                                                                <mx:icon>@Embed(source='images/last.GIF')</mx:icon>
                                                                                <mx:icon>@Embed(source='images/actualsize.GIF')</mx:icon>
                                                                                <mx:icon>@Embed(source='images/fitpage.GIF')</mx:icon>
                                                                                <mx:icon>@Embed(source='images/fitwidth.GIF')</mx:icon>
                                                                <mx:disabledIcon>@Embed(source='images/zoomin-gray.GIF')</mx:disabledIcon>
                                                                <mx:icon>@Embed(source='images/zoomin.GIF')</mx:icon>
                                                                <mx:disabledIcon>@Embed(source='images/zoomout-gray.GIF')</mx:disabledIcon>
                                                                <mx:icon>@Embed(source='images/zoomout.GIF')</mx:icon>
                                                                <mx:icon>@Embed(source='images/print.GIF')</mx:icon>
                                                if (imageSourceXml.@isEmbedded.length<ma...@isEmbedded.length>() > 0)
                                                                image.isEmbedded = imageSourceXml.@isEmbedded == "true";
                                                                image.isEmbedded = imageSourceXml.@isEmbedded == "true";
                 source="@Embed(source='/assets/default/images/left_arrow_up.gif')"/>
                 source="@Embed(source='/assets/default/images/left_arrow_over.gif')"/>
                 source="@Embed(source='/assets/default/images/left_arrow_disabled.gif')"/>
                                                                                   source="@Embed(source='/com/shm/flexlib/mdi/assets/img/maximizeButton.png')"/>
                                                                                   height="12" source="@Embed(source='/com/shm/flexlib/mdi/assets/img/restoreButton.png')"/>
                                                                                   source="@Embed(source='/com/shm/flexlib/mdi/assets/img/minimizeButton.png')"/>
                 source="@Embed(source='/assets/default/images/right_arrow_up.gif')"/>
                 source="@Embed(source='/assets/default/images/right_arrow_over.gif')"/>
                 source="@Embed(source='/assets/default/images/right_arrow_disabled.gif')"/>



From: Alex Harui [mailto:aharui@adobe.com]
Sent: Wednesday, February 28, 2018 11:00 AM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

Hi Alina,

I think you can ignore the warnings.  The first error is for embedding a font, which Royale doesn't currently support, so for now, try commenting out the Embed metadata and see if that allows the error to go away.

I would look into the other errors to see if they are legitimate or not.  The Royale Compiler will catch some things the MXMLC compiler may not.  Or you could comment out the code involved in the two errors in TImeZone.as for now since that won't affect the report.

The final two errors I saw are for missing skin states.  I think you can just add the skin states.

HTH,
-Alex

From: Alina Kazi <al...@d-bz.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Tuesday, February 27, 2018 at 9:35 PM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: RE: Generating API report for Flex Web Browser application

Hi Alex,

While Executing
D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\src"
Or
D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\Flex\libs\SH
MALIB.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bi
n\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\
SHMALIB\src" -library-path+=D:\SHMALIB\libs

Error:
(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to
field java.lang.Thread.inheritableThreadLocals
WARNING: Please consider reporting this to the maintainers of com.google.common.
base.internal.Finalizer
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect
ive access operations
WARNING: All illegal access operations will be denied in a future release
Loading configuration: D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml

Warning: Duplicate declaration of SkinState 'normal'


Warning: Duplicate declaration of SkinState 'disabled'


Warning: Duplicate declaration of SkinState 'normal'


Warning: Duplicate declaration of SkinState 'disabled'


Warning: Duplicate declaration of SkinState 'normal'


Warning: Duplicate declaration of SkinState 'disabled'


Warning: Duplicate declaration of SkinState 'normal'


Warning: Duplicate declaration of SkinState 'disabled'


Warning: Duplicate declaration of SkinState 'normal'


Warning: Duplicate declaration of SkinState 'disabled'


D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(415): col: 50 Warning:
Data binding will not be able to detect assignments to 'amfChannelSet'.

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"
id="DataProviderService"  showBusyCursor="true"
                                                               ^

D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(419): col: 50 Warning:
Data binding will not be able to detect assignments to 'amfChannelSet'.

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"
id="BasicFormatterService"  showBusyCursor="true"
                                                               ^

D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(516): col: 50 Warning: Da
ta binding will not be able to detect assignments to 'amfChannelSet'.

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"
id="DataProviderService"  showBusyCursor="true"
                                                               ^

D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(520): col: 50 Warning: Da
ta binding will not be able to detect assignments to 'amfChannelSet'.

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"
id="BasicFormatterService"  showBusyCursor="true"
                                                               ^

D:\SHMALIB\src\com\shm\components\shmCaptchaImage.as(43): col: 3 Error: Embed re
quires a 'source' file attribute

                [Embed(systemFont="Comic Sans MS",
                ^

D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(37): col: 88 Warning: Data
binding will not be able to detect assignments to 'isSelected'.

                                        <mx:CheckBox selectedField="isSelected"
 change="onChange(event);" selected="{data.isSelected}">

                                          ^

D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(46): col: 27 Warning: Data
binding will not be able to detect assignments to 'label'.

                                        <mx:Label text="{data.label}" />
                                                             ^

D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(126): col: 15 Error: Impli
cit coercion of a value of type Boolean to an unrelated type Number.

                                if(year & 0x3 == 0)
                                          ^

D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(134): col: 39 Error: Impli
cit coercion of a value of type Boolean to an unrelated type Number.

                                if(month == 1 && value.fullYear & 0x3 == 0)
                                                                  ^

D:\SHMALIB\src\com\shm\dashboard\renderers\GridPodURLRenderer.mxml(6): col: 23 W
arning: Data binding will not be able to detect assignments to 'SrNo'.

                  htmlText="&lt;u&gt;{data.SrNo}&lt;/u&gt;" color="blue" click="
f_DrillDownData(data)">
                                    ^

D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml Error:
The required skin state 'disabledWithPrompt' is missing.


D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml Error:
The required skin state 'normalWithPrompt' is missing.


D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(177): col: 27 Warning: D
ata binding will not be able to detect assignments to 'valueField'.

                                                yField="{properties.@valueField}
">
                                                                    ^

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(187): col: 34 Warning: D
ata binding will not be able to detect assignments to 'categoryField'.

                                                categoryField="{properties.@cate
goryField}" />
                                                                           ^

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(202): col: 27 Warning: D
ata binding will not be able to detect assignments to 'valueField'.

                                                yField="{properties.@valueField}
">
                                                                    ^

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(212): col: 34 Warning: D
ata binding will not be able to detect assignments to 'categoryField'.

                                                categoryField="{properties.@cate
goryField}" />
                                                                           ^

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(429): col: 27 Warning: D
ata binding will not be able to detect assignments to 'valueField'.

                                                yField="{properties.@valueField}
">
                                                                    ^

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(439): col: 34 Warning: D
ata binding will not be able to detect assignments to 'categoryField'.

                                                categoryField="{properties.@cate
goryField}" />
                                                                           ^

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(454): col: 27 Warning: D
ata binding will not be able to detect assignments to 'valueField'.

                                                yField="{properties.@valueField}
">
                                                                    ^

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(464): col: 34 Warning: D
ata binding will not be able to detect assignments to 'categoryField'.

                                                categoryField="{properties.@cate
goryField}" />
                                                                           ^

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(479): col: 26 Warning: D
ata binding will not be able to detect assignments to 'valueField'.

                                                field="{properties.@valueField}"

                                                                   ^

D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(115): col: 74 Warning
: Data binding will not be able to detect assignments to 'amfChannelSet'.

                <mx:RemoteObject id="roDrillDownColInfo" channelSet="{parentAppl
ication.amfChannelSet}" showBusyCursor="true"

       ^

D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(118): col: 68 Warning
: Data binding will not be able to detect assignments to 'amfChannelSet'.

                <mx:RemoteObject id="roDgDpResult" channelSet="{parentApplicatio
n.amfChannelSet}" showBusyCursor="true"

 ^

D:\SHMALIB\src\com\shm\dashboard\view\PieChartContent.mxml(128): col: 24 Warning
: Data binding will not be able to detect assignments to 'valueField'.

                                field="{properties.@valueField}"
                                                   ^

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 37 Warning: Dat
a binding will not be able to detect assignments to 'appParams'.

                                                        inputMask="{parentApplic
ation.appParams.DATE_FORMAT}" showToday="true"  yearNavigationEnabled="true"

     ^

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 47 Warning: Dat
a binding will not be able to detect assignments to 'DATE_FORMAT'.

                                                        inputMask="{parentApplic
ation.appParams.DATE_FORMAT}" showToday="true"  yearNavigationEnabled="true"

               ^

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 38 Warning: Dat
a binding will not be able to detect assignments to 'appParams'.

                                                         inputMask="{parentAppli
cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true" showToday="true"

      ^

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 48 Warning: Dat
a binding will not be able to detect assignments to 'DATE_FORMAT'.

                                                         inputMask="{parentAppli
cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true" showToday="true"

                ^

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(12): col: 11 Warnin
g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

                        import mx.graphics.Stroke;
                               ^

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(37): col: 23 Warnin
g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

                                        lne.stroke = new Stroke(0,1,.3);
                                                         ^

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(46): col: 14 Warnin
g: Duplicate variable definition: i.

                                for (var i:int = 1; i < lnWdt; i++){
                                         ^

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(47): col: 10 Warnin
g: Duplicate variable definition: lne.

                                        var lne:Line  = new Line();
                                            ^

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(53): col: 23 Warnin
g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

                                        lne.stroke = new Stroke(0,1,.3);
                                                         ^

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(54): col: 10 Warnin
g: Duplicate variable definition: llbe.

                                        var llbe:Label = new Label();
                                            ^

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(157): col: 40 Warn
ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev
elApplication'.

                                var xPosition:Number = Application.application.p
arent.mouseX;
                                                                   ^

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(158): col: 40 Warn
ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev
elApplication'.

                                var yPosition:Number = Application.application.p
arent.mouseY;
                                                                   ^

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(225): col: 36 Warn
ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev
elApplication'.

                                var xPlus:Number = Application.application.paren
t.mouseX - point.x;
                                                               ^

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(226): col: 36 Warn
ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev
elApplication'.

                                var yPlus:Number = Application.application.paren
t.mouseY - point.y;

Thanks,
Alina Kazi
From: Alex Harui [mailto:aharui@adobe.com]
Sent: Wednesday, February 28, 2018 10:16 AM
To: Alina Kazi; users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

Hi Alina,

I think that Flash Builder makes it easy to build SWCs.  Building from the command line can be a bit trickier.

Let's try:
Compc -output "D:\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\src"

HTH,
-Alex


From: Alina Kazi <al...@d-bz.com>>
Date: Tuesday, February 27, 2018 at 7:28 PM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>, Alex Harui <ah...@adobe.com>>
Subject: RE: Generating API report for Flex Web Browser application

Hi Alex,
Yes I am using Flash Builder.
SHMALIB and MainFlexApp are two separate Projects
Src for SHMALIB is placed into D:/SHMALIB/src
Src for MainFlexApp is D:/Flex/src and the library output file SHMALIB.swc is placed into D:/Flex/libs

SHMALIB (.actionscriptProperties)

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<actionScriptProperties mainApplicationPath="SHMALib.as" projectUUID="863559ab-3e7b-475b-a3a4-09f4f76fc0d2" version="6">
  <compiler additionalCompilerArguments="-locale en_US" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderLocation="D:/Flex/libs" outputFolderPath="bin-debug" sourceFolderPath="src" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" verifyDigests="true" warn="true">
    <compilerSourcePath/>
    <libraryPath defaultLinkType="0">
      <libraryPathEntry kind="4" path="">
        <excludedEntries>
          <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>
        </excludedEntries>
      </libraryPathEntry>
      <libraryPathEntry kind="1" linkType="1" path="libs"/>
    </libraryPath>
    <sourceAttachmentPath/>
  </compiler>
  <applications>
    <application path="SHMALib.as"/>
  </applications>
  <modules/>
  <buildCSSFiles/>
</actionScriptProperties>

SHMALIB (.flexLibProperties)
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<flexLibProperties includeAllClasses="true" version="3">
  <includeClasses/>
  <includeResources/>
  <namespaceManifests/>
</flexLibProperties>

Thanks,
Alina
From: Alex Harui [mailto:aharui@adobe.com]
Sent: Tuesday, February 27, 2018 9:34 PM
To: Alina Kazi
Subject: Re: Generating API report for Flex Web Browser application

Hi Alina,

When you are not trying to use Royale to generate this API report, how are you building your current Flex app?  We might need to know that in order to determine what parameters to add to COMPC.

COMPC has additional parameters like -include–sources, include-file, include-classes.  Sometimes, these are listed in an xml file.  If you are using Flash Builder, for example, then examine the .flexlibproperties and .actionscriptProperties files in your project folder.

Thanks,
-Alex

From: Alina Kazi <al...@d-bz.com>>
Date: Tuesday, February 27, 2018 at 3:21 AM
To: 'Alina Kazi' <al...@d-bz.com>>
Cc: Alex Harui <ah...@adobe.com>>
Subject: RE: Generating API report for Flex Web Browser application

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"
 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"
Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.common.base.internal.Finalizer
(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to
field java.lang.Thread.inheritableThreadLocals
WARNING: Please consider reporting this to the maintainers of com.google.common.
base.internal.Finalizer
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect
ive access operations

Error: nothing was specified to be included in the library.
-Alina

From: Alina Kazi [mailto:alina.kazi@d-bz.com]
Sent: Tuesday, February 27, 2018 2:16 PM
To: 'users@royale.apache.org<ma...@royale.apache.org>'
Subject: RE: Generating API report for Flex Web Browser application

Hi Alex,

I am using Moonshine IDE 1.9.0.
Flex 4.16.0
Apache Royale 0.9.2 Latest Nightly Build

Running this Command on Command Prompt:
D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"
 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"
Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.common.base.internal.Finalizer
(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to
field java.lang.Thread.inheritableThreadLocals
WARNING: Please consider reporting this to the maintainers of com.google.common.
base.internal.Finalizer
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect
ive access operations
WARNING: All illegal access operations will be denied in a future release

command line Error: unknown configuration variable 'sourceΓÇôpath'.

-Alina
From: Alex Harui [mailto:aharui@adobe.com]
Sent: Tuesday, February 27, 2018 1:26 PM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

Hi Alina,

COMPC takes a slightly different set of parameters.  What IDE or build tools are you using to build it without Royale?  You might need to know what options that build uses.

You can try running:

Compc -output "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source–path="D:\Projects\SHMA\Main\Flex\src" or wherever the source code is for the library.

HTH,
-Alex

From: Alina Kazi <al...@d-bz.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Monday, February 26, 2018 at 11:33 PM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: RE: Generating API report for Flex Web Browser application

Hi Alex,

For custom SWC, I am using COMPC to get an api-report for SWC
D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>compc "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml
Error: configuration variable 'output' was not set.


Thanks,
Alina
From: Alex Harui [mailto:aharui@adobe.com]
Sent: Tuesday, February 27, 2018 12:27 PM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

Hi Alina,

Yes, any SWC that is not in the Flex SDK's frameworks/libs folder needs to be specified as Piotr describes below.  We want you specify the same MXML file that you use to compile in the regular Flex SDK.  So if your Application.mxml starts with an mx:Application or s:Application that’s probably the one to use.  But also, if you have your own custom SWCs, we want you to use COMPC to get an api-report for those SWCs.  We want this modified Royale compiler to compile every source file you own so we can see what Flex APIs you are using.

HTH,
-Alex

From: Piotr Zarzycki <pi...@gmail.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Monday, February 26, 2018 at 11:19 PM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: Re: Generating API report for Flex Web Browser application

Hi Alina,

In my sense you will have to use -library-path+=path to the library. You have to tell compiler about that library.

Thanks, Piotr

2018-02-27 7:57 GMT+01:00 Alina Kazi <al...@d-bz.com>>:
Hi  Alex,
With latest nightly build:
MaskedTextInput , shmReportUtil …. Are Library Project Actionscript Files.
Main Application contains SHMALib.swc file in Libs folder
Error Link:
https://www.dropbox.com/s/p5imt22cuut0ex6/ErrorGeneratingReport.png?dl=0<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fp5imt22cuut0ex6%2FErrorGeneratingReport.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=8f1f9duW2Red4bP77hFTh3mLcCptBmAwd87n1iSkk%2Bs%3D&reserved=0>

I have a question that which .mxml file should be used to generate that report?
Applications.mxml is startup file in case of my Project so I’m using it.

Please visit reference link and If I’m doing anything wrong please let me know.

Thanks,
Alina

From: Alex Harui [mailto:aharui@adobe.com<ma...@adobe.com>]
Sent: Tuesday, February 27, 2018 12:00 AM

To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

Hi Alina,

I pushed a fix for that.  It might or might not be related to your custom swc.  Get the latest nightly build and let us know.

Also, if you are successful, please use your regular compiler to generate a -link–report.  That will help us verify that the API report didn't miss anything.

Thanks,
-Alex


From: Alina Kazi <al...@d-bz.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Monday, February 26, 2018 at 4:01 AM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: RE: Generating API report for Flex Web Browser application

Generated Report file for Sample Project Successfully.

spark.components.Application:minHeight,1
spark.components.Application:minWidth,1
spark.components.Application:mxmlContentFactory,2
spark.components.Label:fontSize,1
spark.components.Label:fontWeight,1
spark.components.Label:horizontalCenter,1
spark.components.Label:text,1
spark.components.Label:textAlign,1
spark.components.Label:verticalCenter,1

But while executing Actual Project got Error:
https://www.dropbox.com/s/d25eysllavuy5z4/compile2.png?dl=0<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fd25eysllavuy5z4%2Fcompile2.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=2i28J4zjv1vEQ7sd%2BGfHm%2Bh1FjG%2BP3YdJCc6rGZr3C4%3D&reserved=0>
https://www.dropbox.com/s/49iq74zk6rxcr1y/compile1.png?dl=0<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F49iq74zk6rxcr1y%2Fcompile1.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=44tfkOscWyJ%2FH3M30HeJ6dfFE0TlpTMhQ2t%2Bv%2ByuoDg%3D&reserved=0>

May be because my Application is dependent to SHMALib(.swc) Library Project (Source Shared Earlier).

-Alina

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com]
Sent: Monday, February 26, 2018 5:02 PM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

Alex,

I did above exercise for Moonshine and got NPE [1]. I used air-config.xml because it is na Desktop app.

[1] https://paste.apache.org/R0Si<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FR0Si&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=tFLrK9xsVt57PytwBaNoUJ%2FIPFH7FCHDtfrmJ1sAl3Y%3D&reserved=0>

Thanks,
Piotr


2018-02-26 12:56 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>>:
Yishay,

Thank you so much!! I got it working.

Alina,

Here is the full instruction.

1) Download Apache Royale with SWF support - if you have that is good, if not it's here [1]
2) Download Apache Flex - you have it as I have seen on the screenshot.
3) Launch console and go to the Royale SDK folder

"yourpathtosdk\bin\" - In my case it was: "d:\Work\royale_ide\royale_nightly_js_swf\bin\"

4) Run following command where you will point to the Flex Browser application in order to generate report. My command looks like that:

mxmlc "c:\Users\piotr\Documents\NewFlexBrowserProject\src\NewFlexBrowserProject.mxml" -api-report="c:\Users\piotr\Documents\NewFlexBrowserProject\report.txt" -load-config=d:\Work\flex-sdk-4.16.1_adobe_air_28\frameworks\flex-config.xml

I generated report for hellow world. Maybe in order to generate report for your application that console command may be much more sophisticated. Let's see!


[1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/lastSuccessfulBuild/artifact/out/<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2Fout%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=O%2BpVQ8OuhB%2FtE4ZdylTSkAQCWsIPBGlr9RgiTjWSWEM%3D&reserved=0>

Thanks,
Piotr


2018-02-26 12:46 GMT+01:00 Yishay Weiss <yi...@hotmail.com>>:
Looks like [1] you do need to add compiler option: -api–report=<path to output file>

[1] http://apache-royale-users.20374.n8.nabble.com/Substitutes-in-Apache-Royale-tp392p492.html<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p492.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kda6SpkBgdRqGAeGJ5Db629EAy7KAVbOZKzhzhynRZk%3D&reserved=0>


From: Piotr Zarzycki<ma...@gmail.com>
Sent: Monday, February 26, 2018 1:37 PM

To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

I have produced with that swf, but what's next? Let's wait for Alex's response [1]

[1] https://paste.apache.org/YEeG<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FYEeG&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8ameYzJ7AloOW4nTa8dqu7zYxwORSQc5sCUqpZDVA%2BY%3D&reserved=0>

Thanks,
Piotr

2018-02-26 12:32 GMT+01:00 Yishay Weiss <yi...@hotmail.com>>:
Alex will know but I don’t think so. I haven’t updated the compiler recently so can’t test it right now. If you want to test it maybe just create a simple app and replace /Users/aharui/ApacheFlex4.16.0 with your sdk home.



From: Piotr Zarzycki<ma...@gmail.com>
Sent: Monday, February 26, 2018 1:25 PM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

Hi Yishay,

bin/mxmlc
<path to app's
.mxml
file>
-load-config=/Users/aharui/ApacheFlex4.16.0/frameworks/flex-config.xml

Do I need some switch for compiler -api-report or something like that ?

Thanks,
Piotr


2018-02-26 12:10 GMT+01:00 Yishay Weiss <yi...@hotmail.com>>:
Wasn’t logged in. Here’s [1] the link.

[1] http://apache-royale-users.20374.n8.nabble.com/Substitutes-in-Apache-Royale-tp392p489.html<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p489.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8Tp5%2BFveKS0eoW7D8EovITPQqYrgwDK4P7cW9izXFH8%3D&reserved=0>


From: Yishay Weiss<ma...@hotmail.com>
Sent: Monday, February 26, 2018 12:59 PM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

I couldn’t find a way to link to a nabble post, but this [1] might help (from Substitutes in Apache Royale).

[1] https://paste.apache.org/N2QR<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FN2QR&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=VIS8u6EEBWN6jQrFxpttZvAfUCSSKPe3rbrBDU2w7Sg%3D&reserved=0>

From: Piotr Zarzycki<ma...@gmail.com>
Sent: Monday, February 26, 2018 12:44 PM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Generating API report for Flex Web Browser application

Hi Alex,

I would like to understand how to generate that report. I will go with the console path, because I think this is something unusual and probably Moonshine is not prepared to do this. I'm writing this on the users mailing list because Alina is having some problems with that. I wanted to simplify all of that. Let's start from the beginning.

1) I have created Flex Web browser project using Apache Flex SDK 4.16.1.
2) I have nightly build of Royale with SWF support [1]

What should I type in the console now ?

[1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/lastSuccessfulBuild/artifact/<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=UtYFFQ90aNB2HU2Vx4t8YAS6Eo2j1ZqVAytujEOgoFM%3D&reserved=0>

Thanks,
--

Piotr Zarzycki

Patreon: https://www.patreon.com/piotrzarzycki<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>





--

Piotr Zarzycki

Patreon: https://www.patreon.com/piotrzarzycki<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>




--

Piotr Zarzycki

Patreon: https://www.patreon.com/piotrzarzycki<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>




--

Piotr Zarzycki

Patreon: https://www.patreon.com/piotrzarzycki<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>



--

Piotr Zarzycki

Patreon: https://www.patreon.com/piotrzarzycki<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>



--

Piotr Zarzycki

Patreon: https://www.patreon.com/piotrzarzycki<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=zGrfZ2Wj3CLuuW%2B%2BKtUSQF6762Vn0%2BeNjCMlViBMghg%3D&reserved=0>

RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

Posted by Alina Kazi <al...@d-bz.com>.
Hi Alex,

 

We can exclude ScaleX , ScaleY,transform from our code as we are using it in our Library Project Only.

We are using “Rotation” in a PopUp Window. 

 

Can you please explain emulation ?

How do they will work?

 

Thanks,

Alina

 

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Tuesday, March 06, 2018 3:14 PM
To: 'users@royale.apache.org'
Subject: RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alex,

We are using commitProperties() in our Library Project. Overriding the Existing Spark commitProperties() method 

For Example:

ResizableTextAreaSkin.mxml (SHMALib)

override protected function commitProperties():void {

                                                super.commitProperties();

 

                                                if (lineBreakChanged) {

                                                                updateStringStyle("lineBreak");

                                                                lineBreakChanged = false;

                                                }

                                                if (paddingChanged) {

                                                                updatePadding();

                                                                paddingChanged = false;

                                                }

                                                if (verticalAlignChanged) {

                                                                updateStringStyle("verticalAlign");

                                                                verticalAlignChanged = false;

                                                }

                                }

We are using 


Package

 <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/package-detail.html> flash.display


Class

public class DisplayObject


Inheritance

DisplayObject Inheritance  <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/EventDispatcher.html> EventDispatcher Inheritance  <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Object.html> Object


Reference Link:

	

https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/DisplayObject.html

 

e.g :

                public function updateLayoutWithoutAnimation():void

                                {

                                                if(_layoutInvalid == true && layoutFunction != null)

                                                {

                                                                _layoutInvalid = false;

                                                                layoutFunction();

                                                }

 

                                                for(var aChild:* in _targets)

                                                {

                                                                var target:LayoutTarget = _targets[aChild];

                                                                var item:IFlexDisplayObject = target.item;

                                                                var m:Matrix = DisplayObject(item).transform.matrix;

 

                                                                m.tx = target.x;

                                                                m.ty = target.y;

                                                                m.a = target.scaleX;                                                                        

                                                                m.d = target.scaleY

                                                                

                                                                DisplayObject(item).alpha = target.alpha;

                                                                DisplayObject(item).transform.matrix = m;

                                                                item.setActualSize(target.unscaledWidth,target.unscaledHeight);

                                                                if(target.state == "removed")

                                                                {

                                                                                delete _targets[target.item];

                                                                                continue;

                                                                }

                                                                else

                                                                {

                                                                                target.state = "positioned"

                                                                }

                                                }

                                                stopTimer();

                                }

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, March 06, 2018 1:36 PM
To: users@royale.apache.org
Subject: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alina,

 

I'm starting on the emulation.  I've noticed that your application code appears to be calling commitProperties().  Can you tell us why?

 

Also, it looks like there are a few uses of rotation, transform, scaleX and scaleY.  What are those used for?

 

Thanks,

-Alex

 

From: Alex Harui <ah...@adobe.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 11:38 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Try again.  Sometimes the Antlr server goes off-line around this time of day.

 

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 11:12 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Using jdk1.8.0_162:

 

C:\Users\aleena\royale-asjs>ant all

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Buildfile: C:\Users\aleena\royale-asjs\build.xml

 

set.base.folder:

 

check-git:

     [echo] Checking for Git...

     [exec] git version 2.16.2.windows.1

 

get-download-folder:

 

download-all:

     [echo] Using folder C:\Users\aleena\royale-asjs/..

 

check-royale-asjs:

 

warn-before-clone:

 

check-royale-asjs:

 

clone-royale-asjs:

 

check-royale-compiler:

 

clone-royale-compiler:

 

check-royale-typedefs:

 

clone-royale-typedefs:

 

check-playerglobal-home:

 

check-air-home:

 

build-all:

 

ask-before-build-all:

    [input] This script will now download and compile lots of files.  This can t

ake several minutes.   No interaction should be required.  Press the enter key t

o continue.

 

 

sdk:

 

annotate.class:

    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-

build-tools\target\classes

    [javac] warning: [options] bootstrap class path not set in conjunction with

-source 1.5

    [javac] warning: [options] source value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] target value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] To suppress warnings about obsolete options, use

-Xlint:-options.

    [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\src\main\java\o

rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:24: warning: [serial

] serializable class AnnotateClassDeleteException has no definition of serialVer

sionUID

    [javac]     public static class AnnotateClassDeleteException extends Excepti

on

    [javac]                   ^

    [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\src\main\java\o

rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:32: warning: [serial

] serializable class AnnotateClassRenameException has no definition of serialVer

sionUID

    [javac]     public static class AnnotateClassRenameException extends Excepti

on

    [javac]                   ^

    [javac] 6 warnings

 

unknown.tree.pattern.input.output:

    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-

build-tools\target\classes

    [javac] warning: [options] bootstrap class path not set in conjunction with

-source 1.5

    [javac] warning: [options] source value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] target value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] To suppress warnings about obsolete options, use

-Xlint:-options.

    [javac] 4 warnings

 

main:

 

compiler.downloads.cache:

 

compiler.downloads:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

prepare:

     [echo] Making lib directory C:\Users\aleena\royale-compiler\compiler/lib/ex

ternal

    [mkdir] Created dir: C:\Users\aleena\royale-compiler\compiler\lib\external

 

all:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

check-dependency:

     [echo] checking for C:\Users\aleena\royale-compiler\compiler/lib/external//

antlr.jar

 

download-dependency:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

echo-project-jar:

   [delete] Deleting: C:\Users\aleena\royale-compiler\compiler\src\main\resource

s\project.properties

     [echo] ${INFO_DOWNLOADING_FILE_FROM}

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

download-apache-license:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

download-other-license:

      [get] Getting: http://www.antlr.org/license.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0> 

      [get] To: C:\Users\aleena\royale-compiler\compiler\lib\external\antlr-LICE

NSE.html

      [get] Error getting http://www.antlr.org/license.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0>  to C:\Users\aleena\r

oyale-compiler\compiler\lib\external\antlr-LICENSE.html

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

double-check-file:

     [echo] ${env.ROYALE_DOWNLOAD_CACHE}

     [echo] Need file: ${still_no_file}

 

get-from-cache-if-needed:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

fail-if-not-found:

 

BUILD FAILED

C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-compiler\build.xml:64: The following error occurred while

 executing this line:

C:\Users\aleena\royale-compiler\compiler-jburg-types\build.xml:87: The following

 error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:81: Th

e following error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:275: T

he following error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:329: T

he following error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:489: C

:\Users\aleena\royale-compiler\compiler/lib/external//antlr-LICENSE.html could n

ot be downloaded or found in cache

 

Total time: 47 seconds

 

C:\Users\aleena\royale-asjs>

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, March 06, 2018 11:55 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Please use JDK8.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 10:40 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

Java version that I am using is “9.0.1”

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, March 06, 2018 11:42 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

What version of Java are you using?  Please get a JDK7 or 8 and try that.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 10:22 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Command Prompt Output is:

C:\Users\aleena>git clone https://github.com/apache/royale-asjs.git <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs.git&data=02%7C01%7Caharui%40adobe.com%7Cdf86fa0dd25b41ffbc8108d5832f0997%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559160423949211&sdata=d9cKX4ILIQPLI5USXvAafSnrWZSgW1XHw6G4r%2B9wgsE%3D&reserved=0>  royale-asjs

Cloning into 'royale-asjs'...

remote: Counting objects: 101103, done.

remote: Compressing objects: 100% (22/22), done.

remote: Total 101103 (delta 9), reused 30 (delta 7), pack-reused 101066R

Receiving objects: 100% (101103/101103), 19.23 MiB | 208.00 KiB/s, done.

 

Resolving deltas: 100% (61584/61584), done.

Checking out files: 100% (3572/3572), done.

 

C:\Users\aleena>cd royale-asjs

 

C:\Users\aleena\royale-asjs>git checkout develop

Already on 'develop'

Your branch is up to date with 'origin/develop'.

 

C:\Users\aleena\royale-asjs>ant all

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Buildfile: C:\Users\aleena\royale-asjs\build.xml

 

set.base.folder:

 

check-git:

     [echo] Checking for Git...

     [exec] git version 2.16.2.windows.1

 

get-download-folder:

 

download-all:

     [echo] Using folder C:\Users\aleena\royale-asjs/..

 

check-royale-asjs:

 

warn-before-clone:

 

check-royale-asjs:

 

clone-royale-asjs:

 

check-royale-compiler:

 

clone-royale-compiler:

     [echo] cloning royale-compiler repo into C:\Users\aleena\royale-asjs/../roy

ale-compiler

     [exec] Cloning into 'royale-compiler'...

     [exec] Checking out files:   8% (284/3191)

     [exec] Checking out files:   9% (288/3191)   Checking out files:  10% (320/

3191)   Checking out files:  11% (352/3191)   Checking out files:  12% (383/3191

)   Checking out files:  13% (415/3191)   Checking out files:  13% (444/3191)

Checking out files:  14% (447/3191)   Checking out files:  15% (479/3191)   Chec

king out files:  16% (511/3191)   Checking out files:  17% (543/3191)   Checking

 out files:  18% (575/3191)   Checking out files:  19% (607/3191)   Checking out

 files:  20% (639/3191)   Checking out files:  20% (641/3191)   Checking out fil

es:  21% (671/3191)   Checking out files:  22% (703/3191)   Checking out files:

 23% (734/3191)   Checking out files:  24% (766/3191)   Checking out files:  25%

 (798/3191)   Checking out files:  26% (830/3191)   Checking out files:  26% (84

2/3191)   Checking out files:  27% (862/3191)   Checking out files:  28% (894/31

91)   Checking out files:  29% (926/3191)   Checking out files:  30% (958/3191)

  Checking out files:  31% (990/3191)   Checking out files:  32% (1022/3191)   C

hecking out files:  33% (1054/3191)   Checking out files:  34% (1085/3191)   Che

cking out files:  35% (1117/3191)   Checking out files:  36% (1149/3191)   Check

ing out files:  37% (1181/3191)   Checking out files:  38% (1213/3191)   Checkin

g out files:  39% (1245/3191)   Checking out files:  40% (1277/3191)   Checking

out files:  40% (1308/3191)   Checking out files:  41% (1309/3191)   Checking ou

t files:  42% (1341/3191)   Checking out files:  42% (1352/3191)   Checking out

files:  43% (1373/3191)   Checking out files:  44% (1405/3191)   Checking out fi

les:  45% (1436/3191)   Checking out files:  46% (1468/3191)   Checking out file

s:  47% (1500/3191)   Checking out files:  48% (1532/3191)   Checking out files:

  49% (1564/3191)   Checking out files:  49% (1578/3191)   Checking out files:

50% (1596/3191)   Checking out files:  51% (1628/3191)   Checking out files:  52

% (1660/3191)   Checking out files:  53% (1692/3191)   Checking out files:  54%

(1724/3191)   Checking out files:  55% (1756/3191)   Checking out files:  56% (1

787/3191)   Checking out files:  57% (1819/3191)   Checking out files:  58% (185

1/3191)   Checking out files:  59% (1883/3191)   Checking out files:  60% (1915/

3191)   Checking out files:  61% (1947/3191)   Checking out files:  62% (1979/31

91)   Checking out files:  63% (2011/3191)   Checking out files:  63% (2022/3191

)   Checking out files:  64% (2043/3191)   Checking out files:  65% (2075/3191)

  Checking out files:  66% (2107/3191)   Checking out files:  67% (2138/3191)

Checking out files:  68% (2170/3191)   Checking out files:  69% (2202/3191)   Ch

ecking out files:  70% (2234/3191)   Checking out files:  71% (2266/3191)   Chec

king out files:  72% (2298/3191)   Checking out files:  73% (2330/3191)   Checki

ng out files:  74% (2362/3191)   Checking out files:  75% (2394/3191)   Checking

 out files:  76% (2426/3191)   Checking out files:  77% (2458/3191)   Checking o

ut files:  78% (2489/3191)   Checking out files:  79% (2521/3191)   Checking out

 files:  80% (2553/3191)   Checking out files:  81% (2585/3191)   Checking out f

iles:  82% (2617/3191)   Checking out files:  83% (2649/3191)   Checking out fil

es:  83% (2679/3191)   Checking out files:  84% (2681/3191)   Checking out files

:  85% (2713/3191)   Checking out files:  86% (2745/3191)   Checking out files:

 87% (2777/3191)   Checking out files:  88% (2809/3191)   Checking out files:  8

9% (2840/3191)   Checking out files:  89% (2845/3191)   Checking out files:  90%

 (2872/3191)   Checking out files:  91% (2904/3191)   Checking out files:  92% (

2936/3191)   Checking out files:  93% (2968/3191)   Checking out files:  94% (30

00/3191)   Checking out files:  95% (3032/3191)   Checking out files:  95% (3035

/3191)   Checking out files:  96% (3064/3191)   Checking out files:  97% (3096/3

191)   Checking out files:  98% (3128/3191)   Checking out files:  99% (3160/319

1)   Checking out files: 100% (3191/3191)   Checking out files: 100% (3191/3191)

, done.

     [exec] Your branch is up to date with 'origin/develop'.

     [exec] Already on 'develop'

 

check-royale-typedefs:

 

clone-royale-typedefs:

     [echo] cloning royale-typedefs repo into C:\Users\aleena\royale-asjs/../roy

ale-typedefs

     [exec] Cloning into 'royale-typedefs'...

     [exec] Your branch is up to date with 'origin/develop'.

     [exec] Already on 'develop'

 

check-playerglobal-home:

 

check-air-home:

 

build-all:

 

ask-before-build-all:

    [input] This script will now download and compile lots of files.  This can t

ake several minutes.   No interaction should be required.  Press the enter key t

o continue.

 

sdk:

 

annotate.class:

    [mkdir] Created dir: C:\Users\aleena\royale-compiler\compiler-build-tools\ta

rget\classes

    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-

build-tools\target\classes

    [javac] warning: [options] bootstrap class path not set in conjunction with

-source 1.5

    [javac] error: Source option 1.5 is no longer supported. Use 1.6 or later.

    [javac] error: Target option 1.5 is no longer supported. Use 1.6 or later.

 

BUILD FAILED

C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-compiler\build.xml:63: The following error occurred while

 executing this line:

C:\Users\aleena\royale-compiler\compiler-build-tools\build.xml:74: Compile faile

d; see the compiler error output for details.

 

Total time: 17 minutes 59 seconds

 

C:\Users\aleena\royale-asjs>

 

Unable to Build, Please guide.

 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Friday, March 02, 2018 10:31 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I was able to download and expand the files.  I will be consolidating the data today. 

 

In order to be able to write some of these emulations, you will probably need to be able to build the framework sources.  If you haven't already, you can try cloning the royale-asjs repo and figure out how to get it to build.  You can choose Apache Maven or Apache Ant as the build tool.

 

https://github.com/apache/royale-asjs <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs&data=02%7C01%7Caharui%40adobe.com%7C3c1833c1fc9442003f2608d5832c7fe0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559149534170415&sdata=YqGTpbzoou8SilHbsTxjriIjiREaS%2FA9j6xjZYRR%2F4E%3D&reserved=0> 

 

Hopefully the instruction in the readme are sufficient.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Friday, March 2, 2018 at 12:34 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

Application API-Report link:

https://www.dropbox.com/s/swvqhly6wa0jrc5/API-Reports.rar?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fswvqhly6wa0jrc5%2FAPI-Reports.rar%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C928c248220464230f6dd08d5801a2f13%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555772324148830&sdata=9%2BsrGG41iCMIEmbtqnEbV%2BPvi1ngE9vF%2BKuqPAZ%2Bzao%3D&reserved=0> 

SHMALib Report, applications,shmDoclist,shmSetupList,AppView_EIS, AppView_ERP,shmMappingSetup, shmMappingSetupOpenDetailGrid,shmSalesInvoice, shmSalesInvoiceDetail are main API Files.

 

Regards,

Alina

 

 

 

 

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Friday, March 02, 2018 11:32 AM
To: users@royale.apache.org
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

2) We are using Effects in our Application 2-3 times 

4) We are using text styling in our Application 3-5 times 

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Friday, March 02, 2018 4:26 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

1) Interesting about Charts.  They were being used by the SWC.

2) Effects are any animations that move, resize or fade things in the UI.

3) ok

4) I'm not sure what to conclude from the screenshot.  I'm interested in how often folks use it to create text with bold, italics and other styling of text.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Thursday, March 1, 2018 at 4:24 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

600 mxml.api.txt files are generated and still in process. I will share link for files tomorrow.

After sharing my files tomorrow, If you will suggest to build  emulations. 

I will  definitely want to learn how to create emulations and contribute them to Apache Royale.  

1.We are not using Charts in our Application

2. How important are effects? (Please explain effects )

3. We are not using Right-to-left languages in RichTextEditor.

4. Is RichTextEditor being used for non-plain text?  If so, what kinds of text styling is important?

Link:https://www.dropbox.com/s/ky93eycmefm3cuu/RICHTEXTEDITOR.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fky93eycmefm3cuu%2FRICHTEXTEDITOR.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cff526ec5592c42772ade08d57f713736%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555046634193460&sdata=BjS8q1GarTweRfMMmZOKxN%2FTQTqhtzJlm05KAtWnNTQ%3D&reserved=0> 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 10:45 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Good to hear it worked.

 

I think I am waiting on all of the mxml.api.txt files to see what else is in there that isn't in the two reports we have, then we'll have a pretty good list of the places you will either need to change in your code or that we  will build emulations for.

 

I think emulations will be less work in the end, but there will be a lot of them to do.  We will want to you to learn how to create emulations and contribute them to Apache Royale.  That's how many Apache projects work: some of the users learn how to become committers.  This will be an asset to your company as well since you will learn how to fix things in Royale yourself.  Then your company won't be dependent on outsiders for support.

 

So, Peter and I and hopefully others will get started on some emulations to make sure they work for us, and then you can see if they work for you, and then we will teach you how to write those emulations.  Over the next several months, besides testing emulations written by others in your app, you will be writing your own emulations for things you need right away that we haven't written yet, or for third-party code that you are using.

 

It might help to get some prioritization on the emulations we need to write.  In looking at the list, I am wondering:

1.	Are some charts more important than others?
2.	How important are effects?
3.	Do you use Right-to-left languages in RichTextEditor?
4.	Is RichTextEditor being used for non-plain text?  If so, what kinds of text styling is important?

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Wednesday, February 28, 2018 at 1:22 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Thank you.

It’s working with latest nightly build:

https://www.dropbox.com/s/77wkgrm74upkg0j/SHMALib%20Report.txt?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F77wkgrm74upkg0j%2FSHMALib%2520Report.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C16fa845b6d2f4efb7f4a08d57e8e9097%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636554073167111532&sdata=UV0BOZpVonw%2BILcK9njhQdf5pKpqWPccp0IKDPm4jOI%3D&reserved=0> 

 

 

Regards,

Alina

 

 

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 1:15 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Looks like COMPC collected the data but never generated the report.  I pushed a fix for that.  Please try the latest nightly build.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Tuesday, February 27, 2018 at 10:35 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Thank you

After commenting the embedded font part from source.

Output to console:

3462313 bytes written to D:\SHMALib.swc in 19.878 seconds

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"

 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\framewor

ks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\sr

c" -library-path+=D:\SHMALIB\libs

 

SHMALib.swf file Generated and Report.txt is empty 

SHMALib.swc output Link:

https://www.dropbox.com/s/4tz49sz134m2gg9/SHMALib.swc?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F4tz49sz134m2gg9%2FSHMALib.swc%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=%2FNcbTJtah21RRPeWfwg2pRaZ72hd%2BdG0iJlnH3GsA28%3D&reserved=0> 

then I change, Compc -output "D:\SHMALib.swc" to Compc -output "D:\SHMALib. txt " 

SHMALib.txt output Link:

https://www.dropbox.com/s/j38obt5e36awuh3/SHMALib.txt?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fj38obt5e36awuh3%2FSHMALib.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=V%2FcA5dJ3Fi1qOvh%2BtUlbU%2FZ%2FQ5SBfRw7psjsm2Q%2Fe8w%3D&reserved=0> 

 

Thanks,

Alina

 

 

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 11:18 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

The only error right now is the embedded font.

 

We can discuss the pros and cons of embedding images in the JS output at some other point in time.

 

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Tuesday, February 27, 2018 at 10:01 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Big Part of SHMALib Uses Embed and metadata :

 

                                // Embed the font so we can rotate it for further distortion

                                [Embed(systemFont="Comic Sans MS",

                                                                embedAsCFF='false')]

                <mx:Image y="4" width="18" height="20" right="185" source="@Embed(source='assets/default/images/load.png')"

                                                  source="@Embed(source='assets/default/images/next.gif')" scaleContent="false"/>

                <mx:Image y="4" width="18" height="20" right="3" source="@Embed(source='assets/default/images/magnifier.png')"

     * An IFrame which you can embed into Flex applications to show an HTML page.

     * @example A simple application with Google embedded

        // SWF embed object tracking

         * The SWF embed object id.

         * Get the embed object id.

        protected function resolveEmbedObjectId():void

                    var result:Object=ExternalInterface.call(IFrameExternalCalls.FUNCTION_ASK_FOR_EMBED_OBJECT_ID, randomIdentificationString.toString());

                        logger.info("Resolved the SWF embed object id to '{0}'.", applicationId);

                        logger.error('Could not resolve the SWF embed object Id.');

            // Resolve the SWF embed object id in the DOM.

            ExternalInterface.call(IFrameExternalCalls.INSERT_FUNCTION_ASK_FOR_EMBED_OBJECT_ID);

            resolveEmbedObjectId();

            logger.info("Loading IFrame with id '{0}', on SWF embed object with id '{1}'.", _frameId, applicationId);

                    FUNCTION_LOADIFRAME + " = function (frameID, iframeID, url, embedID, scrollPolicy)" +

                                      "onLoad='\"+embedID+\".\"+frameID+\"_load();' " +

        public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String = "askForEmbedObjectId";

        public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String = "askForEmbedObjectId";

        public static var INSERT_FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =

                "if (document." + FUNCTION_ASK_FOR_EMBED_OBJECT_ID + "==null)" +

                    FUNCTION_ASK_FOR_EMBED_OBJECT_ID + " = function(randomString) " + 

                            "var embeds = document.getElementsByTagName('embed'); " + 

                            "var embeds = document.getElementsByTagName('embed'); " + 

                            "for (var i = 0; i < embeds.length; i++) { " + 

                                "var isTheGoodOne = embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " + 

                                "var isTheGoodOne = embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " + 

                                    "return embeds[i].getAttribute('id'); " + 

                                 * The UITextField control for displaying embeded hints.

                                private var embedTextField:UITextField;

                                 *  The String to be shown as the embeded hint.

                                private var embedStr:String = "";

                                                                                embedStr = "MM DD YYYY";

                                                                                embedStr = "DD MM YYYY";

                                                                                embedStr = "YYYY MM DD";

                                                                                embedStr = "YYYY DD MM";

                                 *  Create child objects for displaying embeded hints.

                                                                embedTextField = new UITextField();

                                                                //embedTextField.text = embedStr;

                                                                //embedTextField.text = embedStr;

                                                                addChildAt(UITextField(embedTextField),getChildIndex(DisplayObject(textField)));//as TextField

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                                s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);

                                                                                                                                embedTextField.text = s;

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                                //s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);

                                                                                                                                //embedTextField.text = s;

                                                                                                                                s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);

                                                                                                                                embedTextField.text = s;

                                                                                // If embeded hints are displayed then update the

                                                                                // UITextField corresponding to the embeded hints

                                                                                                var s:String = embedTextField.text == null ? "":embedTextField.text;

                                                                                                var s:String = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                embedTextField.text = s;

                                                                // create the embeded text field for showing

                                                                // embeded hints if its not already created.

                                                                // If it is created, then just change the embeded hint.

                                                                if(!embedTextField)

                                                                                embedTextField = new UITextField();

                                                                                addChildAt(embedTextField,getChildIndex(DisplayObject(textField))); //as TextField

                                                                //embedTextField.text = embedStr;

                                                                //embedTextField.text = embedStr;

                                                                embedTextField.alpha = 1;

                                                                embedTextField.setTextFormat(txtFormat);

                                                                embedTextField.x = 0;

                                                                embedTextField.y = 2;

                                                                embedTextField.setActualSize(width,height);

                                                                if(embedTextField)

                                                                                embedTextField.text = "";

                                                                                embedTextField = null;

                                                // setting the color of the embeded text field to white.

                                                                if(embedTextField)

                                                                                embedTextField.setColor(0xFFFFFF);

                                                                                if(embedTextField)

                                                                                                addChildAt(DisplayObject(newSkin),getChildIndex(DisplayObject(embedTextField)));//

   background-image:                                      Embed(source="/assets/application_background.png",

                up-skin:                Embed("/assets/maximize_up.png");

                over-skin:            Embed("/assets/maximize_over.png");

                down-skin:         Embed("/assets/maximize_up.png");

                selected-up-skin:   Embed("/assets/restore_up.png");

                selected-over-skin: Embed("/assets/restore_over.png");

                selected-down-skin: Embed("/assets/restore_up.png");

                up-skin:        Embed("/assets/minimize_up.png");

                over-skin:      Embed("/assets/minimize_over.png");

                down-skin:      Embed("/assets/minimize_up.png");

                up-skin:                                Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");

                over-skin:                            Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");

                down-skin:                         Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");

                selected-up-skin:                             Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");

                selected-over-skin:                         Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");

                selected-down-skin:                      Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");

                up-skin:                                Embed("/assets/left_arrow_up.gif");

                over-skin:                            Embed("/assets/left_arrow_over.gif");

                down-skin:                         Embed("/assets/left_arrow_up.gif");

                disabled-skin:    Embed("/assets/left_arrow_disabled.gif");

                up-skin:                                Embed("/assets/right_arrow_up.gif");

                over-skin:                            Embed("/assets/right_arrow_over.gif");

                down-skin:                         Embed("/assets/right_arrow_up.gif");

                disabled-skin:    Embed("/assets/right_arrow_disabled.gif");

                                //[Embed(source="/assets/cursor_move.gif")]

                                //[Embed(source="/assets/cursor_resize.gif")]

                                [Embed(source="/assets/default/images/mouseMove.gif")]

                                [Embed(source="/assets/default/images/verticalSize.gif")]

                                [Embed(source="/assets/default/images/horizontalSize.gif")]

                                [Embed(source="/assets/default/images/leftObliqueSize.gif")]

                                [Embed(source="/assets/default/images/rightObliqueSize.gif")]

                                                if (image.isEmbedded) 

                                                //if (!Application.application.systemManager.isFontFaceEmbedded(textFormat)) 

                                                if (!FlexGlobals.topLevelApplication.systemManager.isFontFaceEmbedded(textFormat))

                                                                if (Application.application.isFontsEmbedded) {

                                                                if (Application.application.isFontsEmbedded) {

                                                                if (Application.application.isFontsEmbedded) {

                                private var _isEmbedded:Boolean = false;

                                public function set isEmbedded(embedded:Boolean):void 

                                public function set isEmbedded(embedded:Boolean):void 

                                                _isEmbedded = embedded;

                                                _isEmbedded = embedded;

                                public function get isEmbedded():Boolean 

                                                return _isEmbedded;

                                                <mx:icon>@Embed(source='images/print.GIF')</mx:icon>

                                                <mx:icon>@Embed(source='images/reload.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/first-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/first.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/previous-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/previous.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/next-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/next.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/last-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/last.GIF')</mx:icon>

                                                                                <mx:icon>@Embed(source='images/actualsize.GIF')</mx:icon>

                                                                                <mx:icon>@Embed(source='images/fitpage.GIF')</mx:icon>

                                                                                <mx:icon>@Embed(source='images/fitwidth.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/zoomin-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/zoomin.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/zoomout-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/zoomout.GIF')</mx:icon>

                                                                <mx:icon>@Embed(source='images/print.GIF')</mx:icon>

                                                if (imageSourceXml.@isEmbedded.length() > 0)

                                                                image.isEmbedded = imageSourceXml.@isEmbedded == "true";

                                                                image.isEmbedded = imageSourceXml.@isEmbedded == "true";

                 source="@Embed(source='/assets/default/images/left_arrow_up.gif')"/>

                 source="@Embed(source='/assets/default/images/left_arrow_over.gif')"/>

                 source="@Embed(source='/assets/default/images/left_arrow_disabled.gif')"/>  

                                                                                   source="@Embed(source='/com/shm/flexlib/mdi/assets/img/maximizeButton.png')"/>

                                                                                   height="12" source="@Embed(source='/com/shm/flexlib/mdi/assets/img/restoreButton.png')"/>

                                                                                   source="@Embed(source='/com/shm/flexlib/mdi/assets/img/minimizeButton.png')"/>

                 source="@Embed(source='/assets/default/images/right_arrow_up.gif')"/>

                 source="@Embed(source='/assets/default/images/right_arrow_over.gif')"/>

                 source="@Embed(source='/assets/default/images/right_arrow_disabled.gif')"/>  

 

 

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 11:00 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I think you can ignore the warnings.  The first error is for embedding a font, which Royale doesn't currently support, so for now, try commenting out the Embed metadata and see if that allows the error to go away.

 

I would look into the other errors to see if they are legitimate or not.  The Royale Compiler will catch some things the MXMLC compiler may not.  Or you could comment out the code involved in the two errors in TImeZone.as for now since that won't affect the report.

 

The final two errors I saw are for missing skin states.  I think you can just add the skin states.

 

HTH,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Tuesday, February 27, 2018 at 9:35 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

While Executing

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\src"

Or 

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\Flex\libs\SH

MALIB.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bi

n\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\

SHMALIB\src" -library-path+=D:\SHMALIB\libs

 

Error:

(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to

field java.lang.Thread.inheritableThreadLocals

WARNING: Please consider reporting this to the maintainers of com.google.common.

base.internal.Finalizer

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect

ive access operations

WARNING: All illegal access operations will be denied in a future release

Loading configuration: D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(415): col: 50 Warning:

Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="DataProviderService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(419): col: 50 Warning:

Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="BasicFormatterService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(516): col: 50 Warning: Da

ta binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="DataProviderService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(520): col: 50 Warning: Da

ta binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="BasicFormatterService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\shmCaptchaImage.as(43): col: 3 Error: Embed re

quires a 'source' file attribute

 

                [Embed(systemFont="Comic Sans MS",

                ^

 

D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(37): col: 88 Warning: Data

binding will not be able to detect assignments to 'isSelected'.

 

                                        <mx:CheckBox selectedField="isSelected"

 change="onChange(event);" selected="{data.isSelected}">

 

                                          ^

 

D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(46): col: 27 Warning: Data

binding will not be able to detect assignments to 'label'.

 

                                        <mx:Label text="{data.label}" />

                                                             ^

 

D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(126): col: 15 Error: Impli

cit coercion of a value of type Boolean to an unrelated type Number.

 

                                if(year & 0x3 == 0)

                                          ^

 

D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(134): col: 39 Error: Impli

cit coercion of a value of type Boolean to an unrelated type Number.

 

                                if(month == 1 && value.fullYear & 0x3 == 0)

                                                                  ^

 

D:\SHMALIB\src\com\shm\dashboard\renderers\GridPodURLRenderer.mxml(6): col: 23 W

arning: Data binding will not be able to detect assignments to 'SrNo'.

 

                  htmlText="&lt;u&gt;{data.SrNo}&lt;/u&gt;" color="blue" click="

f_DrillDownData(data)">

                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml Error:

The required skin state 'disabledWithPrompt' is missing.

 

 

D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml Error:

The required skin state 'normalWithPrompt' is missing.

 

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(177): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(187): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(202): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(212): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(429): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(439): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(454): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(464): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(479): col: 26 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                field="{properties.@valueField}"

 

                                                                   ^

 

D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(115): col: 74 Warning

: Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject id="roDrillDownColInfo" channelSet="{parentAppl

ication.amfChannelSet}" showBusyCursor="true"

 

       ^

 

D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(118): col: 68 Warning

: Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject id="roDgDpResult" channelSet="{parentApplicatio

n.amfChannelSet}" showBusyCursor="true"

 

 ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PieChartContent.mxml(128): col: 24 Warning

: Data binding will not be able to detect assignments to 'valueField'.

 

                                field="{properties.@valueField}"

                                                   ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 37 Warning: Dat

a binding will not be able to detect assignments to 'appParams'.

 

                                                        inputMask="{parentApplic

ation.appParams.DATE_FORMAT}" showToday="true"  yearNavigationEnabled="true"

 

     ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 47 Warning: Dat

a binding will not be able to detect assignments to 'DATE_FORMAT'.

 

                                                        inputMask="{parentApplic

ation.appParams.DATE_FORMAT}" showToday="true"  yearNavigationEnabled="true"

 

               ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 38 Warning: Dat

a binding will not be able to detect assignments to 'appParams'.

 

                                                         inputMask="{parentAppli

cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true" showToday="true"

 

      ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 48 Warning: Dat

a binding will not be able to detect assignments to 'DATE_FORMAT'.

 

                                                         inputMask="{parentAppli

cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true" showToday="true"

 

                ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(12): col: 11 Warnin

g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

 

                        import mx.graphics.Stroke;

                               ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(37): col: 23 Warnin

g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

 

                                        lne.stroke = new Stroke(0,1,.3);

                                                         ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(46): col: 14 Warnin

g: Duplicate variable definition: i.

 

                                for (var i:int = 1; i < lnWdt; i++){

                                         ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(47): col: 10 Warnin

g: Duplicate variable definition: lne.

 

                                        var lne:Line  = new Line();

                                            ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(53): col: 23 Warnin

g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

 

                                        lne.stroke = new Stroke(0,1,.3);

                                                         ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(54): col: 10 Warnin

g: Duplicate variable definition: llbe.

 

                                        var llbe:Label = new Label();

                                            ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(157): col: 40 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var xPosition:Number = Application.application.p

arent.mouseX;

                                                                   ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(158): col: 40 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var yPosition:Number = Application.application.p

arent.mouseY;

                                                                   ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(225): col: 36 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var xPlus:Number = Application.application.paren

t.mouseX - point.x;

                                                               ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(226): col: 36 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var yPlus:Number = Application.application.paren

t.mouseY - point.y;

                                                               

Thanks,

Alina Kazi

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 10:16 AM
To: Alina Kazi; users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I think that Flash Builder makes it easy to build SWCs.  Building from the command line can be a bit trickier.

 

Let's try:

Compc -output "D:\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\src"

 

HTH,

-Alex

 

 

From: Alina Kazi <al...@d-bz.com>
Date: Tuesday, February 27, 2018 at 7:28 PM
To: "users@royale.apache.org" <us...@royale.apache.org>, Alex Harui <ah...@adobe.com>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Yes I am using Flash Builder.

SHMALIB and MainFlexApp are two separate Projects

Src for SHMALIB is placed into D:/SHMALIB/src

Src for MainFlexApp is D:/Flex/src and the library output file SHMALIB.swc is placed into D:/Flex/libs

 

SHMALIB (.actionscriptProperties)

 

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<actionScriptProperties mainApplicationPath="SHMALib.as" projectUUID="863559ab-3e7b-475b-a3a4-09f4f76fc0d2" version="6">

  <compiler additionalCompilerArguments="-locale en_US" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderLocation="D:/Flex/libs" outputFolderPath="bin-debug" sourceFolderPath="src" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" verifyDigests="true" warn="true">

    <compilerSourcePath/>

    <libraryPath defaultLinkType="0">

      <libraryPathEntry kind="4" path="">

        <excludedEntries>

          <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>

        </excludedEntries>

      </libraryPathEntry>

      <libraryPathEntry kind="1" linkType="1" path="libs"/>

    </libraryPath>

    <sourceAttachmentPath/>

  </compiler>

  <applications>

    <application path="SHMALib.as"/>

  </applications>

  <modules/>

  <buildCSSFiles/>

</actionScriptProperties>

 

SHMALIB (.flexLibProperties)

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<flexLibProperties includeAllClasses="true" version="3">

  <includeClasses/>

  <includeResources/>

  <namespaceManifests/>

</flexLibProperties>

 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 9:34 PM
To: Alina Kazi
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

When you are not trying to use Royale to generate this API report, how are you building your current Flex app?  We might need to know that in order to determine what parameters to add to COMPC.

 

COMPC has additional parameters like -include–sources, include-file, include-classes.  Sometimes, these are listed in an xml file.  If you are using Flash Builder, for example, then examine the .flexlibproperties and .actionscriptProperties files in your project folder.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Date: Tuesday, February 27, 2018 at 3:21 AM
To: 'Alina Kazi' <al...@d-bz.com>
Cc: Alex Harui <ah...@adobe.com>
Subject: RE: Generating API report for Flex Web Browser application

 

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"

 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"

Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by com.google.common.base.internal.Finalizer

(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to

field java.lang.Thread.inheritableThreadLocals

WARNING: Please consider reporting this to the maintainers of com.google.common.

base.internal.Finalizer

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect

ive access operations

 

Error: nothing was specified to be included in the library.

-Alina

 

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Tuesday, February 27, 2018 2:16 PM
To: 'users@royale.apache.org'
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

I am using Moonshine IDE 1.9.0.

Flex 4.16.0

Apache Royale 0.9.2 Latest Nightly Build

 

Running this Command on Command Prompt:

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"

 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"

Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by com.google.common.base.internal.Finalizer

(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to

field java.lang.Thread.inheritableThreadLocals

WARNING: Please consider reporting this to the maintainers of com.google.common.

base.internal.Finalizer

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect

ive access operations

WARNING: All illegal access operations will be denied in a future release

 

command line Error: unknown configuration variable 'sourceΓÇôpath'.

 

-Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 1:26 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

COMPC takes a slightly different set of parameters.  What IDE or build tools are you using to build it without Royale?  You might need to know what options that build uses.

 

You can try running: 

 

Compc -output "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source–path="D:\Projects\SHMA\Main\Flex\src" or wherever the source code is for the library.

 

HTH,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, February 26, 2018 at 11:33 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

For custom SWC, I am using COMPC to get an api-report for SWC

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>compc "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml

Error: configuration variable 'output' was not set.

 

 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 12:27 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Yes, any SWC that is not in the Flex SDK's frameworks/libs folder needs to be specified as Piotr describes below.  We want you specify the same MXML file that you use to compile in the regular Flex SDK.  So if your Application.mxml starts with an mx:Application or s:Application that’s probably the one to use.  But also, if you have your own custom SWCs, we want you to use COMPC to get an api-report for those SWCs.  We want this modified Royale compiler to compile every source file you own so we can see what Flex APIs you are using.

 

HTH,

-Alex

 

From: Piotr Zarzycki <pi...@gmail.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, February 26, 2018 at 11:19 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina, 

 

In my sense you will have to use -library-path+=path to the library. You have to tell compiler about that library.

 

Thanks, Piotr

 

2018-02-27 7:57 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi  Alex,

With latest nightly build:

MaskedTextInput , shmReportUtil …. Are Library Project Actionscript Files.

Main Application contains SHMALib.swc file in Libs folder

Error Link:

https://www.dropbox.com/s/p5imt22cuut0ex6/ErrorGeneratingReport.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fp5imt22cuut0ex6%2FErrorGeneratingReport.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=8f1f9duW2Red4bP77hFTh3mLcCptBmAwd87n1iSkk%2Bs%3D&reserved=0> 

 

I have a question that which .mxml file should be used to generate that report?

Applications.mxml is startup file in case of my Project so I’m using it.

 

Please visit reference link and If I’m doing anything wrong please let me know.

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 12:00 AM


To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I pushed a fix for that.  It might or might not be related to your custom swc.  Get the latest nightly build and let us know.

 

Also, if you are successful, please use your regular compiler to generate a -link–report.  That will help us verify that the API report didn't miss anything.

 

Thanks,

-Alex

 

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, February 26, 2018 at 4:01 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Generated Report file for Sample Project Successfully.

 

spark.components.Application:minHeight,1

spark.components.Application:minWidth,1

spark.components.Application:mxmlContentFactory,2

spark.components.Label:fontSize,1

spark.components.Label:fontWeight,1

spark.components.Label:horizontalCenter,1

spark.components.Label:text,1

spark.components.Label:textAlign,1

spark.components.Label:verticalCenter,1

 

But while executing Actual Project got Error:

https://www.dropbox.com/s/d25eysllavuy5z4/compile2.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fd25eysllavuy5z4%2Fcompile2.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=2i28J4zjv1vEQ7sd%2BGfHm%2Bh1FjG%2BP3YdJCc6rGZr3C4%3D&reserved=0> 

https://www.dropbox.com/s/49iq74zk6rxcr1y/compile1.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F49iq74zk6rxcr1y%2Fcompile1.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=44tfkOscWyJ%2FH3M30HeJ6dfFE0TlpTMhQ2t%2Bv%2ByuoDg%3D&reserved=0> 

 

May be because my Application is dependent to SHMALib(.swc) Library Project (Source Shared Earlier). 

 

-Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Monday, February 26, 2018 5:02 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Alex,

 

I did above exercise for Moonshine and got NPE [1]. I used air-config.xml because it is na Desktop app.

 

[1] https://paste.apache.org/R0Si <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FR0Si&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=tFLrK9xsVt57PytwBaNoUJ%2FIPFH7FCHDtfrmJ1sAl3Y%3D&reserved=0>  

 

Thanks,

Piotr

 

 

2018-02-26 12:56 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:

Yishay,

 

Thank you so much!! I got it working.

 

Alina,

 

Here is the full instruction.

 

1) Download Apache Royale with SWF support - if you have that is good, if not it's here [1]

2) Download Apache Flex - you have it as I have seen on the screenshot.

3) Launch console and go to the Royale SDK folder

 

"yourpathtosdk\bin\" - In my case it was: "d:\Work\royale_ide\royale_nightly_js_swf\bin\"

 

4) Run following command where you will point to the Flex Browser application in order to generate report. My command looks like that:

 

mxmlc "c:\Users\piotr\Documents\NewFlexBrowserProject\src\NewFlexBrowserProject.mxml" -api-report="c:\Users\piotr\Documents\NewFlexBrowserProject\report.txt" -load-config=d:\Work\flex-sdk-4.16.1_adobe_air_28\frameworks\flex-config.xml

 

I generated report for hellow world. Maybe in order to generate report for your application that console command may be much more sophisticated. Let's see!

 

 

[1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/lastSuccessfulBuild/artifact/out/ <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2Fout%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=O%2BpVQ8OuhB%2FtE4ZdylTSkAQCWsIPBGlr9RgiTjWSWEM%3D&reserved=0> 

 

Thanks,

Piotr

 

 

2018-02-26 12:46 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:

Looks like [1] you do need to add compiler option: -api–report=<path to output file>

 

[1] http://apache-royale-users.20374.n8.nabble.com/Substitutes-in-Apache-Royale-tp392p492.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p492.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kda6SpkBgdRqGAeGJ5Db629EAy7KAVbOZKzhzhynRZk%3D&reserved=0> 

 

 

From: Piotr Zarzycki <ma...@gmail.com> 
Sent: Monday, February 26, 2018 1:37 PM


To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

I have produced with that swf, but what's next? Let's wait for Alex's response [1] 

 

[1] https://paste.apache.org/YEeG <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FYEeG&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8ameYzJ7AloOW4nTa8dqu7zYxwORSQc5sCUqpZDVA%2BY%3D&reserved=0> 

 

Thanks,

Piotr

 

2018-02-26 12:32 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:

Alex will know but I don’t think so. I haven’t updated the compiler recently so can’t test it right now. If you want to test it maybe just create a simple app and replace /Users/aharui/ApacheFlex4.16.0 with your sdk home.

 

 

 

From: Piotr Zarzycki <ma...@gmail.com> 
Sent: Monday, February 26, 2018 1:25 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Yishay, 

 

bin/mxmlc

<path to app's

.mxml

file>

-load-config=/Users/aharui/ApacheFlex4.16.0/frameworks/flex-config.xml  

 

Do I need some switch for compiler -api-report or something like that ?

 

Thanks,

Piotr

 

 

2018-02-26 12:10 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:

Wasn’t logged in. Here’s [1] the link.

 

[1] http://apache-royale-users.20374.n8.nabble.com/Substitutes-in-Apache-Royale-tp392p489.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p489.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8Tp5%2BFveKS0eoW7D8EovITPQqYrgwDK4P7cW9izXFH8%3D&reserved=0> 

 

 

From: Yishay Weiss <ma...@hotmail.com> 
Sent: Monday, February 26, 2018 12:59 PM
To: users@royale.apache.org
Subject: RE: Generating API report for Flex Web Browser application

 

I couldn’t find a way to link to a nabble post, but this [1] might help (from Substitutes in Apache Royale).

 

[1] https://paste.apache.org/N2QR <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FN2QR&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=VIS8u6EEBWN6jQrFxpttZvAfUCSSKPe3rbrBDU2w7Sg%3D&reserved=0> 

 

From: Piotr Zarzycki <ma...@gmail.com> 
Sent: Monday, February 26, 2018 12:44 PM
To: users@royale.apache.org
Subject: Generating API report for Flex Web Browser application

 

Hi Alex, 

 

I would like to understand how to generate that report. I will go with the console path, because I think this is something unusual and probably Moonshine is not prepared to do this. I'm writing this on the users mailing list because Alina is having some problems with that. I wanted to simplify all of that. Let's start from the beginning. 

 

1) I have created Flex Web browser project using Apache Flex SDK 4.16.1. 

2) I have nightly build of Royale with SWF support [1]

 

What should I type in the console now ?

 

[1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/lastSuccessfulBuild/artifact/ <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=UtYFFQ90aNB2HU2Vx4t8YAS6Eo2j1ZqVAytujEOgoFM%3D&reserved=0> 

 

Thanks,
-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 

 

 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 

 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 

 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=zGrfZ2Wj3CLuuW%2B%2BKtUSQF6762Vn0%2BeNjCMlViBMghg%3D&reserved=0> 


Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

Posted by Alex Harui <ah...@adobe.com>.
Hmm.  Not sure.  I've only seen download issues with Antlr sporadically around midnight my time.  Could be something else like your version of Ant, Java, operating system.  Let's try to get past that error and see if you get other download issues.

Try downloading the license manually and renaming it and placing it in C:\Users\aleena\royale-compiler\compiler\lib\external\antlr-LICENSE.html

If that doesn't work, try setting an environment variable ROYALE_DOWNLOAD_CACHE to some folder and manually downloading the license and placing it in that folder as antlr-LICENSE.html

HTH,
-Alex

From: Alina Kazi <al...@d-bz.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Tuesday, March 6, 2018 at 4:12 AM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

Hi Alex,
Still getting same error, while executing:
C:\Users\aleena\royale-asjs>ant all
Website link is working :
http://www.antlr.org/license.html<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7Ceadc682b1fa041cdd34908d5835d6d12%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559359678744289&sdata=ZgoTyrDdm8fLSbI4SqPBJiVM3EvOm%2ByT1MYvEcctvtA%3D&reserved=0>

could be only issue , Antlr server will be off-line ?

Thanks,
Alina
From: Alina Kazi [mailto:alina.kazi@d-bz.com]
Sent: Tuesday, March 06, 2018 4:38 PM
To: 'users@royale.apache.org<ma...@royale.apache.org>'
Subject: RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

Hi Alex,

We can exclude ScaleX , ScaleY,transform from our code as we are using it in our Library Project Only.
We are using “Rotation” in a PopUp Window.

Can you please explain emulation ?
How do they will work?

Thanks,
Alina

From: Alina Kazi [mailto:alina.kazi@d-bz.com]
Sent: Tuesday, March 06, 2018 3:14 PM
To: 'users@royale.apache.org<ma...@royale.apache.org>'
Subject: RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

Hi Alex,
We are using commitProperties() in our Library Project. Overriding the Existing Spark commitProperties() method
For Example:
ResizableTextAreaSkin.mxml (SHMALib)
override protected function commitProperties():void {
                                                super.commitProperties();

                                                if (lineBreakChanged) {
                                                                updateStringStyle("lineBreak");
                                                                lineBreakChanged = false;
                                                }
                                                if (paddingChanged) {
                                                                updatePadding();
                                                                paddingChanged = false;
                                                }
                                                if (verticalAlignChanged) {
                                                                updateStringStyle("verticalAlign");
                                                                verticalAlignChanged = false;
                                                }
                                }
We are using
Package

flash.display<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fhelp.adobe.com%2Fen_US%2FFlashPlatform%2Freference%2Factionscript%2F3%2Fflash%2Fdisplay%2Fpackage-detail.html&data=02%7C01%7Caharui%40adobe.com%7Ceadc682b1fa041cdd34908d5835d6d12%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559359678744289&sdata=Ty%2Fc9woM8%2BIOVK0jQg1lSoIPGjL35azvrSXt%2FdKTYas%3D&reserved=0>

Class

public class DisplayObject

Inheritance

DisplayObject [Inheritance]  EventDispatcher<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fhelp.adobe.com%2Fen_US%2FFlashPlatform%2Freference%2Factionscript%2F3%2Fflash%2Fevents%2FEventDispatcher.html&data=02%7C01%7Caharui%40adobe.com%7Ceadc682b1fa041cdd34908d5835d6d12%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559359678744289&sdata=W%2BPfzx1TGG4XGJqYlty7XXYNAin%2F4N0BiC%2BnO7Oo7ZY%3D&reserved=0> [Inheritance]  Object<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fhelp.adobe.com%2Fen_US%2FFlashPlatform%2Freference%2Factionscript%2F3%2FObject.html&data=02%7C01%7Caharui%40adobe.com%7Ceadc682b1fa041cdd34908d5835d6d12%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559359678744289&sdata=lpWLIY%2FrF%2Builgv8X3rhCPAmQfAYLcm6aLt%2Bc5l35os%3D&reserved=0>

Reference Link:

https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/DisplayObject.html<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fhelp.adobe.com%2Fen_US%2FFlashPlatform%2Freference%2Factionscript%2F3%2Fflash%2Fdisplay%2FDisplayObject.html&data=02%7C01%7Caharui%40adobe.com%7Ceadc682b1fa041cdd34908d5835d6d12%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559359678744289&sdata=H57n8qJ51B2NjPJd2dOF1NrvTLT%2FQVfu%2FhCJpir9EGY%3D&reserved=0>

e.g :
                public function updateLayoutWithoutAnimation():void
                                {
                                                if(_layoutInvalid == true && layoutFunction != null)
                                                {
                                                                _layoutInvalid = false;
                                                                layoutFunction();
                                                }

                                                for(var aChild:* in _targets)
                                                {
                                                                var target:LayoutTarget = _targets[aChild];
                                                                var item:IFlexDisplayObject = target.item;
                                                                var m:Matrix = DisplayObject(item).transform.matrix;

                                                                m.tx = target.x;
                                                                m.ty = target.y;
                                                                m.a = target.scaleX;
                                                                m.d = target.scaleY

                                                                DisplayObject(item).alpha = target.alpha;
                                                                DisplayObject(item).transform.matrix = m;
                                                                item.setActualSize(target.unscaledWidth,target.unscaledHeight);
                                                                if(target.state == "removed")
                                                                {
                                                                                delete _targets[target.item];
                                                                                continue;
                                                                }
                                                                else
                                                                {
                                                                                target.state = "positioned"
                                                                }
                                                }
                                                stopTimer();
                                }

Thanks,
Alina

From: Alex Harui [mailto:aharui@adobe.com]
Sent: Tuesday, March 06, 2018 1:36 PM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

Hi Alina,

I'm starting on the emulation.  I've noticed that your application code appears to be calling commitProperties().  Can you tell us why?

Also, it looks like there are a few uses of rotation, transform, scaleX and scaleY.  What are those used for?

Thanks,
-Alex

From: Alex Harui <ah...@adobe.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Monday, March 5, 2018 at 11:38 PM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: Re: Generating API report for Flex Web Browser application

Hi Alina,

Try again.  Sometimes the Antlr server goes off-line around this time of day.

-Alex

From: Alina Kazi <al...@d-bz.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Monday, March 5, 2018 at 11:12 PM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: RE: Generating API report for Flex Web Browser application

Hi Alex,
Using jdk1.8.0_162:

C:\Users\aleena\royale-asjs>ant all
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
Buildfile: C:\Users\aleena\royale-asjs\build.xml

set.base.folder:

check-git:
     [echo] Checking for Git...
     [exec] git version 2.16.2.windows.1

get-download-folder:

download-all:
     [echo] Using folder C:\Users\aleena\royale-asjs/..

check-royale-asjs:

warn-before-clone:

check-royale-asjs:

clone-royale-asjs:

check-royale-compiler:

clone-royale-compiler:

check-royale-typedefs:

clone-royale-typedefs:

check-playerglobal-home:

check-air-home:

build-all:

ask-before-build-all:
    [input] This script will now download and compile lots of files.  This can t
ake several minutes.   No interaction should be required.  Press the enter key t
o continue.


sdk:

annotate.class:
    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-
build-tools\target\classes
    [javac] warning: [options] bootstrap class path not set in conjunction with
-source 1.5
    [javac] warning: [options] source value 1.5 is obsolete and will be removed
in a future release
    [javac] warning: [options] target value 1.5 is obsolete and will be removed
in a future release
    [javac] warning: [options] To suppress warnings about obsolete options, use
-Xlint:-options.
    [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\src\main\java\o
rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:24: warning: [serial
] serializable class AnnotateClassDeleteException has no definition of serialVer
sionUID
    [javac]     public static class AnnotateClassDeleteException extends Excepti
on
    [javac]                   ^
    [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\src\main\java\o
rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:32: warning: [serial
] serializable class AnnotateClassRenameException has no definition of serialVer
sionUID
    [javac]     public static class AnnotateClassRenameException extends Excepti
on
    [javac]                   ^
    [javac] 6 warnings

unknown.tree.pattern.input.output:
    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-
build-tools\target\classes
    [javac] warning: [options] bootstrap class path not set in conjunction with
-source 1.5
    [javac] warning: [options] source value 1.5 is obsolete and will be removed
in a future release
    [javac] warning: [options] target value 1.5 is obsolete and will be removed
in a future release
    [javac] warning: [options] To suppress warnings about obsolete options, use
-Xlint:-options.
    [javac] 4 warnings

main:

compiler.downloads.cache:

compiler.downloads:
     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc
es
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

prepare:
     [echo] Making lib directory C:\Users\aleena\royale-compiler\compiler/lib/ex
ternal
    [mkdir] Created dir: C:\Users\aleena\royale-compiler\compiler\lib\external

all:
     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc
es
     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler
     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

check-dependency:
     [echo] checking for C:\Users\aleena\royale-compiler\compiler/lib/external//
antlr.jar

download-dependency:
     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc
es
     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler
     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

echo-project-jar:
   [delete] Deleting: C:\Users\aleena\royale-compiler\compiler\src\main\resource
s\project.properties
     [echo] ${INFO_DOWNLOADING_FILE_FROM}
     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc
es
     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler
     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

download-apache-license:
     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc
es
     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler
     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

download-other-license:
      [get] Getting: http://www.antlr.org/license.html<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0>
      [get] To: C:\Users\aleena\royale-compiler\compiler\lib\external\antlr-LICE
NSE.html
      [get] Error getting http://www.antlr.org/license.html<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0> to C:\Users\aleena\r
oyale-compiler\compiler\lib\external\antlr-LICENSE.html
     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc
es
     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler
     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

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

get-from-cache-if-needed:
     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc
es
     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler
     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

fail-if-not-found:

BUILD FAILED
C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred while e
xecuting this line:
C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred while e
xecuting this line:
C:\Users\aleena\royale-compiler\build.xml:64: The following error occurred while
 executing this line:
C:\Users\aleena\royale-compiler\compiler-jburg-types\build.xml:87: The following
 error occurred while executing this line:
C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:81: Th
e following error occurred while executing this line:
C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:275: T
he following error occurred while executing this line:
C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:329: T
he following error occurred while executing this line:
C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:489: C
:\Users\aleena\royale-compiler\compiler/lib/external//antlr-LICENSE.html could n
ot be downloaded or found in cache

Total time: 47 seconds

C:\Users\aleena\royale-asjs>

Thanks,
Alina

From: Alex Harui [mailto:aharui@adobe.com]
Sent: Tuesday, March 06, 2018 11:55 AM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

Hi Alina,

Please use JDK8.

Thanks,
-Alex

From: Alina Kazi <al...@d-bz.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Monday, March 5, 2018 at 10:40 PM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: RE: Generating API report for Flex Web Browser application

Hi Alex,

Java version that I am using is “9.0.1”

Thanks,
Alina

From: Alex Harui [mailto:aharui@adobe.com]
Sent: Tuesday, March 06, 2018 11:42 AM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

Hi Alina,

What version of Java are you using?  Please get a JDK7 or 8 and try that.

Thanks,
-Alex

From: Alina Kazi <al...@d-bz.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Monday, March 5, 2018 at 10:22 PM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: RE: Generating API report for Flex Web Browser application

Hi Alex,
Command Prompt Output is:
C:\Users\aleena>git clone https://github.com/apache/royale-asjs.git<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs.git&data=02%7C01%7Caharui%40adobe.com%7Cdf86fa0dd25b41ffbc8108d5832f0997%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559160423949211&sdata=d9cKX4ILIQPLI5USXvAafSnrWZSgW1XHw6G4r%2B9wgsE%3D&reserved=0> royale-asjs
Cloning into 'royale-asjs'...
remote: Counting objects: 101103, done.
remote: Compressing objects: 100% (22/22), done.
remote: Total 101103 (delta 9), reused 30 (delta 7), pack-reused 101066R
Receiving objects: 100% (101103/101103), 19.23 MiB | 208.00 KiB/s, done.

Resolving deltas: 100% (61584/61584), done.
Checking out files: 100% (3572/3572), done.

C:\Users\aleena>cd royale-asjs

C:\Users\aleena\royale-asjs>git checkout develop
Already on 'develop'
Your branch is up to date with 'origin/develop'.

C:\Users\aleena\royale-asjs>ant all
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
Buildfile: C:\Users\aleena\royale-asjs\build.xml

set.base.folder:

check-git:
     [echo] Checking for Git...
     [exec] git version 2.16.2.windows.1

get-download-folder:

download-all:
     [echo] Using folder C:\Users\aleena\royale-asjs/..

check-royale-asjs:

warn-before-clone:

check-royale-asjs:

clone-royale-asjs:

check-royale-compiler:

clone-royale-compiler:
     [echo] cloning royale-compiler repo into C:\Users\aleena\royale-asjs/../roy
ale-compiler
     [exec] Cloning into 'royale-compiler'...
     [exec] Checking out files:   8% (284/3191)
     [exec] Checking out files:   9% (288/3191)   Checking out files:  10% (320/
3191)   Checking out files:  11% (352/3191)   Checking out files:  12% (383/3191
)   Checking out files:  13% (415/3191)   Checking out files:  13% (444/3191)
Checking out files:  14% (447/3191)   Checking out files:  15% (479/3191)   Chec
king out files:  16% (511/3191)   Checking out files:  17% (543/3191)   Checking
 out files:  18% (575/3191)   Checking out files:  19% (607/3191)   Checking out
 files:  20% (639/3191)   Checking out files:  20% (641/3191)   Checking out fil
es:  21% (671/3191)   Checking out files:  22% (703/3191)   Checking out files:
 23% (734/3191)   Checking out files:  24% (766/3191)   Checking out files:  25%
 (798/3191)   Checking out files:  26% (830/3191)   Checking out files:  26% (84
2/3191)   Checking out files:  27% (862/3191)   Checking out files:  28% (894/31
91)   Checking out files:  29% (926/3191)   Checking out files:  30% (958/3191)
  Checking out files:  31% (990/3191)   Checking out files:  32% (1022/3191)   C
hecking out files:  33% (1054/3191)   Checking out files:  34% (1085/3191)   Che
cking out files:  35% (1117/3191)   Checking out files:  36% (1149/3191)   Check
ing out files:  37% (1181/3191)   Checking out files:  38% (1213/3191)   Checkin
g out files:  39% (1245/3191)   Checking out files:  40% (1277/3191)   Checking
out files:  40% (1308/3191)   Checking out files:  41% (1309/3191)   Checking ou
t files:  42% (1341/3191)   Checking out files:  42% (1352/3191)   Checking out
files:  43% (1373/3191)   Checking out files:  44% (1405/3191)   Checking out fi
les:  45% (1436/3191)   Checking out files:  46% (1468/3191)   Checking out file
s:  47% (1500/3191)   Checking out files:  48% (1532/3191)   Checking out files:
  49% (1564/3191)   Checking out files:  49% (1578/3191)   Checking out files:
50% (1596/3191)   Checking out files:  51% (1628/3191)   Checking out files:  52
% (1660/3191)   Checking out files:  53% (1692/3191)   Checking out files:  54%
(1724/3191)   Checking out files:  55% (1756/3191)   Checking out files:  56% (1
787/3191)   Checking out files:  57% (1819/3191)   Checking out files:  58% (185
1/3191)   Checking out files:  59% (1883/3191)   Checking out files:  60% (1915/
3191)   Checking out files:  61% (1947/3191)   Checking out files:  62% (1979/31
91)   Checking out files:  63% (2011/3191)   Checking out files:  63% (2022/3191
)   Checking out files:  64% (2043/3191)   Checking out files:  65% (2075/3191)
  Checking out files:  66% (2107/3191)   Checking out files:  67% (2138/3191)
Checking out files:  68% (2170/3191)   Checking out files:  69% (2202/3191)   Ch
ecking out files:  70% (2234/3191)   Checking out files:  71% (2266/3191)   Chec
king out files:  72% (2298/3191)   Checking out files:  73% (2330/3191)   Checki
ng out files:  74% (2362/3191)   Checking out files:  75% (2394/3191)   Checking
 out files:  76% (2426/3191)   Checking out files:  77% (2458/3191)   Checking o
ut files:  78% (2489/3191)   Checking out files:  79% (2521/3191)   Checking out
 files:  80% (2553/3191)   Checking out files:  81% (2585/3191)   Checking out f
iles:  82% (2617/3191)   Checking out files:  83% (2649/3191)   Checking out fil
es:  83% (2679/3191)   Checking out files:  84% (2681/3191)   Checking out files
:  85% (2713/3191)   Checking out files:  86% (2745/3191)   Checking out files:
 87% (2777/3191)   Checking out files:  88% (2809/3191)   Checking out files:  8
9% (2840/3191)   Checking out files:  89% (2845/3191)   Checking out files:  90%
 (2872/3191)   Checking out files:  91% (2904/3191)   Checking out files:  92% (
2936/3191)   Checking out files:  93% (2968/3191)   Checking out files:  94% (30
00/3191)   Checking out files:  95% (3032/3191)   Checking out files:  95% (3035
/3191)   Checking out files:  96% (3064/3191)   Checking out files:  97% (3096/3
191)   Checking out files:  98% (3128/3191)   Checking out files:  99% (3160/319
1)   Checking out files: 100% (3191/3191)   Checking out files: 100% (3191/3191)
, done.
     [exec] Your branch is up to date with 'origin/develop'.
     [exec] Already on 'develop'

check-royale-typedefs:

clone-royale-typedefs:
     [echo] cloning royale-typedefs repo into C:\Users\aleena\royale-asjs/../roy
ale-typedefs
     [exec] Cloning into 'royale-typedefs'...
     [exec] Your branch is up to date with 'origin/develop'.
     [exec] Already on 'develop'

check-playerglobal-home:

check-air-home:

build-all:

ask-before-build-all:
    [input] This script will now download and compile lots of files.  This can t
ake several minutes.   No interaction should be required.  Press the enter key t
o continue.

sdk:

annotate.class:
    [mkdir] Created dir: C:\Users\aleena\royale-compiler\compiler-build-tools\ta
rget\classes
    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-
build-tools\target\classes
    [javac] warning: [options] bootstrap class path not set in conjunction with
-source 1.5
    [javac] error: Source option 1.5 is no longer supported. Use 1.6 or later.
    [javac] error: Target option 1.5 is no longer supported. Use 1.6 or later.

BUILD FAILED
C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred while e
xecuting this line:
C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred while e
xecuting this line:
C:\Users\aleena\royale-compiler\build.xml:63: The following error occurred while
 executing this line:
C:\Users\aleena\royale-compiler\compiler-build-tools\build.xml:74: Compile faile
d; see the compiler error output for details.

Total time: 17 minutes 59 seconds

C:\Users\aleena\royale-asjs>

Unable to Build, Please guide.

Thanks,
Alina
From: Alex Harui [mailto:aharui@adobe.com]
Sent: Friday, March 02, 2018 10:31 PM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

Hi Alina,

I was able to download and expand the files.  I will be consolidating the data today.

In order to be able to write some of these emulations, you will probably need to be able to build the framework sources.  If you haven't already, you can try cloning the royale-asjs repo and figure out how to get it to build.  You can choose Apache Maven or Apache Ant as the build tool.

https://github.com/apache/royale-asjs<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs&data=02%7C01%7Caharui%40adobe.com%7C3c1833c1fc9442003f2608d5832c7fe0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559149534170415&sdata=YqGTpbzoou8SilHbsTxjriIjiREaS%2FA9j6xjZYRR%2F4E%3D&reserved=0>

Hopefully the instruction in the readme are sufficient.

Thanks,
-Alex

From: Alina Kazi <al...@d-bz.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Friday, March 2, 2018 at 12:34 AM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: RE: Generating API report for Flex Web Browser application

Hi Alex,

Application API-Report link:
https://www.dropbox.com/s/swvqhly6wa0jrc5/API-Reports.rar?dl=0<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fswvqhly6wa0jrc5%2FAPI-Reports.rar%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C928c248220464230f6dd08d5801a2f13%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555772324148830&sdata=9%2BsrGG41iCMIEmbtqnEbV%2BPvi1ngE9vF%2BKuqPAZ%2Bzao%3D&reserved=0>
SHMALib Report, applications,shmDoclist,shmSetupList,AppView_EIS, AppView_ERP,shmMappingSetup, shmMappingSetupOpenDetailGrid,shmSalesInvoice, shmSalesInvoiceDetail are main API Files.

Regards,
Alina




From: Alina Kazi [mailto:alina.kazi@d-bz.com]
Sent: Friday, March 02, 2018 11:32 AM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

Hi Alex,

2) We are using Effects in our Application 2-3 times
4) We are using text styling in our Application 3-5 times

Thanks,
Alina

From: Alex Harui [mailto:aharui@adobe.com]
Sent: Friday, March 02, 2018 4:26 AM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

Hi Alina,

1) Interesting about Charts.  They were being used by the SWC.
2) Effects are any animations that move, resize or fade things in the UI.
3) ok
4) I'm not sure what to conclude from the screenshot.  I'm interested in how often folks use it to create text with bold, italics and other styling of text.

Thanks,
-Alex

From: Alina Kazi <al...@d-bz.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Thursday, March 1, 2018 at 4:24 AM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: RE: Generating API report for Flex Web Browser application

Hi Alex,
600 mxml.api.txt files are generated and still in process. I will share link for files tomorrow.
After sharing my files tomorrow, If you will suggest to build  emulations.
I will  definitely want to learn how to create emulations and contribute them to Apache Royale.
1.We are not using Charts in our Application
2. How important are effects? (Please explain effects )
3. We are not using Right-to-left languages in RichTextEditor.
4. Is RichTextEditor being used for non-plain text?  If so, what kinds of text styling is important?
Link:https://www.dropbox.com/s/ky93eycmefm3cuu/RICHTEXTEDITOR.png?dl=0<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fky93eycmefm3cuu%2FRICHTEXTEDITOR.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cff526ec5592c42772ade08d57f713736%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555046634193460&sdata=BjS8q1GarTweRfMMmZOKxN%2FTQTqhtzJlm05KAtWnNTQ%3D&reserved=0>
Thanks,
Alina
From: Alex Harui [mailto:aharui@adobe.com]
Sent: Wednesday, February 28, 2018 10:45 PM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

Hi Alina,

Good to hear it worked.

I think I am waiting on all of the mxml.api.txt files to see what else is in there that isn't in the two reports we have, then we'll have a pretty good list of the places you will either need to change in your code or that we  will build emulations for.

I think emulations will be less work in the end, but there will be a lot of them to do.  We will want to you to learn how to create emulations and contribute them to Apache Royale.  That's how many Apache projects work: some of the users learn how to become committers.  This will be an asset to your company as well since you will learn how to fix things in Royale yourself.  Then your company won't be dependent on outsiders for support.

So, Peter and I and hopefully others will get started on some emulations to make sure they work for us, and then you can see if they work for you, and then we will teach you how to write those emulations.  Over the next several months, besides testing emulations written by others in your app, you will be writing your own emulations for things you need right away that we haven't written yet, or for third-party code that you are using.

It might help to get some prioritization on the emulations we need to write.  In looking at the list, I am wondering:

  1.  Are some charts more important than others?
  2.  How important are effects?
  3.  Do you use Right-to-left languages in RichTextEditor?
  4.  Is RichTextEditor being used for non-plain text?  If so, what kinds of text styling is important?
Thanks,
-Alex

From: Alina Kazi <al...@d-bz.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Wednesday, February 28, 2018 at 1:22 AM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: RE: Generating API report for Flex Web Browser application

Hi Alex,
Thank you.
It’s working with latest nightly build:
https://www.dropbox.com/s/77wkgrm74upkg0j/SHMALib%20Report.txt?dl=0<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F77wkgrm74upkg0j%2FSHMALib%2520Report.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C16fa845b6d2f4efb7f4a08d57e8e9097%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636554073167111532&sdata=UV0BOZpVonw%2BILcK9njhQdf5pKpqWPccp0IKDPm4jOI%3D&reserved=0>


Regards,
Alina



From: Alex Harui [mailto:aharui@adobe.com]
Sent: Wednesday, February 28, 2018 1:15 PM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

Hi Alina,

Looks like COMPC collected the data but never generated the report.  I pushed a fix for that.  Please try the latest nightly build.

Thanks,
-Alex

From: Alina Kazi <al...@d-bz.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Tuesday, February 27, 2018 at 10:35 PM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: RE: Generating API report for Flex Web Browser application

Hi Alex,
Thank you
After commenting the embedded font part from source.
Output to console:
3462313 bytes written to D:\SHMALib.swc in 19.878 seconds
D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"
 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\framewor
ks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\sr
c" -library-path+=D:\SHMALIB\libs

SHMALib.swf file Generated and Report.txt is empty
SHMALib.swc output Link:
https://www.dropbox.com/s/4tz49sz134m2gg9/SHMALib.swc?dl=0<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F4tz49sz134m2gg9%2FSHMALib.swc%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=%2FNcbTJtah21RRPeWfwg2pRaZ72hd%2BdG0iJlnH3GsA28%3D&reserved=0>
then I change, Compc -output "D:\SHMALib.swc" to Compc -output "D:\SHMALib. txt "
SHMALib.txt output Link:
https://www.dropbox.com/s/j38obt5e36awuh3/SHMALib.txt?dl=0<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fj38obt5e36awuh3%2FSHMALib.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=V%2FcA5dJ3Fi1qOvh%2BtUlbU%2FZ%2FQ5SBfRw7psjsm2Q%2Fe8w%3D&reserved=0>

Thanks,
Alina



From: Alex Harui [mailto:aharui@adobe.com]
Sent: Wednesday, February 28, 2018 11:18 AM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

Hi Alina,

The only error right now is the embedded font.

We can discuss the pros and cons of embedding images in the JS output at some other point in time.

-Alex

From: Alina Kazi <al...@d-bz.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Tuesday, February 27, 2018 at 10:01 PM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: RE: Generating API report for Flex Web Browser application

Big Part of SHMALib Uses Embed and metadata :

                                // Embed the font so we can rotate it for further distortion
                                [Embed(systemFont="Comic Sans MS",
                                                                embedAsCFF='false')]
                <mx:Image y="4" width="18" height="20" right="185" source="@Embed(source='assets/default/images/load.png')"
                                                  source="@Embed(source='assets/default/images/next.gif')" scaleContent="false"/>
                <mx:Image y="4" width="18" height="20" right="3" source="@Embed(source='assets/default/images/magnifier.png')"
     * An IFrame which you can embed into Flex applications to show an HTML page.
     * @example A simple application with Google embedded
        // SWF embed object tracking
         * The SWF embed object id.
         * Get the embed object id.
        protected function resolveEmbedObjectId():void
                    var result:Object=ExternalInterface.call(IFrameExternalCalls.FUNCTION_ASK_FOR_EMBED_OBJECT_ID, randomIdentificationString.toString());
                        logger.info("Resolved the SWF embed object id to '{0}'.", applicationId);
                        logger.error('Could not resolve the SWF embed object Id.');
            // Resolve the SWF embed object id in the DOM.
            ExternalInterface.call(IFrameExternalCalls.INSERT_FUNCTION_ASK_FOR_EMBED_OBJECT_ID);
            resolveEmbedObjectId();
            logger.info("Loading IFrame with id '{0}', on SWF embed object with id '{1}'.", _frameId, applicationId);
                    FUNCTION_LOADIFRAME + " = function (frameID, iframeID, url, embedID, scrollPolicy)" +
                                      "onLoad='\"+embedID+\".\"+frameID+\"_load();' " +
        public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String = "askForEmbedObjectId";
        public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String = "askForEmbedObjectId";
        public static var INSERT_FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =
                "if (document." + FUNCTION_ASK_FOR_EMBED_OBJECT_ID + "==null)" +
                    FUNCTION_ASK_FOR_EMBED_OBJECT_ID + " = function(randomString) " +
                            "var embeds = document.getElementsByTagName('embed'); " +
                            "var embeds = document.getElementsByTagName('embed'); " +
                            "for (var i = 0; i < embeds.length; i++) { " +
                                "var isTheGoodOne = embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " +
                                "var isTheGoodOne = embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " +
                                    "return embeds[i].getAttribute('id'); " +
                                 * The UITextField control for displaying embeded hints.
                                private var embedTextField:UITextField;
                                 *  The String to be shown as the embeded hint.
                                private var embedStr:String = "";
                                                                                embedStr = "MM DD YYYY";
                                                                                embedStr = "DD MM YYYY";
                                                                                embedStr = "YYYY MM DD";
                                                                                embedStr = "YYYY DD MM";
                                 *  Create child objects for displaying embeded hints.
                                                                embedTextField = new UITextField();
                                                                //embedTextField.text = embedStr;
                                                                //embedTextField.text = embedStr;
                                                                addChildAt(UITextField(embedTextField),getChildIndex(DisplayObject(textField)));//as TextField
                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;
                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;
                                                                                                                                s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);
                                                                                                                                embedTextField.text = s;
                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;
                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;
                                                                                                                                //s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);
                                                                                                                                //embedTextField.text = s;
                                                                                                                                s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);
                                                                                                                                embedTextField.text = s;
                                                                                // If embeded hints are displayed then update the
                                                                                // UITextField corresponding to the embeded hints
                                                                                                var s:String = embedTextField.text == null ? "":embedTextField.text;
                                                                                                var s:String = embedTextField.text == null ? "":embedTextField.text;
                                                                                                                embedTextField.text = s;
                                                                // create the embeded text field for showing
                                                                // embeded hints if its not already created.
                                                                // If it is created, then just change the embeded hint.
                                                                if(!embedTextField)
                                                                                embedTextField = new UITextField();
                                                                                addChildAt(embedTextField,getChildIndex(DisplayObject(textField))); //as TextField
                                                                //embedTextField.text = embedStr;
                                                                //embedTextField.text = embedStr;
                                                                embedTextField.alpha = 1;
                                                                embedTextField.setTextFormat(txtFormat);
                                                                embedTextField.x = 0;
                                                                embedTextField.y = 2;
                                                                embedTextField.setActualSize(width,height);
                                                                if(embedTextField)
                                                                                embedTextField.text = "";
                                                                                embedTextField = null;
                                                // setting the color of the embeded text field to white.
                                                                if(embedTextField)
                                                                                embedTextField.setColor(0xFFFFFF);
                                                                                if(embedTextField)
                                                                                                addChildAt(DisplayObject(newSkin),getChildIndex(DisplayObject(embedTextField)));//
   background-image:                                      Embed(source="/assets/application_background.png",
                up-skin:                Embed("/assets/maximize_up.png");
                over-skin:            Embed("/assets/maximize_over.png");
                down-skin:         Embed("/assets/maximize_up.png");
                selected-up-skin:   Embed("/assets/restore_up.png");
                selected-over-skin: Embed("/assets/restore_over.png");
                selected-down-skin: Embed("/assets/restore_up.png");
                up-skin:        Embed("/assets/minimize_up.png");
                over-skin:      Embed("/assets/minimize_over.png");
                down-skin:      Embed("/assets/minimize_up.png");
                up-skin:                                Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");
                over-skin:                            Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");
                down-skin:                         Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");
                selected-up-skin:                             Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");
                selected-over-skin:                         Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");
                selected-down-skin:                      Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");
                up-skin:                                Embed("/assets/left_arrow_up.gif");
                over-skin:                            Embed("/assets/left_arrow_over.gif");
                down-skin:                         Embed("/assets/left_arrow_up.gif");
                disabled-skin:    Embed("/assets/left_arrow_disabled.gif");
                up-skin:                                Embed("/assets/right_arrow_up.gif");
                over-skin:                            Embed("/assets/right_arrow_over.gif");
                down-skin:                         Embed("/assets/right_arrow_up.gif");
                disabled-skin:    Embed("/assets/right_arrow_disabled.gif");
                                //[Embed(source="/assets/cursor_move.gif")]
                                //[Embed(source="/assets/cursor_resize.gif")]
                                [Embed(source="/assets/default/images/mouseMove.gif")]
                                [Embed(source="/assets/default/images/verticalSize.gif")]
                                [Embed(source="/assets/default/images/horizontalSize.gif")]
                                [Embed(source="/assets/default/images/leftObliqueSize.gif")]
                                [Embed(source="/assets/default/images/rightObliqueSize.gif")]
                                                if (image.isEmbedded)
                                                //if (!Application.application.systemManager.isFontFaceEmbedded(textFormat))
                                                if (!FlexGlobals.topLevelApplication.systemManager.isFontFaceEmbedded(textFormat))
                                                                if (Application.application.isFontsEmbedded) {
                                                                if (Application.application.isFontsEmbedded) {
                                                                if (Application.application.isFontsEmbedded) {
                                private var _isEmbedded:Boolean = false;
                                public function set isEmbedded(embedded:Boolean):void
                                public function set isEmbedded(embedded:Boolean):void
                                                _isEmbedded = embedded;
                                                _isEmbedded = embedded;
                                public function get isEmbedded():Boolean
                                                return _isEmbedded;
                                                <mx:icon>@Embed(source='images/print.GIF')</mx:icon>
                                                <mx:icon>@Embed(source='images/reload.GIF')</mx:icon>
                                                                <mx:disabledIcon>@Embed(source='images/first-gray.GIF')</mx:disabledIcon>
                                                                <mx:icon>@Embed(source='images/first.GIF')</mx:icon>
                                                                <mx:disabledIcon>@Embed(source='images/previous-gray.GIF')</mx:disabledIcon>
                                                                <mx:icon>@Embed(source='images/previous.GIF')</mx:icon>
                                                                <mx:disabledIcon>@Embed(source='images/next-gray.GIF')</mx:disabledIcon>
                                                                <mx:icon>@Embed(source='images/next.GIF')</mx:icon>
                                                                <mx:disabledIcon>@Embed(source='images/last-gray.GIF')</mx:disabledIcon>
                                                                <mx:icon>@Embed(source='images/last.GIF')</mx:icon>
                                                                                <mx:icon>@Embed(source='images/actualsize.GIF')</mx:icon>
                                                                                <mx:icon>@Embed(source='images/fitpage.GIF')</mx:icon>
                                                                                <mx:icon>@Embed(source='images/fitwidth.GIF')</mx:icon>
                                                                <mx:disabledIcon>@Embed(source='images/zoomin-gray.GIF')</mx:disabledIcon>
                                                                <mx:icon>@Embed(source='images/zoomin.GIF')</mx:icon>
                                                                <mx:disabledIcon>@Embed(source='images/zoomout-gray.GIF')</mx:disabledIcon>
                                                                <mx:icon>@Embed(source='images/zoomout.GIF')</mx:icon>
                                                                <mx:icon>@Embed(source='images/print.GIF')</mx:icon>
                                                if (imageSourceXml.@isEmbedded.length<ma...@isEmbedded.length>() > 0)
                                                                image.isEmbedded = imageSourceXml.@isEmbedded == "true";
                                                                image.isEmbedded = imageSourceXml.@isEmbedded == "true";
                 source="@Embed(source='/assets/default/images/left_arrow_up.gif')"/>
                 source="@Embed(source='/assets/default/images/left_arrow_over.gif')"/>
                 source="@Embed(source='/assets/default/images/left_arrow_disabled.gif')"/>
                                                                                   source="@Embed(source='/com/shm/flexlib/mdi/assets/img/maximizeButton.png')"/>
                                                                                   height="12" source="@Embed(source='/com/shm/flexlib/mdi/assets/img/restoreButton.png')"/>
                                                                                   source="@Embed(source='/com/shm/flexlib/mdi/assets/img/minimizeButton.png')"/>
                 source="@Embed(source='/assets/default/images/right_arrow_up.gif')"/>
                 source="@Embed(source='/assets/default/images/right_arrow_over.gif')"/>
                 source="@Embed(source='/assets/default/images/right_arrow_disabled.gif')"/>



From: Alex Harui [mailto:aharui@adobe.com]
Sent: Wednesday, February 28, 2018 11:00 AM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

Hi Alina,

I think you can ignore the warnings.  The first error is for embedding a font, which Royale doesn't currently support, so for now, try commenting out the Embed metadata and see if that allows the error to go away.

I would look into the other errors to see if they are legitimate or not.  The Royale Compiler will catch some things the MXMLC compiler may not.  Or you could comment out the code involved in the two errors in TImeZone.as for now since that won't affect the report.

The final two errors I saw are for missing skin states.  I think you can just add the skin states.

HTH,
-Alex

From: Alina Kazi <al...@d-bz.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Tuesday, February 27, 2018 at 9:35 PM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: RE: Generating API report for Flex Web Browser application

Hi Alex,

While Executing
D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\src"
Or
D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\Flex\libs\SH
MALIB.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bi
n\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\
SHMALIB\src" -library-path+=D:\SHMALIB\libs

Error:
(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to
field java.lang.Thread.inheritableThreadLocals
WARNING: Please consider reporting this to the maintainers of com.google.common.
base.internal.Finalizer
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect
ive access operations
WARNING: All illegal access operations will be denied in a future release
Loading configuration: D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml

Warning: Duplicate declaration of SkinState 'normal'


Warning: Duplicate declaration of SkinState 'disabled'


Warning: Duplicate declaration of SkinState 'normal'


Warning: Duplicate declaration of SkinState 'disabled'


Warning: Duplicate declaration of SkinState 'normal'


Warning: Duplicate declaration of SkinState 'disabled'


Warning: Duplicate declaration of SkinState 'normal'


Warning: Duplicate declaration of SkinState 'disabled'


Warning: Duplicate declaration of SkinState 'normal'


Warning: Duplicate declaration of SkinState 'disabled'


D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(415): col: 50 Warning:
Data binding will not be able to detect assignments to 'amfChannelSet'.

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"
id="DataProviderService"  showBusyCursor="true"
                                                               ^

D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(419): col: 50 Warning:
Data binding will not be able to detect assignments to 'amfChannelSet'.

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"
id="BasicFormatterService"  showBusyCursor="true"
                                                               ^

D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(516): col: 50 Warning: Da
ta binding will not be able to detect assignments to 'amfChannelSet'.

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"
id="DataProviderService"  showBusyCursor="true"
                                                               ^

D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(520): col: 50 Warning: Da
ta binding will not be able to detect assignments to 'amfChannelSet'.

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"
id="BasicFormatterService"  showBusyCursor="true"
                                                               ^

D:\SHMALIB\src\com\shm\components\shmCaptchaImage.as(43): col: 3 Error: Embed re
quires a 'source' file attribute

                [Embed(systemFont="Comic Sans MS",
                ^

D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(37): col: 88 Warning: Data
binding will not be able to detect assignments to 'isSelected'.

                                        <mx:CheckBox selectedField="isSelected"
 change="onChange(event);" selected="{data.isSelected}">

                                          ^

D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(46): col: 27 Warning: Data
binding will not be able to detect assignments to 'label'.

                                        <mx:Label text="{data.label}" />
                                                             ^

D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(126): col: 15 Error: Impli
cit coercion of a value of type Boolean to an unrelated type Number.

                                if(year & 0x3 == 0)
                                          ^

D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(134): col: 39 Error: Impli
cit coercion of a value of type Boolean to an unrelated type Number.

                                if(month == 1 && value.fullYear & 0x3 == 0)
                                                                  ^

D:\SHMALIB\src\com\shm\dashboard\renderers\GridPodURLRenderer.mxml(6): col: 23 W
arning: Data binding will not be able to detect assignments to 'SrNo'.

                  htmlText="&lt;u&gt;{data.SrNo}&lt;/u&gt;" color="blue" click="
f_DrillDownData(data)">
                                    ^

D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml Error:
The required skin state 'disabledWithPrompt' is missing.


D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml Error:
The required skin state 'normalWithPrompt' is missing.


D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(177): col: 27 Warning: D
ata binding will not be able to detect assignments to 'valueField'.

                                                yField="{properties.@valueField}
">
                                                                    ^

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(187): col: 34 Warning: D
ata binding will not be able to detect assignments to 'categoryField'.

                                                categoryField="{properties.@cate
goryField}" />
                                                                           ^

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(202): col: 27 Warning: D
ata binding will not be able to detect assignments to 'valueField'.

                                                yField="{properties.@valueField}
">
                                                                    ^

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(212): col: 34 Warning: D
ata binding will not be able to detect assignments to 'categoryField'.

                                                categoryField="{properties.@cate
goryField}" />
                                                                           ^

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(429): col: 27 Warning: D
ata binding will not be able to detect assignments to 'valueField'.

                                                yField="{properties.@valueField}
">
                                                                    ^

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(439): col: 34 Warning: D
ata binding will not be able to detect assignments to 'categoryField'.

                                                categoryField="{properties.@cate
goryField}" />
                                                                           ^

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(454): col: 27 Warning: D
ata binding will not be able to detect assignments to 'valueField'.

                                                yField="{properties.@valueField}
">
                                                                    ^

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(464): col: 34 Warning: D
ata binding will not be able to detect assignments to 'categoryField'.

                                                categoryField="{properties.@cate
goryField}" />
                                                                           ^

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(479): col: 26 Warning: D
ata binding will not be able to detect assignments to 'valueField'.

                                                field="{properties.@valueField}"

                                                                   ^

D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(115): col: 74 Warning
: Data binding will not be able to detect assignments to 'amfChannelSet'.

                <mx:RemoteObject id="roDrillDownColInfo" channelSet="{parentAppl
ication.amfChannelSet}" showBusyCursor="true"

       ^

D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(118): col: 68 Warning
: Data binding will not be able to detect assignments to 'amfChannelSet'.

                <mx:RemoteObject id="roDgDpResult" channelSet="{parentApplicatio
n.amfChannelSet}" showBusyCursor="true"

 ^

D:\SHMALIB\src\com\shm\dashboard\view\PieChartContent.mxml(128): col: 24 Warning
: Data binding will not be able to detect assignments to 'valueField'.

                                field="{properties.@valueField}"
                                                   ^

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 37 Warning: Dat
a binding will not be able to detect assignments to 'appParams'.

                                                        inputMask="{parentApplic
ation.appParams.DATE_FORMAT}" showToday="true"  yearNavigationEnabled="true"

     ^

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 47 Warning: Dat
a binding will not be able to detect assignments to 'DATE_FORMAT'.

                                                        inputMask="{parentApplic
ation.appParams.DATE_FORMAT}" showToday="true"  yearNavigationEnabled="true"

               ^

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 38 Warning: Dat
a binding will not be able to detect assignments to 'appParams'.

                                                         inputMask="{parentAppli
cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true" showToday="true"

      ^

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 48 Warning: Dat
a binding will not be able to detect assignments to 'DATE_FORMAT'.

                                                         inputMask="{parentAppli
cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true" showToday="true"

                ^

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(12): col: 11 Warnin
g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

                        import mx.graphics.Stroke;
                               ^

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(37): col: 23 Warnin
g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

                                        lne.stroke = new Stroke(0,1,.3);
                                                         ^

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(46): col: 14 Warnin
g: Duplicate variable definition: i.

                                for (var i:int = 1; i < lnWdt; i++){
                                         ^

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(47): col: 10 Warnin
g: Duplicate variable definition: lne.

                                        var lne:Line  = new Line();
                                            ^

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(53): col: 23 Warnin
g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

                                        lne.stroke = new Stroke(0,1,.3);
                                                         ^

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(54): col: 10 Warnin
g: Duplicate variable definition: llbe.

                                        var llbe:Label = new Label();
                                            ^

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(157): col: 40 Warn
ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev
elApplication'.

                                var xPosition:Number = Application.application.p
arent.mouseX;
                                                                   ^

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(158): col: 40 Warn
ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev
elApplication'.

                                var yPosition:Number = Application.application.p
arent.mouseY;
                                                                   ^

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(225): col: 36 Warn
ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev
elApplication'.

                                var xPlus:Number = Application.application.paren
t.mouseX - point.x;
                                                               ^

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(226): col: 36 Warn
ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev
elApplication'.

                                var yPlus:Number = Application.application.paren
t.mouseY - point.y;

Thanks,
Alina Kazi
From: Alex Harui [mailto:aharui@adobe.com]
Sent: Wednesday, February 28, 2018 10:16 AM
To: Alina Kazi; users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

Hi Alina,

I think that Flash Builder makes it easy to build SWCs.  Building from the command line can be a bit trickier.

Let's try:
Compc -output "D:\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\src"

HTH,
-Alex


From: Alina Kazi <al...@d-bz.com>>
Date: Tuesday, February 27, 2018 at 7:28 PM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>, Alex Harui <ah...@adobe.com>>
Subject: RE: Generating API report for Flex Web Browser application

Hi Alex,
Yes I am using Flash Builder.
SHMALIB and MainFlexApp are two separate Projects
Src for SHMALIB is placed into D:/SHMALIB/src
Src for MainFlexApp is D:/Flex/src and the library output file SHMALIB.swc is placed into D:/Flex/libs

SHMALIB (.actionscriptProperties)

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<actionScriptProperties mainApplicationPath="SHMALib.as" projectUUID="863559ab-3e7b-475b-a3a4-09f4f76fc0d2" version="6">
  <compiler additionalCompilerArguments="-locale en_US" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderLocation="D:/Flex/libs" outputFolderPath="bin-debug" sourceFolderPath="src" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" verifyDigests="true" warn="true">
    <compilerSourcePath/>
    <libraryPath defaultLinkType="0">
      <libraryPathEntry kind="4" path="">
        <excludedEntries>
          <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>
        </excludedEntries>
      </libraryPathEntry>
      <libraryPathEntry kind="1" linkType="1" path="libs"/>
    </libraryPath>
    <sourceAttachmentPath/>
  </compiler>
  <applications>
    <application path="SHMALib.as"/>
  </applications>
  <modules/>
  <buildCSSFiles/>
</actionScriptProperties>

SHMALIB (.flexLibProperties)
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<flexLibProperties includeAllClasses="true" version="3">
  <includeClasses/>
  <includeResources/>
  <namespaceManifests/>
</flexLibProperties>

Thanks,
Alina
From: Alex Harui [mailto:aharui@adobe.com]
Sent: Tuesday, February 27, 2018 9:34 PM
To: Alina Kazi
Subject: Re: Generating API report for Flex Web Browser application

Hi Alina,

When you are not trying to use Royale to generate this API report, how are you building your current Flex app?  We might need to know that in order to determine what parameters to add to COMPC.

COMPC has additional parameters like -include–sources, include-file, include-classes.  Sometimes, these are listed in an xml file.  If you are using Flash Builder, for example, then examine the .flexlibproperties and .actionscriptProperties files in your project folder.

Thanks,
-Alex

From: Alina Kazi <al...@d-bz.com>>
Date: Tuesday, February 27, 2018 at 3:21 AM
To: 'Alina Kazi' <al...@d-bz.com>>
Cc: Alex Harui <ah...@adobe.com>>
Subject: RE: Generating API report for Flex Web Browser application

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"
 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"
Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.common.base.internal.Finalizer
(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to
field java.lang.Thread.inheritableThreadLocals
WARNING: Please consider reporting this to the maintainers of com.google.common.
base.internal.Finalizer
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect
ive access operations

Error: nothing was specified to be included in the library.
-Alina

From: Alina Kazi [mailto:alina.kazi@d-bz.com]
Sent: Tuesday, February 27, 2018 2:16 PM
To: 'users@royale.apache.org<ma...@royale.apache.org>'
Subject: RE: Generating API report for Flex Web Browser application

Hi Alex,

I am using Moonshine IDE 1.9.0.
Flex 4.16.0
Apache Royale 0.9.2 Latest Nightly Build

Running this Command on Command Prompt:
D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"
 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"
Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.common.base.internal.Finalizer
(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to
field java.lang.Thread.inheritableThreadLocals
WARNING: Please consider reporting this to the maintainers of com.google.common.
base.internal.Finalizer
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect
ive access operations
WARNING: All illegal access operations will be denied in a future release

command line Error: unknown configuration variable 'sourceΓÇôpath'.

-Alina
From: Alex Harui [mailto:aharui@adobe.com]
Sent: Tuesday, February 27, 2018 1:26 PM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

Hi Alina,

COMPC takes a slightly different set of parameters.  What IDE or build tools are you using to build it without Royale?  You might need to know what options that build uses.

You can try running:

Compc -output "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source–path="D:\Projects\SHMA\Main\Flex\src" or wherever the source code is for the library.

HTH,
-Alex

From: Alina Kazi <al...@d-bz.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Monday, February 26, 2018 at 11:33 PM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: RE: Generating API report for Flex Web Browser application

Hi Alex,

For custom SWC, I am using COMPC to get an api-report for SWC
D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>compc "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml
Error: configuration variable 'output' was not set.


Thanks,
Alina
From: Alex Harui [mailto:aharui@adobe.com]
Sent: Tuesday, February 27, 2018 12:27 PM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

Hi Alina,

Yes, any SWC that is not in the Flex SDK's frameworks/libs folder needs to be specified as Piotr describes below.  We want you specify the same MXML file that you use to compile in the regular Flex SDK.  So if your Application.mxml starts with an mx:Application or s:Application that’s probably the one to use.  But also, if you have your own custom SWCs, we want you to use COMPC to get an api-report for those SWCs.  We want this modified Royale compiler to compile every source file you own so we can see what Flex APIs you are using.

HTH,
-Alex

From: Piotr Zarzycki <pi...@gmail.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Monday, February 26, 2018 at 11:19 PM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: Re: Generating API report for Flex Web Browser application

Hi Alina,

In my sense you will have to use -library-path+=path to the library. You have to tell compiler about that library.

Thanks, Piotr

2018-02-27 7:57 GMT+01:00 Alina Kazi <al...@d-bz.com>>:
Hi  Alex,
With latest nightly build:
MaskedTextInput , shmReportUtil …. Are Library Project Actionscript Files.
Main Application contains SHMALib.swc file in Libs folder
Error Link:
https://www.dropbox.com/s/p5imt22cuut0ex6/ErrorGeneratingReport.png?dl=0<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fp5imt22cuut0ex6%2FErrorGeneratingReport.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=8f1f9duW2Red4bP77hFTh3mLcCptBmAwd87n1iSkk%2Bs%3D&reserved=0>

I have a question that which .mxml file should be used to generate that report?
Applications.mxml is startup file in case of my Project so I’m using it.

Please visit reference link and If I’m doing anything wrong please let me know.

Thanks,
Alina

From: Alex Harui [mailto:aharui@adobe.com<ma...@adobe.com>]
Sent: Tuesday, February 27, 2018 12:00 AM

To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

Hi Alina,

I pushed a fix for that.  It might or might not be related to your custom swc.  Get the latest nightly build and let us know.

Also, if you are successful, please use your regular compiler to generate a -link–report.  That will help us verify that the API report didn't miss anything.

Thanks,
-Alex


From: Alina Kazi <al...@d-bz.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Monday, February 26, 2018 at 4:01 AM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: RE: Generating API report for Flex Web Browser application

Generated Report file for Sample Project Successfully.

spark.components.Application:minHeight,1
spark.components.Application:minWidth,1
spark.components.Application:mxmlContentFactory,2
spark.components.Label:fontSize,1
spark.components.Label:fontWeight,1
spark.components.Label:horizontalCenter,1
spark.components.Label:text,1
spark.components.Label:textAlign,1
spark.components.Label:verticalCenter,1

But while executing Actual Project got Error:
https://www.dropbox.com/s/d25eysllavuy5z4/compile2.png?dl=0<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fd25eysllavuy5z4%2Fcompile2.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=2i28J4zjv1vEQ7sd%2BGfHm%2Bh1FjG%2BP3YdJCc6rGZr3C4%3D&reserved=0>
https://www.dropbox.com/s/49iq74zk6rxcr1y/compile1.png?dl=0<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F49iq74zk6rxcr1y%2Fcompile1.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=44tfkOscWyJ%2FH3M30HeJ6dfFE0TlpTMhQ2t%2Bv%2ByuoDg%3D&reserved=0>

May be because my Application is dependent to SHMALib(.swc) Library Project (Source Shared Earlier).

-Alina

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com]
Sent: Monday, February 26, 2018 5:02 PM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

Alex,

I did above exercise for Moonshine and got NPE [1]. I used air-config.xml because it is na Desktop app.

[1] https://paste.apache.org/R0Si<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FR0Si&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=tFLrK9xsVt57PytwBaNoUJ%2FIPFH7FCHDtfrmJ1sAl3Y%3D&reserved=0>

Thanks,
Piotr


2018-02-26 12:56 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>>:
Yishay,

Thank you so much!! I got it working.

Alina,

Here is the full instruction.

1) Download Apache Royale with SWF support - if you have that is good, if not it's here [1]
2) Download Apache Flex - you have it as I have seen on the screenshot.
3) Launch console and go to the Royale SDK folder

"yourpathtosdk\bin\" - In my case it was: "d:\Work\royale_ide\royale_nightly_js_swf\bin\"

4) Run following command where you will point to the Flex Browser application in order to generate report. My command looks like that:

mxmlc "c:\Users\piotr\Documents\NewFlexBrowserProject\src\NewFlexBrowserProject.mxml" -api-report="c:\Users\piotr\Documents\NewFlexBrowserProject\report.txt" -load-config=d:\Work\flex-sdk-4.16.1_adobe_air_28\frameworks\flex-config.xml

I generated report for hellow world. Maybe in order to generate report for your application that console command may be much more sophisticated. Let's see!


[1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/lastSuccessfulBuild/artifact/out/<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2Fout%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=O%2BpVQ8OuhB%2FtE4ZdylTSkAQCWsIPBGlr9RgiTjWSWEM%3D&reserved=0>

Thanks,
Piotr


2018-02-26 12:46 GMT+01:00 Yishay Weiss <yi...@hotmail.com>>:
Looks like [1] you do need to add compiler option: -api–report=<path to output file>

[1] http://apache-royale-users.20374.n8.nabble.com/Substitutes-in-Apache-Royale-tp392p492.html<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p492.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kda6SpkBgdRqGAeGJ5Db629EAy7KAVbOZKzhzhynRZk%3D&reserved=0>


From: Piotr Zarzycki<ma...@gmail.com>
Sent: Monday, February 26, 2018 1:37 PM

To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

I have produced with that swf, but what's next? Let's wait for Alex's response [1]

[1] https://paste.apache.org/YEeG<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FYEeG&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8ameYzJ7AloOW4nTa8dqu7zYxwORSQc5sCUqpZDVA%2BY%3D&reserved=0>

Thanks,
Piotr

2018-02-26 12:32 GMT+01:00 Yishay Weiss <yi...@hotmail.com>>:
Alex will know but I don’t think so. I haven’t updated the compiler recently so can’t test it right now. If you want to test it maybe just create a simple app and replace /Users/aharui/ApacheFlex4.16.0 with your sdk home.



From: Piotr Zarzycki<ma...@gmail.com>
Sent: Monday, February 26, 2018 1:25 PM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

Hi Yishay,

bin/mxmlc
<path to app's
.mxml
file>
-load-config=/Users/aharui/ApacheFlex4.16.0/frameworks/flex-config.xml

Do I need some switch for compiler -api-report or something like that ?

Thanks,
Piotr


2018-02-26 12:10 GMT+01:00 Yishay Weiss <yi...@hotmail.com>>:
Wasn’t logged in. Here’s [1] the link.

[1] http://apache-royale-users.20374.n8.nabble.com/Substitutes-in-Apache-Royale-tp392p489.html<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p489.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8Tp5%2BFveKS0eoW7D8EovITPQqYrgwDK4P7cW9izXFH8%3D&reserved=0>


From: Yishay Weiss<ma...@hotmail.com>
Sent: Monday, February 26, 2018 12:59 PM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

I couldn’t find a way to link to a nabble post, but this [1] might help (from Substitutes in Apache Royale).

[1] https://paste.apache.org/N2QR<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FN2QR&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=VIS8u6EEBWN6jQrFxpttZvAfUCSSKPe3rbrBDU2w7Sg%3D&reserved=0>

From: Piotr Zarzycki<ma...@gmail.com>
Sent: Monday, February 26, 2018 12:44 PM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Generating API report for Flex Web Browser application

Hi Alex,

I would like to understand how to generate that report. I will go with the console path, because I think this is something unusual and probably Moonshine is not prepared to do this. I'm writing this on the users mailing list because Alina is having some problems with that. I wanted to simplify all of that. Let's start from the beginning.

1) I have created Flex Web browser project using Apache Flex SDK 4.16.1.
2) I have nightly build of Royale with SWF support [1]

What should I type in the console now ?

[1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/lastSuccessfulBuild/artifact/<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=UtYFFQ90aNB2HU2Vx4t8YAS6Eo2j1ZqVAytujEOgoFM%3D&reserved=0>

Thanks,
--

Piotr Zarzycki

Patreon: https://www.patreon.com/piotrzarzycki<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>





--

Piotr Zarzycki

Patreon: https://www.patreon.com/piotrzarzycki<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>




--

Piotr Zarzycki

Patreon: https://www.patreon.com/piotrzarzycki<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>




--

Piotr Zarzycki

Patreon: https://www.patreon.com/piotrzarzycki<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>



--

Piotr Zarzycki

Patreon: https://www.patreon.com/piotrzarzycki<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>



--

Piotr Zarzycki

Patreon: https://www.patreon.com/piotrzarzycki<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=zGrfZ2Wj3CLuuW%2B%2BKtUSQF6762Vn0%2BeNjCMlViBMghg%3D&reserved=0>

RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

Posted by Alina Kazi <al...@d-bz.com>.
Hi Alex,

Still getting same error, while executing:

C:\Users\aleena\royale-asjs>ant all

Website link is working :

http://www.antlr.org/license.html

 

could be only issue , Antlr server will be off-line ?

 

Thanks,

Alina

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Tuesday, March 06, 2018 4:38 PM
To: 'users@royale.apache.org'
Subject: RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alex,

 

We can exclude ScaleX , ScaleY,transform from our code as we are using it in our Library Project Only.

We are using “Rotation” in a PopUp Window. 

 

Can you please explain emulation ?

How do they will work?

 

Thanks,

Alina

 

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Tuesday, March 06, 2018 3:14 PM
To: 'users@royale.apache.org'
Subject: RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alex,

We are using commitProperties() in our Library Project. Overriding the Existing Spark commitProperties() method 

For Example:

ResizableTextAreaSkin.mxml (SHMALib)

override protected function commitProperties():void {

                                                super.commitProperties();

 

                                                if (lineBreakChanged) {

                                                                updateStringStyle("lineBreak");

                                                                lineBreakChanged = false;

                                                }

                                                if (paddingChanged) {

                                                                updatePadding();

                                                                paddingChanged = false;

                                                }

                                                if (verticalAlignChanged) {

                                                                updateStringStyle("verticalAlign");

                                                                verticalAlignChanged = false;

                                                }

                                }

We are using 


Package

 <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/package-detail.html> flash.display


Class

public class DisplayObject


Inheritance

DisplayObject Inheritance  <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/EventDispatcher.html> EventDispatcher Inheritance  <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Object.html> Object


Reference Link:

	

https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/DisplayObject.html

 

e.g :

                public function updateLayoutWithoutAnimation():void

                                {

                                                if(_layoutInvalid == true && layoutFunction != null)

                                                {

                                                                _layoutInvalid = false;

                                                                layoutFunction();

                                                }

 

                                                for(var aChild:* in _targets)

                                                {

                                                                var target:LayoutTarget = _targets[aChild];

                                                                var item:IFlexDisplayObject = target.item;

                                                                var m:Matrix = DisplayObject(item).transform.matrix;

 

                                                                m.tx = target.x;

                                                                m.ty = target.y;

                                                                m.a = target.scaleX;                                                                        

                                                                m.d = target.scaleY

                                                                

                                                                DisplayObject(item).alpha = target.alpha;

                                                                DisplayObject(item).transform.matrix = m;

                                                                item.setActualSize(target.unscaledWidth,target.unscaledHeight);

                                                                if(target.state == "removed")

                                                                {

                                                                                delete _targets[target.item];

                                                                                continue;

                                                                }

                                                                else

                                                                {

                                                                                target.state = "positioned"

                                                                }

                                                }

                                                stopTimer();

                                }

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, March 06, 2018 1:36 PM
To: users@royale.apache.org
Subject: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alina,

 

I'm starting on the emulation.  I've noticed that your application code appears to be calling commitProperties().  Can you tell us why?

 

Also, it looks like there are a few uses of rotation, transform, scaleX and scaleY.  What are those used for?

 

Thanks,

-Alex

 

From: Alex Harui <ah...@adobe.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 11:38 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Try again.  Sometimes the Antlr server goes off-line around this time of day.

 

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 11:12 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Using jdk1.8.0_162:

 

C:\Users\aleena\royale-asjs>ant all

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Buildfile: C:\Users\aleena\royale-asjs\build.xml

 

set.base.folder:

 

check-git:

     [echo] Checking for Git...

     [exec] git version 2.16.2.windows.1

 

get-download-folder:

 

download-all:

     [echo] Using folder C:\Users\aleena\royale-asjs/..

 

check-royale-asjs:

 

warn-before-clone:

 

check-royale-asjs:

 

clone-royale-asjs:

 

check-royale-compiler:

 

clone-royale-compiler:

 

check-royale-typedefs:

 

clone-royale-typedefs:

 

check-playerglobal-home:

 

check-air-home:

 

build-all:

 

ask-before-build-all:

    [input] This script will now download and compile lots of files.  This can t

ake several minutes.   No interaction should be required.  Press the enter key t

o continue.

 

 

sdk:

 

annotate.class:

    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-

build-tools\target\classes

    [javac] warning: [options] bootstrap class path not set in conjunction with

-source 1.5

    [javac] warning: [options] source value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] target value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] To suppress warnings about obsolete options, use

-Xlint:-options.

    [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\src\main\java\o

rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:24: warning: [serial

] serializable class AnnotateClassDeleteException has no definition of serialVer

sionUID

    [javac]     public static class AnnotateClassDeleteException extends Excepti

on

    [javac]                   ^

    [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\src\main\java\o

rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:32: warning: [serial

] serializable class AnnotateClassRenameException has no definition of serialVer

sionUID

    [javac]     public static class AnnotateClassRenameException extends Excepti

on

    [javac]                   ^

    [javac] 6 warnings

 

unknown.tree.pattern.input.output:

    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-

build-tools\target\classes

    [javac] warning: [options] bootstrap class path not set in conjunction with

-source 1.5

    [javac] warning: [options] source value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] target value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] To suppress warnings about obsolete options, use

-Xlint:-options.

    [javac] 4 warnings

 

main:

 

compiler.downloads.cache:

 

compiler.downloads:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

prepare:

     [echo] Making lib directory C:\Users\aleena\royale-compiler\compiler/lib/ex

ternal

    [mkdir] Created dir: C:\Users\aleena\royale-compiler\compiler\lib\external

 

all:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

check-dependency:

     [echo] checking for C:\Users\aleena\royale-compiler\compiler/lib/external//

antlr.jar

 

download-dependency:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

echo-project-jar:

   [delete] Deleting: C:\Users\aleena\royale-compiler\compiler\src\main\resource

s\project.properties

     [echo] ${INFO_DOWNLOADING_FILE_FROM}

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

download-apache-license:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

download-other-license:

      [get] Getting: http://www.antlr.org/license.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0> 

      [get] To: C:\Users\aleena\royale-compiler\compiler\lib\external\antlr-LICE

NSE.html

      [get] Error getting http://www.antlr.org/license.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0>  to C:\Users\aleena\r

oyale-compiler\compiler\lib\external\antlr-LICENSE.html

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

double-check-file:

     [echo] ${env.ROYALE_DOWNLOAD_CACHE}

     [echo] Need file: ${still_no_file}

 

get-from-cache-if-needed:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

fail-if-not-found:

 

BUILD FAILED

C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-compiler\build.xml:64: The following error occurred while

 executing this line:

C:\Users\aleena\royale-compiler\compiler-jburg-types\build.xml:87: The following

 error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:81: Th

e following error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:275: T

he following error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:329: T

he following error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:489: C

:\Users\aleena\royale-compiler\compiler/lib/external//antlr-LICENSE.html could n

ot be downloaded or found in cache

 

Total time: 47 seconds

 

C:\Users\aleena\royale-asjs>

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, March 06, 2018 11:55 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Please use JDK8.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 10:40 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

Java version that I am using is “9.0.1”

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, March 06, 2018 11:42 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

What version of Java are you using?  Please get a JDK7 or 8 and try that.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 10:22 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Command Prompt Output is:

C:\Users\aleena>git clone https://github.com/apache/royale-asjs.git <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs.git&data=02%7C01%7Caharui%40adobe.com%7Cdf86fa0dd25b41ffbc8108d5832f0997%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559160423949211&sdata=d9cKX4ILIQPLI5USXvAafSnrWZSgW1XHw6G4r%2B9wgsE%3D&reserved=0>  royale-asjs

Cloning into 'royale-asjs'...

remote: Counting objects: 101103, done.

remote: Compressing objects: 100% (22/22), done.

remote: Total 101103 (delta 9), reused 30 (delta 7), pack-reused 101066R

Receiving objects: 100% (101103/101103), 19.23 MiB | 208.00 KiB/s, done.

 

Resolving deltas: 100% (61584/61584), done.

Checking out files: 100% (3572/3572), done.

 

C:\Users\aleena>cd royale-asjs

 

C:\Users\aleena\royale-asjs>git checkout develop

Already on 'develop'

Your branch is up to date with 'origin/develop'.

 

C:\Users\aleena\royale-asjs>ant all

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Buildfile: C:\Users\aleena\royale-asjs\build.xml

 

set.base.folder:

 

check-git:

     [echo] Checking for Git...

     [exec] git version 2.16.2.windows.1

 

get-download-folder:

 

download-all:

     [echo] Using folder C:\Users\aleena\royale-asjs/..

 

check-royale-asjs:

 

warn-before-clone:

 

check-royale-asjs:

 

clone-royale-asjs:

 

check-royale-compiler:

 

clone-royale-compiler:

     [echo] cloning royale-compiler repo into C:\Users\aleena\royale-asjs/../roy

ale-compiler

     [exec] Cloning into 'royale-compiler'...

     [exec] Checking out files:   8% (284/3191)

     [exec] Checking out files:   9% (288/3191)   Checking out files:  10% (320/

3191)   Checking out files:  11% (352/3191)   Checking out files:  12% (383/3191

)   Checking out files:  13% (415/3191)   Checking out files:  13% (444/3191)

Checking out files:  14% (447/3191)   Checking out files:  15% (479/3191)   Chec

king out files:  16% (511/3191)   Checking out files:  17% (543/3191)   Checking

 out files:  18% (575/3191)   Checking out files:  19% (607/3191)   Checking out

 files:  20% (639/3191)   Checking out files:  20% (641/3191)   Checking out fil

es:  21% (671/3191)   Checking out files:  22% (703/3191)   Checking out files:

 23% (734/3191)   Checking out files:  24% (766/3191)   Checking out files:  25%

 (798/3191)   Checking out files:  26% (830/3191)   Checking out files:  26% (84

2/3191)   Checking out files:  27% (862/3191)   Checking out files:  28% (894/31

91)   Checking out files:  29% (926/3191)   Checking out files:  30% (958/3191)

  Checking out files:  31% (990/3191)   Checking out files:  32% (1022/3191)   C

hecking out files:  33% (1054/3191)   Checking out files:  34% (1085/3191)   Che

cking out files:  35% (1117/3191)   Checking out files:  36% (1149/3191)   Check

ing out files:  37% (1181/3191)   Checking out files:  38% (1213/3191)   Checkin

g out files:  39% (1245/3191)   Checking out files:  40% (1277/3191)   Checking

out files:  40% (1308/3191)   Checking out files:  41% (1309/3191)   Checking ou

t files:  42% (1341/3191)   Checking out files:  42% (1352/3191)   Checking out

files:  43% (1373/3191)   Checking out files:  44% (1405/3191)   Checking out fi

les:  45% (1436/3191)   Checking out files:  46% (1468/3191)   Checking out file

s:  47% (1500/3191)   Checking out files:  48% (1532/3191)   Checking out files:

  49% (1564/3191)   Checking out files:  49% (1578/3191)   Checking out files:

50% (1596/3191)   Checking out files:  51% (1628/3191)   Checking out files:  52

% (1660/3191)   Checking out files:  53% (1692/3191)   Checking out files:  54%

(1724/3191)   Checking out files:  55% (1756/3191)   Checking out files:  56% (1

787/3191)   Checking out files:  57% (1819/3191)   Checking out files:  58% (185

1/3191)   Checking out files:  59% (1883/3191)   Checking out files:  60% (1915/

3191)   Checking out files:  61% (1947/3191)   Checking out files:  62% (1979/31

91)   Checking out files:  63% (2011/3191)   Checking out files:  63% (2022/3191

)   Checking out files:  64% (2043/3191)   Checking out files:  65% (2075/3191)

  Checking out files:  66% (2107/3191)   Checking out files:  67% (2138/3191)

Checking out files:  68% (2170/3191)   Checking out files:  69% (2202/3191)   Ch

ecking out files:  70% (2234/3191)   Checking out files:  71% (2266/3191)   Chec

king out files:  72% (2298/3191)   Checking out files:  73% (2330/3191)   Checki

ng out files:  74% (2362/3191)   Checking out files:  75% (2394/3191)   Checking

 out files:  76% (2426/3191)   Checking out files:  77% (2458/3191)   Checking o

ut files:  78% (2489/3191)   Checking out files:  79% (2521/3191)   Checking out

 files:  80% (2553/3191)   Checking out files:  81% (2585/3191)   Checking out f

iles:  82% (2617/3191)   Checking out files:  83% (2649/3191)   Checking out fil

es:  83% (2679/3191)   Checking out files:  84% (2681/3191)   Checking out files

:  85% (2713/3191)   Checking out files:  86% (2745/3191)   Checking out files:

 87% (2777/3191)   Checking out files:  88% (2809/3191)   Checking out files:  8

9% (2840/3191)   Checking out files:  89% (2845/3191)   Checking out files:  90%

 (2872/3191)   Checking out files:  91% (2904/3191)   Checking out files:  92% (

2936/3191)   Checking out files:  93% (2968/3191)   Checking out files:  94% (30

00/3191)   Checking out files:  95% (3032/3191)   Checking out files:  95% (3035

/3191)   Checking out files:  96% (3064/3191)   Checking out files:  97% (3096/3

191)   Checking out files:  98% (3128/3191)   Checking out files:  99% (3160/319

1)   Checking out files: 100% (3191/3191)   Checking out files: 100% (3191/3191)

, done.

     [exec] Your branch is up to date with 'origin/develop'.

     [exec] Already on 'develop'

 

check-royale-typedefs:

 

clone-royale-typedefs:

     [echo] cloning royale-typedefs repo into C:\Users\aleena\royale-asjs/../roy

ale-typedefs

     [exec] Cloning into 'royale-typedefs'...

     [exec] Your branch is up to date with 'origin/develop'.

     [exec] Already on 'develop'

 

check-playerglobal-home:

 

check-air-home:

 

build-all:

 

ask-before-build-all:

    [input] This script will now download and compile lots of files.  This can t

ake several minutes.   No interaction should be required.  Press the enter key t

o continue.

 

sdk:

 

annotate.class:

    [mkdir] Created dir: C:\Users\aleena\royale-compiler\compiler-build-tools\ta

rget\classes

    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-

build-tools\target\classes

    [javac] warning: [options] bootstrap class path not set in conjunction with

-source 1.5

    [javac] error: Source option 1.5 is no longer supported. Use 1.6 or later.

    [javac] error: Target option 1.5 is no longer supported. Use 1.6 or later.

 

BUILD FAILED

C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-compiler\build.xml:63: The following error occurred while

 executing this line:

C:\Users\aleena\royale-compiler\compiler-build-tools\build.xml:74: Compile faile

d; see the compiler error output for details.

 

Total time: 17 minutes 59 seconds

 

C:\Users\aleena\royale-asjs>

 

Unable to Build, Please guide.

 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Friday, March 02, 2018 10:31 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I was able to download and expand the files.  I will be consolidating the data today. 

 

In order to be able to write some of these emulations, you will probably need to be able to build the framework sources.  If you haven't already, you can try cloning the royale-asjs repo and figure out how to get it to build.  You can choose Apache Maven or Apache Ant as the build tool.

 

https://github.com/apache/royale-asjs <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs&data=02%7C01%7Caharui%40adobe.com%7C3c1833c1fc9442003f2608d5832c7fe0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559149534170415&sdata=YqGTpbzoou8SilHbsTxjriIjiREaS%2FA9j6xjZYRR%2F4E%3D&reserved=0> 

 

Hopefully the instruction in the readme are sufficient.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Friday, March 2, 2018 at 12:34 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

Application API-Report link:

https://www.dropbox.com/s/swvqhly6wa0jrc5/API-Reports.rar?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fswvqhly6wa0jrc5%2FAPI-Reports.rar%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C928c248220464230f6dd08d5801a2f13%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555772324148830&sdata=9%2BsrGG41iCMIEmbtqnEbV%2BPvi1ngE9vF%2BKuqPAZ%2Bzao%3D&reserved=0> 

SHMALib Report, applications,shmDoclist,shmSetupList,AppView_EIS, AppView_ERP,shmMappingSetup, shmMappingSetupOpenDetailGrid,shmSalesInvoice, shmSalesInvoiceDetail are main API Files.

 

Regards,

Alina

 

 

 

 

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Friday, March 02, 2018 11:32 AM
To: users@royale.apache.org
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

2) We are using Effects in our Application 2-3 times 

4) We are using text styling in our Application 3-5 times 

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Friday, March 02, 2018 4:26 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

1) Interesting about Charts.  They were being used by the SWC.

2) Effects are any animations that move, resize or fade things in the UI.

3) ok

4) I'm not sure what to conclude from the screenshot.  I'm interested in how often folks use it to create text with bold, italics and other styling of text.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Thursday, March 1, 2018 at 4:24 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

600 mxml.api.txt files are generated and still in process. I will share link for files tomorrow.

After sharing my files tomorrow, If you will suggest to build  emulations. 

I will  definitely want to learn how to create emulations and contribute them to Apache Royale.  

1.We are not using Charts in our Application

2. How important are effects? (Please explain effects )

3. We are not using Right-to-left languages in RichTextEditor.

4. Is RichTextEditor being used for non-plain text?  If so, what kinds of text styling is important?

Link:https://www.dropbox.com/s/ky93eycmefm3cuu/RICHTEXTEDITOR.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fky93eycmefm3cuu%2FRICHTEXTEDITOR.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cff526ec5592c42772ade08d57f713736%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555046634193460&sdata=BjS8q1GarTweRfMMmZOKxN%2FTQTqhtzJlm05KAtWnNTQ%3D&reserved=0> 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 10:45 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Good to hear it worked.

 

I think I am waiting on all of the mxml.api.txt files to see what else is in there that isn't in the two reports we have, then we'll have a pretty good list of the places you will either need to change in your code or that we  will build emulations for.

 

I think emulations will be less work in the end, but there will be a lot of them to do.  We will want to you to learn how to create emulations and contribute them to Apache Royale.  That's how many Apache projects work: some of the users learn how to become committers.  This will be an asset to your company as well since you will learn how to fix things in Royale yourself.  Then your company won't be dependent on outsiders for support.

 

So, Peter and I and hopefully others will get started on some emulations to make sure they work for us, and then you can see if they work for you, and then we will teach you how to write those emulations.  Over the next several months, besides testing emulations written by others in your app, you will be writing your own emulations for things you need right away that we haven't written yet, or for third-party code that you are using.

 

It might help to get some prioritization on the emulations we need to write.  In looking at the list, I am wondering:

1.	Are some charts more important than others?
2.	How important are effects?
3.	Do you use Right-to-left languages in RichTextEditor?
4.	Is RichTextEditor being used for non-plain text?  If so, what kinds of text styling is important?

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Wednesday, February 28, 2018 at 1:22 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Thank you.

It’s working with latest nightly build:

https://www.dropbox.com/s/77wkgrm74upkg0j/SHMALib%20Report.txt?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F77wkgrm74upkg0j%2FSHMALib%2520Report.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C16fa845b6d2f4efb7f4a08d57e8e9097%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636554073167111532&sdata=UV0BOZpVonw%2BILcK9njhQdf5pKpqWPccp0IKDPm4jOI%3D&reserved=0> 

 

 

Regards,

Alina

 

 

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 1:15 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Looks like COMPC collected the data but never generated the report.  I pushed a fix for that.  Please try the latest nightly build.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Tuesday, February 27, 2018 at 10:35 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Thank you

After commenting the embedded font part from source.

Output to console:

3462313 bytes written to D:\SHMALib.swc in 19.878 seconds

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"

 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\framewor

ks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\sr

c" -library-path+=D:\SHMALIB\libs

 

SHMALib.swf file Generated and Report.txt is empty 

SHMALib.swc output Link:

https://www.dropbox.com/s/4tz49sz134m2gg9/SHMALib.swc?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F4tz49sz134m2gg9%2FSHMALib.swc%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=%2FNcbTJtah21RRPeWfwg2pRaZ72hd%2BdG0iJlnH3GsA28%3D&reserved=0> 

then I change, Compc -output "D:\SHMALib.swc" to Compc -output "D:\SHMALib. txt " 

SHMALib.txt output Link:

https://www.dropbox.com/s/j38obt5e36awuh3/SHMALib.txt?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fj38obt5e36awuh3%2FSHMALib.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=V%2FcA5dJ3Fi1qOvh%2BtUlbU%2FZ%2FQ5SBfRw7psjsm2Q%2Fe8w%3D&reserved=0> 

 

Thanks,

Alina

 

 

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 11:18 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

The only error right now is the embedded font.

 

We can discuss the pros and cons of embedding images in the JS output at some other point in time.

 

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Tuesday, February 27, 2018 at 10:01 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Big Part of SHMALib Uses Embed and metadata :

 

                                // Embed the font so we can rotate it for further distortion

                                [Embed(systemFont="Comic Sans MS",

                                                                embedAsCFF='false')]

                <mx:Image y="4" width="18" height="20" right="185" source="@Embed(source='assets/default/images/load.png')"

                                                  source="@Embed(source='assets/default/images/next.gif')" scaleContent="false"/>

                <mx:Image y="4" width="18" height="20" right="3" source="@Embed(source='assets/default/images/magnifier.png')"

     * An IFrame which you can embed into Flex applications to show an HTML page.

     * @example A simple application with Google embedded

        // SWF embed object tracking

         * The SWF embed object id.

         * Get the embed object id.

        protected function resolveEmbedObjectId():void

                    var result:Object=ExternalInterface.call(IFrameExternalCalls.FUNCTION_ASK_FOR_EMBED_OBJECT_ID, randomIdentificationString.toString());

                        logger.info("Resolved the SWF embed object id to '{0}'.", applicationId);

                        logger.error('Could not resolve the SWF embed object Id.');

            // Resolve the SWF embed object id in the DOM.

            ExternalInterface.call(IFrameExternalCalls.INSERT_FUNCTION_ASK_FOR_EMBED_OBJECT_ID);

            resolveEmbedObjectId();

            logger.info("Loading IFrame with id '{0}', on SWF embed object with id '{1}'.", _frameId, applicationId);

                    FUNCTION_LOADIFRAME + " = function (frameID, iframeID, url, embedID, scrollPolicy)" +

                                      "onLoad='\"+embedID+\".\"+frameID+\"_load();' " +

        public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String = "askForEmbedObjectId";

        public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String = "askForEmbedObjectId";

        public static var INSERT_FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =

                "if (document." + FUNCTION_ASK_FOR_EMBED_OBJECT_ID + "==null)" +

                    FUNCTION_ASK_FOR_EMBED_OBJECT_ID + " = function(randomString) " + 

                            "var embeds = document.getElementsByTagName('embed'); " + 

                            "var embeds = document.getElementsByTagName('embed'); " + 

                            "for (var i = 0; i < embeds.length; i++) { " + 

                                "var isTheGoodOne = embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " + 

                                "var isTheGoodOne = embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " + 

                                    "return embeds[i].getAttribute('id'); " + 

                                 * The UITextField control for displaying embeded hints.

                                private var embedTextField:UITextField;

                                 *  The String to be shown as the embeded hint.

                                private var embedStr:String = "";

                                                                                embedStr = "MM DD YYYY";

                                                                                embedStr = "DD MM YYYY";

                                                                                embedStr = "YYYY MM DD";

                                                                                embedStr = "YYYY DD MM";

                                 *  Create child objects for displaying embeded hints.

                                                                embedTextField = new UITextField();

                                                                //embedTextField.text = embedStr;

                                                                //embedTextField.text = embedStr;

                                                                addChildAt(UITextField(embedTextField),getChildIndex(DisplayObject(textField)));//as TextField

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                                s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);

                                                                                                                                embedTextField.text = s;

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                                //s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);

                                                                                                                                //embedTextField.text = s;

                                                                                                                                s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);

                                                                                                                                embedTextField.text = s;

                                                                                // If embeded hints are displayed then update the

                                                                                // UITextField corresponding to the embeded hints

                                                                                                var s:String = embedTextField.text == null ? "":embedTextField.text;

                                                                                                var s:String = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                embedTextField.text = s;

                                                                // create the embeded text field for showing

                                                                // embeded hints if its not already created.

                                                                // If it is created, then just change the embeded hint.

                                                                if(!embedTextField)

                                                                                embedTextField = new UITextField();

                                                                                addChildAt(embedTextField,getChildIndex(DisplayObject(textField))); //as TextField

                                                                //embedTextField.text = embedStr;

                                                                //embedTextField.text = embedStr;

                                                                embedTextField.alpha = 1;

                                                                embedTextField.setTextFormat(txtFormat);

                                                                embedTextField.x = 0;

                                                                embedTextField.y = 2;

                                                                embedTextField.setActualSize(width,height);

                                                                if(embedTextField)

                                                                                embedTextField.text = "";

                                                                                embedTextField = null;

                                                // setting the color of the embeded text field to white.

                                                                if(embedTextField)

                                                                                embedTextField.setColor(0xFFFFFF);

                                                                                if(embedTextField)

                                                                                                addChildAt(DisplayObject(newSkin),getChildIndex(DisplayObject(embedTextField)));//

   background-image:                                      Embed(source="/assets/application_background.png",

                up-skin:                Embed("/assets/maximize_up.png");

                over-skin:            Embed("/assets/maximize_over.png");

                down-skin:         Embed("/assets/maximize_up.png");

                selected-up-skin:   Embed("/assets/restore_up.png");

                selected-over-skin: Embed("/assets/restore_over.png");

                selected-down-skin: Embed("/assets/restore_up.png");

                up-skin:        Embed("/assets/minimize_up.png");

                over-skin:      Embed("/assets/minimize_over.png");

                down-skin:      Embed("/assets/minimize_up.png");

                up-skin:                                Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");

                over-skin:                            Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");

                down-skin:                         Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");

                selected-up-skin:                             Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");

                selected-over-skin:                         Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");

                selected-down-skin:                      Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");

                up-skin:                                Embed("/assets/left_arrow_up.gif");

                over-skin:                            Embed("/assets/left_arrow_over.gif");

                down-skin:                         Embed("/assets/left_arrow_up.gif");

                disabled-skin:    Embed("/assets/left_arrow_disabled.gif");

                up-skin:                                Embed("/assets/right_arrow_up.gif");

                over-skin:                            Embed("/assets/right_arrow_over.gif");

                down-skin:                         Embed("/assets/right_arrow_up.gif");

                disabled-skin:    Embed("/assets/right_arrow_disabled.gif");

                                //[Embed(source="/assets/cursor_move.gif")]

                                //[Embed(source="/assets/cursor_resize.gif")]

                                [Embed(source="/assets/default/images/mouseMove.gif")]

                                [Embed(source="/assets/default/images/verticalSize.gif")]

                                [Embed(source="/assets/default/images/horizontalSize.gif")]

                                [Embed(source="/assets/default/images/leftObliqueSize.gif")]

                                [Embed(source="/assets/default/images/rightObliqueSize.gif")]

                                                if (image.isEmbedded) 

                                                //if (!Application.application.systemManager.isFontFaceEmbedded(textFormat)) 

                                                if (!FlexGlobals.topLevelApplication.systemManager.isFontFaceEmbedded(textFormat))

                                                                if (Application.application.isFontsEmbedded) {

                                                                if (Application.application.isFontsEmbedded) {

                                                                if (Application.application.isFontsEmbedded) {

                                private var _isEmbedded:Boolean = false;

                                public function set isEmbedded(embedded:Boolean):void 

                                public function set isEmbedded(embedded:Boolean):void 

                                                _isEmbedded = embedded;

                                                _isEmbedded = embedded;

                                public function get isEmbedded():Boolean 

                                                return _isEmbedded;

                                                <mx:icon>@Embed(source='images/print.GIF')</mx:icon>

                                                <mx:icon>@Embed(source='images/reload.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/first-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/first.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/previous-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/previous.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/next-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/next.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/last-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/last.GIF')</mx:icon>

                                                                                <mx:icon>@Embed(source='images/actualsize.GIF')</mx:icon>

                                                                                <mx:icon>@Embed(source='images/fitpage.GIF')</mx:icon>

                                                                                <mx:icon>@Embed(source='images/fitwidth.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/zoomin-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/zoomin.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/zoomout-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/zoomout.GIF')</mx:icon>

                                                                <mx:icon>@Embed(source='images/print.GIF')</mx:icon>

                                                if (imageSourceXml.@isEmbedded.length() > 0)

                                                                image.isEmbedded = imageSourceXml.@isEmbedded == "true";

                                                                image.isEmbedded = imageSourceXml.@isEmbedded == "true";

                 source="@Embed(source='/assets/default/images/left_arrow_up.gif')"/>

                 source="@Embed(source='/assets/default/images/left_arrow_over.gif')"/>

                 source="@Embed(source='/assets/default/images/left_arrow_disabled.gif')"/>  

                                                                                   source="@Embed(source='/com/shm/flexlib/mdi/assets/img/maximizeButton.png')"/>

                                                                                   height="12" source="@Embed(source='/com/shm/flexlib/mdi/assets/img/restoreButton.png')"/>

                                                                                   source="@Embed(source='/com/shm/flexlib/mdi/assets/img/minimizeButton.png')"/>

                 source="@Embed(source='/assets/default/images/right_arrow_up.gif')"/>

                 source="@Embed(source='/assets/default/images/right_arrow_over.gif')"/>

                 source="@Embed(source='/assets/default/images/right_arrow_disabled.gif')"/>  

 

 

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 11:00 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I think you can ignore the warnings.  The first error is for embedding a font, which Royale doesn't currently support, so for now, try commenting out the Embed metadata and see if that allows the error to go away.

 

I would look into the other errors to see if they are legitimate or not.  The Royale Compiler will catch some things the MXMLC compiler may not.  Or you could comment out the code involved in the two errors in TImeZone.as for now since that won't affect the report.

 

The final two errors I saw are for missing skin states.  I think you can just add the skin states.

 

HTH,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Tuesday, February 27, 2018 at 9:35 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

While Executing

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\src"

Or 

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\Flex\libs\SH

MALIB.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bi

n\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\

SHMALIB\src" -library-path+=D:\SHMALIB\libs

 

Error:

(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to

field java.lang.Thread.inheritableThreadLocals

WARNING: Please consider reporting this to the maintainers of com.google.common.

base.internal.Finalizer

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect

ive access operations

WARNING: All illegal access operations will be denied in a future release

Loading configuration: D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(415): col: 50 Warning:

Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="DataProviderService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(419): col: 50 Warning:

Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="BasicFormatterService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(516): col: 50 Warning: Da

ta binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="DataProviderService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(520): col: 50 Warning: Da

ta binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="BasicFormatterService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\shmCaptchaImage.as(43): col: 3 Error: Embed re

quires a 'source' file attribute

 

                [Embed(systemFont="Comic Sans MS",

                ^

 

D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(37): col: 88 Warning: Data

binding will not be able to detect assignments to 'isSelected'.

 

                                        <mx:CheckBox selectedField="isSelected"

 change="onChange(event);" selected="{data.isSelected}">

 

                                          ^

 

D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(46): col: 27 Warning: Data

binding will not be able to detect assignments to 'label'.

 

                                        <mx:Label text="{data.label}" />

                                                             ^

 

D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(126): col: 15 Error: Impli

cit coercion of a value of type Boolean to an unrelated type Number.

 

                                if(year & 0x3 == 0)

                                          ^

 

D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(134): col: 39 Error: Impli

cit coercion of a value of type Boolean to an unrelated type Number.

 

                                if(month == 1 && value.fullYear & 0x3 == 0)

                                                                  ^

 

D:\SHMALIB\src\com\shm\dashboard\renderers\GridPodURLRenderer.mxml(6): col: 23 W

arning: Data binding will not be able to detect assignments to 'SrNo'.

 

                  htmlText="&lt;u&gt;{data.SrNo}&lt;/u&gt;" color="blue" click="

f_DrillDownData(data)">

                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml Error:

The required skin state 'disabledWithPrompt' is missing.

 

 

D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml Error:

The required skin state 'normalWithPrompt' is missing.

 

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(177): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(187): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(202): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(212): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(429): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(439): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(454): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(464): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(479): col: 26 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                field="{properties.@valueField}"

 

                                                                   ^

 

D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(115): col: 74 Warning

: Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject id="roDrillDownColInfo" channelSet="{parentAppl

ication.amfChannelSet}" showBusyCursor="true"

 

       ^

 

D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(118): col: 68 Warning

: Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject id="roDgDpResult" channelSet="{parentApplicatio

n.amfChannelSet}" showBusyCursor="true"

 

 ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PieChartContent.mxml(128): col: 24 Warning

: Data binding will not be able to detect assignments to 'valueField'.

 

                                field="{properties.@valueField}"

                                                   ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 37 Warning: Dat

a binding will not be able to detect assignments to 'appParams'.

 

                                                        inputMask="{parentApplic

ation.appParams.DATE_FORMAT}" showToday="true"  yearNavigationEnabled="true"

 

     ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 47 Warning: Dat

a binding will not be able to detect assignments to 'DATE_FORMAT'.

 

                                                        inputMask="{parentApplic

ation.appParams.DATE_FORMAT}" showToday="true"  yearNavigationEnabled="true"

 

               ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 38 Warning: Dat

a binding will not be able to detect assignments to 'appParams'.

 

                                                         inputMask="{parentAppli

cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true" showToday="true"

 

      ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 48 Warning: Dat

a binding will not be able to detect assignments to 'DATE_FORMAT'.

 

                                                         inputMask="{parentAppli

cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true" showToday="true"

 

                ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(12): col: 11 Warnin

g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

 

                        import mx.graphics.Stroke;

                               ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(37): col: 23 Warnin

g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

 

                                        lne.stroke = new Stroke(0,1,.3);

                                                         ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(46): col: 14 Warnin

g: Duplicate variable definition: i.

 

                                for (var i:int = 1; i < lnWdt; i++){

                                         ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(47): col: 10 Warnin

g: Duplicate variable definition: lne.

 

                                        var lne:Line  = new Line();

                                            ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(53): col: 23 Warnin

g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

 

                                        lne.stroke = new Stroke(0,1,.3);

                                                         ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(54): col: 10 Warnin

g: Duplicate variable definition: llbe.

 

                                        var llbe:Label = new Label();

                                            ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(157): col: 40 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var xPosition:Number = Application.application.p

arent.mouseX;

                                                                   ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(158): col: 40 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var yPosition:Number = Application.application.p

arent.mouseY;

                                                                   ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(225): col: 36 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var xPlus:Number = Application.application.paren

t.mouseX - point.x;

                                                               ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(226): col: 36 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var yPlus:Number = Application.application.paren

t.mouseY - point.y;

                                                               

Thanks,

Alina Kazi

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 10:16 AM
To: Alina Kazi; users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I think that Flash Builder makes it easy to build SWCs.  Building from the command line can be a bit trickier.

 

Let's try:

Compc -output "D:\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\src"

 

HTH,

-Alex

 

 

From: Alina Kazi <al...@d-bz.com>
Date: Tuesday, February 27, 2018 at 7:28 PM
To: "users@royale.apache.org" <us...@royale.apache.org>, Alex Harui <ah...@adobe.com>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Yes I am using Flash Builder.

SHMALIB and MainFlexApp are two separate Projects

Src for SHMALIB is placed into D:/SHMALIB/src

Src for MainFlexApp is D:/Flex/src and the library output file SHMALIB.swc is placed into D:/Flex/libs

 

SHMALIB (.actionscriptProperties)

 

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<actionScriptProperties mainApplicationPath="SHMALib.as" projectUUID="863559ab-3e7b-475b-a3a4-09f4f76fc0d2" version="6">

  <compiler additionalCompilerArguments="-locale en_US" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderLocation="D:/Flex/libs" outputFolderPath="bin-debug" sourceFolderPath="src" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" verifyDigests="true" warn="true">

    <compilerSourcePath/>

    <libraryPath defaultLinkType="0">

      <libraryPathEntry kind="4" path="">

        <excludedEntries>

          <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>

        </excludedEntries>

      </libraryPathEntry>

      <libraryPathEntry kind="1" linkType="1" path="libs"/>

    </libraryPath>

    <sourceAttachmentPath/>

  </compiler>

  <applications>

    <application path="SHMALib.as"/>

  </applications>

  <modules/>

  <buildCSSFiles/>

</actionScriptProperties>

 

SHMALIB (.flexLibProperties)

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<flexLibProperties includeAllClasses="true" version="3">

  <includeClasses/>

  <includeResources/>

  <namespaceManifests/>

</flexLibProperties>

 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 9:34 PM
To: Alina Kazi
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

When you are not trying to use Royale to generate this API report, how are you building your current Flex app?  We might need to know that in order to determine what parameters to add to COMPC.

 

COMPC has additional parameters like -include–sources, include-file, include-classes.  Sometimes, these are listed in an xml file.  If you are using Flash Builder, for example, then examine the .flexlibproperties and .actionscriptProperties files in your project folder.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Date: Tuesday, February 27, 2018 at 3:21 AM
To: 'Alina Kazi' <al...@d-bz.com>
Cc: Alex Harui <ah...@adobe.com>
Subject: RE: Generating API report for Flex Web Browser application

 

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"

 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"

Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by com.google.common.base.internal.Finalizer

(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to

field java.lang.Thread.inheritableThreadLocals

WARNING: Please consider reporting this to the maintainers of com.google.common.

base.internal.Finalizer

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect

ive access operations

 

Error: nothing was specified to be included in the library.

-Alina

 

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Tuesday, February 27, 2018 2:16 PM
To: 'users@royale.apache.org'
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

I am using Moonshine IDE 1.9.0.

Flex 4.16.0

Apache Royale 0.9.2 Latest Nightly Build

 

Running this Command on Command Prompt:

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"

 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"

Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by com.google.common.base.internal.Finalizer

(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to

field java.lang.Thread.inheritableThreadLocals

WARNING: Please consider reporting this to the maintainers of com.google.common.

base.internal.Finalizer

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect

ive access operations

WARNING: All illegal access operations will be denied in a future release

 

command line Error: unknown configuration variable 'sourceΓÇôpath'.

 

-Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 1:26 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

COMPC takes a slightly different set of parameters.  What IDE or build tools are you using to build it without Royale?  You might need to know what options that build uses.

 

You can try running: 

 

Compc -output "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source–path="D:\Projects\SHMA\Main\Flex\src" or wherever the source code is for the library.

 

HTH,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, February 26, 2018 at 11:33 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

For custom SWC, I am using COMPC to get an api-report for SWC

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>compc "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml

Error: configuration variable 'output' was not set.

 

 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 12:27 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Yes, any SWC that is not in the Flex SDK's frameworks/libs folder needs to be specified as Piotr describes below.  We want you specify the same MXML file that you use to compile in the regular Flex SDK.  So if your Application.mxml starts with an mx:Application or s:Application that’s probably the one to use.  But also, if you have your own custom SWCs, we want you to use COMPC to get an api-report for those SWCs.  We want this modified Royale compiler to compile every source file you own so we can see what Flex APIs you are using.

 

HTH,

-Alex

 

From: Piotr Zarzycki <pi...@gmail.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, February 26, 2018 at 11:19 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina, 

 

In my sense you will have to use -library-path+=path to the library. You have to tell compiler about that library.

 

Thanks, Piotr

 

2018-02-27 7:57 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi  Alex,

With latest nightly build:

MaskedTextInput , shmReportUtil …. Are Library Project Actionscript Files.

Main Application contains SHMALib.swc file in Libs folder

Error Link:

https://www.dropbox.com/s/p5imt22cuut0ex6/ErrorGeneratingReport.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fp5imt22cuut0ex6%2FErrorGeneratingReport.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=8f1f9duW2Red4bP77hFTh3mLcCptBmAwd87n1iSkk%2Bs%3D&reserved=0> 

 

I have a question that which .mxml file should be used to generate that report?

Applications.mxml is startup file in case of my Project so I’m using it.

 

Please visit reference link and If I’m doing anything wrong please let me know.

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 12:00 AM


To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I pushed a fix for that.  It might or might not be related to your custom swc.  Get the latest nightly build and let us know.

 

Also, if you are successful, please use your regular compiler to generate a -link–report.  That will help us verify that the API report didn't miss anything.

 

Thanks,

-Alex

 

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, February 26, 2018 at 4:01 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Generated Report file for Sample Project Successfully.

 

spark.components.Application:minHeight,1

spark.components.Application:minWidth,1

spark.components.Application:mxmlContentFactory,2

spark.components.Label:fontSize,1

spark.components.Label:fontWeight,1

spark.components.Label:horizontalCenter,1

spark.components.Label:text,1

spark.components.Label:textAlign,1

spark.components.Label:verticalCenter,1

 

But while executing Actual Project got Error:

https://www.dropbox.com/s/d25eysllavuy5z4/compile2.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fd25eysllavuy5z4%2Fcompile2.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=2i28J4zjv1vEQ7sd%2BGfHm%2Bh1FjG%2BP3YdJCc6rGZr3C4%3D&reserved=0> 

https://www.dropbox.com/s/49iq74zk6rxcr1y/compile1.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F49iq74zk6rxcr1y%2Fcompile1.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=44tfkOscWyJ%2FH3M30HeJ6dfFE0TlpTMhQ2t%2Bv%2ByuoDg%3D&reserved=0> 

 

May be because my Application is dependent to SHMALib(.swc) Library Project (Source Shared Earlier). 

 

-Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Monday, February 26, 2018 5:02 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Alex,

 

I did above exercise for Moonshine and got NPE [1]. I used air-config.xml because it is na Desktop app.

 

[1] https://paste.apache.org/R0Si <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FR0Si&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=tFLrK9xsVt57PytwBaNoUJ%2FIPFH7FCHDtfrmJ1sAl3Y%3D&reserved=0>  

 

Thanks,

Piotr

 

 

2018-02-26 12:56 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:

Yishay,

 

Thank you so much!! I got it working.

 

Alina,

 

Here is the full instruction.

 

1) Download Apache Royale with SWF support - if you have that is good, if not it's here [1]

2) Download Apache Flex - you have it as I have seen on the screenshot.

3) Launch console and go to the Royale SDK folder

 

"yourpathtosdk\bin\" - In my case it was: "d:\Work\royale_ide\royale_nightly_js_swf\bin\"

 

4) Run following command where you will point to the Flex Browser application in order to generate report. My command looks like that:

 

mxmlc "c:\Users\piotr\Documents\NewFlexBrowserProject\src\NewFlexBrowserProject.mxml" -api-report="c:\Users\piotr\Documents\NewFlexBrowserProject\report.txt" -load-config=d:\Work\flex-sdk-4.16.1_adobe_air_28\frameworks\flex-config.xml

 

I generated report for hellow world. Maybe in order to generate report for your application that console command may be much more sophisticated. Let's see!

 

 

[1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/lastSuccessfulBuild/artifact/out/ <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2Fout%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=O%2BpVQ8OuhB%2FtE4ZdylTSkAQCWsIPBGlr9RgiTjWSWEM%3D&reserved=0> 

 

Thanks,

Piotr

 

 

2018-02-26 12:46 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:

Looks like [1] you do need to add compiler option: -api–report=<path to output file>

 

[1] http://apache-royale-users.20374.n8.nabble.com/Substitutes-in-Apache-Royale-tp392p492.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p492.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kda6SpkBgdRqGAeGJ5Db629EAy7KAVbOZKzhzhynRZk%3D&reserved=0> 

 

 

From: Piotr Zarzycki <ma...@gmail.com> 
Sent: Monday, February 26, 2018 1:37 PM


To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

I have produced with that swf, but what's next? Let's wait for Alex's response [1] 

 

[1] https://paste.apache.org/YEeG <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FYEeG&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8ameYzJ7AloOW4nTa8dqu7zYxwORSQc5sCUqpZDVA%2BY%3D&reserved=0> 

 

Thanks,

Piotr

 

2018-02-26 12:32 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:

Alex will know but I don’t think so. I haven’t updated the compiler recently so can’t test it right now. If you want to test it maybe just create a simple app and replace /Users/aharui/ApacheFlex4.16.0 with your sdk home.

 

 

 

From: Piotr Zarzycki <ma...@gmail.com> 
Sent: Monday, February 26, 2018 1:25 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Yishay, 

 

bin/mxmlc

<path to app's

.mxml

file>

-load-config=/Users/aharui/ApacheFlex4.16.0/frameworks/flex-config.xml  

 

Do I need some switch for compiler -api-report or something like that ?

 

Thanks,

Piotr

 

 

2018-02-26 12:10 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:

Wasn’t logged in. Here’s [1] the link.

 

[1] http://apache-royale-users.20374.n8.nabble.com/Substitutes-in-Apache-Royale-tp392p489.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p489.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8Tp5%2BFveKS0eoW7D8EovITPQqYrgwDK4P7cW9izXFH8%3D&reserved=0> 

 

 

From: Yishay Weiss <ma...@hotmail.com> 
Sent: Monday, February 26, 2018 12:59 PM
To: users@royale.apache.org
Subject: RE: Generating API report for Flex Web Browser application

 

I couldn’t find a way to link to a nabble post, but this [1] might help (from Substitutes in Apache Royale).

 

[1] https://paste.apache.org/N2QR <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FN2QR&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=VIS8u6EEBWN6jQrFxpttZvAfUCSSKPe3rbrBDU2w7Sg%3D&reserved=0> 

 

From: Piotr Zarzycki <ma...@gmail.com> 
Sent: Monday, February 26, 2018 12:44 PM
To: users@royale.apache.org
Subject: Generating API report for Flex Web Browser application

 

Hi Alex, 

 

I would like to understand how to generate that report. I will go with the console path, because I think this is something unusual and probably Moonshine is not prepared to do this. I'm writing this on the users mailing list because Alina is having some problems with that. I wanted to simplify all of that. Let's start from the beginning. 

 

1) I have created Flex Web browser project using Apache Flex SDK 4.16.1. 

2) I have nightly build of Royale with SWF support [1]

 

What should I type in the console now ?

 

[1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/lastSuccessfulBuild/artifact/ <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=UtYFFQ90aNB2HU2Vx4t8YAS6Eo2j1ZqVAytujEOgoFM%3D&reserved=0> 

 

Thanks,
-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 

 

 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 

 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 

 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=zGrfZ2Wj3CLuuW%2B%2BKtUSQF6762Vn0%2BeNjCMlViBMghg%3D&reserved=0> 


RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

Posted by Alina Kazi <al...@d-bz.com>.
Hi Alex,

We are using commitProperties() in our Library Project. Overriding the Existing Spark commitProperties() method 

For Example:

ResizableTextAreaSkin.mxml (SHMALib)

override protected function commitProperties():void {

                                                super.commitProperties();

 

                                                if (lineBreakChanged) {

                                                                updateStringStyle("lineBreak");

                                                                lineBreakChanged = false;

                                                }

                                                if (paddingChanged) {

                                                                updatePadding();

                                                                paddingChanged = false;

                                                }

                                                if (verticalAlignChanged) {

                                                                updateStringStyle("verticalAlign");

                                                                verticalAlignChanged = false;

                                                }

                                }

We are using 


Package

 <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/package-detail.html> flash.display


Class

public class DisplayObject


Inheritance

DisplayObject Inheritance  <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/EventDispatcher.html> EventDispatcher Inheritance  <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Object.html> Object


Reference Link:

	

https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/DisplayObject.html

 

e.g :

                public function updateLayoutWithoutAnimation():void

                                {

                                                if(_layoutInvalid == true && layoutFunction != null)

                                                {

                                                                _layoutInvalid = false;

                                                                layoutFunction();

                                                }

 

                                                for(var aChild:* in _targets)

                                                {

                                                                var target:LayoutTarget = _targets[aChild];

                                                                var item:IFlexDisplayObject = target.item;

                                                                var m:Matrix = DisplayObject(item).transform.matrix;

 

                                                                m.tx = target.x;

                                                                m.ty = target.y;

                                                                m.a = target.scaleX;                                                                        

                                                                m.d = target.scaleY

                                                                

                                                                DisplayObject(item).alpha = target.alpha;

                                                                DisplayObject(item).transform.matrix = m;

                                                                item.setActualSize(target.unscaledWidth,target.unscaledHeight);

                                                                if(target.state == "removed")

                                                                {

                                                                                delete _targets[target.item];

                                                                                continue;

                                                                }

                                                                else

                                                                {

                                                                                target.state = "positioned"

                                                                }

                                                }

                                                stopTimer();

                                }

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, March 06, 2018 1:36 PM
To: users@royale.apache.org
Subject: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alina,

 

I'm starting on the emulation.  I've noticed that your application code appears to be calling commitProperties().  Can you tell us why?

 

Also, it looks like there are a few uses of rotation, transform, scaleX and scaleY.  What are those used for?

 

Thanks,

-Alex

 

From: Alex Harui <ah...@adobe.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 11:38 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Try again.  Sometimes the Antlr server goes off-line around this time of day.

 

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 11:12 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Using jdk1.8.0_162:

 

C:\Users\aleena\royale-asjs>ant all

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Buildfile: C:\Users\aleena\royale-asjs\build.xml

 

set.base.folder:

 

check-git:

     [echo] Checking for Git...

     [exec] git version 2.16.2.windows.1

 

get-download-folder:

 

download-all:

     [echo] Using folder C:\Users\aleena\royale-asjs/..

 

check-royale-asjs:

 

warn-before-clone:

 

check-royale-asjs:

 

clone-royale-asjs:

 

check-royale-compiler:

 

clone-royale-compiler:

 

check-royale-typedefs:

 

clone-royale-typedefs:

 

check-playerglobal-home:

 

check-air-home:

 

build-all:

 

ask-before-build-all:

    [input] This script will now download and compile lots of files.  This can t

ake several minutes.   No interaction should be required.  Press the enter key t

o continue.

 

 

sdk:

 

annotate.class:

    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-

build-tools\target\classes

    [javac] warning: [options] bootstrap class path not set in conjunction with

-source 1.5

    [javac] warning: [options] source value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] target value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] To suppress warnings about obsolete options, use

-Xlint:-options.

    [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\src\main\java\o

rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:24: warning: [serial

] serializable class AnnotateClassDeleteException has no definition of serialVer

sionUID

    [javac]     public static class AnnotateClassDeleteException extends Excepti

on

    [javac]                   ^

    [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\src\main\java\o

rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:32: warning: [serial

] serializable class AnnotateClassRenameException has no definition of serialVer

sionUID

    [javac]     public static class AnnotateClassRenameException extends Excepti

on

    [javac]                   ^

    [javac] 6 warnings

 

unknown.tree.pattern.input.output:

    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-

build-tools\target\classes

    [javac] warning: [options] bootstrap class path not set in conjunction with

-source 1.5

    [javac] warning: [options] source value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] target value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] To suppress warnings about obsolete options, use

-Xlint:-options.

    [javac] 4 warnings

 

main:

 

compiler.downloads.cache:

 

compiler.downloads:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

prepare:

     [echo] Making lib directory C:\Users\aleena\royale-compiler\compiler/lib/ex

ternal

    [mkdir] Created dir: C:\Users\aleena\royale-compiler\compiler\lib\external

 

all:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

check-dependency:

     [echo] checking for C:\Users\aleena\royale-compiler\compiler/lib/external//

antlr.jar

 

download-dependency:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

echo-project-jar:

   [delete] Deleting: C:\Users\aleena\royale-compiler\compiler\src\main\resource

s\project.properties

     [echo] ${INFO_DOWNLOADING_FILE_FROM}

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

download-apache-license:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

download-other-license:

      [get] Getting: http://www.antlr.org/license.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0> 

      [get] To: C:\Users\aleena\royale-compiler\compiler\lib\external\antlr-LICE

NSE.html

      [get] Error getting http://www.antlr.org/license.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0>  to C:\Users\aleena\r

oyale-compiler\compiler\lib\external\antlr-LICENSE.html

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

double-check-file:

     [echo] ${env.ROYALE_DOWNLOAD_CACHE}

     [echo] Need file: ${still_no_file}

 

get-from-cache-if-needed:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

fail-if-not-found:

 

BUILD FAILED

C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-compiler\build.xml:64: The following error occurred while

 executing this line:

C:\Users\aleena\royale-compiler\compiler-jburg-types\build.xml:87: The following

 error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:81: Th

e following error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:275: T

he following error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:329: T

he following error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:489: C

:\Users\aleena\royale-compiler\compiler/lib/external//antlr-LICENSE.html could n

ot be downloaded or found in cache

 

Total time: 47 seconds

 

C:\Users\aleena\royale-asjs>

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, March 06, 2018 11:55 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Please use JDK8.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 10:40 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

Java version that I am using is “9.0.1”

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, March 06, 2018 11:42 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

What version of Java are you using?  Please get a JDK7 or 8 and try that.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 10:22 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Command Prompt Output is:

C:\Users\aleena>git clone https://github.com/apache/royale-asjs.git <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs.git&data=02%7C01%7Caharui%40adobe.com%7Cdf86fa0dd25b41ffbc8108d5832f0997%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559160423949211&sdata=d9cKX4ILIQPLI5USXvAafSnrWZSgW1XHw6G4r%2B9wgsE%3D&reserved=0>  royale-asjs

Cloning into 'royale-asjs'...

remote: Counting objects: 101103, done.

remote: Compressing objects: 100% (22/22), done.

remote: Total 101103 (delta 9), reused 30 (delta 7), pack-reused 101066R

Receiving objects: 100% (101103/101103), 19.23 MiB | 208.00 KiB/s, done.

 

Resolving deltas: 100% (61584/61584), done.

Checking out files: 100% (3572/3572), done.

 

C:\Users\aleena>cd royale-asjs

 

C:\Users\aleena\royale-asjs>git checkout develop

Already on 'develop'

Your branch is up to date with 'origin/develop'.

 

C:\Users\aleena\royale-asjs>ant all

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Buildfile: C:\Users\aleena\royale-asjs\build.xml

 

set.base.folder:

 

check-git:

     [echo] Checking for Git...

     [exec] git version 2.16.2.windows.1

 

get-download-folder:

 

download-all:

     [echo] Using folder C:\Users\aleena\royale-asjs/..

 

check-royale-asjs:

 

warn-before-clone:

 

check-royale-asjs:

 

clone-royale-asjs:

 

check-royale-compiler:

 

clone-royale-compiler:

     [echo] cloning royale-compiler repo into C:\Users\aleena\royale-asjs/../roy

ale-compiler

     [exec] Cloning into 'royale-compiler'...

     [exec] Checking out files:   8% (284/3191)

     [exec] Checking out files:   9% (288/3191)   Checking out files:  10% (320/

3191)   Checking out files:  11% (352/3191)   Checking out files:  12% (383/3191

)   Checking out files:  13% (415/3191)   Checking out files:  13% (444/3191)

Checking out files:  14% (447/3191)   Checking out files:  15% (479/3191)   Chec

king out files:  16% (511/3191)   Checking out files:  17% (543/3191)   Checking

 out files:  18% (575/3191)   Checking out files:  19% (607/3191)   Checking out

 files:  20% (639/3191)   Checking out files:  20% (641/3191)   Checking out fil

es:  21% (671/3191)   Checking out files:  22% (703/3191)   Checking out files:

 23% (734/3191)   Checking out files:  24% (766/3191)   Checking out files:  25%

 (798/3191)   Checking out files:  26% (830/3191)   Checking out files:  26% (84

2/3191)   Checking out files:  27% (862/3191)   Checking out files:  28% (894/31

91)   Checking out files:  29% (926/3191)   Checking out files:  30% (958/3191)

  Checking out files:  31% (990/3191)   Checking out files:  32% (1022/3191)   C

hecking out files:  33% (1054/3191)   Checking out files:  34% (1085/3191)   Che

cking out files:  35% (1117/3191)   Checking out files:  36% (1149/3191)   Check

ing out files:  37% (1181/3191)   Checking out files:  38% (1213/3191)   Checkin

g out files:  39% (1245/3191)   Checking out files:  40% (1277/3191)   Checking

out files:  40% (1308/3191)   Checking out files:  41% (1309/3191)   Checking ou

t files:  42% (1341/3191)   Checking out files:  42% (1352/3191)   Checking out

files:  43% (1373/3191)   Checking out files:  44% (1405/3191)   Checking out fi

les:  45% (1436/3191)   Checking out files:  46% (1468/3191)   Checking out file

s:  47% (1500/3191)   Checking out files:  48% (1532/3191)   Checking out files:

  49% (1564/3191)   Checking out files:  49% (1578/3191)   Checking out files:

50% (1596/3191)   Checking out files:  51% (1628/3191)   Checking out files:  52

% (1660/3191)   Checking out files:  53% (1692/3191)   Checking out files:  54%

(1724/3191)   Checking out files:  55% (1756/3191)   Checking out files:  56% (1

787/3191)   Checking out files:  57% (1819/3191)   Checking out files:  58% (185

1/3191)   Checking out files:  59% (1883/3191)   Checking out files:  60% (1915/

3191)   Checking out files:  61% (1947/3191)   Checking out files:  62% (1979/31

91)   Checking out files:  63% (2011/3191)   Checking out files:  63% (2022/3191

)   Checking out files:  64% (2043/3191)   Checking out files:  65% (2075/3191)

  Checking out files:  66% (2107/3191)   Checking out files:  67% (2138/3191)

Checking out files:  68% (2170/3191)   Checking out files:  69% (2202/3191)   Ch

ecking out files:  70% (2234/3191)   Checking out files:  71% (2266/3191)   Chec

king out files:  72% (2298/3191)   Checking out files:  73% (2330/3191)   Checki

ng out files:  74% (2362/3191)   Checking out files:  75% (2394/3191)   Checking

 out files:  76% (2426/3191)   Checking out files:  77% (2458/3191)   Checking o

ut files:  78% (2489/3191)   Checking out files:  79% (2521/3191)   Checking out

 files:  80% (2553/3191)   Checking out files:  81% (2585/3191)   Checking out f

iles:  82% (2617/3191)   Checking out files:  83% (2649/3191)   Checking out fil

es:  83% (2679/3191)   Checking out files:  84% (2681/3191)   Checking out files

:  85% (2713/3191)   Checking out files:  86% (2745/3191)   Checking out files:

 87% (2777/3191)   Checking out files:  88% (2809/3191)   Checking out files:  8

9% (2840/3191)   Checking out files:  89% (2845/3191)   Checking out files:  90%

 (2872/3191)   Checking out files:  91% (2904/3191)   Checking out files:  92% (

2936/3191)   Checking out files:  93% (2968/3191)   Checking out files:  94% (30

00/3191)   Checking out files:  95% (3032/3191)   Checking out files:  95% (3035

/3191)   Checking out files:  96% (3064/3191)   Checking out files:  97% (3096/3

191)   Checking out files:  98% (3128/3191)   Checking out files:  99% (3160/319

1)   Checking out files: 100% (3191/3191)   Checking out files: 100% (3191/3191)

, done.

     [exec] Your branch is up to date with 'origin/develop'.

     [exec] Already on 'develop'

 

check-royale-typedefs:

 

clone-royale-typedefs:

     [echo] cloning royale-typedefs repo into C:\Users\aleena\royale-asjs/../roy

ale-typedefs

     [exec] Cloning into 'royale-typedefs'...

     [exec] Your branch is up to date with 'origin/develop'.

     [exec] Already on 'develop'

 

check-playerglobal-home:

 

check-air-home:

 

build-all:

 

ask-before-build-all:

    [input] This script will now download and compile lots of files.  This can t

ake several minutes.   No interaction should be required.  Press the enter key t

o continue.

 

sdk:

 

annotate.class:

    [mkdir] Created dir: C:\Users\aleena\royale-compiler\compiler-build-tools\ta

rget\classes

    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-

build-tools\target\classes

    [javac] warning: [options] bootstrap class path not set in conjunction with

-source 1.5

    [javac] error: Source option 1.5 is no longer supported. Use 1.6 or later.

    [javac] error: Target option 1.5 is no longer supported. Use 1.6 or later.

 

BUILD FAILED

C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-compiler\build.xml:63: The following error occurred while

 executing this line:

C:\Users\aleena\royale-compiler\compiler-build-tools\build.xml:74: Compile faile

d; see the compiler error output for details.

 

Total time: 17 minutes 59 seconds

 

C:\Users\aleena\royale-asjs>

 

Unable to Build, Please guide.

 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Friday, March 02, 2018 10:31 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I was able to download and expand the files.  I will be consolidating the data today. 

 

In order to be able to write some of these emulations, you will probably need to be able to build the framework sources.  If you haven't already, you can try cloning the royale-asjs repo and figure out how to get it to build.  You can choose Apache Maven or Apache Ant as the build tool.

 

https://github.com/apache/royale-asjs <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs&data=02%7C01%7Caharui%40adobe.com%7C3c1833c1fc9442003f2608d5832c7fe0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559149534170415&sdata=YqGTpbzoou8SilHbsTxjriIjiREaS%2FA9j6xjZYRR%2F4E%3D&reserved=0> 

 

Hopefully the instruction in the readme are sufficient.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Friday, March 2, 2018 at 12:34 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

Application API-Report link:

https://www.dropbox.com/s/swvqhly6wa0jrc5/API-Reports.rar?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fswvqhly6wa0jrc5%2FAPI-Reports.rar%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C928c248220464230f6dd08d5801a2f13%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555772324148830&sdata=9%2BsrGG41iCMIEmbtqnEbV%2BPvi1ngE9vF%2BKuqPAZ%2Bzao%3D&reserved=0> 

SHMALib Report, applications,shmDoclist,shmSetupList,AppView_EIS, AppView_ERP,shmMappingSetup, shmMappingSetupOpenDetailGrid,shmSalesInvoice, shmSalesInvoiceDetail are main API Files.

 

Regards,

Alina

 

 

 

 

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Friday, March 02, 2018 11:32 AM
To: users@royale.apache.org
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

2) We are using Effects in our Application 2-3 times 

4) We are using text styling in our Application 3-5 times 

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Friday, March 02, 2018 4:26 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

1) Interesting about Charts.  They were being used by the SWC.

2) Effects are any animations that move, resize or fade things in the UI.

3) ok

4) I'm not sure what to conclude from the screenshot.  I'm interested in how often folks use it to create text with bold, italics and other styling of text.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Thursday, March 1, 2018 at 4:24 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

600 mxml.api.txt files are generated and still in process. I will share link for files tomorrow.

After sharing my files tomorrow, If you will suggest to build  emulations. 

I will  definitely want to learn how to create emulations and contribute them to Apache Royale.  

1.We are not using Charts in our Application

2. How important are effects? (Please explain effects )

3. We are not using Right-to-left languages in RichTextEditor.

4. Is RichTextEditor being used for non-plain text?  If so, what kinds of text styling is important?

Link:https://www.dropbox.com/s/ky93eycmefm3cuu/RICHTEXTEDITOR.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fky93eycmefm3cuu%2FRICHTEXTEDITOR.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cff526ec5592c42772ade08d57f713736%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555046634193460&sdata=BjS8q1GarTweRfMMmZOKxN%2FTQTqhtzJlm05KAtWnNTQ%3D&reserved=0> 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 10:45 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Good to hear it worked.

 

I think I am waiting on all of the mxml.api.txt files to see what else is in there that isn't in the two reports we have, then we'll have a pretty good list of the places you will either need to change in your code or that we  will build emulations for.

 

I think emulations will be less work in the end, but there will be a lot of them to do.  We will want to you to learn how to create emulations and contribute them to Apache Royale.  That's how many Apache projects work: some of the users learn how to become committers.  This will be an asset to your company as well since you will learn how to fix things in Royale yourself.  Then your company won't be dependent on outsiders for support.

 

So, Peter and I and hopefully others will get started on some emulations to make sure they work for us, and then you can see if they work for you, and then we will teach you how to write those emulations.  Over the next several months, besides testing emulations written by others in your app, you will be writing your own emulations for things you need right away that we haven't written yet, or for third-party code that you are using.

 

It might help to get some prioritization on the emulations we need to write.  In looking at the list, I am wondering:

1.	Are some charts more important than others?
2.	How important are effects?
3.	Do you use Right-to-left languages in RichTextEditor?
4.	Is RichTextEditor being used for non-plain text?  If so, what kinds of text styling is important?

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Wednesday, February 28, 2018 at 1:22 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Thank you.

It’s working with latest nightly build:

https://www.dropbox.com/s/77wkgrm74upkg0j/SHMALib%20Report.txt?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F77wkgrm74upkg0j%2FSHMALib%2520Report.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C16fa845b6d2f4efb7f4a08d57e8e9097%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636554073167111532&sdata=UV0BOZpVonw%2BILcK9njhQdf5pKpqWPccp0IKDPm4jOI%3D&reserved=0> 

 

 

Regards,

Alina

 

 

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 1:15 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Looks like COMPC collected the data but never generated the report.  I pushed a fix for that.  Please try the latest nightly build.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Tuesday, February 27, 2018 at 10:35 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Thank you

After commenting the embedded font part from source.

Output to console:

3462313 bytes written to D:\SHMALib.swc in 19.878 seconds

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"

 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\framewor

ks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\sr

c" -library-path+=D:\SHMALIB\libs

 

SHMALib.swf file Generated and Report.txt is empty 

SHMALib.swc output Link:

https://www.dropbox.com/s/4tz49sz134m2gg9/SHMALib.swc?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F4tz49sz134m2gg9%2FSHMALib.swc%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=%2FNcbTJtah21RRPeWfwg2pRaZ72hd%2BdG0iJlnH3GsA28%3D&reserved=0> 

then I change, Compc -output "D:\SHMALib.swc" to Compc -output "D:\SHMALib. txt " 

SHMALib.txt output Link:

https://www.dropbox.com/s/j38obt5e36awuh3/SHMALib.txt?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fj38obt5e36awuh3%2FSHMALib.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=V%2FcA5dJ3Fi1qOvh%2BtUlbU%2FZ%2FQ5SBfRw7psjsm2Q%2Fe8w%3D&reserved=0> 

 

Thanks,

Alina

 

 

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 11:18 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

The only error right now is the embedded font.

 

We can discuss the pros and cons of embedding images in the JS output at some other point in time.

 

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Tuesday, February 27, 2018 at 10:01 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Big Part of SHMALib Uses Embed and metadata :

 

                                // Embed the font so we can rotate it for further distortion

                                [Embed(systemFont="Comic Sans MS",

                                                                embedAsCFF='false')]

                <mx:Image y="4" width="18" height="20" right="185" source="@Embed(source='assets/default/images/load.png')"

                                                  source="@Embed(source='assets/default/images/next.gif')" scaleContent="false"/>

                <mx:Image y="4" width="18" height="20" right="3" source="@Embed(source='assets/default/images/magnifier.png')"

     * An IFrame which you can embed into Flex applications to show an HTML page.

     * @example A simple application with Google embedded

        // SWF embed object tracking

         * The SWF embed object id.

         * Get the embed object id.

        protected function resolveEmbedObjectId():void

                    var result:Object=ExternalInterface.call(IFrameExternalCalls.FUNCTION_ASK_FOR_EMBED_OBJECT_ID, randomIdentificationString.toString());

                        logger.info("Resolved the SWF embed object id to '{0}'.", applicationId);

                        logger.error('Could not resolve the SWF embed object Id.');

            // Resolve the SWF embed object id in the DOM.

            ExternalInterface.call(IFrameExternalCalls.INSERT_FUNCTION_ASK_FOR_EMBED_OBJECT_ID);

            resolveEmbedObjectId();

            logger.info("Loading IFrame with id '{0}', on SWF embed object with id '{1}'.", _frameId, applicationId);

                    FUNCTION_LOADIFRAME + " = function (frameID, iframeID, url, embedID, scrollPolicy)" +

                                      "onLoad='\"+embedID+\".\"+frameID+\"_load();' " +

        public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String = "askForEmbedObjectId";

        public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String = "askForEmbedObjectId";

        public static var INSERT_FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =

                "if (document." + FUNCTION_ASK_FOR_EMBED_OBJECT_ID + "==null)" +

                    FUNCTION_ASK_FOR_EMBED_OBJECT_ID + " = function(randomString) " + 

                            "var embeds = document.getElementsByTagName('embed'); " + 

                            "var embeds = document.getElementsByTagName('embed'); " + 

                            "for (var i = 0; i < embeds.length; i++) { " + 

                                "var isTheGoodOne = embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " + 

                                "var isTheGoodOne = embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " + 

                                    "return embeds[i].getAttribute('id'); " + 

                                 * The UITextField control for displaying embeded hints.

                                private var embedTextField:UITextField;

                                 *  The String to be shown as the embeded hint.

                                private var embedStr:String = "";

                                                                                embedStr = "MM DD YYYY";

                                                                                embedStr = "DD MM YYYY";

                                                                                embedStr = "YYYY MM DD";

                                                                                embedStr = "YYYY DD MM";

                                 *  Create child objects for displaying embeded hints.

                                                                embedTextField = new UITextField();

                                                                //embedTextField.text = embedStr;

                                                                //embedTextField.text = embedStr;

                                                                addChildAt(UITextField(embedTextField),getChildIndex(DisplayObject(textField)));//as TextField

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                                s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);

                                                                                                                                embedTextField.text = s;

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                                //s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);

                                                                                                                                //embedTextField.text = s;

                                                                                                                                s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);

                                                                                                                                embedTextField.text = s;

                                                                                // If embeded hints are displayed then update the

                                                                                // UITextField corresponding to the embeded hints

                                                                                                var s:String = embedTextField.text == null ? "":embedTextField.text;

                                                                                                var s:String = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                embedTextField.text = s;

                                                                // create the embeded text field for showing

                                                                // embeded hints if its not already created.

                                                                // If it is created, then just change the embeded hint.

                                                                if(!embedTextField)

                                                                                embedTextField = new UITextField();

                                                                                addChildAt(embedTextField,getChildIndex(DisplayObject(textField))); //as TextField

                                                                //embedTextField.text = embedStr;

                                                                //embedTextField.text = embedStr;

                                                                embedTextField.alpha = 1;

                                                                embedTextField.setTextFormat(txtFormat);

                                                                embedTextField.x = 0;

                                                                embedTextField.y = 2;

                                                                embedTextField.setActualSize(width,height);

                                                                if(embedTextField)

                                                                                embedTextField.text = "";

                                                                                embedTextField = null;

                                                // setting the color of the embeded text field to white.

                                                                if(embedTextField)

                                                                                embedTextField.setColor(0xFFFFFF);

                                                                                if(embedTextField)

                                                                                                addChildAt(DisplayObject(newSkin),getChildIndex(DisplayObject(embedTextField)));//

   background-image:                                      Embed(source="/assets/application_background.png",

                up-skin:                Embed("/assets/maximize_up.png");

                over-skin:            Embed("/assets/maximize_over.png");

                down-skin:         Embed("/assets/maximize_up.png");

                selected-up-skin:   Embed("/assets/restore_up.png");

                selected-over-skin: Embed("/assets/restore_over.png");

                selected-down-skin: Embed("/assets/restore_up.png");

                up-skin:        Embed("/assets/minimize_up.png");

                over-skin:      Embed("/assets/minimize_over.png");

                down-skin:      Embed("/assets/minimize_up.png");

                up-skin:                                Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");

                over-skin:                            Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");

                down-skin:                         Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");

                selected-up-skin:                             Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");

                selected-over-skin:                         Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");

                selected-down-skin:                      Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");

                up-skin:                                Embed("/assets/left_arrow_up.gif");

                over-skin:                            Embed("/assets/left_arrow_over.gif");

                down-skin:                         Embed("/assets/left_arrow_up.gif");

                disabled-skin:    Embed("/assets/left_arrow_disabled.gif");

                up-skin:                                Embed("/assets/right_arrow_up.gif");

                over-skin:                            Embed("/assets/right_arrow_over.gif");

                down-skin:                         Embed("/assets/right_arrow_up.gif");

                disabled-skin:    Embed("/assets/right_arrow_disabled.gif");

                                //[Embed(source="/assets/cursor_move.gif")]

                                //[Embed(source="/assets/cursor_resize.gif")]

                                [Embed(source="/assets/default/images/mouseMove.gif")]

                                [Embed(source="/assets/default/images/verticalSize.gif")]

                                [Embed(source="/assets/default/images/horizontalSize.gif")]

                                [Embed(source="/assets/default/images/leftObliqueSize.gif")]

                                [Embed(source="/assets/default/images/rightObliqueSize.gif")]

                                                if (image.isEmbedded) 

                                                //if (!Application.application.systemManager.isFontFaceEmbedded(textFormat)) 

                                                if (!FlexGlobals.topLevelApplication.systemManager.isFontFaceEmbedded(textFormat))

                                                                if (Application.application.isFontsEmbedded) {

                                                                if (Application.application.isFontsEmbedded) {

                                                                if (Application.application.isFontsEmbedded) {

                                private var _isEmbedded:Boolean = false;

                                public function set isEmbedded(embedded:Boolean):void 

                                public function set isEmbedded(embedded:Boolean):void 

                                                _isEmbedded = embedded;

                                                _isEmbedded = embedded;

                                public function get isEmbedded():Boolean 

                                                return _isEmbedded;

                                                <mx:icon>@Embed(source='images/print.GIF')</mx:icon>

                                                <mx:icon>@Embed(source='images/reload.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/first-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/first.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/previous-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/previous.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/next-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/next.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/last-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/last.GIF')</mx:icon>

                                                                                <mx:icon>@Embed(source='images/actualsize.GIF')</mx:icon>

                                                                                <mx:icon>@Embed(source='images/fitpage.GIF')</mx:icon>

                                                                                <mx:icon>@Embed(source='images/fitwidth.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/zoomin-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/zoomin.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/zoomout-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/zoomout.GIF')</mx:icon>

                                                                <mx:icon>@Embed(source='images/print.GIF')</mx:icon>

                                                if (imageSourceXml.@isEmbedded.length() > 0)

                                                                image.isEmbedded = imageSourceXml.@isEmbedded == "true";

                                                                image.isEmbedded = imageSourceXml.@isEmbedded == "true";

                 source="@Embed(source='/assets/default/images/left_arrow_up.gif')"/>

                 source="@Embed(source='/assets/default/images/left_arrow_over.gif')"/>

                 source="@Embed(source='/assets/default/images/left_arrow_disabled.gif')"/>  

                                                                                   source="@Embed(source='/com/shm/flexlib/mdi/assets/img/maximizeButton.png')"/>

                                                                                   height="12" source="@Embed(source='/com/shm/flexlib/mdi/assets/img/restoreButton.png')"/>

                                                                                   source="@Embed(source='/com/shm/flexlib/mdi/assets/img/minimizeButton.png')"/>

                 source="@Embed(source='/assets/default/images/right_arrow_up.gif')"/>

                 source="@Embed(source='/assets/default/images/right_arrow_over.gif')"/>

                 source="@Embed(source='/assets/default/images/right_arrow_disabled.gif')"/>  

 

 

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 11:00 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I think you can ignore the warnings.  The first error is for embedding a font, which Royale doesn't currently support, so for now, try commenting out the Embed metadata and see if that allows the error to go away.

 

I would look into the other errors to see if they are legitimate or not.  The Royale Compiler will catch some things the MXMLC compiler may not.  Or you could comment out the code involved in the two errors in TImeZone.as for now since that won't affect the report.

 

The final two errors I saw are for missing skin states.  I think you can just add the skin states.

 

HTH,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Tuesday, February 27, 2018 at 9:35 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

While Executing

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\src"

Or 

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\Flex\libs\SH

MALIB.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bi

n\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\

SHMALIB\src" -library-path+=D:\SHMALIB\libs

 

Error:

(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to

field java.lang.Thread.inheritableThreadLocals

WARNING: Please consider reporting this to the maintainers of com.google.common.

base.internal.Finalizer

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect

ive access operations

WARNING: All illegal access operations will be denied in a future release

Loading configuration: D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(415): col: 50 Warning:

Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="DataProviderService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(419): col: 50 Warning:

Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="BasicFormatterService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(516): col: 50 Warning: Da

ta binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="DataProviderService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(520): col: 50 Warning: Da

ta binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="BasicFormatterService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\shmCaptchaImage.as(43): col: 3 Error: Embed re

quires a 'source' file attribute

 

                [Embed(systemFont="Comic Sans MS",

                ^

 

D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(37): col: 88 Warning: Data

binding will not be able to detect assignments to 'isSelected'.

 

                                        <mx:CheckBox selectedField="isSelected"

 change="onChange(event);" selected="{data.isSelected}">

 

                                          ^

 

D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(46): col: 27 Warning: Data

binding will not be able to detect assignments to 'label'.

 

                                        <mx:Label text="{data.label}" />

                                                             ^

 

D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(126): col: 15 Error: Impli

cit coercion of a value of type Boolean to an unrelated type Number.

 

                                if(year & 0x3 == 0)

                                          ^

 

D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(134): col: 39 Error: Impli

cit coercion of a value of type Boolean to an unrelated type Number.

 

                                if(month == 1 && value.fullYear & 0x3 == 0)

                                                                  ^

 

D:\SHMALIB\src\com\shm\dashboard\renderers\GridPodURLRenderer.mxml(6): col: 23 W

arning: Data binding will not be able to detect assignments to 'SrNo'.

 

                  htmlText="&lt;u&gt;{data.SrNo}&lt;/u&gt;" color="blue" click="

f_DrillDownData(data)">

                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml Error:

The required skin state 'disabledWithPrompt' is missing.

 

 

D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml Error:

The required skin state 'normalWithPrompt' is missing.

 

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(177): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(187): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(202): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(212): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(429): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(439): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(454): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(464): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(479): col: 26 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                field="{properties.@valueField}"

 

                                                                   ^

 

D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(115): col: 74 Warning

: Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject id="roDrillDownColInfo" channelSet="{parentAppl

ication.amfChannelSet}" showBusyCursor="true"

 

       ^

 

D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(118): col: 68 Warning

: Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject id="roDgDpResult" channelSet="{parentApplicatio

n.amfChannelSet}" showBusyCursor="true"

 

 ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PieChartContent.mxml(128): col: 24 Warning

: Data binding will not be able to detect assignments to 'valueField'.

 

                                field="{properties.@valueField}"

                                                   ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 37 Warning: Dat

a binding will not be able to detect assignments to 'appParams'.

 

                                                        inputMask="{parentApplic

ation.appParams.DATE_FORMAT}" showToday="true"  yearNavigationEnabled="true"

 

     ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 47 Warning: Dat

a binding will not be able to detect assignments to 'DATE_FORMAT'.

 

                                                        inputMask="{parentApplic

ation.appParams.DATE_FORMAT}" showToday="true"  yearNavigationEnabled="true"

 

               ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 38 Warning: Dat

a binding will not be able to detect assignments to 'appParams'.

 

                                                         inputMask="{parentAppli

cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true" showToday="true"

 

      ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 48 Warning: Dat

a binding will not be able to detect assignments to 'DATE_FORMAT'.

 

                                                         inputMask="{parentAppli

cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true" showToday="true"

 

                ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(12): col: 11 Warnin

g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

 

                        import mx.graphics.Stroke;

                               ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(37): col: 23 Warnin

g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

 

                                        lne.stroke = new Stroke(0,1,.3);

                                                         ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(46): col: 14 Warnin

g: Duplicate variable definition: i.

 

                                for (var i:int = 1; i < lnWdt; i++){

                                         ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(47): col: 10 Warnin

g: Duplicate variable definition: lne.

 

                                        var lne:Line  = new Line();

                                            ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(53): col: 23 Warnin

g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

 

                                        lne.stroke = new Stroke(0,1,.3);

                                                         ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(54): col: 10 Warnin

g: Duplicate variable definition: llbe.

 

                                        var llbe:Label = new Label();

                                            ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(157): col: 40 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var xPosition:Number = Application.application.p

arent.mouseX;

                                                                   ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(158): col: 40 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var yPosition:Number = Application.application.p

arent.mouseY;

                                                                   ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(225): col: 36 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var xPlus:Number = Application.application.paren

t.mouseX - point.x;

                                                               ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(226): col: 36 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var yPlus:Number = Application.application.paren

t.mouseY - point.y;

                                                               

Thanks,

Alina Kazi

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 10:16 AM
To: Alina Kazi; users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I think that Flash Builder makes it easy to build SWCs.  Building from the command line can be a bit trickier.

 

Let's try:

Compc -output "D:\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\src"

 

HTH,

-Alex

 

 

From: Alina Kazi <al...@d-bz.com>
Date: Tuesday, February 27, 2018 at 7:28 PM
To: "users@royale.apache.org" <us...@royale.apache.org>, Alex Harui <ah...@adobe.com>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Yes I am using Flash Builder.

SHMALIB and MainFlexApp are two separate Projects

Src for SHMALIB is placed into D:/SHMALIB/src

Src for MainFlexApp is D:/Flex/src and the library output file SHMALIB.swc is placed into D:/Flex/libs

 

SHMALIB (.actionscriptProperties)

 

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<actionScriptProperties mainApplicationPath="SHMALib.as" projectUUID="863559ab-3e7b-475b-a3a4-09f4f76fc0d2" version="6">

  <compiler additionalCompilerArguments="-locale en_US" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderLocation="D:/Flex/libs" outputFolderPath="bin-debug" sourceFolderPath="src" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" verifyDigests="true" warn="true">

    <compilerSourcePath/>

    <libraryPath defaultLinkType="0">

      <libraryPathEntry kind="4" path="">

        <excludedEntries>

          <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>

        </excludedEntries>

      </libraryPathEntry>

      <libraryPathEntry kind="1" linkType="1" path="libs"/>

    </libraryPath>

    <sourceAttachmentPath/>

  </compiler>

  <applications>

    <application path="SHMALib.as"/>

  </applications>

  <modules/>

  <buildCSSFiles/>

</actionScriptProperties>

 

SHMALIB (.flexLibProperties)

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<flexLibProperties includeAllClasses="true" version="3">

  <includeClasses/>

  <includeResources/>

  <namespaceManifests/>

</flexLibProperties>

 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 9:34 PM
To: Alina Kazi
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

When you are not trying to use Royale to generate this API report, how are you building your current Flex app?  We might need to know that in order to determine what parameters to add to COMPC.

 

COMPC has additional parameters like -include–sources, include-file, include-classes.  Sometimes, these are listed in an xml file.  If you are using Flash Builder, for example, then examine the .flexlibproperties and .actionscriptProperties files in your project folder.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Date: Tuesday, February 27, 2018 at 3:21 AM
To: 'Alina Kazi' <al...@d-bz.com>
Cc: Alex Harui <ah...@adobe.com>
Subject: RE: Generating API report for Flex Web Browser application

 

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"

 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"

Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by com.google.common.base.internal.Finalizer

(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to

field java.lang.Thread.inheritableThreadLocals

WARNING: Please consider reporting this to the maintainers of com.google.common.

base.internal.Finalizer

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect

ive access operations

 

Error: nothing was specified to be included in the library.

-Alina

 

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Tuesday, February 27, 2018 2:16 PM
To: 'users@royale.apache.org'
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

I am using Moonshine IDE 1.9.0.

Flex 4.16.0

Apache Royale 0.9.2 Latest Nightly Build

 

Running this Command on Command Prompt:

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"

 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"

Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by com.google.common.base.internal.Finalizer

(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to

field java.lang.Thread.inheritableThreadLocals

WARNING: Please consider reporting this to the maintainers of com.google.common.

base.internal.Finalizer

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect

ive access operations

WARNING: All illegal access operations will be denied in a future release

 

command line Error: unknown configuration variable 'sourceΓÇôpath'.

 

-Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 1:26 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

COMPC takes a slightly different set of parameters.  What IDE or build tools are you using to build it without Royale?  You might need to know what options that build uses.

 

You can try running: 

 

Compc -output "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source–path="D:\Projects\SHMA\Main\Flex\src" or wherever the source code is for the library.

 

HTH,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, February 26, 2018 at 11:33 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

For custom SWC, I am using COMPC to get an api-report for SWC

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>compc "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml

Error: configuration variable 'output' was not set.

 

 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 12:27 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Yes, any SWC that is not in the Flex SDK's frameworks/libs folder needs to be specified as Piotr describes below.  We want you specify the same MXML file that you use to compile in the regular Flex SDK.  So if your Application.mxml starts with an mx:Application or s:Application that’s probably the one to use.  But also, if you have your own custom SWCs, we want you to use COMPC to get an api-report for those SWCs.  We want this modified Royale compiler to compile every source file you own so we can see what Flex APIs you are using.

 

HTH,

-Alex

 

From: Piotr Zarzycki <pi...@gmail.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, February 26, 2018 at 11:19 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina, 

 

In my sense you will have to use -library-path+=path to the library. You have to tell compiler about that library.

 

Thanks, Piotr

 

2018-02-27 7:57 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi  Alex,

With latest nightly build:

MaskedTextInput , shmReportUtil …. Are Library Project Actionscript Files.

Main Application contains SHMALib.swc file in Libs folder

Error Link:

https://www.dropbox.com/s/p5imt22cuut0ex6/ErrorGeneratingReport.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fp5imt22cuut0ex6%2FErrorGeneratingReport.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=8f1f9duW2Red4bP77hFTh3mLcCptBmAwd87n1iSkk%2Bs%3D&reserved=0> 

 

I have a question that which .mxml file should be used to generate that report?

Applications.mxml is startup file in case of my Project so I’m using it.

 

Please visit reference link and If I’m doing anything wrong please let me know.

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 12:00 AM


To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I pushed a fix for that.  It might or might not be related to your custom swc.  Get the latest nightly build and let us know.

 

Also, if you are successful, please use your regular compiler to generate a -link–report.  That will help us verify that the API report didn't miss anything.

 

Thanks,

-Alex

 

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, February 26, 2018 at 4:01 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Generated Report file for Sample Project Successfully.

 

spark.components.Application:minHeight,1

spark.components.Application:minWidth,1

spark.components.Application:mxmlContentFactory,2

spark.components.Label:fontSize,1

spark.components.Label:fontWeight,1

spark.components.Label:horizontalCenter,1

spark.components.Label:text,1

spark.components.Label:textAlign,1

spark.components.Label:verticalCenter,1

 

But while executing Actual Project got Error:

https://www.dropbox.com/s/d25eysllavuy5z4/compile2.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fd25eysllavuy5z4%2Fcompile2.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=2i28J4zjv1vEQ7sd%2BGfHm%2Bh1FjG%2BP3YdJCc6rGZr3C4%3D&reserved=0> 

https://www.dropbox.com/s/49iq74zk6rxcr1y/compile1.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F49iq74zk6rxcr1y%2Fcompile1.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=44tfkOscWyJ%2FH3M30HeJ6dfFE0TlpTMhQ2t%2Bv%2ByuoDg%3D&reserved=0> 

 

May be because my Application is dependent to SHMALib(.swc) Library Project (Source Shared Earlier). 

 

-Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Monday, February 26, 2018 5:02 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Alex,

 

I did above exercise for Moonshine and got NPE [1]. I used air-config.xml because it is na Desktop app.

 

[1] https://paste.apache.org/R0Si <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FR0Si&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=tFLrK9xsVt57PytwBaNoUJ%2FIPFH7FCHDtfrmJ1sAl3Y%3D&reserved=0>  

 

Thanks,

Piotr

 

 

2018-02-26 12:56 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:

Yishay,

 

Thank you so much!! I got it working.

 

Alina,

 

Here is the full instruction.

 

1) Download Apache Royale with SWF support - if you have that is good, if not it's here [1]

2) Download Apache Flex - you have it as I have seen on the screenshot.

3) Launch console and go to the Royale SDK folder

 

"yourpathtosdk\bin\" - In my case it was: "d:\Work\royale_ide\royale_nightly_js_swf\bin\"

 

4) Run following command where you will point to the Flex Browser application in order to generate report. My command looks like that:

 

mxmlc "c:\Users\piotr\Documents\NewFlexBrowserProject\src\NewFlexBrowserProject.mxml" -api-report="c:\Users\piotr\Documents\NewFlexBrowserProject\report.txt" -load-config=d:\Work\flex-sdk-4.16.1_adobe_air_28\frameworks\flex-config.xml

 

I generated report for hellow world. Maybe in order to generate report for your application that console command may be much more sophisticated. Let's see!

 

 

[1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/lastSuccessfulBuild/artifact/out/ <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2Fout%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=O%2BpVQ8OuhB%2FtE4ZdylTSkAQCWsIPBGlr9RgiTjWSWEM%3D&reserved=0> 

 

Thanks,

Piotr

 

 

2018-02-26 12:46 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:

Looks like [1] you do need to add compiler option: -api–report=<path to output file>

 

[1] http://apache-royale-users.20374.n8.nabble.com/Substitutes-in-Apache-Royale-tp392p492.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p492.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kda6SpkBgdRqGAeGJ5Db629EAy7KAVbOZKzhzhynRZk%3D&reserved=0> 

 

 

From: Piotr Zarzycki <ma...@gmail.com> 
Sent: Monday, February 26, 2018 1:37 PM


To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

I have produced with that swf, but what's next? Let's wait for Alex's response [1] 

 

[1] https://paste.apache.org/YEeG <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FYEeG&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8ameYzJ7AloOW4nTa8dqu7zYxwORSQc5sCUqpZDVA%2BY%3D&reserved=0> 

 

Thanks,

Piotr

 

2018-02-26 12:32 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:

Alex will know but I don’t think so. I haven’t updated the compiler recently so can’t test it right now. If you want to test it maybe just create a simple app and replace /Users/aharui/ApacheFlex4.16.0 with your sdk home.

 

 

 

From: Piotr Zarzycki <ma...@gmail.com> 
Sent: Monday, February 26, 2018 1:25 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Yishay, 

 

bin/mxmlc

<path to app's

.mxml

file>

-load-config=/Users/aharui/ApacheFlex4.16.0/frameworks/flex-config.xml  

 

Do I need some switch for compiler -api-report or something like that ?

 

Thanks,

Piotr

 

 

2018-02-26 12:10 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:

Wasn’t logged in. Here’s [1] the link.

 

[1] http://apache-royale-users.20374.n8.nabble.com/Substitutes-in-Apache-Royale-tp392p489.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p489.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8Tp5%2BFveKS0eoW7D8EovITPQqYrgwDK4P7cW9izXFH8%3D&reserved=0> 

 

 

From: Yishay Weiss <ma...@hotmail.com> 
Sent: Monday, February 26, 2018 12:59 PM
To: users@royale.apache.org
Subject: RE: Generating API report for Flex Web Browser application

 

I couldn’t find a way to link to a nabble post, but this [1] might help (from Substitutes in Apache Royale).

 

[1] https://paste.apache.org/N2QR <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FN2QR&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=VIS8u6EEBWN6jQrFxpttZvAfUCSSKPe3rbrBDU2w7Sg%3D&reserved=0> 

 

From: Piotr Zarzycki <ma...@gmail.com> 
Sent: Monday, February 26, 2018 12:44 PM
To: users@royale.apache.org
Subject: Generating API report for Flex Web Browser application

 

Hi Alex, 

 

I would like to understand how to generate that report. I will go with the console path, because I think this is something unusual and probably Moonshine is not prepared to do this. I'm writing this on the users mailing list because Alina is having some problems with that. I wanted to simplify all of that. Let's start from the beginning. 

 

1) I have created Flex Web browser project using Apache Flex SDK 4.16.1. 

2) I have nightly build of Royale with SWF support [1]

 

What should I type in the console now ?

 

[1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/lastSuccessfulBuild/artifact/ <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=UtYFFQ90aNB2HU2Vx4t8YAS6Eo2j1ZqVAytujEOgoFM%3D&reserved=0> 

 

Thanks,
-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 

 

 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 

 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 

 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=zGrfZ2Wj3CLuuW%2B%2BKtUSQF6762Vn0%2BeNjCMlViBMghg%3D&reserved=0> 


RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

Posted by Alina Kazi <al...@d-bz.com>.
Hi Piotr,

Using Maven :

C:\Users\aleena>git clone https://github.com/apache/royale-typedefs.git royale-a

sjs

Cloning into 'royale-asjs'...

remote: Counting objects: 3318, done.

remote: Compressing objects: 100% (93/93), done.

remote: Total 3318 (delta 48), reused 76 (delta 16), pack-reused 3200

Receiving objects: 100% (3318/3318), 3.51 MiB | 244.00 KiB/s, done.

Resolving deltas: 100% (1337/1337), done.

 

C:\Users\aleena>cd royale-asjs

 

C:\Users\aleena\royale-asjs>git checkout develop

Already on 'develop'

Your branch is up to date with 'origin/develop'.

 

C:\Users\aleena\royale-asjs>mvn -s settings-template.xml clean install

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

maven-metadata.xml

[WARNING] Could not transfer metadata org.apache.flex.utilities.converter:flex-s

dk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from/to apache-sn

apshots (http://repository.apache.org/snapshots/): Connect to repository.apache.

org:80 [repository.apache.org/207.244.88.140] failed: Connection timed out: conn

ect

[WARNING] Failure to transfer org.apache.flex.utilities.converter:flex-sdk-conve

rter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from http://repository.ap

ache.org/snapshots/ was cached in the local repository, resolution will not be r

eattempted until the update interval of apache-snapshots has elapsed or updates

are forced. Original error: Could not transfer metadata org.apache.flex.utilitie

s.converter:flex-sdk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml

 from/to apache-snapshots (http://repository.apache.org/snapshots/): Connect to

repository.apache.org:80 [repository.apache.org/207.244.88.140] failed: Connecti

on timed out: connect

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

flex-sdk-converter-maven-extension-1.0.0-SNAPSHOT.pom

[WARNING] Failed to read extensions descriptor C:\Users\aleena\royale-asjs\.mvn\

extensions.xml: Plugin org.apache.flex.utilities.converter:flex-sdk-converter-ma

ven-extension:1.0.0-SNAPSHOT or one of its dependencies could not be resolved: F

ailed to read artifact descriptor for org.apache.flex.utilities.converter:flex-s

dk-converter-maven-extension:jar:1.0.0-SNAPSHOT

[INFO] Scanning for projects...

Downloading from apache-release: https://repository.apache.org/content/repositor

ies/releases/org/apache/apache/18/apache-18.pom

Downloading from central: https://repo.maven.apache.org/maven2/org/apache/apache

/18/apache-18.pom

[ERROR] [ERROR] Some problems were encountered while processing the POMs:

[FATAL] Non-resolvable parent POM for org.apache.royale.typedefs:royale-typedefs

-parent:0.9.2-SNAPSHOT: Could not transfer artifact org.apache:apache:pom:18 fro

m/to apache-release (https://repository.apache.org/content/repositories/releases

): Connect to repository.apache.org:443 [repository.apache.org/207.244.88.140] f

ailed: Connection timed out: connect and 'parent.relativePath' points at wrong l

ocal POM @ line 23, column 11

 @

[ERROR] The build could not read 1 project -> [Help 1]

[ERROR]

[ERROR]   The project org.apache.royale.typedefs:royale-typedefs-parent:0.9.2-SN

APSHOT (C:\Users\aleena\royale-asjs\pom.xml) has 1 error

[ERROR]     Non-resolvable parent POM for org.apache.royale.typedefs:royale-type

defs-parent:0.9.2-SNAPSHOT: Could not transfer artifact org.apache:apache:pom:18

 from/to apache-release (https://repository.apache.org/content/repositories/rele

ases): Connect to repository.apache.org:443 [repository.apache.org/207.244.88.14

0] failed: Connection timed out: connect and 'parent.relativePath' points at wro

ng local POM @ line 23, column 11 -> [Help 2]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit

ch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please rea

d the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin

gException

[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableMo

delException

 

C:\Users\aleena\royale-asjs>

 

Thanks

Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Tuesday, March 06, 2018 5:30 PM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alina,

 

You can try to go with Maven to see whether you have similar problems [1]

 

[1] https://github.com/apache/royale-asjs/wiki/Build-Apache-Royale-with-Maven

 

Thanks, Piotr

 

2018-03-06 13:12 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Alex,

Still getting same error, while executing:

C:\Users\aleena\royale-asjs>ant all

Website link is working :

http://www.antlr.org/license.html

 

could be only issue , Antlr server will be off-line ?

 

Thanks,

Alina

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Tuesday, March 06, 2018 4:38 PM
To: 'users@royale.apache.org'
Subject: RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alex,

 

We can exclude ScaleX , ScaleY,transform from our code as we are using it in our Library Project Only.

We are using “Rotation” in a PopUp Window. 

 

Can you please explain emulation ?

How do they will work?

 

Thanks,

Alina

 

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Tuesday, March 06, 2018 3:14 PM
To: 'users@royale.apache.org'
Subject: RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alex,

We are using commitProperties() in our Library Project. Overriding the Existing Spark commitProperties() method 

For Example:

ResizableTextAreaSkin.mxml (SHMALib)

override protected function commitProperties():void {

                                                super.commitProperties();

 

                                                if (lineBreakChanged) {

                                                                updateStringStyle("lineBreak");

                                                                lineBreakChanged = false;

                                                }

                                                if (paddingChanged) {

                                                                updatePadding();

                                                                paddingChanged = false;

                                                }

                                                if (verticalAlignChanged) {

                                                                updateStringStyle("verticalAlign");

                                                                verticalAlignChanged = false;

                                                }

                                }

We are using 


Package

 <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/package-detail.html> flash.display


Class

public class DisplayObject


Inheritance

DisplayObject Inheritance  <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/EventDispatcher.html> EventDispatcher Inheritance  <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Object.html> Object


Reference Link:

	

https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/DisplayObject.html

 

e.g :

                public function updateLayoutWithoutAnimation():void

                                {

                                                if(_layoutInvalid == true && layoutFunction != null)

                                                {

                                                                _layoutInvalid = false;

                                                                layoutFunction();

                                                }

 

                                                for(var aChild:* in _targets)

                                                {

                                                                var target:LayoutTarget = _targets[aChild];

                                                                var item:IFlexDisplayObject = target.item;

                                                                var m:Matrix = DisplayObject(item).transform.matrix;

 

                                                                m.tx = target.x;

                                                                m.ty = target.y;

                                                                m.a = target.scaleX;                                                                        

                                                                m.d = target.scaleY

                                                                

                                                                DisplayObject(item).alpha = target.alpha;

                                                                DisplayObject(item).transform.matrix = m;

                                                                item.setActualSize(target.unscaledWidth,target.unscaledHeight);

                                                                if(target.state == "removed")

                                                                {

                                                                                delete _targets[target.item];

                                                                                continue;

                                                                }

                                                                else

                                                                {

                                                                                target.state = "positioned"

                                                                }

                                                }

                                                stopTimer();

                                }

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, March 06, 2018 1:36 PM
To: users@royale.apache.org
Subject: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alina,

 

I'm starting on the emulation.  I've noticed that your application code appears to be calling commitProperties().  Can you tell us why?

 

Also, it looks like there are a few uses of rotation, transform, scaleX and scaleY.  What are those used for?

 

Thanks,

-Alex

 

From: Alex Harui <ah...@adobe.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 11:38 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Try again.  Sometimes the Antlr server goes off-line around this time of day.

 

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 11:12 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Using jdk1.8.0_162:

 

C:\Users\aleena\royale-asjs>ant all

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Buildfile: C:\Users\aleena\royale-asjs\build.xml

 

set.base.folder:

 

check-git:

     [echo] Checking for Git...

     [exec] git version 2.16.2.windows.1

 

get-download-folder:

 

download-all:

     [echo] Using folder C:\Users\aleena\royale-asjs/..

 

check-royale-asjs:

 

warn-before-clone:

 

check-royale-asjs:

 

clone-royale-asjs:

 

check-royale-compiler:

 

clone-royale-compiler:

 

check-royale-typedefs:

 

clone-royale-typedefs:

 

check-playerglobal-home:

 

check-air-home:

 

build-all:

 

ask-before-build-all:

    [input] This script will now download and compile lots of files.  This can t

ake several minutes.   No interaction should be required.  Press the enter key t

o continue.

 

 

sdk:

 

annotate.class:

    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-

build-tools\target\classes

    [javac] warning: [options] bootstrap class path not set in conjunction with

-source 1.5

    [javac] warning: [options] source value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] target value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] To suppress warnings about obsolete options, use

-Xlint:-options.

    [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\src\main\java\o

rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:24: warning: [serial

] serializable class AnnotateClassDeleteException has no definition of serialVer

sionUID

    [javac]     public static class AnnotateClassDeleteException extends Excepti

on

    [javac]                   ^

    [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\src\main\java\o

rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:32: warning: [serial

] serializable class AnnotateClassRenameException has no definition of serialVer

sionUID

    [javac]     public static class AnnotateClassRenameException extends Excepti

on

    [javac]                   ^

    [javac] 6 warnings

 

unknown.tree.pattern.input.output:

    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-

build-tools\target\classes

    [javac] warning: [options] bootstrap class path not set in conjunction with

-source 1.5

    [javac] warning: [options] source value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] target value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] To suppress warnings about obsolete options, use

-Xlint:-options.

    [javac] 4 warnings

 

main:

 

compiler.downloads.cache:

 

compiler.downloads:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

prepare:

     [echo] Making lib directory C:\Users\aleena\royale-compiler\compiler/lib/ex

ternal

    [mkdir] Created dir: C:\Users\aleena\royale-compiler\compiler\lib\external

 

all:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

check-dependency:

     [echo] checking for C:\Users\aleena\royale-compiler\compiler/lib/external//

antlr.jar

 

download-dependency:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

echo-project-jar:

   [delete] Deleting: C:\Users\aleena\royale-compiler\compiler\src\main\resource

s\project.properties

     [echo] ${INFO_DOWNLOADING_FILE_FROM}

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

download-apache-license:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

download-other-license:

      [get] Getting: http://www.antlr.org/license.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0> 

      [get] To: C:\Users\aleena\royale-compiler\compiler\lib\external\antlr-LICE

NSE.html

      [get] Error getting http://www.antlr.org/license.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0>  to C:\Users\aleena\r

oyale-compiler\compiler\lib\external\antlr-LICENSE.html

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

double-check-file:

     [echo] ${env.ROYALE_DOWNLOAD_CACHE}

     [echo] Need file: ${still_no_file}

 

get-from-cache-if-needed:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

fail-if-not-found:

 

BUILD FAILED

C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-compiler\build.xml:64: The following error occurred while

 executing this line:

C:\Users\aleena\royale-compiler\compiler-jburg-types\build.xml:87: The following

 error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:81: Th

e following error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:275: T

he following error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:329: T

he following error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:489: C

:\Users\aleena\royale-compiler\compiler/lib/external//antlr-LICENSE.html could n

ot be downloaded or found in cache

 

Total time: 47 seconds

 

C:\Users\aleena\royale-asjs>

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, March 06, 2018 11:55 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Please use JDK8.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 10:40 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

Java version that I am using is “9.0.1”

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, March 06, 2018 11:42 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

What version of Java are you using?  Please get a JDK7 or 8 and try that.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 10:22 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Command Prompt Output is:

C:\Users\aleena>git clone https://github.com/apache/royale-asjs.git <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs.git&data=02%7C01%7Caharui%40adobe.com%7Cdf86fa0dd25b41ffbc8108d5832f0997%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559160423949211&sdata=d9cKX4ILIQPLI5USXvAafSnrWZSgW1XHw6G4r%2B9wgsE%3D&reserved=0>  royale-asjs

Cloning into 'royale-asjs'...

remote: Counting objects: 101103, done.

remote: Compressing objects: 100% (22/22), done.

remote: Total 101103 (delta 9), reused 30 (delta 7), pack-reused 101066R

Receiving objects: 100% (101103/101103), 19.23 MiB | 208.00 KiB/s, done.

 

Resolving deltas: 100% (61584/61584), done.

Checking out files: 100% (3572/3572), done.

 

C:\Users\aleena>cd royale-asjs

 

C:\Users\aleena\royale-asjs>git checkout develop

Already on 'develop'

Your branch is up to date with 'origin/develop'.

 

C:\Users\aleena\royale-asjs>ant all

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Buildfile: C:\Users\aleena\royale-asjs\build.xml

 

set.base.folder:

 

check-git:

     [echo] Checking for Git...

     [exec] git version 2.16.2.windows.1

 

get-download-folder:

 

download-all:

     [echo] Using folder C:\Users\aleena\royale-asjs/..

 

check-royale-asjs:

 

warn-before-clone:

 

check-royale-asjs:

 

clone-royale-asjs:

 

check-royale-compiler:

 

clone-royale-compiler:

     [echo] cloning royale-compiler repo into C:\Users\aleena\royale-asjs/../roy

ale-compiler

     [exec] Cloning into 'royale-compiler'...

     [exec] Checking out files:   8% (284/3191)

     [exec] Checking out files:   9% (288/3191)   Checking out files:  10% (320/

3191)   Checking out files:  11% (352/3191)   Checking out files:  12% (383/3191

)   Checking out files:  13% (415/3191)   Checking out files:  13% (444/3191)

Checking out files:  14% (447/3191)   Checking out files:  15% (479/3191)   Chec

king out files:  16% (511/3191)   Checking out files:  17% (543/3191)   Checking

 out files:  18% (575/3191)   Checking out files:  19% (607/3191)   Checking out

 files:  20% (639/3191)   Checking out files:  20% (641/3191)   Checking out fil

es:  21% (671/3191)   Checking out files:  22% (703/3191)   Checking out files:

 23% (734/3191)   Checking out files:  24% (766/3191)   Checking out files:  25%

 (798/3191)   Checking out files:  26% (830/3191)   Checking out files:  26% (84

2/3191)   Checking out files:  27% (862/3191)   Checking out files:  28% (894/31

91)   Checking out files:  29% (926/3191)   Checking out files:  30% (958/3191)

  Checking out files:  31% (990/3191)   Checking out files:  32% (1022/3191)   C

hecking out files:  33% (1054/3191)   Checking out files:  34% (1085/3191)   Che

cking out files:  35% (1117/3191)   Checking out files:  36% (1149/3191)   Check

ing out files:  37% (1181/3191)   Checking out files:  38% (1213/3191)   Checkin

g out files:  39% (1245/3191)   Checking out files:  40% (1277/3191)   Checking

out files:  40% (1308/3191)   Checking out files:  41% (1309/3191)   Checking ou

t files:  42% (1341/3191)   Checking out files:  42% (1352/3191)   Checking out

files:  43% (1373/3191)   Checking out files:  44% (1405/3191)   Checking out fi

les:  45% (1436/3191)   Checking out files:  46% (1468/3191)   Checking out file

s:  47% (1500/3191)   Checking out files:  48% (1532/3191)   Checking out files:

  49% (1564/3191)   Checking out files:  49% (1578/3191)   Checking out files:

50% (1596/3191)   Checking out files:  51% (1628/3191)   Checking out files:  52

% (1660/3191)   Checking out files:  53% (1692/3191)   Checking out files:  54%

(1724/3191)   Checking out files:  55% (1756/3191)   Checking out files:  56% (1

787/3191)   Checking out files:  57% (1819/3191)   Checking out files:  58% (185

1/3191)   Checking out files:  59% (1883/3191)   Checking out files:  60% (1915/

3191)   Checking out files:  61% (1947/3191)   Checking out files:  62% (1979/31

91)   Checking out files:  63% (2011/3191)   Checking out files:  63% (2022/3191

)   Checking out files:  64% (2043/3191)   Checking out files:  65% (2075/3191)

  Checking out files:  66% (2107/3191)   Checking out files:  67% (2138/3191)

Checking out files:  68% (2170/3191)   Checking out files:  69% (2202/3191)   Ch

ecking out files:  70% (2234/3191)   Checking out files:  71% (2266/3191)   Chec

king out files:  72% (2298/3191)   Checking out files:  73% (2330/3191)   Checki

ng out files:  74% (2362/3191)   Checking out files:  75% (2394/3191)   Checking

 out files:  76% (2426/3191)   Checking out files:  77% (2458/3191)   Checking o

ut files:  78% (2489/3191)   Checking out files:  79% (2521/3191)   Checking out

 files:  80% (2553/3191)   Checking out files:  81% (2585/3191)   Checking out f

iles:  82% (2617/3191)   Checking out files:  83% (2649/3191)   Checking out fil

es:  83% (2679/3191)   Checking out files:  84% (2681/3191)   Checking out files

:  85% (2713/3191)   Checking out files:  86% (2745/3191)   Checking out files:

 87% (2777/3191)   Checking out files:  88% (2809/3191)   Checking out files:  8

9% (2840/3191)   Checking out files:  89% (2845/3191)   Checking out files:  90%

 (2872/3191)   Checking out files:  91% (2904/3191)   Checking out files:  92% (

2936/3191)   Checking out files:  93% (2968/3191)   Checking out files:  94% (30

00/3191)   Checking out files:  95% (3032/3191)   Checking out files:  95% (3035

/3191)   Checking out files:  96% (3064/3191)   Checking out files:  97% (3096/3

191)   Checking out files:  98% (3128/3191)   Checking out files:  99% (3160/319

1)   Checking out files: 100% (3191/3191)   Checking out files: 100% (3191/3191)

, done.

     [exec] Your branch is up to date with 'origin/develop'.

     [exec] Already on 'develop'

 

check-royale-typedefs:

 

clone-royale-typedefs:

     [echo] cloning royale-typedefs repo into C:\Users\aleena\royale-asjs/../roy

ale-typedefs

     [exec] Cloning into 'royale-typedefs'...

     [exec] Your branch is up to date with 'origin/develop'.

     [exec] Already on 'develop'

 

check-playerglobal-home:

 

check-air-home:

 

build-all:

 

ask-before-build-all:

    [input] This script will now download and compile lots of files.  This can t

ake several minutes.   No interaction should be required.  Press the enter key t

o continue.

 

sdk:

 

annotate.class:

    [mkdir] Created dir: C:\Users\aleena\royale-compiler\compiler-build-tools\ta

rget\classes

    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-

build-tools\target\classes

    [javac] warning: [options] bootstrap class path not set in conjunction with

-source 1.5

    [javac] error: Source option 1.5 is no longer supported. Use 1.6 or later.

    [javac] error: Target option 1.5 is no longer supported. Use 1.6 or later.

 

BUILD FAILED

C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-compiler\build.xml:63: The following error occurred while

 executing this line:

C:\Users\aleena\royale-compiler\compiler-build-tools\build.xml:74: Compile faile

d; see the compiler error output for details.

 

Total time: 17 minutes 59 seconds

 

C:\Users\aleena\royale-asjs>

 

Unable to Build, Please guide.

 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Friday, March 02, 2018 10:31 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I was able to download and expand the files.  I will be consolidating the data today. 

 

In order to be able to write some of these emulations, you will probably need to be able to build the framework sources.  If you haven't already, you can try cloning the royale-asjs repo and figure out how to get it to build.  You can choose Apache Maven or Apache Ant as the build tool.

 

https://github.com/apache/royale-asjs <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs&data=02%7C01%7Caharui%40adobe.com%7C3c1833c1fc9442003f2608d5832c7fe0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559149534170415&sdata=YqGTpbzoou8SilHbsTxjriIjiREaS%2FA9j6xjZYRR%2F4E%3D&reserved=0> 

 

Hopefully the instruction in the readme are sufficient.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Friday, March 2, 2018 at 12:34 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

Application API-Report link:

https://www.dropbox.com/s/swvqhly6wa0jrc5/API-Reports.rar?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fswvqhly6wa0jrc5%2FAPI-Reports.rar%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C928c248220464230f6dd08d5801a2f13%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555772324148830&sdata=9%2BsrGG41iCMIEmbtqnEbV%2BPvi1ngE9vF%2BKuqPAZ%2Bzao%3D&reserved=0> 

SHMALib Report, applications,shmDoclist,shmSetupList,AppView_EIS, AppView_ERP,shmMappingSetup, shmMappingSetupOpenDetailGrid,shmSalesInvoice, shmSalesInvoiceDetail are main API Files.

 

Regards,

Alina

 

 

 

 

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Friday, March 02, 2018 11:32 AM
To: users@royale.apache.org
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

2) We are using Effects in our Application 2-3 times 

4) We are using text styling in our Application 3-5 times 

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Friday, March 02, 2018 4:26 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

1) Interesting about Charts.  They were being used by the SWC.

2) Effects are any animations that move, resize or fade things in the UI.

3) ok

4) I'm not sure what to conclude from the screenshot.  I'm interested in how often folks use it to create text with bold, italics and other styling of text.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Thursday, March 1, 2018 at 4:24 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

600 mxml.api.txt files are generated and still in process. I will share link for files tomorrow.

After sharing my files tomorrow, If you will suggest to build  emulations. 

I will  definitely want to learn how to create emulations and contribute them to Apache Royale.  

1.We are not using Charts in our Application

2. How important are effects? (Please explain effects )

3. We are not using Right-to-left languages in RichTextEditor.

4. Is RichTextEditor being used for non-plain text?  If so, what kinds of text styling is important?

Link:https://www.dropbox.com/s/ky93eycmefm3cuu/RICHTEXTEDITOR.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fky93eycmefm3cuu%2FRICHTEXTEDITOR.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cff526ec5592c42772ade08d57f713736%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555046634193460&sdata=BjS8q1GarTweRfMMmZOKxN%2FTQTqhtzJlm05KAtWnNTQ%3D&reserved=0> 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 10:45 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Good to hear it worked.

 

I think I am waiting on all of the mxml.api.txt files to see what else is in there that isn't in the two reports we have, then we'll have a pretty good list of the places you will either need to change in your code or that we  will build emulations for.

 

I think emulations will be less work in the end, but there will be a lot of them to do.  We will want to you to learn how to create emulations and contribute them to Apache Royale.  That's how many Apache projects work: some of the users learn how to become committers.  This will be an asset to your company as well since you will learn how to fix things in Royale yourself.  Then your company won't be dependent on outsiders for support.

 

So, Peter and I and hopefully others will get started on some emulations to make sure they work for us, and then you can see if they work for you, and then we will teach you how to write those emulations.  Over the next several months, besides testing emulations written by others in your app, you will be writing your own emulations for things you need right away that we haven't written yet, or for third-party code that you are using.

 

It might help to get some prioritization on the emulations we need to write.  In looking at the list, I am wondering:

1.	Are some charts more important than others?
2.	How important are effects?
3.	Do you use Right-to-left languages in RichTextEditor?
4.	Is RichTextEditor being used for non-plain text?  If so, what kinds of text styling is important?

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Wednesday, February 28, 2018 at 1:22 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Thank you.

It’s working with latest nightly build:

https://www.dropbox.com/s/77wkgrm74upkg0j/SHMALib%20Report.txt?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F77wkgrm74upkg0j%2FSHMALib%2520Report.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C16fa845b6d2f4efb7f4a08d57e8e9097%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636554073167111532&sdata=UV0BOZpVonw%2BILcK9njhQdf5pKpqWPccp0IKDPm4jOI%3D&reserved=0> 

 

 

Regards,

Alina

 

 

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 1:15 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Looks like COMPC collected the data but never generated the report.  I pushed a fix for that.  Please try the latest nightly build.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Tuesday, February 27, 2018 at 10:35 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Thank you

After commenting the embedded font part from source.

Output to console:

3462313 bytes written to D:\SHMALib.swc in 19.878 seconds

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"

 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\framewor

ks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\sr

c" -library-path+=D:\SHMALIB\libs

 

SHMALib.swf file Generated and Report.txt is empty 

SHMALib.swc output Link:

https://www.dropbox.com/s/4tz49sz134m2gg9/SHMALib.swc?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F4tz49sz134m2gg9%2FSHMALib.swc%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=%2FNcbTJtah21RRPeWfwg2pRaZ72hd%2BdG0iJlnH3GsA28%3D&reserved=0> 

then I change, Compc -output "D:\SHMALib.swc" to Compc -output "D:\SHMALib. txt " 

SHMALib.txt output Link:

https://www.dropbox.com/s/j38obt5e36awuh3/SHMALib.txt?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fj38obt5e36awuh3%2FSHMALib.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=V%2FcA5dJ3Fi1qOvh%2BtUlbU%2FZ%2FQ5SBfRw7psjsm2Q%2Fe8w%3D&reserved=0> 

 

Thanks,

Alina

 

 

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 11:18 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

The only error right now is the embedded font.

 

We can discuss the pros and cons of embedding images in the JS output at some other point in time.

 

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Tuesday, February 27, 2018 at 10:01 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Big Part of SHMALib Uses Embed and metadata :

 

                                // Embed the font so we can rotate it for further distortion

                                [Embed(systemFont="Comic Sans MS",

                                                                embedAsCFF='false')]

                <mx:Image y="4" width="18" height="20" right="185" source="@Embed(source='assets/default/images/load.png')"

                                                  source="@Embed(source='assets/default/images/next.gif')" scaleContent="false"/>

                <mx:Image y="4" width="18" height="20" right="3" source="@Embed(source='assets/default/images/magnifier.png')"

     * An IFrame which you can embed into Flex applications to show an HTML page.

     * @example A simple application with Google embedded

        // SWF embed object tracking

         * The SWF embed object id.

         * Get the embed object id.

        protected function resolveEmbedObjectId():void

                    var result:Object=ExternalInterface.call(IFrameExternalCalls.FUNCTION_ASK_FOR_EMBED_OBJECT_ID, randomIdentificationString.toString());

                        logger.info("Resolved the SWF embed object id to '{0}'.", applicationId);

                        logger.error('Could not resolve the SWF embed object Id.');

            // Resolve the SWF embed object id in the DOM.

            ExternalInterface.call(IFrameExternalCalls.INSERT_FUNCTION_ASK_FOR_EMBED_OBJECT_ID);

            resolveEmbedObjectId();

            logger.info("Loading IFrame with id '{0}', on SWF embed object with id '{1}'.", _frameId, applicationId);

                    FUNCTION_LOADIFRAME + " = function (frameID, iframeID, url, embedID, scrollPolicy)" +

                                      "onLoad='\"+embedID+\".\"+frameID+\"_load();' " +

        public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String = "askForEmbedObjectId";

        public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String = "askForEmbedObjectId";

        public static var INSERT_FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =

                "if (document." + FUNCTION_ASK_FOR_EMBED_OBJECT_ID + "==null)" +

                    FUNCTION_ASK_FOR_EMBED_OBJECT_ID + " = function(randomString) " + 

                            "var embeds = document.getElementsByTagName('embed'); " + 

                            "var embeds = document.getElementsByTagName('embed'); " + 

                            "for (var i = 0; i < embeds.length; i++) { " + 

                                "var isTheGoodOne = embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " + 

                                "var isTheGoodOne = embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " + 

                                    "return embeds[i].getAttribute('id'); " + 

                                 * The UITextField control for displaying embeded hints.

                                private var embedTextField:UITextField;

                                 *  The String to be shown as the embeded hint.

                                private var embedStr:String = "";

                                                                                embedStr = "MM DD YYYY";

                                                                                embedStr = "DD MM YYYY";

                                                                                embedStr = "YYYY MM DD";

                                                                                embedStr = "YYYY DD MM";

                                 *  Create child objects for displaying embeded hints.

                                                                embedTextField = new UITextField();

                                                                //embedTextField.text = embedStr;

                                                                //embedTextField.text = embedStr;

                                                                addChildAt(UITextField(embedTextField),getChildIndex(DisplayObject(textField)));//as TextField

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                                s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);

                                                                                                                                embedTextField.text = s;

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                                //s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);

                                                                                                                                //embedTextField.text = s;

                                                                                                                                s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);

                                                                                                                                embedTextField.text = s;

                                                                                // If embeded hints are displayed then update the

                                                                                // UITextField corresponding to the embeded hints

                                                                                                var s:String = embedTextField.text == null ? "":embedTextField.text;

                                                                                                var s:String = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                embedTextField.text = s;

                                                                // create the embeded text field for showing

                                                                // embeded hints if its not already created.

                                                                // If it is created, then just change the embeded hint.

                                                                if(!embedTextField)

                                                                                embedTextField = new UITextField();

                                                                                addChildAt(embedTextField,getChildIndex(DisplayObject(textField))); //as TextField

                                                                //embedTextField.text = embedStr;

                                                                //embedTextField.text = embedStr;

                                                                embedTextField.alpha = 1;

                                                                embedTextField.setTextFormat(txtFormat);

                                                                embedTextField.x = 0;

                                                                embedTextField.y = 2;

                                                                embedTextField.setActualSize(width,height);

                                                                if(embedTextField)

                                                                                embedTextField.text = "";

                                                                                embedTextField = null;

                                                // setting the color of the embeded text field to white.

                                                                if(embedTextField)

                                                                                embedTextField.setColor(0xFFFFFF);

                                                                                if(embedTextField)

                                                                                                addChildAt(DisplayObject(newSkin),getChildIndex(DisplayObject(embedTextField)));//

   background-image:                                      Embed(source="/assets/application_background.png",

                up-skin:                Embed("/assets/maximize_up.png");

                over-skin:            Embed("/assets/maximize_over.png");

                down-skin:         Embed("/assets/maximize_up.png");

                selected-up-skin:   Embed("/assets/restore_up.png");

                selected-over-skin: Embed("/assets/restore_over.png");

                selected-down-skin: Embed("/assets/restore_up.png");

                up-skin:        Embed("/assets/minimize_up.png");

                over-skin:      Embed("/assets/minimize_over.png");

                down-skin:      Embed("/assets/minimize_up.png");

                up-skin:                                Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");

                over-skin:                            Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");

                down-skin:                         Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");

                selected-up-skin:                             Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");

                selected-over-skin:                         Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");

                selected-down-skin:                      Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");

                up-skin:                                Embed("/assets/left_arrow_up.gif");

                over-skin:                            Embed("/assets/left_arrow_over.gif");

                down-skin:                         Embed("/assets/left_arrow_up.gif");

                disabled-skin:    Embed("/assets/left_arrow_disabled.gif");

                up-skin:                                Embed("/assets/right_arrow_up.gif");

                over-skin:                            Embed("/assets/right_arrow_over.gif");

                down-skin:                         Embed("/assets/right_arrow_up.gif");

                disabled-skin:    Embed("/assets/right_arrow_disabled.gif");

                                //[Embed(source="/assets/cursor_move.gif")]

                                //[Embed(source="/assets/cursor_resize.gif")]

                                [Embed(source="/assets/default/images/mouseMove.gif")]

                                [Embed(source="/assets/default/images/verticalSize.gif")]

                                [Embed(source="/assets/default/images/horizontalSize.gif")]

                                [Embed(source="/assets/default/images/leftObliqueSize.gif")]

                                [Embed(source="/assets/default/images/rightObliqueSize.gif")]

                                                if (image.isEmbedded) 

                                                //if (!Application.application.systemManager.isFontFaceEmbedded(textFormat)) 

                                                if (!FlexGlobals.topLevelApplication.systemManager.isFontFaceEmbedded(textFormat))

                                                                if (Application.application.isFontsEmbedded) {

                                                                if (Application.application.isFontsEmbedded) {

                                                                if (Application.application.isFontsEmbedded) {

                                private var _isEmbedded:Boolean = false;

                                public function set isEmbedded(embedded:Boolean):void 

                                public function set isEmbedded(embedded:Boolean):void 

                                                _isEmbedded = embedded;

                                                _isEmbedded = embedded;

                                public function get isEmbedded():Boolean 

                                                return _isEmbedded;

                                                <mx:icon>@Embed(source='images/print.GIF')</mx:icon>

                                                <mx:icon>@Embed(source='images/reload.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/first-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/first.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/previous-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/previous.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/next-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/next.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/last-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/last.GIF')</mx:icon>

                                                                                <mx:icon>@Embed(source='images/actualsize.GIF')</mx:icon>

                                                                                <mx:icon>@Embed(source='images/fitpage.GIF')</mx:icon>

                                                                                <mx:icon>@Embed(source='images/fitwidth.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/zoomin-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/zoomin.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/zoomout-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/zoomout.GIF')</mx:icon>

                                                                <mx:icon>@Embed(source='images/print.GIF')</mx:icon>

                                                if (imageSourceXml.@isEmbedded.length() > 0)

                                                                image.isEmbedded = imageSourceXml.@isEmbedded == "true";

                                                                image.isEmbedded = imageSourceXml.@isEmbedded == "true";

                 source="@Embed(source='/assets/default/images/left_arrow_up.gif')"/>

                 source="@Embed(source='/assets/default/images/left_arrow_over.gif')"/>

                 source="@Embed(source='/assets/default/images/left_arrow_disabled.gif')"/>  

                                                                                   source="@Embed(source='/com/shm/flexlib/mdi/assets/img/maximizeButton.png')"/>

                                                                                   height="12" source="@Embed(source='/com/shm/flexlib/mdi/assets/img/restoreButton.png')"/>

                                                                                   source="@Embed(source='/com/shm/flexlib/mdi/assets/img/minimizeButton.png')"/>

                 source="@Embed(source='/assets/default/images/right_arrow_up.gif')"/>

                 source="@Embed(source='/assets/default/images/right_arrow_over.gif')"/>

                 source="@Embed(source='/assets/default/images/right_arrow_disabled.gif')"/>  

 

 

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 11:00 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I think you can ignore the warnings.  The first error is for embedding a font, which Royale doesn't currently support, so for now, try commenting out the Embed metadata and see if that allows the error to go away.

 

I would look into the other errors to see if they are legitimate or not.  The Royale Compiler will catch some things the MXMLC compiler may not.  Or you could comment out the code involved in the two errors in TImeZone.as for now since that won't affect the report.

 

The final two errors I saw are for missing skin states.  I think you can just add the skin states.

 

HTH,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Tuesday, February 27, 2018 at 9:35 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

While Executing

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\src"

Or 

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\Flex\libs\SH

MALIB.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bi

n\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\

SHMALIB\src" -library-path+=D:\SHMALIB\libs

 

Error:

(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to

field java.lang.Thread.inheritableThreadLocals

WARNING: Please consider reporting this to the maintainers of com.google.common.

base.internal.Finalizer

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect

ive access operations

WARNING: All illegal access operations will be denied in a future release

Loading configuration: D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(415): col: 50 Warning:

Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="DataProviderService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(419): col: 50 Warning:

Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="BasicFormatterService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(516): col: 50 Warning: Da

ta binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="DataProviderService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(520): col: 50 Warning: Da

ta binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="BasicFormatterService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\shmCaptchaImage.as(43): col: 3 Error: Embed re

quires a 'source' file attribute

 

                [Embed(systemFont="Comic Sans MS",

                ^

 

D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(37): col: 88 Warning: Data

binding will not be able to detect assignments to 'isSelected'.

 

                                        <mx:CheckBox selectedField="isSelected"

 change="onChange(event);" selected="{data.isSelected}">

 

                                          ^

 

D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(46): col: 27 Warning: Data

binding will not be able to detect assignments to 'label'.

 

                                        <mx:Label text="{data.label}" />

                                                             ^

 

D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(126): col: 15 Error: Impli

cit coercion of a value of type Boolean to an unrelated type Number.

 

                                if(year & 0x3 == 0)

                                          ^

 

D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(134): col: 39 Error: Impli

cit coercion of a value of type Boolean to an unrelated type Number.

 

                                if(month == 1 && value.fullYear & 0x3 == 0)

                                                                  ^

 

D:\SHMALIB\src\com\shm\dashboard\renderers\GridPodURLRenderer.mxml(6): col: 23 W

arning: Data binding will not be able to detect assignments to 'SrNo'.

 

                  htmlText="&lt;u&gt;{data.SrNo}&lt;/u&gt;" color="blue" click="

f_DrillDownData(data)">

                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml Error:

The required skin state 'disabledWithPrompt' is missing.

 

 

D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml Error:

The required skin state 'normalWithPrompt' is missing.

 

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(177): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(187): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(202): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(212): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(429): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(439): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(454): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(464): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(479): col: 26 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                field="{properties.@valueField}"

 

                                                                   ^

 

D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(115): col: 74 Warning

: Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject id="roDrillDownColInfo" channelSet="{parentAppl

ication.amfChannelSet}" showBusyCursor="true"

 

       ^

 

D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(118): col: 68 Warning

: Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject id="roDgDpResult" channelSet="{parentApplicatio

n.amfChannelSet}" showBusyCursor="true"

 

 ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PieChartContent.mxml(128): col: 24 Warning

: Data binding will not be able to detect assignments to 'valueField'.

 

                                field="{properties.@valueField}"

                                                   ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 37 Warning: Dat

a binding will not be able to detect assignments to 'appParams'.

 

                                                        inputMask="{parentApplic

ation.appParams.DATE_FORMAT}" showToday="true"  yearNavigationEnabled="true"

 

     ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 47 Warning: Dat

a binding will not be able to detect assignments to 'DATE_FORMAT'.

 

                                                        inputMask="{parentApplic

ation.appParams.DATE_FORMAT}" showToday="true"  yearNavigationEnabled="true"

 

               ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 38 Warning: Dat

a binding will not be able to detect assignments to 'appParams'.

 

                                                         inputMask="{parentAppli

cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true" showToday="true"

 

      ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 48 Warning: Dat

a binding will not be able to detect assignments to 'DATE_FORMAT'.

 

                                                         inputMask="{parentAppli

cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true" showToday="true"

 

                ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(12): col: 11 Warnin

g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

 

                        import mx.graphics.Stroke;

                               ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(37): col: 23 Warnin

g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

 

                                        lne.stroke = new Stroke(0,1,.3);

                                                         ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(46): col: 14 Warnin

g: Duplicate variable definition: i.

 

                                for (var i:int = 1; i < lnWdt; i++){

                                         ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(47): col: 10 Warnin

g: Duplicate variable definition: lne.

 

                                        var lne:Line  = new Line();

                                            ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(53): col: 23 Warnin

g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

 

                                        lne.stroke = new Stroke(0,1,.3);

                                                         ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(54): col: 10 Warnin

g: Duplicate variable definition: llbe.

 

                                        var llbe:Label = new Label();

                                            ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(157): col: 40 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var xPosition:Number = Application.application.p

arent.mouseX;

                                                                   ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(158): col: 40 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var yPosition:Number = Application.application.p

arent.mouseY;

                                                                   ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(225): col: 36 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var xPlus:Number = Application.application.paren

t.mouseX - point.x;

                                                               ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(226): col: 36 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var yPlus:Number = Application.application.paren

t.mouseY - point.y;

                                                               

Thanks,

Alina Kazi

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 10:16 AM
To: Alina Kazi; users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I think that Flash Builder makes it easy to build SWCs.  Building from the command line can be a bit trickier.

 

Let's try:

Compc -output "D:\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\src"

 

HTH,

-Alex

 

 

From: Alina Kazi <al...@d-bz.com>
Date: Tuesday, February 27, 2018 at 7:28 PM
To: "users@royale.apache.org" <us...@royale.apache.org>, Alex Harui <ah...@adobe.com>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Yes I am using Flash Builder.

SHMALIB and MainFlexApp are two separate Projects

Src for SHMALIB is placed into D:/SHMALIB/src

Src for MainFlexApp is D:/Flex/src and the library output file SHMALIB.swc is placed into D:/Flex/libs

 

SHMALIB (.actionscriptProperties)

 

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<actionScriptProperties mainApplicationPath="SHMALib.as" projectUUID="863559ab-3e7b-475b-a3a4-09f4f76fc0d2" version="6">

  <compiler additionalCompilerArguments="-locale en_US" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderLocation="D:/Flex/libs" outputFolderPath="bin-debug" sourceFolderPath="src" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" verifyDigests="true" warn="true">

    <compilerSourcePath/>

    <libraryPath defaultLinkType="0">

      <libraryPathEntry kind="4" path="">

        <excludedEntries>

          <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>

        </excludedEntries>

      </libraryPathEntry>

      <libraryPathEntry kind="1" linkType="1" path="libs"/>

    </libraryPath>

    <sourceAttachmentPath/>

  </compiler>

  <applications>

    <application path="SHMALib.as"/>

  </applications>

  <modules/>

  <buildCSSFiles/>

</actionScriptProperties>

 

SHMALIB (.flexLibProperties)

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<flexLibProperties includeAllClasses="true" version="3">

  <includeClasses/>

  <includeResources/>

  <namespaceManifests/>

</flexLibProperties>

 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 9:34 PM
To: Alina Kazi
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

When you are not trying to use Royale to generate this API report, how are you building your current Flex app?  We might need to know that in order to determine what parameters to add to COMPC.

 

COMPC has additional parameters like -include–sources, include-file, include-classes.  Sometimes, these are listed in an xml file.  If you are using Flash Builder, for example, then examine the .flexlibproperties and .actionscriptProperties files in your project folder.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Date: Tuesday, February 27, 2018 at 3:21 AM
To: 'Alina Kazi' <al...@d-bz.com>
Cc: Alex Harui <ah...@adobe.com>
Subject: RE: Generating API report for Flex Web Browser application

 

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"

 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"

Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by com.google.common.base.internal.Finalizer

(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to

field java.lang.Thread.inheritableThreadLocals

WARNING: Please consider reporting this to the maintainers of com.google.common.

base.internal.Finalizer

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect

ive access operations

 

Error: nothing was specified to be included in the library.

-Alina

 

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Tuesday, February 27, 2018 2:16 PM
To: 'users@royale.apache.org'
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

I am using Moonshine IDE 1.9.0.

Flex 4.16.0

Apache Royale 0.9.2 Latest Nightly Build

 

Running this Command on Command Prompt:

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"

 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"

Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by com.google.common.base.internal.Finalizer

(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to

field java.lang.Thread.inheritableThreadLocals

WARNING: Please consider reporting this to the maintainers of com.google.common.

base.internal.Finalizer

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect

ive access operations

WARNING: All illegal access operations will be denied in a future release

 

command line Error: unknown configuration variable 'sourceΓÇôpath'.

 

-Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 1:26 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

COMPC takes a slightly different set of parameters.  What IDE or build tools are you using to build it without Royale?  You might need to know what options that build uses.

 

You can try running: 

 

Compc -output "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source–path="D:\Projects\SHMA\Main\Flex\src" or wherever the source code is for the library.

 

HTH,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, February 26, 2018 at 11:33 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

For custom SWC, I am using COMPC to get an api-report for SWC

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>compc "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml

Error: configuration variable 'output' was not set.

 

 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 12:27 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Yes, any SWC that is not in the Flex SDK's frameworks/libs folder needs to be specified as Piotr describes below.  We want you specify the same MXML file that you use to compile in the regular Flex SDK.  So if your Application.mxml starts with an mx:Application or s:Application that’s probably the one to use.  But also, if you have your own custom SWCs, we want you to use COMPC to get an api-report for those SWCs.  We want this modified Royale compiler to compile every source file you own so we can see what Flex APIs you are using.

 

HTH,

-Alex

 

From: Piotr Zarzycki <pi...@gmail.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, February 26, 2018 at 11:19 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina, 

 

In my sense you will have to use -library-path+=path to the library. You have to tell compiler about that library.

 

Thanks, Piotr

 

2018-02-27 7:57 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi  Alex,

With latest nightly build:

MaskedTextInput , shmReportUtil …. Are Library Project Actionscript Files.

Main Application contains SHMALib.swc file in Libs folder

Error Link:

https://www.dropbox.com/s/p5imt22cuut0ex6/ErrorGeneratingReport.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fp5imt22cuut0ex6%2FErrorGeneratingReport.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=8f1f9duW2Red4bP77hFTh3mLcCptBmAwd87n1iSkk%2Bs%3D&reserved=0> 

 

I have a question that which .mxml file should be used to generate that report?

Applications.mxml is startup file in case of my Project so I’m using it.

 

Please visit reference link and If I’m doing anything wrong please let me know.

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 12:00 AM


To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I pushed a fix for that.  It might or might not be related to your custom swc.  Get the latest nightly build and let us know.

 

Also, if you are successful, please use your regular compiler to generate a -link–report.  That will help us verify that the API report didn't miss anything.

 

Thanks,

-Alex

 

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, February 26, 2018 at 4:01 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Generated Report file for Sample Project Successfully.

 

spark.components.Application:minHeight,1

spark.components.Application:minWidth,1

spark.components.Application:mxmlContentFactory,2

spark.components.Label:fontSize,1

spark.components.Label:fontWeight,1

spark.components.Label:horizontalCenter,1

spark.components.Label:text,1

spark.components.Label:textAlign,1

spark.components.Label:verticalCenter,1

 

But while executing Actual Project got Error:

https://www.dropbox.com/s/d25eysllavuy5z4/compile2.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fd25eysllavuy5z4%2Fcompile2.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=2i28J4zjv1vEQ7sd%2BGfHm%2Bh1FjG%2BP3YdJCc6rGZr3C4%3D&reserved=0> 

https://www.dropbox.com/s/49iq74zk6rxcr1y/compile1.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F49iq74zk6rxcr1y%2Fcompile1.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=44tfkOscWyJ%2FH3M30HeJ6dfFE0TlpTMhQ2t%2Bv%2ByuoDg%3D&reserved=0> 

 

May be because my Application is dependent to SHMALib(.swc) Library Project (Source Shared Earlier). 

 

-Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Monday, February 26, 2018 5:02 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Alex,

 

I did above exercise for Moonshine and got NPE [1]. I used air-config.xml because it is na Desktop app.

 

[1] https://paste.apache.org/R0Si <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FR0Si&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=tFLrK9xsVt57PytwBaNoUJ%2FIPFH7FCHDtfrmJ1sAl3Y%3D&reserved=0>  

 

Thanks,

Piotr

 

 

2018-02-26 12:56 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:

Yishay,

 

Thank you so much!! I got it working.

 

Alina,

 

Here is the full instruction.

 

1) Download Apache Royale with SWF support - if you have that is good, if not it's here [1]

2) Download Apache Flex - you have it as I have seen on the screenshot.

3) Launch console and go to the Royale SDK folder

 

"yourpathtosdk\bin\" - In my case it was: "d:\Work\royale_ide\royale_nightly_js_swf\bin\"

 

4) Run following command where you will point to the Flex Browser application in order to generate report. My command looks like that:

 

mxmlc "c:\Users\piotr\Documents\NewFlexBrowserProject\src\NewFlexBrowserProject.mxml" -api-report="c:\Users\piotr\Documents\NewFlexBrowserProject\report.txt" -load-config=d:\Work\flex-sdk-4.16.1_adobe_air_28\frameworks\flex-config.xml

 

I generated report for hellow world. Maybe in order to generate report for your application that console command may be much more sophisticated. Let's see!

 

 

[1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/lastSuccessfulBuild/artifact/out/ <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2Fout%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=O%2BpVQ8OuhB%2FtE4ZdylTSkAQCWsIPBGlr9RgiTjWSWEM%3D&reserved=0> 

 

Thanks,

Piotr

 

 

2018-02-26 12:46 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:

Looks like [1] you do need to add compiler option: -api–report=<path to output file>

 

[1] http://apache-royale-users.20374.n8.nabble.com/Substitutes-in-Apache-Royale-tp392p492.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p492.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kda6SpkBgdRqGAeGJ5Db629EAy7KAVbOZKzhzhynRZk%3D&reserved=0> 

 

 

From: Piotr Zarzycki <ma...@gmail.com> 
Sent: Monday, February 26, 2018 1:37 PM


To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

I have produced with that swf, but what's next? Let's wait for Alex's response [1] 

 

[1] https://paste.apache.org/YEeG <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FYEeG&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8ameYzJ7AloOW4nTa8dqu7zYxwORSQc5sCUqpZDVA%2BY%3D&reserved=0> 

 

Thanks,

Piotr

 

2018-02-26 12:32 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:

Alex will know but I don’t think so. I haven’t updated the compiler recently so can’t test it right now. If you want to test it maybe just create a simple app and replace /Users/aharui/ApacheFlex4.16.0 with your sdk home.

 

 

 

From: Piotr Zarzycki <ma...@gmail.com> 
Sent: Monday, February 26, 2018 1:25 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Yishay, 

 

bin/mxmlc

<path to app's

.mxml

file>

-load-config=/Users/aharui/ApacheFlex4.16.0/frameworks/flex-config.xml  

 

Do I need some switch for compiler -api-report or something like that ?

 

Thanks,

Piotr

 

 

2018-02-26 12:10 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:

Wasn’t logged in. Here’s [1] the link.

 

[1] http://apache-royale-users.20374.n8.nabble.com/Substitutes-in-Apache-Royale-tp392p489.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p489.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8Tp5%2BFveKS0eoW7D8EovITPQqYrgwDK4P7cW9izXFH8%3D&reserved=0> 

 

 

From: Yishay Weiss <ma...@hotmail.com> 
Sent: Monday, February 26, 2018 12:59 PM
To: users@royale.apache.org
Subject: RE: Generating API report for Flex Web Browser application

 

I couldn’t find a way to link to a nabble post, but this [1] might help (from Substitutes in Apache Royale).

 

[1] https://paste.apache.org/N2QR <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FN2QR&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=VIS8u6EEBWN6jQrFxpttZvAfUCSSKPe3rbrBDU2w7Sg%3D&reserved=0> 

 

From: Piotr Zarzycki <ma...@gmail.com> 
Sent: Monday, February 26, 2018 12:44 PM
To: users@royale.apache.org
Subject: Generating API report for Flex Web Browser application

 

Hi Alex, 

 

I would like to understand how to generate that report. I will go with the console path, because I think this is something unusual and probably Moonshine is not prepared to do this. I'm writing this on the users mailing list because Alina is having some problems with that. I wanted to simplify all of that. Let's start from the beginning. 

 

1) I have created Flex Web browser project using Apache Flex SDK 4.16.1. 

2) I have nightly build of Royale with SWF support [1]

 

What should I type in the console now ?

 

[1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/lastSuccessfulBuild/artifact/ <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=UtYFFQ90aNB2HU2Vx4t8YAS6Eo2j1ZqVAytujEOgoFM%3D&reserved=0> 

 

Thanks,
-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 

 

 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 

 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 

 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=zGrfZ2Wj3CLuuW%2B%2BKtUSQF6762Vn0%2BeNjCMlViBMghg%3D&reserved=0> 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki


RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

Posted by Alina Kazi <al...@d-bz.com>.
Hi Piotr,

Its Working.

This XML file does not appear to have any style information associated with it. The document tree is shown below.

<metadata modelVersion="1.1.0">

<groupId>org.apache.flex.utilities.converter</groupId>

<artifactId>retrievers</artifactId>

<version>1.0.0-SNAPSHOT</version>

<versioning>

<snapshot>

<timestamp>20171112.204231</timestamp>

<buildNumber>490</buildNumber>

</snapshot>

<lastUpdated>20171112204231</lastUpdated>

<snapshotVersions>

<snapshotVersion>

<extension>pom</extension>

<value>1.0.0-20171112.204231-490</value>

<updated>20171112204231</updated>

</snapshotVersion>

</snapshotVersions>

</versioning>

</metadata>

 

Thanks,

Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Wednesday, March 07, 2018 10:48 AM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alina,

 

I just removed my whole local repository and trying exactly the same scenario. Just quick question can you try in your browser open this link ? Is it working ?

 

http://repository.apache.org/snapshots/org/apache/flex/utilities/converter/retrievers/1.0.0-SNAPSHOT/maven-metadata.xml

 

Thanks,

Piotr

 

2018-03-07 6:27 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Piotr,

Using Maven :

C:\Users\aleena>git clone https://github.com/apache/royale-typedefs.git royale-a

sjs

Cloning into 'royale-asjs'...

remote: Counting objects: 3318, done.

remote: Compressing objects: 100% (93/93), done.

remote: Total 3318 (delta 48), reused 76 (delta 16), pack-reused 3200

Receiving objects: 100% (3318/3318), 3.51 MiB | 244.00 KiB/s, done.

Resolving deltas: 100% (1337/1337), done.

 

C:\Users\aleena>cd royale-asjs

 

C:\Users\aleena\royale-asjs>git checkout develop

Already on 'develop'

Your branch is up to date with 'origin/develop'.

 

C:\Users\aleena\royale-asjs>mvn -s settings-template.xml clean install

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

maven-metadata.xml

[WARNING] Could not transfer metadata org.apache.flex.utilities.converter:flex-s

dk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from/to apache-sn

apshots (http://repository.apache.org/snapshots/): Connect to repository.apache.

org:80 [repository.apache.org/207.244.88.140] failed: Connection timed out: conn

ect

[WARNING] Failure to transfer org.apache.flex.utilities.converter:flex-sdk-conve

rter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from http://repository.ap

ache.org/snapshots/ was cached in the local repository, resolution will not be r

eattempted until the update interval of apache-snapshots has elapsed or updates

are forced. Original error: Could not transfer metadata org.apache.flex.utilitie

s.converter:flex-sdk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml

 from/to apache-snapshots (http://repository.apache.org/snapshots/): Connect to

repository.apache.org:80 [repository.apache.org/207.244.88.140] failed: Connecti

on timed out: connect

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

flex-sdk-converter-maven-extension-1.0.0-SNAPSHOT.pom

[WARNING] Failed to read extensions descriptor C:\Users\aleena\royale-asjs\.mvn\

extensions.xml: Plugin org.apache.flex.utilities.converter:flex-sdk-converter-ma

ven-extension:1.0.0-SNAPSHOT or one of its dependencies could not be resolved: F

ailed to read artifact descriptor for org.apache.flex.utilities.converter:flex-s

dk-converter-maven-extension:jar:1.0.0-SNAPSHOT

[INFO] Scanning for projects...

Downloading from apache-release: https://repository.apache.org/content/repositor

ies/releases/org/apache/apache/18/apache-18.pom

Downloading from central: https://repo.maven.apache.org/maven2/org/apache/apache

/18/apache-18.pom

[ERROR] [ERROR] Some problems were encountered while processing the POMs:

[FATAL] Non-resolvable parent POM for org.apache.royale.typedefs:royale-typedefs

-parent:0.9.2-SNAPSHOT: Could not transfer artifact org.apache:apache:pom:18 fro

m/to apache-release (https://repository.apache.org/content/repositories/releases

): Connect to repository.apache.org:443 [repository.apache.org/207.244.88.140] f

ailed: Connection timed out: connect and 'parent.relativePath' points at wrong l

ocal POM @ line 23, column 11

 @

[ERROR] The build could not read 1 project -> [Help 1]

[ERROR]

[ERROR]   The project org.apache.royale.typedefs:royale-typedefs-parent:0.9.2-SN

APSHOT (C:\Users\aleena\royale-asjs\pom.xml) has 1 error

[ERROR]     Non-resolvable parent POM for org.apache.royale.typedefs:royale-type

defs-parent:0.9.2-SNAPSHOT: Could not transfer artifact org.apache:apache:pom:18

 from/to apache-release (https://repository.apache.org/content/repositories/rele

ases): Connect to repository.apache.org:443 [repository.apache.org/207.244.88.14

0] failed: Connection timed out: connect and 'parent.relativePath' points at wro

ng local POM @ line 23, column 11 -> [Help 2]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit

ch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please rea

d the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin

gException

[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableMo

delException

 

C:\Users\aleena\royale-asjs>

 

Thanks

Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Tuesday, March 06, 2018 5:30 PM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alina,

 

You can try to go with Maven to see whether you have similar problems [1]

 

[1] https://github.com/apache/royale-asjs/wiki/Build-Apache-Royale-with-Maven

 

Thanks, Piotr

 

2018-03-06 13:12 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Alex,

Still getting same error, while executing:

C:\Users\aleena\royale-asjs>ant all

Website link is working :

http://www.antlr.org/license.html

 

could be only issue , Antlr server will be off-line ?

 

Thanks,

Alina

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Tuesday, March 06, 2018 4:38 PM
To: 'users@royale.apache.org'
Subject: RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alex,

 

We can exclude ScaleX , ScaleY,transform from our code as we are using it in our Library Project Only.

We are using “Rotation” in a PopUp Window. 

 

Can you please explain emulation ?

How do they will work?

 

Thanks,

Alina

 

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Tuesday, March 06, 2018 3:14 PM
To: 'users@royale.apache.org'
Subject: RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alex,

We are using commitProperties() in our Library Project. Overriding the Existing Spark commitProperties() method 

For Example:

ResizableTextAreaSkin.mxml (SHMALib)

override protected function commitProperties():void {

                                                super.commitProperties();

 

                                                if (lineBreakChanged) {

                                                                updateStringStyle("lineBreak");

                                                                lineBreakChanged = false;

                                                }

                                                if (paddingChanged) {

                                                                updatePadding();

                                                                paddingChanged = false;

                                                }

                                                if (verticalAlignChanged) {

                                                                updateStringStyle("verticalAlign");

                                                                verticalAlignChanged = false;

                                                }

                                }

We are using 


Package

 <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/package-detail.html> flash.display


Class

public class DisplayObject


Inheritance

DisplayObject Inheritance  <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/EventDispatcher.html> EventDispatcher Inheritance  <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Object.html> Object


Reference Link:

	

https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/DisplayObject.html

 

e.g :

                public function updateLayoutWithoutAnimation():void

                                {

                                                if(_layoutInvalid == true && layoutFunction != null)

                                                {

                                                                _layoutInvalid = false;

                                                                layoutFunction();

                                                }

 

                                                for(var aChild:* in _targets)

                                                {

                                                                var target:LayoutTarget = _targets[aChild];

                                                                var item:IFlexDisplayObject = target.item;

                                                                var m:Matrix = DisplayObject(item).transform.matrix;

 

                                                                m.tx = target.x;

                                                                m.ty = target.y;

                                                                m.a = target.scaleX;                                                                        

                                                                m.d = target.scaleY

                                                                

                                                                DisplayObject(item).alpha = target.alpha;

                                                                DisplayObject(item).transform.matrix = m;

                                                                item.setActualSize(target.unscaledWidth,target.unscaledHeight);

                                                                if(target.state == "removed")

                                                                {

                                                                                delete _targets[target.item];

                                                                                continue;

                                                                }

                                                                else

                                                                {

                                                                                target.state = "positioned"

                                                                }

                                                }

                                                stopTimer();

                                }

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, March 06, 2018 1:36 PM
To: users@royale.apache.org
Subject: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alina,

 

I'm starting on the emulation.  I've noticed that your application code appears to be calling commitProperties().  Can you tell us why?

 

Also, it looks like there are a few uses of rotation, transform, scaleX and scaleY.  What are those used for?

 

Thanks,

-Alex

 

From: Alex Harui <ah...@adobe.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 11:38 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Try again.  Sometimes the Antlr server goes off-line around this time of day.

 

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 11:12 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Using jdk1.8.0_162:

 

C:\Users\aleena\royale-asjs>ant all

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Buildfile: C:\Users\aleena\royale-asjs\build.xml

 

set.base.folder:

 

check-git:

     [echo] Checking for Git...

     [exec] git version 2.16.2.windows.1

 

get-download-folder:

 

download-all:

     [echo] Using folder C:\Users\aleena\royale-asjs/..

 

check-royale-asjs:

 

warn-before-clone:

 

check-royale-asjs:

 

clone-royale-asjs:

 

check-royale-compiler:

 

clone-royale-compiler:

 

check-royale-typedefs:

 

clone-royale-typedefs:

 

check-playerglobal-home:

 

check-air-home:

 

build-all:

 

ask-before-build-all:

    [input] This script will now download and compile lots of files.  This can t

ake several minutes.   No interaction should be required.  Press the enter key t

o continue.

 

 

sdk:

 

annotate.class:

    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-

build-tools\target\classes

    [javac] warning: [options] bootstrap class path not set in conjunction with

-source 1.5

    [javac] warning: [options] source value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] target value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] To suppress warnings about obsolete options, use

-Xlint:-options.

    [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\src\main\java\o

rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:24: warning: [serial

] serializable class AnnotateClassDeleteException has no definition of serialVer

sionUID

    [javac]     public static class AnnotateClassDeleteException extends Excepti

on

    [javac]                   ^

    [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\src\main\java\o

rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:32: warning: [serial

] serializable class AnnotateClassRenameException has no definition of serialVer

sionUID

    [javac]     public static class AnnotateClassRenameException extends Excepti

on

    [javac]                   ^

    [javac] 6 warnings

 

unknown.tree.pattern.input.output:

    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-

build-tools\target\classes

    [javac] warning: [options] bootstrap class path not set in conjunction with

-source 1.5

    [javac] warning: [options] source value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] target value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] To suppress warnings about obsolete options, use

-Xlint:-options.

    [javac] 4 warnings

 

main:

 

compiler.downloads.cache:

 

compiler.downloads:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

prepare:

     [echo] Making lib directory C:\Users\aleena\royale-compiler\compiler/lib/ex

ternal

    [mkdir] Created dir: C:\Users\aleena\royale-compiler\compiler\lib\external

 

all:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

check-dependency:

     [echo] checking for C:\Users\aleena\royale-compiler\compiler/lib/external//

antlr.jar

 

download-dependency:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

echo-project-jar:

   [delete] Deleting: C:\Users\aleena\royale-compiler\compiler\src\main\resource

s\project.properties

     [echo] ${INFO_DOWNLOADING_FILE_FROM}

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

download-apache-license:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

download-other-license:

      [get] Getting: http://www.antlr.org/license.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0> 

      [get] To: C:\Users\aleena\royale-compiler\compiler\lib\external\antlr-LICE

NSE.html

      [get] Error getting http://www.antlr.org/license.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0>  to C:\Users\aleena\r

oyale-compiler\compiler\lib\external\antlr-LICENSE.html

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

double-check-file:

     [echo] ${env.ROYALE_DOWNLOAD_CACHE}

     [echo] Need file: ${still_no_file}

 

get-from-cache-if-needed:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

fail-if-not-found:

 

BUILD FAILED

C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-compiler\build.xml:64: The following error occurred while

 executing this line:

C:\Users\aleena\royale-compiler\compiler-jburg-types\build.xml:87: The following

 error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:81: Th

e following error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:275: T

he following error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:329: T

he following error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:489: C

:\Users\aleena\royale-compiler\compiler/lib/external//antlr-LICENSE.html could n

ot be downloaded or found in cache

 

Total time: 47 seconds

 

C:\Users\aleena\royale-asjs>

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, March 06, 2018 11:55 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Please use JDK8.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 10:40 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

Java version that I am using is “9.0.1”

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, March 06, 2018 11:42 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

What version of Java are you using?  Please get a JDK7 or 8 and try that.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 10:22 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Command Prompt Output is:

C:\Users\aleena>git clone https://github.com/apache/royale-asjs.git <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs.git&data=02%7C01%7Caharui%40adobe.com%7Cdf86fa0dd25b41ffbc8108d5832f0997%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559160423949211&sdata=d9cKX4ILIQPLI5USXvAafSnrWZSgW1XHw6G4r%2B9wgsE%3D&reserved=0>  royale-asjs

Cloning into 'royale-asjs'...

remote: Counting objects: 101103, done.

remote: Compressing objects: 100% (22/22), done.

remote: Total 101103 (delta 9), reused 30 (delta 7), pack-reused 101066R

Receiving objects: 100% (101103/101103), 19.23 MiB | 208.00 KiB/s, done.

 

Resolving deltas: 100% (61584/61584), done.

Checking out files: 100% (3572/3572), done.

 

C:\Users\aleena>cd royale-asjs

 

C:\Users\aleena\royale-asjs>git checkout develop

Already on 'develop'

Your branch is up to date with 'origin/develop'.

 

C:\Users\aleena\royale-asjs>ant all

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Buildfile: C:\Users\aleena\royale-asjs\build.xml

 

set.base.folder:

 

check-git:

     [echo] Checking for Git...

     [exec] git version 2.16.2.windows.1

 

get-download-folder:

 

download-all:

     [echo] Using folder C:\Users\aleena\royale-asjs/..

 

check-royale-asjs:

 

warn-before-clone:

 

check-royale-asjs:

 

clone-royale-asjs:

 

check-royale-compiler:

 

clone-royale-compiler:

     [echo] cloning royale-compiler repo into C:\Users\aleena\royale-asjs/../roy

ale-compiler

     [exec] Cloning into 'royale-compiler'...

     [exec] Checking out files:   8% (284/3191)

     [exec] Checking out files:   9% (288/3191)   Checking out files:  10% (320/

3191)   Checking out files:  11% (352/3191)   Checking out files:  12% (383/3191

)   Checking out files:  13% (415/3191)   Checking out files:  13% (444/3191)

Checking out files:  14% (447/3191)   Checking out files:  15% (479/3191)   Chec

king out files:  16% (511/3191)   Checking out files:  17% (543/3191)   Checking

 out files:  18% (575/3191)   Checking out files:  19% (607/3191)   Checking out

 files:  20% (639/3191)   Checking out files:  20% (641/3191)   Checking out fil

es:  21% (671/3191)   Checking out files:  22% (703/3191)   Checking out files:

 23% (734/3191)   Checking out files:  24% (766/3191)   Checking out files:  25%

 (798/3191)   Checking out files:  26% (830/3191)   Checking out files:  26% (84

2/3191)   Checking out files:  27% (862/3191)   Checking out files:  28% (894/31

91)   Checking out files:  29% (926/3191)   Checking out files:  30% (958/3191)

  Checking out files:  31% (990/3191)   Checking out files:  32% (1022/3191)   C

hecking out files:  33% (1054/3191)   Checking out files:  34% (1085/3191)   Che

cking out files:  35% (1117/3191)   Checking out files:  36% (1149/3191)   Check

ing out files:  37% (1181/3191)   Checking out files:  38% (1213/3191)   Checkin

g out files:  39% (1245/3191)   Checking out files:  40% (1277/3191)   Checking

out files:  40% (1308/3191)   Checking out files:  41% (1309/3191)   Checking ou

t files:  42% (1341/3191)   Checking out files:  42% (1352/3191)   Checking out

files:  43% (1373/3191)   Checking out files:  44% (1405/3191)   Checking out fi

les:  45% (1436/3191)   Checking out files:  46% (1468/3191)   Checking out file

s:  47% (1500/3191)   Checking out files:  48% (1532/3191)   Checking out files:

  49% (1564/3191)   Checking out files:  49% (1578/3191)   Checking out files:

50% (1596/3191)   Checking out files:  51% (1628/3191)   Checking out files:  52

% (1660/3191)   Checking out files:  53% (1692/3191)   Checking out files:  54%

(1724/3191)   Checking out files:  55% (1756/3191)   Checking out files:  56% (1

787/3191)   Checking out files:  57% (1819/3191)   Checking out files:  58% (185

1/3191)   Checking out files:  59% (1883/3191)   Checking out files:  60% (1915/

3191)   Checking out files:  61% (1947/3191)   Checking out files:  62% (1979/31

91)   Checking out files:  63% (2011/3191)   Checking out files:  63% (2022/3191

)   Checking out files:  64% (2043/3191)   Checking out files:  65% (2075/3191)

  Checking out files:  66% (2107/3191)   Checking out files:  67% (2138/3191)

Checking out files:  68% (2170/3191)   Checking out files:  69% (2202/3191)   Ch

ecking out files:  70% (2234/3191)   Checking out files:  71% (2266/3191)   Chec

king out files:  72% (2298/3191)   Checking out files:  73% (2330/3191)   Checki

ng out files:  74% (2362/3191)   Checking out files:  75% (2394/3191)   Checking

 out files:  76% (2426/3191)   Checking out files:  77% (2458/3191)   Checking o

ut files:  78% (2489/3191)   Checking out files:  79% (2521/3191)   Checking out

 files:  80% (2553/3191)   Checking out files:  81% (2585/3191)   Checking out f

iles:  82% (2617/3191)   Checking out files:  83% (2649/3191)   Checking out fil

es:  83% (2679/3191)   Checking out files:  84% (2681/3191)   Checking out files

:  85% (2713/3191)   Checking out files:  86% (2745/3191)   Checking out files:

 87% (2777/3191)   Checking out files:  88% (2809/3191)   Checking out files:  8

9% (2840/3191)   Checking out files:  89% (2845/3191)   Checking out files:  90%

 (2872/3191)   Checking out files:  91% (2904/3191)   Checking out files:  92% (

2936/3191)   Checking out files:  93% (2968/3191)   Checking out files:  94% (30

00/3191)   Checking out files:  95% (3032/3191)   Checking out files:  95% (3035

/3191)   Checking out files:  96% (3064/3191)   Checking out files:  97% (3096/3

191)   Checking out files:  98% (3128/3191)   Checking out files:  99% (3160/319

1)   Checking out files: 100% (3191/3191)   Checking out files: 100% (3191/3191)

, done.

     [exec] Your branch is up to date with 'origin/develop'.

     [exec] Already on 'develop'

 

check-royale-typedefs:

 

clone-royale-typedefs:

     [echo] cloning royale-typedefs repo into C:\Users\aleena\royale-asjs/../roy

ale-typedefs

     [exec] Cloning into 'royale-typedefs'...

     [exec] Your branch is up to date with 'origin/develop'.

     [exec] Already on 'develop'

 

check-playerglobal-home:

 

check-air-home:

 

build-all:

 

ask-before-build-all:

    [input] This script will now download and compile lots of files.  This can t

ake several minutes.   No interaction should be required.  Press the enter key t

o continue.

 

sdk:

 

annotate.class:

    [mkdir] Created dir: C:\Users\aleena\royale-compiler\compiler-build-tools\ta

rget\classes

    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-

build-tools\target\classes

    [javac] warning: [options] bootstrap class path not set in conjunction with

-source 1.5

    [javac] error: Source option 1.5 is no longer supported. Use 1.6 or later.

    [javac] error: Target option 1.5 is no longer supported. Use 1.6 or later.

 

BUILD FAILED

C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-compiler\build.xml:63: The following error occurred while

 executing this line:

C:\Users\aleena\royale-compiler\compiler-build-tools\build.xml:74: Compile faile

d; see the compiler error output for details.

 

Total time: 17 minutes 59 seconds

 

C:\Users\aleena\royale-asjs>

 

Unable to Build, Please guide.

 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Friday, March 02, 2018 10:31 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I was able to download and expand the files.  I will be consolidating the data today. 

 

In order to be able to write some of these emulations, you will probably need to be able to build the framework sources.  If you haven't already, you can try cloning the royale-asjs repo and figure out how to get it to build.  You can choose Apache Maven or Apache Ant as the build tool.

 

https://github.com/apache/royale-asjs <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs&data=02%7C01%7Caharui%40adobe.com%7C3c1833c1fc9442003f2608d5832c7fe0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559149534170415&sdata=YqGTpbzoou8SilHbsTxjriIjiREaS%2FA9j6xjZYRR%2F4E%3D&reserved=0> 

 

Hopefully the instruction in the readme are sufficient.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Friday, March 2, 2018 at 12:34 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

Application API-Report link:

https://www.dropbox.com/s/swvqhly6wa0jrc5/API-Reports.rar?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fswvqhly6wa0jrc5%2FAPI-Reports.rar%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C928c248220464230f6dd08d5801a2f13%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555772324148830&sdata=9%2BsrGG41iCMIEmbtqnEbV%2BPvi1ngE9vF%2BKuqPAZ%2Bzao%3D&reserved=0> 

SHMALib Report, applications,shmDoclist,shmSetupList,AppView_EIS, AppView_ERP,shmMappingSetup, shmMappingSetupOpenDetailGrid,shmSalesInvoice, shmSalesInvoiceDetail are main API Files.

 

Regards,

Alina

 

 

 

 

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Friday, March 02, 2018 11:32 AM
To: users@royale.apache.org
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

2) We are using Effects in our Application 2-3 times 

4) We are using text styling in our Application 3-5 times 

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Friday, March 02, 2018 4:26 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

1) Interesting about Charts.  They were being used by the SWC.

2) Effects are any animations that move, resize or fade things in the UI.

3) ok

4) I'm not sure what to conclude from the screenshot.  I'm interested in how often folks use it to create text with bold, italics and other styling of text.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Thursday, March 1, 2018 at 4:24 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

600 mxml.api.txt files are generated and still in process. I will share link for files tomorrow.

After sharing my files tomorrow, If you will suggest to build  emulations. 

I will  definitely want to learn how to create emulations and contribute them to Apache Royale.  

1.We are not using Charts in our Application

2. How important are effects? (Please explain effects )

3. We are not using Right-to-left languages in RichTextEditor.

4. Is RichTextEditor being used for non-plain text?  If so, what kinds of text styling is important?

Link:https://www.dropbox.com/s/ky93eycmefm3cuu/RICHTEXTEDITOR.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fky93eycmefm3cuu%2FRICHTEXTEDITOR.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cff526ec5592c42772ade08d57f713736%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555046634193460&sdata=BjS8q1GarTweRfMMmZOKxN%2FTQTqhtzJlm05KAtWnNTQ%3D&reserved=0> 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 10:45 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Good to hear it worked.

 

I think I am waiting on all of the mxml.api.txt files to see what else is in there that isn't in the two reports we have, then we'll have a pretty good list of the places you will either need to change in your code or that we  will build emulations for.

 

I think emulations will be less work in the end, but there will be a lot of them to do.  We will want to you to learn how to create emulations and contribute them to Apache Royale.  That's how many Apache projects work: some of the users learn how to become committers.  This will be an asset to your company as well since you will learn how to fix things in Royale yourself.  Then your company won't be dependent on outsiders for support.

 

So, Peter and I and hopefully others will get started on some emulations to make sure they work for us, and then you can see if they work for you, and then we will teach you how to write those emulations.  Over the next several months, besides testing emulations written by others in your app, you will be writing your own emulations for things you need right away that we haven't written yet, or for third-party code that you are using.

 

It might help to get some prioritization on the emulations we need to write.  In looking at the list, I am wondering:

1.	Are some charts more important than others?
2.	How important are effects?
3.	Do you use Right-to-left languages in RichTextEditor?
4.	Is RichTextEditor being used for non-plain text?  If so, what kinds of text styling is important?

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Wednesday, February 28, 2018 at 1:22 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Thank you.

It’s working with latest nightly build:

https://www.dropbox.com/s/77wkgrm74upkg0j/SHMALib%20Report.txt?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F77wkgrm74upkg0j%2FSHMALib%2520Report.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C16fa845b6d2f4efb7f4a08d57e8e9097%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636554073167111532&sdata=UV0BOZpVonw%2BILcK9njhQdf5pKpqWPccp0IKDPm4jOI%3D&reserved=0> 

 

 

Regards,

Alina

 

 

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 1:15 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Looks like COMPC collected the data but never generated the report.  I pushed a fix for that.  Please try the latest nightly build.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Tuesday, February 27, 2018 at 10:35 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Thank you

After commenting the embedded font part from source.

Output to console:

3462313 bytes written to D:\SHMALib.swc in 19.878 seconds

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"

 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\framewor

ks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\sr

c" -library-path+=D:\SHMALIB\libs

 

SHMALib.swf file Generated and Report.txt is empty 

SHMALib.swc output Link:

https://www.dropbox.com/s/4tz49sz134m2gg9/SHMALib.swc?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F4tz49sz134m2gg9%2FSHMALib.swc%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=%2FNcbTJtah21RRPeWfwg2pRaZ72hd%2BdG0iJlnH3GsA28%3D&reserved=0> 

then I change, Compc -output "D:\SHMALib.swc" to Compc -output "D:\SHMALib. txt " 

SHMALib.txt output Link:

https://www.dropbox.com/s/j38obt5e36awuh3/SHMALib.txt?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fj38obt5e36awuh3%2FSHMALib.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=V%2FcA5dJ3Fi1qOvh%2BtUlbU%2FZ%2FQ5SBfRw7psjsm2Q%2Fe8w%3D&reserved=0> 

 

Thanks,

Alina

 

 

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 11:18 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

The only error right now is the embedded font.

 

We can discuss the pros and cons of embedding images in the JS output at some other point in time.

 

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Tuesday, February 27, 2018 at 10:01 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Big Part of SHMALib Uses Embed and metadata :

 

                                // Embed the font so we can rotate it for further distortion

                                [Embed(systemFont="Comic Sans MS",

                                                                embedAsCFF='false')]

                <mx:Image y="4" width="18" height="20" right="185" source="@Embed(source='assets/default/images/load.png')"

                                                  source="@Embed(source='assets/default/images/next.gif')" scaleContent="false"/>

                <mx:Image y="4" width="18" height="20" right="3" source="@Embed(source='assets/default/images/magnifier.png')"

     * An IFrame which you can embed into Flex applications to show an HTML page.

     * @example A simple application with Google embedded

        // SWF embed object tracking

         * The SWF embed object id.

         * Get the embed object id.

        protected function resolveEmbedObjectId():void

                    var result:Object=ExternalInterface.call(IFrameExternalCalls.FUNCTION_ASK_FOR_EMBED_OBJECT_ID, randomIdentificationString.toString());

                        logger.info("Resolved the SWF embed object id to '{0}'.", applicationId);

                        logger.error('Could not resolve the SWF embed object Id.');

            // Resolve the SWF embed object id in the DOM.

            ExternalInterface.call(IFrameExternalCalls.INSERT_FUNCTION_ASK_FOR_EMBED_OBJECT_ID);

            resolveEmbedObjectId();

            logger.info("Loading IFrame with id '{0}', on SWF embed object with id '{1}'.", _frameId, applicationId);

                    FUNCTION_LOADIFRAME + " = function (frameID, iframeID, url, embedID, scrollPolicy)" +

                                      "onLoad='\"+embedID+\".\"+frameID+\"_load();' " +

        public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String = "askForEmbedObjectId";

        public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String = "askForEmbedObjectId";

        public static var INSERT_FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =

                "if (document." + FUNCTION_ASK_FOR_EMBED_OBJECT_ID + "==null)" +

                    FUNCTION_ASK_FOR_EMBED_OBJECT_ID + " = function(randomString) " + 

                            "var embeds = document.getElementsByTagName('embed'); " + 

                            "var embeds = document.getElementsByTagName('embed'); " + 

                            "for (var i = 0; i < embeds.length; i++) { " + 

                                "var isTheGoodOne = embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " + 

                                "var isTheGoodOne = embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " + 

                                    "return embeds[i].getAttribute('id'); " + 

                                 * The UITextField control for displaying embeded hints.

                                private var embedTextField:UITextField;

                                 *  The String to be shown as the embeded hint.

                                private var embedStr:String = "";

                                                                                embedStr = "MM DD YYYY";

                                                                                embedStr = "DD MM YYYY";

                                                                                embedStr = "YYYY MM DD";

                                                                                embedStr = "YYYY DD MM";

                                 *  Create child objects for displaying embeded hints.

                                                                embedTextField = new UITextField();

                                                                //embedTextField.text = embedStr;

                                                                //embedTextField.text = embedStr;

                                                                addChildAt(UITextField(embedTextField),getChildIndex(DisplayObject(textField)));//as TextField

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                                s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);

                                                                                                                                embedTextField.text = s;

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                                //s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);

                                                                                                                                //embedTextField.text = s;

                                                                                                                                s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);

                                                                                                                                embedTextField.text = s;

                                                                                // If embeded hints are displayed then update the

                                                                                // UITextField corresponding to the embeded hints

                                                                                                var s:String = embedTextField.text == null ? "":embedTextField.text;

                                                                                                var s:String = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                embedTextField.text = s;

                                                                // create the embeded text field for showing

                                                                // embeded hints if its not already created.

                                                                // If it is created, then just change the embeded hint.

                                                                if(!embedTextField)

                                                                                embedTextField = new UITextField();

                                                                                addChildAt(embedTextField,getChildIndex(DisplayObject(textField))); //as TextField

                                                                //embedTextField.text = embedStr;

                                                                //embedTextField.text = embedStr;

                                                                embedTextField.alpha = 1;

                                                                embedTextField.setTextFormat(txtFormat);

                                                                embedTextField.x = 0;

                                                                embedTextField.y = 2;

                                                                embedTextField.setActualSize(width,height);

                                                                if(embedTextField)

                                                                                embedTextField.text = "";

                                                                                embedTextField = null;

                                                // setting the color of the embeded text field to white.

                                                                if(embedTextField)

                                                                                embedTextField.setColor(0xFFFFFF);

                                                                                if(embedTextField)

                                                                                                addChildAt(DisplayObject(newSkin),getChildIndex(DisplayObject(embedTextField)));//

   background-image:                                      Embed(source="/assets/application_background.png",

                up-skin:                Embed("/assets/maximize_up.png");

                over-skin:            Embed("/assets/maximize_over.png");

                down-skin:         Embed("/assets/maximize_up.png");

                selected-up-skin:   Embed("/assets/restore_up.png");

                selected-over-skin: Embed("/assets/restore_over.png");

                selected-down-skin: Embed("/assets/restore_up.png");

                up-skin:        Embed("/assets/minimize_up.png");

                over-skin:      Embed("/assets/minimize_over.png");

                down-skin:      Embed("/assets/minimize_up.png");

                up-skin:                                Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");

                over-skin:                            Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");

                down-skin:                         Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");

                selected-up-skin:                             Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");

                selected-over-skin:                         Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");

                selected-down-skin:                      Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");

                up-skin:                                Embed("/assets/left_arrow_up.gif");

                over-skin:                            Embed("/assets/left_arrow_over.gif");

                down-skin:                         Embed("/assets/left_arrow_up.gif");

                disabled-skin:    Embed("/assets/left_arrow_disabled.gif");

                up-skin:                                Embed("/assets/right_arrow_up.gif");

                over-skin:                            Embed("/assets/right_arrow_over.gif");

                down-skin:                         Embed("/assets/right_arrow_up.gif");

                disabled-skin:    Embed("/assets/right_arrow_disabled.gif");

                                //[Embed(source="/assets/cursor_move.gif")]

                                //[Embed(source="/assets/cursor_resize.gif")]

                                [Embed(source="/assets/default/images/mouseMove.gif")]

                                [Embed(source="/assets/default/images/verticalSize.gif")]

                                [Embed(source="/assets/default/images/horizontalSize.gif")]

                                [Embed(source="/assets/default/images/leftObliqueSize.gif")]

                                [Embed(source="/assets/default/images/rightObliqueSize.gif")]

                                                if (image.isEmbedded) 

                                                //if (!Application.application.systemManager.isFontFaceEmbedded(textFormat)) 

                                                if (!FlexGlobals.topLevelApplication.systemManager.isFontFaceEmbedded(textFormat))

                                                                if (Application.application.isFontsEmbedded) {

                                                                if (Application.application.isFontsEmbedded) {

                                                                if (Application.application.isFontsEmbedded) {

                                private var _isEmbedded:Boolean = false;

                                public function set isEmbedded(embedded:Boolean):void 

                                public function set isEmbedded(embedded:Boolean):void 

                                                _isEmbedded = embedded;

                                                _isEmbedded = embedded;

                                public function get isEmbedded():Boolean 

                                                return _isEmbedded;

                                                <mx:icon>@Embed(source='images/print.GIF')</mx:icon>

                                                <mx:icon>@Embed(source='images/reload.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/first-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/first.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/previous-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/previous.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/next-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/next.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/last-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/last.GIF')</mx:icon>

                                                                                <mx:icon>@Embed(source='images/actualsize.GIF')</mx:icon>

                                                                                <mx:icon>@Embed(source='images/fitpage.GIF')</mx:icon>

                                                                                <mx:icon>@Embed(source='images/fitwidth.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/zoomin-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/zoomin.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/zoomout-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/zoomout.GIF')</mx:icon>

                                                                <mx:icon>@Embed(source='images/print.GIF')</mx:icon>

                                                if (imageSourceXml.@isEmbedded.length() > 0)

                                                                image.isEmbedded = imageSourceXml.@isEmbedded == "true";

                                                                image.isEmbedded = imageSourceXml.@isEmbedded == "true";

                 source="@Embed(source='/assets/default/images/left_arrow_up.gif')"/>

                 source="@Embed(source='/assets/default/images/left_arrow_over.gif')"/>

                 source="@Embed(source='/assets/default/images/left_arrow_disabled.gif')"/>  

                                                                                   source="@Embed(source='/com/shm/flexlib/mdi/assets/img/maximizeButton.png')"/>

                                                                                   height="12" source="@Embed(source='/com/shm/flexlib/mdi/assets/img/restoreButton.png')"/>

                                                                                   source="@Embed(source='/com/shm/flexlib/mdi/assets/img/minimizeButton.png')"/>

                 source="@Embed(source='/assets/default/images/right_arrow_up.gif')"/>

                 source="@Embed(source='/assets/default/images/right_arrow_over.gif')"/>

                 source="@Embed(source='/assets/default/images/right_arrow_disabled.gif')"/>  

 

 

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 11:00 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I think you can ignore the warnings.  The first error is for embedding a font, which Royale doesn't currently support, so for now, try commenting out the Embed metadata and see if that allows the error to go away.

 

I would look into the other errors to see if they are legitimate or not.  The Royale Compiler will catch some things the MXMLC compiler may not.  Or you could comment out the code involved in the two errors in TImeZone.as for now since that won't affect the report.

 

The final two errors I saw are for missing skin states.  I think you can just add the skin states.

 

HTH,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Tuesday, February 27, 2018 at 9:35 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

While Executing

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\src"

Or 

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\Flex\libs\SH

MALIB.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bi

n\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\

SHMALIB\src" -library-path+=D:\SHMALIB\libs

 

Error:

(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to

field java.lang.Thread.inheritableThreadLocals

WARNING: Please consider reporting this to the maintainers of com.google.common.

base.internal.Finalizer

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect

ive access operations

WARNING: All illegal access operations will be denied in a future release

Loading configuration: D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(415): col: 50 Warning:

Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="DataProviderService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(419): col: 50 Warning:

Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="BasicFormatterService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(516): col: 50 Warning: Da

ta binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="DataProviderService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(520): col: 50 Warning: Da

ta binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="BasicFormatterService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\shmCaptchaImage.as(43): col: 3 Error: Embed re

quires a 'source' file attribute

 

                [Embed(systemFont="Comic Sans MS",

                ^

 

D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(37): col: 88 Warning: Data

binding will not be able to detect assignments to 'isSelected'.

 

                                        <mx:CheckBox selectedField="isSelected"

 change="onChange(event);" selected="{data.isSelected}">

 

                                          ^

 

D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(46): col: 27 Warning: Data

binding will not be able to detect assignments to 'label'.

 

                                        <mx:Label text="{data.label}" />

                                                             ^

 

D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(126): col: 15 Error: Impli

cit coercion of a value of type Boolean to an unrelated type Number.

 

                                if(year & 0x3 == 0)

                                          ^

 

D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(134): col: 39 Error: Impli

cit coercion of a value of type Boolean to an unrelated type Number.

 

                                if(month == 1 && value.fullYear & 0x3 == 0)

                                                                  ^

 

D:\SHMALIB\src\com\shm\dashboard\renderers\GridPodURLRenderer.mxml(6): col: 23 W

arning: Data binding will not be able to detect assignments to 'SrNo'.

 

                  htmlText="&lt;u&gt;{data.SrNo}&lt;/u&gt;" color="blue" click="

f_DrillDownData(data)">

                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml Error:

The required skin state 'disabledWithPrompt' is missing.

 

 

D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml Error:

The required skin state 'normalWithPrompt' is missing.

 

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(177): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(187): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(202): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(212): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(429): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(439): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(454): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(464): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(479): col: 26 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                field="{properties.@valueField}"

 

                                                                   ^

 

D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(115): col: 74 Warning

: Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject id="roDrillDownColInfo" channelSet="{parentAppl

ication.amfChannelSet}" showBusyCursor="true"

 

       ^

 

D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(118): col: 68 Warning

: Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject id="roDgDpResult" channelSet="{parentApplicatio

n.amfChannelSet}" showBusyCursor="true"

 

 ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PieChartContent.mxml(128): col: 24 Warning

: Data binding will not be able to detect assignments to 'valueField'.

 

                                field="{properties.@valueField}"

                                                   ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 37 Warning: Dat

a binding will not be able to detect assignments to 'appParams'.

 

                                                        inputMask="{parentApplic

ation.appParams.DATE_FORMAT}" showToday="true"  yearNavigationEnabled="true"

 

     ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 47 Warning: Dat

a binding will not be able to detect assignments to 'DATE_FORMAT'.

 

                                                        inputMask="{parentApplic

ation.appParams.DATE_FORMAT}" showToday="true"  yearNavigationEnabled="true"

 

               ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 38 Warning: Dat

a binding will not be able to detect assignments to 'appParams'.

 

                                                         inputMask="{parentAppli

cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true" showToday="true"

 

      ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 48 Warning: Dat

a binding will not be able to detect assignments to 'DATE_FORMAT'.

 

                                                         inputMask="{parentAppli

cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true" showToday="true"

 

                ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(12): col: 11 Warnin

g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

 

                        import mx.graphics.Stroke;

                               ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(37): col: 23 Warnin

g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

 

                                        lne.stroke = new Stroke(0,1,.3);

                                                         ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(46): col: 14 Warnin

g: Duplicate variable definition: i.

 

                                for (var i:int = 1; i < lnWdt; i++){

                                         ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(47): col: 10 Warnin

g: Duplicate variable definition: lne.

 

                                        var lne:Line  = new Line();

                                            ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(53): col: 23 Warnin

g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

 

                                        lne.stroke = new Stroke(0,1,.3);

                                                         ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(54): col: 10 Warnin

g: Duplicate variable definition: llbe.

 

                                        var llbe:Label = new Label();

                                            ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(157): col: 40 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var xPosition:Number = Application.application.p

arent.mouseX;

                                                                   ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(158): col: 40 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var yPosition:Number = Application.application.p

arent.mouseY;

                                                                   ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(225): col: 36 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var xPlus:Number = Application.application.paren

t.mouseX - point.x;

                                                               ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(226): col: 36 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var yPlus:Number = Application.application.paren

t.mouseY - point.y;

                                                               

Thanks,

Alina Kazi

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 10:16 AM
To: Alina Kazi; users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I think that Flash Builder makes it easy to build SWCs.  Building from the command line can be a bit trickier.

 

Let's try:

Compc -output "D:\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\src"

 

HTH,

-Alex

 

 

From: Alina Kazi <al...@d-bz.com>
Date: Tuesday, February 27, 2018 at 7:28 PM
To: "users@royale.apache.org" <us...@royale.apache.org>, Alex Harui <ah...@adobe.com>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Yes I am using Flash Builder.

SHMALIB and MainFlexApp are two separate Projects

Src for SHMALIB is placed into D:/SHMALIB/src

Src for MainFlexApp is D:/Flex/src and the library output file SHMALIB.swc is placed into D:/Flex/libs

 

SHMALIB (.actionscriptProperties)

 

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<actionScriptProperties mainApplicationPath="SHMALib.as" projectUUID="863559ab-3e7b-475b-a3a4-09f4f76fc0d2" version="6">

  <compiler additionalCompilerArguments="-locale en_US" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderLocation="D:/Flex/libs" outputFolderPath="bin-debug" sourceFolderPath="src" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" verifyDigests="true" warn="true">

    <compilerSourcePath/>

    <libraryPath defaultLinkType="0">

      <libraryPathEntry kind="4" path="">

        <excludedEntries>

          <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>

        </excludedEntries>

      </libraryPathEntry>

      <libraryPathEntry kind="1" linkType="1" path="libs"/>

    </libraryPath>

    <sourceAttachmentPath/>

  </compiler>

  <applications>

    <application path="SHMALib.as"/>

  </applications>

  <modules/>

  <buildCSSFiles/>

</actionScriptProperties>

 

SHMALIB (.flexLibProperties)

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<flexLibProperties includeAllClasses="true" version="3">

  <includeClasses/>

  <includeResources/>

  <namespaceManifests/>

</flexLibProperties>

 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 9:34 PM
To: Alina Kazi
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

When you are not trying to use Royale to generate this API report, how are you building your current Flex app?  We might need to know that in order to determine what parameters to add to COMPC.

 

COMPC has additional parameters like -include–sources, include-file, include-classes.  Sometimes, these are listed in an xml file.  If you are using Flash Builder, for example, then examine the .flexlibproperties and .actionscriptProperties files in your project folder.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Date: Tuesday, February 27, 2018 at 3:21 AM
To: 'Alina Kazi' <al...@d-bz.com>
Cc: Alex Harui <ah...@adobe.com>
Subject: RE: Generating API report for Flex Web Browser application

 

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"

 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"

Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by com.google.common.base.internal.Finalizer

(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to

field java.lang.Thread.inheritableThreadLocals

WARNING: Please consider reporting this to the maintainers of com.google.common.

base.internal.Finalizer

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect

ive access operations

 

Error: nothing was specified to be included in the library.

-Alina

 

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Tuesday, February 27, 2018 2:16 PM
To: 'users@royale.apache.org'
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

I am using Moonshine IDE 1.9.0.

Flex 4.16.0

Apache Royale 0.9.2 Latest Nightly Build

 

Running this Command on Command Prompt:

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"

 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"

Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by com.google.common.base.internal.Finalizer

(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to

field java.lang.Thread.inheritableThreadLocals

WARNING: Please consider reporting this to the maintainers of com.google.common.

base.internal.Finalizer

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect

ive access operations

WARNING: All illegal access operations will be denied in a future release

 

command line Error: unknown configuration variable 'sourceΓÇôpath'.

 

-Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 1:26 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

COMPC takes a slightly different set of parameters.  What IDE or build tools are you using to build it without Royale?  You might need to know what options that build uses.

 

You can try running: 

 

Compc -output "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source–path="D:\Projects\SHMA\Main\Flex\src" or wherever the source code is for the library.

 

HTH,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, February 26, 2018 at 11:33 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

For custom SWC, I am using COMPC to get an api-report for SWC

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>compc "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml

Error: configuration variable 'output' was not set.

 

 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 12:27 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Yes, any SWC that is not in the Flex SDK's frameworks/libs folder needs to be specified as Piotr describes below.  We want you specify the same MXML file that you use to compile in the regular Flex SDK.  So if your Application.mxml starts with an mx:Application or s:Application that’s probably the one to use.  But also, if you have your own custom SWCs, we want you to use COMPC to get an api-report for those SWCs.  We want this modified Royale compiler to compile every source file you own so we can see what Flex APIs you are using.

 

HTH,

-Alex

 

From: Piotr Zarzycki <pi...@gmail.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, February 26, 2018 at 11:19 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina, 

 

In my sense you will have to use -library-path+=path to the library. You have to tell compiler about that library.

 

Thanks, Piotr

 

2018-02-27 7:57 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi  Alex,

With latest nightly build:

MaskedTextInput , shmReportUtil …. Are Library Project Actionscript Files.

Main Application contains SHMALib.swc file in Libs folder

Error Link:

https://www.dropbox.com/s/p5imt22cuut0ex6/ErrorGeneratingReport.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fp5imt22cuut0ex6%2FErrorGeneratingReport.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=8f1f9duW2Red4bP77hFTh3mLcCptBmAwd87n1iSkk%2Bs%3D&reserved=0> 

 

I have a question that which .mxml file should be used to generate that report?

Applications.mxml is startup file in case of my Project so I’m using it.

 

Please visit reference link and If I’m doing anything wrong please let me know.

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 12:00 AM


To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I pushed a fix for that.  It might or might not be related to your custom swc.  Get the latest nightly build and let us know.

 

Also, if you are successful, please use your regular compiler to generate a -link–report.  That will help us verify that the API report didn't miss anything.

 

Thanks,

-Alex

 

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, February 26, 2018 at 4:01 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Generated Report file for Sample Project Successfully.

 

spark.components.Application:minHeight,1

spark.components.Application:minWidth,1

spark.components.Application:mxmlContentFactory,2

spark.components.Label:fontSize,1

spark.components.Label:fontWeight,1

spark.components.Label:horizontalCenter,1

spark.components.Label:text,1

spark.components.Label:textAlign,1

spark.components.Label:verticalCenter,1

 

But while executing Actual Project got Error:

https://www.dropbox.com/s/d25eysllavuy5z4/compile2.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fd25eysllavuy5z4%2Fcompile2.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=2i28J4zjv1vEQ7sd%2BGfHm%2Bh1FjG%2BP3YdJCc6rGZr3C4%3D&reserved=0> 

https://www.dropbox.com/s/49iq74zk6rxcr1y/compile1.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F49iq74zk6rxcr1y%2Fcompile1.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=44tfkOscWyJ%2FH3M30HeJ6dfFE0TlpTMhQ2t%2Bv%2ByuoDg%3D&reserved=0> 

 

May be because my Application is dependent to SHMALib(.swc) Library Project (Source Shared Earlier). 

 

-Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Monday, February 26, 2018 5:02 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Alex,

 

I did above exercise for Moonshine and got NPE [1]. I used air-config.xml because it is na Desktop app.

 

[1] https://paste.apache.org/R0Si <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FR0Si&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=tFLrK9xsVt57PytwBaNoUJ%2FIPFH7FCHDtfrmJ1sAl3Y%3D&reserved=0>  

 

Thanks,

Piotr

 

 

2018-02-26 12:56 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:

Yishay,

 

Thank you so much!! I got it working.

 

Alina,

 

Here is the full instruction.

 

1) Download Apache Royale with SWF support - if you have that is good, if not it's here [1]

2) Download Apache Flex - you have it as I have seen on the screenshot.

3) Launch console and go to the Royale SDK folder

 

"yourpathtosdk\bin\" - In my case it was: "d:\Work\royale_ide\royale_nightly_js_swf\bin\"

 

4) Run following command where you will point to the Flex Browser application in order to generate report. My command looks like that:

 

mxmlc "c:\Users\piotr\Documents\NewFlexBrowserProject\src\NewFlexBrowserProject.mxml" -api-report="c:\Users\piotr\Documents\NewFlexBrowserProject\report.txt" -load-config=d:\Work\flex-sdk-4.16.1_adobe_air_28\frameworks\flex-config.xml

 

I generated report for hellow world. Maybe in order to generate report for your application that console command may be much more sophisticated. Let's see!

 

 

[1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/lastSuccessfulBuild/artifact/out/ <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2Fout%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=O%2BpVQ8OuhB%2FtE4ZdylTSkAQCWsIPBGlr9RgiTjWSWEM%3D&reserved=0> 

 

Thanks,

Piotr

 

 

2018-02-26 12:46 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:

Looks like [1] you do need to add compiler option: -api–report=<path to output file>

 

[1] http://apache-royale-users.20374.n8.nabble.com/Substitutes-in-Apache-Royale-tp392p492.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p492.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kda6SpkBgdRqGAeGJ5Db629EAy7KAVbOZKzhzhynRZk%3D&reserved=0> 

 

 

From: Piotr Zarzycki <ma...@gmail.com> 
Sent: Monday, February 26, 2018 1:37 PM


To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

I have produced with that swf, but what's next? Let's wait for Alex's response [1] 

 

[1] https://paste.apache.org/YEeG <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FYEeG&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8ameYzJ7AloOW4nTa8dqu7zYxwORSQc5sCUqpZDVA%2BY%3D&reserved=0> 

 

Thanks,

Piotr

 

2018-02-26 12:32 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:

Alex will know but I don’t think so. I haven’t updated the compiler recently so can’t test it right now. If you want to test it maybe just create a simple app and replace /Users/aharui/ApacheFlex4.16.0 with your sdk home.

 

 

 

From: Piotr Zarzycki <ma...@gmail.com> 
Sent: Monday, February 26, 2018 1:25 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Yishay, 

 

bin/mxmlc

<path to app's

.mxml

file>

-load-config=/Users/aharui/ApacheFlex4.16.0/frameworks/flex-config.xml  

 

Do I need some switch for compiler -api-report or something like that ?

 

Thanks,

Piotr

 

 

2018-02-26 12:10 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:

Wasn’t logged in. Here’s [1] the link.

 

[1] http://apache-royale-users.20374.n8.nabble.com/Substitutes-in-Apache-Royale-tp392p489.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p489.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8Tp5%2BFveKS0eoW7D8EovITPQqYrgwDK4P7cW9izXFH8%3D&reserved=0> 

 

 

From: Yishay Weiss <ma...@hotmail.com> 
Sent: Monday, February 26, 2018 12:59 PM
To: users@royale.apache.org
Subject: RE: Generating API report for Flex Web Browser application

 

I couldn’t find a way to link to a nabble post, but this [1] might help (from Substitutes in Apache Royale).

 

[1] https://paste.apache.org/N2QR <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FN2QR&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=VIS8u6EEBWN6jQrFxpttZvAfUCSSKPe3rbrBDU2w7Sg%3D&reserved=0> 

 

From: Piotr Zarzycki <ma...@gmail.com> 
Sent: Monday, February 26, 2018 12:44 PM
To: users@royale.apache.org
Subject: Generating API report for Flex Web Browser application

 

Hi Alex, 

 

I would like to understand how to generate that report. I will go with the console path, because I think this is something unusual and probably Moonshine is not prepared to do this. I'm writing this on the users mailing list because Alina is having some problems with that. I wanted to simplify all of that. Let's start from the beginning. 

 

1) I have created Flex Web browser project using Apache Flex SDK 4.16.1. 

2) I have nightly build of Royale with SWF support [1]

 

What should I type in the console now ?

 

[1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/lastSuccessfulBuild/artifact/ <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=UtYFFQ90aNB2HU2Vx4t8YAS6Eo2j1ZqVAytujEOgoFM%3D&reserved=0> 

 

Thanks,
-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 

 

 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 

 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 

 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=zGrfZ2Wj3CLuuW%2B%2BKtUSQF6762Vn0%2BeNjCMlViBMghg%3D&reserved=0> 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki


RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

Posted by Alina Kazi <al...@d-bz.com>.
Hi Piotr,

 

ROYALE_HOME environment variable is set to D:\royale-asjs that is the path for installed latest nightly build. This could be the reason ?

 

Thanks,

Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Wednesday, March 07, 2018 10:56 AM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Please try again build. Maybe it was some temporary problem. My build is running right now without the problem. Maven downloading dependencies nicely.

 

Thanks, Piotr

 

2018-03-07 6:39 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Piotr,

Its Working.

This XML file does not appear to have any style information associated with it. The document tree is shown below.

<metadata modelVersion="1.1.0">

<groupId>org.apache.flex.utilities.converter</groupId>

<artifactId>retrievers</artifactId>

<version>1.0.0-SNAPSHOT</version>

<versioning>

<snapshot>

<timestamp>20171112.204231</timestamp>

<buildNumber>490</buildNumber>

</snapshot>

<lastUpdated>20171112204231</lastUpdated>

<snapshotVersions>

<snapshotVersion>

<extension>pom</extension>

<value>1.0.0-20171112.204231-490</value>

<updated>20171112204231</updated>

</snapshotVersion>

</snapshotVersions>

</versioning>

</metadata>

 

Thanks,

Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Wednesday, March 07, 2018 10:48 AM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alina,

 

I just removed my whole local repository and trying exactly the same scenario. Just quick question can you try in your browser open this link ? Is it working ?

 

http://repository.apache.org/snapshots/org/apache/flex/utilities/converter/retrievers/1.0.0-SNAPSHOT/maven-metadata.xml

 

Thanks,

Piotr

 

2018-03-07 6:27 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Piotr,

Using Maven :

C:\Users\aleena>git clone https://github.com/apache/royale-typedefs.git royale-a

sjs

Cloning into 'royale-asjs'...

remote: Counting objects: 3318, done.

remote: Compressing objects: 100% (93/93), done.

remote: Total 3318 (delta 48), reused 76 (delta 16), pack-reused 3200

Receiving objects: 100% (3318/3318), 3.51 MiB | 244.00 KiB/s, done.

Resolving deltas: 100% (1337/1337), done.

 

C:\Users\aleena>cd royale-asjs

 

C:\Users\aleena\royale-asjs>git checkout develop

Already on 'develop'

Your branch is up to date with 'origin/develop'.

 

C:\Users\aleena\royale-asjs>mvn -s settings-template.xml clean install

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

maven-metadata.xml

[WARNING] Could not transfer metadata org.apache.flex.utilities.converter:flex-s

dk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from/to apache-sn

apshots (http://repository.apache.org/snapshots/): Connect to repository.apache.

org:80 [repository.apache.org/207.244.88.140] failed: Connection timed out: conn

ect

[WARNING] Failure to transfer org.apache.flex.utilities.converter:flex-sdk-conve

rter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from http://repository.ap

ache.org/snapshots/ was cached in the local repository, resolution will not be r

eattempted until the update interval of apache-snapshots has elapsed or updates

are forced. Original error: Could not transfer metadata org.apache.flex.utilitie

s.converter:flex-sdk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml

 from/to apache-snapshots (http://repository.apache.org/snapshots/): Connect to

repository.apache.org:80 [repository.apache.org/207.244.88.140] failed: Connecti

on timed out: connect

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

flex-sdk-converter-maven-extension-1.0.0-SNAPSHOT.pom

[WARNING] Failed to read extensions descriptor C:\Users\aleena\royale-asjs\.mvn\

extensions.xml: Plugin org.apache.flex.utilities.converter:flex-sdk-converter-ma

ven-extension:1.0.0-SNAPSHOT or one of its dependencies could not be resolved: F

ailed to read artifact descriptor for org.apache.flex.utilities.converter:flex-s

dk-converter-maven-extension:jar:1.0.0-SNAPSHOT

[INFO] Scanning for projects...

Downloading from apache-release: https://repository.apache.org/content/repositor

ies/releases/org/apache/apache/18/apache-18.pom

Downloading from central: https://repo.maven.apache.org/maven2/org/apache/apache

/18/apache-18.pom

[ERROR] [ERROR] Some problems were encountered while processing the POMs:

[FATAL] Non-resolvable parent POM for org.apache.royale.typedefs:royale-typedefs

-parent:0.9.2-SNAPSHOT: Could not transfer artifact org.apache:apache:pom:18 fro

m/to apache-release (https://repository.apache.org/content/repositories/releases

): Connect to repository.apache.org:443 [repository.apache.org/207.244.88.140] f

ailed: Connection timed out: connect and 'parent.relativePath' points at wrong l

ocal POM @ line 23, column 11

 @

[ERROR] The build could not read 1 project -> [Help 1]

[ERROR]

[ERROR]   The project org.apache.royale.typedefs:royale-typedefs-parent:0.9.2-SN

APSHOT (C:\Users\aleena\royale-asjs\pom.xml) has 1 error

[ERROR]     Non-resolvable parent POM for org.apache.royale.typedefs:royale-type

defs-parent:0.9.2-SNAPSHOT: Could not transfer artifact org.apache:apache:pom:18

 from/to apache-release (https://repository.apache.org/content/repositories/rele

ases): Connect to repository.apache.org:443 [repository.apache.org/207.244.88.14

0] failed: Connection timed out: connect and 'parent.relativePath' points at wro

ng local POM @ line 23, column 11 -> [Help 2]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit

ch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please rea

d the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin

gException

[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableMo

delException

 

C:\Users\aleena\royale-asjs>

 

Thanks

Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Tuesday, March 06, 2018 5:30 PM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alina,

 

You can try to go with Maven to see whether you have similar problems [1]

 

[1] https://github.com/apache/royale-asjs/wiki/Build-Apache-Royale-with-Maven

 

Thanks, Piotr

 

2018-03-06 13:12 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Alex,

Still getting same error, while executing:

C:\Users\aleena\royale-asjs>ant all

Website link is working :

http://www.antlr.org/license.html

 

could be only issue , Antlr server will be off-line ?

 

Thanks,

Alina

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Tuesday, March 06, 2018 4:38 PM
To: 'users@royale.apache.org'
Subject: RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alex,

 

We can exclude ScaleX , ScaleY,transform from our code as we are using it in our Library Project Only.

We are using “Rotation” in a PopUp Window. 

 

Can you please explain emulation ?

How do they will work?

 

Thanks,

Alina

 

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Tuesday, March 06, 2018 3:14 PM
To: 'users@royale.apache.org'
Subject: RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alex,

We are using commitProperties() in our Library Project. Overriding the Existing Spark commitProperties() method 

For Example:

ResizableTextAreaSkin.mxml (SHMALib)

override protected function commitProperties():void {

                                                super.commitProperties();

 

                                                if (lineBreakChanged) {

                                                                updateStringStyle("lineBreak");

                                                                lineBreakChanged = false;

                                                }

                                                if (paddingChanged) {

                                                                updatePadding();

                                                                paddingChanged = false;

                                                }

                                                if (verticalAlignChanged) {

                                                                updateStringStyle("verticalAlign");

                                                                verticalAlignChanged = false;

                                                }

                                }

We are using 


Package

 <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/package-detail.html> flash.display


Class

public class DisplayObject


Inheritance

DisplayObject Inheritance  <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/EventDispatcher.html> EventDispatcher Inheritance  <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Object.html> Object


Reference Link:

	

https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/DisplayObject.html

 

e.g :

                public function updateLayoutWithoutAnimation():void

                                {

                                                if(_layoutInvalid == true && layoutFunction != null)

                                                {

                                                                _layoutInvalid = false;

                                                                layoutFunction();

                                                }

 

                                                for(var aChild:* in _targets)

                                                {

                                                                var target:LayoutTarget = _targets[aChild];

                                                                var item:IFlexDisplayObject = target.item;

                                                                var m:Matrix = DisplayObject(item).transform.matrix;

 

                                                                m.tx = target.x;

                                                                m.ty = target.y;

                                                                m.a = target.scaleX;                                                                        

                                                                m.d = target.scaleY

                                                                

                                                                DisplayObject(item).alpha = target.alpha;

                                                                DisplayObject(item).transform.matrix = m;

                                                                item.setActualSize(target.unscaledWidth,target.unscaledHeight);

                                                                if(target.state == "removed")

                                                                {

                                                                                delete _targets[target.item];

                                                                                continue;

                                                                }

                                                                else

                                                                {

                                                                                target.state = "positioned"

                                                                }

                                                }

                                                stopTimer();

                                }

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, March 06, 2018 1:36 PM
To: users@royale.apache.org
Subject: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alina,

 

I'm starting on the emulation.  I've noticed that your application code appears to be calling commitProperties().  Can you tell us why?

 

Also, it looks like there are a few uses of rotation, transform, scaleX and scaleY.  What are those used for?

 

Thanks,

-Alex

 

From: Alex Harui <ah...@adobe.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 11:38 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Try again.  Sometimes the Antlr server goes off-line around this time of day.

 

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 11:12 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Using jdk1.8.0_162:

 

C:\Users\aleena\royale-asjs>ant all

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Buildfile: C:\Users\aleena\royale-asjs\build.xml

 

set.base.folder:

 

check-git:

     [echo] Checking for Git...

     [exec] git version 2.16.2.windows.1

 

get-download-folder:

 

download-all:

     [echo] Using folder C:\Users\aleena\royale-asjs/..

 

check-royale-asjs:

 

warn-before-clone:

 

check-royale-asjs:

 

clone-royale-asjs:

 

check-royale-compiler:

 

clone-royale-compiler:

 

check-royale-typedefs:

 

clone-royale-typedefs:

 

check-playerglobal-home:

 

check-air-home:

 

build-all:

 

ask-before-build-all:

    [input] This script will now download and compile lots of files.  This can t

ake several minutes.   No interaction should be required.  Press the enter key t

o continue.

 

 

sdk:

 

annotate.class:

    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-

build-tools\target\classes

    [javac] warning: [options] bootstrap class path not set in conjunction with

-source 1.5

    [javac] warning: [options] source value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] target value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] To suppress warnings about obsolete options, use

-Xlint:-options.

    [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\src\main\java\o

rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:24: warning: [serial

] serializable class AnnotateClassDeleteException has no definition of serialVer

sionUID

    [javac]     public static class AnnotateClassDeleteException extends Excepti

on

    [javac]                   ^

    [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\src\main\java\o

rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:32: warning: [serial

] serializable class AnnotateClassRenameException has no definition of serialVer

sionUID

    [javac]     public static class AnnotateClassRenameException extends Excepti

on

    [javac]                   ^

    [javac] 6 warnings

 

unknown.tree.pattern.input.output:

    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-

build-tools\target\classes

    [javac] warning: [options] bootstrap class path not set in conjunction with

-source 1.5

    [javac] warning: [options] source value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] target value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] To suppress warnings about obsolete options, use

-Xlint:-options.

    [javac] 4 warnings

 

main:

 

compiler.downloads.cache:

 

compiler.downloads:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

prepare:

     [echo] Making lib directory C:\Users\aleena\royale-compiler\compiler/lib/ex

ternal

    [mkdir] Created dir: C:\Users\aleena\royale-compiler\compiler\lib\external

 

all:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

check-dependency:

     [echo] checking for C:\Users\aleena\royale-compiler\compiler/lib/external//

antlr.jar

 

download-dependency:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

echo-project-jar:

   [delete] Deleting: C:\Users\aleena\royale-compiler\compiler\src\main\resource

s\project.properties

     [echo] ${INFO_DOWNLOADING_FILE_FROM}

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

download-apache-license:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

download-other-license:

      [get] Getting: http://www.antlr.org/license.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0> 

      [get] To: C:\Users\aleena\royale-compiler\compiler\lib\external\antlr-LICE

NSE.html

      [get] Error getting http://www.antlr.org/license.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0>  to C:\Users\aleena\r

oyale-compiler\compiler\lib\external\antlr-LICENSE.html

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

double-check-file:

     [echo] ${env.ROYALE_DOWNLOAD_CACHE}

     [echo] Need file: ${still_no_file}

 

get-from-cache-if-needed:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

fail-if-not-found:

 

BUILD FAILED

C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-compiler\build.xml:64: The following error occurred while

 executing this line:

C:\Users\aleena\royale-compiler\compiler-jburg-types\build.xml:87: The following

 error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:81: Th

e following error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:275: T

he following error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:329: T

he following error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:489: C

:\Users\aleena\royale-compiler\compiler/lib/external//antlr-LICENSE.html could n

ot be downloaded or found in cache

 

Total time: 47 seconds

 

C:\Users\aleena\royale-asjs>

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, March 06, 2018 11:55 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Please use JDK8.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 10:40 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

Java version that I am using is “9.0.1”

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, March 06, 2018 11:42 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

What version of Java are you using?  Please get a JDK7 or 8 and try that.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 10:22 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Command Prompt Output is:

C:\Users\aleena>git clone https://github.com/apache/royale-asjs.git <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs.git&data=02%7C01%7Caharui%40adobe.com%7Cdf86fa0dd25b41ffbc8108d5832f0997%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559160423949211&sdata=d9cKX4ILIQPLI5USXvAafSnrWZSgW1XHw6G4r%2B9wgsE%3D&reserved=0>  royale-asjs

Cloning into 'royale-asjs'...

remote: Counting objects: 101103, done.

remote: Compressing objects: 100% (22/22), done.

remote: Total 101103 (delta 9), reused 30 (delta 7), pack-reused 101066R

Receiving objects: 100% (101103/101103), 19.23 MiB | 208.00 KiB/s, done.

 

Resolving deltas: 100% (61584/61584), done.

Checking out files: 100% (3572/3572), done.

 

C:\Users\aleena>cd royale-asjs

 

C:\Users\aleena\royale-asjs>git checkout develop

Already on 'develop'

Your branch is up to date with 'origin/develop'.

 

C:\Users\aleena\royale-asjs>ant all

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Buildfile: C:\Users\aleena\royale-asjs\build.xml

 

set.base.folder:

 

check-git:

     [echo] Checking for Git...

     [exec] git version 2.16.2.windows.1

 

get-download-folder:

 

download-all:

     [echo] Using folder C:\Users\aleena\royale-asjs/..

 

check-royale-asjs:

 

warn-before-clone:

 

check-royale-asjs:

 

clone-royale-asjs:

 

check-royale-compiler:

 

clone-royale-compiler:

     [echo] cloning royale-compiler repo into C:\Users\aleena\royale-asjs/../roy

ale-compiler

     [exec] Cloning into 'royale-compiler'...

     [exec] Checking out files:   8% (284/3191)

     [exec] Checking out files:   9% (288/3191)   Checking out files:  10% (320/

3191)   Checking out files:  11% (352/3191)   Checking out files:  12% (383/3191

)   Checking out files:  13% (415/3191)   Checking out files:  13% (444/3191)

Checking out files:  14% (447/3191)   Checking out files:  15% (479/3191)   Chec

king out files:  16% (511/3191)   Checking out files:  17% (543/3191)   Checking

 out files:  18% (575/3191)   Checking out files:  19% (607/3191)   Checking out

 files:  20% (639/3191)   Checking out files:  20% (641/3191)   Checking out fil

es:  21% (671/3191)   Checking out files:  22% (703/3191)   Checking out files:

 23% (734/3191)   Checking out files:  24% (766/3191)   Checking out files:  25%

 (798/3191)   Checking out files:  26% (830/3191)   Checking out files:  26% (84

2/3191)   Checking out files:  27% (862/3191)   Checking out files:  28% (894/31

91)   Checking out files:  29% (926/3191)   Checking out files:  30% (958/3191)

  Checking out files:  31% (990/3191)   Checking out files:  32% (1022/3191)   C

hecking out files:  33% (1054/3191)   Checking out files:  34% (1085/3191)   Che

cking out files:  35% (1117/3191)   Checking out files:  36% (1149/3191)   Check

ing out files:  37% (1181/3191)   Checking out files:  38% (1213/3191)   Checkin

g out files:  39% (1245/3191)   Checking out files:  40% (1277/3191)   Checking

out files:  40% (1308/3191)   Checking out files:  41% (1309/3191)   Checking ou

t files:  42% (1341/3191)   Checking out files:  42% (1352/3191)   Checking out

files:  43% (1373/3191)   Checking out files:  44% (1405/3191)   Checking out fi

les:  45% (1436/3191)   Checking out files:  46% (1468/3191)   Checking out file

s:  47% (1500/3191)   Checking out files:  48% (1532/3191)   Checking out files:

  49% (1564/3191)   Checking out files:  49% (1578/3191)   Checking out files:

50% (1596/3191)   Checking out files:  51% (1628/3191)   Checking out files:  52

% (1660/3191)   Checking out files:  53% (1692/3191)   Checking out files:  54%

(1724/3191)   Checking out files:  55% (1756/3191)   Checking out files:  56% (1

787/3191)   Checking out files:  57% (1819/3191)   Checking out files:  58% (185

1/3191)   Checking out files:  59% (1883/3191)   Checking out files:  60% (1915/

3191)   Checking out files:  61% (1947/3191)   Checking out files:  62% (1979/31

91)   Checking out files:  63% (2011/3191)   Checking out files:  63% (2022/3191

)   Checking out files:  64% (2043/3191)   Checking out files:  65% (2075/3191)

  Checking out files:  66% (2107/3191)   Checking out files:  67% (2138/3191)

Checking out files:  68% (2170/3191)   Checking out files:  69% (2202/3191)   Ch

ecking out files:  70% (2234/3191)   Checking out files:  71% (2266/3191)   Chec

king out files:  72% (2298/3191)   Checking out files:  73% (2330/3191)   Checki

ng out files:  74% (2362/3191)   Checking out files:  75% (2394/3191)   Checking

 out files:  76% (2426/3191)   Checking out files:  77% (2458/3191)   Checking o

ut files:  78% (2489/3191)   Checking out files:  79% (2521/3191)   Checking out

 files:  80% (2553/3191)   Checking out files:  81% (2585/3191)   Checking out f

iles:  82% (2617/3191)   Checking out files:  83% (2649/3191)   Checking out fil

es:  83% (2679/3191)   Checking out files:  84% (2681/3191)   Checking out files

:  85% (2713/3191)   Checking out files:  86% (2745/3191)   Checking out files:

 87% (2777/3191)   Checking out files:  88% (2809/3191)   Checking out files:  8

9% (2840/3191)   Checking out files:  89% (2845/3191)   Checking out files:  90%

 (2872/3191)   Checking out files:  91% (2904/3191)   Checking out files:  92% (

2936/3191)   Checking out files:  93% (2968/3191)   Checking out files:  94% (30

00/3191)   Checking out files:  95% (3032/3191)   Checking out files:  95% (3035

/3191)   Checking out files:  96% (3064/3191)   Checking out files:  97% (3096/3

191)   Checking out files:  98% (3128/3191)   Checking out files:  99% (3160/319

1)   Checking out files: 100% (3191/3191)   Checking out files: 100% (3191/3191)

, done.

     [exec] Your branch is up to date with 'origin/develop'.

     [exec] Already on 'develop'

 

check-royale-typedefs:

 

clone-royale-typedefs:

     [echo] cloning royale-typedefs repo into C:\Users\aleena\royale-asjs/../roy

ale-typedefs

     [exec] Cloning into 'royale-typedefs'...

     [exec] Your branch is up to date with 'origin/develop'.

     [exec] Already on 'develop'

 

check-playerglobal-home:

 

check-air-home:

 

build-all:

 

ask-before-build-all:

    [input] This script will now download and compile lots of files.  This can t

ake several minutes.   No interaction should be required.  Press the enter key t

o continue.

 

sdk:

 

annotate.class:

    [mkdir] Created dir: C:\Users\aleena\royale-compiler\compiler-build-tools\ta

rget\classes

    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-

build-tools\target\classes

    [javac] warning: [options] bootstrap class path not set in conjunction with

-source 1.5

    [javac] error: Source option 1.5 is no longer supported. Use 1.6 or later.

    [javac] error: Target option 1.5 is no longer supported. Use 1.6 or later.

 

BUILD FAILED

C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-compiler\build.xml:63: The following error occurred while

 executing this line:

C:\Users\aleena\royale-compiler\compiler-build-tools\build.xml:74: Compile faile

d; see the compiler error output for details.

 

Total time: 17 minutes 59 seconds

 

C:\Users\aleena\royale-asjs>

 

Unable to Build, Please guide.

 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Friday, March 02, 2018 10:31 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I was able to download and expand the files.  I will be consolidating the data today. 

 

In order to be able to write some of these emulations, you will probably need to be able to build the framework sources.  If you haven't already, you can try cloning the royale-asjs repo and figure out how to get it to build.  You can choose Apache Maven or Apache Ant as the build tool.

 

https://github.com/apache/royale-asjs <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs&data=02%7C01%7Caharui%40adobe.com%7C3c1833c1fc9442003f2608d5832c7fe0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559149534170415&sdata=YqGTpbzoou8SilHbsTxjriIjiREaS%2FA9j6xjZYRR%2F4E%3D&reserved=0> 

 

Hopefully the instruction in the readme are sufficient.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Friday, March 2, 2018 at 12:34 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

Application API-Report link:

https://www.dropbox.com/s/swvqhly6wa0jrc5/API-Reports.rar?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fswvqhly6wa0jrc5%2FAPI-Reports.rar%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C928c248220464230f6dd08d5801a2f13%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555772324148830&sdata=9%2BsrGG41iCMIEmbtqnEbV%2BPvi1ngE9vF%2BKuqPAZ%2Bzao%3D&reserved=0> 

SHMALib Report, applications,shmDoclist,shmSetupList,AppView_EIS, AppView_ERP,shmMappingSetup, shmMappingSetupOpenDetailGrid,shmSalesInvoice, shmSalesInvoiceDetail are main API Files.

 

Regards,

Alina

 

 

 

 

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Friday, March 02, 2018 11:32 AM
To: users@royale.apache.org
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

2) We are using Effects in our Application 2-3 times 

4) We are using text styling in our Application 3-5 times 

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Friday, March 02, 2018 4:26 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

1) Interesting about Charts.  They were being used by the SWC.

2) Effects are any animations that move, resize or fade things in the UI.

3) ok

4) I'm not sure what to conclude from the screenshot.  I'm interested in how often folks use it to create text with bold, italics and other styling of text.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Thursday, March 1, 2018 at 4:24 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

600 mxml.api.txt files are generated and still in process. I will share link for files tomorrow.

After sharing my files tomorrow, If you will suggest to build  emulations. 

I will  definitely want to learn how to create emulations and contribute them to Apache Royale.  

1.We are not using Charts in our Application

2. How important are effects? (Please explain effects )

3. We are not using Right-to-left languages in RichTextEditor.

4. Is RichTextEditor being used for non-plain text?  If so, what kinds of text styling is important?

Link:https://www.dropbox.com/s/ky93eycmefm3cuu/RICHTEXTEDITOR.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fky93eycmefm3cuu%2FRICHTEXTEDITOR.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cff526ec5592c42772ade08d57f713736%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555046634193460&sdata=BjS8q1GarTweRfMMmZOKxN%2FTQTqhtzJlm05KAtWnNTQ%3D&reserved=0> 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 10:45 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Good to hear it worked.

 

I think I am waiting on all of the mxml.api.txt files to see what else is in there that isn't in the two reports we have, then we'll have a pretty good list of the places you will either need to change in your code or that we  will build emulations for.

 

I think emulations will be less work in the end, but there will be a lot of them to do.  We will want to you to learn how to create emulations and contribute them to Apache Royale.  That's how many Apache projects work: some of the users learn how to become committers.  This will be an asset to your company as well since you will learn how to fix things in Royale yourself.  Then your company won't be dependent on outsiders for support.

 

So, Peter and I and hopefully others will get started on some emulations to make sure they work for us, and then you can see if they work for you, and then we will teach you how to write those emulations.  Over the next several months, besides testing emulations written by others in your app, you will be writing your own emulations for things you need right away that we haven't written yet, or for third-party code that you are using.

 

It might help to get some prioritization on the emulations we need to write.  In looking at the list, I am wondering:

1.	Are some charts more important than others?
2.	How important are effects?
3.	Do you use Right-to-left languages in RichTextEditor?
4.	Is RichTextEditor being used for non-plain text?  If so, what kinds of text styling is important?

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Wednesday, February 28, 2018 at 1:22 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Thank you.

It’s working with latest nightly build:

https://www.dropbox.com/s/77wkgrm74upkg0j/SHMALib%20Report.txt?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F77wkgrm74upkg0j%2FSHMALib%2520Report.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C16fa845b6d2f4efb7f4a08d57e8e9097%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636554073167111532&sdata=UV0BOZpVonw%2BILcK9njhQdf5pKpqWPccp0IKDPm4jOI%3D&reserved=0> 

 

 

Regards,

Alina

 

 

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 1:15 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Looks like COMPC collected the data but never generated the report.  I pushed a fix for that.  Please try the latest nightly build.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Tuesday, February 27, 2018 at 10:35 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Thank you

After commenting the embedded font part from source.

Output to console:

3462313 bytes written to D:\SHMALib.swc in 19.878 seconds

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"

 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\framewor

ks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\sr

c" -library-path+=D:\SHMALIB\libs

 

SHMALib.swf file Generated and Report.txt is empty 

SHMALib.swc output Link:

https://www.dropbox.com/s/4tz49sz134m2gg9/SHMALib.swc?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F4tz49sz134m2gg9%2FSHMALib.swc%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=%2FNcbTJtah21RRPeWfwg2pRaZ72hd%2BdG0iJlnH3GsA28%3D&reserved=0> 

then I change, Compc -output "D:\SHMALib.swc" to Compc -output "D:\SHMALib. txt " 

SHMALib.txt output Link:

https://www.dropbox.com/s/j38obt5e36awuh3/SHMALib.txt?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fj38obt5e36awuh3%2FSHMALib.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=V%2FcA5dJ3Fi1qOvh%2BtUlbU%2FZ%2FQ5SBfRw7psjsm2Q%2Fe8w%3D&reserved=0> 

 

Thanks,

Alina

 

 

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 11:18 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

The only error right now is the embedded font.

 

We can discuss the pros and cons of embedding images in the JS output at some other point in time.

 

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Tuesday, February 27, 2018 at 10:01 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Big Part of SHMALib Uses Embed and metadata :

 

                                // Embed the font so we can rotate it for further distortion

                                [Embed(systemFont="Comic Sans MS",

                                                                embedAsCFF='false')]

                <mx:Image y="4" width="18" height="20" right="185" source="@Embed(source='assets/default/images/load.png')"

                                                  source="@Embed(source='assets/default/images/next.gif')" scaleContent="false"/>

                <mx:Image y="4" width="18" height="20" right="3" source="@Embed(source='assets/default/images/magnifier.png')"

     * An IFrame which you can embed into Flex applications to show an HTML page.

     * @example A simple application with Google embedded

        // SWF embed object tracking

         * The SWF embed object id.

         * Get the embed object id.

        protected function resolveEmbedObjectId():void

                    var result:Object=ExternalInterface.call(IFrameExternalCalls.FUNCTION_ASK_FOR_EMBED_OBJECT_ID, randomIdentificationString.toString());

                        logger.info("Resolved the SWF embed object id to '{0}'.", applicationId);

                        logger.error('Could not resolve the SWF embed object Id.');

            // Resolve the SWF embed object id in the DOM.

            ExternalInterface.call(IFrameExternalCalls.INSERT_FUNCTION_ASK_FOR_EMBED_OBJECT_ID);

            resolveEmbedObjectId();

            logger.info("Loading IFrame with id '{0}', on SWF embed object with id '{1}'.", _frameId, applicationId);

                    FUNCTION_LOADIFRAME + " = function (frameID, iframeID, url, embedID, scrollPolicy)" +

                                      "onLoad='\"+embedID+\".\"+frameID+\"_load();' " +

        public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String = "askForEmbedObjectId";

        public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String = "askForEmbedObjectId";

        public static var INSERT_FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =

                "if (document." + FUNCTION_ASK_FOR_EMBED_OBJECT_ID + "==null)" +

                    FUNCTION_ASK_FOR_EMBED_OBJECT_ID + " = function(randomString) " + 

                            "var embeds = document.getElementsByTagName('embed'); " + 

                            "var embeds = document.getElementsByTagName('embed'); " + 

                            "for (var i = 0; i < embeds.length; i++) { " + 

                                "var isTheGoodOne = embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " + 

                                "var isTheGoodOne = embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " + 

                                    "return embeds[i].getAttribute('id'); " + 

                                 * The UITextField control for displaying embeded hints.

                                private var embedTextField:UITextField;

                                 *  The String to be shown as the embeded hint.

                                private var embedStr:String = "";

                                                                                embedStr = "MM DD YYYY";

                                                                                embedStr = "DD MM YYYY";

                                                                                embedStr = "YYYY MM DD";

                                                                                embedStr = "YYYY DD MM";

                                 *  Create child objects for displaying embeded hints.

                                                                embedTextField = new UITextField();

                                                                //embedTextField.text = embedStr;

                                                                //embedTextField.text = embedStr;

                                                                addChildAt(UITextField(embedTextField),getChildIndex(DisplayObject(textField)));//as TextField

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                                s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);

                                                                                                                                embedTextField.text = s;

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                                //s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);

                                                                                                                                //embedTextField.text = s;

                                                                                                                                s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);

                                                                                                                                embedTextField.text = s;

                                                                                // If embeded hints are displayed then update the

                                                                                // UITextField corresponding to the embeded hints

                                                                                                var s:String = embedTextField.text == null ? "":embedTextField.text;

                                                                                                var s:String = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                embedTextField.text = s;

                                                                // create the embeded text field for showing

                                                                // embeded hints if its not already created.

                                                                // If it is created, then just change the embeded hint.

                                                                if(!embedTextField)

                                                                                embedTextField = new UITextField();

                                                                                addChildAt(embedTextField,getChildIndex(DisplayObject(textField))); //as TextField

                                                                //embedTextField.text = embedStr;

                                                                //embedTextField.text = embedStr;

                                                                embedTextField.alpha = 1;

                                                                embedTextField.setTextFormat(txtFormat);

                                                                embedTextField.x = 0;

                                                                embedTextField.y = 2;

                                                                embedTextField.setActualSize(width,height);

                                                                if(embedTextField)

                                                                                embedTextField.text = "";

                                                                                embedTextField = null;

                                                // setting the color of the embeded text field to white.

                                                                if(embedTextField)

                                                                                embedTextField.setColor(0xFFFFFF);

                                                                                if(embedTextField)

                                                                                                addChildAt(DisplayObject(newSkin),getChildIndex(DisplayObject(embedTextField)));//

   background-image:                                      Embed(source="/assets/application_background.png",

                up-skin:                Embed("/assets/maximize_up.png");

                over-skin:            Embed("/assets/maximize_over.png");

                down-skin:         Embed("/assets/maximize_up.png");

                selected-up-skin:   Embed("/assets/restore_up.png");

                selected-over-skin: Embed("/assets/restore_over.png");

                selected-down-skin: Embed("/assets/restore_up.png");

                up-skin:        Embed("/assets/minimize_up.png");

                over-skin:      Embed("/assets/minimize_over.png");

                down-skin:      Embed("/assets/minimize_up.png");

                up-skin:                                Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");

                over-skin:                            Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");

                down-skin:                         Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");

                selected-up-skin:                             Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");

                selected-over-skin:                         Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");

                selected-down-skin:                      Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");

                up-skin:                                Embed("/assets/left_arrow_up.gif");

                over-skin:                            Embed("/assets/left_arrow_over.gif");

                down-skin:                         Embed("/assets/left_arrow_up.gif");

                disabled-skin:    Embed("/assets/left_arrow_disabled.gif");

                up-skin:                                Embed("/assets/right_arrow_up.gif");

                over-skin:                            Embed("/assets/right_arrow_over.gif");

                down-skin:                         Embed("/assets/right_arrow_up.gif");

                disabled-skin:    Embed("/assets/right_arrow_disabled.gif");

                                //[Embed(source="/assets/cursor_move.gif")]

                                //[Embed(source="/assets/cursor_resize.gif")]

                                [Embed(source="/assets/default/images/mouseMove.gif")]

                                [Embed(source="/assets/default/images/verticalSize.gif")]

                                [Embed(source="/assets/default/images/horizontalSize.gif")]

                                [Embed(source="/assets/default/images/leftObliqueSize.gif")]

                                [Embed(source="/assets/default/images/rightObliqueSize.gif")]

                                                if (image.isEmbedded) 

                                                //if (!Application.application.systemManager.isFontFaceEmbedded(textFormat)) 

                                                if (!FlexGlobals.topLevelApplication.systemManager.isFontFaceEmbedded(textFormat))

                                                                if (Application.application.isFontsEmbedded) {

                                                                if (Application.application.isFontsEmbedded) {

                                                                if (Application.application.isFontsEmbedded) {

                                private var _isEmbedded:Boolean = false;

                                public function set isEmbedded(embedded:Boolean):void 

                                public function set isEmbedded(embedded:Boolean):void 

                                                _isEmbedded = embedded;

                                                _isEmbedded = embedded;

                                public function get isEmbedded():Boolean 

                                                return _isEmbedded;

                                                <mx:icon>@Embed(source='images/print.GIF')</mx:icon>

                                                <mx:icon>@Embed(source='images/reload.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/first-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/first.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/previous-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/previous.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/next-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/next.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/last-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/last.GIF')</mx:icon>

                                                                                <mx:icon>@Embed(source='images/actualsize.GIF')</mx:icon>

                                                                                <mx:icon>@Embed(source='images/fitpage.GIF')</mx:icon>

                                                                                <mx:icon>@Embed(source='images/fitwidth.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/zoomin-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/zoomin.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/zoomout-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/zoomout.GIF')</mx:icon>

                                                                <mx:icon>@Embed(source='images/print.GIF')</mx:icon>

                                                if (imageSourceXml.@isEmbedded.length() > 0)

                                                                image.isEmbedded = imageSourceXml.@isEmbedded == "true";

                                                                image.isEmbedded = imageSourceXml.@isEmbedded == "true";

                 source="@Embed(source='/assets/default/images/left_arrow_up.gif')"/>

                 source="@Embed(source='/assets/default/images/left_arrow_over.gif')"/>

                 source="@Embed(source='/assets/default/images/left_arrow_disabled.gif')"/>  

                                                                                   source="@Embed(source='/com/shm/flexlib/mdi/assets/img/maximizeButton.png')"/>

                                                                                   height="12" source="@Embed(source='/com/shm/flexlib/mdi/assets/img/restoreButton.png')"/>

                                                                                   source="@Embed(source='/com/shm/flexlib/mdi/assets/img/minimizeButton.png')"/>

                 source="@Embed(source='/assets/default/images/right_arrow_up.gif')"/>

                 source="@Embed(source='/assets/default/images/right_arrow_over.gif')"/>

                 source="@Embed(source='/assets/default/images/right_arrow_disabled.gif')"/>  

 

 

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 11:00 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I think you can ignore the warnings.  The first error is for embedding a font, which Royale doesn't currently support, so for now, try commenting out the Embed metadata and see if that allows the error to go away.

 

I would look into the other errors to see if they are legitimate or not.  The Royale Compiler will catch some things the MXMLC compiler may not.  Or you could comment out the code involved in the two errors in TImeZone.as for now since that won't affect the report.

 

The final two errors I saw are for missing skin states.  I think you can just add the skin states.

 

HTH,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Tuesday, February 27, 2018 at 9:35 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

While Executing

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\src"

Or 

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\Flex\libs\SH

MALIB.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bi

n\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\

SHMALIB\src" -library-path+=D:\SHMALIB\libs

 

Error:

(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to

field java.lang.Thread.inheritableThreadLocals

WARNING: Please consider reporting this to the maintainers of com.google.common.

base.internal.Finalizer

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect

ive access operations

WARNING: All illegal access operations will be denied in a future release

Loading configuration: D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(415): col: 50 Warning:

Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="DataProviderService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(419): col: 50 Warning:

Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="BasicFormatterService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(516): col: 50 Warning: Da

ta binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="DataProviderService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(520): col: 50 Warning: Da

ta binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="BasicFormatterService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\shmCaptchaImage.as(43): col: 3 Error: Embed re

quires a 'source' file attribute

 

                [Embed(systemFont="Comic Sans MS",

                ^

 

D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(37): col: 88 Warning: Data

binding will not be able to detect assignments to 'isSelected'.

 

                                        <mx:CheckBox selectedField="isSelected"

 change="onChange(event);" selected="{data.isSelected}">

 

                                          ^

 

D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(46): col: 27 Warning: Data

binding will not be able to detect assignments to 'label'.

 

                                        <mx:Label text="{data.label}" />

                                                             ^

 

D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(126): col: 15 Error: Impli

cit coercion of a value of type Boolean to an unrelated type Number.

 

                                if(year & 0x3 == 0)

                                          ^

 

D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(134): col: 39 Error: Impli

cit coercion of a value of type Boolean to an unrelated type Number.

 

                                if(month == 1 && value.fullYear & 0x3 == 0)

                                                                  ^

 

D:\SHMALIB\src\com\shm\dashboard\renderers\GridPodURLRenderer.mxml(6): col: 23 W

arning: Data binding will not be able to detect assignments to 'SrNo'.

 

                  htmlText="&lt;u&gt;{data.SrNo}&lt;/u&gt;" color="blue" click="

f_DrillDownData(data)">

                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml Error:

The required skin state 'disabledWithPrompt' is missing.

 

 

D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml Error:

The required skin state 'normalWithPrompt' is missing.

 

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(177): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(187): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(202): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(212): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(429): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(439): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(454): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(464): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(479): col: 26 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                field="{properties.@valueField}"

 

                                                                   ^

 

D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(115): col: 74 Warning

: Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject id="roDrillDownColInfo" channelSet="{parentAppl

ication.amfChannelSet}" showBusyCursor="true"

 

       ^

 

D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(118): col: 68 Warning

: Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject id="roDgDpResult" channelSet="{parentApplicatio

n.amfChannelSet}" showBusyCursor="true"

 

 ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PieChartContent.mxml(128): col: 24 Warning

: Data binding will not be able to detect assignments to 'valueField'.

 

                                field="{properties.@valueField}"

                                                   ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 37 Warning: Dat

a binding will not be able to detect assignments to 'appParams'.

 

                                                        inputMask="{parentApplic

ation.appParams.DATE_FORMAT}" showToday="true"  yearNavigationEnabled="true"

 

     ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 47 Warning: Dat

a binding will not be able to detect assignments to 'DATE_FORMAT'.

 

                                                        inputMask="{parentApplic

ation.appParams.DATE_FORMAT}" showToday="true"  yearNavigationEnabled="true"

 

               ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 38 Warning: Dat

a binding will not be able to detect assignments to 'appParams'.

 

                                                         inputMask="{parentAppli

cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true" showToday="true"

 

      ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 48 Warning: Dat

a binding will not be able to detect assignments to 'DATE_FORMAT'.

 

                                                         inputMask="{parentAppli

cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true" showToday="true"

 

                ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(12): col: 11 Warnin

g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

 

                        import mx.graphics.Stroke;

                               ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(37): col: 23 Warnin

g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

 

                                        lne.stroke = new Stroke(0,1,.3);

                                                         ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(46): col: 14 Warnin

g: Duplicate variable definition: i.

 

                                for (var i:int = 1; i < lnWdt; i++){

                                         ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(47): col: 10 Warnin

g: Duplicate variable definition: lne.

 

                                        var lne:Line  = new Line();

                                            ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(53): col: 23 Warnin

g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

 

                                        lne.stroke = new Stroke(0,1,.3);

                                                         ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(54): col: 10 Warnin

g: Duplicate variable definition: llbe.

 

                                        var llbe:Label = new Label();

                                            ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(157): col: 40 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var xPosition:Number = Application.application.p

arent.mouseX;

                                                                   ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(158): col: 40 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var yPosition:Number = Application.application.p

arent.mouseY;

                                                                   ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(225): col: 36 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var xPlus:Number = Application.application.paren

t.mouseX - point.x;

                                                               ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(226): col: 36 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var yPlus:Number = Application.application.paren

t.mouseY - point.y;

                                                               

Thanks,

Alina Kazi

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 10:16 AM
To: Alina Kazi; users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I think that Flash Builder makes it easy to build SWCs.  Building from the command line can be a bit trickier.

 

Let's try:

Compc -output "D:\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\src"

 

HTH,

-Alex

 

 

From: Alina Kazi <al...@d-bz.com>
Date: Tuesday, February 27, 2018 at 7:28 PM
To: "users@royale.apache.org" <us...@royale.apache.org>, Alex Harui <ah...@adobe.com>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Yes I am using Flash Builder.

SHMALIB and MainFlexApp are two separate Projects

Src for SHMALIB is placed into D:/SHMALIB/src

Src for MainFlexApp is D:/Flex/src and the library output file SHMALIB.swc is placed into D:/Flex/libs

 

SHMALIB (.actionscriptProperties)

 

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<actionScriptProperties mainApplicationPath="SHMALib.as" projectUUID="863559ab-3e7b-475b-a3a4-09f4f76fc0d2" version="6">

  <compiler additionalCompilerArguments="-locale en_US" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderLocation="D:/Flex/libs" outputFolderPath="bin-debug" sourceFolderPath="src" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" verifyDigests="true" warn="true">

    <compilerSourcePath/>

    <libraryPath defaultLinkType="0">

      <libraryPathEntry kind="4" path="">

        <excludedEntries>

          <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>

        </excludedEntries>

      </libraryPathEntry>

      <libraryPathEntry kind="1" linkType="1" path="libs"/>

    </libraryPath>

    <sourceAttachmentPath/>

  </compiler>

  <applications>

    <application path="SHMALib.as"/>

  </applications>

  <modules/>

  <buildCSSFiles/>

</actionScriptProperties>

 

SHMALIB (.flexLibProperties)

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<flexLibProperties includeAllClasses="true" version="3">

  <includeClasses/>

  <includeResources/>

  <namespaceManifests/>

</flexLibProperties>

 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 9:34 PM
To: Alina Kazi
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

When you are not trying to use Royale to generate this API report, how are you building your current Flex app?  We might need to know that in order to determine what parameters to add to COMPC.

 

COMPC has additional parameters like -include–sources, include-file, include-classes.  Sometimes, these are listed in an xml file.  If you are using Flash Builder, for example, then examine the .flexlibproperties and .actionscriptProperties files in your project folder.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Date: Tuesday, February 27, 2018 at 3:21 AM
To: 'Alina Kazi' <al...@d-bz.com>
Cc: Alex Harui <ah...@adobe.com>
Subject: RE: Generating API report for Flex Web Browser application

 

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"

 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"

Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by com.google.common.base.internal.Finalizer

(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to

field java.lang.Thread.inheritableThreadLocals

WARNING: Please consider reporting this to the maintainers of com.google.common.

base.internal.Finalizer

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect

ive access operations

 

Error: nothing was specified to be included in the library.

-Alina

 

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Tuesday, February 27, 2018 2:16 PM
To: 'users@royale.apache.org'
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

I am using Moonshine IDE 1.9.0.

Flex 4.16.0

Apache Royale 0.9.2 Latest Nightly Build

 

Running this Command on Command Prompt:

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"

 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"

Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by com.google.common.base.internal.Finalizer

(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to

field java.lang.Thread.inheritableThreadLocals

WARNING: Please consider reporting this to the maintainers of com.google.common.

base.internal.Finalizer

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect

ive access operations

WARNING: All illegal access operations will be denied in a future release

 

command line Error: unknown configuration variable 'sourceΓÇôpath'.

 

-Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 1:26 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

COMPC takes a slightly different set of parameters.  What IDE or build tools are you using to build it without Royale?  You might need to know what options that build uses.

 

You can try running: 

 

Compc -output "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source–path="D:\Projects\SHMA\Main\Flex\src" or wherever the source code is for the library.

 

HTH,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, February 26, 2018 at 11:33 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

For custom SWC, I am using COMPC to get an api-report for SWC

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>compc "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml

Error: configuration variable 'output' was not set.

 

 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 12:27 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Yes, any SWC that is not in the Flex SDK's frameworks/libs folder needs to be specified as Piotr describes below.  We want you specify the same MXML file that you use to compile in the regular Flex SDK.  So if your Application.mxml starts with an mx:Application or s:Application that’s probably the one to use.  But also, if you have your own custom SWCs, we want you to use COMPC to get an api-report for those SWCs.  We want this modified Royale compiler to compile every source file you own so we can see what Flex APIs you are using.

 

HTH,

-Alex

 

From: Piotr Zarzycki <pi...@gmail.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, February 26, 2018 at 11:19 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina, 

 

In my sense you will have to use -library-path+=path to the library. You have to tell compiler about that library.

 

Thanks, Piotr

 

2018-02-27 7:57 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi  Alex,

With latest nightly build:

MaskedTextInput , shmReportUtil …. Are Library Project Actionscript Files.

Main Application contains SHMALib.swc file in Libs folder

Error Link:

https://www.dropbox.com/s/p5imt22cuut0ex6/ErrorGeneratingReport.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fp5imt22cuut0ex6%2FErrorGeneratingReport.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=8f1f9duW2Red4bP77hFTh3mLcCptBmAwd87n1iSkk%2Bs%3D&reserved=0> 

 

I have a question that which .mxml file should be used to generate that report?

Applications.mxml is startup file in case of my Project so I’m using it.

 

Please visit reference link and If I’m doing anything wrong please let me know.

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 12:00 AM


To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I pushed a fix for that.  It might or might not be related to your custom swc.  Get the latest nightly build and let us know.

 

Also, if you are successful, please use your regular compiler to generate a -link–report.  That will help us verify that the API report didn't miss anything.

 

Thanks,

-Alex

 

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, February 26, 2018 at 4:01 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Generated Report file for Sample Project Successfully.

 

spark.components.Application:minHeight,1

spark.components.Application:minWidth,1

spark.components.Application:mxmlContentFactory,2

spark.components.Label:fontSize,1

spark.components.Label:fontWeight,1

spark.components.Label:horizontalCenter,1

spark.components.Label:text,1

spark.components.Label:textAlign,1

spark.components.Label:verticalCenter,1

 

But while executing Actual Project got Error:

https://www.dropbox.com/s/d25eysllavuy5z4/compile2.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fd25eysllavuy5z4%2Fcompile2.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=2i28J4zjv1vEQ7sd%2BGfHm%2Bh1FjG%2BP3YdJCc6rGZr3C4%3D&reserved=0> 

https://www.dropbox.com/s/49iq74zk6rxcr1y/compile1.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F49iq74zk6rxcr1y%2Fcompile1.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=44tfkOscWyJ%2FH3M30HeJ6dfFE0TlpTMhQ2t%2Bv%2ByuoDg%3D&reserved=0> 

 

May be because my Application is dependent to SHMALib(.swc) Library Project (Source Shared Earlier). 

 

-Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Monday, February 26, 2018 5:02 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Alex,

 

I did above exercise for Moonshine and got NPE [1]. I used air-config.xml because it is na Desktop app.

 

[1] https://paste.apache.org/R0Si <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FR0Si&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=tFLrK9xsVt57PytwBaNoUJ%2FIPFH7FCHDtfrmJ1sAl3Y%3D&reserved=0>  

 

Thanks,

Piotr

 

 

2018-02-26 12:56 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:

Yishay,

 

Thank you so much!! I got it working.

 

Alina,

 

Here is the full instruction.

 

1) Download Apache Royale with SWF support - if you have that is good, if not it's here [1]

2) Download Apache Flex - you have it as I have seen on the screenshot.

3) Launch console and go to the Royale SDK folder

 

"yourpathtosdk\bin\" - In my case it was: "d:\Work\royale_ide\royale_nightly_js_swf\bin\"

 

4) Run following command where you will point to the Flex Browser application in order to generate report. My command looks like that:

 

mxmlc "c:\Users\piotr\Documents\NewFlexBrowserProject\src\NewFlexBrowserProject.mxml" -api-report="c:\Users\piotr\Documents\NewFlexBrowserProject\report.txt" -load-config=d:\Work\flex-sdk-4.16.1_adobe_air_28\frameworks\flex-config.xml

 

I generated report for hellow world. Maybe in order to generate report for your application that console command may be much more sophisticated. Let's see!

 

 

[1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/lastSuccessfulBuild/artifact/out/ <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2Fout%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=O%2BpVQ8OuhB%2FtE4ZdylTSkAQCWsIPBGlr9RgiTjWSWEM%3D&reserved=0> 

 

Thanks,

Piotr

 

 

2018-02-26 12:46 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:

Looks like [1] you do need to add compiler option: -api–report=<path to output file>

 

[1] http://apache-royale-users.20374.n8.nabble.com/Substitutes-in-Apache-Royale-tp392p492.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p492.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kda6SpkBgdRqGAeGJ5Db629EAy7KAVbOZKzhzhynRZk%3D&reserved=0> 

 

 

From: Piotr Zarzycki <ma...@gmail.com> 
Sent: Monday, February 26, 2018 1:37 PM


To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

I have produced with that swf, but what's next? Let's wait for Alex's response [1] 

 

[1] https://paste.apache.org/YEeG <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FYEeG&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8ameYzJ7AloOW4nTa8dqu7zYxwORSQc5sCUqpZDVA%2BY%3D&reserved=0> 

 

Thanks,

Piotr

 

2018-02-26 12:32 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:

Alex will know but I don’t think so. I haven’t updated the compiler recently so can’t test it right now. If you want to test it maybe just create a simple app and replace /Users/aharui/ApacheFlex4.16.0 with your sdk home.

 

 

 

From: Piotr Zarzycki <ma...@gmail.com> 
Sent: Monday, February 26, 2018 1:25 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Yishay, 

 

bin/mxmlc

<path to app's

.mxml

file>

-load-config=/Users/aharui/ApacheFlex4.16.0/frameworks/flex-config.xml  

 

Do I need some switch for compiler -api-report or something like that ?

 

Thanks,

Piotr

 

 

2018-02-26 12:10 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:

Wasn’t logged in. Here’s [1] the link.

 

[1] http://apache-royale-users.20374.n8.nabble.com/Substitutes-in-Apache-Royale-tp392p489.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p489.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8Tp5%2BFveKS0eoW7D8EovITPQqYrgwDK4P7cW9izXFH8%3D&reserved=0> 

 

 

From: Yishay Weiss <ma...@hotmail.com> 
Sent: Monday, February 26, 2018 12:59 PM
To: users@royale.apache.org
Subject: RE: Generating API report for Flex Web Browser application

 

I couldn’t find a way to link to a nabble post, but this [1] might help (from Substitutes in Apache Royale).

 

[1] https://paste.apache.org/N2QR <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FN2QR&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=VIS8u6EEBWN6jQrFxpttZvAfUCSSKPe3rbrBDU2w7Sg%3D&reserved=0> 

 

From: Piotr Zarzycki <ma...@gmail.com> 
Sent: Monday, February 26, 2018 12:44 PM
To: users@royale.apache.org
Subject: Generating API report for Flex Web Browser application

 

Hi Alex, 

 

I would like to understand how to generate that report. I will go with the console path, because I think this is something unusual and probably Moonshine is not prepared to do this. I'm writing this on the users mailing list because Alina is having some problems with that. I wanted to simplify all of that. Let's start from the beginning. 

 

1) I have created Flex Web browser project using Apache Flex SDK 4.16.1. 

2) I have nightly build of Royale with SWF support [1]

 

What should I type in the console now ?

 

[1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/lastSuccessfulBuild/artifact/ <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=UtYFFQ90aNB2HU2Vx4t8YAS6Eo2j1ZqVAytujEOgoFM%3D&reserved=0> 

 

Thanks,
-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 

 

 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 

 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 

 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=zGrfZ2Wj3CLuuW%2B%2BKtUSQF6762Vn0%2BeNjCMlViBMghg%3D&reserved=0> 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki


RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

Posted by Alina Kazi <al...@d-bz.com>.
Hi Piotr,

 

Even After uninstalling Symantec endpoint protection. I ask network administrator to remove all network or local firewall , Antivirus  but Still getting similar Errors. 

So, Downloading each file manually .

 

Thanks,

Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Tuesday, March 13, 2018 12:12 PM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Can you check whether all of that urls opens for you in the browser? Do you have some firewall or antyvirus active ?

 

2018-03-13 7:50 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Piotr,

My C:\Users\aleena\.m2  folder contains only repository folder.
Deleted repository folder
 and copied  D:/prev/prev/ royale-compiler /settings-template.xml to
C:\Users\aleena \.m2\ settings.xml


tried 3 times ,getting this error:

https://www.dropbox.com/s/9xgqxy1kfoz2rw0/error%20maven.txt?dl=0


Thanks ,
Alina

-----Original Message-----
From: piotrz [mailto:piotrz@apache.org]
Sent: Tuesday, March 13, 2018 10:57 AM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating
API report for Flex Web Browser application)

Hi Alina,

I'm not sure what is happen on your sight. Try to do following things. Go to
that folder:

<http://apache-royale-users.20374.n8.nabble.com/file/t1/maven_settings.png>

1) Remove folder repository completely
2) Copy settings-template.xml and change name as you see on the screenshot.
Thanks to that you will not have to type "-s settings-template.xml"
3) Make sure that you have the fresh sources in case of compiler.
4) In the root of compiler folder type: mvn clean install

Let's see whether removing everything gives some positive results. If you
see in the stacktrace some problem with downloading artifacts, try couple of
times in a row!

Thanks,
Piotr



--
Sent from: http://apache-royale-users.20374.n8.nabble.com/





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki


Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

Posted by Piotr Zarzycki <pi...@gmail.com>.
Can you check whether all of that urls opens for you in the browser? Do you
have some firewall or antyvirus active ?

2018-03-13 7:50 GMT+01:00 Alina Kazi <al...@d-bz.com>:

> Hi Piotr,
>
> My C:\Users\aleena\.m2  folder contains only repository folder.
> Deleted repository folder
>  and copied  D:/prev/prev/ royale-compiler /settings-template.xml to
> C:\Users\aleena \.m2\ settings.xml
>
>
> tried 3 times ,getting this error:
>
> https://www.dropbox.com/s/9xgqxy1kfoz2rw0/error%20maven.txt?dl=0
>
>
> Thanks ,
> Alina
>
> -----Original Message-----
> From: piotrz [mailto:piotrz@apache.org]
> Sent: Tuesday, March 13, 2018 10:57 AM
> To: users@royale.apache.org
> Subject: Re: API Usage in Flex Web Browser application (was Re: Generating
> API report for Flex Web Browser application)
>
> Hi Alina,
>
> I'm not sure what is happen on your sight. Try to do following things. Go
> to
> that folder:
>
> <http://apache-royale-users.20374.n8.nabble.com/file/t1/maven_settings.png
> >
>
> 1) Remove folder repository completely
> 2) Copy settings-template.xml and change name as you see on the screenshot.
> Thanks to that you will not have to type "-s settings-template.xml"
> 3) Make sure that you have the fresh sources in case of compiler.
> 4) In the root of compiler folder type: mvn clean install
>
> Let's see whether removing everything gives some positive results. If you
> see in the stacktrace some problem with downloading artifacts, try couple
> of
> times in a row!
>
> Thanks,
> Piotr
>
>
>
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>
>


-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

Posted by Alina Kazi <al...@d-bz.com>.
Hi Piotr,

My C:\Users\aleena\.m2  folder contains only repository folder.
Deleted repository folder
 and copied  D:/prev/prev/ royale-compiler /settings-template.xml to
C:\Users\aleena \.m2\ settings.xml


tried 3 times ,getting this error:

https://www.dropbox.com/s/9xgqxy1kfoz2rw0/error%20maven.txt?dl=0


Thanks ,
Alina

-----Original Message-----
From: piotrz [mailto:piotrz@apache.org] 
Sent: Tuesday, March 13, 2018 10:57 AM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating
API report for Flex Web Browser application)

Hi Alina,

I'm not sure what is happen on your sight. Try to do following things. Go to
that folder:

<http://apache-royale-users.20374.n8.nabble.com/file/t1/maven_settings.png> 

1) Remove folder repository completely
2) Copy settings-template.xml and change name as you see on the screenshot.
Thanks to that you will not have to type "-s settings-template.xml"
3) Make sure that you have the fresh sources in case of compiler.
4) In the root of compiler folder type: mvn clean install

Let's see whether removing everything gives some positive results. If you
see in the stacktrace some problem with downloading artifacts, try couple of
times in a row!

Thanks,
Piotr



--
Sent from: http://apache-royale-users.20374.n8.nabble.com/


Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

Posted by piotrz <pi...@apache.org>.
Hi Alina,

I'm not sure what is happen on your sight. Try to do following things. Go to
that folder:

<http://apache-royale-users.20374.n8.nabble.com/file/t1/maven_settings.png> 

1) Remove folder repository completely 
2) Copy settings-template.xml and change name as you see on the screenshot.
Thanks to that you will not have to type "-s settings-template.xml"
3) Make sure that you have the fresh sources in case of compiler.
4) In the root of compiler folder type: mvn clean install

Let's see whether removing everything gives some positive results. If you
see in the stacktrace some problem with downloading artifacts, try couple of
times in a row!

Thanks, 
Piotr



--
Sent from: http://apache-royale-users.20374.n8.nabble.com/

RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

Posted by Alina Kazi <al...@d-bz.com>.
Error Detail:

Caused by: org.apache.maven.wagon.TransferFailedException: Connect to repository

.apache.org:443 [repository.apache.org/207.244.88.140] failed: Connection timed

out: connect

    at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.fillInputDa

ta (AbstractHttpClientWagon.java:1068)

    at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.fillInputDa

ta (AbstractHttpClientWagon.java:962)

    at org.apache.maven.wagon.StreamWagon.getInputStream (StreamWagon.java:126)

    at org.apache.maven.wagon.StreamWagon.getIfNewer (StreamWagon.java:88)

    at org.apache.maven.wagon.StreamWagon.get (StreamWagon.java:61)

    at org.eclipse.aether.transport.wagon.WagonTransporter$GetTaskRunner.run (Wa

gonTransporter.java:567)

    at org.eclipse.aether.transport.wagon.WagonTransporter.execute (WagonTranspo

rter.java:435)

    at org.eclipse.aether.transport.wagon.WagonTransporter.get (WagonTransporter

.java:412)

    at org.eclipse.aether.connector.basic.BasicRepositoryConnector$GetTaskRunner

.runTask (BasicRepositoryConnector.java:453)

    at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.ru

n (BasicRepositoryConnector.java:360)

    at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run (Runnabl

eErrorForwarder.java:75)

    at org.eclipse.aether.connector.basic.BasicRepositoryConnector$DirectExecuto

r.execute (BasicRepositoryConnector.java:583)

    at org.eclipse.aether.connector.basic.BasicRepositoryConnector.get (BasicRep

ositoryConnector.java:259)

    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads

 (DefaultArtifactResolver.java:498)

    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve (Default

ArtifactResolver.java:399)

    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts

 (DefaultArtifactResolver.java:224)

    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact

(DefaultArtifactResolver.java:201)

    at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact

(DefaultRepositorySystem.java:260)

    at org.apache.maven.project.ProjectModelResolver.resolveModel (ProjectModelR

esolver.java:193)

    at org.apache.maven.project.ProjectModelResolver.resolveModel (ProjectModelR

esolver.java:243)

    at org.apache.maven.model.building.DefaultModelBuilder.readParentExternally

(DefaultModelBuilder.java:1051)

    at org.apache.maven.model.building.DefaultModelBuilder.readParent (DefaultMo

delBuilder.java:829)

    at org.apache.maven.model.building.DefaultModelBuilder.build (DefaultModelBu

ilder.java:331)

    at org.apache.maven.project.DefaultProjectBuilder.build (DefaultProjectBuild

er.java:429)

    at org.apache.maven.project.DefaultProjectBuilder.build (DefaultProjectBuild

er.java:398)

    at org.apache.maven.project.DefaultProjectBuilder.build (DefaultProjectBuild

er.java:362)

    at org.apache.maven.graph.DefaultGraphBuilder.collectProjects (DefaultGraphB

uilder.java:400)

    at org.apache.maven.graph.DefaultGraphBuilder.getProjectsForMavenReactor (De

faultGraphBuilder.java:391)

    at org.apache.maven.graph.DefaultGraphBuilder.build (DefaultGraphBuilder.jav

a:78)

    at org.apache.maven.DefaultMaven.buildGraph (DefaultMaven.java:511)

    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:221)

    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194)

    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107)

    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955)

    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)

    at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.jav

a:62)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessor

Impl.java:43)

    at java.lang.reflect.Method.invoke (Method.java:498)

    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launche

r.java:289)

    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:2

29)

    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launc

her.java:415)

    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356

)

Caused by: org.apache.maven.wagon.providers.http.httpclient.conn.HttpHostConnect

Exception: Connect to repository.apache.org:443 [repository.apache.org/207.244.8

8.140] failed: Connection timed out: connect

    at org.apache.maven.wagon.providers.http.httpclient.impl.conn.DefaultHttpCli

entConnectionOperator.connect (DefaultHttpClientConnectionOperator.java:158)

    at org.apache.maven.wagon.providers.http.httpclient.impl.conn.PoolingHttpCli

entConnectionManager.connect (PoolingHttpClientConnectionManager.java:353)

    at org.apache.maven.wagon.providers.http.httpclient.impl.execchain.MainClien

tExec.establishRoute (MainClientExec.java:380)

    at org.apache.maven.wagon.providers.http.httpclient.impl.execchain.MainClien

tExec.execute (MainClientExec.java:236)

    at org.apache.maven.wagon.providers.http.httpclient.impl.execchain.ProtocolE

xec.execute (ProtocolExec.java:184)

    at org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec

.execute (RetryExec.java:88)

    at org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RedirectE

xec.execute (RedirectExec.java:110)

    at org.apache.maven.wagon.providers.http.httpclient.impl.client.InternalHttp

Client.doExecute (InternalHttpClient.java:184)

    at org.apache.maven.wagon.providers.http.httpclient.impl.client.CloseableHtt

pClient.execute (CloseableHttpClient.java:82)

    at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.execute (Ab

stractHttpClientWagon.java:834)

    at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.fillInputDa

ta (AbstractHttpClientWagon.java:985)

    at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.fillInputDa

ta (AbstractHttpClientWagon.java:962)

    at org.apache.maven.wagon.StreamWagon.getInputStream (StreamWagon.java:126)

    at org.apache.maven.wagon.StreamWagon.getIfNewer (StreamWagon.java:88)

    at org.apache.maven.wagon.StreamWagon.get (StreamWagon.java:61)

    at org.eclipse.aether.transport.wagon.WagonTransporter$GetTaskRunner.run (Wa

gonTransporter.java:567)

    at org.eclipse.aether.transport.wagon.WagonTransporter.execute (WagonTranspo

rter.java:435)

    at org.eclipse.aether.transport.wagon.WagonTransporter.get (WagonTransporter

.java:412)

    at org.eclipse.aether.connector.basic.BasicRepositoryConnector$GetTaskRunner

.runTask (BasicRepositoryConnector.java:453)

    at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.ru

n (BasicRepositoryConnector.java:360)

    at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run (Runnabl

eErrorForwarder.java:75)

    at org.eclipse.aether.connector.basic.BasicRepositoryConnector$DirectExecuto

r.execute (BasicRepositoryConnector.java:583)

    at org.eclipse.aether.connector.basic.BasicRepositoryConnector.get (BasicRep

ositoryConnector.java:259)

    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads

 (DefaultArtifactResolver.java:498)

    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve (Default

ArtifactResolver.java:399)

    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts

 (DefaultArtifactResolver.java:224)

    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact

(DefaultArtifactResolver.java:201)

    at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact

(DefaultRepositorySystem.java:260)

    at org.apache.maven.project.ProjectModelResolver.resolveModel (ProjectModelR

esolver.java:193)

    at org.apache.maven.project.ProjectModelResolver.resolveModel (ProjectModelR

esolver.java:243)

    at org.apache.maven.model.building.DefaultModelBuilder.readParentExternally

(DefaultModelBuilder.java:1051)

    at org.apache.maven.model.building.DefaultModelBuilder.readParent (DefaultMo

delBuilder.java:829)

    at org.apache.maven.model.building.DefaultModelBuilder.build (DefaultModelBu

ilder.java:331)

    at org.apache.maven.project.DefaultProjectBuilder.build (DefaultProjectBuild

er.java:429)

    at org.apache.maven.project.DefaultProjectBuilder.build (DefaultProjectBuild

er.java:398)

    at org.apache.maven.project.DefaultProjectBuilder.build (DefaultProjectBuild

er.java:362)

    at org.apache.maven.graph.DefaultGraphBuilder.collectProjects (DefaultGraphB

uilder.java:400)

    at org.apache.maven.graph.DefaultGraphBuilder.getProjectsForMavenReactor (De

faultGraphBuilder.java:391)

    at org.apache.maven.graph.DefaultGraphBuilder.build (DefaultGraphBuilder.jav

a:78)

    at org.apache.maven.DefaultMaven.buildGraph (DefaultMaven.java:511)

    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:221)

    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194)

    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107)

    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955)

    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)

    at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.jav

a:62)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessor

Impl.java:43)

    at java.lang.reflect.Method.invoke (Method.java:498)

    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launche

r.java:289)

    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:2

29)

    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launc

her.java:415)

    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356

)

Caused by: java.net.ConnectException: Connection timed out: connect

    at java.net.DualStackPlainSocketImpl.connect0 (Native Method)

    at java.net.DualStackPlainSocketImpl.socketConnect (DualStackPlainSocketImpl

.java:79)

    at java.net.AbstractPlainSocketImpl.doConnect (AbstractPlainSocketImpl.java:

350)

    at java.net.AbstractPlainSocketImpl.connectToAddress (AbstractPlainSocketImp

l.java:206)

    at java.net.AbstractPlainSocketImpl.connect (AbstractPlainSocketImpl.java:18

8)

    at java.net.PlainSocketImpl.connect (PlainSocketImpl.java:172)

    at java.net.SocksSocketImpl.connect (SocksSocketImpl.java:392)

    at java.net.Socket.connect (Socket.java:589)

    at org.apache.maven.wagon.providers.http.httpclient.conn.ssl.SSLConnectionSo

cketFactory.connectSocket (SSLConnectionSocketFactory.java:337)

    at org.apache.maven.wagon.providers.http.httpclient.impl.conn.DefaultHttpCli

entConnectionOperator.connect (DefaultHttpClientConnectionOperator.java:141)

    at org.apache.maven.wagon.providers.http.httpclient.impl.conn.PoolingHttpCli

entConnectionManager.connect (PoolingHttpClientConnectionManager.java:353)

    at org.apache.maven.wagon.providers.http.httpclient.impl.execchain.MainClien

tExec.establishRoute (MainClientExec.java:380)

    at org.apache.maven.wagon.providers.http.httpclient.impl.execchain.MainClien

tExec.execute (MainClientExec.java:236)

    at org.apache.maven.wagon.providers.http.httpclient.impl.execchain.ProtocolE

xec.execute (ProtocolExec.java:184)

    at org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec

.execute (RetryExec.java:88)

    at org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RedirectE

xec.execute (RedirectExec.java:110)

    at org.apache.maven.wagon.providers.http.httpclient.impl.client.InternalHttp

Client.doExecute (InternalHttpClient.java:184)

    at org.apache.maven.wagon.providers.http.httpclient.impl.client.CloseableHtt

pClient.execute (CloseableHttpClient.java:82)

    at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.execute (Ab

stractHttpClientWagon.java:834)

    at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.fillInputDa

ta (AbstractHttpClientWagon.java:985)

    at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.fillInputDa

ta (AbstractHttpClientWagon.java:962)

    at org.apache.maven.wagon.StreamWagon.getInputStream (StreamWagon.java:126)

    at org.apache.maven.wagon.StreamWagon.getIfNewer (StreamWagon.java:88)

    at org.apache.maven.wagon.StreamWagon.get (StreamWagon.java:61)

    at org.eclipse.aether.transport.wagon.WagonTransporter$GetTaskRunner.run (Wa

gonTransporter.java:567)

    at org.eclipse.aether.transport.wagon.WagonTransporter.execute (WagonTranspo

rter.java:435)

    at org.eclipse.aether.transport.wagon.WagonTransporter.get (WagonTransporter

.java:412)

    at org.eclipse.aether.connector.basic.BasicRepositoryConnector$GetTaskRunner

.runTask (BasicRepositoryConnector.java:453)

    at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.ru

n (BasicRepositoryConnector.java:360)

    at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run (Runnabl

eErrorForwarder.java:75)

    at org.eclipse.aether.connector.basic.BasicRepositoryConnector$DirectExecuto

r.execute (BasicRepositoryConnector.java:583)

    at org.eclipse.aether.connector.basic.BasicRepositoryConnector.get (BasicRep

ositoryConnector.java:259)

    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads

 (DefaultArtifactResolver.java:498)

    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve (Default

ArtifactResolver.java:399)

    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts

 (DefaultArtifactResolver.java:224)

    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact

(DefaultArtifactResolver.java:201)

    at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact

(DefaultRepositorySystem.java:260)

    at org.apache.maven.project.ProjectModelResolver.resolveModel (ProjectModelR

esolver.java:193)

    at org.apache.maven.project.ProjectModelResolver.resolveModel (ProjectModelR

esolver.java:243)

    at org.apache.maven.model.building.DefaultModelBuilder.readParentExternally

(DefaultModelBuilder.java:1051)

    at org.apache.maven.model.building.DefaultModelBuilder.readParent (DefaultMo

delBuilder.java:829)

    at org.apache.maven.model.building.DefaultModelBuilder.build (DefaultModelBu

ilder.java:331)

    at org.apache.maven.project.DefaultProjectBuilder.build (DefaultProjectBuild

er.java:429)

    at org.apache.maven.project.DefaultProjectBuilder.build (DefaultProjectBuild

er.java:398)

    at org.apache.maven.project.DefaultProjectBuilder.build (DefaultProjectBuild

er.java:362)

    at org.apache.maven.graph.DefaultGraphBuilder.collectProjects (DefaultGraphB

uilder.java:400)

    at org.apache.maven.graph.DefaultGraphBuilder.getProjectsForMavenReactor (De

faultGraphBuilder.java:391)

    at org.apache.maven.graph.DefaultGraphBuilder.build (DefaultGraphBuilder.jav

a:78)

    at org.apache.maven.DefaultMaven.buildGraph (DefaultMaven.java:511)

    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:221)

    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194)

    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107)

    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955)

    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)

    at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.jav

a:62)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessor

Impl.java:43)

    at java.lang.reflect.Method.invoke (Method.java:498)

    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launche

r.java:289)

    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:2

29)

    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launc

her.java:415)

    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356

)

[ERROR]

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please rea

d the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin

gException

[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableMo

delException

 

C:\Users\aleena\royale-asjs>

 

Thanks,

Alina

 

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Wednesday, March 07, 2018 11:22 AM
To: users@royale.apache.org
Subject: RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Piotr,

Getting Similar Error in all cases. 

C:\Users\aleena>git clone https://github.com/apache/royale-asjs

Cloning into 'royale-asjs'...

remote: Counting objects: 101055, done.

remote: Compressing objects: 100% (127/127), done.

remote: Total 101055 (delta 101), reused 183 (delta 63), pack-reused 100828

Receiving objects: 100% (101055/101055), 19.27 MiB | 249.00 KiB/s, done.

Resolving deltas: 100% (61539/61539), done.

Checking out files: 100% (3572/3572), done.

 

C:\Users\aleena>cd royale-asjs

 

C:\Users\aleena\royale-asjs>git checkout develop

Already on 'develop'

Your branch is up to date with 'origin/develop'.

 

C:\Users\aleena\royale-asjs>mvn -s settings-template.xml clean install -P utils

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

maven-metadata.xml

[WARNING] Could not transfer metadata org.apache.flex.utilities.converter:flex-s

dk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from/to apache-sn

apshots (http://repository.apache.org/snapshots/): Connect to repository.apache.

org:80 [repository.apache.org/207.244.88.140] failed: Connection timed out: conn

ect

[WARNING] Failure to transfer org.apache.flex.utilities.converter:flex-sdk-conve

rter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from http://repository.ap

ache.org/snapshots/ was cached in the local repository, resolution will not be r

eattempted until the update interval of apache-snapshots has elapsed or updates

are forced. Original error: Could not transfer metadata org.apache.flex.utilitie

s.converter:flex-sdk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml

 from/to apache-snapshots (http://repository.apache.org/snapshots/): Connect to

repository.apache.org:80 [repository.apache.org/207.244.88.140] failed: Connecti

on timed out: connect

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

flex-sdk-converter-maven-extension-1.0.0-SNAPSHOT.pom

[WARNING] Failed to read extensions descriptor C:\Users\aleena\royale-asjs\.mvn\

extensions.xml: Plugin org.apache.flex.utilities.converter:flex-sdk-converter-ma

ven-extension:1.0.0-SNAPSHOT or one of its dependencies could not be resolved: F

ailed to read artifact descriptor for org.apache.flex.utilities.converter:flex-s

dk-converter-maven-extension:jar:1.0.0-SNAPSHOT

[INFO] Scanning for projects...

Downloading from apache-release: https://repository.apache.org/content/repositor

ies/releases/org/apache/apache/18/apache-18.pom

Downloading from central: https://repo.maven.apache.org/maven2/org/apache/apache

/18/apache-18.pom

[ERROR] [ERROR] Some problems were encountered while processing the POMs:

[FATAL] Non-resolvable parent POM for org.apache.royale.framework:royale-framewo

rk-parent:0.9.2-SNAPSHOT: Could not transfer artifact org.apache:apache:pom:18 f

rom/to apache-release (https://repository.apache.org/content/repositories/releas

es): Connect to repository.apache.org:443 [repository.apache.org/207.244.88.140]

 failed: Connection timed out: connect and 'parent.relativePath' points at no lo

cal POM @ line 24, column 11

 @

[ERROR] The build could not read 1 project -> [Help 1]

[ERROR]

[ERROR]   The project org.apache.royale.framework:royale-framework-parent:0.9.2-

SNAPSHOT (C:\Users\aleena\royale-asjs\pom.xml) has 1 error

[ERROR]     Non-resolvable parent POM for org.apache.royale.framework:royale-fra

mework-parent:0.9.2-SNAPSHOT: Could not transfer artifact org.apache:apache:pom:

18 from/to apache-release (https://repository.apache.org/content/repositories/re

leases): Connect to repository.apache.org:443 [repository.apache.org/207.244.88.

140] failed: Connection timed out: connect and 'parent.relativePath' points at n

o local POM @ line 24, column 11 -> [Help 2]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit

ch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please rea

d the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin

gException

[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableMo

delException

 

Thanks,

Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Wednesday, March 07, 2018 11:25 AM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Alina,

 

I see in your trace that you have cloned typedefs instead asjs -> "git clone https://github.com/apache/royale-typedefs.git". You should clone: 

 

git clone https://github.com/apache/royale-asjs and switch to "develop" branch than try to build.

 

However let me try build typedefs only in the meantime clone asjs and try again.

 

Thanks, Piotr

 

 

2018-03-07 7:19 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:

Alina,

 

Not sure, but let me try that on my sight, however I doubt that. Maven is a very distinguished from all the environment variables. If you got that build running you don't have to use almost all. :)

 

2018-03-07 7:03 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Piotr,

 

ROYALE_HOME environment variable is set to D:\royale-asjs that is the path for installed latest nightly build. This could be the reason ?

 

Thanks,

Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Wednesday, March 07, 2018 10:56 AM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Please try again build. Maybe it was some temporary problem. My build is running right now without the problem. Maven downloading dependencies nicely.

 

Thanks, Piotr

 

2018-03-07 6:39 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Piotr,

Its Working.

This XML file does not appear to have any style information associated with it. The document tree is shown below.

<metadata modelVersion="1.1.0">

<groupId>org.apache.flex.utilities.converter</groupId>

<artifactId>retrievers</artifactId>

<version>1.0.0-SNAPSHOT</version>

<versioning>

<snapshot>

<timestamp>20171112.204231</timestamp>

<buildNumber>490</buildNumber>

</snapshot>

<lastUpdated>20171112204231</lastUpdated>

<snapshotVersions>

<snapshotVersion>

<extension>pom</extension>

<value>1.0.0-20171112.204231-490</value>

<updated>20171112204231</updated>

</snapshotVersion>

</snapshotVersions>

</versioning>

</metadata>

 

Thanks,

Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Wednesday, March 07, 2018 10:48 AM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alina,

 

I just removed my whole local repository and trying exactly the same scenario. Just quick question can you try in your browser open this link ? Is it working ?

 

http://repository.apache.org/snapshots/org/apache/flex/utilities/converter/retrievers/1.0.0-SNAPSHOT/maven-metadata.xml

 

Thanks,

Piotr

 

2018-03-07 6:27 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Piotr,

Using Maven :

C:\Users\aleena>git clone https://github.com/apache/royale-typedefs.git royale-a

sjs

Cloning into 'royale-asjs'...

remote: Counting objects: 3318, done.

remote: Compressing objects: 100% (93/93), done.

remote: Total 3318 (delta 48), reused 76 (delta 16), pack-reused 3200

Receiving objects: 100% (3318/3318), 3.51 MiB | 244.00 KiB/s, done.

Resolving deltas: 100% (1337/1337), done.

 

C:\Users\aleena>cd royale-asjs

 

C:\Users\aleena\royale-asjs>git checkout develop

Already on 'develop'

Your branch is up to date with 'origin/develop'.

 

C:\Users\aleena\royale-asjs>mvn -s settings-template.xml clean install

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

maven-metadata.xml

[WARNING] Could not transfer metadata org.apache.flex.utilities.converter:flex-s

dk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from/to apache-sn

apshots (http://repository.apache.org/snapshots/): Connect to repository.apache.

org:80 [repository.apache.org/207.244.88.140] failed: Connection timed out: conn

ect

[WARNING] Failure to transfer org.apache.flex.utilities.converter:flex-sdk-conve

rter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from http://repository.ap

ache.org/snapshots/ was cached in the local repository, resolution will not be r

eattempted until the update interval of apache-snapshots has elapsed or updates

are forced. Original error: Could not transfer metadata org.apache.flex.utilitie

s.converter:flex-sdk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml

 from/to apache-snapshots (http://repository.apache.org/snapshots/): Connect to

repository.apache.org:80 [repository.apache.org/207.244.88.140] failed: Connecti

on timed out: connect

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

flex-sdk-converter-maven-extension-1.0.0-SNAPSHOT.pom

[WARNING] Failed to read extensions descriptor C:\Users\aleena\royale-asjs\.mvn\

extensions.xml: Plugin org.apache.flex.utilities.converter:flex-sdk-converter-ma

ven-extension:1.0.0-SNAPSHOT or one of its dependencies could not be resolved: F

ailed to read artifact descriptor for org.apache.flex.utilities.converter:flex-s

dk-converter-maven-extension:jar:1.0.0-SNAPSHOT

[INFO] Scanning for projects...

Downloading from apache-release: https://repository.apache.org/content/repositor

ies/releases/org/apache/apache/18/apache-18.pom

Downloading from central: https://repo.maven.apache.org/maven2/org/apache/apache

/18/apache-18.pom

[ERROR] [ERROR] Some problems were encountered while processing the POMs:

[FATAL] Non-resolvable parent POM for org.apache.royale.typedefs:royale-typedefs

-parent:0.9.2-SNAPSHOT: Could not transfer artifact org.apache:apache:pom:18 fro

m/to apache-release (https://repository.apache.org/content/repositories/releases

): Connect to repository.apache.org:443 [repository.apache.org/207.244.88.140] f

ailed: Connection timed out: connect and 'parent.relativePath' points at wrong l

ocal POM @ line 23, column 11

 @

[ERROR] The build could not read 1 project -> [Help 1]

[ERROR]

[ERROR]   The project org.apache.royale.typedefs:royale-typedefs-parent:0.9.2-SN

APSHOT (C:\Users\aleena\royale-asjs\pom.xml) has 1 error

[ERROR]     Non-resolvable parent POM for org.apache.royale.typedefs:royale-type

defs-parent:0.9.2-SNAPSHOT: Could not transfer artifact org.apache:apache:pom:18

 from/to apache-release (https://repository.apache.org/content/repositories/rele

ases): Connect to repository.apache.org:443 [repository.apache.org/207.244.88.14

0] failed: Connection timed out: connect and 'parent.relativePath' points at wro

ng local POM @ line 23, column 11 -> [Help 2]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit

ch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please rea

d the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin

gException

[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableMo

delException

 

C:\Users\aleena\royale-asjs>

 

Thanks

Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Tuesday, March 06, 2018 5:30 PM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alina,

 

You can try to go with Maven to see whether you have similar problems [1]

 

[1] https://github.com/apache/royale-asjs/wiki/Build-Apache-Royale-with-Maven

 

Thanks, Piotr

 

2018-03-06 13:12 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Alex,

Still getting same error, while executing:

C:\Users\aleena\royale-asjs>ant all

Website link is working :

http://www.antlr.org/license.html

 

could be only issue , Antlr server will be off-line ?

 

Thanks,

Alina

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Tuesday, March 06, 2018 4:38 PM
To: 'users@royale.apache.org'
Subject: RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alex,

 

We can exclude ScaleX , ScaleY,transform from our code as we are using it in our Library Project Only.

We are using “Rotation” in a PopUp Window. 

 

Can you please explain emulation ?

How do they will work?

 

Thanks,

Alina

 

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Tuesday, March 06, 2018 3:14 PM
To: 'users@royale.apache.org'
Subject: RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alex,

We are using commitProperties() in our Library Project. Overriding the Existing Spark commitProperties() method 

For Example:

ResizableTextAreaSkin.mxml (SHMALib)

override protected function commitProperties():void {

                                                super.commitProperties();

 

                                                if (lineBreakChanged) {

                                                                updateStringStyle("lineBreak");

                                                                lineBreakChanged = false;

                                                }

                                                if (paddingChanged) {

                                                                updatePadding();

                                                                paddingChanged = false;

                                                }

                                                if (verticalAlignChanged) {

                                                                updateStringStyle("verticalAlign");

                                                                verticalAlignChanged = false;

                                                }

                                }

We are using 


Package

 <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/package-detail.html> flash.display


Class

public class DisplayObject


Inheritance

DisplayObject Inheritance  <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/EventDispatcher.html> EventDispatcher Inheritance  <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Object.html> Object


Reference Link:

	

https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/DisplayObject.html

 

e.g :

                public function updateLayoutWithoutAnimation():void

                                {

                                                if(_layoutInvalid == true && layoutFunction != null)

                                                {

                                                                _layoutInvalid = false;

                                                                layoutFunction();

                                                }

 

                                                for(var aChild:* in _targets)

                                                {

                                                                var target:LayoutTarget = _targets[aChild];

                                                                var item:IFlexDisplayObject = target.item;

                                                                var m:Matrix = DisplayObject(item).transform.matrix;

 

                                                                m.tx = target.x;

                                                                m.ty = target.y;

                                                                m.a = target.scaleX;                                                                        

                                                                m.d = target.scaleY

                                                                

                                                                DisplayObject(item).alpha = target.alpha;

                                                                DisplayObject(item).transform.matrix = m;

                                                                item.setActualSize(target.unscaledWidth,target.unscaledHeight);

                                                                if(target.state == "removed")

                                                                {

                                                                                delete _targets[target.item];

                                                                                continue;

                                                                }

                                                                else

                                                                {

                                                                                target.state = "positioned"

                                                                }

                                                }

                                                stopTimer();

                                }

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, March 06, 2018 1:36 PM
To: users@royale.apache.org
Subject: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alina,

 

I'm starting on the emulation.  I've noticed that your application code appears to be calling commitProperties().  Can you tell us why?

 

Also, it looks like there are a few uses of rotation, transform, scaleX and scaleY.  What are those used for?

 

Thanks,

-Alex

 

From: Alex Harui <ah...@adobe.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 11:38 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Try again.  Sometimes the Antlr server goes off-line around this time of day.

 

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 11:12 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Using jdk1.8.0_162:

 

C:\Users\aleena\royale-asjs>ant all

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Buildfile: C:\Users\aleena\royale-asjs\build.xml

 

set.base.folder:

 

check-git:

     [echo] Checking for Git...

     [exec] git version 2.16.2.windows.1

 

get-download-folder:

 

download-all:

     [echo] Using folder C:\Users\aleena\royale-asjs/..

 

check-royale-asjs:

 

warn-before-clone:

 

check-royale-asjs:

 

clone-royale-asjs:

 

check-royale-compiler:

 

clone-royale-compiler:

 

check-royale-typedefs:

 

clone-royale-typedefs:

 

check-playerglobal-home:

 

check-air-home:

 

build-all:

 

ask-before-build-all:

    [input] This script will now download and compile lots of files.  This can t

ake several minutes.   No interaction should be required.  Press the enter key t

o continue.

 

 

sdk:

 

annotate.class:

    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-

build-tools\target\classes

    [javac] warning: [options] bootstrap class path not set in conjunction with

-source 1.5

    [javac] warning: [options] source value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] target value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] To suppress warnings about obsolete options, use

-Xlint:-options.

    [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\src\main\java\o

rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:24: warning: [serial

] serializable class AnnotateClassDeleteException has no definition of serialVer

sionUID

    [javac]     public static class AnnotateClassDeleteException extends Excepti

on

    [javac]                   ^

    [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\src\main\java\o

rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:32: warning: [serial

] serializable class AnnotateClassRenameException has no definition of serialVer

sionUID

    [javac]     public static class AnnotateClassRenameException extends Excepti

on

    [javac]                   ^

    [javac] 6 warnings

 

unknown.tree.pattern.input.output:

    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-

build-tools\target\classes

    [javac] warning: [options] bootstrap class path not set in conjunction with

-source 1.5

    [javac] warning: [options] source value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] target value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] To suppress warnings about obsolete options, use

-Xlint:-options.

    [javac] 4 warnings

 

main:

 

compiler.downloads.cache:

 

compiler.downloads:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

prepare:

     [echo] Making lib directory C:\Users\aleena\royale-compiler\compiler/lib/ex

ternal

    [mkdir] Created dir: C:\Users\aleena\royale-compiler\compiler\lib\external

 

all:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

check-dependency:

     [echo] checking for C:\Users\aleena\royale-compiler\compiler/lib/external//

antlr.jar

 

download-dependency:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

echo-project-jar:

   [delete] Deleting: C:\Users\aleena\royale-compiler\compiler\src\main\resource

s\project.properties

     [echo] ${INFO_DOWNLOADING_FILE_FROM}

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

download-apache-license:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

download-other-license:

      [get] Getting: http://www.antlr.org/license.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0> 

      [get] To: C:\Users\aleena\royale-compiler\compiler\lib\external\antlr-LICE

NSE.html

      [get] Error getting http://www.antlr.org/license.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0>  to C:\Users\aleena\r

oyale-compiler\compiler\lib\external\antlr-LICENSE.html

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

double-check-file:

     [echo] ${env.ROYALE_DOWNLOAD_CACHE}

     [echo] Need file: ${still_no_file}

 

get-from-cache-if-needed:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

fail-if-not-found:

 

BUILD FAILED

C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-compiler\build.xml:64: The following error occurred while

 executing this line:

C:\Users\aleena\royale-compiler\compiler-jburg-types\build.xml:87: The following

 error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:81: Th

e following error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:275: T

he following error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:329: T

he following error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:489: C

:\Users\aleena\royale-compiler\compiler/lib/external//antlr-LICENSE.html could n

ot be downloaded or found in cache

 

Total time: 47 seconds

 

C:\Users\aleena\royale-asjs>

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, March 06, 2018 11:55 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Please use JDK8.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 10:40 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

Java version that I am using is “9.0.1”

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, March 06, 2018 11:42 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

What version of Java are you using?  Please get a JDK7 or 8 and try that.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 10:22 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Command Prompt Output is:

C:\Users\aleena>git clone https://github.com/apache/royale-asjs.git <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs.git&data=02%7C01%7Caharui%40adobe.com%7Cdf86fa0dd25b41ffbc8108d5832f0997%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559160423949211&sdata=d9cKX4ILIQPLI5USXvAafSnrWZSgW1XHw6G4r%2B9wgsE%3D&reserved=0>  royale-asjs

Cloning into 'royale-asjs'...

remote: Counting objects: 101103, done.

remote: Compressing objects: 100% (22/22), done.

remote: Total 101103 (delta 9), reused 30 (delta 7), pack-reused 101066R

Receiving objects: 100% (101103/101103), 19.23 MiB | 208.00 KiB/s, done.

 

Resolving deltas: 100% (61584/61584), done.

Checking out files: 100% (3572/3572), done.

 

C:\Users\aleena>cd royale-asjs

 

C:\Users\aleena\royale-asjs>git checkout develop

Already on 'develop'

Your branch is up to date with 'origin/develop'.

 

C:\Users\aleena\royale-asjs>ant all

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Buildfile: C:\Users\aleena\royale-asjs\build.xml

 

set.base.folder:

 

check-git:

     [echo] Checking for Git...

     [exec] git version 2.16.2.windows.1

 

get-download-folder:

 

download-all:

     [echo] Using folder C:\Users\aleena\royale-asjs/..

 

check-royale-asjs:

 

warn-before-clone:

 

check-royale-asjs:

 

clone-royale-asjs:

 

check-royale-compiler:

 

clone-royale-compiler:

     [echo] cloning royale-compiler repo into C:\Users\aleena\royale-asjs/../roy

ale-compiler

     [exec] Cloning into 'royale-compiler'...

     [exec] Checking out files:   8% (284/3191)

     [exec] Checking out files:   9% (288/3191)   Checking out files:  10% (320/

3191)   Checking out files:  11% (352/3191)   Checking out files:  12% (383/3191

)   Checking out files:  13% (415/3191)   Checking out files:  13% (444/3191)

Checking out files:  14% (447/3191)   Checking out files:  15% (479/3191)   Chec

king out files:  16% (511/3191)   Checking out files:  17% (543/3191)   Checking

 out files:  18% (575/3191)   Checking out files:  19% (607/3191)   Checking out

 files:  20% (639/3191)   Checking out files:  20% (641/3191)   Checking out fil

es:  21% (671/3191)   Checking out files:  22% (703/3191)   Checking out files:

 23% (734/3191)   Checking out files:  24% (766/3191)   Checking out files:  25%

 (798/3191)   Checking out files:  26% (830/3191)   Checking out files:  26% (84

2/3191)   Checking out files:  27% (862/3191)   Checking out files:  28% (894/31

91)   Checking out files:  29% (926/3191)   Checking out files:  30% (958/3191)

  Checking out files:  31% (990/3191)   Checking out files:  32% (1022/3191)   C

hecking out files:  33% (1054/3191)   Checking out files:  34% (1085/3191)   Che

cking out files:  35% (1117/3191)   Checking out files:  36% (1149/3191)   Check

ing out files:  37% (1181/3191)   Checking out files:  38% (1213/3191)   Checkin

g out files:  39% (1245/3191)   Checking out files:  40% (1277/3191)   Checking

out files:  40% (1308/3191)   Checking out files:  41% (1309/3191)   Checking ou

t files:  42% (1341/3191)   Checking out files:  42% (1352/3191)   Checking out

files:  43% (1373/3191)   Checking out files:  44% (1405/3191)   Checking out fi

les:  45% (1436/3191)   Checking out files:  46% (1468/3191)   Checking out file

s:  47% (1500/3191)   Checking out files:  48% (1532/3191)   Checking out files:

  49% (1564/3191)   Checking out files:  49% (1578/3191)   Checking out files:

50% (1596/3191)   Checking out files:  51% (1628/3191)   Checking out files:  52

% (1660/3191)   Checking out files:  53% (1692/3191)   Checking out files:  54%

(1724/3191)   Checking out files:  55% (1756/3191)   Checking out files:  56% (1

787/3191)   Checking out files:  57% (1819/3191)   Checking out files:  58% (185

1/3191)   Checking out files:  59% (1883/3191)   Checking out files:  60% (1915/

3191)   Checking out files:  61% (1947/3191)   Checking out files:  62% (1979/31

91)   Checking out files:  63% (2011/3191)   Checking out files:  63% (2022/3191

)   Checking out files:  64% (2043/3191)   Checking out files:  65% (2075/3191)

  Checking out files:  66% (2107/3191)   Checking out files:  67% (2138/3191)

Checking out files:  68% (2170/3191)   Checking out files:  69% (2202/3191)   Ch

ecking out files:  70% (2234/3191)   Checking out files:  71% (2266/3191)   Chec

king out files:  72% (2298/3191)   Checking out files:  73% (2330/3191)   Checki

ng out files:  74% (2362/3191)   Checking out files:  75% (2394/3191)   Checking

 out files:  76% (2426/3191)   Checking out files:  77% (2458/3191)   Checking o

ut files:  78% (2489/3191)   Checking out files:  79% (2521/3191)   Checking out

 files:  80% (2553/3191)   Checking out files:  81% (2585/3191)   Checking out f

iles:  82% (2617/3191)   Checking out files:  83% (2649/3191)   Checking out fil

es:  83% (2679/3191)   Checking out files:  84% (2681/3191)   Checking out files

:  85% (2713/3191)   Checking out files:  86% (2745/3191)   Checking out files:

 87% (2777/3191)   Checking out files:  88% (2809/3191)   Checking out files:  8

9% (2840/3191)   Checking out files:  89% (2845/3191)   Checking out files:  90%

 (2872/3191)   Checking out files:  91% (2904/3191)   Checking out files:  92% (

2936/3191)   Checking out files:  93% (2968/3191)   Checking out files:  94% (30

00/3191)   Checking out files:  95% (3032/3191)   Checking out files:  95% (3035

/3191)   Checking out files:  96% (3064/3191)   Checking out files:  97% (3096/3

191)   Checking out files:  98% (3128/3191)   Checking out files:  99% (3160/319

1)   Checking out files: 100% (3191/3191)   Checking out files: 100% (3191/3191)

, done.

     [exec] Your branch is up to date with 'origin/develop'.

     [exec] Already on 'develop'

 

check-royale-typedefs:

 

clone-royale-typedefs:

     [echo] cloning royale-typedefs repo into C:\Users\aleena\royale-asjs/../roy

ale-typedefs

     [exec] Cloning into 'royale-typedefs'...

     [exec] Your branch is up to date with 'origin/develop'.

     [exec] Already on 'develop'

 

check-playerglobal-home:

 

check-air-home:

 

build-all:

 

ask-before-build-all:

    [input] This script will now download and compile lots of files.  This can t

ake several minutes.   No interaction should be required.  Press the enter key t

o continue.

 

sdk:

 

annotate.class:

    [mkdir] Created dir: C:\Users\aleena\royale-compiler\compiler-build-tools\ta

rget\classes

    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-

build-tools\target\classes

    [javac] warning: [options] bootstrap class path not set in conjunction with

-source 1.5

    [javac] error: Source option 1.5 is no longer supported. Use 1.6 or later.

    [javac] error: Target option 1.5 is no longer supported. Use 1.6 or later.

 

BUILD FAILED

C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-compiler\build.xml:63: The following error occurred while

 executing this line:

C:\Users\aleena\royale-compiler\compiler-build-tools\build.xml:74: Compile faile

d; see the compiler error output for details.

 

Total time: 17 minutes 59 seconds

 

C:\Users\aleena\royale-asjs>

 

Unable to Build, Please guide.

 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Friday, March 02, 2018 10:31 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I was able to download and expand the files.  I will be consolidating the data today. 

 

In order to be able to write some of these emulations, you will probably need to be able to build the framework sources.  If you haven't already, you can try cloning the royale-asjs repo and figure out how to get it to build.  You can choose Apache Maven or Apache Ant as the build tool.

 

https://github.com/apache/royale-asjs <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs&data=02%7C01%7Caharui%40adobe.com%7C3c1833c1fc9442003f2608d5832c7fe0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559149534170415&sdata=YqGTpbzoou8SilHbsTxjriIjiREaS%2FA9j6xjZYRR%2F4E%3D&reserved=0> 

 

Hopefully the instruction in the readme are sufficient.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Friday, March 2, 2018 at 12:34 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

Application API-Report link:

https://www.dropbox.com/s/swvqhly6wa0jrc5/API-Reports.rar?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fswvqhly6wa0jrc5%2FAPI-Reports.rar%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C928c248220464230f6dd08d5801a2f13%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555772324148830&sdata=9%2BsrGG41iCMIEmbtqnEbV%2BPvi1ngE9vF%2BKuqPAZ%2Bzao%3D&reserved=0> 

SHMALib Report, applications,shmDoclist,shmSetupList,AppView_EIS, AppView_ERP,shmMappingSetup, shmMappingSetupOpenDetailGrid,shmSalesInvoice, shmSalesInvoiceDetail are main API Files.

 

Regards,

Alina

 

 

 

 

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Friday, March 02, 2018 11:32 AM
To: users@royale.apache.org
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

2) We are using Effects in our Application 2-3 times 

4) We are using text styling in our Application 3-5 times 

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Friday, March 02, 2018 4:26 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

1) Interesting about Charts.  They were being used by the SWC.

2) Effects are any animations that move, resize or fade things in the UI.

3) ok

4) I'm not sure what to conclude from the screenshot.  I'm interested in how often folks use it to create text with bold, italics and other styling of text.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Thursday, March 1, 2018 at 4:24 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

600 mxml.api.txt files are generated and still in process. I will share link for files tomorrow.

After sharing my files tomorrow, If you will suggest to build  emulations. 

I will  definitely want to learn how to create emulations and contribute them to Apache Royale.  

1.We are not using Charts in our Application

2. How important are effects? (Please explain effects )

3. We are not using Right-to-left languages in RichTextEditor.

4. Is RichTextEditor being used for non-plain text?  If so, what kinds of text styling is important?

Link:https://www.dropbox.com/s/ky93eycmefm3cuu/RICHTEXTEDITOR.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fky93eycmefm3cuu%2FRICHTEXTEDITOR.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cff526ec5592c42772ade08d57f713736%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555046634193460&sdata=BjS8q1GarTweRfMMmZOKxN%2FTQTqhtzJlm05KAtWnNTQ%3D&reserved=0> 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 10:45 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Good to hear it worked.

 

I think I am waiting on all of the mxml.api.txt files to see what else is in there that isn't in the two reports we have, then we'll have a pretty good list of the places you will either need to change in your code or that we  will build emulations for.

 

I think emulations will be less work in the end, but there will be a lot of them to do.  We will want to you to learn how to create emulations and contribute them to Apache Royale.  That's how many Apache projects work: some of the users learn how to become committers.  This will be an asset to your company as well since you will learn how to fix things in Royale yourself.  Then your company won't be dependent on outsiders for support.

 

So, Peter and I and hopefully others will get started on some emulations to make sure they work for us, and then you can see if they work for you, and then we will teach you how to write those emulations.  Over the next several months, besides testing emulations written by others in your app, you will be writing your own emulations for things you need right away that we haven't written yet, or for third-party code that you are using.

 

It might help to get some prioritization on the emulations we need to write.  In looking at the list, I am wondering:

1.	Are some charts more important than others?
2.	How important are effects?
3.	Do you use Right-to-left languages in RichTextEditor?
4.	Is RichTextEditor being used for non-plain text?  If so, what kinds of text styling is important?

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Wednesday, February 28, 2018 at 1:22 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Thank you.

It’s working with latest nightly build:

https://www.dropbox.com/s/77wkgrm74upkg0j/SHMALib%20Report.txt?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F77wkgrm74upkg0j%2FSHMALib%2520Report.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C16fa845b6d2f4efb7f4a08d57e8e9097%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636554073167111532&sdata=UV0BOZpVonw%2BILcK9njhQdf5pKpqWPccp0IKDPm4jOI%3D&reserved=0> 

 

 

Regards,

Alina

 

 

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 1:15 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Looks like COMPC collected the data but never generated the report.  I pushed a fix for that.  Please try the latest nightly build.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Tuesday, February 27, 2018 at 10:35 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Thank you

After commenting the embedded font part from source.

Output to console:

3462313 bytes written to D:\SHMALib.swc in 19.878 seconds

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"

 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\framewor

ks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\sr

c" -library-path+=D:\SHMALIB\libs

 

SHMALib.swf file Generated and Report.txt is empty 

SHMALib.swc output Link:

https://www.dropbox.com/s/4tz49sz134m2gg9/SHMALib.swc?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F4tz49sz134m2gg9%2FSHMALib.swc%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=%2FNcbTJtah21RRPeWfwg2pRaZ72hd%2BdG0iJlnH3GsA28%3D&reserved=0> 

then I change, Compc -output "D:\SHMALib.swc" to Compc -output "D:\SHMALib. txt " 

SHMALib.txt output Link:

https://www.dropbox.com/s/j38obt5e36awuh3/SHMALib.txt?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fj38obt5e36awuh3%2FSHMALib.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=V%2FcA5dJ3Fi1qOvh%2BtUlbU%2FZ%2FQ5SBfRw7psjsm2Q%2Fe8w%3D&reserved=0> 

 

Thanks,

Alina

 

 

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 11:18 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

The only error right now is the embedded font.

 

We can discuss the pros and cons of embedding images in the JS output at some other point in time.

 

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Tuesday, February 27, 2018 at 10:01 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Big Part of SHMALib Uses Embed and metadata :

 

                                // Embed the font so we can rotate it for further distortion

                                [Embed(systemFont="Comic Sans MS",

                                                                embedAsCFF='false')]

                <mx:Image y="4" width="18" height="20" right="185" source="@Embed(source='assets/default/images/load.png')"

                                                  source="@Embed(source='assets/default/images/next.gif')" scaleContent="false"/>

                <mx:Image y="4" width="18" height="20" right="3" source="@Embed(source='assets/default/images/magnifier.png')"

     * An IFrame which you can embed into Flex applications to show an HTML page.

     * @example A simple application with Google embedded

        // SWF embed object tracking

         * The SWF embed object id.

         * Get the embed object id.

        protected function resolveEmbedObjectId():void

                    var result:Object=ExternalInterface.call(IFrameExternalCalls.FUNCTION_ASK_FOR_EMBED_OBJECT_ID, randomIdentificationString.toString());

                        logger.info("Resolved the SWF embed object id to '{0}'.", applicationId);

                        logger.error('Could not resolve the SWF embed object Id.');

            // Resolve the SWF embed object id in the DOM.

            ExternalInterface.call(IFrameExternalCalls.INSERT_FUNCTION_ASK_FOR_EMBED_OBJECT_ID);

            resolveEmbedObjectId();

            logger.info("Loading IFrame with id '{0}', on SWF embed object with id '{1}'.", _frameId, applicationId);

                    FUNCTION_LOADIFRAME + " = function (frameID, iframeID, url, embedID, scrollPolicy)" +

                                      "onLoad='\"+embedID+\".\"+frameID+\"_load();' " +

        public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String = "askForEmbedObjectId";

        public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String = "askForEmbedObjectId";

        public static var INSERT_FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =

                "if (document." + FUNCTION_ASK_FOR_EMBED_OBJECT_ID + "==null)" +

                    FUNCTION_ASK_FOR_EMBED_OBJECT_ID + " = function(randomString) " + 

                            "var embeds = document.getElementsByTagName('embed'); " + 

                            "var embeds = document.getElementsByTagName('embed'); " + 

                            "for (var i = 0; i < embeds.length; i++) { " + 

                                "var isTheGoodOne = embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " + 

                                "var isTheGoodOne = embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " + 

                                    "return embeds[i].getAttribute('id'); " + 

                                 * The UITextField control for displaying embeded hints.

                                private var embedTextField:UITextField;

                                 *  The String to be shown as the embeded hint.

                                private var embedStr:String = "";

                                                                                embedStr = "MM DD YYYY";

                                                                                embedStr = "DD MM YYYY";

                                                                                embedStr = "YYYY MM DD";

                                                                                embedStr = "YYYY DD MM";

                                 *  Create child objects for displaying embeded hints.

                                                                embedTextField = new UITextField();

                                                                //embedTextField.text = embedStr;

                                                                //embedTextField.text = embedStr;

                                                                addChildAt(UITextField(embedTextField),getChildIndex(DisplayObject(textField)));//as TextField

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                                s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);

                                                                                                                                embedTextField.text = s;

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                                //s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);

                                                                                                                                //embedTextField.text = s;

                                                                                                                                s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);

                                                                                                                                embedTextField.text = s;

                                                                                // If embeded hints are displayed then update the

                                                                                // UITextField corresponding to the embeded hints

                                                                                                var s:String = embedTextField.text == null ? "":embedTextField.text;

                                                                                                var s:String = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                embedTextField.text = s;

                                                                // create the embeded text field for showing

                                                                // embeded hints if its not already created.

                                                                // If it is created, then just change the embeded hint.

                                                                if(!embedTextField)

                                                                                embedTextField = new UITextField();

                                                                                addChildAt(embedTextField,getChildIndex(DisplayObject(textField))); //as TextField

                                                                //embedTextField.text = embedStr;

                                                                //embedTextField.text = embedStr;

                                                                embedTextField.alpha = 1;

                                                                embedTextField.setTextFormat(txtFormat);

                                                                embedTextField.x = 0;

                                                                embedTextField.y = 2;

                                                                embedTextField.setActualSize(width,height);

                                                                if(embedTextField)

                                                                                embedTextField.text = "";

                                                                                embedTextField = null;

                                                // setting the color of the embeded text field to white.

                                                                if(embedTextField)

                                                                                embedTextField.setColor(0xFFFFFF);

                                                                                if(embedTextField)

                                                                                                addChildAt(DisplayObject(newSkin),getChildIndex(DisplayObject(embedTextField)));//

   background-image:                                      Embed(source="/assets/application_background.png",

                up-skin:                Embed("/assets/maximize_up.png");

                over-skin:            Embed("/assets/maximize_over.png");

                down-skin:         Embed("/assets/maximize_up.png");

                selected-up-skin:   Embed("/assets/restore_up.png");

                selected-over-skin: Embed("/assets/restore_over.png");

                selected-down-skin: Embed("/assets/restore_up.png");

                up-skin:        Embed("/assets/minimize_up.png");

                over-skin:      Embed("/assets/minimize_over.png");

                down-skin:      Embed("/assets/minimize_up.png");

                up-skin:                                Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");

                over-skin:                            Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");

                down-skin:                         Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");

                selected-up-skin:                             Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");

                selected-over-skin:                         Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");

                selected-down-skin:                      Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");

                up-skin:                                Embed("/assets/left_arrow_up.gif");

                over-skin:                            Embed("/assets/left_arrow_over.gif");

                down-skin:                         Embed("/assets/left_arrow_up.gif");

                disabled-skin:    Embed("/assets/left_arrow_disabled.gif");

                up-skin:                                Embed("/assets/right_arrow_up.gif");

                over-skin:                            Embed("/assets/right_arrow_over.gif");

                down-skin:                         Embed("/assets/right_arrow_up.gif");

                disabled-skin:    Embed("/assets/right_arrow_disabled.gif");

                                //[Embed(source="/assets/cursor_move.gif")]

                                //[Embed(source="/assets/cursor_resize.gif")]

                                [Embed(source="/assets/default/images/mouseMove.gif")]

                                [Embed(source="/assets/default/images/verticalSize.gif")]

                                [Embed(source="/assets/default/images/horizontalSize.gif")]

                                [Embed(source="/assets/default/images/leftObliqueSize.gif")]

                                [Embed(source="/assets/default/images/rightObliqueSize.gif")]

                                                if (image.isEmbedded) 

                                                //if (!Application.application.systemManager.isFontFaceEmbedded(textFormat)) 

                                                if (!FlexGlobals.topLevelApplication.systemManager.isFontFaceEmbedded(textFormat))

                                                                if (Application.application.isFontsEmbedded) {

                                                                if (Application.application.isFontsEmbedded) {

                                                                if (Application.application.isFontsEmbedded) {

                                private var _isEmbedded:Boolean = false;

                                public function set isEmbedded(embedded:Boolean):void 

                                public function set isEmbedded(embedded:Boolean):void 

                                                _isEmbedded = embedded;

                                                _isEmbedded = embedded;

                                public function get isEmbedded():Boolean 

                                                return _isEmbedded;

                                                <mx:icon>@Embed(source='images/print.GIF')</mx:icon>

                                                <mx:icon>@Embed(source='images/reload.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/first-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/first.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/previous-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/previous.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/next-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/next.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/last-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/last.GIF')</mx:icon>

                                                                                <mx:icon>@Embed(source='images/actualsize.GIF')</mx:icon>

                                                                                <mx:icon>@Embed(source='images/fitpage.GIF')</mx:icon>

                                                                                <mx:icon>@Embed(source='images/fitwidth.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/zoomin-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/zoomin.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/zoomout-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/zoomout.GIF')</mx:icon>

                                                                <mx:icon>@Embed(source='images/print.GIF')</mx:icon>

                                                if (imageSourceXml.@isEmbedded.length() > 0)

                                                                image.isEmbedded = imageSourceXml.@isEmbedded == "true";

                                                                image.isEmbedded = imageSourceXml.@isEmbedded == "true";

                 source="@Embed(source='/assets/default/images/left_arrow_up.gif')"/>

                 source="@Embed(source='/assets/default/images/left_arrow_over.gif')"/>

                 source="@Embed(source='/assets/default/images/left_arrow_disabled.gif')"/>  

                                                                                   source="@Embed(source='/com/shm/flexlib/mdi/assets/img/maximizeButton.png')"/>

                                                                                   height="12" source="@Embed(source='/com/shm/flexlib/mdi/assets/img/restoreButton.png')"/>

                                                                                   source="@Embed(source='/com/shm/flexlib/mdi/assets/img/minimizeButton.png')"/>

                 source="@Embed(source='/assets/default/images/right_arrow_up.gif')"/>

                 source="@Embed(source='/assets/default/images/right_arrow_over.gif')"/>

                 source="@Embed(source='/assets/default/images/right_arrow_disabled.gif')"/>  

 

 

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 11:00 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I think you can ignore the warnings.  The first error is for embedding a font, which Royale doesn't currently support, so for now, try commenting out the Embed metadata and see if that allows the error to go away.

 

I would look into the other errors to see if they are legitimate or not.  The Royale Compiler will catch some things the MXMLC compiler may not.  Or you could comment out the code involved in the two errors in TImeZone.as for now since that won't affect the report.

 

The final two errors I saw are for missing skin states.  I think you can just add the skin states.

 

HTH,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Tuesday, February 27, 2018 at 9:35 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

While Executing

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\src"

Or 

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\Flex\libs\SH

MALIB.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bi

n\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\

SHMALIB\src" -library-path+=D:\SHMALIB\libs

 

Error:

(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to

field java.lang.Thread.inheritableThreadLocals

WARNING: Please consider reporting this to the maintainers of com.google.common.

base.internal.Finalizer

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect

ive access operations

WARNING: All illegal access operations will be denied in a future release

Loading configuration: D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(415): col: 50 Warning:

Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="DataProviderService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(419): col: 50 Warning:

Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="BasicFormatterService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(516): col: 50 Warning: Da

ta binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="DataProviderService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(520): col: 50 Warning: Da

ta binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="BasicFormatterService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\shmCaptchaImage.as(43): col: 3 Error: Embed re

quires a 'source' file attribute

 

                [Embed(systemFont="Comic Sans MS",

                ^

 

D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(37): col: 88 Warning: Data

binding will not be able to detect assignments to 'isSelected'.

 

                                        <mx:CheckBox selectedField="isSelected"

 change="onChange(event);" selected="{data.isSelected}">

 

                                          ^

 

D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(46): col: 27 Warning: Data

binding will not be able to detect assignments to 'label'.

 

                                        <mx:Label text="{data.label}" />

                                                             ^

 

D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(126): col: 15 Error: Impli

cit coercion of a value of type Boolean to an unrelated type Number.

 

                                if(year & 0x3 == 0)

                                          ^

 

D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(134): col: 39 Error: Impli

cit coercion of a value of type Boolean to an unrelated type Number.

 

                                if(month == 1 && value.fullYear & 0x3 == 0)

                                                                  ^

 

D:\SHMALIB\src\com\shm\dashboard\renderers\GridPodURLRenderer.mxml(6): col: 23 W

arning: Data binding will not be able to detect assignments to 'SrNo'.

 

                  htmlText="&lt;u&gt;{data.SrNo}&lt;/u&gt;" color="blue" click="

f_DrillDownData(data)">

                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml Error:

The required skin state 'disabledWithPrompt' is missing.

 

 

D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml Error:

The required skin state 'normalWithPrompt' is missing.

 

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(177): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(187): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(202): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(212): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(429): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(439): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(454): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(464): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(479): col: 26 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                field="{properties.@valueField}"

 

                                                                   ^

 

D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(115): col: 74 Warning

: Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject id="roDrillDownColInfo" channelSet="{parentAppl

ication.amfChannelSet}" showBusyCursor="true"

 

       ^

 

D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(118): col: 68 Warning

: Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject id="roDgDpResult" channelSet="{parentApplicatio

n.amfChannelSet}" showBusyCursor="true"

 

 ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PieChartContent.mxml(128): col: 24 Warning

: Data binding will not be able to detect assignments to 'valueField'.

 

                                field="{properties.@valueField}"

                                                   ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 37 Warning: Dat

a binding will not be able to detect assignments to 'appParams'.

 

                                                        inputMask="{parentApplic

ation.appParams.DATE_FORMAT}" showToday="true"  yearNavigationEnabled="true"

 

     ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 47 Warning: Dat

a binding will not be able to detect assignments to 'DATE_FORMAT'.

 

                                                        inputMask="{parentApplic

ation.appParams.DATE_FORMAT}" showToday="true"  yearNavigationEnabled="true"

 

               ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 38 Warning: Dat

a binding will not be able to detect assignments to 'appParams'.

 

                                                         inputMask="{parentAppli

cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true" showToday="true"

 

      ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 48 Warning: Dat

a binding will not be able to detect assignments to 'DATE_FORMAT'.

 

                                                         inputMask="{parentAppli

cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true" showToday="true"

 

                ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(12): col: 11 Warnin

g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

 

                        import mx.graphics.Stroke;

                               ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(37): col: 23 Warnin

g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

 

                                        lne.stroke = new Stroke(0,1,.3);

                                                         ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(46): col: 14 Warnin

g: Duplicate variable definition: i.

 

                                for (var i:int = 1; i < lnWdt; i++){

                                         ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(47): col: 10 Warnin

g: Duplicate variable definition: lne.

 

                                        var lne:Line  = new Line();

                                            ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(53): col: 23 Warnin

g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

 

                                        lne.stroke = new Stroke(0,1,.3);

                                                         ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(54): col: 10 Warnin

g: Duplicate variable definition: llbe.

 

                                        var llbe:Label = new Label();

                                            ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(157): col: 40 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var xPosition:Number = Application.application.p

arent.mouseX;

                                                                   ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(158): col: 40 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var yPosition:Number = Application.application.p

arent.mouseY;

                                                                   ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(225): col: 36 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var xPlus:Number = Application.application.paren

t.mouseX - point.x;

                                                               ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(226): col: 36 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var yPlus:Number = Application.application.paren

t.mouseY - point.y;

                                                               

Thanks,

Alina Kazi

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 10:16 AM
To: Alina Kazi; users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I think that Flash Builder makes it easy to build SWCs.  Building from the command line can be a bit trickier.

 

Let's try:

Compc -output "D:\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\src"

 

HTH,

-Alex

 

 

From: Alina Kazi <al...@d-bz.com>
Date: Tuesday, February 27, 2018 at 7:28 PM
To: "users@royale.apache.org" <us...@royale.apache.org>, Alex Harui <ah...@adobe.com>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Yes I am using Flash Builder.

SHMALIB and MainFlexApp are two separate Projects

Src for SHMALIB is placed into D:/SHMALIB/src

Src for MainFlexApp is D:/Flex/src and the library output file SHMALIB.swc is placed into D:/Flex/libs

 

SHMALIB (.actionscriptProperties)

 

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<actionScriptProperties mainApplicationPath="SHMALib.as" projectUUID="863559ab-3e7b-475b-a3a4-09f4f76fc0d2" version="6">

  <compiler additionalCompilerArguments="-locale en_US" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderLocation="D:/Flex/libs" outputFolderPath="bin-debug" sourceFolderPath="src" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" verifyDigests="true" warn="true">

    <compilerSourcePath/>

    <libraryPath defaultLinkType="0">

      <libraryPathEntry kind="4" path="">

        <excludedEntries>

          <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>

        </excludedEntries>

      </libraryPathEntry>

      <libraryPathEntry kind="1" linkType="1" path="libs"/>

    </libraryPath>

    <sourceAttachmentPath/>

  </compiler>

  <applications>

    <application path="SHMALib.as"/>

  </applications>

  <modules/>

  <buildCSSFiles/>

</actionScriptProperties>

 

SHMALIB (.flexLibProperties)

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<flexLibProperties includeAllClasses="true" version="3">

  <includeClasses/>

  <includeResources/>

  <namespaceManifests/>

</flexLibProperties>

 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 9:34 PM
To: Alina Kazi
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

When you are not trying to use Royale to generate this API report, how are you building your current Flex app?  We might need to know that in order to determine what parameters to add to COMPC.

 

COMPC has additional parameters like -include–sources, include-file, include-classes.  Sometimes, these are listed in an xml file.  If you are using Flash Builder, for example, then examine the .flexlibproperties and .actionscriptProperties files in your project folder.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Date: Tuesday, February 27, 2018 at 3:21 AM
To: 'Alina Kazi' <al...@d-bz.com>
Cc: Alex Harui <ah...@adobe.com>
Subject: RE: Generating API report for Flex Web Browser application

 

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"

 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"

Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by com.google.common.base.internal.Finalizer

(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to

field java.lang.Thread.inheritableThreadLocals

WARNING: Please consider reporting this to the maintainers of com.google.common.

base.internal.Finalizer

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect

ive access operations

 

Error: nothing was specified to be included in the library.

-Alina

 

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Tuesday, February 27, 2018 2:16 PM
To: 'users@royale.apache.org'
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

I am using Moonshine IDE 1.9.0.

Flex 4.16.0

Apache Royale 0.9.2 Latest Nightly Build

 

Running this Command on Command Prompt:

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"

 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"

Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by com.google.common.base.internal.Finalizer

(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to

field java.lang.Thread.inheritableThreadLocals

WARNING: Please consider reporting this to the maintainers of com.google.common.

base.internal.Finalizer

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect

ive access operations

WARNING: All illegal access operations will be denied in a future release

 

command line Error: unknown configuration variable 'sourceΓÇôpath'.

 

-Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 1:26 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

COMPC takes a slightly different set of parameters.  What IDE or build tools are you using to build it without Royale?  You might need to know what options that build uses.

 

You can try running: 

 

Compc -output "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source–path="D:\Projects\SHMA\Main\Flex\src" or wherever the source code is for the library.

 

HTH,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, February 26, 2018 at 11:33 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

For custom SWC, I am using COMPC to get an api-report for SWC

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>compc "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml

Error: configuration variable 'output' was not set.

 

 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 12:27 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Yes, any SWC that is not in the Flex SDK's frameworks/libs folder needs to be specified as Piotr describes below.  We want you specify the same MXML file that you use to compile in the regular Flex SDK.  So if your Application.mxml starts with an mx:Application or s:Application that’s probably the one to use.  But also, if you have your own custom SWCs, we want you to use COMPC to get an api-report for those SWCs.  We want this modified Royale compiler to compile every source file you own so we can see what Flex APIs you are using.

 

HTH,

-Alex

 

From: Piotr Zarzycki <pi...@gmail.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, February 26, 2018 at 11:19 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina, 

 

In my sense you will have to use -library-path+=path to the library. You have to tell compiler about that library.

 

Thanks, Piotr

 

2018-02-27 7:57 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi  Alex,

With latest nightly build:

MaskedTextInput , shmReportUtil …. Are Library Project Actionscript Files.

Main Application contains SHMALib.swc file in Libs folder

Error Link:

https://www.dropbox.com/s/p5imt22cuut0ex6/ErrorGeneratingReport.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fp5imt22cuut0ex6%2FErrorGeneratingReport.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=8f1f9duW2Red4bP77hFTh3mLcCptBmAwd87n1iSkk%2Bs%3D&reserved=0> 

 

I have a question that which .mxml file should be used to generate that report?

Applications.mxml is startup file in case of my Project so I’m using it.

 

Please visit reference link and If I’m doing anything wrong please let me know.

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 12:00 AM


To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I pushed a fix for that.  It might or might not be related to your custom swc.  Get the latest nightly build and let us know.

 

Also, if you are successful, please use your regular compiler to generate a -link–report.  That will help us verify that the API report didn't miss anything.

 

Thanks,

-Alex

 

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, February 26, 2018 at 4:01 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Generated Report file for Sample Project Successfully.

 

spark.components.Application:minHeight,1

spark.components.Application:minWidth,1

spark.components.Application:mxmlContentFactory,2

spark.components.Label:fontSize,1

spark.components.Label:fontWeight,1

spark.components.Label:horizontalCenter,1

spark.components.Label:text,1

spark.components.Label:textAlign,1

spark.components.Label:verticalCenter,1

 

But while executing Actual Project got Error:

https://www.dropbox.com/s/d25eysllavuy5z4/compile2.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fd25eysllavuy5z4%2Fcompile2.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=2i28J4zjv1vEQ7sd%2BGfHm%2Bh1FjG%2BP3YdJCc6rGZr3C4%3D&reserved=0> 

https://www.dropbox.com/s/49iq74zk6rxcr1y/compile1.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F49iq74zk6rxcr1y%2Fcompile1.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=44tfkOscWyJ%2FH3M30HeJ6dfFE0TlpTMhQ2t%2Bv%2ByuoDg%3D&reserved=0> 

 

May be because my Application is dependent to SHMALib(.swc) Library Project (Source Shared Earlier). 

 

-Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Monday, February 26, 2018 5:02 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Alex,

 

I did above exercise for Moonshine and got NPE [1]. I used air-config.xml because it is na Desktop app.

 

[1] https://paste.apache.org/R0Si <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FR0Si&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=tFLrK9xsVt57PytwBaNoUJ%2FIPFH7FCHDtfrmJ1sAl3Y%3D&reserved=0>  

 

Thanks,

Piotr

 

 

2018-02-26 12:56 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:

Yishay,

 

Thank you so much!! I got it working.

 

Alina,

 

Here is the full instruction.

 

1) Download Apache Royale with SWF support - if you have that is good, if not it's here [1]

2) Download Apache Flex - you have it as I have seen on the screenshot.

3) Launch console and go to the Royale SDK folder

 

"yourpathtosdk\bin\" - In my case it was: "d:\Work\royale_ide\royale_nightly_js_swf\bin\"

 

4) Run following command where you will point to the Flex Browser application in order to generate report. My command looks like that:

 

mxmlc "c:\Users\piotr\Documents\NewFlexBrowserProject\src\NewFlexBrowserProject.mxml" -api-report="c:\Users\piotr\Documents\NewFlexBrowserProject\report.txt" -load-config=d:\Work\flex-sdk-4.16.1_adobe_air_28\frameworks\flex-config.xml

 

I generated report for hellow world. Maybe in order to generate report for your application that console command may be much more sophisticated. Let's see!

 

 

[1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/lastSuccessfulBuild/artifact/out/ <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2Fout%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=O%2BpVQ8OuhB%2FtE4ZdylTSkAQCWsIPBGlr9RgiTjWSWEM%3D&reserved=0> 

 

Thanks,

Piotr

 

 

2018-02-26 12:46 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:

Looks like [1] you do need to add compiler option: -api–report=<path to output file>

 

[1] http://apache-royale-users.20374.n8.nabble.com/Substitutes-in-Apache-Royale-tp392p492.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p492.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kda6SpkBgdRqGAeGJ5Db629EAy7KAVbOZKzhzhynRZk%3D&reserved=0> 

 

 

From: Piotr Zarzycki <ma...@gmail.com> 
Sent: Monday, February 26, 2018 1:37 PM


To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

I have produced with that swf, but what's next? Let's wait for Alex's response [1] 

 

[1] https://paste.apache.org/YEeG <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FYEeG&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8ameYzJ7AloOW4nTa8dqu7zYxwORSQc5sCUqpZDVA%2BY%3D&reserved=0> 

 

Thanks,

Piotr

 

2018-02-26 12:32 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:

Alex will know but I don’t think so. I haven’t updated the compiler recently so can’t test it right now. If you want to test it maybe just create a simple app and replace /Users/aharui/ApacheFlex4.16.0 with your sdk home.

 

 

 

From: Piotr Zarzycki <ma...@gmail.com> 
Sent: Monday, February 26, 2018 1:25 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Yishay, 

 

bin/mxmlc

<path to app's

.mxml

file>

-load-config=/Users/aharui/ApacheFlex4.16.0/frameworks/flex-config.xml  

 

Do I need some switch for compiler -api-report or something like that ?

 

Thanks,

Piotr

 

 

2018-02-26 12:10 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:

Wasn’t logged in. Here’s [1] the link.

 

[1] http://apache-royale-users.20374.n8.nabble.com/Substitutes-in-Apache-Royale-tp392p489.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p489.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8Tp5%2BFveKS0eoW7D8EovITPQqYrgwDK4P7cW9izXFH8%3D&reserved=0> 

 

 

From: Yishay Weiss <ma...@hotmail.com> 
Sent: Monday, February 26, 2018 12:59 PM
To: users@royale.apache.org
Subject: RE: Generating API report for Flex Web Browser application

 

I couldn’t find a way to link to a nabble post, but this [1] might help (from Substitutes in Apache Royale).

 

[1] https://paste.apache.org/N2QR <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FN2QR&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=VIS8u6EEBWN6jQrFxpttZvAfUCSSKPe3rbrBDU2w7Sg%3D&reserved=0> 

 

From: Piotr Zarzycki <ma...@gmail.com> 
Sent: Monday, February 26, 2018 12:44 PM
To: users@royale.apache.org
Subject: Generating API report for Flex Web Browser application

 

Hi Alex, 

 

I would like to understand how to generate that report. I will go with the console path, because I think this is something unusual and probably Moonshine is not prepared to do this. I'm writing this on the users mailing list because Alina is having some problems with that. I wanted to simplify all of that. Let's start from the beginning. 

 

1) I have created Flex Web browser project using Apache Flex SDK 4.16.1. 

2) I have nightly build of Royale with SWF support [1]

 

What should I type in the console now ?

 

[1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/lastSuccessfulBuild/artifact/ <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=UtYFFQ90aNB2HU2Vx4t8YAS6Eo2j1ZqVAytujEOgoFM%3D&reserved=0> 

 

Thanks,
-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 

 

 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 

 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 

 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=zGrfZ2Wj3CLuuW%2B%2BKtUSQF6762Vn0%2BeNjCMlViBMghg%3D&reserved=0> 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki


RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

Posted by Alina Kazi <al...@d-bz.com>.
Hi Piotr,

Getting Similar Error in all cases. 

C:\Users\aleena>git clone https://github.com/apache/royale-asjs

Cloning into 'royale-asjs'...

remote: Counting objects: 101055, done.

remote: Compressing objects: 100% (127/127), done.

remote: Total 101055 (delta 101), reused 183 (delta 63), pack-reused 100828

Receiving objects: 100% (101055/101055), 19.27 MiB | 249.00 KiB/s, done.

Resolving deltas: 100% (61539/61539), done.

Checking out files: 100% (3572/3572), done.

 

C:\Users\aleena>cd royale-asjs

 

C:\Users\aleena\royale-asjs>git checkout develop

Already on 'develop'

Your branch is up to date with 'origin/develop'.

 

C:\Users\aleena\royale-asjs>mvn -s settings-template.xml clean install -P utils

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

maven-metadata.xml

[WARNING] Could not transfer metadata org.apache.flex.utilities.converter:flex-s

dk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from/to apache-sn

apshots (http://repository.apache.org/snapshots/): Connect to repository.apache.

org:80 [repository.apache.org/207.244.88.140] failed: Connection timed out: conn

ect

[WARNING] Failure to transfer org.apache.flex.utilities.converter:flex-sdk-conve

rter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from http://repository.ap

ache.org/snapshots/ was cached in the local repository, resolution will not be r

eattempted until the update interval of apache-snapshots has elapsed or updates

are forced. Original error: Could not transfer metadata org.apache.flex.utilitie

s.converter:flex-sdk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml

 from/to apache-snapshots (http://repository.apache.org/snapshots/): Connect to

repository.apache.org:80 [repository.apache.org/207.244.88.140] failed: Connecti

on timed out: connect

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

flex-sdk-converter-maven-extension-1.0.0-SNAPSHOT.pom

[WARNING] Failed to read extensions descriptor C:\Users\aleena\royale-asjs\.mvn\

extensions.xml: Plugin org.apache.flex.utilities.converter:flex-sdk-converter-ma

ven-extension:1.0.0-SNAPSHOT or one of its dependencies could not be resolved: F

ailed to read artifact descriptor for org.apache.flex.utilities.converter:flex-s

dk-converter-maven-extension:jar:1.0.0-SNAPSHOT

[INFO] Scanning for projects...

Downloading from apache-release: https://repository.apache.org/content/repositor

ies/releases/org/apache/apache/18/apache-18.pom

Downloading from central: https://repo.maven.apache.org/maven2/org/apache/apache

/18/apache-18.pom

[ERROR] [ERROR] Some problems were encountered while processing the POMs:

[FATAL] Non-resolvable parent POM for org.apache.royale.framework:royale-framewo

rk-parent:0.9.2-SNAPSHOT: Could not transfer artifact org.apache:apache:pom:18 f

rom/to apache-release (https://repository.apache.org/content/repositories/releas

es): Connect to repository.apache.org:443 [repository.apache.org/207.244.88.140]

 failed: Connection timed out: connect and 'parent.relativePath' points at no lo

cal POM @ line 24, column 11

 @

[ERROR] The build could not read 1 project -> [Help 1]

[ERROR]

[ERROR]   The project org.apache.royale.framework:royale-framework-parent:0.9.2-

SNAPSHOT (C:\Users\aleena\royale-asjs\pom.xml) has 1 error

[ERROR]     Non-resolvable parent POM for org.apache.royale.framework:royale-fra

mework-parent:0.9.2-SNAPSHOT: Could not transfer artifact org.apache:apache:pom:

18 from/to apache-release (https://repository.apache.org/content/repositories/re

leases): Connect to repository.apache.org:443 [repository.apache.org/207.244.88.

140] failed: Connection timed out: connect and 'parent.relativePath' points at n

o local POM @ line 24, column 11 -> [Help 2]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit

ch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please rea

d the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin

gException

[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableMo

delException

 

Thanks,

Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Wednesday, March 07, 2018 11:25 AM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Alina,

 

I see in your trace that you have cloned typedefs instead asjs -> "git clone https://github.com/apache/royale-typedefs.git". You should clone: 

 

git clone https://github.com/apache/royale-asjs and switch to "develop" branch than try to build.

 

However let me try build typedefs only in the meantime clone asjs and try again.

 

Thanks, Piotr

 

 

2018-03-07 7:19 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:

Alina,

 

Not sure, but let me try that on my sight, however I doubt that. Maven is a very distinguished from all the environment variables. If you got that build running you don't have to use almost all. :)

 

2018-03-07 7:03 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Piotr,

 

ROYALE_HOME environment variable is set to D:\royale-asjs that is the path for installed latest nightly build. This could be the reason ?

 

Thanks,

Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Wednesday, March 07, 2018 10:56 AM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Please try again build. Maybe it was some temporary problem. My build is running right now without the problem. Maven downloading dependencies nicely.

 

Thanks, Piotr

 

2018-03-07 6:39 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Piotr,

Its Working.

This XML file does not appear to have any style information associated with it. The document tree is shown below.

<metadata modelVersion="1.1.0">

<groupId>org.apache.flex.utilities.converter</groupId>

<artifactId>retrievers</artifactId>

<version>1.0.0-SNAPSHOT</version>

<versioning>

<snapshot>

<timestamp>20171112.204231</timestamp>

<buildNumber>490</buildNumber>

</snapshot>

<lastUpdated>20171112204231</lastUpdated>

<snapshotVersions>

<snapshotVersion>

<extension>pom</extension>

<value>1.0.0-20171112.204231-490</value>

<updated>20171112204231</updated>

</snapshotVersion>

</snapshotVersions>

</versioning>

</metadata>

 

Thanks,

Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Wednesday, March 07, 2018 10:48 AM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alina,

 

I just removed my whole local repository and trying exactly the same scenario. Just quick question can you try in your browser open this link ? Is it working ?

 

http://repository.apache.org/snapshots/org/apache/flex/utilities/converter/retrievers/1.0.0-SNAPSHOT/maven-metadata.xml

 

Thanks,

Piotr

 

2018-03-07 6:27 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Piotr,

Using Maven :

C:\Users\aleena>git clone https://github.com/apache/royale-typedefs.git royale-a

sjs

Cloning into 'royale-asjs'...

remote: Counting objects: 3318, done.

remote: Compressing objects: 100% (93/93), done.

remote: Total 3318 (delta 48), reused 76 (delta 16), pack-reused 3200

Receiving objects: 100% (3318/3318), 3.51 MiB | 244.00 KiB/s, done.

Resolving deltas: 100% (1337/1337), done.

 

C:\Users\aleena>cd royale-asjs

 

C:\Users\aleena\royale-asjs>git checkout develop

Already on 'develop'

Your branch is up to date with 'origin/develop'.

 

C:\Users\aleena\royale-asjs>mvn -s settings-template.xml clean install

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

maven-metadata.xml

[WARNING] Could not transfer metadata org.apache.flex.utilities.converter:flex-s

dk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from/to apache-sn

apshots (http://repository.apache.org/snapshots/): Connect to repository.apache.

org:80 [repository.apache.org/207.244.88.140] failed: Connection timed out: conn

ect

[WARNING] Failure to transfer org.apache.flex.utilities.converter:flex-sdk-conve

rter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from http://repository.ap

ache.org/snapshots/ was cached in the local repository, resolution will not be r

eattempted until the update interval of apache-snapshots has elapsed or updates

are forced. Original error: Could not transfer metadata org.apache.flex.utilitie

s.converter:flex-sdk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml

 from/to apache-snapshots (http://repository.apache.org/snapshots/): Connect to

repository.apache.org:80 [repository.apache.org/207.244.88.140] failed: Connecti

on timed out: connect

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

flex-sdk-converter-maven-extension-1.0.0-SNAPSHOT.pom

[WARNING] Failed to read extensions descriptor C:\Users\aleena\royale-asjs\.mvn\

extensions.xml: Plugin org.apache.flex.utilities.converter:flex-sdk-converter-ma

ven-extension:1.0.0-SNAPSHOT or one of its dependencies could not be resolved: F

ailed to read artifact descriptor for org.apache.flex.utilities.converter:flex-s

dk-converter-maven-extension:jar:1.0.0-SNAPSHOT

[INFO] Scanning for projects...

Downloading from apache-release: https://repository.apache.org/content/repositor

ies/releases/org/apache/apache/18/apache-18.pom

Downloading from central: https://repo.maven.apache.org/maven2/org/apache/apache

/18/apache-18.pom

[ERROR] [ERROR] Some problems were encountered while processing the POMs:

[FATAL] Non-resolvable parent POM for org.apache.royale.typedefs:royale-typedefs

-parent:0.9.2-SNAPSHOT: Could not transfer artifact org.apache:apache:pom:18 fro

m/to apache-release (https://repository.apache.org/content/repositories/releases

): Connect to repository.apache.org:443 [repository.apache.org/207.244.88.140] f

ailed: Connection timed out: connect and 'parent.relativePath' points at wrong l

ocal POM @ line 23, column 11

 @

[ERROR] The build could not read 1 project -> [Help 1]

[ERROR]

[ERROR]   The project org.apache.royale.typedefs:royale-typedefs-parent:0.9.2-SN

APSHOT (C:\Users\aleena\royale-asjs\pom.xml) has 1 error

[ERROR]     Non-resolvable parent POM for org.apache.royale.typedefs:royale-type

defs-parent:0.9.2-SNAPSHOT: Could not transfer artifact org.apache:apache:pom:18

 from/to apache-release (https://repository.apache.org/content/repositories/rele

ases): Connect to repository.apache.org:443 [repository.apache.org/207.244.88.14

0] failed: Connection timed out: connect and 'parent.relativePath' points at wro

ng local POM @ line 23, column 11 -> [Help 2]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit

ch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please rea

d the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin

gException

[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableMo

delException

 

C:\Users\aleena\royale-asjs>

 

Thanks

Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Tuesday, March 06, 2018 5:30 PM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alina,

 

You can try to go with Maven to see whether you have similar problems [1]

 

[1] https://github.com/apache/royale-asjs/wiki/Build-Apache-Royale-with-Maven

 

Thanks, Piotr

 

2018-03-06 13:12 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Alex,

Still getting same error, while executing:

C:\Users\aleena\royale-asjs>ant all

Website link is working :

http://www.antlr.org/license.html

 

could be only issue , Antlr server will be off-line ?

 

Thanks,

Alina

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Tuesday, March 06, 2018 4:38 PM
To: 'users@royale.apache.org'
Subject: RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alex,

 

We can exclude ScaleX , ScaleY,transform from our code as we are using it in our Library Project Only.

We are using “Rotation” in a PopUp Window. 

 

Can you please explain emulation ?

How do they will work?

 

Thanks,

Alina

 

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Tuesday, March 06, 2018 3:14 PM
To: 'users@royale.apache.org'
Subject: RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alex,

We are using commitProperties() in our Library Project. Overriding the Existing Spark commitProperties() method 

For Example:

ResizableTextAreaSkin.mxml (SHMALib)

override protected function commitProperties():void {

                                                super.commitProperties();

 

                                                if (lineBreakChanged) {

                                                                updateStringStyle("lineBreak");

                                                                lineBreakChanged = false;

                                                }

                                                if (paddingChanged) {

                                                                updatePadding();

                                                                paddingChanged = false;

                                                }

                                                if (verticalAlignChanged) {

                                                                updateStringStyle("verticalAlign");

                                                                verticalAlignChanged = false;

                                                }

                                }

We are using 


Package

 <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/package-detail.html> flash.display


Class

public class DisplayObject


Inheritance

DisplayObject Inheritance  <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/EventDispatcher.html> EventDispatcher Inheritance  <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Object.html> Object


Reference Link:

	

https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/DisplayObject.html

 

e.g :

                public function updateLayoutWithoutAnimation():void

                                {

                                                if(_layoutInvalid == true && layoutFunction != null)

                                                {

                                                                _layoutInvalid = false;

                                                                layoutFunction();

                                                }

 

                                                for(var aChild:* in _targets)

                                                {

                                                                var target:LayoutTarget = _targets[aChild];

                                                                var item:IFlexDisplayObject = target.item;

                                                                var m:Matrix = DisplayObject(item).transform.matrix;

 

                                                                m.tx = target.x;

                                                                m.ty = target.y;

                                                                m.a = target.scaleX;                                                                        

                                                                m.d = target.scaleY

                                                                

                                                                DisplayObject(item).alpha = target.alpha;

                                                                DisplayObject(item).transform.matrix = m;

                                                                item.setActualSize(target.unscaledWidth,target.unscaledHeight);

                                                                if(target.state == "removed")

                                                                {

                                                                                delete _targets[target.item];

                                                                                continue;

                                                                }

                                                                else

                                                                {

                                                                                target.state = "positioned"

                                                                }

                                                }

                                                stopTimer();

                                }

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, March 06, 2018 1:36 PM
To: users@royale.apache.org
Subject: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alina,

 

I'm starting on the emulation.  I've noticed that your application code appears to be calling commitProperties().  Can you tell us why?

 

Also, it looks like there are a few uses of rotation, transform, scaleX and scaleY.  What are those used for?

 

Thanks,

-Alex

 

From: Alex Harui <ah...@adobe.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 11:38 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Try again.  Sometimes the Antlr server goes off-line around this time of day.

 

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 11:12 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Using jdk1.8.0_162:

 

C:\Users\aleena\royale-asjs>ant all

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Buildfile: C:\Users\aleena\royale-asjs\build.xml

 

set.base.folder:

 

check-git:

     [echo] Checking for Git...

     [exec] git version 2.16.2.windows.1

 

get-download-folder:

 

download-all:

     [echo] Using folder C:\Users\aleena\royale-asjs/..

 

check-royale-asjs:

 

warn-before-clone:

 

check-royale-asjs:

 

clone-royale-asjs:

 

check-royale-compiler:

 

clone-royale-compiler:

 

check-royale-typedefs:

 

clone-royale-typedefs:

 

check-playerglobal-home:

 

check-air-home:

 

build-all:

 

ask-before-build-all:

    [input] This script will now download and compile lots of files.  This can t

ake several minutes.   No interaction should be required.  Press the enter key t

o continue.

 

 

sdk:

 

annotate.class:

    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-

build-tools\target\classes

    [javac] warning: [options] bootstrap class path not set in conjunction with

-source 1.5

    [javac] warning: [options] source value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] target value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] To suppress warnings about obsolete options, use

-Xlint:-options.

    [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\src\main\java\o

rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:24: warning: [serial

] serializable class AnnotateClassDeleteException has no definition of serialVer

sionUID

    [javac]     public static class AnnotateClassDeleteException extends Excepti

on

    [javac]                   ^

    [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\src\main\java\o

rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:32: warning: [serial

] serializable class AnnotateClassRenameException has no definition of serialVer

sionUID

    [javac]     public static class AnnotateClassRenameException extends Excepti

on

    [javac]                   ^

    [javac] 6 warnings

 

unknown.tree.pattern.input.output:

    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-

build-tools\target\classes

    [javac] warning: [options] bootstrap class path not set in conjunction with

-source 1.5

    [javac] warning: [options] source value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] target value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] To suppress warnings about obsolete options, use

-Xlint:-options.

    [javac] 4 warnings

 

main:

 

compiler.downloads.cache:

 

compiler.downloads:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

prepare:

     [echo] Making lib directory C:\Users\aleena\royale-compiler\compiler/lib/ex

ternal

    [mkdir] Created dir: C:\Users\aleena\royale-compiler\compiler\lib\external

 

all:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

check-dependency:

     [echo] checking for C:\Users\aleena\royale-compiler\compiler/lib/external//

antlr.jar

 

download-dependency:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

echo-project-jar:

   [delete] Deleting: C:\Users\aleena\royale-compiler\compiler\src\main\resource

s\project.properties

     [echo] ${INFO_DOWNLOADING_FILE_FROM}

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

download-apache-license:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

download-other-license:

      [get] Getting: http://www.antlr.org/license.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0> 

      [get] To: C:\Users\aleena\royale-compiler\compiler\lib\external\antlr-LICE

NSE.html

      [get] Error getting http://www.antlr.org/license.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0>  to C:\Users\aleena\r

oyale-compiler\compiler\lib\external\antlr-LICENSE.html

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

double-check-file:

     [echo] ${env.ROYALE_DOWNLOAD_CACHE}

     [echo] Need file: ${still_no_file}

 

get-from-cache-if-needed:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

fail-if-not-found:

 

BUILD FAILED

C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-compiler\build.xml:64: The following error occurred while

 executing this line:

C:\Users\aleena\royale-compiler\compiler-jburg-types\build.xml:87: The following

 error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:81: Th

e following error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:275: T

he following error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:329: T

he following error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:489: C

:\Users\aleena\royale-compiler\compiler/lib/external//antlr-LICENSE.html could n

ot be downloaded or found in cache

 

Total time: 47 seconds

 

C:\Users\aleena\royale-asjs>

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, March 06, 2018 11:55 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Please use JDK8.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 10:40 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

Java version that I am using is “9.0.1”

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, March 06, 2018 11:42 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

What version of Java are you using?  Please get a JDK7 or 8 and try that.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 10:22 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Command Prompt Output is:

C:\Users\aleena>git clone https://github.com/apache/royale-asjs.git <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs.git&data=02%7C01%7Caharui%40adobe.com%7Cdf86fa0dd25b41ffbc8108d5832f0997%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559160423949211&sdata=d9cKX4ILIQPLI5USXvAafSnrWZSgW1XHw6G4r%2B9wgsE%3D&reserved=0>  royale-asjs

Cloning into 'royale-asjs'...

remote: Counting objects: 101103, done.

remote: Compressing objects: 100% (22/22), done.

remote: Total 101103 (delta 9), reused 30 (delta 7), pack-reused 101066R

Receiving objects: 100% (101103/101103), 19.23 MiB | 208.00 KiB/s, done.

 

Resolving deltas: 100% (61584/61584), done.

Checking out files: 100% (3572/3572), done.

 

C:\Users\aleena>cd royale-asjs

 

C:\Users\aleena\royale-asjs>git checkout develop

Already on 'develop'

Your branch is up to date with 'origin/develop'.

 

C:\Users\aleena\royale-asjs>ant all

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Buildfile: C:\Users\aleena\royale-asjs\build.xml

 

set.base.folder:

 

check-git:

     [echo] Checking for Git...

     [exec] git version 2.16.2.windows.1

 

get-download-folder:

 

download-all:

     [echo] Using folder C:\Users\aleena\royale-asjs/..

 

check-royale-asjs:

 

warn-before-clone:

 

check-royale-asjs:

 

clone-royale-asjs:

 

check-royale-compiler:

 

clone-royale-compiler:

     [echo] cloning royale-compiler repo into C:\Users\aleena\royale-asjs/../roy

ale-compiler

     [exec] Cloning into 'royale-compiler'...

     [exec] Checking out files:   8% (284/3191)

     [exec] Checking out files:   9% (288/3191)   Checking out files:  10% (320/

3191)   Checking out files:  11% (352/3191)   Checking out files:  12% (383/3191

)   Checking out files:  13% (415/3191)   Checking out files:  13% (444/3191)

Checking out files:  14% (447/3191)   Checking out files:  15% (479/3191)   Chec

king out files:  16% (511/3191)   Checking out files:  17% (543/3191)   Checking

 out files:  18% (575/3191)   Checking out files:  19% (607/3191)   Checking out

 files:  20% (639/3191)   Checking out files:  20% (641/3191)   Checking out fil

es:  21% (671/3191)   Checking out files:  22% (703/3191)   Checking out files:

 23% (734/3191)   Checking out files:  24% (766/3191)   Checking out files:  25%

 (798/3191)   Checking out files:  26% (830/3191)   Checking out files:  26% (84

2/3191)   Checking out files:  27% (862/3191)   Checking out files:  28% (894/31

91)   Checking out files:  29% (926/3191)   Checking out files:  30% (958/3191)

  Checking out files:  31% (990/3191)   Checking out files:  32% (1022/3191)   C

hecking out files:  33% (1054/3191)   Checking out files:  34% (1085/3191)   Che

cking out files:  35% (1117/3191)   Checking out files:  36% (1149/3191)   Check

ing out files:  37% (1181/3191)   Checking out files:  38% (1213/3191)   Checkin

g out files:  39% (1245/3191)   Checking out files:  40% (1277/3191)   Checking

out files:  40% (1308/3191)   Checking out files:  41% (1309/3191)   Checking ou

t files:  42% (1341/3191)   Checking out files:  42% (1352/3191)   Checking out

files:  43% (1373/3191)   Checking out files:  44% (1405/3191)   Checking out fi

les:  45% (1436/3191)   Checking out files:  46% (1468/3191)   Checking out file

s:  47% (1500/3191)   Checking out files:  48% (1532/3191)   Checking out files:

  49% (1564/3191)   Checking out files:  49% (1578/3191)   Checking out files:

50% (1596/3191)   Checking out files:  51% (1628/3191)   Checking out files:  52

% (1660/3191)   Checking out files:  53% (1692/3191)   Checking out files:  54%

(1724/3191)   Checking out files:  55% (1756/3191)   Checking out files:  56% (1

787/3191)   Checking out files:  57% (1819/3191)   Checking out files:  58% (185

1/3191)   Checking out files:  59% (1883/3191)   Checking out files:  60% (1915/

3191)   Checking out files:  61% (1947/3191)   Checking out files:  62% (1979/31

91)   Checking out files:  63% (2011/3191)   Checking out files:  63% (2022/3191

)   Checking out files:  64% (2043/3191)   Checking out files:  65% (2075/3191)

  Checking out files:  66% (2107/3191)   Checking out files:  67% (2138/3191)

Checking out files:  68% (2170/3191)   Checking out files:  69% (2202/3191)   Ch

ecking out files:  70% (2234/3191)   Checking out files:  71% (2266/3191)   Chec

king out files:  72% (2298/3191)   Checking out files:  73% (2330/3191)   Checki

ng out files:  74% (2362/3191)   Checking out files:  75% (2394/3191)   Checking

 out files:  76% (2426/3191)   Checking out files:  77% (2458/3191)   Checking o

ut files:  78% (2489/3191)   Checking out files:  79% (2521/3191)   Checking out

 files:  80% (2553/3191)   Checking out files:  81% (2585/3191)   Checking out f

iles:  82% (2617/3191)   Checking out files:  83% (2649/3191)   Checking out fil

es:  83% (2679/3191)   Checking out files:  84% (2681/3191)   Checking out files

:  85% (2713/3191)   Checking out files:  86% (2745/3191)   Checking out files:

 87% (2777/3191)   Checking out files:  88% (2809/3191)   Checking out files:  8

9% (2840/3191)   Checking out files:  89% (2845/3191)   Checking out files:  90%

 (2872/3191)   Checking out files:  91% (2904/3191)   Checking out files:  92% (

2936/3191)   Checking out files:  93% (2968/3191)   Checking out files:  94% (30

00/3191)   Checking out files:  95% (3032/3191)   Checking out files:  95% (3035

/3191)   Checking out files:  96% (3064/3191)   Checking out files:  97% (3096/3

191)   Checking out files:  98% (3128/3191)   Checking out files:  99% (3160/319

1)   Checking out files: 100% (3191/3191)   Checking out files: 100% (3191/3191)

, done.

     [exec] Your branch is up to date with 'origin/develop'.

     [exec] Already on 'develop'

 

check-royale-typedefs:

 

clone-royale-typedefs:

     [echo] cloning royale-typedefs repo into C:\Users\aleena\royale-asjs/../roy

ale-typedefs

     [exec] Cloning into 'royale-typedefs'...

     [exec] Your branch is up to date with 'origin/develop'.

     [exec] Already on 'develop'

 

check-playerglobal-home:

 

check-air-home:

 

build-all:

 

ask-before-build-all:

    [input] This script will now download and compile lots of files.  This can t

ake several minutes.   No interaction should be required.  Press the enter key t

o continue.

 

sdk:

 

annotate.class:

    [mkdir] Created dir: C:\Users\aleena\royale-compiler\compiler-build-tools\ta

rget\classes

    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-

build-tools\target\classes

    [javac] warning: [options] bootstrap class path not set in conjunction with

-source 1.5

    [javac] error: Source option 1.5 is no longer supported. Use 1.6 or later.

    [javac] error: Target option 1.5 is no longer supported. Use 1.6 or later.

 

BUILD FAILED

C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-compiler\build.xml:63: The following error occurred while

 executing this line:

C:\Users\aleena\royale-compiler\compiler-build-tools\build.xml:74: Compile faile

d; see the compiler error output for details.

 

Total time: 17 minutes 59 seconds

 

C:\Users\aleena\royale-asjs>

 

Unable to Build, Please guide.

 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Friday, March 02, 2018 10:31 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I was able to download and expand the files.  I will be consolidating the data today. 

 

In order to be able to write some of these emulations, you will probably need to be able to build the framework sources.  If you haven't already, you can try cloning the royale-asjs repo and figure out how to get it to build.  You can choose Apache Maven or Apache Ant as the build tool.

 

https://github.com/apache/royale-asjs <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs&data=02%7C01%7Caharui%40adobe.com%7C3c1833c1fc9442003f2608d5832c7fe0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559149534170415&sdata=YqGTpbzoou8SilHbsTxjriIjiREaS%2FA9j6xjZYRR%2F4E%3D&reserved=0> 

 

Hopefully the instruction in the readme are sufficient.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Friday, March 2, 2018 at 12:34 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

Application API-Report link:

https://www.dropbox.com/s/swvqhly6wa0jrc5/API-Reports.rar?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fswvqhly6wa0jrc5%2FAPI-Reports.rar%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C928c248220464230f6dd08d5801a2f13%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555772324148830&sdata=9%2BsrGG41iCMIEmbtqnEbV%2BPvi1ngE9vF%2BKuqPAZ%2Bzao%3D&reserved=0> 

SHMALib Report, applications,shmDoclist,shmSetupList,AppView_EIS, AppView_ERP,shmMappingSetup, shmMappingSetupOpenDetailGrid,shmSalesInvoice, shmSalesInvoiceDetail are main API Files.

 

Regards,

Alina

 

 

 

 

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Friday, March 02, 2018 11:32 AM
To: users@royale.apache.org
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

2) We are using Effects in our Application 2-3 times 

4) We are using text styling in our Application 3-5 times 

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Friday, March 02, 2018 4:26 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

1) Interesting about Charts.  They were being used by the SWC.

2) Effects are any animations that move, resize or fade things in the UI.

3) ok

4) I'm not sure what to conclude from the screenshot.  I'm interested in how often folks use it to create text with bold, italics and other styling of text.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Thursday, March 1, 2018 at 4:24 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

600 mxml.api.txt files are generated and still in process. I will share link for files tomorrow.

After sharing my files tomorrow, If you will suggest to build  emulations. 

I will  definitely want to learn how to create emulations and contribute them to Apache Royale.  

1.We are not using Charts in our Application

2. How important are effects? (Please explain effects )

3. We are not using Right-to-left languages in RichTextEditor.

4. Is RichTextEditor being used for non-plain text?  If so, what kinds of text styling is important?

Link:https://www.dropbox.com/s/ky93eycmefm3cuu/RICHTEXTEDITOR.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fky93eycmefm3cuu%2FRICHTEXTEDITOR.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cff526ec5592c42772ade08d57f713736%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555046634193460&sdata=BjS8q1GarTweRfMMmZOKxN%2FTQTqhtzJlm05KAtWnNTQ%3D&reserved=0> 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 10:45 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Good to hear it worked.

 

I think I am waiting on all of the mxml.api.txt files to see what else is in there that isn't in the two reports we have, then we'll have a pretty good list of the places you will either need to change in your code or that we  will build emulations for.

 

I think emulations will be less work in the end, but there will be a lot of them to do.  We will want to you to learn how to create emulations and contribute them to Apache Royale.  That's how many Apache projects work: some of the users learn how to become committers.  This will be an asset to your company as well since you will learn how to fix things in Royale yourself.  Then your company won't be dependent on outsiders for support.

 

So, Peter and I and hopefully others will get started on some emulations to make sure they work for us, and then you can see if they work for you, and then we will teach you how to write those emulations.  Over the next several months, besides testing emulations written by others in your app, you will be writing your own emulations for things you need right away that we haven't written yet, or for third-party code that you are using.

 

It might help to get some prioritization on the emulations we need to write.  In looking at the list, I am wondering:

1.	Are some charts more important than others?
2.	How important are effects?
3.	Do you use Right-to-left languages in RichTextEditor?
4.	Is RichTextEditor being used for non-plain text?  If so, what kinds of text styling is important?

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Wednesday, February 28, 2018 at 1:22 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Thank you.

It’s working with latest nightly build:

https://www.dropbox.com/s/77wkgrm74upkg0j/SHMALib%20Report.txt?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F77wkgrm74upkg0j%2FSHMALib%2520Report.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C16fa845b6d2f4efb7f4a08d57e8e9097%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636554073167111532&sdata=UV0BOZpVonw%2BILcK9njhQdf5pKpqWPccp0IKDPm4jOI%3D&reserved=0> 

 

 

Regards,

Alina

 

 

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 1:15 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Looks like COMPC collected the data but never generated the report.  I pushed a fix for that.  Please try the latest nightly build.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Tuesday, February 27, 2018 at 10:35 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Thank you

After commenting the embedded font part from source.

Output to console:

3462313 bytes written to D:\SHMALib.swc in 19.878 seconds

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"

 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\framewor

ks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\sr

c" -library-path+=D:\SHMALIB\libs

 

SHMALib.swf file Generated and Report.txt is empty 

SHMALib.swc output Link:

https://www.dropbox.com/s/4tz49sz134m2gg9/SHMALib.swc?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F4tz49sz134m2gg9%2FSHMALib.swc%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=%2FNcbTJtah21RRPeWfwg2pRaZ72hd%2BdG0iJlnH3GsA28%3D&reserved=0> 

then I change, Compc -output "D:\SHMALib.swc" to Compc -output "D:\SHMALib. txt " 

SHMALib.txt output Link:

https://www.dropbox.com/s/j38obt5e36awuh3/SHMALib.txt?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fj38obt5e36awuh3%2FSHMALib.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=V%2FcA5dJ3Fi1qOvh%2BtUlbU%2FZ%2FQ5SBfRw7psjsm2Q%2Fe8w%3D&reserved=0> 

 

Thanks,

Alina

 

 

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 11:18 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

The only error right now is the embedded font.

 

We can discuss the pros and cons of embedding images in the JS output at some other point in time.

 

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Tuesday, February 27, 2018 at 10:01 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Big Part of SHMALib Uses Embed and metadata :

 

                                // Embed the font so we can rotate it for further distortion

                                [Embed(systemFont="Comic Sans MS",

                                                                embedAsCFF='false')]

                <mx:Image y="4" width="18" height="20" right="185" source="@Embed(source='assets/default/images/load.png')"

                                                  source="@Embed(source='assets/default/images/next.gif')" scaleContent="false"/>

                <mx:Image y="4" width="18" height="20" right="3" source="@Embed(source='assets/default/images/magnifier.png')"

     * An IFrame which you can embed into Flex applications to show an HTML page.

     * @example A simple application with Google embedded

        // SWF embed object tracking

         * The SWF embed object id.

         * Get the embed object id.

        protected function resolveEmbedObjectId():void

                    var result:Object=ExternalInterface.call(IFrameExternalCalls.FUNCTION_ASK_FOR_EMBED_OBJECT_ID, randomIdentificationString.toString());

                        logger.info("Resolved the SWF embed object id to '{0}'.", applicationId);

                        logger.error('Could not resolve the SWF embed object Id.');

            // Resolve the SWF embed object id in the DOM.

            ExternalInterface.call(IFrameExternalCalls.INSERT_FUNCTION_ASK_FOR_EMBED_OBJECT_ID);

            resolveEmbedObjectId();

            logger.info("Loading IFrame with id '{0}', on SWF embed object with id '{1}'.", _frameId, applicationId);

                    FUNCTION_LOADIFRAME + " = function (frameID, iframeID, url, embedID, scrollPolicy)" +

                                      "onLoad='\"+embedID+\".\"+frameID+\"_load();' " +

        public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String = "askForEmbedObjectId";

        public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String = "askForEmbedObjectId";

        public static var INSERT_FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =

                "if (document." + FUNCTION_ASK_FOR_EMBED_OBJECT_ID + "==null)" +

                    FUNCTION_ASK_FOR_EMBED_OBJECT_ID + " = function(randomString) " + 

                            "var embeds = document.getElementsByTagName('embed'); " + 

                            "var embeds = document.getElementsByTagName('embed'); " + 

                            "for (var i = 0; i < embeds.length; i++) { " + 

                                "var isTheGoodOne = embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " + 

                                "var isTheGoodOne = embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " + 

                                    "return embeds[i].getAttribute('id'); " + 

                                 * The UITextField control for displaying embeded hints.

                                private var embedTextField:UITextField;

                                 *  The String to be shown as the embeded hint.

                                private var embedStr:String = "";

                                                                                embedStr = "MM DD YYYY";

                                                                                embedStr = "DD MM YYYY";

                                                                                embedStr = "YYYY MM DD";

                                                                                embedStr = "YYYY DD MM";

                                 *  Create child objects for displaying embeded hints.

                                                                embedTextField = new UITextField();

                                                                //embedTextField.text = embedStr;

                                                                //embedTextField.text = embedStr;

                                                                addChildAt(UITextField(embedTextField),getChildIndex(DisplayObject(textField)));//as TextField

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                                s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);

                                                                                                                                embedTextField.text = s;

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                                //s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);

                                                                                                                                //embedTextField.text = s;

                                                                                                                                s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);

                                                                                                                                embedTextField.text = s;

                                                                                // If embeded hints are displayed then update the

                                                                                // UITextField corresponding to the embeded hints

                                                                                                var s:String = embedTextField.text == null ? "":embedTextField.text;

                                                                                                var s:String = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                embedTextField.text = s;

                                                                // create the embeded text field for showing

                                                                // embeded hints if its not already created.

                                                                // If it is created, then just change the embeded hint.

                                                                if(!embedTextField)

                                                                                embedTextField = new UITextField();

                                                                                addChildAt(embedTextField,getChildIndex(DisplayObject(textField))); //as TextField

                                                                //embedTextField.text = embedStr;

                                                                //embedTextField.text = embedStr;

                                                                embedTextField.alpha = 1;

                                                                embedTextField.setTextFormat(txtFormat);

                                                                embedTextField.x = 0;

                                                                embedTextField.y = 2;

                                                                embedTextField.setActualSize(width,height);

                                                                if(embedTextField)

                                                                                embedTextField.text = "";

                                                                                embedTextField = null;

                                                // setting the color of the embeded text field to white.

                                                                if(embedTextField)

                                                                                embedTextField.setColor(0xFFFFFF);

                                                                                if(embedTextField)

                                                                                                addChildAt(DisplayObject(newSkin),getChildIndex(DisplayObject(embedTextField)));//

   background-image:                                      Embed(source="/assets/application_background.png",

                up-skin:                Embed("/assets/maximize_up.png");

                over-skin:            Embed("/assets/maximize_over.png");

                down-skin:         Embed("/assets/maximize_up.png");

                selected-up-skin:   Embed("/assets/restore_up.png");

                selected-over-skin: Embed("/assets/restore_over.png");

                selected-down-skin: Embed("/assets/restore_up.png");

                up-skin:        Embed("/assets/minimize_up.png");

                over-skin:      Embed("/assets/minimize_over.png");

                down-skin:      Embed("/assets/minimize_up.png");

                up-skin:                                Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");

                over-skin:                            Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");

                down-skin:                         Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");

                selected-up-skin:                             Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");

                selected-over-skin:                         Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");

                selected-down-skin:                      Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");

                up-skin:                                Embed("/assets/left_arrow_up.gif");

                over-skin:                            Embed("/assets/left_arrow_over.gif");

                down-skin:                         Embed("/assets/left_arrow_up.gif");

                disabled-skin:    Embed("/assets/left_arrow_disabled.gif");

                up-skin:                                Embed("/assets/right_arrow_up.gif");

                over-skin:                            Embed("/assets/right_arrow_over.gif");

                down-skin:                         Embed("/assets/right_arrow_up.gif");

                disabled-skin:    Embed("/assets/right_arrow_disabled.gif");

                                //[Embed(source="/assets/cursor_move.gif")]

                                //[Embed(source="/assets/cursor_resize.gif")]

                                [Embed(source="/assets/default/images/mouseMove.gif")]

                                [Embed(source="/assets/default/images/verticalSize.gif")]

                                [Embed(source="/assets/default/images/horizontalSize.gif")]

                                [Embed(source="/assets/default/images/leftObliqueSize.gif")]

                                [Embed(source="/assets/default/images/rightObliqueSize.gif")]

                                                if (image.isEmbedded) 

                                                //if (!Application.application.systemManager.isFontFaceEmbedded(textFormat)) 

                                                if (!FlexGlobals.topLevelApplication.systemManager.isFontFaceEmbedded(textFormat))

                                                                if (Application.application.isFontsEmbedded) {

                                                                if (Application.application.isFontsEmbedded) {

                                                                if (Application.application.isFontsEmbedded) {

                                private var _isEmbedded:Boolean = false;

                                public function set isEmbedded(embedded:Boolean):void 

                                public function set isEmbedded(embedded:Boolean):void 

                                                _isEmbedded = embedded;

                                                _isEmbedded = embedded;

                                public function get isEmbedded():Boolean 

                                                return _isEmbedded;

                                                <mx:icon>@Embed(source='images/print.GIF')</mx:icon>

                                                <mx:icon>@Embed(source='images/reload.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/first-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/first.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/previous-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/previous.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/next-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/next.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/last-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/last.GIF')</mx:icon>

                                                                                <mx:icon>@Embed(source='images/actualsize.GIF')</mx:icon>

                                                                                <mx:icon>@Embed(source='images/fitpage.GIF')</mx:icon>

                                                                                <mx:icon>@Embed(source='images/fitwidth.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/zoomin-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/zoomin.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/zoomout-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/zoomout.GIF')</mx:icon>

                                                                <mx:icon>@Embed(source='images/print.GIF')</mx:icon>

                                                if (imageSourceXml.@isEmbedded.length() > 0)

                                                                image.isEmbedded = imageSourceXml.@isEmbedded == "true";

                                                                image.isEmbedded = imageSourceXml.@isEmbedded == "true";

                 source="@Embed(source='/assets/default/images/left_arrow_up.gif')"/>

                 source="@Embed(source='/assets/default/images/left_arrow_over.gif')"/>

                 source="@Embed(source='/assets/default/images/left_arrow_disabled.gif')"/>  

                                                                                   source="@Embed(source='/com/shm/flexlib/mdi/assets/img/maximizeButton.png')"/>

                                                                                   height="12" source="@Embed(source='/com/shm/flexlib/mdi/assets/img/restoreButton.png')"/>

                                                                                   source="@Embed(source='/com/shm/flexlib/mdi/assets/img/minimizeButton.png')"/>

                 source="@Embed(source='/assets/default/images/right_arrow_up.gif')"/>

                 source="@Embed(source='/assets/default/images/right_arrow_over.gif')"/>

                 source="@Embed(source='/assets/default/images/right_arrow_disabled.gif')"/>  

 

 

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 11:00 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I think you can ignore the warnings.  The first error is for embedding a font, which Royale doesn't currently support, so for now, try commenting out the Embed metadata and see if that allows the error to go away.

 

I would look into the other errors to see if they are legitimate or not.  The Royale Compiler will catch some things the MXMLC compiler may not.  Or you could comment out the code involved in the two errors in TImeZone.as for now since that won't affect the report.

 

The final two errors I saw are for missing skin states.  I think you can just add the skin states.

 

HTH,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Tuesday, February 27, 2018 at 9:35 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

While Executing

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\src"

Or 

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\Flex\libs\SH

MALIB.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bi

n\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\

SHMALIB\src" -library-path+=D:\SHMALIB\libs

 

Error:

(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to

field java.lang.Thread.inheritableThreadLocals

WARNING: Please consider reporting this to the maintainers of com.google.common.

base.internal.Finalizer

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect

ive access operations

WARNING: All illegal access operations will be denied in a future release

Loading configuration: D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(415): col: 50 Warning:

Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="DataProviderService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(419): col: 50 Warning:

Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="BasicFormatterService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(516): col: 50 Warning: Da

ta binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="DataProviderService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(520): col: 50 Warning: Da

ta binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="BasicFormatterService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\shmCaptchaImage.as(43): col: 3 Error: Embed re

quires a 'source' file attribute

 

                [Embed(systemFont="Comic Sans MS",

                ^

 

D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(37): col: 88 Warning: Data

binding will not be able to detect assignments to 'isSelected'.

 

                                        <mx:CheckBox selectedField="isSelected"

 change="onChange(event);" selected="{data.isSelected}">

 

                                          ^

 

D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(46): col: 27 Warning: Data

binding will not be able to detect assignments to 'label'.

 

                                        <mx:Label text="{data.label}" />

                                                             ^

 

D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(126): col: 15 Error: Impli

cit coercion of a value of type Boolean to an unrelated type Number.

 

                                if(year & 0x3 == 0)

                                          ^

 

D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(134): col: 39 Error: Impli

cit coercion of a value of type Boolean to an unrelated type Number.

 

                                if(month == 1 && value.fullYear & 0x3 == 0)

                                                                  ^

 

D:\SHMALIB\src\com\shm\dashboard\renderers\GridPodURLRenderer.mxml(6): col: 23 W

arning: Data binding will not be able to detect assignments to 'SrNo'.

 

                  htmlText="&lt;u&gt;{data.SrNo}&lt;/u&gt;" color="blue" click="

f_DrillDownData(data)">

                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml Error:

The required skin state 'disabledWithPrompt' is missing.

 

 

D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml Error:

The required skin state 'normalWithPrompt' is missing.

 

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(177): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(187): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(202): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(212): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(429): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(439): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(454): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(464): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(479): col: 26 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                field="{properties.@valueField}"

 

                                                                   ^

 

D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(115): col: 74 Warning

: Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject id="roDrillDownColInfo" channelSet="{parentAppl

ication.amfChannelSet}" showBusyCursor="true"

 

       ^

 

D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(118): col: 68 Warning

: Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject id="roDgDpResult" channelSet="{parentApplicatio

n.amfChannelSet}" showBusyCursor="true"

 

 ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PieChartContent.mxml(128): col: 24 Warning

: Data binding will not be able to detect assignments to 'valueField'.

 

                                field="{properties.@valueField}"

                                                   ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 37 Warning: Dat

a binding will not be able to detect assignments to 'appParams'.

 

                                                        inputMask="{parentApplic

ation.appParams.DATE_FORMAT}" showToday="true"  yearNavigationEnabled="true"

 

     ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 47 Warning: Dat

a binding will not be able to detect assignments to 'DATE_FORMAT'.

 

                                                        inputMask="{parentApplic

ation.appParams.DATE_FORMAT}" showToday="true"  yearNavigationEnabled="true"

 

               ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 38 Warning: Dat

a binding will not be able to detect assignments to 'appParams'.

 

                                                         inputMask="{parentAppli

cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true" showToday="true"

 

      ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 48 Warning: Dat

a binding will not be able to detect assignments to 'DATE_FORMAT'.

 

                                                         inputMask="{parentAppli

cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true" showToday="true"

 

                ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(12): col: 11 Warnin

g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

 

                        import mx.graphics.Stroke;

                               ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(37): col: 23 Warnin

g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

 

                                        lne.stroke = new Stroke(0,1,.3);

                                                         ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(46): col: 14 Warnin

g: Duplicate variable definition: i.

 

                                for (var i:int = 1; i < lnWdt; i++){

                                         ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(47): col: 10 Warnin

g: Duplicate variable definition: lne.

 

                                        var lne:Line  = new Line();

                                            ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(53): col: 23 Warnin

g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

 

                                        lne.stroke = new Stroke(0,1,.3);

                                                         ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(54): col: 10 Warnin

g: Duplicate variable definition: llbe.

 

                                        var llbe:Label = new Label();

                                            ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(157): col: 40 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var xPosition:Number = Application.application.p

arent.mouseX;

                                                                   ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(158): col: 40 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var yPosition:Number = Application.application.p

arent.mouseY;

                                                                   ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(225): col: 36 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var xPlus:Number = Application.application.paren

t.mouseX - point.x;

                                                               ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(226): col: 36 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var yPlus:Number = Application.application.paren

t.mouseY - point.y;

                                                               

Thanks,

Alina Kazi

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 10:16 AM
To: Alina Kazi; users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I think that Flash Builder makes it easy to build SWCs.  Building from the command line can be a bit trickier.

 

Let's try:

Compc -output "D:\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\src"

 

HTH,

-Alex

 

 

From: Alina Kazi <al...@d-bz.com>
Date: Tuesday, February 27, 2018 at 7:28 PM
To: "users@royale.apache.org" <us...@royale.apache.org>, Alex Harui <ah...@adobe.com>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Yes I am using Flash Builder.

SHMALIB and MainFlexApp are two separate Projects

Src for SHMALIB is placed into D:/SHMALIB/src

Src for MainFlexApp is D:/Flex/src and the library output file SHMALIB.swc is placed into D:/Flex/libs

 

SHMALIB (.actionscriptProperties)

 

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<actionScriptProperties mainApplicationPath="SHMALib.as" projectUUID="863559ab-3e7b-475b-a3a4-09f4f76fc0d2" version="6">

  <compiler additionalCompilerArguments="-locale en_US" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderLocation="D:/Flex/libs" outputFolderPath="bin-debug" sourceFolderPath="src" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" verifyDigests="true" warn="true">

    <compilerSourcePath/>

    <libraryPath defaultLinkType="0">

      <libraryPathEntry kind="4" path="">

        <excludedEntries>

          <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>

        </excludedEntries>

      </libraryPathEntry>

      <libraryPathEntry kind="1" linkType="1" path="libs"/>

    </libraryPath>

    <sourceAttachmentPath/>

  </compiler>

  <applications>

    <application path="SHMALib.as"/>

  </applications>

  <modules/>

  <buildCSSFiles/>

</actionScriptProperties>

 

SHMALIB (.flexLibProperties)

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<flexLibProperties includeAllClasses="true" version="3">

  <includeClasses/>

  <includeResources/>

  <namespaceManifests/>

</flexLibProperties>

 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 9:34 PM
To: Alina Kazi
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

When you are not trying to use Royale to generate this API report, how are you building your current Flex app?  We might need to know that in order to determine what parameters to add to COMPC.

 

COMPC has additional parameters like -include–sources, include-file, include-classes.  Sometimes, these are listed in an xml file.  If you are using Flash Builder, for example, then examine the .flexlibproperties and .actionscriptProperties files in your project folder.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Date: Tuesday, February 27, 2018 at 3:21 AM
To: 'Alina Kazi' <al...@d-bz.com>
Cc: Alex Harui <ah...@adobe.com>
Subject: RE: Generating API report for Flex Web Browser application

 

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"

 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"

Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by com.google.common.base.internal.Finalizer

(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to

field java.lang.Thread.inheritableThreadLocals

WARNING: Please consider reporting this to the maintainers of com.google.common.

base.internal.Finalizer

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect

ive access operations

 

Error: nothing was specified to be included in the library.

-Alina

 

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Tuesday, February 27, 2018 2:16 PM
To: 'users@royale.apache.org'
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

I am using Moonshine IDE 1.9.0.

Flex 4.16.0

Apache Royale 0.9.2 Latest Nightly Build

 

Running this Command on Command Prompt:

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"

 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"

Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by com.google.common.base.internal.Finalizer

(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to

field java.lang.Thread.inheritableThreadLocals

WARNING: Please consider reporting this to the maintainers of com.google.common.

base.internal.Finalizer

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect

ive access operations

WARNING: All illegal access operations will be denied in a future release

 

command line Error: unknown configuration variable 'sourceΓÇôpath'.

 

-Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 1:26 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

COMPC takes a slightly different set of parameters.  What IDE or build tools are you using to build it without Royale?  You might need to know what options that build uses.

 

You can try running: 

 

Compc -output "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source–path="D:\Projects\SHMA\Main\Flex\src" or wherever the source code is for the library.

 

HTH,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, February 26, 2018 at 11:33 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

For custom SWC, I am using COMPC to get an api-report for SWC

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>compc "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml

Error: configuration variable 'output' was not set.

 

 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 12:27 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Yes, any SWC that is not in the Flex SDK's frameworks/libs folder needs to be specified as Piotr describes below.  We want you specify the same MXML file that you use to compile in the regular Flex SDK.  So if your Application.mxml starts with an mx:Application or s:Application that’s probably the one to use.  But also, if you have your own custom SWCs, we want you to use COMPC to get an api-report for those SWCs.  We want this modified Royale compiler to compile every source file you own so we can see what Flex APIs you are using.

 

HTH,

-Alex

 

From: Piotr Zarzycki <pi...@gmail.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, February 26, 2018 at 11:19 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina, 

 

In my sense you will have to use -library-path+=path to the library. You have to tell compiler about that library.

 

Thanks, Piotr

 

2018-02-27 7:57 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi  Alex,

With latest nightly build:

MaskedTextInput , shmReportUtil …. Are Library Project Actionscript Files.

Main Application contains SHMALib.swc file in Libs folder

Error Link:

https://www.dropbox.com/s/p5imt22cuut0ex6/ErrorGeneratingReport.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fp5imt22cuut0ex6%2FErrorGeneratingReport.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=8f1f9duW2Red4bP77hFTh3mLcCptBmAwd87n1iSkk%2Bs%3D&reserved=0> 

 

I have a question that which .mxml file should be used to generate that report?

Applications.mxml is startup file in case of my Project so I’m using it.

 

Please visit reference link and If I’m doing anything wrong please let me know.

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 12:00 AM


To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I pushed a fix for that.  It might or might not be related to your custom swc.  Get the latest nightly build and let us know.

 

Also, if you are successful, please use your regular compiler to generate a -link–report.  That will help us verify that the API report didn't miss anything.

 

Thanks,

-Alex

 

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, February 26, 2018 at 4:01 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Generated Report file for Sample Project Successfully.

 

spark.components.Application:minHeight,1

spark.components.Application:minWidth,1

spark.components.Application:mxmlContentFactory,2

spark.components.Label:fontSize,1

spark.components.Label:fontWeight,1

spark.components.Label:horizontalCenter,1

spark.components.Label:text,1

spark.components.Label:textAlign,1

spark.components.Label:verticalCenter,1

 

But while executing Actual Project got Error:

https://www.dropbox.com/s/d25eysllavuy5z4/compile2.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fd25eysllavuy5z4%2Fcompile2.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=2i28J4zjv1vEQ7sd%2BGfHm%2Bh1FjG%2BP3YdJCc6rGZr3C4%3D&reserved=0> 

https://www.dropbox.com/s/49iq74zk6rxcr1y/compile1.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F49iq74zk6rxcr1y%2Fcompile1.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=44tfkOscWyJ%2FH3M30HeJ6dfFE0TlpTMhQ2t%2Bv%2ByuoDg%3D&reserved=0> 

 

May be because my Application is dependent to SHMALib(.swc) Library Project (Source Shared Earlier). 

 

-Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Monday, February 26, 2018 5:02 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Alex,

 

I did above exercise for Moonshine and got NPE [1]. I used air-config.xml because it is na Desktop app.

 

[1] https://paste.apache.org/R0Si <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FR0Si&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=tFLrK9xsVt57PytwBaNoUJ%2FIPFH7FCHDtfrmJ1sAl3Y%3D&reserved=0>  

 

Thanks,

Piotr

 

 

2018-02-26 12:56 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:

Yishay,

 

Thank you so much!! I got it working.

 

Alina,

 

Here is the full instruction.

 

1) Download Apache Royale with SWF support - if you have that is good, if not it's here [1]

2) Download Apache Flex - you have it as I have seen on the screenshot.

3) Launch console and go to the Royale SDK folder

 

"yourpathtosdk\bin\" - In my case it was: "d:\Work\royale_ide\royale_nightly_js_swf\bin\"

 

4) Run following command where you will point to the Flex Browser application in order to generate report. My command looks like that:

 

mxmlc "c:\Users\piotr\Documents\NewFlexBrowserProject\src\NewFlexBrowserProject.mxml" -api-report="c:\Users\piotr\Documents\NewFlexBrowserProject\report.txt" -load-config=d:\Work\flex-sdk-4.16.1_adobe_air_28\frameworks\flex-config.xml

 

I generated report for hellow world. Maybe in order to generate report for your application that console command may be much more sophisticated. Let's see!

 

 

[1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/lastSuccessfulBuild/artifact/out/ <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2Fout%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=O%2BpVQ8OuhB%2FtE4ZdylTSkAQCWsIPBGlr9RgiTjWSWEM%3D&reserved=0> 

 

Thanks,

Piotr

 

 

2018-02-26 12:46 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:

Looks like [1] you do need to add compiler option: -api–report=<path to output file>

 

[1] http://apache-royale-users.20374.n8.nabble.com/Substitutes-in-Apache-Royale-tp392p492.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p492.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kda6SpkBgdRqGAeGJ5Db629EAy7KAVbOZKzhzhynRZk%3D&reserved=0> 

 

 

From: Piotr Zarzycki <ma...@gmail.com> 
Sent: Monday, February 26, 2018 1:37 PM


To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

I have produced with that swf, but what's next? Let's wait for Alex's response [1] 

 

[1] https://paste.apache.org/YEeG <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FYEeG&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8ameYzJ7AloOW4nTa8dqu7zYxwORSQc5sCUqpZDVA%2BY%3D&reserved=0> 

 

Thanks,

Piotr

 

2018-02-26 12:32 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:

Alex will know but I don’t think so. I haven’t updated the compiler recently so can’t test it right now. If you want to test it maybe just create a simple app and replace /Users/aharui/ApacheFlex4.16.0 with your sdk home.

 

 

 

From: Piotr Zarzycki <ma...@gmail.com> 
Sent: Monday, February 26, 2018 1:25 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Yishay, 

 

bin/mxmlc

<path to app's

.mxml

file>

-load-config=/Users/aharui/ApacheFlex4.16.0/frameworks/flex-config.xml  

 

Do I need some switch for compiler -api-report or something like that ?

 

Thanks,

Piotr

 

 

2018-02-26 12:10 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:

Wasn’t logged in. Here’s [1] the link.

 

[1] http://apache-royale-users.20374.n8.nabble.com/Substitutes-in-Apache-Royale-tp392p489.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p489.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8Tp5%2BFveKS0eoW7D8EovITPQqYrgwDK4P7cW9izXFH8%3D&reserved=0> 

 

 

From: Yishay Weiss <ma...@hotmail.com> 
Sent: Monday, February 26, 2018 12:59 PM
To: users@royale.apache.org
Subject: RE: Generating API report for Flex Web Browser application

 

I couldn’t find a way to link to a nabble post, but this [1] might help (from Substitutes in Apache Royale).

 

[1] https://paste.apache.org/N2QR <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FN2QR&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=VIS8u6EEBWN6jQrFxpttZvAfUCSSKPe3rbrBDU2w7Sg%3D&reserved=0> 

 

From: Piotr Zarzycki <ma...@gmail.com> 
Sent: Monday, February 26, 2018 12:44 PM
To: users@royale.apache.org
Subject: Generating API report for Flex Web Browser application

 

Hi Alex, 

 

I would like to understand how to generate that report. I will go with the console path, because I think this is something unusual and probably Moonshine is not prepared to do this. I'm writing this on the users mailing list because Alina is having some problems with that. I wanted to simplify all of that. Let's start from the beginning. 

 

1) I have created Flex Web browser project using Apache Flex SDK 4.16.1. 

2) I have nightly build of Royale with SWF support [1]

 

What should I type in the console now ?

 

[1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/lastSuccessfulBuild/artifact/ <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=UtYFFQ90aNB2HU2Vx4t8YAS6Eo2j1ZqVAytujEOgoFM%3D&reserved=0> 

 

Thanks,
-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 

 

 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 

 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 

 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=zGrfZ2Wj3CLuuW%2B%2BKtUSQF6762Vn0%2BeNjCMlViBMghg%3D&reserved=0> 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki


RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

Posted by Alina Kazi <al...@d-bz.com>.
Similar Error

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Wednesday, March 07, 2018 11:41 AM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Use "mvn -s settings-template.xml clean install" without pointing to profile -P utils.

 

2018-03-07 7:22 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Piotr,

Getting Similar Error in all cases. 

C:\Users\aleena>git clone https://github.com/apache/royale-asjs

Cloning into 'royale-asjs'...

remote: Counting objects: 101055, done.

remote: Compressing objects: 100% (127/127), done.

remote: Total 101055 (delta 101), reused 183 (delta 63), pack-reused 100828

Receiving objects: 100% (101055/101055), 19.27 MiB | 249.00 KiB/s, done.

Resolving deltas: 100% (61539/61539), done.

Checking out files: 100% (3572/3572), done.

 

C:\Users\aleena>cd royale-asjs

 

C:\Users\aleena\royale-asjs>git checkout develop

Already on 'develop'

Your branch is up to date with 'origin/develop'.

 

C:\Users\aleena\royale-asjs>mvn -s settings-template.xml clean install -P utils

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

maven-metadata.xml

[WARNING] Could not transfer metadata org.apache.flex.utilities.converter:flex-s

dk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from/to apache-sn

apshots (http://repository.apache.org/snapshots/): Connect to repository.apache.

org:80 [repository.apache.org/207.244.88.140] failed: Connection timed out: conn

ect

[WARNING] Failure to transfer org.apache.flex.utilities.converter:flex-sdk-conve

rter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from http://repository.ap

ache.org/snapshots/ was cached in the local repository, resolution will not be r

eattempted until the update interval of apache-snapshots has elapsed or updates

are forced. Original error: Could not transfer metadata org.apache.flex.utilitie

s.converter:flex-sdk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml

 from/to apache-snapshots (http://repository.apache.org/snapshots/): Connect to

repository.apache.org:80 [repository.apache.org/207.244.88.140] failed: Connecti

on timed out: connect

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

flex-sdk-converter-maven-extension-1.0.0-SNAPSHOT.pom

[WARNING] Failed to read extensions descriptor C:\Users\aleena\royale-asjs\.mvn\

extensions.xml: Plugin org.apache.flex.utilities.converter:flex-sdk-converter-ma

ven-extension:1.0.0-SNAPSHOT or one of its dependencies could not be resolved: F

ailed to read artifact descriptor for org.apache.flex.utilities.converter:flex-s

dk-converter-maven-extension:jar:1.0.0-SNAPSHOT

[INFO] Scanning for projects...

Downloading from apache-release: https://repository.apache.org/content/repositor

ies/releases/org/apache/apache/18/apache-18.pom

Downloading from central: https://repo.maven.apache.org/maven2/org/apache/apache

/18/apache-18.pom

[ERROR] [ERROR] Some problems were encountered while processing the POMs:

[FATAL] Non-resolvable parent POM for org.apache.royale.framework:royale-framewo

rk-parent:0.9.2-SNAPSHOT: Could not transfer artifact org.apache:apache:pom:18 f

rom/to apache-release (https://repository.apache.org/content/repositories/releas

es): Connect to repository.apache.org:443 [repository.apache.org/207.244.88.140]

 failed: Connection timed out: connect and 'parent.relativePath' points at no lo

cal POM @ line 24, column 11

 @

[ERROR] The build could not read 1 project -> [Help 1]

[ERROR]

[ERROR]   The project org.apache.royale.framework:royale-framework-parent:0.9.2-

SNAPSHOT (C:\Users\aleena\royale-asjs\pom.xml) has 1 error

[ERROR]     Non-resolvable parent POM for org.apache.royale.framework:royale-fra

mework-parent:0.9.2-SNAPSHOT: Could not transfer artifact org.apache:apache:pom:

18 from/to apache-release (https://repository.apache.org/content/repositories/re

leases): Connect to repository.apache.org:443 [repository.apache.org/207.244.88.

140] failed: Connection timed out: connect and 'parent.relativePath' points at n

o local POM @ line 24, column 11 -> [Help 2]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit

ch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please rea

d the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin

gException

[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableMo

delException

 

Thanks,

Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Wednesday, March 07, 2018 11:25 AM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Alina,

 

I see in your trace that you have cloned typedefs instead asjs -> "git clone https://github.com/apache/royale-typedefs.git". You should clone: 

 

git clone https://github.com/apache/royale-asjs and switch to "develop" branch than try to build.

 

However let me try build typedefs only in the meantime clone asjs and try again.

 

Thanks, Piotr

 

 

2018-03-07 7:19 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:

Alina,

 

Not sure, but let me try that on my sight, however I doubt that. Maven is a very distinguished from all the environment variables. If you got that build running you don't have to use almost all. :)

 

2018-03-07 7:03 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Piotr,

 

ROYALE_HOME environment variable is set to D:\royale-asjs that is the path for installed latest nightly build. This could be the reason ?

 

Thanks,

Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Wednesday, March 07, 2018 10:56 AM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Please try again build. Maybe it was some temporary problem. My build is running right now without the problem. Maven downloading dependencies nicely.

 

Thanks, Piotr

 

2018-03-07 6:39 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Piotr,

Its Working.

This XML file does not appear to have any style information associated with it. The document tree is shown below.

<metadata modelVersion="1.1.0">

<groupId>org.apache.flex.utilities.converter</groupId>

<artifactId>retrievers</artifactId>

<version>1.0.0-SNAPSHOT</version>

<versioning>

<snapshot>

<timestamp>20171112.204231</timestamp>

<buildNumber>490</buildNumber>

</snapshot>

<lastUpdated>20171112204231</lastUpdated>

<snapshotVersions>

<snapshotVersion>

<extension>pom</extension>

<value>1.0.0-20171112.204231-490</value>

<updated>20171112204231</updated>

</snapshotVersion>

</snapshotVersions>

</versioning>

</metadata>

 

Thanks,

Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Wednesday, March 07, 2018 10:48 AM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alina,

 

I just removed my whole local repository and trying exactly the same scenario. Just quick question can you try in your browser open this link ? Is it working ?

 

http://repository.apache.org/snapshots/org/apache/flex/utilities/converter/retrievers/1.0.0-SNAPSHOT/maven-metadata.xml

 

Thanks,

Piotr

 

2018-03-07 6:27 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Piotr,

Using Maven :

C:\Users\aleena>git clone https://github.com/apache/royale-typedefs.git royale-a

sjs

Cloning into 'royale-asjs'...

remote: Counting objects: 3318, done.

remote: Compressing objects: 100% (93/93), done.

remote: Total 3318 (delta 48), reused 76 (delta 16), pack-reused 3200

Receiving objects: 100% (3318/3318), 3.51 MiB | 244.00 KiB/s, done.

Resolving deltas: 100% (1337/1337), done.

 

C:\Users\aleena>cd royale-asjs

 

C:\Users\aleena\royale-asjs>git checkout develop

Already on 'develop'

Your branch is up to date with 'origin/develop'.

 

C:\Users\aleena\royale-asjs>mvn -s settings-template.xml clean install

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

maven-metadata.xml

[WARNING] Could not transfer metadata org.apache.flex.utilities.converter:flex-s

dk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from/to apache-sn

apshots (http://repository.apache.org/snapshots/): Connect to repository.apache.

org:80 [repository.apache.org/207.244.88.140] failed: Connection timed out: conn

ect

[WARNING] Failure to transfer org.apache.flex.utilities.converter:flex-sdk-conve

rter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from http://repository.ap

ache.org/snapshots/ was cached in the local repository, resolution will not be r

eattempted until the update interval of apache-snapshots has elapsed or updates

are forced. Original error: Could not transfer metadata org.apache.flex.utilitie

s.converter:flex-sdk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml

 from/to apache-snapshots (http://repository.apache.org/snapshots/): Connect to

repository.apache.org:80 [repository.apache.org/207.244.88.140] failed: Connecti

on timed out: connect

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

flex-sdk-converter-maven-extension-1.0.0-SNAPSHOT.pom

[WARNING] Failed to read extensions descriptor C:\Users\aleena\royale-asjs\.mvn\

extensions.xml: Plugin org.apache.flex.utilities.converter:flex-sdk-converter-ma

ven-extension:1.0.0-SNAPSHOT or one of its dependencies could not be resolved: F

ailed to read artifact descriptor for org.apache.flex.utilities.converter:flex-s

dk-converter-maven-extension:jar:1.0.0-SNAPSHOT

[INFO] Scanning for projects...

Downloading from apache-release: https://repository.apache.org/content/repositor

ies/releases/org/apache/apache/18/apache-18.pom

Downloading from central: https://repo.maven.apache.org/maven2/org/apache/apache

/18/apache-18.pom

[ERROR] [ERROR] Some problems were encountered while processing the POMs:

[FATAL] Non-resolvable parent POM for org.apache.royale.typedefs:royale-typedefs

-parent:0.9.2-SNAPSHOT: Could not transfer artifact org.apache:apache:pom:18 fro

m/to apache-release (https://repository.apache.org/content/repositories/releases

): Connect to repository.apache.org:443 [repository.apache.org/207.244.88.140] f

ailed: Connection timed out: connect and 'parent.relativePath' points at wrong l

ocal POM @ line 23, column 11

 @

[ERROR] The build could not read 1 project -> [Help 1]

[ERROR]

[ERROR]   The project org.apache.royale.typedefs:royale-typedefs-parent:0.9.2-SN

APSHOT (C:\Users\aleena\royale-asjs\pom.xml) has 1 error

[ERROR]     Non-resolvable parent POM for org.apache.royale.typedefs:royale-type

defs-parent:0.9.2-SNAPSHOT: Could not transfer artifact org.apache:apache:pom:18

 from/to apache-release (https://repository.apache.org/content/repositories/rele

ases): Connect to repository.apache.org:443 [repository.apache.org/207.244.88.14

0] failed: Connection timed out: connect and 'parent.relativePath' points at wro

ng local POM @ line 23, column 11 -> [Help 2]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit

ch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please rea

d the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin

gException

[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableMo

delException

 

C:\Users\aleena\royale-asjs>

 

Thanks

Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Tuesday, March 06, 2018 5:30 PM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alina,

 

You can try to go with Maven to see whether you have similar problems [1]

 

[1] https://github.com/apache/royale-asjs/wiki/Build-Apache-Royale-with-Maven

 

Thanks, Piotr

 

2018-03-06 13:12 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Alex,

Still getting same error, while executing:

C:\Users\aleena\royale-asjs>ant all

Website link is working :

http://www.antlr.org/license.html

 

could be only issue , Antlr server will be off-line ?

 

Thanks,

Alina

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Tuesday, March 06, 2018 4:38 PM
To: 'users@royale.apache.org'
Subject: RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alex,

 

We can exclude ScaleX , ScaleY,transform from our code as we are using it in our Library Project Only.

We are using “Rotation” in a PopUp Window. 

 

Can you please explain emulation ?

How do they will work?

 

Thanks,

Alina

 

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Tuesday, March 06, 2018 3:14 PM
To: 'users@royale.apache.org'
Subject: RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alex,

We are using commitProperties() in our Library Project. Overriding the Existing Spark commitProperties() method 

For Example:

ResizableTextAreaSkin.mxml (SHMALib)

override protected function commitProperties():void {

                                                super.commitProperties();

 

                                                if (lineBreakChanged) {

                                                                updateStringStyle("lineBreak");

                                                                lineBreakChanged = false;

                                                }

                                                if (paddingChanged) {

                                                                updatePadding();

                                                                paddingChanged = false;

                                                }

                                                if (verticalAlignChanged) {

                                                                updateStringStyle("verticalAlign");

                                                                verticalAlignChanged = false;

                                                }

                                }

We are using 


Package

 <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/package-detail.html> flash.display


Class

public class DisplayObject


Inheritance

DisplayObject Inheritance  <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/EventDispatcher.html> EventDispatcher Inheritance  <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Object.html> Object


Reference Link:

	

https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/DisplayObject.html

 

e.g :

                public function updateLayoutWithoutAnimation():void

                                {

                                                if(_layoutInvalid == true && layoutFunction != null)

                                                {

                                                                _layoutInvalid = false;

                                                                layoutFunction();

                                                }

 

                                                for(var aChild:* in _targets)

                                                {

                                                                var target:LayoutTarget = _targets[aChild];

                                                                var item:IFlexDisplayObject = target.item;

                                                                var m:Matrix = DisplayObject(item).transform.matrix;

 

                                                                m.tx = target.x;

                                                                m.ty = target.y;

                                                                m.a = target.scaleX;                                                                        

                                                                m.d = target.scaleY

                                                                

                                                                DisplayObject(item).alpha = target.alpha;

                                                                DisplayObject(item).transform.matrix = m;

                                                                item.setActualSize(target.unscaledWidth,target.unscaledHeight);

                                                                if(target.state == "removed")

                                                                {

                                                                                delete _targets[target.item];

                                                                                continue;

                                                                }

                                                                else

                                                                {

                                                                                target.state = "positioned"

                                                                }

                                                }

                                                stopTimer();

                                }

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, March 06, 2018 1:36 PM
To: users@royale.apache.org
Subject: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alina,

 

I'm starting on the emulation.  I've noticed that your application code appears to be calling commitProperties().  Can you tell us why?

 

Also, it looks like there are a few uses of rotation, transform, scaleX and scaleY.  What are those used for?

 

Thanks,

-Alex

 

From: Alex Harui <ah...@adobe.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 11:38 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Try again.  Sometimes the Antlr server goes off-line around this time of day.

 

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 11:12 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Using jdk1.8.0_162:

 

C:\Users\aleena\royale-asjs>ant all

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Buildfile: C:\Users\aleena\royale-asjs\build.xml

 

set.base.folder:

 

check-git:

     [echo] Checking for Git...

     [exec] git version 2.16.2.windows.1

 

get-download-folder:

 

download-all:

     [echo] Using folder C:\Users\aleena\royale-asjs/..

 

check-royale-asjs:

 

warn-before-clone:

 

check-royale-asjs:

 

clone-royale-asjs:

 

check-royale-compiler:

 

clone-royale-compiler:

 

check-royale-typedefs:

 

clone-royale-typedefs:

 

check-playerglobal-home:

 

check-air-home:

 

build-all:

 

ask-before-build-all:

    [input] This script will now download and compile lots of files.  This can t

ake several minutes.   No interaction should be required.  Press the enter key t

o continue.

 

 

sdk:

 

annotate.class:

    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-

build-tools\target\classes

    [javac] warning: [options] bootstrap class path not set in conjunction with

-source 1.5

    [javac] warning: [options] source value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] target value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] To suppress warnings about obsolete options, use

-Xlint:-options.

    [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\src\main\java\o

rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:24: warning: [serial

] serializable class AnnotateClassDeleteException has no definition of serialVer

sionUID

    [javac]     public static class AnnotateClassDeleteException extends Excepti

on

    [javac]                   ^

    [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\src\main\java\o

rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:32: warning: [serial

] serializable class AnnotateClassRenameException has no definition of serialVer

sionUID

    [javac]     public static class AnnotateClassRenameException extends Excepti

on

    [javac]                   ^

    [javac] 6 warnings

 

unknown.tree.pattern.input.output:

    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-

build-tools\target\classes

    [javac] warning: [options] bootstrap class path not set in conjunction with

-source 1.5

    [javac] warning: [options] source value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] target value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] To suppress warnings about obsolete options, use

-Xlint:-options.

    [javac] 4 warnings

 

main:

 

compiler.downloads.cache:

 

compiler.downloads:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

prepare:

     [echo] Making lib directory C:\Users\aleena\royale-compiler\compiler/lib/ex

ternal

    [mkdir] Created dir: C:\Users\aleena\royale-compiler\compiler\lib\external

 

all:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

check-dependency:

     [echo] checking for C:\Users\aleena\royale-compiler\compiler/lib/external//

antlr.jar

 

download-dependency:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

echo-project-jar:

   [delete] Deleting: C:\Users\aleena\royale-compiler\compiler\src\main\resource

s\project.properties

     [echo] ${INFO_DOWNLOADING_FILE_FROM}

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

download-apache-license:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

download-other-license:

      [get] Getting: http://www.antlr.org/license.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0> 

      [get] To: C:\Users\aleena\royale-compiler\compiler\lib\external\antlr-LICE

NSE.html

      [get] Error getting http://www.antlr.org/license.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0>  to C:\Users\aleena\r

oyale-compiler\compiler\lib\external\antlr-LICENSE.html

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

double-check-file:

     [echo] ${env.ROYALE_DOWNLOAD_CACHE}

     [echo] Need file: ${still_no_file}

 

get-from-cache-if-needed:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

fail-if-not-found:

 

BUILD FAILED

C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-compiler\build.xml:64: The following error occurred while

 executing this line:

C:\Users\aleena\royale-compiler\compiler-jburg-types\build.xml:87: The following

 error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:81: Th

e following error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:275: T

he following error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:329: T

he following error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:489: C

:\Users\aleena\royale-compiler\compiler/lib/external//antlr-LICENSE.html could n

ot be downloaded or found in cache

 

Total time: 47 seconds

 

C:\Users\aleena\royale-asjs>

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, March 06, 2018 11:55 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Please use JDK8.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 10:40 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

Java version that I am using is “9.0.1”

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, March 06, 2018 11:42 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

What version of Java are you using?  Please get a JDK7 or 8 and try that.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 10:22 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Command Prompt Output is:

C:\Users\aleena>git clone https://github.com/apache/royale-asjs.git <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs.git&data=02%7C01%7Caharui%40adobe.com%7Cdf86fa0dd25b41ffbc8108d5832f0997%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559160423949211&sdata=d9cKX4ILIQPLI5USXvAafSnrWZSgW1XHw6G4r%2B9wgsE%3D&reserved=0>  royale-asjs

Cloning into 'royale-asjs'...

remote: Counting objects: 101103, done.

remote: Compressing objects: 100% (22/22), done.

remote: Total 101103 (delta 9), reused 30 (delta 7), pack-reused 101066R

Receiving objects: 100% (101103/101103), 19.23 MiB | 208.00 KiB/s, done.

 

Resolving deltas: 100% (61584/61584), done.

Checking out files: 100% (3572/3572), done.

 

C:\Users\aleena>cd royale-asjs

 

C:\Users\aleena\royale-asjs>git checkout develop

Already on 'develop'

Your branch is up to date with 'origin/develop'.

 

C:\Users\aleena\royale-asjs>ant all

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Buildfile: C:\Users\aleena\royale-asjs\build.xml

 

set.base.folder:

 

check-git:

     [echo] Checking for Git...

     [exec] git version 2.16.2.windows.1

 

get-download-folder:

 

download-all:

     [echo] Using folder C:\Users\aleena\royale-asjs/..

 

check-royale-asjs:

 

warn-before-clone:

 

check-royale-asjs:

 

clone-royale-asjs:

 

check-royale-compiler:

 

clone-royale-compiler:

     [echo] cloning royale-compiler repo into C:\Users\aleena\royale-asjs/../roy

ale-compiler

     [exec] Cloning into 'royale-compiler'...

     [exec] Checking out files:   8% (284/3191)

     [exec] Checking out files:   9% (288/3191)   Checking out files:  10% (320/

3191)   Checking out files:  11% (352/3191)   Checking out files:  12% (383/3191

)   Checking out files:  13% (415/3191)   Checking out files:  13% (444/3191)

Checking out files:  14% (447/3191)   Checking out files:  15% (479/3191)   Chec

king out files:  16% (511/3191)   Checking out files:  17% (543/3191)   Checking

 out files:  18% (575/3191)   Checking out files:  19% (607/3191)   Checking out

 files:  20% (639/3191)   Checking out files:  20% (641/3191)   Checking out fil

es:  21% (671/3191)   Checking out files:  22% (703/3191)   Checking out files:

 23% (734/3191)   Checking out files:  24% (766/3191)   Checking out files:  25%

 (798/3191)   Checking out files:  26% (830/3191)   Checking out files:  26% (84

2/3191)   Checking out files:  27% (862/3191)   Checking out files:  28% (894/31

91)   Checking out files:  29% (926/3191)   Checking out files:  30% (958/3191)

  Checking out files:  31% (990/3191)   Checking out files:  32% (1022/3191)   C

hecking out files:  33% (1054/3191)   Checking out files:  34% (1085/3191)   Che

cking out files:  35% (1117/3191)   Checking out files:  36% (1149/3191)   Check

ing out files:  37% (1181/3191)   Checking out files:  38% (1213/3191)   Checkin

g out files:  39% (1245/3191)   Checking out files:  40% (1277/3191)   Checking

out files:  40% (1308/3191)   Checking out files:  41% (1309/3191)   Checking ou

t files:  42% (1341/3191)   Checking out files:  42% (1352/3191)   Checking out

files:  43% (1373/3191)   Checking out files:  44% (1405/3191)   Checking out fi

les:  45% (1436/3191)   Checking out files:  46% (1468/3191)   Checking out file

s:  47% (1500/3191)   Checking out files:  48% (1532/3191)   Checking out files:

  49% (1564/3191)   Checking out files:  49% (1578/3191)   Checking out files:

50% (1596/3191)   Checking out files:  51% (1628/3191)   Checking out files:  52

% (1660/3191)   Checking out files:  53% (1692/3191)   Checking out files:  54%

(1724/3191)   Checking out files:  55% (1756/3191)   Checking out files:  56% (1

787/3191)   Checking out files:  57% (1819/3191)   Checking out files:  58% (185

1/3191)   Checking out files:  59% (1883/3191)   Checking out files:  60% (1915/

3191)   Checking out files:  61% (1947/3191)   Checking out files:  62% (1979/31

91)   Checking out files:  63% (2011/3191)   Checking out files:  63% (2022/3191

)   Checking out files:  64% (2043/3191)   Checking out files:  65% (2075/3191)

  Checking out files:  66% (2107/3191)   Checking out files:  67% (2138/3191)

Checking out files:  68% (2170/3191)   Checking out files:  69% (2202/3191)   Ch

ecking out files:  70% (2234/3191)   Checking out files:  71% (2266/3191)   Chec

king out files:  72% (2298/3191)   Checking out files:  73% (2330/3191)   Checki

ng out files:  74% (2362/3191)   Checking out files:  75% (2394/3191)   Checking

 out files:  76% (2426/3191)   Checking out files:  77% (2458/3191)   Checking o

ut files:  78% (2489/3191)   Checking out files:  79% (2521/3191)   Checking out

 files:  80% (2553/3191)   Checking out files:  81% (2585/3191)   Checking out f

iles:  82% (2617/3191)   Checking out files:  83% (2649/3191)   Checking out fil

es:  83% (2679/3191)   Checking out files:  84% (2681/3191)   Checking out files

:  85% (2713/3191)   Checking out files:  86% (2745/3191)   Checking out files:

 87% (2777/3191)   Checking out files:  88% (2809/3191)   Checking out files:  8

9% (2840/3191)   Checking out files:  89% (2845/3191)   Checking out files:  90%

 (2872/3191)   Checking out files:  91% (2904/3191)   Checking out files:  92% (

2936/3191)   Checking out files:  93% (2968/3191)   Checking out files:  94% (30

00/3191)   Checking out files:  95% (3032/3191)   Checking out files:  95% (3035

/3191)   Checking out files:  96% (3064/3191)   Checking out files:  97% (3096/3

191)   Checking out files:  98% (3128/3191)   Checking out files:  99% (3160/319

1)   Checking out files: 100% (3191/3191)   Checking out files: 100% (3191/3191)

, done.

     [exec] Your branch is up to date with 'origin/develop'.

     [exec] Already on 'develop'

 

check-royale-typedefs:

 

clone-royale-typedefs:

     [echo] cloning royale-typedefs repo into C:\Users\aleena\royale-asjs/../roy

ale-typedefs

     [exec] Cloning into 'royale-typedefs'...

     [exec] Your branch is up to date with 'origin/develop'.

     [exec] Already on 'develop'

 

check-playerglobal-home:

 

check-air-home:

 

build-all:

 

ask-before-build-all:

    [input] This script will now download and compile lots of files.  This can t

ake several minutes.   No interaction should be required.  Press the enter key t

o continue.

 

sdk:

 

annotate.class:

    [mkdir] Created dir: C:\Users\aleena\royale-compiler\compiler-build-tools\ta

rget\classes

    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-

build-tools\target\classes

    [javac] warning: [options] bootstrap class path not set in conjunction with

-source 1.5

    [javac] error: Source option 1.5 is no longer supported. Use 1.6 or later.

    [javac] error: Target option 1.5 is no longer supported. Use 1.6 or later.

 

BUILD FAILED

C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-compiler\build.xml:63: The following error occurred while

 executing this line:

C:\Users\aleena\royale-compiler\compiler-build-tools\build.xml:74: Compile faile

d; see the compiler error output for details.

 

Total time: 17 minutes 59 seconds

 

C:\Users\aleena\royale-asjs>

 

Unable to Build, Please guide.

 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Friday, March 02, 2018 10:31 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I was able to download and expand the files.  I will be consolidating the data today. 

 

In order to be able to write some of these emulations, you will probably need to be able to build the framework sources.  If you haven't already, you can try cloning the royale-asjs repo and figure out how to get it to build.  You can choose Apache Maven or Apache Ant as the build tool.

 

https://github.com/apache/royale-asjs <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs&data=02%7C01%7Caharui%40adobe.com%7C3c1833c1fc9442003f2608d5832c7fe0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559149534170415&sdata=YqGTpbzoou8SilHbsTxjriIjiREaS%2FA9j6xjZYRR%2F4E%3D&reserved=0> 

 

Hopefully the instruction in the readme are sufficient.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Friday, March 2, 2018 at 12:34 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

Application API-Report link:

https://www.dropbox.com/s/swvqhly6wa0jrc5/API-Reports.rar?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fswvqhly6wa0jrc5%2FAPI-Reports.rar%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C928c248220464230f6dd08d5801a2f13%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555772324148830&sdata=9%2BsrGG41iCMIEmbtqnEbV%2BPvi1ngE9vF%2BKuqPAZ%2Bzao%3D&reserved=0> 

SHMALib Report, applications,shmDoclist,shmSetupList,AppView_EIS, AppView_ERP,shmMappingSetup, shmMappingSetupOpenDetailGrid,shmSalesInvoice, shmSalesInvoiceDetail are main API Files.

 

Regards,

Alina

 

 

 

 

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Friday, March 02, 2018 11:32 AM
To: users@royale.apache.org
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

2) We are using Effects in our Application 2-3 times 

4) We are using text styling in our Application 3-5 times 

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Friday, March 02, 2018 4:26 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

1) Interesting about Charts.  They were being used by the SWC.

2) Effects are any animations that move, resize or fade things in the UI.

3) ok

4) I'm not sure what to conclude from the screenshot.  I'm interested in how often folks use it to create text with bold, italics and other styling of text.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Thursday, March 1, 2018 at 4:24 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

600 mxml.api.txt files are generated and still in process. I will share link for files tomorrow.

After sharing my files tomorrow, If you will suggest to build  emulations. 

I will  definitely want to learn how to create emulations and contribute them to Apache Royale.  

1.We are not using Charts in our Application

2. How important are effects? (Please explain effects )

3. We are not using Right-to-left languages in RichTextEditor.

4. Is RichTextEditor being used for non-plain text?  If so, what kinds of text styling is important?

Link:https://www.dropbox.com/s/ky93eycmefm3cuu/RICHTEXTEDITOR.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fky93eycmefm3cuu%2FRICHTEXTEDITOR.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cff526ec5592c42772ade08d57f713736%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555046634193460&sdata=BjS8q1GarTweRfMMmZOKxN%2FTQTqhtzJlm05KAtWnNTQ%3D&reserved=0> 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 10:45 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Good to hear it worked.

 

I think I am waiting on all of the mxml.api.txt files to see what else is in there that isn't in the two reports we have, then we'll have a pretty good list of the places you will either need to change in your code or that we  will build emulations for.

 

I think emulations will be less work in the end, but there will be a lot of them to do.  We will want to you to learn how to create emulations and contribute them to Apache Royale.  That's how many Apache projects work: some of the users learn how to become committers.  This will be an asset to your company as well since you will learn how to fix things in Royale yourself.  Then your company won't be dependent on outsiders for support.

 

So, Peter and I and hopefully others will get started on some emulations to make sure they work for us, and then you can see if they work for you, and then we will teach you how to write those emulations.  Over the next several months, besides testing emulations written by others in your app, you will be writing your own emulations for things you need right away that we haven't written yet, or for third-party code that you are using.

 

It might help to get some prioritization on the emulations we need to write.  In looking at the list, I am wondering:

1.	Are some charts more important than others?
2.	How important are effects?
3.	Do you use Right-to-left languages in RichTextEditor?
4.	Is RichTextEditor being used for non-plain text?  If so, what kinds of text styling is important?

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Wednesday, February 28, 2018 at 1:22 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Thank you.

It’s working with latest nightly build:

https://www.dropbox.com/s/77wkgrm74upkg0j/SHMALib%20Report.txt?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F77wkgrm74upkg0j%2FSHMALib%2520Report.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C16fa845b6d2f4efb7f4a08d57e8e9097%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636554073167111532&sdata=UV0BOZpVonw%2BILcK9njhQdf5pKpqWPccp0IKDPm4jOI%3D&reserved=0> 

 

 

Regards,

Alina

 

 

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 1:15 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Looks like COMPC collected the data but never generated the report.  I pushed a fix for that.  Please try the latest nightly build.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Tuesday, February 27, 2018 at 10:35 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Thank you

After commenting the embedded font part from source.

Output to console:

3462313 bytes written to D:\SHMALib.swc in 19.878 seconds

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"

 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\framewor

ks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\sr

c" -library-path+=D:\SHMALIB\libs

 

SHMALib.swf file Generated and Report.txt is empty 

SHMALib.swc output Link:

https://www.dropbox.com/s/4tz49sz134m2gg9/SHMALib.swc?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F4tz49sz134m2gg9%2FSHMALib.swc%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=%2FNcbTJtah21RRPeWfwg2pRaZ72hd%2BdG0iJlnH3GsA28%3D&reserved=0> 

then I change, Compc -output "D:\SHMALib.swc" to Compc -output "D:\SHMALib. txt " 

SHMALib.txt output Link:

https://www.dropbox.com/s/j38obt5e36awuh3/SHMALib.txt?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fj38obt5e36awuh3%2FSHMALib.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=V%2FcA5dJ3Fi1qOvh%2BtUlbU%2FZ%2FQ5SBfRw7psjsm2Q%2Fe8w%3D&reserved=0> 

 

Thanks,

Alina

 

 

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 11:18 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

The only error right now is the embedded font.

 

We can discuss the pros and cons of embedding images in the JS output at some other point in time.

 

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Tuesday, February 27, 2018 at 10:01 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Big Part of SHMALib Uses Embed and metadata :

 

                                // Embed the font so we can rotate it for further distortion

                                [Embed(systemFont="Comic Sans MS",

                                                                embedAsCFF='false')]

                <mx:Image y="4" width="18" height="20" right="185" source="@Embed(source='assets/default/images/load.png')"

                                                  source="@Embed(source='assets/default/images/next.gif')" scaleContent="false"/>

                <mx:Image y="4" width="18" height="20" right="3" source="@Embed(source='assets/default/images/magnifier.png')"

     * An IFrame which you can embed into Flex applications to show an HTML page.

     * @example A simple application with Google embedded

        // SWF embed object tracking

         * The SWF embed object id.

         * Get the embed object id.

        protected function resolveEmbedObjectId():void

                    var result:Object=ExternalInterface.call(IFrameExternalCalls.FUNCTION_ASK_FOR_EMBED_OBJECT_ID, randomIdentificationString.toString());

                        logger.info("Resolved the SWF embed object id to '{0}'.", applicationId);

                        logger.error('Could not resolve the SWF embed object Id.');

            // Resolve the SWF embed object id in the DOM.

            ExternalInterface.call(IFrameExternalCalls.INSERT_FUNCTION_ASK_FOR_EMBED_OBJECT_ID);

            resolveEmbedObjectId();

            logger.info("Loading IFrame with id '{0}', on SWF embed object with id '{1}'.", _frameId, applicationId);

                    FUNCTION_LOADIFRAME + " = function (frameID, iframeID, url, embedID, scrollPolicy)" +

                                      "onLoad='\"+embedID+\".\"+frameID+\"_load();' " +

        public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String = "askForEmbedObjectId";

        public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String = "askForEmbedObjectId";

        public static var INSERT_FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =

                "if (document." + FUNCTION_ASK_FOR_EMBED_OBJECT_ID + "==null)" +

                    FUNCTION_ASK_FOR_EMBED_OBJECT_ID + " = function(randomString) " + 

                            "var embeds = document.getElementsByTagName('embed'); " + 

                            "var embeds = document.getElementsByTagName('embed'); " + 

                            "for (var i = 0; i < embeds.length; i++) { " + 

                                "var isTheGoodOne = embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " + 

                                "var isTheGoodOne = embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " + 

                                    "return embeds[i].getAttribute('id'); " + 

                                 * The UITextField control for displaying embeded hints.

                                private var embedTextField:UITextField;

                                 *  The String to be shown as the embeded hint.

                                private var embedStr:String = "";

                                                                                embedStr = "MM DD YYYY";

                                                                                embedStr = "DD MM YYYY";

                                                                                embedStr = "YYYY MM DD";

                                                                                embedStr = "YYYY DD MM";

                                 *  Create child objects for displaying embeded hints.

                                                                embedTextField = new UITextField();

                                                                //embedTextField.text = embedStr;

                                                                //embedTextField.text = embedStr;

                                                                addChildAt(UITextField(embedTextField),getChildIndex(DisplayObject(textField)));//as TextField

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                                s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);

                                                                                                                                embedTextField.text = s;

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                                //s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);

                                                                                                                                //embedTextField.text = s;

                                                                                                                                s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);

                                                                                                                                embedTextField.text = s;

                                                                                // If embeded hints are displayed then update the

                                                                                // UITextField corresponding to the embeded hints

                                                                                                var s:String = embedTextField.text == null ? "":embedTextField.text;

                                                                                                var s:String = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                embedTextField.text = s;

                                                                // create the embeded text field for showing

                                                                // embeded hints if its not already created.

                                                                // If it is created, then just change the embeded hint.

                                                                if(!embedTextField)

                                                                                embedTextField = new UITextField();

                                                                                addChildAt(embedTextField,getChildIndex(DisplayObject(textField))); //as TextField

                                                                //embedTextField.text = embedStr;

                                                                //embedTextField.text = embedStr;

                                                                embedTextField.alpha = 1;

                                                                embedTextField.setTextFormat(txtFormat);

                                                                embedTextField.x = 0;

                                                                embedTextField.y = 2;

                                                                embedTextField.setActualSize(width,height);

                                                                if(embedTextField)

                                                                                embedTextField.text = "";

                                                                                embedTextField = null;

                                                // setting the color of the embeded text field to white.

                                                                if(embedTextField)

                                                                                embedTextField.setColor(0xFFFFFF);

                                                                                if(embedTextField)

                                                                                                addChildAt(DisplayObject(newSkin),getChildIndex(DisplayObject(embedTextField)));//

   background-image:                                      Embed(source="/assets/application_background.png",

                up-skin:                Embed("/assets/maximize_up.png");

                over-skin:            Embed("/assets/maximize_over.png");

                down-skin:         Embed("/assets/maximize_up.png");

                selected-up-skin:   Embed("/assets/restore_up.png");

                selected-over-skin: Embed("/assets/restore_over.png");

                selected-down-skin: Embed("/assets/restore_up.png");

                up-skin:        Embed("/assets/minimize_up.png");

                over-skin:      Embed("/assets/minimize_over.png");

                down-skin:      Embed("/assets/minimize_up.png");

                up-skin:                                Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");

                over-skin:                            Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");

                down-skin:                         Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");

                selected-up-skin:                             Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");

                selected-over-skin:                         Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");

                selected-down-skin:                      Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");

                up-skin:                                Embed("/assets/left_arrow_up.gif");

                over-skin:                            Embed("/assets/left_arrow_over.gif");

                down-skin:                         Embed("/assets/left_arrow_up.gif");

                disabled-skin:    Embed("/assets/left_arrow_disabled.gif");

                up-skin:                                Embed("/assets/right_arrow_up.gif");

                over-skin:                            Embed("/assets/right_arrow_over.gif");

                down-skin:                         Embed("/assets/right_arrow_up.gif");

                disabled-skin:    Embed("/assets/right_arrow_disabled.gif");

                                //[Embed(source="/assets/cursor_move.gif")]

                                //[Embed(source="/assets/cursor_resize.gif")]

                                [Embed(source="/assets/default/images/mouseMove.gif")]

                                [Embed(source="/assets/default/images/verticalSize.gif")]

                                [Embed(source="/assets/default/images/horizontalSize.gif")]

                                [Embed(source="/assets/default/images/leftObliqueSize.gif")]

                                [Embed(source="/assets/default/images/rightObliqueSize.gif")]

                                                if (image.isEmbedded) 

                                                //if (!Application.application.systemManager.isFontFaceEmbedded(textFormat)) 

                                                if (!FlexGlobals.topLevelApplication.systemManager.isFontFaceEmbedded(textFormat))

                                                                if (Application.application.isFontsEmbedded) {

                                                                if (Application.application.isFontsEmbedded) {

                                                                if (Application.application.isFontsEmbedded) {

                                private var _isEmbedded:Boolean = false;

                                public function set isEmbedded(embedded:Boolean):void 

                                public function set isEmbedded(embedded:Boolean):void 

                                                _isEmbedded = embedded;

                                                _isEmbedded = embedded;

                                public function get isEmbedded():Boolean 

                                                return _isEmbedded;

                                                <mx:icon>@Embed(source='images/print.GIF')</mx:icon>

                                                <mx:icon>@Embed(source='images/reload.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/first-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/first.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/previous-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/previous.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/next-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/next.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/last-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/last.GIF')</mx:icon>

                                                                                <mx:icon>@Embed(source='images/actualsize.GIF')</mx:icon>

                                                                                <mx:icon>@Embed(source='images/fitpage.GIF')</mx:icon>

                                                                                <mx:icon>@Embed(source='images/fitwidth.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/zoomin-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/zoomin.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/zoomout-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/zoomout.GIF')</mx:icon>

                                                                <mx:icon>@Embed(source='images/print.GIF')</mx:icon>

                                                if (imageSourceXml.@isEmbedded.length() > 0)

                                                                image.isEmbedded = imageSourceXml.@isEmbedded == "true";

                                                                image.isEmbedded = imageSourceXml.@isEmbedded == "true";

                 source="@Embed(source='/assets/default/images/left_arrow_up.gif')"/>

                 source="@Embed(source='/assets/default/images/left_arrow_over.gif')"/>

                 source="@Embed(source='/assets/default/images/left_arrow_disabled.gif')"/>  

                                                                                   source="@Embed(source='/com/shm/flexlib/mdi/assets/img/maximizeButton.png')"/>

                                                                                   height="12" source="@Embed(source='/com/shm/flexlib/mdi/assets/img/restoreButton.png')"/>

                                                                                   source="@Embed(source='/com/shm/flexlib/mdi/assets/img/minimizeButton.png')"/>

                 source="@Embed(source='/assets/default/images/right_arrow_up.gif')"/>

                 source="@Embed(source='/assets/default/images/right_arrow_over.gif')"/>

                 source="@Embed(source='/assets/default/images/right_arrow_disabled.gif')"/>  

 

 

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 11:00 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I think you can ignore the warnings.  The first error is for embedding a font, which Royale doesn't currently support, so for now, try commenting out the Embed metadata and see if that allows the error to go away.

 

I would look into the other errors to see if they are legitimate or not.  The Royale Compiler will catch some things the MXMLC compiler may not.  Or you could comment out the code involved in the two errors in TImeZone.as for now since that won't affect the report.

 

The final two errors I saw are for missing skin states.  I think you can just add the skin states.

 

HTH,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Tuesday, February 27, 2018 at 9:35 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

While Executing

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\src"

Or 

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\Flex\libs\SH

MALIB.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bi

n\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\

SHMALIB\src" -library-path+=D:\SHMALIB\libs

 

Error:

(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to

field java.lang.Thread.inheritableThreadLocals

WARNING: Please consider reporting this to the maintainers of com.google.common.

base.internal.Finalizer

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect

ive access operations

WARNING: All illegal access operations will be denied in a future release

Loading configuration: D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(415): col: 50 Warning:

Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="DataProviderService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(419): col: 50 Warning:

Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="BasicFormatterService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(516): col: 50 Warning: Da

ta binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="DataProviderService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(520): col: 50 Warning: Da

ta binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="BasicFormatterService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\shmCaptchaImage.as(43): col: 3 Error: Embed re

quires a 'source' file attribute

 

                [Embed(systemFont="Comic Sans MS",

                ^

 

D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(37): col: 88 Warning: Data

binding will not be able to detect assignments to 'isSelected'.

 

                                        <mx:CheckBox selectedField="isSelected"

 change="onChange(event);" selected="{data.isSelected}">

 

                                          ^

 

D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(46): col: 27 Warning: Data

binding will not be able to detect assignments to 'label'.

 

                                        <mx:Label text="{data.label}" />

                                                             ^

 

D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(126): col: 15 Error: Impli

cit coercion of a value of type Boolean to an unrelated type Number.

 

                                if(year & 0x3 == 0)

                                          ^

 

D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(134): col: 39 Error: Impli

cit coercion of a value of type Boolean to an unrelated type Number.

 

                                if(month == 1 && value.fullYear & 0x3 == 0)

                                                                  ^

 

D:\SHMALIB\src\com\shm\dashboard\renderers\GridPodURLRenderer.mxml(6): col: 23 W

arning: Data binding will not be able to detect assignments to 'SrNo'.

 

                  htmlText="&lt;u&gt;{data.SrNo}&lt;/u&gt;" color="blue" click="

f_DrillDownData(data)">

                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml Error:

The required skin state 'disabledWithPrompt' is missing.

 

 

D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml Error:

The required skin state 'normalWithPrompt' is missing.

 

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(177): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(187): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(202): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(212): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(429): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(439): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(454): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(464): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(479): col: 26 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                field="{properties.@valueField}"

 

                                                                   ^

 

D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(115): col: 74 Warning

: Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject id="roDrillDownColInfo" channelSet="{parentAppl

ication.amfChannelSet}" showBusyCursor="true"

 

       ^

 

D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(118): col: 68 Warning

: Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject id="roDgDpResult" channelSet="{parentApplicatio

n.amfChannelSet}" showBusyCursor="true"

 

 ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PieChartContent.mxml(128): col: 24 Warning

: Data binding will not be able to detect assignments to 'valueField'.

 

                                field="{properties.@valueField}"

                                                   ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 37 Warning: Dat

a binding will not be able to detect assignments to 'appParams'.

 

                                                        inputMask="{parentApplic

ation.appParams.DATE_FORMAT}" showToday="true"  yearNavigationEnabled="true"

 

     ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 47 Warning: Dat

a binding will not be able to detect assignments to 'DATE_FORMAT'.

 

                                                        inputMask="{parentApplic

ation.appParams.DATE_FORMAT}" showToday="true"  yearNavigationEnabled="true"

 

               ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 38 Warning: Dat

a binding will not be able to detect assignments to 'appParams'.

 

                                                         inputMask="{parentAppli

cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true" showToday="true"

 

      ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 48 Warning: Dat

a binding will not be able to detect assignments to 'DATE_FORMAT'.

 

                                                         inputMask="{parentAppli

cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true" showToday="true"

 

                ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(12): col: 11 Warnin

g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

 

                        import mx.graphics.Stroke;

                               ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(37): col: 23 Warnin

g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

 

                                        lne.stroke = new Stroke(0,1,.3);

                                                         ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(46): col: 14 Warnin

g: Duplicate variable definition: i.

 

                                for (var i:int = 1; i < lnWdt; i++){

                                         ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(47): col: 10 Warnin

g: Duplicate variable definition: lne.

 

                                        var lne:Line  = new Line();

                                            ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(53): col: 23 Warnin

g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

 

                                        lne.stroke = new Stroke(0,1,.3);

                                                         ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(54): col: 10 Warnin

g: Duplicate variable definition: llbe.

 

                                        var llbe:Label = new Label();

                                            ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(157): col: 40 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var xPosition:Number = Application.application.p

arent.mouseX;

                                                                   ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(158): col: 40 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var yPosition:Number = Application.application.p

arent.mouseY;

                                                                   ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(225): col: 36 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var xPlus:Number = Application.application.paren

t.mouseX - point.x;

                                                               ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(226): col: 36 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var yPlus:Number = Application.application.paren

t.mouseY - point.y;

                                                               

Thanks,

Alina Kazi

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 10:16 AM
To: Alina Kazi; users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I think that Flash Builder makes it easy to build SWCs.  Building from the command line can be a bit trickier.

 

Let's try:

Compc -output "D:\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\src"

 

HTH,

-Alex

 

 

From: Alina Kazi <al...@d-bz.com>
Date: Tuesday, February 27, 2018 at 7:28 PM
To: "users@royale.apache.org" <us...@royale.apache.org>, Alex Harui <ah...@adobe.com>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Yes I am using Flash Builder.

SHMALIB and MainFlexApp are two separate Projects

Src for SHMALIB is placed into D:/SHMALIB/src

Src for MainFlexApp is D:/Flex/src and the library output file SHMALIB.swc is placed into D:/Flex/libs

 

SHMALIB (.actionscriptProperties)

 

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<actionScriptProperties mainApplicationPath="SHMALib.as" projectUUID="863559ab-3e7b-475b-a3a4-09f4f76fc0d2" version="6">

  <compiler additionalCompilerArguments="-locale en_US" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderLocation="D:/Flex/libs" outputFolderPath="bin-debug" sourceFolderPath="src" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" verifyDigests="true" warn="true">

    <compilerSourcePath/>

    <libraryPath defaultLinkType="0">

      <libraryPathEntry kind="4" path="">

        <excludedEntries>

          <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>

        </excludedEntries>

      </libraryPathEntry>

      <libraryPathEntry kind="1" linkType="1" path="libs"/>

    </libraryPath>

    <sourceAttachmentPath/>

  </compiler>

  <applications>

    <application path="SHMALib.as"/>

  </applications>

  <modules/>

  <buildCSSFiles/>

</actionScriptProperties>

 

SHMALIB (.flexLibProperties)

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<flexLibProperties includeAllClasses="true" version="3">

  <includeClasses/>

  <includeResources/>

  <namespaceManifests/>

</flexLibProperties>

 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 9:34 PM
To: Alina Kazi
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

When you are not trying to use Royale to generate this API report, how are you building your current Flex app?  We might need to know that in order to determine what parameters to add to COMPC.

 

COMPC has additional parameters like -include–sources, include-file, include-classes.  Sometimes, these are listed in an xml file.  If you are using Flash Builder, for example, then examine the .flexlibproperties and .actionscriptProperties files in your project folder.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Date: Tuesday, February 27, 2018 at 3:21 AM
To: 'Alina Kazi' <al...@d-bz.com>
Cc: Alex Harui <ah...@adobe.com>
Subject: RE: Generating API report for Flex Web Browser application

 

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"

 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"

Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by com.google.common.base.internal.Finalizer

(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to

field java.lang.Thread.inheritableThreadLocals

WARNING: Please consider reporting this to the maintainers of com.google.common.

base.internal.Finalizer

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect

ive access operations

 

Error: nothing was specified to be included in the library.

-Alina

 

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Tuesday, February 27, 2018 2:16 PM
To: 'users@royale.apache.org'
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

I am using Moonshine IDE 1.9.0.

Flex 4.16.0

Apache Royale 0.9.2 Latest Nightly Build

 

Running this Command on Command Prompt:

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"

 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"

Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by com.google.common.base.internal.Finalizer

(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to

field java.lang.Thread.inheritableThreadLocals

WARNING: Please consider reporting this to the maintainers of com.google.common.

base.internal.Finalizer

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect

ive access operations

WARNING: All illegal access operations will be denied in a future release

 

command line Error: unknown configuration variable 'sourceΓÇôpath'.

 

-Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 1:26 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

COMPC takes a slightly different set of parameters.  What IDE or build tools are you using to build it without Royale?  You might need to know what options that build uses.

 

You can try running: 

 

Compc -output "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source–path="D:\Projects\SHMA\Main\Flex\src" or wherever the source code is for the library.

 

HTH,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, February 26, 2018 at 11:33 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

For custom SWC, I am using COMPC to get an api-report for SWC

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>compc "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml

Error: configuration variable 'output' was not set.

 

 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 12:27 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Yes, any SWC that is not in the Flex SDK's frameworks/libs folder needs to be specified as Piotr describes below.  We want you specify the same MXML file that you use to compile in the regular Flex SDK.  So if your Application.mxml starts with an mx:Application or s:Application that’s probably the one to use.  But also, if you have your own custom SWCs, we want you to use COMPC to get an api-report for those SWCs.  We want this modified Royale compiler to compile every source file you own so we can see what Flex APIs you are using.

 

HTH,

-Alex

 

From: Piotr Zarzycki <pi...@gmail.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, February 26, 2018 at 11:19 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina, 

 

In my sense you will have to use -library-path+=path to the library. You have to tell compiler about that library.

 

Thanks, Piotr

 

2018-02-27 7:57 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi  Alex,

With latest nightly build:

MaskedTextInput , shmReportUtil …. Are Library Project Actionscript Files.

Main Application contains SHMALib.swc file in Libs folder

Error Link:

https://www.dropbox.com/s/p5imt22cuut0ex6/ErrorGeneratingReport.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fp5imt22cuut0ex6%2FErrorGeneratingReport.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=8f1f9duW2Red4bP77hFTh3mLcCptBmAwd87n1iSkk%2Bs%3D&reserved=0> 

 

I have a question that which .mxml file should be used to generate that report?

Applications.mxml is startup file in case of my Project so I’m using it.

 

Please visit reference link and If I’m doing anything wrong please let me know.

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 12:00 AM


To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I pushed a fix for that.  It might or might not be related to your custom swc.  Get the latest nightly build and let us know.

 

Also, if you are successful, please use your regular compiler to generate a -link–report.  That will help us verify that the API report didn't miss anything.

 

Thanks,

-Alex

 

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, February 26, 2018 at 4:01 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Generated Report file for Sample Project Successfully.

 

spark.components.Application:minHeight,1

spark.components.Application:minWidth,1

spark.components.Application:mxmlContentFactory,2

spark.components.Label:fontSize,1

spark.components.Label:fontWeight,1

spark.components.Label:horizontalCenter,1

spark.components.Label:text,1

spark.components.Label:textAlign,1

spark.components.Label:verticalCenter,1

 

But while executing Actual Project got Error:

https://www.dropbox.com/s/d25eysllavuy5z4/compile2.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fd25eysllavuy5z4%2Fcompile2.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=2i28J4zjv1vEQ7sd%2BGfHm%2Bh1FjG%2BP3YdJCc6rGZr3C4%3D&reserved=0> 

https://www.dropbox.com/s/49iq74zk6rxcr1y/compile1.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F49iq74zk6rxcr1y%2Fcompile1.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=44tfkOscWyJ%2FH3M30HeJ6dfFE0TlpTMhQ2t%2Bv%2ByuoDg%3D&reserved=0> 

 

May be because my Application is dependent to SHMALib(.swc) Library Project (Source Shared Earlier). 

 

-Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Monday, February 26, 2018 5:02 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Alex,

 

I did above exercise for Moonshine and got NPE [1]. I used air-config.xml because it is na Desktop app.

 

[1] https://paste.apache.org/R0Si <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FR0Si&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=tFLrK9xsVt57PytwBaNoUJ%2FIPFH7FCHDtfrmJ1sAl3Y%3D&reserved=0>  

 

Thanks,

Piotr

 

 

2018-02-26 12:56 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:

Yishay,

 

Thank you so much!! I got it working.

 

Alina,

 

Here is the full instruction.

 

1) Download Apache Royale with SWF support - if you have that is good, if not it's here [1]

2) Download Apache Flex - you have it as I have seen on the screenshot.

3) Launch console and go to the Royale SDK folder

 

"yourpathtosdk\bin\" - In my case it was: "d:\Work\royale_ide\royale_nightly_js_swf\bin\"

 

4) Run following command where you will point to the Flex Browser application in order to generate report. My command looks like that:

 

mxmlc "c:\Users\piotr\Documents\NewFlexBrowserProject\src\NewFlexBrowserProject.mxml" -api-report="c:\Users\piotr\Documents\NewFlexBrowserProject\report.txt" -load-config=d:\Work\flex-sdk-4.16.1_adobe_air_28\frameworks\flex-config.xml

 

I generated report for hellow world. Maybe in order to generate report for your application that console command may be much more sophisticated. Let's see!

 

 

[1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/lastSuccessfulBuild/artifact/out/ <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2Fout%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=O%2BpVQ8OuhB%2FtE4ZdylTSkAQCWsIPBGlr9RgiTjWSWEM%3D&reserved=0> 

 

Thanks,

Piotr

 

 

2018-02-26 12:46 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:

Looks like [1] you do need to add compiler option: -api–report=<path to output file>

 

[1] http://apache-royale-users.20374.n8.nabble.com/Substitutes-in-Apache-Royale-tp392p492.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p492.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kda6SpkBgdRqGAeGJ5Db629EAy7KAVbOZKzhzhynRZk%3D&reserved=0> 

 

 

From: Piotr Zarzycki <ma...@gmail.com> 
Sent: Monday, February 26, 2018 1:37 PM


To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

I have produced with that swf, but what's next? Let's wait for Alex's response [1] 

 

[1] https://paste.apache.org/YEeG <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FYEeG&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8ameYzJ7AloOW4nTa8dqu7zYxwORSQc5sCUqpZDVA%2BY%3D&reserved=0> 

 

Thanks,

Piotr

 

2018-02-26 12:32 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:

Alex will know but I don’t think so. I haven’t updated the compiler recently so can’t test it right now. If you want to test it maybe just create a simple app and replace /Users/aharui/ApacheFlex4.16.0 with your sdk home.

 

 

 

From: Piotr Zarzycki <ma...@gmail.com> 
Sent: Monday, February 26, 2018 1:25 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Yishay, 

 

bin/mxmlc

<path to app's

.mxml

file>

-load-config=/Users/aharui/ApacheFlex4.16.0/frameworks/flex-config.xml  

 

Do I need some switch for compiler -api-report or something like that ?

 

Thanks,

Piotr

 

 

2018-02-26 12:10 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:

Wasn’t logged in. Here’s [1] the link.

 

[1] http://apache-royale-users.20374.n8.nabble.com/Substitutes-in-Apache-Royale-tp392p489.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p489.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8Tp5%2BFveKS0eoW7D8EovITPQqYrgwDK4P7cW9izXFH8%3D&reserved=0> 

 

 

From: Yishay Weiss <ma...@hotmail.com> 
Sent: Monday, February 26, 2018 12:59 PM
To: users@royale.apache.org
Subject: RE: Generating API report for Flex Web Browser application

 

I couldn’t find a way to link to a nabble post, but this [1] might help (from Substitutes in Apache Royale).

 

[1] https://paste.apache.org/N2QR <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FN2QR&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=VIS8u6EEBWN6jQrFxpttZvAfUCSSKPe3rbrBDU2w7Sg%3D&reserved=0> 

 

From: Piotr Zarzycki <ma...@gmail.com> 
Sent: Monday, February 26, 2018 12:44 PM
To: users@royale.apache.org
Subject: Generating API report for Flex Web Browser application

 

Hi Alex, 

 

I would like to understand how to generate that report. I will go with the console path, because I think this is something unusual and probably Moonshine is not prepared to do this. I'm writing this on the users mailing list because Alina is having some problems with that. I wanted to simplify all of that. Let's start from the beginning. 

 

1) I have created Flex Web browser project using Apache Flex SDK 4.16.1. 

2) I have nightly build of Royale with SWF support [1]

 

What should I type in the console now ?

 

[1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/lastSuccessfulBuild/artifact/ <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=UtYFFQ90aNB2HU2Vx4t8YAS6Eo2j1ZqVAytujEOgoFM%3D&reserved=0> 

 

Thanks,
-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 

 

 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 

 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 

 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=zGrfZ2Wj3CLuuW%2B%2BKtUSQF6762Vn0%2BeNjCMlViBMghg%3D&reserved=0> 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki


Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

Posted by Piotr Zarzycki <pi...@gmail.com>.
Somewhere on the road of building typedefs I got the same results as you
warnings, but later it went fine [1]

[1] https://paste.apache.org/cnSr

Thanks, Piotr

2018-03-07 7:40 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:

> Use *"mvn -s settings-template.xml clean install" *without pointing to
> profile -P utils.
>
> 2018-03-07 7:22 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>
>> Hi Piotr,
>>
>> Getting Similar Error in all cases.
>>
>> C:\Users\aleena>git clone https://github.com/apache/royale-asjs
>>
>> Cloning into 'royale-asjs'...
>>
>> remote: Counting objects: 101055, done.
>>
>> remote: Compressing objects: 100% (127/127), done.
>>
>> remote: Total 101055 (delta 101), reused 183 (delta 63), pack-reused
>> 100828
>>
>> Receiving objects: 100% (101055/101055), 19.27 MiB | 249.00 KiB/s, done.
>>
>> Resolving deltas: 100% (61539/61539), done.
>>
>> Checking out files: 100% (3572/3572), done.
>>
>>
>>
>> C:\Users\aleena>cd royale-asjs
>>
>>
>>
>> C:\Users\aleena\royale-asjs>git checkout develop
>>
>> Already on 'develop'
>>
>> Your branch is up to date with 'origin/develop'.
>>
>>
>>
>> C:\Users\aleena\royale-asjs>mvn -s settings-template.xml clean install
>> -P utils
>>
>> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>>
>> Downloading from apache-snapshots: http://repository.apache.org/s
>> napshots/org/ap
>>
>> ache/flex/utilities/converter/flex-sdk-converter-maven-exten
>> sion/1.0.0-SNAPSHOT/
>>
>> maven-metadata.xml
>>
>> [WARNING] Could not transfer metadata org.apache.flex.utilities.conv
>> erter:flex-s
>>
>> dk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from/to
>> apache-sn
>>
>> apshots (http://repository.apache.org/snapshots/): Connect to
>> repository.apache.
>>
>> org:80 [repository.apache.org/207.244.88.140] failed: Connection timed
>> out: conn
>>
>> ect
>>
>> [WARNING] Failure to transfer org.apache.flex.utilities.conv
>> erter:flex-sdk-conve
>>
>> rter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from
>> http://repository.ap
>>
>> ache.org/snapshots/ was cached in the local repository, resolution will
>> not be r
>>
>> eattempted until the update interval of apache-snapshots has elapsed or
>> updates
>>
>> are forced. Original error: Could not transfer metadata
>> org.apache.flex.utilitie
>>
>> s.converter:flex-sdk-converter-maven-extension:1.0.0-
>> SNAPSHOT/maven-metadata.xml
>>
>>  from/to apache-snapshots (http://repository.apache.org/snapshots/):
>> Connect to
>>
>> repository.apache.org:80 [repository.apache.org/207.244.88.140] failed:
>> Connecti
>>
>> on timed out: connect
>>
>> Downloading from apache-snapshots: http://repository.apache.org/s
>> napshots/org/ap
>>
>> ache/flex/utilities/converter/flex-sdk-converter-maven-exten
>> sion/1.0.0-SNAPSHOT/
>>
>> flex-sdk-converter-maven-extension-1.0.0-SNAPSHOT.pom
>>
>> [WARNING] Failed to read extensions descriptor
>> C:\Users\aleena\royale-asjs\.mvn\
>>
>> extensions.xml: Plugin org.apache.flex.utilities.conv
>> erter:flex-sdk-converter-ma
>>
>> ven-extension:1.0.0-SNAPSHOT or one of its dependencies could not be
>> resolved: F
>>
>> ailed to read artifact descriptor for org.apache.flex.utilities.conv
>> erter:flex-s
>>
>> dk-converter-maven-extension:jar:1.0.0-SNAPSHOT
>>
>> [INFO] Scanning for projects...
>>
>> Downloading from apache-release: https://repository.apache.org/
>> content/repositor
>>
>> ies/releases/org/apache/apache/18/apache-18.pom
>>
>> Downloading from central: https://repo.maven.apache.org/
>> maven2/org/apache/apache
>>
>> /18/apache-18.pom
>>
>> [ERROR] [ERROR] Some problems were encountered while processing the POMs:
>>
>> [FATAL] Non-resolvable parent POM for org.apache.royale.framework:ro
>> yale-framewo
>>
>> rk-parent:0.9.2-SNAPSHOT: Could not transfer artifact
>> org.apache:apache:pom:18 f
>>
>> rom/to apache-release (https://repository.apache.org
>> /content/repositories/releas
>>
>> es): Connect to repository.apache.org:443 [repository.apache.org/207.244
>> .88.140]
>>
>>  failed: Connection timed out: connect and 'parent.relativePath' points
>> at no lo
>>
>> cal POM @ line 24, column 11
>>
>>  @
>>
>> [ERROR] The build could not read 1 project -> [Help 1]
>>
>> [ERROR]
>>
>> [ERROR]   The project org.apache.royale.framework:ro
>> yale-framework-parent:0.9.2-
>>
>> SNAPSHOT (C:\Users\aleena\royale-asjs\pom.xml) has 1 error
>>
>> [ERROR]     Non-resolvable parent POM for org.apache.royale.framework:ro
>> yale-fra
>>
>> mework-parent:0.9.2-SNAPSHOT: Could not transfer artifact
>> org.apache:apache:pom:
>>
>> 18 from/to apache-release (https://repository.apache.org
>> /content/repositories/re
>>
>> leases): Connect to repository.apache.org:443 [
>> repository.apache.org/207.244.88.
>>
>> 140] failed: Connection timed out: connect and 'parent.relativePath'
>> points at n
>>
>> o local POM @ line 24, column 11 -> [Help 2]
>>
>> [ERROR]
>>
>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>> -e swit
>>
>> ch.
>>
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>
>> [ERROR]
>>
>> [ERROR] For more information about the errors and possible solutions,
>> please rea
>>
>> d the following articles:
>>
>> [ERROR] [Help 1] http://cwiki.apache.org/conflu
>> ence/display/MAVEN/ProjectBuildin
>>
>> gException
>>
>> [ERROR] [Help 2] http://cwiki.apache.org/conflu
>> ence/display/MAVEN/UnresolvableMo
>>
>> delException
>>
>>
>>
>> Thanks,
>>
>> Alina
>>
>>
>>
>> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com]
>> *Sent:* Wednesday, March 07, 2018 11:25 AM
>> *To:* users@royale.apache.org
>> *Subject:* Re: API Usage in Flex Web Browser application (was Re:
>> Generating API report for Flex Web Browser application)
>>
>>
>>
>> Alina,
>>
>>
>>
>> I see in your trace that you have cloned typedefs instead asjs -> "git
>> clone https://github.com/apache/royale-typedefs.git". You should clone:
>>
>>
>>
>> git clone https://github.com/apache/royale-asjs and switch to "develop"
>> branch than try to build.
>>
>>
>>
>> However let me try build typedefs only in the meantime clone asjs and try
>> again.
>>
>>
>>
>> Thanks, Piotr
>>
>>
>>
>>
>>
>> 2018-03-07 7:19 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
>>
>> Alina,
>>
>>
>>
>> Not sure, but let me try that on my sight, however I doubt that. Maven is
>> a very distinguished from all the environment variables. If you got that
>> build running you don't have to use almost all. :)
>>
>>
>>
>> 2018-03-07 7:03 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>>
>> Hi Piotr,
>>
>>
>>
>> ROYALE_HOME environment variable is set to D:\royale-asjs that is the
>> path for installed latest nightly build. This could be the reason ?
>>
>>
>>
>> Thanks,
>>
>> Alina
>>
>>
>>
>> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com]
>> *Sent:* Wednesday, March 07, 2018 10:56 AM
>> *To:* users@royale.apache.org
>> *Subject:* Re: API Usage in Flex Web Browser application (was Re:
>> Generating API report for Flex Web Browser application)
>>
>>
>>
>> Please try again build. Maybe it was some temporary problem. My build is
>> running right now without the problem. Maven downloading dependencies
>> nicely.
>>
>>
>>
>> Thanks, Piotr
>>
>>
>>
>> 2018-03-07 6:39 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>>
>> Hi Piotr,
>>
>> Its Working.
>>
>> This XML file does not appear to have any style information associated
>> with it. The document tree is shown below.
>>
>> <metadata modelVersion="1.1.0">
>>
>> <groupId>org.apache.flex.utilities.converter</groupId>
>>
>> <artifactId>retrievers</artifactId>
>>
>> <version>1.0.0-SNAPSHOT</version>
>>
>> <versioning>
>>
>> <snapshot>
>>
>> <timestamp>20171112.204231</timestamp>
>>
>> <buildNumber>490</buildNumber>
>>
>> </snapshot>
>>
>> <lastUpdated>20171112204231</lastUpdated>
>>
>> <snapshotVersions>
>>
>> <snapshotVersion>
>>
>> <extension>pom</extension>
>>
>> <value>1.0.0-20171112.204231-490</value>
>>
>> <updated>20171112204231</updated>
>>
>> </snapshotVersion>
>>
>> </snapshotVersions>
>>
>> </versioning>
>>
>> </metadata>
>>
>>
>>
>> Thanks,
>>
>> Alina
>>
>>
>>
>> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com]
>> *Sent:* Wednesday, March 07, 2018 10:48 AM
>> *To:* users@royale.apache.org
>> *Subject:* Re: API Usage in Flex Web Browser application (was Re:
>> Generating API report for Flex Web Browser application)
>>
>>
>>
>> Hi Alina,
>>
>>
>>
>> I just removed my whole local repository and trying exactly the same
>> scenario. Just quick question can you try in your browser open this link ?
>> Is it working ?
>>
>>
>>
>> http://repository.apache.org/snapshots/org/apache/flex/utili
>> ties/converter/retrievers/1.0.0-SNAPSHOT/maven-metadata.xml
>>
>>
>>
>> Thanks,
>>
>> Piotr
>>
>>
>>
>> 2018-03-07 6:27 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>>
>> Hi Piotr,
>>
>> Using Maven :
>>
>> C:\Users\aleena>git clone https://github.com/apache/royale-typedefs.git
>> royale-a
>>
>> sjs
>>
>> Cloning into 'royale-asjs'...
>>
>> remote: Counting objects: 3318, done.
>>
>> remote: Compressing objects: 100% (93/93), done.
>>
>> remote: Total 3318 (delta 48), reused 76 (delta 16), pack-reused 3200
>>
>> Receiving objects: 100% (3318/3318), 3.51 MiB | 244.00 KiB/s, done.
>>
>> Resolving deltas: 100% (1337/1337), done.
>>
>>
>>
>> C:\Users\aleena>cd royale-asjs
>>
>>
>>
>> C:\Users\aleena\royale-asjs>git checkout develop
>>
>> Already on 'develop'
>>
>> Your branch is up to date with 'origin/develop'.
>>
>>
>>
>> C:\Users\aleena\royale-asjs>mvn -s settings-template.xml clean install
>>
>> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>>
>> Downloading from apache-snapshots: http://repository.apache.org/s
>> napshots/org/ap
>>
>> ache/flex/utilities/converter/flex-sdk-converter-maven-exten
>> sion/1.0.0-SNAPSHOT/
>>
>> maven-metadata.xml
>>
>> [WARNING] Could not transfer metadata org.apache.flex.utilities.conv
>> erter:flex-s
>>
>> dk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from/to
>> apache-sn
>>
>> apshots (http://repository.apache.org/snapshots/): Connect to
>> repository.apache.
>>
>> org:80 [repository.apache.org/207.244.88.140] failed: Connection timed
>> out: conn
>>
>> ect
>>
>> [WARNING] Failure to transfer org.apache.flex.utilities.conv
>> erter:flex-sdk-conve
>>
>> rter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from
>> http://repository.ap
>>
>> ache.org/snapshots/ was cached in the local repository, resolution will
>> not be r
>>
>> eattempted until the update interval of apache-snapshots has elapsed or
>> updates
>>
>> are forced. Original error: Could not transfer metadata
>> org.apache.flex.utilitie
>>
>> s.converter:flex-sdk-converter-maven-extension:1.0.0-
>> SNAPSHOT/maven-metadata.xml
>>
>>  from/to apache-snapshots (http://repository.apache.org/snapshots/):
>> Connect to
>>
>> repository.apache.org:80 [repository.apache.org/207.244.88.140] failed:
>> Connecti
>>
>> on timed out: connect
>>
>> Downloading from apache-snapshots: http://repository.apache.org/s
>> napshots/org/ap
>>
>> ache/flex/utilities/converter/flex-sdk-converter-maven-exten
>> sion/1.0.0-SNAPSHOT/
>>
>> flex-sdk-converter-maven-extension-1.0.0-SNAPSHOT.pom
>>
>> [WARNING] Failed to read extensions descriptor
>> C:\Users\aleena\royale-asjs\.mvn\
>>
>> extensions.xml: Plugin org.apache.flex.utilities.conv
>> erter:flex-sdk-converter-ma
>>
>> ven-extension:1.0.0-SNAPSHOT or one of its dependencies could not be
>> resolved: F
>>
>> ailed to read artifact descriptor for org.apache.flex.utilities.conv
>> erter:flex-s
>>
>> dk-converter-maven-extension:jar:1.0.0-SNAPSHOT
>>
>> [INFO] Scanning for projects...
>>
>> Downloading from apache-release: https://repository.apache.org/
>> content/repositor
>>
>> ies/releases/org/apache/apache/18/apache-18.pom
>>
>> Downloading from central: https://repo.maven.apache.org/
>> maven2/org/apache/apache
>>
>> /18/apache-18.pom
>>
>> [ERROR] [ERROR] Some problems were encountered while processing the POMs:
>>
>> [FATAL] Non-resolvable parent POM for org.apache.royale.typedefs:roy
>> ale-typedefs
>>
>> -parent:0.9.2-SNAPSHOT: Could not transfer artifact
>> org.apache:apache:pom:18 fro
>>
>> m/to apache-release (https://repository.apache.org
>> /content/repositories/releases
>>
>> ): Connect to repository.apache.org:443 [repository.apache.org/207.244
>> .88.140] f
>>
>> ailed: Connection timed out: connect and 'parent.relativePath' points at
>> wrong l
>>
>> ocal POM @ line 23, column 11
>>
>>  @
>>
>> [ERROR] The build could not read 1 project -> [Help 1]
>>
>> [ERROR]
>>
>> [ERROR]   The project org.apache.royale.typedefs:roy
>> ale-typedefs-parent:0.9.2-SN
>>
>> APSHOT (C:\Users\aleena\royale-asjs\pom.xml) has 1 error
>>
>> [ERROR]     Non-resolvable parent POM for org.apache.royale.typedefs:roy
>> ale-type
>>
>> defs-parent:0.9.2-SNAPSHOT: Could not transfer artifact
>> org.apache:apache:pom:18
>>
>>  from/to apache-release (https://repository.apache.org
>> /content/repositories/rele
>>
>> ases): Connect to repository.apache.org:443 [
>> repository.apache.org/207.244.88.14
>>
>> 0] failed: Connection timed out: connect and 'parent.relativePath' points
>> at wro
>>
>> ng local POM @ line 23, column 11 -> [Help 2]
>>
>> [ERROR]
>>
>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>> -e swit
>>
>> ch.
>>
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>
>> [ERROR]
>>
>> [ERROR] For more information about the errors and possible solutions,
>> please rea
>>
>> d the following articles:
>>
>> [ERROR] [Help 1] http://cwiki.apache.org/conflu
>> ence/display/MAVEN/ProjectBuildin
>>
>> gException
>>
>> [ERROR] [Help 2] http://cwiki.apache.org/conflu
>> ence/display/MAVEN/UnresolvableMo
>>
>> delException
>>
>>
>>
>> C:\Users\aleena\royale-asjs>
>>
>>
>>
>> Thanks
>>
>> Alina
>>
>>
>>
>> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com]
>> *Sent:* Tuesday, March 06, 2018 5:30 PM
>> *To:* users@royale.apache.org
>> *Subject:* Re: API Usage in Flex Web Browser application (was Re:
>> Generating API report for Flex Web Browser application)
>>
>>
>>
>> Hi Alina,
>>
>>
>>
>> You can try to go with Maven to see whether you have similar problems [1]
>>
>>
>>
>> [1] https://github.com/apache/royale-asjs/wiki/Build-Apache-
>> Royale-with-Maven
>>
>>
>>
>> Thanks, Piotr
>>
>>
>>
>> 2018-03-06 13:12 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>>
>> Hi Alex,
>>
>> Still getting same error, while executing:
>>
>> C:\Users\aleena\royale-asjs>ant all
>>
>> Website link is working :
>>
>> http://www.antlr.org/license.html
>>
>>
>>
>> could be only issue , Antlr server will be off-line ?
>>
>>
>>
>> Thanks,
>>
>> Alina
>>
>> *From:* Alina Kazi [mailto:alina.kazi@d-bz.com]
>> *Sent:* Tuesday, March 06, 2018 4:38 PM
>> *To:* 'users@royale.apache.org'
>> *Subject:* RE: API Usage in Flex Web Browser application (was Re:
>> Generating API report for Flex Web Browser application)
>>
>>
>>
>> Hi Alex,
>>
>>
>>
>> We can exclude ScaleX , ScaleY,transform from our code as we are using it
>> in our Library Project Only.
>>
>> We are using “Rotation” in a PopUp Window.
>>
>>
>>
>> Can you please explain *emulation* ?
>>
>> How do they will work?
>>
>>
>>
>> Thanks,
>>
>> Alina
>>
>>
>>
>> *From:* Alina Kazi [mailto:alina.kazi@d-bz.com]
>> *Sent:* Tuesday, March 06, 2018 3:14 PM
>> *To:* 'users@royale.apache.org'
>> *Subject:* RE: API Usage in Flex Web Browser application (was Re:
>> Generating API report for Flex Web Browser application)
>>
>>
>>
>> Hi Alex,
>>
>> We are using commitProperties() in our Library Project. Overriding the
>> Existing Spark commitProperties() method
>>
>> For Example:
>>
>> ResizableTextAreaSkin.mxml (SHMALib)
>>
>> override protected function commitProperties():void {
>>
>>                                                 super.commitProperties();
>>
>>
>>
>>                                                 if (lineBreakChanged) {
>>
>>
>> updateStringStyle("lineBreak");
>>
>>
>> lineBreakChanged = false;
>>
>>                                                 }
>>
>>                                                 if (paddingChanged) {
>>
>>
>> updatePadding();
>>
>>
>> paddingChanged = false;
>>
>>                                                 }
>>
>>                                                 if
>> (verticalAlignChanged) {
>>
>>
>> updateStringStyle("verticalAlign");
>>
>>
>> verticalAlignChanged = false;
>>
>>                                                 }
>>
>>                                 }
>>
>> We are using
>>
>> *Package*
>>
>> flash.display
>> <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/package-detail.html>
>>
>> *Class*
>>
>> public class DisplayObject
>>
>> *Inheritance*
>>
>> DisplayObject [image: Inheritance] EventDispatcher
>> <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/EventDispatcher.html>
>>  [image: Inheritance] Object
>> <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Object.html>
>>
>> *Reference Link:*
>>
>> https://help.adobe.com/en_US/FlashPlatform/reference/actions
>> cript/3/flash/display/DisplayObject.html
>>
>>
>>
>> e.g :
>>
>>                 public function updateLayoutWithoutAnimation():void
>>
>>                                 {
>>
>>                                                 if(_layoutInvalid ==
>> true && layoutFunction != null)
>>
>>                                                 {
>>
>>
>> _layoutInvalid = false;
>>
>>
>> layoutFunction();
>>
>>                                                 }
>>
>>
>>
>>                                                 for(var aChild:* in
>> _targets)
>>
>>                                                 {
>>
>>                                                                 var
>> target:LayoutTarget = _targets[aChild];
>>
>>                                                                 var
>> item:IFlexDisplayObject = target.item;
>>
>>                                                                 var
>> m:Matrix = DisplayObject(item).transform.matrix;
>>
>>
>>
>>                                                                 m.tx =
>> target.x;
>>
>>                                                                 m.ty =
>> target.y;
>>
>>                                                                 m.a =
>> target.scaleX;
>>
>>
>>                                                                 m.d =
>> target.scaleY
>>
>>
>>
>>
>> DisplayObject(item).alpha = target.alpha;
>>
>>
>> DisplayObject(item).transform.matrix = m;
>>
>>
>> item.setActualSize(target.unscaledWidth,target.unscaledHeight);
>>
>>
>> if(target.state == "removed")
>>
>>                                                                 {
>>
>>
>> delete _targets[target.item];
>>
>>
>> continue;
>>
>>                                                                 }
>>
>>                                                                 else
>>
>>                                                                 {
>>
>>
>> target.state = "positioned"
>>
>>                                                                 }
>>
>>                                                 }
>>
>>                                                 stopTimer();
>>
>>                                 }
>>
>>
>>
>> Thanks,
>>
>> Alina
>>
>>
>>
>> *From:* Alex Harui [mailto:aharui@adobe.com]
>> *Sent:* Tuesday, March 06, 2018 1:36 PM
>> *To:* users@royale.apache.org
>> *Subject:* API Usage in Flex Web Browser application (was Re: Generating
>> API report for Flex Web Browser application)
>>
>>
>>
>> Hi Alina,
>>
>>
>>
>> I'm starting on the emulation.  I've noticed that your application code
>> appears to be calling commitProperties().  Can you tell us why?
>>
>>
>>
>> Also, it looks like there are a few uses of rotation, transform, scaleX
>> and scaleY.  What are those used for?
>>
>>
>>
>> Thanks,
>>
>> -Alex
>>
>>
>>
>> *From: *Alex Harui <ah...@adobe.com>
>> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Date: *Monday, March 5, 2018 at 11:38 PM
>> *To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Subject: *Re: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alina,
>>
>>
>>
>> Try again.  Sometimes the Antlr server goes off-line around this time of
>> day.
>>
>>
>>
>> -Alex
>>
>>
>>
>> *From: *Alina Kazi <al...@d-bz.com>
>> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Date: *Monday, March 5, 2018 at 11:12 PM
>> *To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Subject: *RE: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alex,
>>
>> Using jdk1.8.0_162:
>>
>>
>>
>> C:\Users\aleena\royale-asjs>ant all
>>
>> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>>
>> Buildfile: C:\Users\aleena\royale-asjs\build.xml
>>
>>
>>
>> set.base.folder:
>>
>>
>>
>> check-git:
>>
>>      [echo] Checking for Git...
>>
>>      [exec] git version 2.16.2.windows.1
>>
>>
>>
>> get-download-folder:
>>
>>
>>
>> download-all:
>>
>>      [echo] Using folder C:\Users\aleena\royale-asjs/..
>>
>>
>>
>> check-royale-asjs:
>>
>>
>>
>> warn-before-clone:
>>
>>
>>
>> check-royale-asjs:
>>
>>
>>
>> clone-royale-asjs:
>>
>>
>>
>> check-royale-compiler:
>>
>>
>>
>> clone-royale-compiler:
>>
>>
>>
>> check-royale-typedefs:
>>
>>
>>
>> clone-royale-typedefs:
>>
>>
>>
>> check-playerglobal-home:
>>
>>
>>
>> check-air-home:
>>
>>
>>
>> build-all:
>>
>>
>>
>> ask-before-build-all:
>>
>>     [input] This script will now download and compile lots of files.
>> This can t
>>
>> ake several minutes.   No interaction should be required.  Press the
>> enter key t
>>
>> o continue.
>>
>>
>>
>>
>>
>> sdk:
>>
>>
>>
>> annotate.class:
>>
>>     [javac] Compiling 1 source file to C:\Users\aleena\royale-compile
>> r\compiler-
>>
>> build-tools\target\classes
>>
>>     [javac] warning: [options] bootstrap class path not set in
>> conjunction with
>>
>> -source 1.5
>>
>>     [javac] warning: [options] source value 1.5 is obsolete and will be
>> removed
>>
>> in a future release
>>
>>     [javac] warning: [options] target value 1.5 is obsolete and will be
>> removed
>>
>> in a future release
>>
>>     [javac] warning: [options] To suppress warnings about obsolete
>> options, use
>>
>> -Xlint:-options.
>>
>>     [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\src\
>> main\java\o
>>
>> rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:24: warning:
>> [serial
>>
>> ] serializable class AnnotateClassDeleteException has no definition of
>> serialVer
>>
>> sionUID
>>
>>     [javac]     public static class AnnotateClassDeleteException extends
>> Excepti
>>
>> on
>>
>>     [javac]                   ^
>>
>>     [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\src\
>> main\java\o
>>
>> rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:32: warning:
>> [serial
>>
>> ] serializable class AnnotateClassRenameException has no definition of
>> serialVer
>>
>> sionUID
>>
>>     [javac]     public static class AnnotateClassRenameException extends
>> Excepti
>>
>> on
>>
>>     [javac]                   ^
>>
>>     [javac] 6 warnings
>>
>>
>>
>> unknown.tree.pattern.input.output:
>>
>>     [javac] Compiling 1 source file to C:\Users\aleena\royale-compile
>> r\compiler-
>>
>> build-tools\target\classes
>>
>>     [javac] warning: [options] bootstrap class path not set in
>> conjunction with
>>
>> -source 1.5
>>
>>     [javac] warning: [options] source value 1.5 is obsolete and will be
>> removed
>>
>> in a future release
>>
>>     [javac] warning: [options] target value 1.5 is obsolete and will be
>> removed
>>
>> in a future release
>>
>>     [javac] warning: [options] To suppress warnings about obsolete
>> options, use
>>
>> -Xlint:-options.
>>
>>     [javac] 4 warnings
>>
>>
>>
>> main:
>>
>>
>>
>> compiler.downloads.cache:
>>
>>
>>
>> compiler.downloads:
>>
>>      [echo] basedir is C:\Users\aleena\royale-compile
>> r\compiler\src\main\resourc
>>
>> es
>>
>>      [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
>>
>>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compile
>> r\compiler
>>
>>
>>
>> prepare:
>>
>>      [echo] Making lib directory C:\Users\aleena\royale-compile
>> r\compiler/lib/ex
>>
>> ternal
>>
>>     [mkdir] Created dir: C:\Users\aleena\royale-compile
>> r\compiler\lib\external
>>
>>
>>
>> all:
>>
>>      [echo] basedir is C:\Users\aleena\royale-compile
>> r\compiler\src\main\resourc
>>
>> es
>>
>>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compile
>> r\compiler
>>
>>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compile
>> r\compiler
>>
>>
>>
>> check-dependency:
>>
>>      [echo] checking for C:\Users\aleena\royale-compile
>> r\compiler/lib/external//
>>
>> antlr.jar
>>
>>
>>
>> download-dependency:
>>
>>      [echo] basedir is C:\Users\aleena\royale-compile
>> r\compiler\src\main\resourc
>>
>> es
>>
>>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compile
>> r\compiler
>>
>>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compile
>> r\compiler
>>
>>
>>
>> echo-project-jar:
>>
>>    [delete] Deleting: C:\Users\aleena\royale-compile
>> r\compiler\src\main\resource
>>
>> s\project.properties
>>
>>      [echo] ${INFO_DOWNLOADING_FILE_FROM}
>>
>>      [echo] basedir is C:\Users\aleena\royale-compile
>> r\compiler\src\main\resourc
>>
>> es
>>
>>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compile
>> r\compiler
>>
>>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compile
>> r\compiler
>>
>>
>>
>> download-apache-license:
>>
>>      [echo] basedir is C:\Users\aleena\royale-compile
>> r\compiler\src\main\resourc
>>
>> es
>>
>>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compile
>> r\compiler
>>
>>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compile
>> r\compiler
>>
>>
>>
>> download-other-license:
>>
>>       [get] Getting: http://www.antlr.org/license.html
>> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0>
>>
>>       [get] To: C:\Users\aleena\royale-compile
>> r\compiler\lib\external\antlr-LICE
>>
>> NSE.html
>>
>>       [get] Error getting http://www.antlr.org/license.html
>> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0>
>> to C:\Users\aleena\r
>>
>> oyale-compiler\compiler\lib\external\antlr-LICENSE.html
>>
>>      [echo] basedir is C:\Users\aleena\royale-compile
>> r\compiler\src\main\resourc
>>
>> es
>>
>>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compile
>> r\compiler
>>
>>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compile
>> r\compiler
>>
>>
>>
>> double-check-file:
>>
>>      [echo] ${env.ROYALE_DOWNLOAD_CACHE}
>>
>>      [echo] Need file: ${still_no_file}
>>
>>
>>
>> get-from-cache-if-needed:
>>
>>      [echo] basedir is C:\Users\aleena\royale-compile
>> r\compiler\src\main\resourc
>>
>> es
>>
>>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compile
>> r\compiler
>>
>>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compile
>> r\compiler
>>
>>
>>
>> fail-if-not-found:
>>
>>
>>
>> BUILD FAILED
>>
>> C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred
>> while e
>>
>> xecuting this line:
>>
>> C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred
>> while e
>>
>> xecuting this line:
>>
>> C:\Users\aleena\royale-compiler\build.xml:64: The following error
>> occurred while
>>
>>  executing this line:
>>
>> C:\Users\aleena\royale-compiler\compiler-jburg-types\build.xml:87: The
>> following
>>
>>  error occurred while executing this line:
>>
>> C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:81:
>> Th
>>
>> e following error occurred while executing this line:
>>
>> C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:275:
>> T
>>
>> he following error occurred while executing this line:
>>
>> C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:329:
>> T
>>
>> he following error occurred while executing this line:
>>
>> C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:489:
>> C
>>
>> :\Users\aleena\royale-compiler\compiler/lib/external//antlr-LICENSE.html
>> could n
>>
>> ot be downloaded or found in cache
>>
>>
>>
>> Total time: 47 seconds
>>
>>
>>
>> C:\Users\aleena\royale-asjs>
>>
>>
>>
>> Thanks,
>>
>> Alina
>>
>>
>>
>> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
>> *Sent:* Tuesday, March 06, 2018 11:55 AM
>> *To:* users@royale.apache.org
>> *Subject:* Re: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alina,
>>
>>
>>
>> Please use JDK8.
>>
>>
>>
>> Thanks,
>>
>> -Alex
>>
>>
>>
>> *From: *Alina Kazi <al...@d-bz.com>
>> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Date: *Monday, March 5, 2018 at 10:40 PM
>> *To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Subject: *RE: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alex,
>>
>>
>>
>> Java version that I am using is “9.0.1”
>>
>>
>>
>> Thanks,
>>
>> Alina
>>
>>
>>
>> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
>> *Sent:* Tuesday, March 06, 2018 11:42 AM
>> *To:* users@royale.apache.org
>> *Subject:* Re: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alina,
>>
>>
>>
>> What version of Java are you using?  Please get a JDK7 or 8 and try that.
>>
>>
>>
>> Thanks,
>>
>> -Alex
>>
>>
>>
>> *From: *Alina Kazi <al...@d-bz.com>
>> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Date: *Monday, March 5, 2018 at 10:22 PM
>> *To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Subject: *RE: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alex,
>>
>> Command Prompt Output is:
>>
>> C:\Users\aleena>git clone https://github.com/apache/royale-asjs.git
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs.git&data=02%7C01%7Caharui%40adobe.com%7Cdf86fa0dd25b41ffbc8108d5832f0997%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559160423949211&sdata=d9cKX4ILIQPLI5USXvAafSnrWZSgW1XHw6G4r%2B9wgsE%3D&reserved=0>
>> royale-asjs
>>
>> Cloning into 'royale-asjs'...
>>
>> remote: Counting objects: 101103, done.
>>
>> remote: Compressing objects: 100% (22/22), done.
>>
>> remote: Total 101103 (delta 9), reused 30 (delta 7), pack-reused 101066R
>>
>> Receiving objects: 100% (101103/101103), 19.23 MiB | 208.00 KiB/s, done.
>>
>>
>>
>> Resolving deltas: 100% (61584/61584), done.
>>
>> Checking out files: 100% (3572/3572), done.
>>
>>
>>
>> C:\Users\aleena>cd royale-asjs
>>
>>
>>
>> C:\Users\aleena\royale-asjs>git checkout develop
>>
>> Already on 'develop'
>>
>> Your branch is up to date with 'origin/develop'.
>>
>>
>>
>> C:\Users\aleena\royale-asjs>ant all
>>
>> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>>
>> Buildfile: C:\Users\aleena\royale-asjs\build.xml
>>
>>
>>
>> set.base.folder:
>>
>>
>>
>> check-git:
>>
>>      [echo] Checking for Git...
>>
>>      [exec] git version 2.16.2.windows.1
>>
>>
>>
>> get-download-folder:
>>
>>
>>
>> download-all:
>>
>>      [echo] Using folder C:\Users\aleena\royale-asjs/..
>>
>>
>>
>> check-royale-asjs:
>>
>>
>>
>> warn-before-clone:
>>
>>
>>
>> check-royale-asjs:
>>
>>
>>
>> clone-royale-asjs:
>>
>>
>>
>> check-royale-compiler:
>>
>>
>>
>> clone-royale-compiler:
>>
>>      [echo] cloning royale-compiler repo into
>> C:\Users\aleena\royale-asjs/../roy
>>
>> ale-compiler
>>
>>      [exec] Cloning into 'royale-compiler'...
>>
>>      [exec] Checking out files:   8% (284/3191)
>>
>>      [exec] Checking out files:   9% (288/3191)   Checking out files:
>> 10% (320/
>>
>> 3191)   Checking out files:  11% (352/3191)   Checking out files:  12%
>> (383/3191
>>
>> )   Checking out files:  13% (415/3191)   Checking out files:  13%
>> (444/3191)
>>
>> Checking out files:  14% (447/3191)   Checking out files:  15%
>> (479/3191)   Chec
>>
>> king out files:  16% (511/3191)   Checking out files:  17% (543/3191)
>> Checking
>>
>>  out files:  18% (575/3191)   Checking out files:  19% (607/3191)
>> Checking out
>>
>>  files:  20% (639/3191)   Checking out files:  20% (641/3191)   Checking
>> out fil
>>
>> es:  21% (671/3191)   Checking out files:  22% (703/3191)   Checking out
>> files:
>>
>>  23% (734/3191)   Checking out files:  24% (766/3191)   Checking out
>> files:  25%
>>
>>  (798/3191)   Checking out files:  26% (830/3191)   Checking out files:
>> 26% (84
>>
>> 2/3191)   Checking out files:  27% (862/3191)   Checking out files:  28%
>> (894/31
>>
>> 91)   Checking out files:  29% (926/3191)   Checking out files:  30%
>> (958/3191)
>>
>>   Checking out files:  31% (990/3191)   Checking out files:  32%
>> (1022/3191)   C
>>
>> hecking out files:  33% (1054/3191)   Checking out files:  34%
>> (1085/3191)   Che
>>
>> cking out files:  35% (1117/3191)   Checking out files:  36%
>> (1149/3191)   Check
>>
>> ing out files:  37% (1181/3191)   Checking out files:  38% (1213/3191)
>> Checkin
>>
>> g out files:  39% (1245/3191)   Checking out files:  40% (1277/3191)
>> Checking
>>
>> out files:  40% (1308/3191)   Checking out files:  41% (1309/3191)
>> Checking ou
>>
>> t files:  42% (1341/3191)   Checking out files:  42% (1352/3191)
>> Checking out
>>
>> files:  43% (1373/3191)   Checking out files:  44% (1405/3191)   Checking
>> out fi
>>
>> les:  45% (1436/3191)   Checking out files:  46% (1468/3191)   Checking
>> out file
>>
>> s:  47% (1500/3191)   Checking out files:  48% (1532/3191)   Checking out
>> files:
>>
>>   49% (1564/3191)   Checking out files:  49% (1578/3191)   Checking out
>> files:
>>
>> 50% (1596/3191)   Checking out files:  51% (1628/3191)   Checking out
>> files:  52
>>
>> % (1660/3191)   Checking out files:  53% (1692/3191)   Checking out
>> files:  54%
>>
>> (1724/3191)   Checking out files:  55% (1756/3191)   Checking out files:
>> 56% (1
>>
>> 787/3191)   Checking out files:  57% (1819/3191)   Checking out files:
>> 58% (185
>>
>> 1/3191)   Checking out files:  59% (1883/3191)   Checking out files:  60%
>> (1915/
>>
>> 3191)   Checking out files:  61% (1947/3191)   Checking out files:  62%
>> (1979/31
>>
>> 91)   Checking out files:  63% (2011/3191)   Checking out files:  63%
>> (2022/3191
>>
>> )   Checking out files:  64% (2043/3191)   Checking out files:  65%
>> (2075/3191)
>>
>>   Checking out files:  66% (2107/3191)   Checking out files:  67%
>> (2138/3191)
>>
>> Checking out files:  68% (2170/3191)   Checking out files:  69%
>> (2202/3191)   Ch
>>
>> ecking out files:  70% (2234/3191)   Checking out files:  71%
>> (2266/3191)   Chec
>>
>> king out files:  72% (2298/3191)   Checking out files:  73% (2330/3191)
>> Checki
>>
>> ng out files:  74% (2362/3191)   Checking out files:  75% (2394/3191)
>> Checking
>>
>>  out files:  76% (2426/3191)   Checking out files:  77% (2458/3191)
>> Checking o
>>
>> ut files:  78% (2489/3191)   Checking out files:  79% (2521/3191)
>> Checking out
>>
>>  files:  80% (2553/3191)   Checking out files:  81% (2585/3191)
>> Checking out f
>>
>> iles:  82% (2617/3191)   Checking out files:  83% (2649/3191)   Checking
>> out fil
>>
>> es:  83% (2679/3191)   Checking out files:  84% (2681/3191)   Checking
>> out files
>>
>> :  85% (2713/3191)   Checking out files:  86% (2745/3191)   Checking out
>> files:
>>
>>  87% (2777/3191)   Checking out files:  88% (2809/3191)   Checking out
>> files:  8
>>
>> 9% (2840/3191)   Checking out files:  89% (2845/3191)   Checking out
>> files:  90%
>>
>>  (2872/3191)   Checking out files:  91% (2904/3191)   Checking out
>> files:  92% (
>>
>> 2936/3191)   Checking out files:  93% (2968/3191)   Checking out files:
>> 94% (30
>>
>> 00/3191)   Checking out files:  95% (3032/3191)   Checking out files:
>> 95% (3035
>>
>> /3191)   Checking out files:  96% (3064/3191)   Checking out files:  97%
>> (3096/3
>>
>> 191)   Checking out files:  98% (3128/3191)   Checking out files:  99%
>> (3160/319
>>
>> 1)   Checking out files: 100% (3191/3191)   Checking out files: 100%
>> (3191/3191)
>>
>> , done.
>>
>>      [exec] Your branch is up to date with 'origin/develop'.
>>
>>      [exec] Already on 'develop'
>>
>>
>>
>> check-royale-typedefs:
>>
>>
>>
>> clone-royale-typedefs:
>>
>>      [echo] cloning royale-typedefs repo into
>> C:\Users\aleena\royale-asjs/../roy
>>
>> ale-typedefs
>>
>>      [exec] Cloning into 'royale-typedefs'...
>>
>>      [exec] Your branch is up to date with 'origin/develop'.
>>
>>      [exec] Already on 'develop'
>>
>>
>>
>> check-playerglobal-home:
>>
>>
>>
>> check-air-home:
>>
>>
>>
>> build-all:
>>
>>
>>
>> ask-before-build-all:
>>
>>     [input] This script will now download and compile lots of files.
>> This can t
>>
>> ake several minutes.   No interaction should be required.  Press the
>> enter key t
>>
>> o continue.
>>
>>
>>
>> sdk:
>>
>>
>>
>> annotate.class:
>>
>>     [mkdir] Created dir: C:\Users\aleena\royale-compile
>> r\compiler-build-tools\ta
>>
>> rget\classes
>>
>>     [javac] Compiling 1 source file to C:\Users\aleena\royale-compile
>> r\compiler-
>>
>> build-tools\target\classes
>>
>>     [javac] warning: [options] bootstrap class path not set in
>> conjunction with
>>
>> -source 1.5
>>
>>     [javac] error: Source option 1.5 is no longer supported. Use 1.6 or
>> later.
>>
>>     [javac] error: Target option 1.5 is no longer supported. Use 1.6 or
>> later.
>>
>>
>>
>> BUILD FAILED
>>
>> C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred
>> while e
>>
>> xecuting this line:
>>
>> C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred
>> while e
>>
>> xecuting this line:
>>
>> C:\Users\aleena\royale-compiler\build.xml:63: The following error
>> occurred while
>>
>>  executing this line:
>>
>> C:\Users\aleena\royale-compiler\compiler-build-tools\build.xml:74:
>> Compile faile
>>
>> d; see the compiler error output for details.
>>
>>
>>
>> Total time: 17 minutes 59 seconds
>>
>>
>>
>> C:\Users\aleena\royale-asjs>
>>
>>
>>
>> Unable to Build, Please guide.
>>
>>
>>
>> Thanks,
>>
>> Alina
>>
>> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
>> *Sent:* Friday, March 02, 2018 10:31 PM
>> *To:* users@royale.apache.org
>> *Subject:* Re: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alina,
>>
>>
>>
>> I was able to download and expand the files.  I will be consolidating the
>> data today.
>>
>>
>>
>> In order to be able to write some of these emulations, you will probably
>> need to be able to build the framework sources.  If you haven't already,
>> you can try cloning the royale-asjs repo and figure out how to get it to
>> build.  You can choose Apache Maven or Apache Ant as the build tool.
>>
>>
>>
>> https://github.com/apache/royale-asjs
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs&data=02%7C01%7Caharui%40adobe.com%7C3c1833c1fc9442003f2608d5832c7fe0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559149534170415&sdata=YqGTpbzoou8SilHbsTxjriIjiREaS%2FA9j6xjZYRR%2F4E%3D&reserved=0>
>>
>>
>>
>> Hopefully the instruction in the readme are sufficient.
>>
>>
>>
>> Thanks,
>>
>> -Alex
>>
>>
>>
>> *From: *Alina Kazi <al...@d-bz.com>
>> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Date: *Friday, March 2, 2018 at 12:34 AM
>> *To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Subject: *RE: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alex,
>>
>>
>>
>> Application API-Report link:
>>
>> https://www.dropbox.com/s/swvqhly6wa0jrc5/API-Reports.rar?dl=0
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fswvqhly6wa0jrc5%2FAPI-Reports.rar%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C928c248220464230f6dd08d5801a2f13%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555772324148830&sdata=9%2BsrGG41iCMIEmbtqnEbV%2BPvi1ngE9vF%2BKuqPAZ%2Bzao%3D&reserved=0>
>>
>> SHMALib Report, applications,shmDoclist,shmSetupList,AppView_EIS,
>> AppView_ERP,shmMappingSetup, shmMappingSetupOpenDetailGrid,shmSalesInvoice,
>> shmSalesInvoiceDetail are main API Files.
>>
>>
>>
>> Regards,
>>
>> Alina
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> *From:* Alina Kazi [mailto:alina.kazi@d-bz.com <al...@d-bz.com>]
>> *Sent:* Friday, March 02, 2018 11:32 AM
>> *To:* users@royale.apache.org
>> *Subject:* RE: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alex,
>>
>>
>>
>> 2) We are using Effects in our Application 2-3 times
>>
>> 4) We are using text styling in our Application 3-5 times
>>
>>
>>
>> Thanks,
>>
>> Alina
>>
>>
>>
>> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
>> *Sent:* Friday, March 02, 2018 4:26 AM
>> *To:* users@royale.apache.org
>> *Subject:* Re: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alina,
>>
>>
>>
>> 1) Interesting about Charts.  They were being used by the SWC.
>>
>> 2) Effects are any animations that move, resize or fade things in the UI.
>>
>> 3) ok
>>
>> 4) I'm not sure what to conclude from the screenshot.  I'm interested in
>> how often folks use it to create text with bold, italics and other styling
>> of text.
>>
>>
>>
>> Thanks,
>>
>> -Alex
>>
>>
>>
>> *From: *Alina Kazi <al...@d-bz.com>
>> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Date: *Thursday, March 1, 2018 at 4:24 AM
>> *To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Subject: *RE: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alex,
>>
>> 600 mxml.api.txt files are generated and still in process. I will share
>> link for files tomorrow.
>>
>> After sharing my files tomorrow, If you will suggest to build  emulations.
>>
>>
>> I will  definitely want to learn how to create emulations and contribute
>> them to Apache Royale.
>>
>> 1.We are not using Charts in our Application
>>
>> 2. How important are effects? (Please explain effects )
>>
>> 3. We are not using Right-to-left languages in RichTextEditor.
>>
>> 4. Is RichTextEditor being used for non-plain text?  If so, what kinds of
>> text styling is important?
>>
>> Link:https://www.dropbox.com/s/ky93eycmefm3cuu/RICHTEXTEDITOR.png?dl=0
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fky93eycmefm3cuu%2FRICHTEXTEDITOR.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cff526ec5592c42772ade08d57f713736%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555046634193460&sdata=BjS8q1GarTweRfMMmZOKxN%2FTQTqhtzJlm05KAtWnNTQ%3D&reserved=0>
>>
>> Thanks,
>>
>> Alina
>>
>> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
>> *Sent:* Wednesday, February 28, 2018 10:45 PM
>> *To:* users@royale.apache.org
>> *Subject:* Re: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alina,
>>
>>
>>
>> Good to hear it worked.
>>
>>
>>
>> I think I am waiting on all of the mxml.api.txt files to see what else is
>> in there that isn't in the two reports we have, then we'll have a pretty
>> good list of the places you will either need to change in your code or that
>> we  will build emulations for.
>>
>>
>>
>> I think emulations will be less work in the end, but there will be a lot
>> of them to do.  We will want to you to learn how to create emulations and
>> contribute them to Apache Royale.  That's how many Apache projects work:
>> some of the users learn how to become committers.  This will be an asset to
>> your company as well since you will learn how to fix things in Royale
>> yourself.  Then your company won't be dependent on outsiders for support.
>>
>>
>>
>> So, Peter and I and hopefully others will get started on some emulations
>> to make sure they work for us, and then you can see if they work for you,
>> and then we will teach you how to write those emulations.  Over the next
>> several months, besides testing emulations written by others in your app,
>> you will be writing your own emulations for things you need right away that
>> we haven't written yet, or for third-party code that you are using.
>>
>>
>>
>> It might help to get some prioritization on the emulations we need to
>> write.  In looking at the list, I am wondering:
>>
>>    1. Are some charts more important than others?
>>    2. How important are effects?
>>    3. Do you use Right-to-left languages in RichTextEditor?
>>    4. Is RichTextEditor being used for non-plain text?  If so, what
>>    kinds of text styling is important?
>>
>> Thanks,
>>
>> -Alex
>>
>>
>>
>> *From: *Alina Kazi <al...@d-bz.com>
>> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Date: *Wednesday, February 28, 2018 at 1:22 AM
>> *To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Subject: *RE: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alex,
>>
>> Thank you.
>>
>> It’s working with latest nightly build:
>>
>> https://www.dropbox.com/s/77wkgrm74upkg0j/SHMALib%20Report.txt?dl=0
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F77wkgrm74upkg0j%2FSHMALib%2520Report.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C16fa845b6d2f4efb7f4a08d57e8e9097%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636554073167111532&sdata=UV0BOZpVonw%2BILcK9njhQdf5pKpqWPccp0IKDPm4jOI%3D&reserved=0>
>>
>>
>>
>>
>>
>> Regards,
>>
>> Alina
>>
>>
>>
>>
>>
>>
>>
>> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
>> *Sent:* Wednesday, February 28, 2018 1:15 PM
>> *To:* users@royale.apache.org
>> *Subject:* Re: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alina,
>>
>>
>>
>> Looks like COMPC collected the data but never generated the report.  I
>> pushed a fix for that.  Please try the latest nightly build.
>>
>>
>>
>> Thanks,
>>
>> -Alex
>>
>>
>>
>> *From: *Alina Kazi <al...@d-bz.com>
>> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Date: *Tuesday, February 27, 2018 at 10:35 PM
>> *To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Subject: *RE: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alex,
>>
>> Thank you
>>
>> After commenting the embedded font part from source.
>>
>> Output to console:
>>
>> 3462313 bytes written to D:\SHMALib.swc in 19.878 seconds
>>
>> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
>> "D:\SHMALib.swc"
>>
>>  -api-report="D:\report.txt" -load-config=D:\apache-flex-sd
>> k-4.16.0-bin\framewor
>>
>> ks\flex-config.xml -source-path="D:\SHMALIB\src"
>> -include-sources="D:\SHMALIB\sr
>>
>> c" -library-path+=D:\SHMALIB\libs
>>
>>
>>
>> SHMALib.swf file Generated and Report.txt is empty
>>
>> *SHMALib.swc output Link:*
>>
>> https://www.dropbox.com/s/4tz49sz134m2gg9/SHMALib.swc?dl=0
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F4tz49sz134m2gg9%2FSHMALib.swc%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=%2FNcbTJtah21RRPeWfwg2pRaZ72hd%2BdG0iJlnH3GsA28%3D&reserved=0>
>>
>> then I change, Compc -output "D:\SHMALib.swc" to Compc -output
>> "D:\SHMALib. txt "
>>
>> *SHMALib.txt output Link:*
>>
>> https://www.dropbox.com/s/j38obt5e36awuh3/SHMALib.txt?dl=0
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fj38obt5e36awuh3%2FSHMALib.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=V%2FcA5dJ3Fi1qOvh%2BtUlbU%2FZ%2FQ5SBfRw7psjsm2Q%2Fe8w%3D&reserved=0>
>>
>>
>>
>> Thanks,
>>
>> Alina
>>
>>
>>
>>
>>
>>
>>
>> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
>> *Sent:* Wednesday, February 28, 2018 11:18 AM
>> *To:* users@royale.apache.org
>> *Subject:* Re: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alina,
>>
>>
>>
>> The only error right now is the embedded font.
>>
>>
>>
>> We can discuss the pros and cons of embedding images in the JS output at
>> some other point in time.
>>
>>
>>
>> -Alex
>>
>>
>>
>> *From: *Alina Kazi <al...@d-bz.com>
>> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Date: *Tuesday, February 27, 2018 at 10:01 PM
>> *To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Subject: *RE: Generating API report for Flex Web Browser application
>>
>>
>>
>> Big Part of SHMALib Uses Embed and metadata :
>>
>>
>>
>>                                 // Embed the font so we can rotate it
>> for further distortion
>>
>>                                 [Embed(systemFont="Comic Sans MS",
>>
>>
>> embedAsCFF='false')]
>>
>>                 <mx:Image y="4" width="18" height="20" right="185"
>> source="@Embed(source='assets/default/images/load.png')"
>>
>>
>> source="@Embed(source='assets/default/images/next.gif')"
>> scaleContent="false"/>
>>
>>                 <mx:Image y="4" width="18" height="20" right="3"
>> source="@Embed(source='assets/default/images/magnifier.png')"
>>
>>      * An IFrame which you can embed into Flex applications to show an
>> HTML page.
>>
>>      * @example A simple application with Google embedded
>>
>>         // SWF embed object tracking
>>
>>          * The SWF embed object id.
>>
>>          * Get the embed object id.
>>
>>         protected function resolveEmbedObjectId():void
>>
>>                     var result:Object=ExternalInterfac
>> e.call(IFrameExternalCalls.FUNCTION_ASK_FOR_EMBED_OBJECT_ID,
>> randomIdentificationString.toString());
>>
>>                         logger.info("Resolved the SWF embed object id to
>> '{0}'.", applicationId);
>>
>>                         logger.error('Could not resolve the SWF embed
>> object Id.');
>>
>>             // Resolve the SWF embed object id in the DOM.
>>
>>             ExternalInterface.call(IFrameExternalCalls.INSERT_FUNCTION_
>> ASK_FOR_EMBED_OBJECT_ID);
>>
>>             resolveEmbedObjectId();
>>
>>             logger.info("Loading IFrame with id '{0}', on SWF embed
>> object with id '{1}'.", _frameId, applicationId);
>>
>>                     FUNCTION_LOADIFRAME + " = function (frameID,
>> iframeID, url, embedID, scrollPolicy)" +
>>
>>                                       "onLoad='\"+embedID+\".\"+frameID+\"_load();'
>> " +
>>
>>         public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =
>> "askForEmbedObjectId";
>>
>>         public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =
>> "askForEmbedObjectId";
>>
>>         public static var INSERT_FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String
>> =
>>
>>                 "if (document." + FUNCTION_ASK_FOR_EMBED_OBJECT_ID +
>> "==null)" +
>>
>>                     FUNCTION_ASK_FOR_EMBED_OBJECT_ID + " =
>> function(randomString) " +
>>
>>                             "var embeds = document.getElementsByTagName('embed');
>> " +
>>
>>                             "var embeds = document.getElementsByTagName('embed');
>> " +
>>
>>                             "for (var i = 0; i < embeds.length; i++) { "
>> +
>>
>>                                 "var isTheGoodOne =
>> embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " +
>>
>>                                 "var isTheGoodOne =
>> embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " +
>>
>>                                     "return
>> embeds[i].getAttribute('id'); " +
>>
>>                                  * The UITextField control for
>> displaying embeded hints.
>>
>>                                 private var embedTextField:UITextField;
>>
>>                                  *  The String to be shown as the
>> embeded hint.
>>
>>                                 private var embedStr:String = "";
>>
>>
>> embedStr = "MM DD YYYY";
>>
>>
>> embedStr = "DD MM YYYY";
>>
>>
>> embedStr = "YYYY MM DD";
>>
>>
>> embedStr = "YYYY DD MM";
>>
>>                                  *  Create child objects for displaying
>> embeded hints.
>>
>>
>> embedTextField = new UITextField();
>>
>>
>> //embedTextField.text = embedStr;
>>
>>
>> //embedTextField.text = embedStr;
>>
>>
>> addChildAt(UITextField(embedTextField),getChildIndex(DisplayObject(textField)));//as
>> TextField
>>
>>
>>                                                     s =
>> embedTextField.text == null ? "":embedTextField.text;
>>
>>
>>                                                     s =
>> embedTextField.text == null ? "":embedTextField.text;
>>
>>
>>                                                                     s =
>> s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);
>>
>>
>>
>> embedTextField.text = s;
>>
>>
>>                                                     s =
>> embedTextField.text == null ? "":embedTextField.text;
>>
>>
>>                                                     s =
>> embedTextField.text == null ? "":embedTextField.text;
>>
>>
>>                                                                     //s
>> = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);
>>
>>
>>
>> //embedTextField.text = s;
>>
>>
>>                                                                     s =
>> s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);
>>
>>
>>
>> embedTextField.text = s;
>>
>>
>> // If embeded hints are displayed then update the
>>
>>
>> // UITextField corresponding to the embeded hints
>>
>>
>>                                     var s:String = embedTextField.text
>> == null ? "":embedTextField.text;
>>
>>
>>                                     var s:String = embedTextField.text
>> == null ? "":embedTextField.text;
>>
>>
>>                                                     embedTextField.text
>> = s;
>>
>>                                                                 //
>> create the embeded text field for showing
>>
>>                                                                 //
>> embeded hints if its not already created.
>>
>>                                                                 // If it
>> is created, then just change the embeded hint.
>>
>>
>> if(!embedTextField)
>>
>>
>> embedTextField = new UITextField();
>>
>>
>> addChildAt(embedTextField,getChildIndex(DisplayObject(textField))); //as
>> TextField
>>
>>
>> //embedTextField.text = embedStr;
>>
>>
>> //embedTextField.text = embedStr;
>>
>>
>> embedTextField.alpha = 1;
>>
>>
>> embedTextField.setTextFormat(txtFormat);
>>
>>
>> embedTextField.x = 0;
>>
>>
>> embedTextField.y = 2;
>>
>>
>> embedTextField.setActualSize(width,height);
>>
>>
>> if(embedTextField)
>>
>>
>> embedTextField.text = "";
>>
>>
>> embedTextField = null;
>>
>>                                                 // setting the color of
>> the embeded text field to white.
>>
>>
>> if(embedTextField)
>>
>>
>> embedTextField.setColor(0xFFFFFF);
>>
>>
>> if(embedTextField)
>>
>>
>>                 addChildAt(DisplayObject(newSk
>> in),getChildIndex(DisplayObject(embedTextField)));//
>>
>>    background-image:
>> Embed(source="/assets/application_background.png",
>>
>>                 up-skin:                Embed("/assets/maximize_up.png");
>>
>>                 over-skin:            Embed("/assets/maximize_over.png");
>>
>>                 down-skin:         Embed("/assets/maximize_up.png");
>>
>>                 selected-up-skin:   Embed("/assets/restore_up.png");
>>
>>                 selected-over-skin: Embed("/assets/restore_over.png");
>>
>>                 selected-down-skin: Embed("/assets/restore_up.png");
>>
>>                 up-skin:        Embed("/assets/minimize_up.png");
>>
>>                 over-skin:      Embed("/assets/minimize_over.png");
>>
>>                 down-skin:      Embed("/assets/minimize_up.png");
>>
>>                 up-skin:
>> Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30",
>> scaleGridLeft="10", scaleGridRight="92");
>>
>>                 over-skin:
>> Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30",
>> scaleGridLeft="10", scaleGridRight="92");
>>
>>                 down-skin:
>> Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30",
>> scaleGridLeft="10", scaleGridRight="92");
>>
>>                 selected-up-skin:
>> Embed("/assets/tab_selected.png", scaleGridTop="13",
>> scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");
>>
>>                 selected-over-skin:
>> Embed("/assets/tab_selected.png", scaleGridTop="13",
>> scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");
>>
>>                 selected-down-skin:                      Embed("/assets/
>> tab_selected.png", scaleGridTop="13", scaleGridBottom="31",
>> scaleGridLeft="9", scaleGridRight="91");
>>
>>                 up-skin:
>> Embed("/assets/left_arrow_up.gif");
>>
>>                 over-skin:
>> Embed("/assets/left_arrow_over.gif");
>>
>>                 down-skin:
>> Embed("/assets/left_arrow_up.gif");
>>
>>                 disabled-skin:    Embed("/assets/left_arrow_disa
>> bled.gif");
>>
>>                 up-skin:
>> Embed("/assets/right_arrow_up.gif");
>>
>>                 over-skin:
>> Embed("/assets/right_arrow_over.gif");
>>
>>                 down-skin:
>> Embed("/assets/right_arrow_up.gif");
>>
>>                 disabled-skin:    Embed("/assets/right_arrow_dis
>> abled.gif");
>>
>>                                 //[Embed(source="/assets/curso
>> r_move.gif")]
>>
>>                                 //[Embed(source="/assets/curso
>> r_resize.gif")]
>>
>>                                 [Embed(source="/assets/default
>> /images/mouseMove.gif")]
>>
>>                                 [Embed(source="/assets/default
>> /images/verticalSize.gif")]
>>
>>                                 [Embed(source="/assets/default
>> /images/horizontalSize.gif")]
>>
>>                                 [Embed(source="/assets/default
>> /images/leftObliqueSize.gif")]
>>
>>                                 [Embed(source="/assets/default
>> /images/rightObliqueSize.gif")]
>>
>>                                                 if (image.isEmbedded)
>>
>>                                                 //if
>> (!Application.application.systemManager.isFontFaceEmbedded(textFormat))
>>
>>                                                 if
>> (!FlexGlobals.topLevelApplication.systemManager.isFontFaceEm
>> bedded(textFormat))
>>
>>                                                                 if
>> (Application.application.isFontsEmbedded) {
>>
>>                                                                 if
>> (Application.application.isFontsEmbedded) {
>>
>>                                                                 if
>> (Application.application.isFontsEmbedded) {
>>
>>                                 private var _isEmbedded:Boolean = false;
>>
>>                                 public function set
>> isEmbedded(embedded:Boolean):void
>>
>>                                 public function set
>> isEmbedded(embedded:Boolean):void
>>
>>                                                 _isEmbedded = embedded;
>>
>>                                                 _isEmbedded = embedded;
>>
>>                                 public function get isEmbedded():Boolean
>>
>>                                                 return _isEmbedded;
>>
>>
>> <mx:icon>@Embed(source='images/print.GIF')</mx:icon>
>>
>>
>> <mx:icon>@Embed(source='images/reload.GIF')</mx:icon>
>>
>>
>> <mx:disabledIcon>@Embed(source='images/first-gray.GIF')</mx:disabledIcon>
>>
>>
>> <mx:icon>@Embed(source='images/first.GIF')</mx:icon>
>>
>>
>> <mx:disabledIcon>@Embed(source='images/previous-gray.GIF')</
>> mx:disabledIcon>
>>
>>
>> <mx:icon>@Embed(source='images/previous.GIF')</mx:icon>
>>
>>
>> <mx:disabledIcon>@Embed(source='images/next-gray.GIF')</mx:disabledIcon>
>>
>>
>> <mx:icon>@Embed(source='images/next.GIF')</mx:icon>
>>
>>
>> <mx:disabledIcon>@Embed(source='images/last-gray.GIF')</mx:disabledIcon>
>>
>>
>> <mx:icon>@Embed(source='images/last.GIF')</mx:icon>
>>
>>
>> <mx:icon>@Embed(source='images/actualsize.GIF')</mx:icon>
>>
>>
>> <mx:icon>@Embed(source='images/fitpage.GIF')</mx:icon>
>>
>>
>> <mx:icon>@Embed(source='images/fitwidth.GIF')</mx:icon>
>>
>>
>> <mx:disabledIcon>@Embed(source='images/zoomin-gray.GIF')</
>> mx:disabledIcon>
>>
>>
>> <mx:icon>@Embed(source='images/zoomin.GIF')</mx:icon>
>>
>>
>> <mx:disabledIcon>@Embed(source='images/zoomout-gray.GIF')</
>> mx:disabledIcon>
>>
>>
>> <mx:icon>@Embed(source='images/zoomout.GIF')</mx:icon>
>>
>>
>> <mx:icon>@Embed(source='images/print.GIF')</mx:icon>
>>
>>                                                 if (
>> imageSourceXml.@isEmbedded.length() > 0)
>>
>>
>> image.isEmbedded = imageSourceXml.@isEmbedded == "true";
>>
>>
>> image.isEmbedded = imageSourceXml.@isEmbedded == "true";
>>
>>                  source="@Embed(source='/assets
>> /default/images/left_arrow_up.gif')"/>
>>
>>                  source="@Embed(source='/assets
>> /default/images/left_arrow_over.gif')"/>
>>
>>                  source="@Embed(source='/assets
>> /default/images/left_arrow_disabled.gif')"/>
>>
>>
>>    source="@Embed(source='/com/shm/flexlib/mdi/assets/img/maxim
>> izeButton.png')"/>
>>
>>
>>    height="12" source="@Embed(source='/com/sh
>> m/flexlib/mdi/assets/img/restoreButton.png')"/>
>>
>>
>>    source="@Embed(source='/com/shm/flexlib/mdi/assets/img/minim
>> izeButton.png')"/>
>>
>>                  source="@Embed(source='/assets
>> /default/images/right_arrow_up.gif')"/>
>>
>>                  source="@Embed(source='/assets
>> /default/images/right_arrow_over.gif')"/>
>>
>>                  source="@Embed(source='/assets
>> /default/images/right_arrow_disabled.gif')"/>
>>
>>
>>
>>
>>
>>
>>
>> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
>> *Sent:* Wednesday, February 28, 2018 11:00 AM
>> *To:* users@royale.apache.org
>> *Subject:* Re: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alina,
>>
>>
>>
>> I think you can ignore the warnings.  The first error is for embedding a
>> font, which Royale doesn't currently support, so for now, try commenting
>> out the Embed metadata and see if that allows the error to go away.
>>
>>
>>
>> I would look into the other errors to see if they are legitimate or not.
>> The Royale Compiler will catch some things the MXMLC compiler may not.  Or
>> you could comment out the code involved in the two errors in TImeZone.as
>> for now since that won't affect the report.
>>
>>
>>
>> The final two errors I saw are for missing skin states.  I think you can
>> just add the skin states.
>>
>>
>>
>> HTH,
>>
>> -Alex
>>
>>
>>
>> *From: *Alina Kazi <al...@d-bz.com>
>> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Date: *Tuesday, February 27, 2018 at 9:35 PM
>> *To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Subject: *RE: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alex,
>>
>>
>>
>> While Executing
>>
>> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
>> "D:\SHMALib.swc" -api-report="D:\report.txt"
>> -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml
>> -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\src"
>>
>> Or
>>
>> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
>> "D:\Flex\libs\SH
>>
>> MALIB.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sd
>> k-4.16.0-bi
>>
>> n\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"
>> -include-sources="D:\
>>
>> SHMALIB\src" -library-path+=D:\SHMALIB\libs
>>
>>
>>
>> *Error:*
>>
>> (file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar)
>> to
>>
>> field java.lang.Thread.inheritableThreadLocals
>>
>> WARNING: Please consider reporting this to the maintainers of
>> com.google.common.
>>
>> base.internal.Finalizer
>>
>> WARNING: Use --illegal-access=warn to enable warnings of further illegal
>> reflect
>>
>> ive access operations
>>
>> WARNING: All illegal access operations will be denied in a future release
>>
>> Loading configuration: D:\apache-flex-sdk-4.16.0-bin\
>> frameworks\flex-config.xml
>>
>>
>>
>> Warning: Duplicate declaration of SkinState 'normal'
>>
>>
>>
>>
>>
>> Warning: Duplicate declaration of SkinState 'disabled'
>>
>>
>>
>>
>>
>> Warning: Duplicate declaration of SkinState 'normal'
>>
>>
>>
>>
>>
>> Warning: Duplicate declaration of SkinState 'disabled'
>>
>>
>>
>>
>>
>> Warning: Duplicate declaration of SkinState 'normal'
>>
>>
>>
>>
>>
>> Warning: Duplicate declaration of SkinState 'disabled'
>>
>>
>>
>>
>>
>> Warning: Duplicate declaration of SkinState 'normal'
>>
>>
>>
>>
>>
>> Warning: Duplicate declaration of SkinState 'disabled'
>>
>>
>>
>>
>>
>> Warning: Duplicate declaration of SkinState 'normal'
>>
>>
>>
>>
>>
>> Warning: Duplicate declaration of SkinState 'disabled'
>>
>>
>>
>>
>>
>> D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(415): col: 50
>> Warning:
>>
>> Data binding will not be able to detect assignments to 'amfChannelSet'.
>>
>>
>>
>>                 <mx:RemoteObject channelSet="{parentApplication
>> .amfChannelSet}"
>>
>> id="DataProviderService"  showBusyCursor="true"
>>
>>                                                                ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(419): col: 50
>> Warning:
>>
>> Data binding will not be able to detect assignments to 'amfChannelSet'.
>>
>>
>>
>>                 <mx:RemoteObject channelSet="{parentApplication
>> .amfChannelSet}"
>>
>> id="BasicFormatterService"  showBusyCursor="true"
>>
>>                                                                ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(516): col: 50
>> Warning: Da
>>
>> ta binding will not be able to detect assignments to 'amfChannelSet'.
>>
>>
>>
>>                 <mx:RemoteObject channelSet="{parentApplication
>> .amfChannelSet}"
>>
>> id="DataProviderService"  showBusyCursor="true"
>>
>>                                                                ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(520): col: 50
>> Warning: Da
>>
>> ta binding will not be able to detect assignments to 'amfChannelSet'.
>>
>>
>>
>>                 <mx:RemoteObject channelSet="{parentApplication
>> .amfChannelSet}"
>>
>> id="BasicFormatterService"  showBusyCursor="true"
>>
>>                                                                ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\components\shmCaptchaImage.as(43): col: 3 Error:
>> Embed re
>>
>> quires a 'source' file attribute
>>
>>
>>
>>                 [Embed(systemFont="Comic Sans MS",
>>
>>                 ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(37): col: 88
>> Warning: Data
>>
>> binding will not be able to detect assignments to 'isSelected'.
>>
>>
>>
>>                                         <mx:CheckBox
>> selectedField="isSelected"
>>
>>  change="onChange(event);" selected="{data.isSelected}">
>>
>>
>>
>>                                           ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(46): col: 27
>> Warning: Data
>>
>> binding will not be able to detect assignments to 'label'.
>>
>>
>>
>>                                         <mx:Label text="{data.label}" />
>>
>>                                                              ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(126): col: 15
>> Error: Impli
>>
>> cit coercion of a value of type Boolean to an unrelated type Number.
>>
>>
>>
>>                                 if(year & 0x3 == 0)
>>
>>                                           ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(134): col: 39
>> Error: Impli
>>
>> cit coercion of a value of type Boolean to an unrelated type Number.
>>
>>
>>
>>                                 if(month == 1 && value.fullYear & 0x3 ==
>> 0)
>>
>>                                                                   ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\dashboard\renderers\GridPodURLRenderer.mxml(6):
>> col: 23 W
>>
>> arning: Data binding will not be able to detect assignments to 'SrNo'.
>>
>>
>>
>>                   htmlText="&lt;u&gt;{data.SrNo}&lt;/u&gt;" color="blue"
>> click="
>>
>> f_DrillDownData(data)">
>>
>>                                     ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml
>> Error:
>>
>> The required skin state 'disabledWithPrompt' is missing.
>>
>>
>>
>>
>>
>> D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml
>> Error:
>>
>> The required skin state 'normalWithPrompt' is missing.
>>
>>
>>
>>
>>
>> D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(177): col: 27
>> Warning: D
>>
>> ata binding will not be able to detect assignments to 'valueField'.
>>
>>
>>
>>
>> yField="{properties.@valueField}
>>
>> ">
>>
>>                                                                     ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(187): col: 34
>> Warning: D
>>
>> ata binding will not be able to detect assignments to 'categoryField'.
>>
>>
>>
>>
>> categoryField="{properties.@cate
>>
>> goryField}" />
>>
>>
>> ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(202): col: 27
>> Warning: D
>>
>> ata binding will not be able to detect assignments to 'valueField'.
>>
>>
>>
>>
>> yField="{properties.@valueField}
>>
>> ">
>>
>>                                                                     ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(212): col: 34
>> Warning: D
>>
>> ata binding will not be able to detect assignments to 'categoryField'.
>>
>>
>>
>>
>> categoryField="{properties.@cate
>>
>> goryField}" />
>>
>>
>> ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(429): col: 27
>> Warning: D
>>
>> ata binding will not be able to detect assignments to 'valueField'.
>>
>>
>>
>>
>> yField="{properties.@valueField}
>>
>> ">
>>
>>                                                                     ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(439): col: 34
>> Warning: D
>>
>> ata binding will not be able to detect assignments to 'categoryField'.
>>
>>
>>
>>
>> categoryField="{properties.@cate
>>
>> goryField}" />
>>
>>
>> ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(454): col: 27
>> Warning: D
>>
>> ata binding will not be able to detect assignments to 'valueField'.
>>
>>
>>
>>
>> yField="{properties.@valueField}
>>
>> ">
>>
>>                                                                     ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(464): col: 34
>> Warning: D
>>
>> ata binding will not be able to detect assignments to 'categoryField'.
>>
>>
>>
>>
>> categoryField="{properties.@cate
>>
>> goryField}" />
>>
>>
>> ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(479): col: 26
>> Warning: D
>>
>> ata binding will not be able to detect assignments to 'valueField'.
>>
>>
>>
>>
>> field="{properties.@valueField}"
>>
>>
>>
>>                                                                    ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(115): col: 74
>> Warning
>>
>> : Data binding will not be able to detect assignments to 'amfChannelSet'.
>>
>>
>>
>>                 <mx:RemoteObject id="roDrillDownColInfo"
>> channelSet="{parentAppl
>>
>> ication.amfChannelSet}" showBusyCursor="true"
>>
>>
>>
>>        ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(118): col: 68
>> Warning
>>
>> : Data binding will not be able to detect assignments to 'amfChannelSet'.
>>
>>
>>
>>                 <mx:RemoteObject id="roDgDpResult"
>> channelSet="{parentApplicatio
>>
>> n.amfChannelSet}" showBusyCursor="true"
>>
>>
>>
>>  ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\dashboard\view\PieChartContent.mxml(128): col: 24
>> Warning
>>
>> : Data binding will not be able to detect assignments to 'valueField'.
>>
>>
>>
>>                                 field="{properties.@valueField}"
>>
>>                                                    ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 37
>> Warning: Dat
>>
>> a binding will not be able to detect assignments to 'appParams'.
>>
>>
>>
>>
>> inputMask="{parentApplic
>>
>> ation.appParams.DATE_FORMAT}" showToday="true"
>> yearNavigationEnabled="true"
>>
>>
>>
>>      ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 47
>> Warning: Dat
>>
>> a binding will not be able to detect assignments to 'DATE_FORMAT'.
>>
>>
>>
>>
>> inputMask="{parentApplic
>>
>> ation.appParams.DATE_FORMAT}" showToday="true"
>> yearNavigationEnabled="true"
>>
>>
>>
>>                ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 38
>> Warning: Dat
>>
>> a binding will not be able to detect assignments to 'appParams'.
>>
>>
>>
>>
>> inputMask="{parentAppli
>>
>> cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true"
>> showToday="true"
>>
>>
>>
>>       ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 48
>> Warning: Dat
>>
>> a binding will not be able to detect assignments to 'DATE_FORMAT'.
>>
>>
>>
>>
>> inputMask="{parentAppli
>>
>> cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true"
>> showToday="true"
>>
>>
>>
>>                 ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(12): col:
>> 11 Warnin
>>
>> g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.
>>
>>
>>
>>                         import mx.graphics.Stroke;
>>
>>                                ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(37): col:
>> 23 Warnin
>>
>> g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.
>>
>>
>>
>>                                         lne.stroke = new Stroke(0,1,.3);
>>
>>                                                          ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(46): col:
>> 14 Warnin
>>
>> g: Duplicate variable definition: i.
>>
>>
>>
>>                                 for (var i:int = 1; i < lnWdt; i++){
>>
>>                                          ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(47): col:
>> 10 Warnin
>>
>> g: Duplicate variable definition: lne.
>>
>>
>>
>>                                         var lne:Line  = new Line();
>>
>>                                             ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(53): col:
>> 23 Warnin
>>
>> g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.
>>
>>
>>
>>                                         lne.stroke = new Stroke(0,1,.3);
>>
>>                                                          ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(54): col:
>> 10 Warnin
>>
>> g: Duplicate variable definition: llbe.
>>
>>
>>
>>                                         var llbe:Label = new Label();
>>
>>                                             ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(157): col:
>> 40 Warn
>>
>> ing: 'application' has been deprecated since 4.0. Please use
>> 'FlexGlobals.topLev
>>
>> elApplication'.
>>
>>
>>
>>                                 var xPosition:Number =
>> Application.application.p
>>
>> arent.mouseX;
>>
>>                                                                    ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(158): col:
>> 40 Warn
>>
>> ing: 'application' has been deprecated since 4.0. Please use
>> 'FlexGlobals.topLev
>>
>> elApplication'.
>>
>>
>>
>>                                 var yPosition:Number =
>> Application.application.p
>>
>> arent.mouseY;
>>
>>                                                                    ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(225): col:
>> 36 Warn
>>
>> ing: 'application' has been deprecated since 4.0. Please use
>> 'FlexGlobals.topLev
>>
>> elApplication'.
>>
>>
>>
>>                                 var xPlus:Number =
>> Application.application.paren
>>
>> t.mouseX - point.x;
>>
>>                                                                ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(226): col:
>> 36 Warn
>>
>> ing: 'application' has been deprecated since 4.0. Please use
>> 'FlexGlobals.topLev
>>
>> elApplication'.
>>
>>
>>
>>                                 var yPlus:Number =
>> Application.application.paren
>>
>> t.mouseY - point.y;
>>
>>
>>
>> Thanks,
>>
>> Alina Kazi
>>
>> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
>> *Sent:* Wednesday, February 28, 2018 10:16 AM
>> *To:* Alina Kazi; users@royale.apache.org
>> *Subject:* Re: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alina,
>>
>>
>>
>> I think that Flash Builder makes it easy to build SWCs.  Building from
>> the command line can be a bit trickier.
>>
>>
>>
>> Let's try:
>>
>> Compc -output "D:\SHMALib.swc" -api-report="D:\report.txt"
>> -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml
>> -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\src"
>>
>>
>>
>> HTH,
>>
>> -Alex
>>
>>
>>
>>
>>
>> *From: *Alina Kazi <al...@d-bz.com>
>> *Date: *Tuesday, February 27, 2018 at 7:28 PM
>> *To: *"users@royale.apache.org" <us...@royale.apache.org>, Alex Harui <
>> aharui@adobe.com>
>> *Subject: *RE: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alex,
>>
>> Yes I am using Flash Builder.
>>
>> SHMALIB and MainFlexApp are two separate Projects
>>
>> Src for SHMALIB is placed into D:/SHMALIB/src
>>
>> Src for MainFlexApp is D:/Flex/src and the library output file
>> SHMALIB.swc is placed into D:/Flex/libs
>>
>>
>>
>> SHMALIB (.actionscriptProperties)
>>
>>
>>
>> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
>>
>> <actionScriptProperties mainApplicationPath="SHMALib.as"
>> projectUUID="863559ab-3e7b-475b-a3a4-09f4f76fc0d2" version="6">
>>
>>   <compiler additionalCompilerArguments="-locale en_US"
>> autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false"
>> generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false"
>> htmlHistoryManagement="false" htmlPlayerVersionCheck="true"
>> includeNetmonSwc="false" outputFolderLocation="D:/Flex/libs"
>> outputFolderPath="bin-debug" sourceFolderPath="src" strict="true"
>> targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true"
>> verifyDigests="true" warn="true">
>>
>>     <compilerSourcePath/>
>>
>>     <libraryPath defaultLinkType="0">
>>
>>       <libraryPathEntry kind="4" path="">
>>
>>         <excludedEntries>
>>
>>           <libraryPathEntry kind="3" linkType="1"
>> path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>
>>
>>         </excludedEntries>
>>
>>       </libraryPathEntry>
>>
>>       <libraryPathEntry kind="1" linkType="1" path="libs"/>
>>
>>     </libraryPath>
>>
>>     <sourceAttachmentPath/>
>>
>>   </compiler>
>>
>>   <applications>
>>
>>     <application path="SHMALib.as"/>
>>
>>   </applications>
>>
>>   <modules/>
>>
>>   <buildCSSFiles/>
>>
>> </actionScriptProperties>
>>
>>
>>
>> SHMALIB (.flexLibProperties)
>>
>> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
>>
>> <flexLibProperties includeAllClasses="true" version="3">
>>
>>   <includeClasses/>
>>
>>   <includeResources/>
>>
>>   <namespaceManifests/>
>>
>> </flexLibProperties>
>>
>>
>>
>> Thanks,
>>
>> Alina
>>
>> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
>> *Sent:* Tuesday, February 27, 2018 9:34 PM
>> *To:* Alina Kazi
>> *Subject:* Re: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alina,
>>
>>
>>
>> When you are not trying to use Royale to generate this API report, how
>> are you building your current Flex app?  We might need to know that in
>> order to determine what parameters to add to COMPC.
>>
>>
>>
>> COMPC has additional parameters like -include–sources, include-file,
>> include-classes.  Sometimes, these are listed in an xml file.  If you are
>> using Flash Builder, for example, then examine the .flexlibproperties and
>> .actionscriptProperties files in your project folder.
>>
>>
>>
>> Thanks,
>>
>> -Alex
>>
>>
>>
>> *From: *Alina Kazi <al...@d-bz.com>
>> *Date: *Tuesday, February 27, 2018 at 3:21 AM
>> *To: *'Alina Kazi' <al...@d-bz.com>
>> *Cc: *Alex Harui <ah...@adobe.com>
>> *Subject: *RE: Generating API report for Flex Web Browser application
>>
>>
>>
>> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
>> "D:\SHMALib.swc"
>>
>>  -api-report="D:\report.txt" -load-config=D:\apache-flex-sd
>> k-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"
>>
>> Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs
>>
>> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>>
>> WARNING: An illegal reflective access operation has occurred
>>
>> WARNING: Illegal reflective access by com.google.common.base.interna
>> l.Finalizer
>>
>> (file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar)
>> to
>>
>> field java.lang.Thread.inheritableThreadLocals
>>
>> WARNING: Please consider reporting this to the maintainers of
>> com.google.common.
>>
>> base.internal.Finalizer
>>
>> WARNING: Use --illegal-access=warn to enable warnings of further illegal
>> reflect
>>
>> ive access operations
>>
>>
>>
>> Error: nothing was specified to be included in the library.
>>
>> -Alina
>>
>>
>>
>> *From:* Alina Kazi [mailto:alina.kazi@d-bz.com <al...@d-bz.com>]
>> *Sent:* Tuesday, February 27, 2018 2:16 PM
>> *To:* 'users@royale.apache.org'
>> *Subject:* RE: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alex,
>>
>>
>>
>> I am using Moonshine IDE 1.9.0.
>>
>> Flex 4.16.0
>>
>> Apache Royale 0.9.2 Latest Nightly Build
>>
>>
>>
>> *Running this Command on Command Prompt:*
>>
>> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
>> "D:\SHMALib.swc"
>>
>>  -api-report="D:\report.txt" -load-config=D:\apache-flex-sd
>> k-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"
>>
>> Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs
>>
>> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>>
>> WARNING: An illegal reflective access operation has occurred
>>
>> WARNING: Illegal reflective access by com.google.common.base.interna
>> l.Finalizer
>>
>> (file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar)
>> to
>>
>> field java.lang.Thread.inheritableThreadLocals
>>
>> WARNING: Please consider reporting this to the maintainers of
>> com.google.common.
>>
>> base.internal.Finalizer
>>
>> WARNING: Use --illegal-access=warn to enable warnings of further illegal
>> reflect
>>
>> ive access operations
>>
>> WARNING: All illegal access operations will be denied in a future release
>>
>>
>>
>> *command line Error: unknown configuration variable 'sourceΓÇôpath'.*
>>
>>
>>
>> -Alina
>>
>> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
>> *Sent:* Tuesday, February 27, 2018 1:26 PM
>> *To:* users@royale.apache.org
>> *Subject:* Re: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alina,
>>
>>
>>
>> COMPC takes a slightly different set of parameters.  What IDE or build
>> tools are you using to build it without Royale?  You might need to know
>> what options that build uses.
>>
>>
>>
>> You can try running:
>>
>>
>>
>> Compc -output "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc"
>> -api-report="D:\report.txt" -load-config=D:\apache-flex-sd
>> k-4.16.0-bin\frameworks\flex-config.xml -source–path="D:\Projects\SHMA\Main\Flex\src"
>> or wherever the source code is for the library.
>>
>>
>>
>> HTH,
>>
>> -Alex
>>
>>
>>
>> *From: *Alina Kazi <al...@d-bz.com>
>> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Date: *Monday, February 26, 2018 at 11:33 PM
>> *To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Subject: *RE: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alex,
>>
>>
>>
>> For custom SWC, I am using COMPC to get an api-report for SWC
>>
>> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>compc
>> "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc"
>> -api-report="D:\report.txt" -load-config=D:\apache-flex-sd
>> k-4.16.0-bin\frameworks\flex-config.xml
>>
>> *Error:* configuration variable 'output' was not set.
>>
>>
>>
>>
>>
>> Thanks,
>>
>> Alina
>>
>> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
>> *Sent:* Tuesday, February 27, 2018 12:27 PM
>> *To:* users@royale.apache.org
>> *Subject:* Re: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alina,
>>
>>
>>
>> Yes, any SWC that is not in the Flex SDK's frameworks/libs folder needs
>> to be specified as Piotr describes below.  We want you specify the same
>> MXML file that you use to compile in the regular Flex SDK.  So if your
>> Application.mxml starts with an mx:Application or s:Application that’s
>> probably the one to use.  But also, if you have your own custom SWCs, we
>> want you to use COMPC to get an api-report for those SWCs.  We want this
>> modified Royale compiler to compile every source file you own so we can see
>> what Flex APIs you are using.
>>
>>
>>
>> HTH,
>>
>> -Alex
>>
>>
>>
>> *From: *Piotr Zarzycki <pi...@gmail.com>
>> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Date: *Monday, February 26, 2018 at 11:19 PM
>> *To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Subject: *Re: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alina,
>>
>>
>>
>> In my sense you will have to use -library-path+=path to the library. You
>> have to tell compiler about that library.
>>
>>
>>
>> Thanks, Piotr
>>
>>
>>
>> 2018-02-27 7:57 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>>
>> Hi  Alex,
>>
>> *With latest nightly build:*
>>
>> MaskedTextInput , shmReportUtil …. Are Library Project Actionscript Files.
>>
>> Main Application contains SHMALib.swc file in Libs folder
>>
>> Error Link:
>>
>> https://www.dropbox.com/s/p5imt22cuut0ex6/ErrorGeneratingReport.png?dl=0
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fp5imt22cuut0ex6%2FErrorGeneratingReport.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=8f1f9duW2Red4bP77hFTh3mLcCptBmAwd87n1iSkk%2Bs%3D&reserved=0>
>>
>>
>>
>> I have a question that which .mxml file should be used to generate that
>> report?
>>
>> Applications.mxml is startup file in case of my Project so I’m using it.
>>
>>
>>
>> Please visit reference link and If I’m doing anything wrong please let
>> me know.
>>
>>
>>
>> Thanks,
>>
>> Alina
>>
>>
>>
>> *From:* Alex Harui [mailto:aharui@adobe.com]
>> *Sent:* Tuesday, February 27, 2018 12:00 AM
>>
>>
>> *To:* users@royale.apache.org
>> *Subject:* Re: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alina,
>>
>>
>>
>> I pushed a fix for that.  It might or might not be related to your custom
>> swc.  Get the latest nightly build and let us know.
>>
>>
>>
>> Also, if you are successful, please use your regular compiler to generate
>> a -link–report.  That will help us verify that the API report didn't miss
>> anything.
>>
>>
>>
>> Thanks,
>>
>> -Alex
>>
>>
>>
>>
>>
>> *From: *Alina Kazi <al...@d-bz.com>
>> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Date: *Monday, February 26, 2018 at 4:01 AM
>> *To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Subject: *RE: Generating API report for Flex Web Browser application
>>
>>
>>
>> Generated Report file for Sample Project Successfully.
>>
>>
>>
>> spark.components.Application:minHeight,1
>>
>> spark.components.Application:minWidth,1
>>
>> spark.components.Application:mxmlContentFactory,2
>>
>> spark.components.Label:fontSize,1
>>
>> spark.components.Label:fontWeight,1
>>
>> spark.components.Label:horizontalCenter,1
>>
>> spark.components.Label:text,1
>>
>> spark.components.Label:textAlign,1
>>
>> spark.components.Label:verticalCenter,1
>>
>>
>>
>> But while executing Actual Project got Error:
>>
>> https://www.dropbox.com/s/d25eysllavuy5z4/compile2.png?dl=0
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fd25eysllavuy5z4%2Fcompile2.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=2i28J4zjv1vEQ7sd%2BGfHm%2Bh1FjG%2BP3YdJCc6rGZr3C4%3D&reserved=0>
>>
>> https://www.dropbox.com/s/49iq74zk6rxcr1y/compile1.png?dl=0
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F49iq74zk6rxcr1y%2Fcompile1.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=44tfkOscWyJ%2FH3M30HeJ6dfFE0TlpTMhQ2t%2Bv%2ByuoDg%3D&reserved=0>
>>
>>
>>
>> May be because my Application is dependent to SHMALib(.swc) Library
>> Project (Source Shared Earlier).
>>
>>
>>
>> -Alina
>>
>>
>>
>> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com
>> <pi...@gmail.com>]
>> *Sent:* Monday, February 26, 2018 5:02 PM
>> *To:* users@royale.apache.org
>> *Subject:* Re: Generating API report for Flex Web Browser application
>>
>>
>>
>> Alex,
>>
>>
>>
>> I did above exercise for Moonshine and got NPE [1]. I used air-config.xml
>> because it is na Desktop app.
>>
>>
>>
>> [1] https://paste.apache.org/R0Si
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FR0Si&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=tFLrK9xsVt57PytwBaNoUJ%2FIPFH7FCHDtfrmJ1sAl3Y%3D&reserved=0>
>>
>>
>>
>>
>> Thanks,
>>
>> Piotr
>>
>>
>>
>>
>>
>> 2018-02-26 12:56 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
>>
>> Yishay,
>>
>>
>>
>> Thank you so much!! I got it working.
>>
>>
>>
>> Alina,
>>
>>
>>
>> Here is the full instruction.
>>
>>
>>
>> 1) Download Apache Royale with SWF support - if you have that is good, if
>> not it's here [1]
>>
>> 2) Download Apache Flex - you have it as I have seen on the screenshot.
>>
>> 3) Launch console and go to the Royale SDK folder
>>
>>
>>
>> "yourpathtosdk\bin\" - In my case it was: "d:\Work\royale_ide\royale_nig
>> htly_js_swf\bin\"
>>
>>
>>
>> 4) Run following command where you will point to the Flex Browser
>> application in order to generate report. My command looks like that:
>>
>>
>>
>> mxmlc "c:\Users\piotr\Documents\NewFlexBrowserProject\src\NewFlexBrowserProject.mxml"
>> -api-report="c:\Users\piotr\Documents\NewFlexBrowserProject\report.txt"
>> -load-config=d:\Work\flex-sdk-4.16.1_adobe_air_28\frameworks
>> \flex-config.xml
>>
>>
>>
>> I generated report for hellow world. Maybe in order to generate report
>> for your application that console command may be much more sophisticated.
>> Let's see!
>>
>>
>>
>>
>>
>> [1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/
>> job/royale-asjs/lastSuccessfulBuild/artifact/out/
>> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2Fout%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=O%2BpVQ8OuhB%2FtE4ZdylTSkAQCWsIPBGlr9RgiTjWSWEM%3D&reserved=0>
>>
>>
>>
>> Thanks,
>>
>> Piotr
>>
>>
>>
>>
>>
>> 2018-02-26 12:46 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:
>>
>> Looks like [1] you do need to add compiler option: -api–report=<path to
>> output file>
>>
>>
>>
>> [1] http://apache-royale-users.20374.n8.nabble.com/Substitutes-
>> in-Apache-Royale-tp392p492.html
>> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p492.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kda6SpkBgdRqGAeGJ5Db629EAy7KAVbOZKzhzhynRZk%3D&reserved=0>
>>
>>
>>
>>
>>
>> *From: *Piotr Zarzycki <pi...@gmail.com>
>> *Sent: *Monday, February 26, 2018 1:37 PM
>>
>>
>> *To: *users@royale.apache.org
>> *Subject: *Re: Generating API report for Flex Web Browser application
>>
>>
>>
>> I have produced with that swf, but what's next? Let's wait for Alex's
>> response [1]
>>
>>
>>
>> [1] https://paste.apache.org/YEeG
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FYEeG&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8ameYzJ7AloOW4nTa8dqu7zYxwORSQc5sCUqpZDVA%2BY%3D&reserved=0>
>>
>>
>>
>> Thanks,
>>
>> Piotr
>>
>>
>>
>> 2018-02-26 12:32 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:
>>
>> Alex will know but I don’t think so. I haven’t updated the compiler
>> recently so can’t test it right now. If you want to test it maybe just
>> create a simple app and replace /Users/aharui/ApacheFlex4.16.0 with your
>> sdk home.
>>
>>
>>
>>
>>
>>
>>
>> *From: *Piotr Zarzycki <pi...@gmail.com>
>> *Sent: *Monday, February 26, 2018 1:25 PM
>> *To: *users@royale.apache.org
>> *Subject: *Re: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Yishay,
>>
>>
>>
>> bin/mxmlc
>>
>> <path to app's
>>
>> .mxml
>>
>> file>
>>
>> -load-config=/Users/aharui/ApacheFlex4.16.0/frameworks/flex-config.xml
>>
>>
>>
>> Do I need some switch for compiler -api-report or something like that ?
>>
>>
>>
>> Thanks,
>>
>> Piotr
>>
>>
>>
>>
>>
>> 2018-02-26 12:10 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:
>>
>> Wasn’t logged in. Here’s [1] the link.
>>
>>
>>
>> [1] http://apache-royale-users.20374.n8.nabble.com/Substitutes-
>> in-Apache-Royale-tp392p489.html
>> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p489.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8Tp5%2BFveKS0eoW7D8EovITPQqYrgwDK4P7cW9izXFH8%3D&reserved=0>
>>
>>
>>
>>
>>
>> *From: *Yishay Weiss <yi...@hotmail.com>
>> *Sent: *Monday, February 26, 2018 12:59 PM
>> *To: *users@royale.apache.org
>> *Subject: *RE: Generating API report for Flex Web Browser application
>>
>>
>>
>> I couldn’t find a way to link to a nabble post, but this [1] might help
>> (from Substitutes in Apache Royale).
>>
>>
>>
>> [1] https://paste.apache.org/N2QR
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FN2QR&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=VIS8u6EEBWN6jQrFxpttZvAfUCSSKPe3rbrBDU2w7Sg%3D&reserved=0>
>>
>>
>>
>> *From: *Piotr Zarzycki <pi...@gmail.com>
>> *Sent: *Monday, February 26, 2018 12:44 PM
>> *To: *users@royale.apache.org
>> *Subject: *Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alex,
>>
>>
>>
>> I would like to understand how to generate that report. I will go with
>> the console path, because I think this is something unusual and probably
>> Moonshine is not prepared to do this. I'm writing this on the users mailing
>> list because Alina is having some problems with that. I wanted to simplify
>> all of that. Let's start from the beginning.
>>
>>
>>
>> 1) I have created Flex Web browser project using Apache Flex SDK 4.16.1.
>>
>> 2) I have nightly build of Royale with SWF support [1]
>>
>>
>>
>> What should I type in the console now ?
>>
>>
>>
>> [1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/
>> job/royale-asjs/lastSuccessfulBuild/artifact/
>> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=UtYFFQ90aNB2HU2Vx4t8YAS6Eo2j1ZqVAytujEOgoFM%3D&reserved=0>
>>
>>
>>
>> Thanks,
>> --
>>
>> *Piotr Zarzycki *
>>
>> Patreon: *https://www.patreon.com/piotrzarzycki
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> --
>>
>> *Piotr Zarzycki *
>>
>> Patreon: *https://www.patreon.com/piotrzarzycki
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>>
>>
>>
>>
>>
>>
>>
>> --
>>
>> *Piotr Zarzycki *
>>
>> Patreon: *https://www.patreon.com/piotrzarzycki
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>>
>>
>>
>>
>>
>>
>>
>> --
>>
>> *Piotr Zarzycki *
>>
>> Patreon: *https://www.patreon.com/piotrzarzycki
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>>
>>
>>
>>
>>
>> --
>>
>> *Piotr Zarzycki *
>>
>> Patreon: *https://www.patreon.com/piotrzarzycki
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>>
>>
>>
>>
>>
>> --
>>
>> *Piotr Zarzycki *
>>
>> Patreon: *https://www.patreon.com/piotrzarzycki
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=zGrfZ2Wj3CLuuW%2B%2BKtUSQF6762Vn0%2BeNjCMlViBMghg%3D&reserved=0>*
>>
>>
>>
>>
>>
>> --
>>
>> *Piotr Zarzycki *
>>
>> Patreon: *https://www.patreon.com/piotrzarzycki
>> <https://www.patreon.com/piotrzarzycki>*
>>
>>
>>
>>
>>
>> --
>>
>> *Piotr Zarzycki *
>>
>> Patreon: *https://www.patreon.com/piotrzarzycki
>> <https://www.patreon.com/piotrzarzycki>*
>>
>>
>>
>>
>>
>> --
>>
>> *Piotr Zarzycki *
>>
>> Patreon: *https://www.patreon.com/piotrzarzycki
>> <https://www.patreon.com/piotrzarzycki>*
>>
>>
>>
>>
>>
>> --
>>
>> *Piotr Zarzycki *
>>
>> Patreon: *https://www.patreon.com/piotrzarzycki
>> <https://www.patreon.com/piotrzarzycki>*
>>
>>
>>
>>
>>
>> --
>>
>> *Piotr Zarzycki *
>>
>> Patreon: *https://www.patreon.com/piotrzarzycki
>> <https://www.patreon.com/piotrzarzycki>*
>>
>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>



-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

Posted by Alex Harui <ah...@adobe.com>.
Whether you use Ant or Maven, it is worthwhile to be able to build all 3 repos locally (royale-compiler, royale-typedefs, royale-asjs) in that order using the instructions in the README.  If the instructions need improvement, please provide feedback on how to improve them.

My 2 cents,
-Alex

From: Alina Kazi <al...@d-bz.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Tuesday, March 6, 2018 at 10:59 PM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

Hi Piotr,
What should I do?
Do You want me to delete all files name royale-asjs? Or delete other folders royale-compiler n others.

Thanks Alina

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com]
Sent: Wednesday, March 07, 2018 12:07 PM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

Ok! I just cloned separate repository and got similar problem. -> https://paste.apache.org/HuYU<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FHuYU&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=Bx%2BrA0NC15%2FQ2k62UfkImjri63UdjpdVFeU6FuFpe%2Fw%3D&reserved=0>

2018-03-07 7:42 GMT+01:00 Alina Kazi <al...@d-bz.com>>:
Similar Error

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com<ma...@gmail.com>]
Sent: Wednesday, March 07, 2018 11:41 AM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

Use "mvn -s settings-template.xml clean install" without pointing to profile -P utils.

2018-03-07 7:22 GMT+01:00 Alina Kazi <al...@d-bz.com>>:
Hi Piotr,
Getting Similar Error in all cases.
C:\Users\aleena>git clone https://github.com/apache/royale-asjs<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=lQNZ1fPDBdQ9sLgCn8tWKqACrf%2F8EPRcB0HahX7OsT4%3D&reserved=0>
Cloning into 'royale-asjs'...
remote: Counting objects: 101055, done.
remote: Compressing objects: 100% (127/127), done.
remote: Total 101055 (delta 101), reused 183 (delta 63), pack-reused 100828
Receiving objects: 100% (101055/101055), 19.27 MiB | 249.00 KiB/s, done.
Resolving deltas: 100% (61539/61539), done.
Checking out files: 100% (3572/3572), done.

C:\Users\aleena>cd royale-asjs

C:\Users\aleena\royale-asjs>git checkout develop
Already on 'develop'
Your branch is up to date with 'origin/develop'.

C:\Users\aleena\royale-asjs>mvn -s settings-template.xml clean install -P utils
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Frepository.apache.org%2Fsnapshots%2Forg%2Fap&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=KbKbbGQxCPS5VIYD9U7K3FanAGXEAxbQHlHU4Hje76I%3D&reserved=0>
ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/
maven-metadata.xml
[WARNING] Could not transfer metadata org.apache.flex.utilities.converter:flex-s
dk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from/to apache-sn
apshots (http://repository.apache.org/snapshots/<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Frepository.apache.org%2Fsnapshots%2F&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=8EiyDjyAjYt3aMUdSRY9yeC3V8wcUWkdLyz08Y5s2GY%3D&reserved=0>): Connect to repository.apache.
org:80 [repository.apache.org/207.244.88.140<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Frepository.apache.org%2F207.244.88.140&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=Eu6t4YAKIDzLcXJRfsovLTdJvfeeLaFkRmoEdNcH0is%3D&reserved=0>] failed: Connection timed out: conn
ect
[WARNING] Failure to transfer org.apache.flex.utilities.converter:flex-sdk-conve
rter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from http://repository.ap<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Frepository.ap&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=gw3Z%2BVh0RILjm%2Bt%2BplXOuCF6eaDcjO%2F%2B9z5lOlmOGu8%3D&reserved=0>
ache.org/snapshots/<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fache.org%2Fsnapshots%2F&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=WZvfH02NZfUgUvumywhv9emzScUJXEOGtixfMCfuuz4%3D&reserved=0> was cached in the local repository, resolution will not be r
eattempted until the update interval of apache-snapshots has elapsed or updates
are forced. Original error: Could not transfer metadata org.apache.flex.utilitie
s.converter:flex-sdk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml
 from/to apache-snapshots (http://repository.apache.org/snapshots/<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Frepository.apache.org%2Fsnapshots%2F&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=8EiyDjyAjYt3aMUdSRY9yeC3V8wcUWkdLyz08Y5s2GY%3D&reserved=0>): Connect to
repository.apache.org:80<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Frepository.apache.org%3A80&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=7oGLJHMK%2B6imoVptg2TQa%2FRRthuDLd9x7OVD7mMlU7M%3D&reserved=0> [repository.apache.org/207.244.88.140<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Frepository.apache.org%2F207.244.88.140&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=Eu6t4YAKIDzLcXJRfsovLTdJvfeeLaFkRmoEdNcH0is%3D&reserved=0>] failed: Connecti
on timed out: connect
Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Frepository.apache.org%2Fsnapshots%2Forg%2Fap&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=KbKbbGQxCPS5VIYD9U7K3FanAGXEAxbQHlHU4Hje76I%3D&reserved=0>
ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/
flex-sdk-converter-maven-extension-1.0.0-SNAPSHOT.pom
[WARNING] Failed to read extensions descriptor C:\Users\aleena\royale-asjs\.mvn\
extensions.xml: Plugin org.apache.flex.utilities.converter:flex-sdk-converter-ma
ven-extension:1.0.0-SNAPSHOT or one of its dependencies could not be resolved: F
ailed to read artifact descriptor for org.apache.flex.utilities.converter:flex-s
dk-converter-maven-extension:jar:1.0.0-SNAPSHOT
[INFO] Scanning for projects...
Downloading from apache-release: https://repository.apache.org/content/repositor<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Frepository.apache.org%2Fcontent%2Frepositor&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=iTQW5qUejjPx%2F8TxgIV79L1bAhbrwctgtbv%2BTFc%2BJ5w%3D&reserved=0>
ies/releases/org/apache/apache/18/apache-18.pom
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/apache<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Frepo.maven.apache.org%2Fmaven2%2Forg%2Fapache%2Fapache&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=yr20vBycEiPLPwKZAq9iyCfPLIKuCs%2BFsLvRAwfXwb8%3D&reserved=0>
/18/apache-18.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for org.apache.royale.framework:royale-framewo
rk-parent:0.9.2-SNAPSHOT: Could not transfer artifact org.apache:apache:pom:18 f
rom/to apache-release (https://repository.apache.org/content/repositories/releas<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Frepository.apache.org%2Fcontent%2Frepositories%2Freleas&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=FLQbq%2BggW8N35ELoMKsLkJ08yJCKX8qnNasI4JZZhIk%3D&reserved=0>
es): Connect to repository.apache.org:443<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Frepository.apache.org%3A443&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=v4%2BjdENVYfX3gNz1%2Flc6hfNnC6tFG7VQsJ2L8iaX0YA%3D&reserved=0> [repository.apache.org/207.244.88.140<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Frepository.apache.org%2F207.244.88.140&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=Eu6t4YAKIDzLcXJRfsovLTdJvfeeLaFkRmoEdNcH0is%3D&reserved=0>]
 failed: Connection timed out: connect and 'parent.relativePath' points at no lo
cal POM @ line 24, column 11
 @
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project org.apache.royale.framework:royale-framework-parent:0.9.2-
SNAPSHOT (C:\Users\aleena\royale-asjs\pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for org.apache.royale.framework:royale-fra
mework-parent:0.9.2-SNAPSHOT: Could not transfer artifact org.apache:apache:pom:
18 from/to apache-release (https://repository.apache.org/content/repositories/re<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Frepository.apache.org%2Fcontent%2Frepositories%2Fre&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=ucYW4DfjIEfh6Cg6Q4zyKB2BeXGYsFTIKsW9fOf%2FWBw%3D&reserved=0>
leases): Connect to repository.apache.org:443<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Frepository.apache.org%3A443&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=v4%2BjdENVYfX3gNz1%2Flc6hfNnC6tFG7VQsJ2L8iaX0YA%3D&reserved=0> [repository.apache.org/207.244.88<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Frepository.apache.org%2F207.244.88&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=jkk1PfoGi%2BwPFvsuqZVOVmHRUU2RTsrnA9wcdbu6x8E%3D&reserved=0>.
140] failed: Connection timed out: connect and 'parent.relativePath' points at n
o local POM @ line 24, column 11 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FMAVEN%2FProjectBuildin&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=maP0KwVwmS79IbLLJkkNOBiqBRYpB8CrkUvyWl3zz1I%3D&reserved=0>
gException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableMo<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FMAVEN%2FUnresolvableMo&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=6%2B8ZvIhEHsfl3Cv%2BIM6npNzzKifh41btN8rU3Evmcf8%3D&reserved=0>
delException

Thanks,
Alina

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com<ma...@gmail.com>]
Sent: Wednesday, March 07, 2018 11:25 AM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

Alina,

I see in your trace that you have cloned typedefs instead asjs -> "git clone https://github.com/apache/royale-typedefs.git<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-typedefs.git&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=b%2BKZXZQLonW00bposGRAoqOfMwifAoYpasNgfs1w82I%3D&reserved=0>". You should clone:

git clone https://github.com/apache/royale-asjs<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=lQNZ1fPDBdQ9sLgCn8tWKqACrf%2F8EPRcB0HahX7OsT4%3D&reserved=0> and switch to "develop" branch than try to build.

However let me try build typedefs only in the meantime clone asjs and try again.

Thanks, Piotr


2018-03-07 7:19 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>>:
Alina,

Not sure, but let me try that on my sight, however I doubt that. Maven is a very distinguished from all the environment variables. If you got that build running you don't have to use almost all. :)

2018-03-07 7:03 GMT+01:00 Alina Kazi <al...@d-bz.com>>:
Hi Piotr,

ROYALE_HOME environment variable is set to D:\royale-asjs that is the path for installed latest nightly build. This could be the reason ?

Thanks,
Alina

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com<ma...@gmail.com>]
Sent: Wednesday, March 07, 2018 10:56 AM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

Please try again build. Maybe it was some temporary problem. My build is running right now without the problem. Maven downloading dependencies nicely.

Thanks, Piotr

2018-03-07 6:39 GMT+01:00 Alina Kazi <al...@d-bz.com>>:
Hi Piotr,
Its Working.
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<metadata modelVersion="1.1.0">
<groupId>org.apache.flex.utilities.converter</groupId>
<artifactId>retrievers</artifactId>
<version>1.0.0-SNAPSHOT</version>
<versioning>
<snapshot>
<timestamp>20171112.204231</timestamp>
<buildNumber>490</buildNumber>
</snapshot>
<lastUpdated>20171112204231</lastUpdated>
<snapshotVersions>
<snapshotVersion>
<extension>pom</extension>
<value>1.0.0-20171112.204231-490</value>
<updated>20171112204231</updated>
</snapshotVersion>
</snapshotVersions>
</versioning>
</metadata>

Thanks,
Alina

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com<ma...@gmail.com>]
Sent: Wednesday, March 07, 2018 10:48 AM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

Hi Alina,

I just removed my whole local repository and trying exactly the same scenario. Just quick question can you try in your browser open this link ? Is it working ?

http://repository.apache.org/snapshots/org/apache/flex/utilities/converter/retrievers/1.0.0-SNAPSHOT/maven-metadata.xml<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Frepository.apache.org%2Fsnapshots%2Forg%2Fapache%2Fflex%2Futilities%2Fconverter%2Fretrievers%2F1.0.0-SNAPSHOT%2Fmaven-metadata.xml&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=eg8wJfazDI%2BptAHNQo1C5upKDpuPRmrLkTojqJUqpbc%3D&reserved=0>

Thanks,
Piotr

2018-03-07 6:27 GMT+01:00 Alina Kazi <al...@d-bz.com>>:
Hi Piotr,
Using Maven :
C:\Users\aleena>git clone https://github.com/apache/royale-typedefs.git<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-typedefs.git&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=b%2BKZXZQLonW00bposGRAoqOfMwifAoYpasNgfs1w82I%3D&reserved=0> royale-a
sjs
Cloning into 'royale-asjs'...
remote: Counting objects: 3318, done.
remote: Compressing objects: 100% (93/93), done.
remote: Total 3318 (delta 48), reused 76 (delta 16), pack-reused 3200
Receiving objects: 100% (3318/3318), 3.51 MiB | 244.00 KiB/s, done.
Resolving deltas: 100% (1337/1337), done.

C:\Users\aleena>cd royale-asjs

C:\Users\aleena\royale-asjs>git checkout develop
Already on 'develop'
Your branch is up to date with 'origin/develop'.

C:\Users\aleena\royale-asjs>mvn -s settings-template.xml clean install
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Frepository.apache.org%2Fsnapshots%2Forg%2Fap&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=KbKbbGQxCPS5VIYD9U7K3FanAGXEAxbQHlHU4Hje76I%3D&reserved=0>
ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/
maven-metadata.xml
[WARNING] Could not transfer metadata org.apache.flex.utilities.converter:flex-s
dk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from/to apache-sn
apshots (http://repository.apache.org/snapshots/<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Frepository.apache.org%2Fsnapshots%2F&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=8EiyDjyAjYt3aMUdSRY9yeC3V8wcUWkdLyz08Y5s2GY%3D&reserved=0>): Connect to repository.apache.
org:80 [repository.apache.org/207.244.88.140<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Frepository.apache.org%2F207.244.88.140&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=Eu6t4YAKIDzLcXJRfsovLTdJvfeeLaFkRmoEdNcH0is%3D&reserved=0>] failed: Connection timed out: conn
ect
[WARNING] Failure to transfer org.apache.flex.utilities.converter:flex-sdk-conve
rter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from http://repository.ap<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Frepository.ap&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=gw3Z%2BVh0RILjm%2Bt%2BplXOuCF6eaDcjO%2F%2B9z5lOlmOGu8%3D&reserved=0>
ache.org/snapshots/<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fache.org%2Fsnapshots%2F&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=WZvfH02NZfUgUvumywhv9emzScUJXEOGtixfMCfuuz4%3D&reserved=0> was cached in the local repository, resolution will not be r
eattempted until the update interval of apache-snapshots has elapsed or updates
are forced. Original error: Could not transfer metadata org.apache.flex.utilitie
s.converter:flex-sdk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml
 from/to apache-snapshots (http://repository.apache.org/snapshots/<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Frepository.apache.org%2Fsnapshots%2F&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=8EiyDjyAjYt3aMUdSRY9yeC3V8wcUWkdLyz08Y5s2GY%3D&reserved=0>): Connect to
repository.apache.org:80<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Frepository.apache.org%3A80&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=7oGLJHMK%2B6imoVptg2TQa%2FRRthuDLd9x7OVD7mMlU7M%3D&reserved=0> [repository.apache.org/207.244.88.140<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Frepository.apache.org%2F207.244.88.140&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=Eu6t4YAKIDzLcXJRfsovLTdJvfeeLaFkRmoEdNcH0is%3D&reserved=0>] failed: Connecti
on timed out: connect
Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Frepository.apache.org%2Fsnapshots%2Forg%2Fap&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=KbKbbGQxCPS5VIYD9U7K3FanAGXEAxbQHlHU4Hje76I%3D&reserved=0>
ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/
flex-sdk-converter-maven-extension-1.0.0-SNAPSHOT.pom
[WARNING] Failed to read extensions descriptor C:\Users\aleena\royale-asjs\.mvn\
extensions.xml: Plugin org.apache.flex.utilities.converter:flex-sdk-converter-ma
ven-extension:1.0.0-SNAPSHOT or one of its dependencies could not be resolved: F
ailed to read artifact descriptor for org.apache.flex.utilities.converter:flex-s
dk-converter-maven-extension:jar:1.0.0-SNAPSHOT
[INFO] Scanning for projects...
Downloading from apache-release: https://repository.apache.org/content/repositor<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Frepository.apache.org%2Fcontent%2Frepositor&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=iTQW5qUejjPx%2F8TxgIV79L1bAhbrwctgtbv%2BTFc%2BJ5w%3D&reserved=0>
ies/releases/org/apache/apache/18/apache-18.pom
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/apache<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Frepo.maven.apache.org%2Fmaven2%2Forg%2Fapache%2Fapache&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=yr20vBycEiPLPwKZAq9iyCfPLIKuCs%2BFsLvRAwfXwb8%3D&reserved=0>
/18/apache-18.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for org.apache.royale.typedefs:royale-typedefs
-parent:0.9.2-SNAPSHOT: Could not transfer artifact org.apache:apache:pom:18 fro
m/to apache-release (https://repository.apache.org/content/repositories/releases<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Frepository.apache.org%2Fcontent%2Frepositories%2Freleases&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=QLhKnZ4kSvagdQ3IaMCXyJqiQOOyxXq1fXDaqwoiRGI%3D&reserved=0>
): Connect to repository.apache.org:443<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Frepository.apache.org%3A443&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=v4%2BjdENVYfX3gNz1%2Flc6hfNnC6tFG7VQsJ2L8iaX0YA%3D&reserved=0> [repository.apache.org/207.244.88.140<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Frepository.apache.org%2F207.244.88.140&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=Eu6t4YAKIDzLcXJRfsovLTdJvfeeLaFkRmoEdNcH0is%3D&reserved=0>] f
ailed: Connection timed out: connect and 'parent.relativePath' points at wrong l
ocal POM @ line 23, column 11
 @
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project org.apache.royale.typedefs:royale-typedefs-parent:0.9.2-SN
APSHOT (C:\Users\aleena\royale-asjs\pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for org.apache.royale.typedefs:royale-type
defs-parent:0.9.2-SNAPSHOT: Could not transfer artifact org.apache:apache:pom:18
 from/to apache-release (https://repository.apache.org/content/repositories/rele<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Frepository.apache.org%2Fcontent%2Frepositories%2Frele&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=lDH9uEsDyUG4MA6UT9l80cfyzCpAPBhoGv0fBzWZH%2Bg%3D&reserved=0>
ases): Connect to repository.apache.org:443<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Frepository.apache.org%3A443&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=v4%2BjdENVYfX3gNz1%2Flc6hfNnC6tFG7VQsJ2L8iaX0YA%3D&reserved=0> [repository.apache.org/207.244.88.14<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Frepository.apache.org%2F207.244.88.14&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=QepPzN46Ld8fNreEDfbjAFmTwX5mev8Brsp3W2ncSg4%3D&reserved=0>
0] failed: Connection timed out: connect and 'parent.relativePath' points at wro
ng local POM @ line 23, column 11 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FMAVEN%2FProjectBuildin&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=maP0KwVwmS79IbLLJkkNOBiqBRYpB8CrkUvyWl3zz1I%3D&reserved=0>
gException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableMo<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FMAVEN%2FUnresolvableMo&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=6%2B8ZvIhEHsfl3Cv%2BIM6npNzzKifh41btN8rU3Evmcf8%3D&reserved=0>
delException

C:\Users\aleena\royale-asjs>

Thanks
Alina

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com<ma...@gmail.com>]
Sent: Tuesday, March 06, 2018 5:30 PM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

Hi Alina,

You can try to go with Maven to see whether you have similar problems [1]

[1] https://github.com/apache/royale-asjs/wiki/Build-Apache-Royale-with-Maven<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fwiki%2FBuild-Apache-Royale-with-Maven&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=oc1YCnaD6EfFGj%2BtUFmwT%2BVfxzN0la35Iysui9vDpvU%3D&reserved=0>

Thanks, Piotr

2018-03-06 13:12 GMT+01:00 Alina Kazi <al...@d-bz.com>>:
Hi Alex,
Still getting same error, while executing:
C:\Users\aleena\royale-asjs>ant all
Website link is working :
http://www.antlr.org/license.html<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=ZMB0N1G7eicuh0%2Fxjp6ydHXT6raw8jKLfpQFhcivszQ%3D&reserved=0>

could be only issue , Antlr server will be off-line ?

Thanks,
Alina
From: Alina Kazi [mailto:alina.kazi@d-bz.com<ma...@d-bz.com>]
Sent: Tuesday, March 06, 2018 4:38 PM
To: 'users@royale.apache.org<ma...@royale.apache.org>'
Subject: RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

Hi Alex,

We can exclude ScaleX , ScaleY,transform from our code as we are using it in our Library Project Only.
We are using “Rotation” in a PopUp Window.

Can you please explain emulation ?
How do they will work?

Thanks,
Alina

From: Alina Kazi [mailto:alina.kazi@d-bz.com<ma...@d-bz.com>]
Sent: Tuesday, March 06, 2018 3:14 PM
To: 'users@royale.apache.org<ma...@royale.apache.org>'
Subject: RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

Hi Alex,
We are using commitProperties() in our Library Project. Overriding the Existing Spark commitProperties() method
For Example:
ResizableTextAreaSkin.mxml (SHMALib)
override protected function commitProperties():void {
                                                super.commitProperties();

                                                if (lineBreakChanged) {
                                                                updateStringStyle("lineBreak");
                                                                lineBreakChanged = false;
                                                }
                                                if (paddingChanged) {
                                                                updatePadding();
                                                                paddingChanged = false;
                                                }
                                                if (verticalAlignChanged) {
                                                                updateStringStyle("verticalAlign");
                                                                verticalAlignChanged = false;
                                                }
                                }
We are using
Package

flash.display<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fhelp.adobe.com%2Fen_US%2FFlashPlatform%2Freference%2Factionscript%2F3%2Fflash%2Fdisplay%2Fpackage-detail.html&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=9wlX%2Ben8JLVr11WGOdvsDKF1aujbM4D8d0Dtgt0jzIk%3D&reserved=0>

Class

public class DisplayObject

Inheritance

DisplayObject [Inheritance]  EventDispatcher<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fhelp.adobe.com%2Fen_US%2FFlashPlatform%2Freference%2Factionscript%2F3%2Fflash%2Fevents%2FEventDispatcher.html&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=ivjWZ%2F8RbyHZE9g7lKSTyoArtPBIAzNlzbFSgO99jCU%3D&reserved=0> [Inheritance]  Object<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fhelp.adobe.com%2Fen_US%2FFlashPlatform%2Freference%2Factionscript%2F3%2FObject.html&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=kbdZvSGFoOIc5GfMoPvOVKDrw3eDj2mHTI%2FtsPVw2Gw%3D&reserved=0>

Reference Link:

https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/DisplayObject.html<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fhelp.adobe.com%2Fen_US%2FFlashPlatform%2Freference%2Factionscript%2F3%2Fflash%2Fdisplay%2FDisplayObject.html&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=9nJiKfHtPcLbYRHLwPOqIimfLBWf0l3LMx9RljETFIM%3D&reserved=0>

e.g :
                public function updateLayoutWithoutAnimation():void
                                {
                                                if(_layoutInvalid == true && layoutFunction != null)
                                                {
                                                                _layoutInvalid = false;
                                                                layoutFunction();
                                                }

                                                for(var aChild:* in _targets)
                                                {
                                                                var target:LayoutTarget = _targets[aChild];
                                                                var item:IFlexDisplayObject = target.item;
                                                                var m:Matrix = DisplayObject(item).transform.matrix;

                                                                m.tx = target.x;
                                                                m.ty = target.y;
                                                                m.a = target.scaleX;
                                                                m.d = target.scaleY

                                                                DisplayObject(item).alpha = target.alpha;
                                                                DisplayObject(item).transform.matrix = m;
                                                                item.setActualSize(target.unscaledWidth,target.unscaledHeight);
                                                                if(target.state == "removed")
                                                                {
                                                                                delete _targets[target.item];
                                                                                continue;
                                                                }
                                                                else
                                                                {
                                                                                target.state = "positioned"
                                                                }
                                                }
                                                stopTimer();
                                }

Thanks,
Alina

From: Alex Harui [mailto:aharui@adobe.com<ma...@adobe.com>]
Sent: Tuesday, March 06, 2018 1:36 PM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

Hi Alina,

I'm starting on the emulation.  I've noticed that your application code appears to be calling commitProperties().  Can you tell us why?

Also, it looks like there are a few uses of rotation, transform, scaleX and scaleY.  What are those used for?

Thanks,
-Alex

From: Alex Harui <ah...@adobe.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Monday, March 5, 2018 at 11:38 PM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: Re: Generating API report for Flex Web Browser application

Hi Alina,

Try again.  Sometimes the Antlr server goes off-line around this time of day.

-Alex

From: Alina Kazi <al...@d-bz.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Monday, March 5, 2018 at 11:12 PM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: RE: Generating API report for Flex Web Browser application

Hi Alex,
Using jdk1.8.0_162:

C:\Users\aleena\royale-asjs>ant all
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
Buildfile: C:\Users\aleena\royale-asjs\build.xml

set.base.folder:

check-git:
     [echo] Checking for Git...
     [exec] git version 2.16.2.windows.1

get-download-folder:

download-all:
     [echo] Using folder C:\Users\aleena\royale-asjs/..

check-royale-asjs:

warn-before-clone:

check-royale-asjs:

clone-royale-asjs:

check-royale-compiler:

clone-royale-compiler:

check-royale-typedefs:

clone-royale-typedefs:

check-playerglobal-home:

check-air-home:

build-all:

ask-before-build-all:
    [input] This script will now download and compile lots of files.  This can t
ake several minutes.   No interaction should be required.  Press the enter key t
o continue.


sdk:

annotate.class:
    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-
build-tools\target\classes
    [javac] warning: [options] bootstrap class path not set in conjunction with
-source 1.5
    [javac] warning: [options] source value 1.5 is obsolete and will be removed
in a future release
    [javac] warning: [options] target value 1.5 is obsolete and will be removed
in a future release
    [javac] warning: [options] To suppress warnings about obsolete options, use
-Xlint:-options.
    [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\src\main\java\o
rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:24: warning: [serial
] serializable class AnnotateClassDeleteException has no definition of serialVer
sionUID
    [javac]     public static class AnnotateClassDeleteException extends Excepti
on
    [javac]                   ^
    [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\src\main\java\o
rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:32: warning: [serial
] serializable class AnnotateClassRenameException has no definition of serialVer
sionUID
    [javac]     public static class AnnotateClassRenameException extends Excepti
on
    [javac]                   ^
    [javac] 6 warnings

unknown.tree.pattern.input.output:
    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-
build-tools\target\classes
    [javac] warning: [options] bootstrap class path not set in conjunction with
-source 1.5
    [javac] warning: [options] source value 1.5 is obsolete and will be removed
in a future release
    [javac] warning: [options] target value 1.5 is obsolete and will be removed
in a future release
    [javac] warning: [options] To suppress warnings about obsolete options, use
-Xlint:-options.
    [javac] 4 warnings

main:

compiler.downloads.cache:

compiler.downloads:
     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc
es
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

prepare:
     [echo] Making lib directory C:\Users\aleena\royale-compiler\compiler/lib/ex
ternal
    [mkdir] Created dir: C:\Users\aleena\royale-compiler\compiler\lib\external

all:
     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc
es
     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler
     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

check-dependency:
     [echo] checking for C:\Users\aleena\royale-compiler\compiler/lib/external//
antlr.jar

download-dependency:
     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc
es
     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler
     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

echo-project-jar:
   [delete] Deleting: C:\Users\aleena\royale-compiler\compiler\src\main\resource
s\project.properties
     [echo] ${INFO_DOWNLOADING_FILE_FROM}
     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc
es
     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler
     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

download-apache-license:
     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc
es
     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler
     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

download-other-license:
      [get] Getting: http://www.antlr.org/license.html<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0>
      [get] To: C:\Users\aleena\royale-compiler\compiler\lib\external\antlr-LICE
NSE.html
      [get] Error getting http://www.antlr.org/license.html<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0> to C:\Users\aleena\r
oyale-compiler\compiler\lib\external\antlr-LICENSE.html
     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc
es
     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler
     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

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

get-from-cache-if-needed:
     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc
es
     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler
     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

fail-if-not-found:

BUILD FAILED
C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred while e
xecuting this line:
C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred while e
xecuting this line:
C:\Users\aleena\royale-compiler\build.xml:64: The following error occurred while
 executing this line:
C:\Users\aleena\royale-compiler\compiler-jburg-types\build.xml:87: The following
 error occurred while executing this line:
C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:81: Th
e following error occurred while executing this line:
C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:275: T
he following error occurred while executing this line:
C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:329: T
he following error occurred while executing this line:
C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:489: C
:\Users\aleena\royale-compiler\compiler/lib/external//antlr-LICENSE.html could n
ot be downloaded or found in cache

Total time: 47 seconds

C:\Users\aleena\royale-asjs>

Thanks,
Alina

From: Alex Harui [mailto:aharui@adobe.com]
Sent: Tuesday, March 06, 2018 11:55 AM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

Hi Alina,

Please use JDK8.

Thanks,
-Alex

From: Alina Kazi <al...@d-bz.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Monday, March 5, 2018 at 10:40 PM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: RE: Generating API report for Flex Web Browser application

Hi Alex,

Java version that I am using is “9.0.1”

Thanks,
Alina

From: Alex Harui [mailto:aharui@adobe.com]
Sent: Tuesday, March 06, 2018 11:42 AM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

Hi Alina,

What version of Java are you using?  Please get a JDK7 or 8 and try that.

Thanks,
-Alex

From: Alina Kazi <al...@d-bz.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Monday, March 5, 2018 at 10:22 PM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: RE: Generating API report for Flex Web Browser application

Hi Alex,
Command Prompt Output is:
C:\Users\aleena>git clone https://github.com/apache/royale-asjs.git<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs.git&data=02%7C01%7Caharui%40adobe.com%7Cdf86fa0dd25b41ffbc8108d5832f0997%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559160423949211&sdata=d9cKX4ILIQPLI5USXvAafSnrWZSgW1XHw6G4r%2B9wgsE%3D&reserved=0> royale-asjs
Cloning into 'royale-asjs'...
remote: Counting objects: 101103, done.
remote: Compressing objects: 100% (22/22), done.
remote: Total 101103 (delta 9), reused 30 (delta 7), pack-reused 101066R
Receiving objects: 100% (101103/101103), 19.23 MiB | 208.00 KiB/s, done.

Resolving deltas: 100% (61584/61584), done.
Checking out files: 100% (3572/3572), done.

C:\Users\aleena>cd royale-asjs

C:\Users\aleena\royale-asjs>git checkout develop
Already on 'develop'
Your branch is up to date with 'origin/develop'.

C:\Users\aleena\royale-asjs>ant all
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
Buildfile: C:\Users\aleena\royale-asjs\build.xml

set.base.folder:

check-git:
     [echo] Checking for Git...
     [exec] git version 2.16.2.windows.1

get-download-folder:

download-all:
     [echo] Using folder C:\Users\aleena\royale-asjs/..

check-royale-asjs:

warn-before-clone:

check-royale-asjs:

clone-royale-asjs:

check-royale-compiler:

clone-royale-compiler:
     [echo] cloning royale-compiler repo into C:\Users\aleena\royale-asjs/../roy
ale-compiler
     [exec] Cloning into 'royale-compiler'...
     [exec] Checking out files:   8% (284/3191)
     [exec] Checking out files:   9% (288/3191)   Checking out files:  10% (320/
3191)   Checking out files:  11% (352/3191)   Checking out files:  12% (383/3191
)   Checking out files:  13% (415/3191)   Checking out files:  13% (444/3191)
Checking out files:  14% (447/3191)   Checking out files:  15% (479/3191)   Chec
king out files:  16% (511/3191)   Checking out files:  17% (543/3191)   Checking
 out files:  18% (575/3191)   Checking out files:  19% (607/3191)   Checking out
 files:  20% (639/3191)   Checking out files:  20% (641/3191)   Checking out fil
es:  21% (671/3191)   Checking out files:  22% (703/3191)   Checking out files:
 23% (734/3191)   Checking out files:  24% (766/3191)   Checking out files:  25%
 (798/3191)   Checking out files:  26% (830/3191)   Checking out files:  26% (84
2/3191)   Checking out files:  27% (862/3191)   Checking out files:  28% (894/31
91)   Checking out files:  29% (926/3191)   Checking out files:  30% (958/3191)
  Checking out files:  31% (990/3191)   Checking out files:  32% (1022/3191)   C
hecking out files:  33% (1054/3191)   Checking out files:  34% (1085/3191)   Che
cking out files:  35% (1117/3191)   Checking out files:  36% (1149/3191)   Check
ing out files:  37% (1181/3191)   Checking out files:  38% (1213/3191)   Checkin
g out files:  39% (1245/3191)   Checking out files:  40% (1277/3191)   Checking
out files:  40% (1308/3191)   Checking out files:  41% (1309/3191)   Checking ou
t files:  42% (1341/3191)   Checking out files:  42% (1352/3191)   Checking out
files:  43% (1373/3191)   Checking out files:  44% (1405/3191)   Checking out fi
les:  45% (1436/3191)   Checking out files:  46% (1468/3191)   Checking out file
s:  47% (1500/3191)   Checking out files:  48% (1532/3191)   Checking out files:
  49% (1564/3191)   Checking out files:  49% (1578/3191)   Checking out files:
50% (1596/3191)   Checking out files:  51% (1628/3191)   Checking out files:  52
% (1660/3191)   Checking out files:  53% (1692/3191)   Checking out files:  54%
(1724/3191)   Checking out files:  55% (1756/3191)   Checking out files:  56% (1
787/3191)   Checking out files:  57% (1819/3191)   Checking out files:  58% (185
1/3191)   Checking out files:  59% (1883/3191)   Checking out files:  60% (1915/
3191)   Checking out files:  61% (1947/3191)   Checking out files:  62% (1979/31
91)   Checking out files:  63% (2011/3191)   Checking out files:  63% (2022/3191
)   Checking out files:  64% (2043/3191)   Checking out files:  65% (2075/3191)
  Checking out files:  66% (2107/3191)   Checking out files:  67% (2138/3191)
Checking out files:  68% (2170/3191)   Checking out files:  69% (2202/3191)   Ch
ecking out files:  70% (2234/3191)   Checking out files:  71% (2266/3191)   Chec
king out files:  72% (2298/3191)   Checking out files:  73% (2330/3191)   Checki
ng out files:  74% (2362/3191)   Checking out files:  75% (2394/3191)   Checking
 out files:  76% (2426/3191)   Checking out files:  77% (2458/3191)   Checking o
ut files:  78% (2489/3191)   Checking out files:  79% (2521/3191)   Checking out
 files:  80% (2553/3191)   Checking out files:  81% (2585/3191)   Checking out f
iles:  82% (2617/3191)   Checking out files:  83% (2649/3191)   Checking out fil
es:  83% (2679/3191)   Checking out files:  84% (2681/3191)   Checking out files
:  85% (2713/3191)   Checking out files:  86% (2745/3191)   Checking out files:
 87% (2777/3191)   Checking out files:  88% (2809/3191)   Checking out files:  8
9% (2840/3191)   Checking out files:  89% (2845/3191)   Checking out files:  90%
 (2872/3191)   Checking out files:  91% (2904/3191)   Checking out files:  92% (
2936/3191)   Checking out files:  93% (2968/3191)   Checking out files:  94% (30
00/3191)   Checking out files:  95% (3032/3191)   Checking out files:  95% (3035
/3191)   Checking out files:  96% (3064/3191)   Checking out files:  97% (3096/3
191)   Checking out files:  98% (3128/3191)   Checking out files:  99% (3160/319
1)   Checking out files: 100% (3191/3191)   Checking out files: 100% (3191/3191)
, done.
     [exec] Your branch is up to date with 'origin/develop'.
     [exec] Already on 'develop'

check-royale-typedefs:

clone-royale-typedefs:
     [echo] cloning royale-typedefs repo into C:\Users\aleena\royale-asjs/../roy
ale-typedefs
     [exec] Cloning into 'royale-typedefs'...
     [exec] Your branch is up to date with 'origin/develop'.
     [exec] Already on 'develop'

check-playerglobal-home:

check-air-home:

build-all:

ask-before-build-all:
    [input] This script will now download and compile lots of files.  This can t
ake several minutes.   No interaction should be required.  Press the enter key t
o continue.

sdk:

annotate.class:
    [mkdir] Created dir: C:\Users\aleena\royale-compiler\compiler-build-tools\ta
rget\classes
    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-
build-tools\target\classes
    [javac] warning: [options] bootstrap class path not set in conjunction with
-source 1.5
    [javac] error: Source option 1.5 is no longer supported. Use 1.6 or later.
    [javac] error: Target option 1.5 is no longer supported. Use 1.6 or later.

BUILD FAILED
C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred while e
xecuting this line:
C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred while e
xecuting this line:
C:\Users\aleena\royale-compiler\build.xml:63: The following error occurred while
 executing this line:
C:\Users\aleena\royale-compiler\compiler-build-tools\build.xml:74: Compile faile
d; see the compiler error output for details.

Total time: 17 minutes 59 seconds

C:\Users\aleena\royale-asjs>

Unable to Build, Please guide.

Thanks,
Alina
From: Alex Harui [mailto:aharui@adobe.com]
Sent: Friday, March 02, 2018 10:31 PM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

Hi Alina,

I was able to download and expand the files.  I will be consolidating the data today.

In order to be able to write some of these emulations, you will probably need to be able to build the framework sources.  If you haven't already, you can try cloning the royale-asjs repo and figure out how to get it to build.  You can choose Apache Maven or Apache Ant as the build tool.

https://github.com/apache/royale-asjs<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs&data=02%7C01%7Caharui%40adobe.com%7C3c1833c1fc9442003f2608d5832c7fe0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559149534170415&sdata=YqGTpbzoou8SilHbsTxjriIjiREaS%2FA9j6xjZYRR%2F4E%3D&reserved=0>

Hopefully the instruction in the readme are sufficient.

Thanks,
-Alex

From: Alina Kazi <al...@d-bz.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Friday, March 2, 2018 at 12:34 AM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: RE: Generating API report for Flex Web Browser application

Hi Alex,

Application API-Report link:
https://www.dropbox.com/s/swvqhly6wa0jrc5/API-Reports.rar?dl=0<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fswvqhly6wa0jrc5%2FAPI-Reports.rar%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C928c248220464230f6dd08d5801a2f13%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555772324148830&sdata=9%2BsrGG41iCMIEmbtqnEbV%2BPvi1ngE9vF%2BKuqPAZ%2Bzao%3D&reserved=0>
SHMALib Report, applications,shmDoclist,shmSetupList,AppView_EIS, AppView_ERP,shmMappingSetup, shmMappingSetupOpenDetailGrid,shmSalesInvoice, shmSalesInvoiceDetail are main API Files.

Regards,
Alina




From: Alina Kazi [mailto:alina.kazi@d-bz.com]
Sent: Friday, March 02, 2018 11:32 AM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

Hi Alex,

2) We are using Effects in our Application 2-3 times
4) We are using text styling in our Application 3-5 times

Thanks,
Alina

From: Alex Harui [mailto:aharui@adobe.com]
Sent: Friday, March 02, 2018 4:26 AM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

Hi Alina,

1) Interesting about Charts.  They were being used by the SWC.
2) Effects are any animations that move, resize or fade things in the UI.
3) ok
4) I'm not sure what to conclude from the screenshot.  I'm interested in how often folks use it to create text with bold, italics and other styling of text.

Thanks,
-Alex

From: Alina Kazi <al...@d-bz.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Thursday, March 1, 2018 at 4:24 AM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: RE: Generating API report for Flex Web Browser application

Hi Alex,
600 mxml.api.txt files are generated and still in process. I will share link for files tomorrow.
After sharing my files tomorrow, If you will suggest to build  emulations.
I will  definitely want to learn how to create emulations and contribute them to Apache Royale.
1.We are not using Charts in our Application
2. How important are effects? (Please explain effects )
3. We are not using Right-to-left languages in RichTextEditor.
4. Is RichTextEditor being used for non-plain text?  If so, what kinds of text styling is important?
Link:https://www.dropbox.com/s/ky93eycmefm3cuu/RICHTEXTEDITOR.png?dl=0<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fky93eycmefm3cuu%2FRICHTEXTEDITOR.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cff526ec5592c42772ade08d57f713736%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555046634193460&sdata=BjS8q1GarTweRfMMmZOKxN%2FTQTqhtzJlm05KAtWnNTQ%3D&reserved=0>
Thanks,
Alina
From: Alex Harui [mailto:aharui@adobe.com]
Sent: Wednesday, February 28, 2018 10:45 PM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

Hi Alina,

Good to hear it worked.

I think I am waiting on all of the mxml.api.txt files to see what else is in there that isn't in the two reports we have, then we'll have a pretty good list of the places you will either need to change in your code or that we  will build emulations for.

I think emulations will be less work in the end, but there will be a lot of them to do.  We will want to you to learn how to create emulations and contribute them to Apache Royale.  That's how many Apache projects work: some of the users learn how to become committers.  This will be an asset to your company as well since you will learn how to fix things in Royale yourself.  Then your company won't be dependent on outsiders for support.

So, Peter and I and hopefully others will get started on some emulations to make sure they work for us, and then you can see if they work for you, and then we will teach you how to write those emulations.  Over the next several months, besides testing emulations written by others in your app, you will be writing your own emulations for things you need right away that we haven't written yet, or for third-party code that you are using.

It might help to get some prioritization on the emulations we need to write.  In looking at the list, I am wondering:

  1.  Are some charts more important than others?
  2.  How important are effects?
  3.  Do you use Right-to-left languages in RichTextEditor?
  4.  Is RichTextEditor being used for non-plain text?  If so, what kinds of text styling is important?
Thanks,
-Alex

From: Alina Kazi <al...@d-bz.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Wednesday, February 28, 2018 at 1:22 AM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: RE: Generating API report for Flex Web Browser application

Hi Alex,
Thank you.
It’s working with latest nightly build:
https://www.dropbox.com/s/77wkgrm74upkg0j/SHMALib%20Report.txt?dl=0<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F77wkgrm74upkg0j%2FSHMALib%2520Report.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C16fa845b6d2f4efb7f4a08d57e8e9097%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636554073167111532&sdata=UV0BOZpVonw%2BILcK9njhQdf5pKpqWPccp0IKDPm4jOI%3D&reserved=0>


Regards,
Alina



From: Alex Harui [mailto:aharui@adobe.com]
Sent: Wednesday, February 28, 2018 1:15 PM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

Hi Alina,

Looks like COMPC collected the data but never generated the report.  I pushed a fix for that.  Please try the latest nightly build.

Thanks,
-Alex

From: Alina Kazi <al...@d-bz.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Tuesday, February 27, 2018 at 10:35 PM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: RE: Generating API report for Flex Web Browser application

Hi Alex,
Thank you
After commenting the embedded font part from source.
Output to console:
3462313 bytes written to D:\SHMALib.swc in 19.878 seconds
D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"
 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\framewor
ks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\sr
c" -library-path+=D:\SHMALIB\libs

SHMALib.swf file Generated and Report.txt is empty
SHMALib.swc output Link:
https://www.dropbox.com/s/4tz49sz134m2gg9/SHMALib.swc?dl=0<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F4tz49sz134m2gg9%2FSHMALib.swc%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=%2FNcbTJtah21RRPeWfwg2pRaZ72hd%2BdG0iJlnH3GsA28%3D&reserved=0>
then I change, Compc -output "D:\SHMALib.swc" to Compc -output "D:\SHMALib. txt "
SHMALib.txt output Link:
https://www.dropbox.com/s/j38obt5e36awuh3/SHMALib.txt?dl=0<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fj38obt5e36awuh3%2FSHMALib.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=V%2FcA5dJ3Fi1qOvh%2BtUlbU%2FZ%2FQ5SBfRw7psjsm2Q%2Fe8w%3D&reserved=0>

Thanks,
Alina



From: Alex Harui [mailto:aharui@adobe.com]
Sent: Wednesday, February 28, 2018 11:18 AM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

Hi Alina,

The only error right now is the embedded font.

We can discuss the pros and cons of embedding images in the JS output at some other point in time.

-Alex

From: Alina Kazi <al...@d-bz.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Tuesday, February 27, 2018 at 10:01 PM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: RE: Generating API report for Flex Web Browser application

Big Part of SHMALib Uses Embed and metadata :

                                // Embed the font so we can rotate it for further distortion
                                [Embed(systemFont="Comic Sans MS",
                                                                embedAsCFF='false')]
                <mx:Image y="4" width="18" height="20" right="185" source="@Embed(source='assets/default/images/load.png')"
                                                  source="@Embed(source='assets/default/images/next.gif')" scaleContent="false"/>
                <mx:Image y="4" width="18" height="20" right="3" source="@Embed(source='assets/default/images/magnifier.png')"
     * An IFrame which you can embed into Flex applications to show an HTML page.
     * @example A simple application with Google embedded
        // SWF embed object tracking
         * The SWF embed object id.
         * Get the embed object id.
        protected function resolveEmbedObjectId():void
                    var result:Object=ExternalInterface.call(IFrameExternalCalls.FUNCTION_ASK_FOR_EMBED_OBJECT_ID, randomIdentificationString.toString());
                        logger.info<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flogger.info&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=g7SOTqtiOXf4KZ%2FCrhu0J7Nnj5d0tHk9ysg%2BmuRmLYg%3D&reserved=0>("Resolved the SWF embed object id to '{0}'.", applicationId);
                        logger.error('Could not resolve the SWF embed object Id.');
            // Resolve the SWF embed object id in the DOM.
            ExternalInterface.call(IFrameExternalCalls.INSERT_FUNCTION_ASK_FOR_EMBED_OBJECT_ID);
            resolveEmbedObjectId();
            logger.info<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flogger.info&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=g7SOTqtiOXf4KZ%2FCrhu0J7Nnj5d0tHk9ysg%2BmuRmLYg%3D&reserved=0>("Loading IFrame with id '{0}', on SWF embed object with id '{1}'.", _frameId, applicationId);
                    FUNCTION_LOADIFRAME + " = function (frameID, iframeID, url, embedID, scrollPolicy)" +
                                      "onLoad='\"+embedID+\".\"+frameID+\"_load();' " +
        public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String = "askForEmbedObjectId";
        public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String = "askForEmbedObjectId";
        public static var INSERT_FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =
                "if (document." + FUNCTION_ASK_FOR_EMBED_OBJECT_ID + "==null)" +
                    FUNCTION_ASK_FOR_EMBED_OBJECT_ID + " = function(randomString) " +
                            "var embeds = document.getElementsByTagName('embed'); " +
                            "var embeds = document.getElementsByTagName('embed'); " +
                            "for (var i = 0; i < embeds.length; i++) { " +
                                "var isTheGoodOne = embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " +
                                "var isTheGoodOne = embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " +
                                    "return embeds[i].getAttribute('id'); " +
                                 * The UITextField control for displaying embeded hints.
                                private var embedTextField:UITextField;
                                 *  The String to be shown as the embeded hint.
                                private var embedStr:String = "";
                                                                                embedStr = "MM DD YYYY";
                                                                                embedStr = "DD MM YYYY";
                                                                                embedStr = "YYYY MM DD";
                                                                                embedStr = "YYYY DD MM";
                                 *  Create child objects for displaying embeded hints.
                                                                embedTextField = new UITextField();
                                                                //embedTextField.text = embedStr;
                                                                //embedTextField.text = embedStr;
                                                                addChildAt(UITextField(embedTextField),getChildIndex(DisplayObject(textField)));//as TextField
                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;
                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;
                                                                                                                                s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);
                                                                                                                                embedTextField.text = s;
                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;
                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;
                                                                                                                                //s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);
                                                                                                                                //embedTextField.text = s;
                                                                                                                                s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);
                                                                                                                                embedTextField.text = s;
                                                                                // If embeded hints are displayed then update the
                                                                                // UITextField corresponding to the embeded hints
                                                                                                var s:String = embedTextField.text == null ? "":embedTextField.text;
                                                                                                var s:String = embedTextField.text == null ? "":embedTextField.text;
                                                                                                                embedTextField.text = s;
                                                                // create the embeded text field for showing
                                                                // embeded hints if its not already created.
                                                                // If it is created, then just change the embeded hint.
                                                                if(!embedTextField)
                                                                                embedTextField = new UITextField();
                                                                                addChildAt(embedTextField,getChildIndex(DisplayObject(textField))); //as TextField
                                                                //embedTextField.text = embedStr;
                                                                //embedTextField.text = embedStr;
                                                                embedTextField.alpha = 1;
                                                                embedTextField.setTextFormat(txtFormat);
                                                                embedTextField.x = 0;
                                                                embedTextField.y = 2;
                                                                embedTextField.setActualSize(width,height);
                                                                if(embedTextField)
                                                                                embedTextField.text = "";
                                                                                embedTextField = null;
                                                // setting the color of the embeded text field to white.
                                                                if(embedTextField)
                                                                                embedTextField.setColor(0xFFFFFF);
                                                                                if(embedTextField)
                                                                                                addChildAt(DisplayObject(newSkin),getChildIndex(DisplayObject(embedTextField)));//
   background-image:                                      Embed(source="/assets/application_background.png",
                up-skin:                Embed("/assets/maximize_up.png");
                over-skin:            Embed("/assets/maximize_over.png");
                down-skin:         Embed("/assets/maximize_up.png");
                selected-up-skin:   Embed("/assets/restore_up.png");
                selected-over-skin: Embed("/assets/restore_over.pn<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Frestore_over.pn&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=Uf9m1kh6jwKUEN77Gpc3%2FEywAM5x4jYh5CPosMtJde8%3D&reserved=0>g");
                selected-down-skin: Embed("/assets/restore_up.png");
                up-skin:        Embed("/assets/minimize_up.png");
                over-skin:      Embed("/assets/minimize_over.png");
                down-skin:      Embed("/assets/minimize_up.png");
                up-skin:                                Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");
                over-skin:                            Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");
                down-skin:                         Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");
                selected-up-skin:                             Embed("/assets/tab_selected.pn<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ftab_selected.pn&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=1wtU32Eqx%2BGJhlACGiZRnMdu45CkaHdqnp%2FXKa6lDm0%3D&reserved=0>g", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");
                selected-over-skin:                         Embed("/assets/tab_selected.pn<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ftab_selected.pn&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=1wtU32Eqx%2BGJhlACGiZRnMdu45CkaHdqnp%2FXKa6lDm0%3D&reserved=0>g", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");
                selected-down-skin:                      Embed("/assets/tab_selected.pn<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ftab_selected.pn&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=1wtU32Eqx%2BGJhlACGiZRnMdu45CkaHdqnp%2FXKa6lDm0%3D&reserved=0>g", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");
                up-skin:                                Embed("/assets/left_arrow_up.gif");
                over-skin:                            Embed("/assets/left_arrow_over.gif");
                down-skin:                         Embed("/assets/left_arrow_up.gif");
                disabled-skin:    Embed("/assets/left_arrow_disabled.gif");
                up-skin:                                Embed("/assets/right_arrow_up.gif");
                over-skin:                            Embed("/assets/right_arrow_over.gif");
                down-skin:                         Embed("/assets/right_arrow_up.gif");
                disabled-skin:    Embed("/assets/right_arrow_disabled.gif");
                                //[Embed(source="/assets/cursor_move.gif")]
                                //[Embed(source="/assets/cursor_resize.gif")]
                                [Embed(source="/assets/default/images/mouseMove.gif")]
                                [Embed(source="/assets/default/images/verticalSize.gif")]
                                [Embed(source="/assets/default/images/horizontalSize.gif")]
                                [Embed(source="/assets/default/images/leftObliqueSize.gif")]
                                [Embed(source="/assets/default/images/rightObliqueSize.gif")]
                                                if (image.isEmbedded)
                                                //if (!Application.application.systemManager.isFontFaceEmbedded(textFormat))
                                                if (!FlexGlobals.topLevelApplication.systemManager.isFontFaceEmbedded(textFormat))
                                                                if (Application.application.isFontsEmbedded) {
                                                                if (Application.application.isFontsEmbedded) {
                                                                if (Application.application.isFontsEmbedded) {
                                private var _isEmbedded:Boolean = false;
                                public function set isEmbedded(embedded:Boolean):void
                                public function set isEmbedded(embedded:Boolean):void
                                                _isEmbedded = embedded;
                                                _isEmbedded = embedded;
                                public function get isEmbedded():Boolean
                                                return _isEmbedded;
                                                <mx:icon>@Embed(source='images/print.GIF')</mx:icon>
                                                <mx:icon>@Embed(source='images/reload.GIF')</mx:icon>
                                                                <mx:disabledIcon>@Embed(source='images/first-gray.GIF')</mx:disabledIcon>
                                                                <mx:icon>@Embed(source='images/first.GIF')</mx:icon>
                                                                <mx:disabledIcon>@Embed(source='images/previous-gray.GIF')</mx:disabledIcon>
                                                                <mx:icon>@Embed(source='images/previous.GIF')</mx:icon>
                                                                <mx:disabledIcon>@Embed(source='images/next-gray.GIF')</mx:disabledIcon>
                                                                <mx:icon>@Embed(source='images/next.GIF')</mx:icon>
                                                                <mx:disabledIcon>@Embed(source='images/last-gray.GIF')</mx:disabledIcon>
                                                                <mx:icon>@Embed(source='images/last.GIF')</mx:icon>
                                                                                <mx:icon>@Embed(source='images/actualsize.GIF')</mx:icon>
                                                                                <mx:icon>@Embed(source='images/fitpage.GIF')</mx:icon>
                                                                                <mx:icon>@Embed(source='images/fitwidth.GIF')</mx:icon>
                                                                <mx:disabledIcon>@Embed(source='images/zoomin-gray.GIF')</mx:disabledIcon>
                                                                <mx:icon>@Embed(source='images/zoomin.GIF')</mx:icon>
                                                                <mx:disabledIcon>@Embed(source='images/zoomout-gray.GIF')</mx:disabledIcon>
                                                                <mx:icon>@Embed(source='images/zoomout.GIF')</mx:icon>
                                                                <mx:icon>@Embed(source='images/print.GIF')</mx:icon>
                                                if (imageSourceXml.@isEmbedded.length<ma...@isEmbedded.length>() > 0)
                                                                image.isEmbedded = imageSourceXml.@isEmbedded == "true";
                                                                image.isEmbedded = imageSourceXml.@isEmbedded == "true";
                 source="@Embed(source='/assets/default/images/left_arrow_up.gif')"/>
                 source="@Embed(source='/assets/default/images/left_arrow_over.gif')"/>
                 source="@Embed(source='/assets/default/images/left_arrow_disabled.gif')"/>
                                                                                   source="@Embed(source='/com/shm/flexlib/mdi/assets/img/maximizeButton.png')"/>
                                                                                   height="12" source="@Embed(source='/com/shm/flexlib/mdi/assets/img/restoreButton.png')"/>
                                                                                   source="@Embed(source='/com/shm/flexlib/mdi/assets/img/minimizeButton.png')"/>
                 source="@Embed(source='/assets/default/images/right_arrow_up.gif')"/>
                 source="@Embed(source='/assets/default/images/right_arrow_over.gif')"/>
                 source="@Embed(source='/assets/default/images/right_arrow_disabled.gif')"/>



From: Alex Harui [mailto:aharui@adobe.com]
Sent: Wednesday, February 28, 2018 11:00 AM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

Hi Alina,

I think you can ignore the warnings.  The first error is for embedding a font, which Royale doesn't currently support, so for now, try commenting out the Embed metadata and see if that allows the error to go away.

I would look into the other errors to see if they are legitimate or not.  The Royale Compiler will catch some things the MXMLC compiler may not.  Or you could comment out the code involved in the two errors in TImeZone.as for now since that won't affect the report.

The final two errors I saw are for missing skin states.  I think you can just add the skin states.

HTH,
-Alex

From: Alina Kazi <al...@d-bz.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Tuesday, February 27, 2018 at 9:35 PM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: RE: Generating API report for Flex Web Browser application

Hi Alex,

While Executing
D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\src"
Or
D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\Flex\libs\SH
MALIB.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bi
n\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\
SHMALIB\src" -library-path+=D:\SHMALIB\libs

Error:
(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to
field java.lang.Thread.inheritableThreadLocals
WARNING: Please consider reporting this to the maintainers of com.google.common.
base.internal.Finalizer
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect
ive access operations
WARNING: All illegal access operations will be denied in a future release
Loading configuration: D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml

Warning: Duplicate declaration of SkinState 'normal'


Warning: Duplicate declaration of SkinState 'disabled'


Warning: Duplicate declaration of SkinState 'normal'


Warning: Duplicate declaration of SkinState 'disabled'


Warning: Duplicate declaration of SkinState 'normal'


Warning: Duplicate declaration of SkinState 'disabled'


Warning: Duplicate declaration of SkinState 'normal'


Warning: Duplicate declaration of SkinState 'disabled'


Warning: Duplicate declaration of SkinState 'normal'


Warning: Duplicate declaration of SkinState 'disabled'


D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(415): col: 50 Warning:
Data binding will not be able to detect assignments to 'amfChannelSet'.

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"
id="DataProviderService"  showBusyCursor="true"
                                                               ^

D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(419): col: 50 Warning:
Data binding will not be able to detect assignments to 'amfChannelSet'.

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"
id="BasicFormatterService"  showBusyCursor="true"
                                                               ^

D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(516): col: 50 Warning: Da
ta binding will not be able to detect assignments to 'amfChannelSet'.

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"
id="DataProviderService"  showBusyCursor="true"
                                                               ^

D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(520): col: 50 Warning: Da
ta binding will not be able to detect assignments to 'amfChannelSet'.

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"
id="BasicFormatterService"  showBusyCursor="true"
                                                               ^

D:\SHMALIB\src\com\shm\components\shmCaptchaImage.as(43): col: 3 Error: Embed re
quires a 'source' file attribute

                [Embed(systemFont="Comic Sans MS",
                ^

D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(37): col: 88 Warning: Data
binding will not be able to detect assignments to 'isSelected'.

                                        <mx:CheckBox selectedField="isSelected"
 change="onChange(event);" selected="{data.isSelected}">

                                          ^

D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(46): col: 27 Warning: Data
binding will not be able to detect assignments to 'label'.

                                        <mx:Label text="{data.label}" />
                                                             ^

D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(126): col: 15 Error: Impli
cit coercion of a value of type Boolean to an unrelated type Number.

                                if(year & 0x3 == 0)
                                          ^

D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(134): col: 39 Error: Impli
cit coercion of a value of type Boolean to an unrelated type Number.

                                if(month == 1 && value.fullYear & 0x3 == 0)
                                                                  ^

D:\SHMALIB\src\com\shm\dashboard\renderers\GridPodURLRenderer.mxml(6): col: 23 W
arning: Data binding will not be able to detect assignments to 'SrNo'.

                  htmlText="&lt;u&gt;{data.SrNo}&lt;/u&gt;" color="blue" click="
f_DrillDownData(data)">
                                    ^

D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml Error:
The required skin state 'disabledWithPrompt' is missing.


D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml Error:
The required skin state 'normalWithPrompt' is missing.


D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(177): col: 27 Warning: D
ata binding will not be able to detect assignments to 'valueField'.

                                                yField="{properties.@valueField}
">
                                                                    ^

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(187): col: 34 Warning: D
ata binding will not be able to detect assignments to 'categoryField'.

                                                categoryField="{properties.@cate
goryField}" />
                                                                           ^

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(202): col: 27 Warning: D
ata binding will not be able to detect assignments to 'valueField'.

                                                yField="{properties.@valueField}
">
                                                                    ^

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(212): col: 34 Warning: D
ata binding will not be able to detect assignments to 'categoryField'.

                                                categoryField="{properties.@cate
goryField}" />
                                                                           ^

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(429): col: 27 Warning: D
ata binding will not be able to detect assignments to 'valueField'.

                                                yField="{properties.@valueField}
">
                                                                    ^

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(439): col: 34 Warning: D
ata binding will not be able to detect assignments to 'categoryField'.

                                                categoryField="{properties.@cate
goryField}" />
                                                                           ^

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(454): col: 27 Warning: D
ata binding will not be able to detect assignments to 'valueField'.

                                                yField="{properties.@valueField}
">
                                                                    ^

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(464): col: 34 Warning: D
ata binding will not be able to detect assignments to 'categoryField'.

                                                categoryField="{properties.@cate
goryField}" />
                                                                           ^

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(479): col: 26 Warning: D
ata binding will not be able to detect assignments to 'valueField'.

                                                field="{properties.@valueField}"

                                                                   ^

D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(115): col: 74 Warning
: Data binding will not be able to detect assignments to 'amfChannelSet'.

                <mx:RemoteObject id="roDrillDownColInfo" channelSet="{parentAppl
ication.amfChannelSet}" showBusyCursor="true"

       ^

D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(118): col: 68 Warning
: Data binding will not be able to detect assignments to 'amfChannelSet'.

                <mx:RemoteObject id="roDgDpResult" channelSet="{parentApplicatio
n.amfChannelSet}" showBusyCursor="true"

 ^

D:\SHMALIB\src\com\shm\dashboard\view\PieChartContent.mxml(128): col: 24 Warning
: Data binding will not be able to detect assignments to 'valueField'.

                                field="{properties.@valueField}"
                                                   ^

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 37 Warning: Dat
a binding will not be able to detect assignments to 'appParams'.

                                                        inputMask="{parentApplic
ation.appParams.DATE_FORMAT}" showToday="true"  yearNavigationEnabled="true"

     ^

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 47 Warning: Dat
a binding will not be able to detect assignments to 'DATE_FORMAT'.

                                                        inputMask="{parentApplic
ation.appParams.DATE_FORMAT}" showToday="true"  yearNavigationEnabled="true"

               ^

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 38 Warning: Dat
a binding will not be able to detect assignments to 'appParams'.

                                                         inputMask="{parentAppli
cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true" showToday="true"

      ^

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 48 Warning: Dat
a binding will not be able to detect assignments to 'DATE_FORMAT'.

                                                         inputMask="{parentAppli
cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true" showToday="true"

                ^

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(12): col: 11 Warnin
g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

                        import mx.graphics.Stroke;
                               ^

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(37): col: 23 Warnin
g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

                                        lne.stroke = new Stroke(0,1,.3);
                                                         ^

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(46): col: 14 Warnin
g: Duplicate variable definition: i.

                                for (var i:int = 1; i < lnWdt; i++){
                                         ^

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(47): col: 10 Warnin
g: Duplicate variable definition: lne.

                                        var lne:Line  = new Line();
                                            ^

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(53): col: 23 Warnin
g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

                                        lne.stroke = new Stroke(0,1,.3);
                                                         ^

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(54): col: 10 Warnin
g: Duplicate variable definition: llbe.

                                        var llbe:Label = new Label();
                                            ^

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(157): col: 40 Warn
ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev
elApplication'.

                                var xPosition:Number = Application.application.p
arent.mouseX;
                                                                   ^

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(158): col: 40 Warn
ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev
elApplication'.

                                var yPosition:Number = Application.application.p
arent.mouseY;
                                                                   ^

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(225): col: 36 Warn
ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev
elApplication'.

                                var xPlus:Number = Application.application.paren
t.mouseX - point.x;
                                                               ^

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(226): col: 36 Warn
ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev
elApplication'.

                                var yPlus:Number = Application.application.paren
t.mouseY - point.y;

Thanks,
Alina Kazi
From: Alex Harui [mailto:aharui@adobe.com]
Sent: Wednesday, February 28, 2018 10:16 AM
To: Alina Kazi; users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

Hi Alina,

I think that Flash Builder makes it easy to build SWCs.  Building from the command line can be a bit trickier.

Let's try:
Compc -output "D:\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\src"

HTH,
-Alex


From: Alina Kazi <al...@d-bz.com>>
Date: Tuesday, February 27, 2018 at 7:28 PM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>, Alex Harui <ah...@adobe.com>>
Subject: RE: Generating API report for Flex Web Browser application

Hi Alex,
Yes I am using Flash Builder.
SHMALIB and MainFlexApp are two separate Projects
Src for SHMALIB is placed into D:/SHMALIB/src
Src for MainFlexApp is D:/Flex/src and the library output file SHMALIB.swc is placed into D:/Flex/libs

SHMALIB (.actionscriptProperties)

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<actionScriptProperties mainApplicationPath="SHMALib.as" projectUUID="863559ab-3e7b-475b-a3a4-09f4f76fc0d2" version="6">
  <compiler additionalCompilerArguments="-locale en_US" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderLocation="D:/Flex/libs" outputFolderPath="bin-debug" sourceFolderPath="src" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" verifyDigests="true" warn="true">
    <compilerSourcePath/>
    <libraryPath defaultLinkType="0">
      <libraryPathEntry kind="4" path="">
        <excludedEntries>
          <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>
        </excludedEntries>
      </libraryPathEntry>
      <libraryPathEntry kind="1" linkType="1" path="libs"/>
    </libraryPath>
    <sourceAttachmentPath/>
  </compiler>
  <applications>
    <application path="SHMALib.as"/>
  </applications>
  <modules/>
  <buildCSSFiles/>
</actionScriptProperties>

SHMALIB (.flexLibProperties)
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<flexLibProperties includeAllClasses="true" version="3">
  <includeClasses/>
  <includeResources/>
  <namespaceManifests/>
</flexLibProperties>

Thanks,
Alina
From: Alex Harui [mailto:aharui@adobe.com]
Sent: Tuesday, February 27, 2018 9:34 PM
To: Alina Kazi
Subject: Re: Generating API report for Flex Web Browser application

Hi Alina,

When you are not trying to use Royale to generate this API report, how are you building your current Flex app?  We might need to know that in order to determine what parameters to add to COMPC.

COMPC has additional parameters like -include–sources, include-file, include-classes.  Sometimes, these are listed in an xml file.  If you are using Flash Builder, for example, then examine the .flexlibproperties and .actionscriptProperties files in your project folder.

Thanks,
-Alex

From: Alina Kazi <al...@d-bz.com>>
Date: Tuesday, February 27, 2018 at 3:21 AM
To: 'Alina Kazi' <al...@d-bz.com>>
Cc: Alex Harui <ah...@adobe.com>>
Subject: RE: Generating API report for Flex Web Browser application

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"
 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"
Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.common.base.internal.Finalizer
(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to
field java.lang.Thread.inheritableThreadLocals
WARNING: Please consider reporting this to the maintainers of com.google.common.
base.internal.Finalizer
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect
ive access operations

Error: nothing was specified to be included in the library.
-Alina

From: Alina Kazi [mailto:alina.kazi@d-bz.com]
Sent: Tuesday, February 27, 2018 2:16 PM
To: 'users@royale.apache.org<ma...@royale.apache.org>'
Subject: RE: Generating API report for Flex Web Browser application

Hi Alex,

I am using Moonshine IDE 1.9.0.
Flex 4.16.0
Apache Royale 0.9.2 Latest Nightly Build

Running this Command on Command Prompt:
D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"
 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"
Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.common.base.internal.Finalizer
(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to
field java.lang.Thread.inheritableThreadLocals
WARNING: Please consider reporting this to the maintainers of com.google.common.
base.internal.Finalizer
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect
ive access operations
WARNING: All illegal access operations will be denied in a future release

command line Error: unknown configuration variable 'sourceΓÇôpath'.

-Alina
From: Alex Harui [mailto:aharui@adobe.com]
Sent: Tuesday, February 27, 2018 1:26 PM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

Hi Alina,

COMPC takes a slightly different set of parameters.  What IDE or build tools are you using to build it without Royale?  You might need to know what options that build uses.

You can try running:

Compc -output "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source–path="D:\Projects\SHMA\Main\Flex\src" or wherever the source code is for the library.

HTH,
-Alex

From: Alina Kazi <al...@d-bz.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Monday, February 26, 2018 at 11:33 PM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: RE: Generating API report for Flex Web Browser application

Hi Alex,

For custom SWC, I am using COMPC to get an api-report for SWC
D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>compc "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml
Error: configuration variable 'output' was not set.


Thanks,
Alina
From: Alex Harui [mailto:aharui@adobe.com]
Sent: Tuesday, February 27, 2018 12:27 PM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

Hi Alina,

Yes, any SWC that is not in the Flex SDK's frameworks/libs folder needs to be specified as Piotr describes below.  We want you specify the same MXML file that you use to compile in the regular Flex SDK.  So if your Application.mxml starts with an mx:Application or s:Application that’s probably the one to use.  But also, if you have your own custom SWCs, we want you to use COMPC to get an api-report for those SWCs.  We want this modified Royale compiler to compile every source file you own so we can see what Flex APIs you are using.

HTH,
-Alex

From: Piotr Zarzycki <pi...@gmail.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Monday, February 26, 2018 at 11:19 PM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: Re: Generating API report for Flex Web Browser application

Hi Alina,

In my sense you will have to use -library-path+=path to the library. You have to tell compiler about that library.

Thanks, Piotr

2018-02-27 7:57 GMT+01:00 Alina Kazi <al...@d-bz.com>>:
Hi  Alex,
With latest nightly build:
MaskedTextInput , shmReportUtil …. Are Library Project Actionscript Files.
Main Application contains SHMALib.swc file in Libs folder
Error Link:
https://www.dropbox.com/s/p5imt22cuut0ex6/ErrorGeneratingReport.png?dl=0<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fp5imt22cuut0ex6%2FErrorGeneratingReport.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=8f1f9duW2Red4bP77hFTh3mLcCptBmAwd87n1iSkk%2Bs%3D&reserved=0>

I have a question that which .mxml file should be used to generate that report?
Applications.mxml is startup file in case of my Project so I’m using it.

Please visit reference link and If I’m doing anything wrong please let me know.

Thanks,
Alina

From: Alex Harui [mailto:aharui@adobe.com<ma...@adobe.com>]
Sent: Tuesday, February 27, 2018 12:00 AM

To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

Hi Alina,

I pushed a fix for that.  It might or might not be related to your custom swc.  Get the latest nightly build and let us know.

Also, if you are successful, please use your regular compiler to generate a -link–report.  That will help us verify that the API report didn't miss anything.

Thanks,
-Alex


From: Alina Kazi <al...@d-bz.com>>
Reply-To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Date: Monday, February 26, 2018 at 4:01 AM
To: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>
Subject: RE: Generating API report for Flex Web Browser application

Generated Report file for Sample Project Successfully.

spark.components.Application:minHeight,1
spark.components.Application:minWidth,1
spark.components.Application:mxmlContentFactory,2
spark.components.Label:fontSize,1
spark.components.Label:fontWeight,1
spark.components.Label:horizontalCenter,1
spark.components.Label:text,1
spark.components.Label:textAlign,1
spark.components.Label:verticalCenter,1

But while executing Actual Project got Error:
https://www.dropbox.com/s/d25eysllavuy5z4/compile2.png?dl=0<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fd25eysllavuy5z4%2Fcompile2.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=2i28J4zjv1vEQ7sd%2BGfHm%2Bh1FjG%2BP3YdJCc6rGZr3C4%3D&reserved=0>
https://www.dropbox.com/s/49iq74zk6rxcr1y/compile1.png?dl=0<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F49iq74zk6rxcr1y%2Fcompile1.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=44tfkOscWyJ%2FH3M30HeJ6dfFE0TlpTMhQ2t%2Bv%2ByuoDg%3D&reserved=0>

May be because my Application is dependent to SHMALib(.swc) Library Project (Source Shared Earlier).

-Alina

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com]
Sent: Monday, February 26, 2018 5:02 PM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

Alex,

I did above exercise for Moonshine and got NPE [1]. I used air-config.xml because it is na Desktop app.

[1] https://paste.apache.org/R0Si<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FR0Si&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=tFLrK9xsVt57PytwBaNoUJ%2FIPFH7FCHDtfrmJ1sAl3Y%3D&reserved=0>

Thanks,
Piotr


2018-02-26 12:56 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>>:
Yishay,

Thank you so much!! I got it working.

Alina,

Here is the full instruction.

1) Download Apache Royale with SWF support - if you have that is good, if not it's here [1]
2) Download Apache Flex - you have it as I have seen on the screenshot.
3) Launch console and go to the Royale SDK folder

"yourpathtosdk\bin\" - In my case it was: "d:\Work\royale_ide\royale_nightly_js_swf\bin\"

4) Run following command where you will point to the Flex Browser application in order to generate report. My command looks like that:

mxmlc "c:\Users\piotr\Documents\NewFlexBrowserProject\src\NewFlexBrowserProject.mxml" -api-report="c:\Users\piotr\Documents\NewFlexBrowserProject\report.txt" -load-config=d:\Work\flex-sdk-4.16.1_adobe_air_28\frameworks\flex-config.xml

I generated report for hellow world. Maybe in order to generate report for your application that console command may be much more sophisticated. Let's see!


[1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/lastSuccessfulBuild/artifact/out/<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2Fout%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=O%2BpVQ8OuhB%2FtE4ZdylTSkAQCWsIPBGlr9RgiTjWSWEM%3D&reserved=0>

Thanks,
Piotr


2018-02-26 12:46 GMT+01:00 Yishay Weiss <yi...@hotmail.com>>:
Looks like [1] you do need to add compiler option: -api–report=<path to output file>

[1] http://apache-royale-users.20374.n8.nabble.com/Substitutes-in-Apache-Royale-tp392p492.html<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p492.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kda6SpkBgdRqGAeGJ5Db629EAy7KAVbOZKzhzhynRZk%3D&reserved=0>


From: Piotr Zarzycki<ma...@gmail.com>
Sent: Monday, February 26, 2018 1:37 PM

To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

I have produced with that swf, but what's next? Let's wait for Alex's response [1]

[1] https://paste.apache.org/YEeG<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FYEeG&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8ameYzJ7AloOW4nTa8dqu7zYxwORSQc5sCUqpZDVA%2BY%3D&reserved=0>

Thanks,
Piotr

2018-02-26 12:32 GMT+01:00 Yishay Weiss <yi...@hotmail.com>>:
Alex will know but I don’t think so. I haven’t updated the compiler recently so can’t test it right now. If you want to test it maybe just create a simple app and replace /Users/aharui/ApacheFlex4.16.0 with your sdk home.



From: Piotr Zarzycki<ma...@gmail.com>
Sent: Monday, February 26, 2018 1:25 PM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

Hi Yishay,

bin/mxmlc
<path to app's
.mxml
file>
-load-config=/Users/aharui/ApacheFlex4.16.0/frameworks/flex-config.xml

Do I need some switch for compiler -api-report or something like that ?

Thanks,
Piotr


2018-02-26 12:10 GMT+01:00 Yishay Weiss <yi...@hotmail.com>>:
Wasn’t logged in. Here’s [1] the link.

[1] http://apache-royale-users.20374.n8.nabble.com/Substitutes-in-Apache-Royale-tp392p489.html<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p489.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8Tp5%2BFveKS0eoW7D8EovITPQqYrgwDK4P7cW9izXFH8%3D&reserved=0>


From: Yishay Weiss<ma...@hotmail.com>
Sent: Monday, February 26, 2018 12:59 PM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

I couldn’t find a way to link to a nabble post, but this [1] might help (from Substitutes in Apache Royale).

[1] https://paste.apache.org/N2QR<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FN2QR&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=VIS8u6EEBWN6jQrFxpttZvAfUCSSKPe3rbrBDU2w7Sg%3D&reserved=0>

From: Piotr Zarzycki<ma...@gmail.com>
Sent: Monday, February 26, 2018 12:44 PM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Generating API report for Flex Web Browser application

Hi Alex,

I would like to understand how to generate that report. I will go with the console path, because I think this is something unusual and probably Moonshine is not prepared to do this. I'm writing this on the users mailing list because Alina is having some problems with that. I wanted to simplify all of that. Let's start from the beginning.

1) I have created Flex Web browser project using Apache Flex SDK 4.16.1.
2) I have nightly build of Royale with SWF support [1]

What should I type in the console now ?

[1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/lastSuccessfulBuild/artifact/<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=UtYFFQ90aNB2HU2Vx4t8YAS6Eo2j1ZqVAytujEOgoFM%3D&reserved=0>

Thanks,
--

Piotr Zarzycki

Patreon: https://www.patreon.com/piotrzarzycki<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>





--

Piotr Zarzycki

Patreon: https://www.patreon.com/piotrzarzycki<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>




--

Piotr Zarzycki

Patreon: https://www.patreon.com/piotrzarzycki<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>




--

Piotr Zarzycki

Patreon: https://www.patreon.com/piotrzarzycki<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>



--

Piotr Zarzycki

Patreon: https://www.patreon.com/piotrzarzycki<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>



--

Piotr Zarzycki

Patreon: https://www.patreon.com/piotrzarzycki<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=zGrfZ2Wj3CLuuW%2B%2BKtUSQF6762Vn0%2BeNjCMlViBMghg%3D&reserved=0>



--

Piotr Zarzycki

Patreon: https://www.patreon.com/piotrzarzycki<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=9SvwIDdPmHwBdb8JTYPLsUYbRpv3EpJ2m0qWhERimGU%3D&reserved=0>



--

Piotr Zarzycki

Patreon: https://www.patreon.com/piotrzarzycki<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=9SvwIDdPmHwBdb8JTYPLsUYbRpv3EpJ2m0qWhERimGU%3D&reserved=0>



--

Piotr Zarzycki

Patreon: https://www.patreon.com/piotrzarzycki<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=9SvwIDdPmHwBdb8JTYPLsUYbRpv3EpJ2m0qWhERimGU%3D&reserved=0>



--

Piotr Zarzycki

Patreon: https://www.patreon.com/piotrzarzycki<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=9SvwIDdPmHwBdb8JTYPLsUYbRpv3EpJ2m0qWhERimGU%3D&reserved=0>



--

Piotr Zarzycki

Patreon: https://www.patreon.com/piotrzarzycki<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=9SvwIDdPmHwBdb8JTYPLsUYbRpv3EpJ2m0qWhERimGU%3D&reserved=0>



--

Piotr Zarzycki

Patreon: https://www.patreon.com/piotrzarzycki<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=9SvwIDdPmHwBdb8JTYPLsUYbRpv3EpJ2m0qWhERimGU%3D&reserved=0>



--

Piotr Zarzycki

Patreon: https://www.patreon.com/piotrzarzycki<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Ce8e9c5612d5b48f1ea3908d583fac479%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636560035460493938&sdata=9SvwIDdPmHwBdb8JTYPLsUYbRpv3EpJ2m0qWhERimGU%3D&reserved=0>

RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

Posted by Alina Kazi <al...@d-bz.com>.
Hi Piotr,

What should I do?

Do You want me to delete all files name royale-asjs? Or delete other folders royale-compiler n others.

 

Thanks Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Wednesday, March 07, 2018 12:07 PM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Ok! I just cloned separate repository and got similar problem. -> https://paste.apache.org/HuYU

 

2018-03-07 7:42 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Similar Error

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Wednesday, March 07, 2018 11:41 AM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Use "mvn -s settings-template.xml clean install" without pointing to profile -P utils.

 

2018-03-07 7:22 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Piotr,

Getting Similar Error in all cases. 

C:\Users\aleena>git clone https://github.com/apache/royale-asjs

Cloning into 'royale-asjs'...

remote: Counting objects: 101055, done.

remote: Compressing objects: 100% (127/127), done.

remote: Total 101055 (delta 101), reused 183 (delta 63), pack-reused 100828

Receiving objects: 100% (101055/101055), 19.27 MiB | 249.00 KiB/s, done.

Resolving deltas: 100% (61539/61539), done.

Checking out files: 100% (3572/3572), done.

 

C:\Users\aleena>cd royale-asjs

 

C:\Users\aleena\royale-asjs>git checkout develop

Already on 'develop'

Your branch is up to date with 'origin/develop'.

 

C:\Users\aleena\royale-asjs>mvn -s settings-template.xml clean install -P utils

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

maven-metadata.xml

[WARNING] Could not transfer metadata org.apache.flex.utilities.converter:flex-s

dk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from/to apache-sn

apshots (http://repository.apache.org/snapshots/): Connect to repository.apache.

org:80 [repository.apache.org/207.244.88.140] failed: Connection timed out: conn

ect

[WARNING] Failure to transfer org.apache.flex.utilities.converter:flex-sdk-conve

rter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from http://repository.ap

ache.org/snapshots/ was cached in the local repository, resolution will not be r

eattempted until the update interval of apache-snapshots has elapsed or updates

are forced. Original error: Could not transfer metadata org.apache.flex.utilitie

s.converter:flex-sdk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml

 from/to apache-snapshots (http://repository.apache.org/snapshots/): Connect to

repository.apache.org:80 [repository.apache.org/207.244.88.140] failed: Connecti

on timed out: connect

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

flex-sdk-converter-maven-extension-1.0.0-SNAPSHOT.pom

[WARNING] Failed to read extensions descriptor C:\Users\aleena\royale-asjs\.mvn\

extensions.xml: Plugin org.apache.flex.utilities.converter:flex-sdk-converter-ma

ven-extension:1.0.0-SNAPSHOT or one of its dependencies could not be resolved: F

ailed to read artifact descriptor for org.apache.flex.utilities.converter:flex-s

dk-converter-maven-extension:jar:1.0.0-SNAPSHOT

[INFO] Scanning for projects...

Downloading from apache-release: https://repository.apache.org/content/repositor

ies/releases/org/apache/apache/18/apache-18.pom

Downloading from central: https://repo.maven.apache.org/maven2/org/apache/apache

/18/apache-18.pom

[ERROR] [ERROR] Some problems were encountered while processing the POMs:

[FATAL] Non-resolvable parent POM for org.apache.royale.framework:royale-framewo

rk-parent:0.9.2-SNAPSHOT: Could not transfer artifact org.apache:apache:pom:18 f

rom/to apache-release (https://repository.apache.org/content/repositories/releas

es): Connect to repository.apache.org:443 [repository.apache.org/207.244.88.140]

 failed: Connection timed out: connect and 'parent.relativePath' points at no lo

cal POM @ line 24, column 11

 @

[ERROR] The build could not read 1 project -> [Help 1]

[ERROR]

[ERROR]   The project org.apache.royale.framework:royale-framework-parent:0.9.2-

SNAPSHOT (C:\Users\aleena\royale-asjs\pom.xml) has 1 error

[ERROR]     Non-resolvable parent POM for org.apache.royale.framework:royale-fra

mework-parent:0.9.2-SNAPSHOT: Could not transfer artifact org.apache:apache:pom:

18 from/to apache-release (https://repository.apache.org/content/repositories/re

leases): Connect to repository.apache.org:443 [repository.apache.org/207.244.88.

140] failed: Connection timed out: connect and 'parent.relativePath' points at n

o local POM @ line 24, column 11 -> [Help 2]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit

ch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please rea

d the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin

gException

[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableMo

delException

 

Thanks,

Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Wednesday, March 07, 2018 11:25 AM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Alina,

 

I see in your trace that you have cloned typedefs instead asjs -> "git clone https://github.com/apache/royale-typedefs.git". You should clone: 

 

git clone https://github.com/apache/royale-asjs and switch to "develop" branch than try to build.

 

However let me try build typedefs only in the meantime clone asjs and try again.

 

Thanks, Piotr

 

 

2018-03-07 7:19 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:

Alina,

 

Not sure, but let me try that on my sight, however I doubt that. Maven is a very distinguished from all the environment variables. If you got that build running you don't have to use almost all. :)

 

2018-03-07 7:03 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Piotr,

 

ROYALE_HOME environment variable is set to D:\royale-asjs that is the path for installed latest nightly build. This could be the reason ?

 

Thanks,

Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Wednesday, March 07, 2018 10:56 AM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Please try again build. Maybe it was some temporary problem. My build is running right now without the problem. Maven downloading dependencies nicely.

 

Thanks, Piotr

 

2018-03-07 6:39 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Piotr,

Its Working.

This XML file does not appear to have any style information associated with it. The document tree is shown below.

<metadata modelVersion="1.1.0">

<groupId>org.apache.flex.utilities.converter</groupId>

<artifactId>retrievers</artifactId>

<version>1.0.0-SNAPSHOT</version>

<versioning>

<snapshot>

<timestamp>20171112.204231</timestamp>

<buildNumber>490</buildNumber>

</snapshot>

<lastUpdated>20171112204231</lastUpdated>

<snapshotVersions>

<snapshotVersion>

<extension>pom</extension>

<value>1.0.0-20171112.204231-490</value>

<updated>20171112204231</updated>

</snapshotVersion>

</snapshotVersions>

</versioning>

</metadata>

 

Thanks,

Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Wednesday, March 07, 2018 10:48 AM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alina,

 

I just removed my whole local repository and trying exactly the same scenario. Just quick question can you try in your browser open this link ? Is it working ?

 

http://repository.apache.org/snapshots/org/apache/flex/utilities/converter/retrievers/1.0.0-SNAPSHOT/maven-metadata.xml

 

Thanks,

Piotr

 

2018-03-07 6:27 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Piotr,

Using Maven :

C:\Users\aleena>git clone https://github.com/apache/royale-typedefs.git royale-a

sjs

Cloning into 'royale-asjs'...

remote: Counting objects: 3318, done.

remote: Compressing objects: 100% (93/93), done.

remote: Total 3318 (delta 48), reused 76 (delta 16), pack-reused 3200

Receiving objects: 100% (3318/3318), 3.51 MiB | 244.00 KiB/s, done.

Resolving deltas: 100% (1337/1337), done.

 

C:\Users\aleena>cd royale-asjs

 

C:\Users\aleena\royale-asjs>git checkout develop

Already on 'develop'

Your branch is up to date with 'origin/develop'.

 

C:\Users\aleena\royale-asjs>mvn -s settings-template.xml clean install

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

maven-metadata.xml

[WARNING] Could not transfer metadata org.apache.flex.utilities.converter:flex-s

dk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from/to apache-sn

apshots (http://repository.apache.org/snapshots/): Connect to repository.apache.

org:80 [repository.apache.org/207.244.88.140] failed: Connection timed out: conn

ect

[WARNING] Failure to transfer org.apache.flex.utilities.converter:flex-sdk-conve

rter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from http://repository.ap

ache.org/snapshots/ was cached in the local repository, resolution will not be r

eattempted until the update interval of apache-snapshots has elapsed or updates

are forced. Original error: Could not transfer metadata org.apache.flex.utilitie

s.converter:flex-sdk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml

 from/to apache-snapshots (http://repository.apache.org/snapshots/): Connect to

repository.apache.org:80 [repository.apache.org/207.244.88.140] failed: Connecti

on timed out: connect

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

flex-sdk-converter-maven-extension-1.0.0-SNAPSHOT.pom

[WARNING] Failed to read extensions descriptor C:\Users\aleena\royale-asjs\.mvn\

extensions.xml: Plugin org.apache.flex.utilities.converter:flex-sdk-converter-ma

ven-extension:1.0.0-SNAPSHOT or one of its dependencies could not be resolved: F

ailed to read artifact descriptor for org.apache.flex.utilities.converter:flex-s

dk-converter-maven-extension:jar:1.0.0-SNAPSHOT

[INFO] Scanning for projects...

Downloading from apache-release: https://repository.apache.org/content/repositor

ies/releases/org/apache/apache/18/apache-18.pom

Downloading from central: https://repo.maven.apache.org/maven2/org/apache/apache

/18/apache-18.pom

[ERROR] [ERROR] Some problems were encountered while processing the POMs:

[FATAL] Non-resolvable parent POM for org.apache.royale.typedefs:royale-typedefs

-parent:0.9.2-SNAPSHOT: Could not transfer artifact org.apache:apache:pom:18 fro

m/to apache-release (https://repository.apache.org/content/repositories/releases

): Connect to repository.apache.org:443 [repository.apache.org/207.244.88.140] f

ailed: Connection timed out: connect and 'parent.relativePath' points at wrong l

ocal POM @ line 23, column 11

 @

[ERROR] The build could not read 1 project -> [Help 1]

[ERROR]

[ERROR]   The project org.apache.royale.typedefs:royale-typedefs-parent:0.9.2-SN

APSHOT (C:\Users\aleena\royale-asjs\pom.xml) has 1 error

[ERROR]     Non-resolvable parent POM for org.apache.royale.typedefs:royale-type

defs-parent:0.9.2-SNAPSHOT: Could not transfer artifact org.apache:apache:pom:18

 from/to apache-release (https://repository.apache.org/content/repositories/rele

ases): Connect to repository.apache.org:443 [repository.apache.org/207.244.88.14

0] failed: Connection timed out: connect and 'parent.relativePath' points at wro

ng local POM @ line 23, column 11 -> [Help 2]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit

ch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please rea

d the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin

gException

[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableMo

delException

 

C:\Users\aleena\royale-asjs>

 

Thanks

Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Tuesday, March 06, 2018 5:30 PM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alina,

 

You can try to go with Maven to see whether you have similar problems [1]

 

[1] https://github.com/apache/royale-asjs/wiki/Build-Apache-Royale-with-Maven

 

Thanks, Piotr

 

2018-03-06 13:12 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Alex,

Still getting same error, while executing:

C:\Users\aleena\royale-asjs>ant all

Website link is working :

http://www.antlr.org/license.html

 

could be only issue , Antlr server will be off-line ?

 

Thanks,

Alina

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Tuesday, March 06, 2018 4:38 PM
To: 'users@royale.apache.org'
Subject: RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alex,

 

We can exclude ScaleX , ScaleY,transform from our code as we are using it in our Library Project Only.

We are using “Rotation” in a PopUp Window. 

 

Can you please explain emulation ?

How do they will work?

 

Thanks,

Alina

 

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Tuesday, March 06, 2018 3:14 PM
To: 'users@royale.apache.org'
Subject: RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alex,

We are using commitProperties() in our Library Project. Overriding the Existing Spark commitProperties() method 

For Example:

ResizableTextAreaSkin.mxml (SHMALib)

override protected function commitProperties():void {

                                                super.commitProperties();

 

                                                if (lineBreakChanged) {

                                                                updateStringStyle("lineBreak");

                                                                lineBreakChanged = false;

                                                }

                                                if (paddingChanged) {

                                                                updatePadding();

                                                                paddingChanged = false;

                                                }

                                                if (verticalAlignChanged) {

                                                                updateStringStyle("verticalAlign");

                                                                verticalAlignChanged = false;

                                                }

                                }

We are using 


Package

 <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/package-detail.html> flash.display


Class

public class DisplayObject


Inheritance

DisplayObject Inheritance  <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/EventDispatcher.html> EventDispatcher Inheritance  <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Object.html> Object


Reference Link:

	

https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/DisplayObject.html

 

e.g :

                public function updateLayoutWithoutAnimation():void

                                {

                                                if(_layoutInvalid == true && layoutFunction != null)

                                                {

                                                                _layoutInvalid = false;

                                                                layoutFunction();

                                                }

 

                                                for(var aChild:* in _targets)

                                                {

                                                                var target:LayoutTarget = _targets[aChild];

                                                                var item:IFlexDisplayObject = target.item;

                                                                var m:Matrix = DisplayObject(item).transform.matrix;

 

                                                                m.tx = target.x;

                                                                m.ty = target.y;

                                                                m.a = target.scaleX;                                                                        

                                                                m.d = target.scaleY

                                                                

                                                                DisplayObject(item).alpha = target.alpha;

                                                                DisplayObject(item).transform.matrix = m;

                                                                item.setActualSize(target.unscaledWidth,target.unscaledHeight);

                                                                if(target.state == "removed")

                                                                {

                                                                                delete _targets[target.item];

                                                                                continue;

                                                                }

                                                                else

                                                                {

                                                                                target.state = "positioned"

                                                                }

                                                }

                                                stopTimer();

                                }

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, March 06, 2018 1:36 PM
To: users@royale.apache.org
Subject: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alina,

 

I'm starting on the emulation.  I've noticed that your application code appears to be calling commitProperties().  Can you tell us why?

 

Also, it looks like there are a few uses of rotation, transform, scaleX and scaleY.  What are those used for?

 

Thanks,

-Alex

 

From: Alex Harui <ah...@adobe.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 11:38 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Try again.  Sometimes the Antlr server goes off-line around this time of day.

 

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 11:12 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Using jdk1.8.0_162:

 

C:\Users\aleena\royale-asjs>ant all

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Buildfile: C:\Users\aleena\royale-asjs\build.xml

 

set.base.folder:

 

check-git:

     [echo] Checking for Git...

     [exec] git version 2.16.2.windows.1

 

get-download-folder:

 

download-all:

     [echo] Using folder C:\Users\aleena\royale-asjs/..

 

check-royale-asjs:

 

warn-before-clone:

 

check-royale-asjs:

 

clone-royale-asjs:

 

check-royale-compiler:

 

clone-royale-compiler:

 

check-royale-typedefs:

 

clone-royale-typedefs:

 

check-playerglobal-home:

 

check-air-home:

 

build-all:

 

ask-before-build-all:

    [input] This script will now download and compile lots of files.  This can t

ake several minutes.   No interaction should be required.  Press the enter key t

o continue.

 

 

sdk:

 

annotate.class:

    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-

build-tools\target\classes

    [javac] warning: [options] bootstrap class path not set in conjunction with

-source 1.5

    [javac] warning: [options] source value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] target value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] To suppress warnings about obsolete options, use

-Xlint:-options.

    [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\src\main\java\o

rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:24: warning: [serial

] serializable class AnnotateClassDeleteException has no definition of serialVer

sionUID

    [javac]     public static class AnnotateClassDeleteException extends Excepti

on

    [javac]                   ^

    [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\src\main\java\o

rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:32: warning: [serial

] serializable class AnnotateClassRenameException has no definition of serialVer

sionUID

    [javac]     public static class AnnotateClassRenameException extends Excepti

on

    [javac]                   ^

    [javac] 6 warnings

 

unknown.tree.pattern.input.output:

    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-

build-tools\target\classes

    [javac] warning: [options] bootstrap class path not set in conjunction with

-source 1.5

    [javac] warning: [options] source value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] target value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] To suppress warnings about obsolete options, use

-Xlint:-options.

    [javac] 4 warnings

 

main:

 

compiler.downloads.cache:

 

compiler.downloads:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

prepare:

     [echo] Making lib directory C:\Users\aleena\royale-compiler\compiler/lib/ex

ternal

    [mkdir] Created dir: C:\Users\aleena\royale-compiler\compiler\lib\external

 

all:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

check-dependency:

     [echo] checking for C:\Users\aleena\royale-compiler\compiler/lib/external//

antlr.jar

 

download-dependency:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

echo-project-jar:

   [delete] Deleting: C:\Users\aleena\royale-compiler\compiler\src\main\resource

s\project.properties

     [echo] ${INFO_DOWNLOADING_FILE_FROM}

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

download-apache-license:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

download-other-license:

      [get] Getting: http://www.antlr.org/license.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0> 

      [get] To: C:\Users\aleena\royale-compiler\compiler\lib\external\antlr-LICE

NSE.html

      [get] Error getting http://www.antlr.org/license.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0>  to C:\Users\aleena\r

oyale-compiler\compiler\lib\external\antlr-LICENSE.html

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

double-check-file:

     [echo] ${env.ROYALE_DOWNLOAD_CACHE}

     [echo] Need file: ${still_no_file}

 

get-from-cache-if-needed:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

fail-if-not-found:

 

BUILD FAILED

C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-compiler\build.xml:64: The following error occurred while

 executing this line:

C:\Users\aleena\royale-compiler\compiler-jburg-types\build.xml:87: The following

 error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:81: Th

e following error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:275: T

he following error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:329: T

he following error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:489: C

:\Users\aleena\royale-compiler\compiler/lib/external//antlr-LICENSE.html could n

ot be downloaded or found in cache

 

Total time: 47 seconds

 

C:\Users\aleena\royale-asjs>

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, March 06, 2018 11:55 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Please use JDK8.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 10:40 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

Java version that I am using is “9.0.1”

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, March 06, 2018 11:42 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

What version of Java are you using?  Please get a JDK7 or 8 and try that.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 10:22 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Command Prompt Output is:

C:\Users\aleena>git clone https://github.com/apache/royale-asjs.git <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs.git&data=02%7C01%7Caharui%40adobe.com%7Cdf86fa0dd25b41ffbc8108d5832f0997%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559160423949211&sdata=d9cKX4ILIQPLI5USXvAafSnrWZSgW1XHw6G4r%2B9wgsE%3D&reserved=0>  royale-asjs

Cloning into 'royale-asjs'...

remote: Counting objects: 101103, done.

remote: Compressing objects: 100% (22/22), done.

remote: Total 101103 (delta 9), reused 30 (delta 7), pack-reused 101066R

Receiving objects: 100% (101103/101103), 19.23 MiB | 208.00 KiB/s, done.

 

Resolving deltas: 100% (61584/61584), done.

Checking out files: 100% (3572/3572), done.

 

C:\Users\aleena>cd royale-asjs

 

C:\Users\aleena\royale-asjs>git checkout develop

Already on 'develop'

Your branch is up to date with 'origin/develop'.

 

C:\Users\aleena\royale-asjs>ant all

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Buildfile: C:\Users\aleena\royale-asjs\build.xml

 

set.base.folder:

 

check-git:

     [echo] Checking for Git...

     [exec] git version 2.16.2.windows.1

 

get-download-folder:

 

download-all:

     [echo] Using folder C:\Users\aleena\royale-asjs/..

 

check-royale-asjs:

 

warn-before-clone:

 

check-royale-asjs:

 

clone-royale-asjs:

 

check-royale-compiler:

 

clone-royale-compiler:

     [echo] cloning royale-compiler repo into C:\Users\aleena\royale-asjs/../roy

ale-compiler

     [exec] Cloning into 'royale-compiler'...

     [exec] Checking out files:   8% (284/3191)

     [exec] Checking out files:   9% (288/3191)   Checking out files:  10% (320/

3191)   Checking out files:  11% (352/3191)   Checking out files:  12% (383/3191

)   Checking out files:  13% (415/3191)   Checking out files:  13% (444/3191)

Checking out files:  14% (447/3191)   Checking out files:  15% (479/3191)   Chec

king out files:  16% (511/3191)   Checking out files:  17% (543/3191)   Checking

 out files:  18% (575/3191)   Checking out files:  19% (607/3191)   Checking out

 files:  20% (639/3191)   Checking out files:  20% (641/3191)   Checking out fil

es:  21% (671/3191)   Checking out files:  22% (703/3191)   Checking out files:

 23% (734/3191)   Checking out files:  24% (766/3191)   Checking out files:  25%

 (798/3191)   Checking out files:  26% (830/3191)   Checking out files:  26% (84

2/3191)   Checking out files:  27% (862/3191)   Checking out files:  28% (894/31

91)   Checking out files:  29% (926/3191)   Checking out files:  30% (958/3191)

  Checking out files:  31% (990/3191)   Checking out files:  32% (1022/3191)   C

hecking out files:  33% (1054/3191)   Checking out files:  34% (1085/3191)   Che

cking out files:  35% (1117/3191)   Checking out files:  36% (1149/3191)   Check

ing out files:  37% (1181/3191)   Checking out files:  38% (1213/3191)   Checkin

g out files:  39% (1245/3191)   Checking out files:  40% (1277/3191)   Checking

out files:  40% (1308/3191)   Checking out files:  41% (1309/3191)   Checking ou

t files:  42% (1341/3191)   Checking out files:  42% (1352/3191)   Checking out

files:  43% (1373/3191)   Checking out files:  44% (1405/3191)   Checking out fi

les:  45% (1436/3191)   Checking out files:  46% (1468/3191)   Checking out file

s:  47% (1500/3191)   Checking out files:  48% (1532/3191)   Checking out files:

  49% (1564/3191)   Checking out files:  49% (1578/3191)   Checking out files:

50% (1596/3191)   Checking out files:  51% (1628/3191)   Checking out files:  52

% (1660/3191)   Checking out files:  53% (1692/3191)   Checking out files:  54%

(1724/3191)   Checking out files:  55% (1756/3191)   Checking out files:  56% (1

787/3191)   Checking out files:  57% (1819/3191)   Checking out files:  58% (185

1/3191)   Checking out files:  59% (1883/3191)   Checking out files:  60% (1915/

3191)   Checking out files:  61% (1947/3191)   Checking out files:  62% (1979/31

91)   Checking out files:  63% (2011/3191)   Checking out files:  63% (2022/3191

)   Checking out files:  64% (2043/3191)   Checking out files:  65% (2075/3191)

  Checking out files:  66% (2107/3191)   Checking out files:  67% (2138/3191)

Checking out files:  68% (2170/3191)   Checking out files:  69% (2202/3191)   Ch

ecking out files:  70% (2234/3191)   Checking out files:  71% (2266/3191)   Chec

king out files:  72% (2298/3191)   Checking out files:  73% (2330/3191)   Checki

ng out files:  74% (2362/3191)   Checking out files:  75% (2394/3191)   Checking

 out files:  76% (2426/3191)   Checking out files:  77% (2458/3191)   Checking o

ut files:  78% (2489/3191)   Checking out files:  79% (2521/3191)   Checking out

 files:  80% (2553/3191)   Checking out files:  81% (2585/3191)   Checking out f

iles:  82% (2617/3191)   Checking out files:  83% (2649/3191)   Checking out fil

es:  83% (2679/3191)   Checking out files:  84% (2681/3191)   Checking out files

:  85% (2713/3191)   Checking out files:  86% (2745/3191)   Checking out files:

 87% (2777/3191)   Checking out files:  88% (2809/3191)   Checking out files:  8

9% (2840/3191)   Checking out files:  89% (2845/3191)   Checking out files:  90%

 (2872/3191)   Checking out files:  91% (2904/3191)   Checking out files:  92% (

2936/3191)   Checking out files:  93% (2968/3191)   Checking out files:  94% (30

00/3191)   Checking out files:  95% (3032/3191)   Checking out files:  95% (3035

/3191)   Checking out files:  96% (3064/3191)   Checking out files:  97% (3096/3

191)   Checking out files:  98% (3128/3191)   Checking out files:  99% (3160/319

1)   Checking out files: 100% (3191/3191)   Checking out files: 100% (3191/3191)

, done.

     [exec] Your branch is up to date with 'origin/develop'.

     [exec] Already on 'develop'

 

check-royale-typedefs:

 

clone-royale-typedefs:

     [echo] cloning royale-typedefs repo into C:\Users\aleena\royale-asjs/../roy

ale-typedefs

     [exec] Cloning into 'royale-typedefs'...

     [exec] Your branch is up to date with 'origin/develop'.

     [exec] Already on 'develop'

 

check-playerglobal-home:

 

check-air-home:

 

build-all:

 

ask-before-build-all:

    [input] This script will now download and compile lots of files.  This can t

ake several minutes.   No interaction should be required.  Press the enter key t

o continue.

 

sdk:

 

annotate.class:

    [mkdir] Created dir: C:\Users\aleena\royale-compiler\compiler-build-tools\ta

rget\classes

    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-

build-tools\target\classes

    [javac] warning: [options] bootstrap class path not set in conjunction with

-source 1.5

    [javac] error: Source option 1.5 is no longer supported. Use 1.6 or later.

    [javac] error: Target option 1.5 is no longer supported. Use 1.6 or later.

 

BUILD FAILED

C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-compiler\build.xml:63: The following error occurred while

 executing this line:

C:\Users\aleena\royale-compiler\compiler-build-tools\build.xml:74: Compile faile

d; see the compiler error output for details.

 

Total time: 17 minutes 59 seconds

 

C:\Users\aleena\royale-asjs>

 

Unable to Build, Please guide.

 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Friday, March 02, 2018 10:31 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I was able to download and expand the files.  I will be consolidating the data today. 

 

In order to be able to write some of these emulations, you will probably need to be able to build the framework sources.  If you haven't already, you can try cloning the royale-asjs repo and figure out how to get it to build.  You can choose Apache Maven or Apache Ant as the build tool.

 

https://github.com/apache/royale-asjs <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs&data=02%7C01%7Caharui%40adobe.com%7C3c1833c1fc9442003f2608d5832c7fe0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559149534170415&sdata=YqGTpbzoou8SilHbsTxjriIjiREaS%2FA9j6xjZYRR%2F4E%3D&reserved=0> 

 

Hopefully the instruction in the readme are sufficient.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Friday, March 2, 2018 at 12:34 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

Application API-Report link:

https://www.dropbox.com/s/swvqhly6wa0jrc5/API-Reports.rar?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fswvqhly6wa0jrc5%2FAPI-Reports.rar%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C928c248220464230f6dd08d5801a2f13%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555772324148830&sdata=9%2BsrGG41iCMIEmbtqnEbV%2BPvi1ngE9vF%2BKuqPAZ%2Bzao%3D&reserved=0> 

SHMALib Report, applications,shmDoclist,shmSetupList,AppView_EIS, AppView_ERP,shmMappingSetup, shmMappingSetupOpenDetailGrid,shmSalesInvoice, shmSalesInvoiceDetail are main API Files.

 

Regards,

Alina

 

 

 

 

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Friday, March 02, 2018 11:32 AM
To: users@royale.apache.org
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

2) We are using Effects in our Application 2-3 times 

4) We are using text styling in our Application 3-5 times 

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Friday, March 02, 2018 4:26 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

1) Interesting about Charts.  They were being used by the SWC.

2) Effects are any animations that move, resize or fade things in the UI.

3) ok

4) I'm not sure what to conclude from the screenshot.  I'm interested in how often folks use it to create text with bold, italics and other styling of text.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Thursday, March 1, 2018 at 4:24 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

600 mxml.api.txt files are generated and still in process. I will share link for files tomorrow.

After sharing my files tomorrow, If you will suggest to build  emulations. 

I will  definitely want to learn how to create emulations and contribute them to Apache Royale.  

1.We are not using Charts in our Application

2. How important are effects? (Please explain effects )

3. We are not using Right-to-left languages in RichTextEditor.

4. Is RichTextEditor being used for non-plain text?  If so, what kinds of text styling is important?

Link:https://www.dropbox.com/s/ky93eycmefm3cuu/RICHTEXTEDITOR.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fky93eycmefm3cuu%2FRICHTEXTEDITOR.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cff526ec5592c42772ade08d57f713736%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555046634193460&sdata=BjS8q1GarTweRfMMmZOKxN%2FTQTqhtzJlm05KAtWnNTQ%3D&reserved=0> 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 10:45 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Good to hear it worked.

 

I think I am waiting on all of the mxml.api.txt files to see what else is in there that isn't in the two reports we have, then we'll have a pretty good list of the places you will either need to change in your code or that we  will build emulations for.

 

I think emulations will be less work in the end, but there will be a lot of them to do.  We will want to you to learn how to create emulations and contribute them to Apache Royale.  That's how many Apache projects work: some of the users learn how to become committers.  This will be an asset to your company as well since you will learn how to fix things in Royale yourself.  Then your company won't be dependent on outsiders for support.

 

So, Peter and I and hopefully others will get started on some emulations to make sure they work for us, and then you can see if they work for you, and then we will teach you how to write those emulations.  Over the next several months, besides testing emulations written by others in your app, you will be writing your own emulations for things you need right away that we haven't written yet, or for third-party code that you are using.

 

It might help to get some prioritization on the emulations we need to write.  In looking at the list, I am wondering:

1.	Are some charts more important than others?
2.	How important are effects?
3.	Do you use Right-to-left languages in RichTextEditor?
4.	Is RichTextEditor being used for non-plain text?  If so, what kinds of text styling is important?

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Wednesday, February 28, 2018 at 1:22 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Thank you.

It’s working with latest nightly build:

https://www.dropbox.com/s/77wkgrm74upkg0j/SHMALib%20Report.txt?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F77wkgrm74upkg0j%2FSHMALib%2520Report.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C16fa845b6d2f4efb7f4a08d57e8e9097%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636554073167111532&sdata=UV0BOZpVonw%2BILcK9njhQdf5pKpqWPccp0IKDPm4jOI%3D&reserved=0> 

 

 

Regards,

Alina

 

 

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 1:15 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Looks like COMPC collected the data but never generated the report.  I pushed a fix for that.  Please try the latest nightly build.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Tuesday, February 27, 2018 at 10:35 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Thank you

After commenting the embedded font part from source.

Output to console:

3462313 bytes written to D:\SHMALib.swc in 19.878 seconds

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"

 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\framewor

ks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\sr

c" -library-path+=D:\SHMALIB\libs

 

SHMALib.swf file Generated and Report.txt is empty 

SHMALib.swc output Link:

https://www.dropbox.com/s/4tz49sz134m2gg9/SHMALib.swc?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F4tz49sz134m2gg9%2FSHMALib.swc%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=%2FNcbTJtah21RRPeWfwg2pRaZ72hd%2BdG0iJlnH3GsA28%3D&reserved=0> 

then I change, Compc -output "D:\SHMALib.swc" to Compc -output "D:\SHMALib. txt " 

SHMALib.txt output Link:

https://www.dropbox.com/s/j38obt5e36awuh3/SHMALib.txt?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fj38obt5e36awuh3%2FSHMALib.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=V%2FcA5dJ3Fi1qOvh%2BtUlbU%2FZ%2FQ5SBfRw7psjsm2Q%2Fe8w%3D&reserved=0> 

 

Thanks,

Alina

 

 

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 11:18 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

The only error right now is the embedded font.

 

We can discuss the pros and cons of embedding images in the JS output at some other point in time.

 

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Tuesday, February 27, 2018 at 10:01 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Big Part of SHMALib Uses Embed and metadata :

 

                                // Embed the font so we can rotate it for further distortion

                                [Embed(systemFont="Comic Sans MS",

                                                                embedAsCFF='false')]

                <mx:Image y="4" width="18" height="20" right="185" source="@Embed(source='assets/default/images/load.png')"

                                                  source="@Embed(source='assets/default/images/next.gif')" scaleContent="false"/>

                <mx:Image y="4" width="18" height="20" right="3" source="@Embed(source='assets/default/images/magnifier.png')"

     * An IFrame which you can embed into Flex applications to show an HTML page.

     * @example A simple application with Google embedded

        // SWF embed object tracking

         * The SWF embed object id.

         * Get the embed object id.

        protected function resolveEmbedObjectId():void

                    var result:Object=ExternalInterface.call(IFrameExternalCalls.FUNCTION_ASK_FOR_EMBED_OBJECT_ID, randomIdentificationString.toString());

                        logger.info("Resolved the SWF embed object id to '{0}'.", applicationId);

                        logger.error('Could not resolve the SWF embed object Id.');

            // Resolve the SWF embed object id in the DOM.

            ExternalInterface.call(IFrameExternalCalls.INSERT_FUNCTION_ASK_FOR_EMBED_OBJECT_ID);

            resolveEmbedObjectId();

            logger.info("Loading IFrame with id '{0}', on SWF embed object with id '{1}'.", _frameId, applicationId);

                    FUNCTION_LOADIFRAME + " = function (frameID, iframeID, url, embedID, scrollPolicy)" +

                                      "onLoad='\"+embedID+\".\"+frameID+\"_load();' " +

        public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String = "askForEmbedObjectId";

        public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String = "askForEmbedObjectId";

        public static var INSERT_FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =

                "if (document." + FUNCTION_ASK_FOR_EMBED_OBJECT_ID + "==null)" +

                    FUNCTION_ASK_FOR_EMBED_OBJECT_ID + " = function(randomString) " + 

                            "var embeds = document.getElementsByTagName('embed'); " + 

                            "var embeds = document.getElementsByTagName('embed'); " + 

                            "for (var i = 0; i < embeds.length; i++) { " + 

                                "var isTheGoodOne = embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " + 

                                "var isTheGoodOne = embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " + 

                                    "return embeds[i].getAttribute('id'); " + 

                                 * The UITextField control for displaying embeded hints.

                                private var embedTextField:UITextField;

                                 *  The String to be shown as the embeded hint.

                                private var embedStr:String = "";

                                                                                embedStr = "MM DD YYYY";

                                                                                embedStr = "DD MM YYYY";

                                                                                embedStr = "YYYY MM DD";

                                                                                embedStr = "YYYY DD MM";

                                 *  Create child objects for displaying embeded hints.

                                                                embedTextField = new UITextField();

                                                                //embedTextField.text = embedStr;

                                                                //embedTextField.text = embedStr;

                                                                addChildAt(UITextField(embedTextField),getChildIndex(DisplayObject(textField)));//as TextField

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                                s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);

                                                                                                                                embedTextField.text = s;

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                                //s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);

                                                                                                                                //embedTextField.text = s;

                                                                                                                                s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);

                                                                                                                                embedTextField.text = s;

                                                                                // If embeded hints are displayed then update the

                                                                                // UITextField corresponding to the embeded hints

                                                                                                var s:String = embedTextField.text == null ? "":embedTextField.text;

                                                                                                var s:String = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                embedTextField.text = s;

                                                                // create the embeded text field for showing

                                                                // embeded hints if its not already created.

                                                                // If it is created, then just change the embeded hint.

                                                                if(!embedTextField)

                                                                                embedTextField = new UITextField();

                                                                                addChildAt(embedTextField,getChildIndex(DisplayObject(textField))); //as TextField

                                                                //embedTextField.text = embedStr;

                                                                //embedTextField.text = embedStr;

                                                                embedTextField.alpha = 1;

                                                                embedTextField.setTextFormat(txtFormat);

                                                                embedTextField.x = 0;

                                                                embedTextField.y = 2;

                                                                embedTextField.setActualSize(width,height);

                                                                if(embedTextField)

                                                                                embedTextField.text = "";

                                                                                embedTextField = null;

                                                // setting the color of the embeded text field to white.

                                                                if(embedTextField)

                                                                                embedTextField.setColor(0xFFFFFF);

                                                                                if(embedTextField)

                                                                                                addChildAt(DisplayObject(newSkin),getChildIndex(DisplayObject(embedTextField)));//

   background-image:                                      Embed(source="/assets/application_background.png",

                up-skin:                Embed("/assets/maximize_up.png");

                over-skin:            Embed("/assets/maximize_over.png");

                down-skin:         Embed("/assets/maximize_up.png");

                selected-up-skin:   Embed("/assets/restore_up.png");

                selected-over-skin: Embed("/assets/restore_over.png");

                selected-down-skin: Embed("/assets/restore_up.png");

                up-skin:        Embed("/assets/minimize_up.png");

                over-skin:      Embed("/assets/minimize_over.png");

                down-skin:      Embed("/assets/minimize_up.png");

                up-skin:                                Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");

                over-skin:                            Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");

                down-skin:                         Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");

                selected-up-skin:                             Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");

                selected-over-skin:                         Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");

                selected-down-skin:                      Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");

                up-skin:                                Embed("/assets/left_arrow_up.gif");

                over-skin:                            Embed("/assets/left_arrow_over.gif");

                down-skin:                         Embed("/assets/left_arrow_up.gif");

                disabled-skin:    Embed("/assets/left_arrow_disabled.gif");

                up-skin:                                Embed("/assets/right_arrow_up.gif");

                over-skin:                            Embed("/assets/right_arrow_over.gif");

                down-skin:                         Embed("/assets/right_arrow_up.gif");

                disabled-skin:    Embed("/assets/right_arrow_disabled.gif");

                                //[Embed(source="/assets/cursor_move.gif")]

                                //[Embed(source="/assets/cursor_resize.gif")]

                                [Embed(source="/assets/default/images/mouseMove.gif")]

                                [Embed(source="/assets/default/images/verticalSize.gif")]

                                [Embed(source="/assets/default/images/horizontalSize.gif")]

                                [Embed(source="/assets/default/images/leftObliqueSize.gif")]

                                [Embed(source="/assets/default/images/rightObliqueSize.gif")]

                                                if (image.isEmbedded) 

                                                //if (!Application.application.systemManager.isFontFaceEmbedded(textFormat)) 

                                                if (!FlexGlobals.topLevelApplication.systemManager.isFontFaceEmbedded(textFormat))

                                                                if (Application.application.isFontsEmbedded) {

                                                                if (Application.application.isFontsEmbedded) {

                                                                if (Application.application.isFontsEmbedded) {

                                private var _isEmbedded:Boolean = false;

                                public function set isEmbedded(embedded:Boolean):void 

                                public function set isEmbedded(embedded:Boolean):void 

                                                _isEmbedded = embedded;

                                                _isEmbedded = embedded;

                                public function get isEmbedded():Boolean 

                                                return _isEmbedded;

                                                <mx:icon>@Embed(source='images/print.GIF')</mx:icon>

                                                <mx:icon>@Embed(source='images/reload.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/first-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/first.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/previous-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/previous.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/next-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/next.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/last-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/last.GIF')</mx:icon>

                                                                                <mx:icon>@Embed(source='images/actualsize.GIF')</mx:icon>

                                                                                <mx:icon>@Embed(source='images/fitpage.GIF')</mx:icon>

                                                                                <mx:icon>@Embed(source='images/fitwidth.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/zoomin-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/zoomin.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/zoomout-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/zoomout.GIF')</mx:icon>

                                                                <mx:icon>@Embed(source='images/print.GIF')</mx:icon>

                                                if (imageSourceXml.@isEmbedded.length() > 0)

                                                                image.isEmbedded = imageSourceXml.@isEmbedded == "true";

                                                                image.isEmbedded = imageSourceXml.@isEmbedded == "true";

                 source="@Embed(source='/assets/default/images/left_arrow_up.gif')"/>

                 source="@Embed(source='/assets/default/images/left_arrow_over.gif')"/>

                 source="@Embed(source='/assets/default/images/left_arrow_disabled.gif')"/>  

                                                                                   source="@Embed(source='/com/shm/flexlib/mdi/assets/img/maximizeButton.png')"/>

                                                                                   height="12" source="@Embed(source='/com/shm/flexlib/mdi/assets/img/restoreButton.png')"/>

                                                                                   source="@Embed(source='/com/shm/flexlib/mdi/assets/img/minimizeButton.png')"/>

                 source="@Embed(source='/assets/default/images/right_arrow_up.gif')"/>

                 source="@Embed(source='/assets/default/images/right_arrow_over.gif')"/>

                 source="@Embed(source='/assets/default/images/right_arrow_disabled.gif')"/>  

 

 

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 11:00 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I think you can ignore the warnings.  The first error is for embedding a font, which Royale doesn't currently support, so for now, try commenting out the Embed metadata and see if that allows the error to go away.

 

I would look into the other errors to see if they are legitimate or not.  The Royale Compiler will catch some things the MXMLC compiler may not.  Or you could comment out the code involved in the two errors in TImeZone.as for now since that won't affect the report.

 

The final two errors I saw are for missing skin states.  I think you can just add the skin states.

 

HTH,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Tuesday, February 27, 2018 at 9:35 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

While Executing

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\src"

Or 

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\Flex\libs\SH

MALIB.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bi

n\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\

SHMALIB\src" -library-path+=D:\SHMALIB\libs

 

Error:

(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to

field java.lang.Thread.inheritableThreadLocals

WARNING: Please consider reporting this to the maintainers of com.google.common.

base.internal.Finalizer

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect

ive access operations

WARNING: All illegal access operations will be denied in a future release

Loading configuration: D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(415): col: 50 Warning:

Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="DataProviderService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(419): col: 50 Warning:

Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="BasicFormatterService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(516): col: 50 Warning: Da

ta binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="DataProviderService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(520): col: 50 Warning: Da

ta binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="BasicFormatterService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\shmCaptchaImage.as(43): col: 3 Error: Embed re

quires a 'source' file attribute

 

                [Embed(systemFont="Comic Sans MS",

                ^

 

D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(37): col: 88 Warning: Data

binding will not be able to detect assignments to 'isSelected'.

 

                                        <mx:CheckBox selectedField="isSelected"

 change="onChange(event);" selected="{data.isSelected}">

 

                                          ^

 

D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(46): col: 27 Warning: Data

binding will not be able to detect assignments to 'label'.

 

                                        <mx:Label text="{data.label}" />

                                                             ^

 

D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(126): col: 15 Error: Impli

cit coercion of a value of type Boolean to an unrelated type Number.

 

                                if(year & 0x3 == 0)

                                          ^

 

D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(134): col: 39 Error: Impli

cit coercion of a value of type Boolean to an unrelated type Number.

 

                                if(month == 1 && value.fullYear & 0x3 == 0)

                                                                  ^

 

D:\SHMALIB\src\com\shm\dashboard\renderers\GridPodURLRenderer.mxml(6): col: 23 W

arning: Data binding will not be able to detect assignments to 'SrNo'.

 

                  htmlText="&lt;u&gt;{data.SrNo}&lt;/u&gt;" color="blue" click="

f_DrillDownData(data)">

                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml Error:

The required skin state 'disabledWithPrompt' is missing.

 

 

D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml Error:

The required skin state 'normalWithPrompt' is missing.

 

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(177): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(187): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(202): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(212): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(429): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(439): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(454): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(464): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(479): col: 26 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                field="{properties.@valueField}"

 

                                                                   ^

 

D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(115): col: 74 Warning

: Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject id="roDrillDownColInfo" channelSet="{parentAppl

ication.amfChannelSet}" showBusyCursor="true"

 

       ^

 

D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(118): col: 68 Warning

: Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject id="roDgDpResult" channelSet="{parentApplicatio

n.amfChannelSet}" showBusyCursor="true"

 

 ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PieChartContent.mxml(128): col: 24 Warning

: Data binding will not be able to detect assignments to 'valueField'.

 

                                field="{properties.@valueField}"

                                                   ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 37 Warning: Dat

a binding will not be able to detect assignments to 'appParams'.

 

                                                        inputMask="{parentApplic

ation.appParams.DATE_FORMAT}" showToday="true"  yearNavigationEnabled="true"

 

     ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 47 Warning: Dat

a binding will not be able to detect assignments to 'DATE_FORMAT'.

 

                                                        inputMask="{parentApplic

ation.appParams.DATE_FORMAT}" showToday="true"  yearNavigationEnabled="true"

 

               ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 38 Warning: Dat

a binding will not be able to detect assignments to 'appParams'.

 

                                                         inputMask="{parentAppli

cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true" showToday="true"

 

      ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 48 Warning: Dat

a binding will not be able to detect assignments to 'DATE_FORMAT'.

 

                                                         inputMask="{parentAppli

cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true" showToday="true"

 

                ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(12): col: 11 Warnin

g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

 

                        import mx.graphics.Stroke;

                               ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(37): col: 23 Warnin

g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

 

                                        lne.stroke = new Stroke(0,1,.3);

                                                         ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(46): col: 14 Warnin

g: Duplicate variable definition: i.

 

                                for (var i:int = 1; i < lnWdt; i++){

                                         ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(47): col: 10 Warnin

g: Duplicate variable definition: lne.

 

                                        var lne:Line  = new Line();

                                            ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(53): col: 23 Warnin

g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

 

                                        lne.stroke = new Stroke(0,1,.3);

                                                         ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(54): col: 10 Warnin

g: Duplicate variable definition: llbe.

 

                                        var llbe:Label = new Label();

                                            ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(157): col: 40 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var xPosition:Number = Application.application.p

arent.mouseX;

                                                                   ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(158): col: 40 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var yPosition:Number = Application.application.p

arent.mouseY;

                                                                   ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(225): col: 36 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var xPlus:Number = Application.application.paren

t.mouseX - point.x;

                                                               ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(226): col: 36 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var yPlus:Number = Application.application.paren

t.mouseY - point.y;

                                                               

Thanks,

Alina Kazi

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 10:16 AM
To: Alina Kazi; users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I think that Flash Builder makes it easy to build SWCs.  Building from the command line can be a bit trickier.

 

Let's try:

Compc -output "D:\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\src"

 

HTH,

-Alex

 

 

From: Alina Kazi <al...@d-bz.com>
Date: Tuesday, February 27, 2018 at 7:28 PM
To: "users@royale.apache.org" <us...@royale.apache.org>, Alex Harui <ah...@adobe.com>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Yes I am using Flash Builder.

SHMALIB and MainFlexApp are two separate Projects

Src for SHMALIB is placed into D:/SHMALIB/src

Src for MainFlexApp is D:/Flex/src and the library output file SHMALIB.swc is placed into D:/Flex/libs

 

SHMALIB (.actionscriptProperties)

 

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<actionScriptProperties mainApplicationPath="SHMALib.as" projectUUID="863559ab-3e7b-475b-a3a4-09f4f76fc0d2" version="6">

  <compiler additionalCompilerArguments="-locale en_US" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderLocation="D:/Flex/libs" outputFolderPath="bin-debug" sourceFolderPath="src" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" verifyDigests="true" warn="true">

    <compilerSourcePath/>

    <libraryPath defaultLinkType="0">

      <libraryPathEntry kind="4" path="">

        <excludedEntries>

          <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>

        </excludedEntries>

      </libraryPathEntry>

      <libraryPathEntry kind="1" linkType="1" path="libs"/>

    </libraryPath>

    <sourceAttachmentPath/>

  </compiler>

  <applications>

    <application path="SHMALib.as"/>

  </applications>

  <modules/>

  <buildCSSFiles/>

</actionScriptProperties>

 

SHMALIB (.flexLibProperties)

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<flexLibProperties includeAllClasses="true" version="3">

  <includeClasses/>

  <includeResources/>

  <namespaceManifests/>

</flexLibProperties>

 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 9:34 PM
To: Alina Kazi
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

When you are not trying to use Royale to generate this API report, how are you building your current Flex app?  We might need to know that in order to determine what parameters to add to COMPC.

 

COMPC has additional parameters like -include–sources, include-file, include-classes.  Sometimes, these are listed in an xml file.  If you are using Flash Builder, for example, then examine the .flexlibproperties and .actionscriptProperties files in your project folder.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Date: Tuesday, February 27, 2018 at 3:21 AM
To: 'Alina Kazi' <al...@d-bz.com>
Cc: Alex Harui <ah...@adobe.com>
Subject: RE: Generating API report for Flex Web Browser application

 

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"

 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"

Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by com.google.common.base.internal.Finalizer

(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to

field java.lang.Thread.inheritableThreadLocals

WARNING: Please consider reporting this to the maintainers of com.google.common.

base.internal.Finalizer

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect

ive access operations

 

Error: nothing was specified to be included in the library.

-Alina

 

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Tuesday, February 27, 2018 2:16 PM
To: 'users@royale.apache.org'
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

I am using Moonshine IDE 1.9.0.

Flex 4.16.0

Apache Royale 0.9.2 Latest Nightly Build

 

Running this Command on Command Prompt:

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"

 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"

Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by com.google.common.base.internal.Finalizer

(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to

field java.lang.Thread.inheritableThreadLocals

WARNING: Please consider reporting this to the maintainers of com.google.common.

base.internal.Finalizer

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect

ive access operations

WARNING: All illegal access operations will be denied in a future release

 

command line Error: unknown configuration variable 'sourceΓÇôpath'.

 

-Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 1:26 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

COMPC takes a slightly different set of parameters.  What IDE or build tools are you using to build it without Royale?  You might need to know what options that build uses.

 

You can try running: 

 

Compc -output "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source–path="D:\Projects\SHMA\Main\Flex\src" or wherever the source code is for the library.

 

HTH,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, February 26, 2018 at 11:33 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

For custom SWC, I am using COMPC to get an api-report for SWC

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>compc "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml

Error: configuration variable 'output' was not set.

 

 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 12:27 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Yes, any SWC that is not in the Flex SDK's frameworks/libs folder needs to be specified as Piotr describes below.  We want you specify the same MXML file that you use to compile in the regular Flex SDK.  So if your Application.mxml starts with an mx:Application or s:Application that’s probably the one to use.  But also, if you have your own custom SWCs, we want you to use COMPC to get an api-report for those SWCs.  We want this modified Royale compiler to compile every source file you own so we can see what Flex APIs you are using.

 

HTH,

-Alex

 

From: Piotr Zarzycki <pi...@gmail.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, February 26, 2018 at 11:19 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina, 

 

In my sense you will have to use -library-path+=path to the library. You have to tell compiler about that library.

 

Thanks, Piotr

 

2018-02-27 7:57 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi  Alex,

With latest nightly build:

MaskedTextInput , shmReportUtil …. Are Library Project Actionscript Files.

Main Application contains SHMALib.swc file in Libs folder

Error Link:

https://www.dropbox.com/s/p5imt22cuut0ex6/ErrorGeneratingReport.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fp5imt22cuut0ex6%2FErrorGeneratingReport.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=8f1f9duW2Red4bP77hFTh3mLcCptBmAwd87n1iSkk%2Bs%3D&reserved=0> 

 

I have a question that which .mxml file should be used to generate that report?

Applications.mxml is startup file in case of my Project so I’m using it.

 

Please visit reference link and If I’m doing anything wrong please let me know.

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 12:00 AM


To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I pushed a fix for that.  It might or might not be related to your custom swc.  Get the latest nightly build and let us know.

 

Also, if you are successful, please use your regular compiler to generate a -link–report.  That will help us verify that the API report didn't miss anything.

 

Thanks,

-Alex

 

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, February 26, 2018 at 4:01 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Generated Report file for Sample Project Successfully.

 

spark.components.Application:minHeight,1

spark.components.Application:minWidth,1

spark.components.Application:mxmlContentFactory,2

spark.components.Label:fontSize,1

spark.components.Label:fontWeight,1

spark.components.Label:horizontalCenter,1

spark.components.Label:text,1

spark.components.Label:textAlign,1

spark.components.Label:verticalCenter,1

 

But while executing Actual Project got Error:

https://www.dropbox.com/s/d25eysllavuy5z4/compile2.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fd25eysllavuy5z4%2Fcompile2.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=2i28J4zjv1vEQ7sd%2BGfHm%2Bh1FjG%2BP3YdJCc6rGZr3C4%3D&reserved=0> 

https://www.dropbox.com/s/49iq74zk6rxcr1y/compile1.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F49iq74zk6rxcr1y%2Fcompile1.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=44tfkOscWyJ%2FH3M30HeJ6dfFE0TlpTMhQ2t%2Bv%2ByuoDg%3D&reserved=0> 

 

May be because my Application is dependent to SHMALib(.swc) Library Project (Source Shared Earlier). 

 

-Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Monday, February 26, 2018 5:02 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Alex,

 

I did above exercise for Moonshine and got NPE [1]. I used air-config.xml because it is na Desktop app.

 

[1] https://paste.apache.org/R0Si <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FR0Si&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=tFLrK9xsVt57PytwBaNoUJ%2FIPFH7FCHDtfrmJ1sAl3Y%3D&reserved=0>  

 

Thanks,

Piotr

 

 

2018-02-26 12:56 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:

Yishay,

 

Thank you so much!! I got it working.

 

Alina,

 

Here is the full instruction.

 

1) Download Apache Royale with SWF support - if you have that is good, if not it's here [1]

2) Download Apache Flex - you have it as I have seen on the screenshot.

3) Launch console and go to the Royale SDK folder

 

"yourpathtosdk\bin\" - In my case it was: "d:\Work\royale_ide\royale_nightly_js_swf\bin\"

 

4) Run following command where you will point to the Flex Browser application in order to generate report. My command looks like that:

 

mxmlc "c:\Users\piotr\Documents\NewFlexBrowserProject\src\NewFlexBrowserProject.mxml" -api-report="c:\Users\piotr\Documents\NewFlexBrowserProject\report.txt" -load-config=d:\Work\flex-sdk-4.16.1_adobe_air_28\frameworks\flex-config.xml

 

I generated report for hellow world. Maybe in order to generate report for your application that console command may be much more sophisticated. Let's see!

 

 

[1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/lastSuccessfulBuild/artifact/out/ <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2Fout%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=O%2BpVQ8OuhB%2FtE4ZdylTSkAQCWsIPBGlr9RgiTjWSWEM%3D&reserved=0> 

 

Thanks,

Piotr

 

 

2018-02-26 12:46 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:

Looks like [1] you do need to add compiler option: -api–report=<path to output file>

 

[1] http://apache-royale-users.20374.n8.nabble.com/Substitutes-in-Apache-Royale-tp392p492.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p492.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kda6SpkBgdRqGAeGJ5Db629EAy7KAVbOZKzhzhynRZk%3D&reserved=0> 

 

 

From: Piotr Zarzycki <ma...@gmail.com> 
Sent: Monday, February 26, 2018 1:37 PM


To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

I have produced with that swf, but what's next? Let's wait for Alex's response [1] 

 

[1] https://paste.apache.org/YEeG <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FYEeG&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8ameYzJ7AloOW4nTa8dqu7zYxwORSQc5sCUqpZDVA%2BY%3D&reserved=0> 

 

Thanks,

Piotr

 

2018-02-26 12:32 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:

Alex will know but I don’t think so. I haven’t updated the compiler recently so can’t test it right now. If you want to test it maybe just create a simple app and replace /Users/aharui/ApacheFlex4.16.0 with your sdk home.

 

 

 

From: Piotr Zarzycki <ma...@gmail.com> 
Sent: Monday, February 26, 2018 1:25 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Yishay, 

 

bin/mxmlc

<path to app's

.mxml

file>

-load-config=/Users/aharui/ApacheFlex4.16.0/frameworks/flex-config.xml  

 

Do I need some switch for compiler -api-report or something like that ?

 

Thanks,

Piotr

 

 

2018-02-26 12:10 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:

Wasn’t logged in. Here’s [1] the link.

 

[1] http://apache-royale-users.20374.n8.nabble.com/Substitutes-in-Apache-Royale-tp392p489.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p489.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8Tp5%2BFveKS0eoW7D8EovITPQqYrgwDK4P7cW9izXFH8%3D&reserved=0> 

 

 

From: Yishay Weiss <ma...@hotmail.com> 
Sent: Monday, February 26, 2018 12:59 PM
To: users@royale.apache.org
Subject: RE: Generating API report for Flex Web Browser application

 

I couldn’t find a way to link to a nabble post, but this [1] might help (from Substitutes in Apache Royale).

 

[1] https://paste.apache.org/N2QR <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FN2QR&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=VIS8u6EEBWN6jQrFxpttZvAfUCSSKPe3rbrBDU2w7Sg%3D&reserved=0> 

 

From: Piotr Zarzycki <ma...@gmail.com> 
Sent: Monday, February 26, 2018 12:44 PM
To: users@royale.apache.org
Subject: Generating API report for Flex Web Browser application

 

Hi Alex, 

 

I would like to understand how to generate that report. I will go with the console path, because I think this is something unusual and probably Moonshine is not prepared to do this. I'm writing this on the users mailing list because Alina is having some problems with that. I wanted to simplify all of that. Let's start from the beginning. 

 

1) I have created Flex Web browser project using Apache Flex SDK 4.16.1. 

2) I have nightly build of Royale with SWF support [1]

 

What should I type in the console now ?

 

[1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/lastSuccessfulBuild/artifact/ <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=UtYFFQ90aNB2HU2Vx4t8YAS6Eo2j1ZqVAytujEOgoFM%3D&reserved=0> 

 

Thanks,
-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 

 

 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 

 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 

 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=zGrfZ2Wj3CLuuW%2B%2BKtUSQF6762Vn0%2BeNjCMlViBMghg%3D&reserved=0> 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki


RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

Posted by Alina Kazi <al...@d-bz.com>.
error link : 

https://www.dropbox.com/s/7dj2n7x9axabgj6/error%20maven%20compiler.txt?dl=0

 

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Monday, March 12, 2018 5:40 PM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Alina,

 

Let's try Alex's approach and build 1. compiler, 2. typedefs, 3. framework. Follow instruction [1]. Start from point 4. " Build Compiler (royale-compiler)". Let's see where you end up.

For me It's working even without building compiler and typedefs. Let's see whether you will have timeouts.

 

[1] https://github.com/apache/royale-asjs/wiki/Build-Apache-Royale-with-Maven

 

Thanks, Piotr

 

 

2018-03-12 13:16 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Piotr,

output : https://www.dropbox.com/s/aj1qehblok9yhfw/error.txt?dl=0

 

Thanks,

Alina

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Monday, March 12, 2018 4:43 PM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alina,

 

Can you run command with -X:  mvn -s settings-template.xml clean install -X.

 

Please paste your output on some paste - It will be easier for me analyze it. 

 

Thanks, Piotr

 

 

2018-03-12 12:18 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Piotr,

 

I am getting this error while executing maven command.

System environment variable path is:

PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32

\WindowsPowerShell\v1.0;C:\Program Files\Java\jdk1.8.0_31\bin;D:\apache-ant-1.10.2\bin;C:\Program Files\Git\cmd;D:\apache-maven-3.5.3\bin

 

d:\Apache\royale-asjs>mvn -s settings-template.xml install

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

maven-metadata.xml

[WARNING] Could not transfer metadata org.apache.flex.utilities.converter:flex-s

dk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from/to apache-sn

apshots (http://repository.apache.org/snapshots/): Connect to repository.apache.

org:80 [repository.apache.org/207.244.88.140] failed: Connection timed out: conn

ect

[WARNING] Failure to transfer org.apache.flex.utilities.converter:flex-sdk-conve

rter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from http://repository.ap

ache.org/snapshots/ was cached in the local repository, resolution will not be r

eattempted until the update interval of apache-snapshots has elapsed or updates

are forced. Original error: Could not transfer metadata org.apache.flex.utilitie

s.converter:flex-sdk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml

from/to apache-snapshots (http://repository.apache.org/snapshots/): Connect to

repository.apache.org:80 [repository.apache.org/207.244.88.140] failed: Connecti

on timed out: connect

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

flex-sdk-converter-maven-extension-1.0.0-SNAPSHOT.pom

[WARNING] Failed to read extensions descriptor D:\Apache\royale-asjs\.mvn\extens

ions.xml: Plugin org.apache.flex.utilities.converter:flex-sdk-converter-maven-ex

tension:1.0.0-SNAPSHOT or one of its dependencies could not be resolved: Failed

to read artifact descriptor for org.apache.flex.utilities.converter:flex-sdk-con

verter-maven-extension:jar:1.0.0-SNAPSHOT

[INFO] Scanning for projects...

[WARNING] The project org.apache:apache:pom:18 uses prerequisites which is only

intended for maven-plugin projects but not for non maven-plugin projects. For su

ch purposes you should use the maven-enforcer-plugin. See https://maven.apache.o

rg/enforcer/enforcer-rules/requireMavenVersion.html

[INFO]

[INFO] -------------------------< org.apache:apache >--------------------------

[INFO] Building The Apache Software Foundation 18

[INFO] --------------------------------[ pom ]---------------------------------

Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/

plugins/maven-remote-resources-plugin/1.5/maven-remote-resources-plugin-1.5.pom

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 33.430 s

[INFO] Finished at: 2018-03-12T16:10:48+05:00

[INFO] ------------------------------------------------------------------------

[ERROR] Plugin org.apache.maven.plugins:maven-remote-resources-plugin:1.5 or one

of its dependencies could not be resolved: Failed to read artifact descriptor f

or org.apache.maven.plugins:maven-remote-resources-plugin:jar:1.5: Could not tra

nsfer artifact org.apache.maven.plugins:maven-remote-resources-plugin:pom:1.5 fr

om/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.apac

he.org:443 [repo.maven.apache.org/151.101.196.215] failed: Connection timed out:

connect -> [Help 1]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit

ch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please rea

d the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResoluti

onException

 

 

Thanks,

Alina 

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Wednesday, March 07, 2018 12:22 PM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

I got the same results, but tried again in the same directory with  mvn -s settings-template.xml clean install and it's building now!

 

2018-03-07 7:59 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Piotr,

What should I do?

Do You want me to delete all files name royale-asjs? Or delete other folders royale-compiler n others.

 

Thanks Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Wednesday, March 07, 2018 12:07 PM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Ok! I just cloned separate repository and got similar problem. -> https://paste.apache.org/HuYU

 

2018-03-07 7:42 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Similar Error

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Wednesday, March 07, 2018 11:41 AM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Use "mvn -s settings-template.xml clean install" without pointing to profile -P utils.

 

2018-03-07 7:22 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Piotr,

Getting Similar Error in all cases. 

C:\Users\aleena>git clone https://github.com/apache/royale-asjs

Cloning into 'royale-asjs'...

remote: Counting objects: 101055, done.

remote: Compressing objects: 100% (127/127), done.

remote: Total 101055 (delta 101), reused 183 (delta 63), pack-reused 100828

Receiving objects: 100% (101055/101055), 19.27 MiB | 249.00 KiB/s, done.

Resolving deltas: 100% (61539/61539), done.

Checking out files: 100% (3572/3572), done.

 

C:\Users\aleena>cd royale-asjs

 

C:\Users\aleena\royale-asjs>git checkout develop

Already on 'develop'

Your branch is up to date with 'origin/develop'.

 

C:\Users\aleena\royale-asjs>mvn -s settings-template.xml clean install -P utils

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

maven-metadata.xml

[WARNING] Could not transfer metadata org.apache.flex.utilities.converter:flex-s

dk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from/to apache-sn

apshots (http://repository.apache.org/snapshots/): Connect to repository.apache.

org:80 [repository.apache.org/207.244.88.140] failed: Connection timed out: conn

ect

[WARNING] Failure to transfer org.apache.flex.utilities.converter:flex-sdk-conve

rter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from http://repository.ap

ache.org/snapshots/ was cached in the local repository, resolution will not be r

eattempted until the update interval of apache-snapshots has elapsed or updates

are forced. Original error: Could not transfer metadata org.apache.flex.utilitie

s.converter:flex-sdk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml

 from/to apache-snapshots (http://repository.apache.org/snapshots/): Connect to

repository.apache.org:80 [repository.apache.org/207.244.88.140] failed: Connecti

on timed out: connect

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

flex-sdk-converter-maven-extension-1.0.0-SNAPSHOT.pom

[WARNING] Failed to read extensions descriptor C:\Users\aleena\royale-asjs\.mvn\

extensions.xml: Plugin org.apache.flex.utilities.converter:flex-sdk-converter-ma

ven-extension:1.0.0-SNAPSHOT or one of its dependencies could not be resolved: F

ailed to read artifact descriptor for org.apache.flex.utilities.converter:flex-s

dk-converter-maven-extension:jar:1.0.0-SNAPSHOT

[INFO] Scanning for projects...

Downloading from apache-release: https://repository.apache.org/content/repositor

ies/releases/org/apache/apache/18/apache-18.pom

Downloading from central: https://repo.maven.apache.org/maven2/org/apache/apache

/18/apache-18.pom

[ERROR] [ERROR] Some problems were encountered while processing the POMs:

[FATAL] Non-resolvable parent POM for org.apache.royale.framework:royale-framewo

rk-parent:0.9.2-SNAPSHOT: Could not transfer artifact org.apache:apache:pom:18 f

rom/to apache-release (https://repository.apache.org/content/repositories/releas

es): Connect to repository.apache.org:443 [repository.apache.org/207.244.88.140]

 failed: Connection timed out: connect and 'parent.relativePath' points at no lo

cal POM @ line 24, column 11

 @

[ERROR] The build could not read 1 project -> [Help 1]

[ERROR]

[ERROR]   The project org.apache.royale.framework:royale-framework-parent:0.9.2-

SNAPSHOT (C:\Users\aleena\royale-asjs\pom.xml) has 1 error

[ERROR]     Non-resolvable parent POM for org.apache.royale.framework:royale-fra

mework-parent:0.9.2-SNAPSHOT: Could not transfer artifact org.apache:apache:pom:

18 from/to apache-release (https://repository.apache.org/content/repositories/re

leases): Connect to repository.apache.org:443 [repository.apache.org/207.244.88.

140] failed: Connection timed out: connect and 'parent.relativePath' points at n

o local POM @ line 24, column 11 -> [Help 2]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit

ch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please rea

d the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin

gException

[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableMo

delException

 

Thanks,

Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Wednesday, March 07, 2018 11:25 AM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Alina,

 

I see in your trace that you have cloned typedefs instead asjs -> "git clone https://github.com/apache/royale-typedefs.git". You should clone: 

 

git clone https://github.com/apache/royale-asjs and switch to "develop" branch than try to build.

 

However let me try build typedefs only in the meantime clone asjs and try again.

 

Thanks, Piotr

 

 

2018-03-07 7:19 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:

Alina,

 

Not sure, but let me try that on my sight, however I doubt that. Maven is a very distinguished from all the environment variables. If you got that build running you don't have to use almost all. :)

 

2018-03-07 7:03 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Piotr,

 

ROYALE_HOME environment variable is set to D:\royale-asjs that is the path for installed latest nightly build. This could be the reason ?

 

Thanks,

Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Wednesday, March 07, 2018 10:56 AM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Please try again build. Maybe it was some temporary problem. My build is running right now without the problem. Maven downloading dependencies nicely.

 

Thanks, Piotr

 

2018-03-07 6:39 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Piotr,

Its Working.

This XML file does not appear to have any style information associated with it. The document tree is shown below.

<metadata modelVersion="1.1.0">

<groupId>org.apache.flex.utilities.converter</groupId>

<artifactId>retrievers</artifactId>

<version>1.0.0-SNAPSHOT</version>

<versioning>

<snapshot>

<timestamp>20171112.204231</timestamp>

<buildNumber>490</buildNumber>

</snapshot>

<lastUpdated>20171112204231</lastUpdated>

<snapshotVersions>

<snapshotVersion>

<extension>pom</extension>

<value>1.0.0-20171112.204231-490</value>

<updated>20171112204231</updated>

</snapshotVersion>

</snapshotVersions>

</versioning>

</metadata>

 

Thanks,

Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Wednesday, March 07, 2018 10:48 AM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alina,

 

I just removed my whole local repository and trying exactly the same scenario. Just quick question can you try in your browser open this link ? Is it working ?

 

http://repository.apache.org/snapshots/org/apache/flex/utilities/converter/retrievers/1.0.0-SNAPSHOT/maven-metadata.xml

 

Thanks,

Piotr

 

2018-03-07 6:27 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Piotr,

Using Maven :

C:\Users\aleena>git clone https://github.com/apache/royale-typedefs.git royale-a

sjs

Cloning into 'royale-asjs'...

remote: Counting objects: 3318, done.

remote: Compressing objects: 100% (93/93), done.

remote: Total 3318 (delta 48), reused 76 (delta 16), pack-reused 3200

Receiving objects: 100% (3318/3318), 3.51 MiB | 244.00 KiB/s, done.

Resolving deltas: 100% (1337/1337), done.

 

C:\Users\aleena>cd royale-asjs

 

C:\Users\aleena\royale-asjs>git checkout develop

Already on 'develop'

Your branch is up to date with 'origin/develop'.

 

C:\Users\aleena\royale-asjs>mvn -s settings-template.xml clean install

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

maven-metadata.xml

[WARNING] Could not transfer metadata org.apache.flex.utilities.converter:flex-s

dk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from/to apache-sn

apshots (http://repository.apache.org/snapshots/): Connect to repository.apache.

org:80 [repository.apache.org/207.244.88.140] failed: Connection timed out: conn

ect

[WARNING] Failure to transfer org.apache.flex.utilities.converter:flex-sdk-conve

rter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from http://repository.ap

ache.org/snapshots/ was cached in the local repository, resolution will not be r

eattempted until the update interval of apache-snapshots has elapsed or updates

are forced. Original error: Could not transfer metadata org.apache.flex.utilitie

s.converter:flex-sdk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml

 from/to apache-snapshots (http://repository.apache.org/snapshots/): Connect to

repository.apache.org:80 [repository.apache.org/207.244.88.140] failed: Connecti

on timed out: connect

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

flex-sdk-converter-maven-extension-1.0.0-SNAPSHOT.pom

[WARNING] Failed to read extensions descriptor C:\Users\aleena\royale-asjs\.mvn\

extensions.xml: Plugin org.apache.flex.utilities.converter:flex-sdk-converter-ma

ven-extension:1.0.0-SNAPSHOT or one of its dependencies could not be resolved: F

ailed to read artifact descriptor for org.apache.flex.utilities.converter:flex-s

dk-converter-maven-extension:jar:1.0.0-SNAPSHOT

[INFO] Scanning for projects...

Downloading from apache-release: https://repository.apache.org/content/repositor

ies/releases/org/apache/apache/18/apache-18.pom

Downloading from central: https://repo.maven.apache.org/maven2/org/apache/apache

/18/apache-18.pom

[ERROR] [ERROR] Some problems were encountered while processing the POMs:

[FATAL] Non-resolvable parent POM for org.apache.royale.typedefs:royale-typedefs

-parent:0.9.2-SNAPSHOT: Could not transfer artifact org.apache:apache:pom:18 fro

m/to apache-release (https://repository.apache.org/content/repositories/releases

): Connect to repository.apache.org:443 [repository.apache.org/207.244.88.140] f

ailed: Connection timed out: connect and 'parent.relativePath' points at wrong l

ocal POM @ line 23, column 11

 @

[ERROR] The build could not read 1 project -> [Help 1]

[ERROR]

[ERROR]   The project org.apache.royale.typedefs:royale-typedefs-parent:0.9.2-SN

APSHOT (C:\Users\aleena\royale-asjs\pom.xml) has 1 error

[ERROR]     Non-resolvable parent POM for org.apache.royale.typedefs:royale-type

defs-parent:0.9.2-SNAPSHOT: Could not transfer artifact org.apache:apache:pom:18

 from/to apache-release (https://repository.apache.org/content/repositories/rele

ases): Connect to repository.apache.org:443 [repository.apache.org/207.244.88.14

0] failed: Connection timed out: connect and 'parent.relativePath' points at wro

ng local POM @ line 23, column 11 -> [Help 2]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit

ch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please rea

d the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin

gException

[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableMo

delException

 

C:\Users\aleena\royale-asjs>

 

Thanks

Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Tuesday, March 06, 2018 5:30 PM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alina,

 

You can try to go with Maven to see whether you have similar problems [1]

 

[1] https://github.com/apache/royale-asjs/wiki/Build-Apache-Royale-with-Maven

 

Thanks, Piotr

 

2018-03-06 13:12 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Alex,

Still getting same error, while executing:

C:\Users\aleena\royale-asjs>ant all

Website link is working :

http://www.antlr.org/license.html

 

could be only issue , Antlr server will be off-line ?

 

Thanks,

Alina

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Tuesday, March 06, 2018 4:38 PM
To: 'users@royale.apache.org'
Subject: RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alex,

 

We can exclude ScaleX , ScaleY,transform from our code as we are using it in our Library Project Only.

We are using “Rotation” in a PopUp Window. 

 

Can you please explain emulation ?

How do they will work?

 

Thanks,

Alina

 

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Tuesday, March 06, 2018 3:14 PM
To: 'users@royale.apache.org'
Subject: RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alex,

We are using commitProperties() in our Library Project. Overriding the Existing Spark commitProperties() method 

For Example:

ResizableTextAreaSkin.mxml (SHMALib)

override protected function commitProperties():void {

                                                super.commitProperties();

 

                                                if (lineBreakChanged) {

                                                                updateStringStyle("lineBreak");

                                                                lineBreakChanged = false;

                                                }

                                                if (paddingChanged) {

                                                                updatePadding();

                                                                paddingChanged = false;

                                                }

                                                if (verticalAlignChanged) {

                                                                updateStringStyle("verticalAlign");

                                                                verticalAlignChanged = false;

                                                }

                                }

We are using 


Package

 <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/package-detail.html> flash.display


Class

public class DisplayObject


Inheritance

DisplayObject Inheritance  <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/EventDispatcher.html> EventDispatcher Inheritance  <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Object.html> Object


Reference Link:

	

https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/DisplayObject.html

 

e.g :

                public function updateLayoutWithoutAnimation():void

                                {

                                                if(_layoutInvalid == true && layoutFunction != null)

                                                {

                                                                _layoutInvalid = false;

                                                                layoutFunction();

                                                }

 

                                                for(var aChild:* in _targets)

                                                {

                                                                var target:LayoutTarget = _targets[aChild];

                                                                var item:IFlexDisplayObject = target.item;

                                                                var m:Matrix = DisplayObject(item).transform.matrix;

 

                                                                m.tx = target.x;

                                                                m.ty = target.y;

                                                                m.a = target.scaleX;                                                                        

                                                                m.d = target.scaleY

                                                                

                                                                DisplayObject(item).alpha = target.alpha;

                                                                DisplayObject(item).transform.matrix = m;

                                                                item.setActualSize(target.unscaledWidth,target.unscaledHeight);

                                                                if(target.state == "removed")

                                                                {

                                                                                delete _targets[target.item];

                                                                                continue;

                                                                }

                                                                else

                                                                {

                                                                                target.state = "positioned"

                                                                }

                                                }

                                                stopTimer();

                                }

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, March 06, 2018 1:36 PM
To: users@royale.apache.org
Subject: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alina,

 

I'm starting on the emulation.  I've noticed that your application code appears to be calling commitProperties().  Can you tell us why?

 

Also, it looks like there are a few uses of rotation, transform, scaleX and scaleY.  What are those used for?

 

Thanks,

-Alex

 

From: Alex Harui <ah...@adobe.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 11:38 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Try again.  Sometimes the Antlr server goes off-line around this time of day.

 

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 11:12 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Using jdk1.8.0_162:

 

C:\Users\aleena\royale-asjs>ant all

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Buildfile: C:\Users\aleena\royale-asjs\build.xml

 

set.base.folder:

 

check-git:

     [echo] Checking for Git...

     [exec] git version 2.16.2.windows.1

 

get-download-folder:

 

download-all:

     [echo] Using folder C:\Users\aleena\royale-asjs/..

 

check-royale-asjs:

 

warn-before-clone:

 

check-royale-asjs:

 

clone-royale-asjs:

 

check-royale-compiler:

 

clone-royale-compiler:

 

check-royale-typedefs:

 

clone-royale-typedefs:

 

check-playerglobal-home:

 

check-air-home:

 

build-all:

 

ask-before-build-all:

    [input] This script will now download and compile lots of files.  This can t

ake several minutes.   No interaction should be required.  Press the enter key t

o continue.

 

 

sdk:

 

annotate.class:

    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-

build-tools\target\classes

    [javac] warning: [options] bootstrap class path not set in conjunction with

-source 1.5

    [javac] warning: [options] source value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] target value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] To suppress warnings about obsolete options, use

-Xlint:-options.

    [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\src\main\java\o

rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:24: warning: [serial

] serializable class AnnotateClassDeleteException has no definition of serialVer

sionUID

    [javac]     public static class AnnotateClassDeleteException extends Excepti

on

    [javac]                   ^

    [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\src\main\java\o

rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:32: warning: [serial

] serializable class AnnotateClassRenameException has no definition of serialVer

sionUID

    [javac]     public static class AnnotateClassRenameException extends Excepti

on

    [javac]                   ^

    [javac] 6 warnings

 

unknown.tree.pattern.input.output:

    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-

build-tools\target\classes

    [javac] warning: [options] bootstrap class path not set in conjunction with

-source 1.5

    [javac] warning: [options] source value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] target value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] To suppress warnings about obsolete options, use

-Xlint:-options.

    [javac] 4 warnings

 

main:

 

compiler.downloads.cache:

 

compiler.downloads:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

prepare:

     [echo] Making lib directory C:\Users\aleena\royale-compiler\compiler/lib/ex

ternal

    [mkdir] Created dir: C:\Users\aleena\royale-compiler\compiler\lib\external

 

all:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

check-dependency:

     [echo] checking for C:\Users\aleena\royale-compiler\compiler/lib/external//

antlr.jar

 

download-dependency:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

echo-project-jar:

   [delete] Deleting: C:\Users\aleena\royale-compiler\compiler\src\main\resource

s\project.properties

     [echo] ${INFO_DOWNLOADING_FILE_FROM}

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

download-apache-license:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

download-other-license:

      [get] Getting: http://www.antlr.org/license.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0> 

      [get] To: C:\Users\aleena\royale-compiler\compiler\lib\external\antlr-LICE

NSE.html

      [get] Error getting http://www.antlr.org/license.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0>  to C:\Users\aleena\r

oyale-compiler\compiler\lib\external\antlr-LICENSE.html

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

double-check-file:

     [echo] ${env.ROYALE_DOWNLOAD_CACHE}

     [echo] Need file: ${still_no_file}

 

get-from-cache-if-needed:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

fail-if-not-found:

 

BUILD FAILED

C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-compiler\build.xml:64: The following error occurred while

 executing this line:

C:\Users\aleena\royale-compiler\compiler-jburg-types\build.xml:87: The following

 error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:81: Th

e following error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:275: T

he following error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:329: T

he following error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:489: C

:\Users\aleena\royale-compiler\compiler/lib/external//antlr-LICENSE.html could n

ot be downloaded or found in cache

 

Total time: 47 seconds

 

C:\Users\aleena\royale-asjs>

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, March 06, 2018 11:55 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Please use JDK8.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 10:40 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

Java version that I am using is “9.0.1”

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, March 06, 2018 11:42 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

What version of Java are you using?  Please get a JDK7 or 8 and try that.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 10:22 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Command Prompt Output is:

C:\Users\aleena>git clone https://github.com/apache/royale-asjs.git <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs.git&data=02%7C01%7Caharui%40adobe.com%7Cdf86fa0dd25b41ffbc8108d5832f0997%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559160423949211&sdata=d9cKX4ILIQPLI5USXvAafSnrWZSgW1XHw6G4r%2B9wgsE%3D&reserved=0>  royale-asjs

Cloning into 'royale-asjs'...

remote: Counting objects: 101103, done.

remote: Compressing objects: 100% (22/22), done.

remote: Total 101103 (delta 9), reused 30 (delta 7), pack-reused 101066R

Receiving objects: 100% (101103/101103), 19.23 MiB | 208.00 KiB/s, done.

 

Resolving deltas: 100% (61584/61584), done.

Checking out files: 100% (3572/3572), done.

 

C:\Users\aleena>cd royale-asjs

 

C:\Users\aleena\royale-asjs>git checkout develop

Already on 'develop'

Your branch is up to date with 'origin/develop'.

 

C:\Users\aleena\royale-asjs>ant all

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Buildfile: C:\Users\aleena\royale-asjs\build.xml

 

set.base.folder:

 

check-git:

     [echo] Checking for Git...

     [exec] git version 2.16.2.windows.1

 

get-download-folder:

 

download-all:

     [echo] Using folder C:\Users\aleena\royale-asjs/..

 

check-royale-asjs:

 

warn-before-clone:

 

check-royale-asjs:

 

clone-royale-asjs:

 

check-royale-compiler:

 

clone-royale-compiler:

     [echo] cloning royale-compiler repo into C:\Users\aleena\royale-asjs/../roy

ale-compiler

     [exec] Cloning into 'royale-compiler'...

     [exec] Checking out files:   8% (284/3191)

     [exec] Checking out files:   9% (288/3191)   Checking out files:  10% (320/

3191)   Checking out files:  11% (352/3191)   Checking out files:  12% (383/3191

)   Checking out files:  13% (415/3191)   Checking out files:  13% (444/3191)

Checking out files:  14% (447/3191)   Checking out files:  15% (479/3191)   Chec

king out files:  16% (511/3191)   Checking out files:  17% (543/3191)   Checking

 out files:  18% (575/3191)   Checking out files:  19% (607/3191)   Checking out

 files:  20% (639/3191)   Checking out files:  20% (641/3191)   Checking out fil

es:  21% (671/3191)   Checking out files:  22% (703/3191)   Checking out files:

 23% (734/3191)   Checking out files:  24% (766/3191)   Checking out files:  25%

 (798/3191)   Checking out files:  26% (830/3191)   Checking out files:  26% (84

2/3191)   Checking out files:  27% (862/3191)   Checking out files:  28% (894/31

91)   Checking out files:  29% (926/3191)   Checking out files:  30% (958/3191)

  Checking out files:  31% (990/3191)   Checking out files:  32% (1022/3191)   C

hecking out files:  33% (1054/3191)   Checking out files:  34% (1085/3191)   Che

cking out files:  35% (1117/3191)   Checking out files:  36% (1149/3191)   Check

ing out files:  37% (1181/3191)   Checking out files:  38% (1213/3191)   Checkin

g out files:  39% (1245/3191)   Checking out files:  40% (1277/3191)   Checking

out files:  40% (1308/3191)   Checking out files:  41% (1309/3191)   Checking ou

t files:  42% (1341/3191)   Checking out files:  42% (1352/3191)   Checking out

files:  43% (1373/3191)   Checking out files:  44% (1405/3191)   Checking out fi

les:  45% (1436/3191)   Checking out files:  46% (1468/3191)   Checking out file

s:  47% (1500/3191)   Checking out files:  48% (1532/3191)   Checking out files:

  49% (1564/3191)   Checking out files:  49% (1578/3191)   Checking out files:

50% (1596/3191)   Checking out files:  51% (1628/3191)   Checking out files:  52

% (1660/3191)   Checking out files:  53% (1692/3191)   Checking out files:  54%

(1724/3191)   Checking out files:  55% (1756/3191)   Checking out files:  56% (1

787/3191)   Checking out files:  57% (1819/3191)   Checking out files:  58% (185

1/3191)   Checking out files:  59% (1883/3191)   Checking out files:  60% (1915/

3191)   Checking out files:  61% (1947/3191)   Checking out files:  62% (1979/31

91)   Checking out files:  63% (2011/3191)   Checking out files:  63% (2022/3191

)   Checking out files:  64% (2043/3191)   Checking out files:  65% (2075/3191)

  Checking out files:  66% (2107/3191)   Checking out files:  67% (2138/3191)

Checking out files:  68% (2170/3191)   Checking out files:  69% (2202/3191)   Ch

ecking out files:  70% (2234/3191)   Checking out files:  71% (2266/3191)   Chec

king out files:  72% (2298/3191)   Checking out files:  73% (2330/3191)   Checki

ng out files:  74% (2362/3191)   Checking out files:  75% (2394/3191)   Checking

 out files:  76% (2426/3191)   Checking out files:  77% (2458/3191)   Checking o

ut files:  78% (2489/3191)   Checking out files:  79% (2521/3191)   Checking out

 files:  80% (2553/3191)   Checking out files:  81% (2585/3191)   Checking out f

iles:  82% (2617/3191)   Checking out files:  83% (2649/3191)   Checking out fil

es:  83% (2679/3191)   Checking out files:  84% (2681/3191)   Checking out files

:  85% (2713/3191)   Checking out files:  86% (2745/3191)   Checking out files:

 87% (2777/3191)   Checking out files:  88% (2809/3191)   Checking out files:  8

9% (2840/3191)   Checking out files:  89% (2845/3191)   Checking out files:  90%

 (2872/3191)   Checking out files:  91% (2904/3191)   Checking out files:  92% (

2936/3191)   Checking out files:  93% (2968/3191)   Checking out files:  94% (30

00/3191)   Checking out files:  95% (3032/3191)   Checking out files:  95% (3035

/3191)   Checking out files:  96% (3064/3191)   Checking out files:  97% (3096/3

191)   Checking out files:  98% (3128/3191)   Checking out files:  99% (3160/319

1)   Checking out files: 100% (3191/3191)   Checking out files: 100% (3191/3191)

, done.

     [exec] Your branch is up to date with 'origin/develop'.

     [exec] Already on 'develop'

 

check-royale-typedefs:

 

clone-royale-typedefs:

     [echo] cloning royale-typedefs repo into C:\Users\aleena\royale-asjs/../roy

ale-typedefs

     [exec] Cloning into 'royale-typedefs'...

     [exec] Your branch is up to date with 'origin/develop'.

     [exec] Already on 'develop'

 

check-playerglobal-home:

 

check-air-home:

 

build-all:

 

ask-before-build-all:

    [input] This script will now download and compile lots of files.  This can t

ake several minutes.   No interaction should be required.  Press the enter key t

o continue.

 

sdk:

 

annotate.class:

    [mkdir] Created dir: C:\Users\aleena\royale-compiler\compiler-build-tools\ta

rget\classes

    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-

build-tools\target\classes

    [javac] warning: [options] bootstrap class path not set in conjunction with

-source 1.5

    [javac] error: Source option 1.5 is no longer supported. Use 1.6 or later.

    [javac] error: Target option 1.5 is no longer supported. Use 1.6 or later.

 

BUILD FAILED

C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-compiler\build.xml:63: The following error occurred while

 executing this line:

C:\Users\aleena\royale-compiler\compiler-build-tools\build.xml:74: Compile faile

d; see the compiler error output for details.

 

Total time: 17 minutes 59 seconds

 

C:\Users\aleena\royale-asjs>

 

Unable to Build, Please guide.

 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Friday, March 02, 2018 10:31 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I was able to download and expand the files.  I will be consolidating the data today. 

 

In order to be able to write some of these emulations, you will probably need to be able to build the framework sources.  If you haven't already, you can try cloning the royale-asjs repo and figure out how to get it to build.  You can choose Apache Maven or Apache Ant as the build tool.

 

https://github.com/apache/royale-asjs <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs&data=02%7C01%7Caharui%40adobe.com%7C3c1833c1fc9442003f2608d5832c7fe0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559149534170415&sdata=YqGTpbzoou8SilHbsTxjriIjiREaS%2FA9j6xjZYRR%2F4E%3D&reserved=0> 

 

Hopefully the instruction in the readme are sufficient.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Friday, March 2, 2018 at 12:34 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

Application API-Report link:

https://www.dropbox.com/s/swvqhly6wa0jrc5/API-Reports.rar?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fswvqhly6wa0jrc5%2FAPI-Reports.rar%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C928c248220464230f6dd08d5801a2f13%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555772324148830&sdata=9%2BsrGG41iCMIEmbtqnEbV%2BPvi1ngE9vF%2BKuqPAZ%2Bzao%3D&reserved=0> 

SHMALib Report, applications,shmDoclist,shmSetupList,AppView_EIS, AppView_ERP,shmMappingSetup, shmMappingSetupOpenDetailGrid,shmSalesInvoice, shmSalesInvoiceDetail are main API Files.

 

Regards,

Alina

 

 

 

 

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Friday, March 02, 2018 11:32 AM
To: users@royale.apache.org
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

2) We are using Effects in our Application 2-3 times 

4) We are using text styling in our Application 3-5 times 

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Friday, March 02, 2018 4:26 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

1) Interesting about Charts.  They were being used by the SWC.

2) Effects are any animations that move, resize or fade things in the UI.

3) ok

4) I'm not sure what to conclude from the screenshot.  I'm interested in how often folks use it to create text with bold, italics and other styling of text.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Thursday, March 1, 2018 at 4:24 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

600 mxml.api.txt files are generated and still in process. I will share link for files tomorrow.

After sharing my files tomorrow, If you will suggest to build  emulations. 

I will  definitely want to learn how to create emulations and contribute them to Apache Royale.  

1.We are not using Charts in our Application

2. How important are effects? (Please explain effects )

3. We are not using Right-to-left languages in RichTextEditor.

4. Is RichTextEditor being used for non-plain text?  If so, what kinds of text styling is important?

Link:https://www.dropbox.com/s/ky93eycmefm3cuu/RICHTEXTEDITOR.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fky93eycmefm3cuu%2FRICHTEXTEDITOR.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cff526ec5592c42772ade08d57f713736%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555046634193460&sdata=BjS8q1GarTweRfMMmZOKxN%2FTQTqhtzJlm05KAtWnNTQ%3D&reserved=0> 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 10:45 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Good to hear it worked.

 

I think I am waiting on all of the mxml.api.txt files to see what else is in there that isn't in the two reports we have, then we'll have a pretty good list of the places you will either need to change in your code or that we  will build emulations for.

 

I think emulations will be less work in the end, but there will be a lot of them to do.  We will want to you to learn how to create emulations and contribute them to Apache Royale.  That's how many Apache projects work: some of the users learn how to become committers.  This will be an asset to your company as well since you will learn how to fix things in Royale yourself.  Then your company won't be dependent on outsiders for support.

 

So, Peter and I and hopefully others will get started on some emulations to make sure they work for us, and then you can see if they work for you, and then we will teach you how to write those emulations.  Over the next several months, besides testing emulations written by others in your app, you will be writing your own emulations for things you need right away that we haven't written yet, or for third-party code that you are using.

 

It might help to get some prioritization on the emulations we need to write.  In looking at the list, I am wondering:

1.	Are some charts more important than others?
2.	How important are effects?
3.	Do you use Right-to-left languages in RichTextEditor?
4.	Is RichTextEditor being used for non-plain text?  If so, what kinds of text styling is important?

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Wednesday, February 28, 2018 at 1:22 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Thank you.

It’s working with latest nightly build:

https://www.dropbox.com/s/77wkgrm74upkg0j/SHMALib%20Report.txt?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F77wkgrm74upkg0j%2FSHMALib%2520Report.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C16fa845b6d2f4efb7f4a08d57e8e9097%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636554073167111532&sdata=UV0BOZpVonw%2BILcK9njhQdf5pKpqWPccp0IKDPm4jOI%3D&reserved=0> 

 

 

Regards,

Alina

 

 

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 1:15 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Looks like COMPC collected the data but never generated the report.  I pushed a fix for that.  Please try the latest nightly build.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Tuesday, February 27, 2018 at 10:35 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Thank you

After commenting the embedded font part from source.

Output to console:

3462313 bytes written to D:\SHMALib.swc in 19.878 seconds

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"

 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\framewor

ks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\sr

c" -library-path+=D:\SHMALIB\libs

 

SHMALib.swf file Generated and Report.txt is empty 

SHMALib.swc output Link:

https://www.dropbox.com/s/4tz49sz134m2gg9/SHMALib.swc?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F4tz49sz134m2gg9%2FSHMALib.swc%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=%2FNcbTJtah21RRPeWfwg2pRaZ72hd%2BdG0iJlnH3GsA28%3D&reserved=0> 

then I change, Compc -output "D:\SHMALib.swc" to Compc -output "D:\SHMALib. txt " 

SHMALib.txt output Link:

https://www.dropbox.com/s/j38obt5e36awuh3/SHMALib.txt?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fj38obt5e36awuh3%2FSHMALib.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=V%2FcA5dJ3Fi1qOvh%2BtUlbU%2FZ%2FQ5SBfRw7psjsm2Q%2Fe8w%3D&reserved=0> 

 

Thanks,

Alina

 

 

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 11:18 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

The only error right now is the embedded font.

 

We can discuss the pros and cons of embedding images in the JS output at some other point in time.

 

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Tuesday, February 27, 2018 at 10:01 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Big Part of SHMALib Uses Embed and metadata :

 

                                // Embed the font so we can rotate it for further distortion

                                [Embed(systemFont="Comic Sans MS",

                                                                embedAsCFF='false')]

                <mx:Image y="4" width="18" height="20" right="185" source="@Embed(source='assets/default/images/load.png')"

                                                  source="@Embed(source='assets/default/images/next.gif')" scaleContent="false"/>

                <mx:Image y="4" width="18" height="20" right="3" source="@Embed(source='assets/default/images/magnifier.png')"

     * An IFrame which you can embed into Flex applications to show an HTML page.

     * @example A simple application with Google embedded

        // SWF embed object tracking

         * The SWF embed object id.

         * Get the embed object id.

        protected function resolveEmbedObjectId():void

                    var result:Object=ExternalInterface.call(IFrameExternalCalls.FUNCTION_ASK_FOR_EMBED_OBJECT_ID, randomIdentificationString.toString());

                        logger.info("Resolved the SWF embed object id to '{0}'.", applicationId);

                        logger.error('Could not resolve the SWF embed object Id.');

            // Resolve the SWF embed object id in the DOM.

            ExternalInterface.call(IFrameExternalCalls.INSERT_FUNCTION_ASK_FOR_EMBED_OBJECT_ID);

            resolveEmbedObjectId();

            logger.info("Loading IFrame with id '{0}', on SWF embed object with id '{1}'.", _frameId, applicationId);

                    FUNCTION_LOADIFRAME + " = function (frameID, iframeID, url, embedID, scrollPolicy)" +

                                      "onLoad='\"+embedID+\".\"+frameID+\"_load();' " +

        public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String = "askForEmbedObjectId";

        public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String = "askForEmbedObjectId";

        public static var INSERT_FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =

                "if (document." + FUNCTION_ASK_FOR_EMBED_OBJECT_ID + "==null)" +

                    FUNCTION_ASK_FOR_EMBED_OBJECT_ID + " = function(randomString) " + 

                            "var embeds = document.getElementsByTagName('embed'); " + 

                            "var embeds = document.getElementsByTagName('embed'); " + 

                            "for (var i = 0; i < embeds.length; i++) { " + 

                                "var isTheGoodOne = embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " + 

                                "var isTheGoodOne = embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " + 

                                    "return embeds[i].getAttribute('id'); " + 

                                 * The UITextField control for displaying embeded hints.

                                private var embedTextField:UITextField;

                                 *  The String to be shown as the embeded hint.

                                private var embedStr:String = "";

                                                                                embedStr = "MM DD YYYY";

                                                                                embedStr = "DD MM YYYY";

                                                                                embedStr = "YYYY MM DD";

                                                                                embedStr = "YYYY DD MM";

                                 *  Create child objects for displaying embeded hints.

                                                                embedTextField = new UITextField();

                                                                //embedTextField.text = embedStr;

                                                                //embedTextField.text = embedStr;

                                                                addChildAt(UITextField(embedTextField),getChildIndex(DisplayObject(textField)));//as TextField

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                                s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);

                                                                                                                                embedTextField.text = s;

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                                //s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);

                                                                                                                                //embedTextField.text = s;

                                                                                                                                s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);

                                                                                                                                embedTextField.text = s;

                                                                                // If embeded hints are displayed then update the

                                                                                // UITextField corresponding to the embeded hints

                                                                                                var s:String = embedTextField.text == null ? "":embedTextField.text;

                                                                                                var s:String = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                embedTextField.text = s;

                                                                // create the embeded text field for showing

                                                                // embeded hints if its not already created.

                                                                // If it is created, then just change the embeded hint.

                                                                if(!embedTextField)

                                                                                embedTextField = new UITextField();

                                                                                addChildAt(embedTextField,getChildIndex(DisplayObject(textField))); //as TextField

                                                                //embedTextField.text = embedStr;

                                                                //embedTextField.text = embedStr;

                                                                embedTextField.alpha = 1;

                                                                embedTextField.setTextFormat(txtFormat);

                                                                embedTextField.x = 0;

                                                                embedTextField.y = 2;

                                                                embedTextField.setActualSize(width,height);

                                                                if(embedTextField)

                                                                                embedTextField.text = "";

                                                                                embedTextField = null;

                                                // setting the color of the embeded text field to white.

                                                                if(embedTextField)

                                                                                embedTextField.setColor(0xFFFFFF);

                                                                                if(embedTextField)

                                                                                                addChildAt(DisplayObject(newSkin),getChildIndex(DisplayObject(embedTextField)));//

   background-image:                                      Embed(source="/assets/application_background.png",

                up-skin:                Embed("/assets/maximize_up.png");

                over-skin:            Embed("/assets/maximize_over.png");

                down-skin:         Embed("/assets/maximize_up.png");

                selected-up-skin:   Embed("/assets/restore_up.png");

                selected-over-skin: Embed("/assets/restore_over.png");

                selected-down-skin: Embed("/assets/restore_up.png");

                up-skin:        Embed("/assets/minimize_up.png");

                over-skin:      Embed("/assets/minimize_over.png");

                down-skin:      Embed("/assets/minimize_up.png");

                up-skin:                                Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");

                over-skin:                            Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");

                down-skin:                         Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");

                selected-up-skin:                             Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");

                selected-over-skin:                         Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");

                selected-down-skin:                      Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");

                up-skin:                                Embed("/assets/left_arrow_up.gif");

                over-skin:                            Embed("/assets/left_arrow_over.gif");

                down-skin:                         Embed("/assets/left_arrow_up.gif");

                disabled-skin:    Embed("/assets/left_arrow_disabled.gif");

                up-skin:                                Embed("/assets/right_arrow_up.gif");

                over-skin:                            Embed("/assets/right_arrow_over.gif");

                down-skin:                         Embed("/assets/right_arrow_up.gif");

                disabled-skin:    Embed("/assets/right_arrow_disabled.gif");

                                //[Embed(source="/assets/cursor_move.gif")]

                                //[Embed(source="/assets/cursor_resize.gif")]

                                [Embed(source="/assets/default/images/mouseMove.gif")]

                                [Embed(source="/assets/default/images/verticalSize.gif")]

                                [Embed(source="/assets/default/images/horizontalSize.gif")]

                                [Embed(source="/assets/default/images/leftObliqueSize.gif")]

                                [Embed(source="/assets/default/images/rightObliqueSize.gif")]

                                                if (image.isEmbedded) 

                                                //if (!Application.application.systemManager.isFontFaceEmbedded(textFormat)) 

                                                if (!FlexGlobals.topLevelApplication.systemManager.isFontFaceEmbedded(textFormat))

                                                                if (Application.application.isFontsEmbedded) {

                                                                if (Application.application.isFontsEmbedded) {

                                                                if (Application.application.isFontsEmbedded) {

                                private var _isEmbedded:Boolean = false;

                                public function set isEmbedded(embedded:Boolean):void 

                                public function set isEmbedded(embedded:Boolean):void 

                                                _isEmbedded = embedded;

                                                _isEmbedded = embedded;

                                public function get isEmbedded():Boolean 

                                                return _isEmbedded;

                                                <mx:icon>@Embed(source='images/print.GIF')</mx:icon>

                                                <mx:icon>@Embed(source='images/reload.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/first-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/first.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/previous-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/previous.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/next-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/next.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/last-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/last.GIF')</mx:icon>

                                                                                <mx:icon>@Embed(source='images/actualsize.GIF')</mx:icon>

                                                                                <mx:icon>@Embed(source='images/fitpage.GIF')</mx:icon>

                                                                                <mx:icon>@Embed(source='images/fitwidth.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/zoomin-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/zoomin.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/zoomout-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/zoomout.GIF')</mx:icon>

                                                                <mx:icon>@Embed(source='images/print.GIF')</mx:icon>

                                                if (imageSourceXml.@isEmbedded.length() > 0)

                                                                image.isEmbedded = imageSourceXml.@isEmbedded == "true";

                                                                image.isEmbedded = imageSourceXml.@isEmbedded == "true";

                 source="@Embed(source='/assets/default/images/left_arrow_up.gif')"/>

                 source="@Embed(source='/assets/default/images/left_arrow_over.gif')"/>

                 source="@Embed(source='/assets/default/images/left_arrow_disabled.gif')"/>  

                                                                                   source="@Embed(source='/com/shm/flexlib/mdi/assets/img/maximizeButton.png')"/>

                                                                                   height="12" source="@Embed(source='/com/shm/flexlib/mdi/assets/img/restoreButton.png')"/>

                                                                                   source="@Embed(source='/com/shm/flexlib/mdi/assets/img/minimizeButton.png')"/>

                 source="@Embed(source='/assets/default/images/right_arrow_up.gif')"/>

                 source="@Embed(source='/assets/default/images/right_arrow_over.gif')"/>

                 source="@Embed(source='/assets/default/images/right_arrow_disabled.gif')"/>  

 

 

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 11:00 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I think you can ignore the warnings.  The first error is for embedding a font, which Royale doesn't currently support, so for now, try commenting out the Embed metadata and see if that allows the error to go away.

 

I would look into the other errors to see if they are legitimate or not.  The Royale Compiler will catch some things the MXMLC compiler may not.  Or you could comment out the code involved in the two errors in TImeZone.as for now since that won't affect the report.

 

The final two errors I saw are for missing skin states.  I think you can just add the skin states.

 

HTH,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Tuesday, February 27, 2018 at 9:35 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

While Executing

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\src"

Or 

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\Flex\libs\SH

MALIB.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bi

n\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\

SHMALIB\src" -library-path+=D:\SHMALIB\libs

 

Error:

(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to

field java.lang.Thread.inheritableThreadLocals

WARNING: Please consider reporting this to the maintainers of com.google.common.

base.internal.Finalizer

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect

ive access operations

WARNING: All illegal access operations will be denied in a future release

Loading configuration: D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(415): col: 50 Warning:

Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="DataProviderService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(419): col: 50 Warning:

Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="BasicFormatterService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(516): col: 50 Warning: Da

ta binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="DataProviderService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(520): col: 50 Warning: Da

ta binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="BasicFormatterService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\shmCaptchaImage.as(43): col: 3 Error: Embed re

quires a 'source' file attribute

 

                [Embed(systemFont="Comic Sans MS",

                ^

 

D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(37): col: 88 Warning: Data

binding will not be able to detect assignments to 'isSelected'.

 

                                        <mx:CheckBox selectedField="isSelected"

 change="onChange(event);" selected="{data.isSelected}">

 

                                          ^

 

D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(46): col: 27 Warning: Data

binding will not be able to detect assignments to 'label'.

 

                                        <mx:Label text="{data.label}" />

                                                             ^

 

D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(126): col: 15 Error: Impli

cit coercion of a value of type Boolean to an unrelated type Number.

 

                                if(year & 0x3 == 0)

                                          ^

 

D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(134): col: 39 Error: Impli

cit coercion of a value of type Boolean to an unrelated type Number.

 

                                if(month == 1 && value.fullYear & 0x3 == 0)

                                                                  ^

 

D:\SHMALIB\src\com\shm\dashboard\renderers\GridPodURLRenderer.mxml(6): col: 23 W

arning: Data binding will not be able to detect assignments to 'SrNo'.

 

                  htmlText="&lt;u&gt;{data.SrNo}&lt;/u&gt;" color="blue" click="

f_DrillDownData(data)">

                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml Error:

The required skin state 'disabledWithPrompt' is missing.

 

 

D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml Error:

The required skin state 'normalWithPrompt' is missing.

 

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(177): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(187): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(202): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(212): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(429): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(439): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(454): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(464): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(479): col: 26 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                field="{properties.@valueField}"

 

                                                                   ^

 

D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(115): col: 74 Warning

: Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject id="roDrillDownColInfo" channelSet="{parentAppl

ication.amfChannelSet}" showBusyCursor="true"

 

       ^

 

D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(118): col: 68 Warning

: Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject id="roDgDpResult" channelSet="{parentApplicatio

n.amfChannelSet}" showBusyCursor="true"

 

 ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PieChartContent.mxml(128): col: 24 Warning

: Data binding will not be able to detect assignments to 'valueField'.

 

                                field="{properties.@valueField}"

                                                   ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 37 Warning: Dat

a binding will not be able to detect assignments to 'appParams'.

 

                                                        inputMask="{parentApplic

ation.appParams.DATE_FORMAT}" showToday="true"  yearNavigationEnabled="true"

 

     ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 47 Warning: Dat

a binding will not be able to detect assignments to 'DATE_FORMAT'.

 

                                                        inputMask="{parentApplic

ation.appParams.DATE_FORMAT}" showToday="true"  yearNavigationEnabled="true"

 

               ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 38 Warning: Dat

a binding will not be able to detect assignments to 'appParams'.

 

                                                         inputMask="{parentAppli

cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true" showToday="true"

 

      ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 48 Warning: Dat

a binding will not be able to detect assignments to 'DATE_FORMAT'.

 

                                                         inputMask="{parentAppli

cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true" showToday="true"

 

                ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(12): col: 11 Warnin

g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

 

                        import mx.graphics.Stroke;

                               ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(37): col: 23 Warnin

g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

 

                                        lne.stroke = new Stroke(0,1,.3);

                                                         ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(46): col: 14 Warnin

g: Duplicate variable definition: i.

 

                                for (var i:int = 1; i < lnWdt; i++){

                                         ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(47): col: 10 Warnin

g: Duplicate variable definition: lne.

 

                                        var lne:Line  = new Line();

                                            ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(53): col: 23 Warnin

g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

 

                                        lne.stroke = new Stroke(0,1,.3);

                                                         ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(54): col: 10 Warnin

g: Duplicate variable definition: llbe.

 

                                        var llbe:Label = new Label();

                                            ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(157): col: 40 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var xPosition:Number = Application.application.p

arent.mouseX;

                                                                   ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(158): col: 40 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var yPosition:Number = Application.application.p

arent.mouseY;

                                                                   ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(225): col: 36 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var xPlus:Number = Application.application.paren

t.mouseX - point.x;

                                                               ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(226): col: 36 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var yPlus:Number = Application.application.paren

t.mouseY - point.y;

                                                               

Thanks,

Alina Kazi

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 10:16 AM
To: Alina Kazi; users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I think that Flash Builder makes it easy to build SWCs.  Building from the command line can be a bit trickier.

 

Let's try:

Compc -output "D:\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\src"

 

HTH,

-Alex

 

 

From: Alina Kazi <al...@d-bz.com>
Date: Tuesday, February 27, 2018 at 7:28 PM
To: "users@royale.apache.org" <us...@royale.apache.org>, Alex Harui <ah...@adobe.com>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Yes I am using Flash Builder.

SHMALIB and MainFlexApp are two separate Projects

Src for SHMALIB is placed into D:/SHMALIB/src

Src for MainFlexApp is D:/Flex/src and the library output file SHMALIB.swc is placed into D:/Flex/libs

 

SHMALIB (.actionscriptProperties)

 

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<actionScriptProperties mainApplicationPath="SHMALib.as" projectUUID="863559ab-3e7b-475b-a3a4-09f4f76fc0d2" version="6">

  <compiler additionalCompilerArguments="-locale en_US" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderLocation="D:/Flex/libs" outputFolderPath="bin-debug" sourceFolderPath="src" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" verifyDigests="true" warn="true">

    <compilerSourcePath/>

    <libraryPath defaultLinkType="0">

      <libraryPathEntry kind="4" path="">

        <excludedEntries>

          <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>

        </excludedEntries>

      </libraryPathEntry>

      <libraryPathEntry kind="1" linkType="1" path="libs"/>

    </libraryPath>

    <sourceAttachmentPath/>

  </compiler>

  <applications>

    <application path="SHMALib.as"/>

  </applications>

  <modules/>

  <buildCSSFiles/>

</actionScriptProperties>

 

SHMALIB (.flexLibProperties)

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<flexLibProperties includeAllClasses="true" version="3">

  <includeClasses/>

  <includeResources/>

  <namespaceManifests/>

</flexLibProperties>

 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 9:34 PM
To: Alina Kazi
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

When you are not trying to use Royale to generate this API report, how are you building your current Flex app?  We might need to know that in order to determine what parameters to add to COMPC.

 

COMPC has additional parameters like -include–sources, include-file, include-classes.  Sometimes, these are listed in an xml file.  If you are using Flash Builder, for example, then examine the .flexlibproperties and .actionscriptProperties files in your project folder.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Date: Tuesday, February 27, 2018 at 3:21 AM
To: 'Alina Kazi' <al...@d-bz.com>
Cc: Alex Harui <ah...@adobe.com>
Subject: RE: Generating API report for Flex Web Browser application

 

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"

 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"

Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by com.google.common.base.internal.Finalizer

(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to

field java.lang.Thread.inheritableThreadLocals

WARNING: Please consider reporting this to the maintainers of com.google.common.

base.internal.Finalizer

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect

ive access operations

 

Error: nothing was specified to be included in the library.

-Alina

 

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Tuesday, February 27, 2018 2:16 PM
To: 'users@royale.apache.org'
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

I am using Moonshine IDE 1.9.0.

Flex 4.16.0

Apache Royale 0.9.2 Latest Nightly Build

 

Running this Command on Command Prompt:

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"

 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"

Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by com.google.common.base.internal.Finalizer

(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to

field java.lang.Thread.inheritableThreadLocals

WARNING: Please consider reporting this to the maintainers of com.google.common.

base.internal.Finalizer

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect

ive access operations

WARNING: All illegal access operations will be denied in a future release

 

command line Error: unknown configuration variable 'sourceΓÇôpath'.

 

-Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 1:26 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

COMPC takes a slightly different set of parameters.  What IDE or build tools are you using to build it without Royale?  You might need to know what options that build uses.

 

You can try running: 

 

Compc -output "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source–path="D:\Projects\SHMA\Main\Flex\src" or wherever the source code is for the library.

 

HTH,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, February 26, 2018 at 11:33 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

For custom SWC, I am using COMPC to get an api-report for SWC

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>compc "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml

Error: configuration variable 'output' was not set.

 

 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 12:27 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Yes, any SWC that is not in the Flex SDK's frameworks/libs folder needs to be specified as Piotr describes below.  We want you specify the same MXML file that you use to compile in the regular Flex SDK.  So if your Application.mxml starts with an mx:Application or s:Application that’s probably the one to use.  But also, if you have your own custom SWCs, we want you to use COMPC to get an api-report for those SWCs.  We want this modified Royale compiler to compile every source file you own so we can see what Flex APIs you are using.

 

HTH,

-Alex

 

From: Piotr Zarzycki <pi...@gmail.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, February 26, 2018 at 11:19 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina, 

 

In my sense you will have to use -library-path+=path to the library. You have to tell compiler about that library.

 

Thanks, Piotr

 

2018-02-27 7:57 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi  Alex,

With latest nightly build:

MaskedTextInput , shmReportUtil …. Are Library Project Actionscript Files.

Main Application contains SHMALib.swc file in Libs folder

Error Link:

https://www.dropbox.com/s/p5imt22cuut0ex6/ErrorGeneratingReport.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fp5imt22cuut0ex6%2FErrorGeneratingReport.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=8f1f9duW2Red4bP77hFTh3mLcCptBmAwd87n1iSkk%2Bs%3D&reserved=0> 

 

I have a question that which .mxml file should be used to generate that report?

Applications.mxml is startup file in case of my Project so I’m using it.

 

Please visit reference link and If I’m doing anything wrong please let me know.

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 12:00 AM


To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I pushed a fix for that.  It might or might not be related to your custom swc.  Get the latest nightly build and let us know.

 

Also, if you are successful, please use your regular compiler to generate a -link–report.  That will help us verify that the API report didn't miss anything.

 

Thanks,

-Alex

 

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, February 26, 2018 at 4:01 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Generated Report file for Sample Project Successfully.

 

spark.components.Application:minHeight,1

spark.components.Application:minWidth,1

spark.components.Application:mxmlContentFactory,2

spark.components.Label:fontSize,1

spark.components.Label:fontWeight,1

spark.components.Label:horizontalCenter,1

spark.components.Label:text,1

spark.components.Label:textAlign,1

spark.components.Label:verticalCenter,1

 

But while executing Actual Project got Error:

https://www.dropbox.com/s/d25eysllavuy5z4/compile2.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fd25eysllavuy5z4%2Fcompile2.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=2i28J4zjv1vEQ7sd%2BGfHm%2Bh1FjG%2BP3YdJCc6rGZr3C4%3D&reserved=0> 

https://www.dropbox.com/s/49iq74zk6rxcr1y/compile1.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F49iq74zk6rxcr1y%2Fcompile1.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=44tfkOscWyJ%2FH3M30HeJ6dfFE0TlpTMhQ2t%2Bv%2ByuoDg%3D&reserved=0> 

 

May be because my Application is dependent to SHMALib(.swc) Library Project (Source Shared Earlier). 

 

-Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Monday, February 26, 2018 5:02 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Alex,

 

I did above exercise for Moonshine and got NPE [1]. I used air-config.xml because it is na Desktop app.

 

[1] https://paste.apache.org/R0Si <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FR0Si&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=tFLrK9xsVt57PytwBaNoUJ%2FIPFH7FCHDtfrmJ1sAl3Y%3D&reserved=0>  

 

Thanks,

Piotr

 

 

2018-02-26 12:56 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:

Yishay,

 

Thank you so much!! I got it working.

 

Alina,

 

Here is the full instruction.

 

1) Download Apache Royale with SWF support - if you have that is good, if not it's here [1]

2) Download Apache Flex - you have it as I have seen on the screenshot.

3) Launch console and go to the Royale SDK folder

 

"yourpathtosdk\bin\" - In my case it was: "d:\Work\royale_ide\royale_nightly_js_swf\bin\"

 

4) Run following command where you will point to the Flex Browser application in order to generate report. My command looks like that:

 

mxmlc "c:\Users\piotr\Documents\NewFlexBrowserProject\src\NewFlexBrowserProject.mxml" -api-report="c:\Users\piotr\Documents\NewFlexBrowserProject\report.txt" -load-config=d:\Work\flex-sdk-4.16.1_adobe_air_28\frameworks\flex-config.xml

 

I generated report for hellow world. Maybe in order to generate report for your application that console command may be much more sophisticated. Let's see!

 

 

[1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/lastSuccessfulBuild/artifact/out/ <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2Fout%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=O%2BpVQ8OuhB%2FtE4ZdylTSkAQCWsIPBGlr9RgiTjWSWEM%3D&reserved=0> 

 

Thanks,

Piotr

 

 

2018-02-26 12:46 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:

Looks like [1] you do need to add compiler option: -api–report=<path to output file>

 

[1] http://apache-royale-users.20374.n8.nabble.com/Substitutes-in-Apache-Royale-tp392p492.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p492.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kda6SpkBgdRqGAeGJ5Db629EAy7KAVbOZKzhzhynRZk%3D&reserved=0> 

 

 

From: Piotr Zarzycki <ma...@gmail.com> 
Sent: Monday, February 26, 2018 1:37 PM


To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

I have produced with that swf, but what's next? Let's wait for Alex's response [1] 

 

[1] https://paste.apache.org/YEeG <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FYEeG&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8ameYzJ7AloOW4nTa8dqu7zYxwORSQc5sCUqpZDVA%2BY%3D&reserved=0> 

 

Thanks,

Piotr

 

2018-02-26 12:32 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:

Alex will know but I don’t think so. I haven’t updated the compiler recently so can’t test it right now. If you want to test it maybe just create a simple app and replace /Users/aharui/ApacheFlex4.16.0 with your sdk home.

 

 

 

From: Piotr Zarzycki <ma...@gmail.com> 
Sent: Monday, February 26, 2018 1:25 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Yishay, 

 

bin/mxmlc

<path to app's

.mxml

file>

-load-config=/Users/aharui/ApacheFlex4.16.0/frameworks/flex-config.xml  

 

Do I need some switch for compiler -api-report or something like that ?

 

Thanks,

Piotr

 

 

2018-02-26 12:10 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:

Wasn’t logged in. Here’s [1] the link.

 

[1] http://apache-royale-users.20374.n8.nabble.com/Substitutes-in-Apache-Royale-tp392p489.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p489.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8Tp5%2BFveKS0eoW7D8EovITPQqYrgwDK4P7cW9izXFH8%3D&reserved=0> 

 

 

From: Yishay Weiss <ma...@hotmail.com> 
Sent: Monday, February 26, 2018 12:59 PM
To: users@royale.apache.org
Subject: RE: Generating API report for Flex Web Browser application

 

I couldn’t find a way to link to a nabble post, but this [1] might help (from Substitutes in Apache Royale).

 

[1] https://paste.apache.org/N2QR <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FN2QR&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=VIS8u6EEBWN6jQrFxpttZvAfUCSSKPe3rbrBDU2w7Sg%3D&reserved=0> 

 

From: Piotr Zarzycki <ma...@gmail.com> 
Sent: Monday, February 26, 2018 12:44 PM
To: users@royale.apache.org
Subject: Generating API report for Flex Web Browser application

 

Hi Alex, 

 

I would like to understand how to generate that report. I will go with the console path, because I think this is something unusual and probably Moonshine is not prepared to do this. I'm writing this on the users mailing list because Alina is having some problems with that. I wanted to simplify all of that. Let's start from the beginning. 

 

1) I have created Flex Web browser project using Apache Flex SDK 4.16.1. 

2) I have nightly build of Royale with SWF support [1]

 

What should I type in the console now ?

 

[1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/lastSuccessfulBuild/artifact/ <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=UtYFFQ90aNB2HU2Vx4t8YAS6Eo2j1ZqVAytujEOgoFM%3D&reserved=0> 

 

Thanks,
-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 

 

 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 

 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 

 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=zGrfZ2Wj3CLuuW%2B%2BKtUSQF6762Vn0%2BeNjCMlViBMghg%3D&reserved=0> 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki


RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

Posted by Alina Kazi <al...@d-bz.com>.
Hi Piotr,

 

First Step :

4. " Build Compiler (royale-compiler)

https://www.dropbox.com/s/l2i3kh5sw6gh0j2/errormaven.png?dl=0

 

 

Thanks,

Alina 

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Monday, March 12, 2018 5:40 PM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Alina,

 

Let's try Alex's approach and build 1. compiler, 2. typedefs, 3. framework. Follow instruction [1]. Start from point 4. " Build Compiler (royale-compiler)". Let's see where you end up.

For me It's working even without building compiler and typedefs. Let's see whether you will have timeouts.

 

[1] https://github.com/apache/royale-asjs/wiki/Build-Apache-Royale-with-Maven

 

Thanks, Piotr

 

 

2018-03-12 13:16 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Piotr,

output : https://www.dropbox.com/s/aj1qehblok9yhfw/error.txt?dl=0

 

Thanks,

Alina

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Monday, March 12, 2018 4:43 PM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alina,

 

Can you run command with -X:  mvn -s settings-template.xml clean install -X.

 

Please paste your output on some paste - It will be easier for me analyze it. 

 

Thanks, Piotr

 

 

2018-03-12 12:18 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Piotr,

 

I am getting this error while executing maven command.

System environment variable path is:

PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32

\WindowsPowerShell\v1.0;C:\Program Files\Java\jdk1.8.0_31\bin;D:\apache-ant-1.10.2\bin;C:\Program Files\Git\cmd;D:\apache-maven-3.5.3\bin

 

d:\Apache\royale-asjs>mvn -s settings-template.xml install

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

maven-metadata.xml

[WARNING] Could not transfer metadata org.apache.flex.utilities.converter:flex-s

dk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from/to apache-sn

apshots (http://repository.apache.org/snapshots/): Connect to repository.apache.

org:80 [repository.apache.org/207.244.88.140] failed: Connection timed out: conn

ect

[WARNING] Failure to transfer org.apache.flex.utilities.converter:flex-sdk-conve

rter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from http://repository.ap

ache.org/snapshots/ was cached in the local repository, resolution will not be r

eattempted until the update interval of apache-snapshots has elapsed or updates

are forced. Original error: Could not transfer metadata org.apache.flex.utilitie

s.converter:flex-sdk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml

from/to apache-snapshots (http://repository.apache.org/snapshots/): Connect to

repository.apache.org:80 [repository.apache.org/207.244.88.140] failed: Connecti

on timed out: connect

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

flex-sdk-converter-maven-extension-1.0.0-SNAPSHOT.pom

[WARNING] Failed to read extensions descriptor D:\Apache\royale-asjs\.mvn\extens

ions.xml: Plugin org.apache.flex.utilities.converter:flex-sdk-converter-maven-ex

tension:1.0.0-SNAPSHOT or one of its dependencies could not be resolved: Failed

to read artifact descriptor for org.apache.flex.utilities.converter:flex-sdk-con

verter-maven-extension:jar:1.0.0-SNAPSHOT

[INFO] Scanning for projects...

[WARNING] The project org.apache:apache:pom:18 uses prerequisites which is only

intended for maven-plugin projects but not for non maven-plugin projects. For su

ch purposes you should use the maven-enforcer-plugin. See https://maven.apache.o

rg/enforcer/enforcer-rules/requireMavenVersion.html

[INFO]

[INFO] -------------------------< org.apache:apache >--------------------------

[INFO] Building The Apache Software Foundation 18

[INFO] --------------------------------[ pom ]---------------------------------

Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/

plugins/maven-remote-resources-plugin/1.5/maven-remote-resources-plugin-1.5.pom

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 33.430 s

[INFO] Finished at: 2018-03-12T16:10:48+05:00

[INFO] ------------------------------------------------------------------------

[ERROR] Plugin org.apache.maven.plugins:maven-remote-resources-plugin:1.5 or one

of its dependencies could not be resolved: Failed to read artifact descriptor f

or org.apache.maven.plugins:maven-remote-resources-plugin:jar:1.5: Could not tra

nsfer artifact org.apache.maven.plugins:maven-remote-resources-plugin:pom:1.5 fr

om/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.apac

he.org:443 [repo.maven.apache.org/151.101.196.215] failed: Connection timed out:

connect -> [Help 1]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit

ch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please rea

d the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResoluti

onException

 

 

Thanks,

Alina 

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Wednesday, March 07, 2018 12:22 PM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

I got the same results, but tried again in the same directory with  mvn -s settings-template.xml clean install and it's building now!

 

2018-03-07 7:59 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Piotr,

What should I do?

Do You want me to delete all files name royale-asjs? Or delete other folders royale-compiler n others.

 

Thanks Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Wednesday, March 07, 2018 12:07 PM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Ok! I just cloned separate repository and got similar problem. -> https://paste.apache.org/HuYU

 

2018-03-07 7:42 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Similar Error

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Wednesday, March 07, 2018 11:41 AM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Use "mvn -s settings-template.xml clean install" without pointing to profile -P utils.

 

2018-03-07 7:22 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Piotr,

Getting Similar Error in all cases. 

C:\Users\aleena>git clone https://github.com/apache/royale-asjs

Cloning into 'royale-asjs'...

remote: Counting objects: 101055, done.

remote: Compressing objects: 100% (127/127), done.

remote: Total 101055 (delta 101), reused 183 (delta 63), pack-reused 100828

Receiving objects: 100% (101055/101055), 19.27 MiB | 249.00 KiB/s, done.

Resolving deltas: 100% (61539/61539), done.

Checking out files: 100% (3572/3572), done.

 

C:\Users\aleena>cd royale-asjs

 

C:\Users\aleena\royale-asjs>git checkout develop

Already on 'develop'

Your branch is up to date with 'origin/develop'.

 

C:\Users\aleena\royale-asjs>mvn -s settings-template.xml clean install -P utils

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

maven-metadata.xml

[WARNING] Could not transfer metadata org.apache.flex.utilities.converter:flex-s

dk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from/to apache-sn

apshots (http://repository.apache.org/snapshots/): Connect to repository.apache.

org:80 [repository.apache.org/207.244.88.140] failed: Connection timed out: conn

ect

[WARNING] Failure to transfer org.apache.flex.utilities.converter:flex-sdk-conve

rter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from http://repository.ap

ache.org/snapshots/ was cached in the local repository, resolution will not be r

eattempted until the update interval of apache-snapshots has elapsed or updates

are forced. Original error: Could not transfer metadata org.apache.flex.utilitie

s.converter:flex-sdk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml

 from/to apache-snapshots (http://repository.apache.org/snapshots/): Connect to

repository.apache.org:80 [repository.apache.org/207.244.88.140] failed: Connecti

on timed out: connect

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

flex-sdk-converter-maven-extension-1.0.0-SNAPSHOT.pom

[WARNING] Failed to read extensions descriptor C:\Users\aleena\royale-asjs\.mvn\

extensions.xml: Plugin org.apache.flex.utilities.converter:flex-sdk-converter-ma

ven-extension:1.0.0-SNAPSHOT or one of its dependencies could not be resolved: F

ailed to read artifact descriptor for org.apache.flex.utilities.converter:flex-s

dk-converter-maven-extension:jar:1.0.0-SNAPSHOT

[INFO] Scanning for projects...

Downloading from apache-release: https://repository.apache.org/content/repositor

ies/releases/org/apache/apache/18/apache-18.pom

Downloading from central: https://repo.maven.apache.org/maven2/org/apache/apache

/18/apache-18.pom

[ERROR] [ERROR] Some problems were encountered while processing the POMs:

[FATAL] Non-resolvable parent POM for org.apache.royale.framework:royale-framewo

rk-parent:0.9.2-SNAPSHOT: Could not transfer artifact org.apache:apache:pom:18 f

rom/to apache-release (https://repository.apache.org/content/repositories/releas

es): Connect to repository.apache.org:443 [repository.apache.org/207.244.88.140]

 failed: Connection timed out: connect and 'parent.relativePath' points at no lo

cal POM @ line 24, column 11

 @

[ERROR] The build could not read 1 project -> [Help 1]

[ERROR]

[ERROR]   The project org.apache.royale.framework:royale-framework-parent:0.9.2-

SNAPSHOT (C:\Users\aleena\royale-asjs\pom.xml) has 1 error

[ERROR]     Non-resolvable parent POM for org.apache.royale.framework:royale-fra

mework-parent:0.9.2-SNAPSHOT: Could not transfer artifact org.apache:apache:pom:

18 from/to apache-release (https://repository.apache.org/content/repositories/re

leases): Connect to repository.apache.org:443 [repository.apache.org/207.244.88.

140] failed: Connection timed out: connect and 'parent.relativePath' points at n

o local POM @ line 24, column 11 -> [Help 2]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit

ch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please rea

d the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin

gException

[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableMo

delException

 

Thanks,

Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Wednesday, March 07, 2018 11:25 AM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Alina,

 

I see in your trace that you have cloned typedefs instead asjs -> "git clone https://github.com/apache/royale-typedefs.git". You should clone: 

 

git clone https://github.com/apache/royale-asjs and switch to "develop" branch than try to build.

 

However let me try build typedefs only in the meantime clone asjs and try again.

 

Thanks, Piotr

 

 

2018-03-07 7:19 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:

Alina,

 

Not sure, but let me try that on my sight, however I doubt that. Maven is a very distinguished from all the environment variables. If you got that build running you don't have to use almost all. :)

 

2018-03-07 7:03 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Piotr,

 

ROYALE_HOME environment variable is set to D:\royale-asjs that is the path for installed latest nightly build. This could be the reason ?

 

Thanks,

Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Wednesday, March 07, 2018 10:56 AM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Please try again build. Maybe it was some temporary problem. My build is running right now without the problem. Maven downloading dependencies nicely.

 

Thanks, Piotr

 

2018-03-07 6:39 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Piotr,

Its Working.

This XML file does not appear to have any style information associated with it. The document tree is shown below.

<metadata modelVersion="1.1.0">

<groupId>org.apache.flex.utilities.converter</groupId>

<artifactId>retrievers</artifactId>

<version>1.0.0-SNAPSHOT</version>

<versioning>

<snapshot>

<timestamp>20171112.204231</timestamp>

<buildNumber>490</buildNumber>

</snapshot>

<lastUpdated>20171112204231</lastUpdated>

<snapshotVersions>

<snapshotVersion>

<extension>pom</extension>

<value>1.0.0-20171112.204231-490</value>

<updated>20171112204231</updated>

</snapshotVersion>

</snapshotVersions>

</versioning>

</metadata>

 

Thanks,

Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Wednesday, March 07, 2018 10:48 AM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alina,

 

I just removed my whole local repository and trying exactly the same scenario. Just quick question can you try in your browser open this link ? Is it working ?

 

http://repository.apache.org/snapshots/org/apache/flex/utilities/converter/retrievers/1.0.0-SNAPSHOT/maven-metadata.xml

 

Thanks,

Piotr

 

2018-03-07 6:27 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Piotr,

Using Maven :

C:\Users\aleena>git clone https://github.com/apache/royale-typedefs.git royale-a

sjs

Cloning into 'royale-asjs'...

remote: Counting objects: 3318, done.

remote: Compressing objects: 100% (93/93), done.

remote: Total 3318 (delta 48), reused 76 (delta 16), pack-reused 3200

Receiving objects: 100% (3318/3318), 3.51 MiB | 244.00 KiB/s, done.

Resolving deltas: 100% (1337/1337), done.

 

C:\Users\aleena>cd royale-asjs

 

C:\Users\aleena\royale-asjs>git checkout develop

Already on 'develop'

Your branch is up to date with 'origin/develop'.

 

C:\Users\aleena\royale-asjs>mvn -s settings-template.xml clean install

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

maven-metadata.xml

[WARNING] Could not transfer metadata org.apache.flex.utilities.converter:flex-s

dk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from/to apache-sn

apshots (http://repository.apache.org/snapshots/): Connect to repository.apache.

org:80 [repository.apache.org/207.244.88.140] failed: Connection timed out: conn

ect

[WARNING] Failure to transfer org.apache.flex.utilities.converter:flex-sdk-conve

rter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from http://repository.ap

ache.org/snapshots/ was cached in the local repository, resolution will not be r

eattempted until the update interval of apache-snapshots has elapsed or updates

are forced. Original error: Could not transfer metadata org.apache.flex.utilitie

s.converter:flex-sdk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml

 from/to apache-snapshots (http://repository.apache.org/snapshots/): Connect to

repository.apache.org:80 [repository.apache.org/207.244.88.140] failed: Connecti

on timed out: connect

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

flex-sdk-converter-maven-extension-1.0.0-SNAPSHOT.pom

[WARNING] Failed to read extensions descriptor C:\Users\aleena\royale-asjs\.mvn\

extensions.xml: Plugin org.apache.flex.utilities.converter:flex-sdk-converter-ma

ven-extension:1.0.0-SNAPSHOT or one of its dependencies could not be resolved: F

ailed to read artifact descriptor for org.apache.flex.utilities.converter:flex-s

dk-converter-maven-extension:jar:1.0.0-SNAPSHOT

[INFO] Scanning for projects...

Downloading from apache-release: https://repository.apache.org/content/repositor

ies/releases/org/apache/apache/18/apache-18.pom

Downloading from central: https://repo.maven.apache.org/maven2/org/apache/apache

/18/apache-18.pom

[ERROR] [ERROR] Some problems were encountered while processing the POMs:

[FATAL] Non-resolvable parent POM for org.apache.royale.typedefs:royale-typedefs

-parent:0.9.2-SNAPSHOT: Could not transfer artifact org.apache:apache:pom:18 fro

m/to apache-release (https://repository.apache.org/content/repositories/releases

): Connect to repository.apache.org:443 [repository.apache.org/207.244.88.140] f

ailed: Connection timed out: connect and 'parent.relativePath' points at wrong l

ocal POM @ line 23, column 11

 @

[ERROR] The build could not read 1 project -> [Help 1]

[ERROR]

[ERROR]   The project org.apache.royale.typedefs:royale-typedefs-parent:0.9.2-SN

APSHOT (C:\Users\aleena\royale-asjs\pom.xml) has 1 error

[ERROR]     Non-resolvable parent POM for org.apache.royale.typedefs:royale-type

defs-parent:0.9.2-SNAPSHOT: Could not transfer artifact org.apache:apache:pom:18

 from/to apache-release (https://repository.apache.org/content/repositories/rele

ases): Connect to repository.apache.org:443 [repository.apache.org/207.244.88.14

0] failed: Connection timed out: connect and 'parent.relativePath' points at wro

ng local POM @ line 23, column 11 -> [Help 2]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit

ch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please rea

d the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin

gException

[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableMo

delException

 

C:\Users\aleena\royale-asjs>

 

Thanks

Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Tuesday, March 06, 2018 5:30 PM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alina,

 

You can try to go with Maven to see whether you have similar problems [1]

 

[1] https://github.com/apache/royale-asjs/wiki/Build-Apache-Royale-with-Maven

 

Thanks, Piotr

 

2018-03-06 13:12 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Alex,

Still getting same error, while executing:

C:\Users\aleena\royale-asjs>ant all

Website link is working :

http://www.antlr.org/license.html

 

could be only issue , Antlr server will be off-line ?

 

Thanks,

Alina

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Tuesday, March 06, 2018 4:38 PM
To: 'users@royale.apache.org'
Subject: RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alex,

 

We can exclude ScaleX , ScaleY,transform from our code as we are using it in our Library Project Only.

We are using “Rotation” in a PopUp Window. 

 

Can you please explain emulation ?

How do they will work?

 

Thanks,

Alina

 

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Tuesday, March 06, 2018 3:14 PM
To: 'users@royale.apache.org'
Subject: RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alex,

We are using commitProperties() in our Library Project. Overriding the Existing Spark commitProperties() method 

For Example:

ResizableTextAreaSkin.mxml (SHMALib)

override protected function commitProperties():void {

                                                super.commitProperties();

 

                                                if (lineBreakChanged) {

                                                                updateStringStyle("lineBreak");

                                                                lineBreakChanged = false;

                                                }

                                                if (paddingChanged) {

                                                                updatePadding();

                                                                paddingChanged = false;

                                                }

                                                if (verticalAlignChanged) {

                                                                updateStringStyle("verticalAlign");

                                                                verticalAlignChanged = false;

                                                }

                                }

We are using 


Package

 <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/package-detail.html> flash.display


Class

public class DisplayObject


Inheritance

DisplayObject Inheritance  <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/EventDispatcher.html> EventDispatcher Inheritance  <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Object.html> Object


Reference Link:

	

https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/DisplayObject.html

 

e.g :

                public function updateLayoutWithoutAnimation():void

                                {

                                                if(_layoutInvalid == true && layoutFunction != null)

                                                {

                                                                _layoutInvalid = false;

                                                                layoutFunction();

                                                }

 

                                                for(var aChild:* in _targets)

                                                {

                                                                var target:LayoutTarget = _targets[aChild];

                                                                var item:IFlexDisplayObject = target.item;

                                                                var m:Matrix = DisplayObject(item).transform.matrix;

 

                                                                m.tx = target.x;

                                                                m.ty = target.y;

                                                                m.a = target.scaleX;                                                                        

                                                                m.d = target.scaleY

                                                                

                                                                DisplayObject(item).alpha = target.alpha;

                                                                DisplayObject(item).transform.matrix = m;

                                                                item.setActualSize(target.unscaledWidth,target.unscaledHeight);

                                                                if(target.state == "removed")

                                                                {

                                                                                delete _targets[target.item];

                                                                                continue;

                                                                }

                                                                else

                                                                {

                                                                                target.state = "positioned"

                                                                }

                                                }

                                                stopTimer();

                                }

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, March 06, 2018 1:36 PM
To: users@royale.apache.org
Subject: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alina,

 

I'm starting on the emulation.  I've noticed that your application code appears to be calling commitProperties().  Can you tell us why?

 

Also, it looks like there are a few uses of rotation, transform, scaleX and scaleY.  What are those used for?

 

Thanks,

-Alex

 

From: Alex Harui <ah...@adobe.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 11:38 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Try again.  Sometimes the Antlr server goes off-line around this time of day.

 

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 11:12 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Using jdk1.8.0_162:

 

C:\Users\aleena\royale-asjs>ant all

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Buildfile: C:\Users\aleena\royale-asjs\build.xml

 

set.base.folder:

 

check-git:

     [echo] Checking for Git...

     [exec] git version 2.16.2.windows.1

 

get-download-folder:

 

download-all:

     [echo] Using folder C:\Users\aleena\royale-asjs/..

 

check-royale-asjs:

 

warn-before-clone:

 

check-royale-asjs:

 

clone-royale-asjs:

 

check-royale-compiler:

 

clone-royale-compiler:

 

check-royale-typedefs:

 

clone-royale-typedefs:

 

check-playerglobal-home:

 

check-air-home:

 

build-all:

 

ask-before-build-all:

    [input] This script will now download and compile lots of files.  This can t

ake several minutes.   No interaction should be required.  Press the enter key t

o continue.

 

 

sdk:

 

annotate.class:

    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-

build-tools\target\classes

    [javac] warning: [options] bootstrap class path not set in conjunction with

-source 1.5

    [javac] warning: [options] source value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] target value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] To suppress warnings about obsolete options, use

-Xlint:-options.

    [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\src\main\java\o

rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:24: warning: [serial

] serializable class AnnotateClassDeleteException has no definition of serialVer

sionUID

    [javac]     public static class AnnotateClassDeleteException extends Excepti

on

    [javac]                   ^

    [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\src\main\java\o

rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:32: warning: [serial

] serializable class AnnotateClassRenameException has no definition of serialVer

sionUID

    [javac]     public static class AnnotateClassRenameException extends Excepti

on

    [javac]                   ^

    [javac] 6 warnings

 

unknown.tree.pattern.input.output:

    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-

build-tools\target\classes

    [javac] warning: [options] bootstrap class path not set in conjunction with

-source 1.5

    [javac] warning: [options] source value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] target value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] To suppress warnings about obsolete options, use

-Xlint:-options.

    [javac] 4 warnings

 

main:

 

compiler.downloads.cache:

 

compiler.downloads:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

prepare:

     [echo] Making lib directory C:\Users\aleena\royale-compiler\compiler/lib/ex

ternal

    [mkdir] Created dir: C:\Users\aleena\royale-compiler\compiler\lib\external

 

all:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

check-dependency:

     [echo] checking for C:\Users\aleena\royale-compiler\compiler/lib/external//

antlr.jar

 

download-dependency:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

echo-project-jar:

   [delete] Deleting: C:\Users\aleena\royale-compiler\compiler\src\main\resource

s\project.properties

     [echo] ${INFO_DOWNLOADING_FILE_FROM}

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

download-apache-license:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

download-other-license:

      [get] Getting: http://www.antlr.org/license.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0> 

      [get] To: C:\Users\aleena\royale-compiler\compiler\lib\external\antlr-LICE

NSE.html

      [get] Error getting http://www.antlr.org/license.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0>  to C:\Users\aleena\r

oyale-compiler\compiler\lib\external\antlr-LICENSE.html

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

double-check-file:

     [echo] ${env.ROYALE_DOWNLOAD_CACHE}

     [echo] Need file: ${still_no_file}

 

get-from-cache-if-needed:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

fail-if-not-found:

 

BUILD FAILED

C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-compiler\build.xml:64: The following error occurred while

 executing this line:

C:\Users\aleena\royale-compiler\compiler-jburg-types\build.xml:87: The following

 error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:81: Th

e following error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:275: T

he following error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:329: T

he following error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:489: C

:\Users\aleena\royale-compiler\compiler/lib/external//antlr-LICENSE.html could n

ot be downloaded or found in cache

 

Total time: 47 seconds

 

C:\Users\aleena\royale-asjs>

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, March 06, 2018 11:55 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Please use JDK8.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 10:40 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

Java version that I am using is “9.0.1”

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, March 06, 2018 11:42 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

What version of Java are you using?  Please get a JDK7 or 8 and try that.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 10:22 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Command Prompt Output is:

C:\Users\aleena>git clone https://github.com/apache/royale-asjs.git <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs.git&data=02%7C01%7Caharui%40adobe.com%7Cdf86fa0dd25b41ffbc8108d5832f0997%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559160423949211&sdata=d9cKX4ILIQPLI5USXvAafSnrWZSgW1XHw6G4r%2B9wgsE%3D&reserved=0>  royale-asjs

Cloning into 'royale-asjs'...

remote: Counting objects: 101103, done.

remote: Compressing objects: 100% (22/22), done.

remote: Total 101103 (delta 9), reused 30 (delta 7), pack-reused 101066R

Receiving objects: 100% (101103/101103), 19.23 MiB | 208.00 KiB/s, done.

 

Resolving deltas: 100% (61584/61584), done.

Checking out files: 100% (3572/3572), done.

 

C:\Users\aleena>cd royale-asjs

 

C:\Users\aleena\royale-asjs>git checkout develop

Already on 'develop'

Your branch is up to date with 'origin/develop'.

 

C:\Users\aleena\royale-asjs>ant all

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Buildfile: C:\Users\aleena\royale-asjs\build.xml

 

set.base.folder:

 

check-git:

     [echo] Checking for Git...

     [exec] git version 2.16.2.windows.1

 

get-download-folder:

 

download-all:

     [echo] Using folder C:\Users\aleena\royale-asjs/..

 

check-royale-asjs:

 

warn-before-clone:

 

check-royale-asjs:

 

clone-royale-asjs:

 

check-royale-compiler:

 

clone-royale-compiler:

     [echo] cloning royale-compiler repo into C:\Users\aleena\royale-asjs/../roy

ale-compiler

     [exec] Cloning into 'royale-compiler'...

     [exec] Checking out files:   8% (284/3191)

     [exec] Checking out files:   9% (288/3191)   Checking out files:  10% (320/

3191)   Checking out files:  11% (352/3191)   Checking out files:  12% (383/3191

)   Checking out files:  13% (415/3191)   Checking out files:  13% (444/3191)

Checking out files:  14% (447/3191)   Checking out files:  15% (479/3191)   Chec

king out files:  16% (511/3191)   Checking out files:  17% (543/3191)   Checking

 out files:  18% (575/3191)   Checking out files:  19% (607/3191)   Checking out

 files:  20% (639/3191)   Checking out files:  20% (641/3191)   Checking out fil

es:  21% (671/3191)   Checking out files:  22% (703/3191)   Checking out files:

 23% (734/3191)   Checking out files:  24% (766/3191)   Checking out files:  25%

 (798/3191)   Checking out files:  26% (830/3191)   Checking out files:  26% (84

2/3191)   Checking out files:  27% (862/3191)   Checking out files:  28% (894/31

91)   Checking out files:  29% (926/3191)   Checking out files:  30% (958/3191)

  Checking out files:  31% (990/3191)   Checking out files:  32% (1022/3191)   C

hecking out files:  33% (1054/3191)   Checking out files:  34% (1085/3191)   Che

cking out files:  35% (1117/3191)   Checking out files:  36% (1149/3191)   Check

ing out files:  37% (1181/3191)   Checking out files:  38% (1213/3191)   Checkin

g out files:  39% (1245/3191)   Checking out files:  40% (1277/3191)   Checking

out files:  40% (1308/3191)   Checking out files:  41% (1309/3191)   Checking ou

t files:  42% (1341/3191)   Checking out files:  42% (1352/3191)   Checking out

files:  43% (1373/3191)   Checking out files:  44% (1405/3191)   Checking out fi

les:  45% (1436/3191)   Checking out files:  46% (1468/3191)   Checking out file

s:  47% (1500/3191)   Checking out files:  48% (1532/3191)   Checking out files:

  49% (1564/3191)   Checking out files:  49% (1578/3191)   Checking out files:

50% (1596/3191)   Checking out files:  51% (1628/3191)   Checking out files:  52

% (1660/3191)   Checking out files:  53% (1692/3191)   Checking out files:  54%

(1724/3191)   Checking out files:  55% (1756/3191)   Checking out files:  56% (1

787/3191)   Checking out files:  57% (1819/3191)   Checking out files:  58% (185

1/3191)   Checking out files:  59% (1883/3191)   Checking out files:  60% (1915/

3191)   Checking out files:  61% (1947/3191)   Checking out files:  62% (1979/31

91)   Checking out files:  63% (2011/3191)   Checking out files:  63% (2022/3191

)   Checking out files:  64% (2043/3191)   Checking out files:  65% (2075/3191)

  Checking out files:  66% (2107/3191)   Checking out files:  67% (2138/3191)

Checking out files:  68% (2170/3191)   Checking out files:  69% (2202/3191)   Ch

ecking out files:  70% (2234/3191)   Checking out files:  71% (2266/3191)   Chec

king out files:  72% (2298/3191)   Checking out files:  73% (2330/3191)   Checki

ng out files:  74% (2362/3191)   Checking out files:  75% (2394/3191)   Checking

 out files:  76% (2426/3191)   Checking out files:  77% (2458/3191)   Checking o

ut files:  78% (2489/3191)   Checking out files:  79% (2521/3191)   Checking out

 files:  80% (2553/3191)   Checking out files:  81% (2585/3191)   Checking out f

iles:  82% (2617/3191)   Checking out files:  83% (2649/3191)   Checking out fil

es:  83% (2679/3191)   Checking out files:  84% (2681/3191)   Checking out files

:  85% (2713/3191)   Checking out files:  86% (2745/3191)   Checking out files:

 87% (2777/3191)   Checking out files:  88% (2809/3191)   Checking out files:  8

9% (2840/3191)   Checking out files:  89% (2845/3191)   Checking out files:  90%

 (2872/3191)   Checking out files:  91% (2904/3191)   Checking out files:  92% (

2936/3191)   Checking out files:  93% (2968/3191)   Checking out files:  94% (30

00/3191)   Checking out files:  95% (3032/3191)   Checking out files:  95% (3035

/3191)   Checking out files:  96% (3064/3191)   Checking out files:  97% (3096/3

191)   Checking out files:  98% (3128/3191)   Checking out files:  99% (3160/319

1)   Checking out files: 100% (3191/3191)   Checking out files: 100% (3191/3191)

, done.

     [exec] Your branch is up to date with 'origin/develop'.

     [exec] Already on 'develop'

 

check-royale-typedefs:

 

clone-royale-typedefs:

     [echo] cloning royale-typedefs repo into C:\Users\aleena\royale-asjs/../roy

ale-typedefs

     [exec] Cloning into 'royale-typedefs'...

     [exec] Your branch is up to date with 'origin/develop'.

     [exec] Already on 'develop'

 

check-playerglobal-home:

 

check-air-home:

 

build-all:

 

ask-before-build-all:

    [input] This script will now download and compile lots of files.  This can t

ake several minutes.   No interaction should be required.  Press the enter key t

o continue.

 

sdk:

 

annotate.class:

    [mkdir] Created dir: C:\Users\aleena\royale-compiler\compiler-build-tools\ta

rget\classes

    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-

build-tools\target\classes

    [javac] warning: [options] bootstrap class path not set in conjunction with

-source 1.5

    [javac] error: Source option 1.5 is no longer supported. Use 1.6 or later.

    [javac] error: Target option 1.5 is no longer supported. Use 1.6 or later.

 

BUILD FAILED

C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-compiler\build.xml:63: The following error occurred while

 executing this line:

C:\Users\aleena\royale-compiler\compiler-build-tools\build.xml:74: Compile faile

d; see the compiler error output for details.

 

Total time: 17 minutes 59 seconds

 

C:\Users\aleena\royale-asjs>

 

Unable to Build, Please guide.

 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Friday, March 02, 2018 10:31 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I was able to download and expand the files.  I will be consolidating the data today. 

 

In order to be able to write some of these emulations, you will probably need to be able to build the framework sources.  If you haven't already, you can try cloning the royale-asjs repo and figure out how to get it to build.  You can choose Apache Maven or Apache Ant as the build tool.

 

https://github.com/apache/royale-asjs <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs&data=02%7C01%7Caharui%40adobe.com%7C3c1833c1fc9442003f2608d5832c7fe0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559149534170415&sdata=YqGTpbzoou8SilHbsTxjriIjiREaS%2FA9j6xjZYRR%2F4E%3D&reserved=0> 

 

Hopefully the instruction in the readme are sufficient.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Friday, March 2, 2018 at 12:34 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

Application API-Report link:

https://www.dropbox.com/s/swvqhly6wa0jrc5/API-Reports.rar?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fswvqhly6wa0jrc5%2FAPI-Reports.rar%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C928c248220464230f6dd08d5801a2f13%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555772324148830&sdata=9%2BsrGG41iCMIEmbtqnEbV%2BPvi1ngE9vF%2BKuqPAZ%2Bzao%3D&reserved=0> 

SHMALib Report, applications,shmDoclist,shmSetupList,AppView_EIS, AppView_ERP,shmMappingSetup, shmMappingSetupOpenDetailGrid,shmSalesInvoice, shmSalesInvoiceDetail are main API Files.

 

Regards,

Alina

 

 

 

 

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Friday, March 02, 2018 11:32 AM
To: users@royale.apache.org
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

2) We are using Effects in our Application 2-3 times 

4) We are using text styling in our Application 3-5 times 

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Friday, March 02, 2018 4:26 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

1) Interesting about Charts.  They were being used by the SWC.

2) Effects are any animations that move, resize or fade things in the UI.

3) ok

4) I'm not sure what to conclude from the screenshot.  I'm interested in how often folks use it to create text with bold, italics and other styling of text.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Thursday, March 1, 2018 at 4:24 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

600 mxml.api.txt files are generated and still in process. I will share link for files tomorrow.

After sharing my files tomorrow, If you will suggest to build  emulations. 

I will  definitely want to learn how to create emulations and contribute them to Apache Royale.  

1.We are not using Charts in our Application

2. How important are effects? (Please explain effects )

3. We are not using Right-to-left languages in RichTextEditor.

4. Is RichTextEditor being used for non-plain text?  If so, what kinds of text styling is important?

Link:https://www.dropbox.com/s/ky93eycmefm3cuu/RICHTEXTEDITOR.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fky93eycmefm3cuu%2FRICHTEXTEDITOR.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cff526ec5592c42772ade08d57f713736%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555046634193460&sdata=BjS8q1GarTweRfMMmZOKxN%2FTQTqhtzJlm05KAtWnNTQ%3D&reserved=0> 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 10:45 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Good to hear it worked.

 

I think I am waiting on all of the mxml.api.txt files to see what else is in there that isn't in the two reports we have, then we'll have a pretty good list of the places you will either need to change in your code or that we  will build emulations for.

 

I think emulations will be less work in the end, but there will be a lot of them to do.  We will want to you to learn how to create emulations and contribute them to Apache Royale.  That's how many Apache projects work: some of the users learn how to become committers.  This will be an asset to your company as well since you will learn how to fix things in Royale yourself.  Then your company won't be dependent on outsiders for support.

 

So, Peter and I and hopefully others will get started on some emulations to make sure they work for us, and then you can see if they work for you, and then we will teach you how to write those emulations.  Over the next several months, besides testing emulations written by others in your app, you will be writing your own emulations for things you need right away that we haven't written yet, or for third-party code that you are using.

 

It might help to get some prioritization on the emulations we need to write.  In looking at the list, I am wondering:

1.	Are some charts more important than others?
2.	How important are effects?
3.	Do you use Right-to-left languages in RichTextEditor?
4.	Is RichTextEditor being used for non-plain text?  If so, what kinds of text styling is important?

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Wednesday, February 28, 2018 at 1:22 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Thank you.

It’s working with latest nightly build:

https://www.dropbox.com/s/77wkgrm74upkg0j/SHMALib%20Report.txt?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F77wkgrm74upkg0j%2FSHMALib%2520Report.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C16fa845b6d2f4efb7f4a08d57e8e9097%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636554073167111532&sdata=UV0BOZpVonw%2BILcK9njhQdf5pKpqWPccp0IKDPm4jOI%3D&reserved=0> 

 

 

Regards,

Alina

 

 

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 1:15 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Looks like COMPC collected the data but never generated the report.  I pushed a fix for that.  Please try the latest nightly build.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Tuesday, February 27, 2018 at 10:35 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Thank you

After commenting the embedded font part from source.

Output to console:

3462313 bytes written to D:\SHMALib.swc in 19.878 seconds

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"

 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\framewor

ks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\sr

c" -library-path+=D:\SHMALIB\libs

 

SHMALib.swf file Generated and Report.txt is empty 

SHMALib.swc output Link:

https://www.dropbox.com/s/4tz49sz134m2gg9/SHMALib.swc?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F4tz49sz134m2gg9%2FSHMALib.swc%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=%2FNcbTJtah21RRPeWfwg2pRaZ72hd%2BdG0iJlnH3GsA28%3D&reserved=0> 

then I change, Compc -output "D:\SHMALib.swc" to Compc -output "D:\SHMALib. txt " 

SHMALib.txt output Link:

https://www.dropbox.com/s/j38obt5e36awuh3/SHMALib.txt?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fj38obt5e36awuh3%2FSHMALib.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=V%2FcA5dJ3Fi1qOvh%2BtUlbU%2FZ%2FQ5SBfRw7psjsm2Q%2Fe8w%3D&reserved=0> 

 

Thanks,

Alina

 

 

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 11:18 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

The only error right now is the embedded font.

 

We can discuss the pros and cons of embedding images in the JS output at some other point in time.

 

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Tuesday, February 27, 2018 at 10:01 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Big Part of SHMALib Uses Embed and metadata :

 

                                // Embed the font so we can rotate it for further distortion

                                [Embed(systemFont="Comic Sans MS",

                                                                embedAsCFF='false')]

                <mx:Image y="4" width="18" height="20" right="185" source="@Embed(source='assets/default/images/load.png')"

                                                  source="@Embed(source='assets/default/images/next.gif')" scaleContent="false"/>

                <mx:Image y="4" width="18" height="20" right="3" source="@Embed(source='assets/default/images/magnifier.png')"

     * An IFrame which you can embed into Flex applications to show an HTML page.

     * @example A simple application with Google embedded

        // SWF embed object tracking

         * The SWF embed object id.

         * Get the embed object id.

        protected function resolveEmbedObjectId():void

                    var result:Object=ExternalInterface.call(IFrameExternalCalls.FUNCTION_ASK_FOR_EMBED_OBJECT_ID, randomIdentificationString.toString());

                        logger.info("Resolved the SWF embed object id to '{0}'.", applicationId);

                        logger.error('Could not resolve the SWF embed object Id.');

            // Resolve the SWF embed object id in the DOM.

            ExternalInterface.call(IFrameExternalCalls.INSERT_FUNCTION_ASK_FOR_EMBED_OBJECT_ID);

            resolveEmbedObjectId();

            logger.info("Loading IFrame with id '{0}', on SWF embed object with id '{1}'.", _frameId, applicationId);

                    FUNCTION_LOADIFRAME + " = function (frameID, iframeID, url, embedID, scrollPolicy)" +

                                      "onLoad='\"+embedID+\".\"+frameID+\"_load();' " +

        public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String = "askForEmbedObjectId";

        public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String = "askForEmbedObjectId";

        public static var INSERT_FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =

                "if (document." + FUNCTION_ASK_FOR_EMBED_OBJECT_ID + "==null)" +

                    FUNCTION_ASK_FOR_EMBED_OBJECT_ID + " = function(randomString) " + 

                            "var embeds = document.getElementsByTagName('embed'); " + 

                            "var embeds = document.getElementsByTagName('embed'); " + 

                            "for (var i = 0; i < embeds.length; i++) { " + 

                                "var isTheGoodOne = embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " + 

                                "var isTheGoodOne = embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " + 

                                    "return embeds[i].getAttribute('id'); " + 

                                 * The UITextField control for displaying embeded hints.

                                private var embedTextField:UITextField;

                                 *  The String to be shown as the embeded hint.

                                private var embedStr:String = "";

                                                                                embedStr = "MM DD YYYY";

                                                                                embedStr = "DD MM YYYY";

                                                                                embedStr = "YYYY MM DD";

                                                                                embedStr = "YYYY DD MM";

                                 *  Create child objects for displaying embeded hints.

                                                                embedTextField = new UITextField();

                                                                //embedTextField.text = embedStr;

                                                                //embedTextField.text = embedStr;

                                                                addChildAt(UITextField(embedTextField),getChildIndex(DisplayObject(textField)));//as TextField

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                                s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);

                                                                                                                                embedTextField.text = s;

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                                //s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);

                                                                                                                                //embedTextField.text = s;

                                                                                                                                s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);

                                                                                                                                embedTextField.text = s;

                                                                                // If embeded hints are displayed then update the

                                                                                // UITextField corresponding to the embeded hints

                                                                                                var s:String = embedTextField.text == null ? "":embedTextField.text;

                                                                                                var s:String = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                embedTextField.text = s;

                                                                // create the embeded text field for showing

                                                                // embeded hints if its not already created.

                                                                // If it is created, then just change the embeded hint.

                                                                if(!embedTextField)

                                                                                embedTextField = new UITextField();

                                                                                addChildAt(embedTextField,getChildIndex(DisplayObject(textField))); //as TextField

                                                                //embedTextField.text = embedStr;

                                                                //embedTextField.text = embedStr;

                                                                embedTextField.alpha = 1;

                                                                embedTextField.setTextFormat(txtFormat);

                                                                embedTextField.x = 0;

                                                                embedTextField.y = 2;

                                                                embedTextField.setActualSize(width,height);

                                                                if(embedTextField)

                                                                                embedTextField.text = "";

                                                                                embedTextField = null;

                                                // setting the color of the embeded text field to white.

                                                                if(embedTextField)

                                                                                embedTextField.setColor(0xFFFFFF);

                                                                                if(embedTextField)

                                                                                                addChildAt(DisplayObject(newSkin),getChildIndex(DisplayObject(embedTextField)));//

   background-image:                                      Embed(source="/assets/application_background.png",

                up-skin:                Embed("/assets/maximize_up.png");

                over-skin:            Embed("/assets/maximize_over.png");

                down-skin:         Embed("/assets/maximize_up.png");

                selected-up-skin:   Embed("/assets/restore_up.png");

                selected-over-skin: Embed("/assets/restore_over.png");

                selected-down-skin: Embed("/assets/restore_up.png");

                up-skin:        Embed("/assets/minimize_up.png");

                over-skin:      Embed("/assets/minimize_over.png");

                down-skin:      Embed("/assets/minimize_up.png");

                up-skin:                                Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");

                over-skin:                            Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");

                down-skin:                         Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");

                selected-up-skin:                             Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");

                selected-over-skin:                         Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");

                selected-down-skin:                      Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");

                up-skin:                                Embed("/assets/left_arrow_up.gif");

                over-skin:                            Embed("/assets/left_arrow_over.gif");

                down-skin:                         Embed("/assets/left_arrow_up.gif");

                disabled-skin:    Embed("/assets/left_arrow_disabled.gif");

                up-skin:                                Embed("/assets/right_arrow_up.gif");

                over-skin:                            Embed("/assets/right_arrow_over.gif");

                down-skin:                         Embed("/assets/right_arrow_up.gif");

                disabled-skin:    Embed("/assets/right_arrow_disabled.gif");

                                //[Embed(source="/assets/cursor_move.gif")]

                                //[Embed(source="/assets/cursor_resize.gif")]

                                [Embed(source="/assets/default/images/mouseMove.gif")]

                                [Embed(source="/assets/default/images/verticalSize.gif")]

                                [Embed(source="/assets/default/images/horizontalSize.gif")]

                                [Embed(source="/assets/default/images/leftObliqueSize.gif")]

                                [Embed(source="/assets/default/images/rightObliqueSize.gif")]

                                                if (image.isEmbedded) 

                                                //if (!Application.application.systemManager.isFontFaceEmbedded(textFormat)) 

                                                if (!FlexGlobals.topLevelApplication.systemManager.isFontFaceEmbedded(textFormat))

                                                                if (Application.application.isFontsEmbedded) {

                                                                if (Application.application.isFontsEmbedded) {

                                                                if (Application.application.isFontsEmbedded) {

                                private var _isEmbedded:Boolean = false;

                                public function set isEmbedded(embedded:Boolean):void 

                                public function set isEmbedded(embedded:Boolean):void 

                                                _isEmbedded = embedded;

                                                _isEmbedded = embedded;

                                public function get isEmbedded():Boolean 

                                                return _isEmbedded;

                                                <mx:icon>@Embed(source='images/print.GIF')</mx:icon>

                                                <mx:icon>@Embed(source='images/reload.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/first-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/first.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/previous-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/previous.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/next-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/next.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/last-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/last.GIF')</mx:icon>

                                                                                <mx:icon>@Embed(source='images/actualsize.GIF')</mx:icon>

                                                                                <mx:icon>@Embed(source='images/fitpage.GIF')</mx:icon>

                                                                                <mx:icon>@Embed(source='images/fitwidth.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/zoomin-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/zoomin.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/zoomout-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/zoomout.GIF')</mx:icon>

                                                                <mx:icon>@Embed(source='images/print.GIF')</mx:icon>

                                                if (imageSourceXml.@isEmbedded.length() > 0)

                                                                image.isEmbedded = imageSourceXml.@isEmbedded == "true";

                                                                image.isEmbedded = imageSourceXml.@isEmbedded == "true";

                 source="@Embed(source='/assets/default/images/left_arrow_up.gif')"/>

                 source="@Embed(source='/assets/default/images/left_arrow_over.gif')"/>

                 source="@Embed(source='/assets/default/images/left_arrow_disabled.gif')"/>  

                                                                                   source="@Embed(source='/com/shm/flexlib/mdi/assets/img/maximizeButton.png')"/>

                                                                                   height="12" source="@Embed(source='/com/shm/flexlib/mdi/assets/img/restoreButton.png')"/>

                                                                                   source="@Embed(source='/com/shm/flexlib/mdi/assets/img/minimizeButton.png')"/>

                 source="@Embed(source='/assets/default/images/right_arrow_up.gif')"/>

                 source="@Embed(source='/assets/default/images/right_arrow_over.gif')"/>

                 source="@Embed(source='/assets/default/images/right_arrow_disabled.gif')"/>  

 

 

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 11:00 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I think you can ignore the warnings.  The first error is for embedding a font, which Royale doesn't currently support, so for now, try commenting out the Embed metadata and see if that allows the error to go away.

 

I would look into the other errors to see if they are legitimate or not.  The Royale Compiler will catch some things the MXMLC compiler may not.  Or you could comment out the code involved in the two errors in TImeZone.as for now since that won't affect the report.

 

The final two errors I saw are for missing skin states.  I think you can just add the skin states.

 

HTH,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Tuesday, February 27, 2018 at 9:35 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

While Executing

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\src"

Or 

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\Flex\libs\SH

MALIB.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bi

n\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\

SHMALIB\src" -library-path+=D:\SHMALIB\libs

 

Error:

(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to

field java.lang.Thread.inheritableThreadLocals

WARNING: Please consider reporting this to the maintainers of com.google.common.

base.internal.Finalizer

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect

ive access operations

WARNING: All illegal access operations will be denied in a future release

Loading configuration: D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(415): col: 50 Warning:

Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="DataProviderService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(419): col: 50 Warning:

Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="BasicFormatterService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(516): col: 50 Warning: Da

ta binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="DataProviderService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(520): col: 50 Warning: Da

ta binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="BasicFormatterService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\shmCaptchaImage.as(43): col: 3 Error: Embed re

quires a 'source' file attribute

 

                [Embed(systemFont="Comic Sans MS",

                ^

 

D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(37): col: 88 Warning: Data

binding will not be able to detect assignments to 'isSelected'.

 

                                        <mx:CheckBox selectedField="isSelected"

 change="onChange(event);" selected="{data.isSelected}">

 

                                          ^

 

D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(46): col: 27 Warning: Data

binding will not be able to detect assignments to 'label'.

 

                                        <mx:Label text="{data.label}" />

                                                             ^

 

D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(126): col: 15 Error: Impli

cit coercion of a value of type Boolean to an unrelated type Number.

 

                                if(year & 0x3 == 0)

                                          ^

 

D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(134): col: 39 Error: Impli

cit coercion of a value of type Boolean to an unrelated type Number.

 

                                if(month == 1 && value.fullYear & 0x3 == 0)

                                                                  ^

 

D:\SHMALIB\src\com\shm\dashboard\renderers\GridPodURLRenderer.mxml(6): col: 23 W

arning: Data binding will not be able to detect assignments to 'SrNo'.

 

                  htmlText="&lt;u&gt;{data.SrNo}&lt;/u&gt;" color="blue" click="

f_DrillDownData(data)">

                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml Error:

The required skin state 'disabledWithPrompt' is missing.

 

 

D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml Error:

The required skin state 'normalWithPrompt' is missing.

 

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(177): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(187): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(202): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(212): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(429): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(439): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(454): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(464): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(479): col: 26 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                field="{properties.@valueField}"

 

                                                                   ^

 

D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(115): col: 74 Warning

: Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject id="roDrillDownColInfo" channelSet="{parentAppl

ication.amfChannelSet}" showBusyCursor="true"

 

       ^

 

D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(118): col: 68 Warning

: Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject id="roDgDpResult" channelSet="{parentApplicatio

n.amfChannelSet}" showBusyCursor="true"

 

 ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PieChartContent.mxml(128): col: 24 Warning

: Data binding will not be able to detect assignments to 'valueField'.

 

                                field="{properties.@valueField}"

                                                   ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 37 Warning: Dat

a binding will not be able to detect assignments to 'appParams'.

 

                                                        inputMask="{parentApplic

ation.appParams.DATE_FORMAT}" showToday="true"  yearNavigationEnabled="true"

 

     ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 47 Warning: Dat

a binding will not be able to detect assignments to 'DATE_FORMAT'.

 

                                                        inputMask="{parentApplic

ation.appParams.DATE_FORMAT}" showToday="true"  yearNavigationEnabled="true"

 

               ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 38 Warning: Dat

a binding will not be able to detect assignments to 'appParams'.

 

                                                         inputMask="{parentAppli

cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true" showToday="true"

 

      ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 48 Warning: Dat

a binding will not be able to detect assignments to 'DATE_FORMAT'.

 

                                                         inputMask="{parentAppli

cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true" showToday="true"

 

                ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(12): col: 11 Warnin

g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

 

                        import mx.graphics.Stroke;

                               ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(37): col: 23 Warnin

g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

 

                                        lne.stroke = new Stroke(0,1,.3);

                                                         ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(46): col: 14 Warnin

g: Duplicate variable definition: i.

 

                                for (var i:int = 1; i < lnWdt; i++){

                                         ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(47): col: 10 Warnin

g: Duplicate variable definition: lne.

 

                                        var lne:Line  = new Line();

                                            ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(53): col: 23 Warnin

g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

 

                                        lne.stroke = new Stroke(0,1,.3);

                                                         ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(54): col: 10 Warnin

g: Duplicate variable definition: llbe.

 

                                        var llbe:Label = new Label();

                                            ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(157): col: 40 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var xPosition:Number = Application.application.p

arent.mouseX;

                                                                   ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(158): col: 40 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var yPosition:Number = Application.application.p

arent.mouseY;

                                                                   ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(225): col: 36 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var xPlus:Number = Application.application.paren

t.mouseX - point.x;

                                                               ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(226): col: 36 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var yPlus:Number = Application.application.paren

t.mouseY - point.y;

                                                               

Thanks,

Alina Kazi

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 10:16 AM
To: Alina Kazi; users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I think that Flash Builder makes it easy to build SWCs.  Building from the command line can be a bit trickier.

 

Let's try:

Compc -output "D:\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\src"

 

HTH,

-Alex

 

 

From: Alina Kazi <al...@d-bz.com>
Date: Tuesday, February 27, 2018 at 7:28 PM
To: "users@royale.apache.org" <us...@royale.apache.org>, Alex Harui <ah...@adobe.com>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Yes I am using Flash Builder.

SHMALIB and MainFlexApp are two separate Projects

Src for SHMALIB is placed into D:/SHMALIB/src

Src for MainFlexApp is D:/Flex/src and the library output file SHMALIB.swc is placed into D:/Flex/libs

 

SHMALIB (.actionscriptProperties)

 

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<actionScriptProperties mainApplicationPath="SHMALib.as" projectUUID="863559ab-3e7b-475b-a3a4-09f4f76fc0d2" version="6">

  <compiler additionalCompilerArguments="-locale en_US" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderLocation="D:/Flex/libs" outputFolderPath="bin-debug" sourceFolderPath="src" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" verifyDigests="true" warn="true">

    <compilerSourcePath/>

    <libraryPath defaultLinkType="0">

      <libraryPathEntry kind="4" path="">

        <excludedEntries>

          <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>

        </excludedEntries>

      </libraryPathEntry>

      <libraryPathEntry kind="1" linkType="1" path="libs"/>

    </libraryPath>

    <sourceAttachmentPath/>

  </compiler>

  <applications>

    <application path="SHMALib.as"/>

  </applications>

  <modules/>

  <buildCSSFiles/>

</actionScriptProperties>

 

SHMALIB (.flexLibProperties)

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<flexLibProperties includeAllClasses="true" version="3">

  <includeClasses/>

  <includeResources/>

  <namespaceManifests/>

</flexLibProperties>

 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 9:34 PM
To: Alina Kazi
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

When you are not trying to use Royale to generate this API report, how are you building your current Flex app?  We might need to know that in order to determine what parameters to add to COMPC.

 

COMPC has additional parameters like -include–sources, include-file, include-classes.  Sometimes, these are listed in an xml file.  If you are using Flash Builder, for example, then examine the .flexlibproperties and .actionscriptProperties files in your project folder.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Date: Tuesday, February 27, 2018 at 3:21 AM
To: 'Alina Kazi' <al...@d-bz.com>
Cc: Alex Harui <ah...@adobe.com>
Subject: RE: Generating API report for Flex Web Browser application

 

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"

 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"

Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by com.google.common.base.internal.Finalizer

(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to

field java.lang.Thread.inheritableThreadLocals

WARNING: Please consider reporting this to the maintainers of com.google.common.

base.internal.Finalizer

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect

ive access operations

 

Error: nothing was specified to be included in the library.

-Alina

 

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Tuesday, February 27, 2018 2:16 PM
To: 'users@royale.apache.org'
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

I am using Moonshine IDE 1.9.0.

Flex 4.16.0

Apache Royale 0.9.2 Latest Nightly Build

 

Running this Command on Command Prompt:

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"

 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"

Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by com.google.common.base.internal.Finalizer

(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to

field java.lang.Thread.inheritableThreadLocals

WARNING: Please consider reporting this to the maintainers of com.google.common.

base.internal.Finalizer

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect

ive access operations

WARNING: All illegal access operations will be denied in a future release

 

command line Error: unknown configuration variable 'sourceΓÇôpath'.

 

-Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 1:26 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

COMPC takes a slightly different set of parameters.  What IDE or build tools are you using to build it without Royale?  You might need to know what options that build uses.

 

You can try running: 

 

Compc -output "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source–path="D:\Projects\SHMA\Main\Flex\src" or wherever the source code is for the library.

 

HTH,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, February 26, 2018 at 11:33 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

For custom SWC, I am using COMPC to get an api-report for SWC

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>compc "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml

Error: configuration variable 'output' was not set.

 

 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 12:27 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Yes, any SWC that is not in the Flex SDK's frameworks/libs folder needs to be specified as Piotr describes below.  We want you specify the same MXML file that you use to compile in the regular Flex SDK.  So if your Application.mxml starts with an mx:Application or s:Application that’s probably the one to use.  But also, if you have your own custom SWCs, we want you to use COMPC to get an api-report for those SWCs.  We want this modified Royale compiler to compile every source file you own so we can see what Flex APIs you are using.

 

HTH,

-Alex

 

From: Piotr Zarzycki <pi...@gmail.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, February 26, 2018 at 11:19 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina, 

 

In my sense you will have to use -library-path+=path to the library. You have to tell compiler about that library.

 

Thanks, Piotr

 

2018-02-27 7:57 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi  Alex,

With latest nightly build:

MaskedTextInput , shmReportUtil …. Are Library Project Actionscript Files.

Main Application contains SHMALib.swc file in Libs folder

Error Link:

https://www.dropbox.com/s/p5imt22cuut0ex6/ErrorGeneratingReport.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fp5imt22cuut0ex6%2FErrorGeneratingReport.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=8f1f9duW2Red4bP77hFTh3mLcCptBmAwd87n1iSkk%2Bs%3D&reserved=0> 

 

I have a question that which .mxml file should be used to generate that report?

Applications.mxml is startup file in case of my Project so I’m using it.

 

Please visit reference link and If I’m doing anything wrong please let me know.

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 12:00 AM


To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I pushed a fix for that.  It might or might not be related to your custom swc.  Get the latest nightly build and let us know.

 

Also, if you are successful, please use your regular compiler to generate a -link–report.  That will help us verify that the API report didn't miss anything.

 

Thanks,

-Alex

 

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, February 26, 2018 at 4:01 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Generated Report file for Sample Project Successfully.

 

spark.components.Application:minHeight,1

spark.components.Application:minWidth,1

spark.components.Application:mxmlContentFactory,2

spark.components.Label:fontSize,1

spark.components.Label:fontWeight,1

spark.components.Label:horizontalCenter,1

spark.components.Label:text,1

spark.components.Label:textAlign,1

spark.components.Label:verticalCenter,1

 

But while executing Actual Project got Error:

https://www.dropbox.com/s/d25eysllavuy5z4/compile2.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fd25eysllavuy5z4%2Fcompile2.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=2i28J4zjv1vEQ7sd%2BGfHm%2Bh1FjG%2BP3YdJCc6rGZr3C4%3D&reserved=0> 

https://www.dropbox.com/s/49iq74zk6rxcr1y/compile1.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F49iq74zk6rxcr1y%2Fcompile1.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=44tfkOscWyJ%2FH3M30HeJ6dfFE0TlpTMhQ2t%2Bv%2ByuoDg%3D&reserved=0> 

 

May be because my Application is dependent to SHMALib(.swc) Library Project (Source Shared Earlier). 

 

-Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Monday, February 26, 2018 5:02 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Alex,

 

I did above exercise for Moonshine and got NPE [1]. I used air-config.xml because it is na Desktop app.

 

[1] https://paste.apache.org/R0Si <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FR0Si&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=tFLrK9xsVt57PytwBaNoUJ%2FIPFH7FCHDtfrmJ1sAl3Y%3D&reserved=0>  

 

Thanks,

Piotr

 

 

2018-02-26 12:56 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:

Yishay,

 

Thank you so much!! I got it working.

 

Alina,

 

Here is the full instruction.

 

1) Download Apache Royale with SWF support - if you have that is good, if not it's here [1]

2) Download Apache Flex - you have it as I have seen on the screenshot.

3) Launch console and go to the Royale SDK folder

 

"yourpathtosdk\bin\" - In my case it was: "d:\Work\royale_ide\royale_nightly_js_swf\bin\"

 

4) Run following command where you will point to the Flex Browser application in order to generate report. My command looks like that:

 

mxmlc "c:\Users\piotr\Documents\NewFlexBrowserProject\src\NewFlexBrowserProject.mxml" -api-report="c:\Users\piotr\Documents\NewFlexBrowserProject\report.txt" -load-config=d:\Work\flex-sdk-4.16.1_adobe_air_28\frameworks\flex-config.xml

 

I generated report for hellow world. Maybe in order to generate report for your application that console command may be much more sophisticated. Let's see!

 

 

[1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/lastSuccessfulBuild/artifact/out/ <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2Fout%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=O%2BpVQ8OuhB%2FtE4ZdylTSkAQCWsIPBGlr9RgiTjWSWEM%3D&reserved=0> 

 

Thanks,

Piotr

 

 

2018-02-26 12:46 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:

Looks like [1] you do need to add compiler option: -api–report=<path to output file>

 

[1] http://apache-royale-users.20374.n8.nabble.com/Substitutes-in-Apache-Royale-tp392p492.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p492.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kda6SpkBgdRqGAeGJ5Db629EAy7KAVbOZKzhzhynRZk%3D&reserved=0> 

 

 

From: Piotr Zarzycki <ma...@gmail.com> 
Sent: Monday, February 26, 2018 1:37 PM


To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

I have produced with that swf, but what's next? Let's wait for Alex's response [1] 

 

[1] https://paste.apache.org/YEeG <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FYEeG&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8ameYzJ7AloOW4nTa8dqu7zYxwORSQc5sCUqpZDVA%2BY%3D&reserved=0> 

 

Thanks,

Piotr

 

2018-02-26 12:32 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:

Alex will know but I don’t think so. I haven’t updated the compiler recently so can’t test it right now. If you want to test it maybe just create a simple app and replace /Users/aharui/ApacheFlex4.16.0 with your sdk home.

 

 

 

From: Piotr Zarzycki <ma...@gmail.com> 
Sent: Monday, February 26, 2018 1:25 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Yishay, 

 

bin/mxmlc

<path to app's

.mxml

file>

-load-config=/Users/aharui/ApacheFlex4.16.0/frameworks/flex-config.xml  

 

Do I need some switch for compiler -api-report or something like that ?

 

Thanks,

Piotr

 

 

2018-02-26 12:10 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:

Wasn’t logged in. Here’s [1] the link.

 

[1] http://apache-royale-users.20374.n8.nabble.com/Substitutes-in-Apache-Royale-tp392p489.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p489.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8Tp5%2BFveKS0eoW7D8EovITPQqYrgwDK4P7cW9izXFH8%3D&reserved=0> 

 

 

From: Yishay Weiss <ma...@hotmail.com> 
Sent: Monday, February 26, 2018 12:59 PM
To: users@royale.apache.org
Subject: RE: Generating API report for Flex Web Browser application

 

I couldn’t find a way to link to a nabble post, but this [1] might help (from Substitutes in Apache Royale).

 

[1] https://paste.apache.org/N2QR <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FN2QR&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=VIS8u6EEBWN6jQrFxpttZvAfUCSSKPe3rbrBDU2w7Sg%3D&reserved=0> 

 

From: Piotr Zarzycki <ma...@gmail.com> 
Sent: Monday, February 26, 2018 12:44 PM
To: users@royale.apache.org
Subject: Generating API report for Flex Web Browser application

 

Hi Alex, 

 

I would like to understand how to generate that report. I will go with the console path, because I think this is something unusual and probably Moonshine is not prepared to do this. I'm writing this on the users mailing list because Alina is having some problems with that. I wanted to simplify all of that. Let's start from the beginning. 

 

1) I have created Flex Web browser project using Apache Flex SDK 4.16.1. 

2) I have nightly build of Royale with SWF support [1]

 

What should I type in the console now ?

 

[1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/lastSuccessfulBuild/artifact/ <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=UtYFFQ90aNB2HU2Vx4t8YAS6Eo2j1ZqVAytujEOgoFM%3D&reserved=0> 

 

Thanks,
-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 

 

 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 

 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 

 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=zGrfZ2Wj3CLuuW%2B%2BKtUSQF6762Vn0%2BeNjCMlViBMghg%3D&reserved=0> 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki


RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

Posted by Alina Kazi <al...@d-bz.com>.
 

4. " Build Compiler (royale-compiler)

mvn -s settings-template.xml clean install -X.

https://www.dropbox.com/s/v0wqhgbimrf9in8/error%20maven%20compiler.txt?dl=0

 

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Monday, March 12, 2018 5:40 PM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Alina,

 

Let's try Alex's approach and build 1. compiler, 2. typedefs, 3. framework. Follow instruction [1]. Start from point 4. " Build Compiler (royale-compiler)". Let's see where you end up.

For me It's working even without building compiler and typedefs. Let's see whether you will have timeouts.

 

[1] https://github.com/apache/royale-asjs/wiki/Build-Apache-Royale-with-Maven

 

Thanks, Piotr

 

 

2018-03-12 13:16 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Piotr,

output : https://www.dropbox.com/s/aj1qehblok9yhfw/error.txt?dl=0

 

Thanks,

Alina

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Monday, March 12, 2018 4:43 PM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alina,

 

Can you run command with -X:  mvn -s settings-template.xml clean install -X.

 

Please paste your output on some paste - It will be easier for me analyze it. 

 

Thanks, Piotr

 

 

2018-03-12 12:18 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Piotr,

 

I am getting this error while executing maven command.

System environment variable path is:

PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32

\WindowsPowerShell\v1.0;C:\Program Files\Java\jdk1.8.0_31\bin;D:\apache-ant-1.10.2\bin;C:\Program Files\Git\cmd;D:\apache-maven-3.5.3\bin

 

d:\Apache\royale-asjs>mvn -s settings-template.xml install

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

maven-metadata.xml

[WARNING] Could not transfer metadata org.apache.flex.utilities.converter:flex-s

dk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from/to apache-sn

apshots (http://repository.apache.org/snapshots/): Connect to repository.apache.

org:80 [repository.apache.org/207.244.88.140] failed: Connection timed out: conn

ect

[WARNING] Failure to transfer org.apache.flex.utilities.converter:flex-sdk-conve

rter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from http://repository.ap

ache.org/snapshots/ was cached in the local repository, resolution will not be r

eattempted until the update interval of apache-snapshots has elapsed or updates

are forced. Original error: Could not transfer metadata org.apache.flex.utilitie

s.converter:flex-sdk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml

from/to apache-snapshots (http://repository.apache.org/snapshots/): Connect to

repository.apache.org:80 [repository.apache.org/207.244.88.140] failed: Connecti

on timed out: connect

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

flex-sdk-converter-maven-extension-1.0.0-SNAPSHOT.pom

[WARNING] Failed to read extensions descriptor D:\Apache\royale-asjs\.mvn\extens

ions.xml: Plugin org.apache.flex.utilities.converter:flex-sdk-converter-maven-ex

tension:1.0.0-SNAPSHOT or one of its dependencies could not be resolved: Failed

to read artifact descriptor for org.apache.flex.utilities.converter:flex-sdk-con

verter-maven-extension:jar:1.0.0-SNAPSHOT

[INFO] Scanning for projects...

[WARNING] The project org.apache:apache:pom:18 uses prerequisites which is only

intended for maven-plugin projects but not for non maven-plugin projects. For su

ch purposes you should use the maven-enforcer-plugin. See https://maven.apache.o

rg/enforcer/enforcer-rules/requireMavenVersion.html

[INFO]

[INFO] -------------------------< org.apache:apache >--------------------------

[INFO] Building The Apache Software Foundation 18

[INFO] --------------------------------[ pom ]---------------------------------

Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/

plugins/maven-remote-resources-plugin/1.5/maven-remote-resources-plugin-1.5.pom

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 33.430 s

[INFO] Finished at: 2018-03-12T16:10:48+05:00

[INFO] ------------------------------------------------------------------------

[ERROR] Plugin org.apache.maven.plugins:maven-remote-resources-plugin:1.5 or one

of its dependencies could not be resolved: Failed to read artifact descriptor f

or org.apache.maven.plugins:maven-remote-resources-plugin:jar:1.5: Could not tra

nsfer artifact org.apache.maven.plugins:maven-remote-resources-plugin:pom:1.5 fr

om/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.apac

he.org:443 [repo.maven.apache.org/151.101.196.215] failed: Connection timed out:

connect -> [Help 1]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit

ch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please rea

d the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResoluti

onException

 

 

Thanks,

Alina 

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Wednesday, March 07, 2018 12:22 PM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

I got the same results, but tried again in the same directory with  mvn -s settings-template.xml clean install and it's building now!

 

2018-03-07 7:59 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Piotr,

What should I do?

Do You want me to delete all files name royale-asjs? Or delete other folders royale-compiler n others.

 

Thanks Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Wednesday, March 07, 2018 12:07 PM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Ok! I just cloned separate repository and got similar problem. -> https://paste.apache.org/HuYU

 

2018-03-07 7:42 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Similar Error

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Wednesday, March 07, 2018 11:41 AM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Use "mvn -s settings-template.xml clean install" without pointing to profile -P utils.

 

2018-03-07 7:22 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Piotr,

Getting Similar Error in all cases. 

C:\Users\aleena>git clone https://github.com/apache/royale-asjs

Cloning into 'royale-asjs'...

remote: Counting objects: 101055, done.

remote: Compressing objects: 100% (127/127), done.

remote: Total 101055 (delta 101), reused 183 (delta 63), pack-reused 100828

Receiving objects: 100% (101055/101055), 19.27 MiB | 249.00 KiB/s, done.

Resolving deltas: 100% (61539/61539), done.

Checking out files: 100% (3572/3572), done.

 

C:\Users\aleena>cd royale-asjs

 

C:\Users\aleena\royale-asjs>git checkout develop

Already on 'develop'

Your branch is up to date with 'origin/develop'.

 

C:\Users\aleena\royale-asjs>mvn -s settings-template.xml clean install -P utils

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

maven-metadata.xml

[WARNING] Could not transfer metadata org.apache.flex.utilities.converter:flex-s

dk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from/to apache-sn

apshots (http://repository.apache.org/snapshots/): Connect to repository.apache.

org:80 [repository.apache.org/207.244.88.140] failed: Connection timed out: conn

ect

[WARNING] Failure to transfer org.apache.flex.utilities.converter:flex-sdk-conve

rter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from http://repository.ap

ache.org/snapshots/ was cached in the local repository, resolution will not be r

eattempted until the update interval of apache-snapshots has elapsed or updates

are forced. Original error: Could not transfer metadata org.apache.flex.utilitie

s.converter:flex-sdk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml

 from/to apache-snapshots (http://repository.apache.org/snapshots/): Connect to

repository.apache.org:80 [repository.apache.org/207.244.88.140] failed: Connecti

on timed out: connect

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

flex-sdk-converter-maven-extension-1.0.0-SNAPSHOT.pom

[WARNING] Failed to read extensions descriptor C:\Users\aleena\royale-asjs\.mvn\

extensions.xml: Plugin org.apache.flex.utilities.converter:flex-sdk-converter-ma

ven-extension:1.0.0-SNAPSHOT or one of its dependencies could not be resolved: F

ailed to read artifact descriptor for org.apache.flex.utilities.converter:flex-s

dk-converter-maven-extension:jar:1.0.0-SNAPSHOT

[INFO] Scanning for projects...

Downloading from apache-release: https://repository.apache.org/content/repositor

ies/releases/org/apache/apache/18/apache-18.pom

Downloading from central: https://repo.maven.apache.org/maven2/org/apache/apache

/18/apache-18.pom

[ERROR] [ERROR] Some problems were encountered while processing the POMs:

[FATAL] Non-resolvable parent POM for org.apache.royale.framework:royale-framewo

rk-parent:0.9.2-SNAPSHOT: Could not transfer artifact org.apache:apache:pom:18 f

rom/to apache-release (https://repository.apache.org/content/repositories/releas

es): Connect to repository.apache.org:443 [repository.apache.org/207.244.88.140]

 failed: Connection timed out: connect and 'parent.relativePath' points at no lo

cal POM @ line 24, column 11

 @

[ERROR] The build could not read 1 project -> [Help 1]

[ERROR]

[ERROR]   The project org.apache.royale.framework:royale-framework-parent:0.9.2-

SNAPSHOT (C:\Users\aleena\royale-asjs\pom.xml) has 1 error

[ERROR]     Non-resolvable parent POM for org.apache.royale.framework:royale-fra

mework-parent:0.9.2-SNAPSHOT: Could not transfer artifact org.apache:apache:pom:

18 from/to apache-release (https://repository.apache.org/content/repositories/re

leases): Connect to repository.apache.org:443 [repository.apache.org/207.244.88.

140] failed: Connection timed out: connect and 'parent.relativePath' points at n

o local POM @ line 24, column 11 -> [Help 2]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit

ch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please rea

d the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin

gException

[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableMo

delException

 

Thanks,

Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Wednesday, March 07, 2018 11:25 AM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Alina,

 

I see in your trace that you have cloned typedefs instead asjs -> "git clone https://github.com/apache/royale-typedefs.git". You should clone: 

 

git clone https://github.com/apache/royale-asjs and switch to "develop" branch than try to build.

 

However let me try build typedefs only in the meantime clone asjs and try again.

 

Thanks, Piotr

 

 

2018-03-07 7:19 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:

Alina,

 

Not sure, but let me try that on my sight, however I doubt that. Maven is a very distinguished from all the environment variables. If you got that build running you don't have to use almost all. :)

 

2018-03-07 7:03 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Piotr,

 

ROYALE_HOME environment variable is set to D:\royale-asjs that is the path for installed latest nightly build. This could be the reason ?

 

Thanks,

Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Wednesday, March 07, 2018 10:56 AM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Please try again build. Maybe it was some temporary problem. My build is running right now without the problem. Maven downloading dependencies nicely.

 

Thanks, Piotr

 

2018-03-07 6:39 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Piotr,

Its Working.

This XML file does not appear to have any style information associated with it. The document tree is shown below.

<metadata modelVersion="1.1.0">

<groupId>org.apache.flex.utilities.converter</groupId>

<artifactId>retrievers</artifactId>

<version>1.0.0-SNAPSHOT</version>

<versioning>

<snapshot>

<timestamp>20171112.204231</timestamp>

<buildNumber>490</buildNumber>

</snapshot>

<lastUpdated>20171112204231</lastUpdated>

<snapshotVersions>

<snapshotVersion>

<extension>pom</extension>

<value>1.0.0-20171112.204231-490</value>

<updated>20171112204231</updated>

</snapshotVersion>

</snapshotVersions>

</versioning>

</metadata>

 

Thanks,

Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Wednesday, March 07, 2018 10:48 AM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alina,

 

I just removed my whole local repository and trying exactly the same scenario. Just quick question can you try in your browser open this link ? Is it working ?

 

http://repository.apache.org/snapshots/org/apache/flex/utilities/converter/retrievers/1.0.0-SNAPSHOT/maven-metadata.xml

 

Thanks,

Piotr

 

2018-03-07 6:27 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Piotr,

Using Maven :

C:\Users\aleena>git clone https://github.com/apache/royale-typedefs.git royale-a

sjs

Cloning into 'royale-asjs'...

remote: Counting objects: 3318, done.

remote: Compressing objects: 100% (93/93), done.

remote: Total 3318 (delta 48), reused 76 (delta 16), pack-reused 3200

Receiving objects: 100% (3318/3318), 3.51 MiB | 244.00 KiB/s, done.

Resolving deltas: 100% (1337/1337), done.

 

C:\Users\aleena>cd royale-asjs

 

C:\Users\aleena\royale-asjs>git checkout develop

Already on 'develop'

Your branch is up to date with 'origin/develop'.

 

C:\Users\aleena\royale-asjs>mvn -s settings-template.xml clean install

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

maven-metadata.xml

[WARNING] Could not transfer metadata org.apache.flex.utilities.converter:flex-s

dk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from/to apache-sn

apshots (http://repository.apache.org/snapshots/): Connect to repository.apache.

org:80 [repository.apache.org/207.244.88.140] failed: Connection timed out: conn

ect

[WARNING] Failure to transfer org.apache.flex.utilities.converter:flex-sdk-conve

rter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from http://repository.ap

ache.org/snapshots/ was cached in the local repository, resolution will not be r

eattempted until the update interval of apache-snapshots has elapsed or updates

are forced. Original error: Could not transfer metadata org.apache.flex.utilitie

s.converter:flex-sdk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml

 from/to apache-snapshots (http://repository.apache.org/snapshots/): Connect to

repository.apache.org:80 [repository.apache.org/207.244.88.140] failed: Connecti

on timed out: connect

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

flex-sdk-converter-maven-extension-1.0.0-SNAPSHOT.pom

[WARNING] Failed to read extensions descriptor C:\Users\aleena\royale-asjs\.mvn\

extensions.xml: Plugin org.apache.flex.utilities.converter:flex-sdk-converter-ma

ven-extension:1.0.0-SNAPSHOT or one of its dependencies could not be resolved: F

ailed to read artifact descriptor for org.apache.flex.utilities.converter:flex-s

dk-converter-maven-extension:jar:1.0.0-SNAPSHOT

[INFO] Scanning for projects...

Downloading from apache-release: https://repository.apache.org/content/repositor

ies/releases/org/apache/apache/18/apache-18.pom

Downloading from central: https://repo.maven.apache.org/maven2/org/apache/apache

/18/apache-18.pom

[ERROR] [ERROR] Some problems were encountered while processing the POMs:

[FATAL] Non-resolvable parent POM for org.apache.royale.typedefs:royale-typedefs

-parent:0.9.2-SNAPSHOT: Could not transfer artifact org.apache:apache:pom:18 fro

m/to apache-release (https://repository.apache.org/content/repositories/releases

): Connect to repository.apache.org:443 [repository.apache.org/207.244.88.140] f

ailed: Connection timed out: connect and 'parent.relativePath' points at wrong l

ocal POM @ line 23, column 11

 @

[ERROR] The build could not read 1 project -> [Help 1]

[ERROR]

[ERROR]   The project org.apache.royale.typedefs:royale-typedefs-parent:0.9.2-SN

APSHOT (C:\Users\aleena\royale-asjs\pom.xml) has 1 error

[ERROR]     Non-resolvable parent POM for org.apache.royale.typedefs:royale-type

defs-parent:0.9.2-SNAPSHOT: Could not transfer artifact org.apache:apache:pom:18

 from/to apache-release (https://repository.apache.org/content/repositories/rele

ases): Connect to repository.apache.org:443 [repository.apache.org/207.244.88.14

0] failed: Connection timed out: connect and 'parent.relativePath' points at wro

ng local POM @ line 23, column 11 -> [Help 2]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit

ch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please rea

d the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin

gException

[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableMo

delException

 

C:\Users\aleena\royale-asjs>

 

Thanks

Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Tuesday, March 06, 2018 5:30 PM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alina,

 

You can try to go with Maven to see whether you have similar problems [1]

 

[1] https://github.com/apache/royale-asjs/wiki/Build-Apache-Royale-with-Maven

 

Thanks, Piotr

 

2018-03-06 13:12 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Alex,

Still getting same error, while executing:

C:\Users\aleena\royale-asjs>ant all

Website link is working :

http://www.antlr.org/license.html

 

could be only issue , Antlr server will be off-line ?

 

Thanks,

Alina

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Tuesday, March 06, 2018 4:38 PM
To: 'users@royale.apache.org'
Subject: RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alex,

 

We can exclude ScaleX , ScaleY,transform from our code as we are using it in our Library Project Only.

We are using “Rotation” in a PopUp Window. 

 

Can you please explain emulation ?

How do they will work?

 

Thanks,

Alina

 

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Tuesday, March 06, 2018 3:14 PM
To: 'users@royale.apache.org'
Subject: RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alex,

We are using commitProperties() in our Library Project. Overriding the Existing Spark commitProperties() method 

For Example:

ResizableTextAreaSkin.mxml (SHMALib)

override protected function commitProperties():void {

                                                super.commitProperties();

 

                                                if (lineBreakChanged) {

                                                                updateStringStyle("lineBreak");

                                                                lineBreakChanged = false;

                                                }

                                                if (paddingChanged) {

                                                                updatePadding();

                                                                paddingChanged = false;

                                                }

                                                if (verticalAlignChanged) {

                                                                updateStringStyle("verticalAlign");

                                                                verticalAlignChanged = false;

                                                }

                                }

We are using 


Package

 <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/package-detail.html> flash.display


Class

public class DisplayObject


Inheritance

DisplayObject Inheritance  <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/EventDispatcher.html> EventDispatcher Inheritance  <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Object.html> Object


Reference Link:

	

https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/DisplayObject.html

 

e.g :

                public function updateLayoutWithoutAnimation():void

                                {

                                                if(_layoutInvalid == true && layoutFunction != null)

                                                {

                                                                _layoutInvalid = false;

                                                                layoutFunction();

                                                }

 

                                                for(var aChild:* in _targets)

                                                {

                                                                var target:LayoutTarget = _targets[aChild];

                                                                var item:IFlexDisplayObject = target.item;

                                                                var m:Matrix = DisplayObject(item).transform.matrix;

 

                                                                m.tx = target.x;

                                                                m.ty = target.y;

                                                                m.a = target.scaleX;                                                                        

                                                                m.d = target.scaleY

                                                                

                                                                DisplayObject(item).alpha = target.alpha;

                                                                DisplayObject(item).transform.matrix = m;

                                                                item.setActualSize(target.unscaledWidth,target.unscaledHeight);

                                                                if(target.state == "removed")

                                                                {

                                                                                delete _targets[target.item];

                                                                                continue;

                                                                }

                                                                else

                                                                {

                                                                                target.state = "positioned"

                                                                }

                                                }

                                                stopTimer();

                                }

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, March 06, 2018 1:36 PM
To: users@royale.apache.org
Subject: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alina,

 

I'm starting on the emulation.  I've noticed that your application code appears to be calling commitProperties().  Can you tell us why?

 

Also, it looks like there are a few uses of rotation, transform, scaleX and scaleY.  What are those used for?

 

Thanks,

-Alex

 

From: Alex Harui <ah...@adobe.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 11:38 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Try again.  Sometimes the Antlr server goes off-line around this time of day.

 

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 11:12 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Using jdk1.8.0_162:

 

C:\Users\aleena\royale-asjs>ant all

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Buildfile: C:\Users\aleena\royale-asjs\build.xml

 

set.base.folder:

 

check-git:

     [echo] Checking for Git...

     [exec] git version 2.16.2.windows.1

 

get-download-folder:

 

download-all:

     [echo] Using folder C:\Users\aleena\royale-asjs/..

 

check-royale-asjs:

 

warn-before-clone:

 

check-royale-asjs:

 

clone-royale-asjs:

 

check-royale-compiler:

 

clone-royale-compiler:

 

check-royale-typedefs:

 

clone-royale-typedefs:

 

check-playerglobal-home:

 

check-air-home:

 

build-all:

 

ask-before-build-all:

    [input] This script will now download and compile lots of files.  This can t

ake several minutes.   No interaction should be required.  Press the enter key t

o continue.

 

 

sdk:

 

annotate.class:

    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-

build-tools\target\classes

    [javac] warning: [options] bootstrap class path not set in conjunction with

-source 1.5

    [javac] warning: [options] source value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] target value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] To suppress warnings about obsolete options, use

-Xlint:-options.

    [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\src\main\java\o

rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:24: warning: [serial

] serializable class AnnotateClassDeleteException has no definition of serialVer

sionUID

    [javac]     public static class AnnotateClassDeleteException extends Excepti

on

    [javac]                   ^

    [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\src\main\java\o

rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:32: warning: [serial

] serializable class AnnotateClassRenameException has no definition of serialVer

sionUID

    [javac]     public static class AnnotateClassRenameException extends Excepti

on

    [javac]                   ^

    [javac] 6 warnings

 

unknown.tree.pattern.input.output:

    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-

build-tools\target\classes

    [javac] warning: [options] bootstrap class path not set in conjunction with

-source 1.5

    [javac] warning: [options] source value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] target value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] To suppress warnings about obsolete options, use

-Xlint:-options.

    [javac] 4 warnings

 

main:

 

compiler.downloads.cache:

 

compiler.downloads:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

prepare:

     [echo] Making lib directory C:\Users\aleena\royale-compiler\compiler/lib/ex

ternal

    [mkdir] Created dir: C:\Users\aleena\royale-compiler\compiler\lib\external

 

all:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

check-dependency:

     [echo] checking for C:\Users\aleena\royale-compiler\compiler/lib/external//

antlr.jar

 

download-dependency:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

echo-project-jar:

   [delete] Deleting: C:\Users\aleena\royale-compiler\compiler\src\main\resource

s\project.properties

     [echo] ${INFO_DOWNLOADING_FILE_FROM}

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

download-apache-license:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

download-other-license:

      [get] Getting: http://www.antlr.org/license.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0> 

      [get] To: C:\Users\aleena\royale-compiler\compiler\lib\external\antlr-LICE

NSE.html

      [get] Error getting http://www.antlr.org/license.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0>  to C:\Users\aleena\r

oyale-compiler\compiler\lib\external\antlr-LICENSE.html

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

double-check-file:

     [echo] ${env.ROYALE_DOWNLOAD_CACHE}

     [echo] Need file: ${still_no_file}

 

get-from-cache-if-needed:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

fail-if-not-found:

 

BUILD FAILED

C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-compiler\build.xml:64: The following error occurred while

 executing this line:

C:\Users\aleena\royale-compiler\compiler-jburg-types\build.xml:87: The following

 error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:81: Th

e following error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:275: T

he following error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:329: T

he following error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:489: C

:\Users\aleena\royale-compiler\compiler/lib/external//antlr-LICENSE.html could n

ot be downloaded or found in cache

 

Total time: 47 seconds

 

C:\Users\aleena\royale-asjs>

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, March 06, 2018 11:55 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Please use JDK8.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 10:40 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

Java version that I am using is “9.0.1”

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, March 06, 2018 11:42 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

What version of Java are you using?  Please get a JDK7 or 8 and try that.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 10:22 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Command Prompt Output is:

C:\Users\aleena>git clone https://github.com/apache/royale-asjs.git <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs.git&data=02%7C01%7Caharui%40adobe.com%7Cdf86fa0dd25b41ffbc8108d5832f0997%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559160423949211&sdata=d9cKX4ILIQPLI5USXvAafSnrWZSgW1XHw6G4r%2B9wgsE%3D&reserved=0>  royale-asjs

Cloning into 'royale-asjs'...

remote: Counting objects: 101103, done.

remote: Compressing objects: 100% (22/22), done.

remote: Total 101103 (delta 9), reused 30 (delta 7), pack-reused 101066R

Receiving objects: 100% (101103/101103), 19.23 MiB | 208.00 KiB/s, done.

 

Resolving deltas: 100% (61584/61584), done.

Checking out files: 100% (3572/3572), done.

 

C:\Users\aleena>cd royale-asjs

 

C:\Users\aleena\royale-asjs>git checkout develop

Already on 'develop'

Your branch is up to date with 'origin/develop'.

 

C:\Users\aleena\royale-asjs>ant all

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Buildfile: C:\Users\aleena\royale-asjs\build.xml

 

set.base.folder:

 

check-git:

     [echo] Checking for Git...

     [exec] git version 2.16.2.windows.1

 

get-download-folder:

 

download-all:

     [echo] Using folder C:\Users\aleena\royale-asjs/..

 

check-royale-asjs:

 

warn-before-clone:

 

check-royale-asjs:

 

clone-royale-asjs:

 

check-royale-compiler:

 

clone-royale-compiler:

     [echo] cloning royale-compiler repo into C:\Users\aleena\royale-asjs/../roy

ale-compiler

     [exec] Cloning into 'royale-compiler'...

     [exec] Checking out files:   8% (284/3191)

     [exec] Checking out files:   9% (288/3191)   Checking out files:  10% (320/

3191)   Checking out files:  11% (352/3191)   Checking out files:  12% (383/3191

)   Checking out files:  13% (415/3191)   Checking out files:  13% (444/3191)

Checking out files:  14% (447/3191)   Checking out files:  15% (479/3191)   Chec

king out files:  16% (511/3191)   Checking out files:  17% (543/3191)   Checking

 out files:  18% (575/3191)   Checking out files:  19% (607/3191)   Checking out

 files:  20% (639/3191)   Checking out files:  20% (641/3191)   Checking out fil

es:  21% (671/3191)   Checking out files:  22% (703/3191)   Checking out files:

 23% (734/3191)   Checking out files:  24% (766/3191)   Checking out files:  25%

 (798/3191)   Checking out files:  26% (830/3191)   Checking out files:  26% (84

2/3191)   Checking out files:  27% (862/3191)   Checking out files:  28% (894/31

91)   Checking out files:  29% (926/3191)   Checking out files:  30% (958/3191)

  Checking out files:  31% (990/3191)   Checking out files:  32% (1022/3191)   C

hecking out files:  33% (1054/3191)   Checking out files:  34% (1085/3191)   Che

cking out files:  35% (1117/3191)   Checking out files:  36% (1149/3191)   Check

ing out files:  37% (1181/3191)   Checking out files:  38% (1213/3191)   Checkin

g out files:  39% (1245/3191)   Checking out files:  40% (1277/3191)   Checking

out files:  40% (1308/3191)   Checking out files:  41% (1309/3191)   Checking ou

t files:  42% (1341/3191)   Checking out files:  42% (1352/3191)   Checking out

files:  43% (1373/3191)   Checking out files:  44% (1405/3191)   Checking out fi

les:  45% (1436/3191)   Checking out files:  46% (1468/3191)   Checking out file

s:  47% (1500/3191)   Checking out files:  48% (1532/3191)   Checking out files:

  49% (1564/3191)   Checking out files:  49% (1578/3191)   Checking out files:

50% (1596/3191)   Checking out files:  51% (1628/3191)   Checking out files:  52

% (1660/3191)   Checking out files:  53% (1692/3191)   Checking out files:  54%

(1724/3191)   Checking out files:  55% (1756/3191)   Checking out files:  56% (1

787/3191)   Checking out files:  57% (1819/3191)   Checking out files:  58% (185

1/3191)   Checking out files:  59% (1883/3191)   Checking out files:  60% (1915/

3191)   Checking out files:  61% (1947/3191)   Checking out files:  62% (1979/31

91)   Checking out files:  63% (2011/3191)   Checking out files:  63% (2022/3191

)   Checking out files:  64% (2043/3191)   Checking out files:  65% (2075/3191)

  Checking out files:  66% (2107/3191)   Checking out files:  67% (2138/3191)

Checking out files:  68% (2170/3191)   Checking out files:  69% (2202/3191)   Ch

ecking out files:  70% (2234/3191)   Checking out files:  71% (2266/3191)   Chec

king out files:  72% (2298/3191)   Checking out files:  73% (2330/3191)   Checki

ng out files:  74% (2362/3191)   Checking out files:  75% (2394/3191)   Checking

 out files:  76% (2426/3191)   Checking out files:  77% (2458/3191)   Checking o

ut files:  78% (2489/3191)   Checking out files:  79% (2521/3191)   Checking out

 files:  80% (2553/3191)   Checking out files:  81% (2585/3191)   Checking out f

iles:  82% (2617/3191)   Checking out files:  83% (2649/3191)   Checking out fil

es:  83% (2679/3191)   Checking out files:  84% (2681/3191)   Checking out files

:  85% (2713/3191)   Checking out files:  86% (2745/3191)   Checking out files:

 87% (2777/3191)   Checking out files:  88% (2809/3191)   Checking out files:  8

9% (2840/3191)   Checking out files:  89% (2845/3191)   Checking out files:  90%

 (2872/3191)   Checking out files:  91% (2904/3191)   Checking out files:  92% (

2936/3191)   Checking out files:  93% (2968/3191)   Checking out files:  94% (30

00/3191)   Checking out files:  95% (3032/3191)   Checking out files:  95% (3035

/3191)   Checking out files:  96% (3064/3191)   Checking out files:  97% (3096/3

191)   Checking out files:  98% (3128/3191)   Checking out files:  99% (3160/319

1)   Checking out files: 100% (3191/3191)   Checking out files: 100% (3191/3191)

, done.

     [exec] Your branch is up to date with 'origin/develop'.

     [exec] Already on 'develop'

 

check-royale-typedefs:

 

clone-royale-typedefs:

     [echo] cloning royale-typedefs repo into C:\Users\aleena\royale-asjs/../roy

ale-typedefs

     [exec] Cloning into 'royale-typedefs'...

     [exec] Your branch is up to date with 'origin/develop'.

     [exec] Already on 'develop'

 

check-playerglobal-home:

 

check-air-home:

 

build-all:

 

ask-before-build-all:

    [input] This script will now download and compile lots of files.  This can t

ake several minutes.   No interaction should be required.  Press the enter key t

o continue.

 

sdk:

 

annotate.class:

    [mkdir] Created dir: C:\Users\aleena\royale-compiler\compiler-build-tools\ta

rget\classes

    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-

build-tools\target\classes

    [javac] warning: [options] bootstrap class path not set in conjunction with

-source 1.5

    [javac] error: Source option 1.5 is no longer supported. Use 1.6 or later.

    [javac] error: Target option 1.5 is no longer supported. Use 1.6 or later.

 

BUILD FAILED

C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-compiler\build.xml:63: The following error occurred while

 executing this line:

C:\Users\aleena\royale-compiler\compiler-build-tools\build.xml:74: Compile faile

d; see the compiler error output for details.

 

Total time: 17 minutes 59 seconds

 

C:\Users\aleena\royale-asjs>

 

Unable to Build, Please guide.

 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Friday, March 02, 2018 10:31 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I was able to download and expand the files.  I will be consolidating the data today. 

 

In order to be able to write some of these emulations, you will probably need to be able to build the framework sources.  If you haven't already, you can try cloning the royale-asjs repo and figure out how to get it to build.  You can choose Apache Maven or Apache Ant as the build tool.

 

https://github.com/apache/royale-asjs <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs&data=02%7C01%7Caharui%40adobe.com%7C3c1833c1fc9442003f2608d5832c7fe0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559149534170415&sdata=YqGTpbzoou8SilHbsTxjriIjiREaS%2FA9j6xjZYRR%2F4E%3D&reserved=0> 

 

Hopefully the instruction in the readme are sufficient.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Friday, March 2, 2018 at 12:34 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

Application API-Report link:

https://www.dropbox.com/s/swvqhly6wa0jrc5/API-Reports.rar?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fswvqhly6wa0jrc5%2FAPI-Reports.rar%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C928c248220464230f6dd08d5801a2f13%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555772324148830&sdata=9%2BsrGG41iCMIEmbtqnEbV%2BPvi1ngE9vF%2BKuqPAZ%2Bzao%3D&reserved=0> 

SHMALib Report, applications,shmDoclist,shmSetupList,AppView_EIS, AppView_ERP,shmMappingSetup, shmMappingSetupOpenDetailGrid,shmSalesInvoice, shmSalesInvoiceDetail are main API Files.

 

Regards,

Alina

 

 

 

 

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Friday, March 02, 2018 11:32 AM
To: users@royale.apache.org
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

2) We are using Effects in our Application 2-3 times 

4) We are using text styling in our Application 3-5 times 

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Friday, March 02, 2018 4:26 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

1) Interesting about Charts.  They were being used by the SWC.

2) Effects are any animations that move, resize or fade things in the UI.

3) ok

4) I'm not sure what to conclude from the screenshot.  I'm interested in how often folks use it to create text with bold, italics and other styling of text.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Thursday, March 1, 2018 at 4:24 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

600 mxml.api.txt files are generated and still in process. I will share link for files tomorrow.

After sharing my files tomorrow, If you will suggest to build  emulations. 

I will  definitely want to learn how to create emulations and contribute them to Apache Royale.  

1.We are not using Charts in our Application

2. How important are effects? (Please explain effects )

3. We are not using Right-to-left languages in RichTextEditor.

4. Is RichTextEditor being used for non-plain text?  If so, what kinds of text styling is important?

Link:https://www.dropbox.com/s/ky93eycmefm3cuu/RICHTEXTEDITOR.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fky93eycmefm3cuu%2FRICHTEXTEDITOR.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cff526ec5592c42772ade08d57f713736%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555046634193460&sdata=BjS8q1GarTweRfMMmZOKxN%2FTQTqhtzJlm05KAtWnNTQ%3D&reserved=0> 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 10:45 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Good to hear it worked.

 

I think I am waiting on all of the mxml.api.txt files to see what else is in there that isn't in the two reports we have, then we'll have a pretty good list of the places you will either need to change in your code or that we  will build emulations for.

 

I think emulations will be less work in the end, but there will be a lot of them to do.  We will want to you to learn how to create emulations and contribute them to Apache Royale.  That's how many Apache projects work: some of the users learn how to become committers.  This will be an asset to your company as well since you will learn how to fix things in Royale yourself.  Then your company won't be dependent on outsiders for support.

 

So, Peter and I and hopefully others will get started on some emulations to make sure they work for us, and then you can see if they work for you, and then we will teach you how to write those emulations.  Over the next several months, besides testing emulations written by others in your app, you will be writing your own emulations for things you need right away that we haven't written yet, or for third-party code that you are using.

 

It might help to get some prioritization on the emulations we need to write.  In looking at the list, I am wondering:

1.	Are some charts more important than others?
2.	How important are effects?
3.	Do you use Right-to-left languages in RichTextEditor?
4.	Is RichTextEditor being used for non-plain text?  If so, what kinds of text styling is important?

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Wednesday, February 28, 2018 at 1:22 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Thank you.

It’s working with latest nightly build:

https://www.dropbox.com/s/77wkgrm74upkg0j/SHMALib%20Report.txt?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F77wkgrm74upkg0j%2FSHMALib%2520Report.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C16fa845b6d2f4efb7f4a08d57e8e9097%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636554073167111532&sdata=UV0BOZpVonw%2BILcK9njhQdf5pKpqWPccp0IKDPm4jOI%3D&reserved=0> 

 

 

Regards,

Alina

 

 

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 1:15 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Looks like COMPC collected the data but never generated the report.  I pushed a fix for that.  Please try the latest nightly build.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Tuesday, February 27, 2018 at 10:35 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Thank you

After commenting the embedded font part from source.

Output to console:

3462313 bytes written to D:\SHMALib.swc in 19.878 seconds

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"

 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\framewor

ks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\sr

c" -library-path+=D:\SHMALIB\libs

 

SHMALib.swf file Generated and Report.txt is empty 

SHMALib.swc output Link:

https://www.dropbox.com/s/4tz49sz134m2gg9/SHMALib.swc?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F4tz49sz134m2gg9%2FSHMALib.swc%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=%2FNcbTJtah21RRPeWfwg2pRaZ72hd%2BdG0iJlnH3GsA28%3D&reserved=0> 

then I change, Compc -output "D:\SHMALib.swc" to Compc -output "D:\SHMALib. txt " 

SHMALib.txt output Link:

https://www.dropbox.com/s/j38obt5e36awuh3/SHMALib.txt?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fj38obt5e36awuh3%2FSHMALib.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=V%2FcA5dJ3Fi1qOvh%2BtUlbU%2FZ%2FQ5SBfRw7psjsm2Q%2Fe8w%3D&reserved=0> 

 

Thanks,

Alina

 

 

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 11:18 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

The only error right now is the embedded font.

 

We can discuss the pros and cons of embedding images in the JS output at some other point in time.

 

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Tuesday, February 27, 2018 at 10:01 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Big Part of SHMALib Uses Embed and metadata :

 

                                // Embed the font so we can rotate it for further distortion

                                [Embed(systemFont="Comic Sans MS",

                                                                embedAsCFF='false')]

                <mx:Image y="4" width="18" height="20" right="185" source="@Embed(source='assets/default/images/load.png')"

                                                  source="@Embed(source='assets/default/images/next.gif')" scaleContent="false"/>

                <mx:Image y="4" width="18" height="20" right="3" source="@Embed(source='assets/default/images/magnifier.png')"

     * An IFrame which you can embed into Flex applications to show an HTML page.

     * @example A simple application with Google embedded

        // SWF embed object tracking

         * The SWF embed object id.

         * Get the embed object id.

        protected function resolveEmbedObjectId():void

                    var result:Object=ExternalInterface.call(IFrameExternalCalls.FUNCTION_ASK_FOR_EMBED_OBJECT_ID, randomIdentificationString.toString());

                        logger.info("Resolved the SWF embed object id to '{0}'.", applicationId);

                        logger.error('Could not resolve the SWF embed object Id.');

            // Resolve the SWF embed object id in the DOM.

            ExternalInterface.call(IFrameExternalCalls.INSERT_FUNCTION_ASK_FOR_EMBED_OBJECT_ID);

            resolveEmbedObjectId();

            logger.info("Loading IFrame with id '{0}', on SWF embed object with id '{1}'.", _frameId, applicationId);

                    FUNCTION_LOADIFRAME + " = function (frameID, iframeID, url, embedID, scrollPolicy)" +

                                      "onLoad='\"+embedID+\".\"+frameID+\"_load();' " +

        public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String = "askForEmbedObjectId";

        public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String = "askForEmbedObjectId";

        public static var INSERT_FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =

                "if (document." + FUNCTION_ASK_FOR_EMBED_OBJECT_ID + "==null)" +

                    FUNCTION_ASK_FOR_EMBED_OBJECT_ID + " = function(randomString) " + 

                            "var embeds = document.getElementsByTagName('embed'); " + 

                            "var embeds = document.getElementsByTagName('embed'); " + 

                            "for (var i = 0; i < embeds.length; i++) { " + 

                                "var isTheGoodOne = embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " + 

                                "var isTheGoodOne = embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " + 

                                    "return embeds[i].getAttribute('id'); " + 

                                 * The UITextField control for displaying embeded hints.

                                private var embedTextField:UITextField;

                                 *  The String to be shown as the embeded hint.

                                private var embedStr:String = "";

                                                                                embedStr = "MM DD YYYY";

                                                                                embedStr = "DD MM YYYY";

                                                                                embedStr = "YYYY MM DD";

                                                                                embedStr = "YYYY DD MM";

                                 *  Create child objects for displaying embeded hints.

                                                                embedTextField = new UITextField();

                                                                //embedTextField.text = embedStr;

                                                                //embedTextField.text = embedStr;

                                                                addChildAt(UITextField(embedTextField),getChildIndex(DisplayObject(textField)));//as TextField

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                                s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);

                                                                                                                                embedTextField.text = s;

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                                //s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);

                                                                                                                                //embedTextField.text = s;

                                                                                                                                s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);

                                                                                                                                embedTextField.text = s;

                                                                                // If embeded hints are displayed then update the

                                                                                // UITextField corresponding to the embeded hints

                                                                                                var s:String = embedTextField.text == null ? "":embedTextField.text;

                                                                                                var s:String = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                embedTextField.text = s;

                                                                // create the embeded text field for showing

                                                                // embeded hints if its not already created.

                                                                // If it is created, then just change the embeded hint.

                                                                if(!embedTextField)

                                                                                embedTextField = new UITextField();

                                                                                addChildAt(embedTextField,getChildIndex(DisplayObject(textField))); //as TextField

                                                                //embedTextField.text = embedStr;

                                                                //embedTextField.text = embedStr;

                                                                embedTextField.alpha = 1;

                                                                embedTextField.setTextFormat(txtFormat);

                                                                embedTextField.x = 0;

                                                                embedTextField.y = 2;

                                                                embedTextField.setActualSize(width,height);

                                                                if(embedTextField)

                                                                                embedTextField.text = "";

                                                                                embedTextField = null;

                                                // setting the color of the embeded text field to white.

                                                                if(embedTextField)

                                                                                embedTextField.setColor(0xFFFFFF);

                                                                                if(embedTextField)

                                                                                                addChildAt(DisplayObject(newSkin),getChildIndex(DisplayObject(embedTextField)));//

   background-image:                                      Embed(source="/assets/application_background.png",

                up-skin:                Embed("/assets/maximize_up.png");

                over-skin:            Embed("/assets/maximize_over.png");

                down-skin:         Embed("/assets/maximize_up.png");

                selected-up-skin:   Embed("/assets/restore_up.png");

                selected-over-skin: Embed("/assets/restore_over.png");

                selected-down-skin: Embed("/assets/restore_up.png");

                up-skin:        Embed("/assets/minimize_up.png");

                over-skin:      Embed("/assets/minimize_over.png");

                down-skin:      Embed("/assets/minimize_up.png");

                up-skin:                                Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");

                over-skin:                            Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");

                down-skin:                         Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");

                selected-up-skin:                             Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");

                selected-over-skin:                         Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");

                selected-down-skin:                      Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");

                up-skin:                                Embed("/assets/left_arrow_up.gif");

                over-skin:                            Embed("/assets/left_arrow_over.gif");

                down-skin:                         Embed("/assets/left_arrow_up.gif");

                disabled-skin:    Embed("/assets/left_arrow_disabled.gif");

                up-skin:                                Embed("/assets/right_arrow_up.gif");

                over-skin:                            Embed("/assets/right_arrow_over.gif");

                down-skin:                         Embed("/assets/right_arrow_up.gif");

                disabled-skin:    Embed("/assets/right_arrow_disabled.gif");

                                //[Embed(source="/assets/cursor_move.gif")]

                                //[Embed(source="/assets/cursor_resize.gif")]

                                [Embed(source="/assets/default/images/mouseMove.gif")]

                                [Embed(source="/assets/default/images/verticalSize.gif")]

                                [Embed(source="/assets/default/images/horizontalSize.gif")]

                                [Embed(source="/assets/default/images/leftObliqueSize.gif")]

                                [Embed(source="/assets/default/images/rightObliqueSize.gif")]

                                                if (image.isEmbedded) 

                                                //if (!Application.application.systemManager.isFontFaceEmbedded(textFormat)) 

                                                if (!FlexGlobals.topLevelApplication.systemManager.isFontFaceEmbedded(textFormat))

                                                                if (Application.application.isFontsEmbedded) {

                                                                if (Application.application.isFontsEmbedded) {

                                                                if (Application.application.isFontsEmbedded) {

                                private var _isEmbedded:Boolean = false;

                                public function set isEmbedded(embedded:Boolean):void 

                                public function set isEmbedded(embedded:Boolean):void 

                                                _isEmbedded = embedded;

                                                _isEmbedded = embedded;

                                public function get isEmbedded():Boolean 

                                                return _isEmbedded;

                                                <mx:icon>@Embed(source='images/print.GIF')</mx:icon>

                                                <mx:icon>@Embed(source='images/reload.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/first-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/first.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/previous-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/previous.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/next-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/next.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/last-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/last.GIF')</mx:icon>

                                                                                <mx:icon>@Embed(source='images/actualsize.GIF')</mx:icon>

                                                                                <mx:icon>@Embed(source='images/fitpage.GIF')</mx:icon>

                                                                                <mx:icon>@Embed(source='images/fitwidth.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/zoomin-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/zoomin.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/zoomout-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/zoomout.GIF')</mx:icon>

                                                                <mx:icon>@Embed(source='images/print.GIF')</mx:icon>

                                                if (imageSourceXml.@isEmbedded.length() > 0)

                                                                image.isEmbedded = imageSourceXml.@isEmbedded == "true";

                                                                image.isEmbedded = imageSourceXml.@isEmbedded == "true";

                 source="@Embed(source='/assets/default/images/left_arrow_up.gif')"/>

                 source="@Embed(source='/assets/default/images/left_arrow_over.gif')"/>

                 source="@Embed(source='/assets/default/images/left_arrow_disabled.gif')"/>  

                                                                                   source="@Embed(source='/com/shm/flexlib/mdi/assets/img/maximizeButton.png')"/>

                                                                                   height="12" source="@Embed(source='/com/shm/flexlib/mdi/assets/img/restoreButton.png')"/>

                                                                                   source="@Embed(source='/com/shm/flexlib/mdi/assets/img/minimizeButton.png')"/>

                 source="@Embed(source='/assets/default/images/right_arrow_up.gif')"/>

                 source="@Embed(source='/assets/default/images/right_arrow_over.gif')"/>

                 source="@Embed(source='/assets/default/images/right_arrow_disabled.gif')"/>  

 

 

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 11:00 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I think you can ignore the warnings.  The first error is for embedding a font, which Royale doesn't currently support, so for now, try commenting out the Embed metadata and see if that allows the error to go away.

 

I would look into the other errors to see if they are legitimate or not.  The Royale Compiler will catch some things the MXMLC compiler may not.  Or you could comment out the code involved in the two errors in TImeZone.as for now since that won't affect the report.

 

The final two errors I saw are for missing skin states.  I think you can just add the skin states.

 

HTH,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Tuesday, February 27, 2018 at 9:35 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

While Executing

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\src"

Or 

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\Flex\libs\SH

MALIB.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bi

n\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\

SHMALIB\src" -library-path+=D:\SHMALIB\libs

 

Error:

(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to

field java.lang.Thread.inheritableThreadLocals

WARNING: Please consider reporting this to the maintainers of com.google.common.

base.internal.Finalizer

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect

ive access operations

WARNING: All illegal access operations will be denied in a future release

Loading configuration: D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(415): col: 50 Warning:

Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="DataProviderService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(419): col: 50 Warning:

Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="BasicFormatterService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(516): col: 50 Warning: Da

ta binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="DataProviderService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(520): col: 50 Warning: Da

ta binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="BasicFormatterService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\shmCaptchaImage.as(43): col: 3 Error: Embed re

quires a 'source' file attribute

 

                [Embed(systemFont="Comic Sans MS",

                ^

 

D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(37): col: 88 Warning: Data

binding will not be able to detect assignments to 'isSelected'.

 

                                        <mx:CheckBox selectedField="isSelected"

 change="onChange(event);" selected="{data.isSelected}">

 

                                          ^

 

D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(46): col: 27 Warning: Data

binding will not be able to detect assignments to 'label'.

 

                                        <mx:Label text="{data.label}" />

                                                             ^

 

D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(126): col: 15 Error: Impli

cit coercion of a value of type Boolean to an unrelated type Number.

 

                                if(year & 0x3 == 0)

                                          ^

 

D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(134): col: 39 Error: Impli

cit coercion of a value of type Boolean to an unrelated type Number.

 

                                if(month == 1 && value.fullYear & 0x3 == 0)

                                                                  ^

 

D:\SHMALIB\src\com\shm\dashboard\renderers\GridPodURLRenderer.mxml(6): col: 23 W

arning: Data binding will not be able to detect assignments to 'SrNo'.

 

                  htmlText="&lt;u&gt;{data.SrNo}&lt;/u&gt;" color="blue" click="

f_DrillDownData(data)">

                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml Error:

The required skin state 'disabledWithPrompt' is missing.

 

 

D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml Error:

The required skin state 'normalWithPrompt' is missing.

 

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(177): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(187): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(202): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(212): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(429): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(439): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(454): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(464): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(479): col: 26 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                field="{properties.@valueField}"

 

                                                                   ^

 

D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(115): col: 74 Warning

: Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject id="roDrillDownColInfo" channelSet="{parentAppl

ication.amfChannelSet}" showBusyCursor="true"

 

       ^

 

D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(118): col: 68 Warning

: Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject id="roDgDpResult" channelSet="{parentApplicatio

n.amfChannelSet}" showBusyCursor="true"

 

 ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PieChartContent.mxml(128): col: 24 Warning

: Data binding will not be able to detect assignments to 'valueField'.

 

                                field="{properties.@valueField}"

                                                   ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 37 Warning: Dat

a binding will not be able to detect assignments to 'appParams'.

 

                                                        inputMask="{parentApplic

ation.appParams.DATE_FORMAT}" showToday="true"  yearNavigationEnabled="true"

 

     ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 47 Warning: Dat

a binding will not be able to detect assignments to 'DATE_FORMAT'.

 

                                                        inputMask="{parentApplic

ation.appParams.DATE_FORMAT}" showToday="true"  yearNavigationEnabled="true"

 

               ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 38 Warning: Dat

a binding will not be able to detect assignments to 'appParams'.

 

                                                         inputMask="{parentAppli

cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true" showToday="true"

 

      ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 48 Warning: Dat

a binding will not be able to detect assignments to 'DATE_FORMAT'.

 

                                                         inputMask="{parentAppli

cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true" showToday="true"

 

                ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(12): col: 11 Warnin

g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

 

                        import mx.graphics.Stroke;

                               ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(37): col: 23 Warnin

g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

 

                                        lne.stroke = new Stroke(0,1,.3);

                                                         ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(46): col: 14 Warnin

g: Duplicate variable definition: i.

 

                                for (var i:int = 1; i < lnWdt; i++){

                                         ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(47): col: 10 Warnin

g: Duplicate variable definition: lne.

 

                                        var lne:Line  = new Line();

                                            ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(53): col: 23 Warnin

g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

 

                                        lne.stroke = new Stroke(0,1,.3);

                                                         ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(54): col: 10 Warnin

g: Duplicate variable definition: llbe.

 

                                        var llbe:Label = new Label();

                                            ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(157): col: 40 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var xPosition:Number = Application.application.p

arent.mouseX;

                                                                   ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(158): col: 40 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var yPosition:Number = Application.application.p

arent.mouseY;

                                                                   ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(225): col: 36 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var xPlus:Number = Application.application.paren

t.mouseX - point.x;

                                                               ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(226): col: 36 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var yPlus:Number = Application.application.paren

t.mouseY - point.y;

                                                               

Thanks,

Alina Kazi

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 10:16 AM
To: Alina Kazi; users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I think that Flash Builder makes it easy to build SWCs.  Building from the command line can be a bit trickier.

 

Let's try:

Compc -output "D:\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\src"

 

HTH,

-Alex

 

 

From: Alina Kazi <al...@d-bz.com>
Date: Tuesday, February 27, 2018 at 7:28 PM
To: "users@royale.apache.org" <us...@royale.apache.org>, Alex Harui <ah...@adobe.com>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Yes I am using Flash Builder.

SHMALIB and MainFlexApp are two separate Projects

Src for SHMALIB is placed into D:/SHMALIB/src

Src for MainFlexApp is D:/Flex/src and the library output file SHMALIB.swc is placed into D:/Flex/libs

 

SHMALIB (.actionscriptProperties)

 

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<actionScriptProperties mainApplicationPath="SHMALib.as" projectUUID="863559ab-3e7b-475b-a3a4-09f4f76fc0d2" version="6">

  <compiler additionalCompilerArguments="-locale en_US" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderLocation="D:/Flex/libs" outputFolderPath="bin-debug" sourceFolderPath="src" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" verifyDigests="true" warn="true">

    <compilerSourcePath/>

    <libraryPath defaultLinkType="0">

      <libraryPathEntry kind="4" path="">

        <excludedEntries>

          <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>

        </excludedEntries>

      </libraryPathEntry>

      <libraryPathEntry kind="1" linkType="1" path="libs"/>

    </libraryPath>

    <sourceAttachmentPath/>

  </compiler>

  <applications>

    <application path="SHMALib.as"/>

  </applications>

  <modules/>

  <buildCSSFiles/>

</actionScriptProperties>

 

SHMALIB (.flexLibProperties)

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<flexLibProperties includeAllClasses="true" version="3">

  <includeClasses/>

  <includeResources/>

  <namespaceManifests/>

</flexLibProperties>

 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 9:34 PM
To: Alina Kazi
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

When you are not trying to use Royale to generate this API report, how are you building your current Flex app?  We might need to know that in order to determine what parameters to add to COMPC.

 

COMPC has additional parameters like -include–sources, include-file, include-classes.  Sometimes, these are listed in an xml file.  If you are using Flash Builder, for example, then examine the .flexlibproperties and .actionscriptProperties files in your project folder.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Date: Tuesday, February 27, 2018 at 3:21 AM
To: 'Alina Kazi' <al...@d-bz.com>
Cc: Alex Harui <ah...@adobe.com>
Subject: RE: Generating API report for Flex Web Browser application

 

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"

 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"

Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by com.google.common.base.internal.Finalizer

(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to

field java.lang.Thread.inheritableThreadLocals

WARNING: Please consider reporting this to the maintainers of com.google.common.

base.internal.Finalizer

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect

ive access operations

 

Error: nothing was specified to be included in the library.

-Alina

 

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Tuesday, February 27, 2018 2:16 PM
To: 'users@royale.apache.org'
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

I am using Moonshine IDE 1.9.0.

Flex 4.16.0

Apache Royale 0.9.2 Latest Nightly Build

 

Running this Command on Command Prompt:

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"

 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"

Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by com.google.common.base.internal.Finalizer

(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to

field java.lang.Thread.inheritableThreadLocals

WARNING: Please consider reporting this to the maintainers of com.google.common.

base.internal.Finalizer

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect

ive access operations

WARNING: All illegal access operations will be denied in a future release

 

command line Error: unknown configuration variable 'sourceΓÇôpath'.

 

-Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 1:26 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

COMPC takes a slightly different set of parameters.  What IDE or build tools are you using to build it without Royale?  You might need to know what options that build uses.

 

You can try running: 

 

Compc -output "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source–path="D:\Projects\SHMA\Main\Flex\src" or wherever the source code is for the library.

 

HTH,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, February 26, 2018 at 11:33 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

For custom SWC, I am using COMPC to get an api-report for SWC

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>compc "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml

Error: configuration variable 'output' was not set.

 

 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 12:27 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Yes, any SWC that is not in the Flex SDK's frameworks/libs folder needs to be specified as Piotr describes below.  We want you specify the same MXML file that you use to compile in the regular Flex SDK.  So if your Application.mxml starts with an mx:Application or s:Application that’s probably the one to use.  But also, if you have your own custom SWCs, we want you to use COMPC to get an api-report for those SWCs.  We want this modified Royale compiler to compile every source file you own so we can see what Flex APIs you are using.

 

HTH,

-Alex

 

From: Piotr Zarzycki <pi...@gmail.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, February 26, 2018 at 11:19 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina, 

 

In my sense you will have to use -library-path+=path to the library. You have to tell compiler about that library.

 

Thanks, Piotr

 

2018-02-27 7:57 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi  Alex,

With latest nightly build:

MaskedTextInput , shmReportUtil …. Are Library Project Actionscript Files.

Main Application contains SHMALib.swc file in Libs folder

Error Link:

https://www.dropbox.com/s/p5imt22cuut0ex6/ErrorGeneratingReport.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fp5imt22cuut0ex6%2FErrorGeneratingReport.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=8f1f9duW2Red4bP77hFTh3mLcCptBmAwd87n1iSkk%2Bs%3D&reserved=0> 

 

I have a question that which .mxml file should be used to generate that report?

Applications.mxml is startup file in case of my Project so I’m using it.

 

Please visit reference link and If I’m doing anything wrong please let me know.

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 12:00 AM


To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I pushed a fix for that.  It might or might not be related to your custom swc.  Get the latest nightly build and let us know.

 

Also, if you are successful, please use your regular compiler to generate a -link–report.  That will help us verify that the API report didn't miss anything.

 

Thanks,

-Alex

 

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, February 26, 2018 at 4:01 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Generated Report file for Sample Project Successfully.

 

spark.components.Application:minHeight,1

spark.components.Application:minWidth,1

spark.components.Application:mxmlContentFactory,2

spark.components.Label:fontSize,1

spark.components.Label:fontWeight,1

spark.components.Label:horizontalCenter,1

spark.components.Label:text,1

spark.components.Label:textAlign,1

spark.components.Label:verticalCenter,1

 

But while executing Actual Project got Error:

https://www.dropbox.com/s/d25eysllavuy5z4/compile2.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fd25eysllavuy5z4%2Fcompile2.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=2i28J4zjv1vEQ7sd%2BGfHm%2Bh1FjG%2BP3YdJCc6rGZr3C4%3D&reserved=0> 

https://www.dropbox.com/s/49iq74zk6rxcr1y/compile1.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F49iq74zk6rxcr1y%2Fcompile1.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=44tfkOscWyJ%2FH3M30HeJ6dfFE0TlpTMhQ2t%2Bv%2ByuoDg%3D&reserved=0> 

 

May be because my Application is dependent to SHMALib(.swc) Library Project (Source Shared Earlier). 

 

-Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Monday, February 26, 2018 5:02 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Alex,

 

I did above exercise for Moonshine and got NPE [1]. I used air-config.xml because it is na Desktop app.

 

[1] https://paste.apache.org/R0Si <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FR0Si&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=tFLrK9xsVt57PytwBaNoUJ%2FIPFH7FCHDtfrmJ1sAl3Y%3D&reserved=0>  

 

Thanks,

Piotr

 

 

2018-02-26 12:56 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:

Yishay,

 

Thank you so much!! I got it working.

 

Alina,

 

Here is the full instruction.

 

1) Download Apache Royale with SWF support - if you have that is good, if not it's here [1]

2) Download Apache Flex - you have it as I have seen on the screenshot.

3) Launch console and go to the Royale SDK folder

 

"yourpathtosdk\bin\" - In my case it was: "d:\Work\royale_ide\royale_nightly_js_swf\bin\"

 

4) Run following command where you will point to the Flex Browser application in order to generate report. My command looks like that:

 

mxmlc "c:\Users\piotr\Documents\NewFlexBrowserProject\src\NewFlexBrowserProject.mxml" -api-report="c:\Users\piotr\Documents\NewFlexBrowserProject\report.txt" -load-config=d:\Work\flex-sdk-4.16.1_adobe_air_28\frameworks\flex-config.xml

 

I generated report for hellow world. Maybe in order to generate report for your application that console command may be much more sophisticated. Let's see!

 

 

[1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/lastSuccessfulBuild/artifact/out/ <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2Fout%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=O%2BpVQ8OuhB%2FtE4ZdylTSkAQCWsIPBGlr9RgiTjWSWEM%3D&reserved=0> 

 

Thanks,

Piotr

 

 

2018-02-26 12:46 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:

Looks like [1] you do need to add compiler option: -api–report=<path to output file>

 

[1] http://apache-royale-users.20374.n8.nabble.com/Substitutes-in-Apache-Royale-tp392p492.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p492.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kda6SpkBgdRqGAeGJ5Db629EAy7KAVbOZKzhzhynRZk%3D&reserved=0> 

 

 

From: Piotr Zarzycki <ma...@gmail.com> 
Sent: Monday, February 26, 2018 1:37 PM


To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

I have produced with that swf, but what's next? Let's wait for Alex's response [1] 

 

[1] https://paste.apache.org/YEeG <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FYEeG&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8ameYzJ7AloOW4nTa8dqu7zYxwORSQc5sCUqpZDVA%2BY%3D&reserved=0> 

 

Thanks,

Piotr

 

2018-02-26 12:32 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:

Alex will know but I don’t think so. I haven’t updated the compiler recently so can’t test it right now. If you want to test it maybe just create a simple app and replace /Users/aharui/ApacheFlex4.16.0 with your sdk home.

 

 

 

From: Piotr Zarzycki <ma...@gmail.com> 
Sent: Monday, February 26, 2018 1:25 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Yishay, 

 

bin/mxmlc

<path to app's

.mxml

file>

-load-config=/Users/aharui/ApacheFlex4.16.0/frameworks/flex-config.xml  

 

Do I need some switch for compiler -api-report or something like that ?

 

Thanks,

Piotr

 

 

2018-02-26 12:10 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:

Wasn’t logged in. Here’s [1] the link.

 

[1] http://apache-royale-users.20374.n8.nabble.com/Substitutes-in-Apache-Royale-tp392p489.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p489.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8Tp5%2BFveKS0eoW7D8EovITPQqYrgwDK4P7cW9izXFH8%3D&reserved=0> 

 

 

From: Yishay Weiss <ma...@hotmail.com> 
Sent: Monday, February 26, 2018 12:59 PM
To: users@royale.apache.org
Subject: RE: Generating API report for Flex Web Browser application

 

I couldn’t find a way to link to a nabble post, but this [1] might help (from Substitutes in Apache Royale).

 

[1] https://paste.apache.org/N2QR <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FN2QR&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=VIS8u6EEBWN6jQrFxpttZvAfUCSSKPe3rbrBDU2w7Sg%3D&reserved=0> 

 

From: Piotr Zarzycki <ma...@gmail.com> 
Sent: Monday, February 26, 2018 12:44 PM
To: users@royale.apache.org
Subject: Generating API report for Flex Web Browser application

 

Hi Alex, 

 

I would like to understand how to generate that report. I will go with the console path, because I think this is something unusual and probably Moonshine is not prepared to do this. I'm writing this on the users mailing list because Alina is having some problems with that. I wanted to simplify all of that. Let's start from the beginning. 

 

1) I have created Flex Web browser project using Apache Flex SDK 4.16.1. 

2) I have nightly build of Royale with SWF support [1]

 

What should I type in the console now ?

 

[1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/lastSuccessfulBuild/artifact/ <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=UtYFFQ90aNB2HU2Vx4t8YAS6Eo2j1ZqVAytujEOgoFM%3D&reserved=0> 

 

Thanks,
-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 

 

 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 

 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 

 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=zGrfZ2Wj3CLuuW%2B%2BKtUSQF6762Vn0%2BeNjCMlViBMghg%3D&reserved=0> 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki


Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

Posted by Piotr Zarzycki <pi...@gmail.com>.
Alina,

Let's try Alex's approach and build 1. compiler, 2. typedefs, 3. framework.
Follow instruction [1]. Start from point 4. " Build Compiler
(royale-compiler)". Let's see where you end up.
For me It's working even without building compiler and typedefs. Let's see
whether you will have timeouts.

[1]
https://github.com/apache/royale-asjs/wiki/Build-Apache-Royale-with-Maven

Thanks, Piotr


2018-03-12 13:16 GMT+01:00 Alina Kazi <al...@d-bz.com>:

> Hi Piotr,
>
> output : https://www.dropbox.com/s/aj1qehblok9yhfw/error.txt?dl=0
>
>
>
> Thanks,
>
> Alina
>
> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com]
> *Sent:* Monday, March 12, 2018 4:43 PM
> *To:* users@royale.apache.org
> *Subject:* Re: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Hi Alina,
>
>
>
> Can you run command with -X:  mvn -s settings-template.xml clean install
> -X.
>
>
>
> Please paste your output on some paste - It will be easier for me analyze
> it.
>
>
>
> Thanks, Piotr
>
>
>
>
>
> 2018-03-12 12:18 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>
> Hi Piotr,
>
>
>
> I am getting this error while executing maven command.
>
> System environment variable path is:
>
> PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\
> Wbem;C:\Windows\System32
>
> \WindowsPowerShell\v1.0;C:\Program Files\Java\jdk1.8.0_31\bin;D:\
> apache-ant-1.10.2\bin;C:\Program Files\Git\cmd;D:\apache-maven-3.5.3\bin
>
>
>
> d:\Apache\royale-asjs>mvn -s settings-template.xml install
>
> Downloading from apache-snapshots: http://repository.apache.org/
> snapshots/org/ap
>
> ache/flex/utilities/converter/flex-sdk-converter-maven-
> extension/1.0.0-SNAPSHOT/
>
> maven-metadata.xml
>
> [WARNING] Could not transfer metadata org.apache.flex.utilities.
> converter:flex-s
>
> dk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from/to
> apache-sn
>
> apshots (http://repository.apache.org/snapshots/): Connect to
> repository.apache.
>
> org:80 [repository.apache.org/207.244.88.140] failed: Connection timed
> out: conn
>
> ect
>
> [WARNING] Failure to transfer org.apache.flex.utilities.
> converter:flex-sdk-conve
>
> rter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from
> http://repository.ap
>
> ache.org/snapshots/ was cached in the local repository, resolution will
> not be r
>
> eattempted until the update interval of apache-snapshots has elapsed or
> updates
>
> are forced. Original error: Could not transfer metadata
> org.apache.flex.utilitie
>
> s.converter:flex-sdk-converter-maven-extension:1.0.
> 0-SNAPSHOT/maven-metadata.xml
>
> from/to apache-snapshots (http://repository.apache.org/snapshots/):
> Connect to
>
> repository.apache.org:80 [repository.apache.org/207.244.88.140] failed:
> Connecti
>
> on timed out: connect
>
> Downloading from apache-snapshots: http://repository.apache.org/
> snapshots/org/ap
>
> ache/flex/utilities/converter/flex-sdk-converter-maven-
> extension/1.0.0-SNAPSHOT/
>
> flex-sdk-converter-maven-extension-1.0.0-SNAPSHOT.pom
>
> [WARNING] Failed to read extensions descriptor D:\Apache\royale-asjs\.mvn\
> extens
>
> ions.xml: Plugin org.apache.flex.utilities.converter:flex-sdk-converter-
> maven-ex
>
> tension:1.0.0-SNAPSHOT or one of its dependencies could not be resolved:
> Failed
>
> to read artifact descriptor for org.apache.flex.utilities.
> converter:flex-sdk-con
>
> verter-maven-extension:jar:1.0.0-SNAPSHOT
>
> [INFO] Scanning for projects...
>
> [WARNING] The project org.apache:apache:pom:18 uses prerequisites which is
> only
>
> intended for maven-plugin projects but not for non maven-plugin projects.
> For su
>
> ch purposes you should use the maven-enforcer-plugin. See
> https://maven.apache.o
>
> rg/enforcer/enforcer-rules/requireMavenVersion.html
>
> [INFO]
>
> [INFO] -------------------------< org.apache:apache
> >--------------------------
>
> [INFO] Building The Apache Software Foundation 18
>
> [INFO] --------------------------------[ pom
> ]---------------------------------
>
> Downloading from central: https://repo.maven.apache.org/
> maven2/org/apache/maven/
>
> plugins/maven-remote-resources-plugin/1.5/maven-
> remote-resources-plugin-1.5.pom
>
> [INFO] ------------------------------------------------------------
> ------------
>
> [INFO] BUILD FAILURE
>
> [INFO] ------------------------------------------------------------
> ------------
>
> [INFO] Total time: 33.430 s
>
> [INFO] Finished at: 2018-03-12T16:10:48+05:00
>
> [INFO] ------------------------------------------------------------
> ------------
>
> [ERROR] Plugin org.apache.maven.plugins:maven-remote-resources-plugin:1.5
> or one
>
> of its dependencies could not be resolved: Failed to read artifact
> descriptor f
>
> or org.apache.maven.plugins:maven-remote-resources-plugin:jar:1.5: Could
> not tra
>
> nsfer artifact org.apache.maven.plugins:maven-remote-resources-plugin:pom:1.5
> fr
>
> om/to central (https://repo.maven.apache.org/maven2): Connect to
> repo.maven.apac
>
> he.org:443 [repo.maven.apache.org/151.101.196.215] failed: Connection
> timed out:
>
> connect -> [Help 1]
>
> [ERROR]
>
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e swit
>
> ch.
>
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>
> [ERROR]
>
> [ERROR] For more information about the errors and possible solutions,
> please rea
>
> d the following articles:
>
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/
> PluginResoluti
>
> onException
>
>
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com]
> *Sent:* Wednesday, March 07, 2018 12:22 PM
> *To:* users@royale.apache.org
> *Subject:* Re: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> I got the same results, but tried again in the same directory with  *mvn
> -s settings-template.xml clean install *and it's building now!
>
>
>
> 2018-03-07 7:59 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>
> Hi Piotr,
>
> What should I do?
>
> Do You want me to delete all files name royale-asjs? Or delete other
> folders royale-compiler n others.
>
>
>
> Thanks Alina
>
>
>
> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com]
> *Sent:* Wednesday, March 07, 2018 12:07 PM
> *To:* users@royale.apache.org
> *Subject:* Re: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Ok! I just cloned separate repository and got similar problem. ->
> https://paste.apache.org/HuYU
>
>
>
> 2018-03-07 7:42 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>
> Similar Error
>
>
>
> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com]
> *Sent:* Wednesday, March 07, 2018 11:41 AM
> *To:* users@royale.apache.org
> *Subject:* Re: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Use *"mvn -s settings-template.xml clean install" *without pointing to
> profile -P utils.
>
>
>
> 2018-03-07 7:22 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>
> Hi Piotr,
>
> Getting Similar Error in all cases.
>
> C:\Users\aleena>git clone https://github.com/apache/royale-asjs
>
> Cloning into 'royale-asjs'...
>
> remote: Counting objects: 101055, done.
>
> remote: Compressing objects: 100% (127/127), done.
>
> remote: Total 101055 (delta 101), reused 183 (delta 63), pack-reused 100828
>
> Receiving objects: 100% (101055/101055), 19.27 MiB | 249.00 KiB/s, done.
>
> Resolving deltas: 100% (61539/61539), done.
>
> Checking out files: 100% (3572/3572), done.
>
>
>
> C:\Users\aleena>cd royale-asjs
>
>
>
> C:\Users\aleena\royale-asjs>git checkout develop
>
> Already on 'develop'
>
> Your branch is up to date with 'origin/develop'.
>
>
>
> C:\Users\aleena\royale-asjs>mvn -s settings-template.xml clean install -P
> utils
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> Downloading from apache-snapshots: http://repository.apache.org/
> snapshots/org/ap
>
> ache/flex/utilities/converter/flex-sdk-converter-maven-
> extension/1.0.0-SNAPSHOT/
>
> maven-metadata.xml
>
> [WARNING] Could not transfer metadata org.apache.flex.utilities.
> converter:flex-s
>
> dk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from/to
> apache-sn
>
> apshots (http://repository.apache.org/snapshots/): Connect to
> repository.apache.
>
> org:80 [repository.apache.org/207.244.88.140] failed: Connection timed
> out: conn
>
> ect
>
> [WARNING] Failure to transfer org.apache.flex.utilities.
> converter:flex-sdk-conve
>
> rter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from
> http://repository.ap
>
> ache.org/snapshots/ was cached in the local repository, resolution will
> not be r
>
> eattempted until the update interval of apache-snapshots has elapsed or
> updates
>
> are forced. Original error: Could not transfer metadata
> org.apache.flex.utilitie
>
> s.converter:flex-sdk-converter-maven-extension:1.0.
> 0-SNAPSHOT/maven-metadata.xml
>
>  from/to apache-snapshots (http://repository.apache.org/snapshots/):
> Connect to
>
> repository.apache.org:80 [repository.apache.org/207.244.88.140] failed:
> Connecti
>
> on timed out: connect
>
> Downloading from apache-snapshots: http://repository.apache.org/
> snapshots/org/ap
>
> ache/flex/utilities/converter/flex-sdk-converter-maven-
> extension/1.0.0-SNAPSHOT/
>
> flex-sdk-converter-maven-extension-1.0.0-SNAPSHOT.pom
>
> [WARNING] Failed to read extensions descriptor
> C:\Users\aleena\royale-asjs\.mvn\
>
> extensions.xml: Plugin org.apache.flex.utilities.
> converter:flex-sdk-converter-ma
>
> ven-extension:1.0.0-SNAPSHOT or one of its dependencies could not be
> resolved: F
>
> ailed to read artifact descriptor for org.apache.flex.utilities.
> converter:flex-s
>
> dk-converter-maven-extension:jar:1.0.0-SNAPSHOT
>
> [INFO] Scanning for projects...
>
> Downloading from apache-release: https://repository.apache.org/
> content/repositor
>
> ies/releases/org/apache/apache/18/apache-18.pom
>
> Downloading from central: https://repo.maven.apache.org/
> maven2/org/apache/apache
>
> /18/apache-18.pom
>
> [ERROR] [ERROR] Some problems were encountered while processing the POMs:
>
> [FATAL] Non-resolvable parent POM for org.apache.royale.framework:
> royale-framewo
>
> rk-parent:0.9.2-SNAPSHOT: Could not transfer artifact
> org.apache:apache:pom:18 f
>
> rom/to apache-release (https://repository.apache.org/content/repositories/
> releas
>
> es): Connect to repository.apache.org:443 [repository.apache.org/207.
> 244.88.140]
>
>  failed: Connection timed out: connect and 'parent.relativePath' points at
> no lo
>
> cal POM @ line 24, column 11
>
>  @
>
> [ERROR] The build could not read 1 project -> [Help 1]
>
> [ERROR]
>
> [ERROR]   The project org.apache.royale.framework:
> royale-framework-parent:0.9.2-
>
> SNAPSHOT (C:\Users\aleena\royale-asjs\pom.xml) has 1 error
>
> [ERROR]     Non-resolvable parent POM for org.apache.royale.framework:
> royale-fra
>
> mework-parent:0.9.2-SNAPSHOT: Could not transfer artifact
> org.apache:apache:pom:
>
> 18 from/to apache-release (https://repository.apache.
> org/content/repositories/re
>
> leases): Connect to repository.apache.org:443 [repository.apache.org/207.
> 244.88.
>
> 140] failed: Connection timed out: connect and 'parent.relativePath'
> points at n
>
> o local POM @ line 24, column 11 -> [Help 2]
>
> [ERROR]
>
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e swit
>
> ch.
>
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>
> [ERROR]
>
> [ERROR] For more information about the errors and possible solutions,
> please rea
>
> d the following articles:
>
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/
> ProjectBuildin
>
> gException
>
> [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/
> UnresolvableMo
>
> delException
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com]
> *Sent:* Wednesday, March 07, 2018 11:25 AM
> *To:* users@royale.apache.org
> *Subject:* Re: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Alina,
>
>
>
> I see in your trace that you have cloned typedefs instead asjs -> "git
> clone https://github.com/apache/royale-typedefs.git". You should clone:
>
>
>
> git clone https://github.com/apache/royale-asjs and switch to "develop"
> branch than try to build.
>
>
>
> However let me try build typedefs only in the meantime clone asjs and try
> again.
>
>
>
> Thanks, Piotr
>
>
>
>
>
> 2018-03-07 7:19 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
>
> Alina,
>
>
>
> Not sure, but let me try that on my sight, however I doubt that. Maven is
> a very distinguished from all the environment variables. If you got that
> build running you don't have to use almost all. :)
>
>
>
> 2018-03-07 7:03 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>
> Hi Piotr,
>
>
>
> ROYALE_HOME environment variable is set to D:\royale-asjs that is the path
> for installed latest nightly build. This could be the reason ?
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com]
> *Sent:* Wednesday, March 07, 2018 10:56 AM
> *To:* users@royale.apache.org
> *Subject:* Re: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Please try again build. Maybe it was some temporary problem. My build is
> running right now without the problem. Maven downloading dependencies
> nicely.
>
>
>
> Thanks, Piotr
>
>
>
> 2018-03-07 6:39 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>
> Hi Piotr,
>
> Its Working.
>
> This XML file does not appear to have any style information associated
> with it. The document tree is shown below.
>
> <metadata modelVersion="1.1.0">
>
> <groupId>org.apache.flex.utilities.converter</groupId>
>
> <artifactId>retrievers</artifactId>
>
> <version>1.0.0-SNAPSHOT</version>
>
> <versioning>
>
> <snapshot>
>
> <timestamp>20171112.204231</timestamp>
>
> <buildNumber>490</buildNumber>
>
> </snapshot>
>
> <lastUpdated>20171112204231</lastUpdated>
>
> <snapshotVersions>
>
> <snapshotVersion>
>
> <extension>pom</extension>
>
> <value>1.0.0-20171112.204231-490</value>
>
> <updated>20171112204231</updated>
>
> </snapshotVersion>
>
> </snapshotVersions>
>
> </versioning>
>
> </metadata>
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com]
> *Sent:* Wednesday, March 07, 2018 10:48 AM
> *To:* users@royale.apache.org
> *Subject:* Re: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Hi Alina,
>
>
>
> I just removed my whole local repository and trying exactly the same
> scenario. Just quick question can you try in your browser open this link ?
> Is it working ?
>
>
>
> http://repository.apache.org/snapshots/org/apache/flex/
> utilities/converter/retrievers/1.0.0-SNAPSHOT/maven-metadata.xml
>
>
>
> Thanks,
>
> Piotr
>
>
>
> 2018-03-07 6:27 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>
> Hi Piotr,
>
> Using Maven :
>
> C:\Users\aleena>git clone https://github.com/apache/royale-typedefs.git
> royale-a
>
> sjs
>
> Cloning into 'royale-asjs'...
>
> remote: Counting objects: 3318, done.
>
> remote: Compressing objects: 100% (93/93), done.
>
> remote: Total 3318 (delta 48), reused 76 (delta 16), pack-reused 3200
>
> Receiving objects: 100% (3318/3318), 3.51 MiB | 244.00 KiB/s, done.
>
> Resolving deltas: 100% (1337/1337), done.
>
>
>
> C:\Users\aleena>cd royale-asjs
>
>
>
> C:\Users\aleena\royale-asjs>git checkout develop
>
> Already on 'develop'
>
> Your branch is up to date with 'origin/develop'.
>
>
>
> C:\Users\aleena\royale-asjs>mvn -s settings-template.xml clean install
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> Downloading from apache-snapshots: http://repository.apache.org/
> snapshots/org/ap
>
> ache/flex/utilities/converter/flex-sdk-converter-maven-
> extension/1.0.0-SNAPSHOT/
>
> maven-metadata.xml
>
> [WARNING] Could not transfer metadata org.apache.flex.utilities.
> converter:flex-s
>
> dk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from/to
> apache-sn
>
> apshots (http://repository.apache.org/snapshots/): Connect to
> repository.apache.
>
> org:80 [repository.apache.org/207.244.88.140] failed: Connection timed
> out: conn
>
> ect
>
> [WARNING] Failure to transfer org.apache.flex.utilities.
> converter:flex-sdk-conve
>
> rter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from
> http://repository.ap
>
> ache.org/snapshots/ was cached in the local repository, resolution will
> not be r
>
> eattempted until the update interval of apache-snapshots has elapsed or
> updates
>
> are forced. Original error: Could not transfer metadata
> org.apache.flex.utilitie
>
> s.converter:flex-sdk-converter-maven-extension:1.0.
> 0-SNAPSHOT/maven-metadata.xml
>
>  from/to apache-snapshots (http://repository.apache.org/snapshots/):
> Connect to
>
> repository.apache.org:80 [repository.apache.org/207.244.88.140] failed:
> Connecti
>
> on timed out: connect
>
> Downloading from apache-snapshots: http://repository.apache.org/
> snapshots/org/ap
>
> ache/flex/utilities/converter/flex-sdk-converter-maven-
> extension/1.0.0-SNAPSHOT/
>
> flex-sdk-converter-maven-extension-1.0.0-SNAPSHOT.pom
>
> [WARNING] Failed to read extensions descriptor
> C:\Users\aleena\royale-asjs\.mvn\
>
> extensions.xml: Plugin org.apache.flex.utilities.
> converter:flex-sdk-converter-ma
>
> ven-extension:1.0.0-SNAPSHOT or one of its dependencies could not be
> resolved: F
>
> ailed to read artifact descriptor for org.apache.flex.utilities.
> converter:flex-s
>
> dk-converter-maven-extension:jar:1.0.0-SNAPSHOT
>
> [INFO] Scanning for projects...
>
> Downloading from apache-release: https://repository.apache.org/
> content/repositor
>
> ies/releases/org/apache/apache/18/apache-18.pom
>
> Downloading from central: https://repo.maven.apache.org/
> maven2/org/apache/apache
>
> /18/apache-18.pom
>
> [ERROR] [ERROR] Some problems were encountered while processing the POMs:
>
> [FATAL] Non-resolvable parent POM for org.apache.royale.typedefs:
> royale-typedefs
>
> -parent:0.9.2-SNAPSHOT: Could not transfer artifact
> org.apache:apache:pom:18 fro
>
> m/to apache-release (https://repository.apache.org/content/repositories/
> releases
>
> ): Connect to repository.apache.org:443 [repository.apache.org/207.
> 244.88.140] f
>
> ailed: Connection timed out: connect and 'parent.relativePath' points at
> wrong l
>
> ocal POM @ line 23, column 11
>
>  @
>
> [ERROR] The build could not read 1 project -> [Help 1]
>
> [ERROR]
>
> [ERROR]   The project org.apache.royale.typedefs:
> royale-typedefs-parent:0.9.2-SN
>
> APSHOT (C:\Users\aleena\royale-asjs\pom.xml) has 1 error
>
> [ERROR]     Non-resolvable parent POM for org.apache.royale.typedefs:
> royale-type
>
> defs-parent:0.9.2-SNAPSHOT: Could not transfer artifact
> org.apache:apache:pom:18
>
>  from/to apache-release (https://repository.apache.
> org/content/repositories/rele
>
> ases): Connect to repository.apache.org:443 [repository.apache.org/207.
> 244.88.14
>
> 0] failed: Connection timed out: connect and 'parent.relativePath' points
> at wro
>
> ng local POM @ line 23, column 11 -> [Help 2]
>
> [ERROR]
>
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e swit
>
> ch.
>
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>
> [ERROR]
>
> [ERROR] For more information about the errors and possible solutions,
> please rea
>
> d the following articles:
>
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/
> ProjectBuildin
>
> gException
>
> [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/
> UnresolvableMo
>
> delException
>
>
>
> C:\Users\aleena\royale-asjs>
>
>
>
> Thanks
>
> Alina
>
>
>
> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com]
> *Sent:* Tuesday, March 06, 2018 5:30 PM
> *To:* users@royale.apache.org
> *Subject:* Re: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Hi Alina,
>
>
>
> You can try to go with Maven to see whether you have similar problems [1]
>
>
>
> [1] https://github.com/apache/royale-asjs/wiki/Build-Apache-
> Royale-with-Maven
>
>
>
> Thanks, Piotr
>
>
>
> 2018-03-06 13:12 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>
> Hi Alex,
>
> Still getting same error, while executing:
>
> C:\Users\aleena\royale-asjs>ant all
>
> Website link is working :
>
> http://www.antlr.org/license.html
>
>
>
> could be only issue , Antlr server will be off-line ?
>
>
>
> Thanks,
>
> Alina
>
> *From:* Alina Kazi [mailto:alina.kazi@d-bz.com]
> *Sent:* Tuesday, March 06, 2018 4:38 PM
> *To:* 'users@royale.apache.org'
> *Subject:* RE: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Hi Alex,
>
>
>
> We can exclude ScaleX , ScaleY,transform from our code as we are using it
> in our Library Project Only.
>
> We are using “Rotation” in a PopUp Window.
>
>
>
> Can you please explain *emulation* ?
>
> How do they will work?
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alina Kazi [mailto:alina.kazi@d-bz.com]
> *Sent:* Tuesday, March 06, 2018 3:14 PM
> *To:* 'users@royale.apache.org'
> *Subject:* RE: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Hi Alex,
>
> We are using commitProperties() in our Library Project. Overriding the
> Existing Spark commitProperties() method
>
> For Example:
>
> ResizableTextAreaSkin.mxml (SHMALib)
>
> override protected function commitProperties():void {
>
>                                                 super.commitProperties();
>
>
>
>                                                 if (lineBreakChanged) {
>
>
> updateStringStyle("lineBreak");
>
>
> lineBreakChanged = false;
>
>                                                 }
>
>                                                 if (paddingChanged) {
>
>
> updatePadding();
>
>
> paddingChanged = false;
>
>                                                 }
>
>                                                 if (verticalAlignChanged)
> {
>
>
> updateStringStyle("verticalAlign");
>
>
> verticalAlignChanged = false;
>
>                                                 }
>
>                                 }
>
> We are using
>
> *Package*
>
> flash.display
> <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/package-detail.html>
>
> *Class*
>
> public class DisplayObject
>
> *Inheritance*
>
> DisplayObject [image: Inheritance] EventDispatcher
> <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/EventDispatcher.html>
>  [image: Inheritance] Object
> <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Object.html>
>
> *Reference Link:*
>
> https://help.adobe.com/en_US/FlashPlatform/reference/
> actionscript/3/flash/display/DisplayObject.html
>
>
>
> e.g :
>
>                 public function updateLayoutWithoutAnimation():void
>
>                                 {
>
>                                                 if(_layoutInvalid == true
> && layoutFunction != null)
>
>                                                 {
>
>
> _layoutInvalid = false;
>
>
> layoutFunction();
>
>                                                 }
>
>
>
>                                                 for(var aChild:* in
> _targets)
>
>                                                 {
>
>                                                                 var
> target:LayoutTarget = _targets[aChild];
>
>                                                                 var
> item:IFlexDisplayObject = target.item;
>
>                                                                 var
> m:Matrix = DisplayObject(item).transform.matrix;
>
>
>
>                                                                 m.tx =
> target.x;
>
>                                                                 m.ty =
> target.y;
>
>                                                                 m.a =
> target.scaleX;
>
>
>                                                                 m.d =
> target.scaleY
>
>
>
>
> DisplayObject(item).alpha = target.alpha;
>
>
> DisplayObject(item).transform.matrix = m;
>
>
> item.setActualSize(target.unscaledWidth,target.unscaledHeight);
>
>
> if(target.state == "removed")
>
>                                                                 {
>
>
> delete _targets[target.item];
>
>
> continue;
>
>                                                                 }
>
>                                                                 else
>
>                                                                 {
>
>
> target.state = "positioned"
>
>                                                                 }
>
>                                                 }
>
>                                                 stopTimer();
>
>                                 }
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com]
> *Sent:* Tuesday, March 06, 2018 1:36 PM
> *To:* users@royale.apache.org
> *Subject:* API Usage in Flex Web Browser application (was Re: Generating
> API report for Flex Web Browser application)
>
>
>
> Hi Alina,
>
>
>
> I'm starting on the emulation.  I've noticed that your application code
> appears to be calling commitProperties().  Can you tell us why?
>
>
>
> Also, it looks like there are a few uses of rotation, transform, scaleX
> and scaleY.  What are those used for?
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alex Harui <ah...@adobe.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, March 5, 2018 at 11:38 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> Try again.  Sometimes the Antlr server goes off-line around this time of
> day.
>
>
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, March 5, 2018 at 11:12 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> Using jdk1.8.0_162:
>
>
>
> C:\Users\aleena\royale-asjs>ant all
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> Buildfile: C:\Users\aleena\royale-asjs\build.xml
>
>
>
> set.base.folder:
>
>
>
> check-git:
>
>      [echo] Checking for Git...
>
>      [exec] git version 2.16.2.windows.1
>
>
>
> get-download-folder:
>
>
>
> download-all:
>
>      [echo] Using folder C:\Users\aleena\royale-asjs/..
>
>
>
> check-royale-asjs:
>
>
>
> warn-before-clone:
>
>
>
> check-royale-asjs:
>
>
>
> clone-royale-asjs:
>
>
>
> check-royale-compiler:
>
>
>
> clone-royale-compiler:
>
>
>
> check-royale-typedefs:
>
>
>
> clone-royale-typedefs:
>
>
>
> check-playerglobal-home:
>
>
>
> check-air-home:
>
>
>
> build-all:
>
>
>
> ask-before-build-all:
>
>     [input] This script will now download and compile lots of files.  This
> can t
>
> ake several minutes.   No interaction should be required.  Press the enter
> key t
>
> o continue.
>
>
>
>
>
> sdk:
>
>
>
> annotate.class:
>
>     [javac] Compiling 1 source file to C:\Users\aleena\royale-
> compiler\compiler-
>
> build-tools\target\classes
>
>     [javac] warning: [options] bootstrap class path not set in conjunction
> with
>
> -source 1.5
>
>     [javac] warning: [options] source value 1.5 is obsolete and will be
> removed
>
> in a future release
>
>     [javac] warning: [options] target value 1.5 is obsolete and will be
> removed
>
> in a future release
>
>     [javac] warning: [options] To suppress warnings about obsolete
> options, use
>
> -Xlint:-options.
>
>     [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\
> src\main\java\o
>
> rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:24: warning:
> [serial
>
> ] serializable class AnnotateClassDeleteException has no definition of
> serialVer
>
> sionUID
>
>     [javac]     public static class AnnotateClassDeleteException extends
> Excepti
>
> on
>
>     [javac]                   ^
>
>     [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\
> src\main\java\o
>
> rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:32: warning:
> [serial
>
> ] serializable class AnnotateClassRenameException has no definition of
> serialVer
>
> sionUID
>
>     [javac]     public static class AnnotateClassRenameException extends
> Excepti
>
> on
>
>     [javac]                   ^
>
>     [javac] 6 warnings
>
>
>
> unknown.tree.pattern.input.output:
>
>     [javac] Compiling 1 source file to C:\Users\aleena\royale-
> compiler\compiler-
>
> build-tools\target\classes
>
>     [javac] warning: [options] bootstrap class path not set in conjunction
> with
>
> -source 1.5
>
>     [javac] warning: [options] source value 1.5 is obsolete and will be
> removed
>
> in a future release
>
>     [javac] warning: [options] target value 1.5 is obsolete and will be
> removed
>
> in a future release
>
>     [javac] warning: [options] To suppress warnings about obsolete
> options, use
>
> -Xlint:-options.
>
>     [javac] 4 warnings
>
>
>
> main:
>
>
>
> compiler.downloads.cache:
>
>
>
> compiler.downloads:
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> prepare:
>
>      [echo] Making lib directory C:\Users\aleena\royale-
> compiler\compiler/lib/ex
>
> ternal
>
>     [mkdir] Created dir: C:\Users\aleena\royale-
> compiler\compiler\lib\external
>
>
>
> all:
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> check-dependency:
>
>      [echo] checking for C:\Users\aleena\royale-compiler\compiler/lib/
> external//
>
> antlr.jar
>
>
>
> download-dependency:
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> echo-project-jar:
>
>    [delete] Deleting: C:\Users\aleena\royale-compiler\compiler\src\main\
> resource
>
> s\project.properties
>
>      [echo] ${INFO_DOWNLOADING_FILE_FROM}
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> download-apache-license:
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> download-other-license:
>
>       [get] Getting: http://www.antlr.org/license.html
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0>
>
>       [get] To: C:\Users\aleena\royale-compiler\compiler\lib\
> external\antlr-LICE
>
> NSE.html
>
>       [get] Error getting http://www.antlr.org/license.html
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0>
> to C:\Users\aleena\r
>
> oyale-compiler\compiler\lib\external\antlr-LICENSE.html
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> double-check-file:
>
>      [echo] ${env.ROYALE_DOWNLOAD_CACHE}
>
>      [echo] Need file: ${still_no_file}
>
>
>
> get-from-cache-if-needed:
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> fail-if-not-found:
>
>
>
> BUILD FAILED
>
> C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred
> while e
>
> xecuting this line:
>
> C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred
> while e
>
> xecuting this line:
>
> C:\Users\aleena\royale-compiler\build.xml:64: The following error
> occurred while
>
>  executing this line:
>
> C:\Users\aleena\royale-compiler\compiler-jburg-types\build.xml:87: The
> following
>
>  error occurred while executing this line:
>
> C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:81:
> Th
>
> e following error occurred while executing this line:
>
> C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:275:
> T
>
> he following error occurred while executing this line:
>
> C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:329:
> T
>
> he following error occurred while executing this line:
>
> C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:489:
> C
>
> :\Users\aleena\royale-compiler\compiler/lib/external//antlr-LICENSE.html
> could n
>
> ot be downloaded or found in cache
>
>
>
> Total time: 47 seconds
>
>
>
> C:\Users\aleena\royale-asjs>
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Tuesday, March 06, 2018 11:55 AM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> Please use JDK8.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, March 5, 2018 at 10:40 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> Java version that I am using is “9.0.1”
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Tuesday, March 06, 2018 11:42 AM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> What version of Java are you using?  Please get a JDK7 or 8 and try that.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, March 5, 2018 at 10:22 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> Command Prompt Output is:
>
> C:\Users\aleena>git clone https://github.com/apache/royale-asjs.git
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs.git&data=02%7C01%7Caharui%40adobe.com%7Cdf86fa0dd25b41ffbc8108d5832f0997%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559160423949211&sdata=d9cKX4ILIQPLI5USXvAafSnrWZSgW1XHw6G4r%2B9wgsE%3D&reserved=0>
> royale-asjs
>
> Cloning into 'royale-asjs'...
>
> remote: Counting objects: 101103, done.
>
> remote: Compressing objects: 100% (22/22), done.
>
> remote: Total 101103 (delta 9), reused 30 (delta 7), pack-reused 101066R
>
> Receiving objects: 100% (101103/101103), 19.23 MiB | 208.00 KiB/s, done.
>
>
>
> Resolving deltas: 100% (61584/61584), done.
>
> Checking out files: 100% (3572/3572), done.
>
>
>
> C:\Users\aleena>cd royale-asjs
>
>
>
> C:\Users\aleena\royale-asjs>git checkout develop
>
> Already on 'develop'
>
> Your branch is up to date with 'origin/develop'.
>
>
>
> C:\Users\aleena\royale-asjs>ant all
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> Buildfile: C:\Users\aleena\royale-asjs\build.xml
>
>
>
> set.base.folder:
>
>
>
> check-git:
>
>      [echo] Checking for Git...
>
>      [exec] git version 2.16.2.windows.1
>
>
>
> get-download-folder:
>
>
>
> download-all:
>
>      [echo] Using folder C:\Users\aleena\royale-asjs/..
>
>
>
> check-royale-asjs:
>
>
>
> warn-before-clone:
>
>
>
> check-royale-asjs:
>
>
>
> clone-royale-asjs:
>
>
>
> check-royale-compiler:
>
>
>
> clone-royale-compiler:
>
>      [echo] cloning royale-compiler repo into
> C:\Users\aleena\royale-asjs/../roy
>
> ale-compiler
>
>      [exec] Cloning into 'royale-compiler'...
>
>      [exec] Checking out files:   8% (284/3191)
>
>      [exec] Checking out files:   9% (288/3191)   Checking out files:  10%
> (320/
>
> 3191)   Checking out files:  11% (352/3191)   Checking out files:  12%
> (383/3191
>
> )   Checking out files:  13% (415/3191)   Checking out files:  13%
> (444/3191)
>
> Checking out files:  14% (447/3191)   Checking out files:  15%
> (479/3191)   Chec
>
> king out files:  16% (511/3191)   Checking out files:  17% (543/3191)
> Checking
>
>  out files:  18% (575/3191)   Checking out files:  19% (607/3191)
> Checking out
>
>  files:  20% (639/3191)   Checking out files:  20% (641/3191)   Checking
> out fil
>
> es:  21% (671/3191)   Checking out files:  22% (703/3191)   Checking out
> files:
>
>  23% (734/3191)   Checking out files:  24% (766/3191)   Checking out
> files:  25%
>
>  (798/3191)   Checking out files:  26% (830/3191)   Checking out files:
> 26% (84
>
> 2/3191)   Checking out files:  27% (862/3191)   Checking out files:  28%
> (894/31
>
> 91)   Checking out files:  29% (926/3191)   Checking out files:  30%
> (958/3191)
>
>   Checking out files:  31% (990/3191)   Checking out files:  32%
> (1022/3191)   C
>
> hecking out files:  33% (1054/3191)   Checking out files:  34%
> (1085/3191)   Che
>
> cking out files:  35% (1117/3191)   Checking out files:  36% (1149/3191)
> Check
>
> ing out files:  37% (1181/3191)   Checking out files:  38% (1213/3191)
> Checkin
>
> g out files:  39% (1245/3191)   Checking out files:  40% (1277/3191)
> Checking
>
> out files:  40% (1308/3191)   Checking out files:  41% (1309/3191)
> Checking ou
>
> t files:  42% (1341/3191)   Checking out files:  42% (1352/3191)
> Checking out
>
> files:  43% (1373/3191)   Checking out files:  44% (1405/3191)   Checking
> out fi
>
> les:  45% (1436/3191)   Checking out files:  46% (1468/3191)   Checking
> out file
>
> s:  47% (1500/3191)   Checking out files:  48% (1532/3191)   Checking out
> files:
>
>   49% (1564/3191)   Checking out files:  49% (1578/3191)   Checking out
> files:
>
> 50% (1596/3191)   Checking out files:  51% (1628/3191)   Checking out
> files:  52
>
> % (1660/3191)   Checking out files:  53% (1692/3191)   Checking out
> files:  54%
>
> (1724/3191)   Checking out files:  55% (1756/3191)   Checking out files:
> 56% (1
>
> 787/3191)   Checking out files:  57% (1819/3191)   Checking out files:
> 58% (185
>
> 1/3191)   Checking out files:  59% (1883/3191)   Checking out files:  60%
> (1915/
>
> 3191)   Checking out files:  61% (1947/3191)   Checking out files:  62%
> (1979/31
>
> 91)   Checking out files:  63% (2011/3191)   Checking out files:  63%
> (2022/3191
>
> )   Checking out files:  64% (2043/3191)   Checking out files:  65%
> (2075/3191)
>
>   Checking out files:  66% (2107/3191)   Checking out files:  67%
> (2138/3191)
>
> Checking out files:  68% (2170/3191)   Checking out files:  69%
> (2202/3191)   Ch
>
> ecking out files:  70% (2234/3191)   Checking out files:  71%
> (2266/3191)   Chec
>
> king out files:  72% (2298/3191)   Checking out files:  73% (2330/3191)
> Checki
>
> ng out files:  74% (2362/3191)   Checking out files:  75% (2394/3191)
> Checking
>
>  out files:  76% (2426/3191)   Checking out files:  77% (2458/3191)
> Checking o
>
> ut files:  78% (2489/3191)   Checking out files:  79% (2521/3191)
> Checking out
>
>  files:  80% (2553/3191)   Checking out files:  81% (2585/3191)   Checking
> out f
>
> iles:  82% (2617/3191)   Checking out files:  83% (2649/3191)   Checking
> out fil
>
> es:  83% (2679/3191)   Checking out files:  84% (2681/3191)   Checking out
> files
>
> :  85% (2713/3191)   Checking out files:  86% (2745/3191)   Checking out
> files:
>
>  87% (2777/3191)   Checking out files:  88% (2809/3191)   Checking out
> files:  8
>
> 9% (2840/3191)   Checking out files:  89% (2845/3191)   Checking out
> files:  90%
>
>  (2872/3191)   Checking out files:  91% (2904/3191)   Checking out files:
> 92% (
>
> 2936/3191)   Checking out files:  93% (2968/3191)   Checking out files:
> 94% (30
>
> 00/3191)   Checking out files:  95% (3032/3191)   Checking out files:  95%
> (3035
>
> /3191)   Checking out files:  96% (3064/3191)   Checking out files:  97%
> (3096/3
>
> 191)   Checking out files:  98% (3128/3191)   Checking out files:  99%
> (3160/319
>
> 1)   Checking out files: 100% (3191/3191)   Checking out files: 100%
> (3191/3191)
>
> , done.
>
>      [exec] Your branch is up to date with 'origin/develop'.
>
>      [exec] Already on 'develop'
>
>
>
> check-royale-typedefs:
>
>
>
> clone-royale-typedefs:
>
>      [echo] cloning royale-typedefs repo into
> C:\Users\aleena\royale-asjs/../roy
>
> ale-typedefs
>
>      [exec] Cloning into 'royale-typedefs'...
>
>      [exec] Your branch is up to date with 'origin/develop'.
>
>      [exec] Already on 'develop'
>
>
>
> check-playerglobal-home:
>
>
>
> check-air-home:
>
>
>
> build-all:
>
>
>
> ask-before-build-all:
>
>     [input] This script will now download and compile lots of files.  This
> can t
>
> ake several minutes.   No interaction should be required.  Press the enter
> key t
>
> o continue.
>
>
>
> sdk:
>
>
>
> annotate.class:
>
>     [mkdir] Created dir: C:\Users\aleena\royale-
> compiler\compiler-build-tools\ta
>
> rget\classes
>
>     [javac] Compiling 1 source file to C:\Users\aleena\royale-
> compiler\compiler-
>
> build-tools\target\classes
>
>     [javac] warning: [options] bootstrap class path not set in conjunction
> with
>
> -source 1.5
>
>     [javac] error: Source option 1.5 is no longer supported. Use 1.6 or
> later.
>
>     [javac] error: Target option 1.5 is no longer supported. Use 1.6 or
> later.
>
>
>
> BUILD FAILED
>
> C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred
> while e
>
> xecuting this line:
>
> C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred
> while e
>
> xecuting this line:
>
> C:\Users\aleena\royale-compiler\build.xml:63: The following error
> occurred while
>
>  executing this line:
>
> C:\Users\aleena\royale-compiler\compiler-build-tools\build.xml:74:
> Compile faile
>
> d; see the compiler error output for details.
>
>
>
> Total time: 17 minutes 59 seconds
>
>
>
> C:\Users\aleena\royale-asjs>
>
>
>
> Unable to Build, Please guide.
>
>
>
> Thanks,
>
> Alina
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Friday, March 02, 2018 10:31 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> I was able to download and expand the files.  I will be consolidating the
> data today.
>
>
>
> In order to be able to write some of these emulations, you will probably
> need to be able to build the framework sources.  If you haven't already,
> you can try cloning the royale-asjs repo and figure out how to get it to
> build.  You can choose Apache Maven or Apache Ant as the build tool.
>
>
>
> https://github.com/apache/royale-asjs
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs&data=02%7C01%7Caharui%40adobe.com%7C3c1833c1fc9442003f2608d5832c7fe0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559149534170415&sdata=YqGTpbzoou8SilHbsTxjriIjiREaS%2FA9j6xjZYRR%2F4E%3D&reserved=0>
>
>
>
> Hopefully the instruction in the readme are sufficient.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Friday, March 2, 2018 at 12:34 AM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> Application API-Report link:
>
> https://www.dropbox.com/s/swvqhly6wa0jrc5/API-Reports.rar?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fswvqhly6wa0jrc5%2FAPI-Reports.rar%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C928c248220464230f6dd08d5801a2f13%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555772324148830&sdata=9%2BsrGG41iCMIEmbtqnEbV%2BPvi1ngE9vF%2BKuqPAZ%2Bzao%3D&reserved=0>
>
> SHMALib Report, applications,shmDoclist,shmSetupList,AppView_EIS,
> AppView_ERP,shmMappingSetup, shmMappingSetupOpenDetailGrid,shmSalesInvoice,
> shmSalesInvoiceDetail are main API Files.
>
>
>
> Regards,
>
> Alina
>
>
>
>
>
>
>
>
>
> *From:* Alina Kazi [mailto:alina.kazi@d-bz.com <al...@d-bz.com>]
> *Sent:* Friday, March 02, 2018 11:32 AM
> *To:* users@royale.apache.org
> *Subject:* RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> 2) We are using Effects in our Application 2-3 times
>
> 4) We are using text styling in our Application 3-5 times
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Friday, March 02, 2018 4:26 AM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> 1) Interesting about Charts.  They were being used by the SWC.
>
> 2) Effects are any animations that move, resize or fade things in the UI.
>
> 3) ok
>
> 4) I'm not sure what to conclude from the screenshot.  I'm interested in
> how often folks use it to create text with bold, italics and other styling
> of text.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Thursday, March 1, 2018 at 4:24 AM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> 600 mxml.api.txt files are generated and still in process. I will share
> link for files tomorrow.
>
> After sharing my files tomorrow, If you will suggest to build  emulations.
>
>
> I will  definitely want to learn how to create emulations and contribute
> them to Apache Royale.
>
> 1.We are not using Charts in our Application
>
> 2. How important are effects? (Please explain effects )
>
> 3. We are not using Right-to-left languages in RichTextEditor.
>
> 4. Is RichTextEditor being used for non-plain text?  If so, what kinds of
> text styling is important?
>
> Link:https://www.dropbox.com/s/ky93eycmefm3cuu/RICHTEXTEDITOR.png?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fky93eycmefm3cuu%2FRICHTEXTEDITOR.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cff526ec5592c42772ade08d57f713736%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555046634193460&sdata=BjS8q1GarTweRfMMmZOKxN%2FTQTqhtzJlm05KAtWnNTQ%3D&reserved=0>
>
> Thanks,
>
> Alina
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Wednesday, February 28, 2018 10:45 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> Good to hear it worked.
>
>
>
> I think I am waiting on all of the mxml.api.txt files to see what else is
> in there that isn't in the two reports we have, then we'll have a pretty
> good list of the places you will either need to change in your code or that
> we  will build emulations for.
>
>
>
> I think emulations will be less work in the end, but there will be a lot
> of them to do.  We will want to you to learn how to create emulations and
> contribute them to Apache Royale.  That's how many Apache projects work:
> some of the users learn how to become committers.  This will be an asset to
> your company as well since you will learn how to fix things in Royale
> yourself.  Then your company won't be dependent on outsiders for support.
>
>
>
> So, Peter and I and hopefully others will get started on some emulations
> to make sure they work for us, and then you can see if they work for you,
> and then we will teach you how to write those emulations.  Over the next
> several months, besides testing emulations written by others in your app,
> you will be writing your own emulations for things you need right away that
> we haven't written yet, or for third-party code that you are using.
>
>
>
> It might help to get some prioritization on the emulations we need to
> write.  In looking at the list, I am wondering:
>
>    1. Are some charts more important than others?
>    2. How important are effects?
>    3. Do you use Right-to-left languages in RichTextEditor?
>    4. Is RichTextEditor being used for non-plain text?  If so, what kinds
>    of text styling is important?
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Wednesday, February 28, 2018 at 1:22 AM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> Thank you.
>
> It’s working with latest nightly build:
>
> https://www.dropbox.com/s/77wkgrm74upkg0j/SHMALib%20Report.txt?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F77wkgrm74upkg0j%2FSHMALib%2520Report.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C16fa845b6d2f4efb7f4a08d57e8e9097%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636554073167111532&sdata=UV0BOZpVonw%2BILcK9njhQdf5pKpqWPccp0IKDPm4jOI%3D&reserved=0>
>
>
>
>
>
> Regards,
>
> Alina
>
>
>
>
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Wednesday, February 28, 2018 1:15 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> Looks like COMPC collected the data but never generated the report.  I
> pushed a fix for that.  Please try the latest nightly build.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Tuesday, February 27, 2018 at 10:35 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> Thank you
>
> After commenting the embedded font part from source.
>
> Output to console:
>
> 3462313 bytes written to D:\SHMALib.swc in 19.878 seconds
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
> "D:\SHMALib.swc"
>
>  -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bin\framewor
>
> ks\flex-config.xml -source-path="D:\SHMALIB\src"
> -include-sources="D:\SHMALIB\sr
>
> c" -library-path+=D:\SHMALIB\libs
>
>
>
> SHMALib.swf file Generated and Report.txt is empty
>
> *SHMALib.swc output Link:*
>
> https://www.dropbox.com/s/4tz49sz134m2gg9/SHMALib.swc?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F4tz49sz134m2gg9%2FSHMALib.swc%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=%2FNcbTJtah21RRPeWfwg2pRaZ72hd%2BdG0iJlnH3GsA28%3D&reserved=0>
>
> then I change, Compc -output "D:\SHMALib.swc" to Compc -output
> "D:\SHMALib. txt "
>
> *SHMALib.txt output Link:*
>
> https://www.dropbox.com/s/j38obt5e36awuh3/SHMALib.txt?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fj38obt5e36awuh3%2FSHMALib.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=V%2FcA5dJ3Fi1qOvh%2BtUlbU%2FZ%2FQ5SBfRw7psjsm2Q%2Fe8w%3D&reserved=0>
>
>
>
> Thanks,
>
> Alina
>
>
>
>
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Wednesday, February 28, 2018 11:18 AM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> The only error right now is the embedded font.
>
>
>
> We can discuss the pros and cons of embedding images in the JS output at
> some other point in time.
>
>
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Tuesday, February 27, 2018 at 10:01 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Big Part of SHMALib Uses Embed and metadata :
>
>
>
>                                 // Embed the font so we can rotate it for
> further distortion
>
>                                 [Embed(systemFont="Comic Sans MS",
>
>
> embedAsCFF='false')]
>
>                 <mx:Image y="4" width="18" height="20" right="185"
> source="@Embed(source='assets/default/images/load.png')"
>
>
> source="@Embed(source='assets/default/images/next.gif')"
> scaleContent="false"/>
>
>                 <mx:Image y="4" width="18" height="20" right="3"
> source="@Embed(source='assets/default/images/magnifier.png')"
>
>      * An IFrame which you can embed into Flex applications to show an
> HTML page.
>
>      * @example A simple application with Google embedded
>
>         // SWF embed object tracking
>
>          * The SWF embed object id.
>
>          * Get the embed object id.
>
>         protected function resolveEmbedObjectId():void
>
>                     var result:Object=ExternalInterface.call(
> IFrameExternalCalls.FUNCTION_ASK_FOR_EMBED_OBJECT_ID,
> randomIdentificationString.toString());
>
>                         logger.info("Resolved the SWF embed object id to
> '{0}'.", applicationId);
>
>                         logger.error('Could not resolve the SWF embed
> object Id.');
>
>             // Resolve the SWF embed object id in the DOM.
>
>             ExternalInterface.call(IFrameExternalCalls.INSERT_
> FUNCTION_ASK_FOR_EMBED_OBJECT_ID);
>
>             resolveEmbedObjectId();
>
>             logger.info("Loading IFrame with id '{0}', on SWF embed
> object with id '{1}'.", _frameId, applicationId);
>
>                     FUNCTION_LOADIFRAME + " = function (frameID, iframeID,
> url, embedID, scrollPolicy)" +
>
>                                       "onLoad='\"+embedID+\".\"+frameID+\"_load();'
> " +
>
>         public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =
> "askForEmbedObjectId";
>
>         public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =
> "askForEmbedObjectId";
>
>         public static var INSERT_FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =
>
>                 "if (document." + FUNCTION_ASK_FOR_EMBED_OBJECT_ID +
> "==null)" +
>
>                     FUNCTION_ASK_FOR_EMBED_OBJECT_ID + " =
> function(randomString) " +
>
>                             "var embeds = document.getElementsByTagName('embed');
> " +
>
>                             "var embeds = document.getElementsByTagName('embed');
> " +
>
>                             "for (var i = 0; i < embeds.length; i++) { " +
>
>                                 "var isTheGoodOne =
> embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " +
>
>                                 "var isTheGoodOne =
> embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " +
>
>                                     "return embeds[i].getAttribute('id');
> " +
>
>                                  * The UITextField control for displaying
> embeded hints.
>
>                                 private var embedTextField:UITextField;
>
>                                  *  The String to be shown as the embeded
> hint.
>
>                                 private var embedStr:String = "";
>
>
> embedStr = "MM DD YYYY";
>
>
> embedStr = "DD MM YYYY";
>
>
> embedStr = "YYYY MM DD";
>
>
> embedStr = "YYYY DD MM";
>
>                                  *  Create child objects for displaying
> embeded hints.
>
>
> embedTextField = new UITextField();
>
>
> //embedTextField.text = embedStr;
>
>
> //embedTextField.text = embedStr;
>
>
> addChildAt(UITextField(embedTextField),getChildIndex(
> DisplayObject(textField)));//as TextField
>
>
>                                                     s =
> embedTextField.text == null ? "":embedTextField.text;
>
>
>                                                     s =
> embedTextField.text == null ? "":embedTextField.text;
>
>
>                                                                     s =
> s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);
>
>
>
> embedTextField.text = s;
>
>
>                                                     s =
> embedTextField.text == null ? "":embedTextField.text;
>
>
>                                                     s =
> embedTextField.text == null ? "":embedTextField.text;
>
>
>                                                                     //s =
> s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);
>
>
>
> //embedTextField.text = s;
>
>
>                                                                     s =
> s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);
>
>
>
> embedTextField.text = s;
>
>
> // If embeded hints are displayed then update the
>
>
> // UITextField corresponding to the embeded hints
>
>
>                                     var s:String = embedTextField.text ==
> null ? "":embedTextField.text;
>
>
>                                     var s:String = embedTextField.text ==
> null ? "":embedTextField.text;
>
>
>                                                     embedTextField.text =
> s;
>
>                                                                 // create
> the embeded text field for showing
>
>                                                                 //
> embeded hints if its not already created.
>
>                                                                 // If it
> is created, then just change the embeded hint.
>
>
> if(!embedTextField)
>
>
> embedTextField = new UITextField();
>
>
> addChildAt(embedTextField,getChildIndex(DisplayObject(textField))); //as
> TextField
>
>
> //embedTextField.text = embedStr;
>
>
> //embedTextField.text = embedStr;
>
>
> embedTextField.alpha = 1;
>
>
> embedTextField.setTextFormat(txtFormat);
>
>
> embedTextField.x = 0;
>
>
> embedTextField.y = 2;
>
>
> embedTextField.setActualSize(width,height);
>
>
> if(embedTextField)
>
>
> embedTextField.text = "";
>
>
> embedTextField = null;
>
>                                                 // setting the color of
> the embeded text field to white.
>
>
> if(embedTextField)
>
>
> embedTextField.setColor(0xFFFFFF);
>
>
> if(embedTextField)
>
>
>                 addChildAt(DisplayObject(newSkin),getChildIndex(
> DisplayObject(embedTextField)));//
>
>    background-image:
> Embed(source="/assets/application_background.png",
>
>                 up-skin:                Embed("/assets/maximize_up.png");
>
>                 over-skin:            Embed("/assets/maximize_over.png");
>
>                 down-skin:         Embed("/assets/maximize_up.png");
>
>                 selected-up-skin:   Embed("/assets/restore_up.png");
>
>                 selected-over-skin: Embed("/assets/restore_over.png");
>
>                 selected-down-skin: Embed("/assets/restore_up.png");
>
>                 up-skin:        Embed("/assets/minimize_up.png");
>
>                 over-skin:      Embed("/assets/minimize_over.png");
>
>                 down-skin:      Embed("/assets/minimize_up.png");
>
>                 up-skin:
> Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30",
> scaleGridLeft="10", scaleGridRight="92");
>
>                 over-skin:
> Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30",
> scaleGridLeft="10", scaleGridRight="92");
>
>                 down-skin:
> Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30",
> scaleGridLeft="10", scaleGridRight="92");
>
>                 selected-up-skin:
> Embed("/assets/tab_selected.png", scaleGridTop="13",
> scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");
>
>                 selected-over-skin:
> Embed("/assets/tab_selected.png", scaleGridTop="13",
> scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");
>
>                 selected-down-skin:                      Embed("/assets/
> tab_selected.png", scaleGridTop="13", scaleGridBottom="31",
> scaleGridLeft="9", scaleGridRight="91");
>
>                 up-skin:
> Embed("/assets/left_arrow_up.gif");
>
>                 over-skin:
> Embed("/assets/left_arrow_over.gif");
>
>                 down-skin:
> Embed("/assets/left_arrow_up.gif");
>
>                 disabled-skin:    Embed("/assets/left_arrow_
> disabled.gif");
>
>                 up-skin:
> Embed("/assets/right_arrow_up.gif");
>
>                 over-skin:
> Embed("/assets/right_arrow_over.gif");
>
>                 down-skin:
> Embed("/assets/right_arrow_up.gif");
>
>                 disabled-skin:    Embed("/assets/right_arrow_
> disabled.gif");
>
>                                 //[Embed(source="/assets/
> cursor_move.gif")]
>
>                                 //[Embed(source="/assets/
> cursor_resize.gif")]
>
>                                 [Embed(source="/assets/
> default/images/mouseMove.gif")]
>
>                                 [Embed(source="/assets/
> default/images/verticalSize.gif")]
>
>                                 [Embed(source="/assets/
> default/images/horizontalSize.gif")]
>
>                                 [Embed(source="/assets/default/images/
> leftObliqueSize.gif")]
>
>                                 [Embed(source="/assets/default/images/
> rightObliqueSize.gif")]
>
>                                                 if (image.isEmbedded)
>
>                                                 //if
> (!Application.application.systemManager.isFontFaceEmbedded(textFormat))
>
>                                                 if (!FlexGlobals.
> topLevelApplication.systemManager.isFontFaceEmbedded(textFormat))
>
>                                                                 if
> (Application.application.isFontsEmbedded) {
>
>                                                                 if
> (Application.application.isFontsEmbedded) {
>
>                                                                 if
> (Application.application.isFontsEmbedded) {
>
>                                 private var _isEmbedded:Boolean = false;
>
>                                 public function set
> isEmbedded(embedded:Boolean):void
>
>                                 public function set
> isEmbedded(embedded:Boolean):void
>
>                                                 _isEmbedded = embedded;
>
>                                                 _isEmbedded = embedded;
>
>                                 public function get isEmbedded():Boolean
>
>                                                 return _isEmbedded;
>
>                                                 <mx:icon>@Embed(source='
> images/print.GIF')</mx:icon>
>
>                                                 <mx:icon>@Embed(source='
> images/reload.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/first-gray.GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/first.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/previous-gray.
> GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/previous.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/next-gray.GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/next.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/last-gray.GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/last.GIF')</mx:icon>
>
>
> <mx:icon>@Embed(source='images/actualsize.GIF')</mx:icon>
>
>
> <mx:icon>@Embed(source='images/fitpage.GIF')</mx:icon>
>
>
> <mx:icon>@Embed(source='images/fitwidth.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/zoomin-gray.GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/zoomin.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/zoomout-gray.
> GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/zoomout.GIF')</mx:icon>
>
>
> <mx:icon>@Embed(source='images/print.GIF')</mx:icon>
>
>                                                 if (
> imageSourceXml.@isEmbedded.length() > 0)
>
>
> image.isEmbedded = imageSourceXml.@isEmbedded == "true";
>
>
> image.isEmbedded = imageSourceXml.@isEmbedded == "true";
>
>                  source="@Embed(source='/assets/default/images/left_
> arrow_up.gif')"/>
>
>                  source="@Embed(source='/assets/default/images/left_
> arrow_over.gif')"/>
>
>                  source="@Embed(source='/assets/default/images/left_arrow_disabled.gif')"/>
>
>
>
>    source="@Embed(source='/com/shm/flexlib/mdi/assets/img/
> maximizeButton.png')"/>
>
>
>    height="12" source="@Embed(source='/com/shm/flexlib/mdi/assets/img/
> restoreButton.png')"/>
>
>
>    source="@Embed(source='/com/shm/flexlib/mdi/assets/img/
> minimizeButton.png')"/>
>
>                  source="@Embed(source='/assets/default/images/right_
> arrow_up.gif')"/>
>
>                  source="@Embed(source='/assets/default/images/right_
> arrow_over.gif')"/>
>
>                  source="@Embed(source='/assets/default/images/right_arrow_disabled.gif')"/>
>
>
>
>
>
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Wednesday, February 28, 2018 11:00 AM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> I think you can ignore the warnings.  The first error is for embedding a
> font, which Royale doesn't currently support, so for now, try commenting
> out the Embed metadata and see if that allows the error to go away.
>
>
>
> I would look into the other errors to see if they are legitimate or not.
> The Royale Compiler will catch some things the MXMLC compiler may not.  Or
> you could comment out the code involved in the two errors in TImeZone.as
> for now since that won't affect the report.
>
>
>
> The final two errors I saw are for missing skin states.  I think you can
> just add the skin states.
>
>
>
> HTH,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Tuesday, February 27, 2018 at 9:35 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> While Executing
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
> "D:\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"
> -include-sources="D:\SHMALIB\src"
>
> Or
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
> "D:\Flex\libs\SH
>
> MALIB.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bi
>
> n\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"
> -include-sources="D:\
>
> SHMALIB\src" -library-path+=D:\SHMALIB\libs
>
>
>
> *Error:*
>
> (file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar)
> to
>
> field java.lang.Thread.inheritableThreadLocals
>
> WARNING: Please consider reporting this to the maintainers of
> com.google.common.
>
> base.internal.Finalizer
>
> WARNING: Use --illegal-access=warn to enable warnings of further illegal
> reflect
>
> ive access operations
>
> WARNING: All illegal access operations will be denied in a future release
>
> Loading configuration: D:\apache-flex-sdk-4.16.0-bin\
> frameworks\flex-config.xml
>
>
>
> Warning: Duplicate declaration of SkinState 'normal'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'disabled'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'normal'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'disabled'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'normal'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'disabled'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'normal'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'disabled'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'normal'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'disabled'
>
>
>
>
>
> D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(415): col: 50
> Warning:
>
> Data binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject channelSet="{parentApplication.
> amfChannelSet}"
>
> id="DataProviderService"  showBusyCursor="true"
>
>                                                                ^
>
>
>
> D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(419): col: 50
> Warning:
>
> Data binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject channelSet="{parentApplication.
> amfChannelSet}"
>
> id="BasicFormatterService"  showBusyCursor="true"
>
>                                                                ^
>
>
>
> D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(516): col: 50
> Warning: Da
>
> ta binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject channelSet="{parentApplication.
> amfChannelSet}"
>
> id="DataProviderService"  showBusyCursor="true"
>
>                                                                ^
>
>
>
> D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(520): col: 50
> Warning: Da
>
> ta binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject channelSet="{parentApplication.
> amfChannelSet}"
>
> id="BasicFormatterService"  showBusyCursor="true"
>
>                                                                ^
>
>
>
> D:\SHMALIB\src\com\shm\components\shmCaptchaImage.as(43): col: 3 Error:
> Embed re
>
> quires a 'source' file attribute
>
>
>
>                 [Embed(systemFont="Comic Sans MS",
>
>                 ^
>
>
>
> D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(37): col: 88
> Warning: Data
>
> binding will not be able to detect assignments to 'isSelected'.
>
>
>
>                                         <mx:CheckBox
> selectedField="isSelected"
>
>  change="onChange(event);" selected="{data.isSelected}">
>
>
>
>                                           ^
>
>
>
> D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(46): col: 27
> Warning: Data
>
> binding will not be able to detect assignments to 'label'.
>
>
>
>                                         <mx:Label text="{data.label}" />
>
>                                                              ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(126): col: 15
> Error: Impli
>
> cit coercion of a value of type Boolean to an unrelated type Number.
>
>
>
>                                 if(year & 0x3 == 0)
>
>                                           ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(134): col: 39
> Error: Impli
>
> cit coercion of a value of type Boolean to an unrelated type Number.
>
>
>
>                                 if(month == 1 && value.fullYear & 0x3 ==
> 0)
>
>                                                                   ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\renderers\GridPodURLRenderer.mxml(6):
> col: 23 W
>
> arning: Data binding will not be able to detect assignments to 'SrNo'.
>
>
>
>                   htmlText="&lt;u&gt;{data.SrNo}&lt;/u&gt;" color="blue"
> click="
>
> f_DrillDownData(data)">
>
>                                     ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml
> Error:
>
> The required skin state 'disabledWithPrompt' is missing.
>
>
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml
> Error:
>
> The required skin state 'normalWithPrompt' is missing.
>
>
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(177): col: 27
> Warning: D
>
> ata binding will not be able to detect assignments to 'valueField'.
>
>
>
>                                                 yField="{properties.@
> valueField}
>
> ">
>
>                                                                     ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(187): col: 34
> Warning: D
>
> ata binding will not be able to detect assignments to 'categoryField'.
>
>
>
>
> categoryField="{properties.@cate
>
> goryField}" />
>
>
> ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(202): col: 27
> Warning: D
>
> ata binding will not be able to detect assignments to 'valueField'.
>
>
>
>                                                 yField="{properties.@
> valueField}
>
> ">
>
>                                                                     ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(212): col: 34
> Warning: D
>
> ata binding will not be able to detect assignments to 'categoryField'.
>
>
>
>
> categoryField="{properties.@cate
>
> goryField}" />
>
>
> ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(429): col: 27
> Warning: D
>
> ata binding will not be able to detect assignments to 'valueField'.
>
>
>
>                                                 yField="{properties.@
> valueField}
>
> ">
>
>                                                                     ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(439): col: 34
> Warning: D
>
> ata binding will not be able to detect assignments to 'categoryField'.
>
>
>
>
> categoryField="{properties.@cate
>
> goryField}" />
>
>
> ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(454): col: 27
> Warning: D
>
> ata binding will not be able to detect assignments to 'valueField'.
>
>
>
>                                                 yField="{properties.@
> valueField}
>
> ">
>
>                                                                     ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(464): col: 34
> Warning: D
>
> ata binding will not be able to detect assignments to 'categoryField'.
>
>
>
>
> categoryField="{properties.@cate
>
> goryField}" />
>
>
> ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(479): col: 26
> Warning: D
>
> ata binding will not be able to detect assignments to 'valueField'.
>
>
>
>
> field="{properties.@valueField}"
>
>
>
>                                                                    ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(115): col: 74
> Warning
>
> : Data binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject id="roDrillDownColInfo"
> channelSet="{parentAppl
>
> ication.amfChannelSet}" showBusyCursor="true"
>
>
>
>        ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(118): col: 68
> Warning
>
> : Data binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject id="roDgDpResult"
> channelSet="{parentApplicatio
>
> n.amfChannelSet}" showBusyCursor="true"
>
>
>
>  ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\PieChartContent.mxml(128): col: 24
> Warning
>
> : Data binding will not be able to detect assignments to 'valueField'.
>
>
>
>                                 field="{properties.@valueField}"
>
>                                                    ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 37
> Warning: Dat
>
> a binding will not be able to detect assignments to 'appParams'.
>
>
>
>
> inputMask="{parentApplic
>
> ation.appParams.DATE_FORMAT}" showToday="true"
> yearNavigationEnabled="true"
>
>
>
>      ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 47
> Warning: Dat
>
> a binding will not be able to detect assignments to 'DATE_FORMAT'.
>
>
>
>
> inputMask="{parentApplic
>
> ation.appParams.DATE_FORMAT}" showToday="true"
> yearNavigationEnabled="true"
>
>
>
>                ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 38
> Warning: Dat
>
> a binding will not be able to detect assignments to 'appParams'.
>
>
>
>
> inputMask="{parentAppli
>
> cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true"
> showToday="true"
>
>
>
>       ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 48
> Warning: Dat
>
> a binding will not be able to detect assignments to 'DATE_FORMAT'.
>
>
>
>
> inputMask="{parentAppli
>
> cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true"
> showToday="true"
>
>
>
>                 ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(12): col: 11
> Warnin
>
> g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.
>
>
>
>                         import mx.graphics.Stroke;
>
>                                ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(37): col: 23
> Warnin
>
> g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.
>
>
>
>                                         lne.stroke = new Stroke(0,1,.3);
>
>                                                          ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(46): col: 14
> Warnin
>
> g: Duplicate variable definition: i.
>
>
>
>                                 for (var i:int = 1; i < lnWdt; i++){
>
>                                          ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(47): col: 10
> Warnin
>
> g: Duplicate variable definition: lne.
>
>
>
>                                         var lne:Line  = new Line();
>
>                                             ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(53): col: 23
> Warnin
>
> g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.
>
>
>
>                                         lne.stroke = new Stroke(0,1,.3);
>
>                                                          ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(54): col: 10
> Warnin
>
> g: Duplicate variable definition: llbe.
>
>
>
>                                         var llbe:Label = new Label();
>
>                                             ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(157): col:
> 40 Warn
>
> ing: 'application' has been deprecated since 4.0. Please use
> 'FlexGlobals.topLev
>
> elApplication'.
>
>
>
>                                 var xPosition:Number =
> Application.application.p
>
> arent.mouseX;
>
>                                                                    ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(158): col:
> 40 Warn
>
> ing: 'application' has been deprecated since 4.0. Please use
> 'FlexGlobals.topLev
>
> elApplication'.
>
>
>
>                                 var yPosition:Number =
> Application.application.p
>
> arent.mouseY;
>
>                                                                    ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(225): col:
> 36 Warn
>
> ing: 'application' has been deprecated since 4.0. Please use
> 'FlexGlobals.topLev
>
> elApplication'.
>
>
>
>                                 var xPlus:Number =
> Application.application.paren
>
> t.mouseX - point.x;
>
>                                                                ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(226): col:
> 36 Warn
>
> ing: 'application' has been deprecated since 4.0. Please use
> 'FlexGlobals.topLev
>
> elApplication'.
>
>
>
>                                 var yPlus:Number =
> Application.application.paren
>
> t.mouseY - point.y;
>
>
>
> Thanks,
>
> Alina Kazi
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Wednesday, February 28, 2018 10:16 AM
> *To:* Alina Kazi; users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> I think that Flash Builder makes it easy to build SWCs.  Building from the
> command line can be a bit trickier.
>
>
>
> Let's try:
>
> Compc -output "D:\SHMALib.swc" -api-report="D:\report.txt"
> -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml
> -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\src"
>
>
>
> HTH,
>
> -Alex
>
>
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Date: *Tuesday, February 27, 2018 at 7:28 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>, Alex Harui <
> aharui@adobe.com>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> Yes I am using Flash Builder.
>
> SHMALIB and MainFlexApp are two separate Projects
>
> Src for SHMALIB is placed into D:/SHMALIB/src
>
> Src for MainFlexApp is D:/Flex/src and the library output file SHMALIB.swc
> is placed into D:/Flex/libs
>
>
>
> SHMALIB (.actionscriptProperties)
>
>
>
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
>
> <actionScriptProperties mainApplicationPath="SHMALib.as"
> projectUUID="863559ab-3e7b-475b-a3a4-09f4f76fc0d2" version="6">
>
>   <compiler additionalCompilerArguments="-locale en_US"
> autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false"
> generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false"
> htmlHistoryManagement="false" htmlPlayerVersionCheck="true"
> includeNetmonSwc="false" outputFolderLocation="D:/Flex/libs"
> outputFolderPath="bin-debug" sourceFolderPath="src" strict="true"
> targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true"
> verifyDigests="true" warn="true">
>
>     <compilerSourcePath/>
>
>     <libraryPath defaultLinkType="0">
>
>       <libraryPathEntry kind="4" path="">
>
>         <excludedEntries>
>
>           <libraryPathEntry kind="3" linkType="1"
> path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>
>
>         </excludedEntries>
>
>       </libraryPathEntry>
>
>       <libraryPathEntry kind="1" linkType="1" path="libs"/>
>
>     </libraryPath>
>
>     <sourceAttachmentPath/>
>
>   </compiler>
>
>   <applications>
>
>     <application path="SHMALib.as"/>
>
>   </applications>
>
>   <modules/>
>
>   <buildCSSFiles/>
>
> </actionScriptProperties>
>
>
>
> SHMALIB (.flexLibProperties)
>
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
>
> <flexLibProperties includeAllClasses="true" version="3">
>
>   <includeClasses/>
>
>   <includeResources/>
>
>   <namespaceManifests/>
>
> </flexLibProperties>
>
>
>
> Thanks,
>
> Alina
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Tuesday, February 27, 2018 9:34 PM
> *To:* Alina Kazi
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> When you are not trying to use Royale to generate this API report, how are
> you building your current Flex app?  We might need to know that in order to
> determine what parameters to add to COMPC.
>
>
>
> COMPC has additional parameters like -include–sources, include-file,
> include-classes.  Sometimes, these are listed in an xml file.  If you are
> using Flash Builder, for example, then examine the .flexlibproperties and
> .actionscriptProperties files in your project folder.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Date: *Tuesday, February 27, 2018 at 3:21 AM
> *To: *'Alina Kazi' <al...@d-bz.com>
> *Cc: *Alex Harui <ah...@adobe.com>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
> "D:\SHMALib.swc"
>
>  -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"
>
> Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> WARNING: An illegal reflective access operation has occurred
>
> WARNING: Illegal reflective access by com.google.common.base.
> internal.Finalizer
>
> (file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar)
> to
>
> field java.lang.Thread.inheritableThreadLocals
>
> WARNING: Please consider reporting this to the maintainers of
> com.google.common.
>
> base.internal.Finalizer
>
> WARNING: Use --illegal-access=warn to enable warnings of further illegal
> reflect
>
> ive access operations
>
>
>
> Error: nothing was specified to be included in the library.
>
> -Alina
>
>
>
> *From:* Alina Kazi [mailto:alina.kazi@d-bz.com <al...@d-bz.com>]
> *Sent:* Tuesday, February 27, 2018 2:16 PM
> *To:* 'users@royale.apache.org'
> *Subject:* RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> I am using Moonshine IDE 1.9.0.
>
> Flex 4.16.0
>
> Apache Royale 0.9.2 Latest Nightly Build
>
>
>
> *Running this Command on Command Prompt:*
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
> "D:\SHMALib.swc"
>
>  -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"
>
> Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> WARNING: An illegal reflective access operation has occurred
>
> WARNING: Illegal reflective access by com.google.common.base.
> internal.Finalizer
>
> (file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar)
> to
>
> field java.lang.Thread.inheritableThreadLocals
>
> WARNING: Please consider reporting this to the maintainers of
> com.google.common.
>
> base.internal.Finalizer
>
> WARNING: Use --illegal-access=warn to enable warnings of further illegal
> reflect
>
> ive access operations
>
> WARNING: All illegal access operations will be denied in a future release
>
>
>
> *command line Error: unknown configuration variable 'sourceΓÇôpath'.*
>
>
>
> -Alina
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Tuesday, February 27, 2018 1:26 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> COMPC takes a slightly different set of parameters.  What IDE or build
> tools are you using to build it without Royale?  You might need to know
> what options that build uses.
>
>
>
> You can try running:
>
>
>
> Compc -output "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc"
> -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bin\frameworks\flex-config.xml -source–path="D:\Projects\SHMA\Main\Flex\src"
> or wherever the source code is for the library.
>
>
>
> HTH,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, February 26, 2018 at 11:33 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> For custom SWC, I am using COMPC to get an api-report for SWC
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>compc
> "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc" -api-report="D:\report.txt"
> -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml
>
> *Error:* configuration variable 'output' was not set.
>
>
>
>
>
> Thanks,
>
> Alina
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Tuesday, February 27, 2018 12:27 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> Yes, any SWC that is not in the Flex SDK's frameworks/libs folder needs to
> be specified as Piotr describes below.  We want you specify the same MXML
> file that you use to compile in the regular Flex SDK.  So if your
> Application.mxml starts with an mx:Application or s:Application that’s
> probably the one to use.  But also, if you have your own custom SWCs, we
> want you to use COMPC to get an api-report for those SWCs.  We want this
> modified Royale compiler to compile every source file you own so we can see
> what Flex APIs you are using.
>
>
>
> HTH,
>
> -Alex
>
>
>
> *From: *Piotr Zarzycki <pi...@gmail.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, February 26, 2018 at 11:19 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> In my sense you will have to use -library-path+=path to the library. You
> have to tell compiler about that library.
>
>
>
> Thanks, Piotr
>
>
>
> 2018-02-27 7:57 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>
> Hi  Alex,
>
> *With latest nightly build:*
>
> MaskedTextInput , shmReportUtil …. Are Library Project Actionscript Files.
>
> Main Application contains SHMALib.swc file in Libs folder
>
> Error Link:
>
> https://www.dropbox.com/s/p5imt22cuut0ex6/ErrorGeneratingReport.png?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fp5imt22cuut0ex6%2FErrorGeneratingReport.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=8f1f9duW2Red4bP77hFTh3mLcCptBmAwd87n1iSkk%2Bs%3D&reserved=0>
>
>
>
> I have a question that which .mxml file should be used to generate that
> report?
>
> Applications.mxml is startup file in case of my Project so I’m using it.
>
>
>
> Please visit reference link and If I’m doing anything wrong please let me
> know.
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com]
> *Sent:* Tuesday, February 27, 2018 12:00 AM
>
>
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> I pushed a fix for that.  It might or might not be related to your custom
> swc.  Get the latest nightly build and let us know.
>
>
>
> Also, if you are successful, please use your regular compiler to generate
> a -link–report.  That will help us verify that the API report didn't miss
> anything.
>
>
>
> Thanks,
>
> -Alex
>
>
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, February 26, 2018 at 4:01 AM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Generated Report file for Sample Project Successfully.
>
>
>
> spark.components.Application:minHeight,1
>
> spark.components.Application:minWidth,1
>
> spark.components.Application:mxmlContentFactory,2
>
> spark.components.Label:fontSize,1
>
> spark.components.Label:fontWeight,1
>
> spark.components.Label:horizontalCenter,1
>
> spark.components.Label:text,1
>
> spark.components.Label:textAlign,1
>
> spark.components.Label:verticalCenter,1
>
>
>
> But while executing Actual Project got Error:
>
> https://www.dropbox.com/s/d25eysllavuy5z4/compile2.png?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fd25eysllavuy5z4%2Fcompile2.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=2i28J4zjv1vEQ7sd%2BGfHm%2Bh1FjG%2BP3YdJCc6rGZr3C4%3D&reserved=0>
>
> https://www.dropbox.com/s/49iq74zk6rxcr1y/compile1.png?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F49iq74zk6rxcr1y%2Fcompile1.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=44tfkOscWyJ%2FH3M30HeJ6dfFE0TlpTMhQ2t%2Bv%2ByuoDg%3D&reserved=0>
>
>
>
> May be because my Application is dependent to SHMALib(.swc) Library
> Project (Source Shared Earlier).
>
>
>
> -Alina
>
>
>
> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com
> <pi...@gmail.com>]
> *Sent:* Monday, February 26, 2018 5:02 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Alex,
>
>
>
> I did above exercise for Moonshine and got NPE [1]. I used air-config.xml
> because it is na Desktop app.
>
>
>
> [1] https://paste.apache.org/R0Si
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FR0Si&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=tFLrK9xsVt57PytwBaNoUJ%2FIPFH7FCHDtfrmJ1sAl3Y%3D&reserved=0>
>
>
>
>
> Thanks,
>
> Piotr
>
>
>
>
>
> 2018-02-26 12:56 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
>
> Yishay,
>
>
>
> Thank you so much!! I got it working.
>
>
>
> Alina,
>
>
>
> Here is the full instruction.
>
>
>
> 1) Download Apache Royale with SWF support - if you have that is good, if
> not it's here [1]
>
> 2) Download Apache Flex - you have it as I have seen on the screenshot.
>
> 3) Launch console and go to the Royale SDK folder
>
>
>
> "yourpathtosdk\bin\" - In my case it was: "d:\Work\royale_ide\royale_
> nightly_js_swf\bin\"
>
>
>
> 4) Run following command where you will point to the Flex Browser
> application in order to generate report. My command looks like that:
>
>
>
> mxmlc "c:\Users\piotr\Documents\NewFlexBrowserProject\src\NewFlexBrowserProject.mxml"
> -api-report="c:\Users\piotr\Documents\NewFlexBrowserProject\report.txt"
> -load-config=d:\Work\flex-sdk-4.16.1_adobe_air_28\
> frameworks\flex-config.xml
>
>
>
> I generated report for hellow world. Maybe in order to generate report for
> your application that console command may be much more sophisticated. Let's
> see!
>
>
>
>
>
> [1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/
> lastSuccessfulBuild/artifact/out/
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2Fout%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=O%2BpVQ8OuhB%2FtE4ZdylTSkAQCWsIPBGlr9RgiTjWSWEM%3D&reserved=0>
>
>
>
> Thanks,
>
> Piotr
>
>
>
>
>
> 2018-02-26 12:46 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:
>
> Looks like [1] you do need to add compiler option: -api–report=<path to
> output file>
>
>
>
> [1] http://apache-royale-users.20374.n8.nabble.com/
> Substitutes-in-Apache-Royale-tp392p492.html
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p492.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kda6SpkBgdRqGAeGJ5Db629EAy7KAVbOZKzhzhynRZk%3D&reserved=0>
>
>
>
>
>
> *From: *Piotr Zarzycki <pi...@gmail.com>
> *Sent: *Monday, February 26, 2018 1:37 PM
>
>
> *To: *users@royale.apache.org
> *Subject: *Re: Generating API report for Flex Web Browser application
>
>
>
> I have produced with that swf, but what's next? Let's wait for Alex's
> response [1]
>
>
>
> [1] https://paste.apache.org/YEeG
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FYEeG&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8ameYzJ7AloOW4nTa8dqu7zYxwORSQc5sCUqpZDVA%2BY%3D&reserved=0>
>
>
>
> Thanks,
>
> Piotr
>
>
>
> 2018-02-26 12:32 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:
>
> Alex will know but I don’t think so. I haven’t updated the compiler
> recently so can’t test it right now. If you want to test it maybe just
> create a simple app and replace /Users/aharui/ApacheFlex4.16.0 with your
> sdk home.
>
>
>
>
>
>
>
> *From: *Piotr Zarzycki <pi...@gmail.com>
> *Sent: *Monday, February 26, 2018 1:25 PM
> *To: *users@royale.apache.org
> *Subject: *Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Yishay,
>
>
>
> bin/mxmlc
>
> <path to app's
>
> .mxml
>
> file>
>
> -load-config=/Users/aharui/ApacheFlex4.16.0/frameworks/flex-config.xml
>
>
>
> Do I need some switch for compiler -api-report or something like that ?
>
>
>
> Thanks,
>
> Piotr
>
>
>
>
>
> 2018-02-26 12:10 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:
>
> Wasn’t logged in. Here’s [1] the link.
>
>
>
> [1] http://apache-royale-users.20374.n8.nabble.com/
> Substitutes-in-Apache-Royale-tp392p489.html
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p489.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8Tp5%2BFveKS0eoW7D8EovITPQqYrgwDK4P7cW9izXFH8%3D&reserved=0>
>
>
>
>
>
> *From: *Yishay Weiss <yi...@hotmail.com>
> *Sent: *Monday, February 26, 2018 12:59 PM
> *To: *users@royale.apache.org
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> I couldn’t find a way to link to a nabble post, but this [1] might help
> (from Substitutes in Apache Royale).
>
>
>
> [1] https://paste.apache.org/N2QR
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FN2QR&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=VIS8u6EEBWN6jQrFxpttZvAfUCSSKPe3rbrBDU2w7Sg%3D&reserved=0>
>
>
>
> *From: *Piotr Zarzycki <pi...@gmail.com>
> *Sent: *Monday, February 26, 2018 12:44 PM
> *To: *users@royale.apache.org
> *Subject: *Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> I would like to understand how to generate that report. I will go with the
> console path, because I think this is something unusual and probably
> Moonshine is not prepared to do this. I'm writing this on the users mailing
> list because Alina is having some problems with that. I wanted to simplify
> all of that. Let's start from the beginning.
>
>
>
> 1) I have created Flex Web browser project using Apache Flex SDK 4.16.1.
>
> 2) I have nightly build of Royale with SWF support [1]
>
>
>
> What should I type in the console now ?
>
>
>
> [1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/
> lastSuccessfulBuild/artifact/
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=UtYFFQ90aNB2HU2Vx4t8YAS6Eo2j1ZqVAytujEOgoFM%3D&reserved=0>
>
>
>
> Thanks,
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>
>
>
>
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>
>
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>
>
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=zGrfZ2Wj3CLuuW%2B%2BKtUSQF6762Vn0%2BeNjCMlViBMghg%3D&reserved=0>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>



-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

Posted by Alina Kazi <al...@d-bz.com>.
Hi Piotr,

output : https://www.dropbox.com/s/aj1qehblok9yhfw/error.txt?dl=0

 

Thanks,

Alina

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Monday, March 12, 2018 4:43 PM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alina,

 

Can you run command with -X:  mvn -s settings-template.xml clean install -X.

 

Please paste your output on some paste - It will be easier for me analyze it. 

 

Thanks, Piotr

 

 

2018-03-12 12:18 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Piotr,

 

I am getting this error while executing maven command.

System environment variable path is:

PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32

\WindowsPowerShell\v1.0;C:\Program Files\Java\jdk1.8.0_31\bin;D:\apache-ant-1.10.2\bin;C:\Program Files\Git\cmd;D:\apache-maven-3.5.3\bin

 

d:\Apache\royale-asjs>mvn -s settings-template.xml install

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

maven-metadata.xml

[WARNING] Could not transfer metadata org.apache.flex.utilities.converter:flex-s

dk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from/to apache-sn

apshots (http://repository.apache.org/snapshots/): Connect to repository.apache.

org:80 [repository.apache.org/207.244.88.140] failed: Connection timed out: conn

ect

[WARNING] Failure to transfer org.apache.flex.utilities.converter:flex-sdk-conve

rter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from http://repository.ap

ache.org/snapshots/ was cached in the local repository, resolution will not be r

eattempted until the update interval of apache-snapshots has elapsed or updates

are forced. Original error: Could not transfer metadata org.apache.flex.utilitie

s.converter:flex-sdk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml

from/to apache-snapshots (http://repository.apache.org/snapshots/): Connect to

repository.apache.org:80 [repository.apache.org/207.244.88.140] failed: Connecti

on timed out: connect

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

flex-sdk-converter-maven-extension-1.0.0-SNAPSHOT.pom

[WARNING] Failed to read extensions descriptor D:\Apache\royale-asjs\.mvn\extens

ions.xml: Plugin org.apache.flex.utilities.converter:flex-sdk-converter-maven-ex

tension:1.0.0-SNAPSHOT or one of its dependencies could not be resolved: Failed

to read artifact descriptor for org.apache.flex.utilities.converter:flex-sdk-con

verter-maven-extension:jar:1.0.0-SNAPSHOT

[INFO] Scanning for projects...

[WARNING] The project org.apache:apache:pom:18 uses prerequisites which is only

intended for maven-plugin projects but not for non maven-plugin projects. For su

ch purposes you should use the maven-enforcer-plugin. See https://maven.apache.o

rg/enforcer/enforcer-rules/requireMavenVersion.html

[INFO]

[INFO] -------------------------< org.apache:apache >--------------------------

[INFO] Building The Apache Software Foundation 18

[INFO] --------------------------------[ pom ]---------------------------------

Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/

plugins/maven-remote-resources-plugin/1.5/maven-remote-resources-plugin-1.5.pom

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 33.430 s

[INFO] Finished at: 2018-03-12T16:10:48+05:00

[INFO] ------------------------------------------------------------------------

[ERROR] Plugin org.apache.maven.plugins:maven-remote-resources-plugin:1.5 or one

of its dependencies could not be resolved: Failed to read artifact descriptor f

or org.apache.maven.plugins:maven-remote-resources-plugin:jar:1.5: Could not tra

nsfer artifact org.apache.maven.plugins:maven-remote-resources-plugin:pom:1.5 fr

om/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.apac

he.org:443 [repo.maven.apache.org/151.101.196.215] failed: Connection timed out:

connect -> [Help 1]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit

ch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please rea

d the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResoluti

onException

 

 

Thanks,

Alina 

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Wednesday, March 07, 2018 12:22 PM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

I got the same results, but tried again in the same directory with  mvn -s settings-template.xml clean install and it's building now!

 

2018-03-07 7:59 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Piotr,

What should I do?

Do You want me to delete all files name royale-asjs? Or delete other folders royale-compiler n others.

 

Thanks Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Wednesday, March 07, 2018 12:07 PM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Ok! I just cloned separate repository and got similar problem. -> https://paste.apache.org/HuYU

 

2018-03-07 7:42 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Similar Error

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Wednesday, March 07, 2018 11:41 AM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Use "mvn -s settings-template.xml clean install" without pointing to profile -P utils.

 

2018-03-07 7:22 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Piotr,

Getting Similar Error in all cases. 

C:\Users\aleena>git clone https://github.com/apache/royale-asjs

Cloning into 'royale-asjs'...

remote: Counting objects: 101055, done.

remote: Compressing objects: 100% (127/127), done.

remote: Total 101055 (delta 101), reused 183 (delta 63), pack-reused 100828

Receiving objects: 100% (101055/101055), 19.27 MiB | 249.00 KiB/s, done.

Resolving deltas: 100% (61539/61539), done.

Checking out files: 100% (3572/3572), done.

 

C:\Users\aleena>cd royale-asjs

 

C:\Users\aleena\royale-asjs>git checkout develop

Already on 'develop'

Your branch is up to date with 'origin/develop'.

 

C:\Users\aleena\royale-asjs>mvn -s settings-template.xml clean install -P utils

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

maven-metadata.xml

[WARNING] Could not transfer metadata org.apache.flex.utilities.converter:flex-s

dk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from/to apache-sn

apshots (http://repository.apache.org/snapshots/): Connect to repository.apache.

org:80 [repository.apache.org/207.244.88.140] failed: Connection timed out: conn

ect

[WARNING] Failure to transfer org.apache.flex.utilities.converter:flex-sdk-conve

rter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from http://repository.ap

ache.org/snapshots/ was cached in the local repository, resolution will not be r

eattempted until the update interval of apache-snapshots has elapsed or updates

are forced. Original error: Could not transfer metadata org.apache.flex.utilitie

s.converter:flex-sdk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml

 from/to apache-snapshots (http://repository.apache.org/snapshots/): Connect to

repository.apache.org:80 [repository.apache.org/207.244.88.140] failed: Connecti

on timed out: connect

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

flex-sdk-converter-maven-extension-1.0.0-SNAPSHOT.pom

[WARNING] Failed to read extensions descriptor C:\Users\aleena\royale-asjs\.mvn\

extensions.xml: Plugin org.apache.flex.utilities.converter:flex-sdk-converter-ma

ven-extension:1.0.0-SNAPSHOT or one of its dependencies could not be resolved: F

ailed to read artifact descriptor for org.apache.flex.utilities.converter:flex-s

dk-converter-maven-extension:jar:1.0.0-SNAPSHOT

[INFO] Scanning for projects...

Downloading from apache-release: https://repository.apache.org/content/repositor

ies/releases/org/apache/apache/18/apache-18.pom

Downloading from central: https://repo.maven.apache.org/maven2/org/apache/apache

/18/apache-18.pom

[ERROR] [ERROR] Some problems were encountered while processing the POMs:

[FATAL] Non-resolvable parent POM for org.apache.royale.framework:royale-framewo

rk-parent:0.9.2-SNAPSHOT: Could not transfer artifact org.apache:apache:pom:18 f

rom/to apache-release (https://repository.apache.org/content/repositories/releas

es): Connect to repository.apache.org:443 [repository.apache.org/207.244.88.140]

 failed: Connection timed out: connect and 'parent.relativePath' points at no lo

cal POM @ line 24, column 11

 @

[ERROR] The build could not read 1 project -> [Help 1]

[ERROR]

[ERROR]   The project org.apache.royale.framework:royale-framework-parent:0.9.2-

SNAPSHOT (C:\Users\aleena\royale-asjs\pom.xml) has 1 error

[ERROR]     Non-resolvable parent POM for org.apache.royale.framework:royale-fra

mework-parent:0.9.2-SNAPSHOT: Could not transfer artifact org.apache:apache:pom:

18 from/to apache-release (https://repository.apache.org/content/repositories/re

leases): Connect to repository.apache.org:443 [repository.apache.org/207.244.88.

140] failed: Connection timed out: connect and 'parent.relativePath' points at n

o local POM @ line 24, column 11 -> [Help 2]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit

ch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please rea

d the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin

gException

[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableMo

delException

 

Thanks,

Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Wednesday, March 07, 2018 11:25 AM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Alina,

 

I see in your trace that you have cloned typedefs instead asjs -> "git clone https://github.com/apache/royale-typedefs.git". You should clone: 

 

git clone https://github.com/apache/royale-asjs and switch to "develop" branch than try to build.

 

However let me try build typedefs only in the meantime clone asjs and try again.

 

Thanks, Piotr

 

 

2018-03-07 7:19 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:

Alina,

 

Not sure, but let me try that on my sight, however I doubt that. Maven is a very distinguished from all the environment variables. If you got that build running you don't have to use almost all. :)

 

2018-03-07 7:03 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Piotr,

 

ROYALE_HOME environment variable is set to D:\royale-asjs that is the path for installed latest nightly build. This could be the reason ?

 

Thanks,

Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Wednesday, March 07, 2018 10:56 AM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Please try again build. Maybe it was some temporary problem. My build is running right now without the problem. Maven downloading dependencies nicely.

 

Thanks, Piotr

 

2018-03-07 6:39 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Piotr,

Its Working.

This XML file does not appear to have any style information associated with it. The document tree is shown below.

<metadata modelVersion="1.1.0">

<groupId>org.apache.flex.utilities.converter</groupId>

<artifactId>retrievers</artifactId>

<version>1.0.0-SNAPSHOT</version>

<versioning>

<snapshot>

<timestamp>20171112.204231</timestamp>

<buildNumber>490</buildNumber>

</snapshot>

<lastUpdated>20171112204231</lastUpdated>

<snapshotVersions>

<snapshotVersion>

<extension>pom</extension>

<value>1.0.0-20171112.204231-490</value>

<updated>20171112204231</updated>

</snapshotVersion>

</snapshotVersions>

</versioning>

</metadata>

 

Thanks,

Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Wednesday, March 07, 2018 10:48 AM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alina,

 

I just removed my whole local repository and trying exactly the same scenario. Just quick question can you try in your browser open this link ? Is it working ?

 

http://repository.apache.org/snapshots/org/apache/flex/utilities/converter/retrievers/1.0.0-SNAPSHOT/maven-metadata.xml

 

Thanks,

Piotr

 

2018-03-07 6:27 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Piotr,

Using Maven :

C:\Users\aleena>git clone https://github.com/apache/royale-typedefs.git royale-a

sjs

Cloning into 'royale-asjs'...

remote: Counting objects: 3318, done.

remote: Compressing objects: 100% (93/93), done.

remote: Total 3318 (delta 48), reused 76 (delta 16), pack-reused 3200

Receiving objects: 100% (3318/3318), 3.51 MiB | 244.00 KiB/s, done.

Resolving deltas: 100% (1337/1337), done.

 

C:\Users\aleena>cd royale-asjs

 

C:\Users\aleena\royale-asjs>git checkout develop

Already on 'develop'

Your branch is up to date with 'origin/develop'.

 

C:\Users\aleena\royale-asjs>mvn -s settings-template.xml clean install

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

maven-metadata.xml

[WARNING] Could not transfer metadata org.apache.flex.utilities.converter:flex-s

dk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from/to apache-sn

apshots (http://repository.apache.org/snapshots/): Connect to repository.apache.

org:80 [repository.apache.org/207.244.88.140] failed: Connection timed out: conn

ect

[WARNING] Failure to transfer org.apache.flex.utilities.converter:flex-sdk-conve

rter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from http://repository.ap

ache.org/snapshots/ was cached in the local repository, resolution will not be r

eattempted until the update interval of apache-snapshots has elapsed or updates

are forced. Original error: Could not transfer metadata org.apache.flex.utilitie

s.converter:flex-sdk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml

 from/to apache-snapshots (http://repository.apache.org/snapshots/): Connect to

repository.apache.org:80 [repository.apache.org/207.244.88.140] failed: Connecti

on timed out: connect

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

flex-sdk-converter-maven-extension-1.0.0-SNAPSHOT.pom

[WARNING] Failed to read extensions descriptor C:\Users\aleena\royale-asjs\.mvn\

extensions.xml: Plugin org.apache.flex.utilities.converter:flex-sdk-converter-ma

ven-extension:1.0.0-SNAPSHOT or one of its dependencies could not be resolved: F

ailed to read artifact descriptor for org.apache.flex.utilities.converter:flex-s

dk-converter-maven-extension:jar:1.0.0-SNAPSHOT

[INFO] Scanning for projects...

Downloading from apache-release: https://repository.apache.org/content/repositor

ies/releases/org/apache/apache/18/apache-18.pom

Downloading from central: https://repo.maven.apache.org/maven2/org/apache/apache

/18/apache-18.pom

[ERROR] [ERROR] Some problems were encountered while processing the POMs:

[FATAL] Non-resolvable parent POM for org.apache.royale.typedefs:royale-typedefs

-parent:0.9.2-SNAPSHOT: Could not transfer artifact org.apache:apache:pom:18 fro

m/to apache-release (https://repository.apache.org/content/repositories/releases

): Connect to repository.apache.org:443 [repository.apache.org/207.244.88.140] f

ailed: Connection timed out: connect and 'parent.relativePath' points at wrong l

ocal POM @ line 23, column 11

 @

[ERROR] The build could not read 1 project -> [Help 1]

[ERROR]

[ERROR]   The project org.apache.royale.typedefs:royale-typedefs-parent:0.9.2-SN

APSHOT (C:\Users\aleena\royale-asjs\pom.xml) has 1 error

[ERROR]     Non-resolvable parent POM for org.apache.royale.typedefs:royale-type

defs-parent:0.9.2-SNAPSHOT: Could not transfer artifact org.apache:apache:pom:18

 from/to apache-release (https://repository.apache.org/content/repositories/rele

ases): Connect to repository.apache.org:443 [repository.apache.org/207.244.88.14

0] failed: Connection timed out: connect and 'parent.relativePath' points at wro

ng local POM @ line 23, column 11 -> [Help 2]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit

ch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please rea

d the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin

gException

[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableMo

delException

 

C:\Users\aleena\royale-asjs>

 

Thanks

Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Tuesday, March 06, 2018 5:30 PM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alina,

 

You can try to go with Maven to see whether you have similar problems [1]

 

[1] https://github.com/apache/royale-asjs/wiki/Build-Apache-Royale-with-Maven

 

Thanks, Piotr

 

2018-03-06 13:12 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Alex,

Still getting same error, while executing:

C:\Users\aleena\royale-asjs>ant all

Website link is working :

http://www.antlr.org/license.html

 

could be only issue , Antlr server will be off-line ?

 

Thanks,

Alina

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Tuesday, March 06, 2018 4:38 PM
To: 'users@royale.apache.org'
Subject: RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alex,

 

We can exclude ScaleX , ScaleY,transform from our code as we are using it in our Library Project Only.

We are using “Rotation” in a PopUp Window. 

 

Can you please explain emulation ?

How do they will work?

 

Thanks,

Alina

 

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Tuesday, March 06, 2018 3:14 PM
To: 'users@royale.apache.org'
Subject: RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alex,

We are using commitProperties() in our Library Project. Overriding the Existing Spark commitProperties() method 

For Example:

ResizableTextAreaSkin.mxml (SHMALib)

override protected function commitProperties():void {

                                                super.commitProperties();

 

                                                if (lineBreakChanged) {

                                                                updateStringStyle("lineBreak");

                                                                lineBreakChanged = false;

                                                }

                                                if (paddingChanged) {

                                                                updatePadding();

                                                                paddingChanged = false;

                                                }

                                                if (verticalAlignChanged) {

                                                                updateStringStyle("verticalAlign");

                                                                verticalAlignChanged = false;

                                                }

                                }

We are using 


Package

 <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/package-detail.html> flash.display


Class

public class DisplayObject


Inheritance

DisplayObject Inheritance  <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/EventDispatcher.html> EventDispatcher Inheritance  <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Object.html> Object


Reference Link:

	

https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/DisplayObject.html

 

e.g :

                public function updateLayoutWithoutAnimation():void

                                {

                                                if(_layoutInvalid == true && layoutFunction != null)

                                                {

                                                                _layoutInvalid = false;

                                                                layoutFunction();

                                                }

 

                                                for(var aChild:* in _targets)

                                                {

                                                                var target:LayoutTarget = _targets[aChild];

                                                                var item:IFlexDisplayObject = target.item;

                                                                var m:Matrix = DisplayObject(item).transform.matrix;

 

                                                                m.tx = target.x;

                                                                m.ty = target.y;

                                                                m.a = target.scaleX;                                                                        

                                                                m.d = target.scaleY

                                                                

                                                                DisplayObject(item).alpha = target.alpha;

                                                                DisplayObject(item).transform.matrix = m;

                                                                item.setActualSize(target.unscaledWidth,target.unscaledHeight);

                                                                if(target.state == "removed")

                                                                {

                                                                                delete _targets[target.item];

                                                                                continue;

                                                                }

                                                                else

                                                                {

                                                                                target.state = "positioned"

                                                                }

                                                }

                                                stopTimer();

                                }

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, March 06, 2018 1:36 PM
To: users@royale.apache.org
Subject: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alina,

 

I'm starting on the emulation.  I've noticed that your application code appears to be calling commitProperties().  Can you tell us why?

 

Also, it looks like there are a few uses of rotation, transform, scaleX and scaleY.  What are those used for?

 

Thanks,

-Alex

 

From: Alex Harui <ah...@adobe.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 11:38 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Try again.  Sometimes the Antlr server goes off-line around this time of day.

 

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 11:12 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Using jdk1.8.0_162:

 

C:\Users\aleena\royale-asjs>ant all

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Buildfile: C:\Users\aleena\royale-asjs\build.xml

 

set.base.folder:

 

check-git:

     [echo] Checking for Git...

     [exec] git version 2.16.2.windows.1

 

get-download-folder:

 

download-all:

     [echo] Using folder C:\Users\aleena\royale-asjs/..

 

check-royale-asjs:

 

warn-before-clone:

 

check-royale-asjs:

 

clone-royale-asjs:

 

check-royale-compiler:

 

clone-royale-compiler:

 

check-royale-typedefs:

 

clone-royale-typedefs:

 

check-playerglobal-home:

 

check-air-home:

 

build-all:

 

ask-before-build-all:

    [input] This script will now download and compile lots of files.  This can t

ake several minutes.   No interaction should be required.  Press the enter key t

o continue.

 

 

sdk:

 

annotate.class:

    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-

build-tools\target\classes

    [javac] warning: [options] bootstrap class path not set in conjunction with

-source 1.5

    [javac] warning: [options] source value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] target value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] To suppress warnings about obsolete options, use

-Xlint:-options.

    [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\src\main\java\o

rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:24: warning: [serial

] serializable class AnnotateClassDeleteException has no definition of serialVer

sionUID

    [javac]     public static class AnnotateClassDeleteException extends Excepti

on

    [javac]                   ^

    [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\src\main\java\o

rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:32: warning: [serial

] serializable class AnnotateClassRenameException has no definition of serialVer

sionUID

    [javac]     public static class AnnotateClassRenameException extends Excepti

on

    [javac]                   ^

    [javac] 6 warnings

 

unknown.tree.pattern.input.output:

    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-

build-tools\target\classes

    [javac] warning: [options] bootstrap class path not set in conjunction with

-source 1.5

    [javac] warning: [options] source value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] target value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] To suppress warnings about obsolete options, use

-Xlint:-options.

    [javac] 4 warnings

 

main:

 

compiler.downloads.cache:

 

compiler.downloads:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

prepare:

     [echo] Making lib directory C:\Users\aleena\royale-compiler\compiler/lib/ex

ternal

    [mkdir] Created dir: C:\Users\aleena\royale-compiler\compiler\lib\external

 

all:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

check-dependency:

     [echo] checking for C:\Users\aleena\royale-compiler\compiler/lib/external//

antlr.jar

 

download-dependency:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

echo-project-jar:

   [delete] Deleting: C:\Users\aleena\royale-compiler\compiler\src\main\resource

s\project.properties

     [echo] ${INFO_DOWNLOADING_FILE_FROM}

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

download-apache-license:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

download-other-license:

      [get] Getting: http://www.antlr.org/license.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0> 

      [get] To: C:\Users\aleena\royale-compiler\compiler\lib\external\antlr-LICE

NSE.html

      [get] Error getting http://www.antlr.org/license.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0>  to C:\Users\aleena\r

oyale-compiler\compiler\lib\external\antlr-LICENSE.html

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

double-check-file:

     [echo] ${env.ROYALE_DOWNLOAD_CACHE}

     [echo] Need file: ${still_no_file}

 

get-from-cache-if-needed:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

fail-if-not-found:

 

BUILD FAILED

C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-compiler\build.xml:64: The following error occurred while

 executing this line:

C:\Users\aleena\royale-compiler\compiler-jburg-types\build.xml:87: The following

 error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:81: Th

e following error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:275: T

he following error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:329: T

he following error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:489: C

:\Users\aleena\royale-compiler\compiler/lib/external//antlr-LICENSE.html could n

ot be downloaded or found in cache

 

Total time: 47 seconds

 

C:\Users\aleena\royale-asjs>

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, March 06, 2018 11:55 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Please use JDK8.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 10:40 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

Java version that I am using is “9.0.1”

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, March 06, 2018 11:42 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

What version of Java are you using?  Please get a JDK7 or 8 and try that.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 10:22 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Command Prompt Output is:

C:\Users\aleena>git clone https://github.com/apache/royale-asjs.git <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs.git&data=02%7C01%7Caharui%40adobe.com%7Cdf86fa0dd25b41ffbc8108d5832f0997%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559160423949211&sdata=d9cKX4ILIQPLI5USXvAafSnrWZSgW1XHw6G4r%2B9wgsE%3D&reserved=0>  royale-asjs

Cloning into 'royale-asjs'...

remote: Counting objects: 101103, done.

remote: Compressing objects: 100% (22/22), done.

remote: Total 101103 (delta 9), reused 30 (delta 7), pack-reused 101066R

Receiving objects: 100% (101103/101103), 19.23 MiB | 208.00 KiB/s, done.

 

Resolving deltas: 100% (61584/61584), done.

Checking out files: 100% (3572/3572), done.

 

C:\Users\aleena>cd royale-asjs

 

C:\Users\aleena\royale-asjs>git checkout develop

Already on 'develop'

Your branch is up to date with 'origin/develop'.

 

C:\Users\aleena\royale-asjs>ant all

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Buildfile: C:\Users\aleena\royale-asjs\build.xml

 

set.base.folder:

 

check-git:

     [echo] Checking for Git...

     [exec] git version 2.16.2.windows.1

 

get-download-folder:

 

download-all:

     [echo] Using folder C:\Users\aleena\royale-asjs/..

 

check-royale-asjs:

 

warn-before-clone:

 

check-royale-asjs:

 

clone-royale-asjs:

 

check-royale-compiler:

 

clone-royale-compiler:

     [echo] cloning royale-compiler repo into C:\Users\aleena\royale-asjs/../roy

ale-compiler

     [exec] Cloning into 'royale-compiler'...

     [exec] Checking out files:   8% (284/3191)

     [exec] Checking out files:   9% (288/3191)   Checking out files:  10% (320/

3191)   Checking out files:  11% (352/3191)   Checking out files:  12% (383/3191

)   Checking out files:  13% (415/3191)   Checking out files:  13% (444/3191)

Checking out files:  14% (447/3191)   Checking out files:  15% (479/3191)   Chec

king out files:  16% (511/3191)   Checking out files:  17% (543/3191)   Checking

 out files:  18% (575/3191)   Checking out files:  19% (607/3191)   Checking out

 files:  20% (639/3191)   Checking out files:  20% (641/3191)   Checking out fil

es:  21% (671/3191)   Checking out files:  22% (703/3191)   Checking out files:

 23% (734/3191)   Checking out files:  24% (766/3191)   Checking out files:  25%

 (798/3191)   Checking out files:  26% (830/3191)   Checking out files:  26% (84

2/3191)   Checking out files:  27% (862/3191)   Checking out files:  28% (894/31

91)   Checking out files:  29% (926/3191)   Checking out files:  30% (958/3191)

  Checking out files:  31% (990/3191)   Checking out files:  32% (1022/3191)   C

hecking out files:  33% (1054/3191)   Checking out files:  34% (1085/3191)   Che

cking out files:  35% (1117/3191)   Checking out files:  36% (1149/3191)   Check

ing out files:  37% (1181/3191)   Checking out files:  38% (1213/3191)   Checkin

g out files:  39% (1245/3191)   Checking out files:  40% (1277/3191)   Checking

out files:  40% (1308/3191)   Checking out files:  41% (1309/3191)   Checking ou

t files:  42% (1341/3191)   Checking out files:  42% (1352/3191)   Checking out

files:  43% (1373/3191)   Checking out files:  44% (1405/3191)   Checking out fi

les:  45% (1436/3191)   Checking out files:  46% (1468/3191)   Checking out file

s:  47% (1500/3191)   Checking out files:  48% (1532/3191)   Checking out files:

  49% (1564/3191)   Checking out files:  49% (1578/3191)   Checking out files:

50% (1596/3191)   Checking out files:  51% (1628/3191)   Checking out files:  52

% (1660/3191)   Checking out files:  53% (1692/3191)   Checking out files:  54%

(1724/3191)   Checking out files:  55% (1756/3191)   Checking out files:  56% (1

787/3191)   Checking out files:  57% (1819/3191)   Checking out files:  58% (185

1/3191)   Checking out files:  59% (1883/3191)   Checking out files:  60% (1915/

3191)   Checking out files:  61% (1947/3191)   Checking out files:  62% (1979/31

91)   Checking out files:  63% (2011/3191)   Checking out files:  63% (2022/3191

)   Checking out files:  64% (2043/3191)   Checking out files:  65% (2075/3191)

  Checking out files:  66% (2107/3191)   Checking out files:  67% (2138/3191)

Checking out files:  68% (2170/3191)   Checking out files:  69% (2202/3191)   Ch

ecking out files:  70% (2234/3191)   Checking out files:  71% (2266/3191)   Chec

king out files:  72% (2298/3191)   Checking out files:  73% (2330/3191)   Checki

ng out files:  74% (2362/3191)   Checking out files:  75% (2394/3191)   Checking

 out files:  76% (2426/3191)   Checking out files:  77% (2458/3191)   Checking o

ut files:  78% (2489/3191)   Checking out files:  79% (2521/3191)   Checking out

 files:  80% (2553/3191)   Checking out files:  81% (2585/3191)   Checking out f

iles:  82% (2617/3191)   Checking out files:  83% (2649/3191)   Checking out fil

es:  83% (2679/3191)   Checking out files:  84% (2681/3191)   Checking out files

:  85% (2713/3191)   Checking out files:  86% (2745/3191)   Checking out files:

 87% (2777/3191)   Checking out files:  88% (2809/3191)   Checking out files:  8

9% (2840/3191)   Checking out files:  89% (2845/3191)   Checking out files:  90%

 (2872/3191)   Checking out files:  91% (2904/3191)   Checking out files:  92% (

2936/3191)   Checking out files:  93% (2968/3191)   Checking out files:  94% (30

00/3191)   Checking out files:  95% (3032/3191)   Checking out files:  95% (3035

/3191)   Checking out files:  96% (3064/3191)   Checking out files:  97% (3096/3

191)   Checking out files:  98% (3128/3191)   Checking out files:  99% (3160/319

1)   Checking out files: 100% (3191/3191)   Checking out files: 100% (3191/3191)

, done.

     [exec] Your branch is up to date with 'origin/develop'.

     [exec] Already on 'develop'

 

check-royale-typedefs:

 

clone-royale-typedefs:

     [echo] cloning royale-typedefs repo into C:\Users\aleena\royale-asjs/../roy

ale-typedefs

     [exec] Cloning into 'royale-typedefs'...

     [exec] Your branch is up to date with 'origin/develop'.

     [exec] Already on 'develop'

 

check-playerglobal-home:

 

check-air-home:

 

build-all:

 

ask-before-build-all:

    [input] This script will now download and compile lots of files.  This can t

ake several minutes.   No interaction should be required.  Press the enter key t

o continue.

 

sdk:

 

annotate.class:

    [mkdir] Created dir: C:\Users\aleena\royale-compiler\compiler-build-tools\ta

rget\classes

    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-

build-tools\target\classes

    [javac] warning: [options] bootstrap class path not set in conjunction with

-source 1.5

    [javac] error: Source option 1.5 is no longer supported. Use 1.6 or later.

    [javac] error: Target option 1.5 is no longer supported. Use 1.6 or later.

 

BUILD FAILED

C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-compiler\build.xml:63: The following error occurred while

 executing this line:

C:\Users\aleena\royale-compiler\compiler-build-tools\build.xml:74: Compile faile

d; see the compiler error output for details.

 

Total time: 17 minutes 59 seconds

 

C:\Users\aleena\royale-asjs>

 

Unable to Build, Please guide.

 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Friday, March 02, 2018 10:31 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I was able to download and expand the files.  I will be consolidating the data today. 

 

In order to be able to write some of these emulations, you will probably need to be able to build the framework sources.  If you haven't already, you can try cloning the royale-asjs repo and figure out how to get it to build.  You can choose Apache Maven or Apache Ant as the build tool.

 

https://github.com/apache/royale-asjs <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs&data=02%7C01%7Caharui%40adobe.com%7C3c1833c1fc9442003f2608d5832c7fe0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559149534170415&sdata=YqGTpbzoou8SilHbsTxjriIjiREaS%2FA9j6xjZYRR%2F4E%3D&reserved=0> 

 

Hopefully the instruction in the readme are sufficient.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Friday, March 2, 2018 at 12:34 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

Application API-Report link:

https://www.dropbox.com/s/swvqhly6wa0jrc5/API-Reports.rar?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fswvqhly6wa0jrc5%2FAPI-Reports.rar%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C928c248220464230f6dd08d5801a2f13%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555772324148830&sdata=9%2BsrGG41iCMIEmbtqnEbV%2BPvi1ngE9vF%2BKuqPAZ%2Bzao%3D&reserved=0> 

SHMALib Report, applications,shmDoclist,shmSetupList,AppView_EIS, AppView_ERP,shmMappingSetup, shmMappingSetupOpenDetailGrid,shmSalesInvoice, shmSalesInvoiceDetail are main API Files.

 

Regards,

Alina

 

 

 

 

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Friday, March 02, 2018 11:32 AM
To: users@royale.apache.org
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

2) We are using Effects in our Application 2-3 times 

4) We are using text styling in our Application 3-5 times 

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Friday, March 02, 2018 4:26 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

1) Interesting about Charts.  They were being used by the SWC.

2) Effects are any animations that move, resize or fade things in the UI.

3) ok

4) I'm not sure what to conclude from the screenshot.  I'm interested in how often folks use it to create text with bold, italics and other styling of text.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Thursday, March 1, 2018 at 4:24 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

600 mxml.api.txt files are generated and still in process. I will share link for files tomorrow.

After sharing my files tomorrow, If you will suggest to build  emulations. 

I will  definitely want to learn how to create emulations and contribute them to Apache Royale.  

1.We are not using Charts in our Application

2. How important are effects? (Please explain effects )

3. We are not using Right-to-left languages in RichTextEditor.

4. Is RichTextEditor being used for non-plain text?  If so, what kinds of text styling is important?

Link:https://www.dropbox.com/s/ky93eycmefm3cuu/RICHTEXTEDITOR.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fky93eycmefm3cuu%2FRICHTEXTEDITOR.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cff526ec5592c42772ade08d57f713736%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555046634193460&sdata=BjS8q1GarTweRfMMmZOKxN%2FTQTqhtzJlm05KAtWnNTQ%3D&reserved=0> 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 10:45 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Good to hear it worked.

 

I think I am waiting on all of the mxml.api.txt files to see what else is in there that isn't in the two reports we have, then we'll have a pretty good list of the places you will either need to change in your code or that we  will build emulations for.

 

I think emulations will be less work in the end, but there will be a lot of them to do.  We will want to you to learn how to create emulations and contribute them to Apache Royale.  That's how many Apache projects work: some of the users learn how to become committers.  This will be an asset to your company as well since you will learn how to fix things in Royale yourself.  Then your company won't be dependent on outsiders for support.

 

So, Peter and I and hopefully others will get started on some emulations to make sure they work for us, and then you can see if they work for you, and then we will teach you how to write those emulations.  Over the next several months, besides testing emulations written by others in your app, you will be writing your own emulations for things you need right away that we haven't written yet, or for third-party code that you are using.

 

It might help to get some prioritization on the emulations we need to write.  In looking at the list, I am wondering:

1.	Are some charts more important than others?
2.	How important are effects?
3.	Do you use Right-to-left languages in RichTextEditor?
4.	Is RichTextEditor being used for non-plain text?  If so, what kinds of text styling is important?

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Wednesday, February 28, 2018 at 1:22 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Thank you.

It’s working with latest nightly build:

https://www.dropbox.com/s/77wkgrm74upkg0j/SHMALib%20Report.txt?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F77wkgrm74upkg0j%2FSHMALib%2520Report.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C16fa845b6d2f4efb7f4a08d57e8e9097%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636554073167111532&sdata=UV0BOZpVonw%2BILcK9njhQdf5pKpqWPccp0IKDPm4jOI%3D&reserved=0> 

 

 

Regards,

Alina

 

 

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 1:15 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Looks like COMPC collected the data but never generated the report.  I pushed a fix for that.  Please try the latest nightly build.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Tuesday, February 27, 2018 at 10:35 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Thank you

After commenting the embedded font part from source.

Output to console:

3462313 bytes written to D:\SHMALib.swc in 19.878 seconds

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"

 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\framewor

ks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\sr

c" -library-path+=D:\SHMALIB\libs

 

SHMALib.swf file Generated and Report.txt is empty 

SHMALib.swc output Link:

https://www.dropbox.com/s/4tz49sz134m2gg9/SHMALib.swc?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F4tz49sz134m2gg9%2FSHMALib.swc%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=%2FNcbTJtah21RRPeWfwg2pRaZ72hd%2BdG0iJlnH3GsA28%3D&reserved=0> 

then I change, Compc -output "D:\SHMALib.swc" to Compc -output "D:\SHMALib. txt " 

SHMALib.txt output Link:

https://www.dropbox.com/s/j38obt5e36awuh3/SHMALib.txt?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fj38obt5e36awuh3%2FSHMALib.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=V%2FcA5dJ3Fi1qOvh%2BtUlbU%2FZ%2FQ5SBfRw7psjsm2Q%2Fe8w%3D&reserved=0> 

 

Thanks,

Alina

 

 

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 11:18 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

The only error right now is the embedded font.

 

We can discuss the pros and cons of embedding images in the JS output at some other point in time.

 

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Tuesday, February 27, 2018 at 10:01 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Big Part of SHMALib Uses Embed and metadata :

 

                                // Embed the font so we can rotate it for further distortion

                                [Embed(systemFont="Comic Sans MS",

                                                                embedAsCFF='false')]

                <mx:Image y="4" width="18" height="20" right="185" source="@Embed(source='assets/default/images/load.png')"

                                                  source="@Embed(source='assets/default/images/next.gif')" scaleContent="false"/>

                <mx:Image y="4" width="18" height="20" right="3" source="@Embed(source='assets/default/images/magnifier.png')"

     * An IFrame which you can embed into Flex applications to show an HTML page.

     * @example A simple application with Google embedded

        // SWF embed object tracking

         * The SWF embed object id.

         * Get the embed object id.

        protected function resolveEmbedObjectId():void

                    var result:Object=ExternalInterface.call(IFrameExternalCalls.FUNCTION_ASK_FOR_EMBED_OBJECT_ID, randomIdentificationString.toString());

                        logger.info("Resolved the SWF embed object id to '{0}'.", applicationId);

                        logger.error('Could not resolve the SWF embed object Id.');

            // Resolve the SWF embed object id in the DOM.

            ExternalInterface.call(IFrameExternalCalls.INSERT_FUNCTION_ASK_FOR_EMBED_OBJECT_ID);

            resolveEmbedObjectId();

            logger.info("Loading IFrame with id '{0}', on SWF embed object with id '{1}'.", _frameId, applicationId);

                    FUNCTION_LOADIFRAME + " = function (frameID, iframeID, url, embedID, scrollPolicy)" +

                                      "onLoad='\"+embedID+\".\"+frameID+\"_load();' " +

        public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String = "askForEmbedObjectId";

        public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String = "askForEmbedObjectId";

        public static var INSERT_FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =

                "if (document." + FUNCTION_ASK_FOR_EMBED_OBJECT_ID + "==null)" +

                    FUNCTION_ASK_FOR_EMBED_OBJECT_ID + " = function(randomString) " + 

                            "var embeds = document.getElementsByTagName('embed'); " + 

                            "var embeds = document.getElementsByTagName('embed'); " + 

                            "for (var i = 0; i < embeds.length; i++) { " + 

                                "var isTheGoodOne = embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " + 

                                "var isTheGoodOne = embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " + 

                                    "return embeds[i].getAttribute('id'); " + 

                                 * The UITextField control for displaying embeded hints.

                                private var embedTextField:UITextField;

                                 *  The String to be shown as the embeded hint.

                                private var embedStr:String = "";

                                                                                embedStr = "MM DD YYYY";

                                                                                embedStr = "DD MM YYYY";

                                                                                embedStr = "YYYY MM DD";

                                                                                embedStr = "YYYY DD MM";

                                 *  Create child objects for displaying embeded hints.

                                                                embedTextField = new UITextField();

                                                                //embedTextField.text = embedStr;

                                                                //embedTextField.text = embedStr;

                                                                addChildAt(UITextField(embedTextField),getChildIndex(DisplayObject(textField)));//as TextField

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                                s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);

                                                                                                                                embedTextField.text = s;

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                                //s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);

                                                                                                                                //embedTextField.text = s;

                                                                                                                                s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);

                                                                                                                                embedTextField.text = s;

                                                                                // If embeded hints are displayed then update the

                                                                                // UITextField corresponding to the embeded hints

                                                                                                var s:String = embedTextField.text == null ? "":embedTextField.text;

                                                                                                var s:String = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                embedTextField.text = s;

                                                                // create the embeded text field for showing

                                                                // embeded hints if its not already created.

                                                                // If it is created, then just change the embeded hint.

                                                                if(!embedTextField)

                                                                                embedTextField = new UITextField();

                                                                                addChildAt(embedTextField,getChildIndex(DisplayObject(textField))); //as TextField

                                                                //embedTextField.text = embedStr;

                                                                //embedTextField.text = embedStr;

                                                                embedTextField.alpha = 1;

                                                                embedTextField.setTextFormat(txtFormat);

                                                                embedTextField.x = 0;

                                                                embedTextField.y = 2;

                                                                embedTextField.setActualSize(width,height);

                                                                if(embedTextField)

                                                                                embedTextField.text = "";

                                                                                embedTextField = null;

                                                // setting the color of the embeded text field to white.

                                                                if(embedTextField)

                                                                                embedTextField.setColor(0xFFFFFF);

                                                                                if(embedTextField)

                                                                                                addChildAt(DisplayObject(newSkin),getChildIndex(DisplayObject(embedTextField)));//

   background-image:                                      Embed(source="/assets/application_background.png",

                up-skin:                Embed("/assets/maximize_up.png");

                over-skin:            Embed("/assets/maximize_over.png");

                down-skin:         Embed("/assets/maximize_up.png");

                selected-up-skin:   Embed("/assets/restore_up.png");

                selected-over-skin: Embed("/assets/restore_over.png");

                selected-down-skin: Embed("/assets/restore_up.png");

                up-skin:        Embed("/assets/minimize_up.png");

                over-skin:      Embed("/assets/minimize_over.png");

                down-skin:      Embed("/assets/minimize_up.png");

                up-skin:                                Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");

                over-skin:                            Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");

                down-skin:                         Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");

                selected-up-skin:                             Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");

                selected-over-skin:                         Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");

                selected-down-skin:                      Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");

                up-skin:                                Embed("/assets/left_arrow_up.gif");

                over-skin:                            Embed("/assets/left_arrow_over.gif");

                down-skin:                         Embed("/assets/left_arrow_up.gif");

                disabled-skin:    Embed("/assets/left_arrow_disabled.gif");

                up-skin:                                Embed("/assets/right_arrow_up.gif");

                over-skin:                            Embed("/assets/right_arrow_over.gif");

                down-skin:                         Embed("/assets/right_arrow_up.gif");

                disabled-skin:    Embed("/assets/right_arrow_disabled.gif");

                                //[Embed(source="/assets/cursor_move.gif")]

                                //[Embed(source="/assets/cursor_resize.gif")]

                                [Embed(source="/assets/default/images/mouseMove.gif")]

                                [Embed(source="/assets/default/images/verticalSize.gif")]

                                [Embed(source="/assets/default/images/horizontalSize.gif")]

                                [Embed(source="/assets/default/images/leftObliqueSize.gif")]

                                [Embed(source="/assets/default/images/rightObliqueSize.gif")]

                                                if (image.isEmbedded) 

                                                //if (!Application.application.systemManager.isFontFaceEmbedded(textFormat)) 

                                                if (!FlexGlobals.topLevelApplication.systemManager.isFontFaceEmbedded(textFormat))

                                                                if (Application.application.isFontsEmbedded) {

                                                                if (Application.application.isFontsEmbedded) {

                                                                if (Application.application.isFontsEmbedded) {

                                private var _isEmbedded:Boolean = false;

                                public function set isEmbedded(embedded:Boolean):void 

                                public function set isEmbedded(embedded:Boolean):void 

                                                _isEmbedded = embedded;

                                                _isEmbedded = embedded;

                                public function get isEmbedded():Boolean 

                                                return _isEmbedded;

                                                <mx:icon>@Embed(source='images/print.GIF')</mx:icon>

                                                <mx:icon>@Embed(source='images/reload.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/first-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/first.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/previous-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/previous.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/next-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/next.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/last-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/last.GIF')</mx:icon>

                                                                                <mx:icon>@Embed(source='images/actualsize.GIF')</mx:icon>

                                                                                <mx:icon>@Embed(source='images/fitpage.GIF')</mx:icon>

                                                                                <mx:icon>@Embed(source='images/fitwidth.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/zoomin-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/zoomin.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/zoomout-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/zoomout.GIF')</mx:icon>

                                                                <mx:icon>@Embed(source='images/print.GIF')</mx:icon>

                                                if (imageSourceXml.@isEmbedded.length() > 0)

                                                                image.isEmbedded = imageSourceXml.@isEmbedded == "true";

                                                                image.isEmbedded = imageSourceXml.@isEmbedded == "true";

                 source="@Embed(source='/assets/default/images/left_arrow_up.gif')"/>

                 source="@Embed(source='/assets/default/images/left_arrow_over.gif')"/>

                 source="@Embed(source='/assets/default/images/left_arrow_disabled.gif')"/>  

                                                                                   source="@Embed(source='/com/shm/flexlib/mdi/assets/img/maximizeButton.png')"/>

                                                                                   height="12" source="@Embed(source='/com/shm/flexlib/mdi/assets/img/restoreButton.png')"/>

                                                                                   source="@Embed(source='/com/shm/flexlib/mdi/assets/img/minimizeButton.png')"/>

                 source="@Embed(source='/assets/default/images/right_arrow_up.gif')"/>

                 source="@Embed(source='/assets/default/images/right_arrow_over.gif')"/>

                 source="@Embed(source='/assets/default/images/right_arrow_disabled.gif')"/>  

 

 

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 11:00 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I think you can ignore the warnings.  The first error is for embedding a font, which Royale doesn't currently support, so for now, try commenting out the Embed metadata and see if that allows the error to go away.

 

I would look into the other errors to see if they are legitimate or not.  The Royale Compiler will catch some things the MXMLC compiler may not.  Or you could comment out the code involved in the two errors in TImeZone.as for now since that won't affect the report.

 

The final two errors I saw are for missing skin states.  I think you can just add the skin states.

 

HTH,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Tuesday, February 27, 2018 at 9:35 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

While Executing

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\src"

Or 

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\Flex\libs\SH

MALIB.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bi

n\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\

SHMALIB\src" -library-path+=D:\SHMALIB\libs

 

Error:

(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to

field java.lang.Thread.inheritableThreadLocals

WARNING: Please consider reporting this to the maintainers of com.google.common.

base.internal.Finalizer

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect

ive access operations

WARNING: All illegal access operations will be denied in a future release

Loading configuration: D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(415): col: 50 Warning:

Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="DataProviderService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(419): col: 50 Warning:

Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="BasicFormatterService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(516): col: 50 Warning: Da

ta binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="DataProviderService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(520): col: 50 Warning: Da

ta binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="BasicFormatterService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\shmCaptchaImage.as(43): col: 3 Error: Embed re

quires a 'source' file attribute

 

                [Embed(systemFont="Comic Sans MS",

                ^

 

D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(37): col: 88 Warning: Data

binding will not be able to detect assignments to 'isSelected'.

 

                                        <mx:CheckBox selectedField="isSelected"

 change="onChange(event);" selected="{data.isSelected}">

 

                                          ^

 

D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(46): col: 27 Warning: Data

binding will not be able to detect assignments to 'label'.

 

                                        <mx:Label text="{data.label}" />

                                                             ^

 

D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(126): col: 15 Error: Impli

cit coercion of a value of type Boolean to an unrelated type Number.

 

                                if(year & 0x3 == 0)

                                          ^

 

D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(134): col: 39 Error: Impli

cit coercion of a value of type Boolean to an unrelated type Number.

 

                                if(month == 1 && value.fullYear & 0x3 == 0)

                                                                  ^

 

D:\SHMALIB\src\com\shm\dashboard\renderers\GridPodURLRenderer.mxml(6): col: 23 W

arning: Data binding will not be able to detect assignments to 'SrNo'.

 

                  htmlText="&lt;u&gt;{data.SrNo}&lt;/u&gt;" color="blue" click="

f_DrillDownData(data)">

                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml Error:

The required skin state 'disabledWithPrompt' is missing.

 

 

D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml Error:

The required skin state 'normalWithPrompt' is missing.

 

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(177): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(187): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(202): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(212): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(429): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(439): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(454): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(464): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(479): col: 26 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                field="{properties.@valueField}"

 

                                                                   ^

 

D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(115): col: 74 Warning

: Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject id="roDrillDownColInfo" channelSet="{parentAppl

ication.amfChannelSet}" showBusyCursor="true"

 

       ^

 

D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(118): col: 68 Warning

: Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject id="roDgDpResult" channelSet="{parentApplicatio

n.amfChannelSet}" showBusyCursor="true"

 

 ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PieChartContent.mxml(128): col: 24 Warning

: Data binding will not be able to detect assignments to 'valueField'.

 

                                field="{properties.@valueField}"

                                                   ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 37 Warning: Dat

a binding will not be able to detect assignments to 'appParams'.

 

                                                        inputMask="{parentApplic

ation.appParams.DATE_FORMAT}" showToday="true"  yearNavigationEnabled="true"

 

     ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 47 Warning: Dat

a binding will not be able to detect assignments to 'DATE_FORMAT'.

 

                                                        inputMask="{parentApplic

ation.appParams.DATE_FORMAT}" showToday="true"  yearNavigationEnabled="true"

 

               ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 38 Warning: Dat

a binding will not be able to detect assignments to 'appParams'.

 

                                                         inputMask="{parentAppli

cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true" showToday="true"

 

      ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 48 Warning: Dat

a binding will not be able to detect assignments to 'DATE_FORMAT'.

 

                                                         inputMask="{parentAppli

cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true" showToday="true"

 

                ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(12): col: 11 Warnin

g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

 

                        import mx.graphics.Stroke;

                               ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(37): col: 23 Warnin

g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

 

                                        lne.stroke = new Stroke(0,1,.3);

                                                         ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(46): col: 14 Warnin

g: Duplicate variable definition: i.

 

                                for (var i:int = 1; i < lnWdt; i++){

                                         ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(47): col: 10 Warnin

g: Duplicate variable definition: lne.

 

                                        var lne:Line  = new Line();

                                            ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(53): col: 23 Warnin

g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

 

                                        lne.stroke = new Stroke(0,1,.3);

                                                         ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(54): col: 10 Warnin

g: Duplicate variable definition: llbe.

 

                                        var llbe:Label = new Label();

                                            ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(157): col: 40 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var xPosition:Number = Application.application.p

arent.mouseX;

                                                                   ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(158): col: 40 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var yPosition:Number = Application.application.p

arent.mouseY;

                                                                   ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(225): col: 36 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var xPlus:Number = Application.application.paren

t.mouseX - point.x;

                                                               ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(226): col: 36 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var yPlus:Number = Application.application.paren

t.mouseY - point.y;

                                                               

Thanks,

Alina Kazi

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 10:16 AM
To: Alina Kazi; users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I think that Flash Builder makes it easy to build SWCs.  Building from the command line can be a bit trickier.

 

Let's try:

Compc -output "D:\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\src"

 

HTH,

-Alex

 

 

From: Alina Kazi <al...@d-bz.com>
Date: Tuesday, February 27, 2018 at 7:28 PM
To: "users@royale.apache.org" <us...@royale.apache.org>, Alex Harui <ah...@adobe.com>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Yes I am using Flash Builder.

SHMALIB and MainFlexApp are two separate Projects

Src for SHMALIB is placed into D:/SHMALIB/src

Src for MainFlexApp is D:/Flex/src and the library output file SHMALIB.swc is placed into D:/Flex/libs

 

SHMALIB (.actionscriptProperties)

 

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<actionScriptProperties mainApplicationPath="SHMALib.as" projectUUID="863559ab-3e7b-475b-a3a4-09f4f76fc0d2" version="6">

  <compiler additionalCompilerArguments="-locale en_US" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderLocation="D:/Flex/libs" outputFolderPath="bin-debug" sourceFolderPath="src" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" verifyDigests="true" warn="true">

    <compilerSourcePath/>

    <libraryPath defaultLinkType="0">

      <libraryPathEntry kind="4" path="">

        <excludedEntries>

          <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>

        </excludedEntries>

      </libraryPathEntry>

      <libraryPathEntry kind="1" linkType="1" path="libs"/>

    </libraryPath>

    <sourceAttachmentPath/>

  </compiler>

  <applications>

    <application path="SHMALib.as"/>

  </applications>

  <modules/>

  <buildCSSFiles/>

</actionScriptProperties>

 

SHMALIB (.flexLibProperties)

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<flexLibProperties includeAllClasses="true" version="3">

  <includeClasses/>

  <includeResources/>

  <namespaceManifests/>

</flexLibProperties>

 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 9:34 PM
To: Alina Kazi
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

When you are not trying to use Royale to generate this API report, how are you building your current Flex app?  We might need to know that in order to determine what parameters to add to COMPC.

 

COMPC has additional parameters like -include–sources, include-file, include-classes.  Sometimes, these are listed in an xml file.  If you are using Flash Builder, for example, then examine the .flexlibproperties and .actionscriptProperties files in your project folder.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Date: Tuesday, February 27, 2018 at 3:21 AM
To: 'Alina Kazi' <al...@d-bz.com>
Cc: Alex Harui <ah...@adobe.com>
Subject: RE: Generating API report for Flex Web Browser application

 

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"

 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"

Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by com.google.common.base.internal.Finalizer

(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to

field java.lang.Thread.inheritableThreadLocals

WARNING: Please consider reporting this to the maintainers of com.google.common.

base.internal.Finalizer

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect

ive access operations

 

Error: nothing was specified to be included in the library.

-Alina

 

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Tuesday, February 27, 2018 2:16 PM
To: 'users@royale.apache.org'
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

I am using Moonshine IDE 1.9.0.

Flex 4.16.0

Apache Royale 0.9.2 Latest Nightly Build

 

Running this Command on Command Prompt:

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"

 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"

Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by com.google.common.base.internal.Finalizer

(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to

field java.lang.Thread.inheritableThreadLocals

WARNING: Please consider reporting this to the maintainers of com.google.common.

base.internal.Finalizer

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect

ive access operations

WARNING: All illegal access operations will be denied in a future release

 

command line Error: unknown configuration variable 'sourceΓÇôpath'.

 

-Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 1:26 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

COMPC takes a slightly different set of parameters.  What IDE or build tools are you using to build it without Royale?  You might need to know what options that build uses.

 

You can try running: 

 

Compc -output "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source–path="D:\Projects\SHMA\Main\Flex\src" or wherever the source code is for the library.

 

HTH,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, February 26, 2018 at 11:33 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

For custom SWC, I am using COMPC to get an api-report for SWC

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>compc "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml

Error: configuration variable 'output' was not set.

 

 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 12:27 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Yes, any SWC that is not in the Flex SDK's frameworks/libs folder needs to be specified as Piotr describes below.  We want you specify the same MXML file that you use to compile in the regular Flex SDK.  So if your Application.mxml starts with an mx:Application or s:Application that’s probably the one to use.  But also, if you have your own custom SWCs, we want you to use COMPC to get an api-report for those SWCs.  We want this modified Royale compiler to compile every source file you own so we can see what Flex APIs you are using.

 

HTH,

-Alex

 

From: Piotr Zarzycki <pi...@gmail.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, February 26, 2018 at 11:19 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina, 

 

In my sense you will have to use -library-path+=path to the library. You have to tell compiler about that library.

 

Thanks, Piotr

 

2018-02-27 7:57 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi  Alex,

With latest nightly build:

MaskedTextInput , shmReportUtil …. Are Library Project Actionscript Files.

Main Application contains SHMALib.swc file in Libs folder

Error Link:

https://www.dropbox.com/s/p5imt22cuut0ex6/ErrorGeneratingReport.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fp5imt22cuut0ex6%2FErrorGeneratingReport.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=8f1f9duW2Red4bP77hFTh3mLcCptBmAwd87n1iSkk%2Bs%3D&reserved=0> 

 

I have a question that which .mxml file should be used to generate that report?

Applications.mxml is startup file in case of my Project so I’m using it.

 

Please visit reference link and If I’m doing anything wrong please let me know.

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 12:00 AM


To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I pushed a fix for that.  It might or might not be related to your custom swc.  Get the latest nightly build and let us know.

 

Also, if you are successful, please use your regular compiler to generate a -link–report.  That will help us verify that the API report didn't miss anything.

 

Thanks,

-Alex

 

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, February 26, 2018 at 4:01 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Generated Report file for Sample Project Successfully.

 

spark.components.Application:minHeight,1

spark.components.Application:minWidth,1

spark.components.Application:mxmlContentFactory,2

spark.components.Label:fontSize,1

spark.components.Label:fontWeight,1

spark.components.Label:horizontalCenter,1

spark.components.Label:text,1

spark.components.Label:textAlign,1

spark.components.Label:verticalCenter,1

 

But while executing Actual Project got Error:

https://www.dropbox.com/s/d25eysllavuy5z4/compile2.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fd25eysllavuy5z4%2Fcompile2.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=2i28J4zjv1vEQ7sd%2BGfHm%2Bh1FjG%2BP3YdJCc6rGZr3C4%3D&reserved=0> 

https://www.dropbox.com/s/49iq74zk6rxcr1y/compile1.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F49iq74zk6rxcr1y%2Fcompile1.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=44tfkOscWyJ%2FH3M30HeJ6dfFE0TlpTMhQ2t%2Bv%2ByuoDg%3D&reserved=0> 

 

May be because my Application is dependent to SHMALib(.swc) Library Project (Source Shared Earlier). 

 

-Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Monday, February 26, 2018 5:02 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Alex,

 

I did above exercise for Moonshine and got NPE [1]. I used air-config.xml because it is na Desktop app.

 

[1] https://paste.apache.org/R0Si <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FR0Si&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=tFLrK9xsVt57PytwBaNoUJ%2FIPFH7FCHDtfrmJ1sAl3Y%3D&reserved=0>  

 

Thanks,

Piotr

 

 

2018-02-26 12:56 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:

Yishay,

 

Thank you so much!! I got it working.

 

Alina,

 

Here is the full instruction.

 

1) Download Apache Royale with SWF support - if you have that is good, if not it's here [1]

2) Download Apache Flex - you have it as I have seen on the screenshot.

3) Launch console and go to the Royale SDK folder

 

"yourpathtosdk\bin\" - In my case it was: "d:\Work\royale_ide\royale_nightly_js_swf\bin\"

 

4) Run following command where you will point to the Flex Browser application in order to generate report. My command looks like that:

 

mxmlc "c:\Users\piotr\Documents\NewFlexBrowserProject\src\NewFlexBrowserProject.mxml" -api-report="c:\Users\piotr\Documents\NewFlexBrowserProject\report.txt" -load-config=d:\Work\flex-sdk-4.16.1_adobe_air_28\frameworks\flex-config.xml

 

I generated report for hellow world. Maybe in order to generate report for your application that console command may be much more sophisticated. Let's see!

 

 

[1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/lastSuccessfulBuild/artifact/out/ <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2Fout%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=O%2BpVQ8OuhB%2FtE4ZdylTSkAQCWsIPBGlr9RgiTjWSWEM%3D&reserved=0> 

 

Thanks,

Piotr

 

 

2018-02-26 12:46 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:

Looks like [1] you do need to add compiler option: -api–report=<path to output file>

 

[1] http://apache-royale-users.20374.n8.nabble.com/Substitutes-in-Apache-Royale-tp392p492.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p492.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kda6SpkBgdRqGAeGJ5Db629EAy7KAVbOZKzhzhynRZk%3D&reserved=0> 

 

 

From: Piotr Zarzycki <ma...@gmail.com> 
Sent: Monday, February 26, 2018 1:37 PM


To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

I have produced with that swf, but what's next? Let's wait for Alex's response [1] 

 

[1] https://paste.apache.org/YEeG <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FYEeG&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8ameYzJ7AloOW4nTa8dqu7zYxwORSQc5sCUqpZDVA%2BY%3D&reserved=0> 

 

Thanks,

Piotr

 

2018-02-26 12:32 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:

Alex will know but I don’t think so. I haven’t updated the compiler recently so can’t test it right now. If you want to test it maybe just create a simple app and replace /Users/aharui/ApacheFlex4.16.0 with your sdk home.

 

 

 

From: Piotr Zarzycki <ma...@gmail.com> 
Sent: Monday, February 26, 2018 1:25 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Yishay, 

 

bin/mxmlc

<path to app's

.mxml

file>

-load-config=/Users/aharui/ApacheFlex4.16.0/frameworks/flex-config.xml  

 

Do I need some switch for compiler -api-report or something like that ?

 

Thanks,

Piotr

 

 

2018-02-26 12:10 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:

Wasn’t logged in. Here’s [1] the link.

 

[1] http://apache-royale-users.20374.n8.nabble.com/Substitutes-in-Apache-Royale-tp392p489.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p489.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8Tp5%2BFveKS0eoW7D8EovITPQqYrgwDK4P7cW9izXFH8%3D&reserved=0> 

 

 

From: Yishay Weiss <ma...@hotmail.com> 
Sent: Monday, February 26, 2018 12:59 PM
To: users@royale.apache.org
Subject: RE: Generating API report for Flex Web Browser application

 

I couldn’t find a way to link to a nabble post, but this [1] might help (from Substitutes in Apache Royale).

 

[1] https://paste.apache.org/N2QR <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FN2QR&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=VIS8u6EEBWN6jQrFxpttZvAfUCSSKPe3rbrBDU2w7Sg%3D&reserved=0> 

 

From: Piotr Zarzycki <ma...@gmail.com> 
Sent: Monday, February 26, 2018 12:44 PM
To: users@royale.apache.org
Subject: Generating API report for Flex Web Browser application

 

Hi Alex, 

 

I would like to understand how to generate that report. I will go with the console path, because I think this is something unusual and probably Moonshine is not prepared to do this. I'm writing this on the users mailing list because Alina is having some problems with that. I wanted to simplify all of that. Let's start from the beginning. 

 

1) I have created Flex Web browser project using Apache Flex SDK 4.16.1. 

2) I have nightly build of Royale with SWF support [1]

 

What should I type in the console now ?

 

[1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/lastSuccessfulBuild/artifact/ <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=UtYFFQ90aNB2HU2Vx4t8YAS6Eo2j1ZqVAytujEOgoFM%3D&reserved=0> 

 

Thanks,
-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 

 

 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 

 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 

 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=zGrfZ2Wj3CLuuW%2B%2BKtUSQF6762Vn0%2BeNjCMlViBMghg%3D&reserved=0> 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki


Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

Posted by Piotr Zarzycki <pi...@gmail.com>.
Hi Alina,

Can you run command with -X:  mvn -s settings-template.xml clean install -X.

Please paste your output on some paste - It will be easier for me analyze
it.

Thanks, Piotr


2018-03-12 12:18 GMT+01:00 Alina Kazi <al...@d-bz.com>:

> Hi Piotr,
>
>
>
> I am getting this error while executing maven command.
>
> System environment variable path is:
>
> PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\
> Wbem;C:\Windows\System32
>
> \WindowsPowerShell\v1.0;C:\Program Files\Java\jdk1.8.0_31\bin;D:\
> apache-ant-1.10.2\bin;C:\Program Files\Git\cmd;D:\apache-maven-3.5.3\bin
>
>
>
> d:\Apache\royale-asjs>mvn -s settings-template.xml install
>
> Downloading from apache-snapshots: http://repository.apache.org/
> snapshots/org/ap
>
> ache/flex/utilities/converter/flex-sdk-converter-maven-
> extension/1.0.0-SNAPSHOT/
>
> maven-metadata.xml
>
> [WARNING] Could not transfer metadata org.apache.flex.utilities.
> converter:flex-s
>
> dk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from/to
> apache-sn
>
> apshots (http://repository.apache.org/snapshots/): Connect to
> repository.apache.
>
> org:80 [repository.apache.org/207.244.88.140] failed: Connection timed
> out: conn
>
> ect
>
> [WARNING] Failure to transfer org.apache.flex.utilities.
> converter:flex-sdk-conve
>
> rter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from
> http://repository.ap
>
> ache.org/snapshots/ was cached in the local repository, resolution will
> not be r
>
> eattempted until the update interval of apache-snapshots has elapsed or
> updates
>
> are forced. Original error: Could not transfer metadata
> org.apache.flex.utilitie
>
> s.converter:flex-sdk-converter-maven-extension:1.0.
> 0-SNAPSHOT/maven-metadata.xml
>
> from/to apache-snapshots (http://repository.apache.org/snapshots/):
> Connect to
>
> repository.apache.org:80 [repository.apache.org/207.244.88.140] failed:
> Connecti
>
> on timed out: connect
>
> Downloading from apache-snapshots: http://repository.apache.org/
> snapshots/org/ap
>
> ache/flex/utilities/converter/flex-sdk-converter-maven-
> extension/1.0.0-SNAPSHOT/
>
> flex-sdk-converter-maven-extension-1.0.0-SNAPSHOT.pom
>
> [WARNING] Failed to read extensions descriptor D:\Apache\royale-asjs\.mvn\
> extens
>
> ions.xml: Plugin org.apache.flex.utilities.converter:flex-sdk-converter-
> maven-ex
>
> tension:1.0.0-SNAPSHOT or one of its dependencies could not be resolved:
> Failed
>
> to read artifact descriptor for org.apache.flex.utilities.
> converter:flex-sdk-con
>
> verter-maven-extension:jar:1.0.0-SNAPSHOT
>
> [INFO] Scanning for projects...
>
> [WARNING] The project org.apache:apache:pom:18 uses prerequisites which is
> only
>
> intended for maven-plugin projects but not for non maven-plugin projects.
> For su
>
> ch purposes you should use the maven-enforcer-plugin. See
> https://maven.apache.o
>
> rg/enforcer/enforcer-rules/requireMavenVersion.html
>
> [INFO]
>
> [INFO] -------------------------< org.apache:apache
> >--------------------------
>
> [INFO] Building The Apache Software Foundation 18
>
> [INFO] --------------------------------[ pom
> ]---------------------------------
>
> Downloading from central: https://repo.maven.apache.org/
> maven2/org/apache/maven/
>
> plugins/maven-remote-resources-plugin/1.5/maven-
> remote-resources-plugin-1.5.pom
>
> [INFO] ------------------------------------------------------------
> ------------
>
> [INFO] BUILD FAILURE
>
> [INFO] ------------------------------------------------------------
> ------------
>
> [INFO] Total time: 33.430 s
>
> [INFO] Finished at: 2018-03-12T16:10:48+05:00
>
> [INFO] ------------------------------------------------------------
> ------------
>
> [ERROR] Plugin org.apache.maven.plugins:maven-remote-resources-plugin:1.5
> or one
>
> of its dependencies could not be resolved: Failed to read artifact
> descriptor f
>
> or org.apache.maven.plugins:maven-remote-resources-plugin:jar:1.5: Could
> not tra
>
> nsfer artifact org.apache.maven.plugins:maven-remote-resources-plugin:pom:1.5
> fr
>
> om/to central (https://repo.maven.apache.org/maven2): Connect to
> repo.maven.apac
>
> he.org:443 [repo.maven.apache.org/151.101.196.215] failed: Connection
> timed out:
>
> connect -> [Help 1]
>
> [ERROR]
>
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e swit
>
> ch.
>
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>
> [ERROR]
>
> [ERROR] For more information about the errors and possible solutions,
> please rea
>
> d the following articles:
>
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/
> PluginResoluti
>
> onException
>
>
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com]
> *Sent:* Wednesday, March 07, 2018 12:22 PM
> *To:* users@royale.apache.org
> *Subject:* Re: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> I got the same results, but tried again in the same directory with  *mvn
> -s settings-template.xml clean install *and it's building now!
>
>
>
> 2018-03-07 7:59 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>
> Hi Piotr,
>
> What should I do?
>
> Do You want me to delete all files name royale-asjs? Or delete other
> folders royale-compiler n others.
>
>
>
> Thanks Alina
>
>
>
> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com]
> *Sent:* Wednesday, March 07, 2018 12:07 PM
> *To:* users@royale.apache.org
> *Subject:* Re: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Ok! I just cloned separate repository and got similar problem. ->
> https://paste.apache.org/HuYU
>
>
>
> 2018-03-07 7:42 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>
> Similar Error
>
>
>
> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com]
> *Sent:* Wednesday, March 07, 2018 11:41 AM
> *To:* users@royale.apache.org
> *Subject:* Re: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Use *"mvn -s settings-template.xml clean install" *without pointing to
> profile -P utils.
>
>
>
> 2018-03-07 7:22 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>
> Hi Piotr,
>
> Getting Similar Error in all cases.
>
> C:\Users\aleena>git clone https://github.com/apache/royale-asjs
>
> Cloning into 'royale-asjs'...
>
> remote: Counting objects: 101055, done.
>
> remote: Compressing objects: 100% (127/127), done.
>
> remote: Total 101055 (delta 101), reused 183 (delta 63), pack-reused 100828
>
> Receiving objects: 100% (101055/101055), 19.27 MiB | 249.00 KiB/s, done.
>
> Resolving deltas: 100% (61539/61539), done.
>
> Checking out files: 100% (3572/3572), done.
>
>
>
> C:\Users\aleena>cd royale-asjs
>
>
>
> C:\Users\aleena\royale-asjs>git checkout develop
>
> Already on 'develop'
>
> Your branch is up to date with 'origin/develop'.
>
>
>
> C:\Users\aleena\royale-asjs>mvn -s settings-template.xml clean install -P
> utils
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> Downloading from apache-snapshots: http://repository.apache.org/
> snapshots/org/ap
>
> ache/flex/utilities/converter/flex-sdk-converter-maven-
> extension/1.0.0-SNAPSHOT/
>
> maven-metadata.xml
>
> [WARNING] Could not transfer metadata org.apache.flex.utilities.
> converter:flex-s
>
> dk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from/to
> apache-sn
>
> apshots (http://repository.apache.org/snapshots/): Connect to
> repository.apache.
>
> org:80 [repository.apache.org/207.244.88.140] failed: Connection timed
> out: conn
>
> ect
>
> [WARNING] Failure to transfer org.apache.flex.utilities.
> converter:flex-sdk-conve
>
> rter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from
> http://repository.ap
>
> ache.org/snapshots/ was cached in the local repository, resolution will
> not be r
>
> eattempted until the update interval of apache-snapshots has elapsed or
> updates
>
> are forced. Original error: Could not transfer metadata
> org.apache.flex.utilitie
>
> s.converter:flex-sdk-converter-maven-extension:1.0.
> 0-SNAPSHOT/maven-metadata.xml
>
>  from/to apache-snapshots (http://repository.apache.org/snapshots/):
> Connect to
>
> repository.apache.org:80 [repository.apache.org/207.244.88.140] failed:
> Connecti
>
> on timed out: connect
>
> Downloading from apache-snapshots: http://repository.apache.org/
> snapshots/org/ap
>
> ache/flex/utilities/converter/flex-sdk-converter-maven-
> extension/1.0.0-SNAPSHOT/
>
> flex-sdk-converter-maven-extension-1.0.0-SNAPSHOT.pom
>
> [WARNING] Failed to read extensions descriptor
> C:\Users\aleena\royale-asjs\.mvn\
>
> extensions.xml: Plugin org.apache.flex.utilities.
> converter:flex-sdk-converter-ma
>
> ven-extension:1.0.0-SNAPSHOT or one of its dependencies could not be
> resolved: F
>
> ailed to read artifact descriptor for org.apache.flex.utilities.
> converter:flex-s
>
> dk-converter-maven-extension:jar:1.0.0-SNAPSHOT
>
> [INFO] Scanning for projects...
>
> Downloading from apache-release: https://repository.apache.org/
> content/repositor
>
> ies/releases/org/apache/apache/18/apache-18.pom
>
> Downloading from central: https://repo.maven.apache.org/
> maven2/org/apache/apache
>
> /18/apache-18.pom
>
> [ERROR] [ERROR] Some problems were encountered while processing the POMs:
>
> [FATAL] Non-resolvable parent POM for org.apache.royale.framework:
> royale-framewo
>
> rk-parent:0.9.2-SNAPSHOT: Could not transfer artifact
> org.apache:apache:pom:18 f
>
> rom/to apache-release (https://repository.apache.org/content/repositories/
> releas
>
> es): Connect to repository.apache.org:443 [repository.apache.org/207.
> 244.88.140]
>
>  failed: Connection timed out: connect and 'parent.relativePath' points at
> no lo
>
> cal POM @ line 24, column 11
>
>  @
>
> [ERROR] The build could not read 1 project -> [Help 1]
>
> [ERROR]
>
> [ERROR]   The project org.apache.royale.framework:
> royale-framework-parent:0.9.2-
>
> SNAPSHOT (C:\Users\aleena\royale-asjs\pom.xml) has 1 error
>
> [ERROR]     Non-resolvable parent POM for org.apache.royale.framework:
> royale-fra
>
> mework-parent:0.9.2-SNAPSHOT: Could not transfer artifact
> org.apache:apache:pom:
>
> 18 from/to apache-release (https://repository.apache.
> org/content/repositories/re
>
> leases): Connect to repository.apache.org:443 [repository.apache.org/207.
> 244.88.
>
> 140] failed: Connection timed out: connect and 'parent.relativePath'
> points at n
>
> o local POM @ line 24, column 11 -> [Help 2]
>
> [ERROR]
>
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e swit
>
> ch.
>
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>
> [ERROR]
>
> [ERROR] For more information about the errors and possible solutions,
> please rea
>
> d the following articles:
>
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/
> ProjectBuildin
>
> gException
>
> [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/
> UnresolvableMo
>
> delException
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com]
> *Sent:* Wednesday, March 07, 2018 11:25 AM
> *To:* users@royale.apache.org
> *Subject:* Re: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Alina,
>
>
>
> I see in your trace that you have cloned typedefs instead asjs -> "git
> clone https://github.com/apache/royale-typedefs.git". You should clone:
>
>
>
> git clone https://github.com/apache/royale-asjs and switch to "develop"
> branch than try to build.
>
>
>
> However let me try build typedefs only in the meantime clone asjs and try
> again.
>
>
>
> Thanks, Piotr
>
>
>
>
>
> 2018-03-07 7:19 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
>
> Alina,
>
>
>
> Not sure, but let me try that on my sight, however I doubt that. Maven is
> a very distinguished from all the environment variables. If you got that
> build running you don't have to use almost all. :)
>
>
>
> 2018-03-07 7:03 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>
> Hi Piotr,
>
>
>
> ROYALE_HOME environment variable is set to D:\royale-asjs that is the path
> for installed latest nightly build. This could be the reason ?
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com]
> *Sent:* Wednesday, March 07, 2018 10:56 AM
> *To:* users@royale.apache.org
> *Subject:* Re: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Please try again build. Maybe it was some temporary problem. My build is
> running right now without the problem. Maven downloading dependencies
> nicely.
>
>
>
> Thanks, Piotr
>
>
>
> 2018-03-07 6:39 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>
> Hi Piotr,
>
> Its Working.
>
> This XML file does not appear to have any style information associated
> with it. The document tree is shown below.
>
> <metadata modelVersion="1.1.0">
>
> <groupId>org.apache.flex.utilities.converter</groupId>
>
> <artifactId>retrievers</artifactId>
>
> <version>1.0.0-SNAPSHOT</version>
>
> <versioning>
>
> <snapshot>
>
> <timestamp>20171112.204231</timestamp>
>
> <buildNumber>490</buildNumber>
>
> </snapshot>
>
> <lastUpdated>20171112204231</lastUpdated>
>
> <snapshotVersions>
>
> <snapshotVersion>
>
> <extension>pom</extension>
>
> <value>1.0.0-20171112.204231-490</value>
>
> <updated>20171112204231</updated>
>
> </snapshotVersion>
>
> </snapshotVersions>
>
> </versioning>
>
> </metadata>
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com]
> *Sent:* Wednesday, March 07, 2018 10:48 AM
> *To:* users@royale.apache.org
> *Subject:* Re: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Hi Alina,
>
>
>
> I just removed my whole local repository and trying exactly the same
> scenario. Just quick question can you try in your browser open this link ?
> Is it working ?
>
>
>
> http://repository.apache.org/snapshots/org/apache/flex/
> utilities/converter/retrievers/1.0.0-SNAPSHOT/maven-metadata.xml
>
>
>
> Thanks,
>
> Piotr
>
>
>
> 2018-03-07 6:27 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>
> Hi Piotr,
>
> Using Maven :
>
> C:\Users\aleena>git clone https://github.com/apache/royale-typedefs.git
> royale-a
>
> sjs
>
> Cloning into 'royale-asjs'...
>
> remote: Counting objects: 3318, done.
>
> remote: Compressing objects: 100% (93/93), done.
>
> remote: Total 3318 (delta 48), reused 76 (delta 16), pack-reused 3200
>
> Receiving objects: 100% (3318/3318), 3.51 MiB | 244.00 KiB/s, done.
>
> Resolving deltas: 100% (1337/1337), done.
>
>
>
> C:\Users\aleena>cd royale-asjs
>
>
>
> C:\Users\aleena\royale-asjs>git checkout develop
>
> Already on 'develop'
>
> Your branch is up to date with 'origin/develop'.
>
>
>
> C:\Users\aleena\royale-asjs>mvn -s settings-template.xml clean install
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> Downloading from apache-snapshots: http://repository.apache.org/
> snapshots/org/ap
>
> ache/flex/utilities/converter/flex-sdk-converter-maven-
> extension/1.0.0-SNAPSHOT/
>
> maven-metadata.xml
>
> [WARNING] Could not transfer metadata org.apache.flex.utilities.
> converter:flex-s
>
> dk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from/to
> apache-sn
>
> apshots (http://repository.apache.org/snapshots/): Connect to
> repository.apache.
>
> org:80 [repository.apache.org/207.244.88.140] failed: Connection timed
> out: conn
>
> ect
>
> [WARNING] Failure to transfer org.apache.flex.utilities.
> converter:flex-sdk-conve
>
> rter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from
> http://repository.ap
>
> ache.org/snapshots/ was cached in the local repository, resolution will
> not be r
>
> eattempted until the update interval of apache-snapshots has elapsed or
> updates
>
> are forced. Original error: Could not transfer metadata
> org.apache.flex.utilitie
>
> s.converter:flex-sdk-converter-maven-extension:1.0.
> 0-SNAPSHOT/maven-metadata.xml
>
>  from/to apache-snapshots (http://repository.apache.org/snapshots/):
> Connect to
>
> repository.apache.org:80 [repository.apache.org/207.244.88.140] failed:
> Connecti
>
> on timed out: connect
>
> Downloading from apache-snapshots: http://repository.apache.org/
> snapshots/org/ap
>
> ache/flex/utilities/converter/flex-sdk-converter-maven-
> extension/1.0.0-SNAPSHOT/
>
> flex-sdk-converter-maven-extension-1.0.0-SNAPSHOT.pom
>
> [WARNING] Failed to read extensions descriptor
> C:\Users\aleena\royale-asjs\.mvn\
>
> extensions.xml: Plugin org.apache.flex.utilities.
> converter:flex-sdk-converter-ma
>
> ven-extension:1.0.0-SNAPSHOT or one of its dependencies could not be
> resolved: F
>
> ailed to read artifact descriptor for org.apache.flex.utilities.
> converter:flex-s
>
> dk-converter-maven-extension:jar:1.0.0-SNAPSHOT
>
> [INFO] Scanning for projects...
>
> Downloading from apache-release: https://repository.apache.org/
> content/repositor
>
> ies/releases/org/apache/apache/18/apache-18.pom
>
> Downloading from central: https://repo.maven.apache.org/
> maven2/org/apache/apache
>
> /18/apache-18.pom
>
> [ERROR] [ERROR] Some problems were encountered while processing the POMs:
>
> [FATAL] Non-resolvable parent POM for org.apache.royale.typedefs:
> royale-typedefs
>
> -parent:0.9.2-SNAPSHOT: Could not transfer artifact
> org.apache:apache:pom:18 fro
>
> m/to apache-release (https://repository.apache.org/content/repositories/
> releases
>
> ): Connect to repository.apache.org:443 [repository.apache.org/207.
> 244.88.140] f
>
> ailed: Connection timed out: connect and 'parent.relativePath' points at
> wrong l
>
> ocal POM @ line 23, column 11
>
>  @
>
> [ERROR] The build could not read 1 project -> [Help 1]
>
> [ERROR]
>
> [ERROR]   The project org.apache.royale.typedefs:
> royale-typedefs-parent:0.9.2-SN
>
> APSHOT (C:\Users\aleena\royale-asjs\pom.xml) has 1 error
>
> [ERROR]     Non-resolvable parent POM for org.apache.royale.typedefs:
> royale-type
>
> defs-parent:0.9.2-SNAPSHOT: Could not transfer artifact
> org.apache:apache:pom:18
>
>  from/to apache-release (https://repository.apache.
> org/content/repositories/rele
>
> ases): Connect to repository.apache.org:443 [repository.apache.org/207.
> 244.88.14
>
> 0] failed: Connection timed out: connect and 'parent.relativePath' points
> at wro
>
> ng local POM @ line 23, column 11 -> [Help 2]
>
> [ERROR]
>
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e swit
>
> ch.
>
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>
> [ERROR]
>
> [ERROR] For more information about the errors and possible solutions,
> please rea
>
> d the following articles:
>
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/
> ProjectBuildin
>
> gException
>
> [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/
> UnresolvableMo
>
> delException
>
>
>
> C:\Users\aleena\royale-asjs>
>
>
>
> Thanks
>
> Alina
>
>
>
> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com]
> *Sent:* Tuesday, March 06, 2018 5:30 PM
> *To:* users@royale.apache.org
> *Subject:* Re: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Hi Alina,
>
>
>
> You can try to go with Maven to see whether you have similar problems [1]
>
>
>
> [1] https://github.com/apache/royale-asjs/wiki/Build-Apache-
> Royale-with-Maven
>
>
>
> Thanks, Piotr
>
>
>
> 2018-03-06 13:12 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>
> Hi Alex,
>
> Still getting same error, while executing:
>
> C:\Users\aleena\royale-asjs>ant all
>
> Website link is working :
>
> http://www.antlr.org/license.html
>
>
>
> could be only issue , Antlr server will be off-line ?
>
>
>
> Thanks,
>
> Alina
>
> *From:* Alina Kazi [mailto:alina.kazi@d-bz.com]
> *Sent:* Tuesday, March 06, 2018 4:38 PM
> *To:* 'users@royale.apache.org'
> *Subject:* RE: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Hi Alex,
>
>
>
> We can exclude ScaleX , ScaleY,transform from our code as we are using it
> in our Library Project Only.
>
> We are using “Rotation” in a PopUp Window.
>
>
>
> Can you please explain *emulation* ?
>
> How do they will work?
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alina Kazi [mailto:alina.kazi@d-bz.com]
> *Sent:* Tuesday, March 06, 2018 3:14 PM
> *To:* 'users@royale.apache.org'
> *Subject:* RE: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Hi Alex,
>
> We are using commitProperties() in our Library Project. Overriding the
> Existing Spark commitProperties() method
>
> For Example:
>
> ResizableTextAreaSkin.mxml (SHMALib)
>
> override protected function commitProperties():void {
>
>                                                 super.commitProperties();
>
>
>
>                                                 if (lineBreakChanged) {
>
>
> updateStringStyle("lineBreak");
>
>
> lineBreakChanged = false;
>
>                                                 }
>
>                                                 if (paddingChanged) {
>
>
> updatePadding();
>
>
> paddingChanged = false;
>
>                                                 }
>
>                                                 if (verticalAlignChanged)
> {
>
>
> updateStringStyle("verticalAlign");
>
>
> verticalAlignChanged = false;
>
>                                                 }
>
>                                 }
>
> We are using
>
> *Package*
>
> flash.display
> <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/package-detail.html>
>
> *Class*
>
> public class DisplayObject
>
> *Inheritance*
>
> DisplayObject [image: Inheritance] EventDispatcher
> <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/EventDispatcher.html>
>  [image: Inheritance] Object
> <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Object.html>
>
> *Reference Link:*
>
> https://help.adobe.com/en_US/FlashPlatform/reference/
> actionscript/3/flash/display/DisplayObject.html
>
>
>
> e.g :
>
>                 public function updateLayoutWithoutAnimation():void
>
>                                 {
>
>                                                 if(_layoutInvalid == true
> && layoutFunction != null)
>
>                                                 {
>
>
> _layoutInvalid = false;
>
>
> layoutFunction();
>
>                                                 }
>
>
>
>                                                 for(var aChild:* in
> _targets)
>
>                                                 {
>
>                                                                 var
> target:LayoutTarget = _targets[aChild];
>
>                                                                 var
> item:IFlexDisplayObject = target.item;
>
>                                                                 var
> m:Matrix = DisplayObject(item).transform.matrix;
>
>
>
>                                                                 m.tx =
> target.x;
>
>                                                                 m.ty =
> target.y;
>
>                                                                 m.a =
> target.scaleX;
>
>
>                                                                 m.d =
> target.scaleY
>
>
>
>
> DisplayObject(item).alpha = target.alpha;
>
>
> DisplayObject(item).transform.matrix = m;
>
>
> item.setActualSize(target.unscaledWidth,target.unscaledHeight);
>
>
> if(target.state == "removed")
>
>                                                                 {
>
>
> delete _targets[target.item];
>
>
> continue;
>
>                                                                 }
>
>                                                                 else
>
>                                                                 {
>
>
> target.state = "positioned"
>
>                                                                 }
>
>                                                 }
>
>                                                 stopTimer();
>
>                                 }
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com]
> *Sent:* Tuesday, March 06, 2018 1:36 PM
> *To:* users@royale.apache.org
> *Subject:* API Usage in Flex Web Browser application (was Re: Generating
> API report for Flex Web Browser application)
>
>
>
> Hi Alina,
>
>
>
> I'm starting on the emulation.  I've noticed that your application code
> appears to be calling commitProperties().  Can you tell us why?
>
>
>
> Also, it looks like there are a few uses of rotation, transform, scaleX
> and scaleY.  What are those used for?
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alex Harui <ah...@adobe.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, March 5, 2018 at 11:38 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> Try again.  Sometimes the Antlr server goes off-line around this time of
> day.
>
>
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, March 5, 2018 at 11:12 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> Using jdk1.8.0_162:
>
>
>
> C:\Users\aleena\royale-asjs>ant all
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> Buildfile: C:\Users\aleena\royale-asjs\build.xml
>
>
>
> set.base.folder:
>
>
>
> check-git:
>
>      [echo] Checking for Git...
>
>      [exec] git version 2.16.2.windows.1
>
>
>
> get-download-folder:
>
>
>
> download-all:
>
>      [echo] Using folder C:\Users\aleena\royale-asjs/..
>
>
>
> check-royale-asjs:
>
>
>
> warn-before-clone:
>
>
>
> check-royale-asjs:
>
>
>
> clone-royale-asjs:
>
>
>
> check-royale-compiler:
>
>
>
> clone-royale-compiler:
>
>
>
> check-royale-typedefs:
>
>
>
> clone-royale-typedefs:
>
>
>
> check-playerglobal-home:
>
>
>
> check-air-home:
>
>
>
> build-all:
>
>
>
> ask-before-build-all:
>
>     [input] This script will now download and compile lots of files.  This
> can t
>
> ake several minutes.   No interaction should be required.  Press the enter
> key t
>
> o continue.
>
>
>
>
>
> sdk:
>
>
>
> annotate.class:
>
>     [javac] Compiling 1 source file to C:\Users\aleena\royale-
> compiler\compiler-
>
> build-tools\target\classes
>
>     [javac] warning: [options] bootstrap class path not set in conjunction
> with
>
> -source 1.5
>
>     [javac] warning: [options] source value 1.5 is obsolete and will be
> removed
>
> in a future release
>
>     [javac] warning: [options] target value 1.5 is obsolete and will be
> removed
>
> in a future release
>
>     [javac] warning: [options] To suppress warnings about obsolete
> options, use
>
> -Xlint:-options.
>
>     [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\
> src\main\java\o
>
> rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:24: warning:
> [serial
>
> ] serializable class AnnotateClassDeleteException has no definition of
> serialVer
>
> sionUID
>
>     [javac]     public static class AnnotateClassDeleteException extends
> Excepti
>
> on
>
>     [javac]                   ^
>
>     [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\
> src\main\java\o
>
> rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:32: warning:
> [serial
>
> ] serializable class AnnotateClassRenameException has no definition of
> serialVer
>
> sionUID
>
>     [javac]     public static class AnnotateClassRenameException extends
> Excepti
>
> on
>
>     [javac]                   ^
>
>     [javac] 6 warnings
>
>
>
> unknown.tree.pattern.input.output:
>
>     [javac] Compiling 1 source file to C:\Users\aleena\royale-
> compiler\compiler-
>
> build-tools\target\classes
>
>     [javac] warning: [options] bootstrap class path not set in conjunction
> with
>
> -source 1.5
>
>     [javac] warning: [options] source value 1.5 is obsolete and will be
> removed
>
> in a future release
>
>     [javac] warning: [options] target value 1.5 is obsolete and will be
> removed
>
> in a future release
>
>     [javac] warning: [options] To suppress warnings about obsolete
> options, use
>
> -Xlint:-options.
>
>     [javac] 4 warnings
>
>
>
> main:
>
>
>
> compiler.downloads.cache:
>
>
>
> compiler.downloads:
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> prepare:
>
>      [echo] Making lib directory C:\Users\aleena\royale-
> compiler\compiler/lib/ex
>
> ternal
>
>     [mkdir] Created dir: C:\Users\aleena\royale-
> compiler\compiler\lib\external
>
>
>
> all:
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> check-dependency:
>
>      [echo] checking for C:\Users\aleena\royale-compiler\compiler/lib/
> external//
>
> antlr.jar
>
>
>
> download-dependency:
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> echo-project-jar:
>
>    [delete] Deleting: C:\Users\aleena\royale-compiler\compiler\src\main\
> resource
>
> s\project.properties
>
>      [echo] ${INFO_DOWNLOADING_FILE_FROM}
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> download-apache-license:
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> download-other-license:
>
>       [get] Getting: http://www.antlr.org/license.html
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0>
>
>       [get] To: C:\Users\aleena\royale-compiler\compiler\lib\
> external\antlr-LICE
>
> NSE.html
>
>       [get] Error getting http://www.antlr.org/license.html
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0>
> to C:\Users\aleena\r
>
> oyale-compiler\compiler\lib\external\antlr-LICENSE.html
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> double-check-file:
>
>      [echo] ${env.ROYALE_DOWNLOAD_CACHE}
>
>      [echo] Need file: ${still_no_file}
>
>
>
> get-from-cache-if-needed:
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> fail-if-not-found:
>
>
>
> BUILD FAILED
>
> C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred
> while e
>
> xecuting this line:
>
> C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred
> while e
>
> xecuting this line:
>
> C:\Users\aleena\royale-compiler\build.xml:64: The following error
> occurred while
>
>  executing this line:
>
> C:\Users\aleena\royale-compiler\compiler-jburg-types\build.xml:87: The
> following
>
>  error occurred while executing this line:
>
> C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:81:
> Th
>
> e following error occurred while executing this line:
>
> C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:275:
> T
>
> he following error occurred while executing this line:
>
> C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:329:
> T
>
> he following error occurred while executing this line:
>
> C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:489:
> C
>
> :\Users\aleena\royale-compiler\compiler/lib/external//antlr-LICENSE.html
> could n
>
> ot be downloaded or found in cache
>
>
>
> Total time: 47 seconds
>
>
>
> C:\Users\aleena\royale-asjs>
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Tuesday, March 06, 2018 11:55 AM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> Please use JDK8.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, March 5, 2018 at 10:40 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> Java version that I am using is “9.0.1”
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Tuesday, March 06, 2018 11:42 AM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> What version of Java are you using?  Please get a JDK7 or 8 and try that.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, March 5, 2018 at 10:22 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> Command Prompt Output is:
>
> C:\Users\aleena>git clone https://github.com/apache/royale-asjs.git
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs.git&data=02%7C01%7Caharui%40adobe.com%7Cdf86fa0dd25b41ffbc8108d5832f0997%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559160423949211&sdata=d9cKX4ILIQPLI5USXvAafSnrWZSgW1XHw6G4r%2B9wgsE%3D&reserved=0>
> royale-asjs
>
> Cloning into 'royale-asjs'...
>
> remote: Counting objects: 101103, done.
>
> remote: Compressing objects: 100% (22/22), done.
>
> remote: Total 101103 (delta 9), reused 30 (delta 7), pack-reused 101066R
>
> Receiving objects: 100% (101103/101103), 19.23 MiB | 208.00 KiB/s, done.
>
>
>
> Resolving deltas: 100% (61584/61584), done.
>
> Checking out files: 100% (3572/3572), done.
>
>
>
> C:\Users\aleena>cd royale-asjs
>
>
>
> C:\Users\aleena\royale-asjs>git checkout develop
>
> Already on 'develop'
>
> Your branch is up to date with 'origin/develop'.
>
>
>
> C:\Users\aleena\royale-asjs>ant all
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> Buildfile: C:\Users\aleena\royale-asjs\build.xml
>
>
>
> set.base.folder:
>
>
>
> check-git:
>
>      [echo] Checking for Git...
>
>      [exec] git version 2.16.2.windows.1
>
>
>
> get-download-folder:
>
>
>
> download-all:
>
>      [echo] Using folder C:\Users\aleena\royale-asjs/..
>
>
>
> check-royale-asjs:
>
>
>
> warn-before-clone:
>
>
>
> check-royale-asjs:
>
>
>
> clone-royale-asjs:
>
>
>
> check-royale-compiler:
>
>
>
> clone-royale-compiler:
>
>      [echo] cloning royale-compiler repo into
> C:\Users\aleena\royale-asjs/../roy
>
> ale-compiler
>
>      [exec] Cloning into 'royale-compiler'...
>
>      [exec] Checking out files:   8% (284/3191)
>
>      [exec] Checking out files:   9% (288/3191)   Checking out files:  10%
> (320/
>
> 3191)   Checking out files:  11% (352/3191)   Checking out files:  12%
> (383/3191
>
> )   Checking out files:  13% (415/3191)   Checking out files:  13%
> (444/3191)
>
> Checking out files:  14% (447/3191)   Checking out files:  15%
> (479/3191)   Chec
>
> king out files:  16% (511/3191)   Checking out files:  17% (543/3191)
> Checking
>
>  out files:  18% (575/3191)   Checking out files:  19% (607/3191)
> Checking out
>
>  files:  20% (639/3191)   Checking out files:  20% (641/3191)   Checking
> out fil
>
> es:  21% (671/3191)   Checking out files:  22% (703/3191)   Checking out
> files:
>
>  23% (734/3191)   Checking out files:  24% (766/3191)   Checking out
> files:  25%
>
>  (798/3191)   Checking out files:  26% (830/3191)   Checking out files:
> 26% (84
>
> 2/3191)   Checking out files:  27% (862/3191)   Checking out files:  28%
> (894/31
>
> 91)   Checking out files:  29% (926/3191)   Checking out files:  30%
> (958/3191)
>
>   Checking out files:  31% (990/3191)   Checking out files:  32%
> (1022/3191)   C
>
> hecking out files:  33% (1054/3191)   Checking out files:  34%
> (1085/3191)   Che
>
> cking out files:  35% (1117/3191)   Checking out files:  36% (1149/3191)
> Check
>
> ing out files:  37% (1181/3191)   Checking out files:  38% (1213/3191)
> Checkin
>
> g out files:  39% (1245/3191)   Checking out files:  40% (1277/3191)
> Checking
>
> out files:  40% (1308/3191)   Checking out files:  41% (1309/3191)
> Checking ou
>
> t files:  42% (1341/3191)   Checking out files:  42% (1352/3191)
> Checking out
>
> files:  43% (1373/3191)   Checking out files:  44% (1405/3191)   Checking
> out fi
>
> les:  45% (1436/3191)   Checking out files:  46% (1468/3191)   Checking
> out file
>
> s:  47% (1500/3191)   Checking out files:  48% (1532/3191)   Checking out
> files:
>
>   49% (1564/3191)   Checking out files:  49% (1578/3191)   Checking out
> files:
>
> 50% (1596/3191)   Checking out files:  51% (1628/3191)   Checking out
> files:  52
>
> % (1660/3191)   Checking out files:  53% (1692/3191)   Checking out
> files:  54%
>
> (1724/3191)   Checking out files:  55% (1756/3191)   Checking out files:
> 56% (1
>
> 787/3191)   Checking out files:  57% (1819/3191)   Checking out files:
> 58% (185
>
> 1/3191)   Checking out files:  59% (1883/3191)   Checking out files:  60%
> (1915/
>
> 3191)   Checking out files:  61% (1947/3191)   Checking out files:  62%
> (1979/31
>
> 91)   Checking out files:  63% (2011/3191)   Checking out files:  63%
> (2022/3191
>
> )   Checking out files:  64% (2043/3191)   Checking out files:  65%
> (2075/3191)
>
>   Checking out files:  66% (2107/3191)   Checking out files:  67%
> (2138/3191)
>
> Checking out files:  68% (2170/3191)   Checking out files:  69%
> (2202/3191)   Ch
>
> ecking out files:  70% (2234/3191)   Checking out files:  71%
> (2266/3191)   Chec
>
> king out files:  72% (2298/3191)   Checking out files:  73% (2330/3191)
> Checki
>
> ng out files:  74% (2362/3191)   Checking out files:  75% (2394/3191)
> Checking
>
>  out files:  76% (2426/3191)   Checking out files:  77% (2458/3191)
> Checking o
>
> ut files:  78% (2489/3191)   Checking out files:  79% (2521/3191)
> Checking out
>
>  files:  80% (2553/3191)   Checking out files:  81% (2585/3191)   Checking
> out f
>
> iles:  82% (2617/3191)   Checking out files:  83% (2649/3191)   Checking
> out fil
>
> es:  83% (2679/3191)   Checking out files:  84% (2681/3191)   Checking out
> files
>
> :  85% (2713/3191)   Checking out files:  86% (2745/3191)   Checking out
> files:
>
>  87% (2777/3191)   Checking out files:  88% (2809/3191)   Checking out
> files:  8
>
> 9% (2840/3191)   Checking out files:  89% (2845/3191)   Checking out
> files:  90%
>
>  (2872/3191)   Checking out files:  91% (2904/3191)   Checking out files:
> 92% (
>
> 2936/3191)   Checking out files:  93% (2968/3191)   Checking out files:
> 94% (30
>
> 00/3191)   Checking out files:  95% (3032/3191)   Checking out files:  95%
> (3035
>
> /3191)   Checking out files:  96% (3064/3191)   Checking out files:  97%
> (3096/3
>
> 191)   Checking out files:  98% (3128/3191)   Checking out files:  99%
> (3160/319
>
> 1)   Checking out files: 100% (3191/3191)   Checking out files: 100%
> (3191/3191)
>
> , done.
>
>      [exec] Your branch is up to date with 'origin/develop'.
>
>      [exec] Already on 'develop'
>
>
>
> check-royale-typedefs:
>
>
>
> clone-royale-typedefs:
>
>      [echo] cloning royale-typedefs repo into
> C:\Users\aleena\royale-asjs/../roy
>
> ale-typedefs
>
>      [exec] Cloning into 'royale-typedefs'...
>
>      [exec] Your branch is up to date with 'origin/develop'.
>
>      [exec] Already on 'develop'
>
>
>
> check-playerglobal-home:
>
>
>
> check-air-home:
>
>
>
> build-all:
>
>
>
> ask-before-build-all:
>
>     [input] This script will now download and compile lots of files.  This
> can t
>
> ake several minutes.   No interaction should be required.  Press the enter
> key t
>
> o continue.
>
>
>
> sdk:
>
>
>
> annotate.class:
>
>     [mkdir] Created dir: C:\Users\aleena\royale-
> compiler\compiler-build-tools\ta
>
> rget\classes
>
>     [javac] Compiling 1 source file to C:\Users\aleena\royale-
> compiler\compiler-
>
> build-tools\target\classes
>
>     [javac] warning: [options] bootstrap class path not set in conjunction
> with
>
> -source 1.5
>
>     [javac] error: Source option 1.5 is no longer supported. Use 1.6 or
> later.
>
>     [javac] error: Target option 1.5 is no longer supported. Use 1.6 or
> later.
>
>
>
> BUILD FAILED
>
> C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred
> while e
>
> xecuting this line:
>
> C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred
> while e
>
> xecuting this line:
>
> C:\Users\aleena\royale-compiler\build.xml:63: The following error
> occurred while
>
>  executing this line:
>
> C:\Users\aleena\royale-compiler\compiler-build-tools\build.xml:74:
> Compile faile
>
> d; see the compiler error output for details.
>
>
>
> Total time: 17 minutes 59 seconds
>
>
>
> C:\Users\aleena\royale-asjs>
>
>
>
> Unable to Build, Please guide.
>
>
>
> Thanks,
>
> Alina
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Friday, March 02, 2018 10:31 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> I was able to download and expand the files.  I will be consolidating the
> data today.
>
>
>
> In order to be able to write some of these emulations, you will probably
> need to be able to build the framework sources.  If you haven't already,
> you can try cloning the royale-asjs repo and figure out how to get it to
> build.  You can choose Apache Maven or Apache Ant as the build tool.
>
>
>
> https://github.com/apache/royale-asjs
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs&data=02%7C01%7Caharui%40adobe.com%7C3c1833c1fc9442003f2608d5832c7fe0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559149534170415&sdata=YqGTpbzoou8SilHbsTxjriIjiREaS%2FA9j6xjZYRR%2F4E%3D&reserved=0>
>
>
>
> Hopefully the instruction in the readme are sufficient.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Friday, March 2, 2018 at 12:34 AM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> Application API-Report link:
>
> https://www.dropbox.com/s/swvqhly6wa0jrc5/API-Reports.rar?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fswvqhly6wa0jrc5%2FAPI-Reports.rar%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C928c248220464230f6dd08d5801a2f13%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555772324148830&sdata=9%2BsrGG41iCMIEmbtqnEbV%2BPvi1ngE9vF%2BKuqPAZ%2Bzao%3D&reserved=0>
>
> SHMALib Report, applications,shmDoclist,shmSetupList,AppView_EIS,
> AppView_ERP,shmMappingSetup, shmMappingSetupOpenDetailGrid,shmSalesInvoice,
> shmSalesInvoiceDetail are main API Files.
>
>
>
> Regards,
>
> Alina
>
>
>
>
>
>
>
>
>
> *From:* Alina Kazi [mailto:alina.kazi@d-bz.com <al...@d-bz.com>]
> *Sent:* Friday, March 02, 2018 11:32 AM
> *To:* users@royale.apache.org
> *Subject:* RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> 2) We are using Effects in our Application 2-3 times
>
> 4) We are using text styling in our Application 3-5 times
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Friday, March 02, 2018 4:26 AM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> 1) Interesting about Charts.  They were being used by the SWC.
>
> 2) Effects are any animations that move, resize or fade things in the UI.
>
> 3) ok
>
> 4) I'm not sure what to conclude from the screenshot.  I'm interested in
> how often folks use it to create text with bold, italics and other styling
> of text.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Thursday, March 1, 2018 at 4:24 AM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> 600 mxml.api.txt files are generated and still in process. I will share
> link for files tomorrow.
>
> After sharing my files tomorrow, If you will suggest to build  emulations.
>
>
> I will  definitely want to learn how to create emulations and contribute
> them to Apache Royale.
>
> 1.We are not using Charts in our Application
>
> 2. How important are effects? (Please explain effects )
>
> 3. We are not using Right-to-left languages in RichTextEditor.
>
> 4. Is RichTextEditor being used for non-plain text?  If so, what kinds of
> text styling is important?
>
> Link:https://www.dropbox.com/s/ky93eycmefm3cuu/RICHTEXTEDITOR.png?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fky93eycmefm3cuu%2FRICHTEXTEDITOR.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cff526ec5592c42772ade08d57f713736%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555046634193460&sdata=BjS8q1GarTweRfMMmZOKxN%2FTQTqhtzJlm05KAtWnNTQ%3D&reserved=0>
>
> Thanks,
>
> Alina
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Wednesday, February 28, 2018 10:45 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> Good to hear it worked.
>
>
>
> I think I am waiting on all of the mxml.api.txt files to see what else is
> in there that isn't in the two reports we have, then we'll have a pretty
> good list of the places you will either need to change in your code or that
> we  will build emulations for.
>
>
>
> I think emulations will be less work in the end, but there will be a lot
> of them to do.  We will want to you to learn how to create emulations and
> contribute them to Apache Royale.  That's how many Apache projects work:
> some of the users learn how to become committers.  This will be an asset to
> your company as well since you will learn how to fix things in Royale
> yourself.  Then your company won't be dependent on outsiders for support.
>
>
>
> So, Peter and I and hopefully others will get started on some emulations
> to make sure they work for us, and then you can see if they work for you,
> and then we will teach you how to write those emulations.  Over the next
> several months, besides testing emulations written by others in your app,
> you will be writing your own emulations for things you need right away that
> we haven't written yet, or for third-party code that you are using.
>
>
>
> It might help to get some prioritization on the emulations we need to
> write.  In looking at the list, I am wondering:
>
>    1. Are some charts more important than others?
>    2. How important are effects?
>    3. Do you use Right-to-left languages in RichTextEditor?
>    4. Is RichTextEditor being used for non-plain text?  If so, what kinds
>    of text styling is important?
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Wednesday, February 28, 2018 at 1:22 AM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> Thank you.
>
> It’s working with latest nightly build:
>
> https://www.dropbox.com/s/77wkgrm74upkg0j/SHMALib%20Report.txt?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F77wkgrm74upkg0j%2FSHMALib%2520Report.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C16fa845b6d2f4efb7f4a08d57e8e9097%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636554073167111532&sdata=UV0BOZpVonw%2BILcK9njhQdf5pKpqWPccp0IKDPm4jOI%3D&reserved=0>
>
>
>
>
>
> Regards,
>
> Alina
>
>
>
>
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Wednesday, February 28, 2018 1:15 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> Looks like COMPC collected the data but never generated the report.  I
> pushed a fix for that.  Please try the latest nightly build.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Tuesday, February 27, 2018 at 10:35 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> Thank you
>
> After commenting the embedded font part from source.
>
> Output to console:
>
> 3462313 bytes written to D:\SHMALib.swc in 19.878 seconds
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
> "D:\SHMALib.swc"
>
>  -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bin\framewor
>
> ks\flex-config.xml -source-path="D:\SHMALIB\src"
> -include-sources="D:\SHMALIB\sr
>
> c" -library-path+=D:\SHMALIB\libs
>
>
>
> SHMALib.swf file Generated and Report.txt is empty
>
> *SHMALib.swc output Link:*
>
> https://www.dropbox.com/s/4tz49sz134m2gg9/SHMALib.swc?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F4tz49sz134m2gg9%2FSHMALib.swc%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=%2FNcbTJtah21RRPeWfwg2pRaZ72hd%2BdG0iJlnH3GsA28%3D&reserved=0>
>
> then I change, Compc -output "D:\SHMALib.swc" to Compc -output
> "D:\SHMALib. txt "
>
> *SHMALib.txt output Link:*
>
> https://www.dropbox.com/s/j38obt5e36awuh3/SHMALib.txt?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fj38obt5e36awuh3%2FSHMALib.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=V%2FcA5dJ3Fi1qOvh%2BtUlbU%2FZ%2FQ5SBfRw7psjsm2Q%2Fe8w%3D&reserved=0>
>
>
>
> Thanks,
>
> Alina
>
>
>
>
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Wednesday, February 28, 2018 11:18 AM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> The only error right now is the embedded font.
>
>
>
> We can discuss the pros and cons of embedding images in the JS output at
> some other point in time.
>
>
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Tuesday, February 27, 2018 at 10:01 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Big Part of SHMALib Uses Embed and metadata :
>
>
>
>                                 // Embed the font so we can rotate it for
> further distortion
>
>                                 [Embed(systemFont="Comic Sans MS",
>
>
> embedAsCFF='false')]
>
>                 <mx:Image y="4" width="18" height="20" right="185"
> source="@Embed(source='assets/default/images/load.png')"
>
>
> source="@Embed(source='assets/default/images/next.gif')"
> scaleContent="false"/>
>
>                 <mx:Image y="4" width="18" height="20" right="3"
> source="@Embed(source='assets/default/images/magnifier.png')"
>
>      * An IFrame which you can embed into Flex applications to show an
> HTML page.
>
>      * @example A simple application with Google embedded
>
>         // SWF embed object tracking
>
>          * The SWF embed object id.
>
>          * Get the embed object id.
>
>         protected function resolveEmbedObjectId():void
>
>                     var result:Object=ExternalInterface.call(
> IFrameExternalCalls.FUNCTION_ASK_FOR_EMBED_OBJECT_ID,
> randomIdentificationString.toString());
>
>                         logger.info("Resolved the SWF embed object id to
> '{0}'.", applicationId);
>
>                         logger.error('Could not resolve the SWF embed
> object Id.');
>
>             // Resolve the SWF embed object id in the DOM.
>
>             ExternalInterface.call(IFrameExternalCalls.INSERT_
> FUNCTION_ASK_FOR_EMBED_OBJECT_ID);
>
>             resolveEmbedObjectId();
>
>             logger.info("Loading IFrame with id '{0}', on SWF embed
> object with id '{1}'.", _frameId, applicationId);
>
>                     FUNCTION_LOADIFRAME + " = function (frameID, iframeID,
> url, embedID, scrollPolicy)" +
>
>                                       "onLoad='\"+embedID+\".\"+frameID+\"_load();'
> " +
>
>         public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =
> "askForEmbedObjectId";
>
>         public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =
> "askForEmbedObjectId";
>
>         public static var INSERT_FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =
>
>                 "if (document." + FUNCTION_ASK_FOR_EMBED_OBJECT_ID +
> "==null)" +
>
>                     FUNCTION_ASK_FOR_EMBED_OBJECT_ID + " =
> function(randomString) " +
>
>                             "var embeds = document.getElementsByTagName('embed');
> " +
>
>                             "var embeds = document.getElementsByTagName('embed');
> " +
>
>                             "for (var i = 0; i < embeds.length; i++) { " +
>
>                                 "var isTheGoodOne =
> embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " +
>
>                                 "var isTheGoodOne =
> embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " +
>
>                                     "return embeds[i].getAttribute('id');
> " +
>
>                                  * The UITextField control for displaying
> embeded hints.
>
>                                 private var embedTextField:UITextField;
>
>                                  *  The String to be shown as the embeded
> hint.
>
>                                 private var embedStr:String = "";
>
>
> embedStr = "MM DD YYYY";
>
>
> embedStr = "DD MM YYYY";
>
>
> embedStr = "YYYY MM DD";
>
>
> embedStr = "YYYY DD MM";
>
>                                  *  Create child objects for displaying
> embeded hints.
>
>
> embedTextField = new UITextField();
>
>
> //embedTextField.text = embedStr;
>
>
> //embedTextField.text = embedStr;
>
>
> addChildAt(UITextField(embedTextField),getChildIndex(
> DisplayObject(textField)));//as TextField
>
>
>                                                     s =
> embedTextField.text == null ? "":embedTextField.text;
>
>
>                                                     s =
> embedTextField.text == null ? "":embedTextField.text;
>
>
>                                                                     s =
> s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);
>
>
>
> embedTextField.text = s;
>
>
>                                                     s =
> embedTextField.text == null ? "":embedTextField.text;
>
>
>                                                     s =
> embedTextField.text == null ? "":embedTextField.text;
>
>
>                                                                     //s =
> s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);
>
>
>
> //embedTextField.text = s;
>
>
>                                                                     s =
> s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);
>
>
>
> embedTextField.text = s;
>
>
> // If embeded hints are displayed then update the
>
>
> // UITextField corresponding to the embeded hints
>
>
>                                     var s:String = embedTextField.text ==
> null ? "":embedTextField.text;
>
>
>                                     var s:String = embedTextField.text ==
> null ? "":embedTextField.text;
>
>
>                                                     embedTextField.text =
> s;
>
>                                                                 // create
> the embeded text field for showing
>
>                                                                 //
> embeded hints if its not already created.
>
>                                                                 // If it
> is created, then just change the embeded hint.
>
>
> if(!embedTextField)
>
>
> embedTextField = new UITextField();
>
>
> addChildAt(embedTextField,getChildIndex(DisplayObject(textField))); //as
> TextField
>
>
> //embedTextField.text = embedStr;
>
>
> //embedTextField.text = embedStr;
>
>
> embedTextField.alpha = 1;
>
>
> embedTextField.setTextFormat(txtFormat);
>
>
> embedTextField.x = 0;
>
>
> embedTextField.y = 2;
>
>
> embedTextField.setActualSize(width,height);
>
>
> if(embedTextField)
>
>
> embedTextField.text = "";
>
>
> embedTextField = null;
>
>                                                 // setting the color of
> the embeded text field to white.
>
>
> if(embedTextField)
>
>
> embedTextField.setColor(0xFFFFFF);
>
>
> if(embedTextField)
>
>
>                 addChildAt(DisplayObject(newSkin),getChildIndex(
> DisplayObject(embedTextField)));//
>
>    background-image:
> Embed(source="/assets/application_background.png",
>
>                 up-skin:                Embed("/assets/maximize_up.png");
>
>                 over-skin:            Embed("/assets/maximize_over.png");
>
>                 down-skin:         Embed("/assets/maximize_up.png");
>
>                 selected-up-skin:   Embed("/assets/restore_up.png");
>
>                 selected-over-skin: Embed("/assets/restore_over.png");
>
>                 selected-down-skin: Embed("/assets/restore_up.png");
>
>                 up-skin:        Embed("/assets/minimize_up.png");
>
>                 over-skin:      Embed("/assets/minimize_over.png");
>
>                 down-skin:      Embed("/assets/minimize_up.png");
>
>                 up-skin:
> Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30",
> scaleGridLeft="10", scaleGridRight="92");
>
>                 over-skin:
> Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30",
> scaleGridLeft="10", scaleGridRight="92");
>
>                 down-skin:
> Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30",
> scaleGridLeft="10", scaleGridRight="92");
>
>                 selected-up-skin:
> Embed("/assets/tab_selected.png", scaleGridTop="13",
> scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");
>
>                 selected-over-skin:
> Embed("/assets/tab_selected.png", scaleGridTop="13",
> scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");
>
>                 selected-down-skin:                      Embed("/assets/
> tab_selected.png", scaleGridTop="13", scaleGridBottom="31",
> scaleGridLeft="9", scaleGridRight="91");
>
>                 up-skin:
> Embed("/assets/left_arrow_up.gif");
>
>                 over-skin:
> Embed("/assets/left_arrow_over.gif");
>
>                 down-skin:
> Embed("/assets/left_arrow_up.gif");
>
>                 disabled-skin:    Embed("/assets/left_arrow_
> disabled.gif");
>
>                 up-skin:
> Embed("/assets/right_arrow_up.gif");
>
>                 over-skin:
> Embed("/assets/right_arrow_over.gif");
>
>                 down-skin:
> Embed("/assets/right_arrow_up.gif");
>
>                 disabled-skin:    Embed("/assets/right_arrow_
> disabled.gif");
>
>                                 //[Embed(source="/assets/
> cursor_move.gif")]
>
>                                 //[Embed(source="/assets/
> cursor_resize.gif")]
>
>                                 [Embed(source="/assets/
> default/images/mouseMove.gif")]
>
>                                 [Embed(source="/assets/
> default/images/verticalSize.gif")]
>
>                                 [Embed(source="/assets/
> default/images/horizontalSize.gif")]
>
>                                 [Embed(source="/assets/default/images/
> leftObliqueSize.gif")]
>
>                                 [Embed(source="/assets/default/images/
> rightObliqueSize.gif")]
>
>                                                 if (image.isEmbedded)
>
>                                                 //if
> (!Application.application.systemManager.isFontFaceEmbedded(textFormat))
>
>                                                 if (!FlexGlobals.
> topLevelApplication.systemManager.isFontFaceEmbedded(textFormat))
>
>                                                                 if
> (Application.application.isFontsEmbedded) {
>
>                                                                 if
> (Application.application.isFontsEmbedded) {
>
>                                                                 if
> (Application.application.isFontsEmbedded) {
>
>                                 private var _isEmbedded:Boolean = false;
>
>                                 public function set
> isEmbedded(embedded:Boolean):void
>
>                                 public function set
> isEmbedded(embedded:Boolean):void
>
>                                                 _isEmbedded = embedded;
>
>                                                 _isEmbedded = embedded;
>
>                                 public function get isEmbedded():Boolean
>
>                                                 return _isEmbedded;
>
>                                                 <mx:icon>@Embed(source='
> images/print.GIF')</mx:icon>
>
>                                                 <mx:icon>@Embed(source='
> images/reload.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/first-gray.GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/first.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/previous-gray.
> GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/previous.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/next-gray.GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/next.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/last-gray.GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/last.GIF')</mx:icon>
>
>
> <mx:icon>@Embed(source='images/actualsize.GIF')</mx:icon>
>
>
> <mx:icon>@Embed(source='images/fitpage.GIF')</mx:icon>
>
>
> <mx:icon>@Embed(source='images/fitwidth.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/zoomin-gray.GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/zoomin.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/zoomout-gray.
> GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/zoomout.GIF')</mx:icon>
>
>
> <mx:icon>@Embed(source='images/print.GIF')</mx:icon>
>
>                                                 if (
> imageSourceXml.@isEmbedded.length() > 0)
>
>
> image.isEmbedded = imageSourceXml.@isEmbedded == "true";
>
>
> image.isEmbedded = imageSourceXml.@isEmbedded == "true";
>
>                  source="@Embed(source='/assets/default/images/left_
> arrow_up.gif')"/>
>
>                  source="@Embed(source='/assets/default/images/left_
> arrow_over.gif')"/>
>
>                  source="@Embed(source='/assets/default/images/left_arrow_disabled.gif')"/>
>
>
>
>    source="@Embed(source='/com/shm/flexlib/mdi/assets/img/
> maximizeButton.png')"/>
>
>
>    height="12" source="@Embed(source='/com/shm/flexlib/mdi/assets/img/
> restoreButton.png')"/>
>
>
>    source="@Embed(source='/com/shm/flexlib/mdi/assets/img/
> minimizeButton.png')"/>
>
>                  source="@Embed(source='/assets/default/images/right_
> arrow_up.gif')"/>
>
>                  source="@Embed(source='/assets/default/images/right_
> arrow_over.gif')"/>
>
>                  source="@Embed(source='/assets/default/images/right_arrow_disabled.gif')"/>
>
>
>
>
>
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Wednesday, February 28, 2018 11:00 AM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> I think you can ignore the warnings.  The first error is for embedding a
> font, which Royale doesn't currently support, so for now, try commenting
> out the Embed metadata and see if that allows the error to go away.
>
>
>
> I would look into the other errors to see if they are legitimate or not.
> The Royale Compiler will catch some things the MXMLC compiler may not.  Or
> you could comment out the code involved in the two errors in TImeZone.as
> for now since that won't affect the report.
>
>
>
> The final two errors I saw are for missing skin states.  I think you can
> just add the skin states.
>
>
>
> HTH,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Tuesday, February 27, 2018 at 9:35 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> While Executing
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
> "D:\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"
> -include-sources="D:\SHMALIB\src"
>
> Or
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
> "D:\Flex\libs\SH
>
> MALIB.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bi
>
> n\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"
> -include-sources="D:\
>
> SHMALIB\src" -library-path+=D:\SHMALIB\libs
>
>
>
> *Error:*
>
> (file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar)
> to
>
> field java.lang.Thread.inheritableThreadLocals
>
> WARNING: Please consider reporting this to the maintainers of
> com.google.common.
>
> base.internal.Finalizer
>
> WARNING: Use --illegal-access=warn to enable warnings of further illegal
> reflect
>
> ive access operations
>
> WARNING: All illegal access operations will be denied in a future release
>
> Loading configuration: D:\apache-flex-sdk-4.16.0-bin\
> frameworks\flex-config.xml
>
>
>
> Warning: Duplicate declaration of SkinState 'normal'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'disabled'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'normal'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'disabled'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'normal'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'disabled'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'normal'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'disabled'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'normal'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'disabled'
>
>
>
>
>
> D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(415): col: 50
> Warning:
>
> Data binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject channelSet="{parentApplication.
> amfChannelSet}"
>
> id="DataProviderService"  showBusyCursor="true"
>
>                                                                ^
>
>
>
> D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(419): col: 50
> Warning:
>
> Data binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject channelSet="{parentApplication.
> amfChannelSet}"
>
> id="BasicFormatterService"  showBusyCursor="true"
>
>                                                                ^
>
>
>
> D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(516): col: 50
> Warning: Da
>
> ta binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject channelSet="{parentApplication.
> amfChannelSet}"
>
> id="DataProviderService"  showBusyCursor="true"
>
>                                                                ^
>
>
>
> D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(520): col: 50
> Warning: Da
>
> ta binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject channelSet="{parentApplication.
> amfChannelSet}"
>
> id="BasicFormatterService"  showBusyCursor="true"
>
>                                                                ^
>
>
>
> D:\SHMALIB\src\com\shm\components\shmCaptchaImage.as(43): col: 3 Error:
> Embed re
>
> quires a 'source' file attribute
>
>
>
>                 [Embed(systemFont="Comic Sans MS",
>
>                 ^
>
>
>
> D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(37): col: 88
> Warning: Data
>
> binding will not be able to detect assignments to 'isSelected'.
>
>
>
>                                         <mx:CheckBox
> selectedField="isSelected"
>
>  change="onChange(event);" selected="{data.isSelected}">
>
>
>
>                                           ^
>
>
>
> D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(46): col: 27
> Warning: Data
>
> binding will not be able to detect assignments to 'label'.
>
>
>
>                                         <mx:Label text="{data.label}" />
>
>                                                              ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(126): col: 15
> Error: Impli
>
> cit coercion of a value of type Boolean to an unrelated type Number.
>
>
>
>                                 if(year & 0x3 == 0)
>
>                                           ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(134): col: 39
> Error: Impli
>
> cit coercion of a value of type Boolean to an unrelated type Number.
>
>
>
>                                 if(month == 1 && value.fullYear & 0x3 ==
> 0)
>
>                                                                   ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\renderers\GridPodURLRenderer.mxml(6):
> col: 23 W
>
> arning: Data binding will not be able to detect assignments to 'SrNo'.
>
>
>
>                   htmlText="&lt;u&gt;{data.SrNo}&lt;/u&gt;" color="blue"
> click="
>
> f_DrillDownData(data)">
>
>                                     ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml
> Error:
>
> The required skin state 'disabledWithPrompt' is missing.
>
>
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml
> Error:
>
> The required skin state 'normalWithPrompt' is missing.
>
>
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(177): col: 27
> Warning: D
>
> ata binding will not be able to detect assignments to 'valueField'.
>
>
>
>                                                 yField="{properties.@
> valueField}
>
> ">
>
>                                                                     ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(187): col: 34
> Warning: D
>
> ata binding will not be able to detect assignments to 'categoryField'.
>
>
>
>
> categoryField="{properties.@cate
>
> goryField}" />
>
>
> ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(202): col: 27
> Warning: D
>
> ata binding will not be able to detect assignments to 'valueField'.
>
>
>
>                                                 yField="{properties.@
> valueField}
>
> ">
>
>                                                                     ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(212): col: 34
> Warning: D
>
> ata binding will not be able to detect assignments to 'categoryField'.
>
>
>
>
> categoryField="{properties.@cate
>
> goryField}" />
>
>
> ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(429): col: 27
> Warning: D
>
> ata binding will not be able to detect assignments to 'valueField'.
>
>
>
>                                                 yField="{properties.@
> valueField}
>
> ">
>
>                                                                     ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(439): col: 34
> Warning: D
>
> ata binding will not be able to detect assignments to 'categoryField'.
>
>
>
>
> categoryField="{properties.@cate
>
> goryField}" />
>
>
> ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(454): col: 27
> Warning: D
>
> ata binding will not be able to detect assignments to 'valueField'.
>
>
>
>                                                 yField="{properties.@
> valueField}
>
> ">
>
>                                                                     ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(464): col: 34
> Warning: D
>
> ata binding will not be able to detect assignments to 'categoryField'.
>
>
>
>
> categoryField="{properties.@cate
>
> goryField}" />
>
>
> ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(479): col: 26
> Warning: D
>
> ata binding will not be able to detect assignments to 'valueField'.
>
>
>
>
> field="{properties.@valueField}"
>
>
>
>                                                                    ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(115): col: 74
> Warning
>
> : Data binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject id="roDrillDownColInfo"
> channelSet="{parentAppl
>
> ication.amfChannelSet}" showBusyCursor="true"
>
>
>
>        ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(118): col: 68
> Warning
>
> : Data binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject id="roDgDpResult"
> channelSet="{parentApplicatio
>
> n.amfChannelSet}" showBusyCursor="true"
>
>
>
>  ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\PieChartContent.mxml(128): col: 24
> Warning
>
> : Data binding will not be able to detect assignments to 'valueField'.
>
>
>
>                                 field="{properties.@valueField}"
>
>                                                    ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 37
> Warning: Dat
>
> a binding will not be able to detect assignments to 'appParams'.
>
>
>
>
> inputMask="{parentApplic
>
> ation.appParams.DATE_FORMAT}" showToday="true"
> yearNavigationEnabled="true"
>
>
>
>      ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 47
> Warning: Dat
>
> a binding will not be able to detect assignments to 'DATE_FORMAT'.
>
>
>
>
> inputMask="{parentApplic
>
> ation.appParams.DATE_FORMAT}" showToday="true"
> yearNavigationEnabled="true"
>
>
>
>                ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 38
> Warning: Dat
>
> a binding will not be able to detect assignments to 'appParams'.
>
>
>
>
> inputMask="{parentAppli
>
> cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true"
> showToday="true"
>
>
>
>       ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 48
> Warning: Dat
>
> a binding will not be able to detect assignments to 'DATE_FORMAT'.
>
>
>
>
> inputMask="{parentAppli
>
> cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true"
> showToday="true"
>
>
>
>                 ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(12): col: 11
> Warnin
>
> g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.
>
>
>
>                         import mx.graphics.Stroke;
>
>                                ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(37): col: 23
> Warnin
>
> g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.
>
>
>
>                                         lne.stroke = new Stroke(0,1,.3);
>
>                                                          ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(46): col: 14
> Warnin
>
> g: Duplicate variable definition: i.
>
>
>
>                                 for (var i:int = 1; i < lnWdt; i++){
>
>                                          ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(47): col: 10
> Warnin
>
> g: Duplicate variable definition: lne.
>
>
>
>                                         var lne:Line  = new Line();
>
>                                             ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(53): col: 23
> Warnin
>
> g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.
>
>
>
>                                         lne.stroke = new Stroke(0,1,.3);
>
>                                                          ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(54): col: 10
> Warnin
>
> g: Duplicate variable definition: llbe.
>
>
>
>                                         var llbe:Label = new Label();
>
>                                             ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(157): col:
> 40 Warn
>
> ing: 'application' has been deprecated since 4.0. Please use
> 'FlexGlobals.topLev
>
> elApplication'.
>
>
>
>                                 var xPosition:Number =
> Application.application.p
>
> arent.mouseX;
>
>                                                                    ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(158): col:
> 40 Warn
>
> ing: 'application' has been deprecated since 4.0. Please use
> 'FlexGlobals.topLev
>
> elApplication'.
>
>
>
>                                 var yPosition:Number =
> Application.application.p
>
> arent.mouseY;
>
>                                                                    ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(225): col:
> 36 Warn
>
> ing: 'application' has been deprecated since 4.0. Please use
> 'FlexGlobals.topLev
>
> elApplication'.
>
>
>
>                                 var xPlus:Number =
> Application.application.paren
>
> t.mouseX - point.x;
>
>                                                                ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(226): col:
> 36 Warn
>
> ing: 'application' has been deprecated since 4.0. Please use
> 'FlexGlobals.topLev
>
> elApplication'.
>
>
>
>                                 var yPlus:Number =
> Application.application.paren
>
> t.mouseY - point.y;
>
>
>
> Thanks,
>
> Alina Kazi
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Wednesday, February 28, 2018 10:16 AM
> *To:* Alina Kazi; users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> I think that Flash Builder makes it easy to build SWCs.  Building from the
> command line can be a bit trickier.
>
>
>
> Let's try:
>
> Compc -output "D:\SHMALib.swc" -api-report="D:\report.txt"
> -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml
> -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\src"
>
>
>
> HTH,
>
> -Alex
>
>
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Date: *Tuesday, February 27, 2018 at 7:28 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>, Alex Harui <
> aharui@adobe.com>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> Yes I am using Flash Builder.
>
> SHMALIB and MainFlexApp are two separate Projects
>
> Src for SHMALIB is placed into D:/SHMALIB/src
>
> Src for MainFlexApp is D:/Flex/src and the library output file SHMALIB.swc
> is placed into D:/Flex/libs
>
>
>
> SHMALIB (.actionscriptProperties)
>
>
>
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
>
> <actionScriptProperties mainApplicationPath="SHMALib.as"
> projectUUID="863559ab-3e7b-475b-a3a4-09f4f76fc0d2" version="6">
>
>   <compiler additionalCompilerArguments="-locale en_US"
> autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false"
> generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false"
> htmlHistoryManagement="false" htmlPlayerVersionCheck="true"
> includeNetmonSwc="false" outputFolderLocation="D:/Flex/libs"
> outputFolderPath="bin-debug" sourceFolderPath="src" strict="true"
> targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true"
> verifyDigests="true" warn="true">
>
>     <compilerSourcePath/>
>
>     <libraryPath defaultLinkType="0">
>
>       <libraryPathEntry kind="4" path="">
>
>         <excludedEntries>
>
>           <libraryPathEntry kind="3" linkType="1"
> path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>
>
>         </excludedEntries>
>
>       </libraryPathEntry>
>
>       <libraryPathEntry kind="1" linkType="1" path="libs"/>
>
>     </libraryPath>
>
>     <sourceAttachmentPath/>
>
>   </compiler>
>
>   <applications>
>
>     <application path="SHMALib.as"/>
>
>   </applications>
>
>   <modules/>
>
>   <buildCSSFiles/>
>
> </actionScriptProperties>
>
>
>
> SHMALIB (.flexLibProperties)
>
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
>
> <flexLibProperties includeAllClasses="true" version="3">
>
>   <includeClasses/>
>
>   <includeResources/>
>
>   <namespaceManifests/>
>
> </flexLibProperties>
>
>
>
> Thanks,
>
> Alina
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Tuesday, February 27, 2018 9:34 PM
> *To:* Alina Kazi
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> When you are not trying to use Royale to generate this API report, how are
> you building your current Flex app?  We might need to know that in order to
> determine what parameters to add to COMPC.
>
>
>
> COMPC has additional parameters like -include–sources, include-file,
> include-classes.  Sometimes, these are listed in an xml file.  If you are
> using Flash Builder, for example, then examine the .flexlibproperties and
> .actionscriptProperties files in your project folder.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Date: *Tuesday, February 27, 2018 at 3:21 AM
> *To: *'Alina Kazi' <al...@d-bz.com>
> *Cc: *Alex Harui <ah...@adobe.com>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
> "D:\SHMALib.swc"
>
>  -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"
>
> Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> WARNING: An illegal reflective access operation has occurred
>
> WARNING: Illegal reflective access by com.google.common.base.
> internal.Finalizer
>
> (file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar)
> to
>
> field java.lang.Thread.inheritableThreadLocals
>
> WARNING: Please consider reporting this to the maintainers of
> com.google.common.
>
> base.internal.Finalizer
>
> WARNING: Use --illegal-access=warn to enable warnings of further illegal
> reflect
>
> ive access operations
>
>
>
> Error: nothing was specified to be included in the library.
>
> -Alina
>
>
>
> *From:* Alina Kazi [mailto:alina.kazi@d-bz.com <al...@d-bz.com>]
> *Sent:* Tuesday, February 27, 2018 2:16 PM
> *To:* 'users@royale.apache.org'
> *Subject:* RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> I am using Moonshine IDE 1.9.0.
>
> Flex 4.16.0
>
> Apache Royale 0.9.2 Latest Nightly Build
>
>
>
> *Running this Command on Command Prompt:*
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
> "D:\SHMALib.swc"
>
>  -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"
>
> Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> WARNING: An illegal reflective access operation has occurred
>
> WARNING: Illegal reflective access by com.google.common.base.
> internal.Finalizer
>
> (file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar)
> to
>
> field java.lang.Thread.inheritableThreadLocals
>
> WARNING: Please consider reporting this to the maintainers of
> com.google.common.
>
> base.internal.Finalizer
>
> WARNING: Use --illegal-access=warn to enable warnings of further illegal
> reflect
>
> ive access operations
>
> WARNING: All illegal access operations will be denied in a future release
>
>
>
> *command line Error: unknown configuration variable 'sourceΓÇôpath'.*
>
>
>
> -Alina
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Tuesday, February 27, 2018 1:26 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> COMPC takes a slightly different set of parameters.  What IDE or build
> tools are you using to build it without Royale?  You might need to know
> what options that build uses.
>
>
>
> You can try running:
>
>
>
> Compc -output "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc"
> -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bin\frameworks\flex-config.xml -source–path="D:\Projects\SHMA\Main\Flex\src"
> or wherever the source code is for the library.
>
>
>
> HTH,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, February 26, 2018 at 11:33 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> For custom SWC, I am using COMPC to get an api-report for SWC
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>compc
> "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc" -api-report="D:\report.txt"
> -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml
>
> *Error:* configuration variable 'output' was not set.
>
>
>
>
>
> Thanks,
>
> Alina
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Tuesday, February 27, 2018 12:27 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> Yes, any SWC that is not in the Flex SDK's frameworks/libs folder needs to
> be specified as Piotr describes below.  We want you specify the same MXML
> file that you use to compile in the regular Flex SDK.  So if your
> Application.mxml starts with an mx:Application or s:Application that’s
> probably the one to use.  But also, if you have your own custom SWCs, we
> want you to use COMPC to get an api-report for those SWCs.  We want this
> modified Royale compiler to compile every source file you own so we can see
> what Flex APIs you are using.
>
>
>
> HTH,
>
> -Alex
>
>
>
> *From: *Piotr Zarzycki <pi...@gmail.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, February 26, 2018 at 11:19 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> In my sense you will have to use -library-path+=path to the library. You
> have to tell compiler about that library.
>
>
>
> Thanks, Piotr
>
>
>
> 2018-02-27 7:57 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>
> Hi  Alex,
>
> *With latest nightly build:*
>
> MaskedTextInput , shmReportUtil …. Are Library Project Actionscript Files.
>
> Main Application contains SHMALib.swc file in Libs folder
>
> Error Link:
>
> https://www.dropbox.com/s/p5imt22cuut0ex6/ErrorGeneratingReport.png?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fp5imt22cuut0ex6%2FErrorGeneratingReport.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=8f1f9duW2Red4bP77hFTh3mLcCptBmAwd87n1iSkk%2Bs%3D&reserved=0>
>
>
>
> I have a question that which .mxml file should be used to generate that
> report?
>
> Applications.mxml is startup file in case of my Project so I’m using it.
>
>
>
> Please visit reference link and If I’m doing anything wrong please let me
> know.
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com]
> *Sent:* Tuesday, February 27, 2018 12:00 AM
>
>
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> I pushed a fix for that.  It might or might not be related to your custom
> swc.  Get the latest nightly build and let us know.
>
>
>
> Also, if you are successful, please use your regular compiler to generate
> a -link–report.  That will help us verify that the API report didn't miss
> anything.
>
>
>
> Thanks,
>
> -Alex
>
>
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, February 26, 2018 at 4:01 AM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Generated Report file for Sample Project Successfully.
>
>
>
> spark.components.Application:minHeight,1
>
> spark.components.Application:minWidth,1
>
> spark.components.Application:mxmlContentFactory,2
>
> spark.components.Label:fontSize,1
>
> spark.components.Label:fontWeight,1
>
> spark.components.Label:horizontalCenter,1
>
> spark.components.Label:text,1
>
> spark.components.Label:textAlign,1
>
> spark.components.Label:verticalCenter,1
>
>
>
> But while executing Actual Project got Error:
>
> https://www.dropbox.com/s/d25eysllavuy5z4/compile2.png?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fd25eysllavuy5z4%2Fcompile2.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=2i28J4zjv1vEQ7sd%2BGfHm%2Bh1FjG%2BP3YdJCc6rGZr3C4%3D&reserved=0>
>
> https://www.dropbox.com/s/49iq74zk6rxcr1y/compile1.png?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F49iq74zk6rxcr1y%2Fcompile1.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=44tfkOscWyJ%2FH3M30HeJ6dfFE0TlpTMhQ2t%2Bv%2ByuoDg%3D&reserved=0>
>
>
>
> May be because my Application is dependent to SHMALib(.swc) Library
> Project (Source Shared Earlier).
>
>
>
> -Alina
>
>
>
> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com
> <pi...@gmail.com>]
> *Sent:* Monday, February 26, 2018 5:02 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Alex,
>
>
>
> I did above exercise for Moonshine and got NPE [1]. I used air-config.xml
> because it is na Desktop app.
>
>
>
> [1] https://paste.apache.org/R0Si
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FR0Si&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=tFLrK9xsVt57PytwBaNoUJ%2FIPFH7FCHDtfrmJ1sAl3Y%3D&reserved=0>
>
>
>
>
> Thanks,
>
> Piotr
>
>
>
>
>
> 2018-02-26 12:56 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
>
> Yishay,
>
>
>
> Thank you so much!! I got it working.
>
>
>
> Alina,
>
>
>
> Here is the full instruction.
>
>
>
> 1) Download Apache Royale with SWF support - if you have that is good, if
> not it's here [1]
>
> 2) Download Apache Flex - you have it as I have seen on the screenshot.
>
> 3) Launch console and go to the Royale SDK folder
>
>
>
> "yourpathtosdk\bin\" - In my case it was: "d:\Work\royale_ide\royale_
> nightly_js_swf\bin\"
>
>
>
> 4) Run following command where you will point to the Flex Browser
> application in order to generate report. My command looks like that:
>
>
>
> mxmlc "c:\Users\piotr\Documents\NewFlexBrowserProject\src\NewFlexBrowserProject.mxml"
> -api-report="c:\Users\piotr\Documents\NewFlexBrowserProject\report.txt"
> -load-config=d:\Work\flex-sdk-4.16.1_adobe_air_28\
> frameworks\flex-config.xml
>
>
>
> I generated report for hellow world. Maybe in order to generate report for
> your application that console command may be much more sophisticated. Let's
> see!
>
>
>
>
>
> [1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/
> lastSuccessfulBuild/artifact/out/
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2Fout%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=O%2BpVQ8OuhB%2FtE4ZdylTSkAQCWsIPBGlr9RgiTjWSWEM%3D&reserved=0>
>
>
>
> Thanks,
>
> Piotr
>
>
>
>
>
> 2018-02-26 12:46 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:
>
> Looks like [1] you do need to add compiler option: -api–report=<path to
> output file>
>
>
>
> [1] http://apache-royale-users.20374.n8.nabble.com/
> Substitutes-in-Apache-Royale-tp392p492.html
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p492.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kda6SpkBgdRqGAeGJ5Db629EAy7KAVbOZKzhzhynRZk%3D&reserved=0>
>
>
>
>
>
> *From: *Piotr Zarzycki <pi...@gmail.com>
> *Sent: *Monday, February 26, 2018 1:37 PM
>
>
> *To: *users@royale.apache.org
> *Subject: *Re: Generating API report for Flex Web Browser application
>
>
>
> I have produced with that swf, but what's next? Let's wait for Alex's
> response [1]
>
>
>
> [1] https://paste.apache.org/YEeG
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FYEeG&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8ameYzJ7AloOW4nTa8dqu7zYxwORSQc5sCUqpZDVA%2BY%3D&reserved=0>
>
>
>
> Thanks,
>
> Piotr
>
>
>
> 2018-02-26 12:32 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:
>
> Alex will know but I don’t think so. I haven’t updated the compiler
> recently so can’t test it right now. If you want to test it maybe just
> create a simple app and replace /Users/aharui/ApacheFlex4.16.0 with your
> sdk home.
>
>
>
>
>
>
>
> *From: *Piotr Zarzycki <pi...@gmail.com>
> *Sent: *Monday, February 26, 2018 1:25 PM
> *To: *users@royale.apache.org
> *Subject: *Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Yishay,
>
>
>
> bin/mxmlc
>
> <path to app's
>
> .mxml
>
> file>
>
> -load-config=/Users/aharui/ApacheFlex4.16.0/frameworks/flex-config.xml
>
>
>
> Do I need some switch for compiler -api-report or something like that ?
>
>
>
> Thanks,
>
> Piotr
>
>
>
>
>
> 2018-02-26 12:10 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:
>
> Wasn’t logged in. Here’s [1] the link.
>
>
>
> [1] http://apache-royale-users.20374.n8.nabble.com/
> Substitutes-in-Apache-Royale-tp392p489.html
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p489.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8Tp5%2BFveKS0eoW7D8EovITPQqYrgwDK4P7cW9izXFH8%3D&reserved=0>
>
>
>
>
>
> *From: *Yishay Weiss <yi...@hotmail.com>
> *Sent: *Monday, February 26, 2018 12:59 PM
> *To: *users@royale.apache.org
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> I couldn’t find a way to link to a nabble post, but this [1] might help
> (from Substitutes in Apache Royale).
>
>
>
> [1] https://paste.apache.org/N2QR
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FN2QR&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=VIS8u6EEBWN6jQrFxpttZvAfUCSSKPe3rbrBDU2w7Sg%3D&reserved=0>
>
>
>
> *From: *Piotr Zarzycki <pi...@gmail.com>
> *Sent: *Monday, February 26, 2018 12:44 PM
> *To: *users@royale.apache.org
> *Subject: *Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> I would like to understand how to generate that report. I will go with the
> console path, because I think this is something unusual and probably
> Moonshine is not prepared to do this. I'm writing this on the users mailing
> list because Alina is having some problems with that. I wanted to simplify
> all of that. Let's start from the beginning.
>
>
>
> 1) I have created Flex Web browser project using Apache Flex SDK 4.16.1.
>
> 2) I have nightly build of Royale with SWF support [1]
>
>
>
> What should I type in the console now ?
>
>
>
> [1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/
> lastSuccessfulBuild/artifact/
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=UtYFFQ90aNB2HU2Vx4t8YAS6Eo2j1ZqVAytujEOgoFM%3D&reserved=0>
>
>
>
> Thanks,
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>
>
>
>
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>
>
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>
>
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=zGrfZ2Wj3CLuuW%2B%2BKtUSQF6762Vn0%2BeNjCMlViBMghg%3D&reserved=0>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>



-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

Posted by Alina Kazi <al...@d-bz.com>.
Hi Piotr,

 

I am getting this error while executing maven command.

System environment variable path is:

PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32

\WindowsPowerShell\v1.0;C:\Program Files\Java\jdk1.8.0_31\bin;D:\apache-ant-1.10.2\bin;C:\Program Files\Git\cmd;D:\apache-maven-3.5.3\bin

 

d:\Apache\royale-asjs>mvn -s settings-template.xml install

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

maven-metadata.xml

[WARNING] Could not transfer metadata org.apache.flex.utilities.converter:flex-s

dk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from/to apache-sn

apshots (http://repository.apache.org/snapshots/): Connect to repository.apache.

org:80 [repository.apache.org/207.244.88.140] failed: Connection timed out: conn

ect

[WARNING] Failure to transfer org.apache.flex.utilities.converter:flex-sdk-conve

rter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from http://repository.ap

ache.org/snapshots/ was cached in the local repository, resolution will not be r

eattempted until the update interval of apache-snapshots has elapsed or updates

are forced. Original error: Could not transfer metadata org.apache.flex.utilitie

s.converter:flex-sdk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml

from/to apache-snapshots (http://repository.apache.org/snapshots/): Connect to

repository.apache.org:80 [repository.apache.org/207.244.88.140] failed: Connecti

on timed out: connect

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

flex-sdk-converter-maven-extension-1.0.0-SNAPSHOT.pom

[WARNING] Failed to read extensions descriptor D:\Apache\royale-asjs\.mvn\extens

ions.xml: Plugin org.apache.flex.utilities.converter:flex-sdk-converter-maven-ex

tension:1.0.0-SNAPSHOT or one of its dependencies could not be resolved: Failed

to read artifact descriptor for org.apache.flex.utilities.converter:flex-sdk-con

verter-maven-extension:jar:1.0.0-SNAPSHOT

[INFO] Scanning for projects...

[WARNING] The project org.apache:apache:pom:18 uses prerequisites which is only

intended for maven-plugin projects but not for non maven-plugin projects. For su

ch purposes you should use the maven-enforcer-plugin. See https://maven.apache.o

rg/enforcer/enforcer-rules/requireMavenVersion.html

[INFO]

[INFO] -------------------------< org.apache:apache >--------------------------

[INFO] Building The Apache Software Foundation 18

[INFO] --------------------------------[ pom ]---------------------------------

Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/

plugins/maven-remote-resources-plugin/1.5/maven-remote-resources-plugin-1.5.pom

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 33.430 s

[INFO] Finished at: 2018-03-12T16:10:48+05:00

[INFO] ------------------------------------------------------------------------

[ERROR] Plugin org.apache.maven.plugins:maven-remote-resources-plugin:1.5 or one

of its dependencies could not be resolved: Failed to read artifact descriptor f

or org.apache.maven.plugins:maven-remote-resources-plugin:jar:1.5: Could not tra

nsfer artifact org.apache.maven.plugins:maven-remote-resources-plugin:pom:1.5 fr

om/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.apac

he.org:443 [repo.maven.apache.org/151.101.196.215] failed: Connection timed out:

connect -> [Help 1]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit

ch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please rea

d the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResoluti

onException

 

 

Thanks,

Alina 

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Wednesday, March 07, 2018 12:22 PM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

I got the same results, but tried again in the same directory with  mvn -s settings-template.xml clean install and it's building now!

 

2018-03-07 7:59 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Piotr,

What should I do?

Do You want me to delete all files name royale-asjs? Or delete other folders royale-compiler n others.

 

Thanks Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Wednesday, March 07, 2018 12:07 PM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Ok! I just cloned separate repository and got similar problem. -> https://paste.apache.org/HuYU

 

2018-03-07 7:42 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Similar Error

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Wednesday, March 07, 2018 11:41 AM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Use "mvn -s settings-template.xml clean install" without pointing to profile -P utils.

 

2018-03-07 7:22 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Piotr,

Getting Similar Error in all cases. 

C:\Users\aleena>git clone https://github.com/apache/royale-asjs

Cloning into 'royale-asjs'...

remote: Counting objects: 101055, done.

remote: Compressing objects: 100% (127/127), done.

remote: Total 101055 (delta 101), reused 183 (delta 63), pack-reused 100828

Receiving objects: 100% (101055/101055), 19.27 MiB | 249.00 KiB/s, done.

Resolving deltas: 100% (61539/61539), done.

Checking out files: 100% (3572/3572), done.

 

C:\Users\aleena>cd royale-asjs

 

C:\Users\aleena\royale-asjs>git checkout develop

Already on 'develop'

Your branch is up to date with 'origin/develop'.

 

C:\Users\aleena\royale-asjs>mvn -s settings-template.xml clean install -P utils

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

maven-metadata.xml

[WARNING] Could not transfer metadata org.apache.flex.utilities.converter:flex-s

dk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from/to apache-sn

apshots (http://repository.apache.org/snapshots/): Connect to repository.apache.

org:80 [repository.apache.org/207.244.88.140] failed: Connection timed out: conn

ect

[WARNING] Failure to transfer org.apache.flex.utilities.converter:flex-sdk-conve

rter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from http://repository.ap

ache.org/snapshots/ was cached in the local repository, resolution will not be r

eattempted until the update interval of apache-snapshots has elapsed or updates

are forced. Original error: Could not transfer metadata org.apache.flex.utilitie

s.converter:flex-sdk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml

 from/to apache-snapshots (http://repository.apache.org/snapshots/): Connect to

repository.apache.org:80 [repository.apache.org/207.244.88.140] failed: Connecti

on timed out: connect

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

flex-sdk-converter-maven-extension-1.0.0-SNAPSHOT.pom

[WARNING] Failed to read extensions descriptor C:\Users\aleena\royale-asjs\.mvn\

extensions.xml: Plugin org.apache.flex.utilities.converter:flex-sdk-converter-ma

ven-extension:1.0.0-SNAPSHOT or one of its dependencies could not be resolved: F

ailed to read artifact descriptor for org.apache.flex.utilities.converter:flex-s

dk-converter-maven-extension:jar:1.0.0-SNAPSHOT

[INFO] Scanning for projects...

Downloading from apache-release: https://repository.apache.org/content/repositor

ies/releases/org/apache/apache/18/apache-18.pom

Downloading from central: https://repo.maven.apache.org/maven2/org/apache/apache

/18/apache-18.pom

[ERROR] [ERROR] Some problems were encountered while processing the POMs:

[FATAL] Non-resolvable parent POM for org.apache.royale.framework:royale-framewo

rk-parent:0.9.2-SNAPSHOT: Could not transfer artifact org.apache:apache:pom:18 f

rom/to apache-release (https://repository.apache.org/content/repositories/releas

es): Connect to repository.apache.org:443 [repository.apache.org/207.244.88.140]

 failed: Connection timed out: connect and 'parent.relativePath' points at no lo

cal POM @ line 24, column 11

 @

[ERROR] The build could not read 1 project -> [Help 1]

[ERROR]

[ERROR]   The project org.apache.royale.framework:royale-framework-parent:0.9.2-

SNAPSHOT (C:\Users\aleena\royale-asjs\pom.xml) has 1 error

[ERROR]     Non-resolvable parent POM for org.apache.royale.framework:royale-fra

mework-parent:0.9.2-SNAPSHOT: Could not transfer artifact org.apache:apache:pom:

18 from/to apache-release (https://repository.apache.org/content/repositories/re

leases): Connect to repository.apache.org:443 [repository.apache.org/207.244.88.

140] failed: Connection timed out: connect and 'parent.relativePath' points at n

o local POM @ line 24, column 11 -> [Help 2]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit

ch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please rea

d the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin

gException

[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableMo

delException

 

Thanks,

Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Wednesday, March 07, 2018 11:25 AM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Alina,

 

I see in your trace that you have cloned typedefs instead asjs -> "git clone https://github.com/apache/royale-typedefs.git". You should clone: 

 

git clone https://github.com/apache/royale-asjs and switch to "develop" branch than try to build.

 

However let me try build typedefs only in the meantime clone asjs and try again.

 

Thanks, Piotr

 

 

2018-03-07 7:19 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:

Alina,

 

Not sure, but let me try that on my sight, however I doubt that. Maven is a very distinguished from all the environment variables. If you got that build running you don't have to use almost all. :)

 

2018-03-07 7:03 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Piotr,

 

ROYALE_HOME environment variable is set to D:\royale-asjs that is the path for installed latest nightly build. This could be the reason ?

 

Thanks,

Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Wednesday, March 07, 2018 10:56 AM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Please try again build. Maybe it was some temporary problem. My build is running right now without the problem. Maven downloading dependencies nicely.

 

Thanks, Piotr

 

2018-03-07 6:39 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Piotr,

Its Working.

This XML file does not appear to have any style information associated with it. The document tree is shown below.

<metadata modelVersion="1.1.0">

<groupId>org.apache.flex.utilities.converter</groupId>

<artifactId>retrievers</artifactId>

<version>1.0.0-SNAPSHOT</version>

<versioning>

<snapshot>

<timestamp>20171112.204231</timestamp>

<buildNumber>490</buildNumber>

</snapshot>

<lastUpdated>20171112204231</lastUpdated>

<snapshotVersions>

<snapshotVersion>

<extension>pom</extension>

<value>1.0.0-20171112.204231-490</value>

<updated>20171112204231</updated>

</snapshotVersion>

</snapshotVersions>

</versioning>

</metadata>

 

Thanks,

Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Wednesday, March 07, 2018 10:48 AM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alina,

 

I just removed my whole local repository and trying exactly the same scenario. Just quick question can you try in your browser open this link ? Is it working ?

 

http://repository.apache.org/snapshots/org/apache/flex/utilities/converter/retrievers/1.0.0-SNAPSHOT/maven-metadata.xml

 

Thanks,

Piotr

 

2018-03-07 6:27 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Piotr,

Using Maven :

C:\Users\aleena>git clone https://github.com/apache/royale-typedefs.git royale-a

sjs

Cloning into 'royale-asjs'...

remote: Counting objects: 3318, done.

remote: Compressing objects: 100% (93/93), done.

remote: Total 3318 (delta 48), reused 76 (delta 16), pack-reused 3200

Receiving objects: 100% (3318/3318), 3.51 MiB | 244.00 KiB/s, done.

Resolving deltas: 100% (1337/1337), done.

 

C:\Users\aleena>cd royale-asjs

 

C:\Users\aleena\royale-asjs>git checkout develop

Already on 'develop'

Your branch is up to date with 'origin/develop'.

 

C:\Users\aleena\royale-asjs>mvn -s settings-template.xml clean install

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

maven-metadata.xml

[WARNING] Could not transfer metadata org.apache.flex.utilities.converter:flex-s

dk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from/to apache-sn

apshots (http://repository.apache.org/snapshots/): Connect to repository.apache.

org:80 [repository.apache.org/207.244.88.140] failed: Connection timed out: conn

ect

[WARNING] Failure to transfer org.apache.flex.utilities.converter:flex-sdk-conve

rter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from http://repository.ap

ache.org/snapshots/ was cached in the local repository, resolution will not be r

eattempted until the update interval of apache-snapshots has elapsed or updates

are forced. Original error: Could not transfer metadata org.apache.flex.utilitie

s.converter:flex-sdk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml

 from/to apache-snapshots (http://repository.apache.org/snapshots/): Connect to

repository.apache.org:80 [repository.apache.org/207.244.88.140] failed: Connecti

on timed out: connect

Downloading from apache-snapshots: http://repository.apache.org/snapshots/org/ap

ache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0-SNAPSHOT/

flex-sdk-converter-maven-extension-1.0.0-SNAPSHOT.pom

[WARNING] Failed to read extensions descriptor C:\Users\aleena\royale-asjs\.mvn\

extensions.xml: Plugin org.apache.flex.utilities.converter:flex-sdk-converter-ma

ven-extension:1.0.0-SNAPSHOT or one of its dependencies could not be resolved: F

ailed to read artifact descriptor for org.apache.flex.utilities.converter:flex-s

dk-converter-maven-extension:jar:1.0.0-SNAPSHOT

[INFO] Scanning for projects...

Downloading from apache-release: https://repository.apache.org/content/repositor

ies/releases/org/apache/apache/18/apache-18.pom

Downloading from central: https://repo.maven.apache.org/maven2/org/apache/apache

/18/apache-18.pom

[ERROR] [ERROR] Some problems were encountered while processing the POMs:

[FATAL] Non-resolvable parent POM for org.apache.royale.typedefs:royale-typedefs

-parent:0.9.2-SNAPSHOT: Could not transfer artifact org.apache:apache:pom:18 fro

m/to apache-release (https://repository.apache.org/content/repositories/releases

): Connect to repository.apache.org:443 [repository.apache.org/207.244.88.140] f

ailed: Connection timed out: connect and 'parent.relativePath' points at wrong l

ocal POM @ line 23, column 11

 @

[ERROR] The build could not read 1 project -> [Help 1]

[ERROR]

[ERROR]   The project org.apache.royale.typedefs:royale-typedefs-parent:0.9.2-SN

APSHOT (C:\Users\aleena\royale-asjs\pom.xml) has 1 error

[ERROR]     Non-resolvable parent POM for org.apache.royale.typedefs:royale-type

defs-parent:0.9.2-SNAPSHOT: Could not transfer artifact org.apache:apache:pom:18

 from/to apache-release (https://repository.apache.org/content/repositories/rele

ases): Connect to repository.apache.org:443 [repository.apache.org/207.244.88.14

0] failed: Connection timed out: connect and 'parent.relativePath' points at wro

ng local POM @ line 23, column 11 -> [Help 2]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit

ch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please rea

d the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin

gException

[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableMo

delException

 

C:\Users\aleena\royale-asjs>

 

Thanks

Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Tuesday, March 06, 2018 5:30 PM
To: users@royale.apache.org
Subject: Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alina,

 

You can try to go with Maven to see whether you have similar problems [1]

 

[1] https://github.com/apache/royale-asjs/wiki/Build-Apache-Royale-with-Maven

 

Thanks, Piotr

 

2018-03-06 13:12 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi Alex,

Still getting same error, while executing:

C:\Users\aleena\royale-asjs>ant all

Website link is working :

http://www.antlr.org/license.html

 

could be only issue , Antlr server will be off-line ?

 

Thanks,

Alina

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Tuesday, March 06, 2018 4:38 PM
To: 'users@royale.apache.org'
Subject: RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alex,

 

We can exclude ScaleX , ScaleY,transform from our code as we are using it in our Library Project Only.

We are using “Rotation” in a PopUp Window. 

 

Can you please explain emulation ?

How do they will work?

 

Thanks,

Alina

 

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Tuesday, March 06, 2018 3:14 PM
To: 'users@royale.apache.org'
Subject: RE: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alex,

We are using commitProperties() in our Library Project. Overriding the Existing Spark commitProperties() method 

For Example:

ResizableTextAreaSkin.mxml (SHMALib)

override protected function commitProperties():void {

                                                super.commitProperties();

 

                                                if (lineBreakChanged) {

                                                                updateStringStyle("lineBreak");

                                                                lineBreakChanged = false;

                                                }

                                                if (paddingChanged) {

                                                                updatePadding();

                                                                paddingChanged = false;

                                                }

                                                if (verticalAlignChanged) {

                                                                updateStringStyle("verticalAlign");

                                                                verticalAlignChanged = false;

                                                }

                                }

We are using 


Package

 <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/package-detail.html> flash.display


Class

public class DisplayObject


Inheritance

DisplayObject Inheritance  <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/EventDispatcher.html> EventDispatcher Inheritance  <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Object.html> Object


Reference Link:

	

https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/DisplayObject.html

 

e.g :

                public function updateLayoutWithoutAnimation():void

                                {

                                                if(_layoutInvalid == true && layoutFunction != null)

                                                {

                                                                _layoutInvalid = false;

                                                                layoutFunction();

                                                }

 

                                                for(var aChild:* in _targets)

                                                {

                                                                var target:LayoutTarget = _targets[aChild];

                                                                var item:IFlexDisplayObject = target.item;

                                                                var m:Matrix = DisplayObject(item).transform.matrix;

 

                                                                m.tx = target.x;

                                                                m.ty = target.y;

                                                                m.a = target.scaleX;                                                                        

                                                                m.d = target.scaleY

                                                                

                                                                DisplayObject(item).alpha = target.alpha;

                                                                DisplayObject(item).transform.matrix = m;

                                                                item.setActualSize(target.unscaledWidth,target.unscaledHeight);

                                                                if(target.state == "removed")

                                                                {

                                                                                delete _targets[target.item];

                                                                                continue;

                                                                }

                                                                else

                                                                {

                                                                                target.state = "positioned"

                                                                }

                                                }

                                                stopTimer();

                                }

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, March 06, 2018 1:36 PM
To: users@royale.apache.org
Subject: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

 

Hi Alina,

 

I'm starting on the emulation.  I've noticed that your application code appears to be calling commitProperties().  Can you tell us why?

 

Also, it looks like there are a few uses of rotation, transform, scaleX and scaleY.  What are those used for?

 

Thanks,

-Alex

 

From: Alex Harui <ah...@adobe.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 11:38 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Try again.  Sometimes the Antlr server goes off-line around this time of day.

 

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 11:12 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Using jdk1.8.0_162:

 

C:\Users\aleena\royale-asjs>ant all

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Buildfile: C:\Users\aleena\royale-asjs\build.xml

 

set.base.folder:

 

check-git:

     [echo] Checking for Git...

     [exec] git version 2.16.2.windows.1

 

get-download-folder:

 

download-all:

     [echo] Using folder C:\Users\aleena\royale-asjs/..

 

check-royale-asjs:

 

warn-before-clone:

 

check-royale-asjs:

 

clone-royale-asjs:

 

check-royale-compiler:

 

clone-royale-compiler:

 

check-royale-typedefs:

 

clone-royale-typedefs:

 

check-playerglobal-home:

 

check-air-home:

 

build-all:

 

ask-before-build-all:

    [input] This script will now download and compile lots of files.  This can t

ake several minutes.   No interaction should be required.  Press the enter key t

o continue.

 

 

sdk:

 

annotate.class:

    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-

build-tools\target\classes

    [javac] warning: [options] bootstrap class path not set in conjunction with

-source 1.5

    [javac] warning: [options] source value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] target value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] To suppress warnings about obsolete options, use

-Xlint:-options.

    [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\src\main\java\o

rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:24: warning: [serial

] serializable class AnnotateClassDeleteException has no definition of serialVer

sionUID

    [javac]     public static class AnnotateClassDeleteException extends Excepti

on

    [javac]                   ^

    [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\src\main\java\o

rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:32: warning: [serial

] serializable class AnnotateClassRenameException has no definition of serialVer

sionUID

    [javac]     public static class AnnotateClassRenameException extends Excepti

on

    [javac]                   ^

    [javac] 6 warnings

 

unknown.tree.pattern.input.output:

    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-

build-tools\target\classes

    [javac] warning: [options] bootstrap class path not set in conjunction with

-source 1.5

    [javac] warning: [options] source value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] target value 1.5 is obsolete and will be removed

in a future release

    [javac] warning: [options] To suppress warnings about obsolete options, use

-Xlint:-options.

    [javac] 4 warnings

 

main:

 

compiler.downloads.cache:

 

compiler.downloads:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

prepare:

     [echo] Making lib directory C:\Users\aleena\royale-compiler\compiler/lib/ex

ternal

    [mkdir] Created dir: C:\Users\aleena\royale-compiler\compiler\lib\external

 

all:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

check-dependency:

     [echo] checking for C:\Users\aleena\royale-compiler\compiler/lib/external//

antlr.jar

 

download-dependency:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

echo-project-jar:

   [delete] Deleting: C:\Users\aleena\royale-compiler\compiler\src\main\resource

s\project.properties

     [echo] ${INFO_DOWNLOADING_FILE_FROM}

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

download-apache-license:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

download-other-license:

      [get] Getting: http://www.antlr.org/license.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0> 

      [get] To: C:\Users\aleena\royale-compiler\compiler\lib\external\antlr-LICE

NSE.html

      [get] Error getting http://www.antlr.org/license.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0>  to C:\Users\aleena\r

oyale-compiler\compiler\lib\external\antlr-LICENSE.html

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

double-check-file:

     [echo] ${env.ROYALE_DOWNLOAD_CACHE}

     [echo] Need file: ${still_no_file}

 

get-from-cache-if-needed:

     [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\resourc

es

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

     [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compiler\compiler

 

fail-if-not-found:

 

BUILD FAILED

C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-compiler\build.xml:64: The following error occurred while

 executing this line:

C:\Users\aleena\royale-compiler\compiler-jburg-types\build.xml:87: The following

 error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:81: Th

e following error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:275: T

he following error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:329: T

he following error occurred while executing this line:

C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:489: C

:\Users\aleena\royale-compiler\compiler/lib/external//antlr-LICENSE.html could n

ot be downloaded or found in cache

 

Total time: 47 seconds

 

C:\Users\aleena\royale-asjs>

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, March 06, 2018 11:55 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Please use JDK8.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 10:40 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

Java version that I am using is “9.0.1”

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, March 06, 2018 11:42 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

What version of Java are you using?  Please get a JDK7 or 8 and try that.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, March 5, 2018 at 10:22 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Command Prompt Output is:

C:\Users\aleena>git clone https://github.com/apache/royale-asjs.git <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs.git&data=02%7C01%7Caharui%40adobe.com%7Cdf86fa0dd25b41ffbc8108d5832f0997%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559160423949211&sdata=d9cKX4ILIQPLI5USXvAafSnrWZSgW1XHw6G4r%2B9wgsE%3D&reserved=0>  royale-asjs

Cloning into 'royale-asjs'...

remote: Counting objects: 101103, done.

remote: Compressing objects: 100% (22/22), done.

remote: Total 101103 (delta 9), reused 30 (delta 7), pack-reused 101066R

Receiving objects: 100% (101103/101103), 19.23 MiB | 208.00 KiB/s, done.

 

Resolving deltas: 100% (61584/61584), done.

Checking out files: 100% (3572/3572), done.

 

C:\Users\aleena>cd royale-asjs

 

C:\Users\aleena\royale-asjs>git checkout develop

Already on 'develop'

Your branch is up to date with 'origin/develop'.

 

C:\Users\aleena\royale-asjs>ant all

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Buildfile: C:\Users\aleena\royale-asjs\build.xml

 

set.base.folder:

 

check-git:

     [echo] Checking for Git...

     [exec] git version 2.16.2.windows.1

 

get-download-folder:

 

download-all:

     [echo] Using folder C:\Users\aleena\royale-asjs/..

 

check-royale-asjs:

 

warn-before-clone:

 

check-royale-asjs:

 

clone-royale-asjs:

 

check-royale-compiler:

 

clone-royale-compiler:

     [echo] cloning royale-compiler repo into C:\Users\aleena\royale-asjs/../roy

ale-compiler

     [exec] Cloning into 'royale-compiler'...

     [exec] Checking out files:   8% (284/3191)

     [exec] Checking out files:   9% (288/3191)   Checking out files:  10% (320/

3191)   Checking out files:  11% (352/3191)   Checking out files:  12% (383/3191

)   Checking out files:  13% (415/3191)   Checking out files:  13% (444/3191)

Checking out files:  14% (447/3191)   Checking out files:  15% (479/3191)   Chec

king out files:  16% (511/3191)   Checking out files:  17% (543/3191)   Checking

 out files:  18% (575/3191)   Checking out files:  19% (607/3191)   Checking out

 files:  20% (639/3191)   Checking out files:  20% (641/3191)   Checking out fil

es:  21% (671/3191)   Checking out files:  22% (703/3191)   Checking out files:

 23% (734/3191)   Checking out files:  24% (766/3191)   Checking out files:  25%

 (798/3191)   Checking out files:  26% (830/3191)   Checking out files:  26% (84

2/3191)   Checking out files:  27% (862/3191)   Checking out files:  28% (894/31

91)   Checking out files:  29% (926/3191)   Checking out files:  30% (958/3191)

  Checking out files:  31% (990/3191)   Checking out files:  32% (1022/3191)   C

hecking out files:  33% (1054/3191)   Checking out files:  34% (1085/3191)   Che

cking out files:  35% (1117/3191)   Checking out files:  36% (1149/3191)   Check

ing out files:  37% (1181/3191)   Checking out files:  38% (1213/3191)   Checkin

g out files:  39% (1245/3191)   Checking out files:  40% (1277/3191)   Checking

out files:  40% (1308/3191)   Checking out files:  41% (1309/3191)   Checking ou

t files:  42% (1341/3191)   Checking out files:  42% (1352/3191)   Checking out

files:  43% (1373/3191)   Checking out files:  44% (1405/3191)   Checking out fi

les:  45% (1436/3191)   Checking out files:  46% (1468/3191)   Checking out file

s:  47% (1500/3191)   Checking out files:  48% (1532/3191)   Checking out files:

  49% (1564/3191)   Checking out files:  49% (1578/3191)   Checking out files:

50% (1596/3191)   Checking out files:  51% (1628/3191)   Checking out files:  52

% (1660/3191)   Checking out files:  53% (1692/3191)   Checking out files:  54%

(1724/3191)   Checking out files:  55% (1756/3191)   Checking out files:  56% (1

787/3191)   Checking out files:  57% (1819/3191)   Checking out files:  58% (185

1/3191)   Checking out files:  59% (1883/3191)   Checking out files:  60% (1915/

3191)   Checking out files:  61% (1947/3191)   Checking out files:  62% (1979/31

91)   Checking out files:  63% (2011/3191)   Checking out files:  63% (2022/3191

)   Checking out files:  64% (2043/3191)   Checking out files:  65% (2075/3191)

  Checking out files:  66% (2107/3191)   Checking out files:  67% (2138/3191)

Checking out files:  68% (2170/3191)   Checking out files:  69% (2202/3191)   Ch

ecking out files:  70% (2234/3191)   Checking out files:  71% (2266/3191)   Chec

king out files:  72% (2298/3191)   Checking out files:  73% (2330/3191)   Checki

ng out files:  74% (2362/3191)   Checking out files:  75% (2394/3191)   Checking

 out files:  76% (2426/3191)   Checking out files:  77% (2458/3191)   Checking o

ut files:  78% (2489/3191)   Checking out files:  79% (2521/3191)   Checking out

 files:  80% (2553/3191)   Checking out files:  81% (2585/3191)   Checking out f

iles:  82% (2617/3191)   Checking out files:  83% (2649/3191)   Checking out fil

es:  83% (2679/3191)   Checking out files:  84% (2681/3191)   Checking out files

:  85% (2713/3191)   Checking out files:  86% (2745/3191)   Checking out files:

 87% (2777/3191)   Checking out files:  88% (2809/3191)   Checking out files:  8

9% (2840/3191)   Checking out files:  89% (2845/3191)   Checking out files:  90%

 (2872/3191)   Checking out files:  91% (2904/3191)   Checking out files:  92% (

2936/3191)   Checking out files:  93% (2968/3191)   Checking out files:  94% (30

00/3191)   Checking out files:  95% (3032/3191)   Checking out files:  95% (3035

/3191)   Checking out files:  96% (3064/3191)   Checking out files:  97% (3096/3

191)   Checking out files:  98% (3128/3191)   Checking out files:  99% (3160/319

1)   Checking out files: 100% (3191/3191)   Checking out files: 100% (3191/3191)

, done.

     [exec] Your branch is up to date with 'origin/develop'.

     [exec] Already on 'develop'

 

check-royale-typedefs:

 

clone-royale-typedefs:

     [echo] cloning royale-typedefs repo into C:\Users\aleena\royale-asjs/../roy

ale-typedefs

     [exec] Cloning into 'royale-typedefs'...

     [exec] Your branch is up to date with 'origin/develop'.

     [exec] Already on 'develop'

 

check-playerglobal-home:

 

check-air-home:

 

build-all:

 

ask-before-build-all:

    [input] This script will now download and compile lots of files.  This can t

ake several minutes.   No interaction should be required.  Press the enter key t

o continue.

 

sdk:

 

annotate.class:

    [mkdir] Created dir: C:\Users\aleena\royale-compiler\compiler-build-tools\ta

rget\classes

    [javac] Compiling 1 source file to C:\Users\aleena\royale-compiler\compiler-

build-tools\target\classes

    [javac] warning: [options] bootstrap class path not set in conjunction with

-source 1.5

    [javac] error: Source option 1.5 is no longer supported. Use 1.6 or later.

    [javac] error: Target option 1.5 is no longer supported. Use 1.6 or later.

 

BUILD FAILED

C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred while e

xecuting this line:

C:\Users\aleena\royale-compiler\build.xml:63: The following error occurred while

 executing this line:

C:\Users\aleena\royale-compiler\compiler-build-tools\build.xml:74: Compile faile

d; see the compiler error output for details.

 

Total time: 17 minutes 59 seconds

 

C:\Users\aleena\royale-asjs>

 

Unable to Build, Please guide.

 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Friday, March 02, 2018 10:31 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I was able to download and expand the files.  I will be consolidating the data today. 

 

In order to be able to write some of these emulations, you will probably need to be able to build the framework sources.  If you haven't already, you can try cloning the royale-asjs repo and figure out how to get it to build.  You can choose Apache Maven or Apache Ant as the build tool.

 

https://github.com/apache/royale-asjs <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs&data=02%7C01%7Caharui%40adobe.com%7C3c1833c1fc9442003f2608d5832c7fe0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559149534170415&sdata=YqGTpbzoou8SilHbsTxjriIjiREaS%2FA9j6xjZYRR%2F4E%3D&reserved=0> 

 

Hopefully the instruction in the readme are sufficient.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Friday, March 2, 2018 at 12:34 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

Application API-Report link:

https://www.dropbox.com/s/swvqhly6wa0jrc5/API-Reports.rar?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fswvqhly6wa0jrc5%2FAPI-Reports.rar%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C928c248220464230f6dd08d5801a2f13%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555772324148830&sdata=9%2BsrGG41iCMIEmbtqnEbV%2BPvi1ngE9vF%2BKuqPAZ%2Bzao%3D&reserved=0> 

SHMALib Report, applications,shmDoclist,shmSetupList,AppView_EIS, AppView_ERP,shmMappingSetup, shmMappingSetupOpenDetailGrid,shmSalesInvoice, shmSalesInvoiceDetail are main API Files.

 

Regards,

Alina

 

 

 

 

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Friday, March 02, 2018 11:32 AM
To: users@royale.apache.org
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

2) We are using Effects in our Application 2-3 times 

4) We are using text styling in our Application 3-5 times 

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Friday, March 02, 2018 4:26 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

1) Interesting about Charts.  They were being used by the SWC.

2) Effects are any animations that move, resize or fade things in the UI.

3) ok

4) I'm not sure what to conclude from the screenshot.  I'm interested in how often folks use it to create text with bold, italics and other styling of text.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Thursday, March 1, 2018 at 4:24 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

600 mxml.api.txt files are generated and still in process. I will share link for files tomorrow.

After sharing my files tomorrow, If you will suggest to build  emulations. 

I will  definitely want to learn how to create emulations and contribute them to Apache Royale.  

1.We are not using Charts in our Application

2. How important are effects? (Please explain effects )

3. We are not using Right-to-left languages in RichTextEditor.

4. Is RichTextEditor being used for non-plain text?  If so, what kinds of text styling is important?

Link:https://www.dropbox.com/s/ky93eycmefm3cuu/RICHTEXTEDITOR.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fky93eycmefm3cuu%2FRICHTEXTEDITOR.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cff526ec5592c42772ade08d57f713736%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555046634193460&sdata=BjS8q1GarTweRfMMmZOKxN%2FTQTqhtzJlm05KAtWnNTQ%3D&reserved=0> 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 10:45 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Good to hear it worked.

 

I think I am waiting on all of the mxml.api.txt files to see what else is in there that isn't in the two reports we have, then we'll have a pretty good list of the places you will either need to change in your code or that we  will build emulations for.

 

I think emulations will be less work in the end, but there will be a lot of them to do.  We will want to you to learn how to create emulations and contribute them to Apache Royale.  That's how many Apache projects work: some of the users learn how to become committers.  This will be an asset to your company as well since you will learn how to fix things in Royale yourself.  Then your company won't be dependent on outsiders for support.

 

So, Peter and I and hopefully others will get started on some emulations to make sure they work for us, and then you can see if they work for you, and then we will teach you how to write those emulations.  Over the next several months, besides testing emulations written by others in your app, you will be writing your own emulations for things you need right away that we haven't written yet, or for third-party code that you are using.

 

It might help to get some prioritization on the emulations we need to write.  In looking at the list, I am wondering:

1.	Are some charts more important than others?
2.	How important are effects?
3.	Do you use Right-to-left languages in RichTextEditor?
4.	Is RichTextEditor being used for non-plain text?  If so, what kinds of text styling is important?

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Wednesday, February 28, 2018 at 1:22 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Thank you.

It’s working with latest nightly build:

https://www.dropbox.com/s/77wkgrm74upkg0j/SHMALib%20Report.txt?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F77wkgrm74upkg0j%2FSHMALib%2520Report.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C16fa845b6d2f4efb7f4a08d57e8e9097%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636554073167111532&sdata=UV0BOZpVonw%2BILcK9njhQdf5pKpqWPccp0IKDPm4jOI%3D&reserved=0> 

 

 

Regards,

Alina

 

 

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 1:15 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Looks like COMPC collected the data but never generated the report.  I pushed a fix for that.  Please try the latest nightly build.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Tuesday, February 27, 2018 at 10:35 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Thank you

After commenting the embedded font part from source.

Output to console:

3462313 bytes written to D:\SHMALib.swc in 19.878 seconds

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"

 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\framewor

ks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\sr

c" -library-path+=D:\SHMALIB\libs

 

SHMALib.swf file Generated and Report.txt is empty 

SHMALib.swc output Link:

https://www.dropbox.com/s/4tz49sz134m2gg9/SHMALib.swc?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F4tz49sz134m2gg9%2FSHMALib.swc%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=%2FNcbTJtah21RRPeWfwg2pRaZ72hd%2BdG0iJlnH3GsA28%3D&reserved=0> 

then I change, Compc -output "D:\SHMALib.swc" to Compc -output "D:\SHMALib. txt " 

SHMALib.txt output Link:

https://www.dropbox.com/s/j38obt5e36awuh3/SHMALib.txt?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fj38obt5e36awuh3%2FSHMALib.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=V%2FcA5dJ3Fi1qOvh%2BtUlbU%2FZ%2FQ5SBfRw7psjsm2Q%2Fe8w%3D&reserved=0> 

 

Thanks,

Alina

 

 

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 11:18 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

The only error right now is the embedded font.

 

We can discuss the pros and cons of embedding images in the JS output at some other point in time.

 

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Tuesday, February 27, 2018 at 10:01 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Big Part of SHMALib Uses Embed and metadata :

 

                                // Embed the font so we can rotate it for further distortion

                                [Embed(systemFont="Comic Sans MS",

                                                                embedAsCFF='false')]

                <mx:Image y="4" width="18" height="20" right="185" source="@Embed(source='assets/default/images/load.png')"

                                                  source="@Embed(source='assets/default/images/next.gif')" scaleContent="false"/>

                <mx:Image y="4" width="18" height="20" right="3" source="@Embed(source='assets/default/images/magnifier.png')"

     * An IFrame which you can embed into Flex applications to show an HTML page.

     * @example A simple application with Google embedded

        // SWF embed object tracking

         * The SWF embed object id.

         * Get the embed object id.

        protected function resolveEmbedObjectId():void

                    var result:Object=ExternalInterface.call(IFrameExternalCalls.FUNCTION_ASK_FOR_EMBED_OBJECT_ID, randomIdentificationString.toString());

                        logger.info("Resolved the SWF embed object id to '{0}'.", applicationId);

                        logger.error('Could not resolve the SWF embed object Id.');

            // Resolve the SWF embed object id in the DOM.

            ExternalInterface.call(IFrameExternalCalls.INSERT_FUNCTION_ASK_FOR_EMBED_OBJECT_ID);

            resolveEmbedObjectId();

            logger.info("Loading IFrame with id '{0}', on SWF embed object with id '{1}'.", _frameId, applicationId);

                    FUNCTION_LOADIFRAME + " = function (frameID, iframeID, url, embedID, scrollPolicy)" +

                                      "onLoad='\"+embedID+\".\"+frameID+\"_load();' " +

        public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String = "askForEmbedObjectId";

        public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String = "askForEmbedObjectId";

        public static var INSERT_FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =

                "if (document." + FUNCTION_ASK_FOR_EMBED_OBJECT_ID + "==null)" +

                    FUNCTION_ASK_FOR_EMBED_OBJECT_ID + " = function(randomString) " + 

                            "var embeds = document.getElementsByTagName('embed'); " + 

                            "var embeds = document.getElementsByTagName('embed'); " + 

                            "for (var i = 0; i < embeds.length; i++) { " + 

                                "var isTheGoodOne = embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " + 

                                "var isTheGoodOne = embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " + 

                                    "return embeds[i].getAttribute('id'); " + 

                                 * The UITextField control for displaying embeded hints.

                                private var embedTextField:UITextField;

                                 *  The String to be shown as the embeded hint.

                                private var embedStr:String = "";

                                                                                embedStr = "MM DD YYYY";

                                                                                embedStr = "DD MM YYYY";

                                                                                embedStr = "YYYY MM DD";

                                                                                embedStr = "YYYY DD MM";

                                 *  Create child objects for displaying embeded hints.

                                                                embedTextField = new UITextField();

                                                                //embedTextField.text = embedStr;

                                                                //embedTextField.text = embedStr;

                                                                addChildAt(UITextField(embedTextField),getChildIndex(DisplayObject(textField)));//as TextField

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                                s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);

                                                                                                                                embedTextField.text = s;

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                s = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                                //s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);

                                                                                                                                //embedTextField.text = s;

                                                                                                                                s = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);

                                                                                                                                embedTextField.text = s;

                                                                                // If embeded hints are displayed then update the

                                                                                // UITextField corresponding to the embeded hints

                                                                                                var s:String = embedTextField.text == null ? "":embedTextField.text;

                                                                                                var s:String = embedTextField.text == null ? "":embedTextField.text;

                                                                                                                embedTextField.text = s;

                                                                // create the embeded text field for showing

                                                                // embeded hints if its not already created.

                                                                // If it is created, then just change the embeded hint.

                                                                if(!embedTextField)

                                                                                embedTextField = new UITextField();

                                                                                addChildAt(embedTextField,getChildIndex(DisplayObject(textField))); //as TextField

                                                                //embedTextField.text = embedStr;

                                                                //embedTextField.text = embedStr;

                                                                embedTextField.alpha = 1;

                                                                embedTextField.setTextFormat(txtFormat);

                                                                embedTextField.x = 0;

                                                                embedTextField.y = 2;

                                                                embedTextField.setActualSize(width,height);

                                                                if(embedTextField)

                                                                                embedTextField.text = "";

                                                                                embedTextField = null;

                                                // setting the color of the embeded text field to white.

                                                                if(embedTextField)

                                                                                embedTextField.setColor(0xFFFFFF);

                                                                                if(embedTextField)

                                                                                                addChildAt(DisplayObject(newSkin),getChildIndex(DisplayObject(embedTextField)));//

   background-image:                                      Embed(source="/assets/application_background.png",

                up-skin:                Embed("/assets/maximize_up.png");

                over-skin:            Embed("/assets/maximize_over.png");

                down-skin:         Embed("/assets/maximize_up.png");

                selected-up-skin:   Embed("/assets/restore_up.png");

                selected-over-skin: Embed("/assets/restore_over.png");

                selected-down-skin: Embed("/assets/restore_up.png");

                up-skin:        Embed("/assets/minimize_up.png");

                over-skin:      Embed("/assets/minimize_over.png");

                down-skin:      Embed("/assets/minimize_up.png");

                up-skin:                                Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");

                over-skin:                            Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");

                down-skin:                         Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30", scaleGridLeft="10", scaleGridRight="92");

                selected-up-skin:                             Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");

                selected-over-skin:                         Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");

                selected-down-skin:                      Embed("/assets/tab_selected.png", scaleGridTop="13", scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");

                up-skin:                                Embed("/assets/left_arrow_up.gif");

                over-skin:                            Embed("/assets/left_arrow_over.gif");

                down-skin:                         Embed("/assets/left_arrow_up.gif");

                disabled-skin:    Embed("/assets/left_arrow_disabled.gif");

                up-skin:                                Embed("/assets/right_arrow_up.gif");

                over-skin:                            Embed("/assets/right_arrow_over.gif");

                down-skin:                         Embed("/assets/right_arrow_up.gif");

                disabled-skin:    Embed("/assets/right_arrow_disabled.gif");

                                //[Embed(source="/assets/cursor_move.gif")]

                                //[Embed(source="/assets/cursor_resize.gif")]

                                [Embed(source="/assets/default/images/mouseMove.gif")]

                                [Embed(source="/assets/default/images/verticalSize.gif")]

                                [Embed(source="/assets/default/images/horizontalSize.gif")]

                                [Embed(source="/assets/default/images/leftObliqueSize.gif")]

                                [Embed(source="/assets/default/images/rightObliqueSize.gif")]

                                                if (image.isEmbedded) 

                                                //if (!Application.application.systemManager.isFontFaceEmbedded(textFormat)) 

                                                if (!FlexGlobals.topLevelApplication.systemManager.isFontFaceEmbedded(textFormat))

                                                                if (Application.application.isFontsEmbedded) {

                                                                if (Application.application.isFontsEmbedded) {

                                                                if (Application.application.isFontsEmbedded) {

                                private var _isEmbedded:Boolean = false;

                                public function set isEmbedded(embedded:Boolean):void 

                                public function set isEmbedded(embedded:Boolean):void 

                                                _isEmbedded = embedded;

                                                _isEmbedded = embedded;

                                public function get isEmbedded():Boolean 

                                                return _isEmbedded;

                                                <mx:icon>@Embed(source='images/print.GIF')</mx:icon>

                                                <mx:icon>@Embed(source='images/reload.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/first-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/first.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/previous-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/previous.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/next-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/next.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/last-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/last.GIF')</mx:icon>

                                                                                <mx:icon>@Embed(source='images/actualsize.GIF')</mx:icon>

                                                                                <mx:icon>@Embed(source='images/fitpage.GIF')</mx:icon>

                                                                                <mx:icon>@Embed(source='images/fitwidth.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/zoomin-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/zoomin.GIF')</mx:icon>

                                                                <mx:disabledIcon>@Embed(source='images/zoomout-gray.GIF')</mx:disabledIcon>

                                                                <mx:icon>@Embed(source='images/zoomout.GIF')</mx:icon>

                                                                <mx:icon>@Embed(source='images/print.GIF')</mx:icon>

                                                if (imageSourceXml.@isEmbedded.length() > 0)

                                                                image.isEmbedded = imageSourceXml.@isEmbedded == "true";

                                                                image.isEmbedded = imageSourceXml.@isEmbedded == "true";

                 source="@Embed(source='/assets/default/images/left_arrow_up.gif')"/>

                 source="@Embed(source='/assets/default/images/left_arrow_over.gif')"/>

                 source="@Embed(source='/assets/default/images/left_arrow_disabled.gif')"/>  

                                                                                   source="@Embed(source='/com/shm/flexlib/mdi/assets/img/maximizeButton.png')"/>

                                                                                   height="12" source="@Embed(source='/com/shm/flexlib/mdi/assets/img/restoreButton.png')"/>

                                                                                   source="@Embed(source='/com/shm/flexlib/mdi/assets/img/minimizeButton.png')"/>

                 source="@Embed(source='/assets/default/images/right_arrow_up.gif')"/>

                 source="@Embed(source='/assets/default/images/right_arrow_over.gif')"/>

                 source="@Embed(source='/assets/default/images/right_arrow_disabled.gif')"/>  

 

 

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 11:00 AM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I think you can ignore the warnings.  The first error is for embedding a font, which Royale doesn't currently support, so for now, try commenting out the Embed metadata and see if that allows the error to go away.

 

I would look into the other errors to see if they are legitimate or not.  The Royale Compiler will catch some things the MXMLC compiler may not.  Or you could comment out the code involved in the two errors in TImeZone.as for now since that won't affect the report.

 

The final two errors I saw are for missing skin states.  I think you can just add the skin states.

 

HTH,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Tuesday, February 27, 2018 at 9:35 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

While Executing

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\src"

Or 

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\Flex\libs\SH

MALIB.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bi

n\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\

SHMALIB\src" -library-path+=D:\SHMALIB\libs

 

Error:

(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to

field java.lang.Thread.inheritableThreadLocals

WARNING: Please consider reporting this to the maintainers of com.google.common.

base.internal.Finalizer

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect

ive access operations

WARNING: All illegal access operations will be denied in a future release

Loading configuration: D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

Warning: Duplicate declaration of SkinState 'normal'

 

 

Warning: Duplicate declaration of SkinState 'disabled'

 

 

D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(415): col: 50 Warning:

Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="DataProviderService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(419): col: 50 Warning:

Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="BasicFormatterService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(516): col: 50 Warning: Da

ta binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="DataProviderService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(520): col: 50 Warning: Da

ta binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject channelSet="{parentApplication.amfChannelSet}"

id="BasicFormatterService"  showBusyCursor="true"

                                                               ^

 

D:\SHMALIB\src\com\shm\components\shmCaptchaImage.as(43): col: 3 Error: Embed re

quires a 'source' file attribute

 

                [Embed(systemFont="Comic Sans MS",

                ^

 

D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(37): col: 88 Warning: Data

binding will not be able to detect assignments to 'isSelected'.

 

                                        <mx:CheckBox selectedField="isSelected"

 change="onChange(event);" selected="{data.isSelected}">

 

                                          ^

 

D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(46): col: 27 Warning: Data

binding will not be able to detect assignments to 'label'.

 

                                        <mx:Label text="{data.label}" />

                                                             ^

 

D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(126): col: 15 Error: Impli

cit coercion of a value of type Boolean to an unrelated type Number.

 

                                if(year & 0x3 == 0)

                                          ^

 

D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(134): col: 39 Error: Impli

cit coercion of a value of type Boolean to an unrelated type Number.

 

                                if(month == 1 && value.fullYear & 0x3 == 0)

                                                                  ^

 

D:\SHMALIB\src\com\shm\dashboard\renderers\GridPodURLRenderer.mxml(6): col: 23 W

arning: Data binding will not be able to detect assignments to 'SrNo'.

 

                  htmlText="&lt;u&gt;{data.SrNo}&lt;/u&gt;" color="blue" click="

f_DrillDownData(data)">

                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml Error:

The required skin state 'disabledWithPrompt' is missing.

 

 

D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml Error:

The required skin state 'normalWithPrompt' is missing.

 

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(177): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(187): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(202): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(212): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(429): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(439): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(454): col: 27 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                yField="{properties.@valueField}

">

                                                                    ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(464): col: 34 Warning: D

ata binding will not be able to detect assignments to 'categoryField'.

 

                                                categoryField="{properties.@cate

goryField}" />

                                                                           ^

 

D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(479): col: 26 Warning: D

ata binding will not be able to detect assignments to 'valueField'.

 

                                                field="{properties.@valueField}"

 

                                                                   ^

 

D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(115): col: 74 Warning

: Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject id="roDrillDownColInfo" channelSet="{parentAppl

ication.amfChannelSet}" showBusyCursor="true"

 

       ^

 

D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(118): col: 68 Warning

: Data binding will not be able to detect assignments to 'amfChannelSet'.

 

                <mx:RemoteObject id="roDgDpResult" channelSet="{parentApplicatio

n.amfChannelSet}" showBusyCursor="true"

 

 ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PieChartContent.mxml(128): col: 24 Warning

: Data binding will not be able to detect assignments to 'valueField'.

 

                                field="{properties.@valueField}"

                                                   ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 37 Warning: Dat

a binding will not be able to detect assignments to 'appParams'.

 

                                                        inputMask="{parentApplic

ation.appParams.DATE_FORMAT}" showToday="true"  yearNavigationEnabled="true"

 

     ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 47 Warning: Dat

a binding will not be able to detect assignments to 'DATE_FORMAT'.

 

                                                        inputMask="{parentApplic

ation.appParams.DATE_FORMAT}" showToday="true"  yearNavigationEnabled="true"

 

               ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 38 Warning: Dat

a binding will not be able to detect assignments to 'appParams'.

 

                                                         inputMask="{parentAppli

cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true" showToday="true"

 

      ^

 

D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 48 Warning: Dat

a binding will not be able to detect assignments to 'DATE_FORMAT'.

 

                                                         inputMask="{parentAppli

cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true" showToday="true"

 

                ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(12): col: 11 Warnin

g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

 

                        import mx.graphics.Stroke;

                               ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(37): col: 23 Warnin

g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

 

                                        lne.stroke = new Stroke(0,1,.3);

                                                         ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(46): col: 14 Warnin

g: Duplicate variable definition: i.

 

                                for (var i:int = 1; i < lnWdt; i++){

                                         ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(47): col: 10 Warnin

g: Duplicate variable definition: lne.

 

                                        var lne:Line  = new Line();

                                            ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(53): col: 23 Warnin

g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.

 

                                        lne.stroke = new Stroke(0,1,.3);

                                                         ^

 

D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(54): col: 10 Warnin

g: Duplicate variable definition: llbe.

 

                                        var llbe:Label = new Label();

                                            ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(157): col: 40 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var xPosition:Number = Application.application.p

arent.mouseX;

                                                                   ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(158): col: 40 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var yPosition:Number = Application.application.p

arent.mouseY;

                                                                   ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(225): col: 36 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var xPlus:Number = Application.application.paren

t.mouseX - point.x;

                                                               ^

 

D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(226): col: 36 Warn

ing: 'application' has been deprecated since 4.0. Please use 'FlexGlobals.topLev

elApplication'.

 

                                var yPlus:Number = Application.application.paren

t.mouseY - point.y;

                                                               

Thanks,

Alina Kazi

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, February 28, 2018 10:16 AM
To: Alina Kazi; users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I think that Flash Builder makes it easy to build SWCs.  Building from the command line can be a bit trickier.

 

Let's try:

Compc -output "D:\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\src"

 

HTH,

-Alex

 

 

From: Alina Kazi <al...@d-bz.com>
Date: Tuesday, February 27, 2018 at 7:28 PM
To: "users@royale.apache.org" <us...@royale.apache.org>, Alex Harui <ah...@adobe.com>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

Yes I am using Flash Builder.

SHMALIB and MainFlexApp are two separate Projects

Src for SHMALIB is placed into D:/SHMALIB/src

Src for MainFlexApp is D:/Flex/src and the library output file SHMALIB.swc is placed into D:/Flex/libs

 

SHMALIB (.actionscriptProperties)

 

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<actionScriptProperties mainApplicationPath="SHMALib.as" projectUUID="863559ab-3e7b-475b-a3a4-09f4f76fc0d2" version="6">

  <compiler additionalCompilerArguments="-locale en_US" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderLocation="D:/Flex/libs" outputFolderPath="bin-debug" sourceFolderPath="src" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" verifyDigests="true" warn="true">

    <compilerSourcePath/>

    <libraryPath defaultLinkType="0">

      <libraryPathEntry kind="4" path="">

        <excludedEntries>

          <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>

        </excludedEntries>

      </libraryPathEntry>

      <libraryPathEntry kind="1" linkType="1" path="libs"/>

    </libraryPath>

    <sourceAttachmentPath/>

  </compiler>

  <applications>

    <application path="SHMALib.as"/>

  </applications>

  <modules/>

  <buildCSSFiles/>

</actionScriptProperties>

 

SHMALIB (.flexLibProperties)

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<flexLibProperties includeAllClasses="true" version="3">

  <includeClasses/>

  <includeResources/>

  <namespaceManifests/>

</flexLibProperties>

 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 9:34 PM
To: Alina Kazi
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

When you are not trying to use Royale to generate this API report, how are you building your current Flex app?  We might need to know that in order to determine what parameters to add to COMPC.

 

COMPC has additional parameters like -include–sources, include-file, include-classes.  Sometimes, these are listed in an xml file.  If you are using Flash Builder, for example, then examine the .flexlibproperties and .actionscriptProperties files in your project folder.

 

Thanks,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Date: Tuesday, February 27, 2018 at 3:21 AM
To: 'Alina Kazi' <al...@d-bz.com>
Cc: Alex Harui <ah...@adobe.com>
Subject: RE: Generating API report for Flex Web Browser application

 

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"

 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"

Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by com.google.common.base.internal.Finalizer

(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to

field java.lang.Thread.inheritableThreadLocals

WARNING: Please consider reporting this to the maintainers of com.google.common.

base.internal.Finalizer

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect

ive access operations

 

Error: nothing was specified to be included in the library.

-Alina

 

From: Alina Kazi [mailto:alina.kazi@d-bz.com] 
Sent: Tuesday, February 27, 2018 2:16 PM
To: 'users@royale.apache.org'
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

I am using Moonshine IDE 1.9.0.

Flex 4.16.0

Apache Royale 0.9.2 Latest Nightly Build

 

Running this Command on Command Prompt:

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output "D:\SHMALib.swc"

 -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"

Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by com.google.common.base.internal.Finalizer

(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar) to

field java.lang.Thread.inheritableThreadLocals

WARNING: Please consider reporting this to the maintainers of com.google.common.

base.internal.Finalizer

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect

ive access operations

WARNING: All illegal access operations will be denied in a future release

 

command line Error: unknown configuration variable 'sourceΓÇôpath'.

 

-Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 1:26 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

COMPC takes a slightly different set of parameters.  What IDE or build tools are you using to build it without Royale?  You might need to know what options that build uses.

 

You can try running: 

 

Compc -output "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source–path="D:\Projects\SHMA\Main\Flex\src" or wherever the source code is for the library.

 

HTH,

-Alex

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, February 26, 2018 at 11:33 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Hi Alex,

 

For custom SWC, I am using COMPC to get an api-report for SWC

D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>compc "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml

Error: configuration variable 'output' was not set.

 

 

Thanks,

Alina

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 12:27 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

Yes, any SWC that is not in the Flex SDK's frameworks/libs folder needs to be specified as Piotr describes below.  We want you specify the same MXML file that you use to compile in the regular Flex SDK.  So if your Application.mxml starts with an mx:Application or s:Application that’s probably the one to use.  But also, if you have your own custom SWCs, we want you to use COMPC to get an api-report for those SWCs.  We want this modified Royale compiler to compile every source file you own so we can see what Flex APIs you are using.

 

HTH,

-Alex

 

From: Piotr Zarzycki <pi...@gmail.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, February 26, 2018 at 11:19 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina, 

 

In my sense you will have to use -library-path+=path to the library. You have to tell compiler about that library.

 

Thanks, Piotr

 

2018-02-27 7:57 GMT+01:00 Alina Kazi <al...@d-bz.com>:

Hi  Alex,

With latest nightly build:

MaskedTextInput , shmReportUtil …. Are Library Project Actionscript Files.

Main Application contains SHMALib.swc file in Libs folder

Error Link:

https://www.dropbox.com/s/p5imt22cuut0ex6/ErrorGeneratingReport.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fp5imt22cuut0ex6%2FErrorGeneratingReport.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=8f1f9duW2Red4bP77hFTh3mLcCptBmAwd87n1iSkk%2Bs%3D&reserved=0> 

 

I have a question that which .mxml file should be used to generate that report?

Applications.mxml is startup file in case of my Project so I’m using it.

 

Please visit reference link and If I’m doing anything wrong please let me know.

 

Thanks,

Alina

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, February 27, 2018 12:00 AM


To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Alina,

 

I pushed a fix for that.  It might or might not be related to your custom swc.  Get the latest nightly build and let us know.

 

Also, if you are successful, please use your regular compiler to generate a -link–report.  That will help us verify that the API report didn't miss anything.

 

Thanks,

-Alex

 

 

From: Alina Kazi <al...@d-bz.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Monday, February 26, 2018 at 4:01 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: RE: Generating API report for Flex Web Browser application

 

Generated Report file for Sample Project Successfully.

 

spark.components.Application:minHeight,1

spark.components.Application:minWidth,1

spark.components.Application:mxmlContentFactory,2

spark.components.Label:fontSize,1

spark.components.Label:fontWeight,1

spark.components.Label:horizontalCenter,1

spark.components.Label:text,1

spark.components.Label:textAlign,1

spark.components.Label:verticalCenter,1

 

But while executing Actual Project got Error:

https://www.dropbox.com/s/d25eysllavuy5z4/compile2.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fd25eysllavuy5z4%2Fcompile2.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=2i28J4zjv1vEQ7sd%2BGfHm%2Bh1FjG%2BP3YdJCc6rGZr3C4%3D&reserved=0> 

https://www.dropbox.com/s/49iq74zk6rxcr1y/compile1.png?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F49iq74zk6rxcr1y%2Fcompile1.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=44tfkOscWyJ%2FH3M30HeJ6dfFE0TlpTMhQ2t%2Bv%2ByuoDg%3D&reserved=0> 

 

May be because my Application is dependent to SHMALib(.swc) Library Project (Source Shared Earlier). 

 

-Alina

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Monday, February 26, 2018 5:02 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Alex,

 

I did above exercise for Moonshine and got NPE [1]. I used air-config.xml because it is na Desktop app.

 

[1] https://paste.apache.org/R0Si <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FR0Si&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=tFLrK9xsVt57PytwBaNoUJ%2FIPFH7FCHDtfrmJ1sAl3Y%3D&reserved=0>  

 

Thanks,

Piotr

 

 

2018-02-26 12:56 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:

Yishay,

 

Thank you so much!! I got it working.

 

Alina,

 

Here is the full instruction.

 

1) Download Apache Royale with SWF support - if you have that is good, if not it's here [1]

2) Download Apache Flex - you have it as I have seen on the screenshot.

3) Launch console and go to the Royale SDK folder

 

"yourpathtosdk\bin\" - In my case it was: "d:\Work\royale_ide\royale_nightly_js_swf\bin\"

 

4) Run following command where you will point to the Flex Browser application in order to generate report. My command looks like that:

 

mxmlc "c:\Users\piotr\Documents\NewFlexBrowserProject\src\NewFlexBrowserProject.mxml" -api-report="c:\Users\piotr\Documents\NewFlexBrowserProject\report.txt" -load-config=d:\Work\flex-sdk-4.16.1_adobe_air_28\frameworks\flex-config.xml

 

I generated report for hellow world. Maybe in order to generate report for your application that console command may be much more sophisticated. Let's see!

 

 

[1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/lastSuccessfulBuild/artifact/out/ <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2Fout%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=O%2BpVQ8OuhB%2FtE4ZdylTSkAQCWsIPBGlr9RgiTjWSWEM%3D&reserved=0> 

 

Thanks,

Piotr

 

 

2018-02-26 12:46 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:

Looks like [1] you do need to add compiler option: -api–report=<path to output file>

 

[1] http://apache-royale-users.20374.n8.nabble.com/Substitutes-in-Apache-Royale-tp392p492.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p492.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kda6SpkBgdRqGAeGJ5Db629EAy7KAVbOZKzhzhynRZk%3D&reserved=0> 

 

 

From: Piotr Zarzycki <ma...@gmail.com> 
Sent: Monday, February 26, 2018 1:37 PM


To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

I have produced with that swf, but what's next? Let's wait for Alex's response [1] 

 

[1] https://paste.apache.org/YEeG <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FYEeG&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8ameYzJ7AloOW4nTa8dqu7zYxwORSQc5sCUqpZDVA%2BY%3D&reserved=0> 

 

Thanks,

Piotr

 

2018-02-26 12:32 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:

Alex will know but I don’t think so. I haven’t updated the compiler recently so can’t test it right now. If you want to test it maybe just create a simple app and replace /Users/aharui/ApacheFlex4.16.0 with your sdk home.

 

 

 

From: Piotr Zarzycki <ma...@gmail.com> 
Sent: Monday, February 26, 2018 1:25 PM
To: users@royale.apache.org
Subject: Re: Generating API report for Flex Web Browser application

 

Hi Yishay, 

 

bin/mxmlc

<path to app's

.mxml

file>

-load-config=/Users/aharui/ApacheFlex4.16.0/frameworks/flex-config.xml  

 

Do I need some switch for compiler -api-report or something like that ?

 

Thanks,

Piotr

 

 

2018-02-26 12:10 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:

Wasn’t logged in. Here’s [1] the link.

 

[1] http://apache-royale-users.20374.n8.nabble.com/Substitutes-in-Apache-Royale-tp392p489.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p489.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8Tp5%2BFveKS0eoW7D8EovITPQqYrgwDK4P7cW9izXFH8%3D&reserved=0> 

 

 

From: Yishay Weiss <ma...@hotmail.com> 
Sent: Monday, February 26, 2018 12:59 PM
To: users@royale.apache.org
Subject: RE: Generating API report for Flex Web Browser application

 

I couldn’t find a way to link to a nabble post, but this [1] might help (from Substitutes in Apache Royale).

 

[1] https://paste.apache.org/N2QR <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FN2QR&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=VIS8u6EEBWN6jQrFxpttZvAfUCSSKPe3rbrBDU2w7Sg%3D&reserved=0> 

 

From: Piotr Zarzycki <ma...@gmail.com> 
Sent: Monday, February 26, 2018 12:44 PM
To: users@royale.apache.org
Subject: Generating API report for Flex Web Browser application

 

Hi Alex, 

 

I would like to understand how to generate that report. I will go with the console path, because I think this is something unusual and probably Moonshine is not prepared to do this. I'm writing this on the users mailing list because Alina is having some problems with that. I wanted to simplify all of that. Let's start from the beginning. 

 

1) I have created Flex Web browser project using Apache Flex SDK 4.16.1. 

2) I have nightly build of Royale with SWF support [1]

 

What should I type in the console now ?

 

[1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/lastSuccessfulBuild/artifact/ <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=UtYFFQ90aNB2HU2Vx4t8YAS6Eo2j1ZqVAytujEOgoFM%3D&reserved=0> 

 

Thanks,
-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 

 

 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 

 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 

 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0> 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=zGrfZ2Wj3CLuuW%2B%2BKtUSQF6762Vn0%2BeNjCMlViBMghg%3D&reserved=0> 





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki


Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

Posted by Piotr Zarzycki <pi...@gmail.com>.
I got the same results, but tried again in the same directory with  *mvn -s
settings-template.xml clean install *and it's building now!

2018-03-07 7:59 GMT+01:00 Alina Kazi <al...@d-bz.com>:

> Hi Piotr,
>
> What should I do?
>
> Do You want me to delete all files name royale-asjs? Or delete other
> folders royale-compiler n others.
>
>
>
> Thanks Alina
>
>
>
> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com]
> *Sent:* Wednesday, March 07, 2018 12:07 PM
> *To:* users@royale.apache.org
> *Subject:* Re: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Ok! I just cloned separate repository and got similar problem. ->
> https://paste.apache.org/HuYU
>
>
>
> 2018-03-07 7:42 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>
> Similar Error
>
>
>
> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com]
> *Sent:* Wednesday, March 07, 2018 11:41 AM
> *To:* users@royale.apache.org
> *Subject:* Re: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Use *"mvn -s settings-template.xml clean install" *without pointing to
> profile -P utils.
>
>
>
> 2018-03-07 7:22 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>
> Hi Piotr,
>
> Getting Similar Error in all cases.
>
> C:\Users\aleena>git clone https://github.com/apache/royale-asjs
>
> Cloning into 'royale-asjs'...
>
> remote: Counting objects: 101055, done.
>
> remote: Compressing objects: 100% (127/127), done.
>
> remote: Total 101055 (delta 101), reused 183 (delta 63), pack-reused 100828
>
> Receiving objects: 100% (101055/101055), 19.27 MiB | 249.00 KiB/s, done.
>
> Resolving deltas: 100% (61539/61539), done.
>
> Checking out files: 100% (3572/3572), done.
>
>
>
> C:\Users\aleena>cd royale-asjs
>
>
>
> C:\Users\aleena\royale-asjs>git checkout develop
>
> Already on 'develop'
>
> Your branch is up to date with 'origin/develop'.
>
>
>
> C:\Users\aleena\royale-asjs>mvn -s settings-template.xml clean install -P
> utils
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> Downloading from apache-snapshots: http://repository.apache.org/
> snapshots/org/ap
>
> ache/flex/utilities/converter/flex-sdk-converter-maven-
> extension/1.0.0-SNAPSHOT/
>
> maven-metadata.xml
>
> [WARNING] Could not transfer metadata org.apache.flex.utilities.
> converter:flex-s
>
> dk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from/to
> apache-sn
>
> apshots (http://repository.apache.org/snapshots/): Connect to
> repository.apache.
>
> org:80 [repository.apache.org/207.244.88.140] failed: Connection timed
> out: conn
>
> ect
>
> [WARNING] Failure to transfer org.apache.flex.utilities.
> converter:flex-sdk-conve
>
> rter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from
> http://repository.ap
>
> ache.org/snapshots/ was cached in the local repository, resolution will
> not be r
>
> eattempted until the update interval of apache-snapshots has elapsed or
> updates
>
> are forced. Original error: Could not transfer metadata
> org.apache.flex.utilitie
>
> s.converter:flex-sdk-converter-maven-extension:1.0.
> 0-SNAPSHOT/maven-metadata.xml
>
>  from/to apache-snapshots (http://repository.apache.org/snapshots/):
> Connect to
>
> repository.apache.org:80 [repository.apache.org/207.244.88.140] failed:
> Connecti
>
> on timed out: connect
>
> Downloading from apache-snapshots: http://repository.apache.org/
> snapshots/org/ap
>
> ache/flex/utilities/converter/flex-sdk-converter-maven-
> extension/1.0.0-SNAPSHOT/
>
> flex-sdk-converter-maven-extension-1.0.0-SNAPSHOT.pom
>
> [WARNING] Failed to read extensions descriptor
> C:\Users\aleena\royale-asjs\.mvn\
>
> extensions.xml: Plugin org.apache.flex.utilities.
> converter:flex-sdk-converter-ma
>
> ven-extension:1.0.0-SNAPSHOT or one of its dependencies could not be
> resolved: F
>
> ailed to read artifact descriptor for org.apache.flex.utilities.
> converter:flex-s
>
> dk-converter-maven-extension:jar:1.0.0-SNAPSHOT
>
> [INFO] Scanning for projects...
>
> Downloading from apache-release: https://repository.apache.org/
> content/repositor
>
> ies/releases/org/apache/apache/18/apache-18.pom
>
> Downloading from central: https://repo.maven.apache.org/
> maven2/org/apache/apache
>
> /18/apache-18.pom
>
> [ERROR] [ERROR] Some problems were encountered while processing the POMs:
>
> [FATAL] Non-resolvable parent POM for org.apache.royale.framework:
> royale-framewo
>
> rk-parent:0.9.2-SNAPSHOT: Could not transfer artifact
> org.apache:apache:pom:18 f
>
> rom/to apache-release (https://repository.apache.org/content/repositories/
> releas
>
> es): Connect to repository.apache.org:443 [repository.apache.org/207.
> 244.88.140]
>
>  failed: Connection timed out: connect and 'parent.relativePath' points at
> no lo
>
> cal POM @ line 24, column 11
>
>  @
>
> [ERROR] The build could not read 1 project -> [Help 1]
>
> [ERROR]
>
> [ERROR]   The project org.apache.royale.framework:
> royale-framework-parent:0.9.2-
>
> SNAPSHOT (C:\Users\aleena\royale-asjs\pom.xml) has 1 error
>
> [ERROR]     Non-resolvable parent POM for org.apache.royale.framework:
> royale-fra
>
> mework-parent:0.9.2-SNAPSHOT: Could not transfer artifact
> org.apache:apache:pom:
>
> 18 from/to apache-release (https://repository.apache.
> org/content/repositories/re
>
> leases): Connect to repository.apache.org:443 [repository.apache.org/207.
> 244.88.
>
> 140] failed: Connection timed out: connect and 'parent.relativePath'
> points at n
>
> o local POM @ line 24, column 11 -> [Help 2]
>
> [ERROR]
>
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e swit
>
> ch.
>
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>
> [ERROR]
>
> [ERROR] For more information about the errors and possible solutions,
> please rea
>
> d the following articles:
>
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/
> ProjectBuildin
>
> gException
>
> [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/
> UnresolvableMo
>
> delException
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com]
> *Sent:* Wednesday, March 07, 2018 11:25 AM
> *To:* users@royale.apache.org
> *Subject:* Re: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Alina,
>
>
>
> I see in your trace that you have cloned typedefs instead asjs -> "git
> clone https://github.com/apache/royale-typedefs.git". You should clone:
>
>
>
> git clone https://github.com/apache/royale-asjs and switch to "develop"
> branch than try to build.
>
>
>
> However let me try build typedefs only in the meantime clone asjs and try
> again.
>
>
>
> Thanks, Piotr
>
>
>
>
>
> 2018-03-07 7:19 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
>
> Alina,
>
>
>
> Not sure, but let me try that on my sight, however I doubt that. Maven is
> a very distinguished from all the environment variables. If you got that
> build running you don't have to use almost all. :)
>
>
>
> 2018-03-07 7:03 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>
> Hi Piotr,
>
>
>
> ROYALE_HOME environment variable is set to D:\royale-asjs that is the path
> for installed latest nightly build. This could be the reason ?
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com]
> *Sent:* Wednesday, March 07, 2018 10:56 AM
> *To:* users@royale.apache.org
> *Subject:* Re: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Please try again build. Maybe it was some temporary problem. My build is
> running right now without the problem. Maven downloading dependencies
> nicely.
>
>
>
> Thanks, Piotr
>
>
>
> 2018-03-07 6:39 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>
> Hi Piotr,
>
> Its Working.
>
> This XML file does not appear to have any style information associated
> with it. The document tree is shown below.
>
> <metadata modelVersion="1.1.0">
>
> <groupId>org.apache.flex.utilities.converter</groupId>
>
> <artifactId>retrievers</artifactId>
>
> <version>1.0.0-SNAPSHOT</version>
>
> <versioning>
>
> <snapshot>
>
> <timestamp>20171112.204231</timestamp>
>
> <buildNumber>490</buildNumber>
>
> </snapshot>
>
> <lastUpdated>20171112204231</lastUpdated>
>
> <snapshotVersions>
>
> <snapshotVersion>
>
> <extension>pom</extension>
>
> <value>1.0.0-20171112.204231-490</value>
>
> <updated>20171112204231</updated>
>
> </snapshotVersion>
>
> </snapshotVersions>
>
> </versioning>
>
> </metadata>
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com]
> *Sent:* Wednesday, March 07, 2018 10:48 AM
> *To:* users@royale.apache.org
> *Subject:* Re: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Hi Alina,
>
>
>
> I just removed my whole local repository and trying exactly the same
> scenario. Just quick question can you try in your browser open this link ?
> Is it working ?
>
>
>
> http://repository.apache.org/snapshots/org/apache/flex/
> utilities/converter/retrievers/1.0.0-SNAPSHOT/maven-metadata.xml
>
>
>
> Thanks,
>
> Piotr
>
>
>
> 2018-03-07 6:27 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>
> Hi Piotr,
>
> Using Maven :
>
> C:\Users\aleena>git clone https://github.com/apache/royale-typedefs.git
> royale-a
>
> sjs
>
> Cloning into 'royale-asjs'...
>
> remote: Counting objects: 3318, done.
>
> remote: Compressing objects: 100% (93/93), done.
>
> remote: Total 3318 (delta 48), reused 76 (delta 16), pack-reused 3200
>
> Receiving objects: 100% (3318/3318), 3.51 MiB | 244.00 KiB/s, done.
>
> Resolving deltas: 100% (1337/1337), done.
>
>
>
> C:\Users\aleena>cd royale-asjs
>
>
>
> C:\Users\aleena\royale-asjs>git checkout develop
>
> Already on 'develop'
>
> Your branch is up to date with 'origin/develop'.
>
>
>
> C:\Users\aleena\royale-asjs>mvn -s settings-template.xml clean install
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> Downloading from apache-snapshots: http://repository.apache.org/
> snapshots/org/ap
>
> ache/flex/utilities/converter/flex-sdk-converter-maven-
> extension/1.0.0-SNAPSHOT/
>
> maven-metadata.xml
>
> [WARNING] Could not transfer metadata org.apache.flex.utilities.
> converter:flex-s
>
> dk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from/to
> apache-sn
>
> apshots (http://repository.apache.org/snapshots/): Connect to
> repository.apache.
>
> org:80 [repository.apache.org/207.244.88.140] failed: Connection timed
> out: conn
>
> ect
>
> [WARNING] Failure to transfer org.apache.flex.utilities.
> converter:flex-sdk-conve
>
> rter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from
> http://repository.ap
>
> ache.org/snapshots/ was cached in the local repository, resolution will
> not be r
>
> eattempted until the update interval of apache-snapshots has elapsed or
> updates
>
> are forced. Original error: Could not transfer metadata
> org.apache.flex.utilitie
>
> s.converter:flex-sdk-converter-maven-extension:1.0.
> 0-SNAPSHOT/maven-metadata.xml
>
>  from/to apache-snapshots (http://repository.apache.org/snapshots/):
> Connect to
>
> repository.apache.org:80 [repository.apache.org/207.244.88.140] failed:
> Connecti
>
> on timed out: connect
>
> Downloading from apache-snapshots: http://repository.apache.org/
> snapshots/org/ap
>
> ache/flex/utilities/converter/flex-sdk-converter-maven-
> extension/1.0.0-SNAPSHOT/
>
> flex-sdk-converter-maven-extension-1.0.0-SNAPSHOT.pom
>
> [WARNING] Failed to read extensions descriptor
> C:\Users\aleena\royale-asjs\.mvn\
>
> extensions.xml: Plugin org.apache.flex.utilities.
> converter:flex-sdk-converter-ma
>
> ven-extension:1.0.0-SNAPSHOT or one of its dependencies could not be
> resolved: F
>
> ailed to read artifact descriptor for org.apache.flex.utilities.
> converter:flex-s
>
> dk-converter-maven-extension:jar:1.0.0-SNAPSHOT
>
> [INFO] Scanning for projects...
>
> Downloading from apache-release: https://repository.apache.org/
> content/repositor
>
> ies/releases/org/apache/apache/18/apache-18.pom
>
> Downloading from central: https://repo.maven.apache.org/
> maven2/org/apache/apache
>
> /18/apache-18.pom
>
> [ERROR] [ERROR] Some problems were encountered while processing the POMs:
>
> [FATAL] Non-resolvable parent POM for org.apache.royale.typedefs:
> royale-typedefs
>
> -parent:0.9.2-SNAPSHOT: Could not transfer artifact
> org.apache:apache:pom:18 fro
>
> m/to apache-release (https://repository.apache.org/content/repositories/
> releases
>
> ): Connect to repository.apache.org:443 [repository.apache.org/207.
> 244.88.140] f
>
> ailed: Connection timed out: connect and 'parent.relativePath' points at
> wrong l
>
> ocal POM @ line 23, column 11
>
>  @
>
> [ERROR] The build could not read 1 project -> [Help 1]
>
> [ERROR]
>
> [ERROR]   The project org.apache.royale.typedefs:
> royale-typedefs-parent:0.9.2-SN
>
> APSHOT (C:\Users\aleena\royale-asjs\pom.xml) has 1 error
>
> [ERROR]     Non-resolvable parent POM for org.apache.royale.typedefs:
> royale-type
>
> defs-parent:0.9.2-SNAPSHOT: Could not transfer artifact
> org.apache:apache:pom:18
>
>  from/to apache-release (https://repository.apache.
> org/content/repositories/rele
>
> ases): Connect to repository.apache.org:443 [repository.apache.org/207.
> 244.88.14
>
> 0] failed: Connection timed out: connect and 'parent.relativePath' points
> at wro
>
> ng local POM @ line 23, column 11 -> [Help 2]
>
> [ERROR]
>
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e swit
>
> ch.
>
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>
> [ERROR]
>
> [ERROR] For more information about the errors and possible solutions,
> please rea
>
> d the following articles:
>
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/
> ProjectBuildin
>
> gException
>
> [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/
> UnresolvableMo
>
> delException
>
>
>
> C:\Users\aleena\royale-asjs>
>
>
>
> Thanks
>
> Alina
>
>
>
> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com]
> *Sent:* Tuesday, March 06, 2018 5:30 PM
> *To:* users@royale.apache.org
> *Subject:* Re: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Hi Alina,
>
>
>
> You can try to go with Maven to see whether you have similar problems [1]
>
>
>
> [1] https://github.com/apache/royale-asjs/wiki/Build-Apache-
> Royale-with-Maven
>
>
>
> Thanks, Piotr
>
>
>
> 2018-03-06 13:12 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>
> Hi Alex,
>
> Still getting same error, while executing:
>
> C:\Users\aleena\royale-asjs>ant all
>
> Website link is working :
>
> http://www.antlr.org/license.html
>
>
>
> could be only issue , Antlr server will be off-line ?
>
>
>
> Thanks,
>
> Alina
>
> *From:* Alina Kazi [mailto:alina.kazi@d-bz.com]
> *Sent:* Tuesday, March 06, 2018 4:38 PM
> *To:* 'users@royale.apache.org'
> *Subject:* RE: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Hi Alex,
>
>
>
> We can exclude ScaleX , ScaleY,transform from our code as we are using it
> in our Library Project Only.
>
> We are using “Rotation” in a PopUp Window.
>
>
>
> Can you please explain *emulation* ?
>
> How do they will work?
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alina Kazi [mailto:alina.kazi@d-bz.com]
> *Sent:* Tuesday, March 06, 2018 3:14 PM
> *To:* 'users@royale.apache.org'
> *Subject:* RE: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Hi Alex,
>
> We are using commitProperties() in our Library Project. Overriding the
> Existing Spark commitProperties() method
>
> For Example:
>
> ResizableTextAreaSkin.mxml (SHMALib)
>
> override protected function commitProperties():void {
>
>                                                 super.commitProperties();
>
>
>
>                                                 if (lineBreakChanged) {
>
>
> updateStringStyle("lineBreak");
>
>
> lineBreakChanged = false;
>
>                                                 }
>
>                                                 if (paddingChanged) {
>
>
> updatePadding();
>
>
> paddingChanged = false;
>
>                                                 }
>
>                                                 if (verticalAlignChanged)
> {
>
>
> updateStringStyle("verticalAlign");
>
>
> verticalAlignChanged = false;
>
>                                                 }
>
>                                 }
>
> We are using
>
> *Package*
>
> flash.display
> <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/package-detail.html>
>
> *Class*
>
> public class DisplayObject
>
> *Inheritance*
>
> DisplayObject [image: Inheritance] EventDispatcher
> <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/EventDispatcher.html>
>  [image: Inheritance] Object
> <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Object.html>
>
> *Reference Link:*
>
> https://help.adobe.com/en_US/FlashPlatform/reference/
> actionscript/3/flash/display/DisplayObject.html
>
>
>
> e.g :
>
>                 public function updateLayoutWithoutAnimation():void
>
>                                 {
>
>                                                 if(_layoutInvalid == true
> && layoutFunction != null)
>
>                                                 {
>
>
> _layoutInvalid = false;
>
>
> layoutFunction();
>
>                                                 }
>
>
>
>                                                 for(var aChild:* in
> _targets)
>
>                                                 {
>
>                                                                 var
> target:LayoutTarget = _targets[aChild];
>
>                                                                 var
> item:IFlexDisplayObject = target.item;
>
>                                                                 var
> m:Matrix = DisplayObject(item).transform.matrix;
>
>
>
>                                                                 m.tx =
> target.x;
>
>                                                                 m.ty =
> target.y;
>
>                                                                 m.a =
> target.scaleX;
>
>
>                                                                 m.d =
> target.scaleY
>
>
>
>
> DisplayObject(item).alpha = target.alpha;
>
>
> DisplayObject(item).transform.matrix = m;
>
>
> item.setActualSize(target.unscaledWidth,target.unscaledHeight);
>
>
> if(target.state == "removed")
>
>                                                                 {
>
>
> delete _targets[target.item];
>
>
> continue;
>
>                                                                 }
>
>                                                                 else
>
>                                                                 {
>
>
> target.state = "positioned"
>
>                                                                 }
>
>                                                 }
>
>                                                 stopTimer();
>
>                                 }
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com]
> *Sent:* Tuesday, March 06, 2018 1:36 PM
> *To:* users@royale.apache.org
> *Subject:* API Usage in Flex Web Browser application (was Re: Generating
> API report for Flex Web Browser application)
>
>
>
> Hi Alina,
>
>
>
> I'm starting on the emulation.  I've noticed that your application code
> appears to be calling commitProperties().  Can you tell us why?
>
>
>
> Also, it looks like there are a few uses of rotation, transform, scaleX
> and scaleY.  What are those used for?
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alex Harui <ah...@adobe.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, March 5, 2018 at 11:38 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> Try again.  Sometimes the Antlr server goes off-line around this time of
> day.
>
>
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, March 5, 2018 at 11:12 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> Using jdk1.8.0_162:
>
>
>
> C:\Users\aleena\royale-asjs>ant all
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> Buildfile: C:\Users\aleena\royale-asjs\build.xml
>
>
>
> set.base.folder:
>
>
>
> check-git:
>
>      [echo] Checking for Git...
>
>      [exec] git version 2.16.2.windows.1
>
>
>
> get-download-folder:
>
>
>
> download-all:
>
>      [echo] Using folder C:\Users\aleena\royale-asjs/..
>
>
>
> check-royale-asjs:
>
>
>
> warn-before-clone:
>
>
>
> check-royale-asjs:
>
>
>
> clone-royale-asjs:
>
>
>
> check-royale-compiler:
>
>
>
> clone-royale-compiler:
>
>
>
> check-royale-typedefs:
>
>
>
> clone-royale-typedefs:
>
>
>
> check-playerglobal-home:
>
>
>
> check-air-home:
>
>
>
> build-all:
>
>
>
> ask-before-build-all:
>
>     [input] This script will now download and compile lots of files.  This
> can t
>
> ake several minutes.   No interaction should be required.  Press the enter
> key t
>
> o continue.
>
>
>
>
>
> sdk:
>
>
>
> annotate.class:
>
>     [javac] Compiling 1 source file to C:\Users\aleena\royale-
> compiler\compiler-
>
> build-tools\target\classes
>
>     [javac] warning: [options] bootstrap class path not set in conjunction
> with
>
> -source 1.5
>
>     [javac] warning: [options] source value 1.5 is obsolete and will be
> removed
>
> in a future release
>
>     [javac] warning: [options] target value 1.5 is obsolete and will be
> removed
>
> in a future release
>
>     [javac] warning: [options] To suppress warnings about obsolete
> options, use
>
> -Xlint:-options.
>
>     [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\
> src\main\java\o
>
> rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:24: warning:
> [serial
>
> ] serializable class AnnotateClassDeleteException has no definition of
> serialVer
>
> sionUID
>
>     [javac]     public static class AnnotateClassDeleteException extends
> Excepti
>
> on
>
>     [javac]                   ^
>
>     [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\
> src\main\java\o
>
> rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:32: warning:
> [serial
>
> ] serializable class AnnotateClassRenameException has no definition of
> serialVer
>
> sionUID
>
>     [javac]     public static class AnnotateClassRenameException extends
> Excepti
>
> on
>
>     [javac]                   ^
>
>     [javac] 6 warnings
>
>
>
> unknown.tree.pattern.input.output:
>
>     [javac] Compiling 1 source file to C:\Users\aleena\royale-
> compiler\compiler-
>
> build-tools\target\classes
>
>     [javac] warning: [options] bootstrap class path not set in conjunction
> with
>
> -source 1.5
>
>     [javac] warning: [options] source value 1.5 is obsolete and will be
> removed
>
> in a future release
>
>     [javac] warning: [options] target value 1.5 is obsolete and will be
> removed
>
> in a future release
>
>     [javac] warning: [options] To suppress warnings about obsolete
> options, use
>
> -Xlint:-options.
>
>     [javac] 4 warnings
>
>
>
> main:
>
>
>
> compiler.downloads.cache:
>
>
>
> compiler.downloads:
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> prepare:
>
>      [echo] Making lib directory C:\Users\aleena\royale-
> compiler\compiler/lib/ex
>
> ternal
>
>     [mkdir] Created dir: C:\Users\aleena\royale-
> compiler\compiler\lib\external
>
>
>
> all:
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> check-dependency:
>
>      [echo] checking for C:\Users\aleena\royale-compiler\compiler/lib/
> external//
>
> antlr.jar
>
>
>
> download-dependency:
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> echo-project-jar:
>
>    [delete] Deleting: C:\Users\aleena\royale-compiler\compiler\src\main\
> resource
>
> s\project.properties
>
>      [echo] ${INFO_DOWNLOADING_FILE_FROM}
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> download-apache-license:
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> download-other-license:
>
>       [get] Getting: http://www.antlr.org/license.html
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0>
>
>       [get] To: C:\Users\aleena\royale-compiler\compiler\lib\
> external\antlr-LICE
>
> NSE.html
>
>       [get] Error getting http://www.antlr.org/license.html
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0>
> to C:\Users\aleena\r
>
> oyale-compiler\compiler\lib\external\antlr-LICENSE.html
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> double-check-file:
>
>      [echo] ${env.ROYALE_DOWNLOAD_CACHE}
>
>      [echo] Need file: ${still_no_file}
>
>
>
> get-from-cache-if-needed:
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> fail-if-not-found:
>
>
>
> BUILD FAILED
>
> C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred
> while e
>
> xecuting this line:
>
> C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred
> while e
>
> xecuting this line:
>
> C:\Users\aleena\royale-compiler\build.xml:64: The following error
> occurred while
>
>  executing this line:
>
> C:\Users\aleena\royale-compiler\compiler-jburg-types\build.xml:87: The
> following
>
>  error occurred while executing this line:
>
> C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:81:
> Th
>
> e following error occurred while executing this line:
>
> C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:275:
> T
>
> he following error occurred while executing this line:
>
> C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:329:
> T
>
> he following error occurred while executing this line:
>
> C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:489:
> C
>
> :\Users\aleena\royale-compiler\compiler/lib/external//antlr-LICENSE.html
> could n
>
> ot be downloaded or found in cache
>
>
>
> Total time: 47 seconds
>
>
>
> C:\Users\aleena\royale-asjs>
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Tuesday, March 06, 2018 11:55 AM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> Please use JDK8.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, March 5, 2018 at 10:40 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> Java version that I am using is “9.0.1”
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Tuesday, March 06, 2018 11:42 AM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> What version of Java are you using?  Please get a JDK7 or 8 and try that.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, March 5, 2018 at 10:22 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> Command Prompt Output is:
>
> C:\Users\aleena>git clone https://github.com/apache/royale-asjs.git
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs.git&data=02%7C01%7Caharui%40adobe.com%7Cdf86fa0dd25b41ffbc8108d5832f0997%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559160423949211&sdata=d9cKX4ILIQPLI5USXvAafSnrWZSgW1XHw6G4r%2B9wgsE%3D&reserved=0>
> royale-asjs
>
> Cloning into 'royale-asjs'...
>
> remote: Counting objects: 101103, done.
>
> remote: Compressing objects: 100% (22/22), done.
>
> remote: Total 101103 (delta 9), reused 30 (delta 7), pack-reused 101066R
>
> Receiving objects: 100% (101103/101103), 19.23 MiB | 208.00 KiB/s, done.
>
>
>
> Resolving deltas: 100% (61584/61584), done.
>
> Checking out files: 100% (3572/3572), done.
>
>
>
> C:\Users\aleena>cd royale-asjs
>
>
>
> C:\Users\aleena\royale-asjs>git checkout develop
>
> Already on 'develop'
>
> Your branch is up to date with 'origin/develop'.
>
>
>
> C:\Users\aleena\royale-asjs>ant all
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> Buildfile: C:\Users\aleena\royale-asjs\build.xml
>
>
>
> set.base.folder:
>
>
>
> check-git:
>
>      [echo] Checking for Git...
>
>      [exec] git version 2.16.2.windows.1
>
>
>
> get-download-folder:
>
>
>
> download-all:
>
>      [echo] Using folder C:\Users\aleena\royale-asjs/..
>
>
>
> check-royale-asjs:
>
>
>
> warn-before-clone:
>
>
>
> check-royale-asjs:
>
>
>
> clone-royale-asjs:
>
>
>
> check-royale-compiler:
>
>
>
> clone-royale-compiler:
>
>      [echo] cloning royale-compiler repo into
> C:\Users\aleena\royale-asjs/../roy
>
> ale-compiler
>
>      [exec] Cloning into 'royale-compiler'...
>
>      [exec] Checking out files:   8% (284/3191)
>
>      [exec] Checking out files:   9% (288/3191)   Checking out files:  10%
> (320/
>
> 3191)   Checking out files:  11% (352/3191)   Checking out files:  12%
> (383/3191
>
> )   Checking out files:  13% (415/3191)   Checking out files:  13%
> (444/3191)
>
> Checking out files:  14% (447/3191)   Checking out files:  15%
> (479/3191)   Chec
>
> king out files:  16% (511/3191)   Checking out files:  17% (543/3191)
> Checking
>
>  out files:  18% (575/3191)   Checking out files:  19% (607/3191)
> Checking out
>
>  files:  20% (639/3191)   Checking out files:  20% (641/3191)   Checking
> out fil
>
> es:  21% (671/3191)   Checking out files:  22% (703/3191)   Checking out
> files:
>
>  23% (734/3191)   Checking out files:  24% (766/3191)   Checking out
> files:  25%
>
>  (798/3191)   Checking out files:  26% (830/3191)   Checking out files:
> 26% (84
>
> 2/3191)   Checking out files:  27% (862/3191)   Checking out files:  28%
> (894/31
>
> 91)   Checking out files:  29% (926/3191)   Checking out files:  30%
> (958/3191)
>
>   Checking out files:  31% (990/3191)   Checking out files:  32%
> (1022/3191)   C
>
> hecking out files:  33% (1054/3191)   Checking out files:  34%
> (1085/3191)   Che
>
> cking out files:  35% (1117/3191)   Checking out files:  36% (1149/3191)
> Check
>
> ing out files:  37% (1181/3191)   Checking out files:  38% (1213/3191)
> Checkin
>
> g out files:  39% (1245/3191)   Checking out files:  40% (1277/3191)
> Checking
>
> out files:  40% (1308/3191)   Checking out files:  41% (1309/3191)
> Checking ou
>
> t files:  42% (1341/3191)   Checking out files:  42% (1352/3191)
> Checking out
>
> files:  43% (1373/3191)   Checking out files:  44% (1405/3191)   Checking
> out fi
>
> les:  45% (1436/3191)   Checking out files:  46% (1468/3191)   Checking
> out file
>
> s:  47% (1500/3191)   Checking out files:  48% (1532/3191)   Checking out
> files:
>
>   49% (1564/3191)   Checking out files:  49% (1578/3191)   Checking out
> files:
>
> 50% (1596/3191)   Checking out files:  51% (1628/3191)   Checking out
> files:  52
>
> % (1660/3191)   Checking out files:  53% (1692/3191)   Checking out
> files:  54%
>
> (1724/3191)   Checking out files:  55% (1756/3191)   Checking out files:
> 56% (1
>
> 787/3191)   Checking out files:  57% (1819/3191)   Checking out files:
> 58% (185
>
> 1/3191)   Checking out files:  59% (1883/3191)   Checking out files:  60%
> (1915/
>
> 3191)   Checking out files:  61% (1947/3191)   Checking out files:  62%
> (1979/31
>
> 91)   Checking out files:  63% (2011/3191)   Checking out files:  63%
> (2022/3191
>
> )   Checking out files:  64% (2043/3191)   Checking out files:  65%
> (2075/3191)
>
>   Checking out files:  66% (2107/3191)   Checking out files:  67%
> (2138/3191)
>
> Checking out files:  68% (2170/3191)   Checking out files:  69%
> (2202/3191)   Ch
>
> ecking out files:  70% (2234/3191)   Checking out files:  71%
> (2266/3191)   Chec
>
> king out files:  72% (2298/3191)   Checking out files:  73% (2330/3191)
> Checki
>
> ng out files:  74% (2362/3191)   Checking out files:  75% (2394/3191)
> Checking
>
>  out files:  76% (2426/3191)   Checking out files:  77% (2458/3191)
> Checking o
>
> ut files:  78% (2489/3191)   Checking out files:  79% (2521/3191)
> Checking out
>
>  files:  80% (2553/3191)   Checking out files:  81% (2585/3191)   Checking
> out f
>
> iles:  82% (2617/3191)   Checking out files:  83% (2649/3191)   Checking
> out fil
>
> es:  83% (2679/3191)   Checking out files:  84% (2681/3191)   Checking out
> files
>
> :  85% (2713/3191)   Checking out files:  86% (2745/3191)   Checking out
> files:
>
>  87% (2777/3191)   Checking out files:  88% (2809/3191)   Checking out
> files:  8
>
> 9% (2840/3191)   Checking out files:  89% (2845/3191)   Checking out
> files:  90%
>
>  (2872/3191)   Checking out files:  91% (2904/3191)   Checking out files:
> 92% (
>
> 2936/3191)   Checking out files:  93% (2968/3191)   Checking out files:
> 94% (30
>
> 00/3191)   Checking out files:  95% (3032/3191)   Checking out files:  95%
> (3035
>
> /3191)   Checking out files:  96% (3064/3191)   Checking out files:  97%
> (3096/3
>
> 191)   Checking out files:  98% (3128/3191)   Checking out files:  99%
> (3160/319
>
> 1)   Checking out files: 100% (3191/3191)   Checking out files: 100%
> (3191/3191)
>
> , done.
>
>      [exec] Your branch is up to date with 'origin/develop'.
>
>      [exec] Already on 'develop'
>
>
>
> check-royale-typedefs:
>
>
>
> clone-royale-typedefs:
>
>      [echo] cloning royale-typedefs repo into
> C:\Users\aleena\royale-asjs/../roy
>
> ale-typedefs
>
>      [exec] Cloning into 'royale-typedefs'...
>
>      [exec] Your branch is up to date with 'origin/develop'.
>
>      [exec] Already on 'develop'
>
>
>
> check-playerglobal-home:
>
>
>
> check-air-home:
>
>
>
> build-all:
>
>
>
> ask-before-build-all:
>
>     [input] This script will now download and compile lots of files.  This
> can t
>
> ake several minutes.   No interaction should be required.  Press the enter
> key t
>
> o continue.
>
>
>
> sdk:
>
>
>
> annotate.class:
>
>     [mkdir] Created dir: C:\Users\aleena\royale-
> compiler\compiler-build-tools\ta
>
> rget\classes
>
>     [javac] Compiling 1 source file to C:\Users\aleena\royale-
> compiler\compiler-
>
> build-tools\target\classes
>
>     [javac] warning: [options] bootstrap class path not set in conjunction
> with
>
> -source 1.5
>
>     [javac] error: Source option 1.5 is no longer supported. Use 1.6 or
> later.
>
>     [javac] error: Target option 1.5 is no longer supported. Use 1.6 or
> later.
>
>
>
> BUILD FAILED
>
> C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred
> while e
>
> xecuting this line:
>
> C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred
> while e
>
> xecuting this line:
>
> C:\Users\aleena\royale-compiler\build.xml:63: The following error
> occurred while
>
>  executing this line:
>
> C:\Users\aleena\royale-compiler\compiler-build-tools\build.xml:74:
> Compile faile
>
> d; see the compiler error output for details.
>
>
>
> Total time: 17 minutes 59 seconds
>
>
>
> C:\Users\aleena\royale-asjs>
>
>
>
> Unable to Build, Please guide.
>
>
>
> Thanks,
>
> Alina
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Friday, March 02, 2018 10:31 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> I was able to download and expand the files.  I will be consolidating the
> data today.
>
>
>
> In order to be able to write some of these emulations, you will probably
> need to be able to build the framework sources.  If you haven't already,
> you can try cloning the royale-asjs repo and figure out how to get it to
> build.  You can choose Apache Maven or Apache Ant as the build tool.
>
>
>
> https://github.com/apache/royale-asjs
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs&data=02%7C01%7Caharui%40adobe.com%7C3c1833c1fc9442003f2608d5832c7fe0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559149534170415&sdata=YqGTpbzoou8SilHbsTxjriIjiREaS%2FA9j6xjZYRR%2F4E%3D&reserved=0>
>
>
>
> Hopefully the instruction in the readme are sufficient.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Friday, March 2, 2018 at 12:34 AM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> Application API-Report link:
>
> https://www.dropbox.com/s/swvqhly6wa0jrc5/API-Reports.rar?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fswvqhly6wa0jrc5%2FAPI-Reports.rar%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C928c248220464230f6dd08d5801a2f13%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555772324148830&sdata=9%2BsrGG41iCMIEmbtqnEbV%2BPvi1ngE9vF%2BKuqPAZ%2Bzao%3D&reserved=0>
>
> SHMALib Report, applications,shmDoclist,shmSetupList,AppView_EIS,
> AppView_ERP,shmMappingSetup, shmMappingSetupOpenDetailGrid,shmSalesInvoice,
> shmSalesInvoiceDetail are main API Files.
>
>
>
> Regards,
>
> Alina
>
>
>
>
>
>
>
>
>
> *From:* Alina Kazi [mailto:alina.kazi@d-bz.com <al...@d-bz.com>]
> *Sent:* Friday, March 02, 2018 11:32 AM
> *To:* users@royale.apache.org
> *Subject:* RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> 2) We are using Effects in our Application 2-3 times
>
> 4) We are using text styling in our Application 3-5 times
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Friday, March 02, 2018 4:26 AM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> 1) Interesting about Charts.  They were being used by the SWC.
>
> 2) Effects are any animations that move, resize or fade things in the UI.
>
> 3) ok
>
> 4) I'm not sure what to conclude from the screenshot.  I'm interested in
> how often folks use it to create text with bold, italics and other styling
> of text.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Thursday, March 1, 2018 at 4:24 AM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> 600 mxml.api.txt files are generated and still in process. I will share
> link for files tomorrow.
>
> After sharing my files tomorrow, If you will suggest to build  emulations.
>
>
> I will  definitely want to learn how to create emulations and contribute
> them to Apache Royale.
>
> 1.We are not using Charts in our Application
>
> 2. How important are effects? (Please explain effects )
>
> 3. We are not using Right-to-left languages in RichTextEditor.
>
> 4. Is RichTextEditor being used for non-plain text?  If so, what kinds of
> text styling is important?
>
> Link:https://www.dropbox.com/s/ky93eycmefm3cuu/RICHTEXTEDITOR.png?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fky93eycmefm3cuu%2FRICHTEXTEDITOR.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cff526ec5592c42772ade08d57f713736%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555046634193460&sdata=BjS8q1GarTweRfMMmZOKxN%2FTQTqhtzJlm05KAtWnNTQ%3D&reserved=0>
>
> Thanks,
>
> Alina
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Wednesday, February 28, 2018 10:45 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> Good to hear it worked.
>
>
>
> I think I am waiting on all of the mxml.api.txt files to see what else is
> in there that isn't in the two reports we have, then we'll have a pretty
> good list of the places you will either need to change in your code or that
> we  will build emulations for.
>
>
>
> I think emulations will be less work in the end, but there will be a lot
> of them to do.  We will want to you to learn how to create emulations and
> contribute them to Apache Royale.  That's how many Apache projects work:
> some of the users learn how to become committers.  This will be an asset to
> your company as well since you will learn how to fix things in Royale
> yourself.  Then your company won't be dependent on outsiders for support.
>
>
>
> So, Peter and I and hopefully others will get started on some emulations
> to make sure they work for us, and then you can see if they work for you,
> and then we will teach you how to write those emulations.  Over the next
> several months, besides testing emulations written by others in your app,
> you will be writing your own emulations for things you need right away that
> we haven't written yet, or for third-party code that you are using.
>
>
>
> It might help to get some prioritization on the emulations we need to
> write.  In looking at the list, I am wondering:
>
>    1. Are some charts more important than others?
>    2. How important are effects?
>    3. Do you use Right-to-left languages in RichTextEditor?
>    4. Is RichTextEditor being used for non-plain text?  If so, what kinds
>    of text styling is important?
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Wednesday, February 28, 2018 at 1:22 AM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> Thank you.
>
> It’s working with latest nightly build:
>
> https://www.dropbox.com/s/77wkgrm74upkg0j/SHMALib%20Report.txt?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F77wkgrm74upkg0j%2FSHMALib%2520Report.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C16fa845b6d2f4efb7f4a08d57e8e9097%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636554073167111532&sdata=UV0BOZpVonw%2BILcK9njhQdf5pKpqWPccp0IKDPm4jOI%3D&reserved=0>
>
>
>
>
>
> Regards,
>
> Alina
>
>
>
>
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Wednesday, February 28, 2018 1:15 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> Looks like COMPC collected the data but never generated the report.  I
> pushed a fix for that.  Please try the latest nightly build.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Tuesday, February 27, 2018 at 10:35 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> Thank you
>
> After commenting the embedded font part from source.
>
> Output to console:
>
> 3462313 bytes written to D:\SHMALib.swc in 19.878 seconds
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
> "D:\SHMALib.swc"
>
>  -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bin\framewor
>
> ks\flex-config.xml -source-path="D:\SHMALIB\src"
> -include-sources="D:\SHMALIB\sr
>
> c" -library-path+=D:\SHMALIB\libs
>
>
>
> SHMALib.swf file Generated and Report.txt is empty
>
> *SHMALib.swc output Link:*
>
> https://www.dropbox.com/s/4tz49sz134m2gg9/SHMALib.swc?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F4tz49sz134m2gg9%2FSHMALib.swc%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=%2FNcbTJtah21RRPeWfwg2pRaZ72hd%2BdG0iJlnH3GsA28%3D&reserved=0>
>
> then I change, Compc -output "D:\SHMALib.swc" to Compc -output
> "D:\SHMALib. txt "
>
> *SHMALib.txt output Link:*
>
> https://www.dropbox.com/s/j38obt5e36awuh3/SHMALib.txt?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fj38obt5e36awuh3%2FSHMALib.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=V%2FcA5dJ3Fi1qOvh%2BtUlbU%2FZ%2FQ5SBfRw7psjsm2Q%2Fe8w%3D&reserved=0>
>
>
>
> Thanks,
>
> Alina
>
>
>
>
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Wednesday, February 28, 2018 11:18 AM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> The only error right now is the embedded font.
>
>
>
> We can discuss the pros and cons of embedding images in the JS output at
> some other point in time.
>
>
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Tuesday, February 27, 2018 at 10:01 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Big Part of SHMALib Uses Embed and metadata :
>
>
>
>                                 // Embed the font so we can rotate it for
> further distortion
>
>                                 [Embed(systemFont="Comic Sans MS",
>
>
> embedAsCFF='false')]
>
>                 <mx:Image y="4" width="18" height="20" right="185"
> source="@Embed(source='assets/default/images/load.png')"
>
>
> source="@Embed(source='assets/default/images/next.gif')"
> scaleContent="false"/>
>
>                 <mx:Image y="4" width="18" height="20" right="3"
> source="@Embed(source='assets/default/images/magnifier.png')"
>
>      * An IFrame which you can embed into Flex applications to show an
> HTML page.
>
>      * @example A simple application with Google embedded
>
>         // SWF embed object tracking
>
>          * The SWF embed object id.
>
>          * Get the embed object id.
>
>         protected function resolveEmbedObjectId():void
>
>                     var result:Object=ExternalInterface.call(
> IFrameExternalCalls.FUNCTION_ASK_FOR_EMBED_OBJECT_ID,
> randomIdentificationString.toString());
>
>                         logger.info("Resolved the SWF embed object id to
> '{0}'.", applicationId);
>
>                         logger.error('Could not resolve the SWF embed
> object Id.');
>
>             // Resolve the SWF embed object id in the DOM.
>
>             ExternalInterface.call(IFrameExternalCalls.INSERT_
> FUNCTION_ASK_FOR_EMBED_OBJECT_ID);
>
>             resolveEmbedObjectId();
>
>             logger.info("Loading IFrame with id '{0}', on SWF embed
> object with id '{1}'.", _frameId, applicationId);
>
>                     FUNCTION_LOADIFRAME + " = function (frameID, iframeID,
> url, embedID, scrollPolicy)" +
>
>                                       "onLoad='\"+embedID+\".\"+frameID+\"_load();'
> " +
>
>         public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =
> "askForEmbedObjectId";
>
>         public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =
> "askForEmbedObjectId";
>
>         public static var INSERT_FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =
>
>                 "if (document." + FUNCTION_ASK_FOR_EMBED_OBJECT_ID +
> "==null)" +
>
>                     FUNCTION_ASK_FOR_EMBED_OBJECT_ID + " =
> function(randomString) " +
>
>                             "var embeds = document.getElementsByTagName('embed');
> " +
>
>                             "var embeds = document.getElementsByTagName('embed');
> " +
>
>                             "for (var i = 0; i < embeds.length; i++) { " +
>
>                                 "var isTheGoodOne =
> embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " +
>
>                                 "var isTheGoodOne =
> embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " +
>
>                                     "return embeds[i].getAttribute('id');
> " +
>
>                                  * The UITextField control for displaying
> embeded hints.
>
>                                 private var embedTextField:UITextField;
>
>                                  *  The String to be shown as the embeded
> hint.
>
>                                 private var embedStr:String = "";
>
>
> embedStr = "MM DD YYYY";
>
>
> embedStr = "DD MM YYYY";
>
>
> embedStr = "YYYY MM DD";
>
>
> embedStr = "YYYY DD MM";
>
>                                  *  Create child objects for displaying
> embeded hints.
>
>
> embedTextField = new UITextField();
>
>
> //embedTextField.text = embedStr;
>
>
> //embedTextField.text = embedStr;
>
>
> addChildAt(UITextField(embedTextField),getChildIndex(
> DisplayObject(textField)));//as TextField
>
>
>                                                     s =
> embedTextField.text == null ? "":embedTextField.text;
>
>
>                                                     s =
> embedTextField.text == null ? "":embedTextField.text;
>
>
>                                                                     s =
> s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);
>
>
>
> embedTextField.text = s;
>
>
>                                                     s =
> embedTextField.text == null ? "":embedTextField.text;
>
>
>                                                     s =
> embedTextField.text == null ? "":embedTextField.text;
>
>
>                                                                     //s =
> s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);
>
>
>
> //embedTextField.text = s;
>
>
>                                                                     s =
> s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);
>
>
>
> embedTextField.text = s;
>
>
> // If embeded hints are displayed then update the
>
>
> // UITextField corresponding to the embeded hints
>
>
>                                     var s:String = embedTextField.text ==
> null ? "":embedTextField.text;
>
>
>                                     var s:String = embedTextField.text ==
> null ? "":embedTextField.text;
>
>
>                                                     embedTextField.text =
> s;
>
>                                                                 // create
> the embeded text field for showing
>
>                                                                 //
> embeded hints if its not already created.
>
>                                                                 // If it
> is created, then just change the embeded hint.
>
>
> if(!embedTextField)
>
>
> embedTextField = new UITextField();
>
>
> addChildAt(embedTextField,getChildIndex(DisplayObject(textField))); //as
> TextField
>
>
> //embedTextField.text = embedStr;
>
>
> //embedTextField.text = embedStr;
>
>
> embedTextField.alpha = 1;
>
>
> embedTextField.setTextFormat(txtFormat);
>
>
> embedTextField.x = 0;
>
>
> embedTextField.y = 2;
>
>
> embedTextField.setActualSize(width,height);
>
>
> if(embedTextField)
>
>
> embedTextField.text = "";
>
>
> embedTextField = null;
>
>                                                 // setting the color of
> the embeded text field to white.
>
>
> if(embedTextField)
>
>
> embedTextField.setColor(0xFFFFFF);
>
>
> if(embedTextField)
>
>
>                 addChildAt(DisplayObject(newSkin),getChildIndex(
> DisplayObject(embedTextField)));//
>
>    background-image:
> Embed(source="/assets/application_background.png",
>
>                 up-skin:                Embed("/assets/maximize_up.png");
>
>                 over-skin:            Embed("/assets/maximize_over.png");
>
>                 down-skin:         Embed("/assets/maximize_up.png");
>
>                 selected-up-skin:   Embed("/assets/restore_up.png");
>
>                 selected-over-skin: Embed("/assets/restore_over.png");
>
>                 selected-down-skin: Embed("/assets/restore_up.png");
>
>                 up-skin:        Embed("/assets/minimize_up.png");
>
>                 over-skin:      Embed("/assets/minimize_over.png");
>
>                 down-skin:      Embed("/assets/minimize_up.png");
>
>                 up-skin:
> Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30",
> scaleGridLeft="10", scaleGridRight="92");
>
>                 over-skin:
> Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30",
> scaleGridLeft="10", scaleGridRight="92");
>
>                 down-skin:
> Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30",
> scaleGridLeft="10", scaleGridRight="92");
>
>                 selected-up-skin:
> Embed("/assets/tab_selected.png", scaleGridTop="13",
> scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");
>
>                 selected-over-skin:
> Embed("/assets/tab_selected.png", scaleGridTop="13",
> scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");
>
>                 selected-down-skin:                      Embed("/assets/
> tab_selected.png", scaleGridTop="13", scaleGridBottom="31",
> scaleGridLeft="9", scaleGridRight="91");
>
>                 up-skin:
> Embed("/assets/left_arrow_up.gif");
>
>                 over-skin:
> Embed("/assets/left_arrow_over.gif");
>
>                 down-skin:
> Embed("/assets/left_arrow_up.gif");
>
>                 disabled-skin:    Embed("/assets/left_arrow_
> disabled.gif");
>
>                 up-skin:
> Embed("/assets/right_arrow_up.gif");
>
>                 over-skin:
> Embed("/assets/right_arrow_over.gif");
>
>                 down-skin:
> Embed("/assets/right_arrow_up.gif");
>
>                 disabled-skin:    Embed("/assets/right_arrow_
> disabled.gif");
>
>                                 //[Embed(source="/assets/
> cursor_move.gif")]
>
>                                 //[Embed(source="/assets/
> cursor_resize.gif")]
>
>                                 [Embed(source="/assets/
> default/images/mouseMove.gif")]
>
>                                 [Embed(source="/assets/
> default/images/verticalSize.gif")]
>
>                                 [Embed(source="/assets/
> default/images/horizontalSize.gif")]
>
>                                 [Embed(source="/assets/default/images/
> leftObliqueSize.gif")]
>
>                                 [Embed(source="/assets/default/images/
> rightObliqueSize.gif")]
>
>                                                 if (image.isEmbedded)
>
>                                                 //if
> (!Application.application.systemManager.isFontFaceEmbedded(textFormat))
>
>                                                 if (!FlexGlobals.
> topLevelApplication.systemManager.isFontFaceEmbedded(textFormat))
>
>                                                                 if
> (Application.application.isFontsEmbedded) {
>
>                                                                 if
> (Application.application.isFontsEmbedded) {
>
>                                                                 if
> (Application.application.isFontsEmbedded) {
>
>                                 private var _isEmbedded:Boolean = false;
>
>                                 public function set
> isEmbedded(embedded:Boolean):void
>
>                                 public function set
> isEmbedded(embedded:Boolean):void
>
>                                                 _isEmbedded = embedded;
>
>                                                 _isEmbedded = embedded;
>
>                                 public function get isEmbedded():Boolean
>
>                                                 return _isEmbedded;
>
>                                                 <mx:icon>@Embed(source='
> images/print.GIF')</mx:icon>
>
>                                                 <mx:icon>@Embed(source='
> images/reload.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/first-gray.GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/first.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/previous-gray.
> GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/previous.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/next-gray.GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/next.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/last-gray.GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/last.GIF')</mx:icon>
>
>
> <mx:icon>@Embed(source='images/actualsize.GIF')</mx:icon>
>
>
> <mx:icon>@Embed(source='images/fitpage.GIF')</mx:icon>
>
>
> <mx:icon>@Embed(source='images/fitwidth.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/zoomin-gray.GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/zoomin.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/zoomout-gray.
> GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/zoomout.GIF')</mx:icon>
>
>
> <mx:icon>@Embed(source='images/print.GIF')</mx:icon>
>
>                                                 if (
> imageSourceXml.@isEmbedded.length() > 0)
>
>
> image.isEmbedded = imageSourceXml.@isEmbedded == "true";
>
>
> image.isEmbedded = imageSourceXml.@isEmbedded == "true";
>
>                  source="@Embed(source='/assets/default/images/left_
> arrow_up.gif')"/>
>
>                  source="@Embed(source='/assets/default/images/left_
> arrow_over.gif')"/>
>
>                  source="@Embed(source='/assets/default/images/left_arrow_disabled.gif')"/>
>
>
>
>    source="@Embed(source='/com/shm/flexlib/mdi/assets/img/
> maximizeButton.png')"/>
>
>
>    height="12" source="@Embed(source='/com/shm/flexlib/mdi/assets/img/
> restoreButton.png')"/>
>
>
>    source="@Embed(source='/com/shm/flexlib/mdi/assets/img/
> minimizeButton.png')"/>
>
>                  source="@Embed(source='/assets/default/images/right_
> arrow_up.gif')"/>
>
>                  source="@Embed(source='/assets/default/images/right_
> arrow_over.gif')"/>
>
>                  source="@Embed(source='/assets/default/images/right_arrow_disabled.gif')"/>
>
>
>
>
>
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Wednesday, February 28, 2018 11:00 AM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> I think you can ignore the warnings.  The first error is for embedding a
> font, which Royale doesn't currently support, so for now, try commenting
> out the Embed metadata and see if that allows the error to go away.
>
>
>
> I would look into the other errors to see if they are legitimate or not.
> The Royale Compiler will catch some things the MXMLC compiler may not.  Or
> you could comment out the code involved in the two errors in TImeZone.as
> for now since that won't affect the report.
>
>
>
> The final two errors I saw are for missing skin states.  I think you can
> just add the skin states.
>
>
>
> HTH,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Tuesday, February 27, 2018 at 9:35 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> While Executing
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
> "D:\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"
> -include-sources="D:\SHMALIB\src"
>
> Or
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
> "D:\Flex\libs\SH
>
> MALIB.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bi
>
> n\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"
> -include-sources="D:\
>
> SHMALIB\src" -library-path+=D:\SHMALIB\libs
>
>
>
> *Error:*
>
> (file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar)
> to
>
> field java.lang.Thread.inheritableThreadLocals
>
> WARNING: Please consider reporting this to the maintainers of
> com.google.common.
>
> base.internal.Finalizer
>
> WARNING: Use --illegal-access=warn to enable warnings of further illegal
> reflect
>
> ive access operations
>
> WARNING: All illegal access operations will be denied in a future release
>
> Loading configuration: D:\apache-flex-sdk-4.16.0-bin\
> frameworks\flex-config.xml
>
>
>
> Warning: Duplicate declaration of SkinState 'normal'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'disabled'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'normal'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'disabled'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'normal'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'disabled'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'normal'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'disabled'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'normal'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'disabled'
>
>
>
>
>
> D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(415): col: 50
> Warning:
>
> Data binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject channelSet="{parentApplication.
> amfChannelSet}"
>
> id="DataProviderService"  showBusyCursor="true"
>
>                                                                ^
>
>
>
> D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(419): col: 50
> Warning:
>
> Data binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject channelSet="{parentApplication.
> amfChannelSet}"
>
> id="BasicFormatterService"  showBusyCursor="true"
>
>                                                                ^
>
>
>
> D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(516): col: 50
> Warning: Da
>
> ta binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject channelSet="{parentApplication.
> amfChannelSet}"
>
> id="DataProviderService"  showBusyCursor="true"
>
>                                                                ^
>
>
>
> D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(520): col: 50
> Warning: Da
>
> ta binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject channelSet="{parentApplication.
> amfChannelSet}"
>
> id="BasicFormatterService"  showBusyCursor="true"
>
>                                                                ^
>
>
>
> D:\SHMALIB\src\com\shm\components\shmCaptchaImage.as(43): col: 3 Error:
> Embed re
>
> quires a 'source' file attribute
>
>
>
>                 [Embed(systemFont="Comic Sans MS",
>
>                 ^
>
>
>
> D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(37): col: 88
> Warning: Data
>
> binding will not be able to detect assignments to 'isSelected'.
>
>
>
>                                         <mx:CheckBox
> selectedField="isSelected"
>
>  change="onChange(event);" selected="{data.isSelected}">
>
>
>
>                                           ^
>
>
>
> D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(46): col: 27
> Warning: Data
>
> binding will not be able to detect assignments to 'label'.
>
>
>
>                                         <mx:Label text="{data.label}" />
>
>                                                              ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(126): col: 15
> Error: Impli
>
> cit coercion of a value of type Boolean to an unrelated type Number.
>
>
>
>                                 if(year & 0x3 == 0)
>
>                                           ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(134): col: 39
> Error: Impli
>
> cit coercion of a value of type Boolean to an unrelated type Number.
>
>
>
>                                 if(month == 1 && value.fullYear & 0x3 ==
> 0)
>
>                                                                   ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\renderers\GridPodURLRenderer.mxml(6):
> col: 23 W
>
> arning: Data binding will not be able to detect assignments to 'SrNo'.
>
>
>
>                   htmlText="&lt;u&gt;{data.SrNo}&lt;/u&gt;" color="blue"
> click="
>
> f_DrillDownData(data)">
>
>                                     ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml
> Error:
>
> The required skin state 'disabledWithPrompt' is missing.
>
>
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml
> Error:
>
> The required skin state 'normalWithPrompt' is missing.
>
>
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(177): col: 27
> Warning: D
>
> ata binding will not be able to detect assignments to 'valueField'.
>
>
>
>                                                 yField="{properties.@
> valueField}
>
> ">
>
>                                                                     ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(187): col: 34
> Warning: D
>
> ata binding will not be able to detect assignments to 'categoryField'.
>
>
>
>
> categoryField="{properties.@cate
>
> goryField}" />
>
>
> ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(202): col: 27
> Warning: D
>
> ata binding will not be able to detect assignments to 'valueField'.
>
>
>
>                                                 yField="{properties.@
> valueField}
>
> ">
>
>                                                                     ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(212): col: 34
> Warning: D
>
> ata binding will not be able to detect assignments to 'categoryField'.
>
>
>
>
> categoryField="{properties.@cate
>
> goryField}" />
>
>
> ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(429): col: 27
> Warning: D
>
> ata binding will not be able to detect assignments to 'valueField'.
>
>
>
>                                                 yField="{properties.@
> valueField}
>
> ">
>
>                                                                     ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(439): col: 34
> Warning: D
>
> ata binding will not be able to detect assignments to 'categoryField'.
>
>
>
>
> categoryField="{properties.@cate
>
> goryField}" />
>
>
> ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(454): col: 27
> Warning: D
>
> ata binding will not be able to detect assignments to 'valueField'.
>
>
>
>                                                 yField="{properties.@
> valueField}
>
> ">
>
>                                                                     ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(464): col: 34
> Warning: D
>
> ata binding will not be able to detect assignments to 'categoryField'.
>
>
>
>
> categoryField="{properties.@cate
>
> goryField}" />
>
>
> ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(479): col: 26
> Warning: D
>
> ata binding will not be able to detect assignments to 'valueField'.
>
>
>
>
> field="{properties.@valueField}"
>
>
>
>                                                                    ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(115): col: 74
> Warning
>
> : Data binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject id="roDrillDownColInfo"
> channelSet="{parentAppl
>
> ication.amfChannelSet}" showBusyCursor="true"
>
>
>
>        ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(118): col: 68
> Warning
>
> : Data binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject id="roDgDpResult"
> channelSet="{parentApplicatio
>
> n.amfChannelSet}" showBusyCursor="true"
>
>
>
>  ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\PieChartContent.mxml(128): col: 24
> Warning
>
> : Data binding will not be able to detect assignments to 'valueField'.
>
>
>
>                                 field="{properties.@valueField}"
>
>                                                    ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 37
> Warning: Dat
>
> a binding will not be able to detect assignments to 'appParams'.
>
>
>
>
> inputMask="{parentApplic
>
> ation.appParams.DATE_FORMAT}" showToday="true"
> yearNavigationEnabled="true"
>
>
>
>      ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 47
> Warning: Dat
>
> a binding will not be able to detect assignments to 'DATE_FORMAT'.
>
>
>
>
> inputMask="{parentApplic
>
> ation.appParams.DATE_FORMAT}" showToday="true"
> yearNavigationEnabled="true"
>
>
>
>                ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 38
> Warning: Dat
>
> a binding will not be able to detect assignments to 'appParams'.
>
>
>
>
> inputMask="{parentAppli
>
> cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true"
> showToday="true"
>
>
>
>       ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 48
> Warning: Dat
>
> a binding will not be able to detect assignments to 'DATE_FORMAT'.
>
>
>
>
> inputMask="{parentAppli
>
> cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true"
> showToday="true"
>
>
>
>                 ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(12): col: 11
> Warnin
>
> g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.
>
>
>
>                         import mx.graphics.Stroke;
>
>                                ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(37): col: 23
> Warnin
>
> g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.
>
>
>
>                                         lne.stroke = new Stroke(0,1,.3);
>
>                                                          ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(46): col: 14
> Warnin
>
> g: Duplicate variable definition: i.
>
>
>
>                                 for (var i:int = 1; i < lnWdt; i++){
>
>                                          ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(47): col: 10
> Warnin
>
> g: Duplicate variable definition: lne.
>
>
>
>                                         var lne:Line  = new Line();
>
>                                             ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(53): col: 23
> Warnin
>
> g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.
>
>
>
>                                         lne.stroke = new Stroke(0,1,.3);
>
>                                                          ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(54): col: 10
> Warnin
>
> g: Duplicate variable definition: llbe.
>
>
>
>                                         var llbe:Label = new Label();
>
>                                             ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(157): col:
> 40 Warn
>
> ing: 'application' has been deprecated since 4.0. Please use
> 'FlexGlobals.topLev
>
> elApplication'.
>
>
>
>                                 var xPosition:Number =
> Application.application.p
>
> arent.mouseX;
>
>                                                                    ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(158): col:
> 40 Warn
>
> ing: 'application' has been deprecated since 4.0. Please use
> 'FlexGlobals.topLev
>
> elApplication'.
>
>
>
>                                 var yPosition:Number =
> Application.application.p
>
> arent.mouseY;
>
>                                                                    ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(225): col:
> 36 Warn
>
> ing: 'application' has been deprecated since 4.0. Please use
> 'FlexGlobals.topLev
>
> elApplication'.
>
>
>
>                                 var xPlus:Number =
> Application.application.paren
>
> t.mouseX - point.x;
>
>                                                                ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(226): col:
> 36 Warn
>
> ing: 'application' has been deprecated since 4.0. Please use
> 'FlexGlobals.topLev
>
> elApplication'.
>
>
>
>                                 var yPlus:Number =
> Application.application.paren
>
> t.mouseY - point.y;
>
>
>
> Thanks,
>
> Alina Kazi
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Wednesday, February 28, 2018 10:16 AM
> *To:* Alina Kazi; users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> I think that Flash Builder makes it easy to build SWCs.  Building from the
> command line can be a bit trickier.
>
>
>
> Let's try:
>
> Compc -output "D:\SHMALib.swc" -api-report="D:\report.txt"
> -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml
> -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\src"
>
>
>
> HTH,
>
> -Alex
>
>
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Date: *Tuesday, February 27, 2018 at 7:28 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>, Alex Harui <
> aharui@adobe.com>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> Yes I am using Flash Builder.
>
> SHMALIB and MainFlexApp are two separate Projects
>
> Src for SHMALIB is placed into D:/SHMALIB/src
>
> Src for MainFlexApp is D:/Flex/src and the library output file SHMALIB.swc
> is placed into D:/Flex/libs
>
>
>
> SHMALIB (.actionscriptProperties)
>
>
>
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
>
> <actionScriptProperties mainApplicationPath="SHMALib.as"
> projectUUID="863559ab-3e7b-475b-a3a4-09f4f76fc0d2" version="6">
>
>   <compiler additionalCompilerArguments="-locale en_US"
> autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false"
> generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false"
> htmlHistoryManagement="false" htmlPlayerVersionCheck="true"
> includeNetmonSwc="false" outputFolderLocation="D:/Flex/libs"
> outputFolderPath="bin-debug" sourceFolderPath="src" strict="true"
> targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true"
> verifyDigests="true" warn="true">
>
>     <compilerSourcePath/>
>
>     <libraryPath defaultLinkType="0">
>
>       <libraryPathEntry kind="4" path="">
>
>         <excludedEntries>
>
>           <libraryPathEntry kind="3" linkType="1"
> path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>
>
>         </excludedEntries>
>
>       </libraryPathEntry>
>
>       <libraryPathEntry kind="1" linkType="1" path="libs"/>
>
>     </libraryPath>
>
>     <sourceAttachmentPath/>
>
>   </compiler>
>
>   <applications>
>
>     <application path="SHMALib.as"/>
>
>   </applications>
>
>   <modules/>
>
>   <buildCSSFiles/>
>
> </actionScriptProperties>
>
>
>
> SHMALIB (.flexLibProperties)
>
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
>
> <flexLibProperties includeAllClasses="true" version="3">
>
>   <includeClasses/>
>
>   <includeResources/>
>
>   <namespaceManifests/>
>
> </flexLibProperties>
>
>
>
> Thanks,
>
> Alina
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Tuesday, February 27, 2018 9:34 PM
> *To:* Alina Kazi
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> When you are not trying to use Royale to generate this API report, how are
> you building your current Flex app?  We might need to know that in order to
> determine what parameters to add to COMPC.
>
>
>
> COMPC has additional parameters like -include–sources, include-file,
> include-classes.  Sometimes, these are listed in an xml file.  If you are
> using Flash Builder, for example, then examine the .flexlibproperties and
> .actionscriptProperties files in your project folder.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Date: *Tuesday, February 27, 2018 at 3:21 AM
> *To: *'Alina Kazi' <al...@d-bz.com>
> *Cc: *Alex Harui <ah...@adobe.com>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
> "D:\SHMALib.swc"
>
>  -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"
>
> Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> WARNING: An illegal reflective access operation has occurred
>
> WARNING: Illegal reflective access by com.google.common.base.
> internal.Finalizer
>
> (file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar)
> to
>
> field java.lang.Thread.inheritableThreadLocals
>
> WARNING: Please consider reporting this to the maintainers of
> com.google.common.
>
> base.internal.Finalizer
>
> WARNING: Use --illegal-access=warn to enable warnings of further illegal
> reflect
>
> ive access operations
>
>
>
> Error: nothing was specified to be included in the library.
>
> -Alina
>
>
>
> *From:* Alina Kazi [mailto:alina.kazi@d-bz.com <al...@d-bz.com>]
> *Sent:* Tuesday, February 27, 2018 2:16 PM
> *To:* 'users@royale.apache.org'
> *Subject:* RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> I am using Moonshine IDE 1.9.0.
>
> Flex 4.16.0
>
> Apache Royale 0.9.2 Latest Nightly Build
>
>
>
> *Running this Command on Command Prompt:*
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
> "D:\SHMALib.swc"
>
>  -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"
>
> Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> WARNING: An illegal reflective access operation has occurred
>
> WARNING: Illegal reflective access by com.google.common.base.
> internal.Finalizer
>
> (file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar)
> to
>
> field java.lang.Thread.inheritableThreadLocals
>
> WARNING: Please consider reporting this to the maintainers of
> com.google.common.
>
> base.internal.Finalizer
>
> WARNING: Use --illegal-access=warn to enable warnings of further illegal
> reflect
>
> ive access operations
>
> WARNING: All illegal access operations will be denied in a future release
>
>
>
> *command line Error: unknown configuration variable 'sourceΓÇôpath'.*
>
>
>
> -Alina
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Tuesday, February 27, 2018 1:26 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> COMPC takes a slightly different set of parameters.  What IDE or build
> tools are you using to build it without Royale?  You might need to know
> what options that build uses.
>
>
>
> You can try running:
>
>
>
> Compc -output "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc"
> -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bin\frameworks\flex-config.xml -source–path="D:\Projects\SHMA\Main\Flex\src"
> or wherever the source code is for the library.
>
>
>
> HTH,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, February 26, 2018 at 11:33 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> For custom SWC, I am using COMPC to get an api-report for SWC
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>compc
> "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc" -api-report="D:\report.txt"
> -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml
>
> *Error:* configuration variable 'output' was not set.
>
>
>
>
>
> Thanks,
>
> Alina
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Tuesday, February 27, 2018 12:27 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> Yes, any SWC that is not in the Flex SDK's frameworks/libs folder needs to
> be specified as Piotr describes below.  We want you specify the same MXML
> file that you use to compile in the regular Flex SDK.  So if your
> Application.mxml starts with an mx:Application or s:Application that’s
> probably the one to use.  But also, if you have your own custom SWCs, we
> want you to use COMPC to get an api-report for those SWCs.  We want this
> modified Royale compiler to compile every source file you own so we can see
> what Flex APIs you are using.
>
>
>
> HTH,
>
> -Alex
>
>
>
> *From: *Piotr Zarzycki <pi...@gmail.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, February 26, 2018 at 11:19 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> In my sense you will have to use -library-path+=path to the library. You
> have to tell compiler about that library.
>
>
>
> Thanks, Piotr
>
>
>
> 2018-02-27 7:57 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>
> Hi  Alex,
>
> *With latest nightly build:*
>
> MaskedTextInput , shmReportUtil …. Are Library Project Actionscript Files.
>
> Main Application contains SHMALib.swc file in Libs folder
>
> Error Link:
>
> https://www.dropbox.com/s/p5imt22cuut0ex6/ErrorGeneratingReport.png?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fp5imt22cuut0ex6%2FErrorGeneratingReport.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=8f1f9duW2Red4bP77hFTh3mLcCptBmAwd87n1iSkk%2Bs%3D&reserved=0>
>
>
>
> I have a question that which .mxml file should be used to generate that
> report?
>
> Applications.mxml is startup file in case of my Project so I’m using it.
>
>
>
> Please visit reference link and If I’m doing anything wrong please let me
> know.
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com]
> *Sent:* Tuesday, February 27, 2018 12:00 AM
>
>
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> I pushed a fix for that.  It might or might not be related to your custom
> swc.  Get the latest nightly build and let us know.
>
>
>
> Also, if you are successful, please use your regular compiler to generate
> a -link–report.  That will help us verify that the API report didn't miss
> anything.
>
>
>
> Thanks,
>
> -Alex
>
>
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, February 26, 2018 at 4:01 AM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Generated Report file for Sample Project Successfully.
>
>
>
> spark.components.Application:minHeight,1
>
> spark.components.Application:minWidth,1
>
> spark.components.Application:mxmlContentFactory,2
>
> spark.components.Label:fontSize,1
>
> spark.components.Label:fontWeight,1
>
> spark.components.Label:horizontalCenter,1
>
> spark.components.Label:text,1
>
> spark.components.Label:textAlign,1
>
> spark.components.Label:verticalCenter,1
>
>
>
> But while executing Actual Project got Error:
>
> https://www.dropbox.com/s/d25eysllavuy5z4/compile2.png?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fd25eysllavuy5z4%2Fcompile2.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=2i28J4zjv1vEQ7sd%2BGfHm%2Bh1FjG%2BP3YdJCc6rGZr3C4%3D&reserved=0>
>
> https://www.dropbox.com/s/49iq74zk6rxcr1y/compile1.png?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F49iq74zk6rxcr1y%2Fcompile1.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=44tfkOscWyJ%2FH3M30HeJ6dfFE0TlpTMhQ2t%2Bv%2ByuoDg%3D&reserved=0>
>
>
>
> May be because my Application is dependent to SHMALib(.swc) Library
> Project (Source Shared Earlier).
>
>
>
> -Alina
>
>
>
> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com
> <pi...@gmail.com>]
> *Sent:* Monday, February 26, 2018 5:02 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Alex,
>
>
>
> I did above exercise for Moonshine and got NPE [1]. I used air-config.xml
> because it is na Desktop app.
>
>
>
> [1] https://paste.apache.org/R0Si
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FR0Si&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=tFLrK9xsVt57PytwBaNoUJ%2FIPFH7FCHDtfrmJ1sAl3Y%3D&reserved=0>
>
>
>
>
> Thanks,
>
> Piotr
>
>
>
>
>
> 2018-02-26 12:56 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
>
> Yishay,
>
>
>
> Thank you so much!! I got it working.
>
>
>
> Alina,
>
>
>
> Here is the full instruction.
>
>
>
> 1) Download Apache Royale with SWF support - if you have that is good, if
> not it's here [1]
>
> 2) Download Apache Flex - you have it as I have seen on the screenshot.
>
> 3) Launch console and go to the Royale SDK folder
>
>
>
> "yourpathtosdk\bin\" - In my case it was: "d:\Work\royale_ide\royale_
> nightly_js_swf\bin\"
>
>
>
> 4) Run following command where you will point to the Flex Browser
> application in order to generate report. My command looks like that:
>
>
>
> mxmlc "c:\Users\piotr\Documents\NewFlexBrowserProject\src\NewFlexBrowserProject.mxml"
> -api-report="c:\Users\piotr\Documents\NewFlexBrowserProject\report.txt"
> -load-config=d:\Work\flex-sdk-4.16.1_adobe_air_28\
> frameworks\flex-config.xml
>
>
>
> I generated report for hellow world. Maybe in order to generate report for
> your application that console command may be much more sophisticated. Let's
> see!
>
>
>
>
>
> [1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/
> lastSuccessfulBuild/artifact/out/
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2Fout%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=O%2BpVQ8OuhB%2FtE4ZdylTSkAQCWsIPBGlr9RgiTjWSWEM%3D&reserved=0>
>
>
>
> Thanks,
>
> Piotr
>
>
>
>
>
> 2018-02-26 12:46 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:
>
> Looks like [1] you do need to add compiler option: -api–report=<path to
> output file>
>
>
>
> [1] http://apache-royale-users.20374.n8.nabble.com/
> Substitutes-in-Apache-Royale-tp392p492.html
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p492.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kda6SpkBgdRqGAeGJ5Db629EAy7KAVbOZKzhzhynRZk%3D&reserved=0>
>
>
>
>
>
> *From: *Piotr Zarzycki <pi...@gmail.com>
> *Sent: *Monday, February 26, 2018 1:37 PM
>
>
> *To: *users@royale.apache.org
> *Subject: *Re: Generating API report for Flex Web Browser application
>
>
>
> I have produced with that swf, but what's next? Let's wait for Alex's
> response [1]
>
>
>
> [1] https://paste.apache.org/YEeG
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FYEeG&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8ameYzJ7AloOW4nTa8dqu7zYxwORSQc5sCUqpZDVA%2BY%3D&reserved=0>
>
>
>
> Thanks,
>
> Piotr
>
>
>
> 2018-02-26 12:32 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:
>
> Alex will know but I don’t think so. I haven’t updated the compiler
> recently so can’t test it right now. If you want to test it maybe just
> create a simple app and replace /Users/aharui/ApacheFlex4.16.0 with your
> sdk home.
>
>
>
>
>
>
>
> *From: *Piotr Zarzycki <pi...@gmail.com>
> *Sent: *Monday, February 26, 2018 1:25 PM
> *To: *users@royale.apache.org
> *Subject: *Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Yishay,
>
>
>
> bin/mxmlc
>
> <path to app's
>
> .mxml
>
> file>
>
> -load-config=/Users/aharui/ApacheFlex4.16.0/frameworks/flex-config.xml
>
>
>
> Do I need some switch for compiler -api-report or something like that ?
>
>
>
> Thanks,
>
> Piotr
>
>
>
>
>
> 2018-02-26 12:10 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:
>
> Wasn’t logged in. Here’s [1] the link.
>
>
>
> [1] http://apache-royale-users.20374.n8.nabble.com/
> Substitutes-in-Apache-Royale-tp392p489.html
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p489.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8Tp5%2BFveKS0eoW7D8EovITPQqYrgwDK4P7cW9izXFH8%3D&reserved=0>
>
>
>
>
>
> *From: *Yishay Weiss <yi...@hotmail.com>
> *Sent: *Monday, February 26, 2018 12:59 PM
> *To: *users@royale.apache.org
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> I couldn’t find a way to link to a nabble post, but this [1] might help
> (from Substitutes in Apache Royale).
>
>
>
> [1] https://paste.apache.org/N2QR
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FN2QR&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=VIS8u6EEBWN6jQrFxpttZvAfUCSSKPe3rbrBDU2w7Sg%3D&reserved=0>
>
>
>
> *From: *Piotr Zarzycki <pi...@gmail.com>
> *Sent: *Monday, February 26, 2018 12:44 PM
> *To: *users@royale.apache.org
> *Subject: *Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> I would like to understand how to generate that report. I will go with the
> console path, because I think this is something unusual and probably
> Moonshine is not prepared to do this. I'm writing this on the users mailing
> list because Alina is having some problems with that. I wanted to simplify
> all of that. Let's start from the beginning.
>
>
>
> 1) I have created Flex Web browser project using Apache Flex SDK 4.16.1.
>
> 2) I have nightly build of Royale with SWF support [1]
>
>
>
> What should I type in the console now ?
>
>
>
> [1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/
> lastSuccessfulBuild/artifact/
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=UtYFFQ90aNB2HU2Vx4t8YAS6Eo2j1ZqVAytujEOgoFM%3D&reserved=0>
>
>
>
> Thanks,
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>
>
>
>
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>
>
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>
>
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=zGrfZ2Wj3CLuuW%2B%2BKtUSQF6762Vn0%2BeNjCMlViBMghg%3D&reserved=0>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>



-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

Posted by Piotr Zarzycki <pi...@gmail.com>.
Ok! I just cloned separate repository and got similar problem. ->
https://paste.apache.org/HuYU

2018-03-07 7:42 GMT+01:00 Alina Kazi <al...@d-bz.com>:

> Similar Error
>
>
>
> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com]
> *Sent:* Wednesday, March 07, 2018 11:41 AM
> *To:* users@royale.apache.org
> *Subject:* Re: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Use *"mvn -s settings-template.xml clean install" *without pointing to
> profile -P utils.
>
>
>
> 2018-03-07 7:22 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>
> Hi Piotr,
>
> Getting Similar Error in all cases.
>
> C:\Users\aleena>git clone https://github.com/apache/royale-asjs
>
> Cloning into 'royale-asjs'...
>
> remote: Counting objects: 101055, done.
>
> remote: Compressing objects: 100% (127/127), done.
>
> remote: Total 101055 (delta 101), reused 183 (delta 63), pack-reused 100828
>
> Receiving objects: 100% (101055/101055), 19.27 MiB | 249.00 KiB/s, done.
>
> Resolving deltas: 100% (61539/61539), done.
>
> Checking out files: 100% (3572/3572), done.
>
>
>
> C:\Users\aleena>cd royale-asjs
>
>
>
> C:\Users\aleena\royale-asjs>git checkout develop
>
> Already on 'develop'
>
> Your branch is up to date with 'origin/develop'.
>
>
>
> C:\Users\aleena\royale-asjs>mvn -s settings-template.xml clean install -P
> utils
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> Downloading from apache-snapshots: http://repository.apache.org/
> snapshots/org/ap
>
> ache/flex/utilities/converter/flex-sdk-converter-maven-
> extension/1.0.0-SNAPSHOT/
>
> maven-metadata.xml
>
> [WARNING] Could not transfer metadata org.apache.flex.utilities.
> converter:flex-s
>
> dk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from/to
> apache-sn
>
> apshots (http://repository.apache.org/snapshots/): Connect to
> repository.apache.
>
> org:80 [repository.apache.org/207.244.88.140] failed: Connection timed
> out: conn
>
> ect
>
> [WARNING] Failure to transfer org.apache.flex.utilities.
> converter:flex-sdk-conve
>
> rter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from
> http://repository.ap
>
> ache.org/snapshots/ was cached in the local repository, resolution will
> not be r
>
> eattempted until the update interval of apache-snapshots has elapsed or
> updates
>
> are forced. Original error: Could not transfer metadata
> org.apache.flex.utilitie
>
> s.converter:flex-sdk-converter-maven-extension:1.0.
> 0-SNAPSHOT/maven-metadata.xml
>
>  from/to apache-snapshots (http://repository.apache.org/snapshots/):
> Connect to
>
> repository.apache.org:80 [repository.apache.org/207.244.88.140] failed:
> Connecti
>
> on timed out: connect
>
> Downloading from apache-snapshots: http://repository.apache.org/
> snapshots/org/ap
>
> ache/flex/utilities/converter/flex-sdk-converter-maven-
> extension/1.0.0-SNAPSHOT/
>
> flex-sdk-converter-maven-extension-1.0.0-SNAPSHOT.pom
>
> [WARNING] Failed to read extensions descriptor
> C:\Users\aleena\royale-asjs\.mvn\
>
> extensions.xml: Plugin org.apache.flex.utilities.
> converter:flex-sdk-converter-ma
>
> ven-extension:1.0.0-SNAPSHOT or one of its dependencies could not be
> resolved: F
>
> ailed to read artifact descriptor for org.apache.flex.utilities.
> converter:flex-s
>
> dk-converter-maven-extension:jar:1.0.0-SNAPSHOT
>
> [INFO] Scanning for projects...
>
> Downloading from apache-release: https://repository.apache.org/
> content/repositor
>
> ies/releases/org/apache/apache/18/apache-18.pom
>
> Downloading from central: https://repo.maven.apache.org/
> maven2/org/apache/apache
>
> /18/apache-18.pom
>
> [ERROR] [ERROR] Some problems were encountered while processing the POMs:
>
> [FATAL] Non-resolvable parent POM for org.apache.royale.framework:
> royale-framewo
>
> rk-parent:0.9.2-SNAPSHOT: Could not transfer artifact
> org.apache:apache:pom:18 f
>
> rom/to apache-release (https://repository.apache.org/content/repositories/
> releas
>
> es): Connect to repository.apache.org:443 [repository.apache.org/207.
> 244.88.140]
>
>  failed: Connection timed out: connect and 'parent.relativePath' points at
> no lo
>
> cal POM @ line 24, column 11
>
>  @
>
> [ERROR] The build could not read 1 project -> [Help 1]
>
> [ERROR]
>
> [ERROR]   The project org.apache.royale.framework:
> royale-framework-parent:0.9.2-
>
> SNAPSHOT (C:\Users\aleena\royale-asjs\pom.xml) has 1 error
>
> [ERROR]     Non-resolvable parent POM for org.apache.royale.framework:
> royale-fra
>
> mework-parent:0.9.2-SNAPSHOT: Could not transfer artifact
> org.apache:apache:pom:
>
> 18 from/to apache-release (https://repository.apache.
> org/content/repositories/re
>
> leases): Connect to repository.apache.org:443 [repository.apache.org/207.
> 244.88.
>
> 140] failed: Connection timed out: connect and 'parent.relativePath'
> points at n
>
> o local POM @ line 24, column 11 -> [Help 2]
>
> [ERROR]
>
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e swit
>
> ch.
>
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>
> [ERROR]
>
> [ERROR] For more information about the errors and possible solutions,
> please rea
>
> d the following articles:
>
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/
> ProjectBuildin
>
> gException
>
> [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/
> UnresolvableMo
>
> delException
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com]
> *Sent:* Wednesday, March 07, 2018 11:25 AM
> *To:* users@royale.apache.org
> *Subject:* Re: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Alina,
>
>
>
> I see in your trace that you have cloned typedefs instead asjs -> "git
> clone https://github.com/apache/royale-typedefs.git". You should clone:
>
>
>
> git clone https://github.com/apache/royale-asjs and switch to "develop"
> branch than try to build.
>
>
>
> However let me try build typedefs only in the meantime clone asjs and try
> again.
>
>
>
> Thanks, Piotr
>
>
>
>
>
> 2018-03-07 7:19 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
>
> Alina,
>
>
>
> Not sure, but let me try that on my sight, however I doubt that. Maven is
> a very distinguished from all the environment variables. If you got that
> build running you don't have to use almost all. :)
>
>
>
> 2018-03-07 7:03 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>
> Hi Piotr,
>
>
>
> ROYALE_HOME environment variable is set to D:\royale-asjs that is the path
> for installed latest nightly build. This could be the reason ?
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com]
> *Sent:* Wednesday, March 07, 2018 10:56 AM
> *To:* users@royale.apache.org
> *Subject:* Re: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Please try again build. Maybe it was some temporary problem. My build is
> running right now without the problem. Maven downloading dependencies
> nicely.
>
>
>
> Thanks, Piotr
>
>
>
> 2018-03-07 6:39 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>
> Hi Piotr,
>
> Its Working.
>
> This XML file does not appear to have any style information associated
> with it. The document tree is shown below.
>
> <metadata modelVersion="1.1.0">
>
> <groupId>org.apache.flex.utilities.converter</groupId>
>
> <artifactId>retrievers</artifactId>
>
> <version>1.0.0-SNAPSHOT</version>
>
> <versioning>
>
> <snapshot>
>
> <timestamp>20171112.204231</timestamp>
>
> <buildNumber>490</buildNumber>
>
> </snapshot>
>
> <lastUpdated>20171112204231</lastUpdated>
>
> <snapshotVersions>
>
> <snapshotVersion>
>
> <extension>pom</extension>
>
> <value>1.0.0-20171112.204231-490</value>
>
> <updated>20171112204231</updated>
>
> </snapshotVersion>
>
> </snapshotVersions>
>
> </versioning>
>
> </metadata>
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com]
> *Sent:* Wednesday, March 07, 2018 10:48 AM
> *To:* users@royale.apache.org
> *Subject:* Re: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Hi Alina,
>
>
>
> I just removed my whole local repository and trying exactly the same
> scenario. Just quick question can you try in your browser open this link ?
> Is it working ?
>
>
>
> http://repository.apache.org/snapshots/org/apache/flex/
> utilities/converter/retrievers/1.0.0-SNAPSHOT/maven-metadata.xml
>
>
>
> Thanks,
>
> Piotr
>
>
>
> 2018-03-07 6:27 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>
> Hi Piotr,
>
> Using Maven :
>
> C:\Users\aleena>git clone https://github.com/apache/royale-typedefs.git
> royale-a
>
> sjs
>
> Cloning into 'royale-asjs'...
>
> remote: Counting objects: 3318, done.
>
> remote: Compressing objects: 100% (93/93), done.
>
> remote: Total 3318 (delta 48), reused 76 (delta 16), pack-reused 3200
>
> Receiving objects: 100% (3318/3318), 3.51 MiB | 244.00 KiB/s, done.
>
> Resolving deltas: 100% (1337/1337), done.
>
>
>
> C:\Users\aleena>cd royale-asjs
>
>
>
> C:\Users\aleena\royale-asjs>git checkout develop
>
> Already on 'develop'
>
> Your branch is up to date with 'origin/develop'.
>
>
>
> C:\Users\aleena\royale-asjs>mvn -s settings-template.xml clean install
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> Downloading from apache-snapshots: http://repository.apache.org/
> snapshots/org/ap
>
> ache/flex/utilities/converter/flex-sdk-converter-maven-
> extension/1.0.0-SNAPSHOT/
>
> maven-metadata.xml
>
> [WARNING] Could not transfer metadata org.apache.flex.utilities.
> converter:flex-s
>
> dk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from/to
> apache-sn
>
> apshots (http://repository.apache.org/snapshots/): Connect to
> repository.apache.
>
> org:80 [repository.apache.org/207.244.88.140] failed: Connection timed
> out: conn
>
> ect
>
> [WARNING] Failure to transfer org.apache.flex.utilities.
> converter:flex-sdk-conve
>
> rter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from
> http://repository.ap
>
> ache.org/snapshots/ was cached in the local repository, resolution will
> not be r
>
> eattempted until the update interval of apache-snapshots has elapsed or
> updates
>
> are forced. Original error: Could not transfer metadata
> org.apache.flex.utilitie
>
> s.converter:flex-sdk-converter-maven-extension:1.0.
> 0-SNAPSHOT/maven-metadata.xml
>
>  from/to apache-snapshots (http://repository.apache.org/snapshots/):
> Connect to
>
> repository.apache.org:80 [repository.apache.org/207.244.88.140] failed:
> Connecti
>
> on timed out: connect
>
> Downloading from apache-snapshots: http://repository.apache.org/
> snapshots/org/ap
>
> ache/flex/utilities/converter/flex-sdk-converter-maven-
> extension/1.0.0-SNAPSHOT/
>
> flex-sdk-converter-maven-extension-1.0.0-SNAPSHOT.pom
>
> [WARNING] Failed to read extensions descriptor
> C:\Users\aleena\royale-asjs\.mvn\
>
> extensions.xml: Plugin org.apache.flex.utilities.
> converter:flex-sdk-converter-ma
>
> ven-extension:1.0.0-SNAPSHOT or one of its dependencies could not be
> resolved: F
>
> ailed to read artifact descriptor for org.apache.flex.utilities.
> converter:flex-s
>
> dk-converter-maven-extension:jar:1.0.0-SNAPSHOT
>
> [INFO] Scanning for projects...
>
> Downloading from apache-release: https://repository.apache.org/
> content/repositor
>
> ies/releases/org/apache/apache/18/apache-18.pom
>
> Downloading from central: https://repo.maven.apache.org/
> maven2/org/apache/apache
>
> /18/apache-18.pom
>
> [ERROR] [ERROR] Some problems were encountered while processing the POMs:
>
> [FATAL] Non-resolvable parent POM for org.apache.royale.typedefs:
> royale-typedefs
>
> -parent:0.9.2-SNAPSHOT: Could not transfer artifact
> org.apache:apache:pom:18 fro
>
> m/to apache-release (https://repository.apache.org/content/repositories/
> releases
>
> ): Connect to repository.apache.org:443 [repository.apache.org/207.
> 244.88.140] f
>
> ailed: Connection timed out: connect and 'parent.relativePath' points at
> wrong l
>
> ocal POM @ line 23, column 11
>
>  @
>
> [ERROR] The build could not read 1 project -> [Help 1]
>
> [ERROR]
>
> [ERROR]   The project org.apache.royale.typedefs:
> royale-typedefs-parent:0.9.2-SN
>
> APSHOT (C:\Users\aleena\royale-asjs\pom.xml) has 1 error
>
> [ERROR]     Non-resolvable parent POM for org.apache.royale.typedefs:
> royale-type
>
> defs-parent:0.9.2-SNAPSHOT: Could not transfer artifact
> org.apache:apache:pom:18
>
>  from/to apache-release (https://repository.apache.
> org/content/repositories/rele
>
> ases): Connect to repository.apache.org:443 [repository.apache.org/207.
> 244.88.14
>
> 0] failed: Connection timed out: connect and 'parent.relativePath' points
> at wro
>
> ng local POM @ line 23, column 11 -> [Help 2]
>
> [ERROR]
>
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e swit
>
> ch.
>
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>
> [ERROR]
>
> [ERROR] For more information about the errors and possible solutions,
> please rea
>
> d the following articles:
>
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/
> ProjectBuildin
>
> gException
>
> [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/
> UnresolvableMo
>
> delException
>
>
>
> C:\Users\aleena\royale-asjs>
>
>
>
> Thanks
>
> Alina
>
>
>
> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com]
> *Sent:* Tuesday, March 06, 2018 5:30 PM
> *To:* users@royale.apache.org
> *Subject:* Re: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Hi Alina,
>
>
>
> You can try to go with Maven to see whether you have similar problems [1]
>
>
>
> [1] https://github.com/apache/royale-asjs/wiki/Build-Apache-
> Royale-with-Maven
>
>
>
> Thanks, Piotr
>
>
>
> 2018-03-06 13:12 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>
> Hi Alex,
>
> Still getting same error, while executing:
>
> C:\Users\aleena\royale-asjs>ant all
>
> Website link is working :
>
> http://www.antlr.org/license.html
>
>
>
> could be only issue , Antlr server will be off-line ?
>
>
>
> Thanks,
>
> Alina
>
> *From:* Alina Kazi [mailto:alina.kazi@d-bz.com]
> *Sent:* Tuesday, March 06, 2018 4:38 PM
> *To:* 'users@royale.apache.org'
> *Subject:* RE: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Hi Alex,
>
>
>
> We can exclude ScaleX , ScaleY,transform from our code as we are using it
> in our Library Project Only.
>
> We are using “Rotation” in a PopUp Window.
>
>
>
> Can you please explain *emulation* ?
>
> How do they will work?
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alina Kazi [mailto:alina.kazi@d-bz.com]
> *Sent:* Tuesday, March 06, 2018 3:14 PM
> *To:* 'users@royale.apache.org'
> *Subject:* RE: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Hi Alex,
>
> We are using commitProperties() in our Library Project. Overriding the
> Existing Spark commitProperties() method
>
> For Example:
>
> ResizableTextAreaSkin.mxml (SHMALib)
>
> override protected function commitProperties():void {
>
>                                                 super.commitProperties();
>
>
>
>                                                 if (lineBreakChanged) {
>
>
> updateStringStyle("lineBreak");
>
>
> lineBreakChanged = false;
>
>                                                 }
>
>                                                 if (paddingChanged) {
>
>
> updatePadding();
>
>
> paddingChanged = false;
>
>                                                 }
>
>                                                 if (verticalAlignChanged)
> {
>
>
> updateStringStyle("verticalAlign");
>
>
> verticalAlignChanged = false;
>
>                                                 }
>
>                                 }
>
> We are using
>
> *Package*
>
> flash.display
> <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/package-detail.html>
>
> *Class*
>
> public class DisplayObject
>
> *Inheritance*
>
> DisplayObject [image: Inheritance] EventDispatcher
> <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/EventDispatcher.html>
>  [image: Inheritance] Object
> <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Object.html>
>
> *Reference Link:*
>
> https://help.adobe.com/en_US/FlashPlatform/reference/
> actionscript/3/flash/display/DisplayObject.html
>
>
>
> e.g :
>
>                 public function updateLayoutWithoutAnimation():void
>
>                                 {
>
>                                                 if(_layoutInvalid == true
> && layoutFunction != null)
>
>                                                 {
>
>
> _layoutInvalid = false;
>
>
> layoutFunction();
>
>                                                 }
>
>
>
>                                                 for(var aChild:* in
> _targets)
>
>                                                 {
>
>                                                                 var
> target:LayoutTarget = _targets[aChild];
>
>                                                                 var
> item:IFlexDisplayObject = target.item;
>
>                                                                 var
> m:Matrix = DisplayObject(item).transform.matrix;
>
>
>
>                                                                 m.tx =
> target.x;
>
>                                                                 m.ty =
> target.y;
>
>                                                                 m.a =
> target.scaleX;
>
>
>                                                                 m.d =
> target.scaleY
>
>
>
>
> DisplayObject(item).alpha = target.alpha;
>
>
> DisplayObject(item).transform.matrix = m;
>
>
> item.setActualSize(target.unscaledWidth,target.unscaledHeight);
>
>
> if(target.state == "removed")
>
>                                                                 {
>
>
> delete _targets[target.item];
>
>
> continue;
>
>                                                                 }
>
>                                                                 else
>
>                                                                 {
>
>
> target.state = "positioned"
>
>                                                                 }
>
>                                                 }
>
>                                                 stopTimer();
>
>                                 }
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com]
> *Sent:* Tuesday, March 06, 2018 1:36 PM
> *To:* users@royale.apache.org
> *Subject:* API Usage in Flex Web Browser application (was Re: Generating
> API report for Flex Web Browser application)
>
>
>
> Hi Alina,
>
>
>
> I'm starting on the emulation.  I've noticed that your application code
> appears to be calling commitProperties().  Can you tell us why?
>
>
>
> Also, it looks like there are a few uses of rotation, transform, scaleX
> and scaleY.  What are those used for?
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alex Harui <ah...@adobe.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, March 5, 2018 at 11:38 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> Try again.  Sometimes the Antlr server goes off-line around this time of
> day.
>
>
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, March 5, 2018 at 11:12 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> Using jdk1.8.0_162:
>
>
>
> C:\Users\aleena\royale-asjs>ant all
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> Buildfile: C:\Users\aleena\royale-asjs\build.xml
>
>
>
> set.base.folder:
>
>
>
> check-git:
>
>      [echo] Checking for Git...
>
>      [exec] git version 2.16.2.windows.1
>
>
>
> get-download-folder:
>
>
>
> download-all:
>
>      [echo] Using folder C:\Users\aleena\royale-asjs/..
>
>
>
> check-royale-asjs:
>
>
>
> warn-before-clone:
>
>
>
> check-royale-asjs:
>
>
>
> clone-royale-asjs:
>
>
>
> check-royale-compiler:
>
>
>
> clone-royale-compiler:
>
>
>
> check-royale-typedefs:
>
>
>
> clone-royale-typedefs:
>
>
>
> check-playerglobal-home:
>
>
>
> check-air-home:
>
>
>
> build-all:
>
>
>
> ask-before-build-all:
>
>     [input] This script will now download and compile lots of files.  This
> can t
>
> ake several minutes.   No interaction should be required.  Press the enter
> key t
>
> o continue.
>
>
>
>
>
> sdk:
>
>
>
> annotate.class:
>
>     [javac] Compiling 1 source file to C:\Users\aleena\royale-
> compiler\compiler-
>
> build-tools\target\classes
>
>     [javac] warning: [options] bootstrap class path not set in conjunction
> with
>
> -source 1.5
>
>     [javac] warning: [options] source value 1.5 is obsolete and will be
> removed
>
> in a future release
>
>     [javac] warning: [options] target value 1.5 is obsolete and will be
> removed
>
> in a future release
>
>     [javac] warning: [options] To suppress warnings about obsolete
> options, use
>
> -Xlint:-options.
>
>     [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\
> src\main\java\o
>
> rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:24: warning:
> [serial
>
> ] serializable class AnnotateClassDeleteException has no definition of
> serialVer
>
> sionUID
>
>     [javac]     public static class AnnotateClassDeleteException extends
> Excepti
>
> on
>
>     [javac]                   ^
>
>     [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\
> src\main\java\o
>
> rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:32: warning:
> [serial
>
> ] serializable class AnnotateClassRenameException has no definition of
> serialVer
>
> sionUID
>
>     [javac]     public static class AnnotateClassRenameException extends
> Excepti
>
> on
>
>     [javac]                   ^
>
>     [javac] 6 warnings
>
>
>
> unknown.tree.pattern.input.output:
>
>     [javac] Compiling 1 source file to C:\Users\aleena\royale-
> compiler\compiler-
>
> build-tools\target\classes
>
>     [javac] warning: [options] bootstrap class path not set in conjunction
> with
>
> -source 1.5
>
>     [javac] warning: [options] source value 1.5 is obsolete and will be
> removed
>
> in a future release
>
>     [javac] warning: [options] target value 1.5 is obsolete and will be
> removed
>
> in a future release
>
>     [javac] warning: [options] To suppress warnings about obsolete
> options, use
>
> -Xlint:-options.
>
>     [javac] 4 warnings
>
>
>
> main:
>
>
>
> compiler.downloads.cache:
>
>
>
> compiler.downloads:
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> prepare:
>
>      [echo] Making lib directory C:\Users\aleena\royale-
> compiler\compiler/lib/ex
>
> ternal
>
>     [mkdir] Created dir: C:\Users\aleena\royale-
> compiler\compiler\lib\external
>
>
>
> all:
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> check-dependency:
>
>      [echo] checking for C:\Users\aleena\royale-compiler\compiler/lib/
> external//
>
> antlr.jar
>
>
>
> download-dependency:
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> echo-project-jar:
>
>    [delete] Deleting: C:\Users\aleena\royale-compiler\compiler\src\main\
> resource
>
> s\project.properties
>
>      [echo] ${INFO_DOWNLOADING_FILE_FROM}
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> download-apache-license:
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> download-other-license:
>
>       [get] Getting: http://www.antlr.org/license.html
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0>
>
>       [get] To: C:\Users\aleena\royale-compiler\compiler\lib\
> external\antlr-LICE
>
> NSE.html
>
>       [get] Error getting http://www.antlr.org/license.html
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0>
> to C:\Users\aleena\r
>
> oyale-compiler\compiler\lib\external\antlr-LICENSE.html
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> double-check-file:
>
>      [echo] ${env.ROYALE_DOWNLOAD_CACHE}
>
>      [echo] Need file: ${still_no_file}
>
>
>
> get-from-cache-if-needed:
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> fail-if-not-found:
>
>
>
> BUILD FAILED
>
> C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred
> while e
>
> xecuting this line:
>
> C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred
> while e
>
> xecuting this line:
>
> C:\Users\aleena\royale-compiler\build.xml:64: The following error
> occurred while
>
>  executing this line:
>
> C:\Users\aleena\royale-compiler\compiler-jburg-types\build.xml:87: The
> following
>
>  error occurred while executing this line:
>
> C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:81:
> Th
>
> e following error occurred while executing this line:
>
> C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:275:
> T
>
> he following error occurred while executing this line:
>
> C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:329:
> T
>
> he following error occurred while executing this line:
>
> C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:489:
> C
>
> :\Users\aleena\royale-compiler\compiler/lib/external//antlr-LICENSE.html
> could n
>
> ot be downloaded or found in cache
>
>
>
> Total time: 47 seconds
>
>
>
> C:\Users\aleena\royale-asjs>
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Tuesday, March 06, 2018 11:55 AM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> Please use JDK8.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, March 5, 2018 at 10:40 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> Java version that I am using is “9.0.1”
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Tuesday, March 06, 2018 11:42 AM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> What version of Java are you using?  Please get a JDK7 or 8 and try that.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, March 5, 2018 at 10:22 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> Command Prompt Output is:
>
> C:\Users\aleena>git clone https://github.com/apache/royale-asjs.git
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs.git&data=02%7C01%7Caharui%40adobe.com%7Cdf86fa0dd25b41ffbc8108d5832f0997%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559160423949211&sdata=d9cKX4ILIQPLI5USXvAafSnrWZSgW1XHw6G4r%2B9wgsE%3D&reserved=0>
> royale-asjs
>
> Cloning into 'royale-asjs'...
>
> remote: Counting objects: 101103, done.
>
> remote: Compressing objects: 100% (22/22), done.
>
> remote: Total 101103 (delta 9), reused 30 (delta 7), pack-reused 101066R
>
> Receiving objects: 100% (101103/101103), 19.23 MiB | 208.00 KiB/s, done.
>
>
>
> Resolving deltas: 100% (61584/61584), done.
>
> Checking out files: 100% (3572/3572), done.
>
>
>
> C:\Users\aleena>cd royale-asjs
>
>
>
> C:\Users\aleena\royale-asjs>git checkout develop
>
> Already on 'develop'
>
> Your branch is up to date with 'origin/develop'.
>
>
>
> C:\Users\aleena\royale-asjs>ant all
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> Buildfile: C:\Users\aleena\royale-asjs\build.xml
>
>
>
> set.base.folder:
>
>
>
> check-git:
>
>      [echo] Checking for Git...
>
>      [exec] git version 2.16.2.windows.1
>
>
>
> get-download-folder:
>
>
>
> download-all:
>
>      [echo] Using folder C:\Users\aleena\royale-asjs/..
>
>
>
> check-royale-asjs:
>
>
>
> warn-before-clone:
>
>
>
> check-royale-asjs:
>
>
>
> clone-royale-asjs:
>
>
>
> check-royale-compiler:
>
>
>
> clone-royale-compiler:
>
>      [echo] cloning royale-compiler repo into
> C:\Users\aleena\royale-asjs/../roy
>
> ale-compiler
>
>      [exec] Cloning into 'royale-compiler'...
>
>      [exec] Checking out files:   8% (284/3191)
>
>      [exec] Checking out files:   9% (288/3191)   Checking out files:  10%
> (320/
>
> 3191)   Checking out files:  11% (352/3191)   Checking out files:  12%
> (383/3191
>
> )   Checking out files:  13% (415/3191)   Checking out files:  13%
> (444/3191)
>
> Checking out files:  14% (447/3191)   Checking out files:  15%
> (479/3191)   Chec
>
> king out files:  16% (511/3191)   Checking out files:  17% (543/3191)
> Checking
>
>  out files:  18% (575/3191)   Checking out files:  19% (607/3191)
> Checking out
>
>  files:  20% (639/3191)   Checking out files:  20% (641/3191)   Checking
> out fil
>
> es:  21% (671/3191)   Checking out files:  22% (703/3191)   Checking out
> files:
>
>  23% (734/3191)   Checking out files:  24% (766/3191)   Checking out
> files:  25%
>
>  (798/3191)   Checking out files:  26% (830/3191)   Checking out files:
> 26% (84
>
> 2/3191)   Checking out files:  27% (862/3191)   Checking out files:  28%
> (894/31
>
> 91)   Checking out files:  29% (926/3191)   Checking out files:  30%
> (958/3191)
>
>   Checking out files:  31% (990/3191)   Checking out files:  32%
> (1022/3191)   C
>
> hecking out files:  33% (1054/3191)   Checking out files:  34%
> (1085/3191)   Che
>
> cking out files:  35% (1117/3191)   Checking out files:  36% (1149/3191)
> Check
>
> ing out files:  37% (1181/3191)   Checking out files:  38% (1213/3191)
> Checkin
>
> g out files:  39% (1245/3191)   Checking out files:  40% (1277/3191)
> Checking
>
> out files:  40% (1308/3191)   Checking out files:  41% (1309/3191)
> Checking ou
>
> t files:  42% (1341/3191)   Checking out files:  42% (1352/3191)
> Checking out
>
> files:  43% (1373/3191)   Checking out files:  44% (1405/3191)   Checking
> out fi
>
> les:  45% (1436/3191)   Checking out files:  46% (1468/3191)   Checking
> out file
>
> s:  47% (1500/3191)   Checking out files:  48% (1532/3191)   Checking out
> files:
>
>   49% (1564/3191)   Checking out files:  49% (1578/3191)   Checking out
> files:
>
> 50% (1596/3191)   Checking out files:  51% (1628/3191)   Checking out
> files:  52
>
> % (1660/3191)   Checking out files:  53% (1692/3191)   Checking out
> files:  54%
>
> (1724/3191)   Checking out files:  55% (1756/3191)   Checking out files:
> 56% (1
>
> 787/3191)   Checking out files:  57% (1819/3191)   Checking out files:
> 58% (185
>
> 1/3191)   Checking out files:  59% (1883/3191)   Checking out files:  60%
> (1915/
>
> 3191)   Checking out files:  61% (1947/3191)   Checking out files:  62%
> (1979/31
>
> 91)   Checking out files:  63% (2011/3191)   Checking out files:  63%
> (2022/3191
>
> )   Checking out files:  64% (2043/3191)   Checking out files:  65%
> (2075/3191)
>
>   Checking out files:  66% (2107/3191)   Checking out files:  67%
> (2138/3191)
>
> Checking out files:  68% (2170/3191)   Checking out files:  69%
> (2202/3191)   Ch
>
> ecking out files:  70% (2234/3191)   Checking out files:  71%
> (2266/3191)   Chec
>
> king out files:  72% (2298/3191)   Checking out files:  73% (2330/3191)
> Checki
>
> ng out files:  74% (2362/3191)   Checking out files:  75% (2394/3191)
> Checking
>
>  out files:  76% (2426/3191)   Checking out files:  77% (2458/3191)
> Checking o
>
> ut files:  78% (2489/3191)   Checking out files:  79% (2521/3191)
> Checking out
>
>  files:  80% (2553/3191)   Checking out files:  81% (2585/3191)   Checking
> out f
>
> iles:  82% (2617/3191)   Checking out files:  83% (2649/3191)   Checking
> out fil
>
> es:  83% (2679/3191)   Checking out files:  84% (2681/3191)   Checking out
> files
>
> :  85% (2713/3191)   Checking out files:  86% (2745/3191)   Checking out
> files:
>
>  87% (2777/3191)   Checking out files:  88% (2809/3191)   Checking out
> files:  8
>
> 9% (2840/3191)   Checking out files:  89% (2845/3191)   Checking out
> files:  90%
>
>  (2872/3191)   Checking out files:  91% (2904/3191)   Checking out files:
> 92% (
>
> 2936/3191)   Checking out files:  93% (2968/3191)   Checking out files:
> 94% (30
>
> 00/3191)   Checking out files:  95% (3032/3191)   Checking out files:  95%
> (3035
>
> /3191)   Checking out files:  96% (3064/3191)   Checking out files:  97%
> (3096/3
>
> 191)   Checking out files:  98% (3128/3191)   Checking out files:  99%
> (3160/319
>
> 1)   Checking out files: 100% (3191/3191)   Checking out files: 100%
> (3191/3191)
>
> , done.
>
>      [exec] Your branch is up to date with 'origin/develop'.
>
>      [exec] Already on 'develop'
>
>
>
> check-royale-typedefs:
>
>
>
> clone-royale-typedefs:
>
>      [echo] cloning royale-typedefs repo into
> C:\Users\aleena\royale-asjs/../roy
>
> ale-typedefs
>
>      [exec] Cloning into 'royale-typedefs'...
>
>      [exec] Your branch is up to date with 'origin/develop'.
>
>      [exec] Already on 'develop'
>
>
>
> check-playerglobal-home:
>
>
>
> check-air-home:
>
>
>
> build-all:
>
>
>
> ask-before-build-all:
>
>     [input] This script will now download and compile lots of files.  This
> can t
>
> ake several minutes.   No interaction should be required.  Press the enter
> key t
>
> o continue.
>
>
>
> sdk:
>
>
>
> annotate.class:
>
>     [mkdir] Created dir: C:\Users\aleena\royale-
> compiler\compiler-build-tools\ta
>
> rget\classes
>
>     [javac] Compiling 1 source file to C:\Users\aleena\royale-
> compiler\compiler-
>
> build-tools\target\classes
>
>     [javac] warning: [options] bootstrap class path not set in conjunction
> with
>
> -source 1.5
>
>     [javac] error: Source option 1.5 is no longer supported. Use 1.6 or
> later.
>
>     [javac] error: Target option 1.5 is no longer supported. Use 1.6 or
> later.
>
>
>
> BUILD FAILED
>
> C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred
> while e
>
> xecuting this line:
>
> C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred
> while e
>
> xecuting this line:
>
> C:\Users\aleena\royale-compiler\build.xml:63: The following error
> occurred while
>
>  executing this line:
>
> C:\Users\aleena\royale-compiler\compiler-build-tools\build.xml:74:
> Compile faile
>
> d; see the compiler error output for details.
>
>
>
> Total time: 17 minutes 59 seconds
>
>
>
> C:\Users\aleena\royale-asjs>
>
>
>
> Unable to Build, Please guide.
>
>
>
> Thanks,
>
> Alina
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Friday, March 02, 2018 10:31 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> I was able to download and expand the files.  I will be consolidating the
> data today.
>
>
>
> In order to be able to write some of these emulations, you will probably
> need to be able to build the framework sources.  If you haven't already,
> you can try cloning the royale-asjs repo and figure out how to get it to
> build.  You can choose Apache Maven or Apache Ant as the build tool.
>
>
>
> https://github.com/apache/royale-asjs
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs&data=02%7C01%7Caharui%40adobe.com%7C3c1833c1fc9442003f2608d5832c7fe0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559149534170415&sdata=YqGTpbzoou8SilHbsTxjriIjiREaS%2FA9j6xjZYRR%2F4E%3D&reserved=0>
>
>
>
> Hopefully the instruction in the readme are sufficient.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Friday, March 2, 2018 at 12:34 AM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> Application API-Report link:
>
> https://www.dropbox.com/s/swvqhly6wa0jrc5/API-Reports.rar?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fswvqhly6wa0jrc5%2FAPI-Reports.rar%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C928c248220464230f6dd08d5801a2f13%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555772324148830&sdata=9%2BsrGG41iCMIEmbtqnEbV%2BPvi1ngE9vF%2BKuqPAZ%2Bzao%3D&reserved=0>
>
> SHMALib Report, applications,shmDoclist,shmSetupList,AppView_EIS,
> AppView_ERP,shmMappingSetup, shmMappingSetupOpenDetailGrid,shmSalesInvoice,
> shmSalesInvoiceDetail are main API Files.
>
>
>
> Regards,
>
> Alina
>
>
>
>
>
>
>
>
>
> *From:* Alina Kazi [mailto:alina.kazi@d-bz.com <al...@d-bz.com>]
> *Sent:* Friday, March 02, 2018 11:32 AM
> *To:* users@royale.apache.org
> *Subject:* RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> 2) We are using Effects in our Application 2-3 times
>
> 4) We are using text styling in our Application 3-5 times
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Friday, March 02, 2018 4:26 AM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> 1) Interesting about Charts.  They were being used by the SWC.
>
> 2) Effects are any animations that move, resize or fade things in the UI.
>
> 3) ok
>
> 4) I'm not sure what to conclude from the screenshot.  I'm interested in
> how often folks use it to create text with bold, italics and other styling
> of text.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Thursday, March 1, 2018 at 4:24 AM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> 600 mxml.api.txt files are generated and still in process. I will share
> link for files tomorrow.
>
> After sharing my files tomorrow, If you will suggest to build  emulations.
>
>
> I will  definitely want to learn how to create emulations and contribute
> them to Apache Royale.
>
> 1.We are not using Charts in our Application
>
> 2. How important are effects? (Please explain effects )
>
> 3. We are not using Right-to-left languages in RichTextEditor.
>
> 4. Is RichTextEditor being used for non-plain text?  If so, what kinds of
> text styling is important?
>
> Link:https://www.dropbox.com/s/ky93eycmefm3cuu/RICHTEXTEDITOR.png?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fky93eycmefm3cuu%2FRICHTEXTEDITOR.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cff526ec5592c42772ade08d57f713736%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555046634193460&sdata=BjS8q1GarTweRfMMmZOKxN%2FTQTqhtzJlm05KAtWnNTQ%3D&reserved=0>
>
> Thanks,
>
> Alina
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Wednesday, February 28, 2018 10:45 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> Good to hear it worked.
>
>
>
> I think I am waiting on all of the mxml.api.txt files to see what else is
> in there that isn't in the two reports we have, then we'll have a pretty
> good list of the places you will either need to change in your code or that
> we  will build emulations for.
>
>
>
> I think emulations will be less work in the end, but there will be a lot
> of them to do.  We will want to you to learn how to create emulations and
> contribute them to Apache Royale.  That's how many Apache projects work:
> some of the users learn how to become committers.  This will be an asset to
> your company as well since you will learn how to fix things in Royale
> yourself.  Then your company won't be dependent on outsiders for support.
>
>
>
> So, Peter and I and hopefully others will get started on some emulations
> to make sure they work for us, and then you can see if they work for you,
> and then we will teach you how to write those emulations.  Over the next
> several months, besides testing emulations written by others in your app,
> you will be writing your own emulations for things you need right away that
> we haven't written yet, or for third-party code that you are using.
>
>
>
> It might help to get some prioritization on the emulations we need to
> write.  In looking at the list, I am wondering:
>
>    1. Are some charts more important than others?
>    2. How important are effects?
>    3. Do you use Right-to-left languages in RichTextEditor?
>    4. Is RichTextEditor being used for non-plain text?  If so, what kinds
>    of text styling is important?
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Wednesday, February 28, 2018 at 1:22 AM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> Thank you.
>
> It’s working with latest nightly build:
>
> https://www.dropbox.com/s/77wkgrm74upkg0j/SHMALib%20Report.txt?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F77wkgrm74upkg0j%2FSHMALib%2520Report.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C16fa845b6d2f4efb7f4a08d57e8e9097%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636554073167111532&sdata=UV0BOZpVonw%2BILcK9njhQdf5pKpqWPccp0IKDPm4jOI%3D&reserved=0>
>
>
>
>
>
> Regards,
>
> Alina
>
>
>
>
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Wednesday, February 28, 2018 1:15 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> Looks like COMPC collected the data but never generated the report.  I
> pushed a fix for that.  Please try the latest nightly build.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Tuesday, February 27, 2018 at 10:35 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> Thank you
>
> After commenting the embedded font part from source.
>
> Output to console:
>
> 3462313 bytes written to D:\SHMALib.swc in 19.878 seconds
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
> "D:\SHMALib.swc"
>
>  -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bin\framewor
>
> ks\flex-config.xml -source-path="D:\SHMALIB\src"
> -include-sources="D:\SHMALIB\sr
>
> c" -library-path+=D:\SHMALIB\libs
>
>
>
> SHMALib.swf file Generated and Report.txt is empty
>
> *SHMALib.swc output Link:*
>
> https://www.dropbox.com/s/4tz49sz134m2gg9/SHMALib.swc?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F4tz49sz134m2gg9%2FSHMALib.swc%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=%2FNcbTJtah21RRPeWfwg2pRaZ72hd%2BdG0iJlnH3GsA28%3D&reserved=0>
>
> then I change, Compc -output "D:\SHMALib.swc" to Compc -output
> "D:\SHMALib. txt "
>
> *SHMALib.txt output Link:*
>
> https://www.dropbox.com/s/j38obt5e36awuh3/SHMALib.txt?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fj38obt5e36awuh3%2FSHMALib.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=V%2FcA5dJ3Fi1qOvh%2BtUlbU%2FZ%2FQ5SBfRw7psjsm2Q%2Fe8w%3D&reserved=0>
>
>
>
> Thanks,
>
> Alina
>
>
>
>
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Wednesday, February 28, 2018 11:18 AM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> The only error right now is the embedded font.
>
>
>
> We can discuss the pros and cons of embedding images in the JS output at
> some other point in time.
>
>
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Tuesday, February 27, 2018 at 10:01 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Big Part of SHMALib Uses Embed and metadata :
>
>
>
>                                 // Embed the font so we can rotate it for
> further distortion
>
>                                 [Embed(systemFont="Comic Sans MS",
>
>
> embedAsCFF='false')]
>
>                 <mx:Image y="4" width="18" height="20" right="185"
> source="@Embed(source='assets/default/images/load.png')"
>
>
> source="@Embed(source='assets/default/images/next.gif')"
> scaleContent="false"/>
>
>                 <mx:Image y="4" width="18" height="20" right="3"
> source="@Embed(source='assets/default/images/magnifier.png')"
>
>      * An IFrame which you can embed into Flex applications to show an
> HTML page.
>
>      * @example A simple application with Google embedded
>
>         // SWF embed object tracking
>
>          * The SWF embed object id.
>
>          * Get the embed object id.
>
>         protected function resolveEmbedObjectId():void
>
>                     var result:Object=ExternalInterface.call(
> IFrameExternalCalls.FUNCTION_ASK_FOR_EMBED_OBJECT_ID,
> randomIdentificationString.toString());
>
>                         logger.info("Resolved the SWF embed object id to
> '{0}'.", applicationId);
>
>                         logger.error('Could not resolve the SWF embed
> object Id.');
>
>             // Resolve the SWF embed object id in the DOM.
>
>             ExternalInterface.call(IFrameExternalCalls.INSERT_
> FUNCTION_ASK_FOR_EMBED_OBJECT_ID);
>
>             resolveEmbedObjectId();
>
>             logger.info("Loading IFrame with id '{0}', on SWF embed
> object with id '{1}'.", _frameId, applicationId);
>
>                     FUNCTION_LOADIFRAME + " = function (frameID, iframeID,
> url, embedID, scrollPolicy)" +
>
>                                       "onLoad='\"+embedID+\".\"+frameID+\"_load();'
> " +
>
>         public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =
> "askForEmbedObjectId";
>
>         public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =
> "askForEmbedObjectId";
>
>         public static var INSERT_FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =
>
>                 "if (document." + FUNCTION_ASK_FOR_EMBED_OBJECT_ID +
> "==null)" +
>
>                     FUNCTION_ASK_FOR_EMBED_OBJECT_ID + " =
> function(randomString) " +
>
>                             "var embeds = document.getElementsByTagName('embed');
> " +
>
>                             "var embeds = document.getElementsByTagName('embed');
> " +
>
>                             "for (var i = 0; i < embeds.length; i++) { " +
>
>                                 "var isTheGoodOne =
> embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " +
>
>                                 "var isTheGoodOne =
> embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " +
>
>                                     "return embeds[i].getAttribute('id');
> " +
>
>                                  * The UITextField control for displaying
> embeded hints.
>
>                                 private var embedTextField:UITextField;
>
>                                  *  The String to be shown as the embeded
> hint.
>
>                                 private var embedStr:String = "";
>
>
> embedStr = "MM DD YYYY";
>
>
> embedStr = "DD MM YYYY";
>
>
> embedStr = "YYYY MM DD";
>
>
> embedStr = "YYYY DD MM";
>
>                                  *  Create child objects for displaying
> embeded hints.
>
>
> embedTextField = new UITextField();
>
>
> //embedTextField.text = embedStr;
>
>
> //embedTextField.text = embedStr;
>
>
> addChildAt(UITextField(embedTextField),getChildIndex(
> DisplayObject(textField)));//as TextField
>
>
>                                                     s =
> embedTextField.text == null ? "":embedTextField.text;
>
>
>                                                     s =
> embedTextField.text == null ? "":embedTextField.text;
>
>
>                                                                     s =
> s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);
>
>
>
> embedTextField.text = s;
>
>
>                                                     s =
> embedTextField.text == null ? "":embedTextField.text;
>
>
>                                                     s =
> embedTextField.text == null ? "":embedTextField.text;
>
>
>                                                                     //s =
> s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);
>
>
>
> //embedTextField.text = s;
>
>
>                                                                     s =
> s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);
>
>
>
> embedTextField.text = s;
>
>
> // If embeded hints are displayed then update the
>
>
> // UITextField corresponding to the embeded hints
>
>
>                                     var s:String = embedTextField.text ==
> null ? "":embedTextField.text;
>
>
>                                     var s:String = embedTextField.text ==
> null ? "":embedTextField.text;
>
>
>                                                     embedTextField.text =
> s;
>
>                                                                 // create
> the embeded text field for showing
>
>                                                                 //
> embeded hints if its not already created.
>
>                                                                 // If it
> is created, then just change the embeded hint.
>
>
> if(!embedTextField)
>
>
> embedTextField = new UITextField();
>
>
> addChildAt(embedTextField,getChildIndex(DisplayObject(textField))); //as
> TextField
>
>
> //embedTextField.text = embedStr;
>
>
> //embedTextField.text = embedStr;
>
>
> embedTextField.alpha = 1;
>
>
> embedTextField.setTextFormat(txtFormat);
>
>
> embedTextField.x = 0;
>
>
> embedTextField.y = 2;
>
>
> embedTextField.setActualSize(width,height);
>
>
> if(embedTextField)
>
>
> embedTextField.text = "";
>
>
> embedTextField = null;
>
>                                                 // setting the color of
> the embeded text field to white.
>
>
> if(embedTextField)
>
>
> embedTextField.setColor(0xFFFFFF);
>
>
> if(embedTextField)
>
>
>                 addChildAt(DisplayObject(newSkin),getChildIndex(
> DisplayObject(embedTextField)));//
>
>    background-image:
> Embed(source="/assets/application_background.png",
>
>                 up-skin:                Embed("/assets/maximize_up.png");
>
>                 over-skin:            Embed("/assets/maximize_over.png");
>
>                 down-skin:         Embed("/assets/maximize_up.png");
>
>                 selected-up-skin:   Embed("/assets/restore_up.png");
>
>                 selected-over-skin: Embed("/assets/restore_over.png");
>
>                 selected-down-skin: Embed("/assets/restore_up.png");
>
>                 up-skin:        Embed("/assets/minimize_up.png");
>
>                 over-skin:      Embed("/assets/minimize_over.png");
>
>                 down-skin:      Embed("/assets/minimize_up.png");
>
>                 up-skin:
> Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30",
> scaleGridLeft="10", scaleGridRight="92");
>
>                 over-skin:
> Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30",
> scaleGridLeft="10", scaleGridRight="92");
>
>                 down-skin:
> Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30",
> scaleGridLeft="10", scaleGridRight="92");
>
>                 selected-up-skin:
> Embed("/assets/tab_selected.png", scaleGridTop="13",
> scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");
>
>                 selected-over-skin:
> Embed("/assets/tab_selected.png", scaleGridTop="13",
> scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");
>
>                 selected-down-skin:                      Embed("/assets/
> tab_selected.png", scaleGridTop="13", scaleGridBottom="31",
> scaleGridLeft="9", scaleGridRight="91");
>
>                 up-skin:
> Embed("/assets/left_arrow_up.gif");
>
>                 over-skin:
> Embed("/assets/left_arrow_over.gif");
>
>                 down-skin:
> Embed("/assets/left_arrow_up.gif");
>
>                 disabled-skin:    Embed("/assets/left_arrow_
> disabled.gif");
>
>                 up-skin:
> Embed("/assets/right_arrow_up.gif");
>
>                 over-skin:
> Embed("/assets/right_arrow_over.gif");
>
>                 down-skin:
> Embed("/assets/right_arrow_up.gif");
>
>                 disabled-skin:    Embed("/assets/right_arrow_
> disabled.gif");
>
>                                 //[Embed(source="/assets/
> cursor_move.gif")]
>
>                                 //[Embed(source="/assets/
> cursor_resize.gif")]
>
>                                 [Embed(source="/assets/
> default/images/mouseMove.gif")]
>
>                                 [Embed(source="/assets/
> default/images/verticalSize.gif")]
>
>                                 [Embed(source="/assets/
> default/images/horizontalSize.gif")]
>
>                                 [Embed(source="/assets/default/images/
> leftObliqueSize.gif")]
>
>                                 [Embed(source="/assets/default/images/
> rightObliqueSize.gif")]
>
>                                                 if (image.isEmbedded)
>
>                                                 //if
> (!Application.application.systemManager.isFontFaceEmbedded(textFormat))
>
>                                                 if (!FlexGlobals.
> topLevelApplication.systemManager.isFontFaceEmbedded(textFormat))
>
>                                                                 if
> (Application.application.isFontsEmbedded) {
>
>                                                                 if
> (Application.application.isFontsEmbedded) {
>
>                                                                 if
> (Application.application.isFontsEmbedded) {
>
>                                 private var _isEmbedded:Boolean = false;
>
>                                 public function set
> isEmbedded(embedded:Boolean):void
>
>                                 public function set
> isEmbedded(embedded:Boolean):void
>
>                                                 _isEmbedded = embedded;
>
>                                                 _isEmbedded = embedded;
>
>                                 public function get isEmbedded():Boolean
>
>                                                 return _isEmbedded;
>
>                                                 <mx:icon>@Embed(source='
> images/print.GIF')</mx:icon>
>
>                                                 <mx:icon>@Embed(source='
> images/reload.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/first-gray.GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/first.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/previous-gray.
> GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/previous.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/next-gray.GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/next.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/last-gray.GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/last.GIF')</mx:icon>
>
>
> <mx:icon>@Embed(source='images/actualsize.GIF')</mx:icon>
>
>
> <mx:icon>@Embed(source='images/fitpage.GIF')</mx:icon>
>
>
> <mx:icon>@Embed(source='images/fitwidth.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/zoomin-gray.GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/zoomin.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/zoomout-gray.
> GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/zoomout.GIF')</mx:icon>
>
>
> <mx:icon>@Embed(source='images/print.GIF')</mx:icon>
>
>                                                 if (
> imageSourceXml.@isEmbedded.length() > 0)
>
>
> image.isEmbedded = imageSourceXml.@isEmbedded == "true";
>
>
> image.isEmbedded = imageSourceXml.@isEmbedded == "true";
>
>                  source="@Embed(source='/assets/default/images/left_
> arrow_up.gif')"/>
>
>                  source="@Embed(source='/assets/default/images/left_
> arrow_over.gif')"/>
>
>                  source="@Embed(source='/assets/default/images/left_arrow_disabled.gif')"/>
>
>
>
>    source="@Embed(source='/com/shm/flexlib/mdi/assets/img/
> maximizeButton.png')"/>
>
>
>    height="12" source="@Embed(source='/com/shm/flexlib/mdi/assets/img/
> restoreButton.png')"/>
>
>
>    source="@Embed(source='/com/shm/flexlib/mdi/assets/img/
> minimizeButton.png')"/>
>
>                  source="@Embed(source='/assets/default/images/right_
> arrow_up.gif')"/>
>
>                  source="@Embed(source='/assets/default/images/right_
> arrow_over.gif')"/>
>
>                  source="@Embed(source='/assets/default/images/right_arrow_disabled.gif')"/>
>
>
>
>
>
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Wednesday, February 28, 2018 11:00 AM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> I think you can ignore the warnings.  The first error is for embedding a
> font, which Royale doesn't currently support, so for now, try commenting
> out the Embed metadata and see if that allows the error to go away.
>
>
>
> I would look into the other errors to see if they are legitimate or not.
> The Royale Compiler will catch some things the MXMLC compiler may not.  Or
> you could comment out the code involved in the two errors in TImeZone.as
> for now since that won't affect the report.
>
>
>
> The final two errors I saw are for missing skin states.  I think you can
> just add the skin states.
>
>
>
> HTH,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Tuesday, February 27, 2018 at 9:35 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> While Executing
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
> "D:\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"
> -include-sources="D:\SHMALIB\src"
>
> Or
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
> "D:\Flex\libs\SH
>
> MALIB.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bi
>
> n\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"
> -include-sources="D:\
>
> SHMALIB\src" -library-path+=D:\SHMALIB\libs
>
>
>
> *Error:*
>
> (file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar)
> to
>
> field java.lang.Thread.inheritableThreadLocals
>
> WARNING: Please consider reporting this to the maintainers of
> com.google.common.
>
> base.internal.Finalizer
>
> WARNING: Use --illegal-access=warn to enable warnings of further illegal
> reflect
>
> ive access operations
>
> WARNING: All illegal access operations will be denied in a future release
>
> Loading configuration: D:\apache-flex-sdk-4.16.0-bin\
> frameworks\flex-config.xml
>
>
>
> Warning: Duplicate declaration of SkinState 'normal'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'disabled'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'normal'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'disabled'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'normal'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'disabled'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'normal'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'disabled'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'normal'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'disabled'
>
>
>
>
>
> D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(415): col: 50
> Warning:
>
> Data binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject channelSet="{parentApplication.
> amfChannelSet}"
>
> id="DataProviderService"  showBusyCursor="true"
>
>                                                                ^
>
>
>
> D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(419): col: 50
> Warning:
>
> Data binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject channelSet="{parentApplication.
> amfChannelSet}"
>
> id="BasicFormatterService"  showBusyCursor="true"
>
>                                                                ^
>
>
>
> D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(516): col: 50
> Warning: Da
>
> ta binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject channelSet="{parentApplication.
> amfChannelSet}"
>
> id="DataProviderService"  showBusyCursor="true"
>
>                                                                ^
>
>
>
> D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(520): col: 50
> Warning: Da
>
> ta binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject channelSet="{parentApplication.
> amfChannelSet}"
>
> id="BasicFormatterService"  showBusyCursor="true"
>
>                                                                ^
>
>
>
> D:\SHMALIB\src\com\shm\components\shmCaptchaImage.as(43): col: 3 Error:
> Embed re
>
> quires a 'source' file attribute
>
>
>
>                 [Embed(systemFont="Comic Sans MS",
>
>                 ^
>
>
>
> D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(37): col: 88
> Warning: Data
>
> binding will not be able to detect assignments to 'isSelected'.
>
>
>
>                                         <mx:CheckBox
> selectedField="isSelected"
>
>  change="onChange(event);" selected="{data.isSelected}">
>
>
>
>                                           ^
>
>
>
> D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(46): col: 27
> Warning: Data
>
> binding will not be able to detect assignments to 'label'.
>
>
>
>                                         <mx:Label text="{data.label}" />
>
>                                                              ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(126): col: 15
> Error: Impli
>
> cit coercion of a value of type Boolean to an unrelated type Number.
>
>
>
>                                 if(year & 0x3 == 0)
>
>                                           ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(134): col: 39
> Error: Impli
>
> cit coercion of a value of type Boolean to an unrelated type Number.
>
>
>
>                                 if(month == 1 && value.fullYear & 0x3 ==
> 0)
>
>                                                                   ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\renderers\GridPodURLRenderer.mxml(6):
> col: 23 W
>
> arning: Data binding will not be able to detect assignments to 'SrNo'.
>
>
>
>                   htmlText="&lt;u&gt;{data.SrNo}&lt;/u&gt;" color="blue"
> click="
>
> f_DrillDownData(data)">
>
>                                     ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml
> Error:
>
> The required skin state 'disabledWithPrompt' is missing.
>
>
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml
> Error:
>
> The required skin state 'normalWithPrompt' is missing.
>
>
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(177): col: 27
> Warning: D
>
> ata binding will not be able to detect assignments to 'valueField'.
>
>
>
>                                                 yField="{properties.@
> valueField}
>
> ">
>
>                                                                     ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(187): col: 34
> Warning: D
>
> ata binding will not be able to detect assignments to 'categoryField'.
>
>
>
>
> categoryField="{properties.@cate
>
> goryField}" />
>
>
> ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(202): col: 27
> Warning: D
>
> ata binding will not be able to detect assignments to 'valueField'.
>
>
>
>                                                 yField="{properties.@
> valueField}
>
> ">
>
>                                                                     ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(212): col: 34
> Warning: D
>
> ata binding will not be able to detect assignments to 'categoryField'.
>
>
>
>
> categoryField="{properties.@cate
>
> goryField}" />
>
>
> ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(429): col: 27
> Warning: D
>
> ata binding will not be able to detect assignments to 'valueField'.
>
>
>
>                                                 yField="{properties.@
> valueField}
>
> ">
>
>                                                                     ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(439): col: 34
> Warning: D
>
> ata binding will not be able to detect assignments to 'categoryField'.
>
>
>
>
> categoryField="{properties.@cate
>
> goryField}" />
>
>
> ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(454): col: 27
> Warning: D
>
> ata binding will not be able to detect assignments to 'valueField'.
>
>
>
>                                                 yField="{properties.@
> valueField}
>
> ">
>
>                                                                     ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(464): col: 34
> Warning: D
>
> ata binding will not be able to detect assignments to 'categoryField'.
>
>
>
>
> categoryField="{properties.@cate
>
> goryField}" />
>
>
> ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(479): col: 26
> Warning: D
>
> ata binding will not be able to detect assignments to 'valueField'.
>
>
>
>
> field="{properties.@valueField}"
>
>
>
>                                                                    ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(115): col: 74
> Warning
>
> : Data binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject id="roDrillDownColInfo"
> channelSet="{parentAppl
>
> ication.amfChannelSet}" showBusyCursor="true"
>
>
>
>        ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(118): col: 68
> Warning
>
> : Data binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject id="roDgDpResult"
> channelSet="{parentApplicatio
>
> n.amfChannelSet}" showBusyCursor="true"
>
>
>
>  ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\PieChartContent.mxml(128): col: 24
> Warning
>
> : Data binding will not be able to detect assignments to 'valueField'.
>
>
>
>                                 field="{properties.@valueField}"
>
>                                                    ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 37
> Warning: Dat
>
> a binding will not be able to detect assignments to 'appParams'.
>
>
>
>
> inputMask="{parentApplic
>
> ation.appParams.DATE_FORMAT}" showToday="true"
> yearNavigationEnabled="true"
>
>
>
>      ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 47
> Warning: Dat
>
> a binding will not be able to detect assignments to 'DATE_FORMAT'.
>
>
>
>
> inputMask="{parentApplic
>
> ation.appParams.DATE_FORMAT}" showToday="true"
> yearNavigationEnabled="true"
>
>
>
>                ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 38
> Warning: Dat
>
> a binding will not be able to detect assignments to 'appParams'.
>
>
>
>
> inputMask="{parentAppli
>
> cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true"
> showToday="true"
>
>
>
>       ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 48
> Warning: Dat
>
> a binding will not be able to detect assignments to 'DATE_FORMAT'.
>
>
>
>
> inputMask="{parentAppli
>
> cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true"
> showToday="true"
>
>
>
>                 ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(12): col: 11
> Warnin
>
> g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.
>
>
>
>                         import mx.graphics.Stroke;
>
>                                ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(37): col: 23
> Warnin
>
> g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.
>
>
>
>                                         lne.stroke = new Stroke(0,1,.3);
>
>                                                          ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(46): col: 14
> Warnin
>
> g: Duplicate variable definition: i.
>
>
>
>                                 for (var i:int = 1; i < lnWdt; i++){
>
>                                          ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(47): col: 10
> Warnin
>
> g: Duplicate variable definition: lne.
>
>
>
>                                         var lne:Line  = new Line();
>
>                                             ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(53): col: 23
> Warnin
>
> g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.
>
>
>
>                                         lne.stroke = new Stroke(0,1,.3);
>
>                                                          ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(54): col: 10
> Warnin
>
> g: Duplicate variable definition: llbe.
>
>
>
>                                         var llbe:Label = new Label();
>
>                                             ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(157): col:
> 40 Warn
>
> ing: 'application' has been deprecated since 4.0. Please use
> 'FlexGlobals.topLev
>
> elApplication'.
>
>
>
>                                 var xPosition:Number =
> Application.application.p
>
> arent.mouseX;
>
>                                                                    ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(158): col:
> 40 Warn
>
> ing: 'application' has been deprecated since 4.0. Please use
> 'FlexGlobals.topLev
>
> elApplication'.
>
>
>
>                                 var yPosition:Number =
> Application.application.p
>
> arent.mouseY;
>
>                                                                    ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(225): col:
> 36 Warn
>
> ing: 'application' has been deprecated since 4.0. Please use
> 'FlexGlobals.topLev
>
> elApplication'.
>
>
>
>                                 var xPlus:Number =
> Application.application.paren
>
> t.mouseX - point.x;
>
>                                                                ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(226): col:
> 36 Warn
>
> ing: 'application' has been deprecated since 4.0. Please use
> 'FlexGlobals.topLev
>
> elApplication'.
>
>
>
>                                 var yPlus:Number =
> Application.application.paren
>
> t.mouseY - point.y;
>
>
>
> Thanks,
>
> Alina Kazi
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Wednesday, February 28, 2018 10:16 AM
> *To:* Alina Kazi; users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> I think that Flash Builder makes it easy to build SWCs.  Building from the
> command line can be a bit trickier.
>
>
>
> Let's try:
>
> Compc -output "D:\SHMALib.swc" -api-report="D:\report.txt"
> -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml
> -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\src"
>
>
>
> HTH,
>
> -Alex
>
>
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Date: *Tuesday, February 27, 2018 at 7:28 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>, Alex Harui <
> aharui@adobe.com>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> Yes I am using Flash Builder.
>
> SHMALIB and MainFlexApp are two separate Projects
>
> Src for SHMALIB is placed into D:/SHMALIB/src
>
> Src for MainFlexApp is D:/Flex/src and the library output file SHMALIB.swc
> is placed into D:/Flex/libs
>
>
>
> SHMALIB (.actionscriptProperties)
>
>
>
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
>
> <actionScriptProperties mainApplicationPath="SHMALib.as"
> projectUUID="863559ab-3e7b-475b-a3a4-09f4f76fc0d2" version="6">
>
>   <compiler additionalCompilerArguments="-locale en_US"
> autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false"
> generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false"
> htmlHistoryManagement="false" htmlPlayerVersionCheck="true"
> includeNetmonSwc="false" outputFolderLocation="D:/Flex/libs"
> outputFolderPath="bin-debug" sourceFolderPath="src" strict="true"
> targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true"
> verifyDigests="true" warn="true">
>
>     <compilerSourcePath/>
>
>     <libraryPath defaultLinkType="0">
>
>       <libraryPathEntry kind="4" path="">
>
>         <excludedEntries>
>
>           <libraryPathEntry kind="3" linkType="1"
> path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>
>
>         </excludedEntries>
>
>       </libraryPathEntry>
>
>       <libraryPathEntry kind="1" linkType="1" path="libs"/>
>
>     </libraryPath>
>
>     <sourceAttachmentPath/>
>
>   </compiler>
>
>   <applications>
>
>     <application path="SHMALib.as"/>
>
>   </applications>
>
>   <modules/>
>
>   <buildCSSFiles/>
>
> </actionScriptProperties>
>
>
>
> SHMALIB (.flexLibProperties)
>
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
>
> <flexLibProperties includeAllClasses="true" version="3">
>
>   <includeClasses/>
>
>   <includeResources/>
>
>   <namespaceManifests/>
>
> </flexLibProperties>
>
>
>
> Thanks,
>
> Alina
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Tuesday, February 27, 2018 9:34 PM
> *To:* Alina Kazi
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> When you are not trying to use Royale to generate this API report, how are
> you building your current Flex app?  We might need to know that in order to
> determine what parameters to add to COMPC.
>
>
>
> COMPC has additional parameters like -include–sources, include-file,
> include-classes.  Sometimes, these are listed in an xml file.  If you are
> using Flash Builder, for example, then examine the .flexlibproperties and
> .actionscriptProperties files in your project folder.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Date: *Tuesday, February 27, 2018 at 3:21 AM
> *To: *'Alina Kazi' <al...@d-bz.com>
> *Cc: *Alex Harui <ah...@adobe.com>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
> "D:\SHMALib.swc"
>
>  -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"
>
> Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> WARNING: An illegal reflective access operation has occurred
>
> WARNING: Illegal reflective access by com.google.common.base.
> internal.Finalizer
>
> (file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar)
> to
>
> field java.lang.Thread.inheritableThreadLocals
>
> WARNING: Please consider reporting this to the maintainers of
> com.google.common.
>
> base.internal.Finalizer
>
> WARNING: Use --illegal-access=warn to enable warnings of further illegal
> reflect
>
> ive access operations
>
>
>
> Error: nothing was specified to be included in the library.
>
> -Alina
>
>
>
> *From:* Alina Kazi [mailto:alina.kazi@d-bz.com <al...@d-bz.com>]
> *Sent:* Tuesday, February 27, 2018 2:16 PM
> *To:* 'users@royale.apache.org'
> *Subject:* RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> I am using Moonshine IDE 1.9.0.
>
> Flex 4.16.0
>
> Apache Royale 0.9.2 Latest Nightly Build
>
>
>
> *Running this Command on Command Prompt:*
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
> "D:\SHMALib.swc"
>
>  -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"
>
> Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> WARNING: An illegal reflective access operation has occurred
>
> WARNING: Illegal reflective access by com.google.common.base.
> internal.Finalizer
>
> (file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar)
> to
>
> field java.lang.Thread.inheritableThreadLocals
>
> WARNING: Please consider reporting this to the maintainers of
> com.google.common.
>
> base.internal.Finalizer
>
> WARNING: Use --illegal-access=warn to enable warnings of further illegal
> reflect
>
> ive access operations
>
> WARNING: All illegal access operations will be denied in a future release
>
>
>
> *command line Error: unknown configuration variable 'sourceΓÇôpath'.*
>
>
>
> -Alina
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Tuesday, February 27, 2018 1:26 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> COMPC takes a slightly different set of parameters.  What IDE or build
> tools are you using to build it without Royale?  You might need to know
> what options that build uses.
>
>
>
> You can try running:
>
>
>
> Compc -output "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc"
> -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bin\frameworks\flex-config.xml -source–path="D:\Projects\SHMA\Main\Flex\src"
> or wherever the source code is for the library.
>
>
>
> HTH,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, February 26, 2018 at 11:33 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> For custom SWC, I am using COMPC to get an api-report for SWC
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>compc
> "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc" -api-report="D:\report.txt"
> -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml
>
> *Error:* configuration variable 'output' was not set.
>
>
>
>
>
> Thanks,
>
> Alina
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Tuesday, February 27, 2018 12:27 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> Yes, any SWC that is not in the Flex SDK's frameworks/libs folder needs to
> be specified as Piotr describes below.  We want you specify the same MXML
> file that you use to compile in the regular Flex SDK.  So if your
> Application.mxml starts with an mx:Application or s:Application that’s
> probably the one to use.  But also, if you have your own custom SWCs, we
> want you to use COMPC to get an api-report for those SWCs.  We want this
> modified Royale compiler to compile every source file you own so we can see
> what Flex APIs you are using.
>
>
>
> HTH,
>
> -Alex
>
>
>
> *From: *Piotr Zarzycki <pi...@gmail.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, February 26, 2018 at 11:19 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> In my sense you will have to use -library-path+=path to the library. You
> have to tell compiler about that library.
>
>
>
> Thanks, Piotr
>
>
>
> 2018-02-27 7:57 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>
> Hi  Alex,
>
> *With latest nightly build:*
>
> MaskedTextInput , shmReportUtil …. Are Library Project Actionscript Files.
>
> Main Application contains SHMALib.swc file in Libs folder
>
> Error Link:
>
> https://www.dropbox.com/s/p5imt22cuut0ex6/ErrorGeneratingReport.png?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fp5imt22cuut0ex6%2FErrorGeneratingReport.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=8f1f9duW2Red4bP77hFTh3mLcCptBmAwd87n1iSkk%2Bs%3D&reserved=0>
>
>
>
> I have a question that which .mxml file should be used to generate that
> report?
>
> Applications.mxml is startup file in case of my Project so I’m using it.
>
>
>
> Please visit reference link and If I’m doing anything wrong please let me
> know.
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com]
> *Sent:* Tuesday, February 27, 2018 12:00 AM
>
>
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> I pushed a fix for that.  It might or might not be related to your custom
> swc.  Get the latest nightly build and let us know.
>
>
>
> Also, if you are successful, please use your regular compiler to generate
> a -link–report.  That will help us verify that the API report didn't miss
> anything.
>
>
>
> Thanks,
>
> -Alex
>
>
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, February 26, 2018 at 4:01 AM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Generated Report file for Sample Project Successfully.
>
>
>
> spark.components.Application:minHeight,1
>
> spark.components.Application:minWidth,1
>
> spark.components.Application:mxmlContentFactory,2
>
> spark.components.Label:fontSize,1
>
> spark.components.Label:fontWeight,1
>
> spark.components.Label:horizontalCenter,1
>
> spark.components.Label:text,1
>
> spark.components.Label:textAlign,1
>
> spark.components.Label:verticalCenter,1
>
>
>
> But while executing Actual Project got Error:
>
> https://www.dropbox.com/s/d25eysllavuy5z4/compile2.png?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fd25eysllavuy5z4%2Fcompile2.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=2i28J4zjv1vEQ7sd%2BGfHm%2Bh1FjG%2BP3YdJCc6rGZr3C4%3D&reserved=0>
>
> https://www.dropbox.com/s/49iq74zk6rxcr1y/compile1.png?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F49iq74zk6rxcr1y%2Fcompile1.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=44tfkOscWyJ%2FH3M30HeJ6dfFE0TlpTMhQ2t%2Bv%2ByuoDg%3D&reserved=0>
>
>
>
> May be because my Application is dependent to SHMALib(.swc) Library
> Project (Source Shared Earlier).
>
>
>
> -Alina
>
>
>
> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com
> <pi...@gmail.com>]
> *Sent:* Monday, February 26, 2018 5:02 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Alex,
>
>
>
> I did above exercise for Moonshine and got NPE [1]. I used air-config.xml
> because it is na Desktop app.
>
>
>
> [1] https://paste.apache.org/R0Si
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FR0Si&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=tFLrK9xsVt57PytwBaNoUJ%2FIPFH7FCHDtfrmJ1sAl3Y%3D&reserved=0>
>
>
>
>
> Thanks,
>
> Piotr
>
>
>
>
>
> 2018-02-26 12:56 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
>
> Yishay,
>
>
>
> Thank you so much!! I got it working.
>
>
>
> Alina,
>
>
>
> Here is the full instruction.
>
>
>
> 1) Download Apache Royale with SWF support - if you have that is good, if
> not it's here [1]
>
> 2) Download Apache Flex - you have it as I have seen on the screenshot.
>
> 3) Launch console and go to the Royale SDK folder
>
>
>
> "yourpathtosdk\bin\" - In my case it was: "d:\Work\royale_ide\royale_
> nightly_js_swf\bin\"
>
>
>
> 4) Run following command where you will point to the Flex Browser
> application in order to generate report. My command looks like that:
>
>
>
> mxmlc "c:\Users\piotr\Documents\NewFlexBrowserProject\src\NewFlexBrowserProject.mxml"
> -api-report="c:\Users\piotr\Documents\NewFlexBrowserProject\report.txt"
> -load-config=d:\Work\flex-sdk-4.16.1_adobe_air_28\
> frameworks\flex-config.xml
>
>
>
> I generated report for hellow world. Maybe in order to generate report for
> your application that console command may be much more sophisticated. Let's
> see!
>
>
>
>
>
> [1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/
> lastSuccessfulBuild/artifact/out/
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2Fout%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=O%2BpVQ8OuhB%2FtE4ZdylTSkAQCWsIPBGlr9RgiTjWSWEM%3D&reserved=0>
>
>
>
> Thanks,
>
> Piotr
>
>
>
>
>
> 2018-02-26 12:46 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:
>
> Looks like [1] you do need to add compiler option: -api–report=<path to
> output file>
>
>
>
> [1] http://apache-royale-users.20374.n8.nabble.com/
> Substitutes-in-Apache-Royale-tp392p492.html
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p492.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kda6SpkBgdRqGAeGJ5Db629EAy7KAVbOZKzhzhynRZk%3D&reserved=0>
>
>
>
>
>
> *From: *Piotr Zarzycki <pi...@gmail.com>
> *Sent: *Monday, February 26, 2018 1:37 PM
>
>
> *To: *users@royale.apache.org
> *Subject: *Re: Generating API report for Flex Web Browser application
>
>
>
> I have produced with that swf, but what's next? Let's wait for Alex's
> response [1]
>
>
>
> [1] https://paste.apache.org/YEeG
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FYEeG&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8ameYzJ7AloOW4nTa8dqu7zYxwORSQc5sCUqpZDVA%2BY%3D&reserved=0>
>
>
>
> Thanks,
>
> Piotr
>
>
>
> 2018-02-26 12:32 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:
>
> Alex will know but I don’t think so. I haven’t updated the compiler
> recently so can’t test it right now. If you want to test it maybe just
> create a simple app and replace /Users/aharui/ApacheFlex4.16.0 with your
> sdk home.
>
>
>
>
>
>
>
> *From: *Piotr Zarzycki <pi...@gmail.com>
> *Sent: *Monday, February 26, 2018 1:25 PM
> *To: *users@royale.apache.org
> *Subject: *Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Yishay,
>
>
>
> bin/mxmlc
>
> <path to app's
>
> .mxml
>
> file>
>
> -load-config=/Users/aharui/ApacheFlex4.16.0/frameworks/flex-config.xml
>
>
>
> Do I need some switch for compiler -api-report or something like that ?
>
>
>
> Thanks,
>
> Piotr
>
>
>
>
>
> 2018-02-26 12:10 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:
>
> Wasn’t logged in. Here’s [1] the link.
>
>
>
> [1] http://apache-royale-users.20374.n8.nabble.com/
> Substitutes-in-Apache-Royale-tp392p489.html
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p489.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8Tp5%2BFveKS0eoW7D8EovITPQqYrgwDK4P7cW9izXFH8%3D&reserved=0>
>
>
>
>
>
> *From: *Yishay Weiss <yi...@hotmail.com>
> *Sent: *Monday, February 26, 2018 12:59 PM
> *To: *users@royale.apache.org
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> I couldn’t find a way to link to a nabble post, but this [1] might help
> (from Substitutes in Apache Royale).
>
>
>
> [1] https://paste.apache.org/N2QR
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FN2QR&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=VIS8u6EEBWN6jQrFxpttZvAfUCSSKPe3rbrBDU2w7Sg%3D&reserved=0>
>
>
>
> *From: *Piotr Zarzycki <pi...@gmail.com>
> *Sent: *Monday, February 26, 2018 12:44 PM
> *To: *users@royale.apache.org
> *Subject: *Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> I would like to understand how to generate that report. I will go with the
> console path, because I think this is something unusual and probably
> Moonshine is not prepared to do this. I'm writing this on the users mailing
> list because Alina is having some problems with that. I wanted to simplify
> all of that. Let's start from the beginning.
>
>
>
> 1) I have created Flex Web browser project using Apache Flex SDK 4.16.1.
>
> 2) I have nightly build of Royale with SWF support [1]
>
>
>
> What should I type in the console now ?
>
>
>
> [1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/
> lastSuccessfulBuild/artifact/
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=UtYFFQ90aNB2HU2Vx4t8YAS6Eo2j1ZqVAytujEOgoFM%3D&reserved=0>
>
>
>
> Thanks,
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>
>
>
>
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>
>
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>
>
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=zGrfZ2Wj3CLuuW%2B%2BKtUSQF6762Vn0%2BeNjCMlViBMghg%3D&reserved=0>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>



-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

Posted by Piotr Zarzycki <pi...@gmail.com>.
Use *"mvn -s settings-template.xml clean install" *without pointing to
profile -P utils.

2018-03-07 7:22 GMT+01:00 Alina Kazi <al...@d-bz.com>:

> Hi Piotr,
>
> Getting Similar Error in all cases.
>
> C:\Users\aleena>git clone https://github.com/apache/royale-asjs
>
> Cloning into 'royale-asjs'...
>
> remote: Counting objects: 101055, done.
>
> remote: Compressing objects: 100% (127/127), done.
>
> remote: Total 101055 (delta 101), reused 183 (delta 63), pack-reused 100828
>
> Receiving objects: 100% (101055/101055), 19.27 MiB | 249.00 KiB/s, done.
>
> Resolving deltas: 100% (61539/61539), done.
>
> Checking out files: 100% (3572/3572), done.
>
>
>
> C:\Users\aleena>cd royale-asjs
>
>
>
> C:\Users\aleena\royale-asjs>git checkout develop
>
> Already on 'develop'
>
> Your branch is up to date with 'origin/develop'.
>
>
>
> C:\Users\aleena\royale-asjs>mvn -s settings-template.xml clean install -P
> utils
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> Downloading from apache-snapshots: http://repository.apache.org/
> snapshots/org/ap
>
> ache/flex/utilities/converter/flex-sdk-converter-maven-
> extension/1.0.0-SNAPSHOT/
>
> maven-metadata.xml
>
> [WARNING] Could not transfer metadata org.apache.flex.utilities.
> converter:flex-s
>
> dk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from/to
> apache-sn
>
> apshots (http://repository.apache.org/snapshots/): Connect to
> repository.apache.
>
> org:80 [repository.apache.org/207.244.88.140] failed: Connection timed
> out: conn
>
> ect
>
> [WARNING] Failure to transfer org.apache.flex.utilities.
> converter:flex-sdk-conve
>
> rter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from
> http://repository.ap
>
> ache.org/snapshots/ was cached in the local repository, resolution will
> not be r
>
> eattempted until the update interval of apache-snapshots has elapsed or
> updates
>
> are forced. Original error: Could not transfer metadata
> org.apache.flex.utilitie
>
> s.converter:flex-sdk-converter-maven-extension:1.0.
> 0-SNAPSHOT/maven-metadata.xml
>
>  from/to apache-snapshots (http://repository.apache.org/snapshots/):
> Connect to
>
> repository.apache.org:80 [repository.apache.org/207.244.88.140] failed:
> Connecti
>
> on timed out: connect
>
> Downloading from apache-snapshots: http://repository.apache.org/
> snapshots/org/ap
>
> ache/flex/utilities/converter/flex-sdk-converter-maven-
> extension/1.0.0-SNAPSHOT/
>
> flex-sdk-converter-maven-extension-1.0.0-SNAPSHOT.pom
>
> [WARNING] Failed to read extensions descriptor
> C:\Users\aleena\royale-asjs\.mvn\
>
> extensions.xml: Plugin org.apache.flex.utilities.
> converter:flex-sdk-converter-ma
>
> ven-extension:1.0.0-SNAPSHOT or one of its dependencies could not be
> resolved: F
>
> ailed to read artifact descriptor for org.apache.flex.utilities.
> converter:flex-s
>
> dk-converter-maven-extension:jar:1.0.0-SNAPSHOT
>
> [INFO] Scanning for projects...
>
> Downloading from apache-release: https://repository.apache.org/
> content/repositor
>
> ies/releases/org/apache/apache/18/apache-18.pom
>
> Downloading from central: https://repo.maven.apache.org/
> maven2/org/apache/apache
>
> /18/apache-18.pom
>
> [ERROR] [ERROR] Some problems were encountered while processing the POMs:
>
> [FATAL] Non-resolvable parent POM for org.apache.royale.framework:
> royale-framewo
>
> rk-parent:0.9.2-SNAPSHOT: Could not transfer artifact
> org.apache:apache:pom:18 f
>
> rom/to apache-release (https://repository.apache.org/content/repositories/
> releas
>
> es): Connect to repository.apache.org:443 [repository.apache.org/207.
> 244.88.140]
>
>  failed: Connection timed out: connect and 'parent.relativePath' points at
> no lo
>
> cal POM @ line 24, column 11
>
>  @
>
> [ERROR] The build could not read 1 project -> [Help 1]
>
> [ERROR]
>
> [ERROR]   The project org.apache.royale.framework:
> royale-framework-parent:0.9.2-
>
> SNAPSHOT (C:\Users\aleena\royale-asjs\pom.xml) has 1 error
>
> [ERROR]     Non-resolvable parent POM for org.apache.royale.framework:
> royale-fra
>
> mework-parent:0.9.2-SNAPSHOT: Could not transfer artifact
> org.apache:apache:pom:
>
> 18 from/to apache-release (https://repository.apache.
> org/content/repositories/re
>
> leases): Connect to repository.apache.org:443 [repository.apache.org/207.
> 244.88.
>
> 140] failed: Connection timed out: connect and 'parent.relativePath'
> points at n
>
> o local POM @ line 24, column 11 -> [Help 2]
>
> [ERROR]
>
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e swit
>
> ch.
>
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>
> [ERROR]
>
> [ERROR] For more information about the errors and possible solutions,
> please rea
>
> d the following articles:
>
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/
> ProjectBuildin
>
> gException
>
> [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/
> UnresolvableMo
>
> delException
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com]
> *Sent:* Wednesday, March 07, 2018 11:25 AM
> *To:* users@royale.apache.org
> *Subject:* Re: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Alina,
>
>
>
> I see in your trace that you have cloned typedefs instead asjs -> "git
> clone https://github.com/apache/royale-typedefs.git". You should clone:
>
>
>
> git clone https://github.com/apache/royale-asjs and switch to "develop"
> branch than try to build.
>
>
>
> However let me try build typedefs only in the meantime clone asjs and try
> again.
>
>
>
> Thanks, Piotr
>
>
>
>
>
> 2018-03-07 7:19 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
>
> Alina,
>
>
>
> Not sure, but let me try that on my sight, however I doubt that. Maven is
> a very distinguished from all the environment variables. If you got that
> build running you don't have to use almost all. :)
>
>
>
> 2018-03-07 7:03 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>
> Hi Piotr,
>
>
>
> ROYALE_HOME environment variable is set to D:\royale-asjs that is the path
> for installed latest nightly build. This could be the reason ?
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com]
> *Sent:* Wednesday, March 07, 2018 10:56 AM
> *To:* users@royale.apache.org
> *Subject:* Re: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Please try again build. Maybe it was some temporary problem. My build is
> running right now without the problem. Maven downloading dependencies
> nicely.
>
>
>
> Thanks, Piotr
>
>
>
> 2018-03-07 6:39 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>
> Hi Piotr,
>
> Its Working.
>
> This XML file does not appear to have any style information associated
> with it. The document tree is shown below.
>
> <metadata modelVersion="1.1.0">
>
> <groupId>org.apache.flex.utilities.converter</groupId>
>
> <artifactId>retrievers</artifactId>
>
> <version>1.0.0-SNAPSHOT</version>
>
> <versioning>
>
> <snapshot>
>
> <timestamp>20171112.204231</timestamp>
>
> <buildNumber>490</buildNumber>
>
> </snapshot>
>
> <lastUpdated>20171112204231</lastUpdated>
>
> <snapshotVersions>
>
> <snapshotVersion>
>
> <extension>pom</extension>
>
> <value>1.0.0-20171112.204231-490</value>
>
> <updated>20171112204231</updated>
>
> </snapshotVersion>
>
> </snapshotVersions>
>
> </versioning>
>
> </metadata>
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com]
> *Sent:* Wednesday, March 07, 2018 10:48 AM
> *To:* users@royale.apache.org
> *Subject:* Re: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Hi Alina,
>
>
>
> I just removed my whole local repository and trying exactly the same
> scenario. Just quick question can you try in your browser open this link ?
> Is it working ?
>
>
>
> http://repository.apache.org/snapshots/org/apache/flex/
> utilities/converter/retrievers/1.0.0-SNAPSHOT/maven-metadata.xml
>
>
>
> Thanks,
>
> Piotr
>
>
>
> 2018-03-07 6:27 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>
> Hi Piotr,
>
> Using Maven :
>
> C:\Users\aleena>git clone https://github.com/apache/royale-typedefs.git
> royale-a
>
> sjs
>
> Cloning into 'royale-asjs'...
>
> remote: Counting objects: 3318, done.
>
> remote: Compressing objects: 100% (93/93), done.
>
> remote: Total 3318 (delta 48), reused 76 (delta 16), pack-reused 3200
>
> Receiving objects: 100% (3318/3318), 3.51 MiB | 244.00 KiB/s, done.
>
> Resolving deltas: 100% (1337/1337), done.
>
>
>
> C:\Users\aleena>cd royale-asjs
>
>
>
> C:\Users\aleena\royale-asjs>git checkout develop
>
> Already on 'develop'
>
> Your branch is up to date with 'origin/develop'.
>
>
>
> C:\Users\aleena\royale-asjs>mvn -s settings-template.xml clean install
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> Downloading from apache-snapshots: http://repository.apache.org/
> snapshots/org/ap
>
> ache/flex/utilities/converter/flex-sdk-converter-maven-
> extension/1.0.0-SNAPSHOT/
>
> maven-metadata.xml
>
> [WARNING] Could not transfer metadata org.apache.flex.utilities.
> converter:flex-s
>
> dk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from/to
> apache-sn
>
> apshots (http://repository.apache.org/snapshots/): Connect to
> repository.apache.
>
> org:80 [repository.apache.org/207.244.88.140] failed: Connection timed
> out: conn
>
> ect
>
> [WARNING] Failure to transfer org.apache.flex.utilities.
> converter:flex-sdk-conve
>
> rter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from
> http://repository.ap
>
> ache.org/snapshots/ was cached in the local repository, resolution will
> not be r
>
> eattempted until the update interval of apache-snapshots has elapsed or
> updates
>
> are forced. Original error: Could not transfer metadata
> org.apache.flex.utilitie
>
> s.converter:flex-sdk-converter-maven-extension:1.0.
> 0-SNAPSHOT/maven-metadata.xml
>
>  from/to apache-snapshots (http://repository.apache.org/snapshots/):
> Connect to
>
> repository.apache.org:80 [repository.apache.org/207.244.88.140] failed:
> Connecti
>
> on timed out: connect
>
> Downloading from apache-snapshots: http://repository.apache.org/
> snapshots/org/ap
>
> ache/flex/utilities/converter/flex-sdk-converter-maven-
> extension/1.0.0-SNAPSHOT/
>
> flex-sdk-converter-maven-extension-1.0.0-SNAPSHOT.pom
>
> [WARNING] Failed to read extensions descriptor
> C:\Users\aleena\royale-asjs\.mvn\
>
> extensions.xml: Plugin org.apache.flex.utilities.
> converter:flex-sdk-converter-ma
>
> ven-extension:1.0.0-SNAPSHOT or one of its dependencies could not be
> resolved: F
>
> ailed to read artifact descriptor for org.apache.flex.utilities.
> converter:flex-s
>
> dk-converter-maven-extension:jar:1.0.0-SNAPSHOT
>
> [INFO] Scanning for projects...
>
> Downloading from apache-release: https://repository.apache.org/
> content/repositor
>
> ies/releases/org/apache/apache/18/apache-18.pom
>
> Downloading from central: https://repo.maven.apache.org/
> maven2/org/apache/apache
>
> /18/apache-18.pom
>
> [ERROR] [ERROR] Some problems were encountered while processing the POMs:
>
> [FATAL] Non-resolvable parent POM for org.apache.royale.typedefs:
> royale-typedefs
>
> -parent:0.9.2-SNAPSHOT: Could not transfer artifact
> org.apache:apache:pom:18 fro
>
> m/to apache-release (https://repository.apache.org/content/repositories/
> releases
>
> ): Connect to repository.apache.org:443 [repository.apache.org/207.
> 244.88.140] f
>
> ailed: Connection timed out: connect and 'parent.relativePath' points at
> wrong l
>
> ocal POM @ line 23, column 11
>
>  @
>
> [ERROR] The build could not read 1 project -> [Help 1]
>
> [ERROR]
>
> [ERROR]   The project org.apache.royale.typedefs:
> royale-typedefs-parent:0.9.2-SN
>
> APSHOT (C:\Users\aleena\royale-asjs\pom.xml) has 1 error
>
> [ERROR]     Non-resolvable parent POM for org.apache.royale.typedefs:
> royale-type
>
> defs-parent:0.9.2-SNAPSHOT: Could not transfer artifact
> org.apache:apache:pom:18
>
>  from/to apache-release (https://repository.apache.
> org/content/repositories/rele
>
> ases): Connect to repository.apache.org:443 [repository.apache.org/207.
> 244.88.14
>
> 0] failed: Connection timed out: connect and 'parent.relativePath' points
> at wro
>
> ng local POM @ line 23, column 11 -> [Help 2]
>
> [ERROR]
>
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e swit
>
> ch.
>
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>
> [ERROR]
>
> [ERROR] For more information about the errors and possible solutions,
> please rea
>
> d the following articles:
>
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/
> ProjectBuildin
>
> gException
>
> [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/
> UnresolvableMo
>
> delException
>
>
>
> C:\Users\aleena\royale-asjs>
>
>
>
> Thanks
>
> Alina
>
>
>
> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com]
> *Sent:* Tuesday, March 06, 2018 5:30 PM
> *To:* users@royale.apache.org
> *Subject:* Re: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Hi Alina,
>
>
>
> You can try to go with Maven to see whether you have similar problems [1]
>
>
>
> [1] https://github.com/apache/royale-asjs/wiki/Build-Apache-
> Royale-with-Maven
>
>
>
> Thanks, Piotr
>
>
>
> 2018-03-06 13:12 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>
> Hi Alex,
>
> Still getting same error, while executing:
>
> C:\Users\aleena\royale-asjs>ant all
>
> Website link is working :
>
> http://www.antlr.org/license.html
>
>
>
> could be only issue , Antlr server will be off-line ?
>
>
>
> Thanks,
>
> Alina
>
> *From:* Alina Kazi [mailto:alina.kazi@d-bz.com]
> *Sent:* Tuesday, March 06, 2018 4:38 PM
> *To:* 'users@royale.apache.org'
> *Subject:* RE: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Hi Alex,
>
>
>
> We can exclude ScaleX , ScaleY,transform from our code as we are using it
> in our Library Project Only.
>
> We are using “Rotation” in a PopUp Window.
>
>
>
> Can you please explain *emulation* ?
>
> How do they will work?
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alina Kazi [mailto:alina.kazi@d-bz.com]
> *Sent:* Tuesday, March 06, 2018 3:14 PM
> *To:* 'users@royale.apache.org'
> *Subject:* RE: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Hi Alex,
>
> We are using commitProperties() in our Library Project. Overriding the
> Existing Spark commitProperties() method
>
> For Example:
>
> ResizableTextAreaSkin.mxml (SHMALib)
>
> override protected function commitProperties():void {
>
>                                                 super.commitProperties();
>
>
>
>                                                 if (lineBreakChanged) {
>
>
> updateStringStyle("lineBreak");
>
>
> lineBreakChanged = false;
>
>                                                 }
>
>                                                 if (paddingChanged) {
>
>
> updatePadding();
>
>
> paddingChanged = false;
>
>                                                 }
>
>                                                 if (verticalAlignChanged)
> {
>
>
> updateStringStyle("verticalAlign");
>
>
> verticalAlignChanged = false;
>
>                                                 }
>
>                                 }
>
> We are using
>
> *Package*
>
> flash.display
> <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/package-detail.html>
>
> *Class*
>
> public class DisplayObject
>
> *Inheritance*
>
> DisplayObject [image: Inheritance] EventDispatcher
> <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/EventDispatcher.html>
>  [image: Inheritance] Object
> <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Object.html>
>
> *Reference Link:*
>
> https://help.adobe.com/en_US/FlashPlatform/reference/
> actionscript/3/flash/display/DisplayObject.html
>
>
>
> e.g :
>
>                 public function updateLayoutWithoutAnimation():void
>
>                                 {
>
>                                                 if(_layoutInvalid == true
> && layoutFunction != null)
>
>                                                 {
>
>
> _layoutInvalid = false;
>
>
> layoutFunction();
>
>                                                 }
>
>
>
>                                                 for(var aChild:* in
> _targets)
>
>                                                 {
>
>                                                                 var
> target:LayoutTarget = _targets[aChild];
>
>                                                                 var
> item:IFlexDisplayObject = target.item;
>
>                                                                 var
> m:Matrix = DisplayObject(item).transform.matrix;
>
>
>
>                                                                 m.tx =
> target.x;
>
>                                                                 m.ty =
> target.y;
>
>                                                                 m.a =
> target.scaleX;
>
>
>                                                                 m.d =
> target.scaleY
>
>
>
>
> DisplayObject(item).alpha = target.alpha;
>
>
> DisplayObject(item).transform.matrix = m;
>
>
> item.setActualSize(target.unscaledWidth,target.unscaledHeight);
>
>
> if(target.state == "removed")
>
>                                                                 {
>
>
> delete _targets[target.item];
>
>
> continue;
>
>                                                                 }
>
>                                                                 else
>
>                                                                 {
>
>
> target.state = "positioned"
>
>                                                                 }
>
>                                                 }
>
>                                                 stopTimer();
>
>                                 }
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com]
> *Sent:* Tuesday, March 06, 2018 1:36 PM
> *To:* users@royale.apache.org
> *Subject:* API Usage in Flex Web Browser application (was Re: Generating
> API report for Flex Web Browser application)
>
>
>
> Hi Alina,
>
>
>
> I'm starting on the emulation.  I've noticed that your application code
> appears to be calling commitProperties().  Can you tell us why?
>
>
>
> Also, it looks like there are a few uses of rotation, transform, scaleX
> and scaleY.  What are those used for?
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alex Harui <ah...@adobe.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, March 5, 2018 at 11:38 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> Try again.  Sometimes the Antlr server goes off-line around this time of
> day.
>
>
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, March 5, 2018 at 11:12 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> Using jdk1.8.0_162:
>
>
>
> C:\Users\aleena\royale-asjs>ant all
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> Buildfile: C:\Users\aleena\royale-asjs\build.xml
>
>
>
> set.base.folder:
>
>
>
> check-git:
>
>      [echo] Checking for Git...
>
>      [exec] git version 2.16.2.windows.1
>
>
>
> get-download-folder:
>
>
>
> download-all:
>
>      [echo] Using folder C:\Users\aleena\royale-asjs/..
>
>
>
> check-royale-asjs:
>
>
>
> warn-before-clone:
>
>
>
> check-royale-asjs:
>
>
>
> clone-royale-asjs:
>
>
>
> check-royale-compiler:
>
>
>
> clone-royale-compiler:
>
>
>
> check-royale-typedefs:
>
>
>
> clone-royale-typedefs:
>
>
>
> check-playerglobal-home:
>
>
>
> check-air-home:
>
>
>
> build-all:
>
>
>
> ask-before-build-all:
>
>     [input] This script will now download and compile lots of files.  This
> can t
>
> ake several minutes.   No interaction should be required.  Press the enter
> key t
>
> o continue.
>
>
>
>
>
> sdk:
>
>
>
> annotate.class:
>
>     [javac] Compiling 1 source file to C:\Users\aleena\royale-
> compiler\compiler-
>
> build-tools\target\classes
>
>     [javac] warning: [options] bootstrap class path not set in conjunction
> with
>
> -source 1.5
>
>     [javac] warning: [options] source value 1.5 is obsolete and will be
> removed
>
> in a future release
>
>     [javac] warning: [options] target value 1.5 is obsolete and will be
> removed
>
> in a future release
>
>     [javac] warning: [options] To suppress warnings about obsolete
> options, use
>
> -Xlint:-options.
>
>     [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\
> src\main\java\o
>
> rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:24: warning:
> [serial
>
> ] serializable class AnnotateClassDeleteException has no definition of
> serialVer
>
> sionUID
>
>     [javac]     public static class AnnotateClassDeleteException extends
> Excepti
>
> on
>
>     [javac]                   ^
>
>     [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\
> src\main\java\o
>
> rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:32: warning:
> [serial
>
> ] serializable class AnnotateClassRenameException has no definition of
> serialVer
>
> sionUID
>
>     [javac]     public static class AnnotateClassRenameException extends
> Excepti
>
> on
>
>     [javac]                   ^
>
>     [javac] 6 warnings
>
>
>
> unknown.tree.pattern.input.output:
>
>     [javac] Compiling 1 source file to C:\Users\aleena\royale-
> compiler\compiler-
>
> build-tools\target\classes
>
>     [javac] warning: [options] bootstrap class path not set in conjunction
> with
>
> -source 1.5
>
>     [javac] warning: [options] source value 1.5 is obsolete and will be
> removed
>
> in a future release
>
>     [javac] warning: [options] target value 1.5 is obsolete and will be
> removed
>
> in a future release
>
>     [javac] warning: [options] To suppress warnings about obsolete
> options, use
>
> -Xlint:-options.
>
>     [javac] 4 warnings
>
>
>
> main:
>
>
>
> compiler.downloads.cache:
>
>
>
> compiler.downloads:
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> prepare:
>
>      [echo] Making lib directory C:\Users\aleena\royale-
> compiler\compiler/lib/ex
>
> ternal
>
>     [mkdir] Created dir: C:\Users\aleena\royale-
> compiler\compiler\lib\external
>
>
>
> all:
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> check-dependency:
>
>      [echo] checking for C:\Users\aleena\royale-compiler\compiler/lib/
> external//
>
> antlr.jar
>
>
>
> download-dependency:
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> echo-project-jar:
>
>    [delete] Deleting: C:\Users\aleena\royale-compiler\compiler\src\main\
> resource
>
> s\project.properties
>
>      [echo] ${INFO_DOWNLOADING_FILE_FROM}
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> download-apache-license:
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> download-other-license:
>
>       [get] Getting: http://www.antlr.org/license.html
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0>
>
>       [get] To: C:\Users\aleena\royale-compiler\compiler\lib\
> external\antlr-LICE
>
> NSE.html
>
>       [get] Error getting http://www.antlr.org/license.html
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0>
> to C:\Users\aleena\r
>
> oyale-compiler\compiler\lib\external\antlr-LICENSE.html
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> double-check-file:
>
>      [echo] ${env.ROYALE_DOWNLOAD_CACHE}
>
>      [echo] Need file: ${still_no_file}
>
>
>
> get-from-cache-if-needed:
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> fail-if-not-found:
>
>
>
> BUILD FAILED
>
> C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred
> while e
>
> xecuting this line:
>
> C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred
> while e
>
> xecuting this line:
>
> C:\Users\aleena\royale-compiler\build.xml:64: The following error
> occurred while
>
>  executing this line:
>
> C:\Users\aleena\royale-compiler\compiler-jburg-types\build.xml:87: The
> following
>
>  error occurred while executing this line:
>
> C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:81:
> Th
>
> e following error occurred while executing this line:
>
> C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:275:
> T
>
> he following error occurred while executing this line:
>
> C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:329:
> T
>
> he following error occurred while executing this line:
>
> C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:489:
> C
>
> :\Users\aleena\royale-compiler\compiler/lib/external//antlr-LICENSE.html
> could n
>
> ot be downloaded or found in cache
>
>
>
> Total time: 47 seconds
>
>
>
> C:\Users\aleena\royale-asjs>
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Tuesday, March 06, 2018 11:55 AM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> Please use JDK8.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, March 5, 2018 at 10:40 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> Java version that I am using is “9.0.1”
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Tuesday, March 06, 2018 11:42 AM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> What version of Java are you using?  Please get a JDK7 or 8 and try that.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, March 5, 2018 at 10:22 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> Command Prompt Output is:
>
> C:\Users\aleena>git clone https://github.com/apache/royale-asjs.git
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs.git&data=02%7C01%7Caharui%40adobe.com%7Cdf86fa0dd25b41ffbc8108d5832f0997%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559160423949211&sdata=d9cKX4ILIQPLI5USXvAafSnrWZSgW1XHw6G4r%2B9wgsE%3D&reserved=0>
> royale-asjs
>
> Cloning into 'royale-asjs'...
>
> remote: Counting objects: 101103, done.
>
> remote: Compressing objects: 100% (22/22), done.
>
> remote: Total 101103 (delta 9), reused 30 (delta 7), pack-reused 101066R
>
> Receiving objects: 100% (101103/101103), 19.23 MiB | 208.00 KiB/s, done.
>
>
>
> Resolving deltas: 100% (61584/61584), done.
>
> Checking out files: 100% (3572/3572), done.
>
>
>
> C:\Users\aleena>cd royale-asjs
>
>
>
> C:\Users\aleena\royale-asjs>git checkout develop
>
> Already on 'develop'
>
> Your branch is up to date with 'origin/develop'.
>
>
>
> C:\Users\aleena\royale-asjs>ant all
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> Buildfile: C:\Users\aleena\royale-asjs\build.xml
>
>
>
> set.base.folder:
>
>
>
> check-git:
>
>      [echo] Checking for Git...
>
>      [exec] git version 2.16.2.windows.1
>
>
>
> get-download-folder:
>
>
>
> download-all:
>
>      [echo] Using folder C:\Users\aleena\royale-asjs/..
>
>
>
> check-royale-asjs:
>
>
>
> warn-before-clone:
>
>
>
> check-royale-asjs:
>
>
>
> clone-royale-asjs:
>
>
>
> check-royale-compiler:
>
>
>
> clone-royale-compiler:
>
>      [echo] cloning royale-compiler repo into
> C:\Users\aleena\royale-asjs/../roy
>
> ale-compiler
>
>      [exec] Cloning into 'royale-compiler'...
>
>      [exec] Checking out files:   8% (284/3191)
>
>      [exec] Checking out files:   9% (288/3191)   Checking out files:  10%
> (320/
>
> 3191)   Checking out files:  11% (352/3191)   Checking out files:  12%
> (383/3191
>
> )   Checking out files:  13% (415/3191)   Checking out files:  13%
> (444/3191)
>
> Checking out files:  14% (447/3191)   Checking out files:  15%
> (479/3191)   Chec
>
> king out files:  16% (511/3191)   Checking out files:  17% (543/3191)
> Checking
>
>  out files:  18% (575/3191)   Checking out files:  19% (607/3191)
> Checking out
>
>  files:  20% (639/3191)   Checking out files:  20% (641/3191)   Checking
> out fil
>
> es:  21% (671/3191)   Checking out files:  22% (703/3191)   Checking out
> files:
>
>  23% (734/3191)   Checking out files:  24% (766/3191)   Checking out
> files:  25%
>
>  (798/3191)   Checking out files:  26% (830/3191)   Checking out files:
> 26% (84
>
> 2/3191)   Checking out files:  27% (862/3191)   Checking out files:  28%
> (894/31
>
> 91)   Checking out files:  29% (926/3191)   Checking out files:  30%
> (958/3191)
>
>   Checking out files:  31% (990/3191)   Checking out files:  32%
> (1022/3191)   C
>
> hecking out files:  33% (1054/3191)   Checking out files:  34%
> (1085/3191)   Che
>
> cking out files:  35% (1117/3191)   Checking out files:  36% (1149/3191)
> Check
>
> ing out files:  37% (1181/3191)   Checking out files:  38% (1213/3191)
> Checkin
>
> g out files:  39% (1245/3191)   Checking out files:  40% (1277/3191)
> Checking
>
> out files:  40% (1308/3191)   Checking out files:  41% (1309/3191)
> Checking ou
>
> t files:  42% (1341/3191)   Checking out files:  42% (1352/3191)
> Checking out
>
> files:  43% (1373/3191)   Checking out files:  44% (1405/3191)   Checking
> out fi
>
> les:  45% (1436/3191)   Checking out files:  46% (1468/3191)   Checking
> out file
>
> s:  47% (1500/3191)   Checking out files:  48% (1532/3191)   Checking out
> files:
>
>   49% (1564/3191)   Checking out files:  49% (1578/3191)   Checking out
> files:
>
> 50% (1596/3191)   Checking out files:  51% (1628/3191)   Checking out
> files:  52
>
> % (1660/3191)   Checking out files:  53% (1692/3191)   Checking out
> files:  54%
>
> (1724/3191)   Checking out files:  55% (1756/3191)   Checking out files:
> 56% (1
>
> 787/3191)   Checking out files:  57% (1819/3191)   Checking out files:
> 58% (185
>
> 1/3191)   Checking out files:  59% (1883/3191)   Checking out files:  60%
> (1915/
>
> 3191)   Checking out files:  61% (1947/3191)   Checking out files:  62%
> (1979/31
>
> 91)   Checking out files:  63% (2011/3191)   Checking out files:  63%
> (2022/3191
>
> )   Checking out files:  64% (2043/3191)   Checking out files:  65%
> (2075/3191)
>
>   Checking out files:  66% (2107/3191)   Checking out files:  67%
> (2138/3191)
>
> Checking out files:  68% (2170/3191)   Checking out files:  69%
> (2202/3191)   Ch
>
> ecking out files:  70% (2234/3191)   Checking out files:  71%
> (2266/3191)   Chec
>
> king out files:  72% (2298/3191)   Checking out files:  73% (2330/3191)
> Checki
>
> ng out files:  74% (2362/3191)   Checking out files:  75% (2394/3191)
> Checking
>
>  out files:  76% (2426/3191)   Checking out files:  77% (2458/3191)
> Checking o
>
> ut files:  78% (2489/3191)   Checking out files:  79% (2521/3191)
> Checking out
>
>  files:  80% (2553/3191)   Checking out files:  81% (2585/3191)   Checking
> out f
>
> iles:  82% (2617/3191)   Checking out files:  83% (2649/3191)   Checking
> out fil
>
> es:  83% (2679/3191)   Checking out files:  84% (2681/3191)   Checking out
> files
>
> :  85% (2713/3191)   Checking out files:  86% (2745/3191)   Checking out
> files:
>
>  87% (2777/3191)   Checking out files:  88% (2809/3191)   Checking out
> files:  8
>
> 9% (2840/3191)   Checking out files:  89% (2845/3191)   Checking out
> files:  90%
>
>  (2872/3191)   Checking out files:  91% (2904/3191)   Checking out files:
> 92% (
>
> 2936/3191)   Checking out files:  93% (2968/3191)   Checking out files:
> 94% (30
>
> 00/3191)   Checking out files:  95% (3032/3191)   Checking out files:  95%
> (3035
>
> /3191)   Checking out files:  96% (3064/3191)   Checking out files:  97%
> (3096/3
>
> 191)   Checking out files:  98% (3128/3191)   Checking out files:  99%
> (3160/319
>
> 1)   Checking out files: 100% (3191/3191)   Checking out files: 100%
> (3191/3191)
>
> , done.
>
>      [exec] Your branch is up to date with 'origin/develop'.
>
>      [exec] Already on 'develop'
>
>
>
> check-royale-typedefs:
>
>
>
> clone-royale-typedefs:
>
>      [echo] cloning royale-typedefs repo into
> C:\Users\aleena\royale-asjs/../roy
>
> ale-typedefs
>
>      [exec] Cloning into 'royale-typedefs'...
>
>      [exec] Your branch is up to date with 'origin/develop'.
>
>      [exec] Already on 'develop'
>
>
>
> check-playerglobal-home:
>
>
>
> check-air-home:
>
>
>
> build-all:
>
>
>
> ask-before-build-all:
>
>     [input] This script will now download and compile lots of files.  This
> can t
>
> ake several minutes.   No interaction should be required.  Press the enter
> key t
>
> o continue.
>
>
>
> sdk:
>
>
>
> annotate.class:
>
>     [mkdir] Created dir: C:\Users\aleena\royale-
> compiler\compiler-build-tools\ta
>
> rget\classes
>
>     [javac] Compiling 1 source file to C:\Users\aleena\royale-
> compiler\compiler-
>
> build-tools\target\classes
>
>     [javac] warning: [options] bootstrap class path not set in conjunction
> with
>
> -source 1.5
>
>     [javac] error: Source option 1.5 is no longer supported. Use 1.6 or
> later.
>
>     [javac] error: Target option 1.5 is no longer supported. Use 1.6 or
> later.
>
>
>
> BUILD FAILED
>
> C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred
> while e
>
> xecuting this line:
>
> C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred
> while e
>
> xecuting this line:
>
> C:\Users\aleena\royale-compiler\build.xml:63: The following error
> occurred while
>
>  executing this line:
>
> C:\Users\aleena\royale-compiler\compiler-build-tools\build.xml:74:
> Compile faile
>
> d; see the compiler error output for details.
>
>
>
> Total time: 17 minutes 59 seconds
>
>
>
> C:\Users\aleena\royale-asjs>
>
>
>
> Unable to Build, Please guide.
>
>
>
> Thanks,
>
> Alina
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Friday, March 02, 2018 10:31 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> I was able to download and expand the files.  I will be consolidating the
> data today.
>
>
>
> In order to be able to write some of these emulations, you will probably
> need to be able to build the framework sources.  If you haven't already,
> you can try cloning the royale-asjs repo and figure out how to get it to
> build.  You can choose Apache Maven or Apache Ant as the build tool.
>
>
>
> https://github.com/apache/royale-asjs
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs&data=02%7C01%7Caharui%40adobe.com%7C3c1833c1fc9442003f2608d5832c7fe0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559149534170415&sdata=YqGTpbzoou8SilHbsTxjriIjiREaS%2FA9j6xjZYRR%2F4E%3D&reserved=0>
>
>
>
> Hopefully the instruction in the readme are sufficient.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Friday, March 2, 2018 at 12:34 AM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> Application API-Report link:
>
> https://www.dropbox.com/s/swvqhly6wa0jrc5/API-Reports.rar?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fswvqhly6wa0jrc5%2FAPI-Reports.rar%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C928c248220464230f6dd08d5801a2f13%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555772324148830&sdata=9%2BsrGG41iCMIEmbtqnEbV%2BPvi1ngE9vF%2BKuqPAZ%2Bzao%3D&reserved=0>
>
> SHMALib Report, applications,shmDoclist,shmSetupList,AppView_EIS,
> AppView_ERP,shmMappingSetup, shmMappingSetupOpenDetailGrid,shmSalesInvoice,
> shmSalesInvoiceDetail are main API Files.
>
>
>
> Regards,
>
> Alina
>
>
>
>
>
>
>
>
>
> *From:* Alina Kazi [mailto:alina.kazi@d-bz.com <al...@d-bz.com>]
> *Sent:* Friday, March 02, 2018 11:32 AM
> *To:* users@royale.apache.org
> *Subject:* RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> 2) We are using Effects in our Application 2-3 times
>
> 4) We are using text styling in our Application 3-5 times
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Friday, March 02, 2018 4:26 AM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> 1) Interesting about Charts.  They were being used by the SWC.
>
> 2) Effects are any animations that move, resize or fade things in the UI.
>
> 3) ok
>
> 4) I'm not sure what to conclude from the screenshot.  I'm interested in
> how often folks use it to create text with bold, italics and other styling
> of text.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Thursday, March 1, 2018 at 4:24 AM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> 600 mxml.api.txt files are generated and still in process. I will share
> link for files tomorrow.
>
> After sharing my files tomorrow, If you will suggest to build  emulations.
>
>
> I will  definitely want to learn how to create emulations and contribute
> them to Apache Royale.
>
> 1.We are not using Charts in our Application
>
> 2. How important are effects? (Please explain effects )
>
> 3. We are not using Right-to-left languages in RichTextEditor.
>
> 4. Is RichTextEditor being used for non-plain text?  If so, what kinds of
> text styling is important?
>
> Link:https://www.dropbox.com/s/ky93eycmefm3cuu/RICHTEXTEDITOR.png?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fky93eycmefm3cuu%2FRICHTEXTEDITOR.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cff526ec5592c42772ade08d57f713736%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555046634193460&sdata=BjS8q1GarTweRfMMmZOKxN%2FTQTqhtzJlm05KAtWnNTQ%3D&reserved=0>
>
> Thanks,
>
> Alina
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Wednesday, February 28, 2018 10:45 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> Good to hear it worked.
>
>
>
> I think I am waiting on all of the mxml.api.txt files to see what else is
> in there that isn't in the two reports we have, then we'll have a pretty
> good list of the places you will either need to change in your code or that
> we  will build emulations for.
>
>
>
> I think emulations will be less work in the end, but there will be a lot
> of them to do.  We will want to you to learn how to create emulations and
> contribute them to Apache Royale.  That's how many Apache projects work:
> some of the users learn how to become committers.  This will be an asset to
> your company as well since you will learn how to fix things in Royale
> yourself.  Then your company won't be dependent on outsiders for support.
>
>
>
> So, Peter and I and hopefully others will get started on some emulations
> to make sure they work for us, and then you can see if they work for you,
> and then we will teach you how to write those emulations.  Over the next
> several months, besides testing emulations written by others in your app,
> you will be writing your own emulations for things you need right away that
> we haven't written yet, or for third-party code that you are using.
>
>
>
> It might help to get some prioritization on the emulations we need to
> write.  In looking at the list, I am wondering:
>
>    1. Are some charts more important than others?
>    2. How important are effects?
>    3. Do you use Right-to-left languages in RichTextEditor?
>    4. Is RichTextEditor being used for non-plain text?  If so, what kinds
>    of text styling is important?
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Wednesday, February 28, 2018 at 1:22 AM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> Thank you.
>
> It’s working with latest nightly build:
>
> https://www.dropbox.com/s/77wkgrm74upkg0j/SHMALib%20Report.txt?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F77wkgrm74upkg0j%2FSHMALib%2520Report.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C16fa845b6d2f4efb7f4a08d57e8e9097%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636554073167111532&sdata=UV0BOZpVonw%2BILcK9njhQdf5pKpqWPccp0IKDPm4jOI%3D&reserved=0>
>
>
>
>
>
> Regards,
>
> Alina
>
>
>
>
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Wednesday, February 28, 2018 1:15 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> Looks like COMPC collected the data but never generated the report.  I
> pushed a fix for that.  Please try the latest nightly build.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Tuesday, February 27, 2018 at 10:35 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> Thank you
>
> After commenting the embedded font part from source.
>
> Output to console:
>
> 3462313 bytes written to D:\SHMALib.swc in 19.878 seconds
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
> "D:\SHMALib.swc"
>
>  -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bin\framewor
>
> ks\flex-config.xml -source-path="D:\SHMALIB\src"
> -include-sources="D:\SHMALIB\sr
>
> c" -library-path+=D:\SHMALIB\libs
>
>
>
> SHMALib.swf file Generated and Report.txt is empty
>
> *SHMALib.swc output Link:*
>
> https://www.dropbox.com/s/4tz49sz134m2gg9/SHMALib.swc?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F4tz49sz134m2gg9%2FSHMALib.swc%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=%2FNcbTJtah21RRPeWfwg2pRaZ72hd%2BdG0iJlnH3GsA28%3D&reserved=0>
>
> then I change, Compc -output "D:\SHMALib.swc" to Compc -output
> "D:\SHMALib. txt "
>
> *SHMALib.txt output Link:*
>
> https://www.dropbox.com/s/j38obt5e36awuh3/SHMALib.txt?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fj38obt5e36awuh3%2FSHMALib.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=V%2FcA5dJ3Fi1qOvh%2BtUlbU%2FZ%2FQ5SBfRw7psjsm2Q%2Fe8w%3D&reserved=0>
>
>
>
> Thanks,
>
> Alina
>
>
>
>
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Wednesday, February 28, 2018 11:18 AM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> The only error right now is the embedded font.
>
>
>
> We can discuss the pros and cons of embedding images in the JS output at
> some other point in time.
>
>
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Tuesday, February 27, 2018 at 10:01 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Big Part of SHMALib Uses Embed and metadata :
>
>
>
>                                 // Embed the font so we can rotate it for
> further distortion
>
>                                 [Embed(systemFont="Comic Sans MS",
>
>
> embedAsCFF='false')]
>
>                 <mx:Image y="4" width="18" height="20" right="185"
> source="@Embed(source='assets/default/images/load.png')"
>
>
> source="@Embed(source='assets/default/images/next.gif')"
> scaleContent="false"/>
>
>                 <mx:Image y="4" width="18" height="20" right="3"
> source="@Embed(source='assets/default/images/magnifier.png')"
>
>      * An IFrame which you can embed into Flex applications to show an
> HTML page.
>
>      * @example A simple application with Google embedded
>
>         // SWF embed object tracking
>
>          * The SWF embed object id.
>
>          * Get the embed object id.
>
>         protected function resolveEmbedObjectId():void
>
>                     var result:Object=ExternalInterface.call(
> IFrameExternalCalls.FUNCTION_ASK_FOR_EMBED_OBJECT_ID,
> randomIdentificationString.toString());
>
>                         logger.info("Resolved the SWF embed object id to
> '{0}'.", applicationId);
>
>                         logger.error('Could not resolve the SWF embed
> object Id.');
>
>             // Resolve the SWF embed object id in the DOM.
>
>             ExternalInterface.call(IFrameExternalCalls.INSERT_
> FUNCTION_ASK_FOR_EMBED_OBJECT_ID);
>
>             resolveEmbedObjectId();
>
>             logger.info("Loading IFrame with id '{0}', on SWF embed
> object with id '{1}'.", _frameId, applicationId);
>
>                     FUNCTION_LOADIFRAME + " = function (frameID, iframeID,
> url, embedID, scrollPolicy)" +
>
>                                       "onLoad='\"+embedID+\".\"+frameID+\"_load();'
> " +
>
>         public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =
> "askForEmbedObjectId";
>
>         public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =
> "askForEmbedObjectId";
>
>         public static var INSERT_FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =
>
>                 "if (document." + FUNCTION_ASK_FOR_EMBED_OBJECT_ID +
> "==null)" +
>
>                     FUNCTION_ASK_FOR_EMBED_OBJECT_ID + " =
> function(randomString) " +
>
>                             "var embeds = document.getElementsByTagName('embed');
> " +
>
>                             "var embeds = document.getElementsByTagName('embed');
> " +
>
>                             "for (var i = 0; i < embeds.length; i++) { " +
>
>                                 "var isTheGoodOne =
> embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " +
>
>                                 "var isTheGoodOne =
> embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " +
>
>                                     "return embeds[i].getAttribute('id');
> " +
>
>                                  * The UITextField control for displaying
> embeded hints.
>
>                                 private var embedTextField:UITextField;
>
>                                  *  The String to be shown as the embeded
> hint.
>
>                                 private var embedStr:String = "";
>
>
> embedStr = "MM DD YYYY";
>
>
> embedStr = "DD MM YYYY";
>
>
> embedStr = "YYYY MM DD";
>
>
> embedStr = "YYYY DD MM";
>
>                                  *  Create child objects for displaying
> embeded hints.
>
>
> embedTextField = new UITextField();
>
>
> //embedTextField.text = embedStr;
>
>
> //embedTextField.text = embedStr;
>
>
> addChildAt(UITextField(embedTextField),getChildIndex(
> DisplayObject(textField)));//as TextField
>
>
>                                                     s =
> embedTextField.text == null ? "":embedTextField.text;
>
>
>                                                     s =
> embedTextField.text == null ? "":embedTextField.text;
>
>
>                                                                     s =
> s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);
>
>
>
> embedTextField.text = s;
>
>
>                                                     s =
> embedTextField.text == null ? "":embedTextField.text;
>
>
>                                                     s =
> embedTextField.text == null ? "":embedTextField.text;
>
>
>                                                                     //s =
> s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);
>
>
>
> //embedTextField.text = s;
>
>
>                                                                     s =
> s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);
>
>
>
> embedTextField.text = s;
>
>
> // If embeded hints are displayed then update the
>
>
> // UITextField corresponding to the embeded hints
>
>
>                                     var s:String = embedTextField.text ==
> null ? "":embedTextField.text;
>
>
>                                     var s:String = embedTextField.text ==
> null ? "":embedTextField.text;
>
>
>                                                     embedTextField.text =
> s;
>
>                                                                 // create
> the embeded text field for showing
>
>                                                                 //
> embeded hints if its not already created.
>
>                                                                 // If it
> is created, then just change the embeded hint.
>
>
> if(!embedTextField)
>
>
> embedTextField = new UITextField();
>
>
> addChildAt(embedTextField,getChildIndex(DisplayObject(textField))); //as
> TextField
>
>
> //embedTextField.text = embedStr;
>
>
> //embedTextField.text = embedStr;
>
>
> embedTextField.alpha = 1;
>
>
> embedTextField.setTextFormat(txtFormat);
>
>
> embedTextField.x = 0;
>
>
> embedTextField.y = 2;
>
>
> embedTextField.setActualSize(width,height);
>
>
> if(embedTextField)
>
>
> embedTextField.text = "";
>
>
> embedTextField = null;
>
>                                                 // setting the color of
> the embeded text field to white.
>
>
> if(embedTextField)
>
>
> embedTextField.setColor(0xFFFFFF);
>
>
> if(embedTextField)
>
>
>                 addChildAt(DisplayObject(newSkin),getChildIndex(
> DisplayObject(embedTextField)));//
>
>    background-image:
> Embed(source="/assets/application_background.png",
>
>                 up-skin:                Embed("/assets/maximize_up.png");
>
>                 over-skin:            Embed("/assets/maximize_over.png");
>
>                 down-skin:         Embed("/assets/maximize_up.png");
>
>                 selected-up-skin:   Embed("/assets/restore_up.png");
>
>                 selected-over-skin: Embed("/assets/restore_over.png");
>
>                 selected-down-skin: Embed("/assets/restore_up.png");
>
>                 up-skin:        Embed("/assets/minimize_up.png");
>
>                 over-skin:      Embed("/assets/minimize_over.png");
>
>                 down-skin:      Embed("/assets/minimize_up.png");
>
>                 up-skin:
> Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30",
> scaleGridLeft="10", scaleGridRight="92");
>
>                 over-skin:
> Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30",
> scaleGridLeft="10", scaleGridRight="92");
>
>                 down-skin:
> Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30",
> scaleGridLeft="10", scaleGridRight="92");
>
>                 selected-up-skin:
> Embed("/assets/tab_selected.png", scaleGridTop="13",
> scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");
>
>                 selected-over-skin:
> Embed("/assets/tab_selected.png", scaleGridTop="13",
> scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");
>
>                 selected-down-skin:                      Embed("/assets/
> tab_selected.png", scaleGridTop="13", scaleGridBottom="31",
> scaleGridLeft="9", scaleGridRight="91");
>
>                 up-skin:
> Embed("/assets/left_arrow_up.gif");
>
>                 over-skin:
> Embed("/assets/left_arrow_over.gif");
>
>                 down-skin:
> Embed("/assets/left_arrow_up.gif");
>
>                 disabled-skin:    Embed("/assets/left_arrow_
> disabled.gif");
>
>                 up-skin:
> Embed("/assets/right_arrow_up.gif");
>
>                 over-skin:
> Embed("/assets/right_arrow_over.gif");
>
>                 down-skin:
> Embed("/assets/right_arrow_up.gif");
>
>                 disabled-skin:    Embed("/assets/right_arrow_
> disabled.gif");
>
>                                 //[Embed(source="/assets/
> cursor_move.gif")]
>
>                                 //[Embed(source="/assets/
> cursor_resize.gif")]
>
>                                 [Embed(source="/assets/
> default/images/mouseMove.gif")]
>
>                                 [Embed(source="/assets/
> default/images/verticalSize.gif")]
>
>                                 [Embed(source="/assets/
> default/images/horizontalSize.gif")]
>
>                                 [Embed(source="/assets/default/images/
> leftObliqueSize.gif")]
>
>                                 [Embed(source="/assets/default/images/
> rightObliqueSize.gif")]
>
>                                                 if (image.isEmbedded)
>
>                                                 //if
> (!Application.application.systemManager.isFontFaceEmbedded(textFormat))
>
>                                                 if (!FlexGlobals.
> topLevelApplication.systemManager.isFontFaceEmbedded(textFormat))
>
>                                                                 if
> (Application.application.isFontsEmbedded) {
>
>                                                                 if
> (Application.application.isFontsEmbedded) {
>
>                                                                 if
> (Application.application.isFontsEmbedded) {
>
>                                 private var _isEmbedded:Boolean = false;
>
>                                 public function set
> isEmbedded(embedded:Boolean):void
>
>                                 public function set
> isEmbedded(embedded:Boolean):void
>
>                                                 _isEmbedded = embedded;
>
>                                                 _isEmbedded = embedded;
>
>                                 public function get isEmbedded():Boolean
>
>                                                 return _isEmbedded;
>
>                                                 <mx:icon>@Embed(source='
> images/print.GIF')</mx:icon>
>
>                                                 <mx:icon>@Embed(source='
> images/reload.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/first-gray.GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/first.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/previous-gray.
> GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/previous.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/next-gray.GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/next.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/last-gray.GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/last.GIF')</mx:icon>
>
>
> <mx:icon>@Embed(source='images/actualsize.GIF')</mx:icon>
>
>
> <mx:icon>@Embed(source='images/fitpage.GIF')</mx:icon>
>
>
> <mx:icon>@Embed(source='images/fitwidth.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/zoomin-gray.GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/zoomin.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/zoomout-gray.
> GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/zoomout.GIF')</mx:icon>
>
>
> <mx:icon>@Embed(source='images/print.GIF')</mx:icon>
>
>                                                 if (
> imageSourceXml.@isEmbedded.length() > 0)
>
>
> image.isEmbedded = imageSourceXml.@isEmbedded == "true";
>
>
> image.isEmbedded = imageSourceXml.@isEmbedded == "true";
>
>                  source="@Embed(source='/assets/default/images/left_
> arrow_up.gif')"/>
>
>                  source="@Embed(source='/assets/default/images/left_
> arrow_over.gif')"/>
>
>                  source="@Embed(source='/assets/default/images/left_arrow_disabled.gif')"/>
>
>
>
>    source="@Embed(source='/com/shm/flexlib/mdi/assets/img/
> maximizeButton.png')"/>
>
>
>    height="12" source="@Embed(source='/com/shm/flexlib/mdi/assets/img/
> restoreButton.png')"/>
>
>
>    source="@Embed(source='/com/shm/flexlib/mdi/assets/img/
> minimizeButton.png')"/>
>
>                  source="@Embed(source='/assets/default/images/right_
> arrow_up.gif')"/>
>
>                  source="@Embed(source='/assets/default/images/right_
> arrow_over.gif')"/>
>
>                  source="@Embed(source='/assets/default/images/right_arrow_disabled.gif')"/>
>
>
>
>
>
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Wednesday, February 28, 2018 11:00 AM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> I think you can ignore the warnings.  The first error is for embedding a
> font, which Royale doesn't currently support, so for now, try commenting
> out the Embed metadata and see if that allows the error to go away.
>
>
>
> I would look into the other errors to see if they are legitimate or not.
> The Royale Compiler will catch some things the MXMLC compiler may not.  Or
> you could comment out the code involved in the two errors in TImeZone.as
> for now since that won't affect the report.
>
>
>
> The final two errors I saw are for missing skin states.  I think you can
> just add the skin states.
>
>
>
> HTH,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Tuesday, February 27, 2018 at 9:35 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> While Executing
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
> "D:\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"
> -include-sources="D:\SHMALIB\src"
>
> Or
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
> "D:\Flex\libs\SH
>
> MALIB.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bi
>
> n\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"
> -include-sources="D:\
>
> SHMALIB\src" -library-path+=D:\SHMALIB\libs
>
>
>
> *Error:*
>
> (file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar)
> to
>
> field java.lang.Thread.inheritableThreadLocals
>
> WARNING: Please consider reporting this to the maintainers of
> com.google.common.
>
> base.internal.Finalizer
>
> WARNING: Use --illegal-access=warn to enable warnings of further illegal
> reflect
>
> ive access operations
>
> WARNING: All illegal access operations will be denied in a future release
>
> Loading configuration: D:\apache-flex-sdk-4.16.0-bin\
> frameworks\flex-config.xml
>
>
>
> Warning: Duplicate declaration of SkinState 'normal'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'disabled'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'normal'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'disabled'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'normal'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'disabled'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'normal'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'disabled'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'normal'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'disabled'
>
>
>
>
>
> D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(415): col: 50
> Warning:
>
> Data binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject channelSet="{parentApplication.
> amfChannelSet}"
>
> id="DataProviderService"  showBusyCursor="true"
>
>                                                                ^
>
>
>
> D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(419): col: 50
> Warning:
>
> Data binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject channelSet="{parentApplication.
> amfChannelSet}"
>
> id="BasicFormatterService"  showBusyCursor="true"
>
>                                                                ^
>
>
>
> D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(516): col: 50
> Warning: Da
>
> ta binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject channelSet="{parentApplication.
> amfChannelSet}"
>
> id="DataProviderService"  showBusyCursor="true"
>
>                                                                ^
>
>
>
> D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(520): col: 50
> Warning: Da
>
> ta binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject channelSet="{parentApplication.
> amfChannelSet}"
>
> id="BasicFormatterService"  showBusyCursor="true"
>
>                                                                ^
>
>
>
> D:\SHMALIB\src\com\shm\components\shmCaptchaImage.as(43): col: 3 Error:
> Embed re
>
> quires a 'source' file attribute
>
>
>
>                 [Embed(systemFont="Comic Sans MS",
>
>                 ^
>
>
>
> D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(37): col: 88
> Warning: Data
>
> binding will not be able to detect assignments to 'isSelected'.
>
>
>
>                                         <mx:CheckBox
> selectedField="isSelected"
>
>  change="onChange(event);" selected="{data.isSelected}">
>
>
>
>                                           ^
>
>
>
> D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(46): col: 27
> Warning: Data
>
> binding will not be able to detect assignments to 'label'.
>
>
>
>                                         <mx:Label text="{data.label}" />
>
>                                                              ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(126): col: 15
> Error: Impli
>
> cit coercion of a value of type Boolean to an unrelated type Number.
>
>
>
>                                 if(year & 0x3 == 0)
>
>                                           ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(134): col: 39
> Error: Impli
>
> cit coercion of a value of type Boolean to an unrelated type Number.
>
>
>
>                                 if(month == 1 && value.fullYear & 0x3 ==
> 0)
>
>                                                                   ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\renderers\GridPodURLRenderer.mxml(6):
> col: 23 W
>
> arning: Data binding will not be able to detect assignments to 'SrNo'.
>
>
>
>                   htmlText="&lt;u&gt;{data.SrNo}&lt;/u&gt;" color="blue"
> click="
>
> f_DrillDownData(data)">
>
>                                     ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml
> Error:
>
> The required skin state 'disabledWithPrompt' is missing.
>
>
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml
> Error:
>
> The required skin state 'normalWithPrompt' is missing.
>
>
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(177): col: 27
> Warning: D
>
> ata binding will not be able to detect assignments to 'valueField'.
>
>
>
>                                                 yField="{properties.@
> valueField}
>
> ">
>
>                                                                     ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(187): col: 34
> Warning: D
>
> ata binding will not be able to detect assignments to 'categoryField'.
>
>
>
>
> categoryField="{properties.@cate
>
> goryField}" />
>
>
> ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(202): col: 27
> Warning: D
>
> ata binding will not be able to detect assignments to 'valueField'.
>
>
>
>                                                 yField="{properties.@
> valueField}
>
> ">
>
>                                                                     ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(212): col: 34
> Warning: D
>
> ata binding will not be able to detect assignments to 'categoryField'.
>
>
>
>
> categoryField="{properties.@cate
>
> goryField}" />
>
>
> ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(429): col: 27
> Warning: D
>
> ata binding will not be able to detect assignments to 'valueField'.
>
>
>
>                                                 yField="{properties.@
> valueField}
>
> ">
>
>                                                                     ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(439): col: 34
> Warning: D
>
> ata binding will not be able to detect assignments to 'categoryField'.
>
>
>
>
> categoryField="{properties.@cate
>
> goryField}" />
>
>
> ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(454): col: 27
> Warning: D
>
> ata binding will not be able to detect assignments to 'valueField'.
>
>
>
>                                                 yField="{properties.@
> valueField}
>
> ">
>
>                                                                     ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(464): col: 34
> Warning: D
>
> ata binding will not be able to detect assignments to 'categoryField'.
>
>
>
>
> categoryField="{properties.@cate
>
> goryField}" />
>
>
> ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(479): col: 26
> Warning: D
>
> ata binding will not be able to detect assignments to 'valueField'.
>
>
>
>
> field="{properties.@valueField}"
>
>
>
>                                                                    ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(115): col: 74
> Warning
>
> : Data binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject id="roDrillDownColInfo"
> channelSet="{parentAppl
>
> ication.amfChannelSet}" showBusyCursor="true"
>
>
>
>        ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(118): col: 68
> Warning
>
> : Data binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject id="roDgDpResult"
> channelSet="{parentApplicatio
>
> n.amfChannelSet}" showBusyCursor="true"
>
>
>
>  ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\PieChartContent.mxml(128): col: 24
> Warning
>
> : Data binding will not be able to detect assignments to 'valueField'.
>
>
>
>                                 field="{properties.@valueField}"
>
>                                                    ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 37
> Warning: Dat
>
> a binding will not be able to detect assignments to 'appParams'.
>
>
>
>
> inputMask="{parentApplic
>
> ation.appParams.DATE_FORMAT}" showToday="true"
> yearNavigationEnabled="true"
>
>
>
>      ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 47
> Warning: Dat
>
> a binding will not be able to detect assignments to 'DATE_FORMAT'.
>
>
>
>
> inputMask="{parentApplic
>
> ation.appParams.DATE_FORMAT}" showToday="true"
> yearNavigationEnabled="true"
>
>
>
>                ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 38
> Warning: Dat
>
> a binding will not be able to detect assignments to 'appParams'.
>
>
>
>
> inputMask="{parentAppli
>
> cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true"
> showToday="true"
>
>
>
>       ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 48
> Warning: Dat
>
> a binding will not be able to detect assignments to 'DATE_FORMAT'.
>
>
>
>
> inputMask="{parentAppli
>
> cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true"
> showToday="true"
>
>
>
>                 ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(12): col: 11
> Warnin
>
> g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.
>
>
>
>                         import mx.graphics.Stroke;
>
>                                ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(37): col: 23
> Warnin
>
> g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.
>
>
>
>                                         lne.stroke = new Stroke(0,1,.3);
>
>                                                          ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(46): col: 14
> Warnin
>
> g: Duplicate variable definition: i.
>
>
>
>                                 for (var i:int = 1; i < lnWdt; i++){
>
>                                          ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(47): col: 10
> Warnin
>
> g: Duplicate variable definition: lne.
>
>
>
>                                         var lne:Line  = new Line();
>
>                                             ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(53): col: 23
> Warnin
>
> g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.
>
>
>
>                                         lne.stroke = new Stroke(0,1,.3);
>
>                                                          ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(54): col: 10
> Warnin
>
> g: Duplicate variable definition: llbe.
>
>
>
>                                         var llbe:Label = new Label();
>
>                                             ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(157): col:
> 40 Warn
>
> ing: 'application' has been deprecated since 4.0. Please use
> 'FlexGlobals.topLev
>
> elApplication'.
>
>
>
>                                 var xPosition:Number =
> Application.application.p
>
> arent.mouseX;
>
>                                                                    ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(158): col:
> 40 Warn
>
> ing: 'application' has been deprecated since 4.0. Please use
> 'FlexGlobals.topLev
>
> elApplication'.
>
>
>
>                                 var yPosition:Number =
> Application.application.p
>
> arent.mouseY;
>
>                                                                    ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(225): col:
> 36 Warn
>
> ing: 'application' has been deprecated since 4.0. Please use
> 'FlexGlobals.topLev
>
> elApplication'.
>
>
>
>                                 var xPlus:Number =
> Application.application.paren
>
> t.mouseX - point.x;
>
>                                                                ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(226): col:
> 36 Warn
>
> ing: 'application' has been deprecated since 4.0. Please use
> 'FlexGlobals.topLev
>
> elApplication'.
>
>
>
>                                 var yPlus:Number =
> Application.application.paren
>
> t.mouseY - point.y;
>
>
>
> Thanks,
>
> Alina Kazi
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Wednesday, February 28, 2018 10:16 AM
> *To:* Alina Kazi; users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> I think that Flash Builder makes it easy to build SWCs.  Building from the
> command line can be a bit trickier.
>
>
>
> Let's try:
>
> Compc -output "D:\SHMALib.swc" -api-report="D:\report.txt"
> -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml
> -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\src"
>
>
>
> HTH,
>
> -Alex
>
>
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Date: *Tuesday, February 27, 2018 at 7:28 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>, Alex Harui <
> aharui@adobe.com>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> Yes I am using Flash Builder.
>
> SHMALIB and MainFlexApp are two separate Projects
>
> Src for SHMALIB is placed into D:/SHMALIB/src
>
> Src for MainFlexApp is D:/Flex/src and the library output file SHMALIB.swc
> is placed into D:/Flex/libs
>
>
>
> SHMALIB (.actionscriptProperties)
>
>
>
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
>
> <actionScriptProperties mainApplicationPath="SHMALib.as"
> projectUUID="863559ab-3e7b-475b-a3a4-09f4f76fc0d2" version="6">
>
>   <compiler additionalCompilerArguments="-locale en_US"
> autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false"
> generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false"
> htmlHistoryManagement="false" htmlPlayerVersionCheck="true"
> includeNetmonSwc="false" outputFolderLocation="D:/Flex/libs"
> outputFolderPath="bin-debug" sourceFolderPath="src" strict="true"
> targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true"
> verifyDigests="true" warn="true">
>
>     <compilerSourcePath/>
>
>     <libraryPath defaultLinkType="0">
>
>       <libraryPathEntry kind="4" path="">
>
>         <excludedEntries>
>
>           <libraryPathEntry kind="3" linkType="1"
> path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>
>
>         </excludedEntries>
>
>       </libraryPathEntry>
>
>       <libraryPathEntry kind="1" linkType="1" path="libs"/>
>
>     </libraryPath>
>
>     <sourceAttachmentPath/>
>
>   </compiler>
>
>   <applications>
>
>     <application path="SHMALib.as"/>
>
>   </applications>
>
>   <modules/>
>
>   <buildCSSFiles/>
>
> </actionScriptProperties>
>
>
>
> SHMALIB (.flexLibProperties)
>
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
>
> <flexLibProperties includeAllClasses="true" version="3">
>
>   <includeClasses/>
>
>   <includeResources/>
>
>   <namespaceManifests/>
>
> </flexLibProperties>
>
>
>
> Thanks,
>
> Alina
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Tuesday, February 27, 2018 9:34 PM
> *To:* Alina Kazi
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> When you are not trying to use Royale to generate this API report, how are
> you building your current Flex app?  We might need to know that in order to
> determine what parameters to add to COMPC.
>
>
>
> COMPC has additional parameters like -include–sources, include-file,
> include-classes.  Sometimes, these are listed in an xml file.  If you are
> using Flash Builder, for example, then examine the .flexlibproperties and
> .actionscriptProperties files in your project folder.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Date: *Tuesday, February 27, 2018 at 3:21 AM
> *To: *'Alina Kazi' <al...@d-bz.com>
> *Cc: *Alex Harui <ah...@adobe.com>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
> "D:\SHMALib.swc"
>
>  -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"
>
> Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> WARNING: An illegal reflective access operation has occurred
>
> WARNING: Illegal reflective access by com.google.common.base.
> internal.Finalizer
>
> (file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar)
> to
>
> field java.lang.Thread.inheritableThreadLocals
>
> WARNING: Please consider reporting this to the maintainers of
> com.google.common.
>
> base.internal.Finalizer
>
> WARNING: Use --illegal-access=warn to enable warnings of further illegal
> reflect
>
> ive access operations
>
>
>
> Error: nothing was specified to be included in the library.
>
> -Alina
>
>
>
> *From:* Alina Kazi [mailto:alina.kazi@d-bz.com <al...@d-bz.com>]
> *Sent:* Tuesday, February 27, 2018 2:16 PM
> *To:* 'users@royale.apache.org'
> *Subject:* RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> I am using Moonshine IDE 1.9.0.
>
> Flex 4.16.0
>
> Apache Royale 0.9.2 Latest Nightly Build
>
>
>
> *Running this Command on Command Prompt:*
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
> "D:\SHMALib.swc"
>
>  -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"
>
> Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> WARNING: An illegal reflective access operation has occurred
>
> WARNING: Illegal reflective access by com.google.common.base.
> internal.Finalizer
>
> (file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar)
> to
>
> field java.lang.Thread.inheritableThreadLocals
>
> WARNING: Please consider reporting this to the maintainers of
> com.google.common.
>
> base.internal.Finalizer
>
> WARNING: Use --illegal-access=warn to enable warnings of further illegal
> reflect
>
> ive access operations
>
> WARNING: All illegal access operations will be denied in a future release
>
>
>
> *command line Error: unknown configuration variable 'sourceΓÇôpath'.*
>
>
>
> -Alina
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Tuesday, February 27, 2018 1:26 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> COMPC takes a slightly different set of parameters.  What IDE or build
> tools are you using to build it without Royale?  You might need to know
> what options that build uses.
>
>
>
> You can try running:
>
>
>
> Compc -output "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc"
> -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bin\frameworks\flex-config.xml -source–path="D:\Projects\SHMA\Main\Flex\src"
> or wherever the source code is for the library.
>
>
>
> HTH,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, February 26, 2018 at 11:33 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> For custom SWC, I am using COMPC to get an api-report for SWC
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>compc
> "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc" -api-report="D:\report.txt"
> -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml
>
> *Error:* configuration variable 'output' was not set.
>
>
>
>
>
> Thanks,
>
> Alina
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Tuesday, February 27, 2018 12:27 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> Yes, any SWC that is not in the Flex SDK's frameworks/libs folder needs to
> be specified as Piotr describes below.  We want you specify the same MXML
> file that you use to compile in the regular Flex SDK.  So if your
> Application.mxml starts with an mx:Application or s:Application that’s
> probably the one to use.  But also, if you have your own custom SWCs, we
> want you to use COMPC to get an api-report for those SWCs.  We want this
> modified Royale compiler to compile every source file you own so we can see
> what Flex APIs you are using.
>
>
>
> HTH,
>
> -Alex
>
>
>
> *From: *Piotr Zarzycki <pi...@gmail.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, February 26, 2018 at 11:19 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> In my sense you will have to use -library-path+=path to the library. You
> have to tell compiler about that library.
>
>
>
> Thanks, Piotr
>
>
>
> 2018-02-27 7:57 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>
> Hi  Alex,
>
> *With latest nightly build:*
>
> MaskedTextInput , shmReportUtil …. Are Library Project Actionscript Files.
>
> Main Application contains SHMALib.swc file in Libs folder
>
> Error Link:
>
> https://www.dropbox.com/s/p5imt22cuut0ex6/ErrorGeneratingReport.png?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fp5imt22cuut0ex6%2FErrorGeneratingReport.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=8f1f9duW2Red4bP77hFTh3mLcCptBmAwd87n1iSkk%2Bs%3D&reserved=0>
>
>
>
> I have a question that which .mxml file should be used to generate that
> report?
>
> Applications.mxml is startup file in case of my Project so I’m using it.
>
>
>
> Please visit reference link and If I’m doing anything wrong please let me
> know.
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com]
> *Sent:* Tuesday, February 27, 2018 12:00 AM
>
>
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> I pushed a fix for that.  It might or might not be related to your custom
> swc.  Get the latest nightly build and let us know.
>
>
>
> Also, if you are successful, please use your regular compiler to generate
> a -link–report.  That will help us verify that the API report didn't miss
> anything.
>
>
>
> Thanks,
>
> -Alex
>
>
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, February 26, 2018 at 4:01 AM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Generated Report file for Sample Project Successfully.
>
>
>
> spark.components.Application:minHeight,1
>
> spark.components.Application:minWidth,1
>
> spark.components.Application:mxmlContentFactory,2
>
> spark.components.Label:fontSize,1
>
> spark.components.Label:fontWeight,1
>
> spark.components.Label:horizontalCenter,1
>
> spark.components.Label:text,1
>
> spark.components.Label:textAlign,1
>
> spark.components.Label:verticalCenter,1
>
>
>
> But while executing Actual Project got Error:
>
> https://www.dropbox.com/s/d25eysllavuy5z4/compile2.png?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fd25eysllavuy5z4%2Fcompile2.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=2i28J4zjv1vEQ7sd%2BGfHm%2Bh1FjG%2BP3YdJCc6rGZr3C4%3D&reserved=0>
>
> https://www.dropbox.com/s/49iq74zk6rxcr1y/compile1.png?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F49iq74zk6rxcr1y%2Fcompile1.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=44tfkOscWyJ%2FH3M30HeJ6dfFE0TlpTMhQ2t%2Bv%2ByuoDg%3D&reserved=0>
>
>
>
> May be because my Application is dependent to SHMALib(.swc) Library
> Project (Source Shared Earlier).
>
>
>
> -Alina
>
>
>
> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com
> <pi...@gmail.com>]
> *Sent:* Monday, February 26, 2018 5:02 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Alex,
>
>
>
> I did above exercise for Moonshine and got NPE [1]. I used air-config.xml
> because it is na Desktop app.
>
>
>
> [1] https://paste.apache.org/R0Si
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FR0Si&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=tFLrK9xsVt57PytwBaNoUJ%2FIPFH7FCHDtfrmJ1sAl3Y%3D&reserved=0>
>
>
>
>
> Thanks,
>
> Piotr
>
>
>
>
>
> 2018-02-26 12:56 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
>
> Yishay,
>
>
>
> Thank you so much!! I got it working.
>
>
>
> Alina,
>
>
>
> Here is the full instruction.
>
>
>
> 1) Download Apache Royale with SWF support - if you have that is good, if
> not it's here [1]
>
> 2) Download Apache Flex - you have it as I have seen on the screenshot.
>
> 3) Launch console and go to the Royale SDK folder
>
>
>
> "yourpathtosdk\bin\" - In my case it was: "d:\Work\royale_ide\royale_
> nightly_js_swf\bin\"
>
>
>
> 4) Run following command where you will point to the Flex Browser
> application in order to generate report. My command looks like that:
>
>
>
> mxmlc "c:\Users\piotr\Documents\NewFlexBrowserProject\src\NewFlexBrowserProject.mxml"
> -api-report="c:\Users\piotr\Documents\NewFlexBrowserProject\report.txt"
> -load-config=d:\Work\flex-sdk-4.16.1_adobe_air_28\
> frameworks\flex-config.xml
>
>
>
> I generated report for hellow world. Maybe in order to generate report for
> your application that console command may be much more sophisticated. Let's
> see!
>
>
>
>
>
> [1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/
> lastSuccessfulBuild/artifact/out/
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2Fout%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=O%2BpVQ8OuhB%2FtE4ZdylTSkAQCWsIPBGlr9RgiTjWSWEM%3D&reserved=0>
>
>
>
> Thanks,
>
> Piotr
>
>
>
>
>
> 2018-02-26 12:46 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:
>
> Looks like [1] you do need to add compiler option: -api–report=<path to
> output file>
>
>
>
> [1] http://apache-royale-users.20374.n8.nabble.com/
> Substitutes-in-Apache-Royale-tp392p492.html
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p492.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kda6SpkBgdRqGAeGJ5Db629EAy7KAVbOZKzhzhynRZk%3D&reserved=0>
>
>
>
>
>
> *From: *Piotr Zarzycki <pi...@gmail.com>
> *Sent: *Monday, February 26, 2018 1:37 PM
>
>
> *To: *users@royale.apache.org
> *Subject: *Re: Generating API report for Flex Web Browser application
>
>
>
> I have produced with that swf, but what's next? Let's wait for Alex's
> response [1]
>
>
>
> [1] https://paste.apache.org/YEeG
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FYEeG&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8ameYzJ7AloOW4nTa8dqu7zYxwORSQc5sCUqpZDVA%2BY%3D&reserved=0>
>
>
>
> Thanks,
>
> Piotr
>
>
>
> 2018-02-26 12:32 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:
>
> Alex will know but I don’t think so. I haven’t updated the compiler
> recently so can’t test it right now. If you want to test it maybe just
> create a simple app and replace /Users/aharui/ApacheFlex4.16.0 with your
> sdk home.
>
>
>
>
>
>
>
> *From: *Piotr Zarzycki <pi...@gmail.com>
> *Sent: *Monday, February 26, 2018 1:25 PM
> *To: *users@royale.apache.org
> *Subject: *Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Yishay,
>
>
>
> bin/mxmlc
>
> <path to app's
>
> .mxml
>
> file>
>
> -load-config=/Users/aharui/ApacheFlex4.16.0/frameworks/flex-config.xml
>
>
>
> Do I need some switch for compiler -api-report or something like that ?
>
>
>
> Thanks,
>
> Piotr
>
>
>
>
>
> 2018-02-26 12:10 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:
>
> Wasn’t logged in. Here’s [1] the link.
>
>
>
> [1] http://apache-royale-users.20374.n8.nabble.com/
> Substitutes-in-Apache-Royale-tp392p489.html
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p489.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8Tp5%2BFveKS0eoW7D8EovITPQqYrgwDK4P7cW9izXFH8%3D&reserved=0>
>
>
>
>
>
> *From: *Yishay Weiss <yi...@hotmail.com>
> *Sent: *Monday, February 26, 2018 12:59 PM
> *To: *users@royale.apache.org
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> I couldn’t find a way to link to a nabble post, but this [1] might help
> (from Substitutes in Apache Royale).
>
>
>
> [1] https://paste.apache.org/N2QR
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FN2QR&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=VIS8u6EEBWN6jQrFxpttZvAfUCSSKPe3rbrBDU2w7Sg%3D&reserved=0>
>
>
>
> *From: *Piotr Zarzycki <pi...@gmail.com>
> *Sent: *Monday, February 26, 2018 12:44 PM
> *To: *users@royale.apache.org
> *Subject: *Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> I would like to understand how to generate that report. I will go with the
> console path, because I think this is something unusual and probably
> Moonshine is not prepared to do this. I'm writing this on the users mailing
> list because Alina is having some problems with that. I wanted to simplify
> all of that. Let's start from the beginning.
>
>
>
> 1) I have created Flex Web browser project using Apache Flex SDK 4.16.1.
>
> 2) I have nightly build of Royale with SWF support [1]
>
>
>
> What should I type in the console now ?
>
>
>
> [1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/
> lastSuccessfulBuild/artifact/
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=UtYFFQ90aNB2HU2Vx4t8YAS6Eo2j1ZqVAytujEOgoFM%3D&reserved=0>
>
>
>
> Thanks,
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>
>
>
>
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>
>
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>
>
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=zGrfZ2Wj3CLuuW%2B%2BKtUSQF6762Vn0%2BeNjCMlViBMghg%3D&reserved=0>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>



-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

Posted by Piotr Zarzycki <pi...@gmail.com>.
Alina,

I see in your trace that you have cloned typedefs instead asjs -> "git
clone https://github.com/apache/royale-typedefs.git". You should clone:

git clone https://github.com/apache/royale-asjs and switch to "develop"
branch than try to build.

However let me try build typedefs only in the meantime clone asjs and try
again.

Thanks, Piotr


2018-03-07 7:19 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:

> Alina,
>
> Not sure, but let me try that on my sight, however I doubt that. Maven is
> a very distinguished from all the environment variables. If you got that
> build running you don't have to use almost all. :)
>
> 2018-03-07 7:03 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>
>> Hi Piotr,
>>
>>
>>
>> ROYALE_HOME environment variable is set to D:\royale-asjs that is the
>> path for installed latest nightly build. This could be the reason ?
>>
>>
>>
>> Thanks,
>>
>> Alina
>>
>>
>>
>> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com]
>> *Sent:* Wednesday, March 07, 2018 10:56 AM
>> *To:* users@royale.apache.org
>> *Subject:* Re: API Usage in Flex Web Browser application (was Re:
>> Generating API report for Flex Web Browser application)
>>
>>
>>
>> Please try again build. Maybe it was some temporary problem. My build is
>> running right now without the problem. Maven downloading dependencies
>> nicely.
>>
>>
>>
>> Thanks, Piotr
>>
>>
>>
>> 2018-03-07 6:39 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>>
>> Hi Piotr,
>>
>> Its Working.
>>
>> This XML file does not appear to have any style information associated
>> with it. The document tree is shown below.
>>
>> <metadata modelVersion="1.1.0">
>>
>> <groupId>org.apache.flex.utilities.converter</groupId>
>>
>> <artifactId>retrievers</artifactId>
>>
>> <version>1.0.0-SNAPSHOT</version>
>>
>> <versioning>
>>
>> <snapshot>
>>
>> <timestamp>20171112.204231</timestamp>
>>
>> <buildNumber>490</buildNumber>
>>
>> </snapshot>
>>
>> <lastUpdated>20171112204231</lastUpdated>
>>
>> <snapshotVersions>
>>
>> <snapshotVersion>
>>
>> <extension>pom</extension>
>>
>> <value>1.0.0-20171112.204231-490</value>
>>
>> <updated>20171112204231</updated>
>>
>> </snapshotVersion>
>>
>> </snapshotVersions>
>>
>> </versioning>
>>
>> </metadata>
>>
>>
>>
>> Thanks,
>>
>> Alina
>>
>>
>>
>> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com]
>> *Sent:* Wednesday, March 07, 2018 10:48 AM
>> *To:* users@royale.apache.org
>> *Subject:* Re: API Usage in Flex Web Browser application (was Re:
>> Generating API report for Flex Web Browser application)
>>
>>
>>
>> Hi Alina,
>>
>>
>>
>> I just removed my whole local repository and trying exactly the same
>> scenario. Just quick question can you try in your browser open this link ?
>> Is it working ?
>>
>>
>>
>> http://repository.apache.org/snapshots/org/apache/flex/utili
>> ties/converter/retrievers/1.0.0-SNAPSHOT/maven-metadata.xml
>>
>>
>>
>> Thanks,
>>
>> Piotr
>>
>>
>>
>> 2018-03-07 6:27 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>>
>> Hi Piotr,
>>
>> Using Maven :
>>
>> C:\Users\aleena>git clone https://github.com/apache/royale-typedefs.git
>> royale-a
>>
>> sjs
>>
>> Cloning into 'royale-asjs'...
>>
>> remote: Counting objects: 3318, done.
>>
>> remote: Compressing objects: 100% (93/93), done.
>>
>> remote: Total 3318 (delta 48), reused 76 (delta 16), pack-reused 3200
>>
>> Receiving objects: 100% (3318/3318), 3.51 MiB | 244.00 KiB/s, done.
>>
>> Resolving deltas: 100% (1337/1337), done.
>>
>>
>>
>> C:\Users\aleena>cd royale-asjs
>>
>>
>>
>> C:\Users\aleena\royale-asjs>git checkout develop
>>
>> Already on 'develop'
>>
>> Your branch is up to date with 'origin/develop'.
>>
>>
>>
>> C:\Users\aleena\royale-asjs>mvn -s settings-template.xml clean install
>>
>> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>>
>> Downloading from apache-snapshots: http://repository.apache.org/s
>> napshots/org/ap
>>
>> ache/flex/utilities/converter/flex-sdk-converter-maven-exten
>> sion/1.0.0-SNAPSHOT/
>>
>> maven-metadata.xml
>>
>> [WARNING] Could not transfer metadata org.apache.flex.utilities.conv
>> erter:flex-s
>>
>> dk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from/to
>> apache-sn
>>
>> apshots (http://repository.apache.org/snapshots/): Connect to
>> repository.apache.
>>
>> org:80 [repository.apache.org/207.244.88.140] failed: Connection timed
>> out: conn
>>
>> ect
>>
>> [WARNING] Failure to transfer org.apache.flex.utilities.conv
>> erter:flex-sdk-conve
>>
>> rter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from
>> http://repository.ap
>>
>> ache.org/snapshots/ was cached in the local repository, resolution will
>> not be r
>>
>> eattempted until the update interval of apache-snapshots has elapsed or
>> updates
>>
>> are forced. Original error: Could not transfer metadata
>> org.apache.flex.utilitie
>>
>> s.converter:flex-sdk-converter-maven-extension:1.0.0-
>> SNAPSHOT/maven-metadata.xml
>>
>>  from/to apache-snapshots (http://repository.apache.org/snapshots/):
>> Connect to
>>
>> repository.apache.org:80 [repository.apache.org/207.244.88.140] failed:
>> Connecti
>>
>> on timed out: connect
>>
>> Downloading from apache-snapshots: http://repository.apache.org/s
>> napshots/org/ap
>>
>> ache/flex/utilities/converter/flex-sdk-converter-maven-exten
>> sion/1.0.0-SNAPSHOT/
>>
>> flex-sdk-converter-maven-extension-1.0.0-SNAPSHOT.pom
>>
>> [WARNING] Failed to read extensions descriptor
>> C:\Users\aleena\royale-asjs\.mvn\
>>
>> extensions.xml: Plugin org.apache.flex.utilities.conv
>> erter:flex-sdk-converter-ma
>>
>> ven-extension:1.0.0-SNAPSHOT or one of its dependencies could not be
>> resolved: F
>>
>> ailed to read artifact descriptor for org.apache.flex.utilities.conv
>> erter:flex-s
>>
>> dk-converter-maven-extension:jar:1.0.0-SNAPSHOT
>>
>> [INFO] Scanning for projects...
>>
>> Downloading from apache-release: https://repository.apache.org/
>> content/repositor
>>
>> ies/releases/org/apache/apache/18/apache-18.pom
>>
>> Downloading from central: https://repo.maven.apache.org/
>> maven2/org/apache/apache
>>
>> /18/apache-18.pom
>>
>> [ERROR] [ERROR] Some problems were encountered while processing the POMs:
>>
>> [FATAL] Non-resolvable parent POM for org.apache.royale.typedefs:roy
>> ale-typedefs
>>
>> -parent:0.9.2-SNAPSHOT: Could not transfer artifact
>> org.apache:apache:pom:18 fro
>>
>> m/to apache-release (https://repository.apache.org
>> /content/repositories/releases
>>
>> ): Connect to repository.apache.org:443 [repository.apache.org/207.244
>> .88.140] f
>>
>> ailed: Connection timed out: connect and 'parent.relativePath' points at
>> wrong l
>>
>> ocal POM @ line 23, column 11
>>
>>  @
>>
>> [ERROR] The build could not read 1 project -> [Help 1]
>>
>> [ERROR]
>>
>> [ERROR]   The project org.apache.royale.typedefs:roy
>> ale-typedefs-parent:0.9.2-SN
>>
>> APSHOT (C:\Users\aleena\royale-asjs\pom.xml) has 1 error
>>
>> [ERROR]     Non-resolvable parent POM for org.apache.royale.typedefs:roy
>> ale-type
>>
>> defs-parent:0.9.2-SNAPSHOT: Could not transfer artifact
>> org.apache:apache:pom:18
>>
>>  from/to apache-release (https://repository.apache.org
>> /content/repositories/rele
>>
>> ases): Connect to repository.apache.org:443 [
>> repository.apache.org/207.244.88.14
>>
>> 0] failed: Connection timed out: connect and 'parent.relativePath' points
>> at wro
>>
>> ng local POM @ line 23, column 11 -> [Help 2]
>>
>> [ERROR]
>>
>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>> -e swit
>>
>> ch.
>>
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>
>> [ERROR]
>>
>> [ERROR] For more information about the errors and possible solutions,
>> please rea
>>
>> d the following articles:
>>
>> [ERROR] [Help 1] http://cwiki.apache.org/conflu
>> ence/display/MAVEN/ProjectBuildin
>>
>> gException
>>
>> [ERROR] [Help 2] http://cwiki.apache.org/conflu
>> ence/display/MAVEN/UnresolvableMo
>>
>> delException
>>
>>
>>
>> C:\Users\aleena\royale-asjs>
>>
>>
>>
>> Thanks
>>
>> Alina
>>
>>
>>
>> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com]
>> *Sent:* Tuesday, March 06, 2018 5:30 PM
>> *To:* users@royale.apache.org
>> *Subject:* Re: API Usage in Flex Web Browser application (was Re:
>> Generating API report for Flex Web Browser application)
>>
>>
>>
>> Hi Alina,
>>
>>
>>
>> You can try to go with Maven to see whether you have similar problems [1]
>>
>>
>>
>> [1] https://github.com/apache/royale-asjs/wiki/Build-Apache-
>> Royale-with-Maven
>>
>>
>>
>> Thanks, Piotr
>>
>>
>>
>> 2018-03-06 13:12 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>>
>> Hi Alex,
>>
>> Still getting same error, while executing:
>>
>> C:\Users\aleena\royale-asjs>ant all
>>
>> Website link is working :
>>
>> http://www.antlr.org/license.html
>>
>>
>>
>> could be only issue , Antlr server will be off-line ?
>>
>>
>>
>> Thanks,
>>
>> Alina
>>
>> *From:* Alina Kazi [mailto:alina.kazi@d-bz.com]
>> *Sent:* Tuesday, March 06, 2018 4:38 PM
>> *To:* 'users@royale.apache.org'
>> *Subject:* RE: API Usage in Flex Web Browser application (was Re:
>> Generating API report for Flex Web Browser application)
>>
>>
>>
>> Hi Alex,
>>
>>
>>
>> We can exclude ScaleX , ScaleY,transform from our code as we are using it
>> in our Library Project Only.
>>
>> We are using “Rotation” in a PopUp Window.
>>
>>
>>
>> Can you please explain *emulation* ?
>>
>> How do they will work?
>>
>>
>>
>> Thanks,
>>
>> Alina
>>
>>
>>
>> *From:* Alina Kazi [mailto:alina.kazi@d-bz.com]
>> *Sent:* Tuesday, March 06, 2018 3:14 PM
>> *To:* 'users@royale.apache.org'
>> *Subject:* RE: API Usage in Flex Web Browser application (was Re:
>> Generating API report for Flex Web Browser application)
>>
>>
>>
>> Hi Alex,
>>
>> We are using commitProperties() in our Library Project. Overriding the
>> Existing Spark commitProperties() method
>>
>> For Example:
>>
>> ResizableTextAreaSkin.mxml (SHMALib)
>>
>> override protected function commitProperties():void {
>>
>>                                                 super.commitProperties();
>>
>>
>>
>>                                                 if (lineBreakChanged) {
>>
>>
>> updateStringStyle("lineBreak");
>>
>>
>> lineBreakChanged = false;
>>
>>                                                 }
>>
>>                                                 if (paddingChanged) {
>>
>>
>> updatePadding();
>>
>>
>> paddingChanged = false;
>>
>>                                                 }
>>
>>                                                 if
>> (verticalAlignChanged) {
>>
>>
>> updateStringStyle("verticalAlign");
>>
>>
>> verticalAlignChanged = false;
>>
>>                                                 }
>>
>>                                 }
>>
>> We are using
>>
>> *Package*
>>
>> flash.display
>> <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/package-detail.html>
>>
>> *Class*
>>
>> public class DisplayObject
>>
>> *Inheritance*
>>
>> DisplayObject [image: Inheritance] EventDispatcher
>> <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/EventDispatcher.html>
>>  [image: Inheritance] Object
>> <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Object.html>
>>
>> *Reference Link:*
>>
>> https://help.adobe.com/en_US/FlashPlatform/reference/actions
>> cript/3/flash/display/DisplayObject.html
>>
>>
>>
>> e.g :
>>
>>                 public function updateLayoutWithoutAnimation():void
>>
>>                                 {
>>
>>                                                 if(_layoutInvalid ==
>> true && layoutFunction != null)
>>
>>                                                 {
>>
>>
>> _layoutInvalid = false;
>>
>>
>> layoutFunction();
>>
>>                                                 }
>>
>>
>>
>>                                                 for(var aChild:* in
>> _targets)
>>
>>                                                 {
>>
>>                                                                 var
>> target:LayoutTarget = _targets[aChild];
>>
>>                                                                 var
>> item:IFlexDisplayObject = target.item;
>>
>>                                                                 var
>> m:Matrix = DisplayObject(item).transform.matrix;
>>
>>
>>
>>                                                                 m.tx =
>> target.x;
>>
>>                                                                 m.ty =
>> target.y;
>>
>>                                                                 m.a =
>> target.scaleX;
>>
>>
>>                                                                 m.d =
>> target.scaleY
>>
>>
>>
>>
>> DisplayObject(item).alpha = target.alpha;
>>
>>
>> DisplayObject(item).transform.matrix = m;
>>
>>
>> item.setActualSize(target.unscaledWidth,target.unscaledHeight);
>>
>>
>> if(target.state == "removed")
>>
>>                                                                 {
>>
>>
>> delete _targets[target.item];
>>
>>
>> continue;
>>
>>                                                                 }
>>
>>                                                                 else
>>
>>                                                                 {
>>
>>
>> target.state = "positioned"
>>
>>                                                                 }
>>
>>                                                 }
>>
>>                                                 stopTimer();
>>
>>                                 }
>>
>>
>>
>> Thanks,
>>
>> Alina
>>
>>
>>
>> *From:* Alex Harui [mailto:aharui@adobe.com]
>> *Sent:* Tuesday, March 06, 2018 1:36 PM
>> *To:* users@royale.apache.org
>> *Subject:* API Usage in Flex Web Browser application (was Re: Generating
>> API report for Flex Web Browser application)
>>
>>
>>
>> Hi Alina,
>>
>>
>>
>> I'm starting on the emulation.  I've noticed that your application code
>> appears to be calling commitProperties().  Can you tell us why?
>>
>>
>>
>> Also, it looks like there are a few uses of rotation, transform, scaleX
>> and scaleY.  What are those used for?
>>
>>
>>
>> Thanks,
>>
>> -Alex
>>
>>
>>
>> *From: *Alex Harui <ah...@adobe.com>
>> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Date: *Monday, March 5, 2018 at 11:38 PM
>> *To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Subject: *Re: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alina,
>>
>>
>>
>> Try again.  Sometimes the Antlr server goes off-line around this time of
>> day.
>>
>>
>>
>> -Alex
>>
>>
>>
>> *From: *Alina Kazi <al...@d-bz.com>
>> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Date: *Monday, March 5, 2018 at 11:12 PM
>> *To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Subject: *RE: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alex,
>>
>> Using jdk1.8.0_162:
>>
>>
>>
>> C:\Users\aleena\royale-asjs>ant all
>>
>> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>>
>> Buildfile: C:\Users\aleena\royale-asjs\build.xml
>>
>>
>>
>> set.base.folder:
>>
>>
>>
>> check-git:
>>
>>      [echo] Checking for Git...
>>
>>      [exec] git version 2.16.2.windows.1
>>
>>
>>
>> get-download-folder:
>>
>>
>>
>> download-all:
>>
>>      [echo] Using folder C:\Users\aleena\royale-asjs/..
>>
>>
>>
>> check-royale-asjs:
>>
>>
>>
>> warn-before-clone:
>>
>>
>>
>> check-royale-asjs:
>>
>>
>>
>> clone-royale-asjs:
>>
>>
>>
>> check-royale-compiler:
>>
>>
>>
>> clone-royale-compiler:
>>
>>
>>
>> check-royale-typedefs:
>>
>>
>>
>> clone-royale-typedefs:
>>
>>
>>
>> check-playerglobal-home:
>>
>>
>>
>> check-air-home:
>>
>>
>>
>> build-all:
>>
>>
>>
>> ask-before-build-all:
>>
>>     [input] This script will now download and compile lots of files.
>> This can t
>>
>> ake several minutes.   No interaction should be required.  Press the
>> enter key t
>>
>> o continue.
>>
>>
>>
>>
>>
>> sdk:
>>
>>
>>
>> annotate.class:
>>
>>     [javac] Compiling 1 source file to C:\Users\aleena\royale-compile
>> r\compiler-
>>
>> build-tools\target\classes
>>
>>     [javac] warning: [options] bootstrap class path not set in
>> conjunction with
>>
>> -source 1.5
>>
>>     [javac] warning: [options] source value 1.5 is obsolete and will be
>> removed
>>
>> in a future release
>>
>>     [javac] warning: [options] target value 1.5 is obsolete and will be
>> removed
>>
>> in a future release
>>
>>     [javac] warning: [options] To suppress warnings about obsolete
>> options, use
>>
>> -Xlint:-options.
>>
>>     [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\src\
>> main\java\o
>>
>> rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:24: warning:
>> [serial
>>
>> ] serializable class AnnotateClassDeleteException has no definition of
>> serialVer
>>
>> sionUID
>>
>>     [javac]     public static class AnnotateClassDeleteException extends
>> Excepti
>>
>> on
>>
>>     [javac]                   ^
>>
>>     [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\src\
>> main\java\o
>>
>> rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:32: warning:
>> [serial
>>
>> ] serializable class AnnotateClassRenameException has no definition of
>> serialVer
>>
>> sionUID
>>
>>     [javac]     public static class AnnotateClassRenameException extends
>> Excepti
>>
>> on
>>
>>     [javac]                   ^
>>
>>     [javac] 6 warnings
>>
>>
>>
>> unknown.tree.pattern.input.output:
>>
>>     [javac] Compiling 1 source file to C:\Users\aleena\royale-compile
>> r\compiler-
>>
>> build-tools\target\classes
>>
>>     [javac] warning: [options] bootstrap class path not set in
>> conjunction with
>>
>> -source 1.5
>>
>>     [javac] warning: [options] source value 1.5 is obsolete and will be
>> removed
>>
>> in a future release
>>
>>     [javac] warning: [options] target value 1.5 is obsolete and will be
>> removed
>>
>> in a future release
>>
>>     [javac] warning: [options] To suppress warnings about obsolete
>> options, use
>>
>> -Xlint:-options.
>>
>>     [javac] 4 warnings
>>
>>
>>
>> main:
>>
>>
>>
>> compiler.downloads.cache:
>>
>>
>>
>> compiler.downloads:
>>
>>      [echo] basedir is C:\Users\aleena\royale-compile
>> r\compiler\src\main\resourc
>>
>> es
>>
>>      [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
>>
>>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compile
>> r\compiler
>>
>>
>>
>> prepare:
>>
>>      [echo] Making lib directory C:\Users\aleena\royale-compile
>> r\compiler/lib/ex
>>
>> ternal
>>
>>     [mkdir] Created dir: C:\Users\aleena\royale-compile
>> r\compiler\lib\external
>>
>>
>>
>> all:
>>
>>      [echo] basedir is C:\Users\aleena\royale-compile
>> r\compiler\src\main\resourc
>>
>> es
>>
>>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compile
>> r\compiler
>>
>>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compile
>> r\compiler
>>
>>
>>
>> check-dependency:
>>
>>      [echo] checking for C:\Users\aleena\royale-compile
>> r\compiler/lib/external//
>>
>> antlr.jar
>>
>>
>>
>> download-dependency:
>>
>>      [echo] basedir is C:\Users\aleena\royale-compile
>> r\compiler\src\main\resourc
>>
>> es
>>
>>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compile
>> r\compiler
>>
>>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compile
>> r\compiler
>>
>>
>>
>> echo-project-jar:
>>
>>    [delete] Deleting: C:\Users\aleena\royale-compile
>> r\compiler\src\main\resource
>>
>> s\project.properties
>>
>>      [echo] ${INFO_DOWNLOADING_FILE_FROM}
>>
>>      [echo] basedir is C:\Users\aleena\royale-compile
>> r\compiler\src\main\resourc
>>
>> es
>>
>>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compile
>> r\compiler
>>
>>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compile
>> r\compiler
>>
>>
>>
>> download-apache-license:
>>
>>      [echo] basedir is C:\Users\aleena\royale-compile
>> r\compiler\src\main\resourc
>>
>> es
>>
>>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compile
>> r\compiler
>>
>>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compile
>> r\compiler
>>
>>
>>
>> download-other-license:
>>
>>       [get] Getting: http://www.antlr.org/license.html
>> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0>
>>
>>       [get] To: C:\Users\aleena\royale-compile
>> r\compiler\lib\external\antlr-LICE
>>
>> NSE.html
>>
>>       [get] Error getting http://www.antlr.org/license.html
>> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0>
>> to C:\Users\aleena\r
>>
>> oyale-compiler\compiler\lib\external\antlr-LICENSE.html
>>
>>      [echo] basedir is C:\Users\aleena\royale-compile
>> r\compiler\src\main\resourc
>>
>> es
>>
>>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compile
>> r\compiler
>>
>>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compile
>> r\compiler
>>
>>
>>
>> double-check-file:
>>
>>      [echo] ${env.ROYALE_DOWNLOAD_CACHE}
>>
>>      [echo] Need file: ${still_no_file}
>>
>>
>>
>> get-from-cache-if-needed:
>>
>>      [echo] basedir is C:\Users\aleena\royale-compile
>> r\compiler\src\main\resourc
>>
>> es
>>
>>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compile
>> r\compiler
>>
>>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-compile
>> r\compiler
>>
>>
>>
>> fail-if-not-found:
>>
>>
>>
>> BUILD FAILED
>>
>> C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred
>> while e
>>
>> xecuting this line:
>>
>> C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred
>> while e
>>
>> xecuting this line:
>>
>> C:\Users\aleena\royale-compiler\build.xml:64: The following error
>> occurred while
>>
>>  executing this line:
>>
>> C:\Users\aleena\royale-compiler\compiler-jburg-types\build.xml:87: The
>> following
>>
>>  error occurred while executing this line:
>>
>> C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:81:
>> Th
>>
>> e following error occurred while executing this line:
>>
>> C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:275:
>> T
>>
>> he following error occurred while executing this line:
>>
>> C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:329:
>> T
>>
>> he following error occurred while executing this line:
>>
>> C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:489:
>> C
>>
>> :\Users\aleena\royale-compiler\compiler/lib/external//antlr-LICENSE.html
>> could n
>>
>> ot be downloaded or found in cache
>>
>>
>>
>> Total time: 47 seconds
>>
>>
>>
>> C:\Users\aleena\royale-asjs>
>>
>>
>>
>> Thanks,
>>
>> Alina
>>
>>
>>
>> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
>> *Sent:* Tuesday, March 06, 2018 11:55 AM
>> *To:* users@royale.apache.org
>> *Subject:* Re: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alina,
>>
>>
>>
>> Please use JDK8.
>>
>>
>>
>> Thanks,
>>
>> -Alex
>>
>>
>>
>> *From: *Alina Kazi <al...@d-bz.com>
>> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Date: *Monday, March 5, 2018 at 10:40 PM
>> *To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Subject: *RE: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alex,
>>
>>
>>
>> Java version that I am using is “9.0.1”
>>
>>
>>
>> Thanks,
>>
>> Alina
>>
>>
>>
>> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
>> *Sent:* Tuesday, March 06, 2018 11:42 AM
>> *To:* users@royale.apache.org
>> *Subject:* Re: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alina,
>>
>>
>>
>> What version of Java are you using?  Please get a JDK7 or 8 and try that.
>>
>>
>>
>> Thanks,
>>
>> -Alex
>>
>>
>>
>> *From: *Alina Kazi <al...@d-bz.com>
>> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Date: *Monday, March 5, 2018 at 10:22 PM
>> *To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Subject: *RE: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alex,
>>
>> Command Prompt Output is:
>>
>> C:\Users\aleena>git clone https://github.com/apache/royale-asjs.git
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs.git&data=02%7C01%7Caharui%40adobe.com%7Cdf86fa0dd25b41ffbc8108d5832f0997%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559160423949211&sdata=d9cKX4ILIQPLI5USXvAafSnrWZSgW1XHw6G4r%2B9wgsE%3D&reserved=0>
>> royale-asjs
>>
>> Cloning into 'royale-asjs'...
>>
>> remote: Counting objects: 101103, done.
>>
>> remote: Compressing objects: 100% (22/22), done.
>>
>> remote: Total 101103 (delta 9), reused 30 (delta 7), pack-reused 101066R
>>
>> Receiving objects: 100% (101103/101103), 19.23 MiB | 208.00 KiB/s, done.
>>
>>
>>
>> Resolving deltas: 100% (61584/61584), done.
>>
>> Checking out files: 100% (3572/3572), done.
>>
>>
>>
>> C:\Users\aleena>cd royale-asjs
>>
>>
>>
>> C:\Users\aleena\royale-asjs>git checkout develop
>>
>> Already on 'develop'
>>
>> Your branch is up to date with 'origin/develop'.
>>
>>
>>
>> C:\Users\aleena\royale-asjs>ant all
>>
>> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>>
>> Buildfile: C:\Users\aleena\royale-asjs\build.xml
>>
>>
>>
>> set.base.folder:
>>
>>
>>
>> check-git:
>>
>>      [echo] Checking for Git...
>>
>>      [exec] git version 2.16.2.windows.1
>>
>>
>>
>> get-download-folder:
>>
>>
>>
>> download-all:
>>
>>      [echo] Using folder C:\Users\aleena\royale-asjs/..
>>
>>
>>
>> check-royale-asjs:
>>
>>
>>
>> warn-before-clone:
>>
>>
>>
>> check-royale-asjs:
>>
>>
>>
>> clone-royale-asjs:
>>
>>
>>
>> check-royale-compiler:
>>
>>
>>
>> clone-royale-compiler:
>>
>>      [echo] cloning royale-compiler repo into
>> C:\Users\aleena\royale-asjs/../roy
>>
>> ale-compiler
>>
>>      [exec] Cloning into 'royale-compiler'...
>>
>>      [exec] Checking out files:   8% (284/3191)
>>
>>      [exec] Checking out files:   9% (288/3191)   Checking out files:
>> 10% (320/
>>
>> 3191)   Checking out files:  11% (352/3191)   Checking out files:  12%
>> (383/3191
>>
>> )   Checking out files:  13% (415/3191)   Checking out files:  13%
>> (444/3191)
>>
>> Checking out files:  14% (447/3191)   Checking out files:  15%
>> (479/3191)   Chec
>>
>> king out files:  16% (511/3191)   Checking out files:  17% (543/3191)
>> Checking
>>
>>  out files:  18% (575/3191)   Checking out files:  19% (607/3191)
>> Checking out
>>
>>  files:  20% (639/3191)   Checking out files:  20% (641/3191)   Checking
>> out fil
>>
>> es:  21% (671/3191)   Checking out files:  22% (703/3191)   Checking out
>> files:
>>
>>  23% (734/3191)   Checking out files:  24% (766/3191)   Checking out
>> files:  25%
>>
>>  (798/3191)   Checking out files:  26% (830/3191)   Checking out files:
>> 26% (84
>>
>> 2/3191)   Checking out files:  27% (862/3191)   Checking out files:  28%
>> (894/31
>>
>> 91)   Checking out files:  29% (926/3191)   Checking out files:  30%
>> (958/3191)
>>
>>   Checking out files:  31% (990/3191)   Checking out files:  32%
>> (1022/3191)   C
>>
>> hecking out files:  33% (1054/3191)   Checking out files:  34%
>> (1085/3191)   Che
>>
>> cking out files:  35% (1117/3191)   Checking out files:  36%
>> (1149/3191)   Check
>>
>> ing out files:  37% (1181/3191)   Checking out files:  38% (1213/3191)
>> Checkin
>>
>> g out files:  39% (1245/3191)   Checking out files:  40% (1277/3191)
>> Checking
>>
>> out files:  40% (1308/3191)   Checking out files:  41% (1309/3191)
>> Checking ou
>>
>> t files:  42% (1341/3191)   Checking out files:  42% (1352/3191)
>> Checking out
>>
>> files:  43% (1373/3191)   Checking out files:  44% (1405/3191)   Checking
>> out fi
>>
>> les:  45% (1436/3191)   Checking out files:  46% (1468/3191)   Checking
>> out file
>>
>> s:  47% (1500/3191)   Checking out files:  48% (1532/3191)   Checking out
>> files:
>>
>>   49% (1564/3191)   Checking out files:  49% (1578/3191)   Checking out
>> files:
>>
>> 50% (1596/3191)   Checking out files:  51% (1628/3191)   Checking out
>> files:  52
>>
>> % (1660/3191)   Checking out files:  53% (1692/3191)   Checking out
>> files:  54%
>>
>> (1724/3191)   Checking out files:  55% (1756/3191)   Checking out files:
>> 56% (1
>>
>> 787/3191)   Checking out files:  57% (1819/3191)   Checking out files:
>> 58% (185
>>
>> 1/3191)   Checking out files:  59% (1883/3191)   Checking out files:  60%
>> (1915/
>>
>> 3191)   Checking out files:  61% (1947/3191)   Checking out files:  62%
>> (1979/31
>>
>> 91)   Checking out files:  63% (2011/3191)   Checking out files:  63%
>> (2022/3191
>>
>> )   Checking out files:  64% (2043/3191)   Checking out files:  65%
>> (2075/3191)
>>
>>   Checking out files:  66% (2107/3191)   Checking out files:  67%
>> (2138/3191)
>>
>> Checking out files:  68% (2170/3191)   Checking out files:  69%
>> (2202/3191)   Ch
>>
>> ecking out files:  70% (2234/3191)   Checking out files:  71%
>> (2266/3191)   Chec
>>
>> king out files:  72% (2298/3191)   Checking out files:  73% (2330/3191)
>> Checki
>>
>> ng out files:  74% (2362/3191)   Checking out files:  75% (2394/3191)
>> Checking
>>
>>  out files:  76% (2426/3191)   Checking out files:  77% (2458/3191)
>> Checking o
>>
>> ut files:  78% (2489/3191)   Checking out files:  79% (2521/3191)
>> Checking out
>>
>>  files:  80% (2553/3191)   Checking out files:  81% (2585/3191)
>> Checking out f
>>
>> iles:  82% (2617/3191)   Checking out files:  83% (2649/3191)   Checking
>> out fil
>>
>> es:  83% (2679/3191)   Checking out files:  84% (2681/3191)   Checking
>> out files
>>
>> :  85% (2713/3191)   Checking out files:  86% (2745/3191)   Checking out
>> files:
>>
>>  87% (2777/3191)   Checking out files:  88% (2809/3191)   Checking out
>> files:  8
>>
>> 9% (2840/3191)   Checking out files:  89% (2845/3191)   Checking out
>> files:  90%
>>
>>  (2872/3191)   Checking out files:  91% (2904/3191)   Checking out
>> files:  92% (
>>
>> 2936/3191)   Checking out files:  93% (2968/3191)   Checking out files:
>> 94% (30
>>
>> 00/3191)   Checking out files:  95% (3032/3191)   Checking out files:
>> 95% (3035
>>
>> /3191)   Checking out files:  96% (3064/3191)   Checking out files:  97%
>> (3096/3
>>
>> 191)   Checking out files:  98% (3128/3191)   Checking out files:  99%
>> (3160/319
>>
>> 1)   Checking out files: 100% (3191/3191)   Checking out files: 100%
>> (3191/3191)
>>
>> , done.
>>
>>      [exec] Your branch is up to date with 'origin/develop'.
>>
>>      [exec] Already on 'develop'
>>
>>
>>
>> check-royale-typedefs:
>>
>>
>>
>> clone-royale-typedefs:
>>
>>      [echo] cloning royale-typedefs repo into
>> C:\Users\aleena\royale-asjs/../roy
>>
>> ale-typedefs
>>
>>      [exec] Cloning into 'royale-typedefs'...
>>
>>      [exec] Your branch is up to date with 'origin/develop'.
>>
>>      [exec] Already on 'develop'
>>
>>
>>
>> check-playerglobal-home:
>>
>>
>>
>> check-air-home:
>>
>>
>>
>> build-all:
>>
>>
>>
>> ask-before-build-all:
>>
>>     [input] This script will now download and compile lots of files.
>> This can t
>>
>> ake several minutes.   No interaction should be required.  Press the
>> enter key t
>>
>> o continue.
>>
>>
>>
>> sdk:
>>
>>
>>
>> annotate.class:
>>
>>     [mkdir] Created dir: C:\Users\aleena\royale-compile
>> r\compiler-build-tools\ta
>>
>> rget\classes
>>
>>     [javac] Compiling 1 source file to C:\Users\aleena\royale-compile
>> r\compiler-
>>
>> build-tools\target\classes
>>
>>     [javac] warning: [options] bootstrap class path not set in
>> conjunction with
>>
>> -source 1.5
>>
>>     [javac] error: Source option 1.5 is no longer supported. Use 1.6 or
>> later.
>>
>>     [javac] error: Target option 1.5 is no longer supported. Use 1.6 or
>> later.
>>
>>
>>
>> BUILD FAILED
>>
>> C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred
>> while e
>>
>> xecuting this line:
>>
>> C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred
>> while e
>>
>> xecuting this line:
>>
>> C:\Users\aleena\royale-compiler\build.xml:63: The following error
>> occurred while
>>
>>  executing this line:
>>
>> C:\Users\aleena\royale-compiler\compiler-build-tools\build.xml:74:
>> Compile faile
>>
>> d; see the compiler error output for details.
>>
>>
>>
>> Total time: 17 minutes 59 seconds
>>
>>
>>
>> C:\Users\aleena\royale-asjs>
>>
>>
>>
>> Unable to Build, Please guide.
>>
>>
>>
>> Thanks,
>>
>> Alina
>>
>> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
>> *Sent:* Friday, March 02, 2018 10:31 PM
>> *To:* users@royale.apache.org
>> *Subject:* Re: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alina,
>>
>>
>>
>> I was able to download and expand the files.  I will be consolidating the
>> data today.
>>
>>
>>
>> In order to be able to write some of these emulations, you will probably
>> need to be able to build the framework sources.  If you haven't already,
>> you can try cloning the royale-asjs repo and figure out how to get it to
>> build.  You can choose Apache Maven or Apache Ant as the build tool.
>>
>>
>>
>> https://github.com/apache/royale-asjs
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs&data=02%7C01%7Caharui%40adobe.com%7C3c1833c1fc9442003f2608d5832c7fe0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559149534170415&sdata=YqGTpbzoou8SilHbsTxjriIjiREaS%2FA9j6xjZYRR%2F4E%3D&reserved=0>
>>
>>
>>
>> Hopefully the instruction in the readme are sufficient.
>>
>>
>>
>> Thanks,
>>
>> -Alex
>>
>>
>>
>> *From: *Alina Kazi <al...@d-bz.com>
>> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Date: *Friday, March 2, 2018 at 12:34 AM
>> *To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Subject: *RE: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alex,
>>
>>
>>
>> Application API-Report link:
>>
>> https://www.dropbox.com/s/swvqhly6wa0jrc5/API-Reports.rar?dl=0
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fswvqhly6wa0jrc5%2FAPI-Reports.rar%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C928c248220464230f6dd08d5801a2f13%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555772324148830&sdata=9%2BsrGG41iCMIEmbtqnEbV%2BPvi1ngE9vF%2BKuqPAZ%2Bzao%3D&reserved=0>
>>
>> SHMALib Report, applications,shmDoclist,shmSetupList,AppView_EIS,
>> AppView_ERP,shmMappingSetup, shmMappingSetupOpenDetailGrid,shmSalesInvoice,
>> shmSalesInvoiceDetail are main API Files.
>>
>>
>>
>> Regards,
>>
>> Alina
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> *From:* Alina Kazi [mailto:alina.kazi@d-bz.com <al...@d-bz.com>]
>> *Sent:* Friday, March 02, 2018 11:32 AM
>> *To:* users@royale.apache.org
>> *Subject:* RE: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alex,
>>
>>
>>
>> 2) We are using Effects in our Application 2-3 times
>>
>> 4) We are using text styling in our Application 3-5 times
>>
>>
>>
>> Thanks,
>>
>> Alina
>>
>>
>>
>> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
>> *Sent:* Friday, March 02, 2018 4:26 AM
>> *To:* users@royale.apache.org
>> *Subject:* Re: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alina,
>>
>>
>>
>> 1) Interesting about Charts.  They were being used by the SWC.
>>
>> 2) Effects are any animations that move, resize or fade things in the UI.
>>
>> 3) ok
>>
>> 4) I'm not sure what to conclude from the screenshot.  I'm interested in
>> how often folks use it to create text with bold, italics and other styling
>> of text.
>>
>>
>>
>> Thanks,
>>
>> -Alex
>>
>>
>>
>> *From: *Alina Kazi <al...@d-bz.com>
>> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Date: *Thursday, March 1, 2018 at 4:24 AM
>> *To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Subject: *RE: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alex,
>>
>> 600 mxml.api.txt files are generated and still in process. I will share
>> link for files tomorrow.
>>
>> After sharing my files tomorrow, If you will suggest to build  emulations.
>>
>>
>> I will  definitely want to learn how to create emulations and contribute
>> them to Apache Royale.
>>
>> 1.We are not using Charts in our Application
>>
>> 2. How important are effects? (Please explain effects )
>>
>> 3. We are not using Right-to-left languages in RichTextEditor.
>>
>> 4. Is RichTextEditor being used for non-plain text?  If so, what kinds of
>> text styling is important?
>>
>> Link:https://www.dropbox.com/s/ky93eycmefm3cuu/RICHTEXTEDITOR.png?dl=0
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fky93eycmefm3cuu%2FRICHTEXTEDITOR.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cff526ec5592c42772ade08d57f713736%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555046634193460&sdata=BjS8q1GarTweRfMMmZOKxN%2FTQTqhtzJlm05KAtWnNTQ%3D&reserved=0>
>>
>> Thanks,
>>
>> Alina
>>
>> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
>> *Sent:* Wednesday, February 28, 2018 10:45 PM
>> *To:* users@royale.apache.org
>> *Subject:* Re: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alina,
>>
>>
>>
>> Good to hear it worked.
>>
>>
>>
>> I think I am waiting on all of the mxml.api.txt files to see what else is
>> in there that isn't in the two reports we have, then we'll have a pretty
>> good list of the places you will either need to change in your code or that
>> we  will build emulations for.
>>
>>
>>
>> I think emulations will be less work in the end, but there will be a lot
>> of them to do.  We will want to you to learn how to create emulations and
>> contribute them to Apache Royale.  That's how many Apache projects work:
>> some of the users learn how to become committers.  This will be an asset to
>> your company as well since you will learn how to fix things in Royale
>> yourself.  Then your company won't be dependent on outsiders for support.
>>
>>
>>
>> So, Peter and I and hopefully others will get started on some emulations
>> to make sure they work for us, and then you can see if they work for you,
>> and then we will teach you how to write those emulations.  Over the next
>> several months, besides testing emulations written by others in your app,
>> you will be writing your own emulations for things you need right away that
>> we haven't written yet, or for third-party code that you are using.
>>
>>
>>
>> It might help to get some prioritization on the emulations we need to
>> write.  In looking at the list, I am wondering:
>>
>>    1. Are some charts more important than others?
>>    2. How important are effects?
>>    3. Do you use Right-to-left languages in RichTextEditor?
>>    4. Is RichTextEditor being used for non-plain text?  If so, what
>>    kinds of text styling is important?
>>
>> Thanks,
>>
>> -Alex
>>
>>
>>
>> *From: *Alina Kazi <al...@d-bz.com>
>> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Date: *Wednesday, February 28, 2018 at 1:22 AM
>> *To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Subject: *RE: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alex,
>>
>> Thank you.
>>
>> It’s working with latest nightly build:
>>
>> https://www.dropbox.com/s/77wkgrm74upkg0j/SHMALib%20Report.txt?dl=0
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F77wkgrm74upkg0j%2FSHMALib%2520Report.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C16fa845b6d2f4efb7f4a08d57e8e9097%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636554073167111532&sdata=UV0BOZpVonw%2BILcK9njhQdf5pKpqWPccp0IKDPm4jOI%3D&reserved=0>
>>
>>
>>
>>
>>
>> Regards,
>>
>> Alina
>>
>>
>>
>>
>>
>>
>>
>> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
>> *Sent:* Wednesday, February 28, 2018 1:15 PM
>> *To:* users@royale.apache.org
>> *Subject:* Re: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alina,
>>
>>
>>
>> Looks like COMPC collected the data but never generated the report.  I
>> pushed a fix for that.  Please try the latest nightly build.
>>
>>
>>
>> Thanks,
>>
>> -Alex
>>
>>
>>
>> *From: *Alina Kazi <al...@d-bz.com>
>> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Date: *Tuesday, February 27, 2018 at 10:35 PM
>> *To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Subject: *RE: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alex,
>>
>> Thank you
>>
>> After commenting the embedded font part from source.
>>
>> Output to console:
>>
>> 3462313 bytes written to D:\SHMALib.swc in 19.878 seconds
>>
>> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
>> "D:\SHMALib.swc"
>>
>>  -api-report="D:\report.txt" -load-config=D:\apache-flex-sd
>> k-4.16.0-bin\framewor
>>
>> ks\flex-config.xml -source-path="D:\SHMALIB\src"
>> -include-sources="D:\SHMALIB\sr
>>
>> c" -library-path+=D:\SHMALIB\libs
>>
>>
>>
>> SHMALib.swf file Generated and Report.txt is empty
>>
>> *SHMALib.swc output Link:*
>>
>> https://www.dropbox.com/s/4tz49sz134m2gg9/SHMALib.swc?dl=0
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F4tz49sz134m2gg9%2FSHMALib.swc%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=%2FNcbTJtah21RRPeWfwg2pRaZ72hd%2BdG0iJlnH3GsA28%3D&reserved=0>
>>
>> then I change, Compc -output "D:\SHMALib.swc" to Compc -output
>> "D:\SHMALib. txt "
>>
>> *SHMALib.txt output Link:*
>>
>> https://www.dropbox.com/s/j38obt5e36awuh3/SHMALib.txt?dl=0
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fj38obt5e36awuh3%2FSHMALib.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=V%2FcA5dJ3Fi1qOvh%2BtUlbU%2FZ%2FQ5SBfRw7psjsm2Q%2Fe8w%3D&reserved=0>
>>
>>
>>
>> Thanks,
>>
>> Alina
>>
>>
>>
>>
>>
>>
>>
>> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
>> *Sent:* Wednesday, February 28, 2018 11:18 AM
>> *To:* users@royale.apache.org
>> *Subject:* Re: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alina,
>>
>>
>>
>> The only error right now is the embedded font.
>>
>>
>>
>> We can discuss the pros and cons of embedding images in the JS output at
>> some other point in time.
>>
>>
>>
>> -Alex
>>
>>
>>
>> *From: *Alina Kazi <al...@d-bz.com>
>> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Date: *Tuesday, February 27, 2018 at 10:01 PM
>> *To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Subject: *RE: Generating API report for Flex Web Browser application
>>
>>
>>
>> Big Part of SHMALib Uses Embed and metadata :
>>
>>
>>
>>                                 // Embed the font so we can rotate it
>> for further distortion
>>
>>                                 [Embed(systemFont="Comic Sans MS",
>>
>>
>> embedAsCFF='false')]
>>
>>                 <mx:Image y="4" width="18" height="20" right="185"
>> source="@Embed(source='assets/default/images/load.png')"
>>
>>
>> source="@Embed(source='assets/default/images/next.gif')"
>> scaleContent="false"/>
>>
>>                 <mx:Image y="4" width="18" height="20" right="3"
>> source="@Embed(source='assets/default/images/magnifier.png')"
>>
>>      * An IFrame which you can embed into Flex applications to show an
>> HTML page.
>>
>>      * @example A simple application with Google embedded
>>
>>         // SWF embed object tracking
>>
>>          * The SWF embed object id.
>>
>>          * Get the embed object id.
>>
>>         protected function resolveEmbedObjectId():void
>>
>>                     var result:Object=ExternalInterfac
>> e.call(IFrameExternalCalls.FUNCTION_ASK_FOR_EMBED_OBJECT_ID,
>> randomIdentificationString.toString());
>>
>>                         logger.info("Resolved the SWF embed object id to
>> '{0}'.", applicationId);
>>
>>                         logger.error('Could not resolve the SWF embed
>> object Id.');
>>
>>             // Resolve the SWF embed object id in the DOM.
>>
>>             ExternalInterface.call(IFrameExternalCalls.INSERT_FUNCTION_
>> ASK_FOR_EMBED_OBJECT_ID);
>>
>>             resolveEmbedObjectId();
>>
>>             logger.info("Loading IFrame with id '{0}', on SWF embed
>> object with id '{1}'.", _frameId, applicationId);
>>
>>                     FUNCTION_LOADIFRAME + " = function (frameID,
>> iframeID, url, embedID, scrollPolicy)" +
>>
>>                                       "onLoad='\"+embedID+\".\"+frameID+\"_load();'
>> " +
>>
>>         public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =
>> "askForEmbedObjectId";
>>
>>         public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =
>> "askForEmbedObjectId";
>>
>>         public static var INSERT_FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String
>> =
>>
>>                 "if (document." + FUNCTION_ASK_FOR_EMBED_OBJECT_ID +
>> "==null)" +
>>
>>                     FUNCTION_ASK_FOR_EMBED_OBJECT_ID + " =
>> function(randomString) " +
>>
>>                             "var embeds = document.getElementsByTagName('embed');
>> " +
>>
>>                             "var embeds = document.getElementsByTagName('embed');
>> " +
>>
>>                             "for (var i = 0; i < embeds.length; i++) { "
>> +
>>
>>                                 "var isTheGoodOne =
>> embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " +
>>
>>                                 "var isTheGoodOne =
>> embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " +
>>
>>                                     "return
>> embeds[i].getAttribute('id'); " +
>>
>>                                  * The UITextField control for
>> displaying embeded hints.
>>
>>                                 private var embedTextField:UITextField;
>>
>>                                  *  The String to be shown as the
>> embeded hint.
>>
>>                                 private var embedStr:String = "";
>>
>>
>> embedStr = "MM DD YYYY";
>>
>>
>> embedStr = "DD MM YYYY";
>>
>>
>> embedStr = "YYYY MM DD";
>>
>>
>> embedStr = "YYYY DD MM";
>>
>>                                  *  Create child objects for displaying
>> embeded hints.
>>
>>
>> embedTextField = new UITextField();
>>
>>
>> //embedTextField.text = embedStr;
>>
>>
>> //embedTextField.text = embedStr;
>>
>>
>> addChildAt(UITextField(embedTextField),getChildIndex(DisplayObject(textField)));//as
>> TextField
>>
>>
>>                                                     s =
>> embedTextField.text == null ? "":embedTextField.text;
>>
>>
>>                                                     s =
>> embedTextField.text == null ? "":embedTextField.text;
>>
>>
>>                                                                     s =
>> s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);
>>
>>
>>
>> embedTextField.text = s;
>>
>>
>>                                                     s =
>> embedTextField.text == null ? "":embedTextField.text;
>>
>>
>>                                                     s =
>> embedTextField.text == null ? "":embedTextField.text;
>>
>>
>>                                                                     //s
>> = s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);
>>
>>
>>
>> //embedTextField.text = s;
>>
>>
>>                                                                     s =
>> s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);
>>
>>
>>
>> embedTextField.text = s;
>>
>>
>> // If embeded hints are displayed then update the
>>
>>
>> // UITextField corresponding to the embeded hints
>>
>>
>>                                     var s:String = embedTextField.text
>> == null ? "":embedTextField.text;
>>
>>
>>                                     var s:String = embedTextField.text
>> == null ? "":embedTextField.text;
>>
>>
>>                                                     embedTextField.text
>> = s;
>>
>>                                                                 //
>> create the embeded text field for showing
>>
>>                                                                 //
>> embeded hints if its not already created.
>>
>>                                                                 // If it
>> is created, then just change the embeded hint.
>>
>>
>> if(!embedTextField)
>>
>>
>> embedTextField = new UITextField();
>>
>>
>> addChildAt(embedTextField,getChildIndex(DisplayObject(textField))); //as
>> TextField
>>
>>
>> //embedTextField.text = embedStr;
>>
>>
>> //embedTextField.text = embedStr;
>>
>>
>> embedTextField.alpha = 1;
>>
>>
>> embedTextField.setTextFormat(txtFormat);
>>
>>
>> embedTextField.x = 0;
>>
>>
>> embedTextField.y = 2;
>>
>>
>> embedTextField.setActualSize(width,height);
>>
>>
>> if(embedTextField)
>>
>>
>> embedTextField.text = "";
>>
>>
>> embedTextField = null;
>>
>>                                                 // setting the color of
>> the embeded text field to white.
>>
>>
>> if(embedTextField)
>>
>>
>> embedTextField.setColor(0xFFFFFF);
>>
>>
>> if(embedTextField)
>>
>>
>>                 addChildAt(DisplayObject(newSk
>> in),getChildIndex(DisplayObject(embedTextField)));//
>>
>>    background-image:
>> Embed(source="/assets/application_background.png",
>>
>>                 up-skin:                Embed("/assets/maximize_up.png");
>>
>>                 over-skin:            Embed("/assets/maximize_over.png");
>>
>>                 down-skin:         Embed("/assets/maximize_up.png");
>>
>>                 selected-up-skin:   Embed("/assets/restore_up.png");
>>
>>                 selected-over-skin: Embed("/assets/restore_over.png");
>>
>>                 selected-down-skin: Embed("/assets/restore_up.png");
>>
>>                 up-skin:        Embed("/assets/minimize_up.png");
>>
>>                 over-skin:      Embed("/assets/minimize_over.png");
>>
>>                 down-skin:      Embed("/assets/minimize_up.png");
>>
>>                 up-skin:
>> Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30",
>> scaleGridLeft="10", scaleGridRight="92");
>>
>>                 over-skin:
>> Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30",
>> scaleGridLeft="10", scaleGridRight="92");
>>
>>                 down-skin:
>> Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30",
>> scaleGridLeft="10", scaleGridRight="92");
>>
>>                 selected-up-skin:
>> Embed("/assets/tab_selected.png", scaleGridTop="13",
>> scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");
>>
>>                 selected-over-skin:
>> Embed("/assets/tab_selected.png", scaleGridTop="13",
>> scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");
>>
>>                 selected-down-skin:                      Embed("/assets/
>> tab_selected.png", scaleGridTop="13", scaleGridBottom="31",
>> scaleGridLeft="9", scaleGridRight="91");
>>
>>                 up-skin:
>> Embed("/assets/left_arrow_up.gif");
>>
>>                 over-skin:
>> Embed("/assets/left_arrow_over.gif");
>>
>>                 down-skin:
>> Embed("/assets/left_arrow_up.gif");
>>
>>                 disabled-skin:    Embed("/assets/left_arrow_disa
>> bled.gif");
>>
>>                 up-skin:
>> Embed("/assets/right_arrow_up.gif");
>>
>>                 over-skin:
>> Embed("/assets/right_arrow_over.gif");
>>
>>                 down-skin:
>> Embed("/assets/right_arrow_up.gif");
>>
>>                 disabled-skin:    Embed("/assets/right_arrow_dis
>> abled.gif");
>>
>>                                 //[Embed(source="/assets/curso
>> r_move.gif")]
>>
>>                                 //[Embed(source="/assets/curso
>> r_resize.gif")]
>>
>>                                 [Embed(source="/assets/default
>> /images/mouseMove.gif")]
>>
>>                                 [Embed(source="/assets/default
>> /images/verticalSize.gif")]
>>
>>                                 [Embed(source="/assets/default
>> /images/horizontalSize.gif")]
>>
>>                                 [Embed(source="/assets/default
>> /images/leftObliqueSize.gif")]
>>
>>                                 [Embed(source="/assets/default
>> /images/rightObliqueSize.gif")]
>>
>>                                                 if (image.isEmbedded)
>>
>>                                                 //if
>> (!Application.application.systemManager.isFontFaceEmbedded(textFormat))
>>
>>                                                 if
>> (!FlexGlobals.topLevelApplication.systemManager.isFontFaceEm
>> bedded(textFormat))
>>
>>                                                                 if
>> (Application.application.isFontsEmbedded) {
>>
>>                                                                 if
>> (Application.application.isFontsEmbedded) {
>>
>>                                                                 if
>> (Application.application.isFontsEmbedded) {
>>
>>                                 private var _isEmbedded:Boolean = false;
>>
>>                                 public function set
>> isEmbedded(embedded:Boolean):void
>>
>>                                 public function set
>> isEmbedded(embedded:Boolean):void
>>
>>                                                 _isEmbedded = embedded;
>>
>>                                                 _isEmbedded = embedded;
>>
>>                                 public function get isEmbedded():Boolean
>>
>>                                                 return _isEmbedded;
>>
>>
>> <mx:icon>@Embed(source='images/print.GIF')</mx:icon>
>>
>>
>> <mx:icon>@Embed(source='images/reload.GIF')</mx:icon>
>>
>>
>> <mx:disabledIcon>@Embed(source='images/first-gray.GIF')</mx:disabledIcon>
>>
>>
>> <mx:icon>@Embed(source='images/first.GIF')</mx:icon>
>>
>>
>> <mx:disabledIcon>@Embed(source='images/previous-gray.GIF')</
>> mx:disabledIcon>
>>
>>
>> <mx:icon>@Embed(source='images/previous.GIF')</mx:icon>
>>
>>
>> <mx:disabledIcon>@Embed(source='images/next-gray.GIF')</mx:disabledIcon>
>>
>>
>> <mx:icon>@Embed(source='images/next.GIF')</mx:icon>
>>
>>
>> <mx:disabledIcon>@Embed(source='images/last-gray.GIF')</mx:disabledIcon>
>>
>>
>> <mx:icon>@Embed(source='images/last.GIF')</mx:icon>
>>
>>
>> <mx:icon>@Embed(source='images/actualsize.GIF')</mx:icon>
>>
>>
>> <mx:icon>@Embed(source='images/fitpage.GIF')</mx:icon>
>>
>>
>> <mx:icon>@Embed(source='images/fitwidth.GIF')</mx:icon>
>>
>>
>> <mx:disabledIcon>@Embed(source='images/zoomin-gray.GIF')</
>> mx:disabledIcon>
>>
>>
>> <mx:icon>@Embed(source='images/zoomin.GIF')</mx:icon>
>>
>>
>> <mx:disabledIcon>@Embed(source='images/zoomout-gray.GIF')</
>> mx:disabledIcon>
>>
>>
>> <mx:icon>@Embed(source='images/zoomout.GIF')</mx:icon>
>>
>>
>> <mx:icon>@Embed(source='images/print.GIF')</mx:icon>
>>
>>                                                 if (
>> imageSourceXml.@isEmbedded.length() > 0)
>>
>>
>> image.isEmbedded = imageSourceXml.@isEmbedded == "true";
>>
>>
>> image.isEmbedded = imageSourceXml.@isEmbedded == "true";
>>
>>                  source="@Embed(source='/assets
>> /default/images/left_arrow_up.gif')"/>
>>
>>                  source="@Embed(source='/assets
>> /default/images/left_arrow_over.gif')"/>
>>
>>                  source="@Embed(source='/assets
>> /default/images/left_arrow_disabled.gif')"/>
>>
>>
>>    source="@Embed(source='/com/shm/flexlib/mdi/assets/img/maxim
>> izeButton.png')"/>
>>
>>
>>    height="12" source="@Embed(source='/com/sh
>> m/flexlib/mdi/assets/img/restoreButton.png')"/>
>>
>>
>>    source="@Embed(source='/com/shm/flexlib/mdi/assets/img/minim
>> izeButton.png')"/>
>>
>>                  source="@Embed(source='/assets
>> /default/images/right_arrow_up.gif')"/>
>>
>>                  source="@Embed(source='/assets
>> /default/images/right_arrow_over.gif')"/>
>>
>>                  source="@Embed(source='/assets
>> /default/images/right_arrow_disabled.gif')"/>
>>
>>
>>
>>
>>
>>
>>
>> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
>> *Sent:* Wednesday, February 28, 2018 11:00 AM
>> *To:* users@royale.apache.org
>> *Subject:* Re: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alina,
>>
>>
>>
>> I think you can ignore the warnings.  The first error is for embedding a
>> font, which Royale doesn't currently support, so for now, try commenting
>> out the Embed metadata and see if that allows the error to go away.
>>
>>
>>
>> I would look into the other errors to see if they are legitimate or not.
>> The Royale Compiler will catch some things the MXMLC compiler may not.  Or
>> you could comment out the code involved in the two errors in TImeZone.as
>> for now since that won't affect the report.
>>
>>
>>
>> The final two errors I saw are for missing skin states.  I think you can
>> just add the skin states.
>>
>>
>>
>> HTH,
>>
>> -Alex
>>
>>
>>
>> *From: *Alina Kazi <al...@d-bz.com>
>> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Date: *Tuesday, February 27, 2018 at 9:35 PM
>> *To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Subject: *RE: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alex,
>>
>>
>>
>> While Executing
>>
>> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
>> "D:\SHMALib.swc" -api-report="D:\report.txt"
>> -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml
>> -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\src"
>>
>> Or
>>
>> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
>> "D:\Flex\libs\SH
>>
>> MALIB.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-sd
>> k-4.16.0-bi
>>
>> n\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"
>> -include-sources="D:\
>>
>> SHMALIB\src" -library-path+=D:\SHMALIB\libs
>>
>>
>>
>> *Error:*
>>
>> (file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar)
>> to
>>
>> field java.lang.Thread.inheritableThreadLocals
>>
>> WARNING: Please consider reporting this to the maintainers of
>> com.google.common.
>>
>> base.internal.Finalizer
>>
>> WARNING: Use --illegal-access=warn to enable warnings of further illegal
>> reflect
>>
>> ive access operations
>>
>> WARNING: All illegal access operations will be denied in a future release
>>
>> Loading configuration: D:\apache-flex-sdk-4.16.0-bin\
>> frameworks\flex-config.xml
>>
>>
>>
>> Warning: Duplicate declaration of SkinState 'normal'
>>
>>
>>
>>
>>
>> Warning: Duplicate declaration of SkinState 'disabled'
>>
>>
>>
>>
>>
>> Warning: Duplicate declaration of SkinState 'normal'
>>
>>
>>
>>
>>
>> Warning: Duplicate declaration of SkinState 'disabled'
>>
>>
>>
>>
>>
>> Warning: Duplicate declaration of SkinState 'normal'
>>
>>
>>
>>
>>
>> Warning: Duplicate declaration of SkinState 'disabled'
>>
>>
>>
>>
>>
>> Warning: Duplicate declaration of SkinState 'normal'
>>
>>
>>
>>
>>
>> Warning: Duplicate declaration of SkinState 'disabled'
>>
>>
>>
>>
>>
>> Warning: Duplicate declaration of SkinState 'normal'
>>
>>
>>
>>
>>
>> Warning: Duplicate declaration of SkinState 'disabled'
>>
>>
>>
>>
>>
>> D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(415): col: 50
>> Warning:
>>
>> Data binding will not be able to detect assignments to 'amfChannelSet'.
>>
>>
>>
>>                 <mx:RemoteObject channelSet="{parentApplication
>> .amfChannelSet}"
>>
>> id="DataProviderService"  showBusyCursor="true"
>>
>>                                                                ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(419): col: 50
>> Warning:
>>
>> Data binding will not be able to detect assignments to 'amfChannelSet'.
>>
>>
>>
>>                 <mx:RemoteObject channelSet="{parentApplication
>> .amfChannelSet}"
>>
>> id="BasicFormatterService"  showBusyCursor="true"
>>
>>                                                                ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(516): col: 50
>> Warning: Da
>>
>> ta binding will not be able to detect assignments to 'amfChannelSet'.
>>
>>
>>
>>                 <mx:RemoteObject channelSet="{parentApplication
>> .amfChannelSet}"
>>
>> id="DataProviderService"  showBusyCursor="true"
>>
>>                                                                ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(520): col: 50
>> Warning: Da
>>
>> ta binding will not be able to detect assignments to 'amfChannelSet'.
>>
>>
>>
>>                 <mx:RemoteObject channelSet="{parentApplication
>> .amfChannelSet}"
>>
>> id="BasicFormatterService"  showBusyCursor="true"
>>
>>                                                                ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\components\shmCaptchaImage.as(43): col: 3 Error:
>> Embed re
>>
>> quires a 'source' file attribute
>>
>>
>>
>>                 [Embed(systemFont="Comic Sans MS",
>>
>>                 ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(37): col: 88
>> Warning: Data
>>
>> binding will not be able to detect assignments to 'isSelected'.
>>
>>
>>
>>                                         <mx:CheckBox
>> selectedField="isSelected"
>>
>>  change="onChange(event);" selected="{data.isSelected}">
>>
>>
>>
>>                                           ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(46): col: 27
>> Warning: Data
>>
>> binding will not be able to detect assignments to 'label'.
>>
>>
>>
>>                                         <mx:Label text="{data.label}" />
>>
>>                                                              ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(126): col: 15
>> Error: Impli
>>
>> cit coercion of a value of type Boolean to an unrelated type Number.
>>
>>
>>
>>                                 if(year & 0x3 == 0)
>>
>>                                           ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(134): col: 39
>> Error: Impli
>>
>> cit coercion of a value of type Boolean to an unrelated type Number.
>>
>>
>>
>>                                 if(month == 1 && value.fullYear & 0x3 ==
>> 0)
>>
>>                                                                   ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\dashboard\renderers\GridPodURLRenderer.mxml(6):
>> col: 23 W
>>
>> arning: Data binding will not be able to detect assignments to 'SrNo'.
>>
>>
>>
>>                   htmlText="&lt;u&gt;{data.SrNo}&lt;/u&gt;" color="blue"
>> click="
>>
>> f_DrillDownData(data)">
>>
>>                                     ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml
>> Error:
>>
>> The required skin state 'disabledWithPrompt' is missing.
>>
>>
>>
>>
>>
>> D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml
>> Error:
>>
>> The required skin state 'normalWithPrompt' is missing.
>>
>>
>>
>>
>>
>> D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(177): col: 27
>> Warning: D
>>
>> ata binding will not be able to detect assignments to 'valueField'.
>>
>>
>>
>>
>> yField="{properties.@valueField}
>>
>> ">
>>
>>                                                                     ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(187): col: 34
>> Warning: D
>>
>> ata binding will not be able to detect assignments to 'categoryField'.
>>
>>
>>
>>
>> categoryField="{properties.@cate
>>
>> goryField}" />
>>
>>
>> ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(202): col: 27
>> Warning: D
>>
>> ata binding will not be able to detect assignments to 'valueField'.
>>
>>
>>
>>
>> yField="{properties.@valueField}
>>
>> ">
>>
>>                                                                     ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(212): col: 34
>> Warning: D
>>
>> ata binding will not be able to detect assignments to 'categoryField'.
>>
>>
>>
>>
>> categoryField="{properties.@cate
>>
>> goryField}" />
>>
>>
>> ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(429): col: 27
>> Warning: D
>>
>> ata binding will not be able to detect assignments to 'valueField'.
>>
>>
>>
>>
>> yField="{properties.@valueField}
>>
>> ">
>>
>>                                                                     ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(439): col: 34
>> Warning: D
>>
>> ata binding will not be able to detect assignments to 'categoryField'.
>>
>>
>>
>>
>> categoryField="{properties.@cate
>>
>> goryField}" />
>>
>>
>> ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(454): col: 27
>> Warning: D
>>
>> ata binding will not be able to detect assignments to 'valueField'.
>>
>>
>>
>>
>> yField="{properties.@valueField}
>>
>> ">
>>
>>                                                                     ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(464): col: 34
>> Warning: D
>>
>> ata binding will not be able to detect assignments to 'categoryField'.
>>
>>
>>
>>
>> categoryField="{properties.@cate
>>
>> goryField}" />
>>
>>
>> ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(479): col: 26
>> Warning: D
>>
>> ata binding will not be able to detect assignments to 'valueField'.
>>
>>
>>
>>
>> field="{properties.@valueField}"
>>
>>
>>
>>                                                                    ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(115): col: 74
>> Warning
>>
>> : Data binding will not be able to detect assignments to 'amfChannelSet'.
>>
>>
>>
>>                 <mx:RemoteObject id="roDrillDownColInfo"
>> channelSet="{parentAppl
>>
>> ication.amfChannelSet}" showBusyCursor="true"
>>
>>
>>
>>        ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(118): col: 68
>> Warning
>>
>> : Data binding will not be able to detect assignments to 'amfChannelSet'.
>>
>>
>>
>>                 <mx:RemoteObject id="roDgDpResult"
>> channelSet="{parentApplicatio
>>
>> n.amfChannelSet}" showBusyCursor="true"
>>
>>
>>
>>  ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\dashboard\view\PieChartContent.mxml(128): col: 24
>> Warning
>>
>> : Data binding will not be able to detect assignments to 'valueField'.
>>
>>
>>
>>                                 field="{properties.@valueField}"
>>
>>                                                    ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 37
>> Warning: Dat
>>
>> a binding will not be able to detect assignments to 'appParams'.
>>
>>
>>
>>
>> inputMask="{parentApplic
>>
>> ation.appParams.DATE_FORMAT}" showToday="true"
>> yearNavigationEnabled="true"
>>
>>
>>
>>      ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 47
>> Warning: Dat
>>
>> a binding will not be able to detect assignments to 'DATE_FORMAT'.
>>
>>
>>
>>
>> inputMask="{parentApplic
>>
>> ation.appParams.DATE_FORMAT}" showToday="true"
>> yearNavigationEnabled="true"
>>
>>
>>
>>                ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 38
>> Warning: Dat
>>
>> a binding will not be able to detect assignments to 'appParams'.
>>
>>
>>
>>
>> inputMask="{parentAppli
>>
>> cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true"
>> showToday="true"
>>
>>
>>
>>       ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 48
>> Warning: Dat
>>
>> a binding will not be able to detect assignments to 'DATE_FORMAT'.
>>
>>
>>
>>
>> inputMask="{parentAppli
>>
>> cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true"
>> showToday="true"
>>
>>
>>
>>                 ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(12): col:
>> 11 Warnin
>>
>> g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.
>>
>>
>>
>>                         import mx.graphics.Stroke;
>>
>>                                ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(37): col:
>> 23 Warnin
>>
>> g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.
>>
>>
>>
>>                                         lne.stroke = new Stroke(0,1,.3);
>>
>>                                                          ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(46): col:
>> 14 Warnin
>>
>> g: Duplicate variable definition: i.
>>
>>
>>
>>                                 for (var i:int = 1; i < lnWdt; i++){
>>
>>                                          ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(47): col:
>> 10 Warnin
>>
>> g: Duplicate variable definition: lne.
>>
>>
>>
>>                                         var lne:Line  = new Line();
>>
>>                                             ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(53): col:
>> 23 Warnin
>>
>> g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.
>>
>>
>>
>>                                         lne.stroke = new Stroke(0,1,.3);
>>
>>                                                          ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(54): col:
>> 10 Warnin
>>
>> g: Duplicate variable definition: llbe.
>>
>>
>>
>>                                         var llbe:Label = new Label();
>>
>>                                             ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(157): col:
>> 40 Warn
>>
>> ing: 'application' has been deprecated since 4.0. Please use
>> 'FlexGlobals.topLev
>>
>> elApplication'.
>>
>>
>>
>>                                 var xPosition:Number =
>> Application.application.p
>>
>> arent.mouseX;
>>
>>                                                                    ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(158): col:
>> 40 Warn
>>
>> ing: 'application' has been deprecated since 4.0. Please use
>> 'FlexGlobals.topLev
>>
>> elApplication'.
>>
>>
>>
>>                                 var yPosition:Number =
>> Application.application.p
>>
>> arent.mouseY;
>>
>>                                                                    ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(225): col:
>> 36 Warn
>>
>> ing: 'application' has been deprecated since 4.0. Please use
>> 'FlexGlobals.topLev
>>
>> elApplication'.
>>
>>
>>
>>                                 var xPlus:Number =
>> Application.application.paren
>>
>> t.mouseX - point.x;
>>
>>                                                                ^
>>
>>
>>
>> D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(226): col:
>> 36 Warn
>>
>> ing: 'application' has been deprecated since 4.0. Please use
>> 'FlexGlobals.topLev
>>
>> elApplication'.
>>
>>
>>
>>                                 var yPlus:Number =
>> Application.application.paren
>>
>> t.mouseY - point.y;
>>
>>
>>
>> Thanks,
>>
>> Alina Kazi
>>
>> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
>> *Sent:* Wednesday, February 28, 2018 10:16 AM
>> *To:* Alina Kazi; users@royale.apache.org
>> *Subject:* Re: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alina,
>>
>>
>>
>> I think that Flash Builder makes it easy to build SWCs.  Building from
>> the command line can be a bit trickier.
>>
>>
>>
>> Let's try:
>>
>> Compc -output "D:\SHMALib.swc" -api-report="D:\report.txt"
>> -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml
>> -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\src"
>>
>>
>>
>> HTH,
>>
>> -Alex
>>
>>
>>
>>
>>
>> *From: *Alina Kazi <al...@d-bz.com>
>> *Date: *Tuesday, February 27, 2018 at 7:28 PM
>> *To: *"users@royale.apache.org" <us...@royale.apache.org>, Alex Harui <
>> aharui@adobe.com>
>> *Subject: *RE: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alex,
>>
>> Yes I am using Flash Builder.
>>
>> SHMALIB and MainFlexApp are two separate Projects
>>
>> Src for SHMALIB is placed into D:/SHMALIB/src
>>
>> Src for MainFlexApp is D:/Flex/src and the library output file
>> SHMALIB.swc is placed into D:/Flex/libs
>>
>>
>>
>> SHMALIB (.actionscriptProperties)
>>
>>
>>
>> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
>>
>> <actionScriptProperties mainApplicationPath="SHMALib.as"
>> projectUUID="863559ab-3e7b-475b-a3a4-09f4f76fc0d2" version="6">
>>
>>   <compiler additionalCompilerArguments="-locale en_US"
>> autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false"
>> generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false"
>> htmlHistoryManagement="false" htmlPlayerVersionCheck="true"
>> includeNetmonSwc="false" outputFolderLocation="D:/Flex/libs"
>> outputFolderPath="bin-debug" sourceFolderPath="src" strict="true"
>> targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true"
>> verifyDigests="true" warn="true">
>>
>>     <compilerSourcePath/>
>>
>>     <libraryPath defaultLinkType="0">
>>
>>       <libraryPathEntry kind="4" path="">
>>
>>         <excludedEntries>
>>
>>           <libraryPathEntry kind="3" linkType="1"
>> path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>
>>
>>         </excludedEntries>
>>
>>       </libraryPathEntry>
>>
>>       <libraryPathEntry kind="1" linkType="1" path="libs"/>
>>
>>     </libraryPath>
>>
>>     <sourceAttachmentPath/>
>>
>>   </compiler>
>>
>>   <applications>
>>
>>     <application path="SHMALib.as"/>
>>
>>   </applications>
>>
>>   <modules/>
>>
>>   <buildCSSFiles/>
>>
>> </actionScriptProperties>
>>
>>
>>
>> SHMALIB (.flexLibProperties)
>>
>> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
>>
>> <flexLibProperties includeAllClasses="true" version="3">
>>
>>   <includeClasses/>
>>
>>   <includeResources/>
>>
>>   <namespaceManifests/>
>>
>> </flexLibProperties>
>>
>>
>>
>> Thanks,
>>
>> Alina
>>
>> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
>> *Sent:* Tuesday, February 27, 2018 9:34 PM
>> *To:* Alina Kazi
>> *Subject:* Re: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alina,
>>
>>
>>
>> When you are not trying to use Royale to generate this API report, how
>> are you building your current Flex app?  We might need to know that in
>> order to determine what parameters to add to COMPC.
>>
>>
>>
>> COMPC has additional parameters like -include–sources, include-file,
>> include-classes.  Sometimes, these are listed in an xml file.  If you are
>> using Flash Builder, for example, then examine the .flexlibproperties and
>> .actionscriptProperties files in your project folder.
>>
>>
>>
>> Thanks,
>>
>> -Alex
>>
>>
>>
>> *From: *Alina Kazi <al...@d-bz.com>
>> *Date: *Tuesday, February 27, 2018 at 3:21 AM
>> *To: *'Alina Kazi' <al...@d-bz.com>
>> *Cc: *Alex Harui <ah...@adobe.com>
>> *Subject: *RE: Generating API report for Flex Web Browser application
>>
>>
>>
>> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
>> "D:\SHMALib.swc"
>>
>>  -api-report="D:\report.txt" -load-config=D:\apache-flex-sd
>> k-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"
>>
>> Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs
>>
>> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>>
>> WARNING: An illegal reflective access operation has occurred
>>
>> WARNING: Illegal reflective access by com.google.common.base.interna
>> l.Finalizer
>>
>> (file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar)
>> to
>>
>> field java.lang.Thread.inheritableThreadLocals
>>
>> WARNING: Please consider reporting this to the maintainers of
>> com.google.common.
>>
>> base.internal.Finalizer
>>
>> WARNING: Use --illegal-access=warn to enable warnings of further illegal
>> reflect
>>
>> ive access operations
>>
>>
>>
>> Error: nothing was specified to be included in the library.
>>
>> -Alina
>>
>>
>>
>> *From:* Alina Kazi [mailto:alina.kazi@d-bz.com <al...@d-bz.com>]
>> *Sent:* Tuesday, February 27, 2018 2:16 PM
>> *To:* 'users@royale.apache.org'
>> *Subject:* RE: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alex,
>>
>>
>>
>> I am using Moonshine IDE 1.9.0.
>>
>> Flex 4.16.0
>>
>> Apache Royale 0.9.2 Latest Nightly Build
>>
>>
>>
>> *Running this Command on Command Prompt:*
>>
>> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
>> "D:\SHMALib.swc"
>>
>>  -api-report="D:\report.txt" -load-config=D:\apache-flex-sd
>> k-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"
>>
>> Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs
>>
>> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>>
>> WARNING: An illegal reflective access operation has occurred
>>
>> WARNING: Illegal reflective access by com.google.common.base.interna
>> l.Finalizer
>>
>> (file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar)
>> to
>>
>> field java.lang.Thread.inheritableThreadLocals
>>
>> WARNING: Please consider reporting this to the maintainers of
>> com.google.common.
>>
>> base.internal.Finalizer
>>
>> WARNING: Use --illegal-access=warn to enable warnings of further illegal
>> reflect
>>
>> ive access operations
>>
>> WARNING: All illegal access operations will be denied in a future release
>>
>>
>>
>> *command line Error: unknown configuration variable 'sourceΓÇôpath'.*
>>
>>
>>
>> -Alina
>>
>> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
>> *Sent:* Tuesday, February 27, 2018 1:26 PM
>> *To:* users@royale.apache.org
>> *Subject:* Re: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alina,
>>
>>
>>
>> COMPC takes a slightly different set of parameters.  What IDE or build
>> tools are you using to build it without Royale?  You might need to know
>> what options that build uses.
>>
>>
>>
>> You can try running:
>>
>>
>>
>> Compc -output "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc"
>> -api-report="D:\report.txt" -load-config=D:\apache-flex-sd
>> k-4.16.0-bin\frameworks\flex-config.xml -source–path="D:\Projects\SHMA\Main\Flex\src"
>> or wherever the source code is for the library.
>>
>>
>>
>> HTH,
>>
>> -Alex
>>
>>
>>
>> *From: *Alina Kazi <al...@d-bz.com>
>> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Date: *Monday, February 26, 2018 at 11:33 PM
>> *To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Subject: *RE: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alex,
>>
>>
>>
>> For custom SWC, I am using COMPC to get an api-report for SWC
>>
>> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>compc
>> "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc"
>> -api-report="D:\report.txt" -load-config=D:\apache-flex-sd
>> k-4.16.0-bin\frameworks\flex-config.xml
>>
>> *Error:* configuration variable 'output' was not set.
>>
>>
>>
>>
>>
>> Thanks,
>>
>> Alina
>>
>> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
>> *Sent:* Tuesday, February 27, 2018 12:27 PM
>> *To:* users@royale.apache.org
>> *Subject:* Re: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alina,
>>
>>
>>
>> Yes, any SWC that is not in the Flex SDK's frameworks/libs folder needs
>> to be specified as Piotr describes below.  We want you specify the same
>> MXML file that you use to compile in the regular Flex SDK.  So if your
>> Application.mxml starts with an mx:Application or s:Application that’s
>> probably the one to use.  But also, if you have your own custom SWCs, we
>> want you to use COMPC to get an api-report for those SWCs.  We want this
>> modified Royale compiler to compile every source file you own so we can see
>> what Flex APIs you are using.
>>
>>
>>
>> HTH,
>>
>> -Alex
>>
>>
>>
>> *From: *Piotr Zarzycki <pi...@gmail.com>
>> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Date: *Monday, February 26, 2018 at 11:19 PM
>> *To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Subject: *Re: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alina,
>>
>>
>>
>> In my sense you will have to use -library-path+=path to the library. You
>> have to tell compiler about that library.
>>
>>
>>
>> Thanks, Piotr
>>
>>
>>
>> 2018-02-27 7:57 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>>
>> Hi  Alex,
>>
>> *With latest nightly build:*
>>
>> MaskedTextInput , shmReportUtil …. Are Library Project Actionscript Files.
>>
>> Main Application contains SHMALib.swc file in Libs folder
>>
>> Error Link:
>>
>> https://www.dropbox.com/s/p5imt22cuut0ex6/ErrorGeneratingReport.png?dl=0
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fp5imt22cuut0ex6%2FErrorGeneratingReport.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=8f1f9duW2Red4bP77hFTh3mLcCptBmAwd87n1iSkk%2Bs%3D&reserved=0>
>>
>>
>>
>> I have a question that which .mxml file should be used to generate that
>> report?
>>
>> Applications.mxml is startup file in case of my Project so I’m using it.
>>
>>
>>
>> Please visit reference link and If I’m doing anything wrong please let
>> me know.
>>
>>
>>
>> Thanks,
>>
>> Alina
>>
>>
>>
>> *From:* Alex Harui [mailto:aharui@adobe.com]
>> *Sent:* Tuesday, February 27, 2018 12:00 AM
>>
>>
>> *To:* users@royale.apache.org
>> *Subject:* Re: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alina,
>>
>>
>>
>> I pushed a fix for that.  It might or might not be related to your custom
>> swc.  Get the latest nightly build and let us know.
>>
>>
>>
>> Also, if you are successful, please use your regular compiler to generate
>> a -link–report.  That will help us verify that the API report didn't miss
>> anything.
>>
>>
>>
>> Thanks,
>>
>> -Alex
>>
>>
>>
>>
>>
>> *From: *Alina Kazi <al...@d-bz.com>
>> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Date: *Monday, February 26, 2018 at 4:01 AM
>> *To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Subject: *RE: Generating API report for Flex Web Browser application
>>
>>
>>
>> Generated Report file for Sample Project Successfully.
>>
>>
>>
>> spark.components.Application:minHeight,1
>>
>> spark.components.Application:minWidth,1
>>
>> spark.components.Application:mxmlContentFactory,2
>>
>> spark.components.Label:fontSize,1
>>
>> spark.components.Label:fontWeight,1
>>
>> spark.components.Label:horizontalCenter,1
>>
>> spark.components.Label:text,1
>>
>> spark.components.Label:textAlign,1
>>
>> spark.components.Label:verticalCenter,1
>>
>>
>>
>> But while executing Actual Project got Error:
>>
>> https://www.dropbox.com/s/d25eysllavuy5z4/compile2.png?dl=0
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fd25eysllavuy5z4%2Fcompile2.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=2i28J4zjv1vEQ7sd%2BGfHm%2Bh1FjG%2BP3YdJCc6rGZr3C4%3D&reserved=0>
>>
>> https://www.dropbox.com/s/49iq74zk6rxcr1y/compile1.png?dl=0
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F49iq74zk6rxcr1y%2Fcompile1.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=44tfkOscWyJ%2FH3M30HeJ6dfFE0TlpTMhQ2t%2Bv%2ByuoDg%3D&reserved=0>
>>
>>
>>
>> May be because my Application is dependent to SHMALib(.swc) Library
>> Project (Source Shared Earlier).
>>
>>
>>
>> -Alina
>>
>>
>>
>> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com
>> <pi...@gmail.com>]
>> *Sent:* Monday, February 26, 2018 5:02 PM
>> *To:* users@royale.apache.org
>> *Subject:* Re: Generating API report for Flex Web Browser application
>>
>>
>>
>> Alex,
>>
>>
>>
>> I did above exercise for Moonshine and got NPE [1]. I used air-config.xml
>> because it is na Desktop app.
>>
>>
>>
>> [1] https://paste.apache.org/R0Si
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FR0Si&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=tFLrK9xsVt57PytwBaNoUJ%2FIPFH7FCHDtfrmJ1sAl3Y%3D&reserved=0>
>>
>>
>>
>>
>> Thanks,
>>
>> Piotr
>>
>>
>>
>>
>>
>> 2018-02-26 12:56 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
>>
>> Yishay,
>>
>>
>>
>> Thank you so much!! I got it working.
>>
>>
>>
>> Alina,
>>
>>
>>
>> Here is the full instruction.
>>
>>
>>
>> 1) Download Apache Royale with SWF support - if you have that is good, if
>> not it's here [1]
>>
>> 2) Download Apache Flex - you have it as I have seen on the screenshot.
>>
>> 3) Launch console and go to the Royale SDK folder
>>
>>
>>
>> "yourpathtosdk\bin\" - In my case it was: "d:\Work\royale_ide\royale_nig
>> htly_js_swf\bin\"
>>
>>
>>
>> 4) Run following command where you will point to the Flex Browser
>> application in order to generate report. My command looks like that:
>>
>>
>>
>> mxmlc "c:\Users\piotr\Documents\NewFlexBrowserProject\src\NewFlexBrowserProject.mxml"
>> -api-report="c:\Users\piotr\Documents\NewFlexBrowserProject\report.txt"
>> -load-config=d:\Work\flex-sdk-4.16.1_adobe_air_28\frameworks
>> \flex-config.xml
>>
>>
>>
>> I generated report for hellow world. Maybe in order to generate report
>> for your application that console command may be much more sophisticated.
>> Let's see!
>>
>>
>>
>>
>>
>> [1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/
>> job/royale-asjs/lastSuccessfulBuild/artifact/out/
>> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2Fout%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=O%2BpVQ8OuhB%2FtE4ZdylTSkAQCWsIPBGlr9RgiTjWSWEM%3D&reserved=0>
>>
>>
>>
>> Thanks,
>>
>> Piotr
>>
>>
>>
>>
>>
>> 2018-02-26 12:46 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:
>>
>> Looks like [1] you do need to add compiler option: -api–report=<path to
>> output file>
>>
>>
>>
>> [1] http://apache-royale-users.20374.n8.nabble.com/Substitutes-
>> in-Apache-Royale-tp392p492.html
>> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p492.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kda6SpkBgdRqGAeGJ5Db629EAy7KAVbOZKzhzhynRZk%3D&reserved=0>
>>
>>
>>
>>
>>
>> *From: *Piotr Zarzycki <pi...@gmail.com>
>> *Sent: *Monday, February 26, 2018 1:37 PM
>>
>>
>> *To: *users@royale.apache.org
>> *Subject: *Re: Generating API report for Flex Web Browser application
>>
>>
>>
>> I have produced with that swf, but what's next? Let's wait for Alex's
>> response [1]
>>
>>
>>
>> [1] https://paste.apache.org/YEeG
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FYEeG&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8ameYzJ7AloOW4nTa8dqu7zYxwORSQc5sCUqpZDVA%2BY%3D&reserved=0>
>>
>>
>>
>> Thanks,
>>
>> Piotr
>>
>>
>>
>> 2018-02-26 12:32 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:
>>
>> Alex will know but I don’t think so. I haven’t updated the compiler
>> recently so can’t test it right now. If you want to test it maybe just
>> create a simple app and replace /Users/aharui/ApacheFlex4.16.0 with your
>> sdk home.
>>
>>
>>
>>
>>
>>
>>
>> *From: *Piotr Zarzycki <pi...@gmail.com>
>> *Sent: *Monday, February 26, 2018 1:25 PM
>> *To: *users@royale.apache.org
>> *Subject: *Re: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Yishay,
>>
>>
>>
>> bin/mxmlc
>>
>> <path to app's
>>
>> .mxml
>>
>> file>
>>
>> -load-config=/Users/aharui/ApacheFlex4.16.0/frameworks/flex-config.xml
>>
>>
>>
>> Do I need some switch for compiler -api-report or something like that ?
>>
>>
>>
>> Thanks,
>>
>> Piotr
>>
>>
>>
>>
>>
>> 2018-02-26 12:10 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:
>>
>> Wasn’t logged in. Here’s [1] the link.
>>
>>
>>
>> [1] http://apache-royale-users.20374.n8.nabble.com/Substitutes-
>> in-Apache-Royale-tp392p489.html
>> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p489.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8Tp5%2BFveKS0eoW7D8EovITPQqYrgwDK4P7cW9izXFH8%3D&reserved=0>
>>
>>
>>
>>
>>
>> *From: *Yishay Weiss <yi...@hotmail.com>
>> *Sent: *Monday, February 26, 2018 12:59 PM
>> *To: *users@royale.apache.org
>> *Subject: *RE: Generating API report for Flex Web Browser application
>>
>>
>>
>> I couldn’t find a way to link to a nabble post, but this [1] might help
>> (from Substitutes in Apache Royale).
>>
>>
>>
>> [1] https://paste.apache.org/N2QR
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FN2QR&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=VIS8u6EEBWN6jQrFxpttZvAfUCSSKPe3rbrBDU2w7Sg%3D&reserved=0>
>>
>>
>>
>> *From: *Piotr Zarzycki <pi...@gmail.com>
>> *Sent: *Monday, February 26, 2018 12:44 PM
>> *To: *users@royale.apache.org
>> *Subject: *Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alex,
>>
>>
>>
>> I would like to understand how to generate that report. I will go with
>> the console path, because I think this is something unusual and probably
>> Moonshine is not prepared to do this. I'm writing this on the users mailing
>> list because Alina is having some problems with that. I wanted to simplify
>> all of that. Let's start from the beginning.
>>
>>
>>
>> 1) I have created Flex Web browser project using Apache Flex SDK 4.16.1.
>>
>> 2) I have nightly build of Royale with SWF support [1]
>>
>>
>>
>> What should I type in the console now ?
>>
>>
>>
>> [1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/
>> job/royale-asjs/lastSuccessfulBuild/artifact/
>> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=UtYFFQ90aNB2HU2Vx4t8YAS6Eo2j1ZqVAytujEOgoFM%3D&reserved=0>
>>
>>
>>
>> Thanks,
>> --
>>
>> *Piotr Zarzycki *
>>
>> Patreon: *https://www.patreon.com/piotrzarzycki
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> --
>>
>> *Piotr Zarzycki *
>>
>> Patreon: *https://www.patreon.com/piotrzarzycki
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>>
>>
>>
>>
>>
>>
>>
>> --
>>
>> *Piotr Zarzycki *
>>
>> Patreon: *https://www.patreon.com/piotrzarzycki
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>>
>>
>>
>>
>>
>>
>>
>> --
>>
>> *Piotr Zarzycki *
>>
>> Patreon: *https://www.patreon.com/piotrzarzycki
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>>
>>
>>
>>
>>
>> --
>>
>> *Piotr Zarzycki *
>>
>> Patreon: *https://www.patreon.com/piotrzarzycki
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>>
>>
>>
>>
>>
>> --
>>
>> *Piotr Zarzycki *
>>
>> Patreon: *https://www.patreon.com/piotrzarzycki
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=zGrfZ2Wj3CLuuW%2B%2BKtUSQF6762Vn0%2BeNjCMlViBMghg%3D&reserved=0>*
>>
>>
>>
>>
>>
>> --
>>
>> *Piotr Zarzycki *
>>
>> Patreon: *https://www.patreon.com/piotrzarzycki
>> <https://www.patreon.com/piotrzarzycki>*
>>
>>
>>
>>
>>
>> --
>>
>> *Piotr Zarzycki *
>>
>> Patreon: *https://www.patreon.com/piotrzarzycki
>> <https://www.patreon.com/piotrzarzycki>*
>>
>>
>>
>>
>>
>> --
>>
>> *Piotr Zarzycki *
>>
>> Patreon: *https://www.patreon.com/piotrzarzycki
>> <https://www.patreon.com/piotrzarzycki>*
>>
>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>



-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

Posted by Piotr Zarzycki <pi...@gmail.com>.
Alina,

Not sure, but let me try that on my sight, however I doubt that. Maven is a
very distinguished from all the environment variables. If you got that
build running you don't have to use almost all. :)

2018-03-07 7:03 GMT+01:00 Alina Kazi <al...@d-bz.com>:

> Hi Piotr,
>
>
>
> ROYALE_HOME environment variable is set to D:\royale-asjs that is the path
> for installed latest nightly build. This could be the reason ?
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com]
> *Sent:* Wednesday, March 07, 2018 10:56 AM
> *To:* users@royale.apache.org
> *Subject:* Re: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Please try again build. Maybe it was some temporary problem. My build is
> running right now without the problem. Maven downloading dependencies
> nicely.
>
>
>
> Thanks, Piotr
>
>
>
> 2018-03-07 6:39 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>
> Hi Piotr,
>
> Its Working.
>
> This XML file does not appear to have any style information associated
> with it. The document tree is shown below.
>
> <metadata modelVersion="1.1.0">
>
> <groupId>org.apache.flex.utilities.converter</groupId>
>
> <artifactId>retrievers</artifactId>
>
> <version>1.0.0-SNAPSHOT</version>
>
> <versioning>
>
> <snapshot>
>
> <timestamp>20171112.204231</timestamp>
>
> <buildNumber>490</buildNumber>
>
> </snapshot>
>
> <lastUpdated>20171112204231</lastUpdated>
>
> <snapshotVersions>
>
> <snapshotVersion>
>
> <extension>pom</extension>
>
> <value>1.0.0-20171112.204231-490</value>
>
> <updated>20171112204231</updated>
>
> </snapshotVersion>
>
> </snapshotVersions>
>
> </versioning>
>
> </metadata>
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com]
> *Sent:* Wednesday, March 07, 2018 10:48 AM
> *To:* users@royale.apache.org
> *Subject:* Re: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Hi Alina,
>
>
>
> I just removed my whole local repository and trying exactly the same
> scenario. Just quick question can you try in your browser open this link ?
> Is it working ?
>
>
>
> http://repository.apache.org/snapshots/org/apache/flex/
> utilities/converter/retrievers/1.0.0-SNAPSHOT/maven-metadata.xml
>
>
>
> Thanks,
>
> Piotr
>
>
>
> 2018-03-07 6:27 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>
> Hi Piotr,
>
> Using Maven :
>
> C:\Users\aleena>git clone https://github.com/apache/royale-typedefs.git
> royale-a
>
> sjs
>
> Cloning into 'royale-asjs'...
>
> remote: Counting objects: 3318, done.
>
> remote: Compressing objects: 100% (93/93), done.
>
> remote: Total 3318 (delta 48), reused 76 (delta 16), pack-reused 3200
>
> Receiving objects: 100% (3318/3318), 3.51 MiB | 244.00 KiB/s, done.
>
> Resolving deltas: 100% (1337/1337), done.
>
>
>
> C:\Users\aleena>cd royale-asjs
>
>
>
> C:\Users\aleena\royale-asjs>git checkout develop
>
> Already on 'develop'
>
> Your branch is up to date with 'origin/develop'.
>
>
>
> C:\Users\aleena\royale-asjs>mvn -s settings-template.xml clean install
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> Downloading from apache-snapshots: http://repository.apache.org/
> snapshots/org/ap
>
> ache/flex/utilities/converter/flex-sdk-converter-maven-
> extension/1.0.0-SNAPSHOT/
>
> maven-metadata.xml
>
> [WARNING] Could not transfer metadata org.apache.flex.utilities.
> converter:flex-s
>
> dk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from/to
> apache-sn
>
> apshots (http://repository.apache.org/snapshots/): Connect to
> repository.apache.
>
> org:80 [repository.apache.org/207.244.88.140] failed: Connection timed
> out: conn
>
> ect
>
> [WARNING] Failure to transfer org.apache.flex.utilities.
> converter:flex-sdk-conve
>
> rter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from
> http://repository.ap
>
> ache.org/snapshots/ was cached in the local repository, resolution will
> not be r
>
> eattempted until the update interval of apache-snapshots has elapsed or
> updates
>
> are forced. Original error: Could not transfer metadata
> org.apache.flex.utilitie
>
> s.converter:flex-sdk-converter-maven-extension:1.0.
> 0-SNAPSHOT/maven-metadata.xml
>
>  from/to apache-snapshots (http://repository.apache.org/snapshots/):
> Connect to
>
> repository.apache.org:80 [repository.apache.org/207.244.88.140] failed:
> Connecti
>
> on timed out: connect
>
> Downloading from apache-snapshots: http://repository.apache.org/
> snapshots/org/ap
>
> ache/flex/utilities/converter/flex-sdk-converter-maven-
> extension/1.0.0-SNAPSHOT/
>
> flex-sdk-converter-maven-extension-1.0.0-SNAPSHOT.pom
>
> [WARNING] Failed to read extensions descriptor
> C:\Users\aleena\royale-asjs\.mvn\
>
> extensions.xml: Plugin org.apache.flex.utilities.
> converter:flex-sdk-converter-ma
>
> ven-extension:1.0.0-SNAPSHOT or one of its dependencies could not be
> resolved: F
>
> ailed to read artifact descriptor for org.apache.flex.utilities.
> converter:flex-s
>
> dk-converter-maven-extension:jar:1.0.0-SNAPSHOT
>
> [INFO] Scanning for projects...
>
> Downloading from apache-release: https://repository.apache.org/
> content/repositor
>
> ies/releases/org/apache/apache/18/apache-18.pom
>
> Downloading from central: https://repo.maven.apache.org/
> maven2/org/apache/apache
>
> /18/apache-18.pom
>
> [ERROR] [ERROR] Some problems were encountered while processing the POMs:
>
> [FATAL] Non-resolvable parent POM for org.apache.royale.typedefs:
> royale-typedefs
>
> -parent:0.9.2-SNAPSHOT: Could not transfer artifact
> org.apache:apache:pom:18 fro
>
> m/to apache-release (https://repository.apache.org/content/repositories/
> releases
>
> ): Connect to repository.apache.org:443 [repository.apache.org/207.
> 244.88.140] f
>
> ailed: Connection timed out: connect and 'parent.relativePath' points at
> wrong l
>
> ocal POM @ line 23, column 11
>
>  @
>
> [ERROR] The build could not read 1 project -> [Help 1]
>
> [ERROR]
>
> [ERROR]   The project org.apache.royale.typedefs:
> royale-typedefs-parent:0.9.2-SN
>
> APSHOT (C:\Users\aleena\royale-asjs\pom.xml) has 1 error
>
> [ERROR]     Non-resolvable parent POM for org.apache.royale.typedefs:
> royale-type
>
> defs-parent:0.9.2-SNAPSHOT: Could not transfer artifact
> org.apache:apache:pom:18
>
>  from/to apache-release (https://repository.apache.
> org/content/repositories/rele
>
> ases): Connect to repository.apache.org:443 [repository.apache.org/207.
> 244.88.14
>
> 0] failed: Connection timed out: connect and 'parent.relativePath' points
> at wro
>
> ng local POM @ line 23, column 11 -> [Help 2]
>
> [ERROR]
>
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e swit
>
> ch.
>
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>
> [ERROR]
>
> [ERROR] For more information about the errors and possible solutions,
> please rea
>
> d the following articles:
>
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/
> ProjectBuildin
>
> gException
>
> [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/
> UnresolvableMo
>
> delException
>
>
>
> C:\Users\aleena\royale-asjs>
>
>
>
> Thanks
>
> Alina
>
>
>
> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com]
> *Sent:* Tuesday, March 06, 2018 5:30 PM
> *To:* users@royale.apache.org
> *Subject:* Re: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Hi Alina,
>
>
>
> You can try to go with Maven to see whether you have similar problems [1]
>
>
>
> [1] https://github.com/apache/royale-asjs/wiki/Build-Apache-
> Royale-with-Maven
>
>
>
> Thanks, Piotr
>
>
>
> 2018-03-06 13:12 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>
> Hi Alex,
>
> Still getting same error, while executing:
>
> C:\Users\aleena\royale-asjs>ant all
>
> Website link is working :
>
> http://www.antlr.org/license.html
>
>
>
> could be only issue , Antlr server will be off-line ?
>
>
>
> Thanks,
>
> Alina
>
> *From:* Alina Kazi [mailto:alina.kazi@d-bz.com]
> *Sent:* Tuesday, March 06, 2018 4:38 PM
> *To:* 'users@royale.apache.org'
> *Subject:* RE: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Hi Alex,
>
>
>
> We can exclude ScaleX , ScaleY,transform from our code as we are using it
> in our Library Project Only.
>
> We are using “Rotation” in a PopUp Window.
>
>
>
> Can you please explain *emulation* ?
>
> How do they will work?
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alina Kazi [mailto:alina.kazi@d-bz.com]
> *Sent:* Tuesday, March 06, 2018 3:14 PM
> *To:* 'users@royale.apache.org'
> *Subject:* RE: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Hi Alex,
>
> We are using commitProperties() in our Library Project. Overriding the
> Existing Spark commitProperties() method
>
> For Example:
>
> ResizableTextAreaSkin.mxml (SHMALib)
>
> override protected function commitProperties():void {
>
>                                                 super.commitProperties();
>
>
>
>                                                 if (lineBreakChanged) {
>
>
> updateStringStyle("lineBreak");
>
>
> lineBreakChanged = false;
>
>                                                 }
>
>                                                 if (paddingChanged) {
>
>
> updatePadding();
>
>
> paddingChanged = false;
>
>                                                 }
>
>                                                 if (verticalAlignChanged)
> {
>
>
> updateStringStyle("verticalAlign");
>
>
> verticalAlignChanged = false;
>
>                                                 }
>
>                                 }
>
> We are using
>
> *Package*
>
> flash.display
> <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/package-detail.html>
>
> *Class*
>
> public class DisplayObject
>
> *Inheritance*
>
> DisplayObject [image: Inheritance] EventDispatcher
> <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/EventDispatcher.html>
>  [image: Inheritance] Object
> <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Object.html>
>
> *Reference Link:*
>
> https://help.adobe.com/en_US/FlashPlatform/reference/
> actionscript/3/flash/display/DisplayObject.html
>
>
>
> e.g :
>
>                 public function updateLayoutWithoutAnimation():void
>
>                                 {
>
>                                                 if(_layoutInvalid == true
> && layoutFunction != null)
>
>                                                 {
>
>
> _layoutInvalid = false;
>
>
> layoutFunction();
>
>                                                 }
>
>
>
>                                                 for(var aChild:* in
> _targets)
>
>                                                 {
>
>                                                                 var
> target:LayoutTarget = _targets[aChild];
>
>                                                                 var
> item:IFlexDisplayObject = target.item;
>
>                                                                 var
> m:Matrix = DisplayObject(item).transform.matrix;
>
>
>
>                                                                 m.tx =
> target.x;
>
>                                                                 m.ty =
> target.y;
>
>                                                                 m.a =
> target.scaleX;
>
>
>                                                                 m.d =
> target.scaleY
>
>
>
>
> DisplayObject(item).alpha = target.alpha;
>
>
> DisplayObject(item).transform.matrix = m;
>
>
> item.setActualSize(target.unscaledWidth,target.unscaledHeight);
>
>
> if(target.state == "removed")
>
>                                                                 {
>
>
> delete _targets[target.item];
>
>
> continue;
>
>                                                                 }
>
>                                                                 else
>
>                                                                 {
>
>
> target.state = "positioned"
>
>                                                                 }
>
>                                                 }
>
>                                                 stopTimer();
>
>                                 }
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com]
> *Sent:* Tuesday, March 06, 2018 1:36 PM
> *To:* users@royale.apache.org
> *Subject:* API Usage in Flex Web Browser application (was Re: Generating
> API report for Flex Web Browser application)
>
>
>
> Hi Alina,
>
>
>
> I'm starting on the emulation.  I've noticed that your application code
> appears to be calling commitProperties().  Can you tell us why?
>
>
>
> Also, it looks like there are a few uses of rotation, transform, scaleX
> and scaleY.  What are those used for?
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alex Harui <ah...@adobe.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, March 5, 2018 at 11:38 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> Try again.  Sometimes the Antlr server goes off-line around this time of
> day.
>
>
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, March 5, 2018 at 11:12 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> Using jdk1.8.0_162:
>
>
>
> C:\Users\aleena\royale-asjs>ant all
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> Buildfile: C:\Users\aleena\royale-asjs\build.xml
>
>
>
> set.base.folder:
>
>
>
> check-git:
>
>      [echo] Checking for Git...
>
>      [exec] git version 2.16.2.windows.1
>
>
>
> get-download-folder:
>
>
>
> download-all:
>
>      [echo] Using folder C:\Users\aleena\royale-asjs/..
>
>
>
> check-royale-asjs:
>
>
>
> warn-before-clone:
>
>
>
> check-royale-asjs:
>
>
>
> clone-royale-asjs:
>
>
>
> check-royale-compiler:
>
>
>
> clone-royale-compiler:
>
>
>
> check-royale-typedefs:
>
>
>
> clone-royale-typedefs:
>
>
>
> check-playerglobal-home:
>
>
>
> check-air-home:
>
>
>
> build-all:
>
>
>
> ask-before-build-all:
>
>     [input] This script will now download and compile lots of files.  This
> can t
>
> ake several minutes.   No interaction should be required.  Press the enter
> key t
>
> o continue.
>
>
>
>
>
> sdk:
>
>
>
> annotate.class:
>
>     [javac] Compiling 1 source file to C:\Users\aleena\royale-
> compiler\compiler-
>
> build-tools\target\classes
>
>     [javac] warning: [options] bootstrap class path not set in conjunction
> with
>
> -source 1.5
>
>     [javac] warning: [options] source value 1.5 is obsolete and will be
> removed
>
> in a future release
>
>     [javac] warning: [options] target value 1.5 is obsolete and will be
> removed
>
> in a future release
>
>     [javac] warning: [options] To suppress warnings about obsolete
> options, use
>
> -Xlint:-options.
>
>     [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\
> src\main\java\o
>
> rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:24: warning:
> [serial
>
> ] serializable class AnnotateClassDeleteException has no definition of
> serialVer
>
> sionUID
>
>     [javac]     public static class AnnotateClassDeleteException extends
> Excepti
>
> on
>
>     [javac]                   ^
>
>     [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\
> src\main\java\o
>
> rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:32: warning:
> [serial
>
> ] serializable class AnnotateClassRenameException has no definition of
> serialVer
>
> sionUID
>
>     [javac]     public static class AnnotateClassRenameException extends
> Excepti
>
> on
>
>     [javac]                   ^
>
>     [javac] 6 warnings
>
>
>
> unknown.tree.pattern.input.output:
>
>     [javac] Compiling 1 source file to C:\Users\aleena\royale-
> compiler\compiler-
>
> build-tools\target\classes
>
>     [javac] warning: [options] bootstrap class path not set in conjunction
> with
>
> -source 1.5
>
>     [javac] warning: [options] source value 1.5 is obsolete and will be
> removed
>
> in a future release
>
>     [javac] warning: [options] target value 1.5 is obsolete and will be
> removed
>
> in a future release
>
>     [javac] warning: [options] To suppress warnings about obsolete
> options, use
>
> -Xlint:-options.
>
>     [javac] 4 warnings
>
>
>
> main:
>
>
>
> compiler.downloads.cache:
>
>
>
> compiler.downloads:
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> prepare:
>
>      [echo] Making lib directory C:\Users\aleena\royale-
> compiler\compiler/lib/ex
>
> ternal
>
>     [mkdir] Created dir: C:\Users\aleena\royale-
> compiler\compiler\lib\external
>
>
>
> all:
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> check-dependency:
>
>      [echo] checking for C:\Users\aleena\royale-compiler\compiler/lib/
> external//
>
> antlr.jar
>
>
>
> download-dependency:
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> echo-project-jar:
>
>    [delete] Deleting: C:\Users\aleena\royale-compiler\compiler\src\main\
> resource
>
> s\project.properties
>
>      [echo] ${INFO_DOWNLOADING_FILE_FROM}
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> download-apache-license:
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> download-other-license:
>
>       [get] Getting: http://www.antlr.org/license.html
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0>
>
>       [get] To: C:\Users\aleena\royale-compiler\compiler\lib\
> external\antlr-LICE
>
> NSE.html
>
>       [get] Error getting http://www.antlr.org/license.html
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0>
> to C:\Users\aleena\r
>
> oyale-compiler\compiler\lib\external\antlr-LICENSE.html
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> double-check-file:
>
>      [echo] ${env.ROYALE_DOWNLOAD_CACHE}
>
>      [echo] Need file: ${still_no_file}
>
>
>
> get-from-cache-if-needed:
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> fail-if-not-found:
>
>
>
> BUILD FAILED
>
> C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred
> while e
>
> xecuting this line:
>
> C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred
> while e
>
> xecuting this line:
>
> C:\Users\aleena\royale-compiler\build.xml:64: The following error
> occurred while
>
>  executing this line:
>
> C:\Users\aleena\royale-compiler\compiler-jburg-types\build.xml:87: The
> following
>
>  error occurred while executing this line:
>
> C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:81:
> Th
>
> e following error occurred while executing this line:
>
> C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:275:
> T
>
> he following error occurred while executing this line:
>
> C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:329:
> T
>
> he following error occurred while executing this line:
>
> C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:489:
> C
>
> :\Users\aleena\royale-compiler\compiler/lib/external//antlr-LICENSE.html
> could n
>
> ot be downloaded or found in cache
>
>
>
> Total time: 47 seconds
>
>
>
> C:\Users\aleena\royale-asjs>
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Tuesday, March 06, 2018 11:55 AM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> Please use JDK8.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, March 5, 2018 at 10:40 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> Java version that I am using is “9.0.1”
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Tuesday, March 06, 2018 11:42 AM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> What version of Java are you using?  Please get a JDK7 or 8 and try that.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, March 5, 2018 at 10:22 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> Command Prompt Output is:
>
> C:\Users\aleena>git clone https://github.com/apache/royale-asjs.git
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs.git&data=02%7C01%7Caharui%40adobe.com%7Cdf86fa0dd25b41ffbc8108d5832f0997%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559160423949211&sdata=d9cKX4ILIQPLI5USXvAafSnrWZSgW1XHw6G4r%2B9wgsE%3D&reserved=0>
> royale-asjs
>
> Cloning into 'royale-asjs'...
>
> remote: Counting objects: 101103, done.
>
> remote: Compressing objects: 100% (22/22), done.
>
> remote: Total 101103 (delta 9), reused 30 (delta 7), pack-reused 101066R
>
> Receiving objects: 100% (101103/101103), 19.23 MiB | 208.00 KiB/s, done.
>
>
>
> Resolving deltas: 100% (61584/61584), done.
>
> Checking out files: 100% (3572/3572), done.
>
>
>
> C:\Users\aleena>cd royale-asjs
>
>
>
> C:\Users\aleena\royale-asjs>git checkout develop
>
> Already on 'develop'
>
> Your branch is up to date with 'origin/develop'.
>
>
>
> C:\Users\aleena\royale-asjs>ant all
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> Buildfile: C:\Users\aleena\royale-asjs\build.xml
>
>
>
> set.base.folder:
>
>
>
> check-git:
>
>      [echo] Checking for Git...
>
>      [exec] git version 2.16.2.windows.1
>
>
>
> get-download-folder:
>
>
>
> download-all:
>
>      [echo] Using folder C:\Users\aleena\royale-asjs/..
>
>
>
> check-royale-asjs:
>
>
>
> warn-before-clone:
>
>
>
> check-royale-asjs:
>
>
>
> clone-royale-asjs:
>
>
>
> check-royale-compiler:
>
>
>
> clone-royale-compiler:
>
>      [echo] cloning royale-compiler repo into
> C:\Users\aleena\royale-asjs/../roy
>
> ale-compiler
>
>      [exec] Cloning into 'royale-compiler'...
>
>      [exec] Checking out files:   8% (284/3191)
>
>      [exec] Checking out files:   9% (288/3191)   Checking out files:  10%
> (320/
>
> 3191)   Checking out files:  11% (352/3191)   Checking out files:  12%
> (383/3191
>
> )   Checking out files:  13% (415/3191)   Checking out files:  13%
> (444/3191)
>
> Checking out files:  14% (447/3191)   Checking out files:  15%
> (479/3191)   Chec
>
> king out files:  16% (511/3191)   Checking out files:  17% (543/3191)
> Checking
>
>  out files:  18% (575/3191)   Checking out files:  19% (607/3191)
> Checking out
>
>  files:  20% (639/3191)   Checking out files:  20% (641/3191)   Checking
> out fil
>
> es:  21% (671/3191)   Checking out files:  22% (703/3191)   Checking out
> files:
>
>  23% (734/3191)   Checking out files:  24% (766/3191)   Checking out
> files:  25%
>
>  (798/3191)   Checking out files:  26% (830/3191)   Checking out files:
> 26% (84
>
> 2/3191)   Checking out files:  27% (862/3191)   Checking out files:  28%
> (894/31
>
> 91)   Checking out files:  29% (926/3191)   Checking out files:  30%
> (958/3191)
>
>   Checking out files:  31% (990/3191)   Checking out files:  32%
> (1022/3191)   C
>
> hecking out files:  33% (1054/3191)   Checking out files:  34%
> (1085/3191)   Che
>
> cking out files:  35% (1117/3191)   Checking out files:  36% (1149/3191)
> Check
>
> ing out files:  37% (1181/3191)   Checking out files:  38% (1213/3191)
> Checkin
>
> g out files:  39% (1245/3191)   Checking out files:  40% (1277/3191)
> Checking
>
> out files:  40% (1308/3191)   Checking out files:  41% (1309/3191)
> Checking ou
>
> t files:  42% (1341/3191)   Checking out files:  42% (1352/3191)
> Checking out
>
> files:  43% (1373/3191)   Checking out files:  44% (1405/3191)   Checking
> out fi
>
> les:  45% (1436/3191)   Checking out files:  46% (1468/3191)   Checking
> out file
>
> s:  47% (1500/3191)   Checking out files:  48% (1532/3191)   Checking out
> files:
>
>   49% (1564/3191)   Checking out files:  49% (1578/3191)   Checking out
> files:
>
> 50% (1596/3191)   Checking out files:  51% (1628/3191)   Checking out
> files:  52
>
> % (1660/3191)   Checking out files:  53% (1692/3191)   Checking out
> files:  54%
>
> (1724/3191)   Checking out files:  55% (1756/3191)   Checking out files:
> 56% (1
>
> 787/3191)   Checking out files:  57% (1819/3191)   Checking out files:
> 58% (185
>
> 1/3191)   Checking out files:  59% (1883/3191)   Checking out files:  60%
> (1915/
>
> 3191)   Checking out files:  61% (1947/3191)   Checking out files:  62%
> (1979/31
>
> 91)   Checking out files:  63% (2011/3191)   Checking out files:  63%
> (2022/3191
>
> )   Checking out files:  64% (2043/3191)   Checking out files:  65%
> (2075/3191)
>
>   Checking out files:  66% (2107/3191)   Checking out files:  67%
> (2138/3191)
>
> Checking out files:  68% (2170/3191)   Checking out files:  69%
> (2202/3191)   Ch
>
> ecking out files:  70% (2234/3191)   Checking out files:  71%
> (2266/3191)   Chec
>
> king out files:  72% (2298/3191)   Checking out files:  73% (2330/3191)
> Checki
>
> ng out files:  74% (2362/3191)   Checking out files:  75% (2394/3191)
> Checking
>
>  out files:  76% (2426/3191)   Checking out files:  77% (2458/3191)
> Checking o
>
> ut files:  78% (2489/3191)   Checking out files:  79% (2521/3191)
> Checking out
>
>  files:  80% (2553/3191)   Checking out files:  81% (2585/3191)   Checking
> out f
>
> iles:  82% (2617/3191)   Checking out files:  83% (2649/3191)   Checking
> out fil
>
> es:  83% (2679/3191)   Checking out files:  84% (2681/3191)   Checking out
> files
>
> :  85% (2713/3191)   Checking out files:  86% (2745/3191)   Checking out
> files:
>
>  87% (2777/3191)   Checking out files:  88% (2809/3191)   Checking out
> files:  8
>
> 9% (2840/3191)   Checking out files:  89% (2845/3191)   Checking out
> files:  90%
>
>  (2872/3191)   Checking out files:  91% (2904/3191)   Checking out files:
> 92% (
>
> 2936/3191)   Checking out files:  93% (2968/3191)   Checking out files:
> 94% (30
>
> 00/3191)   Checking out files:  95% (3032/3191)   Checking out files:  95%
> (3035
>
> /3191)   Checking out files:  96% (3064/3191)   Checking out files:  97%
> (3096/3
>
> 191)   Checking out files:  98% (3128/3191)   Checking out files:  99%
> (3160/319
>
> 1)   Checking out files: 100% (3191/3191)   Checking out files: 100%
> (3191/3191)
>
> , done.
>
>      [exec] Your branch is up to date with 'origin/develop'.
>
>      [exec] Already on 'develop'
>
>
>
> check-royale-typedefs:
>
>
>
> clone-royale-typedefs:
>
>      [echo] cloning royale-typedefs repo into
> C:\Users\aleena\royale-asjs/../roy
>
> ale-typedefs
>
>      [exec] Cloning into 'royale-typedefs'...
>
>      [exec] Your branch is up to date with 'origin/develop'.
>
>      [exec] Already on 'develop'
>
>
>
> check-playerglobal-home:
>
>
>
> check-air-home:
>
>
>
> build-all:
>
>
>
> ask-before-build-all:
>
>     [input] This script will now download and compile lots of files.  This
> can t
>
> ake several minutes.   No interaction should be required.  Press the enter
> key t
>
> o continue.
>
>
>
> sdk:
>
>
>
> annotate.class:
>
>     [mkdir] Created dir: C:\Users\aleena\royale-
> compiler\compiler-build-tools\ta
>
> rget\classes
>
>     [javac] Compiling 1 source file to C:\Users\aleena\royale-
> compiler\compiler-
>
> build-tools\target\classes
>
>     [javac] warning: [options] bootstrap class path not set in conjunction
> with
>
> -source 1.5
>
>     [javac] error: Source option 1.5 is no longer supported. Use 1.6 or
> later.
>
>     [javac] error: Target option 1.5 is no longer supported. Use 1.6 or
> later.
>
>
>
> BUILD FAILED
>
> C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred
> while e
>
> xecuting this line:
>
> C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred
> while e
>
> xecuting this line:
>
> C:\Users\aleena\royale-compiler\build.xml:63: The following error
> occurred while
>
>  executing this line:
>
> C:\Users\aleena\royale-compiler\compiler-build-tools\build.xml:74:
> Compile faile
>
> d; see the compiler error output for details.
>
>
>
> Total time: 17 minutes 59 seconds
>
>
>
> C:\Users\aleena\royale-asjs>
>
>
>
> Unable to Build, Please guide.
>
>
>
> Thanks,
>
> Alina
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Friday, March 02, 2018 10:31 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> I was able to download and expand the files.  I will be consolidating the
> data today.
>
>
>
> In order to be able to write some of these emulations, you will probably
> need to be able to build the framework sources.  If you haven't already,
> you can try cloning the royale-asjs repo and figure out how to get it to
> build.  You can choose Apache Maven or Apache Ant as the build tool.
>
>
>
> https://github.com/apache/royale-asjs
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs&data=02%7C01%7Caharui%40adobe.com%7C3c1833c1fc9442003f2608d5832c7fe0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559149534170415&sdata=YqGTpbzoou8SilHbsTxjriIjiREaS%2FA9j6xjZYRR%2F4E%3D&reserved=0>
>
>
>
> Hopefully the instruction in the readme are sufficient.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Friday, March 2, 2018 at 12:34 AM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> Application API-Report link:
>
> https://www.dropbox.com/s/swvqhly6wa0jrc5/API-Reports.rar?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fswvqhly6wa0jrc5%2FAPI-Reports.rar%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C928c248220464230f6dd08d5801a2f13%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555772324148830&sdata=9%2BsrGG41iCMIEmbtqnEbV%2BPvi1ngE9vF%2BKuqPAZ%2Bzao%3D&reserved=0>
>
> SHMALib Report, applications,shmDoclist,shmSetupList,AppView_EIS,
> AppView_ERP,shmMappingSetup, shmMappingSetupOpenDetailGrid,shmSalesInvoice,
> shmSalesInvoiceDetail are main API Files.
>
>
>
> Regards,
>
> Alina
>
>
>
>
>
>
>
>
>
> *From:* Alina Kazi [mailto:alina.kazi@d-bz.com <al...@d-bz.com>]
> *Sent:* Friday, March 02, 2018 11:32 AM
> *To:* users@royale.apache.org
> *Subject:* RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> 2) We are using Effects in our Application 2-3 times
>
> 4) We are using text styling in our Application 3-5 times
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Friday, March 02, 2018 4:26 AM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> 1) Interesting about Charts.  They were being used by the SWC.
>
> 2) Effects are any animations that move, resize or fade things in the UI.
>
> 3) ok
>
> 4) I'm not sure what to conclude from the screenshot.  I'm interested in
> how often folks use it to create text with bold, italics and other styling
> of text.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Thursday, March 1, 2018 at 4:24 AM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> 600 mxml.api.txt files are generated and still in process. I will share
> link for files tomorrow.
>
> After sharing my files tomorrow, If you will suggest to build  emulations.
>
>
> I will  definitely want to learn how to create emulations and contribute
> them to Apache Royale.
>
> 1.We are not using Charts in our Application
>
> 2. How important are effects? (Please explain effects )
>
> 3. We are not using Right-to-left languages in RichTextEditor.
>
> 4. Is RichTextEditor being used for non-plain text?  If so, what kinds of
> text styling is important?
>
> Link:https://www.dropbox.com/s/ky93eycmefm3cuu/RICHTEXTEDITOR.png?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fky93eycmefm3cuu%2FRICHTEXTEDITOR.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cff526ec5592c42772ade08d57f713736%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555046634193460&sdata=BjS8q1GarTweRfMMmZOKxN%2FTQTqhtzJlm05KAtWnNTQ%3D&reserved=0>
>
> Thanks,
>
> Alina
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Wednesday, February 28, 2018 10:45 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> Good to hear it worked.
>
>
>
> I think I am waiting on all of the mxml.api.txt files to see what else is
> in there that isn't in the two reports we have, then we'll have a pretty
> good list of the places you will either need to change in your code or that
> we  will build emulations for.
>
>
>
> I think emulations will be less work in the end, but there will be a lot
> of them to do.  We will want to you to learn how to create emulations and
> contribute them to Apache Royale.  That's how many Apache projects work:
> some of the users learn how to become committers.  This will be an asset to
> your company as well since you will learn how to fix things in Royale
> yourself.  Then your company won't be dependent on outsiders for support.
>
>
>
> So, Peter and I and hopefully others will get started on some emulations
> to make sure they work for us, and then you can see if they work for you,
> and then we will teach you how to write those emulations.  Over the next
> several months, besides testing emulations written by others in your app,
> you will be writing your own emulations for things you need right away that
> we haven't written yet, or for third-party code that you are using.
>
>
>
> It might help to get some prioritization on the emulations we need to
> write.  In looking at the list, I am wondering:
>
>    1. Are some charts more important than others?
>    2. How important are effects?
>    3. Do you use Right-to-left languages in RichTextEditor?
>    4. Is RichTextEditor being used for non-plain text?  If so, what kinds
>    of text styling is important?
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Wednesday, February 28, 2018 at 1:22 AM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> Thank you.
>
> It’s working with latest nightly build:
>
> https://www.dropbox.com/s/77wkgrm74upkg0j/SHMALib%20Report.txt?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F77wkgrm74upkg0j%2FSHMALib%2520Report.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C16fa845b6d2f4efb7f4a08d57e8e9097%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636554073167111532&sdata=UV0BOZpVonw%2BILcK9njhQdf5pKpqWPccp0IKDPm4jOI%3D&reserved=0>
>
>
>
>
>
> Regards,
>
> Alina
>
>
>
>
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Wednesday, February 28, 2018 1:15 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> Looks like COMPC collected the data but never generated the report.  I
> pushed a fix for that.  Please try the latest nightly build.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Tuesday, February 27, 2018 at 10:35 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> Thank you
>
> After commenting the embedded font part from source.
>
> Output to console:
>
> 3462313 bytes written to D:\SHMALib.swc in 19.878 seconds
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
> "D:\SHMALib.swc"
>
>  -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bin\framewor
>
> ks\flex-config.xml -source-path="D:\SHMALIB\src"
> -include-sources="D:\SHMALIB\sr
>
> c" -library-path+=D:\SHMALIB\libs
>
>
>
> SHMALib.swf file Generated and Report.txt is empty
>
> *SHMALib.swc output Link:*
>
> https://www.dropbox.com/s/4tz49sz134m2gg9/SHMALib.swc?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F4tz49sz134m2gg9%2FSHMALib.swc%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=%2FNcbTJtah21RRPeWfwg2pRaZ72hd%2BdG0iJlnH3GsA28%3D&reserved=0>
>
> then I change, Compc -output "D:\SHMALib.swc" to Compc -output
> "D:\SHMALib. txt "
>
> *SHMALib.txt output Link:*
>
> https://www.dropbox.com/s/j38obt5e36awuh3/SHMALib.txt?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fj38obt5e36awuh3%2FSHMALib.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=V%2FcA5dJ3Fi1qOvh%2BtUlbU%2FZ%2FQ5SBfRw7psjsm2Q%2Fe8w%3D&reserved=0>
>
>
>
> Thanks,
>
> Alina
>
>
>
>
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Wednesday, February 28, 2018 11:18 AM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> The only error right now is the embedded font.
>
>
>
> We can discuss the pros and cons of embedding images in the JS output at
> some other point in time.
>
>
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Tuesday, February 27, 2018 at 10:01 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Big Part of SHMALib Uses Embed and metadata :
>
>
>
>                                 // Embed the font so we can rotate it for
> further distortion
>
>                                 [Embed(systemFont="Comic Sans MS",
>
>
> embedAsCFF='false')]
>
>                 <mx:Image y="4" width="18" height="20" right="185"
> source="@Embed(source='assets/default/images/load.png')"
>
>
> source="@Embed(source='assets/default/images/next.gif')"
> scaleContent="false"/>
>
>                 <mx:Image y="4" width="18" height="20" right="3"
> source="@Embed(source='assets/default/images/magnifier.png')"
>
>      * An IFrame which you can embed into Flex applications to show an
> HTML page.
>
>      * @example A simple application with Google embedded
>
>         // SWF embed object tracking
>
>          * The SWF embed object id.
>
>          * Get the embed object id.
>
>         protected function resolveEmbedObjectId():void
>
>                     var result:Object=ExternalInterface.call(
> IFrameExternalCalls.FUNCTION_ASK_FOR_EMBED_OBJECT_ID,
> randomIdentificationString.toString());
>
>                         logger.info("Resolved the SWF embed object id to
> '{0}'.", applicationId);
>
>                         logger.error('Could not resolve the SWF embed
> object Id.');
>
>             // Resolve the SWF embed object id in the DOM.
>
>             ExternalInterface.call(IFrameExternalCalls.INSERT_
> FUNCTION_ASK_FOR_EMBED_OBJECT_ID);
>
>             resolveEmbedObjectId();
>
>             logger.info("Loading IFrame with id '{0}', on SWF embed
> object with id '{1}'.", _frameId, applicationId);
>
>                     FUNCTION_LOADIFRAME + " = function (frameID, iframeID,
> url, embedID, scrollPolicy)" +
>
>                                       "onLoad='\"+embedID+\".\"+frameID+\"_load();'
> " +
>
>         public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =
> "askForEmbedObjectId";
>
>         public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =
> "askForEmbedObjectId";
>
>         public static var INSERT_FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =
>
>                 "if (document." + FUNCTION_ASK_FOR_EMBED_OBJECT_ID +
> "==null)" +
>
>                     FUNCTION_ASK_FOR_EMBED_OBJECT_ID + " =
> function(randomString) " +
>
>                             "var embeds = document.getElementsByTagName('embed');
> " +
>
>                             "var embeds = document.getElementsByTagName('embed');
> " +
>
>                             "for (var i = 0; i < embeds.length; i++) { " +
>
>                                 "var isTheGoodOne =
> embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " +
>
>                                 "var isTheGoodOne =
> embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " +
>
>                                     "return embeds[i].getAttribute('id');
> " +
>
>                                  * The UITextField control for displaying
> embeded hints.
>
>                                 private var embedTextField:UITextField;
>
>                                  *  The String to be shown as the embeded
> hint.
>
>                                 private var embedStr:String = "";
>
>
> embedStr = "MM DD YYYY";
>
>
> embedStr = "DD MM YYYY";
>
>
> embedStr = "YYYY MM DD";
>
>
> embedStr = "YYYY DD MM";
>
>                                  *  Create child objects for displaying
> embeded hints.
>
>
> embedTextField = new UITextField();
>
>
> //embedTextField.text = embedStr;
>
>
> //embedTextField.text = embedStr;
>
>
> addChildAt(UITextField(embedTextField),getChildIndex(
> DisplayObject(textField)));//as TextField
>
>
>                                                     s =
> embedTextField.text == null ? "":embedTextField.text;
>
>
>                                                     s =
> embedTextField.text == null ? "":embedTextField.text;
>
>
>                                                                     s =
> s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);
>
>
>
> embedTextField.text = s;
>
>
>                                                     s =
> embedTextField.text == null ? "":embedTextField.text;
>
>
>                                                     s =
> embedTextField.text == null ? "":embedTextField.text;
>
>
>                                                                     //s =
> s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);
>
>
>
> //embedTextField.text = s;
>
>
>                                                                     s =
> s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);
>
>
>
> embedTextField.text = s;
>
>
> // If embeded hints are displayed then update the
>
>
> // UITextField corresponding to the embeded hints
>
>
>                                     var s:String = embedTextField.text ==
> null ? "":embedTextField.text;
>
>
>                                     var s:String = embedTextField.text ==
> null ? "":embedTextField.text;
>
>
>                                                     embedTextField.text =
> s;
>
>                                                                 // create
> the embeded text field for showing
>
>                                                                 //
> embeded hints if its not already created.
>
>                                                                 // If it
> is created, then just change the embeded hint.
>
>
> if(!embedTextField)
>
>
> embedTextField = new UITextField();
>
>
> addChildAt(embedTextField,getChildIndex(DisplayObject(textField))); //as
> TextField
>
>
> //embedTextField.text = embedStr;
>
>
> //embedTextField.text = embedStr;
>
>
> embedTextField.alpha = 1;
>
>
> embedTextField.setTextFormat(txtFormat);
>
>
> embedTextField.x = 0;
>
>
> embedTextField.y = 2;
>
>
> embedTextField.setActualSize(width,height);
>
>
> if(embedTextField)
>
>
> embedTextField.text = "";
>
>
> embedTextField = null;
>
>                                                 // setting the color of
> the embeded text field to white.
>
>
> if(embedTextField)
>
>
> embedTextField.setColor(0xFFFFFF);
>
>
> if(embedTextField)
>
>
>                 addChildAt(DisplayObject(newSkin),getChildIndex(
> DisplayObject(embedTextField)));//
>
>    background-image:
> Embed(source="/assets/application_background.png",
>
>                 up-skin:                Embed("/assets/maximize_up.png");
>
>                 over-skin:            Embed("/assets/maximize_over.png");
>
>                 down-skin:         Embed("/assets/maximize_up.png");
>
>                 selected-up-skin:   Embed("/assets/restore_up.png");
>
>                 selected-over-skin: Embed("/assets/restore_over.png");
>
>                 selected-down-skin: Embed("/assets/restore_up.png");
>
>                 up-skin:        Embed("/assets/minimize_up.png");
>
>                 over-skin:      Embed("/assets/minimize_over.png");
>
>                 down-skin:      Embed("/assets/minimize_up.png");
>
>                 up-skin:
> Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30",
> scaleGridLeft="10", scaleGridRight="92");
>
>                 over-skin:
> Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30",
> scaleGridLeft="10", scaleGridRight="92");
>
>                 down-skin:
> Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30",
> scaleGridLeft="10", scaleGridRight="92");
>
>                 selected-up-skin:
> Embed("/assets/tab_selected.png", scaleGridTop="13",
> scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");
>
>                 selected-over-skin:
> Embed("/assets/tab_selected.png", scaleGridTop="13",
> scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");
>
>                 selected-down-skin:
> Embed("/assets/tab_selected.png", scaleGridTop="13",
> scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");
>
>                 up-skin:
> Embed("/assets/left_arrow_up.gif");
>
>                 over-skin:
> Embed("/assets/left_arrow_over.gif");
>
>                 down-skin:
> Embed("/assets/left_arrow_up.gif");
>
>                 disabled-skin:    Embed("/assets/left_arrow_
> disabled.gif");
>
>                 up-skin:
> Embed("/assets/right_arrow_up.gif");
>
>                 over-skin:
> Embed("/assets/right_arrow_over.gif");
>
>                 down-skin:
> Embed("/assets/right_arrow_up.gif");
>
>                 disabled-skin:    Embed("/assets/right_arrow_
> disabled.gif");
>
>                                 //[Embed(source="/assets/
> cursor_move.gif")]
>
>                                 //[Embed(source="/assets/
> cursor_resize.gif")]
>
>                                 [Embed(source="/assets/
> default/images/mouseMove.gif")]
>
>                                 [Embed(source="/assets/
> default/images/verticalSize.gif")]
>
>                                 [Embed(source="/assets/
> default/images/horizontalSize.gif")]
>
>                                 [Embed(source="/assets/default/images/
> leftObliqueSize.gif")]
>
>                                 [Embed(source="/assets/default/images/
> rightObliqueSize.gif")]
>
>                                                 if (image.isEmbedded)
>
>                                                 //if
> (!Application.application.systemManager.isFontFaceEmbedded(textFormat))
>
>                                                 if (!FlexGlobals.
> topLevelApplication.systemManager.isFontFaceEmbedded(textFormat))
>
>                                                                 if
> (Application.application.isFontsEmbedded) {
>
>                                                                 if
> (Application.application.isFontsEmbedded) {
>
>                                                                 if
> (Application.application.isFontsEmbedded) {
>
>                                 private var _isEmbedded:Boolean = false;
>
>                                 public function set
> isEmbedded(embedded:Boolean):void
>
>                                 public function set
> isEmbedded(embedded:Boolean):void
>
>                                                 _isEmbedded = embedded;
>
>                                                 _isEmbedded = embedded;
>
>                                 public function get isEmbedded():Boolean
>
>                                                 return _isEmbedded;
>
>                                                 <mx:icon>@Embed(source='
> images/print.GIF')</mx:icon>
>
>                                                 <mx:icon>@Embed(source='
> images/reload.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/first-gray.GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/first.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/previous-gray.
> GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/previous.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/next-gray.GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/next.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/last-gray.GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/last.GIF')</mx:icon>
>
>
> <mx:icon>@Embed(source='images/actualsize.GIF')</mx:icon>
>
>
> <mx:icon>@Embed(source='images/fitpage.GIF')</mx:icon>
>
>
> <mx:icon>@Embed(source='images/fitwidth.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/zoomin-gray.GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/zoomin.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/zoomout-gray.
> GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/zoomout.GIF')</mx:icon>
>
>
> <mx:icon>@Embed(source='images/print.GIF')</mx:icon>
>
>                                                 if (
> imageSourceXml.@isEmbedded.length() > 0)
>
>
> image.isEmbedded = imageSourceXml.@isEmbedded == "true";
>
>
> image.isEmbedded = imageSourceXml.@isEmbedded == "true";
>
>                  source="@Embed(source='/assets/default/images/left_
> arrow_up.gif')"/>
>
>                  source="@Embed(source='/assets/default/images/left_
> arrow_over.gif')"/>
>
>                  source="@Embed(source='/assets/default/images/left_arrow_disabled.gif')"/>
>
>
>
>    source="@Embed(source='/com/shm/flexlib/mdi/assets/img/
> maximizeButton.png')"/>
>
>
>    height="12" source="@Embed(source='/com/shm/flexlib/mdi/assets/img/
> restoreButton.png')"/>
>
>
>    source="@Embed(source='/com/shm/flexlib/mdi/assets/img/
> minimizeButton.png')"/>
>
>                  source="@Embed(source='/assets/default/images/right_
> arrow_up.gif')"/>
>
>                  source="@Embed(source='/assets/default/images/right_
> arrow_over.gif')"/>
>
>                  source="@Embed(source='/assets/default/images/right_arrow_disabled.gif')"/>
>
>
>
>
>
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Wednesday, February 28, 2018 11:00 AM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> I think you can ignore the warnings.  The first error is for embedding a
> font, which Royale doesn't currently support, so for now, try commenting
> out the Embed metadata and see if that allows the error to go away.
>
>
>
> I would look into the other errors to see if they are legitimate or not.
> The Royale Compiler will catch some things the MXMLC compiler may not.  Or
> you could comment out the code involved in the two errors in TImeZone.as
> for now since that won't affect the report.
>
>
>
> The final two errors I saw are for missing skin states.  I think you can
> just add the skin states.
>
>
>
> HTH,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Tuesday, February 27, 2018 at 9:35 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> While Executing
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
> "D:\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"
> -include-sources="D:\SHMALIB\src"
>
> Or
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
> "D:\Flex\libs\SH
>
> MALIB.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bi
>
> n\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"
> -include-sources="D:\
>
> SHMALIB\src" -library-path+=D:\SHMALIB\libs
>
>
>
> *Error:*
>
> (file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar)
> to
>
> field java.lang.Thread.inheritableThreadLocals
>
> WARNING: Please consider reporting this to the maintainers of
> com.google.common.
>
> base.internal.Finalizer
>
> WARNING: Use --illegal-access=warn to enable warnings of further illegal
> reflect
>
> ive access operations
>
> WARNING: All illegal access operations will be denied in a future release
>
> Loading configuration: D:\apache-flex-sdk-4.16.0-bin\
> frameworks\flex-config.xml
>
>
>
> Warning: Duplicate declaration of SkinState 'normal'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'disabled'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'normal'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'disabled'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'normal'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'disabled'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'normal'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'disabled'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'normal'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'disabled'
>
>
>
>
>
> D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(415): col: 50
> Warning:
>
> Data binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject channelSet="{parentApplication.
> amfChannelSet}"
>
> id="DataProviderService"  showBusyCursor="true"
>
>                                                                ^
>
>
>
> D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(419): col: 50
> Warning:
>
> Data binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject channelSet="{parentApplication.
> amfChannelSet}"
>
> id="BasicFormatterService"  showBusyCursor="true"
>
>                                                                ^
>
>
>
> D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(516): col: 50
> Warning: Da
>
> ta binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject channelSet="{parentApplication.
> amfChannelSet}"
>
> id="DataProviderService"  showBusyCursor="true"
>
>                                                                ^
>
>
>
> D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(520): col: 50
> Warning: Da
>
> ta binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject channelSet="{parentApplication.
> amfChannelSet}"
>
> id="BasicFormatterService"  showBusyCursor="true"
>
>                                                                ^
>
>
>
> D:\SHMALIB\src\com\shm\components\shmCaptchaImage.as(43): col: 3 Error:
> Embed re
>
> quires a 'source' file attribute
>
>
>
>                 [Embed(systemFont="Comic Sans MS",
>
>                 ^
>
>
>
> D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(37): col: 88
> Warning: Data
>
> binding will not be able to detect assignments to 'isSelected'.
>
>
>
>                                         <mx:CheckBox
> selectedField="isSelected"
>
>  change="onChange(event);" selected="{data.isSelected}">
>
>
>
>                                           ^
>
>
>
> D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(46): col: 27
> Warning: Data
>
> binding will not be able to detect assignments to 'label'.
>
>
>
>                                         <mx:Label text="{data.label}" />
>
>                                                              ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(126): col: 15
> Error: Impli
>
> cit coercion of a value of type Boolean to an unrelated type Number.
>
>
>
>                                 if(year & 0x3 == 0)
>
>                                           ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(134): col: 39
> Error: Impli
>
> cit coercion of a value of type Boolean to an unrelated type Number.
>
>
>
>                                 if(month == 1 && value.fullYear & 0x3 ==
> 0)
>
>                                                                   ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\renderers\GridPodURLRenderer.mxml(6):
> col: 23 W
>
> arning: Data binding will not be able to detect assignments to 'SrNo'.
>
>
>
>                   htmlText="&lt;u&gt;{data.SrNo}&lt;/u&gt;" color="blue"
> click="
>
> f_DrillDownData(data)">
>
>                                     ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml
> Error:
>
> The required skin state 'disabledWithPrompt' is missing.
>
>
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml
> Error:
>
> The required skin state 'normalWithPrompt' is missing.
>
>
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(177): col: 27
> Warning: D
>
> ata binding will not be able to detect assignments to 'valueField'.
>
>
>
>                                                 yField="{properties.@
> valueField}
>
> ">
>
>                                                                     ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(187): col: 34
> Warning: D
>
> ata binding will not be able to detect assignments to 'categoryField'.
>
>
>
>
> categoryField="{properties.@cate
>
> goryField}" />
>
>
> ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(202): col: 27
> Warning: D
>
> ata binding will not be able to detect assignments to 'valueField'.
>
>
>
>                                                 yField="{properties.@
> valueField}
>
> ">
>
>                                                                     ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(212): col: 34
> Warning: D
>
> ata binding will not be able to detect assignments to 'categoryField'.
>
>
>
>
> categoryField="{properties.@cate
>
> goryField}" />
>
>
> ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(429): col: 27
> Warning: D
>
> ata binding will not be able to detect assignments to 'valueField'.
>
>
>
>                                                 yField="{properties.@
> valueField}
>
> ">
>
>                                                                     ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(439): col: 34
> Warning: D
>
> ata binding will not be able to detect assignments to 'categoryField'.
>
>
>
>
> categoryField="{properties.@cate
>
> goryField}" />
>
>
> ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(454): col: 27
> Warning: D
>
> ata binding will not be able to detect assignments to 'valueField'.
>
>
>
>                                                 yField="{properties.@
> valueField}
>
> ">
>
>                                                                     ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(464): col: 34
> Warning: D
>
> ata binding will not be able to detect assignments to 'categoryField'.
>
>
>
>
> categoryField="{properties.@cate
>
> goryField}" />
>
>
> ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(479): col: 26
> Warning: D
>
> ata binding will not be able to detect assignments to 'valueField'.
>
>
>
>
> field="{properties.@valueField}"
>
>
>
>                                                                    ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(115): col: 74
> Warning
>
> : Data binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject id="roDrillDownColInfo"
> channelSet="{parentAppl
>
> ication.amfChannelSet}" showBusyCursor="true"
>
>
>
>        ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(118): col: 68
> Warning
>
> : Data binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject id="roDgDpResult"
> channelSet="{parentApplicatio
>
> n.amfChannelSet}" showBusyCursor="true"
>
>
>
>  ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\PieChartContent.mxml(128): col: 24
> Warning
>
> : Data binding will not be able to detect assignments to 'valueField'.
>
>
>
>                                 field="{properties.@valueField}"
>
>                                                    ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 37
> Warning: Dat
>
> a binding will not be able to detect assignments to 'appParams'.
>
>
>
>
> inputMask="{parentApplic
>
> ation.appParams.DATE_FORMAT}" showToday="true"
> yearNavigationEnabled="true"
>
>
>
>      ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 47
> Warning: Dat
>
> a binding will not be able to detect assignments to 'DATE_FORMAT'.
>
>
>
>
> inputMask="{parentApplic
>
> ation.appParams.DATE_FORMAT}" showToday="true"
> yearNavigationEnabled="true"
>
>
>
>                ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 38
> Warning: Dat
>
> a binding will not be able to detect assignments to 'appParams'.
>
>
>
>
> inputMask="{parentAppli
>
> cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true"
> showToday="true"
>
>
>
>       ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 48
> Warning: Dat
>
> a binding will not be able to detect assignments to 'DATE_FORMAT'.
>
>
>
>
> inputMask="{parentAppli
>
> cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true"
> showToday="true"
>
>
>
>                 ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(12): col: 11
> Warnin
>
> g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.
>
>
>
>                         import mx.graphics.Stroke;
>
>                                ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(37): col: 23
> Warnin
>
> g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.
>
>
>
>                                         lne.stroke = new Stroke(0,1,.3);
>
>                                                          ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(46): col: 14
> Warnin
>
> g: Duplicate variable definition: i.
>
>
>
>                                 for (var i:int = 1; i < lnWdt; i++){
>
>                                          ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(47): col: 10
> Warnin
>
> g: Duplicate variable definition: lne.
>
>
>
>                                         var lne:Line  = new Line();
>
>                                             ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(53): col: 23
> Warnin
>
> g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.
>
>
>
>                                         lne.stroke = new Stroke(0,1,.3);
>
>                                                          ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(54): col: 10
> Warnin
>
> g: Duplicate variable definition: llbe.
>
>
>
>                                         var llbe:Label = new Label();
>
>                                             ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(157): col:
> 40 Warn
>
> ing: 'application' has been deprecated since 4.0. Please use
> 'FlexGlobals.topLev
>
> elApplication'.
>
>
>
>                                 var xPosition:Number =
> Application.application.p
>
> arent.mouseX;
>
>                                                                    ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(158): col:
> 40 Warn
>
> ing: 'application' has been deprecated since 4.0. Please use
> 'FlexGlobals.topLev
>
> elApplication'.
>
>
>
>                                 var yPosition:Number =
> Application.application.p
>
> arent.mouseY;
>
>                                                                    ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(225): col:
> 36 Warn
>
> ing: 'application' has been deprecated since 4.0. Please use
> 'FlexGlobals.topLev
>
> elApplication'.
>
>
>
>                                 var xPlus:Number =
> Application.application.paren
>
> t.mouseX - point.x;
>
>                                                                ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(226): col:
> 36 Warn
>
> ing: 'application' has been deprecated since 4.0. Please use
> 'FlexGlobals.topLev
>
> elApplication'.
>
>
>
>                                 var yPlus:Number =
> Application.application.paren
>
> t.mouseY - point.y;
>
>
>
> Thanks,
>
> Alina Kazi
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Wednesday, February 28, 2018 10:16 AM
> *To:* Alina Kazi; users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> I think that Flash Builder makes it easy to build SWCs.  Building from the
> command line can be a bit trickier.
>
>
>
> Let's try:
>
> Compc -output "D:\SHMALib.swc" -api-report="D:\report.txt"
> -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml
> -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\src"
>
>
>
> HTH,
>
> -Alex
>
>
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Date: *Tuesday, February 27, 2018 at 7:28 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>, Alex Harui <
> aharui@adobe.com>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> Yes I am using Flash Builder.
>
> SHMALIB and MainFlexApp are two separate Projects
>
> Src for SHMALIB is placed into D:/SHMALIB/src
>
> Src for MainFlexApp is D:/Flex/src and the library output file SHMALIB.swc
> is placed into D:/Flex/libs
>
>
>
> SHMALIB (.actionscriptProperties)
>
>
>
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
>
> <actionScriptProperties mainApplicationPath="SHMALib.as"
> projectUUID="863559ab-3e7b-475b-a3a4-09f4f76fc0d2" version="6">
>
>   <compiler additionalCompilerArguments="-locale en_US"
> autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false"
> generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false"
> htmlHistoryManagement="false" htmlPlayerVersionCheck="true"
> includeNetmonSwc="false" outputFolderLocation="D:/Flex/libs"
> outputFolderPath="bin-debug" sourceFolderPath="src" strict="true"
> targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true"
> verifyDigests="true" warn="true">
>
>     <compilerSourcePath/>
>
>     <libraryPath defaultLinkType="0">
>
>       <libraryPathEntry kind="4" path="">
>
>         <excludedEntries>
>
>           <libraryPathEntry kind="3" linkType="1"
> path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>
>
>         </excludedEntries>
>
>       </libraryPathEntry>
>
>       <libraryPathEntry kind="1" linkType="1" path="libs"/>
>
>     </libraryPath>
>
>     <sourceAttachmentPath/>
>
>   </compiler>
>
>   <applications>
>
>     <application path="SHMALib.as"/>
>
>   </applications>
>
>   <modules/>
>
>   <buildCSSFiles/>
>
> </actionScriptProperties>
>
>
>
> SHMALIB (.flexLibProperties)
>
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
>
> <flexLibProperties includeAllClasses="true" version="3">
>
>   <includeClasses/>
>
>   <includeResources/>
>
>   <namespaceManifests/>
>
> </flexLibProperties>
>
>
>
> Thanks,
>
> Alina
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Tuesday, February 27, 2018 9:34 PM
> *To:* Alina Kazi
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> When you are not trying to use Royale to generate this API report, how are
> you building your current Flex app?  We might need to know that in order to
> determine what parameters to add to COMPC.
>
>
>
> COMPC has additional parameters like -include–sources, include-file,
> include-classes.  Sometimes, these are listed in an xml file.  If you are
> using Flash Builder, for example, then examine the .flexlibproperties and
> .actionscriptProperties files in your project folder.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Date: *Tuesday, February 27, 2018 at 3:21 AM
> *To: *'Alina Kazi' <al...@d-bz.com>
> *Cc: *Alex Harui <ah...@adobe.com>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
> "D:\SHMALib.swc"
>
>  -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"
>
> Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> WARNING: An illegal reflective access operation has occurred
>
> WARNING: Illegal reflective access by com.google.common.base.
> internal.Finalizer
>
> (file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar)
> to
>
> field java.lang.Thread.inheritableThreadLocals
>
> WARNING: Please consider reporting this to the maintainers of
> com.google.common.
>
> base.internal.Finalizer
>
> WARNING: Use --illegal-access=warn to enable warnings of further illegal
> reflect
>
> ive access operations
>
>
>
> Error: nothing was specified to be included in the library.
>
> -Alina
>
>
>
> *From:* Alina Kazi [mailto:alina.kazi@d-bz.com <al...@d-bz.com>]
> *Sent:* Tuesday, February 27, 2018 2:16 PM
> *To:* 'users@royale.apache.org'
> *Subject:* RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> I am using Moonshine IDE 1.9.0.
>
> Flex 4.16.0
>
> Apache Royale 0.9.2 Latest Nightly Build
>
>
>
> *Running this Command on Command Prompt:*
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
> "D:\SHMALib.swc"
>
>  -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"
>
> Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> WARNING: An illegal reflective access operation has occurred
>
> WARNING: Illegal reflective access by com.google.common.base.
> internal.Finalizer
>
> (file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar)
> to
>
> field java.lang.Thread.inheritableThreadLocals
>
> WARNING: Please consider reporting this to the maintainers of
> com.google.common.
>
> base.internal.Finalizer
>
> WARNING: Use --illegal-access=warn to enable warnings of further illegal
> reflect
>
> ive access operations
>
> WARNING: All illegal access operations will be denied in a future release
>
>
>
> *command line Error: unknown configuration variable 'sourceΓÇôpath'.*
>
>
>
> -Alina
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Tuesday, February 27, 2018 1:26 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> COMPC takes a slightly different set of parameters.  What IDE or build
> tools are you using to build it without Royale?  You might need to know
> what options that build uses.
>
>
>
> You can try running:
>
>
>
> Compc -output "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc"
> -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bin\frameworks\flex-config.xml -source–path="D:\Projects\SHMA\Main\Flex\src"
> or wherever the source code is for the library.
>
>
>
> HTH,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, February 26, 2018 at 11:33 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> For custom SWC, I am using COMPC to get an api-report for SWC
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>compc
> "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc" -api-report="D:\report.txt"
> -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml
>
> *Error:* configuration variable 'output' was not set.
>
>
>
>
>
> Thanks,
>
> Alina
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Tuesday, February 27, 2018 12:27 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> Yes, any SWC that is not in the Flex SDK's frameworks/libs folder needs to
> be specified as Piotr describes below.  We want you specify the same MXML
> file that you use to compile in the regular Flex SDK.  So if your
> Application.mxml starts with an mx:Application or s:Application that’s
> probably the one to use.  But also, if you have your own custom SWCs, we
> want you to use COMPC to get an api-report for those SWCs.  We want this
> modified Royale compiler to compile every source file you own so we can see
> what Flex APIs you are using.
>
>
>
> HTH,
>
> -Alex
>
>
>
> *From: *Piotr Zarzycki <pi...@gmail.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, February 26, 2018 at 11:19 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> In my sense you will have to use -library-path+=path to the library. You
> have to tell compiler about that library.
>
>
>
> Thanks, Piotr
>
>
>
> 2018-02-27 7:57 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>
> Hi  Alex,
>
> *With latest nightly build:*
>
> MaskedTextInput , shmReportUtil …. Are Library Project Actionscript Files.
>
> Main Application contains SHMALib.swc file in Libs folder
>
> Error Link:
>
> https://www.dropbox.com/s/p5imt22cuut0ex6/ErrorGeneratingReport.png?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fp5imt22cuut0ex6%2FErrorGeneratingReport.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=8f1f9duW2Red4bP77hFTh3mLcCptBmAwd87n1iSkk%2Bs%3D&reserved=0>
>
>
>
> I have a question that which .mxml file should be used to generate that
> report?
>
> Applications.mxml is startup file in case of my Project so I’m using it.
>
>
>
> Please visit reference link and If I’m doing anything wrong please let me
> know.
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com]
> *Sent:* Tuesday, February 27, 2018 12:00 AM
>
>
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> I pushed a fix for that.  It might or might not be related to your custom
> swc.  Get the latest nightly build and let us know.
>
>
>
> Also, if you are successful, please use your regular compiler to generate
> a -link–report.  That will help us verify that the API report didn't miss
> anything.
>
>
>
> Thanks,
>
> -Alex
>
>
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, February 26, 2018 at 4:01 AM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Generated Report file for Sample Project Successfully.
>
>
>
> spark.components.Application:minHeight,1
>
> spark.components.Application:minWidth,1
>
> spark.components.Application:mxmlContentFactory,2
>
> spark.components.Label:fontSize,1
>
> spark.components.Label:fontWeight,1
>
> spark.components.Label:horizontalCenter,1
>
> spark.components.Label:text,1
>
> spark.components.Label:textAlign,1
>
> spark.components.Label:verticalCenter,1
>
>
>
> But while executing Actual Project got Error:
>
> https://www.dropbox.com/s/d25eysllavuy5z4/compile2.png?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fd25eysllavuy5z4%2Fcompile2.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=2i28J4zjv1vEQ7sd%2BGfHm%2Bh1FjG%2BP3YdJCc6rGZr3C4%3D&reserved=0>
>
> https://www.dropbox.com/s/49iq74zk6rxcr1y/compile1.png?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F49iq74zk6rxcr1y%2Fcompile1.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=44tfkOscWyJ%2FH3M30HeJ6dfFE0TlpTMhQ2t%2Bv%2ByuoDg%3D&reserved=0>
>
>
>
> May be because my Application is dependent to SHMALib(.swc) Library
> Project (Source Shared Earlier).
>
>
>
> -Alina
>
>
>
> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com
> <pi...@gmail.com>]
> *Sent:* Monday, February 26, 2018 5:02 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Alex,
>
>
>
> I did above exercise for Moonshine and got NPE [1]. I used air-config.xml
> because it is na Desktop app.
>
>
>
> [1] https://paste.apache.org/R0Si
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FR0Si&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=tFLrK9xsVt57PytwBaNoUJ%2FIPFH7FCHDtfrmJ1sAl3Y%3D&reserved=0>
>
>
>
>
> Thanks,
>
> Piotr
>
>
>
>
>
> 2018-02-26 12:56 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
>
> Yishay,
>
>
>
> Thank you so much!! I got it working.
>
>
>
> Alina,
>
>
>
> Here is the full instruction.
>
>
>
> 1) Download Apache Royale with SWF support - if you have that is good, if
> not it's here [1]
>
> 2) Download Apache Flex - you have it as I have seen on the screenshot.
>
> 3) Launch console and go to the Royale SDK folder
>
>
>
> "yourpathtosdk\bin\" - In my case it was: "d:\Work\royale_ide\royale_
> nightly_js_swf\bin\"
>
>
>
> 4) Run following command where you will point to the Flex Browser
> application in order to generate report. My command looks like that:
>
>
>
> mxmlc "c:\Users\piotr\Documents\NewFlexBrowserProject\src\NewFlexBrowserProject.mxml"
> -api-report="c:\Users\piotr\Documents\NewFlexBrowserProject\report.txt"
> -load-config=d:\Work\flex-sdk-4.16.1_adobe_air_28\
> frameworks\flex-config.xml
>
>
>
> I generated report for hellow world. Maybe in order to generate report for
> your application that console command may be much more sophisticated. Let's
> see!
>
>
>
>
>
> [1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/
> lastSuccessfulBuild/artifact/out/
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2Fout%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=O%2BpVQ8OuhB%2FtE4ZdylTSkAQCWsIPBGlr9RgiTjWSWEM%3D&reserved=0>
>
>
>
> Thanks,
>
> Piotr
>
>
>
>
>
> 2018-02-26 12:46 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:
>
> Looks like [1] you do need to add compiler option: -api–report=<path to
> output file>
>
>
>
> [1] http://apache-royale-users.20374.n8.nabble.com/
> Substitutes-in-Apache-Royale-tp392p492.html
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p492.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kda6SpkBgdRqGAeGJ5Db629EAy7KAVbOZKzhzhynRZk%3D&reserved=0>
>
>
>
>
>
> *From: *Piotr Zarzycki <pi...@gmail.com>
> *Sent: *Monday, February 26, 2018 1:37 PM
>
>
> *To: *users@royale.apache.org
> *Subject: *Re: Generating API report for Flex Web Browser application
>
>
>
> I have produced with that swf, but what's next? Let's wait for Alex's
> response [1]
>
>
>
> [1] https://paste.apache.org/YEeG
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FYEeG&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8ameYzJ7AloOW4nTa8dqu7zYxwORSQc5sCUqpZDVA%2BY%3D&reserved=0>
>
>
>
> Thanks,
>
> Piotr
>
>
>
> 2018-02-26 12:32 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:
>
> Alex will know but I don’t think so. I haven’t updated the compiler
> recently so can’t test it right now. If you want to test it maybe just
> create a simple app and replace /Users/aharui/ApacheFlex4.16.0 with your
> sdk home.
>
>
>
>
>
>
>
> *From: *Piotr Zarzycki <pi...@gmail.com>
> *Sent: *Monday, February 26, 2018 1:25 PM
> *To: *users@royale.apache.org
> *Subject: *Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Yishay,
>
>
>
> bin/mxmlc
>
> <path to app's
>
> .mxml
>
> file>
>
> -load-config=/Users/aharui/ApacheFlex4.16.0/frameworks/flex-config.xml
>
>
>
> Do I need some switch for compiler -api-report or something like that ?
>
>
>
> Thanks,
>
> Piotr
>
>
>
>
>
> 2018-02-26 12:10 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:
>
> Wasn’t logged in. Here’s [1] the link.
>
>
>
> [1] http://apache-royale-users.20374.n8.nabble.com/
> Substitutes-in-Apache-Royale-tp392p489.html
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p489.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8Tp5%2BFveKS0eoW7D8EovITPQqYrgwDK4P7cW9izXFH8%3D&reserved=0>
>
>
>
>
>
> *From: *Yishay Weiss <yi...@hotmail.com>
> *Sent: *Monday, February 26, 2018 12:59 PM
> *To: *users@royale.apache.org
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> I couldn’t find a way to link to a nabble post, but this [1] might help
> (from Substitutes in Apache Royale).
>
>
>
> [1] https://paste.apache.org/N2QR
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FN2QR&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=VIS8u6EEBWN6jQrFxpttZvAfUCSSKPe3rbrBDU2w7Sg%3D&reserved=0>
>
>
>
> *From: *Piotr Zarzycki <pi...@gmail.com>
> *Sent: *Monday, February 26, 2018 12:44 PM
> *To: *users@royale.apache.org
> *Subject: *Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> I would like to understand how to generate that report. I will go with the
> console path, because I think this is something unusual and probably
> Moonshine is not prepared to do this. I'm writing this on the users mailing
> list because Alina is having some problems with that. I wanted to simplify
> all of that. Let's start from the beginning.
>
>
>
> 1) I have created Flex Web browser project using Apache Flex SDK 4.16.1.
>
> 2) I have nightly build of Royale with SWF support [1]
>
>
>
> What should I type in the console now ?
>
>
>
> [1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/
> lastSuccessfulBuild/artifact/
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=UtYFFQ90aNB2HU2Vx4t8YAS6Eo2j1ZqVAytujEOgoFM%3D&reserved=0>
>
>
>
> Thanks,
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>
>
>
>
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>
>
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>
>
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=zGrfZ2Wj3CLuuW%2B%2BKtUSQF6762Vn0%2BeNjCMlViBMghg%3D&reserved=0>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>



-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

Posted by Piotr Zarzycki <pi...@gmail.com>.
Please try again build. Maybe it was some temporary problem. My build is
running right now without the problem. Maven downloading dependencies
nicely.

Thanks, Piotr

2018-03-07 6:39 GMT+01:00 Alina Kazi <al...@d-bz.com>:

> Hi Piotr,
>
> Its Working.
>
> This XML file does not appear to have any style information associated
> with it. The document tree is shown below.
>
> <metadata modelVersion="1.1.0">
>
> <groupId>org.apache.flex.utilities.converter</groupId>
>
> <artifactId>retrievers</artifactId>
>
> <version>1.0.0-SNAPSHOT</version>
>
> <versioning>
>
> <snapshot>
>
> <timestamp>20171112.204231</timestamp>
>
> <buildNumber>490</buildNumber>
>
> </snapshot>
>
> <lastUpdated>20171112204231</lastUpdated>
>
> <snapshotVersions>
>
> <snapshotVersion>
>
> <extension>pom</extension>
>
> <value>1.0.0-20171112.204231-490</value>
>
> <updated>20171112204231</updated>
>
> </snapshotVersion>
>
> </snapshotVersions>
>
> </versioning>
>
> </metadata>
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com]
> *Sent:* Wednesday, March 07, 2018 10:48 AM
> *To:* users@royale.apache.org
> *Subject:* Re: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Hi Alina,
>
>
>
> I just removed my whole local repository and trying exactly the same
> scenario. Just quick question can you try in your browser open this link ?
> Is it working ?
>
>
>
> http://repository.apache.org/snapshots/org/apache/flex/
> utilities/converter/retrievers/1.0.0-SNAPSHOT/maven-metadata.xml
>
>
>
> Thanks,
>
> Piotr
>
>
>
> 2018-03-07 6:27 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>
> Hi Piotr,
>
> Using Maven :
>
> C:\Users\aleena>git clone https://github.com/apache/royale-typedefs.git
> royale-a
>
> sjs
>
> Cloning into 'royale-asjs'...
>
> remote: Counting objects: 3318, done.
>
> remote: Compressing objects: 100% (93/93), done.
>
> remote: Total 3318 (delta 48), reused 76 (delta 16), pack-reused 3200
>
> Receiving objects: 100% (3318/3318), 3.51 MiB | 244.00 KiB/s, done.
>
> Resolving deltas: 100% (1337/1337), done.
>
>
>
> C:\Users\aleena>cd royale-asjs
>
>
>
> C:\Users\aleena\royale-asjs>git checkout develop
>
> Already on 'develop'
>
> Your branch is up to date with 'origin/develop'.
>
>
>
> C:\Users\aleena\royale-asjs>mvn -s settings-template.xml clean install
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> Downloading from apache-snapshots: http://repository.apache.org/
> snapshots/org/ap
>
> ache/flex/utilities/converter/flex-sdk-converter-maven-
> extension/1.0.0-SNAPSHOT/
>
> maven-metadata.xml
>
> [WARNING] Could not transfer metadata org.apache.flex.utilities.
> converter:flex-s
>
> dk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from/to
> apache-sn
>
> apshots (http://repository.apache.org/snapshots/): Connect to
> repository.apache.
>
> org:80 [repository.apache.org/207.244.88.140] failed: Connection timed
> out: conn
>
> ect
>
> [WARNING] Failure to transfer org.apache.flex.utilities.
> converter:flex-sdk-conve
>
> rter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from
> http://repository.ap
>
> ache.org/snapshots/ was cached in the local repository, resolution will
> not be r
>
> eattempted until the update interval of apache-snapshots has elapsed or
> updates
>
> are forced. Original error: Could not transfer metadata
> org.apache.flex.utilitie
>
> s.converter:flex-sdk-converter-maven-extension:1.0.
> 0-SNAPSHOT/maven-metadata.xml
>
>  from/to apache-snapshots (http://repository.apache.org/snapshots/):
> Connect to
>
> repository.apache.org:80 [repository.apache.org/207.244.88.140] failed:
> Connecti
>
> on timed out: connect
>
> Downloading from apache-snapshots: http://repository.apache.org/
> snapshots/org/ap
>
> ache/flex/utilities/converter/flex-sdk-converter-maven-
> extension/1.0.0-SNAPSHOT/
>
> flex-sdk-converter-maven-extension-1.0.0-SNAPSHOT.pom
>
> [WARNING] Failed to read extensions descriptor
> C:\Users\aleena\royale-asjs\.mvn\
>
> extensions.xml: Plugin org.apache.flex.utilities.
> converter:flex-sdk-converter-ma
>
> ven-extension:1.0.0-SNAPSHOT or one of its dependencies could not be
> resolved: F
>
> ailed to read artifact descriptor for org.apache.flex.utilities.
> converter:flex-s
>
> dk-converter-maven-extension:jar:1.0.0-SNAPSHOT
>
> [INFO] Scanning for projects...
>
> Downloading from apache-release: https://repository.apache.org/
> content/repositor
>
> ies/releases/org/apache/apache/18/apache-18.pom
>
> Downloading from central: https://repo.maven.apache.org/
> maven2/org/apache/apache
>
> /18/apache-18.pom
>
> [ERROR] [ERROR] Some problems were encountered while processing the POMs:
>
> [FATAL] Non-resolvable parent POM for org.apache.royale.typedefs:
> royale-typedefs
>
> -parent:0.9.2-SNAPSHOT: Could not transfer artifact
> org.apache:apache:pom:18 fro
>
> m/to apache-release (https://repository.apache.org/content/repositories/
> releases
>
> ): Connect to repository.apache.org:443 [repository.apache.org/207.
> 244.88.140] f
>
> ailed: Connection timed out: connect and 'parent.relativePath' points at
> wrong l
>
> ocal POM @ line 23, column 11
>
>  @
>
> [ERROR] The build could not read 1 project -> [Help 1]
>
> [ERROR]
>
> [ERROR]   The project org.apache.royale.typedefs:
> royale-typedefs-parent:0.9.2-SN
>
> APSHOT (C:\Users\aleena\royale-asjs\pom.xml) has 1 error
>
> [ERROR]     Non-resolvable parent POM for org.apache.royale.typedefs:
> royale-type
>
> defs-parent:0.9.2-SNAPSHOT: Could not transfer artifact
> org.apache:apache:pom:18
>
>  from/to apache-release (https://repository.apache.
> org/content/repositories/rele
>
> ases): Connect to repository.apache.org:443 [repository.apache.org/207.
> 244.88.14
>
> 0] failed: Connection timed out: connect and 'parent.relativePath' points
> at wro
>
> ng local POM @ line 23, column 11 -> [Help 2]
>
> [ERROR]
>
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e swit
>
> ch.
>
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>
> [ERROR]
>
> [ERROR] For more information about the errors and possible solutions,
> please rea
>
> d the following articles:
>
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/
> ProjectBuildin
>
> gException
>
> [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/
> UnresolvableMo
>
> delException
>
>
>
> C:\Users\aleena\royale-asjs>
>
>
>
> Thanks
>
> Alina
>
>
>
> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com]
> *Sent:* Tuesday, March 06, 2018 5:30 PM
> *To:* users@royale.apache.org
> *Subject:* Re: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Hi Alina,
>
>
>
> You can try to go with Maven to see whether you have similar problems [1]
>
>
>
> [1] https://github.com/apache/royale-asjs/wiki/Build-Apache-
> Royale-with-Maven
>
>
>
> Thanks, Piotr
>
>
>
> 2018-03-06 13:12 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>
> Hi Alex,
>
> Still getting same error, while executing:
>
> C:\Users\aleena\royale-asjs>ant all
>
> Website link is working :
>
> http://www.antlr.org/license.html
>
>
>
> could be only issue , Antlr server will be off-line ?
>
>
>
> Thanks,
>
> Alina
>
> *From:* Alina Kazi [mailto:alina.kazi@d-bz.com]
> *Sent:* Tuesday, March 06, 2018 4:38 PM
> *To:* 'users@royale.apache.org'
> *Subject:* RE: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Hi Alex,
>
>
>
> We can exclude ScaleX , ScaleY,transform from our code as we are using it
> in our Library Project Only.
>
> We are using “Rotation” in a PopUp Window.
>
>
>
> Can you please explain *emulation* ?
>
> How do they will work?
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alina Kazi [mailto:alina.kazi@d-bz.com]
> *Sent:* Tuesday, March 06, 2018 3:14 PM
> *To:* 'users@royale.apache.org'
> *Subject:* RE: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Hi Alex,
>
> We are using commitProperties() in our Library Project. Overriding the
> Existing Spark commitProperties() method
>
> For Example:
>
> ResizableTextAreaSkin.mxml (SHMALib)
>
> override protected function commitProperties():void {
>
>                                                 super.commitProperties();
>
>
>
>                                                 if (lineBreakChanged) {
>
>
> updateStringStyle("lineBreak");
>
>
> lineBreakChanged = false;
>
>                                                 }
>
>                                                 if (paddingChanged) {
>
>
> updatePadding();
>
>
> paddingChanged = false;
>
>                                                 }
>
>                                                 if (verticalAlignChanged)
> {
>
>
> updateStringStyle("verticalAlign");
>
>
> verticalAlignChanged = false;
>
>                                                 }
>
>                                 }
>
> We are using
>
> *Package*
>
> flash.display
> <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/package-detail.html>
>
> *Class*
>
> public class DisplayObject
>
> *Inheritance*
>
> DisplayObject [image: Inheritance] EventDispatcher
> <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/EventDispatcher.html>
>  [image: Inheritance] Object
> <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Object.html>
>
> *Reference Link:*
>
> https://help.adobe.com/en_US/FlashPlatform/reference/
> actionscript/3/flash/display/DisplayObject.html
>
>
>
> e.g :
>
>                 public function updateLayoutWithoutAnimation():void
>
>                                 {
>
>                                                 if(_layoutInvalid == true
> && layoutFunction != null)
>
>                                                 {
>
>
> _layoutInvalid = false;
>
>
> layoutFunction();
>
>                                                 }
>
>
>
>                                                 for(var aChild:* in
> _targets)
>
>                                                 {
>
>                                                                 var
> target:LayoutTarget = _targets[aChild];
>
>                                                                 var
> item:IFlexDisplayObject = target.item;
>
>                                                                 var
> m:Matrix = DisplayObject(item).transform.matrix;
>
>
>
>                                                                 m.tx =
> target.x;
>
>                                                                 m.ty =
> target.y;
>
>                                                                 m.a =
> target.scaleX;
>
>
>                                                                 m.d =
> target.scaleY
>
>
>
>
> DisplayObject(item).alpha = target.alpha;
>
>
> DisplayObject(item).transform.matrix = m;
>
>
> item.setActualSize(target.unscaledWidth,target.unscaledHeight);
>
>
> if(target.state == "removed")
>
>                                                                 {
>
>
> delete _targets[target.item];
>
>
> continue;
>
>                                                                 }
>
>                                                                 else
>
>                                                                 {
>
>
> target.state = "positioned"
>
>                                                                 }
>
>                                                 }
>
>                                                 stopTimer();
>
>                                 }
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com]
> *Sent:* Tuesday, March 06, 2018 1:36 PM
> *To:* users@royale.apache.org
> *Subject:* API Usage in Flex Web Browser application (was Re: Generating
> API report for Flex Web Browser application)
>
>
>
> Hi Alina,
>
>
>
> I'm starting on the emulation.  I've noticed that your application code
> appears to be calling commitProperties().  Can you tell us why?
>
>
>
> Also, it looks like there are a few uses of rotation, transform, scaleX
> and scaleY.  What are those used for?
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alex Harui <ah...@adobe.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, March 5, 2018 at 11:38 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> Try again.  Sometimes the Antlr server goes off-line around this time of
> day.
>
>
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, March 5, 2018 at 11:12 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> Using jdk1.8.0_162:
>
>
>
> C:\Users\aleena\royale-asjs>ant all
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> Buildfile: C:\Users\aleena\royale-asjs\build.xml
>
>
>
> set.base.folder:
>
>
>
> check-git:
>
>      [echo] Checking for Git...
>
>      [exec] git version 2.16.2.windows.1
>
>
>
> get-download-folder:
>
>
>
> download-all:
>
>      [echo] Using folder C:\Users\aleena\royale-asjs/..
>
>
>
> check-royale-asjs:
>
>
>
> warn-before-clone:
>
>
>
> check-royale-asjs:
>
>
>
> clone-royale-asjs:
>
>
>
> check-royale-compiler:
>
>
>
> clone-royale-compiler:
>
>
>
> check-royale-typedefs:
>
>
>
> clone-royale-typedefs:
>
>
>
> check-playerglobal-home:
>
>
>
> check-air-home:
>
>
>
> build-all:
>
>
>
> ask-before-build-all:
>
>     [input] This script will now download and compile lots of files.  This
> can t
>
> ake several minutes.   No interaction should be required.  Press the enter
> key t
>
> o continue.
>
>
>
>
>
> sdk:
>
>
>
> annotate.class:
>
>     [javac] Compiling 1 source file to C:\Users\aleena\royale-
> compiler\compiler-
>
> build-tools\target\classes
>
>     [javac] warning: [options] bootstrap class path not set in conjunction
> with
>
> -source 1.5
>
>     [javac] warning: [options] source value 1.5 is obsolete and will be
> removed
>
> in a future release
>
>     [javac] warning: [options] target value 1.5 is obsolete and will be
> removed
>
> in a future release
>
>     [javac] warning: [options] To suppress warnings about obsolete
> options, use
>
> -Xlint:-options.
>
>     [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\
> src\main\java\o
>
> rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:24: warning:
> [serial
>
> ] serializable class AnnotateClassDeleteException has no definition of
> serialVer
>
> sionUID
>
>     [javac]     public static class AnnotateClassDeleteException extends
> Excepti
>
> on
>
>     [javac]                   ^
>
>     [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\
> src\main\java\o
>
> rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:32: warning:
> [serial
>
> ] serializable class AnnotateClassRenameException has no definition of
> serialVer
>
> sionUID
>
>     [javac]     public static class AnnotateClassRenameException extends
> Excepti
>
> on
>
>     [javac]                   ^
>
>     [javac] 6 warnings
>
>
>
> unknown.tree.pattern.input.output:
>
>     [javac] Compiling 1 source file to C:\Users\aleena\royale-
> compiler\compiler-
>
> build-tools\target\classes
>
>     [javac] warning: [options] bootstrap class path not set in conjunction
> with
>
> -source 1.5
>
>     [javac] warning: [options] source value 1.5 is obsolete and will be
> removed
>
> in a future release
>
>     [javac] warning: [options] target value 1.5 is obsolete and will be
> removed
>
> in a future release
>
>     [javac] warning: [options] To suppress warnings about obsolete
> options, use
>
> -Xlint:-options.
>
>     [javac] 4 warnings
>
>
>
> main:
>
>
>
> compiler.downloads.cache:
>
>
>
> compiler.downloads:
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> prepare:
>
>      [echo] Making lib directory C:\Users\aleena\royale-
> compiler\compiler/lib/ex
>
> ternal
>
>     [mkdir] Created dir: C:\Users\aleena\royale-
> compiler\compiler\lib\external
>
>
>
> all:
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> check-dependency:
>
>      [echo] checking for C:\Users\aleena\royale-compiler\compiler/lib/
> external//
>
> antlr.jar
>
>
>
> download-dependency:
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> echo-project-jar:
>
>    [delete] Deleting: C:\Users\aleena\royale-compiler\compiler\src\main\
> resource
>
> s\project.properties
>
>      [echo] ${INFO_DOWNLOADING_FILE_FROM}
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> download-apache-license:
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> download-other-license:
>
>       [get] Getting: http://www.antlr.org/license.html
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0>
>
>       [get] To: C:\Users\aleena\royale-compiler\compiler\lib\
> external\antlr-LICE
>
> NSE.html
>
>       [get] Error getting http://www.antlr.org/license.html
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0>
> to C:\Users\aleena\r
>
> oyale-compiler\compiler\lib\external\antlr-LICENSE.html
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> double-check-file:
>
>      [echo] ${env.ROYALE_DOWNLOAD_CACHE}
>
>      [echo] Need file: ${still_no_file}
>
>
>
> get-from-cache-if-needed:
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> fail-if-not-found:
>
>
>
> BUILD FAILED
>
> C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred
> while e
>
> xecuting this line:
>
> C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred
> while e
>
> xecuting this line:
>
> C:\Users\aleena\royale-compiler\build.xml:64: The following error
> occurred while
>
>  executing this line:
>
> C:\Users\aleena\royale-compiler\compiler-jburg-types\build.xml:87: The
> following
>
>  error occurred while executing this line:
>
> C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:81:
> Th
>
> e following error occurred while executing this line:
>
> C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:275:
> T
>
> he following error occurred while executing this line:
>
> C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:329:
> T
>
> he following error occurred while executing this line:
>
> C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:489:
> C
>
> :\Users\aleena\royale-compiler\compiler/lib/external//antlr-LICENSE.html
> could n
>
> ot be downloaded or found in cache
>
>
>
> Total time: 47 seconds
>
>
>
> C:\Users\aleena\royale-asjs>
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Tuesday, March 06, 2018 11:55 AM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> Please use JDK8.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, March 5, 2018 at 10:40 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> Java version that I am using is “9.0.1”
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Tuesday, March 06, 2018 11:42 AM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> What version of Java are you using?  Please get a JDK7 or 8 and try that.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, March 5, 2018 at 10:22 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> Command Prompt Output is:
>
> C:\Users\aleena>git clone https://github.com/apache/royale-asjs.git
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs.git&data=02%7C01%7Caharui%40adobe.com%7Cdf86fa0dd25b41ffbc8108d5832f0997%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559160423949211&sdata=d9cKX4ILIQPLI5USXvAafSnrWZSgW1XHw6G4r%2B9wgsE%3D&reserved=0>
> royale-asjs
>
> Cloning into 'royale-asjs'...
>
> remote: Counting objects: 101103, done.
>
> remote: Compressing objects: 100% (22/22), done.
>
> remote: Total 101103 (delta 9), reused 30 (delta 7), pack-reused 101066R
>
> Receiving objects: 100% (101103/101103), 19.23 MiB | 208.00 KiB/s, done.
>
>
>
> Resolving deltas: 100% (61584/61584), done.
>
> Checking out files: 100% (3572/3572), done.
>
>
>
> C:\Users\aleena>cd royale-asjs
>
>
>
> C:\Users\aleena\royale-asjs>git checkout develop
>
> Already on 'develop'
>
> Your branch is up to date with 'origin/develop'.
>
>
>
> C:\Users\aleena\royale-asjs>ant all
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> Buildfile: C:\Users\aleena\royale-asjs\build.xml
>
>
>
> set.base.folder:
>
>
>
> check-git:
>
>      [echo] Checking for Git...
>
>      [exec] git version 2.16.2.windows.1
>
>
>
> get-download-folder:
>
>
>
> download-all:
>
>      [echo] Using folder C:\Users\aleena\royale-asjs/..
>
>
>
> check-royale-asjs:
>
>
>
> warn-before-clone:
>
>
>
> check-royale-asjs:
>
>
>
> clone-royale-asjs:
>
>
>
> check-royale-compiler:
>
>
>
> clone-royale-compiler:
>
>      [echo] cloning royale-compiler repo into
> C:\Users\aleena\royale-asjs/../roy
>
> ale-compiler
>
>      [exec] Cloning into 'royale-compiler'...
>
>      [exec] Checking out files:   8% (284/3191)
>
>      [exec] Checking out files:   9% (288/3191)   Checking out files:  10%
> (320/
>
> 3191)   Checking out files:  11% (352/3191)   Checking out files:  12%
> (383/3191
>
> )   Checking out files:  13% (415/3191)   Checking out files:  13%
> (444/3191)
>
> Checking out files:  14% (447/3191)   Checking out files:  15%
> (479/3191)   Chec
>
> king out files:  16% (511/3191)   Checking out files:  17% (543/3191)
> Checking
>
>  out files:  18% (575/3191)   Checking out files:  19% (607/3191)
> Checking out
>
>  files:  20% (639/3191)   Checking out files:  20% (641/3191)   Checking
> out fil
>
> es:  21% (671/3191)   Checking out files:  22% (703/3191)   Checking out
> files:
>
>  23% (734/3191)   Checking out files:  24% (766/3191)   Checking out
> files:  25%
>
>  (798/3191)   Checking out files:  26% (830/3191)   Checking out files:
> 26% (84
>
> 2/3191)   Checking out files:  27% (862/3191)   Checking out files:  28%
> (894/31
>
> 91)   Checking out files:  29% (926/3191)   Checking out files:  30%
> (958/3191)
>
>   Checking out files:  31% (990/3191)   Checking out files:  32%
> (1022/3191)   C
>
> hecking out files:  33% (1054/3191)   Checking out files:  34%
> (1085/3191)   Che
>
> cking out files:  35% (1117/3191)   Checking out files:  36% (1149/3191)
> Check
>
> ing out files:  37% (1181/3191)   Checking out files:  38% (1213/3191)
> Checkin
>
> g out files:  39% (1245/3191)   Checking out files:  40% (1277/3191)
> Checking
>
> out files:  40% (1308/3191)   Checking out files:  41% (1309/3191)
> Checking ou
>
> t files:  42% (1341/3191)   Checking out files:  42% (1352/3191)
> Checking out
>
> files:  43% (1373/3191)   Checking out files:  44% (1405/3191)   Checking
> out fi
>
> les:  45% (1436/3191)   Checking out files:  46% (1468/3191)   Checking
> out file
>
> s:  47% (1500/3191)   Checking out files:  48% (1532/3191)   Checking out
> files:
>
>   49% (1564/3191)   Checking out files:  49% (1578/3191)   Checking out
> files:
>
> 50% (1596/3191)   Checking out files:  51% (1628/3191)   Checking out
> files:  52
>
> % (1660/3191)   Checking out files:  53% (1692/3191)   Checking out
> files:  54%
>
> (1724/3191)   Checking out files:  55% (1756/3191)   Checking out files:
> 56% (1
>
> 787/3191)   Checking out files:  57% (1819/3191)   Checking out files:
> 58% (185
>
> 1/3191)   Checking out files:  59% (1883/3191)   Checking out files:  60%
> (1915/
>
> 3191)   Checking out files:  61% (1947/3191)   Checking out files:  62%
> (1979/31
>
> 91)   Checking out files:  63% (2011/3191)   Checking out files:  63%
> (2022/3191
>
> )   Checking out files:  64% (2043/3191)   Checking out files:  65%
> (2075/3191)
>
>   Checking out files:  66% (2107/3191)   Checking out files:  67%
> (2138/3191)
>
> Checking out files:  68% (2170/3191)   Checking out files:  69%
> (2202/3191)   Ch
>
> ecking out files:  70% (2234/3191)   Checking out files:  71%
> (2266/3191)   Chec
>
> king out files:  72% (2298/3191)   Checking out files:  73% (2330/3191)
> Checki
>
> ng out files:  74% (2362/3191)   Checking out files:  75% (2394/3191)
> Checking
>
>  out files:  76% (2426/3191)   Checking out files:  77% (2458/3191)
> Checking o
>
> ut files:  78% (2489/3191)   Checking out files:  79% (2521/3191)
> Checking out
>
>  files:  80% (2553/3191)   Checking out files:  81% (2585/3191)   Checking
> out f
>
> iles:  82% (2617/3191)   Checking out files:  83% (2649/3191)   Checking
> out fil
>
> es:  83% (2679/3191)   Checking out files:  84% (2681/3191)   Checking out
> files
>
> :  85% (2713/3191)   Checking out files:  86% (2745/3191)   Checking out
> files:
>
>  87% (2777/3191)   Checking out files:  88% (2809/3191)   Checking out
> files:  8
>
> 9% (2840/3191)   Checking out files:  89% (2845/3191)   Checking out
> files:  90%
>
>  (2872/3191)   Checking out files:  91% (2904/3191)   Checking out files:
> 92% (
>
> 2936/3191)   Checking out files:  93% (2968/3191)   Checking out files:
> 94% (30
>
> 00/3191)   Checking out files:  95% (3032/3191)   Checking out files:  95%
> (3035
>
> /3191)   Checking out files:  96% (3064/3191)   Checking out files:  97%
> (3096/3
>
> 191)   Checking out files:  98% (3128/3191)   Checking out files:  99%
> (3160/319
>
> 1)   Checking out files: 100% (3191/3191)   Checking out files: 100%
> (3191/3191)
>
> , done.
>
>      [exec] Your branch is up to date with 'origin/develop'.
>
>      [exec] Already on 'develop'
>
>
>
> check-royale-typedefs:
>
>
>
> clone-royale-typedefs:
>
>      [echo] cloning royale-typedefs repo into
> C:\Users\aleena\royale-asjs/../roy
>
> ale-typedefs
>
>      [exec] Cloning into 'royale-typedefs'...
>
>      [exec] Your branch is up to date with 'origin/develop'.
>
>      [exec] Already on 'develop'
>
>
>
> check-playerglobal-home:
>
>
>
> check-air-home:
>
>
>
> build-all:
>
>
>
> ask-before-build-all:
>
>     [input] This script will now download and compile lots of files.  This
> can t
>
> ake several minutes.   No interaction should be required.  Press the enter
> key t
>
> o continue.
>
>
>
> sdk:
>
>
>
> annotate.class:
>
>     [mkdir] Created dir: C:\Users\aleena\royale-
> compiler\compiler-build-tools\ta
>
> rget\classes
>
>     [javac] Compiling 1 source file to C:\Users\aleena\royale-
> compiler\compiler-
>
> build-tools\target\classes
>
>     [javac] warning: [options] bootstrap class path not set in conjunction
> with
>
> -source 1.5
>
>     [javac] error: Source option 1.5 is no longer supported. Use 1.6 or
> later.
>
>     [javac] error: Target option 1.5 is no longer supported. Use 1.6 or
> later.
>
>
>
> BUILD FAILED
>
> C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred
> while e
>
> xecuting this line:
>
> C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred
> while e
>
> xecuting this line:
>
> C:\Users\aleena\royale-compiler\build.xml:63: The following error
> occurred while
>
>  executing this line:
>
> C:\Users\aleena\royale-compiler\compiler-build-tools\build.xml:74:
> Compile faile
>
> d; see the compiler error output for details.
>
>
>
> Total time: 17 minutes 59 seconds
>
>
>
> C:\Users\aleena\royale-asjs>
>
>
>
> Unable to Build, Please guide.
>
>
>
> Thanks,
>
> Alina
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Friday, March 02, 2018 10:31 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> I was able to download and expand the files.  I will be consolidating the
> data today.
>
>
>
> In order to be able to write some of these emulations, you will probably
> need to be able to build the framework sources.  If you haven't already,
> you can try cloning the royale-asjs repo and figure out how to get it to
> build.  You can choose Apache Maven or Apache Ant as the build tool.
>
>
>
> https://github.com/apache/royale-asjs
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs&data=02%7C01%7Caharui%40adobe.com%7C3c1833c1fc9442003f2608d5832c7fe0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559149534170415&sdata=YqGTpbzoou8SilHbsTxjriIjiREaS%2FA9j6xjZYRR%2F4E%3D&reserved=0>
>
>
>
> Hopefully the instruction in the readme are sufficient.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Friday, March 2, 2018 at 12:34 AM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> Application API-Report link:
>
> https://www.dropbox.com/s/swvqhly6wa0jrc5/API-Reports.rar?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fswvqhly6wa0jrc5%2FAPI-Reports.rar%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C928c248220464230f6dd08d5801a2f13%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555772324148830&sdata=9%2BsrGG41iCMIEmbtqnEbV%2BPvi1ngE9vF%2BKuqPAZ%2Bzao%3D&reserved=0>
>
> SHMALib Report, applications,shmDoclist,shmSetupList,AppView_EIS,
> AppView_ERP,shmMappingSetup, shmMappingSetupOpenDetailGrid,shmSalesInvoice,
> shmSalesInvoiceDetail are main API Files.
>
>
>
> Regards,
>
> Alina
>
>
>
>
>
>
>
>
>
> *From:* Alina Kazi [mailto:alina.kazi@d-bz.com <al...@d-bz.com>]
> *Sent:* Friday, March 02, 2018 11:32 AM
> *To:* users@royale.apache.org
> *Subject:* RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> 2) We are using Effects in our Application 2-3 times
>
> 4) We are using text styling in our Application 3-5 times
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Friday, March 02, 2018 4:26 AM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> 1) Interesting about Charts.  They were being used by the SWC.
>
> 2) Effects are any animations that move, resize or fade things in the UI.
>
> 3) ok
>
> 4) I'm not sure what to conclude from the screenshot.  I'm interested in
> how often folks use it to create text with bold, italics and other styling
> of text.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Thursday, March 1, 2018 at 4:24 AM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> 600 mxml.api.txt files are generated and still in process. I will share
> link for files tomorrow.
>
> After sharing my files tomorrow, If you will suggest to build  emulations.
>
>
> I will  definitely want to learn how to create emulations and contribute
> them to Apache Royale.
>
> 1.We are not using Charts in our Application
>
> 2. How important are effects? (Please explain effects )
>
> 3. We are not using Right-to-left languages in RichTextEditor.
>
> 4. Is RichTextEditor being used for non-plain text?  If so, what kinds of
> text styling is important?
>
> Link:https://www.dropbox.com/s/ky93eycmefm3cuu/RICHTEXTEDITOR.png?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fky93eycmefm3cuu%2FRICHTEXTEDITOR.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cff526ec5592c42772ade08d57f713736%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555046634193460&sdata=BjS8q1GarTweRfMMmZOKxN%2FTQTqhtzJlm05KAtWnNTQ%3D&reserved=0>
>
> Thanks,
>
> Alina
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Wednesday, February 28, 2018 10:45 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> Good to hear it worked.
>
>
>
> I think I am waiting on all of the mxml.api.txt files to see what else is
> in there that isn't in the two reports we have, then we'll have a pretty
> good list of the places you will either need to change in your code or that
> we  will build emulations for.
>
>
>
> I think emulations will be less work in the end, but there will be a lot
> of them to do.  We will want to you to learn how to create emulations and
> contribute them to Apache Royale.  That's how many Apache projects work:
> some of the users learn how to become committers.  This will be an asset to
> your company as well since you will learn how to fix things in Royale
> yourself.  Then your company won't be dependent on outsiders for support.
>
>
>
> So, Peter and I and hopefully others will get started on some emulations
> to make sure they work for us, and then you can see if they work for you,
> and then we will teach you how to write those emulations.  Over the next
> several months, besides testing emulations written by others in your app,
> you will be writing your own emulations for things you need right away that
> we haven't written yet, or for third-party code that you are using.
>
>
>
> It might help to get some prioritization on the emulations we need to
> write.  In looking at the list, I am wondering:
>
>    1. Are some charts more important than others?
>    2. How important are effects?
>    3. Do you use Right-to-left languages in RichTextEditor?
>    4. Is RichTextEditor being used for non-plain text?  If so, what kinds
>    of text styling is important?
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Wednesday, February 28, 2018 at 1:22 AM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> Thank you.
>
> It’s working with latest nightly build:
>
> https://www.dropbox.com/s/77wkgrm74upkg0j/SHMALib%20Report.txt?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F77wkgrm74upkg0j%2FSHMALib%2520Report.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C16fa845b6d2f4efb7f4a08d57e8e9097%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636554073167111532&sdata=UV0BOZpVonw%2BILcK9njhQdf5pKpqWPccp0IKDPm4jOI%3D&reserved=0>
>
>
>
>
>
> Regards,
>
> Alina
>
>
>
>
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Wednesday, February 28, 2018 1:15 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> Looks like COMPC collected the data but never generated the report.  I
> pushed a fix for that.  Please try the latest nightly build.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Tuesday, February 27, 2018 at 10:35 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> Thank you
>
> After commenting the embedded font part from source.
>
> Output to console:
>
> 3462313 bytes written to D:\SHMALib.swc in 19.878 seconds
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
> "D:\SHMALib.swc"
>
>  -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bin\framewor
>
> ks\flex-config.xml -source-path="D:\SHMALIB\src"
> -include-sources="D:\SHMALIB\sr
>
> c" -library-path+=D:\SHMALIB\libs
>
>
>
> SHMALib.swf file Generated and Report.txt is empty
>
> *SHMALib.swc output Link:*
>
> https://www.dropbox.com/s/4tz49sz134m2gg9/SHMALib.swc?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F4tz49sz134m2gg9%2FSHMALib.swc%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=%2FNcbTJtah21RRPeWfwg2pRaZ72hd%2BdG0iJlnH3GsA28%3D&reserved=0>
>
> then I change, Compc -output "D:\SHMALib.swc" to Compc -output
> "D:\SHMALib. txt "
>
> *SHMALib.txt output Link:*
>
> https://www.dropbox.com/s/j38obt5e36awuh3/SHMALib.txt?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fj38obt5e36awuh3%2FSHMALib.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=V%2FcA5dJ3Fi1qOvh%2BtUlbU%2FZ%2FQ5SBfRw7psjsm2Q%2Fe8w%3D&reserved=0>
>
>
>
> Thanks,
>
> Alina
>
>
>
>
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Wednesday, February 28, 2018 11:18 AM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> The only error right now is the embedded font.
>
>
>
> We can discuss the pros and cons of embedding images in the JS output at
> some other point in time.
>
>
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Tuesday, February 27, 2018 at 10:01 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Big Part of SHMALib Uses Embed and metadata :
>
>
>
>                                 // Embed the font so we can rotate it for
> further distortion
>
>                                 [Embed(systemFont="Comic Sans MS",
>
>
> embedAsCFF='false')]
>
>                 <mx:Image y="4" width="18" height="20" right="185"
> source="@Embed(source='assets/default/images/load.png')"
>
>
> source="@Embed(source='assets/default/images/next.gif')"
> scaleContent="false"/>
>
>                 <mx:Image y="4" width="18" height="20" right="3"
> source="@Embed(source='assets/default/images/magnifier.png')"
>
>      * An IFrame which you can embed into Flex applications to show an
> HTML page.
>
>      * @example A simple application with Google embedded
>
>         // SWF embed object tracking
>
>          * The SWF embed object id.
>
>          * Get the embed object id.
>
>         protected function resolveEmbedObjectId():void
>
>                     var result:Object=ExternalInterface.call(
> IFrameExternalCalls.FUNCTION_ASK_FOR_EMBED_OBJECT_ID,
> randomIdentificationString.toString());
>
>                         logger.info("Resolved the SWF embed object id to
> '{0}'.", applicationId);
>
>                         logger.error('Could not resolve the SWF embed
> object Id.');
>
>             // Resolve the SWF embed object id in the DOM.
>
>             ExternalInterface.call(IFrameExternalCalls.INSERT_
> FUNCTION_ASK_FOR_EMBED_OBJECT_ID);
>
>             resolveEmbedObjectId();
>
>             logger.info("Loading IFrame with id '{0}', on SWF embed
> object with id '{1}'.", _frameId, applicationId);
>
>                     FUNCTION_LOADIFRAME + " = function (frameID, iframeID,
> url, embedID, scrollPolicy)" +
>
>                                       "onLoad='\"+embedID+\".\"+frameID+\"_load();'
> " +
>
>         public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =
> "askForEmbedObjectId";
>
>         public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =
> "askForEmbedObjectId";
>
>         public static var INSERT_FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =
>
>                 "if (document." + FUNCTION_ASK_FOR_EMBED_OBJECT_ID +
> "==null)" +
>
>                     FUNCTION_ASK_FOR_EMBED_OBJECT_ID + " =
> function(randomString) " +
>
>                             "var embeds = document.getElementsByTagName('embed');
> " +
>
>                             "var embeds = document.getElementsByTagName('embed');
> " +
>
>                             "for (var i = 0; i < embeds.length; i++) { " +
>
>                                 "var isTheGoodOne =
> embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " +
>
>                                 "var isTheGoodOne =
> embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " +
>
>                                     "return embeds[i].getAttribute('id');
> " +
>
>                                  * The UITextField control for displaying
> embeded hints.
>
>                                 private var embedTextField:UITextField;
>
>                                  *  The String to be shown as the embeded
> hint.
>
>                                 private var embedStr:String = "";
>
>
> embedStr = "MM DD YYYY";
>
>
> embedStr = "DD MM YYYY";
>
>
> embedStr = "YYYY MM DD";
>
>
> embedStr = "YYYY DD MM";
>
>                                  *  Create child objects for displaying
> embeded hints.
>
>
> embedTextField = new UITextField();
>
>
> //embedTextField.text = embedStr;
>
>
> //embedTextField.text = embedStr;
>
>
> addChildAt(UITextField(embedTextField),getChildIndex(
> DisplayObject(textField)));//as TextField
>
>
>                                                     s =
> embedTextField.text == null ? "":embedTextField.text;
>
>
>                                                     s =
> embedTextField.text == null ? "":embedTextField.text;
>
>
>                                                                     s =
> s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);
>
>
>
> embedTextField.text = s;
>
>
>                                                     s =
> embedTextField.text == null ? "":embedTextField.text;
>
>
>                                                     s =
> embedTextField.text == null ? "":embedTextField.text;
>
>
>                                                                     //s =
> s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);
>
>
>
> //embedTextField.text = s;
>
>
>                                                                     s =
> s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);
>
>
>
> embedTextField.text = s;
>
>
> // If embeded hints are displayed then update the
>
>
> // UITextField corresponding to the embeded hints
>
>
>                                     var s:String = embedTextField.text ==
> null ? "":embedTextField.text;
>
>
>                                     var s:String = embedTextField.text ==
> null ? "":embedTextField.text;
>
>
>                                                     embedTextField.text =
> s;
>
>                                                                 // create
> the embeded text field for showing
>
>                                                                 //
> embeded hints if its not already created.
>
>                                                                 // If it
> is created, then just change the embeded hint.
>
>
> if(!embedTextField)
>
>
> embedTextField = new UITextField();
>
>
> addChildAt(embedTextField,getChildIndex(DisplayObject(textField))); //as
> TextField
>
>
> //embedTextField.text = embedStr;
>
>
> //embedTextField.text = embedStr;
>
>
> embedTextField.alpha = 1;
>
>
> embedTextField.setTextFormat(txtFormat);
>
>
> embedTextField.x = 0;
>
>
> embedTextField.y = 2;
>
>
> embedTextField.setActualSize(width,height);
>
>
> if(embedTextField)
>
>
> embedTextField.text = "";
>
>
> embedTextField = null;
>
>                                                 // setting the color of
> the embeded text field to white.
>
>
> if(embedTextField)
>
>
> embedTextField.setColor(0xFFFFFF);
>
>
> if(embedTextField)
>
>
>                 addChildAt(DisplayObject(newSkin),getChildIndex(
> DisplayObject(embedTextField)));//
>
>    background-image:
> Embed(source="/assets/application_background.png",
>
>                 up-skin:                Embed("/assets/maximize_up.png");
>
>                 over-skin:            Embed("/assets/maximize_over.png");
>
>                 down-skin:         Embed("/assets/maximize_up.png");
>
>                 selected-up-skin:   Embed("/assets/restore_up.png");
>
>                 selected-over-skin: Embed("/assets/restore_over.png");
>
>                 selected-down-skin: Embed("/assets/restore_up.png");
>
>                 up-skin:        Embed("/assets/minimize_up.png");
>
>                 over-skin:      Embed("/assets/minimize_over.png");
>
>                 down-skin:      Embed("/assets/minimize_up.png");
>
>                 up-skin:
> Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30",
> scaleGridLeft="10", scaleGridRight="92");
>
>                 over-skin:
> Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30",
> scaleGridLeft="10", scaleGridRight="92");
>
>                 down-skin:
> Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30",
> scaleGridLeft="10", scaleGridRight="92");
>
>                 selected-up-skin:
> Embed("/assets/tab_selected.png", scaleGridTop="13",
> scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");
>
>                 selected-over-skin:
> Embed("/assets/tab_selected.png", scaleGridTop="13",
> scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");
>
>                 selected-down-skin:
> Embed("/assets/tab_selected.png", scaleGridTop="13",
> scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");
>
>                 up-skin:
> Embed("/assets/left_arrow_up.gif");
>
>                 over-skin:
> Embed("/assets/left_arrow_over.gif");
>
>                 down-skin:
> Embed("/assets/left_arrow_up.gif");
>
>                 disabled-skin:    Embed("/assets/left_arrow_
> disabled.gif");
>
>                 up-skin:
> Embed("/assets/right_arrow_up.gif");
>
>                 over-skin:
> Embed("/assets/right_arrow_over.gif");
>
>                 down-skin:
> Embed("/assets/right_arrow_up.gif");
>
>                 disabled-skin:    Embed("/assets/right_arrow_
> disabled.gif");
>
>                                 //[Embed(source="/assets/
> cursor_move.gif")]
>
>                                 //[Embed(source="/assets/
> cursor_resize.gif")]
>
>                                 [Embed(source="/assets/
> default/images/mouseMove.gif")]
>
>                                 [Embed(source="/assets/
> default/images/verticalSize.gif")]
>
>                                 [Embed(source="/assets/
> default/images/horizontalSize.gif")]
>
>                                 [Embed(source="/assets/default/images/
> leftObliqueSize.gif")]
>
>                                 [Embed(source="/assets/default/images/
> rightObliqueSize.gif")]
>
>                                                 if (image.isEmbedded)
>
>                                                 //if
> (!Application.application.systemManager.isFontFaceEmbedded(textFormat))
>
>                                                 if (!FlexGlobals.
> topLevelApplication.systemManager.isFontFaceEmbedded(textFormat))
>
>                                                                 if
> (Application.application.isFontsEmbedded) {
>
>                                                                 if
> (Application.application.isFontsEmbedded) {
>
>                                                                 if
> (Application.application.isFontsEmbedded) {
>
>                                 private var _isEmbedded:Boolean = false;
>
>                                 public function set
> isEmbedded(embedded:Boolean):void
>
>                                 public function set
> isEmbedded(embedded:Boolean):void
>
>                                                 _isEmbedded = embedded;
>
>                                                 _isEmbedded = embedded;
>
>                                 public function get isEmbedded():Boolean
>
>                                                 return _isEmbedded;
>
>                                                 <mx:icon>@Embed(source='
> images/print.GIF')</mx:icon>
>
>                                                 <mx:icon>@Embed(source='
> images/reload.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/first-gray.GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/first.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/previous-gray.
> GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/previous.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/next-gray.GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/next.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/last-gray.GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/last.GIF')</mx:icon>
>
>
> <mx:icon>@Embed(source='images/actualsize.GIF')</mx:icon>
>
>
> <mx:icon>@Embed(source='images/fitpage.GIF')</mx:icon>
>
>
> <mx:icon>@Embed(source='images/fitwidth.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/zoomin-gray.GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/zoomin.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/zoomout-gray.
> GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/zoomout.GIF')</mx:icon>
>
>
> <mx:icon>@Embed(source='images/print.GIF')</mx:icon>
>
>                                                 if (
> imageSourceXml.@isEmbedded.length() > 0)
>
>
> image.isEmbedded = imageSourceXml.@isEmbedded == "true";
>
>
> image.isEmbedded = imageSourceXml.@isEmbedded == "true";
>
>                  source="@Embed(source='/assets/default/images/left_
> arrow_up.gif')"/>
>
>                  source="@Embed(source='/assets/default/images/left_
> arrow_over.gif')"/>
>
>                  source="@Embed(source='/assets/default/images/left_arrow_disabled.gif')"/>
>
>
>
>    source="@Embed(source='/com/shm/flexlib/mdi/assets/img/
> maximizeButton.png')"/>
>
>
>    height="12" source="@Embed(source='/com/shm/flexlib/mdi/assets/img/
> restoreButton.png')"/>
>
>
>    source="@Embed(source='/com/shm/flexlib/mdi/assets/img/
> minimizeButton.png')"/>
>
>                  source="@Embed(source='/assets/default/images/right_
> arrow_up.gif')"/>
>
>                  source="@Embed(source='/assets/default/images/right_
> arrow_over.gif')"/>
>
>                  source="@Embed(source='/assets/default/images/right_arrow_disabled.gif')"/>
>
>
>
>
>
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Wednesday, February 28, 2018 11:00 AM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> I think you can ignore the warnings.  The first error is for embedding a
> font, which Royale doesn't currently support, so for now, try commenting
> out the Embed metadata and see if that allows the error to go away.
>
>
>
> I would look into the other errors to see if they are legitimate or not.
> The Royale Compiler will catch some things the MXMLC compiler may not.  Or
> you could comment out the code involved in the two errors in TImeZone.as
> for now since that won't affect the report.
>
>
>
> The final two errors I saw are for missing skin states.  I think you can
> just add the skin states.
>
>
>
> HTH,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Tuesday, February 27, 2018 at 9:35 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> While Executing
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
> "D:\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"
> -include-sources="D:\SHMALIB\src"
>
> Or
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
> "D:\Flex\libs\SH
>
> MALIB.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bi
>
> n\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"
> -include-sources="D:\
>
> SHMALIB\src" -library-path+=D:\SHMALIB\libs
>
>
>
> *Error:*
>
> (file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar)
> to
>
> field java.lang.Thread.inheritableThreadLocals
>
> WARNING: Please consider reporting this to the maintainers of
> com.google.common.
>
> base.internal.Finalizer
>
> WARNING: Use --illegal-access=warn to enable warnings of further illegal
> reflect
>
> ive access operations
>
> WARNING: All illegal access operations will be denied in a future release
>
> Loading configuration: D:\apache-flex-sdk-4.16.0-bin\
> frameworks\flex-config.xml
>
>
>
> Warning: Duplicate declaration of SkinState 'normal'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'disabled'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'normal'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'disabled'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'normal'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'disabled'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'normal'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'disabled'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'normal'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'disabled'
>
>
>
>
>
> D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(415): col: 50
> Warning:
>
> Data binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject channelSet="{parentApplication.
> amfChannelSet}"
>
> id="DataProviderService"  showBusyCursor="true"
>
>                                                                ^
>
>
>
> D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(419): col: 50
> Warning:
>
> Data binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject channelSet="{parentApplication.
> amfChannelSet}"
>
> id="BasicFormatterService"  showBusyCursor="true"
>
>                                                                ^
>
>
>
> D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(516): col: 50
> Warning: Da
>
> ta binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject channelSet="{parentApplication.
> amfChannelSet}"
>
> id="DataProviderService"  showBusyCursor="true"
>
>                                                                ^
>
>
>
> D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(520): col: 50
> Warning: Da
>
> ta binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject channelSet="{parentApplication.
> amfChannelSet}"
>
> id="BasicFormatterService"  showBusyCursor="true"
>
>                                                                ^
>
>
>
> D:\SHMALIB\src\com\shm\components\shmCaptchaImage.as(43): col: 3 Error:
> Embed re
>
> quires a 'source' file attribute
>
>
>
>                 [Embed(systemFont="Comic Sans MS",
>
>                 ^
>
>
>
> D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(37): col: 88
> Warning: Data
>
> binding will not be able to detect assignments to 'isSelected'.
>
>
>
>                                         <mx:CheckBox
> selectedField="isSelected"
>
>  change="onChange(event);" selected="{data.isSelected}">
>
>
>
>                                           ^
>
>
>
> D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(46): col: 27
> Warning: Data
>
> binding will not be able to detect assignments to 'label'.
>
>
>
>                                         <mx:Label text="{data.label}" />
>
>                                                              ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(126): col: 15
> Error: Impli
>
> cit coercion of a value of type Boolean to an unrelated type Number.
>
>
>
>                                 if(year & 0x3 == 0)
>
>                                           ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(134): col: 39
> Error: Impli
>
> cit coercion of a value of type Boolean to an unrelated type Number.
>
>
>
>                                 if(month == 1 && value.fullYear & 0x3 ==
> 0)
>
>                                                                   ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\renderers\GridPodURLRenderer.mxml(6):
> col: 23 W
>
> arning: Data binding will not be able to detect assignments to 'SrNo'.
>
>
>
>                   htmlText="&lt;u&gt;{data.SrNo}&lt;/u&gt;" color="blue"
> click="
>
> f_DrillDownData(data)">
>
>                                     ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml
> Error:
>
> The required skin state 'disabledWithPrompt' is missing.
>
>
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml
> Error:
>
> The required skin state 'normalWithPrompt' is missing.
>
>
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(177): col: 27
> Warning: D
>
> ata binding will not be able to detect assignments to 'valueField'.
>
>
>
>                                                 yField="{properties.@
> valueField}
>
> ">
>
>                                                                     ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(187): col: 34
> Warning: D
>
> ata binding will not be able to detect assignments to 'categoryField'.
>
>
>
>
> categoryField="{properties.@cate
>
> goryField}" />
>
>
> ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(202): col: 27
> Warning: D
>
> ata binding will not be able to detect assignments to 'valueField'.
>
>
>
>                                                 yField="{properties.@
> valueField}
>
> ">
>
>                                                                     ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(212): col: 34
> Warning: D
>
> ata binding will not be able to detect assignments to 'categoryField'.
>
>
>
>
> categoryField="{properties.@cate
>
> goryField}" />
>
>
> ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(429): col: 27
> Warning: D
>
> ata binding will not be able to detect assignments to 'valueField'.
>
>
>
>                                                 yField="{properties.@
> valueField}
>
> ">
>
>                                                                     ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(439): col: 34
> Warning: D
>
> ata binding will not be able to detect assignments to 'categoryField'.
>
>
>
>
> categoryField="{properties.@cate
>
> goryField}" />
>
>
> ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(454): col: 27
> Warning: D
>
> ata binding will not be able to detect assignments to 'valueField'.
>
>
>
>                                                 yField="{properties.@
> valueField}
>
> ">
>
>                                                                     ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(464): col: 34
> Warning: D
>
> ata binding will not be able to detect assignments to 'categoryField'.
>
>
>
>
> categoryField="{properties.@cate
>
> goryField}" />
>
>
> ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(479): col: 26
> Warning: D
>
> ata binding will not be able to detect assignments to 'valueField'.
>
>
>
>
> field="{properties.@valueField}"
>
>
>
>                                                                    ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(115): col: 74
> Warning
>
> : Data binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject id="roDrillDownColInfo"
> channelSet="{parentAppl
>
> ication.amfChannelSet}" showBusyCursor="true"
>
>
>
>        ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(118): col: 68
> Warning
>
> : Data binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject id="roDgDpResult"
> channelSet="{parentApplicatio
>
> n.amfChannelSet}" showBusyCursor="true"
>
>
>
>  ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\PieChartContent.mxml(128): col: 24
> Warning
>
> : Data binding will not be able to detect assignments to 'valueField'.
>
>
>
>                                 field="{properties.@valueField}"
>
>                                                    ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 37
> Warning: Dat
>
> a binding will not be able to detect assignments to 'appParams'.
>
>
>
>
> inputMask="{parentApplic
>
> ation.appParams.DATE_FORMAT}" showToday="true"
> yearNavigationEnabled="true"
>
>
>
>      ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 47
> Warning: Dat
>
> a binding will not be able to detect assignments to 'DATE_FORMAT'.
>
>
>
>
> inputMask="{parentApplic
>
> ation.appParams.DATE_FORMAT}" showToday="true"
> yearNavigationEnabled="true"
>
>
>
>                ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 38
> Warning: Dat
>
> a binding will not be able to detect assignments to 'appParams'.
>
>
>
>
> inputMask="{parentAppli
>
> cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true"
> showToday="true"
>
>
>
>       ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 48
> Warning: Dat
>
> a binding will not be able to detect assignments to 'DATE_FORMAT'.
>
>
>
>
> inputMask="{parentAppli
>
> cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true"
> showToday="true"
>
>
>
>                 ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(12): col: 11
> Warnin
>
> g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.
>
>
>
>                         import mx.graphics.Stroke;
>
>                                ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(37): col: 23
> Warnin
>
> g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.
>
>
>
>                                         lne.stroke = new Stroke(0,1,.3);
>
>                                                          ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(46): col: 14
> Warnin
>
> g: Duplicate variable definition: i.
>
>
>
>                                 for (var i:int = 1; i < lnWdt; i++){
>
>                                          ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(47): col: 10
> Warnin
>
> g: Duplicate variable definition: lne.
>
>
>
>                                         var lne:Line  = new Line();
>
>                                             ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(53): col: 23
> Warnin
>
> g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.
>
>
>
>                                         lne.stroke = new Stroke(0,1,.3);
>
>                                                          ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(54): col: 10
> Warnin
>
> g: Duplicate variable definition: llbe.
>
>
>
>                                         var llbe:Label = new Label();
>
>                                             ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(157): col:
> 40 Warn
>
> ing: 'application' has been deprecated since 4.0. Please use
> 'FlexGlobals.topLev
>
> elApplication'.
>
>
>
>                                 var xPosition:Number =
> Application.application.p
>
> arent.mouseX;
>
>                                                                    ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(158): col:
> 40 Warn
>
> ing: 'application' has been deprecated since 4.0. Please use
> 'FlexGlobals.topLev
>
> elApplication'.
>
>
>
>                                 var yPosition:Number =
> Application.application.p
>
> arent.mouseY;
>
>                                                                    ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(225): col:
> 36 Warn
>
> ing: 'application' has been deprecated since 4.0. Please use
> 'FlexGlobals.topLev
>
> elApplication'.
>
>
>
>                                 var xPlus:Number =
> Application.application.paren
>
> t.mouseX - point.x;
>
>                                                                ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(226): col:
> 36 Warn
>
> ing: 'application' has been deprecated since 4.0. Please use
> 'FlexGlobals.topLev
>
> elApplication'.
>
>
>
>                                 var yPlus:Number =
> Application.application.paren
>
> t.mouseY - point.y;
>
>
>
> Thanks,
>
> Alina Kazi
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Wednesday, February 28, 2018 10:16 AM
> *To:* Alina Kazi; users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> I think that Flash Builder makes it easy to build SWCs.  Building from the
> command line can be a bit trickier.
>
>
>
> Let's try:
>
> Compc -output "D:\SHMALib.swc" -api-report="D:\report.txt"
> -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml
> -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\src"
>
>
>
> HTH,
>
> -Alex
>
>
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Date: *Tuesday, February 27, 2018 at 7:28 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>, Alex Harui <
> aharui@adobe.com>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> Yes I am using Flash Builder.
>
> SHMALIB and MainFlexApp are two separate Projects
>
> Src for SHMALIB is placed into D:/SHMALIB/src
>
> Src for MainFlexApp is D:/Flex/src and the library output file SHMALIB.swc
> is placed into D:/Flex/libs
>
>
>
> SHMALIB (.actionscriptProperties)
>
>
>
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
>
> <actionScriptProperties mainApplicationPath="SHMALib.as"
> projectUUID="863559ab-3e7b-475b-a3a4-09f4f76fc0d2" version="6">
>
>   <compiler additionalCompilerArguments="-locale en_US"
> autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false"
> generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false"
> htmlHistoryManagement="false" htmlPlayerVersionCheck="true"
> includeNetmonSwc="false" outputFolderLocation="D:/Flex/libs"
> outputFolderPath="bin-debug" sourceFolderPath="src" strict="true"
> targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true"
> verifyDigests="true" warn="true">
>
>     <compilerSourcePath/>
>
>     <libraryPath defaultLinkType="0">
>
>       <libraryPathEntry kind="4" path="">
>
>         <excludedEntries>
>
>           <libraryPathEntry kind="3" linkType="1"
> path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>
>
>         </excludedEntries>
>
>       </libraryPathEntry>
>
>       <libraryPathEntry kind="1" linkType="1" path="libs"/>
>
>     </libraryPath>
>
>     <sourceAttachmentPath/>
>
>   </compiler>
>
>   <applications>
>
>     <application path="SHMALib.as"/>
>
>   </applications>
>
>   <modules/>
>
>   <buildCSSFiles/>
>
> </actionScriptProperties>
>
>
>
> SHMALIB (.flexLibProperties)
>
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
>
> <flexLibProperties includeAllClasses="true" version="3">
>
>   <includeClasses/>
>
>   <includeResources/>
>
>   <namespaceManifests/>
>
> </flexLibProperties>
>
>
>
> Thanks,
>
> Alina
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Tuesday, February 27, 2018 9:34 PM
> *To:* Alina Kazi
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> When you are not trying to use Royale to generate this API report, how are
> you building your current Flex app?  We might need to know that in order to
> determine what parameters to add to COMPC.
>
>
>
> COMPC has additional parameters like -include–sources, include-file,
> include-classes.  Sometimes, these are listed in an xml file.  If you are
> using Flash Builder, for example, then examine the .flexlibproperties and
> .actionscriptProperties files in your project folder.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Date: *Tuesday, February 27, 2018 at 3:21 AM
> *To: *'Alina Kazi' <al...@d-bz.com>
> *Cc: *Alex Harui <ah...@adobe.com>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
> "D:\SHMALib.swc"
>
>  -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"
>
> Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> WARNING: An illegal reflective access operation has occurred
>
> WARNING: Illegal reflective access by com.google.common.base.
> internal.Finalizer
>
> (file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar)
> to
>
> field java.lang.Thread.inheritableThreadLocals
>
> WARNING: Please consider reporting this to the maintainers of
> com.google.common.
>
> base.internal.Finalizer
>
> WARNING: Use --illegal-access=warn to enable warnings of further illegal
> reflect
>
> ive access operations
>
>
>
> Error: nothing was specified to be included in the library.
>
> -Alina
>
>
>
> *From:* Alina Kazi [mailto:alina.kazi@d-bz.com <al...@d-bz.com>]
> *Sent:* Tuesday, February 27, 2018 2:16 PM
> *To:* 'users@royale.apache.org'
> *Subject:* RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> I am using Moonshine IDE 1.9.0.
>
> Flex 4.16.0
>
> Apache Royale 0.9.2 Latest Nightly Build
>
>
>
> *Running this Command on Command Prompt:*
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
> "D:\SHMALib.swc"
>
>  -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"
>
> Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> WARNING: An illegal reflective access operation has occurred
>
> WARNING: Illegal reflective access by com.google.common.base.
> internal.Finalizer
>
> (file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar)
> to
>
> field java.lang.Thread.inheritableThreadLocals
>
> WARNING: Please consider reporting this to the maintainers of
> com.google.common.
>
> base.internal.Finalizer
>
> WARNING: Use --illegal-access=warn to enable warnings of further illegal
> reflect
>
> ive access operations
>
> WARNING: All illegal access operations will be denied in a future release
>
>
>
> *command line Error: unknown configuration variable 'sourceΓÇôpath'.*
>
>
>
> -Alina
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Tuesday, February 27, 2018 1:26 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> COMPC takes a slightly different set of parameters.  What IDE or build
> tools are you using to build it without Royale?  You might need to know
> what options that build uses.
>
>
>
> You can try running:
>
>
>
> Compc -output "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc"
> -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bin\frameworks\flex-config.xml -source–path="D:\Projects\SHMA\Main\Flex\src"
> or wherever the source code is for the library.
>
>
>
> HTH,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, February 26, 2018 at 11:33 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> For custom SWC, I am using COMPC to get an api-report for SWC
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>compc
> "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc" -api-report="D:\report.txt"
> -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml
>
> *Error:* configuration variable 'output' was not set.
>
>
>
>
>
> Thanks,
>
> Alina
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Tuesday, February 27, 2018 12:27 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> Yes, any SWC that is not in the Flex SDK's frameworks/libs folder needs to
> be specified as Piotr describes below.  We want you specify the same MXML
> file that you use to compile in the regular Flex SDK.  So if your
> Application.mxml starts with an mx:Application or s:Application that’s
> probably the one to use.  But also, if you have your own custom SWCs, we
> want you to use COMPC to get an api-report for those SWCs.  We want this
> modified Royale compiler to compile every source file you own so we can see
> what Flex APIs you are using.
>
>
>
> HTH,
>
> -Alex
>
>
>
> *From: *Piotr Zarzycki <pi...@gmail.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, February 26, 2018 at 11:19 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> In my sense you will have to use -library-path+=path to the library. You
> have to tell compiler about that library.
>
>
>
> Thanks, Piotr
>
>
>
> 2018-02-27 7:57 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>
> Hi  Alex,
>
> *With latest nightly build:*
>
> MaskedTextInput , shmReportUtil …. Are Library Project Actionscript Files.
>
> Main Application contains SHMALib.swc file in Libs folder
>
> Error Link:
>
> https://www.dropbox.com/s/p5imt22cuut0ex6/ErrorGeneratingReport.png?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fp5imt22cuut0ex6%2FErrorGeneratingReport.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=8f1f9duW2Red4bP77hFTh3mLcCptBmAwd87n1iSkk%2Bs%3D&reserved=0>
>
>
>
> I have a question that which .mxml file should be used to generate that
> report?
>
> Applications.mxml is startup file in case of my Project so I’m using it.
>
>
>
> Please visit reference link and If I’m doing anything wrong please let me
> know.
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com]
> *Sent:* Tuesday, February 27, 2018 12:00 AM
>
>
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> I pushed a fix for that.  It might or might not be related to your custom
> swc.  Get the latest nightly build and let us know.
>
>
>
> Also, if you are successful, please use your regular compiler to generate
> a -link–report.  That will help us verify that the API report didn't miss
> anything.
>
>
>
> Thanks,
>
> -Alex
>
>
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, February 26, 2018 at 4:01 AM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Generated Report file for Sample Project Successfully.
>
>
>
> spark.components.Application:minHeight,1
>
> spark.components.Application:minWidth,1
>
> spark.components.Application:mxmlContentFactory,2
>
> spark.components.Label:fontSize,1
>
> spark.components.Label:fontWeight,1
>
> spark.components.Label:horizontalCenter,1
>
> spark.components.Label:text,1
>
> spark.components.Label:textAlign,1
>
> spark.components.Label:verticalCenter,1
>
>
>
> But while executing Actual Project got Error:
>
> https://www.dropbox.com/s/d25eysllavuy5z4/compile2.png?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fd25eysllavuy5z4%2Fcompile2.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=2i28J4zjv1vEQ7sd%2BGfHm%2Bh1FjG%2BP3YdJCc6rGZr3C4%3D&reserved=0>
>
> https://www.dropbox.com/s/49iq74zk6rxcr1y/compile1.png?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F49iq74zk6rxcr1y%2Fcompile1.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=44tfkOscWyJ%2FH3M30HeJ6dfFE0TlpTMhQ2t%2Bv%2ByuoDg%3D&reserved=0>
>
>
>
> May be because my Application is dependent to SHMALib(.swc) Library
> Project (Source Shared Earlier).
>
>
>
> -Alina
>
>
>
> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com
> <pi...@gmail.com>]
> *Sent:* Monday, February 26, 2018 5:02 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Alex,
>
>
>
> I did above exercise for Moonshine and got NPE [1]. I used air-config.xml
> because it is na Desktop app.
>
>
>
> [1] https://paste.apache.org/R0Si
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FR0Si&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=tFLrK9xsVt57PytwBaNoUJ%2FIPFH7FCHDtfrmJ1sAl3Y%3D&reserved=0>
>
>
>
>
> Thanks,
>
> Piotr
>
>
>
>
>
> 2018-02-26 12:56 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
>
> Yishay,
>
>
>
> Thank you so much!! I got it working.
>
>
>
> Alina,
>
>
>
> Here is the full instruction.
>
>
>
> 1) Download Apache Royale with SWF support - if you have that is good, if
> not it's here [1]
>
> 2) Download Apache Flex - you have it as I have seen on the screenshot.
>
> 3) Launch console and go to the Royale SDK folder
>
>
>
> "yourpathtosdk\bin\" - In my case it was: "d:\Work\royale_ide\royale_
> nightly_js_swf\bin\"
>
>
>
> 4) Run following command where you will point to the Flex Browser
> application in order to generate report. My command looks like that:
>
>
>
> mxmlc "c:\Users\piotr\Documents\NewFlexBrowserProject\src\NewFlexBrowserProject.mxml"
> -api-report="c:\Users\piotr\Documents\NewFlexBrowserProject\report.txt"
> -load-config=d:\Work\flex-sdk-4.16.1_adobe_air_28\
> frameworks\flex-config.xml
>
>
>
> I generated report for hellow world. Maybe in order to generate report for
> your application that console command may be much more sophisticated. Let's
> see!
>
>
>
>
>
> [1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/
> lastSuccessfulBuild/artifact/out/
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2Fout%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=O%2BpVQ8OuhB%2FtE4ZdylTSkAQCWsIPBGlr9RgiTjWSWEM%3D&reserved=0>
>
>
>
> Thanks,
>
> Piotr
>
>
>
>
>
> 2018-02-26 12:46 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:
>
> Looks like [1] you do need to add compiler option: -api–report=<path to
> output file>
>
>
>
> [1] http://apache-royale-users.20374.n8.nabble.com/
> Substitutes-in-Apache-Royale-tp392p492.html
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p492.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kda6SpkBgdRqGAeGJ5Db629EAy7KAVbOZKzhzhynRZk%3D&reserved=0>
>
>
>
>
>
> *From: *Piotr Zarzycki <pi...@gmail.com>
> *Sent: *Monday, February 26, 2018 1:37 PM
>
>
> *To: *users@royale.apache.org
> *Subject: *Re: Generating API report for Flex Web Browser application
>
>
>
> I have produced with that swf, but what's next? Let's wait for Alex's
> response [1]
>
>
>
> [1] https://paste.apache.org/YEeG
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FYEeG&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8ameYzJ7AloOW4nTa8dqu7zYxwORSQc5sCUqpZDVA%2BY%3D&reserved=0>
>
>
>
> Thanks,
>
> Piotr
>
>
>
> 2018-02-26 12:32 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:
>
> Alex will know but I don’t think so. I haven’t updated the compiler
> recently so can’t test it right now. If you want to test it maybe just
> create a simple app and replace /Users/aharui/ApacheFlex4.16.0 with your
> sdk home.
>
>
>
>
>
>
>
> *From: *Piotr Zarzycki <pi...@gmail.com>
> *Sent: *Monday, February 26, 2018 1:25 PM
> *To: *users@royale.apache.org
> *Subject: *Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Yishay,
>
>
>
> bin/mxmlc
>
> <path to app's
>
> .mxml
>
> file>
>
> -load-config=/Users/aharui/ApacheFlex4.16.0/frameworks/flex-config.xml
>
>
>
> Do I need some switch for compiler -api-report or something like that ?
>
>
>
> Thanks,
>
> Piotr
>
>
>
>
>
> 2018-02-26 12:10 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:
>
> Wasn’t logged in. Here’s [1] the link.
>
>
>
> [1] http://apache-royale-users.20374.n8.nabble.com/
> Substitutes-in-Apache-Royale-tp392p489.html
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p489.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8Tp5%2BFveKS0eoW7D8EovITPQqYrgwDK4P7cW9izXFH8%3D&reserved=0>
>
>
>
>
>
> *From: *Yishay Weiss <yi...@hotmail.com>
> *Sent: *Monday, February 26, 2018 12:59 PM
> *To: *users@royale.apache.org
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> I couldn’t find a way to link to a nabble post, but this [1] might help
> (from Substitutes in Apache Royale).
>
>
>
> [1] https://paste.apache.org/N2QR
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FN2QR&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=VIS8u6EEBWN6jQrFxpttZvAfUCSSKPe3rbrBDU2w7Sg%3D&reserved=0>
>
>
>
> *From: *Piotr Zarzycki <pi...@gmail.com>
> *Sent: *Monday, February 26, 2018 12:44 PM
> *To: *users@royale.apache.org
> *Subject: *Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> I would like to understand how to generate that report. I will go with the
> console path, because I think this is something unusual and probably
> Moonshine is not prepared to do this. I'm writing this on the users mailing
> list because Alina is having some problems with that. I wanted to simplify
> all of that. Let's start from the beginning.
>
>
>
> 1) I have created Flex Web browser project using Apache Flex SDK 4.16.1.
>
> 2) I have nightly build of Royale with SWF support [1]
>
>
>
> What should I type in the console now ?
>
>
>
> [1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/
> lastSuccessfulBuild/artifact/
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=UtYFFQ90aNB2HU2Vx4t8YAS6Eo2j1ZqVAytujEOgoFM%3D&reserved=0>
>
>
>
> Thanks,
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>
>
>
>
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>
>
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>
>
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=zGrfZ2Wj3CLuuW%2B%2BKtUSQF6762Vn0%2BeNjCMlViBMghg%3D&reserved=0>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>



-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

Posted by Piotr Zarzycki <pi...@gmail.com>.
Hi Alina,

I just removed my whole local repository and trying exactly the same
scenario. Just quick question can you try in your browser open this link ?
Is it working ?

http://repository.apache.org/snapshots/org/apache/flex/utilities/converter/retrievers/1.0.0-SNAPSHOT/maven-metadata.xml

Thanks,
Piotr

2018-03-07 6:27 GMT+01:00 Alina Kazi <al...@d-bz.com>:

> Hi Piotr,
>
> Using Maven :
>
> C:\Users\aleena>git clone https://github.com/apache/royale-typedefs.git
> royale-a
>
> sjs
>
> Cloning into 'royale-asjs'...
>
> remote: Counting objects: 3318, done.
>
> remote: Compressing objects: 100% (93/93), done.
>
> remote: Total 3318 (delta 48), reused 76 (delta 16), pack-reused 3200
>
> Receiving objects: 100% (3318/3318), 3.51 MiB | 244.00 KiB/s, done.
>
> Resolving deltas: 100% (1337/1337), done.
>
>
>
> C:\Users\aleena>cd royale-asjs
>
>
>
> C:\Users\aleena\royale-asjs>git checkout develop
>
> Already on 'develop'
>
> Your branch is up to date with 'origin/develop'.
>
>
>
> C:\Users\aleena\royale-asjs>mvn -s settings-template.xml clean install
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> Downloading from apache-snapshots: http://repository.apache.org/
> snapshots/org/ap
>
> ache/flex/utilities/converter/flex-sdk-converter-maven-
> extension/1.0.0-SNAPSHOT/
>
> maven-metadata.xml
>
> [WARNING] Could not transfer metadata org.apache.flex.utilities.
> converter:flex-s
>
> dk-converter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from/to
> apache-sn
>
> apshots (http://repository.apache.org/snapshots/): Connect to
> repository.apache.
>
> org:80 [repository.apache.org/207.244.88.140] failed: Connection timed
> out: conn
>
> ect
>
> [WARNING] Failure to transfer org.apache.flex.utilities.
> converter:flex-sdk-conve
>
> rter-maven-extension:1.0.0-SNAPSHOT/maven-metadata.xml from
> http://repository.ap
>
> ache.org/snapshots/ was cached in the local repository, resolution will
> not be r
>
> eattempted until the update interval of apache-snapshots has elapsed or
> updates
>
> are forced. Original error: Could not transfer metadata
> org.apache.flex.utilitie
>
> s.converter:flex-sdk-converter-maven-extension:1.0.
> 0-SNAPSHOT/maven-metadata.xml
>
>  from/to apache-snapshots (http://repository.apache.org/snapshots/):
> Connect to
>
> repository.apache.org:80 [repository.apache.org/207.244.88.140] failed:
> Connecti
>
> on timed out: connect
>
> Downloading from apache-snapshots: http://repository.apache.org/
> snapshots/org/ap
>
> ache/flex/utilities/converter/flex-sdk-converter-maven-
> extension/1.0.0-SNAPSHOT/
>
> flex-sdk-converter-maven-extension-1.0.0-SNAPSHOT.pom
>
> [WARNING] Failed to read extensions descriptor
> C:\Users\aleena\royale-asjs\.mvn\
>
> extensions.xml: Plugin org.apache.flex.utilities.
> converter:flex-sdk-converter-ma
>
> ven-extension:1.0.0-SNAPSHOT or one of its dependencies could not be
> resolved: F
>
> ailed to read artifact descriptor for org.apache.flex.utilities.
> converter:flex-s
>
> dk-converter-maven-extension:jar:1.0.0-SNAPSHOT
>
> [INFO] Scanning for projects...
>
> Downloading from apache-release: https://repository.apache.org/
> content/repositor
>
> ies/releases/org/apache/apache/18/apache-18.pom
>
> Downloading from central: https://repo.maven.apache.org/
> maven2/org/apache/apache
>
> /18/apache-18.pom
>
> [ERROR] [ERROR] Some problems were encountered while processing the POMs:
>
> [FATAL] Non-resolvable parent POM for org.apache.royale.typedefs:
> royale-typedefs
>
> -parent:0.9.2-SNAPSHOT: Could not transfer artifact
> org.apache:apache:pom:18 fro
>
> m/to apache-release (https://repository.apache.org/content/repositories/
> releases
>
> ): Connect to repository.apache.org:443 [repository.apache.org/207.
> 244.88.140] f
>
> ailed: Connection timed out: connect and 'parent.relativePath' points at
> wrong l
>
> ocal POM @ line 23, column 11
>
>  @
>
> [ERROR] The build could not read 1 project -> [Help 1]
>
> [ERROR]
>
> [ERROR]   The project org.apache.royale.typedefs:
> royale-typedefs-parent:0.9.2-SN
>
> APSHOT (C:\Users\aleena\royale-asjs\pom.xml) has 1 error
>
> [ERROR]     Non-resolvable parent POM for org.apache.royale.typedefs:
> royale-type
>
> defs-parent:0.9.2-SNAPSHOT: Could not transfer artifact
> org.apache:apache:pom:18
>
>  from/to apache-release (https://repository.apache.
> org/content/repositories/rele
>
> ases): Connect to repository.apache.org:443 [repository.apache.org/207.
> 244.88.14
>
> 0] failed: Connection timed out: connect and 'parent.relativePath' points
> at wro
>
> ng local POM @ line 23, column 11 -> [Help 2]
>
> [ERROR]
>
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e swit
>
> ch.
>
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>
> [ERROR]
>
> [ERROR] For more information about the errors and possible solutions,
> please rea
>
> d the following articles:
>
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/
> ProjectBuildin
>
> gException
>
> [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/
> UnresolvableMo
>
> delException
>
>
>
> C:\Users\aleena\royale-asjs>
>
>
>
> Thanks
>
> Alina
>
>
>
> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com]
> *Sent:* Tuesday, March 06, 2018 5:30 PM
> *To:* users@royale.apache.org
> *Subject:* Re: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Hi Alina,
>
>
>
> You can try to go with Maven to see whether you have similar problems [1]
>
>
>
> [1] https://github.com/apache/royale-asjs/wiki/Build-Apache-
> Royale-with-Maven
>
>
>
> Thanks, Piotr
>
>
>
> 2018-03-06 13:12 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>
> Hi Alex,
>
> Still getting same error, while executing:
>
> C:\Users\aleena\royale-asjs>ant all
>
> Website link is working :
>
> http://www.antlr.org/license.html
>
>
>
> could be only issue , Antlr server will be off-line ?
>
>
>
> Thanks,
>
> Alina
>
> *From:* Alina Kazi [mailto:alina.kazi@d-bz.com]
> *Sent:* Tuesday, March 06, 2018 4:38 PM
> *To:* 'users@royale.apache.org'
> *Subject:* RE: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Hi Alex,
>
>
>
> We can exclude ScaleX , ScaleY,transform from our code as we are using it
> in our Library Project Only.
>
> We are using “Rotation” in a PopUp Window.
>
>
>
> Can you please explain *emulation* ?
>
> How do they will work?
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alina Kazi [mailto:alina.kazi@d-bz.com]
> *Sent:* Tuesday, March 06, 2018 3:14 PM
> *To:* 'users@royale.apache.org'
> *Subject:* RE: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Hi Alex,
>
> We are using commitProperties() in our Library Project. Overriding the
> Existing Spark commitProperties() method
>
> For Example:
>
> ResizableTextAreaSkin.mxml (SHMALib)
>
> override protected function commitProperties():void {
>
>                                                 super.commitProperties();
>
>
>
>                                                 if (lineBreakChanged) {
>
>
> updateStringStyle("lineBreak");
>
>
> lineBreakChanged = false;
>
>                                                 }
>
>                                                 if (paddingChanged) {
>
>
> updatePadding();
>
>
> paddingChanged = false;
>
>                                                 }
>
>                                                 if (verticalAlignChanged)
> {
>
>
> updateStringStyle("verticalAlign");
>
>
> verticalAlignChanged = false;
>
>                                                 }
>
>                                 }
>
> We are using
>
> *Package*
>
> flash.display
> <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/package-detail.html>
>
> *Class*
>
> public class DisplayObject
>
> *Inheritance*
>
> DisplayObject [image: Inheritance] EventDispatcher
> <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/EventDispatcher.html>
>  [image: Inheritance] Object
> <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Object.html>
>
> *Reference Link:*
>
> https://help.adobe.com/en_US/FlashPlatform/reference/
> actionscript/3/flash/display/DisplayObject.html
>
>
>
> e.g :
>
>                 public function updateLayoutWithoutAnimation():void
>
>                                 {
>
>                                                 if(_layoutInvalid == true
> && layoutFunction != null)
>
>                                                 {
>
>
> _layoutInvalid = false;
>
>
> layoutFunction();
>
>                                                 }
>
>
>
>                                                 for(var aChild:* in
> _targets)
>
>                                                 {
>
>                                                                 var
> target:LayoutTarget = _targets[aChild];
>
>                                                                 var
> item:IFlexDisplayObject = target.item;
>
>                                                                 var
> m:Matrix = DisplayObject(item).transform.matrix;
>
>
>
>                                                                 m.tx =
> target.x;
>
>                                                                 m.ty =
> target.y;
>
>                                                                 m.a =
> target.scaleX;
>
>
>                                                                 m.d =
> target.scaleY
>
>
>
>
> DisplayObject(item).alpha = target.alpha;
>
>
> DisplayObject(item).transform.matrix = m;
>
>
> item.setActualSize(target.unscaledWidth,target.unscaledHeight);
>
>
> if(target.state == "removed")
>
>                                                                 {
>
>
> delete _targets[target.item];
>
>
> continue;
>
>                                                                 }
>
>                                                                 else
>
>                                                                 {
>
>
> target.state = "positioned"
>
>                                                                 }
>
>                                                 }
>
>                                                 stopTimer();
>
>                                 }
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com]
> *Sent:* Tuesday, March 06, 2018 1:36 PM
> *To:* users@royale.apache.org
> *Subject:* API Usage in Flex Web Browser application (was Re: Generating
> API report for Flex Web Browser application)
>
>
>
> Hi Alina,
>
>
>
> I'm starting on the emulation.  I've noticed that your application code
> appears to be calling commitProperties().  Can you tell us why?
>
>
>
> Also, it looks like there are a few uses of rotation, transform, scaleX
> and scaleY.  What are those used for?
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alex Harui <ah...@adobe.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, March 5, 2018 at 11:38 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> Try again.  Sometimes the Antlr server goes off-line around this time of
> day.
>
>
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, March 5, 2018 at 11:12 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> Using jdk1.8.0_162:
>
>
>
> C:\Users\aleena\royale-asjs>ant all
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> Buildfile: C:\Users\aleena\royale-asjs\build.xml
>
>
>
> set.base.folder:
>
>
>
> check-git:
>
>      [echo] Checking for Git...
>
>      [exec] git version 2.16.2.windows.1
>
>
>
> get-download-folder:
>
>
>
> download-all:
>
>      [echo] Using folder C:\Users\aleena\royale-asjs/..
>
>
>
> check-royale-asjs:
>
>
>
> warn-before-clone:
>
>
>
> check-royale-asjs:
>
>
>
> clone-royale-asjs:
>
>
>
> check-royale-compiler:
>
>
>
> clone-royale-compiler:
>
>
>
> check-royale-typedefs:
>
>
>
> clone-royale-typedefs:
>
>
>
> check-playerglobal-home:
>
>
>
> check-air-home:
>
>
>
> build-all:
>
>
>
> ask-before-build-all:
>
>     [input] This script will now download and compile lots of files.  This
> can t
>
> ake several minutes.   No interaction should be required.  Press the enter
> key t
>
> o continue.
>
>
>
>
>
> sdk:
>
>
>
> annotate.class:
>
>     [javac] Compiling 1 source file to C:\Users\aleena\royale-
> compiler\compiler-
>
> build-tools\target\classes
>
>     [javac] warning: [options] bootstrap class path not set in conjunction
> with
>
> -source 1.5
>
>     [javac] warning: [options] source value 1.5 is obsolete and will be
> removed
>
> in a future release
>
>     [javac] warning: [options] target value 1.5 is obsolete and will be
> removed
>
> in a future release
>
>     [javac] warning: [options] To suppress warnings about obsolete
> options, use
>
> -Xlint:-options.
>
>     [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\
> src\main\java\o
>
> rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:24: warning:
> [serial
>
> ] serializable class AnnotateClassDeleteException has no definition of
> serialVer
>
> sionUID
>
>     [javac]     public static class AnnotateClassDeleteException extends
> Excepti
>
> on
>
>     [javac]                   ^
>
>     [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\
> src\main\java\o
>
> rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:32: warning:
> [serial
>
> ] serializable class AnnotateClassRenameException has no definition of
> serialVer
>
> sionUID
>
>     [javac]     public static class AnnotateClassRenameException extends
> Excepti
>
> on
>
>     [javac]                   ^
>
>     [javac] 6 warnings
>
>
>
> unknown.tree.pattern.input.output:
>
>     [javac] Compiling 1 source file to C:\Users\aleena\royale-
> compiler\compiler-
>
> build-tools\target\classes
>
>     [javac] warning: [options] bootstrap class path not set in conjunction
> with
>
> -source 1.5
>
>     [javac] warning: [options] source value 1.5 is obsolete and will be
> removed
>
> in a future release
>
>     [javac] warning: [options] target value 1.5 is obsolete and will be
> removed
>
> in a future release
>
>     [javac] warning: [options] To suppress warnings about obsolete
> options, use
>
> -Xlint:-options.
>
>     [javac] 4 warnings
>
>
>
> main:
>
>
>
> compiler.downloads.cache:
>
>
>
> compiler.downloads:
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> prepare:
>
>      [echo] Making lib directory C:\Users\aleena\royale-
> compiler\compiler/lib/ex
>
> ternal
>
>     [mkdir] Created dir: C:\Users\aleena\royale-
> compiler\compiler\lib\external
>
>
>
> all:
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> check-dependency:
>
>      [echo] checking for C:\Users\aleena\royale-compiler\compiler/lib/
> external//
>
> antlr.jar
>
>
>
> download-dependency:
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> echo-project-jar:
>
>    [delete] Deleting: C:\Users\aleena\royale-compiler\compiler\src\main\
> resource
>
> s\project.properties
>
>      [echo] ${INFO_DOWNLOADING_FILE_FROM}
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> download-apache-license:
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> download-other-license:
>
>       [get] Getting: http://www.antlr.org/license.html
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0>
>
>       [get] To: C:\Users\aleena\royale-compiler\compiler\lib\
> external\antlr-LICE
>
> NSE.html
>
>       [get] Error getting http://www.antlr.org/license.html
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0>
> to C:\Users\aleena\r
>
> oyale-compiler\compiler\lib\external\antlr-LICENSE.html
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> double-check-file:
>
>      [echo] ${env.ROYALE_DOWNLOAD_CACHE}
>
>      [echo] Need file: ${still_no_file}
>
>
>
> get-from-cache-if-needed:
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> fail-if-not-found:
>
>
>
> BUILD FAILED
>
> C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred
> while e
>
> xecuting this line:
>
> C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred
> while e
>
> xecuting this line:
>
> C:\Users\aleena\royale-compiler\build.xml:64: The following error
> occurred while
>
>  executing this line:
>
> C:\Users\aleena\royale-compiler\compiler-jburg-types\build.xml:87: The
> following
>
>  error occurred while executing this line:
>
> C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:81:
> Th
>
> e following error occurred while executing this line:
>
> C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:275:
> T
>
> he following error occurred while executing this line:
>
> C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:329:
> T
>
> he following error occurred while executing this line:
>
> C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:489:
> C
>
> :\Users\aleena\royale-compiler\compiler/lib/external//antlr-LICENSE.html
> could n
>
> ot be downloaded or found in cache
>
>
>
> Total time: 47 seconds
>
>
>
> C:\Users\aleena\royale-asjs>
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Tuesday, March 06, 2018 11:55 AM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> Please use JDK8.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, March 5, 2018 at 10:40 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> Java version that I am using is “9.0.1”
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Tuesday, March 06, 2018 11:42 AM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> What version of Java are you using?  Please get a JDK7 or 8 and try that.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, March 5, 2018 at 10:22 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> Command Prompt Output is:
>
> C:\Users\aleena>git clone https://github.com/apache/royale-asjs.git
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs.git&data=02%7C01%7Caharui%40adobe.com%7Cdf86fa0dd25b41ffbc8108d5832f0997%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559160423949211&sdata=d9cKX4ILIQPLI5USXvAafSnrWZSgW1XHw6G4r%2B9wgsE%3D&reserved=0>
> royale-asjs
>
> Cloning into 'royale-asjs'...
>
> remote: Counting objects: 101103, done.
>
> remote: Compressing objects: 100% (22/22), done.
>
> remote: Total 101103 (delta 9), reused 30 (delta 7), pack-reused 101066R
>
> Receiving objects: 100% (101103/101103), 19.23 MiB | 208.00 KiB/s, done.
>
>
>
> Resolving deltas: 100% (61584/61584), done.
>
> Checking out files: 100% (3572/3572), done.
>
>
>
> C:\Users\aleena>cd royale-asjs
>
>
>
> C:\Users\aleena\royale-asjs>git checkout develop
>
> Already on 'develop'
>
> Your branch is up to date with 'origin/develop'.
>
>
>
> C:\Users\aleena\royale-asjs>ant all
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> Buildfile: C:\Users\aleena\royale-asjs\build.xml
>
>
>
> set.base.folder:
>
>
>
> check-git:
>
>      [echo] Checking for Git...
>
>      [exec] git version 2.16.2.windows.1
>
>
>
> get-download-folder:
>
>
>
> download-all:
>
>      [echo] Using folder C:\Users\aleena\royale-asjs/..
>
>
>
> check-royale-asjs:
>
>
>
> warn-before-clone:
>
>
>
> check-royale-asjs:
>
>
>
> clone-royale-asjs:
>
>
>
> check-royale-compiler:
>
>
>
> clone-royale-compiler:
>
>      [echo] cloning royale-compiler repo into
> C:\Users\aleena\royale-asjs/../roy
>
> ale-compiler
>
>      [exec] Cloning into 'royale-compiler'...
>
>      [exec] Checking out files:   8% (284/3191)
>
>      [exec] Checking out files:   9% (288/3191)   Checking out files:  10%
> (320/
>
> 3191)   Checking out files:  11% (352/3191)   Checking out files:  12%
> (383/3191
>
> )   Checking out files:  13% (415/3191)   Checking out files:  13%
> (444/3191)
>
> Checking out files:  14% (447/3191)   Checking out files:  15%
> (479/3191)   Chec
>
> king out files:  16% (511/3191)   Checking out files:  17% (543/3191)
> Checking
>
>  out files:  18% (575/3191)   Checking out files:  19% (607/3191)
> Checking out
>
>  files:  20% (639/3191)   Checking out files:  20% (641/3191)   Checking
> out fil
>
> es:  21% (671/3191)   Checking out files:  22% (703/3191)   Checking out
> files:
>
>  23% (734/3191)   Checking out files:  24% (766/3191)   Checking out
> files:  25%
>
>  (798/3191)   Checking out files:  26% (830/3191)   Checking out files:
> 26% (84
>
> 2/3191)   Checking out files:  27% (862/3191)   Checking out files:  28%
> (894/31
>
> 91)   Checking out files:  29% (926/3191)   Checking out files:  30%
> (958/3191)
>
>   Checking out files:  31% (990/3191)   Checking out files:  32%
> (1022/3191)   C
>
> hecking out files:  33% (1054/3191)   Checking out files:  34%
> (1085/3191)   Che
>
> cking out files:  35% (1117/3191)   Checking out files:  36% (1149/3191)
> Check
>
> ing out files:  37% (1181/3191)   Checking out files:  38% (1213/3191)
> Checkin
>
> g out files:  39% (1245/3191)   Checking out files:  40% (1277/3191)
> Checking
>
> out files:  40% (1308/3191)   Checking out files:  41% (1309/3191)
> Checking ou
>
> t files:  42% (1341/3191)   Checking out files:  42% (1352/3191)
> Checking out
>
> files:  43% (1373/3191)   Checking out files:  44% (1405/3191)   Checking
> out fi
>
> les:  45% (1436/3191)   Checking out files:  46% (1468/3191)   Checking
> out file
>
> s:  47% (1500/3191)   Checking out files:  48% (1532/3191)   Checking out
> files:
>
>   49% (1564/3191)   Checking out files:  49% (1578/3191)   Checking out
> files:
>
> 50% (1596/3191)   Checking out files:  51% (1628/3191)   Checking out
> files:  52
>
> % (1660/3191)   Checking out files:  53% (1692/3191)   Checking out
> files:  54%
>
> (1724/3191)   Checking out files:  55% (1756/3191)   Checking out files:
> 56% (1
>
> 787/3191)   Checking out files:  57% (1819/3191)   Checking out files:
> 58% (185
>
> 1/3191)   Checking out files:  59% (1883/3191)   Checking out files:  60%
> (1915/
>
> 3191)   Checking out files:  61% (1947/3191)   Checking out files:  62%
> (1979/31
>
> 91)   Checking out files:  63% (2011/3191)   Checking out files:  63%
> (2022/3191
>
> )   Checking out files:  64% (2043/3191)   Checking out files:  65%
> (2075/3191)
>
>   Checking out files:  66% (2107/3191)   Checking out files:  67%
> (2138/3191)
>
> Checking out files:  68% (2170/3191)   Checking out files:  69%
> (2202/3191)   Ch
>
> ecking out files:  70% (2234/3191)   Checking out files:  71%
> (2266/3191)   Chec
>
> king out files:  72% (2298/3191)   Checking out files:  73% (2330/3191)
> Checki
>
> ng out files:  74% (2362/3191)   Checking out files:  75% (2394/3191)
> Checking
>
>  out files:  76% (2426/3191)   Checking out files:  77% (2458/3191)
> Checking o
>
> ut files:  78% (2489/3191)   Checking out files:  79% (2521/3191)
> Checking out
>
>  files:  80% (2553/3191)   Checking out files:  81% (2585/3191)   Checking
> out f
>
> iles:  82% (2617/3191)   Checking out files:  83% (2649/3191)   Checking
> out fil
>
> es:  83% (2679/3191)   Checking out files:  84% (2681/3191)   Checking out
> files
>
> :  85% (2713/3191)   Checking out files:  86% (2745/3191)   Checking out
> files:
>
>  87% (2777/3191)   Checking out files:  88% (2809/3191)   Checking out
> files:  8
>
> 9% (2840/3191)   Checking out files:  89% (2845/3191)   Checking out
> files:  90%
>
>  (2872/3191)   Checking out files:  91% (2904/3191)   Checking out files:
> 92% (
>
> 2936/3191)   Checking out files:  93% (2968/3191)   Checking out files:
> 94% (30
>
> 00/3191)   Checking out files:  95% (3032/3191)   Checking out files:  95%
> (3035
>
> /3191)   Checking out files:  96% (3064/3191)   Checking out files:  97%
> (3096/3
>
> 191)   Checking out files:  98% (3128/3191)   Checking out files:  99%
> (3160/319
>
> 1)   Checking out files: 100% (3191/3191)   Checking out files: 100%
> (3191/3191)
>
> , done.
>
>      [exec] Your branch is up to date with 'origin/develop'.
>
>      [exec] Already on 'develop'
>
>
>
> check-royale-typedefs:
>
>
>
> clone-royale-typedefs:
>
>      [echo] cloning royale-typedefs repo into
> C:\Users\aleena\royale-asjs/../roy
>
> ale-typedefs
>
>      [exec] Cloning into 'royale-typedefs'...
>
>      [exec] Your branch is up to date with 'origin/develop'.
>
>      [exec] Already on 'develop'
>
>
>
> check-playerglobal-home:
>
>
>
> check-air-home:
>
>
>
> build-all:
>
>
>
> ask-before-build-all:
>
>     [input] This script will now download and compile lots of files.  This
> can t
>
> ake several minutes.   No interaction should be required.  Press the enter
> key t
>
> o continue.
>
>
>
> sdk:
>
>
>
> annotate.class:
>
>     [mkdir] Created dir: C:\Users\aleena\royale-
> compiler\compiler-build-tools\ta
>
> rget\classes
>
>     [javac] Compiling 1 source file to C:\Users\aleena\royale-
> compiler\compiler-
>
> build-tools\target\classes
>
>     [javac] warning: [options] bootstrap class path not set in conjunction
> with
>
> -source 1.5
>
>     [javac] error: Source option 1.5 is no longer supported. Use 1.6 or
> later.
>
>     [javac] error: Target option 1.5 is no longer supported. Use 1.6 or
> later.
>
>
>
> BUILD FAILED
>
> C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred
> while e
>
> xecuting this line:
>
> C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred
> while e
>
> xecuting this line:
>
> C:\Users\aleena\royale-compiler\build.xml:63: The following error
> occurred while
>
>  executing this line:
>
> C:\Users\aleena\royale-compiler\compiler-build-tools\build.xml:74:
> Compile faile
>
> d; see the compiler error output for details.
>
>
>
> Total time: 17 minutes 59 seconds
>
>
>
> C:\Users\aleena\royale-asjs>
>
>
>
> Unable to Build, Please guide.
>
>
>
> Thanks,
>
> Alina
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Friday, March 02, 2018 10:31 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> I was able to download and expand the files.  I will be consolidating the
> data today.
>
>
>
> In order to be able to write some of these emulations, you will probably
> need to be able to build the framework sources.  If you haven't already,
> you can try cloning the royale-asjs repo and figure out how to get it to
> build.  You can choose Apache Maven or Apache Ant as the build tool.
>
>
>
> https://github.com/apache/royale-asjs
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs&data=02%7C01%7Caharui%40adobe.com%7C3c1833c1fc9442003f2608d5832c7fe0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559149534170415&sdata=YqGTpbzoou8SilHbsTxjriIjiREaS%2FA9j6xjZYRR%2F4E%3D&reserved=0>
>
>
>
> Hopefully the instruction in the readme are sufficient.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Friday, March 2, 2018 at 12:34 AM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> Application API-Report link:
>
> https://www.dropbox.com/s/swvqhly6wa0jrc5/API-Reports.rar?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fswvqhly6wa0jrc5%2FAPI-Reports.rar%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C928c248220464230f6dd08d5801a2f13%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555772324148830&sdata=9%2BsrGG41iCMIEmbtqnEbV%2BPvi1ngE9vF%2BKuqPAZ%2Bzao%3D&reserved=0>
>
> SHMALib Report, applications,shmDoclist,shmSetupList,AppView_EIS,
> AppView_ERP,shmMappingSetup, shmMappingSetupOpenDetailGrid,shmSalesInvoice,
> shmSalesInvoiceDetail are main API Files.
>
>
>
> Regards,
>
> Alina
>
>
>
>
>
>
>
>
>
> *From:* Alina Kazi [mailto:alina.kazi@d-bz.com <al...@d-bz.com>]
> *Sent:* Friday, March 02, 2018 11:32 AM
> *To:* users@royale.apache.org
> *Subject:* RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> 2) We are using Effects in our Application 2-3 times
>
> 4) We are using text styling in our Application 3-5 times
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Friday, March 02, 2018 4:26 AM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> 1) Interesting about Charts.  They were being used by the SWC.
>
> 2) Effects are any animations that move, resize or fade things in the UI.
>
> 3) ok
>
> 4) I'm not sure what to conclude from the screenshot.  I'm interested in
> how often folks use it to create text with bold, italics and other styling
> of text.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Thursday, March 1, 2018 at 4:24 AM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> 600 mxml.api.txt files are generated and still in process. I will share
> link for files tomorrow.
>
> After sharing my files tomorrow, If you will suggest to build  emulations.
>
>
> I will  definitely want to learn how to create emulations and contribute
> them to Apache Royale.
>
> 1.We are not using Charts in our Application
>
> 2. How important are effects? (Please explain effects )
>
> 3. We are not using Right-to-left languages in RichTextEditor.
>
> 4. Is RichTextEditor being used for non-plain text?  If so, what kinds of
> text styling is important?
>
> Link:https://www.dropbox.com/s/ky93eycmefm3cuu/RICHTEXTEDITOR.png?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fky93eycmefm3cuu%2FRICHTEXTEDITOR.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cff526ec5592c42772ade08d57f713736%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555046634193460&sdata=BjS8q1GarTweRfMMmZOKxN%2FTQTqhtzJlm05KAtWnNTQ%3D&reserved=0>
>
> Thanks,
>
> Alina
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Wednesday, February 28, 2018 10:45 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> Good to hear it worked.
>
>
>
> I think I am waiting on all of the mxml.api.txt files to see what else is
> in there that isn't in the two reports we have, then we'll have a pretty
> good list of the places you will either need to change in your code or that
> we  will build emulations for.
>
>
>
> I think emulations will be less work in the end, but there will be a lot
> of them to do.  We will want to you to learn how to create emulations and
> contribute them to Apache Royale.  That's how many Apache projects work:
> some of the users learn how to become committers.  This will be an asset to
> your company as well since you will learn how to fix things in Royale
> yourself.  Then your company won't be dependent on outsiders for support.
>
>
>
> So, Peter and I and hopefully others will get started on some emulations
> to make sure they work for us, and then you can see if they work for you,
> and then we will teach you how to write those emulations.  Over the next
> several months, besides testing emulations written by others in your app,
> you will be writing your own emulations for things you need right away that
> we haven't written yet, or for third-party code that you are using.
>
>
>
> It might help to get some prioritization on the emulations we need to
> write.  In looking at the list, I am wondering:
>
>    1. Are some charts more important than others?
>    2. How important are effects?
>    3. Do you use Right-to-left languages in RichTextEditor?
>    4. Is RichTextEditor being used for non-plain text?  If so, what kinds
>    of text styling is important?
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Wednesday, February 28, 2018 at 1:22 AM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> Thank you.
>
> It’s working with latest nightly build:
>
> https://www.dropbox.com/s/77wkgrm74upkg0j/SHMALib%20Report.txt?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F77wkgrm74upkg0j%2FSHMALib%2520Report.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C16fa845b6d2f4efb7f4a08d57e8e9097%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636554073167111532&sdata=UV0BOZpVonw%2BILcK9njhQdf5pKpqWPccp0IKDPm4jOI%3D&reserved=0>
>
>
>
>
>
> Regards,
>
> Alina
>
>
>
>
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Wednesday, February 28, 2018 1:15 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> Looks like COMPC collected the data but never generated the report.  I
> pushed a fix for that.  Please try the latest nightly build.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Tuesday, February 27, 2018 at 10:35 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> Thank you
>
> After commenting the embedded font part from source.
>
> Output to console:
>
> 3462313 bytes written to D:\SHMALib.swc in 19.878 seconds
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
> "D:\SHMALib.swc"
>
>  -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bin\framewor
>
> ks\flex-config.xml -source-path="D:\SHMALIB\src"
> -include-sources="D:\SHMALIB\sr
>
> c" -library-path+=D:\SHMALIB\libs
>
>
>
> SHMALib.swf file Generated and Report.txt is empty
>
> *SHMALib.swc output Link:*
>
> https://www.dropbox.com/s/4tz49sz134m2gg9/SHMALib.swc?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F4tz49sz134m2gg9%2FSHMALib.swc%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=%2FNcbTJtah21RRPeWfwg2pRaZ72hd%2BdG0iJlnH3GsA28%3D&reserved=0>
>
> then I change, Compc -output "D:\SHMALib.swc" to Compc -output
> "D:\SHMALib. txt "
>
> *SHMALib.txt output Link:*
>
> https://www.dropbox.com/s/j38obt5e36awuh3/SHMALib.txt?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fj38obt5e36awuh3%2FSHMALib.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=V%2FcA5dJ3Fi1qOvh%2BtUlbU%2FZ%2FQ5SBfRw7psjsm2Q%2Fe8w%3D&reserved=0>
>
>
>
> Thanks,
>
> Alina
>
>
>
>
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Wednesday, February 28, 2018 11:18 AM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> The only error right now is the embedded font.
>
>
>
> We can discuss the pros and cons of embedding images in the JS output at
> some other point in time.
>
>
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Tuesday, February 27, 2018 at 10:01 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Big Part of SHMALib Uses Embed and metadata :
>
>
>
>                                 // Embed the font so we can rotate it for
> further distortion
>
>                                 [Embed(systemFont="Comic Sans MS",
>
>
> embedAsCFF='false')]
>
>                 <mx:Image y="4" width="18" height="20" right="185"
> source="@Embed(source='assets/default/images/load.png')"
>
>
> source="@Embed(source='assets/default/images/next.gif')"
> scaleContent="false"/>
>
>                 <mx:Image y="4" width="18" height="20" right="3"
> source="@Embed(source='assets/default/images/magnifier.png')"
>
>      * An IFrame which you can embed into Flex applications to show an
> HTML page.
>
>      * @example A simple application with Google embedded
>
>         // SWF embed object tracking
>
>          * The SWF embed object id.
>
>          * Get the embed object id.
>
>         protected function resolveEmbedObjectId():void
>
>                     var result:Object=ExternalInterface.call(
> IFrameExternalCalls.FUNCTION_ASK_FOR_EMBED_OBJECT_ID,
> randomIdentificationString.toString());
>
>                         logger.info("Resolved the SWF embed object id to
> '{0}'.", applicationId);
>
>                         logger.error('Could not resolve the SWF embed
> object Id.');
>
>             // Resolve the SWF embed object id in the DOM.
>
>             ExternalInterface.call(IFrameExternalCalls.INSERT_
> FUNCTION_ASK_FOR_EMBED_OBJECT_ID);
>
>             resolveEmbedObjectId();
>
>             logger.info("Loading IFrame with id '{0}', on SWF embed
> object with id '{1}'.", _frameId, applicationId);
>
>                     FUNCTION_LOADIFRAME + " = function (frameID, iframeID,
> url, embedID, scrollPolicy)" +
>
>                                       "onLoad='\"+embedID+\".\"+frameID+\"_load();'
> " +
>
>         public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =
> "askForEmbedObjectId";
>
>         public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =
> "askForEmbedObjectId";
>
>         public static var INSERT_FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =
>
>                 "if (document." + FUNCTION_ASK_FOR_EMBED_OBJECT_ID +
> "==null)" +
>
>                     FUNCTION_ASK_FOR_EMBED_OBJECT_ID + " =
> function(randomString) " +
>
>                             "var embeds = document.getElementsByTagName('embed');
> " +
>
>                             "var embeds = document.getElementsByTagName('embed');
> " +
>
>                             "for (var i = 0; i < embeds.length; i++) { " +
>
>                                 "var isTheGoodOne =
> embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " +
>
>                                 "var isTheGoodOne =
> embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " +
>
>                                     "return embeds[i].getAttribute('id');
> " +
>
>                                  * The UITextField control for displaying
> embeded hints.
>
>                                 private var embedTextField:UITextField;
>
>                                  *  The String to be shown as the embeded
> hint.
>
>                                 private var embedStr:String = "";
>
>
> embedStr = "MM DD YYYY";
>
>
> embedStr = "DD MM YYYY";
>
>
> embedStr = "YYYY MM DD";
>
>
> embedStr = "YYYY DD MM";
>
>                                  *  Create child objects for displaying
> embeded hints.
>
>
> embedTextField = new UITextField();
>
>
> //embedTextField.text = embedStr;
>
>
> //embedTextField.text = embedStr;
>
>
> addChildAt(UITextField(embedTextField),getChildIndex(
> DisplayObject(textField)));//as TextField
>
>
>                                                     s =
> embedTextField.text == null ? "":embedTextField.text;
>
>
>                                                     s =
> embedTextField.text == null ? "":embedTextField.text;
>
>
>                                                                     s =
> s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);
>
>
>
> embedTextField.text = s;
>
>
>                                                     s =
> embedTextField.text == null ? "":embedTextField.text;
>
>
>                                                     s =
> embedTextField.text == null ? "":embedTextField.text;
>
>
>                                                                     //s =
> s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);
>
>
>
> //embedTextField.text = s;
>
>
>                                                                     s =
> s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);
>
>
>
> embedTextField.text = s;
>
>
> // If embeded hints are displayed then update the
>
>
> // UITextField corresponding to the embeded hints
>
>
>                                     var s:String = embedTextField.text ==
> null ? "":embedTextField.text;
>
>
>                                     var s:String = embedTextField.text ==
> null ? "":embedTextField.text;
>
>
>                                                     embedTextField.text =
> s;
>
>                                                                 // create
> the embeded text field for showing
>
>                                                                 //
> embeded hints if its not already created.
>
>                                                                 // If it
> is created, then just change the embeded hint.
>
>
> if(!embedTextField)
>
>
> embedTextField = new UITextField();
>
>
> addChildAt(embedTextField,getChildIndex(DisplayObject(textField))); //as
> TextField
>
>
> //embedTextField.text = embedStr;
>
>
> //embedTextField.text = embedStr;
>
>
> embedTextField.alpha = 1;
>
>
> embedTextField.setTextFormat(txtFormat);
>
>
> embedTextField.x = 0;
>
>
> embedTextField.y = 2;
>
>
> embedTextField.setActualSize(width,height);
>
>
> if(embedTextField)
>
>
> embedTextField.text = "";
>
>
> embedTextField = null;
>
>                                                 // setting the color of
> the embeded text field to white.
>
>
> if(embedTextField)
>
>
> embedTextField.setColor(0xFFFFFF);
>
>
> if(embedTextField)
>
>
>                 addChildAt(DisplayObject(newSkin),getChildIndex(
> DisplayObject(embedTextField)));//
>
>    background-image:
> Embed(source="/assets/application_background.png",
>
>                 up-skin:                Embed("/assets/maximize_up.png");
>
>                 over-skin:            Embed("/assets/maximize_over.png");
>
>                 down-skin:         Embed("/assets/maximize_up.png");
>
>                 selected-up-skin:   Embed("/assets/restore_up.png");
>
>                 selected-over-skin: Embed("/assets/restore_over.png");
>
>                 selected-down-skin: Embed("/assets/restore_up.png");
>
>                 up-skin:        Embed("/assets/minimize_up.png");
>
>                 over-skin:      Embed("/assets/minimize_over.png");
>
>                 down-skin:      Embed("/assets/minimize_up.png");
>
>                 up-skin:
> Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30",
> scaleGridLeft="10", scaleGridRight="92");
>
>                 over-skin:
> Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30",
> scaleGridLeft="10", scaleGridRight="92");
>
>                 down-skin:
> Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30",
> scaleGridLeft="10", scaleGridRight="92");
>
>                 selected-up-skin:
> Embed("/assets/tab_selected.png", scaleGridTop="13",
> scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");
>
>                 selected-over-skin:
> Embed("/assets/tab_selected.png", scaleGridTop="13",
> scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");
>
>                 selected-down-skin:
> Embed("/assets/tab_selected.png", scaleGridTop="13",
> scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");
>
>                 up-skin:
> Embed("/assets/left_arrow_up.gif");
>
>                 over-skin:
> Embed("/assets/left_arrow_over.gif");
>
>                 down-skin:
> Embed("/assets/left_arrow_up.gif");
>
>                 disabled-skin:    Embed("/assets/left_arrow_
> disabled.gif");
>
>                 up-skin:
> Embed("/assets/right_arrow_up.gif");
>
>                 over-skin:
> Embed("/assets/right_arrow_over.gif");
>
>                 down-skin:
> Embed("/assets/right_arrow_up.gif");
>
>                 disabled-skin:    Embed("/assets/right_arrow_
> disabled.gif");
>
>                                 //[Embed(source="/assets/
> cursor_move.gif")]
>
>                                 //[Embed(source="/assets/
> cursor_resize.gif")]
>
>                                 [Embed(source="/assets/
> default/images/mouseMove.gif")]
>
>                                 [Embed(source="/assets/
> default/images/verticalSize.gif")]
>
>                                 [Embed(source="/assets/
> default/images/horizontalSize.gif")]
>
>                                 [Embed(source="/assets/default/images/
> leftObliqueSize.gif")]
>
>                                 [Embed(source="/assets/default/images/
> rightObliqueSize.gif")]
>
>                                                 if (image.isEmbedded)
>
>                                                 //if
> (!Application.application.systemManager.isFontFaceEmbedded(textFormat))
>
>                                                 if (!FlexGlobals.
> topLevelApplication.systemManager.isFontFaceEmbedded(textFormat))
>
>                                                                 if
> (Application.application.isFontsEmbedded) {
>
>                                                                 if
> (Application.application.isFontsEmbedded) {
>
>                                                                 if
> (Application.application.isFontsEmbedded) {
>
>                                 private var _isEmbedded:Boolean = false;
>
>                                 public function set
> isEmbedded(embedded:Boolean):void
>
>                                 public function set
> isEmbedded(embedded:Boolean):void
>
>                                                 _isEmbedded = embedded;
>
>                                                 _isEmbedded = embedded;
>
>                                 public function get isEmbedded():Boolean
>
>                                                 return _isEmbedded;
>
>                                                 <mx:icon>@Embed(source='
> images/print.GIF')</mx:icon>
>
>                                                 <mx:icon>@Embed(source='
> images/reload.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/first-gray.GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/first.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/previous-gray.
> GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/previous.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/next-gray.GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/next.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/last-gray.GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/last.GIF')</mx:icon>
>
>
> <mx:icon>@Embed(source='images/actualsize.GIF')</mx:icon>
>
>
> <mx:icon>@Embed(source='images/fitpage.GIF')</mx:icon>
>
>
> <mx:icon>@Embed(source='images/fitwidth.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/zoomin-gray.GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/zoomin.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/zoomout-gray.
> GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/zoomout.GIF')</mx:icon>
>
>
> <mx:icon>@Embed(source='images/print.GIF')</mx:icon>
>
>                                                 if (
> imageSourceXml.@isEmbedded.length() > 0)
>
>
> image.isEmbedded = imageSourceXml.@isEmbedded == "true";
>
>
> image.isEmbedded = imageSourceXml.@isEmbedded == "true";
>
>                  source="@Embed(source='/assets/default/images/left_
> arrow_up.gif')"/>
>
>                  source="@Embed(source='/assets/default/images/left_
> arrow_over.gif')"/>
>
>                  source="@Embed(source='/assets/default/images/left_arrow_disabled.gif')"/>
>
>
>
>    source="@Embed(source='/com/shm/flexlib/mdi/assets/img/
> maximizeButton.png')"/>
>
>
>    height="12" source="@Embed(source='/com/shm/flexlib/mdi/assets/img/
> restoreButton.png')"/>
>
>
>    source="@Embed(source='/com/shm/flexlib/mdi/assets/img/
> minimizeButton.png')"/>
>
>                  source="@Embed(source='/assets/default/images/right_
> arrow_up.gif')"/>
>
>                  source="@Embed(source='/assets/default/images/right_
> arrow_over.gif')"/>
>
>                  source="@Embed(source='/assets/default/images/right_arrow_disabled.gif')"/>
>
>
>
>
>
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Wednesday, February 28, 2018 11:00 AM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> I think you can ignore the warnings.  The first error is for embedding a
> font, which Royale doesn't currently support, so for now, try commenting
> out the Embed metadata and see if that allows the error to go away.
>
>
>
> I would look into the other errors to see if they are legitimate or not.
> The Royale Compiler will catch some things the MXMLC compiler may not.  Or
> you could comment out the code involved in the two errors in TImeZone.as
> for now since that won't affect the report.
>
>
>
> The final two errors I saw are for missing skin states.  I think you can
> just add the skin states.
>
>
>
> HTH,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Tuesday, February 27, 2018 at 9:35 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> While Executing
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
> "D:\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"
> -include-sources="D:\SHMALIB\src"
>
> Or
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
> "D:\Flex\libs\SH
>
> MALIB.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bi
>
> n\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"
> -include-sources="D:\
>
> SHMALIB\src" -library-path+=D:\SHMALIB\libs
>
>
>
> *Error:*
>
> (file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar)
> to
>
> field java.lang.Thread.inheritableThreadLocals
>
> WARNING: Please consider reporting this to the maintainers of
> com.google.common.
>
> base.internal.Finalizer
>
> WARNING: Use --illegal-access=warn to enable warnings of further illegal
> reflect
>
> ive access operations
>
> WARNING: All illegal access operations will be denied in a future release
>
> Loading configuration: D:\apache-flex-sdk-4.16.0-bin\
> frameworks\flex-config.xml
>
>
>
> Warning: Duplicate declaration of SkinState 'normal'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'disabled'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'normal'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'disabled'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'normal'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'disabled'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'normal'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'disabled'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'normal'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'disabled'
>
>
>
>
>
> D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(415): col: 50
> Warning:
>
> Data binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject channelSet="{parentApplication.
> amfChannelSet}"
>
> id="DataProviderService"  showBusyCursor="true"
>
>                                                                ^
>
>
>
> D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(419): col: 50
> Warning:
>
> Data binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject channelSet="{parentApplication.
> amfChannelSet}"
>
> id="BasicFormatterService"  showBusyCursor="true"
>
>                                                                ^
>
>
>
> D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(516): col: 50
> Warning: Da
>
> ta binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject channelSet="{parentApplication.
> amfChannelSet}"
>
> id="DataProviderService"  showBusyCursor="true"
>
>                                                                ^
>
>
>
> D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(520): col: 50
> Warning: Da
>
> ta binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject channelSet="{parentApplication.
> amfChannelSet}"
>
> id="BasicFormatterService"  showBusyCursor="true"
>
>                                                                ^
>
>
>
> D:\SHMALIB\src\com\shm\components\shmCaptchaImage.as(43): col: 3 Error:
> Embed re
>
> quires a 'source' file attribute
>
>
>
>                 [Embed(systemFont="Comic Sans MS",
>
>                 ^
>
>
>
> D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(37): col: 88
> Warning: Data
>
> binding will not be able to detect assignments to 'isSelected'.
>
>
>
>                                         <mx:CheckBox
> selectedField="isSelected"
>
>  change="onChange(event);" selected="{data.isSelected}">
>
>
>
>                                           ^
>
>
>
> D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(46): col: 27
> Warning: Data
>
> binding will not be able to detect assignments to 'label'.
>
>
>
>                                         <mx:Label text="{data.label}" />
>
>                                                              ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(126): col: 15
> Error: Impli
>
> cit coercion of a value of type Boolean to an unrelated type Number.
>
>
>
>                                 if(year & 0x3 == 0)
>
>                                           ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(134): col: 39
> Error: Impli
>
> cit coercion of a value of type Boolean to an unrelated type Number.
>
>
>
>                                 if(month == 1 && value.fullYear & 0x3 ==
> 0)
>
>                                                                   ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\renderers\GridPodURLRenderer.mxml(6):
> col: 23 W
>
> arning: Data binding will not be able to detect assignments to 'SrNo'.
>
>
>
>                   htmlText="&lt;u&gt;{data.SrNo}&lt;/u&gt;" color="blue"
> click="
>
> f_DrillDownData(data)">
>
>                                     ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml
> Error:
>
> The required skin state 'disabledWithPrompt' is missing.
>
>
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml
> Error:
>
> The required skin state 'normalWithPrompt' is missing.
>
>
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(177): col: 27
> Warning: D
>
> ata binding will not be able to detect assignments to 'valueField'.
>
>
>
>                                                 yField="{properties.@
> valueField}
>
> ">
>
>                                                                     ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(187): col: 34
> Warning: D
>
> ata binding will not be able to detect assignments to 'categoryField'.
>
>
>
>
> categoryField="{properties.@cate
>
> goryField}" />
>
>
> ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(202): col: 27
> Warning: D
>
> ata binding will not be able to detect assignments to 'valueField'.
>
>
>
>                                                 yField="{properties.@
> valueField}
>
> ">
>
>                                                                     ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(212): col: 34
> Warning: D
>
> ata binding will not be able to detect assignments to 'categoryField'.
>
>
>
>
> categoryField="{properties.@cate
>
> goryField}" />
>
>
> ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(429): col: 27
> Warning: D
>
> ata binding will not be able to detect assignments to 'valueField'.
>
>
>
>                                                 yField="{properties.@
> valueField}
>
> ">
>
>                                                                     ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(439): col: 34
> Warning: D
>
> ata binding will not be able to detect assignments to 'categoryField'.
>
>
>
>
> categoryField="{properties.@cate
>
> goryField}" />
>
>
> ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(454): col: 27
> Warning: D
>
> ata binding will not be able to detect assignments to 'valueField'.
>
>
>
>                                                 yField="{properties.@
> valueField}
>
> ">
>
>                                                                     ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(464): col: 34
> Warning: D
>
> ata binding will not be able to detect assignments to 'categoryField'.
>
>
>
>
> categoryField="{properties.@cate
>
> goryField}" />
>
>
> ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(479): col: 26
> Warning: D
>
> ata binding will not be able to detect assignments to 'valueField'.
>
>
>
>
> field="{properties.@valueField}"
>
>
>
>                                                                    ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(115): col: 74
> Warning
>
> : Data binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject id="roDrillDownColInfo"
> channelSet="{parentAppl
>
> ication.amfChannelSet}" showBusyCursor="true"
>
>
>
>        ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(118): col: 68
> Warning
>
> : Data binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject id="roDgDpResult"
> channelSet="{parentApplicatio
>
> n.amfChannelSet}" showBusyCursor="true"
>
>
>
>  ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\PieChartContent.mxml(128): col: 24
> Warning
>
> : Data binding will not be able to detect assignments to 'valueField'.
>
>
>
>                                 field="{properties.@valueField}"
>
>                                                    ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 37
> Warning: Dat
>
> a binding will not be able to detect assignments to 'appParams'.
>
>
>
>
> inputMask="{parentApplic
>
> ation.appParams.DATE_FORMAT}" showToday="true"
> yearNavigationEnabled="true"
>
>
>
>      ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 47
> Warning: Dat
>
> a binding will not be able to detect assignments to 'DATE_FORMAT'.
>
>
>
>
> inputMask="{parentApplic
>
> ation.appParams.DATE_FORMAT}" showToday="true"
> yearNavigationEnabled="true"
>
>
>
>                ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 38
> Warning: Dat
>
> a binding will not be able to detect assignments to 'appParams'.
>
>
>
>
> inputMask="{parentAppli
>
> cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true"
> showToday="true"
>
>
>
>       ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 48
> Warning: Dat
>
> a binding will not be able to detect assignments to 'DATE_FORMAT'.
>
>
>
>
> inputMask="{parentAppli
>
> cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true"
> showToday="true"
>
>
>
>                 ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(12): col: 11
> Warnin
>
> g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.
>
>
>
>                         import mx.graphics.Stroke;
>
>                                ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(37): col: 23
> Warnin
>
> g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.
>
>
>
>                                         lne.stroke = new Stroke(0,1,.3);
>
>                                                          ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(46): col: 14
> Warnin
>
> g: Duplicate variable definition: i.
>
>
>
>                                 for (var i:int = 1; i < lnWdt; i++){
>
>                                          ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(47): col: 10
> Warnin
>
> g: Duplicate variable definition: lne.
>
>
>
>                                         var lne:Line  = new Line();
>
>                                             ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(53): col: 23
> Warnin
>
> g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.
>
>
>
>                                         lne.stroke = new Stroke(0,1,.3);
>
>                                                          ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(54): col: 10
> Warnin
>
> g: Duplicate variable definition: llbe.
>
>
>
>                                         var llbe:Label = new Label();
>
>                                             ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(157): col:
> 40 Warn
>
> ing: 'application' has been deprecated since 4.0. Please use
> 'FlexGlobals.topLev
>
> elApplication'.
>
>
>
>                                 var xPosition:Number =
> Application.application.p
>
> arent.mouseX;
>
>                                                                    ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(158): col:
> 40 Warn
>
> ing: 'application' has been deprecated since 4.0. Please use
> 'FlexGlobals.topLev
>
> elApplication'.
>
>
>
>                                 var yPosition:Number =
> Application.application.p
>
> arent.mouseY;
>
>                                                                    ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(225): col:
> 36 Warn
>
> ing: 'application' has been deprecated since 4.0. Please use
> 'FlexGlobals.topLev
>
> elApplication'.
>
>
>
>                                 var xPlus:Number =
> Application.application.paren
>
> t.mouseX - point.x;
>
>                                                                ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(226): col:
> 36 Warn
>
> ing: 'application' has been deprecated since 4.0. Please use
> 'FlexGlobals.topLev
>
> elApplication'.
>
>
>
>                                 var yPlus:Number =
> Application.application.paren
>
> t.mouseY - point.y;
>
>
>
> Thanks,
>
> Alina Kazi
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Wednesday, February 28, 2018 10:16 AM
> *To:* Alina Kazi; users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> I think that Flash Builder makes it easy to build SWCs.  Building from the
> command line can be a bit trickier.
>
>
>
> Let's try:
>
> Compc -output "D:\SHMALib.swc" -api-report="D:\report.txt"
> -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml
> -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\src"
>
>
>
> HTH,
>
> -Alex
>
>
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Date: *Tuesday, February 27, 2018 at 7:28 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>, Alex Harui <
> aharui@adobe.com>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> Yes I am using Flash Builder.
>
> SHMALIB and MainFlexApp are two separate Projects
>
> Src for SHMALIB is placed into D:/SHMALIB/src
>
> Src for MainFlexApp is D:/Flex/src and the library output file SHMALIB.swc
> is placed into D:/Flex/libs
>
>
>
> SHMALIB (.actionscriptProperties)
>
>
>
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
>
> <actionScriptProperties mainApplicationPath="SHMALib.as"
> projectUUID="863559ab-3e7b-475b-a3a4-09f4f76fc0d2" version="6">
>
>   <compiler additionalCompilerArguments="-locale en_US"
> autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false"
> generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false"
> htmlHistoryManagement="false" htmlPlayerVersionCheck="true"
> includeNetmonSwc="false" outputFolderLocation="D:/Flex/libs"
> outputFolderPath="bin-debug" sourceFolderPath="src" strict="true"
> targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true"
> verifyDigests="true" warn="true">
>
>     <compilerSourcePath/>
>
>     <libraryPath defaultLinkType="0">
>
>       <libraryPathEntry kind="4" path="">
>
>         <excludedEntries>
>
>           <libraryPathEntry kind="3" linkType="1"
> path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>
>
>         </excludedEntries>
>
>       </libraryPathEntry>
>
>       <libraryPathEntry kind="1" linkType="1" path="libs"/>
>
>     </libraryPath>
>
>     <sourceAttachmentPath/>
>
>   </compiler>
>
>   <applications>
>
>     <application path="SHMALib.as"/>
>
>   </applications>
>
>   <modules/>
>
>   <buildCSSFiles/>
>
> </actionScriptProperties>
>
>
>
> SHMALIB (.flexLibProperties)
>
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
>
> <flexLibProperties includeAllClasses="true" version="3">
>
>   <includeClasses/>
>
>   <includeResources/>
>
>   <namespaceManifests/>
>
> </flexLibProperties>
>
>
>
> Thanks,
>
> Alina
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Tuesday, February 27, 2018 9:34 PM
> *To:* Alina Kazi
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> When you are not trying to use Royale to generate this API report, how are
> you building your current Flex app?  We might need to know that in order to
> determine what parameters to add to COMPC.
>
>
>
> COMPC has additional parameters like -include–sources, include-file,
> include-classes.  Sometimes, these are listed in an xml file.  If you are
> using Flash Builder, for example, then examine the .flexlibproperties and
> .actionscriptProperties files in your project folder.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Date: *Tuesday, February 27, 2018 at 3:21 AM
> *To: *'Alina Kazi' <al...@d-bz.com>
> *Cc: *Alex Harui <ah...@adobe.com>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
> "D:\SHMALib.swc"
>
>  -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"
>
> Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> WARNING: An illegal reflective access operation has occurred
>
> WARNING: Illegal reflective access by com.google.common.base.
> internal.Finalizer
>
> (file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar)
> to
>
> field java.lang.Thread.inheritableThreadLocals
>
> WARNING: Please consider reporting this to the maintainers of
> com.google.common.
>
> base.internal.Finalizer
>
> WARNING: Use --illegal-access=warn to enable warnings of further illegal
> reflect
>
> ive access operations
>
>
>
> Error: nothing was specified to be included in the library.
>
> -Alina
>
>
>
> *From:* Alina Kazi [mailto:alina.kazi@d-bz.com <al...@d-bz.com>]
> *Sent:* Tuesday, February 27, 2018 2:16 PM
> *To:* 'users@royale.apache.org'
> *Subject:* RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> I am using Moonshine IDE 1.9.0.
>
> Flex 4.16.0
>
> Apache Royale 0.9.2 Latest Nightly Build
>
>
>
> *Running this Command on Command Prompt:*
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
> "D:\SHMALib.swc"
>
>  -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"
>
> Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> WARNING: An illegal reflective access operation has occurred
>
> WARNING: Illegal reflective access by com.google.common.base.
> internal.Finalizer
>
> (file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar)
> to
>
> field java.lang.Thread.inheritableThreadLocals
>
> WARNING: Please consider reporting this to the maintainers of
> com.google.common.
>
> base.internal.Finalizer
>
> WARNING: Use --illegal-access=warn to enable warnings of further illegal
> reflect
>
> ive access operations
>
> WARNING: All illegal access operations will be denied in a future release
>
>
>
> *command line Error: unknown configuration variable 'sourceΓÇôpath'.*
>
>
>
> -Alina
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Tuesday, February 27, 2018 1:26 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> COMPC takes a slightly different set of parameters.  What IDE or build
> tools are you using to build it without Royale?  You might need to know
> what options that build uses.
>
>
>
> You can try running:
>
>
>
> Compc -output "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc"
> -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bin\frameworks\flex-config.xml -source–path="D:\Projects\SHMA\Main\Flex\src"
> or wherever the source code is for the library.
>
>
>
> HTH,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, February 26, 2018 at 11:33 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> For custom SWC, I am using COMPC to get an api-report for SWC
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>compc
> "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc" -api-report="D:\report.txt"
> -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml
>
> *Error:* configuration variable 'output' was not set.
>
>
>
>
>
> Thanks,
>
> Alina
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Tuesday, February 27, 2018 12:27 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> Yes, any SWC that is not in the Flex SDK's frameworks/libs folder needs to
> be specified as Piotr describes below.  We want you specify the same MXML
> file that you use to compile in the regular Flex SDK.  So if your
> Application.mxml starts with an mx:Application or s:Application that’s
> probably the one to use.  But also, if you have your own custom SWCs, we
> want you to use COMPC to get an api-report for those SWCs.  We want this
> modified Royale compiler to compile every source file you own so we can see
> what Flex APIs you are using.
>
>
>
> HTH,
>
> -Alex
>
>
>
> *From: *Piotr Zarzycki <pi...@gmail.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, February 26, 2018 at 11:19 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> In my sense you will have to use -library-path+=path to the library. You
> have to tell compiler about that library.
>
>
>
> Thanks, Piotr
>
>
>
> 2018-02-27 7:57 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>
> Hi  Alex,
>
> *With latest nightly build:*
>
> MaskedTextInput , shmReportUtil …. Are Library Project Actionscript Files.
>
> Main Application contains SHMALib.swc file in Libs folder
>
> Error Link:
>
> https://www.dropbox.com/s/p5imt22cuut0ex6/ErrorGeneratingReport.png?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fp5imt22cuut0ex6%2FErrorGeneratingReport.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=8f1f9duW2Red4bP77hFTh3mLcCptBmAwd87n1iSkk%2Bs%3D&reserved=0>
>
>
>
> I have a question that which .mxml file should be used to generate that
> report?
>
> Applications.mxml is startup file in case of my Project so I’m using it.
>
>
>
> Please visit reference link and If I’m doing anything wrong please let me
> know.
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com]
> *Sent:* Tuesday, February 27, 2018 12:00 AM
>
>
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> I pushed a fix for that.  It might or might not be related to your custom
> swc.  Get the latest nightly build and let us know.
>
>
>
> Also, if you are successful, please use your regular compiler to generate
> a -link–report.  That will help us verify that the API report didn't miss
> anything.
>
>
>
> Thanks,
>
> -Alex
>
>
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, February 26, 2018 at 4:01 AM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Generated Report file for Sample Project Successfully.
>
>
>
> spark.components.Application:minHeight,1
>
> spark.components.Application:minWidth,1
>
> spark.components.Application:mxmlContentFactory,2
>
> spark.components.Label:fontSize,1
>
> spark.components.Label:fontWeight,1
>
> spark.components.Label:horizontalCenter,1
>
> spark.components.Label:text,1
>
> spark.components.Label:textAlign,1
>
> spark.components.Label:verticalCenter,1
>
>
>
> But while executing Actual Project got Error:
>
> https://www.dropbox.com/s/d25eysllavuy5z4/compile2.png?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fd25eysllavuy5z4%2Fcompile2.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=2i28J4zjv1vEQ7sd%2BGfHm%2Bh1FjG%2BP3YdJCc6rGZr3C4%3D&reserved=0>
>
> https://www.dropbox.com/s/49iq74zk6rxcr1y/compile1.png?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F49iq74zk6rxcr1y%2Fcompile1.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=44tfkOscWyJ%2FH3M30HeJ6dfFE0TlpTMhQ2t%2Bv%2ByuoDg%3D&reserved=0>
>
>
>
> May be because my Application is dependent to SHMALib(.swc) Library
> Project (Source Shared Earlier).
>
>
>
> -Alina
>
>
>
> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com
> <pi...@gmail.com>]
> *Sent:* Monday, February 26, 2018 5:02 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Alex,
>
>
>
> I did above exercise for Moonshine and got NPE [1]. I used air-config.xml
> because it is na Desktop app.
>
>
>
> [1] https://paste.apache.org/R0Si
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FR0Si&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=tFLrK9xsVt57PytwBaNoUJ%2FIPFH7FCHDtfrmJ1sAl3Y%3D&reserved=0>
>
>
>
>
> Thanks,
>
> Piotr
>
>
>
>
>
> 2018-02-26 12:56 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
>
> Yishay,
>
>
>
> Thank you so much!! I got it working.
>
>
>
> Alina,
>
>
>
> Here is the full instruction.
>
>
>
> 1) Download Apache Royale with SWF support - if you have that is good, if
> not it's here [1]
>
> 2) Download Apache Flex - you have it as I have seen on the screenshot.
>
> 3) Launch console and go to the Royale SDK folder
>
>
>
> "yourpathtosdk\bin\" - In my case it was: "d:\Work\royale_ide\royale_
> nightly_js_swf\bin\"
>
>
>
> 4) Run following command where you will point to the Flex Browser
> application in order to generate report. My command looks like that:
>
>
>
> mxmlc "c:\Users\piotr\Documents\NewFlexBrowserProject\src\NewFlexBrowserProject.mxml"
> -api-report="c:\Users\piotr\Documents\NewFlexBrowserProject\report.txt"
> -load-config=d:\Work\flex-sdk-4.16.1_adobe_air_28\
> frameworks\flex-config.xml
>
>
>
> I generated report for hellow world. Maybe in order to generate report for
> your application that console command may be much more sophisticated. Let's
> see!
>
>
>
>
>
> [1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/
> lastSuccessfulBuild/artifact/out/
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2Fout%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=O%2BpVQ8OuhB%2FtE4ZdylTSkAQCWsIPBGlr9RgiTjWSWEM%3D&reserved=0>
>
>
>
> Thanks,
>
> Piotr
>
>
>
>
>
> 2018-02-26 12:46 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:
>
> Looks like [1] you do need to add compiler option: -api–report=<path to
> output file>
>
>
>
> [1] http://apache-royale-users.20374.n8.nabble.com/
> Substitutes-in-Apache-Royale-tp392p492.html
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p492.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kda6SpkBgdRqGAeGJ5Db629EAy7KAVbOZKzhzhynRZk%3D&reserved=0>
>
>
>
>
>
> *From: *Piotr Zarzycki <pi...@gmail.com>
> *Sent: *Monday, February 26, 2018 1:37 PM
>
>
> *To: *users@royale.apache.org
> *Subject: *Re: Generating API report for Flex Web Browser application
>
>
>
> I have produced with that swf, but what's next? Let's wait for Alex's
> response [1]
>
>
>
> [1] https://paste.apache.org/YEeG
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FYEeG&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8ameYzJ7AloOW4nTa8dqu7zYxwORSQc5sCUqpZDVA%2BY%3D&reserved=0>
>
>
>
> Thanks,
>
> Piotr
>
>
>
> 2018-02-26 12:32 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:
>
> Alex will know but I don’t think so. I haven’t updated the compiler
> recently so can’t test it right now. If you want to test it maybe just
> create a simple app and replace /Users/aharui/ApacheFlex4.16.0 with your
> sdk home.
>
>
>
>
>
>
>
> *From: *Piotr Zarzycki <pi...@gmail.com>
> *Sent: *Monday, February 26, 2018 1:25 PM
> *To: *users@royale.apache.org
> *Subject: *Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Yishay,
>
>
>
> bin/mxmlc
>
> <path to app's
>
> .mxml
>
> file>
>
> -load-config=/Users/aharui/ApacheFlex4.16.0/frameworks/flex-config.xml
>
>
>
> Do I need some switch for compiler -api-report or something like that ?
>
>
>
> Thanks,
>
> Piotr
>
>
>
>
>
> 2018-02-26 12:10 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:
>
> Wasn’t logged in. Here’s [1] the link.
>
>
>
> [1] http://apache-royale-users.20374.n8.nabble.com/
> Substitutes-in-Apache-Royale-tp392p489.html
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p489.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8Tp5%2BFveKS0eoW7D8EovITPQqYrgwDK4P7cW9izXFH8%3D&reserved=0>
>
>
>
>
>
> *From: *Yishay Weiss <yi...@hotmail.com>
> *Sent: *Monday, February 26, 2018 12:59 PM
> *To: *users@royale.apache.org
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> I couldn’t find a way to link to a nabble post, but this [1] might help
> (from Substitutes in Apache Royale).
>
>
>
> [1] https://paste.apache.org/N2QR
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FN2QR&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=VIS8u6EEBWN6jQrFxpttZvAfUCSSKPe3rbrBDU2w7Sg%3D&reserved=0>
>
>
>
> *From: *Piotr Zarzycki <pi...@gmail.com>
> *Sent: *Monday, February 26, 2018 12:44 PM
> *To: *users@royale.apache.org
> *Subject: *Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> I would like to understand how to generate that report. I will go with the
> console path, because I think this is something unusual and probably
> Moonshine is not prepared to do this. I'm writing this on the users mailing
> list because Alina is having some problems with that. I wanted to simplify
> all of that. Let's start from the beginning.
>
>
>
> 1) I have created Flex Web browser project using Apache Flex SDK 4.16.1.
>
> 2) I have nightly build of Royale with SWF support [1]
>
>
>
> What should I type in the console now ?
>
>
>
> [1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/
> lastSuccessfulBuild/artifact/
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=UtYFFQ90aNB2HU2Vx4t8YAS6Eo2j1ZqVAytujEOgoFM%3D&reserved=0>
>
>
>
> Thanks,
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>
>
>
>
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>
>
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>
>
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=zGrfZ2Wj3CLuuW%2B%2BKtUSQF6762Vn0%2BeNjCMlViBMghg%3D&reserved=0>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>



-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

Posted by piotrz <pi...@apache.org>.
Alina,

Not sure yet what is happening on your sight. I just tried build with
cleaned up before everything and got success

<http://apache-royale-users.20374.n8.nabble.com/file/t1/success_maven_build.png> 

Maybe try again and let me know if you have other results. 

Do you have some restriction on your company PC ?

Thanks, Piotr



--
Sent from: http://apache-royale-users.20374.n8.nabble.com/

Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

Posted by Piotr Zarzycki <pi...@gmail.com>.
Justin,

Order doesn't matter because in settings-template we are pointing to
Snapshot, so you don't have to locally build compiler or typedefs. All
dependencies will be downloaded from the Apache Maven Central.

Alina is using command *mvn -s settings-template.xml clean install* - it
should work. My build is running nicely right now. I have removed
everything from .m2 folder.

Thanks, Piotr


2018-03-07 7:03 GMT+01:00 Justin Mclean <ju...@classsoftware.com>:

> Hi,
>
> The issue here I believe is that 0.9.2 hasn’t been released yet and Alina
> is trying to compile things in the wrong order and it look for 0.9.2 but
> can;’t find it in the apache release area.
>
> To compile with maven you need to do the three repos in this order:
>
> in royale-compiler:
> mvn clean install -P utils
> mvn clean install
>
> In royale-typedefs:
> mvn clean install
>
> In royale-asjs:
> mvn clean install
>
> Thanks,
> Justin




-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

Posted by Justin Mclean <ju...@classsoftware.com>.
Hi,

The issue here I believe is that 0.9.2 hasn’t been released yet and Alina is trying to compile things in the wrong order and it look for 0.9.2 but can;’t find it in the apache release area.

To compile with maven you need to do the three repos in this order:

in royale-compiler:
mvn clean install -P utils
mvn clean install

In royale-typedefs:
mvn clean install

In royale-asjs:
mvn clean install

Thanks,
Justin

Re: API Usage in Flex Web Browser application (was Re: Generating API report for Flex Web Browser application)

Posted by Piotr Zarzycki <pi...@gmail.com>.
Hi Alina,

You can try to go with Maven to see whether you have similar problems [1]

[1]
https://github.com/apache/royale-asjs/wiki/Build-Apache-Royale-with-Maven

Thanks, Piotr

2018-03-06 13:12 GMT+01:00 Alina Kazi <al...@d-bz.com>:

> Hi Alex,
>
> Still getting same error, while executing:
>
> C:\Users\aleena\royale-asjs>ant all
>
> Website link is working :
>
> http://www.antlr.org/license.html
>
>
>
> could be only issue , Antlr server will be off-line ?
>
>
>
> Thanks,
>
> Alina
>
> *From:* Alina Kazi [mailto:alina.kazi@d-bz.com]
> *Sent:* Tuesday, March 06, 2018 4:38 PM
> *To:* 'users@royale.apache.org'
> *Subject:* RE: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Hi Alex,
>
>
>
> We can exclude ScaleX , ScaleY,transform from our code as we are using it
> in our Library Project Only.
>
> We are using “Rotation” in a PopUp Window.
>
>
>
> Can you please explain *emulation* ?
>
> How do they will work?
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alina Kazi [mailto:alina.kazi@d-bz.com]
> *Sent:* Tuesday, March 06, 2018 3:14 PM
> *To:* 'users@royale.apache.org'
> *Subject:* RE: API Usage in Flex Web Browser application (was Re:
> Generating API report for Flex Web Browser application)
>
>
>
> Hi Alex,
>
> We are using commitProperties() in our Library Project. Overriding the
> Existing Spark commitProperties() method
>
> For Example:
>
> ResizableTextAreaSkin.mxml (SHMALib)
>
> override protected function commitProperties():void {
>
>                                                 super.commitProperties();
>
>
>
>                                                 if (lineBreakChanged) {
>
>
> updateStringStyle("lineBreak");
>
>
> lineBreakChanged = false;
>
>                                                 }
>
>                                                 if (paddingChanged) {
>
>
> updatePadding();
>
>
> paddingChanged = false;
>
>                                                 }
>
>                                                 if (verticalAlignChanged)
> {
>
>
> updateStringStyle("verticalAlign");
>
>
> verticalAlignChanged = false;
>
>                                                 }
>
>                                 }
>
> We are using
>
> *Package*
>
> flash.display
> <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/package-detail.html>
>
> *Class*
>
> public class DisplayObject
>
> *Inheritance*
>
> DisplayObject [image: Inheritance] EventDispatcher
> <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/EventDispatcher.html>
>  [image: Inheritance] Object
> <https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Object.html>
>
> *Reference Link:*
>
> https://help.adobe.com/en_US/FlashPlatform/reference/
> actionscript/3/flash/display/DisplayObject.html
>
>
>
> e.g :
>
>                 public function updateLayoutWithoutAnimation():void
>
>                                 {
>
>                                                 if(_layoutInvalid == true
> && layoutFunction != null)
>
>                                                 {
>
>
> _layoutInvalid = false;
>
>
> layoutFunction();
>
>                                                 }
>
>
>
>                                                 for(var aChild:* in
> _targets)
>
>                                                 {
>
>                                                                 var
> target:LayoutTarget = _targets[aChild];
>
>                                                                 var
> item:IFlexDisplayObject = target.item;
>
>                                                                 var
> m:Matrix = DisplayObject(item).transform.matrix;
>
>
>
>                                                                 m.tx =
> target.x;
>
>                                                                 m.ty =
> target.y;
>
>                                                                 m.a =
> target.scaleX;
>
>
>                                                                 m.d =
> target.scaleY
>
>
>
>
> DisplayObject(item).alpha = target.alpha;
>
>
> DisplayObject(item).transform.matrix = m;
>
>
> item.setActualSize(target.unscaledWidth,target.unscaledHeight);
>
>
> if(target.state == "removed")
>
>                                                                 {
>
>
> delete _targets[target.item];
>
>
> continue;
>
>                                                                 }
>
>                                                                 else
>
>                                                                 {
>
>
> target.state = "positioned"
>
>                                                                 }
>
>                                                 }
>
>                                                 stopTimer();
>
>                                 }
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com]
> *Sent:* Tuesday, March 06, 2018 1:36 PM
> *To:* users@royale.apache.org
> *Subject:* API Usage in Flex Web Browser application (was Re: Generating
> API report for Flex Web Browser application)
>
>
>
> Hi Alina,
>
>
>
> I'm starting on the emulation.  I've noticed that your application code
> appears to be calling commitProperties().  Can you tell us why?
>
>
>
> Also, it looks like there are a few uses of rotation, transform, scaleX
> and scaleY.  What are those used for?
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alex Harui <ah...@adobe.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, March 5, 2018 at 11:38 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> Try again.  Sometimes the Antlr server goes off-line around this time of
> day.
>
>
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, March 5, 2018 at 11:12 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> Using jdk1.8.0_162:
>
>
>
> C:\Users\aleena\royale-asjs>ant all
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> Buildfile: C:\Users\aleena\royale-asjs\build.xml
>
>
>
> set.base.folder:
>
>
>
> check-git:
>
>      [echo] Checking for Git...
>
>      [exec] git version 2.16.2.windows.1
>
>
>
> get-download-folder:
>
>
>
> download-all:
>
>      [echo] Using folder C:\Users\aleena\royale-asjs/..
>
>
>
> check-royale-asjs:
>
>
>
> warn-before-clone:
>
>
>
> check-royale-asjs:
>
>
>
> clone-royale-asjs:
>
>
>
> check-royale-compiler:
>
>
>
> clone-royale-compiler:
>
>
>
> check-royale-typedefs:
>
>
>
> clone-royale-typedefs:
>
>
>
> check-playerglobal-home:
>
>
>
> check-air-home:
>
>
>
> build-all:
>
>
>
> ask-before-build-all:
>
>     [input] This script will now download and compile lots of files.  This
> can t
>
> ake several minutes.   No interaction should be required.  Press the enter
> key t
>
> o continue.
>
>
>
>
>
> sdk:
>
>
>
> annotate.class:
>
>     [javac] Compiling 1 source file to C:\Users\aleena\royale-
> compiler\compiler-
>
> build-tools\target\classes
>
>     [javac] warning: [options] bootstrap class path not set in conjunction
> with
>
> -source 1.5
>
>     [javac] warning: [options] source value 1.5 is obsolete and will be
> removed
>
> in a future release
>
>     [javac] warning: [options] target value 1.5 is obsolete and will be
> removed
>
> in a future release
>
>     [javac] warning: [options] To suppress warnings about obsolete
> options, use
>
> -Xlint:-options.
>
>     [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\
> src\main\java\o
>
> rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:24: warning:
> [serial
>
> ] serializable class AnnotateClassDeleteException has no definition of
> serialVer
>
> sionUID
>
>     [javac]     public static class AnnotateClassDeleteException extends
> Excepti
>
> on
>
>     [javac]                   ^
>
>     [javac] C:\Users\aleena\royale-compiler\compiler-build-tools\
> src\main\java\o
>
> rg\apache\royale\compiler\tools\annotate\AnnotateClass.java:32: warning:
> [serial
>
> ] serializable class AnnotateClassRenameException has no definition of
> serialVer
>
> sionUID
>
>     [javac]     public static class AnnotateClassRenameException extends
> Excepti
>
> on
>
>     [javac]                   ^
>
>     [javac] 6 warnings
>
>
>
> unknown.tree.pattern.input.output:
>
>     [javac] Compiling 1 source file to C:\Users\aleena\royale-
> compiler\compiler-
>
> build-tools\target\classes
>
>     [javac] warning: [options] bootstrap class path not set in conjunction
> with
>
> -source 1.5
>
>     [javac] warning: [options] source value 1.5 is obsolete and will be
> removed
>
> in a future release
>
>     [javac] warning: [options] target value 1.5 is obsolete and will be
> removed
>
> in a future release
>
>     [javac] warning: [options] To suppress warnings about obsolete
> options, use
>
> -Xlint:-options.
>
>     [javac] 4 warnings
>
>
>
> main:
>
>
>
> compiler.downloads.cache:
>
>
>
> compiler.downloads:
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> prepare:
>
>      [echo] Making lib directory C:\Users\aleena\royale-
> compiler\compiler/lib/ex
>
> ternal
>
>     [mkdir] Created dir: C:\Users\aleena\royale-
> compiler\compiler\lib\external
>
>
>
> all:
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> check-dependency:
>
>      [echo] checking for C:\Users\aleena\royale-compiler\compiler/lib/
> external//
>
> antlr.jar
>
>
>
> download-dependency:
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> echo-project-jar:
>
>    [delete] Deleting: C:\Users\aleena\royale-compiler\compiler\src\main\
> resource
>
> s\project.properties
>
>      [echo] ${INFO_DOWNLOADING_FILE_FROM}
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> download-apache-license:
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> download-other-license:
>
>       [get] Getting: http://www.antlr.org/license.html
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0>
>
>       [get] To: C:\Users\aleena\royale-compiler\compiler\lib\
> external\antlr-LICE
>
> NSE.html
>
>       [get] Error getting http://www.antlr.org/license.html
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.antlr.org%2Flicense.html&data=02%7C01%7Caharui%40adobe.com%7C0dbd293e6c5142d7725808d583354679%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559187245599692&sdata=arB7dJnXrjKp54kj2h1%2BaU2VXaUsaaoqmRh6i0ebuu0%3D&reserved=0>
> to C:\Users\aleena\r
>
> oyale-compiler\compiler\lib\external\antlr-LICENSE.html
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> double-check-file:
>
>      [echo] ${env.ROYALE_DOWNLOAD_CACHE}
>
>      [echo] Need file: ${still_no_file}
>
>
>
> get-from-cache-if-needed:
>
>      [echo] basedir is C:\Users\aleena\royale-compiler\compiler\src\main\
> resourc
>
> es
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>      [echo] ROYALE_COMPILER_HOME is C:\Users\aleena\royale-
> compiler\compiler
>
>
>
> fail-if-not-found:
>
>
>
> BUILD FAILED
>
> C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred
> while e
>
> xecuting this line:
>
> C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred
> while e
>
> xecuting this line:
>
> C:\Users\aleena\royale-compiler\build.xml:64: The following error
> occurred while
>
>  executing this line:
>
> C:\Users\aleena\royale-compiler\compiler-jburg-types\build.xml:87: The
> following
>
>  error occurred while executing this line:
>
> C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:81:
> Th
>
> e following error occurred while executing this line:
>
> C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:275:
> T
>
> he following error occurred while executing this line:
>
> C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:329:
> T
>
> he following error occurred while executing this line:
>
> C:\Users\aleena\royale-compiler\compiler\src\main\resources\downloads.xml:489:
> C
>
> :\Users\aleena\royale-compiler\compiler/lib/external//antlr-LICENSE.html
> could n
>
> ot be downloaded or found in cache
>
>
>
> Total time: 47 seconds
>
>
>
> C:\Users\aleena\royale-asjs>
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Tuesday, March 06, 2018 11:55 AM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> Please use JDK8.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, March 5, 2018 at 10:40 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> Java version that I am using is “9.0.1”
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Tuesday, March 06, 2018 11:42 AM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> What version of Java are you using?  Please get a JDK7 or 8 and try that.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, March 5, 2018 at 10:22 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> Command Prompt Output is:
>
> C:\Users\aleena>git clone https://github.com/apache/royale-asjs.git
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs.git&data=02%7C01%7Caharui%40adobe.com%7Cdf86fa0dd25b41ffbc8108d5832f0997%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559160423949211&sdata=d9cKX4ILIQPLI5USXvAafSnrWZSgW1XHw6G4r%2B9wgsE%3D&reserved=0>
> royale-asjs
>
> Cloning into 'royale-asjs'...
>
> remote: Counting objects: 101103, done.
>
> remote: Compressing objects: 100% (22/22), done.
>
> remote: Total 101103 (delta 9), reused 30 (delta 7), pack-reused 101066R
>
> Receiving objects: 100% (101103/101103), 19.23 MiB | 208.00 KiB/s, done.
>
>
>
> Resolving deltas: 100% (61584/61584), done.
>
> Checking out files: 100% (3572/3572), done.
>
>
>
> C:\Users\aleena>cd royale-asjs
>
>
>
> C:\Users\aleena\royale-asjs>git checkout develop
>
> Already on 'develop'
>
> Your branch is up to date with 'origin/develop'.
>
>
>
> C:\Users\aleena\royale-asjs>ant all
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> Buildfile: C:\Users\aleena\royale-asjs\build.xml
>
>
>
> set.base.folder:
>
>
>
> check-git:
>
>      [echo] Checking for Git...
>
>      [exec] git version 2.16.2.windows.1
>
>
>
> get-download-folder:
>
>
>
> download-all:
>
>      [echo] Using folder C:\Users\aleena\royale-asjs/..
>
>
>
> check-royale-asjs:
>
>
>
> warn-before-clone:
>
>
>
> check-royale-asjs:
>
>
>
> clone-royale-asjs:
>
>
>
> check-royale-compiler:
>
>
>
> clone-royale-compiler:
>
>      [echo] cloning royale-compiler repo into
> C:\Users\aleena\royale-asjs/../roy
>
> ale-compiler
>
>      [exec] Cloning into 'royale-compiler'...
>
>      [exec] Checking out files:   8% (284/3191)
>
>      [exec] Checking out files:   9% (288/3191)   Checking out files:  10%
> (320/
>
> 3191)   Checking out files:  11% (352/3191)   Checking out files:  12%
> (383/3191
>
> )   Checking out files:  13% (415/3191)   Checking out files:  13%
> (444/3191)
>
> Checking out files:  14% (447/3191)   Checking out files:  15%
> (479/3191)   Chec
>
> king out files:  16% (511/3191)   Checking out files:  17% (543/3191)
> Checking
>
>  out files:  18% (575/3191)   Checking out files:  19% (607/3191)
> Checking out
>
>  files:  20% (639/3191)   Checking out files:  20% (641/3191)   Checking
> out fil
>
> es:  21% (671/3191)   Checking out files:  22% (703/3191)   Checking out
> files:
>
>  23% (734/3191)   Checking out files:  24% (766/3191)   Checking out
> files:  25%
>
>  (798/3191)   Checking out files:  26% (830/3191)   Checking out files:
> 26% (84
>
> 2/3191)   Checking out files:  27% (862/3191)   Checking out files:  28%
> (894/31
>
> 91)   Checking out files:  29% (926/3191)   Checking out files:  30%
> (958/3191)
>
>   Checking out files:  31% (990/3191)   Checking out files:  32%
> (1022/3191)   C
>
> hecking out files:  33% (1054/3191)   Checking out files:  34%
> (1085/3191)   Che
>
> cking out files:  35% (1117/3191)   Checking out files:  36% (1149/3191)
> Check
>
> ing out files:  37% (1181/3191)   Checking out files:  38% (1213/3191)
> Checkin
>
> g out files:  39% (1245/3191)   Checking out files:  40% (1277/3191)
> Checking
>
> out files:  40% (1308/3191)   Checking out files:  41% (1309/3191)
> Checking ou
>
> t files:  42% (1341/3191)   Checking out files:  42% (1352/3191)
> Checking out
>
> files:  43% (1373/3191)   Checking out files:  44% (1405/3191)   Checking
> out fi
>
> les:  45% (1436/3191)   Checking out files:  46% (1468/3191)   Checking
> out file
>
> s:  47% (1500/3191)   Checking out files:  48% (1532/3191)   Checking out
> files:
>
>   49% (1564/3191)   Checking out files:  49% (1578/3191)   Checking out
> files:
>
> 50% (1596/3191)   Checking out files:  51% (1628/3191)   Checking out
> files:  52
>
> % (1660/3191)   Checking out files:  53% (1692/3191)   Checking out
> files:  54%
>
> (1724/3191)   Checking out files:  55% (1756/3191)   Checking out files:
> 56% (1
>
> 787/3191)   Checking out files:  57% (1819/3191)   Checking out files:
> 58% (185
>
> 1/3191)   Checking out files:  59% (1883/3191)   Checking out files:  60%
> (1915/
>
> 3191)   Checking out files:  61% (1947/3191)   Checking out files:  62%
> (1979/31
>
> 91)   Checking out files:  63% (2011/3191)   Checking out files:  63%
> (2022/3191
>
> )   Checking out files:  64% (2043/3191)   Checking out files:  65%
> (2075/3191)
>
>   Checking out files:  66% (2107/3191)   Checking out files:  67%
> (2138/3191)
>
> Checking out files:  68% (2170/3191)   Checking out files:  69%
> (2202/3191)   Ch
>
> ecking out files:  70% (2234/3191)   Checking out files:  71%
> (2266/3191)   Chec
>
> king out files:  72% (2298/3191)   Checking out files:  73% (2330/3191)
> Checki
>
> ng out files:  74% (2362/3191)   Checking out files:  75% (2394/3191)
> Checking
>
>  out files:  76% (2426/3191)   Checking out files:  77% (2458/3191)
> Checking o
>
> ut files:  78% (2489/3191)   Checking out files:  79% (2521/3191)
> Checking out
>
>  files:  80% (2553/3191)   Checking out files:  81% (2585/3191)   Checking
> out f
>
> iles:  82% (2617/3191)   Checking out files:  83% (2649/3191)   Checking
> out fil
>
> es:  83% (2679/3191)   Checking out files:  84% (2681/3191)   Checking out
> files
>
> :  85% (2713/3191)   Checking out files:  86% (2745/3191)   Checking out
> files:
>
>  87% (2777/3191)   Checking out files:  88% (2809/3191)   Checking out
> files:  8
>
> 9% (2840/3191)   Checking out files:  89% (2845/3191)   Checking out
> files:  90%
>
>  (2872/3191)   Checking out files:  91% (2904/3191)   Checking out files:
> 92% (
>
> 2936/3191)   Checking out files:  93% (2968/3191)   Checking out files:
> 94% (30
>
> 00/3191)   Checking out files:  95% (3032/3191)   Checking out files:  95%
> (3035
>
> /3191)   Checking out files:  96% (3064/3191)   Checking out files:  97%
> (3096/3
>
> 191)   Checking out files:  98% (3128/3191)   Checking out files:  99%
> (3160/319
>
> 1)   Checking out files: 100% (3191/3191)   Checking out files: 100%
> (3191/3191)
>
> , done.
>
>      [exec] Your branch is up to date with 'origin/develop'.
>
>      [exec] Already on 'develop'
>
>
>
> check-royale-typedefs:
>
>
>
> clone-royale-typedefs:
>
>      [echo] cloning royale-typedefs repo into
> C:\Users\aleena\royale-asjs/../roy
>
> ale-typedefs
>
>      [exec] Cloning into 'royale-typedefs'...
>
>      [exec] Your branch is up to date with 'origin/develop'.
>
>      [exec] Already on 'develop'
>
>
>
> check-playerglobal-home:
>
>
>
> check-air-home:
>
>
>
> build-all:
>
>
>
> ask-before-build-all:
>
>     [input] This script will now download and compile lots of files.  This
> can t
>
> ake several minutes.   No interaction should be required.  Press the enter
> key t
>
> o continue.
>
>
>
> sdk:
>
>
>
> annotate.class:
>
>     [mkdir] Created dir: C:\Users\aleena\royale-
> compiler\compiler-build-tools\ta
>
> rget\classes
>
>     [javac] Compiling 1 source file to C:\Users\aleena\royale-
> compiler\compiler-
>
> build-tools\target\classes
>
>     [javac] warning: [options] bootstrap class path not set in conjunction
> with
>
> -source 1.5
>
>     [javac] error: Source option 1.5 is no longer supported. Use 1.6 or
> later.
>
>     [javac] error: Target option 1.5 is no longer supported. Use 1.6 or
> later.
>
>
>
> BUILD FAILED
>
> C:\Users\aleena\royale-asjs\build.xml:1754: The following error occurred
> while e
>
> xecuting this line:
>
> C:\Users\aleena\royale-asjs\build.xml:1825: The following error occurred
> while e
>
> xecuting this line:
>
> C:\Users\aleena\royale-compiler\build.xml:63: The following error
> occurred while
>
>  executing this line:
>
> C:\Users\aleena\royale-compiler\compiler-build-tools\build.xml:74:
> Compile faile
>
> d; see the compiler error output for details.
>
>
>
> Total time: 17 minutes 59 seconds
>
>
>
> C:\Users\aleena\royale-asjs>
>
>
>
> Unable to Build, Please guide.
>
>
>
> Thanks,
>
> Alina
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Friday, March 02, 2018 10:31 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> I was able to download and expand the files.  I will be consolidating the
> data today.
>
>
>
> In order to be able to write some of these emulations, you will probably
> need to be able to build the framework sources.  If you haven't already,
> you can try cloning the royale-asjs repo and figure out how to get it to
> build.  You can choose Apache Maven or Apache Ant as the build tool.
>
>
>
> https://github.com/apache/royale-asjs
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs&data=02%7C01%7Caharui%40adobe.com%7C3c1833c1fc9442003f2608d5832c7fe0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636559149534170415&sdata=YqGTpbzoou8SilHbsTxjriIjiREaS%2FA9j6xjZYRR%2F4E%3D&reserved=0>
>
>
>
> Hopefully the instruction in the readme are sufficient.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Friday, March 2, 2018 at 12:34 AM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> Application API-Report link:
>
> https://www.dropbox.com/s/swvqhly6wa0jrc5/API-Reports.rar?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fswvqhly6wa0jrc5%2FAPI-Reports.rar%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C928c248220464230f6dd08d5801a2f13%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555772324148830&sdata=9%2BsrGG41iCMIEmbtqnEbV%2BPvi1ngE9vF%2BKuqPAZ%2Bzao%3D&reserved=0>
>
> SHMALib Report, applications,shmDoclist,shmSetupList,AppView_EIS,
> AppView_ERP,shmMappingSetup, shmMappingSetupOpenDetailGrid,shmSalesInvoice,
> shmSalesInvoiceDetail are main API Files.
>
>
>
> Regards,
>
> Alina
>
>
>
>
>
>
>
>
>
> *From:* Alina Kazi [mailto:alina.kazi@d-bz.com <al...@d-bz.com>]
> *Sent:* Friday, March 02, 2018 11:32 AM
> *To:* users@royale.apache.org
> *Subject:* RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> 2) We are using Effects in our Application 2-3 times
>
> 4) We are using text styling in our Application 3-5 times
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Friday, March 02, 2018 4:26 AM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> 1) Interesting about Charts.  They were being used by the SWC.
>
> 2) Effects are any animations that move, resize or fade things in the UI.
>
> 3) ok
>
> 4) I'm not sure what to conclude from the screenshot.  I'm interested in
> how often folks use it to create text with bold, italics and other styling
> of text.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Thursday, March 1, 2018 at 4:24 AM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> 600 mxml.api.txt files are generated and still in process. I will share
> link for files tomorrow.
>
> After sharing my files tomorrow, If you will suggest to build  emulations.
>
>
> I will  definitely want to learn how to create emulations and contribute
> them to Apache Royale.
>
> 1.We are not using Charts in our Application
>
> 2. How important are effects? (Please explain effects )
>
> 3. We are not using Right-to-left languages in RichTextEditor.
>
> 4. Is RichTextEditor being used for non-plain text?  If so, what kinds of
> text styling is important?
>
> Link:https://www.dropbox.com/s/ky93eycmefm3cuu/RICHTEXTEDITOR.png?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fky93eycmefm3cuu%2FRICHTEXTEDITOR.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cff526ec5592c42772ade08d57f713736%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555046634193460&sdata=BjS8q1GarTweRfMMmZOKxN%2FTQTqhtzJlm05KAtWnNTQ%3D&reserved=0>
>
> Thanks,
>
> Alina
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Wednesday, February 28, 2018 10:45 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> Good to hear it worked.
>
>
>
> I think I am waiting on all of the mxml.api.txt files to see what else is
> in there that isn't in the two reports we have, then we'll have a pretty
> good list of the places you will either need to change in your code or that
> we  will build emulations for.
>
>
>
> I think emulations will be less work in the end, but there will be a lot
> of them to do.  We will want to you to learn how to create emulations and
> contribute them to Apache Royale.  That's how many Apache projects work:
> some of the users learn how to become committers.  This will be an asset to
> your company as well since you will learn how to fix things in Royale
> yourself.  Then your company won't be dependent on outsiders for support.
>
>
>
> So, Peter and I and hopefully others will get started on some emulations
> to make sure they work for us, and then you can see if they work for you,
> and then we will teach you how to write those emulations.  Over the next
> several months, besides testing emulations written by others in your app,
> you will be writing your own emulations for things you need right away that
> we haven't written yet, or for third-party code that you are using.
>
>
>
> It might help to get some prioritization on the emulations we need to
> write.  In looking at the list, I am wondering:
>
>    1. Are some charts more important than others?
>    2. How important are effects?
>    3. Do you use Right-to-left languages in RichTextEditor?
>    4. Is RichTextEditor being used for non-plain text?  If so, what kinds
>    of text styling is important?
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Wednesday, February 28, 2018 at 1:22 AM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> Thank you.
>
> It’s working with latest nightly build:
>
> https://www.dropbox.com/s/77wkgrm74upkg0j/SHMALib%20Report.txt?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F77wkgrm74upkg0j%2FSHMALib%2520Report.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C16fa845b6d2f4efb7f4a08d57e8e9097%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636554073167111532&sdata=UV0BOZpVonw%2BILcK9njhQdf5pKpqWPccp0IKDPm4jOI%3D&reserved=0>
>
>
>
>
>
> Regards,
>
> Alina
>
>
>
>
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Wednesday, February 28, 2018 1:15 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> Looks like COMPC collected the data but never generated the report.  I
> pushed a fix for that.  Please try the latest nightly build.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Tuesday, February 27, 2018 at 10:35 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> Thank you
>
> After commenting the embedded font part from source.
>
> Output to console:
>
> 3462313 bytes written to D:\SHMALib.swc in 19.878 seconds
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
> "D:\SHMALib.swc"
>
>  -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bin\framewor
>
> ks\flex-config.xml -source-path="D:\SHMALIB\src"
> -include-sources="D:\SHMALIB\sr
>
> c" -library-path+=D:\SHMALIB\libs
>
>
>
> SHMALib.swf file Generated and Report.txt is empty
>
> *SHMALib.swc output Link:*
>
> https://www.dropbox.com/s/4tz49sz134m2gg9/SHMALib.swc?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F4tz49sz134m2gg9%2FSHMALib.swc%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=%2FNcbTJtah21RRPeWfwg2pRaZ72hd%2BdG0iJlnH3GsA28%3D&reserved=0>
>
> then I change, Compc -output "D:\SHMALib.swc" to Compc -output
> "D:\SHMALib. txt "
>
> *SHMALib.txt output Link:*
>
> https://www.dropbox.com/s/j38obt5e36awuh3/SHMALib.txt?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fj38obt5e36awuh3%2FSHMALib.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Caf6b57ee3e1544181c9808d57e773f53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553973004090276&sdata=V%2FcA5dJ3Fi1qOvh%2BtUlbU%2FZ%2FQ5SBfRw7psjsm2Q%2Fe8w%3D&reserved=0>
>
>
>
> Thanks,
>
> Alina
>
>
>
>
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Wednesday, February 28, 2018 11:18 AM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> The only error right now is the embedded font.
>
>
>
> We can discuss the pros and cons of embedding images in the JS output at
> some other point in time.
>
>
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Tuesday, February 27, 2018 at 10:01 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Big Part of SHMALib Uses Embed and metadata :
>
>
>
>                                 // Embed the font so we can rotate it for
> further distortion
>
>                                 [Embed(systemFont="Comic Sans MS",
>
>
> embedAsCFF='false')]
>
>                 <mx:Image y="4" width="18" height="20" right="185"
> source="@Embed(source='assets/default/images/load.png')"
>
>
> source="@Embed(source='assets/default/images/next.gif')"
> scaleContent="false"/>
>
>                 <mx:Image y="4" width="18" height="20" right="3"
> source="@Embed(source='assets/default/images/magnifier.png')"
>
>      * An IFrame which you can embed into Flex applications to show an
> HTML page.
>
>      * @example A simple application with Google embedded
>
>         // SWF embed object tracking
>
>          * The SWF embed object id.
>
>          * Get the embed object id.
>
>         protected function resolveEmbedObjectId():void
>
>                     var result:Object=ExternalInterface.call(
> IFrameExternalCalls.FUNCTION_ASK_FOR_EMBED_OBJECT_ID,
> randomIdentificationString.toString());
>
>                         logger.info("Resolved the SWF embed object id to
> '{0}'.", applicationId);
>
>                         logger.error('Could not resolve the SWF embed
> object Id.');
>
>             // Resolve the SWF embed object id in the DOM.
>
>             ExternalInterface.call(IFrameExternalCalls.INSERT_
> FUNCTION_ASK_FOR_EMBED_OBJECT_ID);
>
>             resolveEmbedObjectId();
>
>             logger.info("Loading IFrame with id '{0}', on SWF embed
> object with id '{1}'.", _frameId, applicationId);
>
>                     FUNCTION_LOADIFRAME + " = function (frameID, iframeID,
> url, embedID, scrollPolicy)" +
>
>                                       "onLoad='\"+embedID+\".\"+frameID+\"_load();'
> " +
>
>         public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =
> "askForEmbedObjectId";
>
>         public static var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =
> "askForEmbedObjectId";
>
>         public static var INSERT_FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =
>
>                 "if (document." + FUNCTION_ASK_FOR_EMBED_OBJECT_ID +
> "==null)" +
>
>                     FUNCTION_ASK_FOR_EMBED_OBJECT_ID + " =
> function(randomString) " +
>
>                             "var embeds = document.getElementsByTagName('embed');
> " +
>
>                             "var embeds = document.getElementsByTagName('embed');
> " +
>
>                             "for (var i = 0; i < embeds.length; i++) { " +
>
>                                 "var isTheGoodOne =
> embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " +
>
>                                 "var isTheGoodOne =
> embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " +
>
>                                     "return embeds[i].getAttribute('id');
> " +
>
>                                  * The UITextField control for displaying
> embeded hints.
>
>                                 private var embedTextField:UITextField;
>
>                                  *  The String to be shown as the embeded
> hint.
>
>                                 private var embedStr:String = "";
>
>
> embedStr = "MM DD YYYY";
>
>
> embedStr = "DD MM YYYY";
>
>
> embedStr = "YYYY MM DD";
>
>
> embedStr = "YYYY DD MM";
>
>                                  *  Create child objects for displaying
> embeded hints.
>
>
> embedTextField = new UITextField();
>
>
> //embedTextField.text = embedStr;
>
>
> //embedTextField.text = embedStr;
>
>
> addChildAt(UITextField(embedTextField),getChildIndex(
> DisplayObject(textField)));//as TextField
>
>
>                                                     s =
> embedTextField.text == null ? "":embedTextField.text;
>
>
>                                                     s =
> embedTextField.text == null ? "":embedTextField.text;
>
>
>                                                                     s =
> s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);
>
>
>
> embedTextField.text = s;
>
>
>                                                     s =
> embedTextField.text == null ? "":embedTextField.text;
>
>
>                                                     s =
> embedTextField.text == null ? "":embedTextField.text;
>
>
>                                                                     //s =
> s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);
>
>
>
> //embedTextField.text = s;
>
>
>                                                                     s =
> s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, s.length);
>
>
>
> embedTextField.text = s;
>
>
> // If embeded hints are displayed then update the
>
>
> // UITextField corresponding to the embeded hints
>
>
>                                     var s:String = embedTextField.text ==
> null ? "":embedTextField.text;
>
>
>                                     var s:String = embedTextField.text ==
> null ? "":embedTextField.text;
>
>
>                                                     embedTextField.text =
> s;
>
>                                                                 // create
> the embeded text field for showing
>
>                                                                 //
> embeded hints if its not already created.
>
>                                                                 // If it
> is created, then just change the embeded hint.
>
>
> if(!embedTextField)
>
>
> embedTextField = new UITextField();
>
>
> addChildAt(embedTextField,getChildIndex(DisplayObject(textField))); //as
> TextField
>
>
> //embedTextField.text = embedStr;
>
>
> //embedTextField.text = embedStr;
>
>
> embedTextField.alpha = 1;
>
>
> embedTextField.setTextFormat(txtFormat);
>
>
> embedTextField.x = 0;
>
>
> embedTextField.y = 2;
>
>
> embedTextField.setActualSize(width,height);
>
>
> if(embedTextField)
>
>
> embedTextField.text = "";
>
>
> embedTextField = null;
>
>                                                 // setting the color of
> the embeded text field to white.
>
>
> if(embedTextField)
>
>
> embedTextField.setColor(0xFFFFFF);
>
>
> if(embedTextField)
>
>
>                 addChildAt(DisplayObject(newSkin),getChildIndex(
> DisplayObject(embedTextField)));//
>
>    background-image:
> Embed(source="/assets/application_background.png",
>
>                 up-skin:                Embed("/assets/maximize_up.png");
>
>                 over-skin:            Embed("/assets/maximize_over.png");
>
>                 down-skin:         Embed("/assets/maximize_up.png");
>
>                 selected-up-skin:   Embed("/assets/restore_up.png");
>
>                 selected-over-skin: Embed("/assets/restore_over.png");
>
>                 selected-down-skin: Embed("/assets/restore_up.png");
>
>                 up-skin:        Embed("/assets/minimize_up.png");
>
>                 over-skin:      Embed("/assets/minimize_over.png");
>
>                 down-skin:      Embed("/assets/minimize_up.png");
>
>                 up-skin:
> Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30",
> scaleGridLeft="10", scaleGridRight="92");
>
>                 over-skin:
> Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30",
> scaleGridLeft="10", scaleGridRight="92");
>
>                 down-skin:
> Embed("/assets/tab_up.png", scaleGridTop="11", scaleGridBottom="30",
> scaleGridLeft="10", scaleGridRight="92");
>
>                 selected-up-skin:
> Embed("/assets/tab_selected.png", scaleGridTop="13",
> scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");
>
>                 selected-over-skin:
> Embed("/assets/tab_selected.png", scaleGridTop="13",
> scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");
>
>                 selected-down-skin:
> Embed("/assets/tab_selected.png", scaleGridTop="13",
> scaleGridBottom="31", scaleGridLeft="9", scaleGridRight="91");
>
>                 up-skin:
> Embed("/assets/left_arrow_up.gif");
>
>                 over-skin:
> Embed("/assets/left_arrow_over.gif");
>
>                 down-skin:
> Embed("/assets/left_arrow_up.gif");
>
>                 disabled-skin:    Embed("/assets/left_arrow_
> disabled.gif");
>
>                 up-skin:
> Embed("/assets/right_arrow_up.gif");
>
>                 over-skin:
> Embed("/assets/right_arrow_over.gif");
>
>                 down-skin:
> Embed("/assets/right_arrow_up.gif");
>
>                 disabled-skin:    Embed("/assets/right_arrow_
> disabled.gif");
>
>                                 //[Embed(source="/assets/
> cursor_move.gif")]
>
>                                 //[Embed(source="/assets/
> cursor_resize.gif")]
>
>                                 [Embed(source="/assets/
> default/images/mouseMove.gif")]
>
>                                 [Embed(source="/assets/
> default/images/verticalSize.gif")]
>
>                                 [Embed(source="/assets/
> default/images/horizontalSize.gif")]
>
>                                 [Embed(source="/assets/default/images/
> leftObliqueSize.gif")]
>
>                                 [Embed(source="/assets/default/images/
> rightObliqueSize.gif")]
>
>                                                 if (image.isEmbedded)
>
>                                                 //if
> (!Application.application.systemManager.isFontFaceEmbedded(textFormat))
>
>                                                 if (!FlexGlobals.
> topLevelApplication.systemManager.isFontFaceEmbedded(textFormat))
>
>                                                                 if
> (Application.application.isFontsEmbedded) {
>
>                                                                 if
> (Application.application.isFontsEmbedded) {
>
>                                                                 if
> (Application.application.isFontsEmbedded) {
>
>                                 private var _isEmbedded:Boolean = false;
>
>                                 public function set
> isEmbedded(embedded:Boolean):void
>
>                                 public function set
> isEmbedded(embedded:Boolean):void
>
>                                                 _isEmbedded = embedded;
>
>                                                 _isEmbedded = embedded;
>
>                                 public function get isEmbedded():Boolean
>
>                                                 return _isEmbedded;
>
>                                                 <mx:icon>@Embed(source='
> images/print.GIF')</mx:icon>
>
>                                                 <mx:icon>@Embed(source='
> images/reload.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/first-gray.GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/first.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/previous-gray.
> GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/previous.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/next-gray.GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/next.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/last-gray.GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/last.GIF')</mx:icon>
>
>
> <mx:icon>@Embed(source='images/actualsize.GIF')</mx:icon>
>
>
> <mx:icon>@Embed(source='images/fitpage.GIF')</mx:icon>
>
>
> <mx:icon>@Embed(source='images/fitwidth.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/zoomin-gray.GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/zoomin.GIF')</mx:icon>
>
>
> <mx:disabledIcon>@Embed(source='images/zoomout-gray.
> GIF')</mx:disabledIcon>
>
>
> <mx:icon>@Embed(source='images/zoomout.GIF')</mx:icon>
>
>
> <mx:icon>@Embed(source='images/print.GIF')</mx:icon>
>
>                                                 if (
> imageSourceXml.@isEmbedded.length() > 0)
>
>
> image.isEmbedded = imageSourceXml.@isEmbedded == "true";
>
>
> image.isEmbedded = imageSourceXml.@isEmbedded == "true";
>
>                  source="@Embed(source='/assets/default/images/left_
> arrow_up.gif')"/>
>
>                  source="@Embed(source='/assets/default/images/left_
> arrow_over.gif')"/>
>
>                  source="@Embed(source='/assets/default/images/left_arrow_disabled.gif')"/>
>
>
>
>    source="@Embed(source='/com/shm/flexlib/mdi/assets/img/
> maximizeButton.png')"/>
>
>
>    height="12" source="@Embed(source='/com/shm/flexlib/mdi/assets/img/
> restoreButton.png')"/>
>
>
>    source="@Embed(source='/com/shm/flexlib/mdi/assets/img/
> minimizeButton.png')"/>
>
>                  source="@Embed(source='/assets/default/images/right_
> arrow_up.gif')"/>
>
>                  source="@Embed(source='/assets/default/images/right_
> arrow_over.gif')"/>
>
>                  source="@Embed(source='/assets/default/images/right_arrow_disabled.gif')"/>
>
>
>
>
>
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Wednesday, February 28, 2018 11:00 AM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> I think you can ignore the warnings.  The first error is for embedding a
> font, which Royale doesn't currently support, so for now, try commenting
> out the Embed metadata and see if that allows the error to go away.
>
>
>
> I would look into the other errors to see if they are legitimate or not.
> The Royale Compiler will catch some things the MXMLC compiler may not.  Or
> you could comment out the code involved in the two errors in TImeZone.as
> for now since that won't affect the report.
>
>
>
> The final two errors I saw are for missing skin states.  I think you can
> just add the skin states.
>
>
>
> HTH,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Tuesday, February 27, 2018 at 9:35 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> While Executing
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
> "D:\SHMALib.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"
> -include-sources="D:\SHMALIB\src"
>
> Or
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
> "D:\Flex\libs\SH
>
> MALIB.swc" -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bi
>
> n\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"
> -include-sources="D:\
>
> SHMALIB\src" -library-path+=D:\SHMALIB\libs
>
>
>
> *Error:*
>
> (file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar)
> to
>
> field java.lang.Thread.inheritableThreadLocals
>
> WARNING: Please consider reporting this to the maintainers of
> com.google.common.
>
> base.internal.Finalizer
>
> WARNING: Use --illegal-access=warn to enable warnings of further illegal
> reflect
>
> ive access operations
>
> WARNING: All illegal access operations will be denied in a future release
>
> Loading configuration: D:\apache-flex-sdk-4.16.0-bin\
> frameworks\flex-config.xml
>
>
>
> Warning: Duplicate declaration of SkinState 'normal'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'disabled'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'normal'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'disabled'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'normal'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'disabled'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'normal'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'disabled'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'normal'
>
>
>
>
>
> Warning: Duplicate declaration of SkinState 'disabled'
>
>
>
>
>
> D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(415): col: 50
> Warning:
>
> Data binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject channelSet="{parentApplication.
> amfChannelSet}"
>
> id="DataProviderService"  showBusyCursor="true"
>
>                                                                ^
>
>
>
> D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(419): col: 50
> Warning:
>
> Data binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject channelSet="{parentApplication.
> amfChannelSet}"
>
> id="BasicFormatterService"  showBusyCursor="true"
>
>                                                                ^
>
>
>
> D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(516): col: 50
> Warning: Da
>
> ta binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject channelSet="{parentApplication.
> amfChannelSet}"
>
> id="DataProviderService"  showBusyCursor="true"
>
>                                                                ^
>
>
>
> D:\SHMALIB\src\com\shm\components\PickList_Simple.mxml(520): col: 50
> Warning: Da
>
> ta binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject channelSet="{parentApplication.
> amfChannelSet}"
>
> id="BasicFormatterService"  showBusyCursor="true"
>
>                                                                ^
>
>
>
> D:\SHMALIB\src\com\shm\components\shmCaptchaImage.as(43): col: 3 Error:
> Embed re
>
> quires a 'source' file attribute
>
>
>
>                 [Embed(systemFont="Comic Sans MS",
>
>                 ^
>
>
>
> D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(37): col: 88
> Warning: Data
>
> binding will not be able to detect assignments to 'isSelected'.
>
>
>
>                                         <mx:CheckBox
> selectedField="isSelected"
>
>  change="onChange(event);" selected="{data.isSelected}">
>
>
>
>                                           ^
>
>
>
> D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(46): col: 27
> Warning: Data
>
> binding will not be able to detect assignments to 'label'.
>
>
>
>                                         <mx:Label text="{data.label}" />
>
>                                                              ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(126): col: 15
> Error: Impli
>
> cit coercion of a value of type Boolean to an unrelated type Number.
>
>
>
>                                 if(year & 0x3 == 0)
>
>                                           ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\qs\utils\TimeZone.as(134): col: 39
> Error: Impli
>
> cit coercion of a value of type Boolean to an unrelated type Number.
>
>
>
>                                 if(month == 1 && value.fullYear & 0x3 ==
> 0)
>
>                                                                   ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\renderers\GridPodURLRenderer.mxml(6):
> col: 23 W
>
> arning: Data binding will not be able to detect assignments to 'SrNo'.
>
>
>
>                   htmlText="&lt;u&gt;{data.SrNo}&lt;/u&gt;" color="blue"
> click="
>
> f_DrillDownData(data)">
>
>                                     ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml
> Error:
>
> The required skin state 'disabledWithPrompt' is missing.
>
>
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml
> Error:
>
> The required skin state 'normalWithPrompt' is missing.
>
>
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(177): col: 27
> Warning: D
>
> ata binding will not be able to detect assignments to 'valueField'.
>
>
>
>                                                 yField="{properties.@
> valueField}
>
> ">
>
>                                                                     ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(187): col: 34
> Warning: D
>
> ata binding will not be able to detect assignments to 'categoryField'.
>
>
>
>
> categoryField="{properties.@cate
>
> goryField}" />
>
>
> ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(202): col: 27
> Warning: D
>
> ata binding will not be able to detect assignments to 'valueField'.
>
>
>
>                                                 yField="{properties.@
> valueField}
>
> ">
>
>                                                                     ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ChartContent.mxml(212): col: 34
> Warning: D
>
> ata binding will not be able to detect assignments to 'categoryField'.
>
>
>
>
> categoryField="{properties.@cate
>
> goryField}" />
>
>
> ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(429): col: 27
> Warning: D
>
> ata binding will not be able to detect assignments to 'valueField'.
>
>
>
>                                                 yField="{properties.@
> valueField}
>
> ">
>
>                                                                     ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(439): col: 34
> Warning: D
>
> ata binding will not be able to detect assignments to 'categoryField'.
>
>
>
>
> categoryField="{properties.@cate
>
> goryField}" />
>
>
> ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(454): col: 27
> Warning: D
>
> ata binding will not be able to detect assignments to 'valueField'.
>
>
>
>                                                 yField="{properties.@
> valueField}
>
> ">
>
>                                                                     ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(464): col: 34
> Warning: D
>
> ata binding will not be able to detect assignments to 'categoryField'.
>
>
>
>
> categoryField="{properties.@cate
>
> goryField}" />
>
>
> ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\ComboContent.mxml(479): col: 26
> Warning: D
>
> ata binding will not be able to detect assignments to 'valueField'.
>
>
>
>
> field="{properties.@valueField}"
>
>
>
>                                                                    ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(115): col: 74
> Warning
>
> : Data binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject id="roDrillDownColInfo"
> channelSet="{parentAppl
>
> ication.amfChannelSet}" showBusyCursor="true"
>
>
>
>        ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(118): col: 68
> Warning
>
> : Data binding will not be able to detect assignments to 'amfChannelSet'.
>
>
>
>                 <mx:RemoteObject id="roDgDpResult"
> channelSet="{parentApplicatio
>
> n.amfChannelSet}" showBusyCursor="true"
>
>
>
>  ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\PieChartContent.mxml(128): col: 24
> Warning
>
> : Data binding will not be able to detect assignments to 'valueField'.
>
>
>
>                                 field="{properties.@valueField}"
>
>                                                    ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 37
> Warning: Dat
>
> a binding will not be able to detect assignments to 'appParams'.
>
>
>
>
> inputMask="{parentApplic
>
> ation.appParams.DATE_FORMAT}" showToday="true"
> yearNavigationEnabled="true"
>
>
>
>      ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(67): col: 47
> Warning: Dat
>
> a binding will not be able to detect assignments to 'DATE_FORMAT'.
>
>
>
>
> inputMask="{parentApplic
>
> ation.appParams.DATE_FORMAT}" showToday="true"
> yearNavigationEnabled="true"
>
>
>
>                ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 38
> Warning: Dat
>
> a binding will not be able to detect assignments to 'appParams'.
>
>
>
>
> inputMask="{parentAppli
>
> cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true"
> showToday="true"
>
>
>
>       ^
>
>
>
> D:\SHMALIB\src\com\shm\dashboard\view\PodCriteria.mxml(71): col: 48
> Warning: Dat
>
> a binding will not be able to detect assignments to 'DATE_FORMAT'.
>
>
>
>
> inputMask="{parentAppli
>
> cation.appParams.DATE_FORMAT}" yearNavigationEnabled="true"
> showToday="true"
>
>
>
>                 ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(12): col: 11
> Warnin
>
> g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.
>
>
>
>                         import mx.graphics.Stroke;
>
>                                ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(37): col: 23
> Warnin
>
> g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.
>
>
>
>                                         lne.stroke = new Stroke(0,1,.3);
>
>                                                          ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(46): col: 14
> Warnin
>
> g: Duplicate variable definition: i.
>
>
>
>                                 for (var i:int = 1; i < lnWdt; i++){
>
>                                          ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(47): col: 10
> Warnin
>
> g: Duplicate variable definition: lne.
>
>
>
>                                         var lne:Line  = new Line();
>
>                                             ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(53): col: 23
> Warnin
>
> g: 'Stroke' has been deprecated since 4.0. Please use 'SolidColorStroke'.
>
>
>
>                                         lne.stroke = new Stroke(0,1,.3);
>
>                                                          ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmGridBorder.mxml(54): col: 10
> Warnin
>
> g: Duplicate variable definition: llbe.
>
>
>
>                                         var llbe:Label = new Label();
>
>                                             ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(157): col:
> 40 Warn
>
> ing: 'application' has been deprecated since 4.0. Please use
> 'FlexGlobals.topLev
>
> elApplication'.
>
>
>
>                                 var xPosition:Number =
> Application.application.p
>
> arent.mouseX;
>
>                                                                    ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(158): col:
> 40 Warn
>
> ing: 'application' has been deprecated since 4.0. Please use
> 'FlexGlobals.topLev
>
> elApplication'.
>
>
>
>                                 var yPosition:Number =
> Application.application.p
>
> arent.mouseY;
>
>                                                                    ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(225): col:
> 36 Warn
>
> ing: 'application' has been deprecated since 4.0. Please use
> 'FlexGlobals.topLev
>
> elApplication'.
>
>
>
>                                 var xPlus:Number =
> Application.application.paren
>
> t.mouseX - point.x;
>
>                                                                ^
>
>
>
> D:\SHMALIB\src\com\shm\modules\components\shmResizeManager.as(226): col:
> 36 Warn
>
> ing: 'application' has been deprecated since 4.0. Please use
> 'FlexGlobals.topLev
>
> elApplication'.
>
>
>
>                                 var yPlus:Number =
> Application.application.paren
>
> t.mouseY - point.y;
>
>
>
> Thanks,
>
> Alina Kazi
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Wednesday, February 28, 2018 10:16 AM
> *To:* Alina Kazi; users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> I think that Flash Builder makes it easy to build SWCs.  Building from the
> command line can be a bit trickier.
>
>
>
> Let's try:
>
> Compc -output "D:\SHMALib.swc" -api-report="D:\report.txt"
> -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml
> -source-path="D:\SHMALIB\src" -include-sources="D:\SHMALIB\src"
>
>
>
> HTH,
>
> -Alex
>
>
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Date: *Tuesday, February 27, 2018 at 7:28 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>, Alex Harui <
> aharui@adobe.com>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
> Yes I am using Flash Builder.
>
> SHMALIB and MainFlexApp are two separate Projects
>
> Src for SHMALIB is placed into D:/SHMALIB/src
>
> Src for MainFlexApp is D:/Flex/src and the library output file SHMALIB.swc
> is placed into D:/Flex/libs
>
>
>
> SHMALIB (.actionscriptProperties)
>
>
>
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
>
> <actionScriptProperties mainApplicationPath="SHMALib.as"
> projectUUID="863559ab-3e7b-475b-a3a4-09f4f76fc0d2" version="6">
>
>   <compiler additionalCompilerArguments="-locale en_US"
> autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false"
> generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false"
> htmlHistoryManagement="false" htmlPlayerVersionCheck="true"
> includeNetmonSwc="false" outputFolderLocation="D:/Flex/libs"
> outputFolderPath="bin-debug" sourceFolderPath="src" strict="true"
> targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true"
> verifyDigests="true" warn="true">
>
>     <compilerSourcePath/>
>
>     <libraryPath defaultLinkType="0">
>
>       <libraryPathEntry kind="4" path="">
>
>         <excludedEntries>
>
>           <libraryPathEntry kind="3" linkType="1"
> path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>
>
>         </excludedEntries>
>
>       </libraryPathEntry>
>
>       <libraryPathEntry kind="1" linkType="1" path="libs"/>
>
>     </libraryPath>
>
>     <sourceAttachmentPath/>
>
>   </compiler>
>
>   <applications>
>
>     <application path="SHMALib.as"/>
>
>   </applications>
>
>   <modules/>
>
>   <buildCSSFiles/>
>
> </actionScriptProperties>
>
>
>
> SHMALIB (.flexLibProperties)
>
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
>
> <flexLibProperties includeAllClasses="true" version="3">
>
>   <includeClasses/>
>
>   <includeResources/>
>
>   <namespaceManifests/>
>
> </flexLibProperties>
>
>
>
> Thanks,
>
> Alina
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Tuesday, February 27, 2018 9:34 PM
> *To:* Alina Kazi
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> When you are not trying to use Royale to generate this API report, how are
> you building your current Flex app?  We might need to know that in order to
> determine what parameters to add to COMPC.
>
>
>
> COMPC has additional parameters like -include–sources, include-file,
> include-classes.  Sometimes, these are listed in an xml file.  If you are
> using Flash Builder, for example, then examine the .flexlibproperties and
> .actionscriptProperties files in your project folder.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Date: *Tuesday, February 27, 2018 at 3:21 AM
> *To: *'Alina Kazi' <al...@d-bz.com>
> *Cc: *Alex Harui <ah...@adobe.com>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
> "D:\SHMALib.swc"
>
>  -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"
>
> Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> WARNING: An illegal reflective access operation has occurred
>
> WARNING: Illegal reflective access by com.google.common.base.
> internal.Finalizer
>
> (file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar)
> to
>
> field java.lang.Thread.inheritableThreadLocals
>
> WARNING: Please consider reporting this to the maintainers of
> com.google.common.
>
> base.internal.Finalizer
>
> WARNING: Use --illegal-access=warn to enable warnings of further illegal
> reflect
>
> ive access operations
>
>
>
> Error: nothing was specified to be included in the library.
>
> -Alina
>
>
>
> *From:* Alina Kazi [mailto:alina.kazi@d-bz.com <al...@d-bz.com>]
> *Sent:* Tuesday, February 27, 2018 2:16 PM
> *To:* 'users@royale.apache.org'
> *Subject:* RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> I am using Moonshine IDE 1.9.0.
>
> Flex 4.16.0
>
> Apache Royale 0.9.2 Latest Nightly Build
>
>
>
> *Running this Command on Command Prompt:*
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output
> "D:\SHMALib.swc"
>
>  -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bin\frameworks\flex-config.xml -source-path="D:\SHMALIB\src"
>
> Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>
> WARNING: An illegal reflective access operation has occurred
>
> WARNING: Illegal reflective access by com.google.common.base.
> internal.Finalizer
>
> (file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.jar)
> to
>
> field java.lang.Thread.inheritableThreadLocals
>
> WARNING: Please consider reporting this to the maintainers of
> com.google.common.
>
> base.internal.Finalizer
>
> WARNING: Use --illegal-access=warn to enable warnings of further illegal
> reflect
>
> ive access operations
>
> WARNING: All illegal access operations will be denied in a future release
>
>
>
> *command line Error: unknown configuration variable 'sourceΓÇôpath'.*
>
>
>
> -Alina
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Tuesday, February 27, 2018 1:26 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> COMPC takes a slightly different set of parameters.  What IDE or build
> tools are you using to build it without Royale?  You might need to know
> what options that build uses.
>
>
>
> You can try running:
>
>
>
> Compc -output "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc"
> -api-report="D:\report.txt" -load-config=D:\apache-flex-
> sdk-4.16.0-bin\frameworks\flex-config.xml -source–path="D:\Projects\SHMA\Main\Flex\src"
> or wherever the source code is for the library.
>
>
>
> HTH,
>
> -Alex
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, February 26, 2018 at 11:33 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> For custom SWC, I am using COMPC to get an api-report for SWC
>
> D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>compc
> "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc" -api-report="D:\report.txt"
> -load-config=D:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml
>
> *Error:* configuration variable 'output' was not set.
>
>
>
>
>
> Thanks,
>
> Alina
>
> *From:* Alex Harui [mailto:aharui@adobe.com <ah...@adobe.com>]
> *Sent:* Tuesday, February 27, 2018 12:27 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> Yes, any SWC that is not in the Flex SDK's frameworks/libs folder needs to
> be specified as Piotr describes below.  We want you specify the same MXML
> file that you use to compile in the regular Flex SDK.  So if your
> Application.mxml starts with an mx:Application or s:Application that’s
> probably the one to use.  But also, if you have your own custom SWCs, we
> want you to use COMPC to get an api-report for those SWCs.  We want this
> modified Royale compiler to compile every source file you own so we can see
> what Flex APIs you are using.
>
>
>
> HTH,
>
> -Alex
>
>
>
> *From: *Piotr Zarzycki <pi...@gmail.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, February 26, 2018 at 11:19 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> In my sense you will have to use -library-path+=path to the library. You
> have to tell compiler about that library.
>
>
>
> Thanks, Piotr
>
>
>
> 2018-02-27 7:57 GMT+01:00 Alina Kazi <al...@d-bz.com>:
>
> Hi  Alex,
>
> *With latest nightly build:*
>
> MaskedTextInput , shmReportUtil …. Are Library Project Actionscript Files.
>
> Main Application contains SHMALib.swc file in Libs folder
>
> Error Link:
>
> https://www.dropbox.com/s/p5imt22cuut0ex6/ErrorGeneratingReport.png?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fp5imt22cuut0ex6%2FErrorGeneratingReport.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=8f1f9duW2Red4bP77hFTh3mLcCptBmAwd87n1iSkk%2Bs%3D&reserved=0>
>
>
>
> I have a question that which .mxml file should be used to generate that
> report?
>
> Applications.mxml is startup file in case of my Project so I’m using it.
>
>
>
> Please visit reference link and If I’m doing anything wrong please let me
> know.
>
>
>
> Thanks,
>
> Alina
>
>
>
> *From:* Alex Harui [mailto:aharui@adobe.com]
> *Sent:* Tuesday, February 27, 2018 12:00 AM
>
>
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Alina,
>
>
>
> I pushed a fix for that.  It might or might not be related to your custom
> swc.  Get the latest nightly build and let us know.
>
>
>
> Also, if you are successful, please use your regular compiler to generate
> a -link–report.  That will help us verify that the API report didn't miss
> anything.
>
>
>
> Thanks,
>
> -Alex
>
>
>
>
>
> *From: *Alina Kazi <al...@d-bz.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Monday, February 26, 2018 at 4:01 AM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> Generated Report file for Sample Project Successfully.
>
>
>
> spark.components.Application:minHeight,1
>
> spark.components.Application:minWidth,1
>
> spark.components.Application:mxmlContentFactory,2
>
> spark.components.Label:fontSize,1
>
> spark.components.Label:fontWeight,1
>
> spark.components.Label:horizontalCenter,1
>
> spark.components.Label:text,1
>
> spark.components.Label:textAlign,1
>
> spark.components.Label:verticalCenter,1
>
>
>
> But while executing Actual Project got Error:
>
> https://www.dropbox.com/s/d25eysllavuy5z4/compile2.png?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fd25eysllavuy5z4%2Fcompile2.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=2i28J4zjv1vEQ7sd%2BGfHm%2Bh1FjG%2BP3YdJCc6rGZr3C4%3D&reserved=0>
>
> https://www.dropbox.com/s/49iq74zk6rxcr1y/compile1.png?dl=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F49iq74zk6rxcr1y%2Fcompile1.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=44tfkOscWyJ%2FH3M30HeJ6dfFE0TlpTMhQ2t%2Bv%2ByuoDg%3D&reserved=0>
>
>
>
> May be because my Application is dependent to SHMALib(.swc) Library
> Project (Source Shared Earlier).
>
>
>
> -Alina
>
>
>
> *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com
> <pi...@gmail.com>]
> *Sent:* Monday, February 26, 2018 5:02 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Generating API report for Flex Web Browser application
>
>
>
> Alex,
>
>
>
> I did above exercise for Moonshine and got NPE [1]. I used air-config.xml
> because it is na Desktop app.
>
>
>
> [1] https://paste.apache.org/R0Si
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FR0Si&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=tFLrK9xsVt57PytwBaNoUJ%2FIPFH7FCHDtfrmJ1sAl3Y%3D&reserved=0>
>
>
>
>
> Thanks,
>
> Piotr
>
>
>
>
>
> 2018-02-26 12:56 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
>
> Yishay,
>
>
>
> Thank you so much!! I got it working.
>
>
>
> Alina,
>
>
>
> Here is the full instruction.
>
>
>
> 1) Download Apache Royale with SWF support - if you have that is good, if
> not it's here [1]
>
> 2) Download Apache Flex - you have it as I have seen on the screenshot.
>
> 3) Launch console and go to the Royale SDK folder
>
>
>
> "yourpathtosdk\bin\" - In my case it was: "d:\Work\royale_ide\royale_
> nightly_js_swf\bin\"
>
>
>
> 4) Run following command where you will point to the Flex Browser
> application in order to generate report. My command looks like that:
>
>
>
> mxmlc "c:\Users\piotr\Documents\NewFlexBrowserProject\src\NewFlexBrowserProject.mxml"
> -api-report="c:\Users\piotr\Documents\NewFlexBrowserProject\report.txt"
> -load-config=d:\Work\flex-sdk-4.16.1_adobe_air_28\
> frameworks\flex-config.xml
>
>
>
> I generated report for hellow world. Maybe in order to generate report for
> your application that console command may be much more sophisticated. Let's
> see!
>
>
>
>
>
> [1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/
> lastSuccessfulBuild/artifact/out/
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2Fout%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=O%2BpVQ8OuhB%2FtE4ZdylTSkAQCWsIPBGlr9RgiTjWSWEM%3D&reserved=0>
>
>
>
> Thanks,
>
> Piotr
>
>
>
>
>
> 2018-02-26 12:46 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:
>
> Looks like [1] you do need to add compiler option: -api–report=<path to
> output file>
>
>
>
> [1] http://apache-royale-users.20374.n8.nabble.com/
> Substitutes-in-Apache-Royale-tp392p492.html
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p492.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kda6SpkBgdRqGAeGJ5Db629EAy7KAVbOZKzhzhynRZk%3D&reserved=0>
>
>
>
>
>
> *From: *Piotr Zarzycki <pi...@gmail.com>
> *Sent: *Monday, February 26, 2018 1:37 PM
>
>
> *To: *users@royale.apache.org
> *Subject: *Re: Generating API report for Flex Web Browser application
>
>
>
> I have produced with that swf, but what's next? Let's wait for Alex's
> response [1]
>
>
>
> [1] https://paste.apache.org/YEeG
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FYEeG&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8ameYzJ7AloOW4nTa8dqu7zYxwORSQc5sCUqpZDVA%2BY%3D&reserved=0>
>
>
>
> Thanks,
>
> Piotr
>
>
>
> 2018-02-26 12:32 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:
>
> Alex will know but I don’t think so. I haven’t updated the compiler
> recently so can’t test it right now. If you want to test it maybe just
> create a simple app and replace /Users/aharui/ApacheFlex4.16.0 with your
> sdk home.
>
>
>
>
>
>
>
> *From: *Piotr Zarzycki <pi...@gmail.com>
> *Sent: *Monday, February 26, 2018 1:25 PM
> *To: *users@royale.apache.org
> *Subject: *Re: Generating API report for Flex Web Browser application
>
>
>
> Hi Yishay,
>
>
>
> bin/mxmlc
>
> <path to app's
>
> .mxml
>
> file>
>
> -load-config=/Users/aharui/ApacheFlex4.16.0/frameworks/flex-config.xml
>
>
>
> Do I need some switch for compiler -api-report or something like that ?
>
>
>
> Thanks,
>
> Piotr
>
>
>
>
>
> 2018-02-26 12:10 GMT+01:00 Yishay Weiss <yi...@hotmail.com>:
>
> Wasn’t logged in. Here’s [1] the link.
>
>
>
> [1] http://apache-royale-users.20374.n8.nabble.com/
> Substitutes-in-Apache-Royale-tp392p489.html
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2FSubstitutes-in-Apache-Royale-tp392p489.html&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=8Tp5%2BFveKS0eoW7D8EovITPQqYrgwDK4P7cW9izXFH8%3D&reserved=0>
>
>
>
>
>
> *From: *Yishay Weiss <yi...@hotmail.com>
> *Sent: *Monday, February 26, 2018 12:59 PM
> *To: *users@royale.apache.org
> *Subject: *RE: Generating API report for Flex Web Browser application
>
>
>
> I couldn’t find a way to link to a nabble post, but this [1] might help
> (from Substitutes in Apache Royale).
>
>
>
> [1] https://paste.apache.org/N2QR
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FN2QR&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=VIS8u6EEBWN6jQrFxpttZvAfUCSSKPe3rbrBDU2w7Sg%3D&reserved=0>
>
>
>
> *From: *Piotr Zarzycki <pi...@gmail.com>
> *Sent: *Monday, February 26, 2018 12:44 PM
> *To: *users@royale.apache.org
> *Subject: *Generating API report for Flex Web Browser application
>
>
>
> Hi Alex,
>
>
>
> I would like to understand how to generate that report. I will go with the
> console path, because I think this is something unusual and probably
> Moonshine is not prepared to do this. I'm writing this on the users mailing
> list because Alina is having some problems with that. I wanted to simplify
> all of that. Let's start from the beginning.
>
>
>
> 1) I have created Flex Web browser project using Apache Flex SDK 4.16.1.
>
> 2) I have nightly build of Royale with SWF support [1]
>
>
>
> What should I type in the console now ?
>
>
>
> [1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/
> lastSuccessfulBuild/artifact/
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2F&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=UtYFFQ90aNB2HU2Vx4t8YAS6Eo2j1ZqVAytujEOgoFM%3D&reserved=0>
>
>
>
> Thanks,
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>
>
>
>
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>
>
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>
>
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cffb10a770dcf443c5c5008d57d1257e4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636552440101509679&sdata=kT0%2B5AGvi0ESSH4m%2FZqaLkb0fyAXZ1djc97kEImLbpg%3D&reserved=0>*
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cadf8d300cba047277ac508d57db27e5e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636553127940954068&sdata=zGrfZ2Wj3CLuuW%2B%2BKtUSQF6762Vn0%2BeNjCMlViBMghg%3D&reserved=0>*
>



-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*