Hi,

Royale doesn't currently support resource bundles.  It is on my list of things 
to investigate to see how hard it will be to support it.  The main challenge is 
that resource bundles are pre-compiled ABC code and we really want the raw 
strings.

Royale does have a different, lightweight sub-system for handling localized 
strings.    You can see an example in manualtests/LocaleTest.

If you want to wait to see if we can support resource bundles, I think if you 
comment out all [ResourceBundle] metadata in your code you can get past this 
error (of course, at runtime the calls to get resources won't work).

HTH,
-Alex

On 10/3/18, 1:47 AM, "chembali" <chemb...@hotmail.com> wrote:

    I am trying to compile a simple mxml file to js using mxmlc. Here is the 
mxml
    fie.
    
    
    <uipanel:ListingViewTemplate xmlns:mx="library://ns.apache.org/royale/mx"
                                 
xmlns:fx="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009&amp;data=02%7C01%7Caharui%40adobe.com%7C6c38f435f91f4c05d6bd08d6290ce66c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636741532705018239&amp;sdata=dAKAtP75BA66FMIKjFZM1fB3Kx%2BkoMeTipbrveFgbCA%3D&amp;reserved=0";
                                
    xmlns:ss="com.infogix.iitap.component.scheduler.view.*"
                                
    xmlns:uipanel="com.infogix.iitap.component.flexuiplatform.controls.panel.*"
                                
    xmlns:uicore="com.infogix.iitap.component.flexuiplatform.core.*"
                                
    xmlns:uiactions="com.infogix.iitap.component.flexuiplatform.core.action.*"
                                
    xmlns:sactions="com.infogix.iitap.component.scheduler.action.*"
                                 title="scheduler"
                                 recordCount="2"
                                 helpUrl="ContextHelp/manage_scheduler_c.htm"
            >
        
        <uipanel:topToolbarRegion>
            <ss:SchedulerListViewToolBar id="schedulerListViewToolbar"/>
        </uipanel:topToolbarRegion>
    
        <uipanel:filterRegion>
            <ss:SchedulerFilterBar id="schedulerFilterBar"/>
        </uipanel:filterRegion>
        
        <uipanel:topRegion>
            <ss:SchedulerList id="schedulerlist" />
        </uipanel:topRegion>
    
        <uicore:ComponentExt id="i_compExt" component="{this}" type="VIEW">
            <uicore:actions>
                <mx:ArrayList>
                    <uiactions:FilterAction component="{this}"/>
                    <uiactions:ContextHelpAction component="{this}"/>
                    <sactions:ScheduledJobEditAction component="{this}"/>
                    <sactions:SchedulerToggleAction component="{this}"
                            isEnabled="true" />
                </mx:ArrayList>
            </uicore:actions>
        </uicore:ComponentExt>
     
    
    </uipanel:ListingViewTemplate>
    
    Here is the commnd that I am using to compile.
    
    C:\devenv\GitHub\apache-royale-0.9.3\royale-asjs\js\bin\mxmlc
    
-load-config=C:\devenv\ivp\deflex\Components\IVPSolution\build/resources/flex/royale-config.xml
    -compiler.locale=en_US
    -compiler.source-path=C:\devenv\ivp\deflex\Components\Scheduler\src-flexui
    
-compiler.source-path=C:\devenv\ivp\deflex\Components\Scheduler/res-flexui/locale/{locale}
    
-compiler.js-library-path+=C:\devenv\ivp\deflex\solution-build\deflex\flexuiplatformroyale.swc
    
-compiler.js-library-path+=C:\devenv\ivp\deflex\solution-build\deflex\flexuiplatform-asset.swc
    
-compiler.js-library-path+=C:\devenv\ivp\deflex\solution-build\deflex\rulesmgmtroyale.swc
    
-compiler.js-library-path+=C:\devenv\ivp\deflex\solution-build\deflex\schedulerroyale.swc
    
-compiler.js-library-path+=C:\devenv\ivp\deflex\solution-build\deflex\baseroyale.swc
    
-output=C:\devenv\ivp\deflex\components\IVPSolution\build\flex\SchedulerListApp.swf
    --
    
C:\devenv\ivp\deflex\Components\Scheduler\src-flexui\com\infogix\iitap\component\scheduler\view\SchedulerListView.mxml
    
    The file containing compile output with the error message is attached. Can
    you help me in understanding the error message and resolving it? The mxml
    used to have the reference to the the Resource File ( in the compile error
    ). But I deleted the reference hoping that the compile would be success. But
    no luck. The components used in the mxml file has been compiled to swc
    library containing the js output and used in the compile command. Thank you
    for your help. 
    
    compileErr.compileErr
    
<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-development.20373.n8.nabble.com%2Ffile%2Ft65%2FcompileErr.compileErr&amp;data=02%7C01%7Caharui%40adobe.com%7C6c38f435f91f4c05d6bd08d6290ce66c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636741532705018239&amp;sdata=ERRWKN1yyGRWeJWNwffPI%2Fa3MNDP7gipimZGkJq8cdw%3D&amp;reserved=0>
  
    
    
    
    
    
    
    
    --
    Sent from: 
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-development.20373.n8.nabble.com%2F&amp;data=02%7C01%7Caharui%40adobe.com%7C6c38f435f91f4c05d6bd08d6290ce66c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636741532705018239&amp;sdata=%2BCyQv7PztXB16giJiYHfMKwZT4z21kNLMgxxSGMcPJc%3D&amp;reserved=0
    

Reply via email to