Hi Liju,

The option -load-config=C:/<fakepath>.../royale-config.xml should not be there. 
 Are you specifying that or is that in some default launcher we have?  You'll 
know you have it right when it loads flex-config.xml (because of 
+configname=flex) instead of royale-config.xml

HTH,
-Alex

On 6/10/20, 10:52 PM, "Liju Thomas (OSV)" <liju.thomas....@fedex.com.INVALID> 
wrote:

    Hey Alex,
    
    Yes it is FLEX 3, I updated as per your comment, following error is coming. 
You may check the configuration:
    
     [echo] *** create 
D:\Work\Clients\FedEx\Apps\WGRT\VCWorkspace\SVN\WGRTFLEX/../WGRTFLEX/WGRTFreightIntegration.swf
 ***
        [mxmlc] MXMLJSC
        [mxmlc] -compiler.keep-generated-actionscript=false
        [mxmlc] -compiler.debug=false
        [mxmlc] 
+royalelib=C:/<fakepath>AppData/Roaming/npm/node_modules/@apache-royale/royale-js/frameworks/
        [mxmlc] -compiler.actionscript-file-encoding=UTF-8
        [mxmlc] -compiler.locale=
        [mxmlc] -link-report=D:\<fakepath>/FLEX/../WGRTFLEX/externs.txt
        [mxmlc] +configname=flex
        [mxmlc] -default-size
        [mxmlc] 800
        [mxmlc] 1000
        [mxmlc] 
-load-config=C:/<fakepath>AppData/Roaming/npm/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml
        [mxmlc] -output=D:<fakepath>FLEX\WGRTFreightIntegration.swf
        [mxmlc] --
        [mxmlc] D:\<fakepath>FLEX/../WGRTFLEX/src/WGRTFLEX.mxml
        [mxmlc] 6.7364493 seconds
        [mxmlc] D:\<fakepath>WGRTFLEX\src\WGRTFLEX.mxml(2): col: 1 Error: This 
tag could not be resolved to an ActionScript class. It will be ignored.
        [mxmlc]
        [mxmlc] <mx:Application 
xmlns:fx="https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009&amp;data=02%7C01%7Caharui%40adobe.com%7C1461f139655a4a79fce708d80dcb978f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C637274515361385816&amp;sdata=NaTwt7nmEHAZlKewX1YqGSax8R1hk9WXu1d7CBEWFdI%3D&amp;reserved=0";
 xmlns:mx="library://ns.apache.org/royale/mx"
        [mxmlc] ^
        [mxmlc]
    FLEX.mxml(2): col: 1 Error: This tag could not be resolved to an 
ActionScript class. It will be ignored.
        [mxmlc]
        [mxmlc] <mx:Application 
xmlns:fx="https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009&amp;data=02%7C01%7Caharui%40adobe.com%7C1461f139655a4a79fce708d80dcb978f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C637274515361385816&amp;sdata=NaTwt7nmEHAZlKewX1YqGSax8R1hk9WXu1d7CBEWFdI%3D&amp;reserved=0";
 xmlns:mx="library://ns.apache.org/royale/mx"
        [mxmlc] ^
        [mxmlc]
    
    Regards,
    
    Liju
    
    ________________________________
    From: Alex Harui <aha...@adobe.com.INVALID>
    Sent: Thursday, June 11, 2020 11:06 AM
    To: dev@royale.apache.org <dev@royale.apache.org>
    Cc: Arya Sankar (OSV) <arya.sankar....@fedex.com>
    Subject: [EXTERNAL] Re: Migration of Adobe Flex to Apache Royale - Support 
needed
    
    Hi Liju,
    
    I posted a reply earlier, but maybe you are having subscription problems.
    
    Are you migrating a Flex 3 application?  If so, then yes, the xmlns have to 
be changed to look like this:
    
                      
xmlns:fx="https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009&amp;data=02%7C01%7Caharui%40adobe.com%7C1461f139655a4a79fce708d80dcb978f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C637274515361395812&amp;sdata=DKq3q7smafHdAd%2BULDEMqMocoje8lqIf5DQZAufLwfs%3D&amp;reserved=0";
                      xmlns:mx="library://ns.apache.org/royale/mx"
    
    And you may need to add the compiler option: +configname=flex
    Note the "+" instead of "-".
    
    HTH,
    -Alex
    
    On 6/10/20, 9:13 PM, "Liju Thomas (OSV)" 
<liju.thomas....@fedex.com.INVALID> wrote:
    
        Hi Team,
    
        I'm from Development Team for FedEx, we have an application built on 
Adobe Flex, since Flex is not longer supported after Dec 2020, we need to 
migrate the application to Apache Royale asap.
    
        We followed the instruction mentioned in the Migration of Existing 
app<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__nam04.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Fapache.github.io-252Froyale-2Ddocs-252Fmigrate-2Dan-2Dexisting-2Dapp-26amp-3Bdata-3D02-257C01-257Caharui-2540adobe.com-257Ce3b1727569284ddc5acc08d80dbdbbbf-257Cfa7b1b5a7b34438794aed2c178decee1-257C0-257C1-257C637274455834763070-26amp-3Bsdata-3DwcwkQrK2fM1WeMwnXjPePrhfF-252BIJElRVhATgTd9YaXc-253D-26amp-3Breserved-3D0%26d%3DDwIGaQ%26c%3DfpIeS8RwmHkY2r_dFRL5tQ%26r%3Daanc4j4xsg3RIhiBfaN9onX6bLCpzFkPa2kojuuTVUQ%26m%3DSeJk0dxLDPsYL8VXY0OadeGUEoiksl06jaR1aCjcjGE%26s%3Di29z2pt5sfterZHon9FyHkoZJyZgVcHIP_pxkohMxo4%26e%3D&amp;data=02%7C01%7Caharui%40adobe.com%7C1461f139655a4a79fce708d80dcb978f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637274515361395812&amp;sdata=KOEgjJHcBnjXh3kituZjBteG7Xxhh6rVS%2FtNBM67vVQ%3D&amp;reserved=0
 > however, we are facing some issue:
    
    
          1.  I have 
xmlns:mx="https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.adobe.com%2F2006%2Fmxml&amp;data=02%7C01%7Caharui%40adobe.com%7C1461f139655a4a79fce708d80dcb978f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C637274515361395812&amp;sdata=uQSq3IVdx%2Bu6iuRphKVMiJfYrYwCzCsEf%2FbyS%2BlHgDk%3D&amp;reserved=0";
 in my .MXML but if  I replace the line with 
xmlns:mx="library://ns.apache.org/royale/mx" Compilation fails with following 
error: .mxml(2): col: 1 Error: This tag could not be resolved to an 
ActionScript class. It will be ignored.
            [mxmlc]
            [mxmlc] <mx:Application xmlns:mx="library://ns.apache.org/royale/mx"
          2.  If I change the url to library://ns.apache.org/royale/basic I get 
huge number of errors:
        .mxml Error: interface method workFlowManager in interface 
IManagedComponent not implemented by class WGRTFLEX
        Above interface is impplemented in the MXML file under <mx:Script>
        <![CDATA[
    
        Can you please provide you support.
    
        Regards,
    
        Liju
    
    
    

Reply via email to