If you are having a problem with a SWC, it is best to dump the SWC and examine 
it.  A SWC is a ZIP file and contains at least a catalog.xml and library.swf 
and for Royale, usually it also contains JS files.

The catalog.xml file should list all classes found in the SWC.  If it lists a 
class but you still can't compile your app against it, the next steps are to 
verify that SWC is in the library-path (or external-library-path), and then to 
SWFDump the library.swf to see if it is or isn't in the library.swf.  The 
compiler does not read catalog.xml, it parses library.swf to find out what 
classes are in the SWF.

In Royale, not only is there a -library-path option, but also a 
-swf-library-path and -js-library-path option.  If only -library-path is used, 
both the SWF compile and JS compile will use the SWCs specified via 
-library-path.  But if even one -js-library-path option is used, then the JS 
compile will not look at -library-path and only look at -js-library-path so you 
may have to re-specify SWCs that were on -library-path with -js-library-path.  
Same goes for using -swf-library-path, and the same pattern applies for 
-external-library-path.

HTH,
-Alex

On 9/11/18, 7:34 AM, "Piotr Zarzycki" <piotrzarzyck...@gmail.com> wrote:

    I just prepared Maven pom file for Library [2]* project provided as an
    example in the first email. -> 
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FoShL&amp;data=02%7C01%7Caharui%40adobe.com%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540977391&amp;sdata=F164h%2FVzFSZ7HkNK9%2FJkvg0AoeKYvfhxJOTmXUtBr4Y%3D&amp;reserved=0
    
    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://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FQuTx&amp;data=02%7C01%7Caharui%40adobe.com%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540977391&amp;sdata=AuhGyunTcr9gY8pWWeJgVdbY9sU2XlK5bPuKssRx21g%3D&amp;reserved=0
    
    Something is wrong. :(
    
    Piotr
    
    wt., 11 wrz 2018 o 15:38 Piotr Zarzycki <piotrzarzyck...@gmail.com>
    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://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fprominic%2FMoonshine-IDE%2Fissues%2F195&amp;data=02%7C01%7Caharui%40adobe.com%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540977391&amp;sdata=lfMS8nLf9qoDCYXYPWoU2HxXzHlfe05kziCHYFGbl58%3D&amp;reserved=0
    >
    > Thanks,
    > Piotr
    >
    > wt., 11 wrz 2018 o 13:37 Carlos Rovira <carlosrov...@apache.org>
    > 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 (<
    >> carlosrov...@apache.org>)
    >> 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 (<
    >> > piotrzarzyck...@gmail.com>) 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 <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://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FtvhY&amp;data=02%7C01%7Caharui%40adobe.com%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540977391&amp;sdata=a3D9TrjDbljw6P4wBAbzakmgHaRg1cCeHoLy%2BekIjEY%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%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540977391&amp;sdata=7uWI%2Fhf7QV9U7dg1LcjzJXjt6WB%2F8BzpXLUSxO%2B08Ho%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%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540977391&amp;sdata=U1zDRRM%2B2JPlHLoQ2R8gH9%2FZadUE%2BTD623BoaAz0h2A%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%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540977391&amp;sdata=mM4kUjn89cjNJxPRORHIFJxAMiGLHC3kskSm4PVpq34%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%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540977391&amp;sdata=OzAM4GsBa3fO5feepnFKNJGNEGanLfqZkIMgkSBnv%2F0%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%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540977391&amp;sdata=OzAM4GsBa3fO5feepnFKNJGNEGanLfqZkIMgkSBnv%2F0%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%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540977391&amp;sdata=FJEkWEohxs%2BeNBWNj%2FgKYqeJISSL5hMDIaQ7OBVzvAc%3D&amp;reserved=0
    >> >> > > > > > >
    >> >> > > > > > >
    >> >> > > > > > >
    >> >> > > > > > >
    >> >> > > > > >
    >> >> > > > >
    >> >> > > > >
    >> >> > > > > --
    >> >> > > > >
    >> >> > > > > Piotr Zarzycki
    >> >> > > > >
    >> >> > > > > Patreon: 
*https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540977391&amp;sdata=OzAM4GsBa3fO5feepnFKNJGNEGanLfqZkIMgkSBnv%2F0%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%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540977391&amp;sdata=OzAM4GsBa3fO5feepnFKNJGNEGanLfqZkIMgkSBnv%2F0%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%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540977391&amp;sdata=FJEkWEohxs%2BeNBWNj%2FgKYqeJISSL5hMDIaQ7OBVzvAc%3D&amp;reserved=0
    >> >> > > >
    >> >> > >
    >> >> > >
    >> >> > > --
    >> >> > >
    >> >> > > Piotr Zarzycki
    >> >> > >
    >> >> > > Patreon: 
*https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540977391&amp;sdata=OzAM4GsBa3fO5feepnFKNJGNEGanLfqZkIMgkSBnv%2F0%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%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540977391&amp;sdata=OzAM4GsBa3fO5feepnFKNJGNEGanLfqZkIMgkSBnv%2F0%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%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540977391&amp;sdata=FJEkWEohxs%2BeNBWNj%2FgKYqeJISSL5hMDIaQ7OBVzvAc%3D&amp;reserved=0
    >> >> >
    >> >>
    >> >>
    >> >> --
    >> >>
    >> >> Piotr Zarzycki
    >> >>
    >> >> Patreon: 
*https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540977391&amp;sdata=OzAM4GsBa3fO5feepnFKNJGNEGanLfqZkIMgkSBnv%2F0%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%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540987396&amp;sdata=k%2B%2BFiU1a0JeXifOW7qcP2khE5O0P0gimDL0mUK3Wb%2BE%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%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540987396&amp;sdata=BTn3DvMjszn11L28qeRtboiwhm2bUifuNt19JGVgTyM%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%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540987396&amp;sdata=BTn3DvMjszn11L28qeRtboiwhm2bUifuNt19JGVgTyM%3D&amp;reserved=0
    >>
    >
    >
    > --
    >
    > Piotr Zarzycki
    >
    > Patreon: 
*https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540987396&amp;sdata=k%2B%2BFiU1a0JeXifOW7qcP2khE5O0P0gimDL0mUK3Wb%2BE%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%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540987396&amp;sdata=k%2B%2BFiU1a0JeXifOW7qcP2khE5O0P0gimDL0mUK3Wb%2BE%3D&amp;reserved=0>*
    >
    
    
    -- 
    
    Piotr Zarzycki
    
    Patreon: 
*https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540987396&amp;sdata=k%2B%2BFiU1a0JeXifOW7qcP2khE5O0P0gimDL0mUK3Wb%2BE%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%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540987396&amp;sdata=k%2B%2BFiU1a0JeXifOW7qcP2khE5O0P0gimDL0mUK3Wb%2BE%3D&amp;reserved=0>*
    

Reply via email to