Re: Difficulties with using in project JS version of Royale swc

2018-09-13 Thread Piotr Zarzycki
Thanks guys I think I got it, so hopefully support for Royale SWC will be
added in the next version of Moonshine.

czw., 13 wrz 2018 o 10:53 Alex Harui  napisał(a):

> It looks like the custom swc is on the -library-path.  Does it work if it
> uses -js-library-path instead?  I though we already discussed this.  If
> other configs are loaded like royale-config.xml, then I think you want the
> -js-library-path.
>
> IIRC, the compiler doesn't care if it says 'flex-config" or
> "royale-config".
>
> HTH,
> -Alex
>
> On 9/13/18, 1:01 AM, "Piotr Zarzycki"  wrote:
>
> I noticed that we have in config (link [3]) tag "flex-config" - Can it
> have
> some impact when Royale is loading it ? Should it be "royale-config"?
>
> czw., 13 wrz 2018 o 09:57 Piotr Zarzycki 
> napisał(a):
>
> > Hi Alex,
> >
> > During swc build I don't get any errors. When I'm using that swc I
> got
> > that one [1]. - You can download project from my links to see the
> code.
> >
> > Here is the options which is being used by the project which
> consuming
> > that swc [2]. Here is the config [3] which you are seeing in [2].
> >
> > [1]
> >
> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Ferror_compiler.pngdata=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274sdata=MbZbBU87tAKpXLVrWFkeuePnztt5%2BZ2I3RcaHzRDHGQ%3Dreserved=0
> > [2]
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FvoyLdata=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274sdata=PBAsSA4ariBZhaaEvBSSTr9ortMeWD3JOmEoxoHaY88%3Dreserved=0
> > [3]
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FBnHNdata=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274sdata=KunbnOrLy%2BRRu30UUInOcCSoXgPeisyZITTeTZ2n6qE%3Dreserved=0
> >
> > Thanks,
> > Piotr
> >
> >
> > czw., 13 wrz 2018 o 09:51 Alex Harui 
> > napisał(a):
> >
> >> Piotr,  what error do you get?  Did you unzip the SWC to see if has
> the
> >> expected files?  If you get an error using the SWC in the main app,
> what
> >> options are you using in MXMLC for the main app?
> >>
> >> -Alex
> >>
> >> On 9/13/18, 12:42 AM, "Piotr Zarzycki" 
> >> wrote:
> >>
> >> 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://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FlXtddata=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274sdata=M3BSwWJEF2e%2BbnPfXsPFQuzdJRwaXZH5Q%2FEeNehPNE0%3Dreserved=0
> >>
> >> czw., 13 wrz 2018 o 09:38 Carlos Rovira <
> carlosrov...@apache.org>
> >> napisał(a):
> >>
> >> > Hi Piotr,
> >> >
> >> > thanks!, now I understand :)
> >> >
> >> > El mié., 12 sept. 2018 a las 19:03, Piotr Zarzycki (<
> >> > piotrzarzyck...@gmail.com>) 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 <
> carlosrov...@apache.org>
> >> > > 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).
> >> > > 

Re: Difficulties with using in project JS version of Royale swc

2018-09-13 Thread Alex Harui
It looks like the custom swc is on the -library-path.  Does it work if it uses 
-js-library-path instead?  I though we already discussed this.  If other 
configs are loaded like royale-config.xml, then I think you want the 
-js-library-path.

IIRC, the compiler doesn't care if it says 'flex-config" or "royale-config".

HTH,
-Alex

On 9/13/18, 1:01 AM, "Piotr Zarzycki"  wrote:

I noticed that we have in config (link [3]) tag "flex-config" - Can it have
some impact when Royale is loading it ? Should it be "royale-config"?

czw., 13 wrz 2018 o 09:57 Piotr Zarzycki 
napisał(a):

> Hi Alex,
>
> During swc build I don't get any errors. When I'm using that swc I got
> that one [1]. - You can download project from my links to see the code.
>
> Here is the options which is being used by the project which consuming
> that swc [2]. Here is the config [3] which you are seeing in [2].
>
> [1]
> 
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Ferror_compiler.pngdata=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274sdata=MbZbBU87tAKpXLVrWFkeuePnztt5%2BZ2I3RcaHzRDHGQ%3Dreserved=0
> [2] 
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FvoyLdata=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274sdata=PBAsSA4ariBZhaaEvBSSTr9ortMeWD3JOmEoxoHaY88%3Dreserved=0
> [3] 
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FBnHNdata=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274sdata=KunbnOrLy%2BRRu30UUInOcCSoXgPeisyZITTeTZ2n6qE%3Dreserved=0
>
> Thanks,
> Piotr
>
>
> czw., 13 wrz 2018 o 09:51 Alex Harui 
> napisał(a):
>
>> Piotr,  what error do you get?  Did you unzip the SWC to see if has the
>> expected files?  If you get an error using the SWC in the main app, what
>> options are you using in MXMLC for the main app?
>>
>> -Alex
>>
>> On 9/13/18, 12:42 AM, "Piotr Zarzycki" 
>> wrote:
>>
>> 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://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FlXtddata=02%7C01%7Caharui%40adobe.com%7C80a6ea44cad54942d43308d6194f1767%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724224817765274sdata=M3BSwWJEF2e%2BbnPfXsPFQuzdJRwaXZH5Q%2FEeNehPNE0%3Dreserved=0
>>
>> czw., 13 wrz 2018 o 09:38 Carlos Rovira 
>> napisał(a):
>>
>> > Hi Piotr,
>> >
>> > thanks!, now I understand :)
>> >
>> > El mié., 12 sept. 2018 a las 19:03, Piotr Zarzycki (<
>> > piotrzarzyck...@gmail.com>) 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 
>> > > 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 

Re: Difficulties with using in project JS version of Royale swc

2018-09-13 Thread Piotr Zarzycki
I noticed that we have in config (link [3]) tag "flex-config" - Can it have
some impact when Royale is loading it ? Should it be "royale-config"?

czw., 13 wrz 2018 o 09:57 Piotr Zarzycki 
napisał(a):

> Hi Alex,
>
> During swc build I don't get any errors. When I'm using that swc I got
> that one [1]. - You can download project from my links to see the code.
>
> Here is the options which is being used by the project which consuming
> that swc [2]. Here is the config [3] which you are seeing in [2].
>
> [1]
> http://apache-royale-development.20373.n8.nabble.com/file/t1/error_compiler.png
> [2] https://paste.apache.org/voyL
> [3] https://paste.apache.org/BnHN
>
> Thanks,
> Piotr
>
>
> czw., 13 wrz 2018 o 09:51 Alex Harui 
> napisał(a):
>
>> Piotr,  what error do you get?  Did you unzip the SWC to see if has the
>> expected files?  If you get an error using the SWC in the main app, what
>> options are you using in MXMLC for the main app?
>>
>> -Alex
>>
>> On 9/13/18, 12:42 AM, "Piotr Zarzycki" 
>> wrote:
>>
>> 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://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FlXtddata=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258501681sdata=8nUMt8fyyL5fXhilc2Apf4FFmoicdAgxefU5IsVYcW0%3Dreserved=0
>>
>> czw., 13 wrz 2018 o 09:38 Carlos Rovira 
>> napisał(a):
>>
>> > Hi Piotr,
>> >
>> > thanks!, now I understand :)
>> >
>> > El mié., 12 sept. 2018 a las 19:03, Piotr Zarzycki (<
>> > piotrzarzyck...@gmail.com>) 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 
>> > > 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 (<
>> > > > piotrzarzyck...@gmail.com>) 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 <
>> carlosrov...@apache.org>
>> > > > > 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
>> 

Re: Difficulties with using in project JS version of Royale swc

2018-09-13 Thread Piotr Zarzycki
Hi Alex,

During swc build I don't get any errors. When I'm using that swc I got that
one [1]. - You can download project from my links to see the code.

Here is the options which is being used by the project which consuming that
swc [2]. Here is the config [3] which you are seeing in [2].

[1]
http://apache-royale-development.20373.n8.nabble.com/file/t1/error_compiler.png
[2] https://paste.apache.org/voyL
[3] https://paste.apache.org/BnHN

Thanks,
Piotr


czw., 13 wrz 2018 o 09:51 Alex Harui  napisał(a):

> Piotr,  what error do you get?  Did you unzip the SWC to see if has the
> expected files?  If you get an error using the SWC in the main app, what
> options are you using in MXMLC for the main app?
>
> -Alex
>
> On 9/13/18, 12:42 AM, "Piotr Zarzycki"  wrote:
>
> 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://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FlXtddata=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258501681sdata=8nUMt8fyyL5fXhilc2Apf4FFmoicdAgxefU5IsVYcW0%3Dreserved=0
>
> czw., 13 wrz 2018 o 09:38 Carlos Rovira 
> napisał(a):
>
> > Hi Piotr,
> >
> > thanks!, now I understand :)
> >
> > El mié., 12 sept. 2018 a las 19:03, Piotr Zarzycki (<
> > piotrzarzyck...@gmail.com>) 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 
> > > 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 (<
> > > > piotrzarzyck...@gmail.com>) 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 <
> carlosrov...@apache.org>
> > > > > 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 (<
> > > > > > 

Re: Difficulties with using in project JS version of Royale swc

2018-09-13 Thread Alex Harui
Piotr,  what error do you get?  Did you unzip the SWC to see if has the 
expected files?  If you get an error using the SWC in the main app, what 
options are you using in MXMLC for the main app?

-Alex

On 9/13/18, 12:42 AM, "Piotr Zarzycki"  wrote:

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://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FlXtddata=02%7C01%7Caharui%40adobe.com%7Cdeccef2f95a84b0ef58f08d6194c6644%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636724213258501681sdata=8nUMt8fyyL5fXhilc2Apf4FFmoicdAgxefU5IsVYcW0%3Dreserved=0

czw., 13 wrz 2018 o 09:38 Carlos Rovira 
napisał(a):

> Hi Piotr,
>
> thanks!, now I understand :)
>
> El mié., 12 sept. 2018 a las 19:03, Piotr Zarzycki (<
> piotrzarzyck...@gmail.com>) 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 
> > 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 (<
> > > piotrzarzyck...@gmail.com>) 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 
> > > > 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 (<
> > > > > piotrzarzyck...@gmail.com>) 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 <
> > carlosrov...@apache.org
> > > >
> > > > > > wrote:
> > > > > >
> > > > > > > Hi I tried JS instead of JSRoyale but I think I have something
> > > wrong
> > > > > > > configured in Jewel, JewelTheme and JewelExample.
> > > > > > > 

Re: Difficulties with using in project JS version of Royale swc

2018-09-13 Thread Piotr Zarzycki
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 
napisał(a):

> Hi Piotr,
>
> thanks!, now I understand :)
>
> El mié., 12 sept. 2018 a las 19:03, Piotr Zarzycki (<
> piotrzarzyck...@gmail.com>) 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 
> > 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 (<
> > > piotrzarzyck...@gmail.com>) 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 
> > > > 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 (<
> > > > > piotrzarzyck...@gmail.com>) 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 <
> > carlosrov...@apache.org
> > > >
> > > > > > 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 (<
> > > > > > joshtynj...@apache.org
> > > > > > > >)
> > > > > > > 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
> > > > > > > >
> > > > 

Re: Difficulties with using in project JS version of Royale swc

2018-09-13 Thread Carlos Rovira
Hi Piotr,

thanks!, now I understand :)

El mié., 12 sept. 2018 a las 19:03, Piotr Zarzycki (<
piotrzarzyck...@gmail.com>) 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 
> 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 (<
> > piotrzarzyck...@gmail.com>) 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 
> > > 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 (<
> > > > piotrzarzyck...@gmail.com>) 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 <
> carlosrov...@apache.org
> > >
> > > > > 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 (<
> > > > > joshtynj...@apache.org
> > > > > > >)
> > > > > > 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 
> > > 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" <
> joshtynj...@apache.org>
> > > > > wrote:
> > > > > > > >
> > > > > 

Re: Difficulties with using in project JS version of Royale swc

2018-09-12 Thread Piotr Zarzycki
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  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 (<
> piotrzarzyck...@gmail.com>) 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 
> > 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 (<
> > > piotrzarzyck...@gmail.com>) 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  >
> > > > 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 (<
> > > > joshtynj...@apache.org
> > > > > >)
> > > > > 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 
> > 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" 
> > > > 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
> > > > > > >
> >  

Re: Difficulties with using in project JS version of Royale swc

2018-09-12 Thread Carlos Rovira
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 (<
piotrzarzyck...@gmail.com>) 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 
> 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 (<
> joshtynj...@apache.org
> > >)
> > 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  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" 
> 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 <
> piotrzarzyck...@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
> > > > > 

Re: Difficulties with using in project JS version of Royale swc

2018-09-12 Thread Piotr Zarzycki
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  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 (<
> piotrzarzyck...@gmail.com>) 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 
> > 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 (<
> > joshtynj...@apache.org
> > > >)
> > > 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  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" 
> > 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 <
> > piotrzarzyck...@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

Re: Difficulties with using in project JS version of Royale swc

2018-09-12 Thread Piotr Zarzycki
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  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 ( >)
> 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  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"  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 
> > 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=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497=8wNnZdcsKAwMUSPkEMln4lIYant36T0FNpCwbjhxE7w%3D=0
> > > > [2]
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F1drv.ms%2Fu%2Fs!ApVpLyjpHDC2hZwM9OY5sNinrirEvQ=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497=p9FuFZl3Q69unFF%2F%2BWvoiQ1%2BgFgmKK432O8yfpSxHeI%3D=0
> > > > [3]
> >
> 

Re: Difficulties with using in project JS version of Royale swc

2018-09-12 Thread Carlos Rovira
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 ()
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  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"  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 
> 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=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497=8wNnZdcsKAwMUSPkEMln4lIYant36T0FNpCwbjhxE7w%3D=0
> > > [2]
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F1drv.ms%2Fu%2Fs!ApVpLyjpHDC2hZwM9OY5sNinrirEvQ=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497=p9FuFZl3Q69unFF%2F%2BWvoiQ1%2BgFgmKK432O8yfpSxHeI%3D=0
> > > [3]
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F1drv.ms%2Fu%2Fs!ApVpLyjpHDC2hZwNgXaX_G_qZip39g=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497=j8eS3h60ZTJ%2Bdq5hmI1Fa1aLoZ6FJfYFXJzyasns054%3D=0
> > > [4]
> 

Re: Difficulties with using in project JS version of Royale swc

2018-09-12 Thread piotrz
Hi Josh,

I just played with your suggestion, so generate JS and SWF version of SWCs
and there is no change in my consumer project. I'm still getting error in JS
version of SWC. 

This is how both command looks like [1]. Just as a reminder what kind of
error do I have, swc is placed in -library-path. Am I still doing something
wrong ?


  

[1] https://paste.apache.org/lXtd

Thanks,
Piotr



--
Sent from: http://apache-royale-development.20373.n8.nabble.com/


Re: Difficulties with using in project JS version of Royale swc

2018-09-11 Thread Josh Tynjala
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  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"  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  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=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497=8wNnZdcsKAwMUSPkEMln4lIYant36T0FNpCwbjhxE7w%3D=0
> > [2] 
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F1drv.ms%2Fu%2Fs!ApVpLyjpHDC2hZwM9OY5sNinrirEvQ=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497=p9FuFZl3Q69unFF%2F%2BWvoiQ1%2BgFgmKK432O8yfpSxHeI%3D=0
> > [3] 
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F1drv.ms%2Fu%2Fs!ApVpLyjpHDC2hZwNgXaX_G_qZip39g=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497=j8eS3h60ZTJ%2Bdq5hmI1Fa1aLoZ6FJfYFXJzyasns054%3D=0
> > [4] 
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FOtDR=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497=m7b68csRqLF0nnRHOemiNmryFekbHgUGgLFTNkSxZUQ%3D=0
> > 
> > Thanks,
> > -- 
> > 
> > Piotr Zarzycki
> > 
> > Patreon: 
> *https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki=02%7C01%7Caharui%40adobe.com%7C5a8dfde09c3a43c1dc5708d6180b0bf9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722833090144497=ua2LEaq3tv5oEmOvalMBlT4q8CPJRUysSv5Bocy39QM%3D=0
> > 
> 

Re: Difficulties with using in project JS version of Royale swc

2018-09-11 Thread Alex Harui
Jewel will probably need JSRoyale

On 9/11/18, 1:31 PM, "Carlos Rovira"  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 ()
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  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%2FtvhYdata=02%7C01%7Caharui%40adobe.com%7C0269d62e776e46cc08d618259024%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722946940896698sdata=B2094%2FbUr5UagOsLyev0GvyGNfG9mOGHTAcHwoAXofo%3Dreserved=0
> > [2] 
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F1drv.ms%2Fu%2Fs!ApVpLyjpHDC2hZwM9OY5sNinrirEvQdata=02%7C01%7Caharui%40adobe.com%7C0269d62e776e46cc08d618259024%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722946940906702sdata=di98xHqUTNgQpS1fO7BQXzIRWIyx2OGBCVJl93mh5IQ%3Dreserved=0
> > [3] 
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F1drv.ms%2Fu%2Fs!ApVpLyjpHDC2hZwNgXaX_G_qZip39gdata=02%7C01%7Caharui%40adobe.com%7C0269d62e776e46cc08d618259024%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722946940906702sdata=BK35o1j4c4gLQFQ1fU0VBXJzL22D5VKG13SKTPEHDdQ%3Dreserved=0
> > [4] 
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FOtDRdata=02%7C01%7Caharui%40adobe.com%7C0269d62e776e46cc08d618259024%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722946940906702sdata=tLE%2B2741ffC30d3Nz7MW%2BjjNhyicr%2B38%2BcVH155On4E%3Dreserved=0
> >
> > Thanks,
> > --
> >
> > Piotr Zarzycki
> >
> > Patreon: 
*https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzyckidata=02%7C01%7Caharui%40adobe.com%7C0269d62e776e46cc08d618259024%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722946940906702sdata=i8vsvL1leBKljSGLnJ7RF7%2FzBsAjRd5HrNV1HG51ntw%3Dreserved=0
> > 
*
> >
>


-- 
Carlos Rovira


Re: Difficulties with using in project JS version of Royale swc

2018-09-11 Thread Carlos Rovira
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 ()
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  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://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
> > *
> >
>


-- 
Carlos Rovira
http://about.me/carlosrovira


Re: Difficulties with using in project JS version of Royale swc

2018-09-11 Thread Josh Tynjala
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  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://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
> *
> 


Re: Difficulties with using in project JS version of Royale swc

2018-09-11 Thread Alex Harui
I just looked in my working copy and the default royale-config.xml looks like 
it uses -js-library-path.  I don’t remember if the build scripts tweak that or 
not for a js-only package, so look in the royale-config you have and verify if 
that's true.  I guess we must have made that change to make it easier for 
JS-only projects to access browser APIs.  I thought we were still gambling that 
folks were not using platform-specific APIs, but I guess that's no longer true.

So if your royale-config is using -js-library-path, then yes, you just specify 
custom SWCs using -js-library-path.

HTH,
-Alex

On 9/11/18, 10:02 AM, "Piotr Zarzycki"  wrote:

Alex,

In the other words I don't have any other option than put my JS only
library to js-library-path if I ever wanted to build my application to JS
only. Unless there is really a bug, because why following things are not
working.

-targets=JSRoyale
-source-path+=src
-library-path+=lib/RoyaleLibTestJS.swc

Having above parameters setup like that should we be able to build our
application or not ? IF YES it should work - We definitely have a Bug here.

Thanks,
Piotr

wt., 11 wrz 2018 o 18:49 Alex Harui  napisał(a):

> It sounds like I have still not clearly explained how
> library-path/swf-library-path/js-library-path work.
>
> Library-path is for SWCs that "might" work for both SWF and JS.  When we
> compile most Royale SWCs, we build the library.swf with COMPILE::SWF=true
> and then compile JS files with COMPILE::SWF=false.  The gamble is that
> folks will not use platform-specific APIs (like Flash classes or the
> Browser's HTMLElement.  The default configuration for Royale is to put the
> SWCs in frameworks/projects on the library-path.
>
> The swf-library-path and js-library-path options are for specifying SWCs
> that have APIs for that specific platform.  BUT (this is the key point), 
as
> soon as you specify even one SWC with js-library-path, the compiler will 
no
> longer us just plain -library-path in determining the list of SWCs.  If 
one
> SWC was specified with -js-library-path, then ALL swcs for the JS compile
> must be specified using js-library-path.
>
> So, if you used -js-library-path to specify your custom SWC, then you
> should get the error about not finding Application since it was specified
> with just plain "library-path" in royale-config.xml.  You might have to
> specify -js-library-path=/frameworks/js/libs" as well
> to get all of the other Royale SWCs.
>
> Anyone who can explain it better, please do so.
>
> HTH,
> -Alex
>
> On 9/11/18, 9:28 AM, "Piotr Zarzycki"  wrote:
>
> I just checked and here is the results.
>
> JS version of library:
> If I'm using js-external-library-path or js-library-path - SWC is 
being
> recognized and I'm able to build using it my project to JS (JSRoyale)
> If I'm using -library-path or external-library-path - It's failing 
with
> errors described in first email.
>
> SWF version of library:
> If I'm using -swf-library-path - I'm getting following error [1],
> however
> if I use -swf-external-library-path - project is able to produce
> correct
> swf. Maybe we have a bug in case of -swf-library-path.
> If I'm using -library-path and external-library-path I'm able to
> produce
> correct swf.
>
> It looks like I know how to implement all of that in Moonshine now.
> Very
> useful information. I'm wondering whether we shouldn't think that is
> all
> bugs in case of -library-path and swf-library-path.
>
> Many Thanks for help Alex.
>
> [1]
> 
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2F13Sqdata=02%7C01%7Caharui%40adobe.com%7Cb5046911633b469f392908d618086565%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722821688617676sdata=Z3MfV3twGC%2F1BdfRMHBKIL4fcvh3ZSBMg7YRm2htQbw%3Dreserved=0
>
> wt., 11 wrz 2018 o 18:09 Piotr Zarzycki 
> napisał(a):
>
> > Alex,
> >
> > It looks like library.swf contains in both cases required
> information and
> > files. I have in this library two files.
> >
> > 1) MyClass -> Contains import of all classes
> > 2) MyViewClass - contains function in blocs COMPILE::SWF and
> COMPILE::JS
> >
> > JS library dump:
> 
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FdLA2data=02%7C01%7Caharui%40adobe.com%7Cb5046911633b469f392908d618086565%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722821688617676sdata=mAINfsmspL4wKRJx7WctjMMZnvE0RaR%2BB02FhDdO8po%3Dreserved=0
> > SWF library dump:
> 

Re: Difficulties with using in project JS version of Royale swc

2018-09-11 Thread Piotr Zarzycki
Alex,

In the other words I don't have any other option than put my JS only
library to js-library-path if I ever wanted to build my application to JS
only. Unless there is really a bug, because why following things are not
working.

-targets=JSRoyale
-source-path+=src
-library-path+=lib/RoyaleLibTestJS.swc

Having above parameters setup like that should we be able to build our
application or not ? IF YES it should work - We definitely have a Bug here.

Thanks,
Piotr

wt., 11 wrz 2018 o 18:49 Alex Harui  napisał(a):

> It sounds like I have still not clearly explained how
> library-path/swf-library-path/js-library-path work.
>
> Library-path is for SWCs that "might" work for both SWF and JS.  When we
> compile most Royale SWCs, we build the library.swf with COMPILE::SWF=true
> and then compile JS files with COMPILE::SWF=false.  The gamble is that
> folks will not use platform-specific APIs (like Flash classes or the
> Browser's HTMLElement.  The default configuration for Royale is to put the
> SWCs in frameworks/projects on the library-path.
>
> The swf-library-path and js-library-path options are for specifying SWCs
> that have APIs for that specific platform.  BUT (this is the key point), as
> soon as you specify even one SWC with js-library-path, the compiler will no
> longer us just plain -library-path in determining the list of SWCs.  If one
> SWC was specified with -js-library-path, then ALL swcs for the JS compile
> must be specified using js-library-path.
>
> So, if you used -js-library-path to specify your custom SWC, then you
> should get the error about not finding Application since it was specified
> with just plain "library-path" in royale-config.xml.  You might have to
> specify -js-library-path=/frameworks/js/libs" as well
> to get all of the other Royale SWCs.
>
> Anyone who can explain it better, please do so.
>
> HTH,
> -Alex
>
> On 9/11/18, 9:28 AM, "Piotr Zarzycki"  wrote:
>
> I just checked and here is the results.
>
> JS version of library:
> If I'm using js-external-library-path or js-library-path - SWC is being
> recognized and I'm able to build using it my project to JS (JSRoyale)
> If I'm using -library-path or external-library-path - It's failing with
> errors described in first email.
>
> SWF version of library:
> If I'm using -swf-library-path - I'm getting following error [1],
> however
> if I use -swf-external-library-path - project is able to produce
> correct
> swf. Maybe we have a bug in case of -swf-library-path.
> If I'm using -library-path and external-library-path I'm able to
> produce
> correct swf.
>
> It looks like I know how to implement all of that in Moonshine now.
> Very
> useful information. I'm wondering whether we shouldn't think that is
> all
> bugs in case of -library-path and swf-library-path.
>
> Many Thanks for help Alex.
>
> [1]
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2F13Sqdata=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337093590sdata=8j7p5BEsuPo0%2BDJswEDKd9sTYqnoTSMJ1Udecu6FSbY%3Dreserved=0
>
> wt., 11 wrz 2018 o 18:09 Piotr Zarzycki 
> napisał(a):
>
> > Alex,
> >
> > It looks like library.swf contains in both cases required
> information and
> > files. I have in this library two files.
> >
> > 1) MyClass -> Contains import of all classes
> > 2) MyViewClass - contains function in blocs COMPILE::SWF and
> COMPILE::JS
> >
> > JS library dump:
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FdLA2data=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337093590sdata=4TVP%2BBe2XjGHgTasVjcizK7z3MGC7fBsnUyNYHzi77E%3Dreserved=0
> > SWF library dump:
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2Fo1rWdata=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337093590sdata=lyRLg0ahC%2Fqthf49onOBKZmL6LHgaT0uKnhwV%2Fie%2Bw0%3Dreserved=0
> >
> > Next step is to try using -js-library-path etc to check whether it
> makes
> > any difference.
> >
> > Thanks,
> > Piotr
> >
> >
> > wt., 11 wrz 2018 o 18:00 Piotr Zarzycki 
> > napisał(a):
> >
> >> Yes I did it. Both looks almost the same.
> >>
> >> JS ->
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FXhLidata=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337093590sdata=a1qu6RWSm%2BNUOMday9oEoN7SBFBEfv%2FLNdBHUt9TCAM%3Dreserved=0
> >> SWF ->
> 

Re: Difficulties with using in project JS version of Royale swc

2018-09-11 Thread Carlos Rovira
Thanks Alex, very useful, I think I'll must have this in sight when I'll
try to fix maven build distribution, since I think some of the problems are
in config xml and library paths declarations.

El mar., 11 sept. 2018 a las 18:49, Alex Harui ()
escribió:

> It sounds like I have still not clearly explained how
> library-path/swf-library-path/js-library-path work.
>
> Library-path is for SWCs that "might" work for both SWF and JS.  When we
> compile most Royale SWCs, we build the library.swf with COMPILE::SWF=true
> and then compile JS files with COMPILE::SWF=false.  The gamble is that
> folks will not use platform-specific APIs (like Flash classes or the
> Browser's HTMLElement.  The default configuration for Royale is to put the
> SWCs in frameworks/projects on the library-path.
>
> The swf-library-path and js-library-path options are for specifying SWCs
> that have APIs for that specific platform.  BUT (this is the key point), as
> soon as you specify even one SWC with js-library-path, the compiler will no
> longer us just plain -library-path in determining the list of SWCs.  If one
> SWC was specified with -js-library-path, then ALL swcs for the JS compile
> must be specified using js-library-path.
>
> So, if you used -js-library-path to specify your custom SWC, then you
> should get the error about not finding Application since it was specified
> with just plain "library-path" in royale-config.xml.  You might have to
> specify -js-library-path=/frameworks/js/libs" as well
> to get all of the other Royale SWCs.
>
> Anyone who can explain it better, please do so.
>
> HTH,
> -Alex
>
> On 9/11/18, 9:28 AM, "Piotr Zarzycki"  wrote:
>
> I just checked and here is the results.
>
> JS version of library:
> If I'm using js-external-library-path or js-library-path - SWC is being
> recognized and I'm able to build using it my project to JS (JSRoyale)
> If I'm using -library-path or external-library-path - It's failing with
> errors described in first email.
>
> SWF version of library:
> If I'm using -swf-library-path - I'm getting following error [1],
> however
> if I use -swf-external-library-path - project is able to produce
> correct
> swf. Maybe we have a bug in case of -swf-library-path.
> If I'm using -library-path and external-library-path I'm able to
> produce
> correct swf.
>
> It looks like I know how to implement all of that in Moonshine now.
> Very
> useful information. I'm wondering whether we shouldn't think that is
> all
> bugs in case of -library-path and swf-library-path.
>
> Many Thanks for help Alex.
>
> [1]
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2F13Sqdata=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337093590sdata=8j7p5BEsuPo0%2BDJswEDKd9sTYqnoTSMJ1Udecu6FSbY%3Dreserved=0
>
> wt., 11 wrz 2018 o 18:09 Piotr Zarzycki 
> napisał(a):
>
> > Alex,
> >
> > It looks like library.swf contains in both cases required
> information and
> > files. I have in this library two files.
> >
> > 1) MyClass -> Contains import of all classes
> > 2) MyViewClass - contains function in blocs COMPILE::SWF and
> COMPILE::JS
> >
> > JS library dump:
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FdLA2data=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337093590sdata=4TVP%2BBe2XjGHgTasVjcizK7z3MGC7fBsnUyNYHzi77E%3Dreserved=0
> > SWF library dump:
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2Fo1rWdata=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337093590sdata=lyRLg0ahC%2Fqthf49onOBKZmL6LHgaT0uKnhwV%2Fie%2Bw0%3Dreserved=0
> >
> > Next step is to try using -js-library-path etc to check whether it
> makes
> > any difference.
> >
> > Thanks,
> > Piotr
> >
> >
> > wt., 11 wrz 2018 o 18:00 Piotr Zarzycki 
> > napisał(a):
> >
> >> Yes I did it. Both looks almost the same.
> >>
> >> JS ->
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FXhLidata=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337093590sdata=a1qu6RWSm%2BNUOMday9oEoN7SBFBEfv%2FLNdBHUt9TCAM%3Dreserved=0
> >> SWF ->
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FMwKBdata=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337093590sdata=BSON%2B6%2Bqip94VGBFht19rWvmndAPqbcXNHbmSNq%2BCG8%3Dreserved=0
> >>
> >> I will provide in couple of minutes SWF dump.
> >>
> >> Thanks,
> >> Piotr
> >>
> >> wt., 11 wrz 2018 o 17:52 Alex 

Re: Difficulties with using in project JS version of Royale swc

2018-09-11 Thread Alex Harui
It sounds like I have still not clearly explained how 
library-path/swf-library-path/js-library-path work.

Library-path is for SWCs that "might" work for both SWF and JS.  When we 
compile most Royale SWCs, we build the library.swf with COMPILE::SWF=true and 
then compile JS files with COMPILE::SWF=false.  The gamble is that folks will 
not use platform-specific APIs (like Flash classes or the Browser's 
HTMLElement.  The default configuration for Royale is to put the SWCs in 
frameworks/projects on the library-path.

The swf-library-path and js-library-path options are for specifying SWCs that 
have APIs for that specific platform.  BUT (this is the key point), as soon as 
you specify even one SWC with js-library-path, the compiler will no longer us 
just plain -library-path in determining the list of SWCs.  If one SWC was 
specified with -js-library-path, then ALL swcs for the JS compile must be 
specified using js-library-path.

So, if you used -js-library-path to specify your custom SWC, then you should 
get the error about not finding Application since it was specified with just 
plain "library-path" in royale-config.xml.  You might have to specify 
-js-library-path=/frameworks/js/libs" as well to get all of 
the other Royale SWCs.

Anyone who can explain it better, please do so.

HTH,
-Alex

On 9/11/18, 9:28 AM, "Piotr Zarzycki"  wrote:

I just checked and here is the results.

JS version of library:
If I'm using js-external-library-path or js-library-path - SWC is being
recognized and I'm able to build using it my project to JS (JSRoyale)
If I'm using -library-path or external-library-path - It's failing with
errors described in first email.

SWF version of library:
If I'm using -swf-library-path - I'm getting following error [1], however
if I use -swf-external-library-path - project is able to produce correct
swf. Maybe we have a bug in case of -swf-library-path.
If I'm using -library-path and external-library-path I'm able to produce
correct swf.

It looks like I know how to implement all of that in Moonshine now. Very
useful information. I'm wondering whether we shouldn't think that is all
bugs in case of -library-path and swf-library-path.

Many Thanks for help Alex.

[1] 
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2F13Sqdata=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337093590sdata=8j7p5BEsuPo0%2BDJswEDKd9sTYqnoTSMJ1Udecu6FSbY%3Dreserved=0

wt., 11 wrz 2018 o 18:09 Piotr Zarzycki 
napisał(a):

> Alex,
>
> It looks like library.swf contains in both cases required information and
> files. I have in this library two files.
>
> 1) MyClass -> Contains import of all classes
> 2) MyViewClass - contains function in blocs COMPILE::SWF and COMPILE::JS
>
> JS library dump: 
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FdLA2data=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337093590sdata=4TVP%2BBe2XjGHgTasVjcizK7z3MGC7fBsnUyNYHzi77E%3Dreserved=0
> SWF library dump: 
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2Fo1rWdata=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337093590sdata=lyRLg0ahC%2Fqthf49onOBKZmL6LHgaT0uKnhwV%2Fie%2Bw0%3Dreserved=0
>
> Next step is to try using -js-library-path etc to check whether it makes
> any difference.
>
> Thanks,
> Piotr
>
>
> wt., 11 wrz 2018 o 18:00 Piotr Zarzycki 
> napisał(a):
>
>> Yes I did it. Both looks almost the same.
>>
>> JS -> 
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FXhLidata=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337093590sdata=a1qu6RWSm%2BNUOMday9oEoN7SBFBEfv%2FLNdBHUt9TCAM%3Dreserved=0
>> SWF -> 
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FMwKBdata=02%7C01%7Caharui%40adobe.com%7C4ee5a0296b76446e222308d61803a8fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722801337093590sdata=BSON%2B6%2Bqip94VGBFht19rWvmndAPqbcXNHbmSNq%2BCG8%3Dreserved=0
>>
>> I will provide in couple of minutes SWF dump.
>>
>> Thanks,
>> Piotr
>>
>> wt., 11 wrz 2018 o 17:52 Alex Harui 
>> napisał(a):
>>
>>> Royale SWCs should always have a folder of JS files unless they are SWF
>>> only.
>>>
>>> Before you dump the library.swf, did you look in the catalog.xml?  It is
>>> easier to see what it thinks is in the SWC.  It could be that the 
manifest
>>> or other list of classes is not specified in the JS compile.
>>>
>>> HTH,
>>> 

Re: Difficulties with using in project JS version of Royale swc

2018-09-11 Thread Piotr Zarzycki
I just checked and here is the results.

JS version of library:
If I'm using js-external-library-path or js-library-path - SWC is being
recognized and I'm able to build using it my project to JS (JSRoyale)
If I'm using -library-path or external-library-path - It's failing with
errors described in first email.

SWF version of library:
If I'm using -swf-library-path - I'm getting following error [1], however
if I use -swf-external-library-path - project is able to produce correct
swf. Maybe we have a bug in case of -swf-library-path.
If I'm using -library-path and external-library-path I'm able to produce
correct swf.

It looks like I know how to implement all of that in Moonshine now. Very
useful information. I'm wondering whether we shouldn't think that is all
bugs in case of -library-path and swf-library-path.

Many Thanks for help Alex.

[1] https://paste.apache.org/13Sq

wt., 11 wrz 2018 o 18:09 Piotr Zarzycki 
napisał(a):

> Alex,
>
> It looks like library.swf contains in both cases required information and
> files. I have in this library two files.
>
> 1) MyClass -> Contains import of all classes
> 2) MyViewClass - contains function in blocs COMPILE::SWF and COMPILE::JS
>
> JS library dump: https://paste.apache.org/dLA2
> SWF library dump: https://paste.apache.org/o1rW
>
> Next step is to try using -js-library-path etc to check whether it makes
> any difference.
>
> Thanks,
> Piotr
>
>
> wt., 11 wrz 2018 o 18:00 Piotr Zarzycki 
> napisał(a):
>
>> Yes I did it. Both looks almost the same.
>>
>> JS -> https://paste.apache.org/XhLi
>> SWF -> https://paste.apache.org/MwKB
>>
>> I will provide in couple of minutes SWF dump.
>>
>> Thanks,
>> Piotr
>>
>> wt., 11 wrz 2018 o 17:52 Alex Harui 
>> napisał(a):
>>
>>> Royale SWCs should always have a folder of JS files unless they are SWF
>>> only.
>>>
>>> Before you dump the library.swf, did you look in the catalog.xml?  It is
>>> easier to see what it thinks is in the SWC.  It could be that the manifest
>>> or other list of classes is not specified in the JS compile.
>>>
>>> HTH,
>>> -Alex
>>>
>>> On 9/11/18, 8:49 AM, "piotrz"  wrote:
>>>
>>> Hi Alex,
>>>
>>> The first part of your answer is behind me. I have checked what is
>>> inside
>>> both swcs. On the left sight of the screenshot is JS version.
>>>
>>> <
>>> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Fjs_swf.pngdata=02%7C01%7Caharui%40adobe.com%7C433e8a0206c14a29f6de08d617fe3860%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722777968242370sdata=P6cfNMW8dyfFqNHlIrvlpLYbRdDsK5KLzz7QuLADZKQ%3Dreserved=0>
>>>
>>>
>>> Interesting thing is that in both cases I have folder with JS files.
>>>
>>> I have definitely my swcs in library-path, because SWF version is
>>> working
>>> fine.
>>>
>>> I will try to examine library.swf and get back to you.
>>>
>>> Thanks,
>>> Piotr
>>>
>>>
>>>
>>> --
>>> Sent from:
>>> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-development.20373.n8.nabble.com%2Fdata=02%7C01%7Caharui%40adobe.com%7C433e8a0206c14a29f6de08d617fe3860%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722777968242370sdata=mx1qBKZd81wM0BuMJgh7dWAr3dc%2FdGQLuKHphalMqRo%3Dreserved=0
>>>
>>>
>>>
>>
>> --
>>
>> Piotr Zarzycki
>>
>> Patreon: *https://www.patreon.com/piotrzarzycki
>> *
>>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> *
>


-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
*


Re: Difficulties with using in project JS version of Royale swc

2018-09-11 Thread Piotr Zarzycki
Alex,

It looks like library.swf contains in both cases required information and
files. I have in this library two files.

1) MyClass -> Contains import of all classes
2) MyViewClass - contains function in blocs COMPILE::SWF and COMPILE::JS

JS library dump: https://paste.apache.org/dLA2
SWF library dump: https://paste.apache.org/o1rW

Next step is to try using -js-library-path etc to check whether it makes
any difference.

Thanks,
Piotr


wt., 11 wrz 2018 o 18:00 Piotr Zarzycki 
napisał(a):

> Yes I did it. Both looks almost the same.
>
> JS -> https://paste.apache.org/XhLi
> SWF -> https://paste.apache.org/MwKB
>
> I will provide in couple of minutes SWF dump.
>
> Thanks,
> Piotr
>
> wt., 11 wrz 2018 o 17:52 Alex Harui  napisał(a):
>
>> Royale SWCs should always have a folder of JS files unless they are SWF
>> only.
>>
>> Before you dump the library.swf, did you look in the catalog.xml?  It is
>> easier to see what it thinks is in the SWC.  It could be that the manifest
>> or other list of classes is not specified in the JS compile.
>>
>> HTH,
>> -Alex
>>
>> On 9/11/18, 8:49 AM, "piotrz"  wrote:
>>
>> Hi Alex,
>>
>> The first part of your answer is behind me. I have checked what is
>> inside
>> both swcs. On the left sight of the screenshot is JS version.
>>
>> <
>> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Fjs_swf.pngdata=02%7C01%7Caharui%40adobe.com%7C433e8a0206c14a29f6de08d617fe3860%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722777968242370sdata=P6cfNMW8dyfFqNHlIrvlpLYbRdDsK5KLzz7QuLADZKQ%3Dreserved=0>
>>
>>
>> Interesting thing is that in both cases I have folder with JS files.
>>
>> I have definitely my swcs in library-path, because SWF version is
>> working
>> fine.
>>
>> I will try to examine library.swf and get back to you.
>>
>> Thanks,
>> Piotr
>>
>>
>>
>> --
>> Sent from:
>> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-development.20373.n8.nabble.com%2Fdata=02%7C01%7Caharui%40adobe.com%7C433e8a0206c14a29f6de08d617fe3860%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722777968242370sdata=mx1qBKZd81wM0BuMJgh7dWAr3dc%2FdGQLuKHphalMqRo%3Dreserved=0
>>
>>
>>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> *
>


-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
*


Re: Difficulties with using in project JS version of Royale swc

2018-09-11 Thread Piotr Zarzycki
Yes I did it. Both looks almost the same.

JS -> https://paste.apache.org/XhLi
SWF -> https://paste.apache.org/MwKB

I will provide in couple of minutes SWF dump.

Thanks,
Piotr

wt., 11 wrz 2018 o 17:52 Alex Harui  napisał(a):

> Royale SWCs should always have a folder of JS files unless they are SWF
> only.
>
> Before you dump the library.swf, did you look in the catalog.xml?  It is
> easier to see what it thinks is in the SWC.  It could be that the manifest
> or other list of classes is not specified in the JS compile.
>
> HTH,
> -Alex
>
> On 9/11/18, 8:49 AM, "piotrz"  wrote:
>
> Hi Alex,
>
> The first part of your answer is behind me. I have checked what is
> inside
> both swcs. On the left sight of the screenshot is JS version.
>
> <
> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Fjs_swf.pngdata=02%7C01%7Caharui%40adobe.com%7C433e8a0206c14a29f6de08d617fe3860%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722777968242370sdata=P6cfNMW8dyfFqNHlIrvlpLYbRdDsK5KLzz7QuLADZKQ%3Dreserved=0>
>
>
> Interesting thing is that in both cases I have folder with JS files.
>
> I have definitely my swcs in library-path, because SWF version is
> working
> fine.
>
> I will try to examine library.swf and get back to you.
>
> Thanks,
> Piotr
>
>
>
> --
> Sent from:
> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-development.20373.n8.nabble.com%2Fdata=02%7C01%7Caharui%40adobe.com%7C433e8a0206c14a29f6de08d617fe3860%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722777968242370sdata=mx1qBKZd81wM0BuMJgh7dWAr3dc%2FdGQLuKHphalMqRo%3Dreserved=0
>
>
>

-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
*


Re: Difficulties with using in project JS version of Royale swc

2018-09-11 Thread Alex Harui
Royale SWCs should always have a folder of JS files unless they are SWF only.

Before you dump the library.swf, did you look in the catalog.xml?  It is easier 
to see what it thinks is in the SWC.  It could be that the manifest or other 
list of classes is not specified in the JS compile.

HTH,
-Alex

On 9/11/18, 8:49 AM, "piotrz"  wrote:

Hi Alex,

The first part of your answer is behind me. I have checked what is inside
both swcs. On the left sight of the screenshot is JS version. 



 

Interesting thing is that in both cases I have folder with JS files.

I have definitely my swcs in library-path, because SWF version is working
fine. 

I will try to examine library.swf and get back to you.

Thanks,
Piotr



--
Sent from: 
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-development.20373.n8.nabble.com%2Fdata=02%7C01%7Caharui%40adobe.com%7C433e8a0206c14a29f6de08d617fe3860%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722777968242370sdata=mx1qBKZd81wM0BuMJgh7dWAr3dc%2FdGQLuKHphalMqRo%3Dreserved=0




Re: Difficulties with using in project JS version of Royale swc

2018-09-11 Thread piotrz
Hi Alex,

The first part of your answer is behind me. I have checked what is inside
both swcs. On the left sight of the screenshot is JS version. 

 

Interesting thing is that in both cases I have folder with JS files.

I have definitely my swcs in library-path, because SWF version is working
fine. 

I will try to examine library.swf and get back to you.

Thanks,
Piotr



--
Sent from: http://apache-royale-development.20373.n8.nabble.com/


Re: Difficulties with using in project JS version of Royale swc

2018-09-11 Thread Alex Harui
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"  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%2FoShLdata=02%7C01%7Caharui%40adobe.com%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540977391sdata=F164h%2FVzFSZ7HkNK9%2FJkvg0AoeKYvfhxJOTmXUtBr4Y%3Dreserved=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%2FQuTxdata=02%7C01%7Caharui%40adobe.com%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540977391sdata=AuhGyunTcr9gY8pWWeJgVdbY9sU2XlK5bPuKssRx21g%3Dreserved=0

Something is wrong. :(

Piotr

wt., 11 wrz 2018 o 15:38 Piotr Zarzycki 
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%2F195data=02%7C01%7Caharui%40adobe.com%7Cdf1efb7d645849b7c3f508d617f3a4b6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636722732540977391sdata=lfMS8nLf9qoDCYXYPWoU2HxXzHlfe05kziCHYFGbl58%3Dreserved=0
>
> Thanks,
> Piotr
>
> wt., 11 wrz 2018 o 13:37 Carlos Rovira 
> 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 
>> >> 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 

Re: Difficulties with using in project JS version of Royale swc

2018-09-11 Thread Carlos Rovira
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 ()
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 
>> 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 
>> > > 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 
>> > > > > 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
>> > > > > > > *
>> > > > > > >
>> > > > > > > --
>> > > > > > > Carlos Rovira
>> > > > > > > http://about.me/carlosrovira
>> > > > > > >
>> > > > > > >
>> > > > > > >
>> > > > > > >
>> > > 

Re: Difficulties with using in project JS version of Royale swc

2018-09-11 Thread Carlos Rovira
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 
> 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 
> > > 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 
> > > > > 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
> > > > > > > *
> > > > > > >
> > > > > > > --
> > > > > > > Carlos Rovira
> > > > > > > http://about.me/carlosrovira
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > >
> > > > > Piotr Zarzycki
> > > > >
> > > > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > > > *
> > > > >
> > > >
> > > >
> > > > --
> > > > Carlos Rovira
> > > > http://about.me/carlosrovira
> > > >
> > >
> > >
> > > --
> > >
> > > Piotr Zarzycki
> 

Re: Difficulties with using in project JS version of Royale swc

2018-09-11 Thread Piotr Zarzycki
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  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 
> > 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 
> > > > 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
> > > > > > *
> > > > > >
> > > > > > --
> > > > > > Carlos Rovira
> > > > > > http://about.me/carlosrovira
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > >
> > > > Piotr Zarzycki
> > > >
> > > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > > *
> > > >
> > >
> > >
> > > --
> > > Carlos Rovira
> > > http://about.me/carlosrovira
> > >
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
> > Patreon: *https://www.patreon.com/piotrzarzycki
> > *
> >
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>


-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
*


Re: Difficulties with using in project JS version of Royale swc

2018-09-11 Thread Carlos Rovira
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 
> 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 
> > > 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
> > > > > *
> > > > >
> > > > > --
> > > > > Carlos Rovira
> > > > > http://about.me/carlosrovira
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> > > --
> > >
> > > Piotr Zarzycki
> > >
> > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > *
> > >
> >
> >
> > --
> > Carlos Rovira
> > http://about.me/carlosrovira
> >
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> *
>


-- 
Carlos Rovira
http://about.me/carlosrovira


Re: Difficulties with using in project JS version of Royale swc

2018-09-11 Thread Piotr Zarzycki
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  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 
> > 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
> > > > *
> > > >
> > > > --
> > > > Carlos Rovira
> > > > http://about.me/carlosrovira
> > > >
> > > >
> > > >
> > > >
> > >
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
> > Patreon: *https://www.patreon.com/piotrzarzycki
> > *
> >
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>


-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
*


Re: Difficulties with using in project JS version of Royale swc

2018-09-11 Thread Carlos Rovira
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 
> 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
> > > *
> > >
> > > --
> > > Carlos Rovira
> > > http://about.me/carlosrovira
> > >
> > >
> > >
> > >
> >
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> *
>


-- 
Carlos Rovira
http://about.me/carlosrovira


Re: Difficulties with using in project JS version of Royale swc

2018-09-11 Thread Piotr Zarzycki
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  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
> > *
> >
> > --
> > Carlos Rovira
> > http://about.me/carlosrovira
> >
> >
> >
> >
>


-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
*


Re: Difficulties with using in project JS version of Royale swc

2018-09-11 Thread Carlos Rovira
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
> *
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>
>
>