royale-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com.INVALID>
Subject Re: Difficulties with using in project JS version of Royale swc
Date Tue, 11 Sep 2018 20:32:45 GMT
Jewel will probably need JSRoyale

´╗┐On 9/11/18, 1:31 PM, "Carlos Rovira" <carlosrovira@apache.org> wrote:

    That's oool Josh!, I'll try to try "JS" instead of "JSRoyale", that seems
    more correct.
    
    thanks! :)
    
    El mar., 11 sept. 2018 a las 19:21, Josh Tynjala (<joshtynjala@apache.org>)
    escribi├│:
    
    > Hey Piotr,
    >
    > There's something a little strange in your compiler options that you
    > should probably fix:
    >
    > You're specifying JSRoyale and js-config.xml together, but these two
    > aren't necessarily compatible. Here's what you have in your compiler
    > options:
    >
    > -compiler.targets=SWF,JSRoyale
    > -load-config=d:\royale_nightly_js_swf\frameworks\js-config.xml
    >
    > However, it should either be this:
    >
    > -compiler.targets=SWF,JSRoyale
    > -load-config=d:\royale_nightly_js_swf\frameworks\royale-config.xml
    >
    > or maybe this (depending on if you want Royale components or pure JS):
    >
    > -compiler.targets=SWF,JS
    > -load-config=d:\royale_nightly_js_swf\frameworks\js-config.xml
    >
    > Basically, you use JSRoyale with royale-config.xml, or you use JS with
    > js-config.xml. The JSRoyale and JS targets produce very similar output, but
    > it's best not to assume that they're exactly the same in all cases.
    >
    > (As a side note, it's worth mentioning that there's also the JSNode target
    > that's meant to work with node-config.xml. JSNode also produces different
    > output than JSRoyale or JS because it generates code for Node.js)
    >
    > One last thing. In order to use -compiler.targets=SWF,JS to build a SWC,
    > you'll need my compiler changes from yesterday. For some reason, that was
    > throwing an exception, while -compiler.targets=SWF,JSRoyale did not. I
    > suspect that this may be why you were using JSRoyale instead of JS, but now
    > JS should work too!
    >
    > - Josh
    >
    > On 2018/09/11 09:45:52, Piotr Zarzycki <piotrzarzycki21@gmail.com> wrote:
    > > Hi Guys,
    > >
    > > I'm having difficulties with using created Royale SWC in some project. I
    > > have two projects. (I've uploaded them on onedrive so you can try it
    > > yourself).
    > >
    > > Using SWF version of prepared swc I'm able to build project with
    > > compiler.targets=SWF. Unfortunately using JS version of that SWC I'm not
    > > able to build project with it. [1]
    > >
    > > 1. Library itself [2] - It contains configurations compile-swf-config.xml
    > > and compile-js-config.xml. Folder "bin" has swc JS and SWF version.
    > >
    > > 2. Consumer of library [3] - This one is configured with Moonshine and
    > > VSCode.
    > >
    > > I'm building JS and SWF version of SWC using following command lines [4]
    > >
    > > Does anyone is seeing what could be wrong ? Those command lines [4] are
    > > based on how Royale is building swcs Basic, Jewel etc.
    > >
    > > [1] https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FtvhY&amp;data=02%7C01%7Caharui%40adobe.com%7C0269d62e776e469999cc08d618259024%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722946940896698&amp;sdata=B2094%2FbUr5UagOsLyev0GvyGNfG9mOGHTAcHwoAXofo%3D&amp;reserved=0
    > > [2] https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F1drv.ms%2Fu%2Fs!ApVpLyjpHDC2hZwM9OY5sNinrirEvQ&amp;data=02%7C01%7Caharui%40adobe.com%7C0269d62e776e469999cc08d618259024%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722946940906702&amp;sdata=di98xHqUTNgQpS1fO7BQXzIRWIyx2OGBCVJl93mh5IQ%3D&amp;reserved=0
    > > [3] https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F1drv.ms%2Fu%2Fs!ApVpLyjpHDC2hZwNgXaX_G_qZip39g&amp;data=02%7C01%7Caharui%40adobe.com%7C0269d62e776e469999cc08d618259024%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722946940906702&amp;sdata=BK35o1j4c4gLQFQ1fU0VBXJzL22D5VKG13SKTPEHDdQ%3D&amp;reserved=0
    > > [4] https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FOtDR&amp;data=02%7C01%7Caharui%40adobe.com%7C0269d62e776e469999cc08d618259024%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722946940906702&amp;sdata=tLE%2B2741ffC30d3Nz7MW%2BjjNhyicr%2B38%2BcVH155On4E%3D&amp;reserved=0
    > >
    > > Thanks,
    > > --
    > >
    > > Piotr Zarzycki
    > >
    > > Patreon: *https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C0269d62e776e469999cc08d618259024%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722946940906702&amp;sdata=i8vsvL1leBKljSGLnJ7RF7%2FzBsAjRd5HrNV1HG51ntw%3D&amp;reserved=0
    > > <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C0269d62e776e469999cc08d618259024%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722946940906702&amp;sdata=i8vsvL1leBKljSGLnJ7RF7%2FzBsAjRd5HrNV1HG51ntw%3D&amp;reserved=0>*
    > >
    >
    
    
    -- 
    Carlos Rovira
    https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C0269d62e776e469999cc08d618259024%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722946940906702&amp;sdata=b%2FBTw9QPdidBGwPDOLEwxTbjasQtWotNLVwbm%2Bv4K14%3D&amp;reserved=0
    

Mime
View raw message