Hi Alex,

I prepared a file called FindBug.mxml in my project beside my main file. : https://github.com/likyateknoloji/pinaraui-royale/blob/master/src/com/likya/pinara/main/FindBug.mxml

Content :

<?xml version="1.0" encoding="utf-8"?> <s:TitleWindow xmlns:fx="http://ns.adobe.com/mxml/2009"; xmlns:s="library://ns.apache.org/royale/spark" xmlns:mx="library://ns.apache.org/royale/mx" xmlns:comps="com.likya.pinara.comps.*" > <fx:Script> <![CDATA[ ]]> </fx:Script> <fx:Declarations> </fx:Declarations> <comps:MenuBar excludeFrom="loggedOutState, dummyState" id="menuBar"/> </s:TitleWindow>


This code makes the compiler hang wtih line :ASScopeCache done with lock in getQualifiedScopeChainMap

When i comment out the line <!comps:MenuBar excludeFrom="loggedOutState, dummyState" id="menuBar"/-->

Than it completes with warnings:

Kas 18, 2018 11:54:53 AM com.google.javascript.jscomp.LoggerErrorManager printSummary
WARNING: 1 error(s), 2 warning(s)
The project 'FindBug' has been successfully compiled and optimized.
23.416603651 seconds

I my previous mail in thread i told that the problem is related with namespace, but i guess the namespace declaration masked the problem behind.

If you want to regenerate the error, you need to clone the project and modify the build script : https://github.com/likyateknoloji/pinaraui-royale

The only vars in scripts need to be changed :

set COMPILER_PATH=D:\dev\royale-emulation-works\apache-royale-0.9.4-bin-js-swf\royale-asjs\js\bin set ROYALE_ASJS=D:\dev\royale-emulation-works\github\royale-asjs

I am leaving for today maybe look at evening or monday evening.

Thanks,
Serkan

17.11.2018 18:40 tarihinde Serkan Taş yazdı:
Let me preserve thread :

I found out that namespace definitions in the beginning of file - in application tag - causes compiler to hang.

e.g.

xmlns:comps="com.likya.pinara.comps.*"

When i remove these namespace definitions, than compiler goes on.

This workaround let me to continue a little but real solution is required for final :

PinaraUI.mxml(630): col: 3 Error: Unknown namespace jobmanager.

        <jobmanager:JobManager showBusyCursor="true" id="jobManagerService" fault="jobManagerService_faultHandler(event)"/>


Thanks.
Serkan

17.11.2018 00:41 tarihinde Alex Harui yazdı:

OK, I may not get to it until Sunday night or Monday.

-Alex

*From: *Serkan Taş <[email protected]>
*Reply-To: *"[email protected]" <[email protected]>
*Date: *Friday, November 16, 2018 at 12:58 PM
*To: *"[email protected]" <[email protected]>
*Subject: *Re: Work on Emulation



    Hi Alex,

    List is ignoring my mails sometimes :) as you may understand from
    my last mail.

    I finally finished preparing my project on github to be build easily.

    Project path : https://github.com/likyateknoloji/pinaraui-royale/
    
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Flikyateknoloji%2Fpinaraui-royale%2F&data=02%7C01%7Caharui%40adobe.com%7Cf7061f1781fc4d6888f308d64c0644e3%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636779987149859197&sdata=EkDH3fYMlk08oCryMDCeY5l4snmyHJgGSVjM44beBeU%3D&reserved=0>

    You can find details about command-line options in the batch file
    
https://github.com/likyateknoloji/pinaraui-royale/blob/master/pinara-git-build.bat
    
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Flikyateknoloji%2Fpinaraui-royale%2Fblob%2Fmaster%2Fpinara-git-build.bat&data=02%7C01%7Caharui%40adobe.com%7Cf7061f1781fc4d6888f308d64c0644e3%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636779987149869207&sdata=NNFbKdNu8jz2EuuXmeON519f1Cecf%2Bp%2B%2FehaSyFRzyU%3D&reserved=0>

    I do not like to put libs on github but sometimes it is best
    solution, and the swc's are under libs folder.

    If you have any questions let me know.

    Thanks,
    Serkan

    16.11.2018 10:53 tarihinde Alex Harui yazdı:

        Hi Serkan,

        I was hoping the output would show an unreleased lock, but
        every lock seems to get released.

        Is all of your code in your GitHub account?  If so, I will
        try to download it and see if it hangs for me.  Please put
        the exact command-line options you are using.  If you have
        custom SWCs that this compile will need, maybe you can put
        those in GitHub too.  I’m done working for tonight. I will
        check tomorrow.

        Thanks,

        -Alex

        *From: *Serkan Taş <[email protected]>
        <mailto:[email protected]>
        *Reply-To: *"[email protected]"
        <mailto:[email protected]> <[email protected]>
        <mailto:[email protected]>
        *Date: *Thursday, November 15, 2018 at 9:03 PM
        *To: *"[email protected]"
        <mailto:[email protected]> <[email protected]>
        <mailto:[email protected]>
        *Subject: *Re: Work on Emulation

        Is mail list accepting mails ?

        15.11.2018 23:26 tarihinde Serkan Taş yazdı:

            i did not copy all the logs, just command. It means there
            are more.

            Here it is :
            https://drive.google.com/open?id=16Q1OLxAKa2lsbCcXZEebX7g6L21j4PsP
            
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Fopen%3Fid%3D16Q1OLxAKa2lsbCcXZEebX7g6L21j4PsP&data=02%7C01%7Caharui%40adobe.com%7Cf7061f1781fc4d6888f308d64c0644e3%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636779987149869207&sdata=TaRh%2F5QJ9duOZDY8Z0DsO6E%2F7dvcvLErOuSxmPnpXCc%3D&reserved=0>

            Serkan.

            15.11.2018 23:07 tarihinde Alex Harui yazdı:

                What are all the “….”?  Or was the last line of output:

                “Loading configuration:
                
D:\dev\royale-emulation-works\apache-royale-0.9.4-bin-js-swf\royale-asjs\frameworks\royale-config.xml”



                The diagnostics option is trying to output more to
                the console to try to expose places where there could
                be thread deadlocks.  So it is important to see all
                of the output.

                -Alex

                *From: *Serkan Taş <[email protected]>
                <mailto:[email protected]>
                *Reply-To: *"[email protected]"
                <mailto:[email protected]>
                <[email protected]>
                <mailto:[email protected]>
                *Date: *Thursday, November 15, 2018 at 11:55 AM
                *To: *"[email protected]"
                <mailto:[email protected]>
                <[email protected]>
                <mailto:[email protected]>
                *Subject: *Re: Work on Emulation

                Hi Alex,

                I added the option to the compiler and removed all
                the codes with warning. I waited for several minutes
                but compiler did not ended yet :)

                Here is the command :

                mxmlc -diagnostics=14335
                
D:\dev\royale-emulation-works\github\pinaraui-royale\PinaraUI\src\com\likya\pinara\main\PinaraUI.mxml
                -compiler.namespaces.namespace
                library://ns.apache.org/royale/mx
                
D:\dev\royale-emulation-works\github\royale-asjs\frameworks\projects\MXRoyale\src\main\resources\mx-royale-manifest.xml
                library://ns.apache.org/royale/spark
                
D:\dev\royale-emulation-works\github\royale-asjs\frameworks\projects\SparkRoyale\src\main\resources\spark-royale-manifest.xmlhttp://ns.adobe.com/mxml/2009
                
<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009&data=02%7C01%7Caharui%40adobe.com%7Cf7061f1781fc4d6888f308d64c0644e3%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636779987149879212&sdata=Z4BPhyFaK2Ofe2xOgPXMCi8WNn5%2FK0eEtpdkojbLLcw%3D&reserved=0>
                
D:\dev\royale-emulation-works\github\royale-asjs\frameworks\mxml-2009-manifest.xml
                
-library-path+=D:\dev\royale-emulation-works\as3corelib.swc,D:\dev\royale-emulation-works\fiber-lib.swc,D:\dev\royale-emulation-works\serializers-lib.swc,D:\dev\royale-emulation-works\github\pinaraui-royale\PinaraUI\libs\flexlib.swc,D:\dev\royale-emulation-works\github\pinaraui-royale\PinaraUI\libs\libravis.swc,D:\dev\royale-emulation-works\github\royale-asjs\frameworks\projects\MXRoyale\target\MXRoyale-0.9.5-SNAPSHOT-swf.swc,D:\dev\royale-emulation-works\github\royale-asjs\frameworks\projects\SparkRoyale\target\SparkRoyale-0.9.5-SNAPSHOT-swf.swc
                
-js-library-path+=D:\dev\royale-emulation-works\as3corelib.swc,D:\dev\royale-emulation-works\fiber-lib.swc,D:\dev\royale-emulation-works\serializers-lib.swc,D:\dev\royale-emulation-works\github\pinaraui-royale\PinaraUI\libs\flexlib.swc,D:\dev\royale-emulation-works\github\pinaraui-royale\PinaraUI\libs\libravis.swc,D:\dev\royale-emulation-works\github\royale-asjs\frameworks\projects\MXRoyale\target\MXRoyale-0.9.5-SNAPSHOT-js.swc,D:\dev\royale-emulation-works\github\royale-asjs\frameworks\projects\SparkRoyale\target\SparkRoyale-0.9.5-SNAPSHOT-js.swc
                
-source-path=D:\dev\royale-emulation-works\github\pinaraui-royale\PinaraUI\src,D:\dev\royale-emulation-works\github\pinaraui-royale\PinaraUI\locale\{locale}
                -services=D:\dev\royale-emulation-works\services-config.xml
                -locale+=tr_TR  -o .\PinaraUI.swf
                MXMLJSC
                
-sdk-js-lib=D:\dev\royale-emulation-works\apache-royale-0.9.4-bin-js-swf\royale-asjs\js\bin\..\..\frameworks\js\Royale\generated-sources
                -diagnostics=14335
                
D:\dev\royale-emulation-works\github\pinaraui-royale\PinaraUI\src\com\likya\pinara\main\PinaraUI.mxml
                -compiler.namespaces.namespace
                library://ns.apache.org/royale/mx
                
D:\dev\royale-emulation-works\github\royale-asjs\frameworks\projects\MXRoyale\src\main\resources\mx-royale-manifest.xml
                library://ns.apache.org/royale/spark
                
D:\dev\royale-emulation-works\github\royale-asjs\frameworks\projects\SparkRoyale\src\main\resources\spark-royale-manifest.xml
                http://ns.adobe.com/mxml/2009
                
<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009&data=02%7C01%7Caharui%40adobe.com%7Cf7061f1781fc4d6888f308d64c0644e3%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636779987149879212&sdata=Z4BPhyFaK2Ofe2xOgPXMCi8WNn5%2FK0eEtpdkojbLLcw%3D&reserved=0>
                
D:\dev\royale-emulation-works\github\royale-asjs\frameworks\mxml-2009-manifest.xml
                
-library-path+=D:\dev\royale-emulation-works\as3corelib.swc,D:\dev\royale-emulation-works\fiber-lib.swc,D:\dev\royale-emulation-works\serializers-lib.swc,D:\dev\royale-emulation-works\github\pinaraui-royale\PinaraUI\libs\flexlib.swc,D:\dev\royale-emulation-works\github\pinaraui-royale\PinaraUI\libs\libravis.swc,D:\dev\royale-emulation-works\github\royale-asjs\frameworks\projects\MXRoyale\target\MXRoyale-0.9.5-SNAPSHOT-swf.swc,D:\dev\royale-emulation-works\github\royale-asjs\frameworks\projects\SparkRoyale\target\SparkRoyale-0.9.5-SNAPSHOT-swf.swc
                
-js-library-path+=D:\dev\royale-emulation-works\as3corelib.swc,D:\dev\royale-emulation-works\fiber-lib.swc,D:\dev\royale-emulation-works\serializers-lib.swc,D:\dev\royale-emulation-works\github\pinaraui-royale\PinaraUI\libs\flexlib.swc,D:\dev\royale-emulation-works\github\pinaraui-royale\PinaraUI\libs\libravis.swc,D:\dev\royale-emulation-works\github\royale-asjs\frameworks\projects\MXRoyale\target\MXRoyale-0.9.5-SNAPSHOT-js.swc,D:\dev\royale-emulation-works\github\royale-asjs\frameworks\projects\SparkRoyale\target\SparkRoyale-0.9.5-SNAPSHOT-js.swc
                
-source-path=D:\dev\royale-emulation-works\github\pinaraui-royale\PinaraUI\src,D:\dev\royale-emulation-works\github\pinaraui-royale\PinaraUI\locale\{locale}
                -services=D:\dev\royale-emulation-works\services-config.xml
                -locale+=tr_TR
                -o
                .\PinaraUI.swf
                Configurator waiting for lock in toFileSpecifications
                Configurator done with lock in toFileSpecifications
                Loading configuration:
                
D:\dev\royale-emulation-works\apache-royale-0.9.4-bin-js-swf\royale-asjs\frameworks\royale-config.xml

                .......

                I am working on number 2 for now.

                Thanks,
                Serkan

                14.11.2018 08:53 tarihinde
                [email protected]
                <mailto:[email protected]> yazdı:


                    Hi Alex,

                    1. Try adding the compiler option:
                    -diagnostics=14335 : okay
                    2. Ideally, someone like you will volunteer to
                    setup a debug environment with Eclipse and the
                    compiler source and find out exactly what is
                    going on. : it is getting deeper but exciting.
                    3. Another option is to comment out your code
                    until the compiler works to see what code
                    triggers the hang. : I am not sure but may give a
                    try.
                    4. Is the compiler eventually exiting or are you
                    stopping it?





                        1. if i delete the previous swf file, and run
                        compile script, compiler hung with the line :
                        479642 bytes written to
                        D:\dev\royale-emulation-works\PinaraUI.swf in
                        34,602 seconds

                        2. if i did not delete the swf file, , and
                        run compile script, compiler completes with
                        the line : 34.835480966 seconds


                    In the first case : I am (CTRL-C) breaking the
                    script in the second one, it completes and
                    terminates itself.

                    Thanks,
                    Serkan

                    Alinti Alex Harui <[email protected]>
                    <mailto:[email protected]>




                        Other people have reported the compiler
                        hanging. We’ve been unable to reproduce it
                        ourselves.

                        Try adding the compiler option:
                        -diagnostics=14335

                        Hopefully you will see additional output.

                        Ideally, someone like you will volunteer to
                        setup a debug environment with Eclipse and
                        the compiler source and find out exactly what
                        is going on.  Another option is to comment
                        out your code until the compiler works to see
                        what code triggers the hang.  Is the compiler
                        eventually exiting or are you stopping it?

                        -Alex

                        From: Serkan Taş
                        <[email protected]>
                        <mailto:[email protected]>
                        Reply-To: "[email protected]"
                        <mailto:[email protected]>
                        <[email protected]>
                        <mailto:[email protected]>
                        Date: Tuesday, November 13, 2018 at 12:33 PM
                        To: "[email protected]"
                        <mailto:[email protected]>
                        <[email protected]>
                        <mailto:[email protected]>
                        Subject: Re: Work on Emulation

                        Hi Alex,

                        I agree with you and i also expected to get
                        info about swf but it is not the case. And
                        agree that compiler hung. May be you may
                        remember i prepared a small test application
                        on github and compiled it successfully and
                        sent you the results, so  i am aware.

                        e.g. (from small test app)
                        ....
                        47193 bytes written to
                        
D:\dev\royale-emulation-works\github\royale-testing\src\main\Main.swf
                        in 4,198 seconds
                        ....
                        The project 'Main' has been successfully
                        compiled and optimized.
                        36.614827901 seconds

                        And i see the same thing as you : all
                        warnings :)

                        1. if i delete the previous swf file, and run
                        compile script, compiler hung with the line :
                        479642 bytes written to
                        D:\dev\royale-emulation-works\PinaraUI.swf in
                        34,602 seconds

                        2. if i did not delete the swf file, , and
                        run compile script, compiler completes with
                        the line : 34.835480966 seconds

                        Where to go from here ?

                        Thanks.
                        Serkan,
                        13.11.2018 00:35 tarihinde Alex Harui yazdı:
                        Hi Serkan,

                        I would have expected other output, like how
                        many bytes it wrote to a SWF and the command
                        prompt would have come back.  I’m wondering
                        if the compiler hung.  If you compile a small
                        test app you should see that it tells you it
                        wrote the SWF and other output about writing
                        JS files.  All I see in your log is warnings.

                        -Alex

                        From: Serkan Taş
                        <[email protected]>
                        
<mailto:[email protected]><mailto:[email protected]>
                        <mailto:[email protected]>
                        Reply-To: "[email protected]"
                        
<mailto:[email protected]><mailto:[email protected]>
                        <mailto:[email protected]>
                        <[email protected]>
                        
<mailto:[email protected]><mailto:[email protected]>
                        <mailto:[email protected]>
                        Date: Monday, November 12, 2018 at 1:18 PM
                        To: "[email protected]"
                        
<mailto:[email protected]><mailto:[email protected]>
                        <mailto:[email protected]>
                        <[email protected]>
                        
<mailto:[email protected]><mailto:[email protected]>
                        <mailto:[email protected]>
                        Subject: Re: Work on Emulation

                        Hi,

                        I am not sure but i think i can compile my
                        project without error.

                        Here is the latest output of my build :
                        
https://drive.google.com/open?id=16Q1OLxAKa2lsbCcXZEebX7g6L21j4PsP
                        
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Fopen%3Fid%3D16Q1OLxAKa2lsbCcXZEebX7g6L21j4PsP&data=02%7C01%7Caharui%40adobe.com%7Cf7061f1781fc4d6888f308d64c0644e3%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636779987149889222&sdata=yg%2FCWrT645YlMBBYLX4%2BcpEmbjxnPOn8%2B7HB4CmfiqI%3D&reserved=0><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Fopen%3Fid%3D16Q1OLxAKa2lsbCcXZEebX7g6L21j4PsP&data=02%7C01%7Caharui%40adobe.com%7C29df2c6be5ac499deafe08d649a75117%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636777380376798126&sdata=sDwjVuWOAz4oBS%2BmFIYS3fLeJHgdyRtjJ63GPZMalAI%3D&reserved=0>
                        
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Fopen%3Fid%3D16Q1OLxAKa2lsbCcXZEebX7g6L21j4PsP&data=02%7C01%7Caharui%40adobe.com%7Cf7061f1781fc4d6888f308d64c0644e3%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636779987149889222&sdata=yg%2FCWrT645YlMBBYLX4%2BcpEmbjxnPOn8%2B7HB4CmfiqI%3D&reserved=0>
                        Build script :
                        
https://drive.google.com/open?id=1J_fX762H1LXJMrBvYuOrzmmqfQZGhvtn
                        
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Fopen%3Fid%3D1J_fX762H1LXJMrBvYuOrzmmqfQZGhvtn&data=02%7C01%7Caharui%40adobe.com%7Cf7061f1781fc4d6888f308d64c0644e3%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636779987149899227&sdata=alvONdPY%2BgOOiovgdbZFqkoj35dU2Dx1zdBZvsNw7Q8%3D&reserved=0><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Fopen%3Fid%3D1J_fX762H1LXJMrBvYuOrzmmqfQZGhvtn&data=02%7C01%7Caharui%40adobe.com%7C29df2c6be5ac499deafe08d649a75117%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636777380376808132&sdata=LxamgGYDONyAHnfwO80dP4k1M0XqWA%2BAj0BdEOVNpEg%3D&reserved=0>
                        
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Fopen%3Fid%3D1J_fX762H1LXJMrBvYuOrzmmqfQZGhvtn&data=02%7C01%7Caharui%40adobe.com%7Cf7061f1781fc4d6888f308d64c0644e3%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636779987149909236&sdata=Hs3l4HzTa2EWS4%2B146rinCC9ZrIu1SaODOexln2ozOU%3D&reserved=0>
                        Project repo:
                        https://github.com/likyateknoloji/pinaraui-royale/
                        
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Flikyateknoloji%2Fpinaraui-royale%2F&data=02%7C01%7Caharui%40adobe.com%7Cf7061f1781fc4d6888f308d64c0644e3%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636779987149909236&sdata=j9h0frYl7OiQ8A02RayM12Yrja12Kb%2FFdpi42KIyiJ4%3D&reserved=0><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Flikyateknoloji%2Fpinaraui-royale%2F&data=02%7C01%7Caharui%40adobe.com%7C29df2c6be5ac499deafe08d649a75117%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636777380376808132&sdata=dycRKKBlMMoSijeKraU%2FuP27tOk6es84GlA%2FbHl0%2Br4%3D&reserved=0>
                        
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Flikyateknoloji%2Fpinaraui-royale%2F&data=02%7C01%7Caharui%40adobe.com%7Cf7061f1781fc4d6888f308d64c0644e3%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636779987149919242&sdata=85OVwhw8rHtmuR%2FYKLIMV1YvT5FYSqTUr3nkoAGbruc%3D&reserved=0>

                        I have my swf file but not have any js output.

                        I want to test both swf and javascript output
                        and need some help.

                        Thanks
                        Serkan
                        12.11.2018 22:09 tarihinde Serkan Taş yazdı:
                        May you please check PR :
                        https://github.com/apache/royale-asjs/pull/339
                        
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fpull%2F339&data=02%7C01%7Caharui%40adobe.com%7Cf7061f1781fc4d6888f308d64c0644e3%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636779987149919242&sdata=VIWVR2FHrbLqcghKvzKo%2BfVgnk5aWx9NOgZ08xhw%2BT4%3D&reserved=0><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fpull%2F339&data=02%7C01%7Caharui%40adobe.com%7C29df2c6be5ac499deafe08d649a75117%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636777380376818142&sdata=qmbeVUbgtiYzW%2BInNUFfpHDd3B3Zerl3TiXCuIW8IiM%3D&reserved=0>
                        
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fpull%2F339&data=02%7C01%7Caharui%40adobe.com%7Cf7061f1781fc4d6888f308d64c0644e3%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636779987149929251&sdata=5Kp35M325mazjJ0WeZZIRTRkpYgyJsJSBUaNcb8EfE4%3D&reserved=0>

                        Thanks,
                        Serkan
                        10.11.2018 14:12 tarihinde Serkan Taş yazdı:
                        Hi Piotr,

                        good question :)

                        As i am using FB-ide for my flex project, i
                        can not see any output for compiling. I have
                        to set up environment see.

                        Thanks,
                        Serkan
                        10.11.2018 13:57 tarihinde Piotr Zarzycki yazdı:
                        Hi Serkan,

                        If you are in Flex with that code - didn't
                        you get warnings as well ?

                        Thanks,
                        Piotr

                        sob., 10 lis 2018 o 10:14 Serkan Taş
                        <[email protected]
                        
<mailto:[email protected]><mailto:[email protected]>
                        <mailto:[email protected]>>
                        napisał(a):
                        Hi,

                        Variable is defined as :

                        [Bindable]
                        public var data:XML

                        and referenced as :

                        <s:Image id="disableJob"
                        source="{ImageContainer.getManageImage(0)}"
                        toolTip="{resourceManager.getString('messages',
                        'disableJobTooltip')}"
                        
includeInLayout="{data.visualParams.commandabilityParams.isDisablable
                        == true}" buttonMode="true"
                        
visible="{data.visualParams.commandabilityParams.isDisablable
                        == true}"
                                     click="executeJobCommand(event,
                        data.@Id, data.Id)" />

                        Warning :

                        
D:\dev\royale-emulation-works\github\pinaraui-royale\PinaraUI\src\com\likya\pinara\comps\jobdetail\ManageButtonGroup.mxml(191):
                        col: 27 Warning: Data binding will not be
                        able to detect assignments to 'visualParams'.

                        
includeInLayout="{data.visualParams.commandabilityParams.isDisablable
                        == true}" buttonMode="true"
                                                           ^

                        Why may i getting warning ? May i disregards
                        the warnings ?

                        Thanks,
                        Serkan
                        10.11.2018 11:45 tarihinde Serkan Taş yazdı:
                        Hi Alex,
                        ·         Constants not inherited : i copied
                        the declarations of the statics to the SWF part.
                        ·         HEAD and OPTIONS: For now, HEAD and
                        OPTIONS are not required. I may live without
                        them.

                        Thanks,
                        Serkan
                        10.11.2018 00:40 tarihinde Alex Harui yazdı:
                        Hi Serkan,

                        Are you using HEAD and OPTIONS?  If not, use
                        HTTPConstants.  No need to carry around
                        strings you won’t use.  If you can prove that
                        Google Closure Compiler will strip out unused
                        constants (it should) then if you need HEAD
                        and/or OPTIONS you can add them to
                        HTTPConstants.

                        HTH,
                        -Alex

                        From: Serkan Taş
                        <[email protected]>
                        
<mailto:[email protected]><mailto:[email protected]>
                        <mailto:[email protected]>
                        Reply-To: "[email protected]"
                        
<mailto:[email protected]><mailto:[email protected]>
                        <mailto:[email protected]>
                        <[email protected]>
                        
<mailto:[email protected]><mailto:[email protected]>
                        <mailto:[email protected]>
                        Date: Friday, November 9, 2018 at 1:09 PM
                        To: "[email protected]"
                        
<mailto:[email protected]><mailto:[email protected]>
                        <mailto:[email protected]>
                        <[email protected]>
                        
<mailto:[email protected]><mailto:[email protected]>
                        <mailto:[email protected]>
                        Subject: Re: Work on Emulation

                        Hi,

                        How can i go through URLRequestMethod. May i
                        create one in
                        
org.apache.royale.net<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Forg.apache.royale.net&data=02%7C01%7Caharui%40adobe.com%7C29df2c6be5ac499deafe08d649a75117%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636777380376828148&sdata=jz4j8wEgPZiOjPu91Y5tWnts%2F1WPZ6yo6hzOuTS4pIg%3D&reserved=0>
                        
<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Forg.apache.royale.net&data=02%7C01%7Caharui%40adobe.com%7Cf7061f1781fc4d6888f308d64c0644e3%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636779987149929251&sdata=vE2AP9KO4mYmo6PpI0b%2Fz3AGNaokqv9MAPG1gmj6QoY%3D&reserved=0>
                        or just use HTTPConstants ?

                        Reference : req.method = URLRequestMethod.POST;

                        HttpConstants is missing some constants like
                        HEAD and OPTIONS.

                        Thanks,
                        Serkan
                        9.11.2018 00:29 tarihinde Alex Harui yazdı:
                        You will need to create a Spark ButtonBar
                        that subclasses UIComponent or one of its
                        subclasses (probably SkinnableComponent). 
                        Then borrow beads from
                        org.apache.royale.html.ButtonBar to try to
                        get it to actually work.  Sometimes you will
                        have to subclass the beads to handle
                        type-mismatches.  That’s basically how we are
                        creating all of the UI widgets for the
                        emulation set.

                        -Alex

                        From: Serkan Taş
                        <[email protected]>
                        
<mailto:[email protected]><mailto:[email protected]>
                        <mailto:[email protected]>
                        Reply-To: "[email protected]"
                        
<mailto:[email protected]><mailto:[email protected]>
                        <mailto:[email protected]>
                        <[email protected]>
                        
<mailto:[email protected]><mailto:[email protected]>
                        <mailto:[email protected]>
                        Date: Thursday, November 8, 2018 at 1:08 PM
                        To: "[email protected]"
                        
<mailto:[email protected]><mailto:[email protected]>
                        <mailto:[email protected]>
                        <[email protected]>
                        
<mailto:[email protected]><mailto:[email protected]>
                        <mailto:[email protected]>
                        Subject: Re: Work on Emulation

                        Hi,

                        May i emulate s:ButtonBar or use the
                        implemented version ?  
                        (org.apache.royale.html.ButtonBar)

                        Thanks.
                        8.11.2018 23:17 tarihinde Serkan Taş yazdı:
                        Hi Alex,

                        My latest compile with the updated repo does
                        not contain any error related with
                        BorderContainer, can say it is fixed for now.

                        Thanks,
                        Serkan
                        8.11.2018 05:03 tarihinde Alex Harui yazdı:
                        I have finished getting BorderContainer to
                        work for me.  Let us know if it works for you.

                        -Alex

                        From: Serkan Taş
                        <[email protected]>
                        
<mailto:[email protected]><mailto:[email protected]>
                        <mailto:[email protected]>
                        Reply-To: "[email protected]"
                        
<mailto:[email protected]><mailto:[email protected]>
                        <mailto:[email protected]>
                        <[email protected]>
                        
<mailto:[email protected]><mailto:[email protected]>
                        <mailto:[email protected]>
                        Date: Tuesday, November 6, 2018 at 12:03 PM
                        To: "[email protected]"
                        
<mailto:[email protected]><mailto:[email protected]>
                        <mailto:[email protected]>
                        <[email protected]>
                        
<mailto:[email protected]><mailto:[email protected]>
                        <mailto:[email protected]>
                        Subject: Re: Work on Emulation

                        Hi Alex,

                        I may wait for your work to be finished on
                        BorderContainer. I dit no add them to PR. My
                        PR is still waiting :)

                        This is the error when i get without
                        modification on xmls.

                        
D:\dev\royale-emulation-works\github\pinaraui-royale\PinaraUI\src\com\likya\comps\crud\user\ChangePass.mxml(198):
                        col: 2 Error: This tag is unexpected. It will
                        be ignored.

                            <s:BorderContainer y="135" width="100%"
                        height="20%" borderWeight="2"
                        cornerRadius="3" dropShadowVisible="true"
                        backgroundColor="gray">
                            ^

                        Thanks,
                        Serkan
                        6.11.2018 01:52 tarihinde Alex Harui yazdı:
                        Hi Serkan,

                        I’m not sure what error you got with
                        BorderContainer.  Alina temporarily mapped
                        BorderContainer to MX Container because
                        BorderContainer was compiling but not
                        running. I hope to finish enough of Charts
                        today or tomorrow and then I will try to get
                        BorderContainer working correctly on Spark
                        Containers.  It is fine for you to change the
                        manifest locally, but I think we shouldn’t
                        push that to the repo.  Alina’s at the point
                        where she needs things to actually run and
                        not just compile.  Hopefully we’ll get
                        everything synced up soon when I get
                        BorderContainer working properly.

                        Thanks,
                        -Alex

                        From: Serkan Taş
                        <[email protected]>
                        
<mailto:[email protected]><mailto:[email protected]>
                        <mailto:[email protected]>
                        Reply-To: "[email protected]"
                        
<mailto:[email protected]><mailto:[email protected]>
                        <mailto:[email protected]>
                        <[email protected]>
                        
<mailto:[email protected]><mailto:[email protected]>
                        <mailto:[email protected]>
                        Date: Monday, November 5, 2018 at 1:49 PM
                        To: "[email protected]"
                        
<mailto:[email protected]><mailto:[email protected]>
                        <mailto:[email protected]>
                        <[email protected]>
                        
<mailto:[email protected]><mailto:[email protected]>
                        <mailto:[email protected]>
                        Subject: Re: Work on Emulation

                        Hi,

                        To solve the error of BorderContainer - which
                        is already emulated - for my project build, I
                        added mapping to SparkRoyaleClasses.as. It
                        did not solve the compiler error. When i
                        checked the spark-royale-manifest.xml there
                        is also mapping for BorderContainer but for
                        mx.core.Container. I tested that removing the
                        mapping to mx solves the compiler error.

                        I like to remove this line from the file. Any
                        body have any comment ?

                        Thanks,
                        Serkan
                        6.11.2018 00:35 tarihinde Serkan Taş yazdı:
                        Hi Alex,

                        Just like to remind.

                        Thanks,
                        Serkan.
                        31.10.2018 23:14 tarihinde Serkan Taş yazdı:
                        Sure Alex,

                        My operation does not extend but contains the
                        operation : mx.rpc.http.Operation which
                        extends from AbstractOperation

                        internal class _Super_UserOps extends
                        com.adobe.fiber.services.wrapper.HTTPServiceWrapper

                        {
                            private static var
                        serializer0:XMLSerializationFilter = new
                        XMLSerializationFilter();

                            // Constructor
                            public function _Super_UserOps()
                            {
                                // initialize service control
                                _serviceControl = new
                        mx.rpc.http.HTTPMultiService("http://127.0.0.1:3000";
                        
<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2F127.0.0.1%3A3000&data=02%7C01%7Caharui%40adobe.com%7Cf7061f1781fc4d6888f308d64c0644e3%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636779987149939256&sdata=rTVq%2Fr0GN1mauldPh2NO5G5rG8xsW5UVe48vUWZwyd0%3D&reserved=0><https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2F127.0.0.1%3A3000&data=02%7C01%7Caharui%40adobe.com%7C29df2c6be5ac499deafe08d649a75117%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636777380376828148&sdata=63HYO%2B1IxTQC4T%2FirGjTD0ILUB7TQm9CZjq18p3Fkgg%3D&reserved=0>
                        
<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2F127.0.0.1%3A3000&data=02%7C01%7Caharui%40adobe.com%7Cf7061f1781fc4d6888f308d64c0644e3%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636779987149949266&sdata=ORlhWK64IXacBfmut3DoifJHbUxiTVWZ0gc78B8ZS8Q%3D&reserved=0>);
                                 var operations:Array = new Array();
                                 var operation:mx.rpc.http.Operation;
                                 var argsArray:Array;

                                 operation = new
                        mx.rpc.http.Operation(null, "changepass");
                                 operation.url =
                        "/flex/restsrv/userops/changepass";
                                 operation.method = "POST";
                                 operation.serializationFilter =
                        serializer0;
                                 operation.contentType =
                        "application/xml";
                                 operation.resultType = Object;
                                 operations.push(operation);





Reply via email to