Ok We have a bit miss lead from the main thread which is important to me and probably to other users of Moonshine. In a nut shell I'm not able to use in Royale application SWC which was build as JS only. - In the other words I have in the config COMPILE::JS = true and COMPILE::SWF=false.
Commands used for the build are [1]. Can it be problem with compiler ? [1] https://paste.apache.org/lXtd czw., 13 wrz 2018 o 09:38 Carlos Rovira <[email protected]> napisał(a): > Hi Piotr, > > thanks!, now I understand :) > > El mié., 12 sept. 2018 a las 19:03, Piotr Zarzycki (< > [email protected]>) escribió: > > > Carlos, > > > > "I must to admit that still doesn't understand totally. Jewel is > compiling > > to html and flash (although the later compile but doesn't work yet). > AFAIK, > > we have two targets now flash and html, so if flash is SWF, what is > > html/js/css? JSRoyale" > > > > If you use anything from Apache Royale framework you as a application > > developer should use JSRoyale. > > > > If you do not use anything from Royale but just writing pure AS3 code or > > maybe with some pure JS stuff - You should use JS. > > > > Does that make more clear ? > > > > Piotr > > > > śr., 12 wrz 2018 o 18:06 Carlos Rovira <[email protected]> > > napisał(a): > > > > > Hi, > > > > > > I must to admit that still doesn't understand totally. Jewel is > compiling > > > to html and flash (although the later compile but doesn't work yet). > > AFAIK, > > > we have two targets now flash and html, so if flash is SWF, what is > > > html/js/css? JSRoyale or JS? and the other what is for? I'm trying to > > > understand what is what and if we have 3 kind of compilations but 2 > only > > > targets, why we need the third. > > > > > > Until yesterday, for me we had only SWF and JSRoyale, then Josh come > with > > > JS that I was not aware of. > > > > > > @Piotr, one things aside, now that you are releasing. consider that all > > > config xml maybe doesn't have the new libraries like Jewel, Icons, MX > and > > > Spark, and in themes I see Basic Theme but Jewel Theme and the rest are > > not > > > listed. I suppose those files should be updated with the paths of > > manifest > > > to those libraries. Maybe I could be wrong... > > > > > > thanks > > > > > > > > > > > > > > > > > > > > > El mié., 12 sept. 2018 a las 17:57, Piotr Zarzycki (< > > > [email protected]>) escribió: > > > > > > > JSRoyale is connected with royale-config.xml, so you basically can > have > > > in > > > > your project some components from our framework. If you put JS you > > > probably > > > > got fail because those components will not be recognized. > > > > > > > > At least this is how I understand it. :) > > > > > > > > Thanks, > > > > Piotr > > > > > > > > śr., 12 wrz 2018 o 17:52 Carlos Rovira <[email protected]> > > > > napisał(a): > > > > > > > > > Hi, > > > > > ok maybe I didn't understand this ok. I though JSRoyale was old > > config > > > > and > > > > > JS was the new. So if we want a flash and HTML we must use SWF + > JS, > > if > > > > we > > > > > want only flash use SWF and if we want html we use JS only. So if > > > > JSRoyale > > > > > and JS are different things what's targeting JSRoyale? > > > > > > > > > > thanks > > > > > > > > > > El mié., 12 sept. 2018 a las 16:41, Piotr Zarzycki (< > > > > > [email protected]>) escribió: > > > > > > > > > > > Hi Carlos, > > > > > > > > > > > > As I understand you are using JS in connection with appropriate > > > config. > > > > > > However why are you trying to use JS config to build Jewel stuff? > > JS > > > is > > > > > > suppose to be used for pure JS projects as far as I understand. > > > > > > > > > > > > Thanks, > > > > > > Piotr > > > > > > > > > > > > On Wed, Sep 12, 2018, 3:53 PM Carlos Rovira < > > [email protected] > > > > > > > > > > wrote: > > > > > > > > > > > > > Hi I tried JS instead of JSRoyale but I think I have something > > > wrong > > > > > > > configured in Jewel, JewelTheme and JewelExample. > > > > > > > Josh, could you check this project configurations and suggest > > what > > > > > could > > > > > > be > > > > > > > the best config for those? If you can, that would be something > > > like a > > > > > > > "template" to use. In the meanwhile, I'll continue building > with > > > > Maven. > > > > > > > thanks in advance > > > > > > > > > > > > > > > > > > > > > El mar., 11 sept. 2018 a las 22:52, Josh Tynjala (< > > > > > > [email protected] > > > > > > > >) > > > > > > > escribió: > > > > > > > > > > > > > > > Yeah, it makes sense to use JSRoyale with js-config.xml to > > > exclude > > > > > > parts > > > > > > > > of the framework referenced in royale-config.xml. Unexpected > > > > changes > > > > > to > > > > > > > > js-config.xml in the future could possibly cause some > > surprises, > > > > but > > > > > if > > > > > > > > that's probably not a huge risk. This would be a decent > > exception > > > > to > > > > > > the > > > > > > > > rule. > > > > > > > > > > > > > > > > - Josh > > > > > > > > > > > > > > > > On 2018/09/11 17:47:41, Alex Harui <[email protected] > > > > > > wrote: > > > > > > > > > FWIW, I think the framework swcs are built using the config > > > Piotr > > > > > is > > > > > > > > using since want JSRoyale output, but we don't want to assume > > SWC > > > > > > > > dependencies specified in royale-config (because we are > > building > > > > the > > > > > > SWCs > > > > > > > > in those dependencies). > > > > > > > > > > > > > > > > > > However, you are correct for most SWCs that application > > > > developers > > > > > > will > > > > > > > > be building. > > > > > > > > > > > > > > > > > > Of course, I could be wrong... > > > > > > > > > -Alex > > > > > > > > > > > > > > > > > > On 9/11/18, 10:21 AM, "Josh Tynjala" < > > [email protected]> > > > > > > wrote: > > > > > > > > > > > > > > > > > > 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 < > > > > > > [email protected]> > > > > > > > > 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&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=8wNnZdcsKAwMUSPkEMln4lIYant36T0FNpCwbjhxE7w%3D&reserved=0 > > > > > > > > > > [2] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F1drv.ms%2Fu%2Fs!ApVpLyjpHDC2hZwM9OY5sNinrirEvQ&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=p9FuFZl3Q69unFF%2F%2BWvoiQ1%2BgFgmKK432O8yfpSxHeI%3D&reserved=0 > > > > > > > > > > [3] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F1drv.ms%2Fu%2Fs!ApVpLyjpHDC2hZwNgXaX_G_qZip39g&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=j8eS3h60ZTJ%2Bdq5hmI1Fa1aLoZ6FJfYFXJzyasns054%3D&reserved=0 > > > > > > > > > > [4] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FOtDR&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=m7b68csRqLF0nnRHOemiNmryFekbHgUGgLFTNkSxZUQ%3D&reserved=0 > > > > > > > > > > > > > > > > > > > > Thanks, > > > > > > > > > > -- > > > > > > > > > > > > > > > > > > > > Piotr Zarzycki > > > > > > > > > > > > > > > > > > > > Patreon: * > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=ua2LEaq3tv5oEmOvalMBlT4q8CPJRUysSv5Bocy39QM%3D&reserved=0 > > > > > > > > > > < > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497&sdata=ua2LEaq3tv5oEmOvalMBlT4q8CPJRUysSv5Bocy39QM%3D&reserved=0 > > > > > > > > >* > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > Carlos Rovira > > > > > > > http://about.me/carlosrovira > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > Carlos Rovira > > > > > http://about.me/carlosrovira > > > > > > > > > > > > > > > > > -- > > > > > > > > Piotr Zarzycki > > > > > > > > Patreon: *https://www.patreon.com/piotrzarzycki > > > > <https://www.patreon.com/piotrzarzycki>* > > > > > > > > > > > > > -- > > > Carlos Rovira > > > http://about.me/carlosrovira > > > > > > > > > -- > > > > Piotr Zarzycki > > > > Patreon: *https://www.patreon.com/piotrzarzycki > > <https://www.patreon.com/piotrzarzycki>* > > > > > -- > Carlos Rovira > http://about.me/carlosrovira > -- Piotr Zarzycki Patreon: *https://www.patreon.com/piotrzarzycki <https://www.patreon.com/piotrzarzycki>*
