From users-return-638-archive-asf-public=cust-asf.ponee.io@royale.apache.org Fri Mar 2 09:47:14 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 3B72F18062F for ; Fri, 2 Mar 2018 09:47:09 +0100 (CET) Received: (qmail 29718 invoked by uid 500); 2 Mar 2018 08:47:07 -0000 Mailing-List: contact users-help@royale.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@royale.apache.org Delivered-To: mailing list users@royale.apache.org Received: (qmail 29705 invoked by uid 99); 2 Mar 2018 08:47:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Mar 2018 08:47:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 18071180459 for ; Fri, 2 Mar 2018 08:47:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.962 X-Spam-Level: *** X-Spam-Status: No, score=3.962 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, HTML_TAG_BALANCE_BODY=0.712, KAM_LOTSOFHASH=0.25, MSGID_MULTIPLE_AT=1] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id Ym2mO_AOt0Rg for ; Fri, 2 Mar 2018 08:46:53 +0000 (UTC) Received: from WIN-CMCMLBH19BL.vconn.com.pk (static.39.34.130.94.clients.your-server.de [94.130.34.39]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 909895F39E for ; Fri, 2 Mar 2018 08:46:50 +0000 (UTC) Received: from attaraoolPC ([58.65.129.193]) by vconn.com.pk with MailEnable ESMTPA; Fri, 2 Mar 2018 09:46:43 +0100 From: "Alina Kazi" To: References: <5a950450.0267620a.cf79c.293aSMTPIN_ADDED_BROKEN@mx.google.com> <001901d3af9d$40b079f0$c2116dd0$@kazi@d-bz.com> <000301d3b158 $ 4779f650$d66de2f0$@kazi@d-bz.com> <000301d3b1f0$3d1a2f70$b74e8e50$@kazi@d-bz.com> In-Reply-To: <000301d3b1f0$3d1a2f70$b74e8e50$@kazi@d-bz.com> Subject: RE: Generating API report for Flex Web Browser application Date: Fri, 2 Mar 2018 13:34:20 +0500 Message-ID: <000b01d3b201$4a8f8ef0$dfaeacd0$@kazi@d-bz.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000C_01D3B22B.336596F0" X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AQHTru661v5SCFDoCUKhLxzTDQMBkaO2g9iAgAADBoCAAAQagIAAAjmAgAABZQCAAAJWAIAAAu6AgAABfwD////CAP//7vcAgAFUy+T//3vSgAAQ3LXg//+Jp4D//20goP/+tpnAgAJkkYD//sVfEABB7zCA//91r5D//2k7gP/+TF9g//0aAoD/+athIP/zvpIA/+blKGD/zcL+AP+ZyX1w/zNeGgD+ZcAqYPzLXu7Q Content-Language: en-us x-cr-hashedpuzzle: Arkz B4fy DIEd DRO0 D1S7 ETAt Fmtg F01X GXl0 HAHw HDpc IGEq IdXy Ismz KQhi K157;1;dQBzAGUAcgBzAEAAcgBvAHkAYQBsAGUALgBhAHAAYQBjAGgAZQAuAG8AcgBnAA==;Sosha1_v1;7;{ECF37D32-4DD4-4401-9F51-E0EB9126D83B};YQBsAGkAbgBhAC4AawBhAHoAaQBAAGQALQBiAHoALgBjAG8AbQA=;Fri, 02 Mar 2018 08:34:18 GMT;UgBFADoAIABHAGUAbgBlAHIAYQB0AGkAbgBnACAAQQBQAEkAIAByAGUAcABvAHIAdAAgAGYAbwByACAARgBsAGUAeAAgAFcAZQBiACAAQgByAG8AdwBzAGUAcgAgAGEAcABwAGwAaQBjAGEAdABpAG8AbgA= x-cr-puzzleid: {ECF37D32-4DD4-4401-9F51-E0EB9126D83B} This is a multipart message in MIME format. ------=_NextPart_000_000C_01D3B22B.336596F0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Alex, =20 Application API-Report link: https://www.dropbox.com/s/swvqhly6wa0jrc5/API-Reports.rar?dl=3D0 SHMALib Report, applications,shmDoclist,shmSetupList,AppView_EIS, = AppView_ERP,shmMappingSetup, shmMappingSetupOpenDetailGrid, = shmSalesInvoice, shmSalesInvoiceDetail are main API Files. =20 Regards, Alina =20 =20 =20 =20 From: Alina Kazi [mailto:alina.kazi@d-bz.com]=20 Sent: Friday, March 02, 2018 11:32 AM To: users@royale.apache.org Subject: RE: Generating API report for Flex Web Browser application =20 Hi Alex, =20 2) We are using Effects in our Application 2-3 times=20 4) We are using text styling in our Application 3-5 times=20 =20 Thanks, Alina =20 From: Alex Harui [mailto:aharui@adobe.com]=20 Sent: Friday, March 02, 2018 4:26 AM To: users@royale.apache.org Subject: Re: Generating API report for Flex Web Browser application =20 Hi Alina, =20 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. =20 Thanks, -Alex =20 From: Alina Kazi Reply-To: "users@royale.apache.org" Date: Thursday, March 1, 2018 at 4:24 AM To: "users@royale.apache.org" Subject: RE: Generating API report for Flex Web Browser application =20 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.=20 I will definitely want to learn how to create emulations and contribute = them to Apache Royale. =20 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=3D0 = =20 Thanks, Alina From: Alex Harui [mailto:aharui@adobe.com]=20 Sent: Wednesday, February 28, 2018 10:45 PM To: users@royale.apache.org Subject: Re: Generating API report for Flex Web Browser application =20 Hi Alina, =20 Good to hear it worked. =20 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. =20 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. =20 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. =20 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 =20 From: Alina Kazi Reply-To: "users@royale.apache.org" Date: Wednesday, February 28, 2018 at 1:22 AM To: "users@royale.apache.org" Subject: RE: Generating API report for Flex Web Browser application =20 Hi Alex, Thank you. It=E2=80=99s working with latest nightly build: https://www.dropbox.com/s/77wkgrm74upkg0j/SHMALib%20Report.txt?dl=3D0 = =20 =20 =20 Regards, Alina =20 =20 =20 From: Alex Harui [mailto:aharui@adobe.com]=20 Sent: Wednesday, February 28, 2018 1:15 PM To: users@royale.apache.org Subject: Re: Generating API report for Flex Web Browser application =20 Hi Alina, =20 Looks like COMPC collected the data but never generated the report. I = pushed a fix for that. Please try the latest nightly build. =20 Thanks, -Alex =20 From: Alina Kazi Reply-To: "users@royale.apache.org" Date: Tuesday, February 27, 2018 at 10:35 PM To: "users@royale.apache.org" Subject: RE: Generating API report for Flex Web Browser application =20 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=3D"D:\report.txt" = -load-config=3DD:\apache-flex-sdk-4.16.0-bin\framewor ks\flex-config.xml -source-path=3D"D:\SHMALIB\src" = -include-sources=3D"D:\SHMALIB\sr c" -library-path+=3DD:\SHMALIB\libs =20 SHMALib.swf file Generated and Report.txt is empty=20 SHMALib.swc output Link: https://www.dropbox.com/s/4tz49sz134m2gg9/SHMALib.swc?dl=3D0 = =20 then I change, Compc -output "D:\SHMALib.swc" to Compc -output = "D:\SHMALib. txt "=20 SHMALib.txt output Link: https://www.dropbox.com/s/j38obt5e36awuh3/SHMALib.txt?dl=3D0 = =20 =20 Thanks, Alina =20 =20 =20 From: Alex Harui [mailto:aharui@adobe.com]=20 Sent: Wednesday, February 28, 2018 11:18 AM To: users@royale.apache.org Subject: Re: Generating API report for Flex Web Browser application =20 Hi Alina, =20 The only error right now is the embedded font. =20 We can discuss the pros and cons of embedding images in the JS output at = some other point in time. =20 -Alex =20 From: Alina Kazi Reply-To: "users@royale.apache.org" Date: Tuesday, February 27, 2018 at 10:01 PM To: "users@royale.apache.org" Subject: RE: Generating API report for Flex Web Browser application =20 Big Part of SHMALib Uses Embed and metadata : =20 // Embed the font so we can rotate it = for further distortion [Embed(systemFont=3D"Comic Sans MS", = embedAsCFF=3D'false')] @Embed(source=3D'images/print.GIF') = @Embed(source=3D'images/reload.GIF') = @Embed(source=3D'images/first-gray.GIF') = @Embed(source=3D'images/first.GIF') = @Embed(source=3D'images/previous-gray.GIF') = @Embed(source=3D'images/previous.GIF') = @Embed(source=3D'images/next-gray.GIF') = @Embed(source=3D'images/next.GIF') = @Embed(source=3D'images/last-gray.GIF') = @Embed(source=3D'images/last.GIF') = @Embed(source=3D'images/actualsize.GIF') = @Embed(source=3D'images/fitpage.GIF') = @Embed(source=3D'images/fitwidth.GIF') = @Embed(source=3D'images/zoomin-gray.GIF') = @Embed(source=3D'images/zoomin.GIF') = @Embed(source=3D'images/zoomout-gray.GIF') = @Embed(source=3D'images/zoomout.GIF') = @Embed(source=3D'images/print.GIF') if = (imageSourceXml.@isEmbedded.length() > 0) = image.isEmbedded =3D imageSourceXml.@isEmbedded =3D=3D "true"; = image.isEmbedded =3D imageSourceXml.@isEmbedded =3D=3D "true"; = source=3D"@Embed(source=3D'/assets/default/images/left_arrow_up.gif')"/> = source=3D"@Embed(source=3D'/assets/default/images/left_arrow_over.gif')"/= > = source=3D"@Embed(source=3D'/assets/default/images/left_arrow_disabled.gif= ')"/> =20 = = source=3D"@Embed(source=3D'/com/shm/flexlib/mdi/assets/img/maximizeButton= .png')"/> = height=3D"12" = source=3D"@Embed(source=3D'/com/shm/flexlib/mdi/assets/img/restoreButton.= png')"/> = = source=3D"@Embed(source=3D'/com/shm/flexlib/mdi/assets/img/minimizeButton= .png')"/> = source=3D"@Embed(source=3D'/assets/default/images/right_arrow_up.gif')"/>= = source=3D"@Embed(source=3D'/assets/default/images/right_arrow_over.gif')"= /> = source=3D"@Embed(source=3D'/assets/default/images/right_arrow_disabled.gi= f')"/> =20 =20 =20 =20 From: Alex Harui [mailto:aharui@adobe.com]=20 Sent: Wednesday, February 28, 2018 11:00 AM To: users@royale.apache.org Subject: Re: Generating API report for Flex Web Browser application =20 Hi Alina, =20 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. =20 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. =20 The final two errors I saw are for missing skin states. I think you can = just add the skin states. =20 HTH, -Alex =20 From: Alina Kazi Reply-To: "users@royale.apache.org" Date: Tuesday, February 27, 2018 at 9:35 PM To: "users@royale.apache.org" Subject: RE: Generating API report for Flex Web Browser application =20 Hi Alex, =20 While Executing D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output = "D:\SHMALib.swc" -api-report=3D"D:\report.txt" = -load-config=3DD:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml = -source-path=3D"D:\SHMALIB\src" -include-sources=3D"D:\SHMALIB\src" Or=20 D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output = "D:\Flex\libs\SH MALIB.swc" -api-report=3D"D:\report.txt" = -load-config=3DD:\apache-flex-sdk-4.16.0-bi n\frameworks\flex-config.xml -source-path=3D"D:\SHMALIB\src" = -include-sources=3D"D:\ SHMALIB\src" -library-path+=3DD:\SHMALIB\libs =20 Error: (file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/external/guava.j= ar) 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=3Dwarn 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 =20 Warning: Duplicate declaration of SkinState 'normal' =20 =20 Warning: Duplicate declaration of SkinState 'disabled' =20 =20 Warning: Duplicate declaration of SkinState 'normal' =20 =20 Warning: Duplicate declaration of SkinState 'disabled' =20 =20 Warning: Duplicate declaration of SkinState 'normal' =20 =20 Warning: Duplicate declaration of SkinState 'disabled' =20 =20 Warning: Duplicate declaration of SkinState 'normal' =20 =20 Warning: Duplicate declaration of SkinState 'disabled' =20 =20 Warning: Duplicate declaration of SkinState 'normal' =20 =20 Warning: Duplicate declaration of SkinState 'disabled' =20 =20 D:\SHMALIB\src\com\shm\components\PickList_Discrete.mxml(415): col: 50 = Warning: Data binding will not be able to detect assignments to 'amfChannelSet'. =20 =20 ^ =20 D:\SHMALIB\src\com\shm\components\shmColumnList.mxml(46): col: 27 = Warning: Data binding will not be able to detect assignments to 'label'. =20 ^ =20 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. =20 if(year & 0x3 =3D=3D 0) ^ =20 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. =20 if(month =3D=3D 1 && value.fullYear & = 0x3 =3D=3D 0) ^ =20 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'. =20 htmlText=3D"<u>{data.SrNo}</u>" = color=3D"blue" click=3D" f_DrillDownData(data)"> ^ =20 D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml = Error: The required skin state 'disabledWithPrompt' is missing. =20 =20 D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTextAreaSkin.mxml = Error: The required skin state 'normalWithPrompt' is missing. =20 =20 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'. =20 = yField=3D"{properties.@valueField} "> ^ =20 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'. =20 = categoryField=3D"{properties.@cate goryField}" /> = ^ =20 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'. =20 = yField=3D"{properties.@valueField} "> ^ =20 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'. =20 = categoryField=3D"{properties.@cate goryField}" /> = ^ =20 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'. =20 = yField=3D"{properties.@valueField} "> ^ =20 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'. =20 = categoryField=3D"{properties.@cate goryField}" /> = ^ =20 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'. =20 = yField=3D"{properties.@valueField} "> ^ =20 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'. =20 = categoryField=3D"{properties.@cate goryField}" /> = ^ =20 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'. =20 = field=3D"{properties.@valueField}" =20 ^ =20 D:\SHMALIB\src\com\shm\dashboard\view\DrillDownViewer.mxml(115): col: 74 = Warning : Data binding will not be able to detect assignments to = 'amfChannelSet'. =20 Date: Tuesday, February 27, 2018 at 7:28 PM To: "users@royale.apache.org" , Alex Harui = Subject: RE: Generating API report for Flex Web Browser application =20 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 =20 SHMALIB (.actionscriptProperties) =20 =20 SHMALIB (.flexLibProperties) =20 Thanks, Alina From: Alex Harui [mailto:aharui@adobe.com]=20 Sent: Tuesday, February 27, 2018 9:34 PM To: Alina Kazi Subject: Re: Generating API report for Flex Web Browser application =20 Hi Alina, =20 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. =20 COMPC has additional parameters like -include=E2=80=93sources, = 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. =20 Thanks, -Alex =20 From: Alina Kazi Date: Tuesday, February 27, 2018 at 3:21 AM To: 'Alina Kazi' Cc: Alex Harui Subject: RE: Generating API report for Flex Web Browser application =20 D:\apache-royale-0.9.2-bin-js-swf\royale-asjs\bin>Compc -output = "D:\SHMALib.swc" -api-report=3D"D:\report.txt" = -load-config=3DD:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml = -source-path=3D"D:\SHMALIB\src" Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=3DUTF8 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.j= ar) 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=3Dwarn to enable warnings of further = illegal reflect ive access operations =20 Error: nothing was specified to be included in the library. -Alina =20 From: Alina Kazi [mailto:alina.kazi@d-bz.com]=20 Sent: Tuesday, February 27, 2018 2:16 PM To: 'users@royale.apache.org' Subject: RE: Generating API report for Flex Web Browser application =20 Hi Alex, =20 I am using Moonshine IDE 1.9.0. Flex 4.16.0 Apache Royale 0.9.2 Latest Nightly Build =20 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=3D"D:\report.txt" = -load-config=3DD:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml = -source-path=3D"D:\SHMALIB\src" Using Royale SDK: D:\apache-flex-sdk-4.16.0-bin\royale-asjs Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=3DUTF8 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.j= ar) 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=3Dwarn to enable warnings of further = illegal reflect ive access operations WARNING: All illegal access operations will be denied in a future = release =20 command line Error: unknown configuration variable = 'source=CE=93=C3=87=C3=B4path'. =20 -Alina From: Alex Harui [mailto:aharui@adobe.com]=20 Sent: Tuesday, February 27, 2018 1:26 PM To: users@royale.apache.org Subject: Re: Generating API report for Flex Web Browser application =20 Hi Alina, =20 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. =20 You can try running:=20 =20 Compc -output "D:\Projects\SHMA\Main\Flex\libs\SHMALib.swc" = -api-report=3D"D:\report.txt" = -load-config=3DD:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml = -source=E2=80=93path=3D"D:\Projects\SHMA\Main\Flex\src" or wherever the = source code is for the library. =20 HTH, -Alex =20 From: Alina Kazi Reply-To: "users@royale.apache.org" Date: Monday, February 26, 2018 at 11:33 PM To: "users@royale.apache.org" Subject: RE: Generating API report for Flex Web Browser application =20 Hi Alex, =20 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=3D"D:\report.txt" = -load-config=3DD:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml Error: configuration variable 'output' was not set. =20 =20 Thanks, Alina From: Alex Harui [mailto:aharui@adobe.com]=20 Sent: Tuesday, February 27, 2018 12:27 PM To: users@royale.apache.org Subject: Re: Generating API report for Flex Web Browser application =20 Hi Alina, =20 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=E2=80=99s 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. =20 HTH, -Alex =20 From: Piotr Zarzycki Reply-To: "users@royale.apache.org" Date: Monday, February 26, 2018 at 11:19 PM To: "users@royale.apache.org" Subject: Re: Generating API report for Flex Web Browser application =20 Hi Alina,=20 =20 In my sense you will have to use -library-path+=3Dpath to the library. = You have to tell compiler about that library. =20 Thanks, Piotr =20 2018-02-27 7:57 GMT+01:00 Alina Kazi : Hi Alex, With latest nightly build: MaskedTextInput , shmReportUtil =E2=80=A6. 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=3D= 0 = =20 =20 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=E2=80=99m = using it. =20 Please visit reference link and If I=E2=80=99m doing anything wrong = please let me know. =20 Thanks, Alina =20 From: Alex Harui [mailto:aharui@adobe.com]=20 Sent: Tuesday, February 27, 2018 12:00 AM To: users@royale.apache.org Subject: Re: Generating API report for Flex Web Browser application =20 Hi Alina, =20 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. =20 Also, if you are successful, please use your regular compiler to = generate a -link=E2=80=93report. That will help us verify that the API = report didn't miss anything. =20 Thanks, -Alex =20 =20 From: Alina Kazi Reply-To: "users@royale.apache.org" Date: Monday, February 26, 2018 at 4:01 AM To: "users@royale.apache.org" Subject: RE: Generating API report for Flex Web Browser application =20 Generated Report file for Sample Project Successfully. =20 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 =20 But while executing Actual Project got Error: https://www.dropbox.com/s/d25eysllavuy5z4/compile2.png?dl=3D0 = =20 https://www.dropbox.com/s/49iq74zk6rxcr1y/compile1.png?dl=3D0 = =20 =20 May be because my Application is dependent to SHMALib(.swc) Library = Project (Source Shared Earlier).=20 =20 -Alina =20 From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com]=20 Sent: Monday, February 26, 2018 5:02 PM To: users@royale.apache.org Subject: Re: Generating API report for Flex Web Browser application =20 Alex, =20 I did above exercise for Moonshine and got NPE [1]. I used = air-config.xml because it is na Desktop app. =20 [1] https://paste.apache.org/R0Si = =20 =20 Thanks, Piotr =20 =20 2018-02-26 12:56 GMT+01:00 Piotr Zarzycki : Yishay, =20 Thank you so much!! I got it working. =20 Alina, =20 Here is the full instruction. =20 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 =20 "yourpathtosdk\bin\" - In my case it was: = "d:\Work\royale_ide\royale_nightly_js_swf\bin\" =20 4) Run following command where you will point to the Flex Browser = application in order to generate report. My command looks like that: =20 mxmlc = "c:\Users\piotr\Documents\NewFlexBrowserProject\src\NewFlexBrowserProject= .mxml" = -api-report=3D"c:\Users\piotr\Documents\NewFlexBrowserProject\report.txt"= = -load-config=3Dd:\Work\flex-sdk-4.16.1_adobe_air_28\frameworks\flex-confi= g.xml =20 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! =20 =20 [1] = http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/las= tSuccessfulBuild/artifact/out/ = =20 =20 Thanks, Piotr =20 =20 2018-02-26 12:46 GMT+01:00 Yishay Weiss : Looks like [1] you do need to add compiler option: = -api=E2=80=93report=3D =20 [1] = http://apache-royale-users.20374.n8.nabble.com/Substitutes-in-Apache-Roya= le-tp392p492.html = =20 =20 =20 From: Piotr Zarzycki =20 Sent: Monday, February 26, 2018 1:37 PM To: users@royale.apache.org Subject: Re: Generating API report for Flex Web Browser application =20 I have produced with that swf, but what's next? Let's wait for Alex's = response [1]=20 =20 [1] https://paste.apache.org/YEeG = =20 =20 Thanks, Piotr =20 2018-02-26 12:32 GMT+01:00 Yishay Weiss : Alex will know but I don=E2=80=99t think so. I haven=E2=80=99t updated = the compiler recently so can=E2=80=99t 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. =20 =20 =20 From: Piotr Zarzycki =20 Sent: Monday, February 26, 2018 1:25 PM To: users@royale.apache.org Subject: Re: Generating API report for Flex Web Browser application =20 Hi Yishay,=20 =20 bin/mxmlc -load-config=3D/Users/aharui/ApacheFlex4.16.0/frameworks/flex-config.xml = =20 =20 Do I need some switch for compiler -api-report or something like that ? =20 Thanks, Piotr =20 =20 2018-02-26 12:10 GMT+01:00 Yishay Weiss : Wasn=E2=80=99t logged in. Here=E2=80=99s [1] the link. =20 [1] = http://apache-royale-users.20374.n8.nabble.com/Substitutes-in-Apache-Roya= le-tp392p489.html = =20 =20 =20 From: Yishay Weiss =20 Sent: Monday, February 26, 2018 12:59 PM To: users@royale.apache.org Subject: RE: Generating API report for Flex Web Browser application =20 I couldn=E2=80=99t find a way to link to a nabble post, but this [1] = might help (from Substitutes in Apache Royale). =20 [1] https://paste.apache.org/N2QR = =20 =20 From: Piotr Zarzycki =20 Sent: Monday, February 26, 2018 12:44 PM To: users@royale.apache.org Subject: Generating API report for Flex Web Browser application =20 Hi Alex,=20 =20 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.=20 =20 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] =20 What should I type in the console now ? =20 [1] = http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/las= tSuccessfulBuild/artifact/ = =20 =20 Thanks, --=20 Piotr Zarzycki=20 Patreon: https://www.patreon.com/piotrzarzycki = =20 =20 =20 =20 --=20 Piotr Zarzycki=20 Patreon: https://www.patreon.com/piotrzarzycki = =20 =20 =20 --=20 Piotr Zarzycki=20 Patreon: https://www.patreon.com/piotrzarzycki = =20 =20 =20 --=20 Piotr Zarzycki=20 Patreon: https://www.patreon.com/piotrzarzycki = =20 =20 --=20 Piotr Zarzycki=20 Patreon: https://www.patreon.com/piotrzarzycki = =20 =20 --=20 Piotr Zarzycki=20 Patreon: https://www.patreon.com/piotrzarzycki = =20 ------=_NextPart_000_000C_01D3B22B.336596F0 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable

Hi Alex,

 

Application API-Report link:

https://www.dropbox.com/s/swvqhly6wa0jrc5/API-Reports.rar?dl=3D0

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 <alina.kazi@d-bz.com>
Reply-To: "users@royale.apache.org"= <users@royale.apache.org> Date: Thursday, March 1, 2018 at 4:24 AM
To: "users@royale.apache.org"= <users@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=3D0<= span style=3D'color:black'>

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 <alina.kazi@d-bz.com>
Reply-To: "users@royale.apache.org"= <users@royale.apache.org> Date: Wednesday, February 28, 2018 at 1:22 AM
To: "users@royale.apache.org"= <users@royale.apache.org> Subject: RE: Generating API report for Flex Web Browser = application

 

Hi Alex,

Thank you.

It=E2=80=99s working with latest nightly build:

= https://www.dropbox.com/s/77wkgrm74upkg0j/SHMALib%20Report.txt?dl=3D0=

 

 

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 <alina.kazi@d-bz.com>
Reply-To: "users@royale.apache.org"= <users@royale.apache.org> Date: Tuesday, February 27, 2018 at 10:35 PM
To: "users@royale.apache.org"= <users@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=3D"D:\report.txt" -load-config=3DD:\apache-flex-sdk-4.16.0-bin\framewor

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

c" -library-path+=3DD:\SHMALIB\libs

 

SHMALib.swf file Generated and Report.txt is empty =

SHMALib.swc output Link:

https://ww= w.dropbox.com/s/4tz49sz134m2gg9/SHMALib.swc?dl=3D0

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

SHMALib.txt output Link:

http= s://www.dropbox.com/s/j38obt5e36awuh3/SHMALib.txt?dl=3D0

 

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 <alina.kazi@d-bz.com>
Reply-To: "users@royale.apache.org"= <users@royale.apache.org> Date: Tuesday, February 27, 2018 at 10:01 PM
To: "users@royale.apache.org"= <users@royale.apache.org> Subject: RE: Generating API report for Flex Web Browser = application

 

Big Part of SHMALib Uses Embed and metadata :

 

         &nbs= p;            = ;          // Embed the font so we can rotate it for further distortion

         &nbs= p;            = ;          [Embed(systemFont=3D"Comic Sans MS",

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;     embedAsCFF=3D'false')]

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

         &nbs= p;            = ;            =             &= nbsp;   = source=3D"@Embed(source=3D'assets/default/images/next.gif')" scaleContent=3D"false"/>

         &nbs= p;      <mx:Image y=3D"4" width=3D"18" = height=3D"20" right=3D"3" = source=3D"@Embed(source=3D'assets/default/images/magnifier.png')&quo= t;

     * 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

         &nbs= p;          var result:Object=3DExternalInterface.call(IFrameExternalCalls.FUNCTION_ASK_F= OR_EMBED_OBJECT_ID, randomIdentificationString.toString());

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

         &nbs= p;            = ;  logger.error('Could not resolve the SWF embed object Id.');

         &nbs= p;  // Resolve the SWF embed object id in the DOM.

         &nbs= p;  ExternalInterface.call(IFrameExternalCalls.INSERT_FUNCTION_ASK_FOR_EMBED_= OBJECT_ID);

         &nbs= p;  resolveEmbedObjectId();

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

         &nbs= p;          FUNCTION_LOADIFRAME + " =3D function (frameID, iframeID, url, = embedID, scrollPolicy)" +

         &nbs= p;            = ;            =     "onLoad=3D'\"+embedID+\".\"+frameID+\"_load();' = " +

        public static = var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =3D = "askForEmbedObjectId";

        public static = var FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =3D "askForEmbedObjectId";

        public static = var INSERT_FUNCTION_ASK_FOR_EMBED_OBJECT_ID:String =3D

         &nbs= p;      "if (document." + FUNCTION_ASK_FOR_EMBED_OBJECT_ID + "=3D=3Dnull)" +

         &nbs= p;          FUNCTION_ASK_FOR_EMBED_OBJECT_ID + " =3D function(randomString) = " +

         &nbs= p;            = ;      "var embeds =3D document.getElementsByTagName('embed'); " + =

         &nbs= p;            = ;      "var embeds =3D document.getElementsByTagName('embed'); " + =

         &nbs= p;            = ;      "for (var i =3D 0; i < embeds.length; i++) { " + =

         &nbs= p;            = ;          "var isTheGoodOne =3D = embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " +

         &nbs= p;            = ;          "var isTheGoodOne =3D = embeds[i].checkObjectId(embeds[i].getAttribute('id'),randomString); " +

         &nbs= p;            = ;            =   "return embeds[i].getAttribute('id'); " +

         &nbs= p;            = ;           * The UITextField control for displaying embeded = hints.

         &nbs= p;            = ;          private var embedTextField:UITextField;

         &nbs= p;            = ;           *  The String to be shown as the embeded hint.

         &nbs= p;            = ;          private var embedStr:String =3D "";

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;           &nb= sp;         embedStr =3D "MM DD YYYY";

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;           &nb= sp;         embedStr =3D "DD MM YYYY";

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;           &nb= sp;         embedStr =3D "YYYY MM DD";

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;           &nb= sp;         embedStr =3D "YYYY DD MM";

         &nbs= p;            = ;           *  Create child objects for displaying embeded = hints.

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;     embedTextField =3D new UITextField();

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;     //embedTextField.text =3D embedStr;

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;     //embedTextField.text =3D embedStr;

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;     addChildAt(UITextField(embedTextField),getChildIndex(DisplayObject(textFi= eld)));//as TextField

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;           &nb= sp;           &nbs= p;            = ;            =      s =3D embedTextField.text =3D=3D null ? = "":embedTextField.text;

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;           &nb= sp;           &nbs= p;            = ;            =      s =3D embedTextField.text =3D=3D null ? = "":embedTextField.text;

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;           &nb= sp;           &nbs= p;            = ;            =             &= nbsp;        s =3D s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, = s.length);

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;           &nb= sp;           &nbs= p;            = ;            =             &= nbsp;        embedTextField.text =3D s;

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;           &nb= sp;           &nbs= p;            = ;            =      s =3D embedTextField.text =3D=3D null ? = "":embedTextField.text;

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;           &nb= sp;           &nbs= p;            = ;            =      s =3D embedTextField.text =3D=3D null ? = "":embedTextField.text;

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;           &nb= sp;           &nbs= p;            = ;            =             &= nbsp;        //s =3D s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, = s.length);

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;           &nb= sp;           &nbs= p;            = ;            =             &= nbsp;        //embedTextField.text =3D s;

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;           &nb= sp;           &nbs= p;            = ;            =             &= nbsp;        s =3D s.substring(0,i) + embedStr.charAt(i) + s.substring(i+1, = s.length);

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;           &nb= sp;           &nbs= p;            = ;            =             &= nbsp;        embedTextField.text =3D s;

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;           &nb= sp;         // If embeded hints are displayed then update the

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;           &nb= sp;         // UITextField corresponding to the embeded hints

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;           &nb= sp;           &nbs= p;            = ; var s:String =3D embedTextField.text =3D=3D null ? = "":embedTextField.text;

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;           &nb= sp;           &nbs= p;            = ; var s:String =3D embedTextField.text =3D=3D null ? = "":embedTextField.text;

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;           &nb= sp;           &nbs= p;            = ;            =      embedTextField.text =3D s;

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;     // create the embeded text field for showing

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;     // embeded hints if its not already created.

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;     // If it is created, then just change the embeded hint.

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;     if(!embedTextField)

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;           &nb= sp;         embedTextField =3D new UITextField();

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;           &nb= sp;         addChildAt(embedTextField,getChildIndex(DisplayObject(textField))); //as TextField

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;     //embedTextField.text =3D embedStr;

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;     //embedTextField.text =3D embedStr;

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;     embedTextField.alpha =3D 1;

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;     embedTextField.setTextFormat(txtFormat);

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;     embedTextField.x =3D 0;

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;     embedTextField.y =3D 2;

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;     embedTextField.setActualSize(width,height);

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;     if(embedTextField)

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;           &nb= sp;         embedTextField.text =3D "";

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;           &nb= sp;         embedTextField =3D null;

         &nbs= p;            = ;            =             &= nbsp; // setting the color of the embeded text field to white.

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;     if(embedTextField)

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;           &nb= sp;         embedTextField.setColor(0xFFFFFF);

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;           &nb= sp;         if(embedTextField)

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;           &nb= sp;                     &= nbsp;   addChildAt(DisplayObject(newSkin),getChildIndex(DisplayObject(embedTextFi= eld)));//

   background-image:             &= nbsp;           &n= bsp;            Embed(source=3D"/assets/application_background.png",

         &nbs= p;      up-skin:                Embed("/assets/maximize_up.png");

         &nbs= p;      over-skin:            Embed("/assets/maximize_over.png");

         &nbs= p;      down-skin:         Embed("/assets/maximize_up.png");

         &nbs= p;      selected-up-skin:   = Embed("/assets/restore_up.png");

         &nbs= p;      selected-over-skin: = Embed("/assets/restore_over.png");

         &nbs= p;      selected-down-skin: = Embed("/assets/restore_up.png");

         &nbs= p;      up-skin:        Embed("/assets/minimize_up.png");

         &nbs= p;      over-skin:      Embed("/assets/minimize_over.png");

         &nbs= p;      down-skin:      Embed("/assets/minimize_up.png");

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

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

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

         &nbs= p;      selected-up-skin:         &n= bsp;           &nb= sp;       Embed("/assets/tab_selected.png", = scaleGridTop=3D"13", scaleGridBottom=3D"31", scaleGridLeft=3D"9", = scaleGridRight=3D"91");

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

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

         &nbs= p;      up-skin:           = ;            =          Embed("/assets/left_arrow_up.gif");

         &nbs= p;      over-skin:          &nb= sp;           &nbs= p;     Embed("/assets/left_arrow_over.gif");

         &nbs= p;      down-skin:          &nb= sp;           &nbs= p;  Embed("/assets/left_arrow_up.gif");

         &nbs= p;      disabled-skin:    Embed("/assets/left_arrow_disabled.gif");

         &nbs= p;      up-skin:           = ;            =          Embed("/assets/right_arrow_up.gif");

         &nbs= p;      over-skin:          &nb= sp;           &nbs= p;     Embed("/assets/right_arrow_over.gif");

         &nbs= p;      down-skin:          &nb= sp;           &nbs= p;  Embed("/assets/right_arrow_up.gif");

         &nbs= p;      disabled-skin:    Embed("/assets/right_arrow_disabled.gif");

         &nbs= p;            = ;          //[Embed(source=3D"/assets/cursor_move.gif")]

         &nbs= p;            = ;          //[Embed(source=3D"/assets/cursor_resize.gif")]

         &nbs= p;            = ;          [Embed(source=3D"/assets/default/images/mouseMove.gif")]=

         &nbs= p;            = ;          [Embed(source=3D"/assets/default/images/verticalSize.gif")]

         &nbs= p;            = ;          [Embed(source=3D"/assets/default/images/horizontalSize.gif")]

         &nbs= p;            = ;          [Embed(source=3D"/assets/default/images/leftObliqueSize.gif")]<= /span>

         &nbs= p;            = ;          [Embed(source=3D"/assets/default/images/rightObliqueSize.gif")]=

         &nbs= p;            = ;            =             &= nbsp; if (image.isEmbedded)

         &nbs= p;            = ;            =             &= nbsp; //if = (!Application.application.systemManager.isFontFaceEmbedded(textFormat)) =

         &nbs= p;            = ;            =             &= nbsp; if (!FlexGlobals.topLevelApplication.systemManager.isFontFaceEmbedded(textFo= rmat))

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;     if (Application.application.isFontsEmbedded) {

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;     if (Application.application.isFontsEmbedded) {

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;     if (Application.application.isFontsEmbedded) {

         &nbs= p;            = ;          private var _isEmbedded:Boolean =3D false;

         &nbs= p;            = ;          public function set isEmbedded(embedded:Boolean):void

         &nbs= p;            = ;          public function set isEmbedded(embedded:Boolean):void

         &nbs= p;            = ;            =             &= nbsp; _isEmbedded =3D embedded;

         &nbs= p;            = ;            =             &= nbsp; _isEmbedded =3D embedded;

         &nbs= p;            = ;          public function get isEmbedded():Boolean

         &nbs= p;            = ;            =             &= nbsp; return _isEmbedded;

         &nbs= p;            = ;            =             &= nbsp; <mx:icon>@Embed(source=3D'images/print.GIF')</mx:icon>=

         &nbs= p;            = ;            =             &= nbsp; <mx:icon>@Embed(source=3D'images/reload.GIF')</mx:icon>

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;     <mx:disabledIcon>@Embed(source=3D'images/first-gray.GIF')</mx:di= sabledIcon>

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;     <mx:icon>@Embed(source=3D'images/first.GIF')</mx:icon>=

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;     <mx:disabledIcon>@Embed(source=3D'images/previous-gray.GIF')</mx= :disabledIcon>

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;     <mx:icon>@Embed(source=3D'images/previous.GIF')</mx:icon>

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;     <mx:disabledIcon>@Embed(source=3D'images/next-gray.GIF')</mx:dis= abledIcon>

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;     <mx:icon>@Embed(source=3D'images/next.GIF')</mx:icon><= span style=3D'color:black'>

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;     <mx:disabledIcon>@Embed(source=3D'images/last-gray.GIF')</mx:dis= abledIcon>

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;     <mx:icon>@Embed(source=3D'images/last.GIF')</mx:icon><= span style=3D'color:black'>

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;           &nb= sp;         <mx:icon>@Embed(source=3D'images/actualsize.GIF')</mx:icon>

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;           &nb= sp;         <mx:icon>@Embed(source=3D'images/fitpage.GIF')</mx:icon>

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;           &nb= sp;         <mx:icon>@Embed(source=3D'images/fitwidth.GIF')</mx:icon>

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;     <mx:disabledIcon>@Embed(source=3D'images/zoomin-gray.GIF')</mx:d= isabledIcon>

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;     <mx:icon>@Embed(source=3D'images/zoomin.GIF')</mx:icon>

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;     <mx:disabledIcon>@Embed(source=3D'images/zoomout-gray.GIF')</mx:= disabledIcon>

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;     <mx:icon>@Embed(source=3D'images/zoomout.GIF')</mx:icon>

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;     <mx:icon>@Embed(source=3D'images/print.GIF')</mx:icon>=

         &nbs= p;            = ;            =             &= nbsp; if (imageSourceXml.@isEmbed= ded.length() > 0)

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;     image.isEmbedded =3D imageSourceXml.@isEmbedded =3D=3D = "true";

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;     image.isEmbedded =3D imageSourceXml.@isEmbedded =3D=3D = "true";

         &nbs= p;       source=3D"@Embed(source=3D'/assets/default/images/left_arrow_up.gif'= )"/>

         &nbs= p;       source=3D"@Embed(source=3D'/assets/default/images/left_arrow_over.gi= f')"/>

         &nbs= p;       source=3D"@Embed(source=3D'/assets/default/images/left_arrow_disable= d.gif')"/> 

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;           &nb= sp;            = source=3D"@Embed(source=3D'/com/shm/flexlib/mdi/assets/img/maximizeB= utton.png')"/>

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;           &nb= sp;            height=3D"12" source=3D"@Embed(source=3D'/com/shm/flexlib/mdi/assets/img/restoreBu= tton.png')"/>

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;           &nb= sp;            = source=3D"@Embed(source=3D'/com/shm/flexlib/mdi/assets/img/minimizeB= utton.png')"/>

         &nbs= p;       source=3D"@Embed(source=3D'/assets/default/images/right_arrow_up.gif= ')"/>

         &nbs= p;       source=3D"@Embed(source=3D'/assets/default/images/right_arrow_over.g= if')"/>

         &nbs= p;       source=3D"@Embed(source=3D'/assets/default/images/right_arrow_disabl= ed.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 <alina.kazi@d-bz.com>
Reply-To: "users@royale.apache.org"= <users@royale.apache.org> Date: Tuesday, February 27, 2018 at 9:35 PM
To: "users@royale.apache.org"= <users@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=3D"D:\report.txt" -load-config=3DD:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path=3D"D:\SHMALIB\src" = -include-sources=3D"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=3D"D:\report.txt" -load-config=3DD:\apache-flex-sdk-4.16.0-bi

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

SHMALIB\src" = -library-path+=3DD:\SHMALIB\libs

 

Error:

(file:/D:/apache-royale-0.9.2-bin-js-swf/royale-asjs/lib/e= xternal/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=3Dwarn 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(4= 15): col: 50 Warning:

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

 

         &nbs= p;      <mx:RemoteObject = channelSet=3D"{parentApplication.amfChannelSet}"

id=3D"DataProviderService"  showBusyCursor=3D"true"

                   &= nbsp;           &n= bsp;           &nb= sp;           &nbs= p;       ^

 

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

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

 

         &nbs= p;      <mx:RemoteObject = channelSet=3D"{parentApplication.amfChannelSet}"

id=3D"BasicFormatterService"  showBusyCursor=3D"true"

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;    ^

 

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'.

 

         &nbs= p;      <mx:RemoteObject = channelSet=3D"{parentApplication.amfChannelSet}"

id=3D"DataProviderService"  showBusyCursor=3D"true"

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;    ^

 

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'.

 

         &nbs= p;      <mx:RemoteObject = channelSet=3D"{parentApplication.amfChannelSet}"

id=3D"BasicFormatterService"  showBusyCursor=3D"true"

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;    ^

 

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

quires a 'source' file attribute

 

         &nbs= p;      [Embed(systemFont=3D"Comic Sans MS",

         &nbs= p;      ^

 

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

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

 

         &nbs= p;            = ;            =       <mx:CheckBox selectedField=3D"isSelected"

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

 

         &nbs= p;            = ;            =         ^

 

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

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

 

         &nbs= p;            = ;            =       <mx:Label text=3D"{data.label}" />

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;  ^

 

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.

 

         &nbs= p;            = ;          if(year & 0x3 =3D=3D 0)

         &nbs= p;            = ;            =         ^

 

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.

 

         &nbs= p;            = ;          if(month =3D=3D 1 && value.fullYear & 0x3 =3D=3D = 0)

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;       ^

 

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

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

 

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

f_DrillDownData(data)">

         &nbs= p;            = ;            =   ^

 

D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTex= tAreaSkin.mxml Error:

The required skin state 'disabledWithPrompt' is = missing.

 

 

D:\SHMALIB\src\com\shm\dashboard\spark\resize\ResizableTex= tAreaSkin.mxml Error:

The required skin state 'normalWithPrompt' is = missing.

 

 

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

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

 

         &nbs= p;            = ;            =             &= nbsp; yField=3D"{properties.@valueField}

">

         &nbs= p;                        &= nbsp;           &n= bsp;           &nb= sp;         ^

 

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

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

 

         &nbs= p;            = ;            =             &= nbsp; categoryField=3D"{properties.@cate

goryField}" />

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;           &nb= sp;    ^

 

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

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

 

         &nbs= p;            = ;            =             &= nbsp; yField=3D"{properties.@valueField}

">

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;         ^

 

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

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

 

         &nbs= p;            = ;            =             &= nbsp; categoryField=3D"{properties.@cate

goryField}" />

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;           &nb= sp;    ^

 

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

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

 

         &nbs= p;            = ;            =             &= nbsp; yField=3D"{properties.@valueField}

">

         &nbs= p;                        &= nbsp;           &n= bsp;           &nb= sp;         ^

 

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

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

 

         &nbs= p;            = ;            =             &= nbsp; categoryField=3D"{properties.@cate

goryField}" />

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;           &nb= sp;    ^

 

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

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

 

         &nbs= p;            = ;            =             &= nbsp; yField=3D"{properties.@valueField}

">

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;         ^

 

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

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

 

         &nbs= p;            = ;            =             &= nbsp; categoryField=3D"{properties.@cate

goryField}" />

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;           &nb= sp;    ^

 

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

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

 

         &nbs= p;            = ;            =             &= nbsp; field=3D"{properties.@valueField}"

 

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;        ^

 

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

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

 

         &nbs= p;      <mx:RemoteObject id=3D"roDrillDownColInfo" channelSet=3D"{parentAppl

ication.amfChannelSet}" = showBusyCursor=3D"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'.

 

         &nbs= p;      <mx:RemoteObject id=3D"roDgDpResult" channelSet=3D"{parentApplicatio

n.amfChannelSet}" = showBusyCursor=3D"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'.

 

         &nbs= p;            = ;          field=3D"{properties.@valueField}"

         &nbs= p;            = ;            =             &= nbsp;    ^

 

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'.

 

         &nbs= p;            = ;            =             &= nbsp;         inputMask=3D"{parentApplic

ation.appParams.DATE_FORMAT}" showToday=3D"true"  = yearNavigationEnabled=3D"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'.

 

         &nbs= p;            = ;            =             &= nbsp;         inputMask=3D"{parentApplic

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

 

         &nbs= p;     ^

 

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'.

 

         &nbs= p;            = ;            =             &= nbsp;          inputMask=3D"{parentAppli

cation.appParams.DATE_FORMAT}" yearNavigationEnabled=3D"true" = showToday=3D"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'.

 

         &nbs= p;            = ;            =             &= nbsp;          inputMask=3D"{parentAppli

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

 

         &nbs= p;      ^

 

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

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

 

         &nbs= p;            = ;  import mx.graphics.Stroke;

         &nbs= p;            = ;         ^

 

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

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

 

         &nbs= p;            = ;            =       lne.stroke =3D new Stroke(0,1,.3);

         &nbs= p;            = ;            =                     &= nbsp;  ^

 

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

g: Duplicate variable definition: i.

 

         &nbs= p;            = ;          for (var i:int =3D 1; i < lnWdt; i++){

         &nbs= p;            = ;            =        ^

 

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

g: Duplicate variable definition: lne.

 

         &nbs= p;            = ;            =       var lne:Line  =3D new Line();

         &nbs= p;            = ;            =           ^

 

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

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

 

         &nbs= p;            = ;            =       lne.stroke =3D new Stroke(0,1,.3);

         &nbs= p;            = ;            =             &= nbsp;          ^

 

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

g: Duplicate variable definition: llbe.

 

         &nbs= p;            = ;            =       var llbe:Label =3D new Label();

                &= nbsp;           &n= bsp;           &nb= sp;   ^

 

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'.

 

         &nbs= p;            = ;          var xPosition:Number =3D Application.application.p

arent.mouseX;

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;        ^

 

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'.

 

         &nbs= p;            = ;          var yPosition:Number =3D Application.application.p

arent.mouseY;

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;        ^

 

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'.

 

         &nbs= p;            = ;          var xPlus:Number =3D Application.application.paren

t.mouseX - point.x;

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;    ^

 

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'.

 

         &nbs= p;             &= nbsp;        var yPlus:Number =3D Application.application.paren

t.mouseY - point.y;

         &nbs= p;            = ;            =             &= nbsp;           &n= bsp;   

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=3D"D:\report.txt" -load-config=3DD:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path=3D"D:\SHMALIB\src" -include-sources=3D"D:\SHMALIB\src"

 

HTH,

-Alex

 

 

From: Alina Kazi <alina.kazi@d-bz.com>
Date: Tuesday, February 27, 2018 at 7:28 PM
To: "users@royale.apache.org"= <users@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=3D"1.0" = encoding=3D"UTF-8" standalone=3D"no"?>

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

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

    = <compilerSourcePath/>

    <libraryPath defaultLinkType=3D"0">

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

        <excludedEntries>

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

        </excludedEntries>

      = </libraryPathEntry>

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

    </libraryPath>

    = <sourceAttachmentPath/>

  </compiler>

  <applications>

    <application path=3D"SHMALib.as"/>

  </applications>

  <modules/>

  <buildCSSFiles/>

</actionScriptProperties>

 

SHMALIB (.flexLibProperties)

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

<flexLibProperties = includeAllClasses=3D"true" version=3D"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=E2=80=93sources, 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 <alina.kazi@d-bz.com>
Date: Tuesday, February 27, 2018 at 3:21 AM
To: 'Alina Kazi' <alina.kazi@d-bz.com>
Cc: Alex Harui <aharui@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=3D"D:\report.txt" = -load-config=3DD:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path=3D"D:\SHMALIB\src"

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

Picked up JAVA_TOOL_OPTIONS: = -Dfile.encoding=3DUTF8

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/e= xternal/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=3Dwarn 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=3D"D:\report.txt" = -load-config=3DD:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source-path=3D"D:\SHMALIB\src"

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

Picked up JAVA_TOOL_OPTIONS: = -Dfile.encoding=3DUTF8

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/e= xternal/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=3Dwarn 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=CE=93=C3=87=C3=B4path'.

 

-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=3D"D:\report.txt" = -load-config=3DD:\apache-flex-sdk-4.16.0-bin\frameworks\flex-config.xml -source=E2=80=93path=3D= "D:\Projects\SHMA\Main\Flex\src" or wherever the source code is for the library.

 

HTH,

-Alex

 

From: Alina Kazi <alina.kazi@d-bz.com>
Reply-To: "users@royale.apache.org"= <users@royale.apache.org> Date: Monday, February 26, 2018 at 11:33 PM
To: "users@royale.apache.org"= <users@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=3D"D:\report.txt" -load-config=3DD:\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=E2=80=99s 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 <piotrzarzycki21@gmail.com&g= t;
Reply-To: "users@royale.apache.org"= <users@royale.apache.org> Date: Monday, February 26, 2018 at 11:19 PM
To: "users@royale.apache.org"= <users@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+=3Dpath to = the library. You have to tell compiler about that library.

 

Thanks, Piotr

 

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

Hi  Alex,

With latest nightly build:

MaskedTextInput , shmReportUtil =E2=80=A6. Are Library Project Actionscript = Files.

Main Application contains SHMALib.swc file in Libs folder

Error Link:

https://www.dropbox.com/s/p5imt22cuut0ex6/ErrorGenerati= ngReport.png?dl=3D0

 

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=E2=80=99m using = it.

 

Please visit reference link and If I=E2=80=99m 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=E2=80=93report.  That will help us verify that the API report = didn't miss anything.

 

Thanks,

-Alex

 

 

From: Alina Kazi <alina.kazi@d-bz.com>
Reply-To: "users@royale.apache.org" <users@royale.apache.org>
Date: Monday, February 26, 2018 at 4:01 AM
To: "users@royale.apache.org" <users@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=3D0

https://www.dropbox.com/s/49iq74zk6rxcr1y/compile1.png?= dl=3D0

 

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.

 

 

Thanks,

Piotr

 

 

2018-02-26 12:56 GMT+01:00 Piotr Zarzycki <piotrzarzycki21@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\NewFlexBrowserPr= oject.mxml" -api-report=3D"c:\Users\piotr\Documents\NewFlexBrowserProject\report= .txt" -load-config=3Dd:\Work\flex-sdk-4.16.1_adobe_air_28\frameworks\flex-confi= g.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!

 

 

 

Thanks,

Piotr

 

 

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

Looks like [1] you do need to add compiler option: -api=E2=80=93report=3D<path to output file>

 

[1] http://apache-royale-users.20374.n8.nabble.com/Substitu= tes-in-Apache-Royale-tp392p492.html

 

 

From: Piotr = Zarzycki
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]

 

 

Thanks,

Piotr

 

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

=

Alex will know but I don=E2=80=99t think so. I = haven=E2=80=99t updated the compiler recently so can=E2=80=99t 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
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=3D/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 <yishayjobs@hotmail.com>:

=

Wasn=E2=80=99t logged in. Here=E2=80=99s [1] the = link.

 

[1] http://apache-royale-users.20374.n8.nabble.com/Substitu= tes-in-Apache-Royale-tp392p489.html

 

 

From: Yishay = Weiss
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=E2=80=99t 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

=

 

From: Piotr = Zarzycki
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 = ?

 

 

Thanks,
--

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

------=_NextPart_000_000C_01D3B22B.336596F0--