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 <carlosrov...@apache.org> 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 (< > piotrzarzyck...@gmail.com>) 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 <carlosrov...@apache.org> > > 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 (< > > > piotrzarzyck...@gmail.com>) 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 <carlosrov...@apache.org> > > > > 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 (< > > > > > piotrzarzyck...@gmail.com>) 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>*