ok Alex, lots of home work :)

i am going to work on.

1. change the namespaces

2. decide one of tree

 *   You can try to get the source for those libraries and make changes
   so that they work in JS
 *   or remove those libraries from your project to identify how you
   used those libraries and decide how to re-create those features in
   your project
 *   Another option is to create emulations for the missing classes,
   such as File as we discussed earlier.

Serkan.

27.09.2018 22:42 tarihinde Alex Harui yazdı:

Ah, sorry, I didn’t see the link.

I forgot to mention that you need to change the xml namespaces in your MXML files.  If you look at examples/mxroyale/tourdeflexmodules you can see what changes were needed.

The new namespaces are:

xmlns:mx="library://ns.apache.org/royale/mx"

xmlns:s="library://ns.apache.org/royale/spark"

Otherwise, you are getting the right sort of errors.  You are seeing that you are using certain libraries like as3corelib and flexlib that have dependencies on Flash.  You can try to get the source for those libraries and make changes so that they work in JS, or remove those libraries from your project to identify how you used those libraries and decide how to re-create those features in your project.  Another option is to create emulations for the missing classes, such as File as we discussed earlier.

Thanks,

-Alex

*From: *Serkan Taş <[email protected]>
*Reply-To: *"[email protected]" <[email protected]>
*Date: *Thursday, September 27, 2018 at 12:33 PM
*To: *"[email protected]" <[email protected]>
*Subject: *Re: Work on Emulation

i changed the compiler and sent the results after :)

27.09.2018 22:30 tarihinde Alex Harui yazdı:

    I didn’t notice earlier that you are using bin/mxmlc (the SWF
    compiler) instead of js/bin/mxmlc (the Royale compiler).  Please
    use js/bin/mxmlc

    *From: *Serkan Taş <[email protected]>
    <mailto:[email protected]>
    *Reply-To: *"[email protected]"
    <mailto:[email protected]> <[email protected]>
    <mailto:[email protected]>
    *Date: *Thursday, September 27, 2018 at 12:24 PM
    *To: *"[email protected]" <mailto:[email protected]>
    <[email protected]> <mailto:[email protected]>
    *Subject: *Re: Work on Emulation

    Hi Alex,

    After a small search i found :
    https://github.com/apache/royale-asjs/issues/116
    
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F116&data=02%7C01%7Caharui%40adobe.com%7Cd4573a344d874dfa541308d624b027f7%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636736736341611396&sdata=2JOzGArCVpN6%2BuTZow7N%2Fz64zovR1XnqiKDP42g2OAA%3D&reserved=0>

    and changed the compiler.

    here is the log :
    
https://drive.google.com/file/d/10a12tOHYmpBs_4shfFbxESPbgmLDUKUx/view?usp=sharing
    
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Ffile%2Fd%2F10a12tOHYmpBs_4shfFbxESPbgmLDUKUx%2Fview%3Fusp%3Dsharing&data=02%7C01%7Caharui%40adobe.com%7Cd4573a344d874dfa541308d624b027f7%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636736736341611396&sdata=3dwJPG8G9pQXoWj5f%2BTCu2kkBi9KwyepE4fIG63enk8%3D&reserved=0>

    Note : My tz : GMT+3

    Serkan

    27.09.2018 21:47 tarihinde Serkan Taş yazdı:

        Hi Alex,

        My latest build command is :

        "D:\dev\Apache
        
Royale\RoyaleWithNihgtlyBuild\apache-royale-0.9.4-bin-js-swf\royale-asjs\bin"\mxmlc
        
"D:/dev/git/pinaragroup/PinaraUI/src/com/likya/pinara/main/PinaraUI.mxml"
        -include-libraries="D:\dev\git\pinaragroup\PinaraUI\libs"
        
-source-path=D:/dev/git/pinaragroup/PinaraUI/src,D:/dev/git/pinaragroup/PinaraUI/locale/{locale}
        
-services=D:/dev/git/pinaragroup/Pinara-0.0.1/WEB-INF/flex/services-config.xml
        -locale en_US tr_TR -o .\PinaraUI.swf

        Result :

        Unknown tag:compiler.targets
        Loading configuration: D:\dev\Apache
        
Royale\RoyaleWithNihgtlyBuild\apache-royale-0.9.4-bin-js-swf\royale-asjs\frameworks\royale-config.xml

        D:\dev\Apache
        
Royale\RoyaleWithNihgtlyBuild\apache-royale-0.9.4-bin-js-swf\royale-asjs\frameworks\royale-config.xml(33):
        col: 0 Error: unknown configuration variable 'compiler.targets'.
        D:\dev\Apache
        
Royale\RoyaleWithNihgtlyBuild\apache-royale-0.9.4-bin-js-swf\royale-asjs\frameworks\royale-config.xml
        (line: 33)

              <targets>

        27.09.2018 11:36 tarihinde Alex Harui yazdı:

            Hi Serkan,

            I took a quick look as my day is ending.

            Please remove the -load-config of flex-config.xml.  You probably 
shouldn’t need to specify a flex-config.xml or royale-config.xml, but you can 
try -load-config of the royale-config.xml in the nightly build.

            You may also find you get a different set of errors if you start 
taking the fiber and dcrad swcs out of the path.  You will need to replace 
those SWCs anyway.

            Also, you do not want to specify the Flex 4.6 sources in your 
source path.

            The compiler should load royale-config and not flex-config and not 
report any errors about the 4.6.0 sources.

            HTH,

            -Alex

            On 9/26/18, 10:02 PM, "Serkan Taş"<[email protected]>  
<mailto:[email protected]>  wrote:

                 Hi Alex,

                 Here it is :

                 
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Ffile%2Fd%2F1RnNsXmeVhcGiQEiM2wP6HTJvWjNs5BKc%2Fview%3Fusp%3Dsharing&amp;data=02%7C01%7Caharui%40adobe.com%7Cf2366a093fdc4c3db3f308d624365c19%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636736213223747522&amp;sdata=LjKOdPUDK5Kw6SLPw7WJNSU79QwS%2FJgrELKWc%2BeJfW4%3D&amp;reserved=0
  
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Ffile%2Fd%2F1RnNsXmeVhcGiQEiM2wP6HTJvWjNs5BKc%2Fview%3Fusp%3Dsharing&data=02%7C01%7Caharui%40adobe.com%7Cd4573a344d874dfa541308d624b027f7%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636736736341611396&sdata=QrJsSBwLorI9v6wl%2BKfJbdVGg8fSPD2aUsFZoQ5eAHo%3D&reserved=0>

                 Thanks.

                 Serkan

                 27.09.2018 05:05 tarihinde Alex Harui yazdı:

                 > Hi Serkan,

                 >

                 > My RAR utility did not seem to recognize this file, even if 
I renamed it to rar.  Can you try some other compression or pastebin or 
paste.apache.org?

                 >

                 > Thanks,

                 > -Alex

                 >

                 > On 9/26/18, 4:01 PM, "Serkan Taş"<[email protected]>  
<mailto:[email protected]>  wrote:

                 >

                 >      Hi Alex,

                 >

                 >      I compiled my application with nightly build :

                 >      apache-royale-0.9.4-bin-js-swf from

                 
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2Fout%2F&amp;data=02%7C01%7Caharui%40adobe.com%7Cf2366a093fdc4c3db3f308d624365c19%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636736213223747522&amp;sdata=J4s%2BmiL0oCFnThkw0S2sAlWZvPFrk9VFzh4%2BtHYJbLQ%3D&amp;reserved=0
  
<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2Fout%2F&data=02%7C01%7Caharui%40adobe.com%7Cd4573a344d874dfa541308d624b027f7%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636736736341611396&sdata=kqKyuQ%2BoKvYYuhtem%2FNBUtT1ZtpWAG95gAxY7irxYP4%3D&reserved=0>

                 >      (reference with https in royale web pahe is not working 
for me)

                 >

                 >      I got lots of warnings and errors.

                 >

                 >      Serkan.

                 >

                 >      note : attached is a rar file of compiler output log.

                 >

                 >      26.09.2018 18:12 tarihinde Alex Harui yazdı:

                 >      > Hi Serkan,

                 >      >

                 >      > I would recommend trying to compile your application 
with the latest nightly build.  You will probably get errors about missing classes 
and we can discuss how to create emulations for whatever is missing.  Alina and 
Pashmina can help you with creating emulations for the missing classes.

                 >      >

                 >      > HTH,

                 >      > -Alex

                 >      >

                 >      > On 9/26/18, 3:02 AM,"[email protected]"  
<mailto:[email protected]>  <[email protected]>  
<mailto:[email protected]>  wrote:

                 >      >

                 >      >

                 >      >      Hi Alex,

                 >      >

                 >      >      It is better to go the way you are on, 
TourDeFlex. I may return to my

                 >      >      list later.

                 >      >

                 >      >      Where should i begin, any special class or 
object/class collection ?

                 >      >

                 >      >      Thanks

                 >      >      Serkan

                 >      >

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

                 >      >

                 >      >      > Hi Serkan,

                 >      >      >

                 >      >      > I've gotten most of TourDeFlex to compile 
against the emulation

                 >      >      > components.  I'm sure there are things on your 
list that we haven't

                 >      >      > worked on yet, but it would help a lot of you 
contribute to that

                 >      >      > effort.

                 >      >      >

                 >      >      > Right now I am trying to get more of 
TourDeFlex to run.  The main

                 >      >      > screens and some modules are working.

                 >      >      >

                 >      >      > HTH,

                 >      >      > -Alex

                 >      >      >

                 >      >      > On 9/25/18, 12:34 AM, "Serkan 
Taş"<[email protected]>  <mailto:[email protected]>  wrote:

                 >      >      >

                 >      >      >     Hi,

                 >      >      >

                 >      >      >     May i get the latest status of the Work on 
Emulation, then i may go on

                 >      >      >     with the components from my api report.

                 >      >      >

                 >      >      >     Thanks in advance.

                 >      >      >

                 >      >      >     Serkan,

                 >      >

                 >      >

                 >      >      --

                 >      >      Serkan Taş

                 >      >      Mobil : +90 532 250 07 71

                 >      >      Likya Bilgi Teknolojileri

                 >      >      ve İletişim Hiz. Ltd. Şti.

                 >      
>https://na01.safelinks.protection.outlook.com/?url=www.likyateknoloji.com&amp;data=02%7C01%7Caharui%40adobe.com%7Cf2366a093fdc4c3db3f308d624365c19%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636736213223747522&amp;sdata=PbOWQRUfaVFyoCRIEDznxcWoFljgUB0YBBRWO1RzvIs%3D&amp;reserved=0
  
<https://na01.safelinks.protection.outlook.com/?url=www.likyateknoloji.com&data=02%7C01%7Caharui%40adobe.com%7Cd4573a344d874dfa541308d624b027f7%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636736736341611396&sdata=GvS6qGXlX7ygTZplfbbc5hmepB97rZDTbMGpB1XV5uo%3D&reserved=0>

                 >      >

                 >      >      --------------------------------------

                 >      >      Bu elektronik posta ve onunla iletilen bütün 
dosyalar gizlidir. Sadece

                 >      >      yukarıda isimleri belirtilen kişiler arasında 
özel haberleşme amacını

                 >      >      taşımaktadır. Size yanlışlıkla ulaşmışsa bu 
elektonik postanın

                 >      >      içeriğini açıklamanız, kopyalamanız, 
yönlendirmeniz ve kullanmanız

                 >      >      kesinlikle yasaktır. Lütfen mesajı geri 
gönderiniz ve sisteminizden

                 >      >      siliniz. Likya Bilgi Teknolojileri ve İletişim 
Hiz. Ltd. Şti. bu

                 >      >      mesajın içeriği ile ilgili olarak hiç bir 
hukuksal sorumluluğu kabul

                 >      >      etmez.

                 >      >

                 >      >      This electronic mail and any files transmitted 
with it are intended

                 >      >      for the private use of  the persons named above. 
If you received this

                 >      >      message in error, forwarding, copying or use of 
any of the information

                 >      >      is strictly prohibited. Please immediately 
notify the sender and

                 >      >      delete it from your system. Likya Bilgi 
Teknolojileri ve İletişim Hiz.

                 >      >      Ltd. Şti. does not accept legal responsibility 
for the contents of

                 >      >      this message.

                 >      >      --------------------------------------

                 >      >

                 >      >

                 >      >

                 >

                 >

Reply via email to