I just prepared Maven pom file for Library [2]* project provided as an example in the first email. -> https://paste.apache.org/oShL
Unfortunately the result is the same - Using SWF version of build SWC I'm able to build Royale application without the problem to SWF (-compiler.target=SWF). Using JS version I'm not able to build application (-comipler.target=JSRoyale). -> https://paste.apache.org/QuTx Something is wrong. :( Piotr wt., 11 wrz 2018 o 15:38 Piotr Zarzycki <[email protected]> napisał(a): > Carlos, > > It is very unlikely that yesterdays changes could make any problem and > give that error. I think this is my second approach to have SWC support in > Moonshine [1]. In first one I remember similar results. At that time I just > didn't report it on dev list, cause I went into different tasks. > > [1] https://github.com/prominic/Moonshine-IDE/issues/195 > > Thanks, > Piotr > > wt., 11 wrz 2018 o 13:37 Carlos Rovira <[email protected]> > napisał(a): > >> Hi, we cna remove from the list point 3, since it was something on my side >> as I just reported a minute ago. >> >> >> El mar., 11 sept. 2018 a las 13:30, Carlos Rovira (< >> [email protected]>) >> escribió: >> >> > Piotr, I must say that today I have various errors, as I reported: >> > 1.- error in CI as we saw reported in email >> > 2.- error building with maven in a blog example that before wasn't >> > reporting error >> > 3.- ANT failing creating SDK. >> > >> > Now yours: >> > 4.- this one >> > >> > Maybe some changes yesterday in compiler or in typedefs are causing >> this. >> > Hope Josh or Alex could bring more light on this. >> > As well could it be the change introduced by Harbs some days ago? (the >> one >> > that Alex don't want to release) >> > >> > Don't know if all if this is related. >> > >> > Thanks >> > >> > >> > >> > El mar., 11 sept. 2018 a las 12:59, Piotr Zarzycki (< >> > [email protected]>) escribió: >> > >> >> Ok I understand now what you are trying to say. Just to be clear the >> >> problem is following. >> >> >> >> If I prepare SWC which is SWF only - I'm able to consuming it and >> project >> >> which using it building without the problem to SWF. >> >> If I prepare SWC which is JS only - Classes are not visible, project is >> >> failing with error [1]. >> >> >> >> I will prepare Maven build for library to compare the results with >> command >> >> line. >> >> >> >> Thanks, >> >> Piotr >> >> >> >> wt., 11 wrz 2018 o 12:53 Carlos Rovira <[email protected]> >> >> napisał(a): >> >> >> >> > Piotr a project is used to be built. a lib to be compiled, and used >> in a >> >> > project app... >> >> > if you're not trying to do that, better I left to others since I >> don't >> >> > understand the problem >> >> > >> >> > El mar., 11 sept. 2018 a las 12:38, Piotr Zarzycki (< >> >> > [email protected]>) escribió: >> >> > >> >> > > Again to build what ? Project which is consuming SWC or SWCs >> itself ? >> >> > Which >> >> > > one you are referring to. Link [2] is library, link [3] is >> consumer of >> >> > that >> >> > > library ? >> >> > > >> >> > > wt., 11 wrz 2018 o 12:35 Carlos Rovira <[email protected]> >> >> > > napisał(a): >> >> > > >> >> > > > OK, I saw [1] quickly and thought that was only a var >> declaration. >> >> > > > I see that you don't have either ant or maven files to build >> >> (build.xml >> >> > > or >> >> > > > pom.xml). >> >> > > > Why don't you try to make those files and from there you can go >> to >> >> > other >> >> > > > config. I assume that config is for Moonshine right? >> >> > > > >> >> > > > El mar., 11 sept. 2018 a las 12:27, Piotr Zarzycki (< >> >> > > > [email protected]>) escribió: >> >> > > > >> >> > > > > Hi Carlos, >> >> > > > > >> >> > > > > 1) Are you asking on SWC preparation or building of project >> which >> >> is >> >> > > > using >> >> > > > > that swc ? >> >> > > > > 2) If you are asking about fail of build of project which is >> >> consumer >> >> > > of >> >> > > > > that swc you have it in link [1] >> >> > > > > >> >> > > > > Thanks, >> >> > > > > Piotr >> >> > > > > >> >> > > > > wt., 11 wrz 2018 o 12:23 Carlos Rovira < >> [email protected]> >> >> > > > > napisał(a): >> >> > > > > >> >> > > > > > Hi Piotr, >> >> > > > > > >> >> > > > > > 1.- Are you building with ANT or Maven? >> >> > > > > > >> >> > > > > > 2.- What's the output of the fail compilation with JS? >> >> > > > > > >> >> > > > > > >> >> > > > > > El mar., 11 sept. 2018 a las 11:46, Piotr Zarzycki (< >> >> > > > > > [email protected]>) escribió: >> >> > > > > > >> >> > > > > > > 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://paste.apache.org/tvhY >> >> > > > > > > [2] https://1drv.ms/u/s!ApVpLyjpHDC2hZwM9OY5sNinrirEvQ >> >> > > > > > > [3] https://1drv.ms/u/s!ApVpLyjpHDC2hZwNgXaX_G_qZip39g >> >> > > > > > > [4] https://paste.apache.org/OtDR >> >> > > > > > > >> >> > > > > > > Thanks, >> >> > > > > > > -- >> >> > > > > > > >> >> > > > > > > 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>* >> >> > > >> >> > >> >> > >> >> > -- >> >> > 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 >> > >> > >> >> -- >> Carlos Rovira >> http://about.me/carlosrovira >> > > > -- > > Piotr Zarzycki > > Patreon: *https://www.patreon.com/piotrzarzycki > <https://www.patreon.com/piotrzarzycki>* > -- Piotr Zarzycki Patreon: *https://www.patreon.com/piotrzarzycki <https://www.patreon.com/piotrzarzycki>*
