You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@royale.apache.org by Piotr Zarzycki <pi...@gmail.com> on 2021/02/18 10:00:57 UTC
Align Maven IDE distribution with Ant IDE distribution
Hi Guys,
It's been couple of times when user complains that he have problems with
using Maven distribution vs Ant distribution in IDE in a mixed project
Jewel + MX/Spark etc.
Can we have that resolve once for all and adjust Maven distribution folder
to produce proper names of swcs ?
Currently when I build Maven IDE distribution I have:
MXRoyale-0.9.8-20210215.234230-908-js.swc
When I build Ant IDE distribution I have:
MXRoyale-js.swc
Thanks,
--
Piotr Zarzycki
RE: Align Maven IDE distribution with Ant IDE distribution
Posted by Maria Jose Esteve <mj...@iest.com>.
Hi Guys,
@Chris, if you allow me it would also be good to review this point [1]
[1] https://lists.apache.org/thread.html/rc60b888f045a81271ae0a5228881953726669ea335be4ee54c157141%40%3Cdev.royale.apache.org%3E
Hiedra.
-----Mensaje original-----
De: Piotr Zarzycki <pi...@gmail.com>
Enviado el: jueves, 18 de febrero de 2021 11:42
Para: dev@royale.apache.org
Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
Hi Chris,
This is the only thing which seems to be a constant problem here. I personally and some users will be much more happy having that change.
Thanks,
Piotr
On Thu, 18 Feb 2021 at 11:03, Christofer Dutz <ch...@c-ware.de>
wrote:
> Hi Piotr,
>
> I'd be happy to help with that.
>
> I did simply ask for a list of things that need to be changed in order
> to get things working, but never got said list, so I never knew what I
> could do to make the Maven distribution match up to the Ant built one.
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Piotr Zarzycki <pi...@gmail.com>
> Gesendet: Donnerstag, 18. Februar 2021 11:01
> An: Apache Royale Development <de...@royale.apache.org>
> Betreff: Align Maven IDE distribution with Ant IDE distribution
>
> Hi Guys,
>
> It's been couple of times when user complains that he have problems
> with using Maven distribution vs Ant distribution in IDE in a mixed
> project Jewel + MX/Spark etc.
>
> Can we have that resolve once for all and adjust Maven distribution
> folder to produce proper names of swcs ?
>
> Currently when I build Maven IDE distribution I have:
>
> MXRoyale-0.9.8-20210215.234230-908-js.swc
>
> When I build Ant IDE distribution I have:
>
> MXRoyale-js.swc
>
> Thanks,
> --
>
> Piotr Zarzycki
>
--
Piotr Zarzycki
Re: Align Maven IDE distribution with Ant IDE distribution
Posted by Piotr Zarzycki <pi...@gmail.com>.
Maybe let's try this. Could someone for whom distribution is working -
download mine generated with Chris's changes and try build Hello World with
VSCode or Moonshine ? [1]
Link will be active till Tuesday next week.
[1] https://1drv.ms/u/s!ApVpLyjpHDC2i7YDAwuA5s-5W3Kgcw?e=A73Vti
pt., 19 lut 2021 o 15:05 Piotr Zarzycki <pi...@gmail.com>
napisał(a):
> Chris,
>
> No change after your latest push I still have the same error. Did you try
> build yourself distribution and build some hello world ?
>
> pt., 19 lut 2021 o 15:04 Piotr Zarzycki <pi...@gmail.com>
> napisał(a):
>
>> I don't understand what you are saying here at all. I know that when I
>> do -DdistributionTargetFolder - I'm getting distribution build in a folder
>> which I wanted to, so what it actually does ?
>>
>> pt., 19 lut 2021 o 15:00 Christofer Dutz <ch...@c-ware.de>
>> napisał(a):
>>
>>> Well actually is doesn set an Environmet Variable,
>>>
>>> It's more or less the other way around ... an Environment Variable can
>>> initialize a property in maven, but not the other way around.
>>> And the magic for creating the directory distribution usualy only kicks
>>> in if you set an environment variable. But if your directory is not empty,
>>> just ignore my mumbling, then something has changed in Maven
>>>
>>> Chris
>>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: Piotr Zarzycki <pi...@gmail.com>
>>> Gesendet: Freitag, 19. Februar 2021 14:50
>>> An: Apache Royale Development <de...@royale.apache.org>
>>> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>>>
>>> I'm pointing an empty directory called distribution. Prefix -D sets for
>>> me temporary env variable -> -DdistributionTargetFolder=path
>>>
>>> pt., 19 lut 2021 o 14:48 Christofer Dutz <ch...@c-ware.de>
>>> napisał(a):
>>>
>>> > Does this creat the directory?
>>> >
>>> > Cause I think you have to set an Environment Variable:
>>> >
>>> > set distributionTargetFolder=d:\Work\royale_ide\distribution
>>> >
>>> > mvn clean install
>>> >
>>> > Chris
>>> >
>>> >
>>> > -----Ursprüngliche Nachricht-----
>>> > Von: Piotr Zarzycki <pi...@gmail.com>
>>> > Gesendet: Freitag, 19. Februar 2021 14:41
>>> > An: Apache Royale Development <de...@royale.apache.org>
>>> > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>>> >
>>> > I have executed something like that cause I didn't know that it will
>>> > use default compiler 0.9.9-SNAPSHOT
>>> >
>>> > mvn clean install -Droyale.compiler.version=0.9.9-SNAPSHOT
>>> > -DdistributionTargetFolder=d:\Work\royale_ide\distribution
>>> >
>>> > pt., 19 lut 2021 o 14:26 Christofer Dutz <ch...@c-ware.de>
>>> > napisał(a):
>>> >
>>> > > Hi all,
>>> > >
>>> > > so I just pushed another change to the distribution that should fix
>>> > > the classpath problem.
>>> > >
>>> > > Piotr ... could you please try again? And if you send me the command
>>> > > you always axecute, I could test it on my side.
>>> > >
>>> > > Chris
>>> > >
>>> > >
>>> > > -----Ursprüngliche Nachricht-----
>>> > > Von: Christofer Dutz <ch...@c-ware.de>
>>> > > Gesendet: Freitag, 19. Februar 2021 14:12
>>> > > An: dev@royale.apache.org
>>> > > Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
>>> > >
>>> > > Hi Hiedra,
>>> > >
>>> > > well I changed the distribution to make the names like in the ANT
>>> > > distribution yesterday.
>>> > > But you are passing in an argument telling the compiler to use the
>>> > > old format and now it should be the new ...
>>> > >
>>> > > Try:
>>> > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc: defaults.css;
>>> > > For -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
>>> > > defaults.css;
>>> > >
>>> > > Instead of your variant.
>>> > >
>>> > > Chris
>>> > >
>>> > >
>>> > > -----Ursprüngliche Nachricht-----
>>> > > Von: Maria Jose Esteve <mj...@iest.com>
>>> > > Gesendet: Freitag, 19. Februar 2021 14:08
>>> > > An: dev@royale.apache.org
>>> > > Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
>>> > >
>>> > > Yes, until recently I also compiled only with Maven. Due to the
>>> > > problem with the spark.css I started to do the double compilation of
>>> > MAVEN and ANT.
>>> > >
>>> > > It's funny, now, the swc's are not generated with
>>> > > "xxxx-0.9.8-SNAPSHOT-js.swc" in the distribution BUT if in the pom
>>> > > of my project I change in additionalCompilerOptions:
>>> > > -compiler.exclude-defaults-css-files = MXRoyale - $
>>> > > {royale.framework.version} -js.swc: defaults.css; For
>>> > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc: defaults.css;
>>> > > My application starts to do nonsense (for example the change of
>>> > > selectedContent in my ApplicationMainContent does not display)
>>> > >
>>> > > Chris, thank you.
>>> > > Hiedra
>>> > >
>>> > > -----Mensaje original-----
>>> > > De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
>>> > > 19 de febrero de 2021 13:09
>>> > > Para: dev@royale.apache.org
>>> > > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>>> > >
>>> > > Hi Hiedra,
>>> > >
>>> > > I have to admit that I've never used VSCode. Every time I do any
>>> > > development I usually use one of the JetBrains IDEs.
>>> > > Royale Stuff I do in IntelliJ ... with my "Flexmojos Hack" it can be
>>> > > used quite well. And I always compile with Maven.
>>> > >
>>> > > But thanks for the explanation on why the other path is set
>>> differently.
>>> > >
>>> > > I guess we'll have to wait till some others can tell me what needs
>>> > > to be changed.
>>> > >
>>> > > Chris
>>> > >
>>> > >
>>> > > -----Ursprüngliche Nachricht-----
>>> > > Von: Maria Jose Esteve <mj...@iest.com>
>>> > > Gesendet: Freitag, 19. Februar 2021 12:48
>>> > > An: dev@royale.apache.org
>>> > > Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
>>> > >
>>> > > Hello Chris,
>>> > > so that I can debug my changes in the SDK I need to set the path of
>>> > > the "as3mxml.sdk.editor" to the asjs directory of my fork, for this
>>> > > reason the path of the " as3mxml.sdk.framework" points to the
>>> > > directory of the maven distribution and the "as3mxml.sdk.editor" to
>>> code.
>>> > >
>>> > > ">> I'm not getting any errors from VSCode. But well ... if I hit
>>> > > SHIFT+Enter it starts doing something where if failed prior to my
>>> > > >> changes this morning and is no longer complaining, but it's also
>>> > > >> not
>>> > > doing much (I can't see it create a "bin" directory)"
>>> > >
>>> > > I don't quite understand this ... possibly because of my lack of
>>> > knowledge.
>>> > >
>>> > > I have not tried Carlos's project but this afternoon I will be able
>>> > > to do it and I will be able to give more details.
>>> > >
>>> > > Thx.
>>> > > Hiedra.
>>> > >
>>> > > -----Mensaje original-----
>>> > > De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
>>> > > 19 de febrero de 2021 11:51
>>> > > Para: dev@royale.apache.org
>>> > > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>>> > >
>>> > > Hi Heidra,
>>> > >
>>> > > I just updated Carlos' example to have the same type of setting
>>> > > (C:\\Temp\\RoyaleSDK is where I have my Maven build generate the
>>> SDK):
>>> > >
>>> > > setings.js:
>>> > > {
>>> > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
>>> > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
>>> > > }
>>> > >
>>> > > workspace-code-workspace
>>> > > {
>>> > > "folders": [
>>> > > {
>>> > > "path": ".."
>>> > > }
>>> > > ],
>>> > > "settings": {
>>> > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
>>> > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
>>> > > }
>>> > > }
>>> > >
>>> > > I'm not getting any errors from VSCode. But well ... if I hit
>>> > > SHIFT+Enter it starts doing something where if failed prior to my
>>> > > changes this morning and is no longer complaining, but it's also not
>>> > > doing much (I can't see it create a "bin" directory)
>>> > >
>>> > > Chris
>>> > >
>>> > >
>>> > > -----Ursprüngliche Nachricht-----
>>> > > Von: Maria Jose Esteve <mj...@iest.com>
>>> > > Gesendet: Freitag, 19. Februar 2021 10:53
>>> > > An: dev@royale.apache.org
>>> > > Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
>>> > >
>>> > > If I don't compile with ANT, the mxml extension in vsCode IDE, it
>>> > > doesn't recognize the valid asjs directory for "as3mxml.sdk.editor":
>>> > > ...
>>> > > "settings": {
>>> > > "as3mxml.sdk.framework":
>>> > > "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
>>> > > "as3mxml.sdk.editor":
>>> > > "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs" <--------
>>> > > [download folder repo royale-asjs]
>>> > > }
>>> > > }
>>> > >
>>> > > The error is:
>>> > > " as3mxml.sdk.editor in settings does not point to a valid SDK.
>>> > > Requires..."
>>> > >
>>> > > Thx.
>>> > > Hiedra.
>>> > >
>>> > > -----Mensaje original-----
>>> > > De: Piotr Zarzycki <pi...@gmail.com> Enviado el: viernes,
>>> > > 19 de febrero de 2021 10:44
>>> > > Para: Apache Royale Development <de...@royale.apache.org>
>>> > > Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
>>> > >
>>> > > Hi Chris,
>>> > >
>>> > > I just tried your changes and I have same issue. I need to
>>> > > understand what has change enough significantly that it causes
>>> > > compilation fail in such way. It doesn't happen with SDK prepared by
>>> ANT.
>>> > >
>>> > > Thanks,
>>> > > Piotr
>>> > >
>>> > > pt., 19 lut 2021 o 10:33 Maria Jose Esteve <mj...@iest.com>
>>> > napisał(a):
>>> > >
>>> > > > @Chris you're right, sorry, I didn't download your last commit.
>>> > > > I'm sorry.
>>> > > > Hiedra.
>>> > > >
>>> > > > -----Mensaje original-----
>>> > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
>>> > > > viernes,
>>> > > > 19 de febrero de 2021 10:17
>>> > > > Para: dev@royale.apache.org
>>> > > > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>>> > > >
>>> > > > I'll try to guess what you wanted to say here ...
>>> > > >
>>> > > > But I think these are exactly the changes I comitted a an hour
>>> > > > ago,
>>> > > right?
>>> > > > At least in general I replaced all the references to names with
>>> > > > versions to the changed ones.
>>> > > >
>>> > > >
>>> > > > Chris
>>> > > >
>>> > > >
>>> > > >
>>> > > > -----Ursprüngliche Nachricht-----
>>> > > > Von: Maria Jose Esteve <mj...@iest.com>
>>> > > > Gesendet: Freitag, 19. Februar 2021 10:01
>>> > > > An: dev@royale.apache.org
>>> > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
>>> > > > distribution
>>> > > >
>>> > > > Hi,
>>> > > > Mi distribución hace referencia en el fichero
>>> > > > "./frameworks/royale-config.xml" a las librerías:
>>> > > >
>>> > > > <js-external-library-path>
>>> > > >
>>> > > >
>>> <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.
>>> > > > sw
>>> > > > c</path-element>
>>> > > >
>>> > > >
>>> > > <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs
>>> > > .s
>>> > > wc</path-element>
>>> > > > </js-external-library-path>
>>> > > >
>>> > > > Las correctas son:
>>> > > >
>>> > > > <js-external-library-path>
>>> > > >
>>> > <path-element>../js/libs/royale-typedefs-js.swc</path-element>
>>> > > >
>>> > <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
>>> > > > </js-external-library-path>
>>> > > >
>>> > > > Hiedra
>>> > > >
>>> > > > -----Mensaje original-----
>>> > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
>>> > > > viernes,
>>> > > > 19 de febrero de 2021 9:39
>>> > > > Para: dev@royale.apache.org
>>> > > > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>>> > > >
>>> > > > Ok,
>>> > > >
>>> > > > so the config xml files in the distribution were still pointing to
>>> > > > the old names. I updated them all to now refer to the names.
>>> > > > I tried things in Carlos' demo project, and I'm no-longer getting
>>> > > > the errors, however compilation seems to take for ever.
>>> > > >
>>> > > > Please try out the changes and tell me if there are any problems
>>> > > > with
>>> > > them.
>>> > > >
>>> > > > Chris
>>> > > >
>>> > > > -----Ursprüngliche Nachricht-----
>>> > > > Von: Christofer Dutz <ch...@c-ware.de>
>>> > > > Gesendet: Donnerstag, 18. Februar 2021 23:17
>>> > > > An: dev@royale.apache.org
>>> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
>>> > > > distribution
>>> > > >
>>> > > > Hi Carlos,
>>> > > >
>>> > > > I'll look into this tomorrow.
>>> > > >
>>> > > > Chris
>>> > > >
>>> > > > -----Ursprüngliche Nachricht-----
>>> > > > Von: Carlos Rovira <ca...@apache.org>
>>> > > > Gesendet: Donnerstag, 18. Februar 2021 17:49
>>> > > > An: Apache Royale Development <de...@royale.apache.org>
>>> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
>>> > > > distribution
>>> > > >
>>> > > > Hi, I think I talked very quickly, sorry, there seems to be a
>>> problem.
>>> > > >
>>> > > > @Christofer Dutz <ch...@c-ware.de> you can download this
>>> > > > project:
>>> > > >
>>> > > >
>>> > > > https://github.com/apache/royale-asjs/files/6004363/ToggleButtonBa
>>> > > > rI
>>> > > > ss
>>> > > > ue.zip
>>> > > >
>>> > > > Then using VSCode with AS3&MXML and adding the Maven distribution.
>>> > > > Then hit CTRL+ENTER and you will get the following fail. Using ANT
>>> > > > distribution is working fine.
>>> > > > Can you take a look?
>>> > > >
>>> > > > Royale Compiler Shell
>>> > > > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
>>> > > > --source-map=true
>>> > > > --html-template=src/html/jewel-example-index-template.html
>>> > > >
>>> > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Them
>>> > > > e/
>>> > > > sr
>>> > > > c/main/resources/defaults.css
>>> > > > --source-path+=src
>>> > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>>> > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>>> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
>>> > > > -js-dynamic-access-unknown-members=true -- src/App.mxml
>>> > > > fcsh: Assigned 1 as the compile target id The project 'App' has
>>> > > > been successfully compiled and optimized.
>>> > > > Compile status: 0
>>> > > > Elapsed time: 14.211105399 seconds Feb 18, 2021 5:43:40 PM
>>> > > > com.google.javascript.jscomp.LoggerErrorManager
>>> > > > printSummary
>>> > > > INFO: 0 error(s), 0 warning(s), 96.5% typed
>>> > > > (fcsh) quit
>>> > > > Compiler shell exited with code: 0 Royale Compiler Shell
>>> > > > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
>>> > > > --source-map=true
>>> > > > --html-template=src/html/jewel-example-index-template.html
>>> > > >
>>> > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Them
>>> > > > e/
>>> > > > sr
>>> > > > c/main/resources/defaults.css
>>> > > > --source-path+=src
>>> > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>>> > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>>> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
>>> > > > -js-dynamic-access-unknown-members=true -- src/App.mxml
>>> > > > fcsh: Assigned 1 as the compile target id Compile status: 5
>>> > > > Elapsed
>>> > time:
>>> > > > 0.618407478 seconds
>>> > > >
>>> > > >
>>> > >
>>> >
>>> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
>>> > > > col: 0 Error: unable to open
>>> > > >
>>> > > >
>>> > >
>>> >
>>> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
>>> > > >
>>> > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks
>>> > > > /r
>>> > > > oy
>>> > > > ale-config.xml
>>> > > > (line: 81)
>>> > > >
>>> > > > </js-external-library-path>
>>> > > >
>>> > > >
>>> > > >
>>> > > >
>>> > >
>>> >
>>> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
>>> > > > col: 0 Error: unable to open
>>> > > >
>>> > > >
>>> > >
>>> >
>>> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
>>> > > >
>>> > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks
>>> > > > /r
>>> > > > oy
>>> > > > ale-config.xml
>>> > > > (line: 81)
>>> > > >
>>> > > > </js-external-library-path>
>>> > > > (fcsh)
>>> > > > Quick Compile failed. Errors in compiler output.
>>> > > >
>>> > > > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
>>> > > > (<ca...@apache.org>)
>>> > > > escribió:
>>> > > >
>>> > > > > Hi,
>>> > > > >
>>> > > > > I rebuilt all from scratch just now and finally the distribution
>>> > > > > too and tried in VSCode and all seems to work fine for me.
>>> > > > >
>>> > > > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
>>> > > > > christofer.dutz@c-ware.de>) escribió:
>>> > > > >
>>> > > > >> Hi Piotr,
>>> > > > >>
>>> > > > >> that class is located in lib\external\flex-tool-api.jar At
>>> > > > >> least in my distribution it's there and it contains the class.
>>> > > > >>
>>> > > > >> How are you calling the build that's failing?
>>> > > > >>
>>> > > > >> Chris
>>> > > > >>
>>> > > > >> -----Ursprüngliche Nachricht-----
>>> > > > >> Von: Piotr Zarzycki <pi...@gmail.com>
>>> > > > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
>>> > > > >> An: Apache Royale Development <de...@royale.apache.org>
>>> > > > >> Betreff: Re: Align Maven IDE distribution with Ant IDE
>>> > > > >> distribution
>>> > > > >>
>>> > > > >> Chris,
>>> > > > >>
>>> > > > >> I just checked and I'm not able build project anymore using
>>> > > > distribution:
>>> > > > >>
>>> > > > >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
>>> > > > >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m
>>> > > > >> -Xmx3000m
>>> > > > >> : Error: Could not find or load main class
>>> > > > >> org.apache.royale.compiler.clients.MXMLJSC
>>> > > > >> : Caused by: java.lang.NoClassDefFoundError:
>>> > > > >> org/apache/flex/tools/FlexTool
>>> > > > >>
>>> > > > >> I'm done for today, so I will answer anything tomorrow.
>>> > > > >>
>>> > > > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
>>> > > > >> <ch...@c-ware.de>
>>> > > > >> napisał(a):
>>> > > > >>
>>> > > > >> > Ok ...
>>> > > > >> >
>>> > > > >> > so I just pushed another change. Now the distribution should
>>> > > > >> > also contain an empty spark.css, just like the Ant one.
>>> > > > >> >
>>> > > > >> > Chris
>>> > > > >> >
>>> > > > >> >
>>> > > > >> > -----Ursprüngliche Nachricht-----
>>> > > > >> > Von: Christofer Dutz <ch...@c-ware.de>
>>> > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
>>> > > > >> > An: dev@royale.apache.org
>>> > > > >> > Betreff: AW: Align Maven IDE distribution with Ant IDE
>>> > > > >> > distribution
>>> > > > >> >
>>> > > > >> > Ok,
>>> > > > >> >
>>> > > > >> > so that should now be fixed. Leaves the "spark.css"
>>> > > > >> > Having had a look, it seems as if the Ant build creates an
>>> > > > >> > empty
>>> > > > >> spark.css.
>>> > > > >> >
>>> > > > >> > Is this all we need? If yes, then I'll have that in ther in
>>> > > > >> > no
>>> > time.
>>> > > > >> >
>>> > > > >> > Chris
>>> > > > >> >
>>> > > > >> > -----Ursprüngliche Nachricht-----
>>> > > > >> > Von: Piotr Zarzycki <pi...@gmail.com>
>>> > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
>>> > > > >> > An: Apache Royale Development <de...@royale.apache.org>
>>> > > > >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
>>> > > > >> > distribution
>>> > > > >> >
>>> > > > >> > *(I assume that's in the "frameworks/js/libs" directory? *
>>> > > > >> >
>>> > > > >> > Yes this is the directory.
>>> > > > >> >
>>> > > > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
>>> > > > >> > <ch...@c-ware.de>
>>> > > > >> > napisał(a):
>>> > > > >> >
>>> > > > >> > > Hi Piotr,
>>> > > > >> > >
>>> > > > >> > > Ok ... so Ant seems to be adding a "JS" to the end of every
>>> > > > >> > > name (I assume that's in the "frameworks/js/libs" directory?
>>> > > > >> > >
>>> > > > >> > > Also I'll try to find out where the "spark.css" should come
>>> > > > >> > > from
>>> > > ...
>>> > > > >> > > and where it should go to.
>>> > > > >> > >
>>> > > > >> > > Chris
>>> > > > >> > >
>>> > > > >> > >
>>> > > > >> > > -----Ursprüngliche Nachricht-----
>>> > > > >> > > Von: Piotr Zarzycki <pi...@gmail.com>
>>> > > > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
>>> > > > >> > > An: Apache Royale Development <de...@royale.apache.org>
>>> > > > >> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
>>> > > > >> > > distribution
>>> > > > >> > >
>>> > > > >> > > Chris,
>>> > > > >> > >
>>> > > > >> > > Looks better but here is the comparision what I have in Ant
>>> > > > >> > > distribution vs Maven distribution in case of names. On the
>>> > > > >> > > left Ant distribution, on the right Maven. It is folder:
>>> > > > >> > > frameworks\js\libs\ [1]
>>> > > > >> > >
>>> > > > >> > > [1] https://ibb.co/W2DzcDb
>>> > > > >> > >
>>> > > > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
>>> > > > >> > > <ch...@c-ware.de>
>>> > > > >> > > napisał(a):
>>> > > > >> > >
>>> > > > >> > > > And done ...
>>> > > > >> > > >
>>> > > > >> > > > Now all elements in the distribution only consist of
>>> > > > >> > > > their name and file-ending ... all versions and
>>> > > > >> > > > classifiers have been
>>> > > > removed.
>>> > > > >> > > > Please provide me with feedback on if this solves the
>>> issues.
>>> > > > >> > > >
>>> > > > >> > > > Chris
>>> > > > >> > > >
>>> > > > >> > > >
>>> > > > >> > > > -----Ursprüngliche Nachricht-----
>>> > > > >> > > > Von: Christofer Dutz <ch...@c-ware.de>
>>> > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
>>> > > > >> > > > An: dev@royale.apache.org
>>> > > > >> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
>>> > > > >> > > > distribution
>>> > > > >> > > >
>>> > > > >> > > > I'll probably have a fix for that in a few minuntes ...
>>> > > > >> > > >
>>> > > > >> > > >
>>> > > > >> > > > Chris
>>> > > > >> > > >
>>> > > > >> > > >
>>> > > > >> > > > -----Ursprüngliche Nachricht-----
>>> > > > >> > > > Von: Piotr Zarzycki <pi...@gmail.com>
>>> > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
>>> > > > >> > > > An: Apache Royale Development <de...@royale.apache.org>
>>> > > > >> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
>>> > > > >> > > > distribution
>>> > > > >> > > >
>>> > > > >> > > > Chris,
>>> > > > >> > > >
>>> > > > >> > > > No it's not about not picking up by IDE at all. Moonshine
>>> > > > >> > > > and VSCode are able to build projects using Maven
>>> > > > >> > > > distribution package! It is about project which are mixed
>>> > > > >> > > > for example when user wanted to use Jewel module +
>>> > > > >> > > > RemoteObject class from MXRoyale module. In that case
>>> > > > >> > > > user need to point explicilty as a compiler options in
>>> > > > >> > > > IDE that he wanted to have SWC included and need to
>>> > > > >> > > > exclude css from that swc to
>>> > > > >> > > avoid problems.
>>> > > > >> > > >
>>> > > > >> > > > It is happen like that:
>>> > > > >> > > >
>>> > > > >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>>> > > > >> > > >
>>> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
>>> > > > >> > > > cs
>>> > > > >> > > > s
>>> > > > >> > > >
>>> > > > >> > > > If I would like to use maven distribution user need to
>>> > > > >> > > > know version for that compiler options. It is even more
>>> > > > >> > > > tricky when your swc is called
>>> > > > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
>>> > > > >> > > >
>>> > > > >> > > >
>>> -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.
>>> > > > >> > > > cs
>>> > > > >> > > > s
>>> > > > >> > > >
>>> > > > >> > > > Thanks,
>>> > > > >> > > > Piotr
>>> > > > >> > > >
>>> > > > >> > > >
>>> > > > >> > > >
>>> > > > >> > > >
>>> > > > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
>>> > > > >> > > > <ch...@c-ware.de>
>>> > > > >> > > > napisał(a):
>>> > > > >> > > >
>>> > > > >> > > > > Hi Piotr,
>>> > > > >> > > > >
>>> > > > >> > > > > And is really the version-suffix causing it to not be
>>> > > > >> > > > > picked up by the IDEs?
>>> > > > >> > > > >
>>> > > > >> > > > > Chris
>>> > > > >> > > > >
>>> > > > >> > > > > -----Ursprüngliche Nachricht-----
>>> > > > >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
>>> > > > >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
>>> > > > >> > > > > An: dev@royale.apache.org
>>> > > > >> > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
>>> > > > >> > > > > distribution
>>> > > > >> > > > >
>>> > > > >> > > > > Hi Chris,
>>> > > > >> > > > >
>>> > > > >> > > > > This is the only thing which seems to be a constant
>>> > > > >> > > > > problem
>>> > > > here.
>>> > > > >> > > > > I personally and some users will be much more happy
>>> > > > >> > > > > having that
>>> > > > >> > change.
>>> > > > >> > > > >
>>> > > > >> > > > > Thanks,
>>> > > > >> > > > > Piotr
>>> > > > >> > > > >
>>> > > > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
>>> > > > >> > > > > <ch...@c-ware.de>
>>> > > > >> > > > > wrote:
>>> > > > >> > > > >
>>> > > > >> > > > > > Hi Piotr,
>>> > > > >> > > > > >
>>> > > > >> > > > > > I'd be happy to help with that.
>>> > > > >> > > > > >
>>> > > > >> > > > > > I did simply ask for a list of things that need to be
>>> > > > >> > > > > > changed in order to get things working, but never got
>>> > > > >> > > > > > said list, so I never knew what I could do to make
>>> > > > >> > > > > > the Maven distribution match up to the
>>> > > > >> > > > Ant built one.
>>> > > > >> > > > > >
>>> > > > >> > > > > > Chris
>>> > > > >> > > > > >
>>> > > > >> > > > > >
>>> > > > >> > > > > > -----Ursprüngliche Nachricht-----
>>> > > > >> > > > > > Von: Piotr Zarzycki <pi...@gmail.com>
>>> > > > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
>>> > > > >> > > > > > An: Apache Royale Development <de...@royale.apache.org>
>>> > > > >> > > > > > Betreff: Align Maven IDE distribution with Ant IDE
>>> > > > >> > > > > > distribution
>>> > > > >> > > > > >
>>> > > > >> > > > > > Hi Guys,
>>> > > > >> > > > > >
>>> > > > >> > > > > > It's been couple of times when user complains that he
>>> > > > >> > > > > > have problems with using Maven distribution vs Ant
>>> > > > >> > > > > > distribution in IDE in a mixed project Jewel +
>>> > > > >> > > > > > MX/Spark
>>> > etc.
>>> > > > >> > > > > >
>>> > > > >> > > > > > Can we have that resolve once for all and adjust
>>> > > > >> > > > > > Maven distribution folder to produce proper names of
>>> swcs ?
>>> > > > >> > > > > >
>>> > > > >> > > > > > Currently when I build Maven IDE distribution I have:
>>> > > > >> > > > > >
>>> > > > >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
>>> > > > >> > > > > >
>>> > > > >> > > > > > When I build Ant IDE distribution I have:
>>> > > > >> > > > > >
>>> > > > >> > > > > > MXRoyale-js.swc
>>> > > > >> > > > > >
>>> > > > >> > > > > > Thanks,
>>> > > > >> > > > > > --
>>> > > > >> > > > > >
>>> > > > >> > > > > > Piotr Zarzycki
>>> > > > >> > > > > >
>>> > > > >> > > > > --
>>> > > > >> > > > >
>>> > > > >> > > > > Piotr Zarzycki
>>> > > > >> > > > >
>>> > > > >> > > >
>>> > > > >> > > >
>>> > > > >> > > > --
>>> > > > >> > > >
>>> > > > >> > > > Piotr Zarzycki
>>> > > > >> > > >
>>> > > > >> > >
>>> > > > >> > >
>>> > > > >> > > --
>>> > > > >> > >
>>> > > > >> > > Piotr Zarzycki
>>> > > > >> > >
>>> > > > >> >
>>> > > > >> >
>>> > > > >> > --
>>> > > > >> >
>>> > > > >> > Piotr Zarzycki
>>> > > > >> >
>>> > > > >>
>>> > > > >>
>>> > > > >> --
>>> > > > >>
>>> > > > >> Piotr Zarzycki
>>> > > > >>
>>> > > > >
>>> > > > >
>>> > > > > --
>>> > > > > Carlos Rovira
>>> > > > > Apache Member & Apache Royale PMC *Apache Software Foundation*
>>> > > > > http://about.me/carlosrovira
>>> > > > >
>>> > > > >
>>> > > >
>>> > > > --
>>> > > > Carlos Rovira
>>> > > > Apache Member & Apache Royale PMC
>>> > > > *Apache Software Foundation*
>>> > > > http://about.me/carlosrovira
>>> > > >
>>> > >
>>> > >
>>> > > --
>>> > >
>>> > > Piotr Zarzycki
>>> > >
>>> >
>>> >
>>> > --
>>> >
>>> > Piotr Zarzycki
>>> >
>>>
>>>
>>> --
>>>
>>> Piotr Zarzycki
>>>
>>
>>
>> --
>>
>> Piotr Zarzycki
>>
>
>
> --
>
> Piotr Zarzycki
>
--
Piotr Zarzycki
AW: Align Maven IDE distribution with Ant IDE distribution
Posted by Christofer Dutz <ch...@c-ware.de>.
Ok ... this is strange.
I unpacked the artifacts in the distribution and they contained the old content ... then did it again and they contained the new one (Perhaps my Text editor had the file still open and didn't detect the change) ... I made sure the versions are all correct (Greg seems to have changed the versions correctly about a month ago).
Now I re-opened Carlos' project in VSCode and hit STRG+Enter and it successfully compiled the application.
So I probably need a little more explanation on what's actually not working. I for example have no idea where to look for the log output you mentioned. In VSCode all I saw was a never-ending running compilation and no error output on the IDE console.
Chris
-----Ursprüngliche Nachricht-----
Von: Christofer Dutz <ch...@c-ware.de>
Gesendet: Freitag, 19. Februar 2021 15:54
An: dev@royale.apache.org
Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
Well I hope to submit a fix asap.
It's just very difficult for me to test as it works in all the setups I use but the problems only occur in the ones I don't use.
Chris
-----Ursprüngliche Nachricht-----
Von: Piotr Zarzycki <pi...@gmail.com>
Gesendet: Freitag, 19. Februar 2021 15:52
An: Apache Royale Development <de...@royale.apache.org>
Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
It was usable of course it was. I was able to build project with distribution without any problem previously - that's why I asked for alignment more. :) Now it looks like it's broken farther.
pt., 19 lut 2021 o 15:50 Christofer Dutz <ch...@c-ware.de>
napisał(a):
> As far as I understood it was never usable for people using IDEs or Ant.
> I thought that's what we're working on here?
>
> Or did I mis-understand something here?
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Piotr Zarzycki <pi...@gmail.com>
> Gesendet: Freitag, 19. Februar 2021 15:49
> An: Apache Royale Development <de...@royale.apache.org>
> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>
> I need newest compiler version for my projects - if that what you are
> asking.
>
> In the other word distribution is not usable right now with Nightly ?
>
> pt., 19 lut 2021 o 15:42 Christofer Dutz <ch...@c-ware.de>
> napisał(a):
>
> > And instantly after sending off the email I found the reason:
> >
> > It's actually due to the fact that we are in this strange transition
> > state with a half done release and compiler and framework being out
> > of sync. I think I better change the versions of the "repackaged
> > compiler
> artifacts"
> > to actually have the compiler version and not the ASJS version :-(
> >
> > Right now I'm creating the correct jars but packing in the old ones.
> >
> > Why are we actually in this intermediate state?
> >
> > Chris
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Christofer Dutz <ch...@c-ware.de>
> > Gesendet: Freitag, 19. Februar 2021 15:39
> > An: dev@royale.apache.org
> > Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > Ok ... so I had a look at the jars created by the modules in:
> >
> > royale-asjs\distribution\jars\compc
> >
> > These contain my changes ... however in the distribution for some
> > strange reason they do not contain them.
> >
> > I'll investigate.
> >
> >
> > Chris
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Christofer Dutz <ch...@c-ware.de>
> > Gesendet: Freitag, 19. Februar 2021 15:31
> > An: dev@royale.apache.org
> > Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi Piotr,
> >
> > then just ignore my mumbling ... seems things have changed slightly
> > in Maven ... good for us ... makes things simpler. But gotta
> > remember that. So sorry for the noise.
> >
> > Well I haven't built anything with the SDK as I don't know how I
> > would actually call it (I have allways just used Maven for that).
> > That's why I asked for the command you use to compile ...
> >
> >
> > Chris
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Piotr Zarzycki <pi...@gmail.com>
> > Gesendet: Freitag, 19. Februar 2021 15:06
> > An: Apache Royale Development <de...@royale.apache.org>
> > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> >
> > Chris,
> >
> > No change after your latest push I still have the same error. Did
> > you try build yourself distribution and build some hello world ?
> >
> > pt., 19 lut 2021 o 15:04 Piotr Zarzycki <pi...@gmail.com>
> > napisał(a):
> >
> > > I don't understand what you are saying here at all. I know that
> > > when I do -DdistributionTargetFolder - I'm getting distribution
> > > build in a folder which I wanted to, so what it actually does ?
> > >
> > > pt., 19 lut 2021 o 15:00 Christofer Dutz
> > > <ch...@c-ware.de>
> > > napisał(a):
> > >
> > >> Well actually is doesn set an Environmet Variable,
> > >>
> > >> It's more or less the other way around ... an Environment
> > >> Variable can initialize a property in maven, but not the other way around.
> > >> And the magic for creating the directory distribution usualy only
> > >> kicks in if you set an environment variable. But if your
> > >> directory is not empty, just ignore my mumbling, then something
> > >> has changed in Maven
> > >>
> > >> Chris
> > >>
> > >> -----Ursprüngliche Nachricht-----
> > >> Von: Piotr Zarzycki <pi...@gmail.com>
> > >> Gesendet: Freitag, 19. Februar 2021 14:50
> > >> An: Apache Royale Development <de...@royale.apache.org>
> > >> Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> distribution
> > >>
> > >> I'm pointing an empty directory called distribution. Prefix -D
> > >> sets for me temporary env variable ->
> > >> -DdistributionTargetFolder=path
> > >>
> > >> pt., 19 lut 2021 o 14:48 Christofer Dutz
> > >> <ch...@c-ware.de>
> > >> napisał(a):
> > >>
> > >> > Does this creat the directory?
> > >> >
> > >> > Cause I think you have to set an Environment Variable:
> > >> >
> > >> > set distributionTargetFolder=d:\Work\royale_ide\distribution
> > >> >
> > >> > mvn clean install
> > >> >
> > >> > Chris
> > >> >
> > >> >
> > >> > -----Ursprüngliche Nachricht-----
> > >> > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > Gesendet: Freitag, 19. Februar 2021 14:41
> > >> > An: Apache Royale Development <de...@royale.apache.org>
> > >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > distribution
> > >> >
> > >> > I have executed something like that cause I didn't know that it
> > >> > will use default compiler 0.9.9-SNAPSHOT
> > >> >
> > >> > mvn clean install -Droyale.compiler.version=0.9.9-SNAPSHOT
> > >> > -DdistributionTargetFolder=d:\Work\royale_ide\distribution
> > >> >
> > >> > pt., 19 lut 2021 o 14:26 Christofer Dutz
> > >> > <ch...@c-ware.de>
> > >> > napisał(a):
> > >> >
> > >> > > Hi all,
> > >> > >
> > >> > > so I just pushed another change to the distribution that
> > >> > > should fix the classpath problem.
> > >> > >
> > >> > > Piotr ... could you please try again? And if you send me the
> > >> > > command you always axecute, I could test it on my side.
> > >> > >
> > >> > > Chris
> > >> > >
> > >> > >
> > >> > > -----Ursprüngliche Nachricht-----
> > >> > > Von: Christofer Dutz <ch...@c-ware.de>
> > >> > > Gesendet: Freitag, 19. Februar 2021 14:12
> > >> > > An: dev@royale.apache.org
> > >> > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > >> > > distribution
> > >> > >
> > >> > > Hi Hiedra,
> > >> > >
> > >> > > well I changed the distribution to make the names like in the
> > >> > > ANT distribution yesterday.
> > >> > > But you are passing in an argument telling the compiler to
> > >> > > use the old format and now it should be the new ...
> > >> > >
> > >> > > Try:
> > >> > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> > >> > > defaults.css; For -compiler.exclude-defaults-css-files =
> > MXRoyaleJS.swc:
> > >> > > defaults.css;
> > >> > >
> > >> > > Instead of your variant.
> > >> > >
> > >> > > Chris
> > >> > >
> > >> > >
> > >> > > -----Ursprüngliche Nachricht-----
> > >> > > Von: Maria Jose Esteve <mj...@iest.com>
> > >> > > Gesendet: Freitag, 19. Februar 2021 14:08
> > >> > > An: dev@royale.apache.org
> > >> > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > >> > > distribution
> > >> > >
> > >> > > Yes, until recently I also compiled only with Maven. Due to
> > >> > > the problem with the spark.css I started to do the double
> > >> > > compilation of
> > >> > MAVEN and ANT.
> > >> > >
> > >> > > It's funny, now, the swc's are not generated with
> > >> > > "xxxx-0.9.8-SNAPSHOT-js.swc" in the distribution BUT if in
> > >> > > the pom of my project I change in additionalCompilerOptions:
> > >> > > -compiler.exclude-defaults-css-files = MXRoyale - $
> > >> > > {royale.framework.version} -js.swc: defaults.css; For
> > >> > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> > >> > > defaults.css; My application starts to do nonsense (for
> > >> > > example the change of selectedContent in my
> > >> > > ApplicationMainContent does not display)
> > >> > >
> > >> > > Chris, thank you.
> > >> > > Hiedra
> > >> > >
> > >> > > -----Mensaje original-----
> > >> > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > >> > > viernes,
> > >> > > 19 de febrero de 2021 13:09
> > >> > > Para: dev@royale.apache.org
> > >> > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > >> > > distribution
> > >> > >
> > >> > > Hi Hiedra,
> > >> > >
> > >> > > I have to admit that I've never used VSCode. Every time I do
> > >> > > any development I usually use one of the JetBrains IDEs.
> > >> > > Royale Stuff I do in IntelliJ ... with my "Flexmojos Hack" it
> > >> > > can be used quite well. And I always compile with Maven.
> > >> > >
> > >> > > But thanks for the explanation on why the other path is set
> > >> differently.
> > >> > >
> > >> > > I guess we'll have to wait till some others can tell me what
> > >> > > needs to be changed.
> > >> > >
> > >> > > Chris
> > >> > >
> > >> > >
> > >> > > -----Ursprüngliche Nachricht-----
> > >> > > Von: Maria Jose Esteve <mj...@iest.com>
> > >> > > Gesendet: Freitag, 19. Februar 2021 12:48
> > >> > > An: dev@royale.apache.org
> > >> > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > >> > > distribution
> > >> > >
> > >> > > Hello Chris,
> > >> > > so that I can debug my changes in the SDK I need to set the
> > >> > > path of the "as3mxml.sdk.editor" to the asjs directory of my
> > >> > > fork, for this reason the path of the " as3mxml.sdk.framework"
> > >> > > points to the directory of the maven distribution and the
> > >> > > "as3mxml.sdk.editor" to
> > >> code.
> > >> > >
> > >> > > ">> I'm not getting any errors from VSCode. But well ... if I
> > >> > > hit
> > >> > > SHIFT+Enter it starts doing something where if failed prior
> > >> > > SHIFT+to my
> > >> > > >> changes this morning and is no longer complaining, but
> > >> > > >> it's also not
> > >> > > doing much (I can't see it create a "bin" directory)"
> > >> > >
> > >> > > I don't quite understand this ... possibly because of my lack
> > >> > > of
> > >> > knowledge.
> > >> > >
> > >> > > I have not tried Carlos's project but this afternoon I will
> > >> > > be able to do it and I will be able to give more details.
> > >> > >
> > >> > > Thx.
> > >> > > Hiedra.
> > >> > >
> > >> > > -----Mensaje original-----
> > >> > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > >> > > viernes,
> > >> > > 19 de febrero de 2021 11:51
> > >> > > Para: dev@royale.apache.org
> > >> > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > >> > > distribution
> > >> > >
> > >> > > Hi Heidra,
> > >> > >
> > >> > > I just updated Carlos' example to have the same type of
> > >> > > setting (C:\\Temp\\RoyaleSDK is where I have my Maven build
> > >> > > generate the
> > SDK):
> > >> > >
> > >> > > setings.js:
> > >> > > {
> > >> > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > >> > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > >> > > }
> > >> > >
> > >> > > workspace-code-workspace
> > >> > > {
> > >> > > "folders": [
> > >> > > {
> > >> > > "path": ".."
> > >> > > }
> > >> > > ],
> > >> > > "settings": {
> > >> > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > >> > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > >> > > }
> > >> > > }
> > >> > >
> > >> > > I'm not getting any errors from VSCode. But well ... if I hit
> > >> > > SHIFT+Enter it starts doing something where if failed prior
> > >> > > SHIFT+to my
> > >> > > changes this morning and is no longer complaining, but it's
> > >> > > also not doing much (I can't see it create a "bin" directory)
> > >> > >
> > >> > > Chris
> > >> > >
> > >> > >
> > >> > > -----Ursprüngliche Nachricht-----
> > >> > > Von: Maria Jose Esteve <mj...@iest.com>
> > >> > > Gesendet: Freitag, 19. Februar 2021 10:53
> > >> > > An: dev@royale.apache.org
> > >> > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > >> > > distribution
> > >> > >
> > >> > > If I don't compile with ANT, the mxml extension in vsCode
> > >> > > IDE, it doesn't recognize the valid asjs directory for
> "as3mxml.sdk.editor":
> > >> > > ...
> > >> > > "settings": {
> > >> > > "as3mxml.sdk.framework":
> > >> > > "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
> > >> > > "as3mxml.sdk.editor":
> > >> > > "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs"
> > >> > > <-------- [download folder repo royale-asjs]
> > >> > > }
> > >> > > }
> > >> > >
> > >> > > The error is:
> > >> > > " as3mxml.sdk.editor in settings does not point to a valid SDK.
> > >> > > Requires..."
> > >> > >
> > >> > > Thx.
> > >> > > Hiedra.
> > >> > >
> > >> > > -----Mensaje original-----
> > >> > > De: Piotr Zarzycki <pi...@gmail.com> Enviado el:
> > >> > > viernes,
> > >> > > 19 de febrero de 2021 10:44
> > >> > > Para: Apache Royale Development <de...@royale.apache.org>
> > >> > > Asunto: Re: Align Maven IDE distribution with Ant IDE
> > >> > > distribution
> > >> > >
> > >> > > Hi Chris,
> > >> > >
> > >> > > I just tried your changes and I have same issue. I need to
> > >> > > understand what has change enough significantly that it
> > >> > > causes compilation fail in such way. It doesn't happen with
> > >> > > SDK prepared by
> > >> ANT.
> > >> > >
> > >> > > Thanks,
> > >> > > Piotr
> > >> > >
> > >> > > pt., 19 lut 2021 o 10:33 Maria Jose Esteve
> > >> > > <mj...@iest.com>
> > >> > napisał(a):
> > >> > >
> > >> > > > @Chris you're right, sorry, I didn't download your last commit.
> > >> > > > I'm sorry.
> > >> > > > Hiedra.
> > >> > > >
> > >> > > > -----Mensaje original-----
> > >> > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > >> > > > viernes,
> > >> > > > 19 de febrero de 2021 10:17
> > >> > > > Para: dev@royale.apache.org
> > >> > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > >> > > > distribution
> > >> > > >
> > >> > > > I'll try to guess what you wanted to say here ...
> > >> > > >
> > >> > > > But I think these are exactly the changes I comitted a an
> > >> > > > hour ago,
> > >> > > right?
> > >> > > > At least in general I replaced all the references to names
> > >> > > > with versions to the changed ones.
> > >> > > >
> > >> > > >
> > >> > > > Chris
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > > -----Ursprüngliche Nachricht-----
> > >> > > > Von: Maria Jose Esteve <mj...@iest.com>
> > >> > > > Gesendet: Freitag, 19. Februar 2021 10:01
> > >> > > > An: dev@royale.apache.org
> > >> > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > >> > > > distribution
> > >> > > >
> > >> > > > Hi,
> > >> > > > Mi distribución hace referencia en el fichero
> > >> > > > "./frameworks/royale-config.xml" a las librerías:
> > >> > > >
> > >> > > > <js-external-library-path>
> > >> > > >
> > >> > > >
> > <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.
> > >> > > > sw
> > >> > > > c</path-element>
> > >> > > >
> > >> > > >
> > >> > > <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-t
> > >> > > yp
> > >> > > ed
> > >> > > efs
> > >> > > .s
> > >> > > wc</path-element>
> > >> > > > </js-external-library-path>
> > >> > > >
> > >> > > > Las correctas son:
> > >> > > >
> > >> > > > <js-external-library-path>
> > >> > > >
> > >> > <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> > >> > > >
> > >> >
> > >> > <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
> > >> > > > </js-external-library-path>
> > >> > > >
> > >> > > > Hiedra
> > >> > > >
> > >> > > > -----Mensaje original-----
> > >> > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > >> > > > viernes,
> > >> > > > 19 de febrero de 2021 9:39
> > >> > > > Para: dev@royale.apache.org
> > >> > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > >> > > > distribution
> > >> > > >
> > >> > > > Ok,
> > >> > > >
> > >> > > > so the config xml files in the distribution were still
> > >> > > > pointing to the old names. I updated them all to now refer
> > >> > > > to
> the names.
> > >> > > > I tried things in Carlos' demo project, and I'm no-longer
> > >> > > > getting the errors, however compilation seems to take for ever.
> > >> > > >
> > >> > > > Please try out the changes and tell me if there are any
> > >> > > > problems with
> > >> > > them.
> > >> > > >
> > >> > > > Chris
> > >> > > >
> > >> > > > -----Ursprüngliche Nachricht-----
> > >> > > > Von: Christofer Dutz <ch...@c-ware.de>
> > >> > > > Gesendet: Donnerstag, 18. Februar 2021 23:17
> > >> > > > An: dev@royale.apache.org
> > >> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > >> > > > distribution
> > >> > > >
> > >> > > > Hi Carlos,
> > >> > > >
> > >> > > > I'll look into this tomorrow.
> > >> > > >
> > >> > > > Chris
> > >> > > >
> > >> > > > -----Ursprüngliche Nachricht-----
> > >> > > > Von: Carlos Rovira <ca...@apache.org>
> > >> > > > Gesendet: Donnerstag, 18. Februar 2021 17:49
> > >> > > > An: Apache Royale Development <de...@royale.apache.org>
> > >> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > > > distribution
> > >> > > >
> > >> > > > Hi, I think I talked very quickly, sorry, there seems to be
> > >> > > > a
> > >> problem.
> > >> > > >
> > >> > > > @Christofer Dutz <ch...@c-ware.de> you can
> > >> > > > download this
> > >> > > > project:
> > >> > > >
> > >> > > >
> > >> > > > https://github.com/apache/royale-asjs/files/6004363/ToggleB
> > >> > > > ut
> > >> > > > to
> > >> > > > nBa
> > >> > > > rI
> > >> > > > ss
> > >> > > > ue.zip
> > >> > > >
> > >> > > > Then using VSCode with AS3&MXML and adding the Maven
> distribution.
> > >> > > > Then hit CTRL+ENTER and you will get the following fail.
> > >> > > > Using ANT distribution is working fine.
> > >> > > > Can you take a look?
> > >> > > >
> > >> > > > Royale Compiler Shell
> > >> > > > (fcsh) mxmlc --debug=false +configname=royale
> > >> > > > --targets=JSRoyale --source-map=true
> > >> > > > --html-template=src/html/jewel-example-index-template.html
> > >> > > >
> > >> > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphi
> > >> > > > re
> > >> > > > -T
> > >> > > > hem
> > >> > > > e/
> > >> > > > sr
> > >> > > > c/main/resources/defaults.css
> > >> > > > --source-path+=src
> > >> > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyale
> > >> > > > --source-path+--library-path+JS .s wc
> > >> > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > >> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> > >> > > > cs s -js-dynamic-access-unknown-members=true --
> > >> > > > src/App.mxml
> > >> > > > fcsh: Assigned 1 as the compile target id The project 'App'
> > >> > > > has been successfully compiled and optimized.
> > >> > > > Compile status: 0
> > >> > > > Elapsed time: 14.211105399 seconds Feb 18, 2021 5:43:40 PM
> > >> > > > com.google.javascript.jscomp.LoggerErrorManager
> > >> > > > printSummary
> > >> > > > INFO: 0 error(s), 0 warning(s), 96.5% typed
> > >> > > > (fcsh) quit
> > >> > > > Compiler shell exited with code: 0 Royale Compiler Shell
> > >> > > > (fcsh) mxmlc --debug=false +configname=royale
> > >> > > > --targets=JSRoyale --source-map=true
> > >> > > > --html-template=src/html/jewel-example-index-template.html
> > >> > > >
> > >> > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphi
> > >> > > > re
> > >> > > > -T
> > >> > > > hem
> > >> > > > e/
> > >> > > > sr
> > >> > > > c/main/resources/defaults.css
> > >> > > > --source-path+=src
> > >> > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyale
> > >> > > > --source-path+--library-path+JS .s wc
> > >> > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > >> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> > >> > > > cs s -js-dynamic-access-unknown-members=true --
> > >> > > > src/App.mxml
> > >> > > > fcsh: Assigned 1 as the compile target id Compile status: 5
> > >> > > > Elapsed
> > >> > time:
> > >> > > > 0.618407478 seconds
> > >> > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > >> > > > col: 0 Error: unable to open
> > >> > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
> > >> > > >
> > >> > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/fra
> > >> > > > me
> > >> > > > wo
> > >> > > > rks
> > >> > > > /r
> > >> > > > oy
> > >> > > > ale-config.xml
> > >> > > > (line: 81)
> > >> > > >
> > >> > > > </js-external-library-path>
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > >> > > > col: 0 Error: unable to open
> > >> > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
> > >> > > >
> > >> > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/fra
> > >> > > > me
> > >> > > > wo
> > >> > > > rks
> > >> > > > /r
> > >> > > > oy
> > >> > > > ale-config.xml
> > >> > > > (line: 81)
> > >> > > >
> > >> > > > </js-external-library-path>
> > >> > > > (fcsh)
> > >> > > > Quick Compile failed. Errors in compiler output.
> > >> > > >
> > >> > > > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
> > >> > > > (<ca...@apache.org>)
> > >> > > > escribió:
> > >> > > >
> > >> > > > > Hi,
> > >> > > > >
> > >> > > > > I rebuilt all from scratch just now and finally the
> > >> > > > > distribution too and tried in VSCode and all seems to
> > >> > > > > work fine
> > for me.
> > >> > > > >
> > >> > > > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> > >> > > > > christofer.dutz@c-ware.de>) escribió:
> > >> > > > >
> > >> > > > >> Hi Piotr,
> > >> > > > >>
> > >> > > > >> that class is located in lib\external\flex-tool-api.jar
> > >> > > > >> At least in my distribution it's there and it contains
> > >> > > > >> the
> class.
> > >> > > > >>
> > >> > > > >> How are you calling the build that's failing?
> > >> > > > >>
> > >> > > > >> Chris
> > >> > > > >>
> > >> > > > >> -----Ursprüngliche Nachricht-----
> > >> > > > >> Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > > > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> > >> > > > >> An: Apache Royale Development <de...@royale.apache.org>
> > >> > > > >> Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > > > >> distribution
> > >> > > > >>
> > >> > > > >> Chris,
> > >> > > > >>
> > >> > > > >> I just checked and I'm not able build project anymore
> > >> > > > >> using
> > >> > > > distribution:
> > >> > > > >>
> > >> > > > >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
> > >> > > > >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
> > >> > > > >> -Xms356m -Xmx3000m
> > >> > > > >> : Error: Could not find or load main class
> > >> > > > >> org.apache.royale.compiler.clients.MXMLJSC
> > >> > > > >> : Caused by: java.lang.NoClassDefFoundError:
> > >> > > > >> org/apache/flex/tools/FlexTool
> > >> > > > >>
> > >> > > > >> I'm done for today, so I will answer anything tomorrow.
> > >> > > > >>
> > >> > > > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
> > >> > > > >> <ch...@c-ware.de>
> > >> > > > >> napisał(a):
> > >> > > > >>
> > >> > > > >> > Ok ...
> > >> > > > >> >
> > >> > > > >> > so I just pushed another change. Now the distribution
> > >> > > > >> > should also contain an empty spark.css, just like the
> > >> > > > >> > Ant
> > one.
> > >> > > > >> >
> > >> > > > >> > Chris
> > >> > > > >> >
> > >> > > > >> >
> > >> > > > >> > -----Ursprüngliche Nachricht-----
> > >> > > > >> > Von: Christofer Dutz <ch...@c-ware.de>
> > >> > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> > >> > > > >> > An: dev@royale.apache.org
> > >> > > > >> > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > >> > > > >> > distribution
> > >> > > > >> >
> > >> > > > >> > Ok,
> > >> > > > >> >
> > >> > > > >> > so that should now be fixed. Leaves the "spark.css"
> > >> > > > >> > Having had a look, it seems as if the Ant build
> > >> > > > >> > creates an empty
> > >> > > > >> spark.css.
> > >> > > > >> >
> > >> > > > >> > Is this all we need? If yes, then I'll have that in
> > >> > > > >> > ther in no
> > >> > time.
> > >> > > > >> >
> > >> > > > >> > Chris
> > >> > > > >> >
> > >> > > > >> > -----Ursprüngliche Nachricht-----
> > >> > > > >> > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> > >> > > > >> > An: Apache Royale Development <de...@royale.apache.org>
> > >> > > > >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > > > >> > distribution
> > >> > > > >> >
> > >> > > > >> > *(I assume that's in the "frameworks/js/libs" directory?
> > >> > > > >> > *
> > >> > > > >> >
> > >> > > > >> > Yes this is the directory.
> > >> > > > >> >
> > >> > > > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> > >> > > > >> > <ch...@c-ware.de>
> > >> > > > >> > napisał(a):
> > >> > > > >> >
> > >> > > > >> > > Hi Piotr,
> > >> > > > >> > >
> > >> > > > >> > > Ok ... so Ant seems to be adding a "JS" to the end
> > >> > > > >> > > of every name (I assume that's in the "frameworks/js/libs"
> > directory?
> > >> > > > >> > >
> > >> > > > >> > > Also I'll try to find out where the "spark.css"
> > >> > > > >> > > should come from
> > >> > > ...
> > >> > > > >> > > and where it should go to.
> > >> > > > >> > >
> > >> > > > >> > > Chris
> > >> > > > >> > >
> > >> > > > >> > >
> > >> > > > >> > > -----Ursprüngliche Nachricht-----
> > >> > > > >> > > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > > > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> > >> > > > >> > > An: Apache Royale Development
> > >> > > > >> > > <de...@royale.apache.org>
> > >> > > > >> > > Betreff: Re: Align Maven IDE distribution with Ant
> > >> > > > >> > > IDE distribution
> > >> > > > >> > >
> > >> > > > >> > > Chris,
> > >> > > > >> > >
> > >> > > > >> > > Looks better but here is the comparision what I have
> > >> > > > >> > > in Ant distribution vs Maven distribution in case of
> names.
> > >> > > > >> > > On the left Ant distribution, on the right Maven. It
> > >> > > > >> > > is
> > folder:
> > >> > > > >> > > frameworks\js\libs\ [1]
> > >> > > > >> > >
> > >> > > > >> > > [1] https://ibb.co/W2DzcDb
> > >> > > > >> > >
> > >> > > > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> > >> > > > >> > > <ch...@c-ware.de>
> > >> > > > >> > > napisał(a):
> > >> > > > >> > >
> > >> > > > >> > > > And done ...
> > >> > > > >> > > >
> > >> > > > >> > > > Now all elements in the distribution only consist
> > >> > > > >> > > > of their name and file-ending ... all versions and
> > >> > > > >> > > > classifiers have been
> > >> > > > removed.
> > >> > > > >> > > > Please provide me with feedback on if this solves
> > >> > > > >> > > > the
> > >> issues.
> > >> > > > >> > > >
> > >> > > > >> > > > Chris
> > >> > > > >> > > >
> > >> > > > >> > > >
> > >> > > > >> > > > -----Ursprüngliche Nachricht-----
> > >> > > > >> > > > Von: Christofer Dutz <ch...@c-ware.de>
> > >> > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> > >> > > > >> > > > An: dev@royale.apache.org
> > >> > > > >> > > > Betreff: AW: Align Maven IDE distribution with Ant
> > >> > > > >> > > > IDE distribution
> > >> > > > >> > > >
> > >> > > > >> > > > I'll probably have a fix for that in a few minuntes ...
> > >> > > > >> > > >
> > >> > > > >> > > >
> > >> > > > >> > > > Chris
> > >> > > > >> > > >
> > >> > > > >> > > >
> > >> > > > >> > > > -----Ursprüngliche Nachricht-----
> > >> > > > >> > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> > >> > > > >> > > > An: Apache Royale Development
> > >> > > > >> > > > <de...@royale.apache.org>
> > >> > > > >> > > > Betreff: Re: Align Maven IDE distribution with Ant
> > >> > > > >> > > > IDE distribution
> > >> > > > >> > > >
> > >> > > > >> > > > Chris,
> > >> > > > >> > > >
> > >> > > > >> > > > No it's not about not picking up by IDE at all.
> > >> > > > >> > > > Moonshine and VSCode are able to build projects
> > >> > > > >> > > > using Maven distribution package! It is about
> > >> > > > >> > > > project which are mixed for example when user
> > >> > > > >> > > > wanted to use Jewel module + RemoteObject class
> > >> > > > >> > > > from MXRoyale module. In that case user need to
> > >> > > > >> > > > point explicilty as a compiler options in IDE that
> > >> > > > >> > > > he wanted to have SWC included and need to exclude
> > >> > > > >> > > > css from that swc to
> > >> > > > >> > > avoid problems.
> > >> > > > >> > > >
> > >> > > > >> > > > It is happen like that:
> > >> > > > >> > > >
> > >> > > > >> > > >
> > >> > > > >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.
> > >> > > > >> > > > -js-library-path+sw c
> > >> > > > >> > > >
> > >> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> > >> > > > >> > > > cs
> > >> > > > >> > > > s
> > >> > > > >> > > >
> > >> > > > >> > > > If I would like to use maven distribution user
> > >> > > > >> > > > need to know version for that compiler options. It
> > >> > > > >> > > > is even more tricky when your swc is called
> > >> > > > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> > >> > > > >> > > >
> > >> > > > >> > > >
> > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.
> > >> > > > >> > > > cs
> > >> > > > >> > > > s
> > >> > > > >> > > >
> > >> > > > >> > > > Thanks,
> > >> > > > >> > > > Piotr
> > >> > > > >> > > >
> > >> > > > >> > > >
> > >> > > > >> > > >
> > >> > > > >> > > >
> > >> > > > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> > >> > > > >> > > > <ch...@c-ware.de>
> > >> > > > >> > > > napisał(a):
> > >> > > > >> > > >
> > >> > > > >> > > > > Hi Piotr,
> > >> > > > >> > > > >
> > >> > > > >> > > > > And is really the version-suffix causing it to
> > >> > > > >> > > > > not be picked up by the IDEs?
> > >> > > > >> > > > >
> > >> > > > >> > > > > Chris
> > >> > > > >> > > > >
> > >> > > > >> > > > > -----Ursprüngliche Nachricht-----
> > >> > > > >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > > > >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> > >> > > > >> > > > > An: dev@royale.apache.org
> > >> > > > >> > > > > Betreff: Re: Align Maven IDE distribution with
> > >> > > > >> > > > > Ant IDE distribution
> > >> > > > >> > > > >
> > >> > > > >> > > > > Hi Chris,
> > >> > > > >> > > > >
> > >> > > > >> > > > > This is the only thing which seems to be a
> > >> > > > >> > > > > constant problem
> > >> > > > here.
> > >> > > > >> > > > > I personally and some users will be much more
> > >> > > > >> > > > > happy having that
> > >> > > > >> > change.
> > >> > > > >> > > > >
> > >> > > > >> > > > > Thanks,
> > >> > > > >> > > > > Piotr
> > >> > > > >> > > > >
> > >> > > > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> > >> > > > >> > > > > <ch...@c-ware.de>
> > >> > > > >> > > > > wrote:
> > >> > > > >> > > > >
> > >> > > > >> > > > > > Hi Piotr,
> > >> > > > >> > > > > >
> > >> > > > >> > > > > > I'd be happy to help with that.
> > >> > > > >> > > > > >
> > >> > > > >> > > > > > I did simply ask for a list of things that
> > >> > > > >> > > > > > need to be changed in order to get things
> > >> > > > >> > > > > > working, but never got said list, so I never
> > >> > > > >> > > > > > knew what I could do to make the Maven
> > >> > > > >> > > > > > distribution match up to the
> > >> > > > >> > > > Ant built one.
> > >> > > > >> > > > > >
> > >> > > > >> > > > > > Chris
> > >> > > > >> > > > > >
> > >> > > > >> > > > > >
> > >> > > > >> > > > > > -----Ursprüngliche Nachricht-----
> > >> > > > >> > > > > > Von: Piotr Zarzycki
> > >> > > > >> > > > > > <pi...@gmail.com>
> > >> > > > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> > >> > > > >> > > > > > An: Apache Royale Development
> > >> > > > >> > > > > > <de...@royale.apache.org>
> > >> > > > >> > > > > > Betreff: Align Maven IDE distribution with Ant
> > >> > > > >> > > > > > IDE distribution
> > >> > > > >> > > > > >
> > >> > > > >> > > > > > Hi Guys,
> > >> > > > >> > > > > >
> > >> > > > >> > > > > > It's been couple of times when user complains
> > >> > > > >> > > > > > that he have problems with using Maven
> > >> > > > >> > > > > > distribution vs Ant distribution in IDE in a
> > >> > > > >> > > > > > mixed project Jewel + MX/Spark
> > >> > etc.
> > >> > > > >> > > > > >
> > >> > > > >> > > > > > Can we have that resolve once for all and
> > >> > > > >> > > > > > adjust Maven distribution folder to produce
> > >> > > > >> > > > > > proper names of
> > >> swcs ?
> > >> > > > >> > > > > >
> > >> > > > >> > > > > > Currently when I build Maven IDE distribution
> > >> > > > >> > > > > > I
> have:
> > >> > > > >> > > > > >
> > >> > > > >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> > >> > > > >> > > > > >
> > >> > > > >> > > > > > When I build Ant IDE distribution I have:
> > >> > > > >> > > > > >
> > >> > > > >> > > > > > MXRoyale-js.swc
> > >> > > > >> > > > > >
> > >> > > > >> > > > > > Thanks,
> > >> > > > >> > > > > > --
> > >> > > > >> > > > > >
> > >> > > > >> > > > > > Piotr Zarzycki
> > >> > > > >> > > > > >
> > >> > > > >> > > > > --
> > >> > > > >> > > > >
> > >> > > > >> > > > > Piotr Zarzycki
> > >> > > > >> > > > >
> > >> > > > >> > > >
> > >> > > > >> > > >
> > >> > > > >> > > > --
> > >> > > > >> > > >
> > >> > > > >> > > > Piotr Zarzycki
> > >> > > > >> > > >
> > >> > > > >> > >
> > >> > > > >> > >
> > >> > > > >> > > --
> > >> > > > >> > >
> > >> > > > >> > > Piotr Zarzycki
> > >> > > > >> > >
> > >> > > > >> >
> > >> > > > >> >
> > >> > > > >> > --
> > >> > > > >> >
> > >> > > > >> > Piotr Zarzycki
> > >> > > > >> >
> > >> > > > >>
> > >> > > > >>
> > >> > > > >> --
> > >> > > > >>
> > >> > > > >> Piotr Zarzycki
> > >> > > > >>
> > >> > > > >
> > >> > > > >
> > >> > > > > --
> > >> > > > > Carlos Rovira
> > >> > > > > Apache Member & Apache Royale PMC *Apache Software
> > >> > > > > Foundation* http://about.me/carlosrovira
> > >> > > > >
> > >> > > > >
> > >> > > >
> > >> > > > --
> > >> > > > Carlos Rovira
> > >> > > > Apache Member & Apache Royale PMC *Apache Software
> > >> > > > Foundation* http://about.me/carlosrovira
> > >> > > >
> > >> > >
> > >> > >
> > >> > > --
> > >> > >
> > >> > > Piotr Zarzycki
> > >> > >
> > >> >
> > >> >
> > >> > --
> > >> >
> > >> > Piotr Zarzycki
> > >> >
> > >>
> > >>
> > >> --
> > >>
> > >> Piotr Zarzycki
> > >>
> > >
> > >
> > > --
> > >
> > > Piotr Zarzycki
> > >
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
>
>
> --
>
> Piotr Zarzycki
>
--
Piotr Zarzycki
AW: Align Maven IDE distribution with Ant IDE distribution
Posted by Christofer Dutz <ch...@c-ware.de>.
Well I hope to submit a fix asap.
It's just very difficult for me to test as it works in all the setups I use but the problems only occur in the ones I don't use.
Chris
-----Ursprüngliche Nachricht-----
Von: Piotr Zarzycki <pi...@gmail.com>
Gesendet: Freitag, 19. Februar 2021 15:52
An: Apache Royale Development <de...@royale.apache.org>
Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
It was usable of course it was. I was able to build project with distribution without any problem previously - that's why I asked for alignment more. :) Now it looks like it's broken farther.
pt., 19 lut 2021 o 15:50 Christofer Dutz <ch...@c-ware.de>
napisał(a):
> As far as I understood it was never usable for people using IDEs or Ant.
> I thought that's what we're working on here?
>
> Or did I mis-understand something here?
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Piotr Zarzycki <pi...@gmail.com>
> Gesendet: Freitag, 19. Februar 2021 15:49
> An: Apache Royale Development <de...@royale.apache.org>
> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>
> I need newest compiler version for my projects - if that what you are
> asking.
>
> In the other word distribution is not usable right now with Nightly ?
>
> pt., 19 lut 2021 o 15:42 Christofer Dutz <ch...@c-ware.de>
> napisał(a):
>
> > And instantly after sending off the email I found the reason:
> >
> > It's actually due to the fact that we are in this strange transition
> > state with a half done release and compiler and framework being out
> > of sync. I think I better change the versions of the "repackaged
> > compiler
> artifacts"
> > to actually have the compiler version and not the ASJS version :-(
> >
> > Right now I'm creating the correct jars but packing in the old ones.
> >
> > Why are we actually in this intermediate state?
> >
> > Chris
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Christofer Dutz <ch...@c-ware.de>
> > Gesendet: Freitag, 19. Februar 2021 15:39
> > An: dev@royale.apache.org
> > Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > Ok ... so I had a look at the jars created by the modules in:
> >
> > royale-asjs\distribution\jars\compc
> >
> > These contain my changes ... however in the distribution for some
> > strange reason they do not contain them.
> >
> > I'll investigate.
> >
> >
> > Chris
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Christofer Dutz <ch...@c-ware.de>
> > Gesendet: Freitag, 19. Februar 2021 15:31
> > An: dev@royale.apache.org
> > Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi Piotr,
> >
> > then just ignore my mumbling ... seems things have changed slightly
> > in Maven ... good for us ... makes things simpler. But gotta
> > remember that. So sorry for the noise.
> >
> > Well I haven't built anything with the SDK as I don't know how I
> > would actually call it (I have allways just used Maven for that).
> > That's why I asked for the command you use to compile ...
> >
> >
> > Chris
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Piotr Zarzycki <pi...@gmail.com>
> > Gesendet: Freitag, 19. Februar 2021 15:06
> > An: Apache Royale Development <de...@royale.apache.org>
> > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> >
> > Chris,
> >
> > No change after your latest push I still have the same error. Did
> > you try build yourself distribution and build some hello world ?
> >
> > pt., 19 lut 2021 o 15:04 Piotr Zarzycki <pi...@gmail.com>
> > napisał(a):
> >
> > > I don't understand what you are saying here at all. I know that
> > > when I do -DdistributionTargetFolder - I'm getting distribution
> > > build in a folder which I wanted to, so what it actually does ?
> > >
> > > pt., 19 lut 2021 o 15:00 Christofer Dutz
> > > <ch...@c-ware.de>
> > > napisał(a):
> > >
> > >> Well actually is doesn set an Environmet Variable,
> > >>
> > >> It's more or less the other way around ... an Environment
> > >> Variable can initialize a property in maven, but not the other way around.
> > >> And the magic for creating the directory distribution usualy only
> > >> kicks in if you set an environment variable. But if your
> > >> directory is not empty, just ignore my mumbling, then something
> > >> has changed in Maven
> > >>
> > >> Chris
> > >>
> > >> -----Ursprüngliche Nachricht-----
> > >> Von: Piotr Zarzycki <pi...@gmail.com>
> > >> Gesendet: Freitag, 19. Februar 2021 14:50
> > >> An: Apache Royale Development <de...@royale.apache.org>
> > >> Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> distribution
> > >>
> > >> I'm pointing an empty directory called distribution. Prefix -D
> > >> sets for me temporary env variable ->
> > >> -DdistributionTargetFolder=path
> > >>
> > >> pt., 19 lut 2021 o 14:48 Christofer Dutz
> > >> <ch...@c-ware.de>
> > >> napisał(a):
> > >>
> > >> > Does this creat the directory?
> > >> >
> > >> > Cause I think you have to set an Environment Variable:
> > >> >
> > >> > set distributionTargetFolder=d:\Work\royale_ide\distribution
> > >> >
> > >> > mvn clean install
> > >> >
> > >> > Chris
> > >> >
> > >> >
> > >> > -----Ursprüngliche Nachricht-----
> > >> > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > Gesendet: Freitag, 19. Februar 2021 14:41
> > >> > An: Apache Royale Development <de...@royale.apache.org>
> > >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > distribution
> > >> >
> > >> > I have executed something like that cause I didn't know that it
> > >> > will use default compiler 0.9.9-SNAPSHOT
> > >> >
> > >> > mvn clean install -Droyale.compiler.version=0.9.9-SNAPSHOT
> > >> > -DdistributionTargetFolder=d:\Work\royale_ide\distribution
> > >> >
> > >> > pt., 19 lut 2021 o 14:26 Christofer Dutz
> > >> > <ch...@c-ware.de>
> > >> > napisał(a):
> > >> >
> > >> > > Hi all,
> > >> > >
> > >> > > so I just pushed another change to the distribution that
> > >> > > should fix the classpath problem.
> > >> > >
> > >> > > Piotr ... could you please try again? And if you send me the
> > >> > > command you always axecute, I could test it on my side.
> > >> > >
> > >> > > Chris
> > >> > >
> > >> > >
> > >> > > -----Ursprüngliche Nachricht-----
> > >> > > Von: Christofer Dutz <ch...@c-ware.de>
> > >> > > Gesendet: Freitag, 19. Februar 2021 14:12
> > >> > > An: dev@royale.apache.org
> > >> > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > >> > > distribution
> > >> > >
> > >> > > Hi Hiedra,
> > >> > >
> > >> > > well I changed the distribution to make the names like in the
> > >> > > ANT distribution yesterday.
> > >> > > But you are passing in an argument telling the compiler to
> > >> > > use the old format and now it should be the new ...
> > >> > >
> > >> > > Try:
> > >> > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> > >> > > defaults.css; For -compiler.exclude-defaults-css-files =
> > MXRoyaleJS.swc:
> > >> > > defaults.css;
> > >> > >
> > >> > > Instead of your variant.
> > >> > >
> > >> > > Chris
> > >> > >
> > >> > >
> > >> > > -----Ursprüngliche Nachricht-----
> > >> > > Von: Maria Jose Esteve <mj...@iest.com>
> > >> > > Gesendet: Freitag, 19. Februar 2021 14:08
> > >> > > An: dev@royale.apache.org
> > >> > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > >> > > distribution
> > >> > >
> > >> > > Yes, until recently I also compiled only with Maven. Due to
> > >> > > the problem with the spark.css I started to do the double
> > >> > > compilation of
> > >> > MAVEN and ANT.
> > >> > >
> > >> > > It's funny, now, the swc's are not generated with
> > >> > > "xxxx-0.9.8-SNAPSHOT-js.swc" in the distribution BUT if in
> > >> > > the pom of my project I change in additionalCompilerOptions:
> > >> > > -compiler.exclude-defaults-css-files = MXRoyale - $
> > >> > > {royale.framework.version} -js.swc: defaults.css; For
> > >> > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> > >> > > defaults.css; My application starts to do nonsense (for
> > >> > > example the change of selectedContent in my
> > >> > > ApplicationMainContent does not display)
> > >> > >
> > >> > > Chris, thank you.
> > >> > > Hiedra
> > >> > >
> > >> > > -----Mensaje original-----
> > >> > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > >> > > viernes,
> > >> > > 19 de febrero de 2021 13:09
> > >> > > Para: dev@royale.apache.org
> > >> > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > >> > > distribution
> > >> > >
> > >> > > Hi Hiedra,
> > >> > >
> > >> > > I have to admit that I've never used VSCode. Every time I do
> > >> > > any development I usually use one of the JetBrains IDEs.
> > >> > > Royale Stuff I do in IntelliJ ... with my "Flexmojos Hack" it
> > >> > > can be used quite well. And I always compile with Maven.
> > >> > >
> > >> > > But thanks for the explanation on why the other path is set
> > >> differently.
> > >> > >
> > >> > > I guess we'll have to wait till some others can tell me what
> > >> > > needs to be changed.
> > >> > >
> > >> > > Chris
> > >> > >
> > >> > >
> > >> > > -----Ursprüngliche Nachricht-----
> > >> > > Von: Maria Jose Esteve <mj...@iest.com>
> > >> > > Gesendet: Freitag, 19. Februar 2021 12:48
> > >> > > An: dev@royale.apache.org
> > >> > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > >> > > distribution
> > >> > >
> > >> > > Hello Chris,
> > >> > > so that I can debug my changes in the SDK I need to set the
> > >> > > path of the "as3mxml.sdk.editor" to the asjs directory of my
> > >> > > fork, for this reason the path of the " as3mxml.sdk.framework"
> > >> > > points to the directory of the maven distribution and the
> > >> > > "as3mxml.sdk.editor" to
> > >> code.
> > >> > >
> > >> > > ">> I'm not getting any errors from VSCode. But well ... if I
> > >> > > hit
> > >> > > SHIFT+Enter it starts doing something where if failed prior
> > >> > > SHIFT+to my
> > >> > > >> changes this morning and is no longer complaining, but
> > >> > > >> it's also not
> > >> > > doing much (I can't see it create a "bin" directory)"
> > >> > >
> > >> > > I don't quite understand this ... possibly because of my lack
> > >> > > of
> > >> > knowledge.
> > >> > >
> > >> > > I have not tried Carlos's project but this afternoon I will
> > >> > > be able to do it and I will be able to give more details.
> > >> > >
> > >> > > Thx.
> > >> > > Hiedra.
> > >> > >
> > >> > > -----Mensaje original-----
> > >> > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > >> > > viernes,
> > >> > > 19 de febrero de 2021 11:51
> > >> > > Para: dev@royale.apache.org
> > >> > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > >> > > distribution
> > >> > >
> > >> > > Hi Heidra,
> > >> > >
> > >> > > I just updated Carlos' example to have the same type of
> > >> > > setting (C:\\Temp\\RoyaleSDK is where I have my Maven build
> > >> > > generate the
> > SDK):
> > >> > >
> > >> > > setings.js:
> > >> > > {
> > >> > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > >> > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > >> > > }
> > >> > >
> > >> > > workspace-code-workspace
> > >> > > {
> > >> > > "folders": [
> > >> > > {
> > >> > > "path": ".."
> > >> > > }
> > >> > > ],
> > >> > > "settings": {
> > >> > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > >> > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > >> > > }
> > >> > > }
> > >> > >
> > >> > > I'm not getting any errors from VSCode. But well ... if I hit
> > >> > > SHIFT+Enter it starts doing something where if failed prior
> > >> > > SHIFT+to my
> > >> > > changes this morning and is no longer complaining, but it's
> > >> > > also not doing much (I can't see it create a "bin" directory)
> > >> > >
> > >> > > Chris
> > >> > >
> > >> > >
> > >> > > -----Ursprüngliche Nachricht-----
> > >> > > Von: Maria Jose Esteve <mj...@iest.com>
> > >> > > Gesendet: Freitag, 19. Februar 2021 10:53
> > >> > > An: dev@royale.apache.org
> > >> > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > >> > > distribution
> > >> > >
> > >> > > If I don't compile with ANT, the mxml extension in vsCode
> > >> > > IDE, it doesn't recognize the valid asjs directory for
> "as3mxml.sdk.editor":
> > >> > > ...
> > >> > > "settings": {
> > >> > > "as3mxml.sdk.framework":
> > >> > > "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
> > >> > > "as3mxml.sdk.editor":
> > >> > > "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs"
> > >> > > <-------- [download folder repo royale-asjs]
> > >> > > }
> > >> > > }
> > >> > >
> > >> > > The error is:
> > >> > > " as3mxml.sdk.editor in settings does not point to a valid SDK.
> > >> > > Requires..."
> > >> > >
> > >> > > Thx.
> > >> > > Hiedra.
> > >> > >
> > >> > > -----Mensaje original-----
> > >> > > De: Piotr Zarzycki <pi...@gmail.com> Enviado el:
> > >> > > viernes,
> > >> > > 19 de febrero de 2021 10:44
> > >> > > Para: Apache Royale Development <de...@royale.apache.org>
> > >> > > Asunto: Re: Align Maven IDE distribution with Ant IDE
> > >> > > distribution
> > >> > >
> > >> > > Hi Chris,
> > >> > >
> > >> > > I just tried your changes and I have same issue. I need to
> > >> > > understand what has change enough significantly that it
> > >> > > causes compilation fail in such way. It doesn't happen with
> > >> > > SDK prepared by
> > >> ANT.
> > >> > >
> > >> > > Thanks,
> > >> > > Piotr
> > >> > >
> > >> > > pt., 19 lut 2021 o 10:33 Maria Jose Esteve
> > >> > > <mj...@iest.com>
> > >> > napisał(a):
> > >> > >
> > >> > > > @Chris you're right, sorry, I didn't download your last commit.
> > >> > > > I'm sorry.
> > >> > > > Hiedra.
> > >> > > >
> > >> > > > -----Mensaje original-----
> > >> > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > >> > > > viernes,
> > >> > > > 19 de febrero de 2021 10:17
> > >> > > > Para: dev@royale.apache.org
> > >> > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > >> > > > distribution
> > >> > > >
> > >> > > > I'll try to guess what you wanted to say here ...
> > >> > > >
> > >> > > > But I think these are exactly the changes I comitted a an
> > >> > > > hour ago,
> > >> > > right?
> > >> > > > At least in general I replaced all the references to names
> > >> > > > with versions to the changed ones.
> > >> > > >
> > >> > > >
> > >> > > > Chris
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > > -----Ursprüngliche Nachricht-----
> > >> > > > Von: Maria Jose Esteve <mj...@iest.com>
> > >> > > > Gesendet: Freitag, 19. Februar 2021 10:01
> > >> > > > An: dev@royale.apache.org
> > >> > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > >> > > > distribution
> > >> > > >
> > >> > > > Hi,
> > >> > > > Mi distribución hace referencia en el fichero
> > >> > > > "./frameworks/royale-config.xml" a las librerías:
> > >> > > >
> > >> > > > <js-external-library-path>
> > >> > > >
> > >> > > >
> > <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.
> > >> > > > sw
> > >> > > > c</path-element>
> > >> > > >
> > >> > > >
> > >> > > <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-t
> > >> > > yp
> > >> > > ed
> > >> > > efs
> > >> > > .s
> > >> > > wc</path-element>
> > >> > > > </js-external-library-path>
> > >> > > >
> > >> > > > Las correctas son:
> > >> > > >
> > >> > > > <js-external-library-path>
> > >> > > >
> > >> > <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> > >> > > >
> > >> >
> > >> > <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
> > >> > > > </js-external-library-path>
> > >> > > >
> > >> > > > Hiedra
> > >> > > >
> > >> > > > -----Mensaje original-----
> > >> > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > >> > > > viernes,
> > >> > > > 19 de febrero de 2021 9:39
> > >> > > > Para: dev@royale.apache.org
> > >> > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > >> > > > distribution
> > >> > > >
> > >> > > > Ok,
> > >> > > >
> > >> > > > so the config xml files in the distribution were still
> > >> > > > pointing to the old names. I updated them all to now refer
> > >> > > > to
> the names.
> > >> > > > I tried things in Carlos' demo project, and I'm no-longer
> > >> > > > getting the errors, however compilation seems to take for ever.
> > >> > > >
> > >> > > > Please try out the changes and tell me if there are any
> > >> > > > problems with
> > >> > > them.
> > >> > > >
> > >> > > > Chris
> > >> > > >
> > >> > > > -----Ursprüngliche Nachricht-----
> > >> > > > Von: Christofer Dutz <ch...@c-ware.de>
> > >> > > > Gesendet: Donnerstag, 18. Februar 2021 23:17
> > >> > > > An: dev@royale.apache.org
> > >> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > >> > > > distribution
> > >> > > >
> > >> > > > Hi Carlos,
> > >> > > >
> > >> > > > I'll look into this tomorrow.
> > >> > > >
> > >> > > > Chris
> > >> > > >
> > >> > > > -----Ursprüngliche Nachricht-----
> > >> > > > Von: Carlos Rovira <ca...@apache.org>
> > >> > > > Gesendet: Donnerstag, 18. Februar 2021 17:49
> > >> > > > An: Apache Royale Development <de...@royale.apache.org>
> > >> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > > > distribution
> > >> > > >
> > >> > > > Hi, I think I talked very quickly, sorry, there seems to be
> > >> > > > a
> > >> problem.
> > >> > > >
> > >> > > > @Christofer Dutz <ch...@c-ware.de> you can
> > >> > > > download this
> > >> > > > project:
> > >> > > >
> > >> > > >
> > >> > > > https://github.com/apache/royale-asjs/files/6004363/ToggleB
> > >> > > > ut
> > >> > > > to
> > >> > > > nBa
> > >> > > > rI
> > >> > > > ss
> > >> > > > ue.zip
> > >> > > >
> > >> > > > Then using VSCode with AS3&MXML and adding the Maven
> distribution.
> > >> > > > Then hit CTRL+ENTER and you will get the following fail.
> > >> > > > Using ANT distribution is working fine.
> > >> > > > Can you take a look?
> > >> > > >
> > >> > > > Royale Compiler Shell
> > >> > > > (fcsh) mxmlc --debug=false +configname=royale
> > >> > > > --targets=JSRoyale --source-map=true
> > >> > > > --html-template=src/html/jewel-example-index-template.html
> > >> > > >
> > >> > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphi
> > >> > > > re
> > >> > > > -T
> > >> > > > hem
> > >> > > > e/
> > >> > > > sr
> > >> > > > c/main/resources/defaults.css
> > >> > > > --source-path+=src
> > >> > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyale
> > >> > > > --source-path+--library-path+JS .s wc
> > >> > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > >> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> > >> > > > cs s -js-dynamic-access-unknown-members=true --
> > >> > > > src/App.mxml
> > >> > > > fcsh: Assigned 1 as the compile target id The project 'App'
> > >> > > > has been successfully compiled and optimized.
> > >> > > > Compile status: 0
> > >> > > > Elapsed time: 14.211105399 seconds Feb 18, 2021 5:43:40 PM
> > >> > > > com.google.javascript.jscomp.LoggerErrorManager
> > >> > > > printSummary
> > >> > > > INFO: 0 error(s), 0 warning(s), 96.5% typed
> > >> > > > (fcsh) quit
> > >> > > > Compiler shell exited with code: 0 Royale Compiler Shell
> > >> > > > (fcsh) mxmlc --debug=false +configname=royale
> > >> > > > --targets=JSRoyale --source-map=true
> > >> > > > --html-template=src/html/jewel-example-index-template.html
> > >> > > >
> > >> > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphi
> > >> > > > re
> > >> > > > -T
> > >> > > > hem
> > >> > > > e/
> > >> > > > sr
> > >> > > > c/main/resources/defaults.css
> > >> > > > --source-path+=src
> > >> > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyale
> > >> > > > --source-path+--library-path+JS .s wc
> > >> > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > >> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> > >> > > > cs s -js-dynamic-access-unknown-members=true --
> > >> > > > src/App.mxml
> > >> > > > fcsh: Assigned 1 as the compile target id Compile status: 5
> > >> > > > Elapsed
> > >> > time:
> > >> > > > 0.618407478 seconds
> > >> > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > >> > > > col: 0 Error: unable to open
> > >> > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
> > >> > > >
> > >> > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/fra
> > >> > > > me
> > >> > > > wo
> > >> > > > rks
> > >> > > > /r
> > >> > > > oy
> > >> > > > ale-config.xml
> > >> > > > (line: 81)
> > >> > > >
> > >> > > > </js-external-library-path>
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > >> > > > col: 0 Error: unable to open
> > >> > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
> > >> > > >
> > >> > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/fra
> > >> > > > me
> > >> > > > wo
> > >> > > > rks
> > >> > > > /r
> > >> > > > oy
> > >> > > > ale-config.xml
> > >> > > > (line: 81)
> > >> > > >
> > >> > > > </js-external-library-path>
> > >> > > > (fcsh)
> > >> > > > Quick Compile failed. Errors in compiler output.
> > >> > > >
> > >> > > > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
> > >> > > > (<ca...@apache.org>)
> > >> > > > escribió:
> > >> > > >
> > >> > > > > Hi,
> > >> > > > >
> > >> > > > > I rebuilt all from scratch just now and finally the
> > >> > > > > distribution too and tried in VSCode and all seems to
> > >> > > > > work fine
> > for me.
> > >> > > > >
> > >> > > > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> > >> > > > > christofer.dutz@c-ware.de>) escribió:
> > >> > > > >
> > >> > > > >> Hi Piotr,
> > >> > > > >>
> > >> > > > >> that class is located in lib\external\flex-tool-api.jar
> > >> > > > >> At least in my distribution it's there and it contains
> > >> > > > >> the
> class.
> > >> > > > >>
> > >> > > > >> How are you calling the build that's failing?
> > >> > > > >>
> > >> > > > >> Chris
> > >> > > > >>
> > >> > > > >> -----Ursprüngliche Nachricht-----
> > >> > > > >> Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > > > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> > >> > > > >> An: Apache Royale Development <de...@royale.apache.org>
> > >> > > > >> Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > > > >> distribution
> > >> > > > >>
> > >> > > > >> Chris,
> > >> > > > >>
> > >> > > > >> I just checked and I'm not able build project anymore
> > >> > > > >> using
> > >> > > > distribution:
> > >> > > > >>
> > >> > > > >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
> > >> > > > >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
> > >> > > > >> -Xms356m -Xmx3000m
> > >> > > > >> : Error: Could not find or load main class
> > >> > > > >> org.apache.royale.compiler.clients.MXMLJSC
> > >> > > > >> : Caused by: java.lang.NoClassDefFoundError:
> > >> > > > >> org/apache/flex/tools/FlexTool
> > >> > > > >>
> > >> > > > >> I'm done for today, so I will answer anything tomorrow.
> > >> > > > >>
> > >> > > > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
> > >> > > > >> <ch...@c-ware.de>
> > >> > > > >> napisał(a):
> > >> > > > >>
> > >> > > > >> > Ok ...
> > >> > > > >> >
> > >> > > > >> > so I just pushed another change. Now the distribution
> > >> > > > >> > should also contain an empty spark.css, just like the
> > >> > > > >> > Ant
> > one.
> > >> > > > >> >
> > >> > > > >> > Chris
> > >> > > > >> >
> > >> > > > >> >
> > >> > > > >> > -----Ursprüngliche Nachricht-----
> > >> > > > >> > Von: Christofer Dutz <ch...@c-ware.de>
> > >> > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> > >> > > > >> > An: dev@royale.apache.org
> > >> > > > >> > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > >> > > > >> > distribution
> > >> > > > >> >
> > >> > > > >> > Ok,
> > >> > > > >> >
> > >> > > > >> > so that should now be fixed. Leaves the "spark.css"
> > >> > > > >> > Having had a look, it seems as if the Ant build
> > >> > > > >> > creates an empty
> > >> > > > >> spark.css.
> > >> > > > >> >
> > >> > > > >> > Is this all we need? If yes, then I'll have that in
> > >> > > > >> > ther in no
> > >> > time.
> > >> > > > >> >
> > >> > > > >> > Chris
> > >> > > > >> >
> > >> > > > >> > -----Ursprüngliche Nachricht-----
> > >> > > > >> > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> > >> > > > >> > An: Apache Royale Development <de...@royale.apache.org>
> > >> > > > >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > > > >> > distribution
> > >> > > > >> >
> > >> > > > >> > *(I assume that's in the "frameworks/js/libs" directory?
> > >> > > > >> > *
> > >> > > > >> >
> > >> > > > >> > Yes this is the directory.
> > >> > > > >> >
> > >> > > > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> > >> > > > >> > <ch...@c-ware.de>
> > >> > > > >> > napisał(a):
> > >> > > > >> >
> > >> > > > >> > > Hi Piotr,
> > >> > > > >> > >
> > >> > > > >> > > Ok ... so Ant seems to be adding a "JS" to the end
> > >> > > > >> > > of every name (I assume that's in the "frameworks/js/libs"
> > directory?
> > >> > > > >> > >
> > >> > > > >> > > Also I'll try to find out where the "spark.css"
> > >> > > > >> > > should come from
> > >> > > ...
> > >> > > > >> > > and where it should go to.
> > >> > > > >> > >
> > >> > > > >> > > Chris
> > >> > > > >> > >
> > >> > > > >> > >
> > >> > > > >> > > -----Ursprüngliche Nachricht-----
> > >> > > > >> > > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > > > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> > >> > > > >> > > An: Apache Royale Development
> > >> > > > >> > > <de...@royale.apache.org>
> > >> > > > >> > > Betreff: Re: Align Maven IDE distribution with Ant
> > >> > > > >> > > IDE distribution
> > >> > > > >> > >
> > >> > > > >> > > Chris,
> > >> > > > >> > >
> > >> > > > >> > > Looks better but here is the comparision what I have
> > >> > > > >> > > in Ant distribution vs Maven distribution in case of
> names.
> > >> > > > >> > > On the left Ant distribution, on the right Maven. It
> > >> > > > >> > > is
> > folder:
> > >> > > > >> > > frameworks\js\libs\ [1]
> > >> > > > >> > >
> > >> > > > >> > > [1] https://ibb.co/W2DzcDb
> > >> > > > >> > >
> > >> > > > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> > >> > > > >> > > <ch...@c-ware.de>
> > >> > > > >> > > napisał(a):
> > >> > > > >> > >
> > >> > > > >> > > > And done ...
> > >> > > > >> > > >
> > >> > > > >> > > > Now all elements in the distribution only consist
> > >> > > > >> > > > of their name and file-ending ... all versions and
> > >> > > > >> > > > classifiers have been
> > >> > > > removed.
> > >> > > > >> > > > Please provide me with feedback on if this solves
> > >> > > > >> > > > the
> > >> issues.
> > >> > > > >> > > >
> > >> > > > >> > > > Chris
> > >> > > > >> > > >
> > >> > > > >> > > >
> > >> > > > >> > > > -----Ursprüngliche Nachricht-----
> > >> > > > >> > > > Von: Christofer Dutz <ch...@c-ware.de>
> > >> > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> > >> > > > >> > > > An: dev@royale.apache.org
> > >> > > > >> > > > Betreff: AW: Align Maven IDE distribution with Ant
> > >> > > > >> > > > IDE distribution
> > >> > > > >> > > >
> > >> > > > >> > > > I'll probably have a fix for that in a few minuntes ...
> > >> > > > >> > > >
> > >> > > > >> > > >
> > >> > > > >> > > > Chris
> > >> > > > >> > > >
> > >> > > > >> > > >
> > >> > > > >> > > > -----Ursprüngliche Nachricht-----
> > >> > > > >> > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> > >> > > > >> > > > An: Apache Royale Development
> > >> > > > >> > > > <de...@royale.apache.org>
> > >> > > > >> > > > Betreff: Re: Align Maven IDE distribution with Ant
> > >> > > > >> > > > IDE distribution
> > >> > > > >> > > >
> > >> > > > >> > > > Chris,
> > >> > > > >> > > >
> > >> > > > >> > > > No it's not about not picking up by IDE at all.
> > >> > > > >> > > > Moonshine and VSCode are able to build projects
> > >> > > > >> > > > using Maven distribution package! It is about
> > >> > > > >> > > > project which are mixed for example when user
> > >> > > > >> > > > wanted to use Jewel module + RemoteObject class
> > >> > > > >> > > > from MXRoyale module. In that case user need to
> > >> > > > >> > > > point explicilty as a compiler options in IDE that
> > >> > > > >> > > > he wanted to have SWC included and need to exclude
> > >> > > > >> > > > css from that swc to
> > >> > > > >> > > avoid problems.
> > >> > > > >> > > >
> > >> > > > >> > > > It is happen like that:
> > >> > > > >> > > >
> > >> > > > >> > > >
> > >> > > > >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.
> > >> > > > >> > > > -js-library-path+sw c
> > >> > > > >> > > >
> > >> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> > >> > > > >> > > > cs
> > >> > > > >> > > > s
> > >> > > > >> > > >
> > >> > > > >> > > > If I would like to use maven distribution user
> > >> > > > >> > > > need to know version for that compiler options. It
> > >> > > > >> > > > is even more tricky when your swc is called
> > >> > > > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> > >> > > > >> > > >
> > >> > > > >> > > >
> > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.
> > >> > > > >> > > > cs
> > >> > > > >> > > > s
> > >> > > > >> > > >
> > >> > > > >> > > > Thanks,
> > >> > > > >> > > > Piotr
> > >> > > > >> > > >
> > >> > > > >> > > >
> > >> > > > >> > > >
> > >> > > > >> > > >
> > >> > > > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> > >> > > > >> > > > <ch...@c-ware.de>
> > >> > > > >> > > > napisał(a):
> > >> > > > >> > > >
> > >> > > > >> > > > > Hi Piotr,
> > >> > > > >> > > > >
> > >> > > > >> > > > > And is really the version-suffix causing it to
> > >> > > > >> > > > > not be picked up by the IDEs?
> > >> > > > >> > > > >
> > >> > > > >> > > > > Chris
> > >> > > > >> > > > >
> > >> > > > >> > > > > -----Ursprüngliche Nachricht-----
> > >> > > > >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > > > >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> > >> > > > >> > > > > An: dev@royale.apache.org
> > >> > > > >> > > > > Betreff: Re: Align Maven IDE distribution with
> > >> > > > >> > > > > Ant IDE distribution
> > >> > > > >> > > > >
> > >> > > > >> > > > > Hi Chris,
> > >> > > > >> > > > >
> > >> > > > >> > > > > This is the only thing which seems to be a
> > >> > > > >> > > > > constant problem
> > >> > > > here.
> > >> > > > >> > > > > I personally and some users will be much more
> > >> > > > >> > > > > happy having that
> > >> > > > >> > change.
> > >> > > > >> > > > >
> > >> > > > >> > > > > Thanks,
> > >> > > > >> > > > > Piotr
> > >> > > > >> > > > >
> > >> > > > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> > >> > > > >> > > > > <ch...@c-ware.de>
> > >> > > > >> > > > > wrote:
> > >> > > > >> > > > >
> > >> > > > >> > > > > > Hi Piotr,
> > >> > > > >> > > > > >
> > >> > > > >> > > > > > I'd be happy to help with that.
> > >> > > > >> > > > > >
> > >> > > > >> > > > > > I did simply ask for a list of things that
> > >> > > > >> > > > > > need to be changed in order to get things
> > >> > > > >> > > > > > working, but never got said list, so I never
> > >> > > > >> > > > > > knew what I could do to make the Maven
> > >> > > > >> > > > > > distribution match up to the
> > >> > > > >> > > > Ant built one.
> > >> > > > >> > > > > >
> > >> > > > >> > > > > > Chris
> > >> > > > >> > > > > >
> > >> > > > >> > > > > >
> > >> > > > >> > > > > > -----Ursprüngliche Nachricht-----
> > >> > > > >> > > > > > Von: Piotr Zarzycki
> > >> > > > >> > > > > > <pi...@gmail.com>
> > >> > > > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> > >> > > > >> > > > > > An: Apache Royale Development
> > >> > > > >> > > > > > <de...@royale.apache.org>
> > >> > > > >> > > > > > Betreff: Align Maven IDE distribution with Ant
> > >> > > > >> > > > > > IDE distribution
> > >> > > > >> > > > > >
> > >> > > > >> > > > > > Hi Guys,
> > >> > > > >> > > > > >
> > >> > > > >> > > > > > It's been couple of times when user complains
> > >> > > > >> > > > > > that he have problems with using Maven
> > >> > > > >> > > > > > distribution vs Ant distribution in IDE in a
> > >> > > > >> > > > > > mixed project Jewel + MX/Spark
> > >> > etc.
> > >> > > > >> > > > > >
> > >> > > > >> > > > > > Can we have that resolve once for all and
> > >> > > > >> > > > > > adjust Maven distribution folder to produce
> > >> > > > >> > > > > > proper names of
> > >> swcs ?
> > >> > > > >> > > > > >
> > >> > > > >> > > > > > Currently when I build Maven IDE distribution
> > >> > > > >> > > > > > I
> have:
> > >> > > > >> > > > > >
> > >> > > > >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> > >> > > > >> > > > > >
> > >> > > > >> > > > > > When I build Ant IDE distribution I have:
> > >> > > > >> > > > > >
> > >> > > > >> > > > > > MXRoyale-js.swc
> > >> > > > >> > > > > >
> > >> > > > >> > > > > > Thanks,
> > >> > > > >> > > > > > --
> > >> > > > >> > > > > >
> > >> > > > >> > > > > > Piotr Zarzycki
> > >> > > > >> > > > > >
> > >> > > > >> > > > > --
> > >> > > > >> > > > >
> > >> > > > >> > > > > Piotr Zarzycki
> > >> > > > >> > > > >
> > >> > > > >> > > >
> > >> > > > >> > > >
> > >> > > > >> > > > --
> > >> > > > >> > > >
> > >> > > > >> > > > Piotr Zarzycki
> > >> > > > >> > > >
> > >> > > > >> > >
> > >> > > > >> > >
> > >> > > > >> > > --
> > >> > > > >> > >
> > >> > > > >> > > Piotr Zarzycki
> > >> > > > >> > >
> > >> > > > >> >
> > >> > > > >> >
> > >> > > > >> > --
> > >> > > > >> >
> > >> > > > >> > Piotr Zarzycki
> > >> > > > >> >
> > >> > > > >>
> > >> > > > >>
> > >> > > > >> --
> > >> > > > >>
> > >> > > > >> Piotr Zarzycki
> > >> > > > >>
> > >> > > > >
> > >> > > > >
> > >> > > > > --
> > >> > > > > Carlos Rovira
> > >> > > > > Apache Member & Apache Royale PMC *Apache Software
> > >> > > > > Foundation* http://about.me/carlosrovira
> > >> > > > >
> > >> > > > >
> > >> > > >
> > >> > > > --
> > >> > > > Carlos Rovira
> > >> > > > Apache Member & Apache Royale PMC *Apache Software
> > >> > > > Foundation* http://about.me/carlosrovira
> > >> > > >
> > >> > >
> > >> > >
> > >> > > --
> > >> > >
> > >> > > Piotr Zarzycki
> > >> > >
> > >> >
> > >> >
> > >> > --
> > >> >
> > >> > Piotr Zarzycki
> > >> >
> > >>
> > >>
> > >> --
> > >>
> > >> Piotr Zarzycki
> > >>
> > >
> > >
> > > --
> > >
> > > Piotr Zarzycki
> > >
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
>
>
> --
>
> Piotr Zarzycki
>
--
Piotr Zarzycki
Re: Align Maven IDE distribution with Ant IDE distribution
Posted by Piotr Zarzycki <pi...@gmail.com>.
It was usable of course it was. I was able to build project with
distribution without any problem previously - that's why I asked for
alignment more. :) Now it looks like it's broken farther.
pt., 19 lut 2021 o 15:50 Christofer Dutz <ch...@c-ware.de>
napisał(a):
> As far as I understood it was never usable for people using IDEs or Ant.
> I thought that's what we're working on here?
>
> Or did I mis-understand something here?
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Piotr Zarzycki <pi...@gmail.com>
> Gesendet: Freitag, 19. Februar 2021 15:49
> An: Apache Royale Development <de...@royale.apache.org>
> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>
> I need newest compiler version for my projects - if that what you are
> asking.
>
> In the other word distribution is not usable right now with Nightly ?
>
> pt., 19 lut 2021 o 15:42 Christofer Dutz <ch...@c-ware.de>
> napisał(a):
>
> > And instantly after sending off the email I found the reason:
> >
> > It's actually due to the fact that we are in this strange transition
> > state with a half done release and compiler and framework being out of
> > sync. I think I better change the versions of the "repackaged compiler
> artifacts"
> > to actually have the compiler version and not the ASJS version :-(
> >
> > Right now I'm creating the correct jars but packing in the old ones.
> >
> > Why are we actually in this intermediate state?
> >
> > Chris
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Christofer Dutz <ch...@c-ware.de>
> > Gesendet: Freitag, 19. Februar 2021 15:39
> > An: dev@royale.apache.org
> > Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > Ok ... so I had a look at the jars created by the modules in:
> >
> > royale-asjs\distribution\jars\compc
> >
> > These contain my changes ... however in the distribution for some
> > strange reason they do not contain them.
> >
> > I'll investigate.
> >
> >
> > Chris
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Christofer Dutz <ch...@c-ware.de>
> > Gesendet: Freitag, 19. Februar 2021 15:31
> > An: dev@royale.apache.org
> > Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi Piotr,
> >
> > then just ignore my mumbling ... seems things have changed slightly in
> > Maven ... good for us ... makes things simpler. But gotta remember
> > that. So sorry for the noise.
> >
> > Well I haven't built anything with the SDK as I don't know how I would
> > actually call it (I have allways just used Maven for that).
> > That's why I asked for the command you use to compile ...
> >
> >
> > Chris
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Piotr Zarzycki <pi...@gmail.com>
> > Gesendet: Freitag, 19. Februar 2021 15:06
> > An: Apache Royale Development <de...@royale.apache.org>
> > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> >
> > Chris,
> >
> > No change after your latest push I still have the same error. Did you
> > try build yourself distribution and build some hello world ?
> >
> > pt., 19 lut 2021 o 15:04 Piotr Zarzycki <pi...@gmail.com>
> > napisał(a):
> >
> > > I don't understand what you are saying here at all. I know that when
> > > I do -DdistributionTargetFolder - I'm getting distribution build in
> > > a folder which I wanted to, so what it actually does ?
> > >
> > > pt., 19 lut 2021 o 15:00 Christofer Dutz <ch...@c-ware.de>
> > > napisał(a):
> > >
> > >> Well actually is doesn set an Environmet Variable,
> > >>
> > >> It's more or less the other way around ... an Environment Variable
> > >> can initialize a property in maven, but not the other way around.
> > >> And the magic for creating the directory distribution usualy only
> > >> kicks in if you set an environment variable. But if your directory
> > >> is not empty, just ignore my mumbling, then something has changed
> > >> in Maven
> > >>
> > >> Chris
> > >>
> > >> -----Ursprüngliche Nachricht-----
> > >> Von: Piotr Zarzycki <pi...@gmail.com>
> > >> Gesendet: Freitag, 19. Februar 2021 14:50
> > >> An: Apache Royale Development <de...@royale.apache.org>
> > >> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> > >>
> > >> I'm pointing an empty directory called distribution. Prefix -D sets
> > >> for me temporary env variable -> -DdistributionTargetFolder=path
> > >>
> > >> pt., 19 lut 2021 o 14:48 Christofer Dutz
> > >> <ch...@c-ware.de>
> > >> napisał(a):
> > >>
> > >> > Does this creat the directory?
> > >> >
> > >> > Cause I think you have to set an Environment Variable:
> > >> >
> > >> > set distributionTargetFolder=d:\Work\royale_ide\distribution
> > >> >
> > >> > mvn clean install
> > >> >
> > >> > Chris
> > >> >
> > >> >
> > >> > -----Ursprüngliche Nachricht-----
> > >> > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > Gesendet: Freitag, 19. Februar 2021 14:41
> > >> > An: Apache Royale Development <de...@royale.apache.org>
> > >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > distribution
> > >> >
> > >> > I have executed something like that cause I didn't know that it
> > >> > will use default compiler 0.9.9-SNAPSHOT
> > >> >
> > >> > mvn clean install -Droyale.compiler.version=0.9.9-SNAPSHOT
> > >> > -DdistributionTargetFolder=d:\Work\royale_ide\distribution
> > >> >
> > >> > pt., 19 lut 2021 o 14:26 Christofer Dutz
> > >> > <ch...@c-ware.de>
> > >> > napisał(a):
> > >> >
> > >> > > Hi all,
> > >> > >
> > >> > > so I just pushed another change to the distribution that should
> > >> > > fix the classpath problem.
> > >> > >
> > >> > > Piotr ... could you please try again? And if you send me the
> > >> > > command you always axecute, I could test it on my side.
> > >> > >
> > >> > > Chris
> > >> > >
> > >> > >
> > >> > > -----Ursprüngliche Nachricht-----
> > >> > > Von: Christofer Dutz <ch...@c-ware.de>
> > >> > > Gesendet: Freitag, 19. Februar 2021 14:12
> > >> > > An: dev@royale.apache.org
> > >> > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > >> > > distribution
> > >> > >
> > >> > > Hi Hiedra,
> > >> > >
> > >> > > well I changed the distribution to make the names like in the
> > >> > > ANT distribution yesterday.
> > >> > > But you are passing in an argument telling the compiler to use
> > >> > > the old format and now it should be the new ...
> > >> > >
> > >> > > Try:
> > >> > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> > >> > > defaults.css; For -compiler.exclude-defaults-css-files =
> > MXRoyaleJS.swc:
> > >> > > defaults.css;
> > >> > >
> > >> > > Instead of your variant.
> > >> > >
> > >> > > Chris
> > >> > >
> > >> > >
> > >> > > -----Ursprüngliche Nachricht-----
> > >> > > Von: Maria Jose Esteve <mj...@iest.com>
> > >> > > Gesendet: Freitag, 19. Februar 2021 14:08
> > >> > > An: dev@royale.apache.org
> > >> > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > >> > > distribution
> > >> > >
> > >> > > Yes, until recently I also compiled only with Maven. Due to the
> > >> > > problem with the spark.css I started to do the double
> > >> > > compilation of
> > >> > MAVEN and ANT.
> > >> > >
> > >> > > It's funny, now, the swc's are not generated with
> > >> > > "xxxx-0.9.8-SNAPSHOT-js.swc" in the distribution BUT if in the
> > >> > > pom of my project I change in additionalCompilerOptions:
> > >> > > -compiler.exclude-defaults-css-files = MXRoyale - $
> > >> > > {royale.framework.version} -js.swc: defaults.css; For
> > >> > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> > >> > > defaults.css; My application starts to do nonsense (for example
> > >> > > the change of selectedContent in my ApplicationMainContent does
> > >> > > not display)
> > >> > >
> > >> > > Chris, thank you.
> > >> > > Hiedra
> > >> > >
> > >> > > -----Mensaje original-----
> > >> > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > >> > > viernes,
> > >> > > 19 de febrero de 2021 13:09
> > >> > > Para: dev@royale.apache.org
> > >> > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > >> > > distribution
> > >> > >
> > >> > > Hi Hiedra,
> > >> > >
> > >> > > I have to admit that I've never used VSCode. Every time I do
> > >> > > any development I usually use one of the JetBrains IDEs.
> > >> > > Royale Stuff I do in IntelliJ ... with my "Flexmojos Hack" it
> > >> > > can be used quite well. And I always compile with Maven.
> > >> > >
> > >> > > But thanks for the explanation on why the other path is set
> > >> differently.
> > >> > >
> > >> > > I guess we'll have to wait till some others can tell me what
> > >> > > needs to be changed.
> > >> > >
> > >> > > Chris
> > >> > >
> > >> > >
> > >> > > -----Ursprüngliche Nachricht-----
> > >> > > Von: Maria Jose Esteve <mj...@iest.com>
> > >> > > Gesendet: Freitag, 19. Februar 2021 12:48
> > >> > > An: dev@royale.apache.org
> > >> > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > >> > > distribution
> > >> > >
> > >> > > Hello Chris,
> > >> > > so that I can debug my changes in the SDK I need to set the
> > >> > > path of the "as3mxml.sdk.editor" to the asjs directory of my
> > >> > > fork, for this reason the path of the " as3mxml.sdk.framework"
> > >> > > points to the directory of the maven distribution and the
> > >> > > "as3mxml.sdk.editor" to
> > >> code.
> > >> > >
> > >> > > ">> I'm not getting any errors from VSCode. But well ... if I
> > >> > > hit
> > >> > > SHIFT+Enter it starts doing something where if failed prior to
> > >> > > SHIFT+my
> > >> > > >> changes this morning and is no longer complaining, but it's
> > >> > > >> also not
> > >> > > doing much (I can't see it create a "bin" directory)"
> > >> > >
> > >> > > I don't quite understand this ... possibly because of my lack
> > >> > > of
> > >> > knowledge.
> > >> > >
> > >> > > I have not tried Carlos's project but this afternoon I will be
> > >> > > able to do it and I will be able to give more details.
> > >> > >
> > >> > > Thx.
> > >> > > Hiedra.
> > >> > >
> > >> > > -----Mensaje original-----
> > >> > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > >> > > viernes,
> > >> > > 19 de febrero de 2021 11:51
> > >> > > Para: dev@royale.apache.org
> > >> > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > >> > > distribution
> > >> > >
> > >> > > Hi Heidra,
> > >> > >
> > >> > > I just updated Carlos' example to have the same type of setting
> > >> > > (C:\\Temp\\RoyaleSDK is where I have my Maven build generate
> > >> > > the
> > SDK):
> > >> > >
> > >> > > setings.js:
> > >> > > {
> > >> > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > >> > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > >> > > }
> > >> > >
> > >> > > workspace-code-workspace
> > >> > > {
> > >> > > "folders": [
> > >> > > {
> > >> > > "path": ".."
> > >> > > }
> > >> > > ],
> > >> > > "settings": {
> > >> > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > >> > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > >> > > }
> > >> > > }
> > >> > >
> > >> > > I'm not getting any errors from VSCode. But well ... if I hit
> > >> > > SHIFT+Enter it starts doing something where if failed prior to
> > >> > > SHIFT+my
> > >> > > changes this morning and is no longer complaining, but it's
> > >> > > also not doing much (I can't see it create a "bin" directory)
> > >> > >
> > >> > > Chris
> > >> > >
> > >> > >
> > >> > > -----Ursprüngliche Nachricht-----
> > >> > > Von: Maria Jose Esteve <mj...@iest.com>
> > >> > > Gesendet: Freitag, 19. Februar 2021 10:53
> > >> > > An: dev@royale.apache.org
> > >> > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > >> > > distribution
> > >> > >
> > >> > > If I don't compile with ANT, the mxml extension in vsCode IDE,
> > >> > > it doesn't recognize the valid asjs directory for
> "as3mxml.sdk.editor":
> > >> > > ...
> > >> > > "settings": {
> > >> > > "as3mxml.sdk.framework":
> > >> > > "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
> > >> > > "as3mxml.sdk.editor":
> > >> > > "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs"
> > >> > > <-------- [download folder repo royale-asjs]
> > >> > > }
> > >> > > }
> > >> > >
> > >> > > The error is:
> > >> > > " as3mxml.sdk.editor in settings does not point to a valid SDK.
> > >> > > Requires..."
> > >> > >
> > >> > > Thx.
> > >> > > Hiedra.
> > >> > >
> > >> > > -----Mensaje original-----
> > >> > > De: Piotr Zarzycki <pi...@gmail.com> Enviado el:
> > >> > > viernes,
> > >> > > 19 de febrero de 2021 10:44
> > >> > > Para: Apache Royale Development <de...@royale.apache.org>
> > >> > > Asunto: Re: Align Maven IDE distribution with Ant IDE
> > >> > > distribution
> > >> > >
> > >> > > Hi Chris,
> > >> > >
> > >> > > I just tried your changes and I have same issue. I need to
> > >> > > understand what has change enough significantly that it causes
> > >> > > compilation fail in such way. It doesn't happen with SDK
> > >> > > prepared by
> > >> ANT.
> > >> > >
> > >> > > Thanks,
> > >> > > Piotr
> > >> > >
> > >> > > pt., 19 lut 2021 o 10:33 Maria Jose Esteve <mj...@iest.com>
> > >> > napisał(a):
> > >> > >
> > >> > > > @Chris you're right, sorry, I didn't download your last commit.
> > >> > > > I'm sorry.
> > >> > > > Hiedra.
> > >> > > >
> > >> > > > -----Mensaje original-----
> > >> > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > >> > > > viernes,
> > >> > > > 19 de febrero de 2021 10:17
> > >> > > > Para: dev@royale.apache.org
> > >> > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > >> > > > distribution
> > >> > > >
> > >> > > > I'll try to guess what you wanted to say here ...
> > >> > > >
> > >> > > > But I think these are exactly the changes I comitted a an
> > >> > > > hour ago,
> > >> > > right?
> > >> > > > At least in general I replaced all the references to names
> > >> > > > with versions to the changed ones.
> > >> > > >
> > >> > > >
> > >> > > > Chris
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > > -----Ursprüngliche Nachricht-----
> > >> > > > Von: Maria Jose Esteve <mj...@iest.com>
> > >> > > > Gesendet: Freitag, 19. Februar 2021 10:01
> > >> > > > An: dev@royale.apache.org
> > >> > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > >> > > > distribution
> > >> > > >
> > >> > > > Hi,
> > >> > > > Mi distribución hace referencia en el fichero
> > >> > > > "./frameworks/royale-config.xml" a las librerías:
> > >> > > >
> > >> > > > <js-external-library-path>
> > >> > > >
> > >> > > >
> > <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.
> > >> > > > sw
> > >> > > > c</path-element>
> > >> > > >
> > >> > > >
> > >> > > <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typ
> > >> > > ed
> > >> > > efs
> > >> > > .s
> > >> > > wc</path-element>
> > >> > > > </js-external-library-path>
> > >> > > >
> > >> > > > Las correctas son:
> > >> > > >
> > >> > > > <js-external-library-path>
> > >> > > >
> > >> > <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> > >> > > >
> > >> > <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
> > >> > > > </js-external-library-path>
> > >> > > >
> > >> > > > Hiedra
> > >> > > >
> > >> > > > -----Mensaje original-----
> > >> > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > >> > > > viernes,
> > >> > > > 19 de febrero de 2021 9:39
> > >> > > > Para: dev@royale.apache.org
> > >> > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > >> > > > distribution
> > >> > > >
> > >> > > > Ok,
> > >> > > >
> > >> > > > so the config xml files in the distribution were still
> > >> > > > pointing to the old names. I updated them all to now refer to
> the names.
> > >> > > > I tried things in Carlos' demo project, and I'm no-longer
> > >> > > > getting the errors, however compilation seems to take for ever.
> > >> > > >
> > >> > > > Please try out the changes and tell me if there are any
> > >> > > > problems with
> > >> > > them.
> > >> > > >
> > >> > > > Chris
> > >> > > >
> > >> > > > -----Ursprüngliche Nachricht-----
> > >> > > > Von: Christofer Dutz <ch...@c-ware.de>
> > >> > > > Gesendet: Donnerstag, 18. Februar 2021 23:17
> > >> > > > An: dev@royale.apache.org
> > >> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > >> > > > distribution
> > >> > > >
> > >> > > > Hi Carlos,
> > >> > > >
> > >> > > > I'll look into this tomorrow.
> > >> > > >
> > >> > > > Chris
> > >> > > >
> > >> > > > -----Ursprüngliche Nachricht-----
> > >> > > > Von: Carlos Rovira <ca...@apache.org>
> > >> > > > Gesendet: Donnerstag, 18. Februar 2021 17:49
> > >> > > > An: Apache Royale Development <de...@royale.apache.org>
> > >> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > > > distribution
> > >> > > >
> > >> > > > Hi, I think I talked very quickly, sorry, there seems to be a
> > >> problem.
> > >> > > >
> > >> > > > @Christofer Dutz <ch...@c-ware.de> you can download
> > >> > > > this
> > >> > > > project:
> > >> > > >
> > >> > > >
> > >> > > > https://github.com/apache/royale-asjs/files/6004363/ToggleBut
> > >> > > > to
> > >> > > > nBa
> > >> > > > rI
> > >> > > > ss
> > >> > > > ue.zip
> > >> > > >
> > >> > > > Then using VSCode with AS3&MXML and adding the Maven
> distribution.
> > >> > > > Then hit CTRL+ENTER and you will get the following fail.
> > >> > > > Using ANT distribution is working fine.
> > >> > > > Can you take a look?
> > >> > > >
> > >> > > > Royale Compiler Shell
> > >> > > > (fcsh) mxmlc --debug=false +configname=royale
> > >> > > > --targets=JSRoyale --source-map=true
> > >> > > > --html-template=src/html/jewel-example-index-template.html
> > >> > > >
> > >> > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire
> > >> > > > -T
> > >> > > > hem
> > >> > > > e/
> > >> > > > sr
> > >> > > > c/main/resources/defaults.css
> > >> > > > --source-path+=src
> > >> > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJS
> > >> > > > --source-path+--library-path+.s wc
> > >> > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > >> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> > >> > > > cs s -js-dynamic-access-unknown-members=true -- src/App.mxml
> > >> > > > fcsh: Assigned 1 as the compile target id The project 'App'
> > >> > > > has been successfully compiled and optimized.
> > >> > > > Compile status: 0
> > >> > > > Elapsed time: 14.211105399 seconds Feb 18, 2021 5:43:40 PM
> > >> > > > com.google.javascript.jscomp.LoggerErrorManager
> > >> > > > printSummary
> > >> > > > INFO: 0 error(s), 0 warning(s), 96.5% typed
> > >> > > > (fcsh) quit
> > >> > > > Compiler shell exited with code: 0 Royale Compiler Shell
> > >> > > > (fcsh) mxmlc --debug=false +configname=royale
> > >> > > > --targets=JSRoyale --source-map=true
> > >> > > > --html-template=src/html/jewel-example-index-template.html
> > >> > > >
> > >> > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire
> > >> > > > -T
> > >> > > > hem
> > >> > > > e/
> > >> > > > sr
> > >> > > > c/main/resources/defaults.css
> > >> > > > --source-path+=src
> > >> > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJS
> > >> > > > --source-path+--library-path+.s wc
> > >> > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > >> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> > >> > > > cs s -js-dynamic-access-unknown-members=true -- src/App.mxml
> > >> > > > fcsh: Assigned 1 as the compile target id Compile status: 5
> > >> > > > Elapsed
> > >> > time:
> > >> > > > 0.618407478 seconds
> > >> > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > >> > > > col: 0 Error: unable to open
> > >> > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
> > >> > > >
> > >> > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frame
> > >> > > > wo
> > >> > > > rks
> > >> > > > /r
> > >> > > > oy
> > >> > > > ale-config.xml
> > >> > > > (line: 81)
> > >> > > >
> > >> > > > </js-external-library-path>
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > >> > > > col: 0 Error: unable to open
> > >> > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
> > >> > > >
> > >> > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frame
> > >> > > > wo
> > >> > > > rks
> > >> > > > /r
> > >> > > > oy
> > >> > > > ale-config.xml
> > >> > > > (line: 81)
> > >> > > >
> > >> > > > </js-external-library-path>
> > >> > > > (fcsh)
> > >> > > > Quick Compile failed. Errors in compiler output.
> > >> > > >
> > >> > > > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
> > >> > > > (<ca...@apache.org>)
> > >> > > > escribió:
> > >> > > >
> > >> > > > > Hi,
> > >> > > > >
> > >> > > > > I rebuilt all from scratch just now and finally the
> > >> > > > > distribution too and tried in VSCode and all seems to work
> > >> > > > > fine
> > for me.
> > >> > > > >
> > >> > > > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> > >> > > > > christofer.dutz@c-ware.de>) escribió:
> > >> > > > >
> > >> > > > >> Hi Piotr,
> > >> > > > >>
> > >> > > > >> that class is located in lib\external\flex-tool-api.jar At
> > >> > > > >> least in my distribution it's there and it contains the
> class.
> > >> > > > >>
> > >> > > > >> How are you calling the build that's failing?
> > >> > > > >>
> > >> > > > >> Chris
> > >> > > > >>
> > >> > > > >> -----Ursprüngliche Nachricht-----
> > >> > > > >> Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > > > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> > >> > > > >> An: Apache Royale Development <de...@royale.apache.org>
> > >> > > > >> Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > > > >> distribution
> > >> > > > >>
> > >> > > > >> Chris,
> > >> > > > >>
> > >> > > > >> I just checked and I'm not able build project anymore
> > >> > > > >> using
> > >> > > > distribution:
> > >> > > > >>
> > >> > > > >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
> > >> > > > >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
> > >> > > > >> -Xms356m -Xmx3000m
> > >> > > > >> : Error: Could not find or load main class
> > >> > > > >> org.apache.royale.compiler.clients.MXMLJSC
> > >> > > > >> : Caused by: java.lang.NoClassDefFoundError:
> > >> > > > >> org/apache/flex/tools/FlexTool
> > >> > > > >>
> > >> > > > >> I'm done for today, so I will answer anything tomorrow.
> > >> > > > >>
> > >> > > > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
> > >> > > > >> <ch...@c-ware.de>
> > >> > > > >> napisał(a):
> > >> > > > >>
> > >> > > > >> > Ok ...
> > >> > > > >> >
> > >> > > > >> > so I just pushed another change. Now the distribution
> > >> > > > >> > should also contain an empty spark.css, just like the
> > >> > > > >> > Ant
> > one.
> > >> > > > >> >
> > >> > > > >> > Chris
> > >> > > > >> >
> > >> > > > >> >
> > >> > > > >> > -----Ursprüngliche Nachricht-----
> > >> > > > >> > Von: Christofer Dutz <ch...@c-ware.de>
> > >> > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> > >> > > > >> > An: dev@royale.apache.org
> > >> > > > >> > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > >> > > > >> > distribution
> > >> > > > >> >
> > >> > > > >> > Ok,
> > >> > > > >> >
> > >> > > > >> > so that should now be fixed. Leaves the "spark.css"
> > >> > > > >> > Having had a look, it seems as if the Ant build creates
> > >> > > > >> > an empty
> > >> > > > >> spark.css.
> > >> > > > >> >
> > >> > > > >> > Is this all we need? If yes, then I'll have that in ther
> > >> > > > >> > in no
> > >> > time.
> > >> > > > >> >
> > >> > > > >> > Chris
> > >> > > > >> >
> > >> > > > >> > -----Ursprüngliche Nachricht-----
> > >> > > > >> > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> > >> > > > >> > An: Apache Royale Development <de...@royale.apache.org>
> > >> > > > >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > > > >> > distribution
> > >> > > > >> >
> > >> > > > >> > *(I assume that's in the "frameworks/js/libs" directory?
> > >> > > > >> > *
> > >> > > > >> >
> > >> > > > >> > Yes this is the directory.
> > >> > > > >> >
> > >> > > > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> > >> > > > >> > <ch...@c-ware.de>
> > >> > > > >> > napisał(a):
> > >> > > > >> >
> > >> > > > >> > > Hi Piotr,
> > >> > > > >> > >
> > >> > > > >> > > Ok ... so Ant seems to be adding a "JS" to the end of
> > >> > > > >> > > every name (I assume that's in the "frameworks/js/libs"
> > directory?
> > >> > > > >> > >
> > >> > > > >> > > Also I'll try to find out where the "spark.css" should
> > >> > > > >> > > come from
> > >> > > ...
> > >> > > > >> > > and where it should go to.
> > >> > > > >> > >
> > >> > > > >> > > Chris
> > >> > > > >> > >
> > >> > > > >> > >
> > >> > > > >> > > -----Ursprüngliche Nachricht-----
> > >> > > > >> > > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > > > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> > >> > > > >> > > An: Apache Royale Development <de...@royale.apache.org>
> > >> > > > >> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > > > >> > > distribution
> > >> > > > >> > >
> > >> > > > >> > > Chris,
> > >> > > > >> > >
> > >> > > > >> > > Looks better but here is the comparision what I have
> > >> > > > >> > > in Ant distribution vs Maven distribution in case of
> names.
> > >> > > > >> > > On the left Ant distribution, on the right Maven. It
> > >> > > > >> > > is
> > folder:
> > >> > > > >> > > frameworks\js\libs\ [1]
> > >> > > > >> > >
> > >> > > > >> > > [1] https://ibb.co/W2DzcDb
> > >> > > > >> > >
> > >> > > > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> > >> > > > >> > > <ch...@c-ware.de>
> > >> > > > >> > > napisał(a):
> > >> > > > >> > >
> > >> > > > >> > > > And done ...
> > >> > > > >> > > >
> > >> > > > >> > > > Now all elements in the distribution only consist of
> > >> > > > >> > > > their name and file-ending ... all versions and
> > >> > > > >> > > > classifiers have been
> > >> > > > removed.
> > >> > > > >> > > > Please provide me with feedback on if this solves
> > >> > > > >> > > > the
> > >> issues.
> > >> > > > >> > > >
> > >> > > > >> > > > Chris
> > >> > > > >> > > >
> > >> > > > >> > > >
> > >> > > > >> > > > -----Ursprüngliche Nachricht-----
> > >> > > > >> > > > Von: Christofer Dutz <ch...@c-ware.de>
> > >> > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> > >> > > > >> > > > An: dev@royale.apache.org
> > >> > > > >> > > > Betreff: AW: Align Maven IDE distribution with Ant
> > >> > > > >> > > > IDE distribution
> > >> > > > >> > > >
> > >> > > > >> > > > I'll probably have a fix for that in a few minuntes ...
> > >> > > > >> > > >
> > >> > > > >> > > >
> > >> > > > >> > > > Chris
> > >> > > > >> > > >
> > >> > > > >> > > >
> > >> > > > >> > > > -----Ursprüngliche Nachricht-----
> > >> > > > >> > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> > >> > > > >> > > > An: Apache Royale Development
> > >> > > > >> > > > <de...@royale.apache.org>
> > >> > > > >> > > > Betreff: Re: Align Maven IDE distribution with Ant
> > >> > > > >> > > > IDE distribution
> > >> > > > >> > > >
> > >> > > > >> > > > Chris,
> > >> > > > >> > > >
> > >> > > > >> > > > No it's not about not picking up by IDE at all.
> > >> > > > >> > > > Moonshine and VSCode are able to build projects
> > >> > > > >> > > > using Maven distribution package! It is about
> > >> > > > >> > > > project which are mixed for example when user wanted
> > >> > > > >> > > > to use Jewel module + RemoteObject class from
> > >> > > > >> > > > MXRoyale module. In that case user need to point
> > >> > > > >> > > > explicilty as a compiler options in IDE that he
> > >> > > > >> > > > wanted to have SWC included and need to exclude css
> > >> > > > >> > > > from that swc to
> > >> > > > >> > > avoid problems.
> > >> > > > >> > > >
> > >> > > > >> > > > It is happen like that:
> > >> > > > >> > > >
> > >> > > > >> > > >
> > >> > > > >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.sw
> > >> > > > >> > > > -js-library-path+c
> > >> > > > >> > > >
> > >> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> > >> > > > >> > > > cs
> > >> > > > >> > > > s
> > >> > > > >> > > >
> > >> > > > >> > > > If I would like to use maven distribution user need
> > >> > > > >> > > > to know version for that compiler options. It is
> > >> > > > >> > > > even more tricky when your swc is called
> > >> > > > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> > >> > > > >> > > >
> > >> > > > >> > > >
> > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.
> > >> > > > >> > > > cs
> > >> > > > >> > > > s
> > >> > > > >> > > >
> > >> > > > >> > > > Thanks,
> > >> > > > >> > > > Piotr
> > >> > > > >> > > >
> > >> > > > >> > > >
> > >> > > > >> > > >
> > >> > > > >> > > >
> > >> > > > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> > >> > > > >> > > > <ch...@c-ware.de>
> > >> > > > >> > > > napisał(a):
> > >> > > > >> > > >
> > >> > > > >> > > > > Hi Piotr,
> > >> > > > >> > > > >
> > >> > > > >> > > > > And is really the version-suffix causing it to not
> > >> > > > >> > > > > be picked up by the IDEs?
> > >> > > > >> > > > >
> > >> > > > >> > > > > Chris
> > >> > > > >> > > > >
> > >> > > > >> > > > > -----Ursprüngliche Nachricht-----
> > >> > > > >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > > > >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> > >> > > > >> > > > > An: dev@royale.apache.org
> > >> > > > >> > > > > Betreff: Re: Align Maven IDE distribution with Ant
> > >> > > > >> > > > > IDE distribution
> > >> > > > >> > > > >
> > >> > > > >> > > > > Hi Chris,
> > >> > > > >> > > > >
> > >> > > > >> > > > > This is the only thing which seems to be a
> > >> > > > >> > > > > constant problem
> > >> > > > here.
> > >> > > > >> > > > > I personally and some users will be much more
> > >> > > > >> > > > > happy having that
> > >> > > > >> > change.
> > >> > > > >> > > > >
> > >> > > > >> > > > > Thanks,
> > >> > > > >> > > > > Piotr
> > >> > > > >> > > > >
> > >> > > > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> > >> > > > >> > > > > <ch...@c-ware.de>
> > >> > > > >> > > > > wrote:
> > >> > > > >> > > > >
> > >> > > > >> > > > > > Hi Piotr,
> > >> > > > >> > > > > >
> > >> > > > >> > > > > > I'd be happy to help with that.
> > >> > > > >> > > > > >
> > >> > > > >> > > > > > I did simply ask for a list of things that need
> > >> > > > >> > > > > > to be changed in order to get things working,
> > >> > > > >> > > > > > but never got said list, so I never knew what I
> > >> > > > >> > > > > > could do to make the Maven distribution match up
> > >> > > > >> > > > > > to the
> > >> > > > >> > > > Ant built one.
> > >> > > > >> > > > > >
> > >> > > > >> > > > > > Chris
> > >> > > > >> > > > > >
> > >> > > > >> > > > > >
> > >> > > > >> > > > > > -----Ursprüngliche Nachricht-----
> > >> > > > >> > > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > > > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> > >> > > > >> > > > > > An: Apache Royale Development
> > >> > > > >> > > > > > <de...@royale.apache.org>
> > >> > > > >> > > > > > Betreff: Align Maven IDE distribution with Ant
> > >> > > > >> > > > > > IDE distribution
> > >> > > > >> > > > > >
> > >> > > > >> > > > > > Hi Guys,
> > >> > > > >> > > > > >
> > >> > > > >> > > > > > It's been couple of times when user complains
> > >> > > > >> > > > > > that he have problems with using Maven
> > >> > > > >> > > > > > distribution vs Ant distribution in IDE in a
> > >> > > > >> > > > > > mixed project Jewel + MX/Spark
> > >> > etc.
> > >> > > > >> > > > > >
> > >> > > > >> > > > > > Can we have that resolve once for all and adjust
> > >> > > > >> > > > > > Maven distribution folder to produce proper
> > >> > > > >> > > > > > names of
> > >> swcs ?
> > >> > > > >> > > > > >
> > >> > > > >> > > > > > Currently when I build Maven IDE distribution I
> have:
> > >> > > > >> > > > > >
> > >> > > > >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> > >> > > > >> > > > > >
> > >> > > > >> > > > > > When I build Ant IDE distribution I have:
> > >> > > > >> > > > > >
> > >> > > > >> > > > > > MXRoyale-js.swc
> > >> > > > >> > > > > >
> > >> > > > >> > > > > > Thanks,
> > >> > > > >> > > > > > --
> > >> > > > >> > > > > >
> > >> > > > >> > > > > > Piotr Zarzycki
> > >> > > > >> > > > > >
> > >> > > > >> > > > > --
> > >> > > > >> > > > >
> > >> > > > >> > > > > Piotr Zarzycki
> > >> > > > >> > > > >
> > >> > > > >> > > >
> > >> > > > >> > > >
> > >> > > > >> > > > --
> > >> > > > >> > > >
> > >> > > > >> > > > Piotr Zarzycki
> > >> > > > >> > > >
> > >> > > > >> > >
> > >> > > > >> > >
> > >> > > > >> > > --
> > >> > > > >> > >
> > >> > > > >> > > Piotr Zarzycki
> > >> > > > >> > >
> > >> > > > >> >
> > >> > > > >> >
> > >> > > > >> > --
> > >> > > > >> >
> > >> > > > >> > Piotr Zarzycki
> > >> > > > >> >
> > >> > > > >>
> > >> > > > >>
> > >> > > > >> --
> > >> > > > >>
> > >> > > > >> Piotr Zarzycki
> > >> > > > >>
> > >> > > > >
> > >> > > > >
> > >> > > > > --
> > >> > > > > Carlos Rovira
> > >> > > > > Apache Member & Apache Royale PMC *Apache Software
> > >> > > > > Foundation* http://about.me/carlosrovira
> > >> > > > >
> > >> > > > >
> > >> > > >
> > >> > > > --
> > >> > > > Carlos Rovira
> > >> > > > Apache Member & Apache Royale PMC *Apache Software
> > >> > > > Foundation* http://about.me/carlosrovira
> > >> > > >
> > >> > >
> > >> > >
> > >> > > --
> > >> > >
> > >> > > Piotr Zarzycki
> > >> > >
> > >> >
> > >> >
> > >> > --
> > >> >
> > >> > Piotr Zarzycki
> > >> >
> > >>
> > >>
> > >> --
> > >>
> > >> Piotr Zarzycki
> > >>
> > >
> > >
> > > --
> > >
> > > Piotr Zarzycki
> > >
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
>
>
> --
>
> Piotr Zarzycki
>
--
Piotr Zarzycki
AW: Align Maven IDE distribution with Ant IDE distribution
Posted by Christofer Dutz <ch...@c-ware.de>.
As far as I understood it was never usable for people using IDEs or Ant.
I thought that's what we're working on here?
Or did I mis-understand something here?
Chris
-----Ursprüngliche Nachricht-----
Von: Piotr Zarzycki <pi...@gmail.com>
Gesendet: Freitag, 19. Februar 2021 15:49
An: Apache Royale Development <de...@royale.apache.org>
Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
I need newest compiler version for my projects - if that what you are asking.
In the other word distribution is not usable right now with Nightly ?
pt., 19 lut 2021 o 15:42 Christofer Dutz <ch...@c-ware.de>
napisał(a):
> And instantly after sending off the email I found the reason:
>
> It's actually due to the fact that we are in this strange transition
> state with a half done release and compiler and framework being out of
> sync. I think I better change the versions of the "repackaged compiler artifacts"
> to actually have the compiler version and not the ASJS version :-(
>
> Right now I'm creating the correct jars but packing in the old ones.
>
> Why are we actually in this intermediate state?
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Christofer Dutz <ch...@c-ware.de>
> Gesendet: Freitag, 19. Februar 2021 15:39
> An: dev@royale.apache.org
> Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
>
> Ok ... so I had a look at the jars created by the modules in:
>
> royale-asjs\distribution\jars\compc
>
> These contain my changes ... however in the distribution for some
> strange reason they do not contain them.
>
> I'll investigate.
>
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Christofer Dutz <ch...@c-ware.de>
> Gesendet: Freitag, 19. Februar 2021 15:31
> An: dev@royale.apache.org
> Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
>
> Hi Piotr,
>
> then just ignore my mumbling ... seems things have changed slightly in
> Maven ... good for us ... makes things simpler. But gotta remember
> that. So sorry for the noise.
>
> Well I haven't built anything with the SDK as I don't know how I would
> actually call it (I have allways just used Maven for that).
> That's why I asked for the command you use to compile ...
>
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Piotr Zarzycki <pi...@gmail.com>
> Gesendet: Freitag, 19. Februar 2021 15:06
> An: Apache Royale Development <de...@royale.apache.org>
> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>
> Chris,
>
> No change after your latest push I still have the same error. Did you
> try build yourself distribution and build some hello world ?
>
> pt., 19 lut 2021 o 15:04 Piotr Zarzycki <pi...@gmail.com>
> napisał(a):
>
> > I don't understand what you are saying here at all. I know that when
> > I do -DdistributionTargetFolder - I'm getting distribution build in
> > a folder which I wanted to, so what it actually does ?
> >
> > pt., 19 lut 2021 o 15:00 Christofer Dutz <ch...@c-ware.de>
> > napisał(a):
> >
> >> Well actually is doesn set an Environmet Variable,
> >>
> >> It's more or less the other way around ... an Environment Variable
> >> can initialize a property in maven, but not the other way around.
> >> And the magic for creating the directory distribution usualy only
> >> kicks in if you set an environment variable. But if your directory
> >> is not empty, just ignore my mumbling, then something has changed
> >> in Maven
> >>
> >> Chris
> >>
> >> -----Ursprüngliche Nachricht-----
> >> Von: Piotr Zarzycki <pi...@gmail.com>
> >> Gesendet: Freitag, 19. Februar 2021 14:50
> >> An: Apache Royale Development <de...@royale.apache.org>
> >> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> >>
> >> I'm pointing an empty directory called distribution. Prefix -D sets
> >> for me temporary env variable -> -DdistributionTargetFolder=path
> >>
> >> pt., 19 lut 2021 o 14:48 Christofer Dutz
> >> <ch...@c-ware.de>
> >> napisał(a):
> >>
> >> > Does this creat the directory?
> >> >
> >> > Cause I think you have to set an Environment Variable:
> >> >
> >> > set distributionTargetFolder=d:\Work\royale_ide\distribution
> >> >
> >> > mvn clean install
> >> >
> >> > Chris
> >> >
> >> >
> >> > -----Ursprüngliche Nachricht-----
> >> > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > Gesendet: Freitag, 19. Februar 2021 14:41
> >> > An: Apache Royale Development <de...@royale.apache.org>
> >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > distribution
> >> >
> >> > I have executed something like that cause I didn't know that it
> >> > will use default compiler 0.9.9-SNAPSHOT
> >> >
> >> > mvn clean install -Droyale.compiler.version=0.9.9-SNAPSHOT
> >> > -DdistributionTargetFolder=d:\Work\royale_ide\distribution
> >> >
> >> > pt., 19 lut 2021 o 14:26 Christofer Dutz
> >> > <ch...@c-ware.de>
> >> > napisał(a):
> >> >
> >> > > Hi all,
> >> > >
> >> > > so I just pushed another change to the distribution that should
> >> > > fix the classpath problem.
> >> > >
> >> > > Piotr ... could you please try again? And if you send me the
> >> > > command you always axecute, I could test it on my side.
> >> > >
> >> > > Chris
> >> > >
> >> > >
> >> > > -----Ursprüngliche Nachricht-----
> >> > > Von: Christofer Dutz <ch...@c-ware.de>
> >> > > Gesendet: Freitag, 19. Februar 2021 14:12
> >> > > An: dev@royale.apache.org
> >> > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> >> > > distribution
> >> > >
> >> > > Hi Hiedra,
> >> > >
> >> > > well I changed the distribution to make the names like in the
> >> > > ANT distribution yesterday.
> >> > > But you are passing in an argument telling the compiler to use
> >> > > the old format and now it should be the new ...
> >> > >
> >> > > Try:
> >> > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> >> > > defaults.css; For -compiler.exclude-defaults-css-files =
> MXRoyaleJS.swc:
> >> > > defaults.css;
> >> > >
> >> > > Instead of your variant.
> >> > >
> >> > > Chris
> >> > >
> >> > >
> >> > > -----Ursprüngliche Nachricht-----
> >> > > Von: Maria Jose Esteve <mj...@iest.com>
> >> > > Gesendet: Freitag, 19. Februar 2021 14:08
> >> > > An: dev@royale.apache.org
> >> > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> >> > > distribution
> >> > >
> >> > > Yes, until recently I also compiled only with Maven. Due to the
> >> > > problem with the spark.css I started to do the double
> >> > > compilation of
> >> > MAVEN and ANT.
> >> > >
> >> > > It's funny, now, the swc's are not generated with
> >> > > "xxxx-0.9.8-SNAPSHOT-js.swc" in the distribution BUT if in the
> >> > > pom of my project I change in additionalCompilerOptions:
> >> > > -compiler.exclude-defaults-css-files = MXRoyale - $
> >> > > {royale.framework.version} -js.swc: defaults.css; For
> >> > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> >> > > defaults.css; My application starts to do nonsense (for example
> >> > > the change of selectedContent in my ApplicationMainContent does
> >> > > not display)
> >> > >
> >> > > Chris, thank you.
> >> > > Hiedra
> >> > >
> >> > > -----Mensaje original-----
> >> > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> >> > > viernes,
> >> > > 19 de febrero de 2021 13:09
> >> > > Para: dev@royale.apache.org
> >> > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> >> > > distribution
> >> > >
> >> > > Hi Hiedra,
> >> > >
> >> > > I have to admit that I've never used VSCode. Every time I do
> >> > > any development I usually use one of the JetBrains IDEs.
> >> > > Royale Stuff I do in IntelliJ ... with my "Flexmojos Hack" it
> >> > > can be used quite well. And I always compile with Maven.
> >> > >
> >> > > But thanks for the explanation on why the other path is set
> >> differently.
> >> > >
> >> > > I guess we'll have to wait till some others can tell me what
> >> > > needs to be changed.
> >> > >
> >> > > Chris
> >> > >
> >> > >
> >> > > -----Ursprüngliche Nachricht-----
> >> > > Von: Maria Jose Esteve <mj...@iest.com>
> >> > > Gesendet: Freitag, 19. Februar 2021 12:48
> >> > > An: dev@royale.apache.org
> >> > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> >> > > distribution
> >> > >
> >> > > Hello Chris,
> >> > > so that I can debug my changes in the SDK I need to set the
> >> > > path of the "as3mxml.sdk.editor" to the asjs directory of my
> >> > > fork, for this reason the path of the " as3mxml.sdk.framework"
> >> > > points to the directory of the maven distribution and the
> >> > > "as3mxml.sdk.editor" to
> >> code.
> >> > >
> >> > > ">> I'm not getting any errors from VSCode. But well ... if I
> >> > > hit
> >> > > SHIFT+Enter it starts doing something where if failed prior to
> >> > > SHIFT+my
> >> > > >> changes this morning and is no longer complaining, but it's
> >> > > >> also not
> >> > > doing much (I can't see it create a "bin" directory)"
> >> > >
> >> > > I don't quite understand this ... possibly because of my lack
> >> > > of
> >> > knowledge.
> >> > >
> >> > > I have not tried Carlos's project but this afternoon I will be
> >> > > able to do it and I will be able to give more details.
> >> > >
> >> > > Thx.
> >> > > Hiedra.
> >> > >
> >> > > -----Mensaje original-----
> >> > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> >> > > viernes,
> >> > > 19 de febrero de 2021 11:51
> >> > > Para: dev@royale.apache.org
> >> > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> >> > > distribution
> >> > >
> >> > > Hi Heidra,
> >> > >
> >> > > I just updated Carlos' example to have the same type of setting
> >> > > (C:\\Temp\\RoyaleSDK is where I have my Maven build generate
> >> > > the
> SDK):
> >> > >
> >> > > setings.js:
> >> > > {
> >> > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> >> > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> >> > > }
> >> > >
> >> > > workspace-code-workspace
> >> > > {
> >> > > "folders": [
> >> > > {
> >> > > "path": ".."
> >> > > }
> >> > > ],
> >> > > "settings": {
> >> > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> >> > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> >> > > }
> >> > > }
> >> > >
> >> > > I'm not getting any errors from VSCode. But well ... if I hit
> >> > > SHIFT+Enter it starts doing something where if failed prior to
> >> > > SHIFT+my
> >> > > changes this morning and is no longer complaining, but it's
> >> > > also not doing much (I can't see it create a "bin" directory)
> >> > >
> >> > > Chris
> >> > >
> >> > >
> >> > > -----Ursprüngliche Nachricht-----
> >> > > Von: Maria Jose Esteve <mj...@iest.com>
> >> > > Gesendet: Freitag, 19. Februar 2021 10:53
> >> > > An: dev@royale.apache.org
> >> > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> >> > > distribution
> >> > >
> >> > > If I don't compile with ANT, the mxml extension in vsCode IDE,
> >> > > it doesn't recognize the valid asjs directory for "as3mxml.sdk.editor":
> >> > > ...
> >> > > "settings": {
> >> > > "as3mxml.sdk.framework":
> >> > > "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
> >> > > "as3mxml.sdk.editor":
> >> > > "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs"
> >> > > <-------- [download folder repo royale-asjs]
> >> > > }
> >> > > }
> >> > >
> >> > > The error is:
> >> > > " as3mxml.sdk.editor in settings does not point to a valid SDK.
> >> > > Requires..."
> >> > >
> >> > > Thx.
> >> > > Hiedra.
> >> > >
> >> > > -----Mensaje original-----
> >> > > De: Piotr Zarzycki <pi...@gmail.com> Enviado el:
> >> > > viernes,
> >> > > 19 de febrero de 2021 10:44
> >> > > Para: Apache Royale Development <de...@royale.apache.org>
> >> > > Asunto: Re: Align Maven IDE distribution with Ant IDE
> >> > > distribution
> >> > >
> >> > > Hi Chris,
> >> > >
> >> > > I just tried your changes and I have same issue. I need to
> >> > > understand what has change enough significantly that it causes
> >> > > compilation fail in such way. It doesn't happen with SDK
> >> > > prepared by
> >> ANT.
> >> > >
> >> > > Thanks,
> >> > > Piotr
> >> > >
> >> > > pt., 19 lut 2021 o 10:33 Maria Jose Esteve <mj...@iest.com>
> >> > napisał(a):
> >> > >
> >> > > > @Chris you're right, sorry, I didn't download your last commit.
> >> > > > I'm sorry.
> >> > > > Hiedra.
> >> > > >
> >> > > > -----Mensaje original-----
> >> > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> >> > > > viernes,
> >> > > > 19 de febrero de 2021 10:17
> >> > > > Para: dev@royale.apache.org
> >> > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> >> > > > distribution
> >> > > >
> >> > > > I'll try to guess what you wanted to say here ...
> >> > > >
> >> > > > But I think these are exactly the changes I comitted a an
> >> > > > hour ago,
> >> > > right?
> >> > > > At least in general I replaced all the references to names
> >> > > > with versions to the changed ones.
> >> > > >
> >> > > >
> >> > > > Chris
> >> > > >
> >> > > >
> >> > > >
> >> > > > -----Ursprüngliche Nachricht-----
> >> > > > Von: Maria Jose Esteve <mj...@iest.com>
> >> > > > Gesendet: Freitag, 19. Februar 2021 10:01
> >> > > > An: dev@royale.apache.org
> >> > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> >> > > > distribution
> >> > > >
> >> > > > Hi,
> >> > > > Mi distribución hace referencia en el fichero
> >> > > > "./frameworks/royale-config.xml" a las librerías:
> >> > > >
> >> > > > <js-external-library-path>
> >> > > >
> >> > > >
> <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.
> >> > > > sw
> >> > > > c</path-element>
> >> > > >
> >> > > >
> >> > > <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typ
> >> > > ed
> >> > > efs
> >> > > .s
> >> > > wc</path-element>
> >> > > > </js-external-library-path>
> >> > > >
> >> > > > Las correctas son:
> >> > > >
> >> > > > <js-external-library-path>
> >> > > >
> >> > <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> >> > > >
> >> > <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
> >> > > > </js-external-library-path>
> >> > > >
> >> > > > Hiedra
> >> > > >
> >> > > > -----Mensaje original-----
> >> > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> >> > > > viernes,
> >> > > > 19 de febrero de 2021 9:39
> >> > > > Para: dev@royale.apache.org
> >> > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> >> > > > distribution
> >> > > >
> >> > > > Ok,
> >> > > >
> >> > > > so the config xml files in the distribution were still
> >> > > > pointing to the old names. I updated them all to now refer to the names.
> >> > > > I tried things in Carlos' demo project, and I'm no-longer
> >> > > > getting the errors, however compilation seems to take for ever.
> >> > > >
> >> > > > Please try out the changes and tell me if there are any
> >> > > > problems with
> >> > > them.
> >> > > >
> >> > > > Chris
> >> > > >
> >> > > > -----Ursprüngliche Nachricht-----
> >> > > > Von: Christofer Dutz <ch...@c-ware.de>
> >> > > > Gesendet: Donnerstag, 18. Februar 2021 23:17
> >> > > > An: dev@royale.apache.org
> >> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> >> > > > distribution
> >> > > >
> >> > > > Hi Carlos,
> >> > > >
> >> > > > I'll look into this tomorrow.
> >> > > >
> >> > > > Chris
> >> > > >
> >> > > > -----Ursprüngliche Nachricht-----
> >> > > > Von: Carlos Rovira <ca...@apache.org>
> >> > > > Gesendet: Donnerstag, 18. Februar 2021 17:49
> >> > > > An: Apache Royale Development <de...@royale.apache.org>
> >> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > > > distribution
> >> > > >
> >> > > > Hi, I think I talked very quickly, sorry, there seems to be a
> >> problem.
> >> > > >
> >> > > > @Christofer Dutz <ch...@c-ware.de> you can download
> >> > > > this
> >> > > > project:
> >> > > >
> >> > > >
> >> > > > https://github.com/apache/royale-asjs/files/6004363/ToggleBut
> >> > > > to
> >> > > > nBa
> >> > > > rI
> >> > > > ss
> >> > > > ue.zip
> >> > > >
> >> > > > Then using VSCode with AS3&MXML and adding the Maven distribution.
> >> > > > Then hit CTRL+ENTER and you will get the following fail.
> >> > > > Using ANT distribution is working fine.
> >> > > > Can you take a look?
> >> > > >
> >> > > > Royale Compiler Shell
> >> > > > (fcsh) mxmlc --debug=false +configname=royale
> >> > > > --targets=JSRoyale --source-map=true
> >> > > > --html-template=src/html/jewel-example-index-template.html
> >> > > >
> >> > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire
> >> > > > -T
> >> > > > hem
> >> > > > e/
> >> > > > sr
> >> > > > c/main/resources/defaults.css
> >> > > > --source-path+=src
> >> > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJS
> >> > > > --source-path+--library-path+.s wc
> >> > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> >> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> >> > > > cs s -js-dynamic-access-unknown-members=true -- src/App.mxml
> >> > > > fcsh: Assigned 1 as the compile target id The project 'App'
> >> > > > has been successfully compiled and optimized.
> >> > > > Compile status: 0
> >> > > > Elapsed time: 14.211105399 seconds Feb 18, 2021 5:43:40 PM
> >> > > > com.google.javascript.jscomp.LoggerErrorManager
> >> > > > printSummary
> >> > > > INFO: 0 error(s), 0 warning(s), 96.5% typed
> >> > > > (fcsh) quit
> >> > > > Compiler shell exited with code: 0 Royale Compiler Shell
> >> > > > (fcsh) mxmlc --debug=false +configname=royale
> >> > > > --targets=JSRoyale --source-map=true
> >> > > > --html-template=src/html/jewel-example-index-template.html
> >> > > >
> >> > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire
> >> > > > -T
> >> > > > hem
> >> > > > e/
> >> > > > sr
> >> > > > c/main/resources/defaults.css
> >> > > > --source-path+=src
> >> > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJS
> >> > > > --source-path+--library-path+.s wc
> >> > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> >> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> >> > > > cs s -js-dynamic-access-unknown-members=true -- src/App.mxml
> >> > > > fcsh: Assigned 1 as the compile target id Compile status: 5
> >> > > > Elapsed
> >> > time:
> >> > > > 0.618407478 seconds
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> >> > > > col: 0 Error: unable to open
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
> >> > > >
> >> > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frame
> >> > > > wo
> >> > > > rks
> >> > > > /r
> >> > > > oy
> >> > > > ale-config.xml
> >> > > > (line: 81)
> >> > > >
> >> > > > </js-external-library-path>
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> >> > > > col: 0 Error: unable to open
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
> >> > > >
> >> > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frame
> >> > > > wo
> >> > > > rks
> >> > > > /r
> >> > > > oy
> >> > > > ale-config.xml
> >> > > > (line: 81)
> >> > > >
> >> > > > </js-external-library-path>
> >> > > > (fcsh)
> >> > > > Quick Compile failed. Errors in compiler output.
> >> > > >
> >> > > > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
> >> > > > (<ca...@apache.org>)
> >> > > > escribió:
> >> > > >
> >> > > > > Hi,
> >> > > > >
> >> > > > > I rebuilt all from scratch just now and finally the
> >> > > > > distribution too and tried in VSCode and all seems to work
> >> > > > > fine
> for me.
> >> > > > >
> >> > > > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> >> > > > > christofer.dutz@c-ware.de>) escribió:
> >> > > > >
> >> > > > >> Hi Piotr,
> >> > > > >>
> >> > > > >> that class is located in lib\external\flex-tool-api.jar At
> >> > > > >> least in my distribution it's there and it contains the class.
> >> > > > >>
> >> > > > >> How are you calling the build that's failing?
> >> > > > >>
> >> > > > >> Chris
> >> > > > >>
> >> > > > >> -----Ursprüngliche Nachricht-----
> >> > > > >> Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> >> > > > >> An: Apache Royale Development <de...@royale.apache.org>
> >> > > > >> Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > > > >> distribution
> >> > > > >>
> >> > > > >> Chris,
> >> > > > >>
> >> > > > >> I just checked and I'm not able build project anymore
> >> > > > >> using
> >> > > > distribution:
> >> > > > >>
> >> > > > >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
> >> > > > >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
> >> > > > >> -Xms356m -Xmx3000m
> >> > > > >> : Error: Could not find or load main class
> >> > > > >> org.apache.royale.compiler.clients.MXMLJSC
> >> > > > >> : Caused by: java.lang.NoClassDefFoundError:
> >> > > > >> org/apache/flex/tools/FlexTool
> >> > > > >>
> >> > > > >> I'm done for today, so I will answer anything tomorrow.
> >> > > > >>
> >> > > > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
> >> > > > >> <ch...@c-ware.de>
> >> > > > >> napisał(a):
> >> > > > >>
> >> > > > >> > Ok ...
> >> > > > >> >
> >> > > > >> > so I just pushed another change. Now the distribution
> >> > > > >> > should also contain an empty spark.css, just like the
> >> > > > >> > Ant
> one.
> >> > > > >> >
> >> > > > >> > Chris
> >> > > > >> >
> >> > > > >> >
> >> > > > >> > -----Ursprüngliche Nachricht-----
> >> > > > >> > Von: Christofer Dutz <ch...@c-ware.de>
> >> > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> >> > > > >> > An: dev@royale.apache.org
> >> > > > >> > Betreff: AW: Align Maven IDE distribution with Ant IDE
> >> > > > >> > distribution
> >> > > > >> >
> >> > > > >> > Ok,
> >> > > > >> >
> >> > > > >> > so that should now be fixed. Leaves the "spark.css"
> >> > > > >> > Having had a look, it seems as if the Ant build creates
> >> > > > >> > an empty
> >> > > > >> spark.css.
> >> > > > >> >
> >> > > > >> > Is this all we need? If yes, then I'll have that in ther
> >> > > > >> > in no
> >> > time.
> >> > > > >> >
> >> > > > >> > Chris
> >> > > > >> >
> >> > > > >> > -----Ursprüngliche Nachricht-----
> >> > > > >> > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> >> > > > >> > An: Apache Royale Development <de...@royale.apache.org>
> >> > > > >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > > > >> > distribution
> >> > > > >> >
> >> > > > >> > *(I assume that's in the "frameworks/js/libs" directory?
> >> > > > >> > *
> >> > > > >> >
> >> > > > >> > Yes this is the directory.
> >> > > > >> >
> >> > > > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> >> > > > >> > <ch...@c-ware.de>
> >> > > > >> > napisał(a):
> >> > > > >> >
> >> > > > >> > > Hi Piotr,
> >> > > > >> > >
> >> > > > >> > > Ok ... so Ant seems to be adding a "JS" to the end of
> >> > > > >> > > every name (I assume that's in the "frameworks/js/libs"
> directory?
> >> > > > >> > >
> >> > > > >> > > Also I'll try to find out where the "spark.css" should
> >> > > > >> > > come from
> >> > > ...
> >> > > > >> > > and where it should go to.
> >> > > > >> > >
> >> > > > >> > > Chris
> >> > > > >> > >
> >> > > > >> > >
> >> > > > >> > > -----Ursprüngliche Nachricht-----
> >> > > > >> > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> >> > > > >> > > An: Apache Royale Development <de...@royale.apache.org>
> >> > > > >> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > > > >> > > distribution
> >> > > > >> > >
> >> > > > >> > > Chris,
> >> > > > >> > >
> >> > > > >> > > Looks better but here is the comparision what I have
> >> > > > >> > > in Ant distribution vs Maven distribution in case of names.
> >> > > > >> > > On the left Ant distribution, on the right Maven. It
> >> > > > >> > > is
> folder:
> >> > > > >> > > frameworks\js\libs\ [1]
> >> > > > >> > >
> >> > > > >> > > [1] https://ibb.co/W2DzcDb
> >> > > > >> > >
> >> > > > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> >> > > > >> > > <ch...@c-ware.de>
> >> > > > >> > > napisał(a):
> >> > > > >> > >
> >> > > > >> > > > And done ...
> >> > > > >> > > >
> >> > > > >> > > > Now all elements in the distribution only consist of
> >> > > > >> > > > their name and file-ending ... all versions and
> >> > > > >> > > > classifiers have been
> >> > > > removed.
> >> > > > >> > > > Please provide me with feedback on if this solves
> >> > > > >> > > > the
> >> issues.
> >> > > > >> > > >
> >> > > > >> > > > Chris
> >> > > > >> > > >
> >> > > > >> > > >
> >> > > > >> > > > -----Ursprüngliche Nachricht-----
> >> > > > >> > > > Von: Christofer Dutz <ch...@c-ware.de>
> >> > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> >> > > > >> > > > An: dev@royale.apache.org
> >> > > > >> > > > Betreff: AW: Align Maven IDE distribution with Ant
> >> > > > >> > > > IDE distribution
> >> > > > >> > > >
> >> > > > >> > > > I'll probably have a fix for that in a few minuntes ...
> >> > > > >> > > >
> >> > > > >> > > >
> >> > > > >> > > > Chris
> >> > > > >> > > >
> >> > > > >> > > >
> >> > > > >> > > > -----Ursprüngliche Nachricht-----
> >> > > > >> > > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> >> > > > >> > > > An: Apache Royale Development
> >> > > > >> > > > <de...@royale.apache.org>
> >> > > > >> > > > Betreff: Re: Align Maven IDE distribution with Ant
> >> > > > >> > > > IDE distribution
> >> > > > >> > > >
> >> > > > >> > > > Chris,
> >> > > > >> > > >
> >> > > > >> > > > No it's not about not picking up by IDE at all.
> >> > > > >> > > > Moonshine and VSCode are able to build projects
> >> > > > >> > > > using Maven distribution package! It is about
> >> > > > >> > > > project which are mixed for example when user wanted
> >> > > > >> > > > to use Jewel module + RemoteObject class from
> >> > > > >> > > > MXRoyale module. In that case user need to point
> >> > > > >> > > > explicilty as a compiler options in IDE that he
> >> > > > >> > > > wanted to have SWC included and need to exclude css
> >> > > > >> > > > from that swc to
> >> > > > >> > > avoid problems.
> >> > > > >> > > >
> >> > > > >> > > > It is happen like that:
> >> > > > >> > > >
> >> > > > >> > > >
> >> > > > >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.sw
> >> > > > >> > > > -js-library-path+c
> >> > > > >> > > >
> >> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> >> > > > >> > > > cs
> >> > > > >> > > > s
> >> > > > >> > > >
> >> > > > >> > > > If I would like to use maven distribution user need
> >> > > > >> > > > to know version for that compiler options. It is
> >> > > > >> > > > even more tricky when your swc is called
> >> > > > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> >> > > > >> > > >
> >> > > > >> > > >
> -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.
> >> > > > >> > > > cs
> >> > > > >> > > > s
> >> > > > >> > > >
> >> > > > >> > > > Thanks,
> >> > > > >> > > > Piotr
> >> > > > >> > > >
> >> > > > >> > > >
> >> > > > >> > > >
> >> > > > >> > > >
> >> > > > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> >> > > > >> > > > <ch...@c-ware.de>
> >> > > > >> > > > napisał(a):
> >> > > > >> > > >
> >> > > > >> > > > > Hi Piotr,
> >> > > > >> > > > >
> >> > > > >> > > > > And is really the version-suffix causing it to not
> >> > > > >> > > > > be picked up by the IDEs?
> >> > > > >> > > > >
> >> > > > >> > > > > Chris
> >> > > > >> > > > >
> >> > > > >> > > > > -----Ursprüngliche Nachricht-----
> >> > > > >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > > >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> >> > > > >> > > > > An: dev@royale.apache.org
> >> > > > >> > > > > Betreff: Re: Align Maven IDE distribution with Ant
> >> > > > >> > > > > IDE distribution
> >> > > > >> > > > >
> >> > > > >> > > > > Hi Chris,
> >> > > > >> > > > >
> >> > > > >> > > > > This is the only thing which seems to be a
> >> > > > >> > > > > constant problem
> >> > > > here.
> >> > > > >> > > > > I personally and some users will be much more
> >> > > > >> > > > > happy having that
> >> > > > >> > change.
> >> > > > >> > > > >
> >> > > > >> > > > > Thanks,
> >> > > > >> > > > > Piotr
> >> > > > >> > > > >
> >> > > > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> >> > > > >> > > > > <ch...@c-ware.de>
> >> > > > >> > > > > wrote:
> >> > > > >> > > > >
> >> > > > >> > > > > > Hi Piotr,
> >> > > > >> > > > > >
> >> > > > >> > > > > > I'd be happy to help with that.
> >> > > > >> > > > > >
> >> > > > >> > > > > > I did simply ask for a list of things that need
> >> > > > >> > > > > > to be changed in order to get things working,
> >> > > > >> > > > > > but never got said list, so I never knew what I
> >> > > > >> > > > > > could do to make the Maven distribution match up
> >> > > > >> > > > > > to the
> >> > > > >> > > > Ant built one.
> >> > > > >> > > > > >
> >> > > > >> > > > > > Chris
> >> > > > >> > > > > >
> >> > > > >> > > > > >
> >> > > > >> > > > > > -----Ursprüngliche Nachricht-----
> >> > > > >> > > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> >> > > > >> > > > > > An: Apache Royale Development
> >> > > > >> > > > > > <de...@royale.apache.org>
> >> > > > >> > > > > > Betreff: Align Maven IDE distribution with Ant
> >> > > > >> > > > > > IDE distribution
> >> > > > >> > > > > >
> >> > > > >> > > > > > Hi Guys,
> >> > > > >> > > > > >
> >> > > > >> > > > > > It's been couple of times when user complains
> >> > > > >> > > > > > that he have problems with using Maven
> >> > > > >> > > > > > distribution vs Ant distribution in IDE in a
> >> > > > >> > > > > > mixed project Jewel + MX/Spark
> >> > etc.
> >> > > > >> > > > > >
> >> > > > >> > > > > > Can we have that resolve once for all and adjust
> >> > > > >> > > > > > Maven distribution folder to produce proper
> >> > > > >> > > > > > names of
> >> swcs ?
> >> > > > >> > > > > >
> >> > > > >> > > > > > Currently when I build Maven IDE distribution I have:
> >> > > > >> > > > > >
> >> > > > >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> >> > > > >> > > > > >
> >> > > > >> > > > > > When I build Ant IDE distribution I have:
> >> > > > >> > > > > >
> >> > > > >> > > > > > MXRoyale-js.swc
> >> > > > >> > > > > >
> >> > > > >> > > > > > Thanks,
> >> > > > >> > > > > > --
> >> > > > >> > > > > >
> >> > > > >> > > > > > Piotr Zarzycki
> >> > > > >> > > > > >
> >> > > > >> > > > > --
> >> > > > >> > > > >
> >> > > > >> > > > > Piotr Zarzycki
> >> > > > >> > > > >
> >> > > > >> > > >
> >> > > > >> > > >
> >> > > > >> > > > --
> >> > > > >> > > >
> >> > > > >> > > > Piotr Zarzycki
> >> > > > >> > > >
> >> > > > >> > >
> >> > > > >> > >
> >> > > > >> > > --
> >> > > > >> > >
> >> > > > >> > > Piotr Zarzycki
> >> > > > >> > >
> >> > > > >> >
> >> > > > >> >
> >> > > > >> > --
> >> > > > >> >
> >> > > > >> > Piotr Zarzycki
> >> > > > >> >
> >> > > > >>
> >> > > > >>
> >> > > > >> --
> >> > > > >>
> >> > > > >> Piotr Zarzycki
> >> > > > >>
> >> > > > >
> >> > > > >
> >> > > > > --
> >> > > > > Carlos Rovira
> >> > > > > Apache Member & Apache Royale PMC *Apache Software
> >> > > > > Foundation* http://about.me/carlosrovira
> >> > > > >
> >> > > > >
> >> > > >
> >> > > > --
> >> > > > Carlos Rovira
> >> > > > Apache Member & Apache Royale PMC *Apache Software
> >> > > > Foundation* http://about.me/carlosrovira
> >> > > >
> >> > >
> >> > >
> >> > > --
> >> > >
> >> > > Piotr Zarzycki
> >> > >
> >> >
> >> >
> >> > --
> >> >
> >> > Piotr Zarzycki
> >> >
> >>
> >>
> >> --
> >>
> >> Piotr Zarzycki
> >>
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
>
>
> --
>
> Piotr Zarzycki
>
--
Piotr Zarzycki
Re: Align Maven IDE distribution with Ant IDE distribution
Posted by Piotr Zarzycki <pi...@gmail.com>.
I need newest compiler version for my projects - if that what you are
asking.
In the other word distribution is not usable right now with Nightly ?
pt., 19 lut 2021 o 15:42 Christofer Dutz <ch...@c-ware.de>
napisał(a):
> And instantly after sending off the email I found the reason:
>
> It's actually due to the fact that we are in this strange transition state
> with a half done release and compiler and framework being out of sync. I
> think I better change the versions of the "repackaged compiler artifacts"
> to actually have the compiler version and not the ASJS version :-(
>
> Right now I'm creating the correct jars but packing in the old ones.
>
> Why are we actually in this intermediate state?
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Christofer Dutz <ch...@c-ware.de>
> Gesendet: Freitag, 19. Februar 2021 15:39
> An: dev@royale.apache.org
> Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
>
> Ok ... so I had a look at the jars created by the modules in:
>
> royale-asjs\distribution\jars\compc
>
> These contain my changes ... however in the distribution for some strange
> reason they do not contain them.
>
> I'll investigate.
>
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Christofer Dutz <ch...@c-ware.de>
> Gesendet: Freitag, 19. Februar 2021 15:31
> An: dev@royale.apache.org
> Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
>
> Hi Piotr,
>
> then just ignore my mumbling ... seems things have changed slightly in
> Maven ... good for us ... makes things simpler. But gotta remember that. So
> sorry for the noise.
>
> Well I haven't built anything with the SDK as I don't know how I would
> actually call it (I have allways just used Maven for that).
> That's why I asked for the command you use to compile ...
>
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Piotr Zarzycki <pi...@gmail.com>
> Gesendet: Freitag, 19. Februar 2021 15:06
> An: Apache Royale Development <de...@royale.apache.org>
> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>
> Chris,
>
> No change after your latest push I still have the same error. Did you try
> build yourself distribution and build some hello world ?
>
> pt., 19 lut 2021 o 15:04 Piotr Zarzycki <pi...@gmail.com>
> napisał(a):
>
> > I don't understand what you are saying here at all. I know that when I
> > do -DdistributionTargetFolder - I'm getting distribution build in a
> > folder which I wanted to, so what it actually does ?
> >
> > pt., 19 lut 2021 o 15:00 Christofer Dutz <ch...@c-ware.de>
> > napisał(a):
> >
> >> Well actually is doesn set an Environmet Variable,
> >>
> >> It's more or less the other way around ... an Environment Variable
> >> can initialize a property in maven, but not the other way around.
> >> And the magic for creating the directory distribution usualy only
> >> kicks in if you set an environment variable. But if your directory is
> >> not empty, just ignore my mumbling, then something has changed in
> >> Maven
> >>
> >> Chris
> >>
> >> -----Ursprüngliche Nachricht-----
> >> Von: Piotr Zarzycki <pi...@gmail.com>
> >> Gesendet: Freitag, 19. Februar 2021 14:50
> >> An: Apache Royale Development <de...@royale.apache.org>
> >> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> >>
> >> I'm pointing an empty directory called distribution. Prefix -D sets
> >> for me temporary env variable -> -DdistributionTargetFolder=path
> >>
> >> pt., 19 lut 2021 o 14:48 Christofer Dutz <ch...@c-ware.de>
> >> napisał(a):
> >>
> >> > Does this creat the directory?
> >> >
> >> > Cause I think you have to set an Environment Variable:
> >> >
> >> > set distributionTargetFolder=d:\Work\royale_ide\distribution
> >> >
> >> > mvn clean install
> >> >
> >> > Chris
> >> >
> >> >
> >> > -----Ursprüngliche Nachricht-----
> >> > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > Gesendet: Freitag, 19. Februar 2021 14:41
> >> > An: Apache Royale Development <de...@royale.apache.org>
> >> > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> >> >
> >> > I have executed something like that cause I didn't know that it
> >> > will use default compiler 0.9.9-SNAPSHOT
> >> >
> >> > mvn clean install -Droyale.compiler.version=0.9.9-SNAPSHOT
> >> > -DdistributionTargetFolder=d:\Work\royale_ide\distribution
> >> >
> >> > pt., 19 lut 2021 o 14:26 Christofer Dutz
> >> > <ch...@c-ware.de>
> >> > napisał(a):
> >> >
> >> > > Hi all,
> >> > >
> >> > > so I just pushed another change to the distribution that should
> >> > > fix the classpath problem.
> >> > >
> >> > > Piotr ... could you please try again? And if you send me the
> >> > > command you always axecute, I could test it on my side.
> >> > >
> >> > > Chris
> >> > >
> >> > >
> >> > > -----Ursprüngliche Nachricht-----
> >> > > Von: Christofer Dutz <ch...@c-ware.de>
> >> > > Gesendet: Freitag, 19. Februar 2021 14:12
> >> > > An: dev@royale.apache.org
> >> > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> >> > > distribution
> >> > >
> >> > > Hi Hiedra,
> >> > >
> >> > > well I changed the distribution to make the names like in the ANT
> >> > > distribution yesterday.
> >> > > But you are passing in an argument telling the compiler to use
> >> > > the old format and now it should be the new ...
> >> > >
> >> > > Try:
> >> > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> >> > > defaults.css; For -compiler.exclude-defaults-css-files =
> MXRoyaleJS.swc:
> >> > > defaults.css;
> >> > >
> >> > > Instead of your variant.
> >> > >
> >> > > Chris
> >> > >
> >> > >
> >> > > -----Ursprüngliche Nachricht-----
> >> > > Von: Maria Jose Esteve <mj...@iest.com>
> >> > > Gesendet: Freitag, 19. Februar 2021 14:08
> >> > > An: dev@royale.apache.org
> >> > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> >> > > distribution
> >> > >
> >> > > Yes, until recently I also compiled only with Maven. Due to the
> >> > > problem with the spark.css I started to do the double compilation
> >> > > of
> >> > MAVEN and ANT.
> >> > >
> >> > > It's funny, now, the swc's are not generated with
> >> > > "xxxx-0.9.8-SNAPSHOT-js.swc" in the distribution BUT if in the
> >> > > pom of my project I change in additionalCompilerOptions:
> >> > > -compiler.exclude-defaults-css-files = MXRoyale - $
> >> > > {royale.framework.version} -js.swc: defaults.css; For
> >> > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> >> > > defaults.css; My application starts to do nonsense (for example
> >> > > the change of selectedContent in my ApplicationMainContent does
> >> > > not display)
> >> > >
> >> > > Chris, thank you.
> >> > > Hiedra
> >> > >
> >> > > -----Mensaje original-----
> >> > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> >> > > viernes,
> >> > > 19 de febrero de 2021 13:09
> >> > > Para: dev@royale.apache.org
> >> > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> >> > > distribution
> >> > >
> >> > > Hi Hiedra,
> >> > >
> >> > > I have to admit that I've never used VSCode. Every time I do any
> >> > > development I usually use one of the JetBrains IDEs.
> >> > > Royale Stuff I do in IntelliJ ... with my "Flexmojos Hack" it can
> >> > > be used quite well. And I always compile with Maven.
> >> > >
> >> > > But thanks for the explanation on why the other path is set
> >> differently.
> >> > >
> >> > > I guess we'll have to wait till some others can tell me what
> >> > > needs to be changed.
> >> > >
> >> > > Chris
> >> > >
> >> > >
> >> > > -----Ursprüngliche Nachricht-----
> >> > > Von: Maria Jose Esteve <mj...@iest.com>
> >> > > Gesendet: Freitag, 19. Februar 2021 12:48
> >> > > An: dev@royale.apache.org
> >> > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> >> > > distribution
> >> > >
> >> > > Hello Chris,
> >> > > so that I can debug my changes in the SDK I need to set the path
> >> > > of the "as3mxml.sdk.editor" to the asjs directory of my fork, for
> >> > > this reason the path of the " as3mxml.sdk.framework" points to
> >> > > the directory of the maven distribution and the
> >> > > "as3mxml.sdk.editor" to
> >> code.
> >> > >
> >> > > ">> I'm not getting any errors from VSCode. But well ... if I hit
> >> > > SHIFT+Enter it starts doing something where if failed prior to my
> >> > > >> changes this morning and is no longer complaining, but it's
> >> > > >> also not
> >> > > doing much (I can't see it create a "bin" directory)"
> >> > >
> >> > > I don't quite understand this ... possibly because of my lack of
> >> > knowledge.
> >> > >
> >> > > I have not tried Carlos's project but this afternoon I will be
> >> > > able to do it and I will be able to give more details.
> >> > >
> >> > > Thx.
> >> > > Hiedra.
> >> > >
> >> > > -----Mensaje original-----
> >> > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> >> > > viernes,
> >> > > 19 de febrero de 2021 11:51
> >> > > Para: dev@royale.apache.org
> >> > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> >> > > distribution
> >> > >
> >> > > Hi Heidra,
> >> > >
> >> > > I just updated Carlos' example to have the same type of setting
> >> > > (C:\\Temp\\RoyaleSDK is where I have my Maven build generate the
> SDK):
> >> > >
> >> > > setings.js:
> >> > > {
> >> > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> >> > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> >> > > }
> >> > >
> >> > > workspace-code-workspace
> >> > > {
> >> > > "folders": [
> >> > > {
> >> > > "path": ".."
> >> > > }
> >> > > ],
> >> > > "settings": {
> >> > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> >> > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> >> > > }
> >> > > }
> >> > >
> >> > > I'm not getting any errors from VSCode. But well ... if I hit
> >> > > SHIFT+Enter it starts doing something where if failed prior to my
> >> > > changes this morning and is no longer complaining, but it's also
> >> > > not doing much (I can't see it create a "bin" directory)
> >> > >
> >> > > Chris
> >> > >
> >> > >
> >> > > -----Ursprüngliche Nachricht-----
> >> > > Von: Maria Jose Esteve <mj...@iest.com>
> >> > > Gesendet: Freitag, 19. Februar 2021 10:53
> >> > > An: dev@royale.apache.org
> >> > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> >> > > distribution
> >> > >
> >> > > If I don't compile with ANT, the mxml extension in vsCode IDE, it
> >> > > doesn't recognize the valid asjs directory for "as3mxml.sdk.editor":
> >> > > ...
> >> > > "settings": {
> >> > > "as3mxml.sdk.framework":
> >> > > "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
> >> > > "as3mxml.sdk.editor":
> >> > > "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs" <--------
> >> > > [download folder repo royale-asjs]
> >> > > }
> >> > > }
> >> > >
> >> > > The error is:
> >> > > " as3mxml.sdk.editor in settings does not point to a valid SDK.
> >> > > Requires..."
> >> > >
> >> > > Thx.
> >> > > Hiedra.
> >> > >
> >> > > -----Mensaje original-----
> >> > > De: Piotr Zarzycki <pi...@gmail.com> Enviado el:
> >> > > viernes,
> >> > > 19 de febrero de 2021 10:44
> >> > > Para: Apache Royale Development <de...@royale.apache.org>
> >> > > Asunto: Re: Align Maven IDE distribution with Ant IDE
> >> > > distribution
> >> > >
> >> > > Hi Chris,
> >> > >
> >> > > I just tried your changes and I have same issue. I need to
> >> > > understand what has change enough significantly that it causes
> >> > > compilation fail in such way. It doesn't happen with SDK prepared
> >> > > by
> >> ANT.
> >> > >
> >> > > Thanks,
> >> > > Piotr
> >> > >
> >> > > pt., 19 lut 2021 o 10:33 Maria Jose Esteve <mj...@iest.com>
> >> > napisał(a):
> >> > >
> >> > > > @Chris you're right, sorry, I didn't download your last commit.
> >> > > > I'm sorry.
> >> > > > Hiedra.
> >> > > >
> >> > > > -----Mensaje original-----
> >> > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> >> > > > viernes,
> >> > > > 19 de febrero de 2021 10:17
> >> > > > Para: dev@royale.apache.org
> >> > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> >> > > > distribution
> >> > > >
> >> > > > I'll try to guess what you wanted to say here ...
> >> > > >
> >> > > > But I think these are exactly the changes I comitted a an hour
> >> > > > ago,
> >> > > right?
> >> > > > At least in general I replaced all the references to names with
> >> > > > versions to the changed ones.
> >> > > >
> >> > > >
> >> > > > Chris
> >> > > >
> >> > > >
> >> > > >
> >> > > > -----Ursprüngliche Nachricht-----
> >> > > > Von: Maria Jose Esteve <mj...@iest.com>
> >> > > > Gesendet: Freitag, 19. Februar 2021 10:01
> >> > > > An: dev@royale.apache.org
> >> > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> >> > > > distribution
> >> > > >
> >> > > > Hi,
> >> > > > Mi distribución hace referencia en el fichero
> >> > > > "./frameworks/royale-config.xml" a las librerías:
> >> > > >
> >> > > > <js-external-library-path>
> >> > > >
> >> > > >
> <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.
> >> > > > sw
> >> > > > c</path-element>
> >> > > >
> >> > > >
> >> > > <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typed
> >> > > efs
> >> > > .s
> >> > > wc</path-element>
> >> > > > </js-external-library-path>
> >> > > >
> >> > > > Las correctas son:
> >> > > >
> >> > > > <js-external-library-path>
> >> > > >
> >> > <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> >> > > >
> >> > <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
> >> > > > </js-external-library-path>
> >> > > >
> >> > > > Hiedra
> >> > > >
> >> > > > -----Mensaje original-----
> >> > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> >> > > > viernes,
> >> > > > 19 de febrero de 2021 9:39
> >> > > > Para: dev@royale.apache.org
> >> > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> >> > > > distribution
> >> > > >
> >> > > > Ok,
> >> > > >
> >> > > > so the config xml files in the distribution were still pointing
> >> > > > to the old names. I updated them all to now refer to the names.
> >> > > > I tried things in Carlos' demo project, and I'm no-longer
> >> > > > getting the errors, however compilation seems to take for ever.
> >> > > >
> >> > > > Please try out the changes and tell me if there are any
> >> > > > problems with
> >> > > them.
> >> > > >
> >> > > > Chris
> >> > > >
> >> > > > -----Ursprüngliche Nachricht-----
> >> > > > Von: Christofer Dutz <ch...@c-ware.de>
> >> > > > Gesendet: Donnerstag, 18. Februar 2021 23:17
> >> > > > An: dev@royale.apache.org
> >> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> >> > > > distribution
> >> > > >
> >> > > > Hi Carlos,
> >> > > >
> >> > > > I'll look into this tomorrow.
> >> > > >
> >> > > > Chris
> >> > > >
> >> > > > -----Ursprüngliche Nachricht-----
> >> > > > Von: Carlos Rovira <ca...@apache.org>
> >> > > > Gesendet: Donnerstag, 18. Februar 2021 17:49
> >> > > > An: Apache Royale Development <de...@royale.apache.org>
> >> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > > > distribution
> >> > > >
> >> > > > Hi, I think I talked very quickly, sorry, there seems to be a
> >> problem.
> >> > > >
> >> > > > @Christofer Dutz <ch...@c-ware.de> you can download
> >> > > > this
> >> > > > project:
> >> > > >
> >> > > >
> >> > > > https://github.com/apache/royale-asjs/files/6004363/ToggleButto
> >> > > > nBa
> >> > > > rI
> >> > > > ss
> >> > > > ue.zip
> >> > > >
> >> > > > Then using VSCode with AS3&MXML and adding the Maven distribution.
> >> > > > Then hit CTRL+ENTER and you will get the following fail. Using
> >> > > > ANT distribution is working fine.
> >> > > > Can you take a look?
> >> > > >
> >> > > > Royale Compiler Shell
> >> > > > (fcsh) mxmlc --debug=false +configname=royale
> >> > > > --targets=JSRoyale --source-map=true
> >> > > > --html-template=src/html/jewel-example-index-template.html
> >> > > >
> >> > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-T
> >> > > > hem
> >> > > > e/
> >> > > > sr
> >> > > > c/main/resources/defaults.css
> >> > > > --source-path+=src
> >> > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJS.s
> >> > > > --source-path+--library-path+wc
> >> > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> >> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.cs
> >> > > > s -js-dynamic-access-unknown-members=true -- src/App.mxml
> >> > > > fcsh: Assigned 1 as the compile target id The project 'App' has
> >> > > > been successfully compiled and optimized.
> >> > > > Compile status: 0
> >> > > > Elapsed time: 14.211105399 seconds Feb 18, 2021 5:43:40 PM
> >> > > > com.google.javascript.jscomp.LoggerErrorManager
> >> > > > printSummary
> >> > > > INFO: 0 error(s), 0 warning(s), 96.5% typed
> >> > > > (fcsh) quit
> >> > > > Compiler shell exited with code: 0 Royale Compiler Shell
> >> > > > (fcsh) mxmlc --debug=false +configname=royale
> >> > > > --targets=JSRoyale --source-map=true
> >> > > > --html-template=src/html/jewel-example-index-template.html
> >> > > >
> >> > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-T
> >> > > > hem
> >> > > > e/
> >> > > > sr
> >> > > > c/main/resources/defaults.css
> >> > > > --source-path+=src
> >> > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJS.s
> >> > > > --source-path+--library-path+wc
> >> > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> >> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.cs
> >> > > > s -js-dynamic-access-unknown-members=true -- src/App.mxml
> >> > > > fcsh: Assigned 1 as the compile target id Compile status: 5
> >> > > > Elapsed
> >> > time:
> >> > > > 0.618407478 seconds
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> >> > > > col: 0 Error: unable to open
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
> >> > > >
> >> > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/framewo
> >> > > > rks
> >> > > > /r
> >> > > > oy
> >> > > > ale-config.xml
> >> > > > (line: 81)
> >> > > >
> >> > > > </js-external-library-path>
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> >> > > > col: 0 Error: unable to open
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
> >> > > >
> >> > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/framewo
> >> > > > rks
> >> > > > /r
> >> > > > oy
> >> > > > ale-config.xml
> >> > > > (line: 81)
> >> > > >
> >> > > > </js-external-library-path>
> >> > > > (fcsh)
> >> > > > Quick Compile failed. Errors in compiler output.
> >> > > >
> >> > > > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
> >> > > > (<ca...@apache.org>)
> >> > > > escribió:
> >> > > >
> >> > > > > Hi,
> >> > > > >
> >> > > > > I rebuilt all from scratch just now and finally the
> >> > > > > distribution too and tried in VSCode and all seems to work fine
> for me.
> >> > > > >
> >> > > > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> >> > > > > christofer.dutz@c-ware.de>) escribió:
> >> > > > >
> >> > > > >> Hi Piotr,
> >> > > > >>
> >> > > > >> that class is located in lib\external\flex-tool-api.jar At
> >> > > > >> least in my distribution it's there and it contains the class.
> >> > > > >>
> >> > > > >> How are you calling the build that's failing?
> >> > > > >>
> >> > > > >> Chris
> >> > > > >>
> >> > > > >> -----Ursprüngliche Nachricht-----
> >> > > > >> Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> >> > > > >> An: Apache Royale Development <de...@royale.apache.org>
> >> > > > >> Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > > > >> distribution
> >> > > > >>
> >> > > > >> Chris,
> >> > > > >>
> >> > > > >> I just checked and I'm not able build project anymore using
> >> > > > distribution:
> >> > > > >>
> >> > > > >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
> >> > > > >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
> >> > > > >> -Xms356m -Xmx3000m
> >> > > > >> : Error: Could not find or load main class
> >> > > > >> org.apache.royale.compiler.clients.MXMLJSC
> >> > > > >> : Caused by: java.lang.NoClassDefFoundError:
> >> > > > >> org/apache/flex/tools/FlexTool
> >> > > > >>
> >> > > > >> I'm done for today, so I will answer anything tomorrow.
> >> > > > >>
> >> > > > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
> >> > > > >> <ch...@c-ware.de>
> >> > > > >> napisał(a):
> >> > > > >>
> >> > > > >> > Ok ...
> >> > > > >> >
> >> > > > >> > so I just pushed another change. Now the distribution
> >> > > > >> > should also contain an empty spark.css, just like the Ant
> one.
> >> > > > >> >
> >> > > > >> > Chris
> >> > > > >> >
> >> > > > >> >
> >> > > > >> > -----Ursprüngliche Nachricht-----
> >> > > > >> > Von: Christofer Dutz <ch...@c-ware.de>
> >> > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> >> > > > >> > An: dev@royale.apache.org
> >> > > > >> > Betreff: AW: Align Maven IDE distribution with Ant IDE
> >> > > > >> > distribution
> >> > > > >> >
> >> > > > >> > Ok,
> >> > > > >> >
> >> > > > >> > so that should now be fixed. Leaves the "spark.css"
> >> > > > >> > Having had a look, it seems as if the Ant build creates an
> >> > > > >> > empty
> >> > > > >> spark.css.
> >> > > > >> >
> >> > > > >> > Is this all we need? If yes, then I'll have that in ther
> >> > > > >> > in no
> >> > time.
> >> > > > >> >
> >> > > > >> > Chris
> >> > > > >> >
> >> > > > >> > -----Ursprüngliche Nachricht-----
> >> > > > >> > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> >> > > > >> > An: Apache Royale Development <de...@royale.apache.org>
> >> > > > >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > > > >> > distribution
> >> > > > >> >
> >> > > > >> > *(I assume that's in the "frameworks/js/libs" directory? *
> >> > > > >> >
> >> > > > >> > Yes this is the directory.
> >> > > > >> >
> >> > > > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> >> > > > >> > <ch...@c-ware.de>
> >> > > > >> > napisał(a):
> >> > > > >> >
> >> > > > >> > > Hi Piotr,
> >> > > > >> > >
> >> > > > >> > > Ok ... so Ant seems to be adding a "JS" to the end of
> >> > > > >> > > every name (I assume that's in the "frameworks/js/libs"
> directory?
> >> > > > >> > >
> >> > > > >> > > Also I'll try to find out where the "spark.css" should
> >> > > > >> > > come from
> >> > > ...
> >> > > > >> > > and where it should go to.
> >> > > > >> > >
> >> > > > >> > > Chris
> >> > > > >> > >
> >> > > > >> > >
> >> > > > >> > > -----Ursprüngliche Nachricht-----
> >> > > > >> > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> >> > > > >> > > An: Apache Royale Development <de...@royale.apache.org>
> >> > > > >> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > > > >> > > distribution
> >> > > > >> > >
> >> > > > >> > > Chris,
> >> > > > >> > >
> >> > > > >> > > Looks better but here is the comparision what I have in
> >> > > > >> > > Ant distribution vs Maven distribution in case of names.
> >> > > > >> > > On the left Ant distribution, on the right Maven. It is
> folder:
> >> > > > >> > > frameworks\js\libs\ [1]
> >> > > > >> > >
> >> > > > >> > > [1] https://ibb.co/W2DzcDb
> >> > > > >> > >
> >> > > > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> >> > > > >> > > <ch...@c-ware.de>
> >> > > > >> > > napisał(a):
> >> > > > >> > >
> >> > > > >> > > > And done ...
> >> > > > >> > > >
> >> > > > >> > > > Now all elements in the distribution only consist of
> >> > > > >> > > > their name and file-ending ... all versions and
> >> > > > >> > > > classifiers have been
> >> > > > removed.
> >> > > > >> > > > Please provide me with feedback on if this solves the
> >> issues.
> >> > > > >> > > >
> >> > > > >> > > > Chris
> >> > > > >> > > >
> >> > > > >> > > >
> >> > > > >> > > > -----Ursprüngliche Nachricht-----
> >> > > > >> > > > Von: Christofer Dutz <ch...@c-ware.de>
> >> > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> >> > > > >> > > > An: dev@royale.apache.org
> >> > > > >> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> >> > > > >> > > > distribution
> >> > > > >> > > >
> >> > > > >> > > > I'll probably have a fix for that in a few minuntes ...
> >> > > > >> > > >
> >> > > > >> > > >
> >> > > > >> > > > Chris
> >> > > > >> > > >
> >> > > > >> > > >
> >> > > > >> > > > -----Ursprüngliche Nachricht-----
> >> > > > >> > > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> >> > > > >> > > > An: Apache Royale Development <de...@royale.apache.org>
> >> > > > >> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > > > >> > > > distribution
> >> > > > >> > > >
> >> > > > >> > > > Chris,
> >> > > > >> > > >
> >> > > > >> > > > No it's not about not picking up by IDE at all.
> >> > > > >> > > > Moonshine and VSCode are able to build projects using
> >> > > > >> > > > Maven distribution package! It is about project which
> >> > > > >> > > > are mixed for example when user wanted to use Jewel
> >> > > > >> > > > module + RemoteObject class from MXRoyale module. In
> >> > > > >> > > > that case user need to point explicilty as a compiler
> >> > > > >> > > > options in IDE that he wanted to have SWC included and
> >> > > > >> > > > need to exclude css from that swc to
> >> > > > >> > > avoid problems.
> >> > > > >> > > >
> >> > > > >> > > > It is happen like that:
> >> > > > >> > > >
> >> > > > >> > > >
> >> > > > >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> >> > > > >> > > >
> >> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> >> > > > >> > > > cs
> >> > > > >> > > > s
> >> > > > >> > > >
> >> > > > >> > > > If I would like to use maven distribution user need to
> >> > > > >> > > > know version for that compiler options. It is even
> >> > > > >> > > > more tricky when your swc is called
> >> > > > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> >> > > > >> > > >
> >> > > > >> > > >
> -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.
> >> > > > >> > > > cs
> >> > > > >> > > > s
> >> > > > >> > > >
> >> > > > >> > > > Thanks,
> >> > > > >> > > > Piotr
> >> > > > >> > > >
> >> > > > >> > > >
> >> > > > >> > > >
> >> > > > >> > > >
> >> > > > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> >> > > > >> > > > <ch...@c-ware.de>
> >> > > > >> > > > napisał(a):
> >> > > > >> > > >
> >> > > > >> > > > > Hi Piotr,
> >> > > > >> > > > >
> >> > > > >> > > > > And is really the version-suffix causing it to not
> >> > > > >> > > > > be picked up by the IDEs?
> >> > > > >> > > > >
> >> > > > >> > > > > Chris
> >> > > > >> > > > >
> >> > > > >> > > > > -----Ursprüngliche Nachricht-----
> >> > > > >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > > >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> >> > > > >> > > > > An: dev@royale.apache.org
> >> > > > >> > > > > Betreff: Re: Align Maven IDE distribution with Ant
> >> > > > >> > > > > IDE distribution
> >> > > > >> > > > >
> >> > > > >> > > > > Hi Chris,
> >> > > > >> > > > >
> >> > > > >> > > > > This is the only thing which seems to be a constant
> >> > > > >> > > > > problem
> >> > > > here.
> >> > > > >> > > > > I personally and some users will be much more happy
> >> > > > >> > > > > having that
> >> > > > >> > change.
> >> > > > >> > > > >
> >> > > > >> > > > > Thanks,
> >> > > > >> > > > > Piotr
> >> > > > >> > > > >
> >> > > > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> >> > > > >> > > > > <ch...@c-ware.de>
> >> > > > >> > > > > wrote:
> >> > > > >> > > > >
> >> > > > >> > > > > > Hi Piotr,
> >> > > > >> > > > > >
> >> > > > >> > > > > > I'd be happy to help with that.
> >> > > > >> > > > > >
> >> > > > >> > > > > > I did simply ask for a list of things that need to
> >> > > > >> > > > > > be changed in order to get things working, but
> >> > > > >> > > > > > never got said list, so I never knew what I could
> >> > > > >> > > > > > do to make the Maven distribution match up to the
> >> > > > >> > > > Ant built one.
> >> > > > >> > > > > >
> >> > > > >> > > > > > Chris
> >> > > > >> > > > > >
> >> > > > >> > > > > >
> >> > > > >> > > > > > -----Ursprüngliche Nachricht-----
> >> > > > >> > > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> >> > > > >> > > > > > An: Apache Royale Development
> >> > > > >> > > > > > <de...@royale.apache.org>
> >> > > > >> > > > > > Betreff: Align Maven IDE distribution with Ant IDE
> >> > > > >> > > > > > distribution
> >> > > > >> > > > > >
> >> > > > >> > > > > > Hi Guys,
> >> > > > >> > > > > >
> >> > > > >> > > > > > It's been couple of times when user complains that
> >> > > > >> > > > > > he have problems with using Maven distribution vs
> >> > > > >> > > > > > Ant distribution in IDE in a mixed project Jewel +
> >> > > > >> > > > > > MX/Spark
> >> > etc.
> >> > > > >> > > > > >
> >> > > > >> > > > > > Can we have that resolve once for all and adjust
> >> > > > >> > > > > > Maven distribution folder to produce proper names
> >> > > > >> > > > > > of
> >> swcs ?
> >> > > > >> > > > > >
> >> > > > >> > > > > > Currently when I build Maven IDE distribution I have:
> >> > > > >> > > > > >
> >> > > > >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> >> > > > >> > > > > >
> >> > > > >> > > > > > When I build Ant IDE distribution I have:
> >> > > > >> > > > > >
> >> > > > >> > > > > > MXRoyale-js.swc
> >> > > > >> > > > > >
> >> > > > >> > > > > > Thanks,
> >> > > > >> > > > > > --
> >> > > > >> > > > > >
> >> > > > >> > > > > > Piotr Zarzycki
> >> > > > >> > > > > >
> >> > > > >> > > > > --
> >> > > > >> > > > >
> >> > > > >> > > > > Piotr Zarzycki
> >> > > > >> > > > >
> >> > > > >> > > >
> >> > > > >> > > >
> >> > > > >> > > > --
> >> > > > >> > > >
> >> > > > >> > > > Piotr Zarzycki
> >> > > > >> > > >
> >> > > > >> > >
> >> > > > >> > >
> >> > > > >> > > --
> >> > > > >> > >
> >> > > > >> > > Piotr Zarzycki
> >> > > > >> > >
> >> > > > >> >
> >> > > > >> >
> >> > > > >> > --
> >> > > > >> >
> >> > > > >> > Piotr Zarzycki
> >> > > > >> >
> >> > > > >>
> >> > > > >>
> >> > > > >> --
> >> > > > >>
> >> > > > >> Piotr Zarzycki
> >> > > > >>
> >> > > > >
> >> > > > >
> >> > > > > --
> >> > > > > Carlos Rovira
> >> > > > > Apache Member & Apache Royale PMC *Apache Software
> >> > > > > Foundation* http://about.me/carlosrovira
> >> > > > >
> >> > > > >
> >> > > >
> >> > > > --
> >> > > > Carlos Rovira
> >> > > > Apache Member & Apache Royale PMC *Apache Software Foundation*
> >> > > > http://about.me/carlosrovira
> >> > > >
> >> > >
> >> > >
> >> > > --
> >> > >
> >> > > Piotr Zarzycki
> >> > >
> >> >
> >> >
> >> > --
> >> >
> >> > Piotr Zarzycki
> >> >
> >>
> >>
> >> --
> >>
> >> Piotr Zarzycki
> >>
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
>
>
> --
>
> Piotr Zarzycki
>
--
Piotr Zarzycki
AW: Align Maven IDE distribution with Ant IDE distribution
Posted by Christofer Dutz <ch...@c-ware.de>.
And instantly after sending off the email I found the reason:
It's actually due to the fact that we are in this strange transition state with a half done release and compiler and framework being out of sync. I think I better change the versions of the "repackaged compiler artifacts" to actually have the compiler version and not the ASJS version :-(
Right now I'm creating the correct jars but packing in the old ones.
Why are we actually in this intermediate state?
Chris
-----Ursprüngliche Nachricht-----
Von: Christofer Dutz <ch...@c-ware.de>
Gesendet: Freitag, 19. Februar 2021 15:39
An: dev@royale.apache.org
Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
Ok ... so I had a look at the jars created by the modules in:
royale-asjs\distribution\jars\compc
These contain my changes ... however in the distribution for some strange reason they do not contain them.
I'll investigate.
Chris
-----Ursprüngliche Nachricht-----
Von: Christofer Dutz <ch...@c-ware.de>
Gesendet: Freitag, 19. Februar 2021 15:31
An: dev@royale.apache.org
Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
Hi Piotr,
then just ignore my mumbling ... seems things have changed slightly in Maven ... good for us ... makes things simpler. But gotta remember that. So sorry for the noise.
Well I haven't built anything with the SDK as I don't know how I would actually call it (I have allways just used Maven for that).
That's why I asked for the command you use to compile ...
Chris
-----Ursprüngliche Nachricht-----
Von: Piotr Zarzycki <pi...@gmail.com>
Gesendet: Freitag, 19. Februar 2021 15:06
An: Apache Royale Development <de...@royale.apache.org>
Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
Chris,
No change after your latest push I still have the same error. Did you try build yourself distribution and build some hello world ?
pt., 19 lut 2021 o 15:04 Piotr Zarzycki <pi...@gmail.com>
napisał(a):
> I don't understand what you are saying here at all. I know that when I
> do -DdistributionTargetFolder - I'm getting distribution build in a
> folder which I wanted to, so what it actually does ?
>
> pt., 19 lut 2021 o 15:00 Christofer Dutz <ch...@c-ware.de>
> napisał(a):
>
>> Well actually is doesn set an Environmet Variable,
>>
>> It's more or less the other way around ... an Environment Variable
>> can initialize a property in maven, but not the other way around.
>> And the magic for creating the directory distribution usualy only
>> kicks in if you set an environment variable. But if your directory is
>> not empty, just ignore my mumbling, then something has changed in
>> Maven
>>
>> Chris
>>
>> -----Ursprüngliche Nachricht-----
>> Von: Piotr Zarzycki <pi...@gmail.com>
>> Gesendet: Freitag, 19. Februar 2021 14:50
>> An: Apache Royale Development <de...@royale.apache.org>
>> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>>
>> I'm pointing an empty directory called distribution. Prefix -D sets
>> for me temporary env variable -> -DdistributionTargetFolder=path
>>
>> pt., 19 lut 2021 o 14:48 Christofer Dutz <ch...@c-ware.de>
>> napisał(a):
>>
>> > Does this creat the directory?
>> >
>> > Cause I think you have to set an Environment Variable:
>> >
>> > set distributionTargetFolder=d:\Work\royale_ide\distribution
>> >
>> > mvn clean install
>> >
>> > Chris
>> >
>> >
>> > -----Ursprüngliche Nachricht-----
>> > Von: Piotr Zarzycki <pi...@gmail.com>
>> > Gesendet: Freitag, 19. Februar 2021 14:41
>> > An: Apache Royale Development <de...@royale.apache.org>
>> > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>> >
>> > I have executed something like that cause I didn't know that it
>> > will use default compiler 0.9.9-SNAPSHOT
>> >
>> > mvn clean install -Droyale.compiler.version=0.9.9-SNAPSHOT
>> > -DdistributionTargetFolder=d:\Work\royale_ide\distribution
>> >
>> > pt., 19 lut 2021 o 14:26 Christofer Dutz
>> > <ch...@c-ware.de>
>> > napisał(a):
>> >
>> > > Hi all,
>> > >
>> > > so I just pushed another change to the distribution that should
>> > > fix the classpath problem.
>> > >
>> > > Piotr ... could you please try again? And if you send me the
>> > > command you always axecute, I could test it on my side.
>> > >
>> > > Chris
>> > >
>> > >
>> > > -----Ursprüngliche Nachricht-----
>> > > Von: Christofer Dutz <ch...@c-ware.de>
>> > > Gesendet: Freitag, 19. Februar 2021 14:12
>> > > An: dev@royale.apache.org
>> > > Betreff: AW: Align Maven IDE distribution with Ant IDE
>> > > distribution
>> > >
>> > > Hi Hiedra,
>> > >
>> > > well I changed the distribution to make the names like in the ANT
>> > > distribution yesterday.
>> > > But you are passing in an argument telling the compiler to use
>> > > the old format and now it should be the new ...
>> > >
>> > > Try:
>> > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
>> > > defaults.css; For -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
>> > > defaults.css;
>> > >
>> > > Instead of your variant.
>> > >
>> > > Chris
>> > >
>> > >
>> > > -----Ursprüngliche Nachricht-----
>> > > Von: Maria Jose Esteve <mj...@iest.com>
>> > > Gesendet: Freitag, 19. Februar 2021 14:08
>> > > An: dev@royale.apache.org
>> > > Betreff: RE: Align Maven IDE distribution with Ant IDE
>> > > distribution
>> > >
>> > > Yes, until recently I also compiled only with Maven. Due to the
>> > > problem with the spark.css I started to do the double compilation
>> > > of
>> > MAVEN and ANT.
>> > >
>> > > It's funny, now, the swc's are not generated with
>> > > "xxxx-0.9.8-SNAPSHOT-js.swc" in the distribution BUT if in the
>> > > pom of my project I change in additionalCompilerOptions:
>> > > -compiler.exclude-defaults-css-files = MXRoyale - $
>> > > {royale.framework.version} -js.swc: defaults.css; For
>> > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
>> > > defaults.css; My application starts to do nonsense (for example
>> > > the change of selectedContent in my ApplicationMainContent does
>> > > not display)
>> > >
>> > > Chris, thank you.
>> > > Hiedra
>> > >
>> > > -----Mensaje original-----
>> > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
>> > > viernes,
>> > > 19 de febrero de 2021 13:09
>> > > Para: dev@royale.apache.org
>> > > Asunto: AW: Align Maven IDE distribution with Ant IDE
>> > > distribution
>> > >
>> > > Hi Hiedra,
>> > >
>> > > I have to admit that I've never used VSCode. Every time I do any
>> > > development I usually use one of the JetBrains IDEs.
>> > > Royale Stuff I do in IntelliJ ... with my "Flexmojos Hack" it can
>> > > be used quite well. And I always compile with Maven.
>> > >
>> > > But thanks for the explanation on why the other path is set
>> differently.
>> > >
>> > > I guess we'll have to wait till some others can tell me what
>> > > needs to be changed.
>> > >
>> > > Chris
>> > >
>> > >
>> > > -----Ursprüngliche Nachricht-----
>> > > Von: Maria Jose Esteve <mj...@iest.com>
>> > > Gesendet: Freitag, 19. Februar 2021 12:48
>> > > An: dev@royale.apache.org
>> > > Betreff: RE: Align Maven IDE distribution with Ant IDE
>> > > distribution
>> > >
>> > > Hello Chris,
>> > > so that I can debug my changes in the SDK I need to set the path
>> > > of the "as3mxml.sdk.editor" to the asjs directory of my fork, for
>> > > this reason the path of the " as3mxml.sdk.framework" points to
>> > > the directory of the maven distribution and the
>> > > "as3mxml.sdk.editor" to
>> code.
>> > >
>> > > ">> I'm not getting any errors from VSCode. But well ... if I hit
>> > > SHIFT+Enter it starts doing something where if failed prior to my
>> > > >> changes this morning and is no longer complaining, but it's
>> > > >> also not
>> > > doing much (I can't see it create a "bin" directory)"
>> > >
>> > > I don't quite understand this ... possibly because of my lack of
>> > knowledge.
>> > >
>> > > I have not tried Carlos's project but this afternoon I will be
>> > > able to do it and I will be able to give more details.
>> > >
>> > > Thx.
>> > > Hiedra.
>> > >
>> > > -----Mensaje original-----
>> > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
>> > > viernes,
>> > > 19 de febrero de 2021 11:51
>> > > Para: dev@royale.apache.org
>> > > Asunto: AW: Align Maven IDE distribution with Ant IDE
>> > > distribution
>> > >
>> > > Hi Heidra,
>> > >
>> > > I just updated Carlos' example to have the same type of setting
>> > > (C:\\Temp\\RoyaleSDK is where I have my Maven build generate the SDK):
>> > >
>> > > setings.js:
>> > > {
>> > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
>> > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
>> > > }
>> > >
>> > > workspace-code-workspace
>> > > {
>> > > "folders": [
>> > > {
>> > > "path": ".."
>> > > }
>> > > ],
>> > > "settings": {
>> > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
>> > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
>> > > }
>> > > }
>> > >
>> > > I'm not getting any errors from VSCode. But well ... if I hit
>> > > SHIFT+Enter it starts doing something where if failed prior to my
>> > > changes this morning and is no longer complaining, but it's also
>> > > not doing much (I can't see it create a "bin" directory)
>> > >
>> > > Chris
>> > >
>> > >
>> > > -----Ursprüngliche Nachricht-----
>> > > Von: Maria Jose Esteve <mj...@iest.com>
>> > > Gesendet: Freitag, 19. Februar 2021 10:53
>> > > An: dev@royale.apache.org
>> > > Betreff: RE: Align Maven IDE distribution with Ant IDE
>> > > distribution
>> > >
>> > > If I don't compile with ANT, the mxml extension in vsCode IDE, it
>> > > doesn't recognize the valid asjs directory for "as3mxml.sdk.editor":
>> > > ...
>> > > "settings": {
>> > > "as3mxml.sdk.framework":
>> > > "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
>> > > "as3mxml.sdk.editor":
>> > > "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs" <--------
>> > > [download folder repo royale-asjs]
>> > > }
>> > > }
>> > >
>> > > The error is:
>> > > " as3mxml.sdk.editor in settings does not point to a valid SDK.
>> > > Requires..."
>> > >
>> > > Thx.
>> > > Hiedra.
>> > >
>> > > -----Mensaje original-----
>> > > De: Piotr Zarzycki <pi...@gmail.com> Enviado el:
>> > > viernes,
>> > > 19 de febrero de 2021 10:44
>> > > Para: Apache Royale Development <de...@royale.apache.org>
>> > > Asunto: Re: Align Maven IDE distribution with Ant IDE
>> > > distribution
>> > >
>> > > Hi Chris,
>> > >
>> > > I just tried your changes and I have same issue. I need to
>> > > understand what has change enough significantly that it causes
>> > > compilation fail in such way. It doesn't happen with SDK prepared
>> > > by
>> ANT.
>> > >
>> > > Thanks,
>> > > Piotr
>> > >
>> > > pt., 19 lut 2021 o 10:33 Maria Jose Esteve <mj...@iest.com>
>> > napisał(a):
>> > >
>> > > > @Chris you're right, sorry, I didn't download your last commit.
>> > > > I'm sorry.
>> > > > Hiedra.
>> > > >
>> > > > -----Mensaje original-----
>> > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
>> > > > viernes,
>> > > > 19 de febrero de 2021 10:17
>> > > > Para: dev@royale.apache.org
>> > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
>> > > > distribution
>> > > >
>> > > > I'll try to guess what you wanted to say here ...
>> > > >
>> > > > But I think these are exactly the changes I comitted a an hour
>> > > > ago,
>> > > right?
>> > > > At least in general I replaced all the references to names with
>> > > > versions to the changed ones.
>> > > >
>> > > >
>> > > > Chris
>> > > >
>> > > >
>> > > >
>> > > > -----Ursprüngliche Nachricht-----
>> > > > Von: Maria Jose Esteve <mj...@iest.com>
>> > > > Gesendet: Freitag, 19. Februar 2021 10:01
>> > > > An: dev@royale.apache.org
>> > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
>> > > > distribution
>> > > >
>> > > > Hi,
>> > > > Mi distribución hace referencia en el fichero
>> > > > "./frameworks/royale-config.xml" a las librerías:
>> > > >
>> > > > <js-external-library-path>
>> > > >
>> > > > <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.
>> > > > sw
>> > > > c</path-element>
>> > > >
>> > > >
>> > > <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typed
>> > > efs
>> > > .s
>> > > wc</path-element>
>> > > > </js-external-library-path>
>> > > >
>> > > > Las correctas son:
>> > > >
>> > > > <js-external-library-path>
>> > > >
>> > <path-element>../js/libs/royale-typedefs-js.swc</path-element>
>> > > >
>> > <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
>> > > > </js-external-library-path>
>> > > >
>> > > > Hiedra
>> > > >
>> > > > -----Mensaje original-----
>> > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
>> > > > viernes,
>> > > > 19 de febrero de 2021 9:39
>> > > > Para: dev@royale.apache.org
>> > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
>> > > > distribution
>> > > >
>> > > > Ok,
>> > > >
>> > > > so the config xml files in the distribution were still pointing
>> > > > to the old names. I updated them all to now refer to the names.
>> > > > I tried things in Carlos' demo project, and I'm no-longer
>> > > > getting the errors, however compilation seems to take for ever.
>> > > >
>> > > > Please try out the changes and tell me if there are any
>> > > > problems with
>> > > them.
>> > > >
>> > > > Chris
>> > > >
>> > > > -----Ursprüngliche Nachricht-----
>> > > > Von: Christofer Dutz <ch...@c-ware.de>
>> > > > Gesendet: Donnerstag, 18. Februar 2021 23:17
>> > > > An: dev@royale.apache.org
>> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
>> > > > distribution
>> > > >
>> > > > Hi Carlos,
>> > > >
>> > > > I'll look into this tomorrow.
>> > > >
>> > > > Chris
>> > > >
>> > > > -----Ursprüngliche Nachricht-----
>> > > > Von: Carlos Rovira <ca...@apache.org>
>> > > > Gesendet: Donnerstag, 18. Februar 2021 17:49
>> > > > An: Apache Royale Development <de...@royale.apache.org>
>> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
>> > > > distribution
>> > > >
>> > > > Hi, I think I talked very quickly, sorry, there seems to be a
>> problem.
>> > > >
>> > > > @Christofer Dutz <ch...@c-ware.de> you can download
>> > > > this
>> > > > project:
>> > > >
>> > > >
>> > > > https://github.com/apache/royale-asjs/files/6004363/ToggleButto
>> > > > nBa
>> > > > rI
>> > > > ss
>> > > > ue.zip
>> > > >
>> > > > Then using VSCode with AS3&MXML and adding the Maven distribution.
>> > > > Then hit CTRL+ENTER and you will get the following fail. Using
>> > > > ANT distribution is working fine.
>> > > > Can you take a look?
>> > > >
>> > > > Royale Compiler Shell
>> > > > (fcsh) mxmlc --debug=false +configname=royale
>> > > > --targets=JSRoyale --source-map=true
>> > > > --html-template=src/html/jewel-example-index-template.html
>> > > >
>> > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-T
>> > > > hem
>> > > > e/
>> > > > sr
>> > > > c/main/resources/defaults.css
>> > > > --source-path+=src
>> > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJS.s
>> > > > --source-path+--library-path+wc
>> > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.cs
>> > > > s -js-dynamic-access-unknown-members=true -- src/App.mxml
>> > > > fcsh: Assigned 1 as the compile target id The project 'App' has
>> > > > been successfully compiled and optimized.
>> > > > Compile status: 0
>> > > > Elapsed time: 14.211105399 seconds Feb 18, 2021 5:43:40 PM
>> > > > com.google.javascript.jscomp.LoggerErrorManager
>> > > > printSummary
>> > > > INFO: 0 error(s), 0 warning(s), 96.5% typed
>> > > > (fcsh) quit
>> > > > Compiler shell exited with code: 0 Royale Compiler Shell
>> > > > (fcsh) mxmlc --debug=false +configname=royale
>> > > > --targets=JSRoyale --source-map=true
>> > > > --html-template=src/html/jewel-example-index-template.html
>> > > >
>> > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-T
>> > > > hem
>> > > > e/
>> > > > sr
>> > > > c/main/resources/defaults.css
>> > > > --source-path+=src
>> > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJS.s
>> > > > --source-path+--library-path+wc
>> > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.cs
>> > > > s -js-dynamic-access-unknown-members=true -- src/App.mxml
>> > > > fcsh: Assigned 1 as the compile target id Compile status: 5
>> > > > Elapsed
>> > time:
>> > > > 0.618407478 seconds
>> > > >
>> > > >
>> > >
>> >
>> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
>> > > > col: 0 Error: unable to open
>> > > >
>> > > >
>> > >
>> >
>> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
>> > > >
>> > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/framewo
>> > > > rks
>> > > > /r
>> > > > oy
>> > > > ale-config.xml
>> > > > (line: 81)
>> > > >
>> > > > </js-external-library-path>
>> > > >
>> > > >
>> > > >
>> > > >
>> > >
>> >
>> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
>> > > > col: 0 Error: unable to open
>> > > >
>> > > >
>> > >
>> >
>> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
>> > > >
>> > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/framewo
>> > > > rks
>> > > > /r
>> > > > oy
>> > > > ale-config.xml
>> > > > (line: 81)
>> > > >
>> > > > </js-external-library-path>
>> > > > (fcsh)
>> > > > Quick Compile failed. Errors in compiler output.
>> > > >
>> > > > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
>> > > > (<ca...@apache.org>)
>> > > > escribió:
>> > > >
>> > > > > Hi,
>> > > > >
>> > > > > I rebuilt all from scratch just now and finally the
>> > > > > distribution too and tried in VSCode and all seems to work fine for me.
>> > > > >
>> > > > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
>> > > > > christofer.dutz@c-ware.de>) escribió:
>> > > > >
>> > > > >> Hi Piotr,
>> > > > >>
>> > > > >> that class is located in lib\external\flex-tool-api.jar At
>> > > > >> least in my distribution it's there and it contains the class.
>> > > > >>
>> > > > >> How are you calling the build that's failing?
>> > > > >>
>> > > > >> Chris
>> > > > >>
>> > > > >> -----Ursprüngliche Nachricht-----
>> > > > >> Von: Piotr Zarzycki <pi...@gmail.com>
>> > > > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
>> > > > >> An: Apache Royale Development <de...@royale.apache.org>
>> > > > >> Betreff: Re: Align Maven IDE distribution with Ant IDE
>> > > > >> distribution
>> > > > >>
>> > > > >> Chris,
>> > > > >>
>> > > > >> I just checked and I'm not able build project anymore using
>> > > > distribution:
>> > > > >>
>> > > > >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
>> > > > >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
>> > > > >> -Xms356m -Xmx3000m
>> > > > >> : Error: Could not find or load main class
>> > > > >> org.apache.royale.compiler.clients.MXMLJSC
>> > > > >> : Caused by: java.lang.NoClassDefFoundError:
>> > > > >> org/apache/flex/tools/FlexTool
>> > > > >>
>> > > > >> I'm done for today, so I will answer anything tomorrow.
>> > > > >>
>> > > > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
>> > > > >> <ch...@c-ware.de>
>> > > > >> napisał(a):
>> > > > >>
>> > > > >> > Ok ...
>> > > > >> >
>> > > > >> > so I just pushed another change. Now the distribution
>> > > > >> > should also contain an empty spark.css, just like the Ant one.
>> > > > >> >
>> > > > >> > Chris
>> > > > >> >
>> > > > >> >
>> > > > >> > -----Ursprüngliche Nachricht-----
>> > > > >> > Von: Christofer Dutz <ch...@c-ware.de>
>> > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
>> > > > >> > An: dev@royale.apache.org
>> > > > >> > Betreff: AW: Align Maven IDE distribution with Ant IDE
>> > > > >> > distribution
>> > > > >> >
>> > > > >> > Ok,
>> > > > >> >
>> > > > >> > so that should now be fixed. Leaves the "spark.css"
>> > > > >> > Having had a look, it seems as if the Ant build creates an
>> > > > >> > empty
>> > > > >> spark.css.
>> > > > >> >
>> > > > >> > Is this all we need? If yes, then I'll have that in ther
>> > > > >> > in no
>> > time.
>> > > > >> >
>> > > > >> > Chris
>> > > > >> >
>> > > > >> > -----Ursprüngliche Nachricht-----
>> > > > >> > Von: Piotr Zarzycki <pi...@gmail.com>
>> > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
>> > > > >> > An: Apache Royale Development <de...@royale.apache.org>
>> > > > >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
>> > > > >> > distribution
>> > > > >> >
>> > > > >> > *(I assume that's in the "frameworks/js/libs" directory? *
>> > > > >> >
>> > > > >> > Yes this is the directory.
>> > > > >> >
>> > > > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
>> > > > >> > <ch...@c-ware.de>
>> > > > >> > napisał(a):
>> > > > >> >
>> > > > >> > > Hi Piotr,
>> > > > >> > >
>> > > > >> > > Ok ... so Ant seems to be adding a "JS" to the end of
>> > > > >> > > every name (I assume that's in the "frameworks/js/libs" directory?
>> > > > >> > >
>> > > > >> > > Also I'll try to find out where the "spark.css" should
>> > > > >> > > come from
>> > > ...
>> > > > >> > > and where it should go to.
>> > > > >> > >
>> > > > >> > > Chris
>> > > > >> > >
>> > > > >> > >
>> > > > >> > > -----Ursprüngliche Nachricht-----
>> > > > >> > > Von: Piotr Zarzycki <pi...@gmail.com>
>> > > > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
>> > > > >> > > An: Apache Royale Development <de...@royale.apache.org>
>> > > > >> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
>> > > > >> > > distribution
>> > > > >> > >
>> > > > >> > > Chris,
>> > > > >> > >
>> > > > >> > > Looks better but here is the comparision what I have in
>> > > > >> > > Ant distribution vs Maven distribution in case of names.
>> > > > >> > > On the left Ant distribution, on the right Maven. It is folder:
>> > > > >> > > frameworks\js\libs\ [1]
>> > > > >> > >
>> > > > >> > > [1] https://ibb.co/W2DzcDb
>> > > > >> > >
>> > > > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
>> > > > >> > > <ch...@c-ware.de>
>> > > > >> > > napisał(a):
>> > > > >> > >
>> > > > >> > > > And done ...
>> > > > >> > > >
>> > > > >> > > > Now all elements in the distribution only consist of
>> > > > >> > > > their name and file-ending ... all versions and
>> > > > >> > > > classifiers have been
>> > > > removed.
>> > > > >> > > > Please provide me with feedback on if this solves the
>> issues.
>> > > > >> > > >
>> > > > >> > > > Chris
>> > > > >> > > >
>> > > > >> > > >
>> > > > >> > > > -----Ursprüngliche Nachricht-----
>> > > > >> > > > Von: Christofer Dutz <ch...@c-ware.de>
>> > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
>> > > > >> > > > An: dev@royale.apache.org
>> > > > >> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
>> > > > >> > > > distribution
>> > > > >> > > >
>> > > > >> > > > I'll probably have a fix for that in a few minuntes ...
>> > > > >> > > >
>> > > > >> > > >
>> > > > >> > > > Chris
>> > > > >> > > >
>> > > > >> > > >
>> > > > >> > > > -----Ursprüngliche Nachricht-----
>> > > > >> > > > Von: Piotr Zarzycki <pi...@gmail.com>
>> > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
>> > > > >> > > > An: Apache Royale Development <de...@royale.apache.org>
>> > > > >> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
>> > > > >> > > > distribution
>> > > > >> > > >
>> > > > >> > > > Chris,
>> > > > >> > > >
>> > > > >> > > > No it's not about not picking up by IDE at all.
>> > > > >> > > > Moonshine and VSCode are able to build projects using
>> > > > >> > > > Maven distribution package! It is about project which
>> > > > >> > > > are mixed for example when user wanted to use Jewel
>> > > > >> > > > module + RemoteObject class from MXRoyale module. In
>> > > > >> > > > that case user need to point explicilty as a compiler
>> > > > >> > > > options in IDE that he wanted to have SWC included and
>> > > > >> > > > need to exclude css from that swc to
>> > > > >> > > avoid problems.
>> > > > >> > > >
>> > > > >> > > > It is happen like that:
>> > > > >> > > >
>> > > > >> > > >
>> > > > >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>> > > > >> > > >
>> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
>> > > > >> > > > cs
>> > > > >> > > > s
>> > > > >> > > >
>> > > > >> > > > If I would like to use maven distribution user need to
>> > > > >> > > > know version for that compiler options. It is even
>> > > > >> > > > more tricky when your swc is called
>> > > > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
>> > > > >> > > >
>> > > > >> > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.
>> > > > >> > > > cs
>> > > > >> > > > s
>> > > > >> > > >
>> > > > >> > > > Thanks,
>> > > > >> > > > Piotr
>> > > > >> > > >
>> > > > >> > > >
>> > > > >> > > >
>> > > > >> > > >
>> > > > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
>> > > > >> > > > <ch...@c-ware.de>
>> > > > >> > > > napisał(a):
>> > > > >> > > >
>> > > > >> > > > > Hi Piotr,
>> > > > >> > > > >
>> > > > >> > > > > And is really the version-suffix causing it to not
>> > > > >> > > > > be picked up by the IDEs?
>> > > > >> > > > >
>> > > > >> > > > > Chris
>> > > > >> > > > >
>> > > > >> > > > > -----Ursprüngliche Nachricht-----
>> > > > >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
>> > > > >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
>> > > > >> > > > > An: dev@royale.apache.org
>> > > > >> > > > > Betreff: Re: Align Maven IDE distribution with Ant
>> > > > >> > > > > IDE distribution
>> > > > >> > > > >
>> > > > >> > > > > Hi Chris,
>> > > > >> > > > >
>> > > > >> > > > > This is the only thing which seems to be a constant
>> > > > >> > > > > problem
>> > > > here.
>> > > > >> > > > > I personally and some users will be much more happy
>> > > > >> > > > > having that
>> > > > >> > change.
>> > > > >> > > > >
>> > > > >> > > > > Thanks,
>> > > > >> > > > > Piotr
>> > > > >> > > > >
>> > > > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
>> > > > >> > > > > <ch...@c-ware.de>
>> > > > >> > > > > wrote:
>> > > > >> > > > >
>> > > > >> > > > > > Hi Piotr,
>> > > > >> > > > > >
>> > > > >> > > > > > I'd be happy to help with that.
>> > > > >> > > > > >
>> > > > >> > > > > > I did simply ask for a list of things that need to
>> > > > >> > > > > > be changed in order to get things working, but
>> > > > >> > > > > > never got said list, so I never knew what I could
>> > > > >> > > > > > do to make the Maven distribution match up to the
>> > > > >> > > > Ant built one.
>> > > > >> > > > > >
>> > > > >> > > > > > Chris
>> > > > >> > > > > >
>> > > > >> > > > > >
>> > > > >> > > > > > -----Ursprüngliche Nachricht-----
>> > > > >> > > > > > Von: Piotr Zarzycki <pi...@gmail.com>
>> > > > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
>> > > > >> > > > > > An: Apache Royale Development
>> > > > >> > > > > > <de...@royale.apache.org>
>> > > > >> > > > > > Betreff: Align Maven IDE distribution with Ant IDE
>> > > > >> > > > > > distribution
>> > > > >> > > > > >
>> > > > >> > > > > > Hi Guys,
>> > > > >> > > > > >
>> > > > >> > > > > > It's been couple of times when user complains that
>> > > > >> > > > > > he have problems with using Maven distribution vs
>> > > > >> > > > > > Ant distribution in IDE in a mixed project Jewel +
>> > > > >> > > > > > MX/Spark
>> > etc.
>> > > > >> > > > > >
>> > > > >> > > > > > Can we have that resolve once for all and adjust
>> > > > >> > > > > > Maven distribution folder to produce proper names
>> > > > >> > > > > > of
>> swcs ?
>> > > > >> > > > > >
>> > > > >> > > > > > Currently when I build Maven IDE distribution I have:
>> > > > >> > > > > >
>> > > > >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
>> > > > >> > > > > >
>> > > > >> > > > > > When I build Ant IDE distribution I have:
>> > > > >> > > > > >
>> > > > >> > > > > > MXRoyale-js.swc
>> > > > >> > > > > >
>> > > > >> > > > > > Thanks,
>> > > > >> > > > > > --
>> > > > >> > > > > >
>> > > > >> > > > > > Piotr Zarzycki
>> > > > >> > > > > >
>> > > > >> > > > > --
>> > > > >> > > > >
>> > > > >> > > > > Piotr Zarzycki
>> > > > >> > > > >
>> > > > >> > > >
>> > > > >> > > >
>> > > > >> > > > --
>> > > > >> > > >
>> > > > >> > > > Piotr Zarzycki
>> > > > >> > > >
>> > > > >> > >
>> > > > >> > >
>> > > > >> > > --
>> > > > >> > >
>> > > > >> > > Piotr Zarzycki
>> > > > >> > >
>> > > > >> >
>> > > > >> >
>> > > > >> > --
>> > > > >> >
>> > > > >> > Piotr Zarzycki
>> > > > >> >
>> > > > >>
>> > > > >>
>> > > > >> --
>> > > > >>
>> > > > >> Piotr Zarzycki
>> > > > >>
>> > > > >
>> > > > >
>> > > > > --
>> > > > > Carlos Rovira
>> > > > > Apache Member & Apache Royale PMC *Apache Software
>> > > > > Foundation* http://about.me/carlosrovira
>> > > > >
>> > > > >
>> > > >
>> > > > --
>> > > > Carlos Rovira
>> > > > Apache Member & Apache Royale PMC *Apache Software Foundation*
>> > > > http://about.me/carlosrovira
>> > > >
>> > >
>> > >
>> > > --
>> > >
>> > > Piotr Zarzycki
>> > >
>> >
>> >
>> > --
>> >
>> > Piotr Zarzycki
>> >
>>
>>
>> --
>>
>> Piotr Zarzycki
>>
>
>
> --
>
> Piotr Zarzycki
>
--
Piotr Zarzycki
AW: Align Maven IDE distribution with Ant IDE distribution
Posted by Christofer Dutz <ch...@c-ware.de>.
Ok ... so I had a look at the jars created by the modules in:
royale-asjs\distribution\jars\compc
These contain my changes ... however in the distribution for some strange reason they do not contain them.
I'll investigate.
Chris
-----Ursprüngliche Nachricht-----
Von: Christofer Dutz <ch...@c-ware.de>
Gesendet: Freitag, 19. Februar 2021 15:31
An: dev@royale.apache.org
Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
Hi Piotr,
then just ignore my mumbling ... seems things have changed slightly in Maven ... good for us ... makes things simpler. But gotta remember that. So sorry for the noise.
Well I haven't built anything with the SDK as I don't know how I would actually call it (I have allways just used Maven for that).
That's why I asked for the command you use to compile ...
Chris
-----Ursprüngliche Nachricht-----
Von: Piotr Zarzycki <pi...@gmail.com>
Gesendet: Freitag, 19. Februar 2021 15:06
An: Apache Royale Development <de...@royale.apache.org>
Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
Chris,
No change after your latest push I still have the same error. Did you try build yourself distribution and build some hello world ?
pt., 19 lut 2021 o 15:04 Piotr Zarzycki <pi...@gmail.com>
napisał(a):
> I don't understand what you are saying here at all. I know that when I
> do -DdistributionTargetFolder - I'm getting distribution build in a
> folder which I wanted to, so what it actually does ?
>
> pt., 19 lut 2021 o 15:00 Christofer Dutz <ch...@c-ware.de>
> napisał(a):
>
>> Well actually is doesn set an Environmet Variable,
>>
>> It's more or less the other way around ... an Environment Variable
>> can initialize a property in maven, but not the other way around.
>> And the magic for creating the directory distribution usualy only
>> kicks in if you set an environment variable. But if your directory is
>> not empty, just ignore my mumbling, then something has changed in
>> Maven
>>
>> Chris
>>
>> -----Ursprüngliche Nachricht-----
>> Von: Piotr Zarzycki <pi...@gmail.com>
>> Gesendet: Freitag, 19. Februar 2021 14:50
>> An: Apache Royale Development <de...@royale.apache.org>
>> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>>
>> I'm pointing an empty directory called distribution. Prefix -D sets
>> for me temporary env variable -> -DdistributionTargetFolder=path
>>
>> pt., 19 lut 2021 o 14:48 Christofer Dutz <ch...@c-ware.de>
>> napisał(a):
>>
>> > Does this creat the directory?
>> >
>> > Cause I think you have to set an Environment Variable:
>> >
>> > set distributionTargetFolder=d:\Work\royale_ide\distribution
>> >
>> > mvn clean install
>> >
>> > Chris
>> >
>> >
>> > -----Ursprüngliche Nachricht-----
>> > Von: Piotr Zarzycki <pi...@gmail.com>
>> > Gesendet: Freitag, 19. Februar 2021 14:41
>> > An: Apache Royale Development <de...@royale.apache.org>
>> > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>> >
>> > I have executed something like that cause I didn't know that it
>> > will use default compiler 0.9.9-SNAPSHOT
>> >
>> > mvn clean install -Droyale.compiler.version=0.9.9-SNAPSHOT
>> > -DdistributionTargetFolder=d:\Work\royale_ide\distribution
>> >
>> > pt., 19 lut 2021 o 14:26 Christofer Dutz
>> > <ch...@c-ware.de>
>> > napisał(a):
>> >
>> > > Hi all,
>> > >
>> > > so I just pushed another change to the distribution that should
>> > > fix the classpath problem.
>> > >
>> > > Piotr ... could you please try again? And if you send me the
>> > > command you always axecute, I could test it on my side.
>> > >
>> > > Chris
>> > >
>> > >
>> > > -----Ursprüngliche Nachricht-----
>> > > Von: Christofer Dutz <ch...@c-ware.de>
>> > > Gesendet: Freitag, 19. Februar 2021 14:12
>> > > An: dev@royale.apache.org
>> > > Betreff: AW: Align Maven IDE distribution with Ant IDE
>> > > distribution
>> > >
>> > > Hi Hiedra,
>> > >
>> > > well I changed the distribution to make the names like in the ANT
>> > > distribution yesterday.
>> > > But you are passing in an argument telling the compiler to use
>> > > the old format and now it should be the new ...
>> > >
>> > > Try:
>> > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
>> > > defaults.css; For -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
>> > > defaults.css;
>> > >
>> > > Instead of your variant.
>> > >
>> > > Chris
>> > >
>> > >
>> > > -----Ursprüngliche Nachricht-----
>> > > Von: Maria Jose Esteve <mj...@iest.com>
>> > > Gesendet: Freitag, 19. Februar 2021 14:08
>> > > An: dev@royale.apache.org
>> > > Betreff: RE: Align Maven IDE distribution with Ant IDE
>> > > distribution
>> > >
>> > > Yes, until recently I also compiled only with Maven. Due to the
>> > > problem with the spark.css I started to do the double compilation
>> > > of
>> > MAVEN and ANT.
>> > >
>> > > It's funny, now, the swc's are not generated with
>> > > "xxxx-0.9.8-SNAPSHOT-js.swc" in the distribution BUT if in the
>> > > pom of my project I change in additionalCompilerOptions:
>> > > -compiler.exclude-defaults-css-files = MXRoyale - $
>> > > {royale.framework.version} -js.swc: defaults.css; For
>> > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
>> > > defaults.css; My application starts to do nonsense (for example
>> > > the change of selectedContent in my ApplicationMainContent does
>> > > not display)
>> > >
>> > > Chris, thank you.
>> > > Hiedra
>> > >
>> > > -----Mensaje original-----
>> > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
>> > > viernes,
>> > > 19 de febrero de 2021 13:09
>> > > Para: dev@royale.apache.org
>> > > Asunto: AW: Align Maven IDE distribution with Ant IDE
>> > > distribution
>> > >
>> > > Hi Hiedra,
>> > >
>> > > I have to admit that I've never used VSCode. Every time I do any
>> > > development I usually use one of the JetBrains IDEs.
>> > > Royale Stuff I do in IntelliJ ... with my "Flexmojos Hack" it can
>> > > be used quite well. And I always compile with Maven.
>> > >
>> > > But thanks for the explanation on why the other path is set
>> differently.
>> > >
>> > > I guess we'll have to wait till some others can tell me what
>> > > needs to be changed.
>> > >
>> > > Chris
>> > >
>> > >
>> > > -----Ursprüngliche Nachricht-----
>> > > Von: Maria Jose Esteve <mj...@iest.com>
>> > > Gesendet: Freitag, 19. Februar 2021 12:48
>> > > An: dev@royale.apache.org
>> > > Betreff: RE: Align Maven IDE distribution with Ant IDE
>> > > distribution
>> > >
>> > > Hello Chris,
>> > > so that I can debug my changes in the SDK I need to set the path
>> > > of the "as3mxml.sdk.editor" to the asjs directory of my fork, for
>> > > this reason the path of the " as3mxml.sdk.framework" points to
>> > > the directory of the maven distribution and the
>> > > "as3mxml.sdk.editor" to
>> code.
>> > >
>> > > ">> I'm not getting any errors from VSCode. But well ... if I hit
>> > > SHIFT+Enter it starts doing something where if failed prior to my
>> > > >> changes this morning and is no longer complaining, but it's
>> > > >> also not
>> > > doing much (I can't see it create a "bin" directory)"
>> > >
>> > > I don't quite understand this ... possibly because of my lack of
>> > knowledge.
>> > >
>> > > I have not tried Carlos's project but this afternoon I will be
>> > > able to do it and I will be able to give more details.
>> > >
>> > > Thx.
>> > > Hiedra.
>> > >
>> > > -----Mensaje original-----
>> > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
>> > > viernes,
>> > > 19 de febrero de 2021 11:51
>> > > Para: dev@royale.apache.org
>> > > Asunto: AW: Align Maven IDE distribution with Ant IDE
>> > > distribution
>> > >
>> > > Hi Heidra,
>> > >
>> > > I just updated Carlos' example to have the same type of setting
>> > > (C:\\Temp\\RoyaleSDK is where I have my Maven build generate the SDK):
>> > >
>> > > setings.js:
>> > > {
>> > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
>> > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
>> > > }
>> > >
>> > > workspace-code-workspace
>> > > {
>> > > "folders": [
>> > > {
>> > > "path": ".."
>> > > }
>> > > ],
>> > > "settings": {
>> > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
>> > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
>> > > }
>> > > }
>> > >
>> > > I'm not getting any errors from VSCode. But well ... if I hit
>> > > SHIFT+Enter it starts doing something where if failed prior to my
>> > > changes this morning and is no longer complaining, but it's also
>> > > not doing much (I can't see it create a "bin" directory)
>> > >
>> > > Chris
>> > >
>> > >
>> > > -----Ursprüngliche Nachricht-----
>> > > Von: Maria Jose Esteve <mj...@iest.com>
>> > > Gesendet: Freitag, 19. Februar 2021 10:53
>> > > An: dev@royale.apache.org
>> > > Betreff: RE: Align Maven IDE distribution with Ant IDE
>> > > distribution
>> > >
>> > > If I don't compile with ANT, the mxml extension in vsCode IDE, it
>> > > doesn't recognize the valid asjs directory for "as3mxml.sdk.editor":
>> > > ...
>> > > "settings": {
>> > > "as3mxml.sdk.framework":
>> > > "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
>> > > "as3mxml.sdk.editor":
>> > > "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs" <--------
>> > > [download folder repo royale-asjs]
>> > > }
>> > > }
>> > >
>> > > The error is:
>> > > " as3mxml.sdk.editor in settings does not point to a valid SDK.
>> > > Requires..."
>> > >
>> > > Thx.
>> > > Hiedra.
>> > >
>> > > -----Mensaje original-----
>> > > De: Piotr Zarzycki <pi...@gmail.com> Enviado el:
>> > > viernes,
>> > > 19 de febrero de 2021 10:44
>> > > Para: Apache Royale Development <de...@royale.apache.org>
>> > > Asunto: Re: Align Maven IDE distribution with Ant IDE
>> > > distribution
>> > >
>> > > Hi Chris,
>> > >
>> > > I just tried your changes and I have same issue. I need to
>> > > understand what has change enough significantly that it causes
>> > > compilation fail in such way. It doesn't happen with SDK prepared
>> > > by
>> ANT.
>> > >
>> > > Thanks,
>> > > Piotr
>> > >
>> > > pt., 19 lut 2021 o 10:33 Maria Jose Esteve <mj...@iest.com>
>> > napisał(a):
>> > >
>> > > > @Chris you're right, sorry, I didn't download your last commit.
>> > > > I'm sorry.
>> > > > Hiedra.
>> > > >
>> > > > -----Mensaje original-----
>> > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
>> > > > viernes,
>> > > > 19 de febrero de 2021 10:17
>> > > > Para: dev@royale.apache.org
>> > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
>> > > > distribution
>> > > >
>> > > > I'll try to guess what you wanted to say here ...
>> > > >
>> > > > But I think these are exactly the changes I comitted a an hour
>> > > > ago,
>> > > right?
>> > > > At least in general I replaced all the references to names with
>> > > > versions to the changed ones.
>> > > >
>> > > >
>> > > > Chris
>> > > >
>> > > >
>> > > >
>> > > > -----Ursprüngliche Nachricht-----
>> > > > Von: Maria Jose Esteve <mj...@iest.com>
>> > > > Gesendet: Freitag, 19. Februar 2021 10:01
>> > > > An: dev@royale.apache.org
>> > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
>> > > > distribution
>> > > >
>> > > > Hi,
>> > > > Mi distribución hace referencia en el fichero
>> > > > "./frameworks/royale-config.xml" a las librerías:
>> > > >
>> > > > <js-external-library-path>
>> > > >
>> > > > <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.
>> > > > sw
>> > > > c</path-element>
>> > > >
>> > > >
>> > > <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typed
>> > > efs
>> > > .s
>> > > wc</path-element>
>> > > > </js-external-library-path>
>> > > >
>> > > > Las correctas son:
>> > > >
>> > > > <js-external-library-path>
>> > > >
>> > <path-element>../js/libs/royale-typedefs-js.swc</path-element>
>> > > >
>> > <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
>> > > > </js-external-library-path>
>> > > >
>> > > > Hiedra
>> > > >
>> > > > -----Mensaje original-----
>> > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
>> > > > viernes,
>> > > > 19 de febrero de 2021 9:39
>> > > > Para: dev@royale.apache.org
>> > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
>> > > > distribution
>> > > >
>> > > > Ok,
>> > > >
>> > > > so the config xml files in the distribution were still pointing
>> > > > to the old names. I updated them all to now refer to the names.
>> > > > I tried things in Carlos' demo project, and I'm no-longer
>> > > > getting the errors, however compilation seems to take for ever.
>> > > >
>> > > > Please try out the changes and tell me if there are any
>> > > > problems with
>> > > them.
>> > > >
>> > > > Chris
>> > > >
>> > > > -----Ursprüngliche Nachricht-----
>> > > > Von: Christofer Dutz <ch...@c-ware.de>
>> > > > Gesendet: Donnerstag, 18. Februar 2021 23:17
>> > > > An: dev@royale.apache.org
>> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
>> > > > distribution
>> > > >
>> > > > Hi Carlos,
>> > > >
>> > > > I'll look into this tomorrow.
>> > > >
>> > > > Chris
>> > > >
>> > > > -----Ursprüngliche Nachricht-----
>> > > > Von: Carlos Rovira <ca...@apache.org>
>> > > > Gesendet: Donnerstag, 18. Februar 2021 17:49
>> > > > An: Apache Royale Development <de...@royale.apache.org>
>> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
>> > > > distribution
>> > > >
>> > > > Hi, I think I talked very quickly, sorry, there seems to be a
>> problem.
>> > > >
>> > > > @Christofer Dutz <ch...@c-ware.de> you can download
>> > > > this
>> > > > project:
>> > > >
>> > > >
>> > > > https://github.com/apache/royale-asjs/files/6004363/ToggleButto
>> > > > nBa
>> > > > rI
>> > > > ss
>> > > > ue.zip
>> > > >
>> > > > Then using VSCode with AS3&MXML and adding the Maven distribution.
>> > > > Then hit CTRL+ENTER and you will get the following fail. Using
>> > > > ANT distribution is working fine.
>> > > > Can you take a look?
>> > > >
>> > > > Royale Compiler Shell
>> > > > (fcsh) mxmlc --debug=false +configname=royale
>> > > > --targets=JSRoyale --source-map=true
>> > > > --html-template=src/html/jewel-example-index-template.html
>> > > >
>> > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-T
>> > > > hem
>> > > > e/
>> > > > sr
>> > > > c/main/resources/defaults.css
>> > > > --source-path+=src
>> > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJS.s
>> > > > --source-path+--library-path+wc
>> > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.cs
>> > > > s -js-dynamic-access-unknown-members=true -- src/App.mxml
>> > > > fcsh: Assigned 1 as the compile target id The project 'App' has
>> > > > been successfully compiled and optimized.
>> > > > Compile status: 0
>> > > > Elapsed time: 14.211105399 seconds Feb 18, 2021 5:43:40 PM
>> > > > com.google.javascript.jscomp.LoggerErrorManager
>> > > > printSummary
>> > > > INFO: 0 error(s), 0 warning(s), 96.5% typed
>> > > > (fcsh) quit
>> > > > Compiler shell exited with code: 0 Royale Compiler Shell
>> > > > (fcsh) mxmlc --debug=false +configname=royale
>> > > > --targets=JSRoyale --source-map=true
>> > > > --html-template=src/html/jewel-example-index-template.html
>> > > >
>> > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-T
>> > > > hem
>> > > > e/
>> > > > sr
>> > > > c/main/resources/defaults.css
>> > > > --source-path+=src
>> > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJS.s
>> > > > --source-path+--library-path+wc
>> > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.cs
>> > > > s -js-dynamic-access-unknown-members=true -- src/App.mxml
>> > > > fcsh: Assigned 1 as the compile target id Compile status: 5
>> > > > Elapsed
>> > time:
>> > > > 0.618407478 seconds
>> > > >
>> > > >
>> > >
>> >
>> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
>> > > > col: 0 Error: unable to open
>> > > >
>> > > >
>> > >
>> >
>> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
>> > > >
>> > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/framewo
>> > > > rks
>> > > > /r
>> > > > oy
>> > > > ale-config.xml
>> > > > (line: 81)
>> > > >
>> > > > </js-external-library-path>
>> > > >
>> > > >
>> > > >
>> > > >
>> > >
>> >
>> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
>> > > > col: 0 Error: unable to open
>> > > >
>> > > >
>> > >
>> >
>> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
>> > > >
>> > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/framewo
>> > > > rks
>> > > > /r
>> > > > oy
>> > > > ale-config.xml
>> > > > (line: 81)
>> > > >
>> > > > </js-external-library-path>
>> > > > (fcsh)
>> > > > Quick Compile failed. Errors in compiler output.
>> > > >
>> > > > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
>> > > > (<ca...@apache.org>)
>> > > > escribió:
>> > > >
>> > > > > Hi,
>> > > > >
>> > > > > I rebuilt all from scratch just now and finally the
>> > > > > distribution too and tried in VSCode and all seems to work fine for me.
>> > > > >
>> > > > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
>> > > > > christofer.dutz@c-ware.de>) escribió:
>> > > > >
>> > > > >> Hi Piotr,
>> > > > >>
>> > > > >> that class is located in lib\external\flex-tool-api.jar At
>> > > > >> least in my distribution it's there and it contains the class.
>> > > > >>
>> > > > >> How are you calling the build that's failing?
>> > > > >>
>> > > > >> Chris
>> > > > >>
>> > > > >> -----Ursprüngliche Nachricht-----
>> > > > >> Von: Piotr Zarzycki <pi...@gmail.com>
>> > > > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
>> > > > >> An: Apache Royale Development <de...@royale.apache.org>
>> > > > >> Betreff: Re: Align Maven IDE distribution with Ant IDE
>> > > > >> distribution
>> > > > >>
>> > > > >> Chris,
>> > > > >>
>> > > > >> I just checked and I'm not able build project anymore using
>> > > > distribution:
>> > > > >>
>> > > > >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
>> > > > >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
>> > > > >> -Xms356m -Xmx3000m
>> > > > >> : Error: Could not find or load main class
>> > > > >> org.apache.royale.compiler.clients.MXMLJSC
>> > > > >> : Caused by: java.lang.NoClassDefFoundError:
>> > > > >> org/apache/flex/tools/FlexTool
>> > > > >>
>> > > > >> I'm done for today, so I will answer anything tomorrow.
>> > > > >>
>> > > > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
>> > > > >> <ch...@c-ware.de>
>> > > > >> napisał(a):
>> > > > >>
>> > > > >> > Ok ...
>> > > > >> >
>> > > > >> > so I just pushed another change. Now the distribution
>> > > > >> > should also contain an empty spark.css, just like the Ant one.
>> > > > >> >
>> > > > >> > Chris
>> > > > >> >
>> > > > >> >
>> > > > >> > -----Ursprüngliche Nachricht-----
>> > > > >> > Von: Christofer Dutz <ch...@c-ware.de>
>> > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
>> > > > >> > An: dev@royale.apache.org
>> > > > >> > Betreff: AW: Align Maven IDE distribution with Ant IDE
>> > > > >> > distribution
>> > > > >> >
>> > > > >> > Ok,
>> > > > >> >
>> > > > >> > so that should now be fixed. Leaves the "spark.css"
>> > > > >> > Having had a look, it seems as if the Ant build creates an
>> > > > >> > empty
>> > > > >> spark.css.
>> > > > >> >
>> > > > >> > Is this all we need? If yes, then I'll have that in ther
>> > > > >> > in no
>> > time.
>> > > > >> >
>> > > > >> > Chris
>> > > > >> >
>> > > > >> > -----Ursprüngliche Nachricht-----
>> > > > >> > Von: Piotr Zarzycki <pi...@gmail.com>
>> > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
>> > > > >> > An: Apache Royale Development <de...@royale.apache.org>
>> > > > >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
>> > > > >> > distribution
>> > > > >> >
>> > > > >> > *(I assume that's in the "frameworks/js/libs" directory? *
>> > > > >> >
>> > > > >> > Yes this is the directory.
>> > > > >> >
>> > > > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
>> > > > >> > <ch...@c-ware.de>
>> > > > >> > napisał(a):
>> > > > >> >
>> > > > >> > > Hi Piotr,
>> > > > >> > >
>> > > > >> > > Ok ... so Ant seems to be adding a "JS" to the end of
>> > > > >> > > every name (I assume that's in the "frameworks/js/libs" directory?
>> > > > >> > >
>> > > > >> > > Also I'll try to find out where the "spark.css" should
>> > > > >> > > come from
>> > > ...
>> > > > >> > > and where it should go to.
>> > > > >> > >
>> > > > >> > > Chris
>> > > > >> > >
>> > > > >> > >
>> > > > >> > > -----Ursprüngliche Nachricht-----
>> > > > >> > > Von: Piotr Zarzycki <pi...@gmail.com>
>> > > > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
>> > > > >> > > An: Apache Royale Development <de...@royale.apache.org>
>> > > > >> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
>> > > > >> > > distribution
>> > > > >> > >
>> > > > >> > > Chris,
>> > > > >> > >
>> > > > >> > > Looks better but here is the comparision what I have in
>> > > > >> > > Ant distribution vs Maven distribution in case of names.
>> > > > >> > > On the left Ant distribution, on the right Maven. It is folder:
>> > > > >> > > frameworks\js\libs\ [1]
>> > > > >> > >
>> > > > >> > > [1] https://ibb.co/W2DzcDb
>> > > > >> > >
>> > > > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
>> > > > >> > > <ch...@c-ware.de>
>> > > > >> > > napisał(a):
>> > > > >> > >
>> > > > >> > > > And done ...
>> > > > >> > > >
>> > > > >> > > > Now all elements in the distribution only consist of
>> > > > >> > > > their name and file-ending ... all versions and
>> > > > >> > > > classifiers have been
>> > > > removed.
>> > > > >> > > > Please provide me with feedback on if this solves the
>> issues.
>> > > > >> > > >
>> > > > >> > > > Chris
>> > > > >> > > >
>> > > > >> > > >
>> > > > >> > > > -----Ursprüngliche Nachricht-----
>> > > > >> > > > Von: Christofer Dutz <ch...@c-ware.de>
>> > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
>> > > > >> > > > An: dev@royale.apache.org
>> > > > >> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
>> > > > >> > > > distribution
>> > > > >> > > >
>> > > > >> > > > I'll probably have a fix for that in a few minuntes ...
>> > > > >> > > >
>> > > > >> > > >
>> > > > >> > > > Chris
>> > > > >> > > >
>> > > > >> > > >
>> > > > >> > > > -----Ursprüngliche Nachricht-----
>> > > > >> > > > Von: Piotr Zarzycki <pi...@gmail.com>
>> > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
>> > > > >> > > > An: Apache Royale Development <de...@royale.apache.org>
>> > > > >> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
>> > > > >> > > > distribution
>> > > > >> > > >
>> > > > >> > > > Chris,
>> > > > >> > > >
>> > > > >> > > > No it's not about not picking up by IDE at all.
>> > > > >> > > > Moonshine and VSCode are able to build projects using
>> > > > >> > > > Maven distribution package! It is about project which
>> > > > >> > > > are mixed for example when user wanted to use Jewel
>> > > > >> > > > module + RemoteObject class from MXRoyale module. In
>> > > > >> > > > that case user need to point explicilty as a compiler
>> > > > >> > > > options in IDE that he wanted to have SWC included and
>> > > > >> > > > need to exclude css from that swc to
>> > > > >> > > avoid problems.
>> > > > >> > > >
>> > > > >> > > > It is happen like that:
>> > > > >> > > >
>> > > > >> > > >
>> > > > >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>> > > > >> > > >
>> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
>> > > > >> > > > cs
>> > > > >> > > > s
>> > > > >> > > >
>> > > > >> > > > If I would like to use maven distribution user need to
>> > > > >> > > > know version for that compiler options. It is even
>> > > > >> > > > more tricky when your swc is called
>> > > > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
>> > > > >> > > >
>> > > > >> > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.
>> > > > >> > > > cs
>> > > > >> > > > s
>> > > > >> > > >
>> > > > >> > > > Thanks,
>> > > > >> > > > Piotr
>> > > > >> > > >
>> > > > >> > > >
>> > > > >> > > >
>> > > > >> > > >
>> > > > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
>> > > > >> > > > <ch...@c-ware.de>
>> > > > >> > > > napisał(a):
>> > > > >> > > >
>> > > > >> > > > > Hi Piotr,
>> > > > >> > > > >
>> > > > >> > > > > And is really the version-suffix causing it to not
>> > > > >> > > > > be picked up by the IDEs?
>> > > > >> > > > >
>> > > > >> > > > > Chris
>> > > > >> > > > >
>> > > > >> > > > > -----Ursprüngliche Nachricht-----
>> > > > >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
>> > > > >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
>> > > > >> > > > > An: dev@royale.apache.org
>> > > > >> > > > > Betreff: Re: Align Maven IDE distribution with Ant
>> > > > >> > > > > IDE distribution
>> > > > >> > > > >
>> > > > >> > > > > Hi Chris,
>> > > > >> > > > >
>> > > > >> > > > > This is the only thing which seems to be a constant
>> > > > >> > > > > problem
>> > > > here.
>> > > > >> > > > > I personally and some users will be much more happy
>> > > > >> > > > > having that
>> > > > >> > change.
>> > > > >> > > > >
>> > > > >> > > > > Thanks,
>> > > > >> > > > > Piotr
>> > > > >> > > > >
>> > > > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
>> > > > >> > > > > <ch...@c-ware.de>
>> > > > >> > > > > wrote:
>> > > > >> > > > >
>> > > > >> > > > > > Hi Piotr,
>> > > > >> > > > > >
>> > > > >> > > > > > I'd be happy to help with that.
>> > > > >> > > > > >
>> > > > >> > > > > > I did simply ask for a list of things that need to
>> > > > >> > > > > > be changed in order to get things working, but
>> > > > >> > > > > > never got said list, so I never knew what I could
>> > > > >> > > > > > do to make the Maven distribution match up to the
>> > > > >> > > > Ant built one.
>> > > > >> > > > > >
>> > > > >> > > > > > Chris
>> > > > >> > > > > >
>> > > > >> > > > > >
>> > > > >> > > > > > -----Ursprüngliche Nachricht-----
>> > > > >> > > > > > Von: Piotr Zarzycki <pi...@gmail.com>
>> > > > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
>> > > > >> > > > > > An: Apache Royale Development
>> > > > >> > > > > > <de...@royale.apache.org>
>> > > > >> > > > > > Betreff: Align Maven IDE distribution with Ant IDE
>> > > > >> > > > > > distribution
>> > > > >> > > > > >
>> > > > >> > > > > > Hi Guys,
>> > > > >> > > > > >
>> > > > >> > > > > > It's been couple of times when user complains that
>> > > > >> > > > > > he have problems with using Maven distribution vs
>> > > > >> > > > > > Ant distribution in IDE in a mixed project Jewel +
>> > > > >> > > > > > MX/Spark
>> > etc.
>> > > > >> > > > > >
>> > > > >> > > > > > Can we have that resolve once for all and adjust
>> > > > >> > > > > > Maven distribution folder to produce proper names
>> > > > >> > > > > > of
>> swcs ?
>> > > > >> > > > > >
>> > > > >> > > > > > Currently when I build Maven IDE distribution I have:
>> > > > >> > > > > >
>> > > > >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
>> > > > >> > > > > >
>> > > > >> > > > > > When I build Ant IDE distribution I have:
>> > > > >> > > > > >
>> > > > >> > > > > > MXRoyale-js.swc
>> > > > >> > > > > >
>> > > > >> > > > > > Thanks,
>> > > > >> > > > > > --
>> > > > >> > > > > >
>> > > > >> > > > > > Piotr Zarzycki
>> > > > >> > > > > >
>> > > > >> > > > > --
>> > > > >> > > > >
>> > > > >> > > > > Piotr Zarzycki
>> > > > >> > > > >
>> > > > >> > > >
>> > > > >> > > >
>> > > > >> > > > --
>> > > > >> > > >
>> > > > >> > > > Piotr Zarzycki
>> > > > >> > > >
>> > > > >> > >
>> > > > >> > >
>> > > > >> > > --
>> > > > >> > >
>> > > > >> > > Piotr Zarzycki
>> > > > >> > >
>> > > > >> >
>> > > > >> >
>> > > > >> > --
>> > > > >> >
>> > > > >> > Piotr Zarzycki
>> > > > >> >
>> > > > >>
>> > > > >>
>> > > > >> --
>> > > > >>
>> > > > >> Piotr Zarzycki
>> > > > >>
>> > > > >
>> > > > >
>> > > > > --
>> > > > > Carlos Rovira
>> > > > > Apache Member & Apache Royale PMC *Apache Software
>> > > > > Foundation* http://about.me/carlosrovira
>> > > > >
>> > > > >
>> > > >
>> > > > --
>> > > > Carlos Rovira
>> > > > Apache Member & Apache Royale PMC *Apache Software Foundation*
>> > > > http://about.me/carlosrovira
>> > > >
>> > >
>> > >
>> > > --
>> > >
>> > > Piotr Zarzycki
>> > >
>> >
>> >
>> > --
>> >
>> > Piotr Zarzycki
>> >
>>
>>
>> --
>>
>> Piotr Zarzycki
>>
>
>
> --
>
> Piotr Zarzycki
>
--
Piotr Zarzycki
AW: Align Maven IDE distribution with Ant IDE distribution
Posted by Christofer Dutz <ch...@c-ware.de>.
Hi Piotr,
then just ignore my mumbling ... seems things have changed slightly in Maven ... good for us ... makes things simpler. But gotta remember that. So sorry for the noise.
Well I haven't built anything with the SDK as I don't know how I would actually call it (I have allways just used Maven for that).
That's why I asked for the command you use to compile ...
Chris
-----Ursprüngliche Nachricht-----
Von: Piotr Zarzycki <pi...@gmail.com>
Gesendet: Freitag, 19. Februar 2021 15:06
An: Apache Royale Development <de...@royale.apache.org>
Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
Chris,
No change after your latest push I still have the same error. Did you try build yourself distribution and build some hello world ?
pt., 19 lut 2021 o 15:04 Piotr Zarzycki <pi...@gmail.com>
napisał(a):
> I don't understand what you are saying here at all. I know that when I
> do -DdistributionTargetFolder - I'm getting distribution build in a
> folder which I wanted to, so what it actually does ?
>
> pt., 19 lut 2021 o 15:00 Christofer Dutz <ch...@c-ware.de>
> napisał(a):
>
>> Well actually is doesn set an Environmet Variable,
>>
>> It's more or less the other way around ... an Environment Variable
>> can initialize a property in maven, but not the other way around.
>> And the magic for creating the directory distribution usualy only
>> kicks in if you set an environment variable. But if your directory is
>> not empty, just ignore my mumbling, then something has changed in
>> Maven
>>
>> Chris
>>
>> -----Ursprüngliche Nachricht-----
>> Von: Piotr Zarzycki <pi...@gmail.com>
>> Gesendet: Freitag, 19. Februar 2021 14:50
>> An: Apache Royale Development <de...@royale.apache.org>
>> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>>
>> I'm pointing an empty directory called distribution. Prefix -D sets
>> for me temporary env variable -> -DdistributionTargetFolder=path
>>
>> pt., 19 lut 2021 o 14:48 Christofer Dutz <ch...@c-ware.de>
>> napisał(a):
>>
>> > Does this creat the directory?
>> >
>> > Cause I think you have to set an Environment Variable:
>> >
>> > set distributionTargetFolder=d:\Work\royale_ide\distribution
>> >
>> > mvn clean install
>> >
>> > Chris
>> >
>> >
>> > -----Ursprüngliche Nachricht-----
>> > Von: Piotr Zarzycki <pi...@gmail.com>
>> > Gesendet: Freitag, 19. Februar 2021 14:41
>> > An: Apache Royale Development <de...@royale.apache.org>
>> > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>> >
>> > I have executed something like that cause I didn't know that it
>> > will use default compiler 0.9.9-SNAPSHOT
>> >
>> > mvn clean install -Droyale.compiler.version=0.9.9-SNAPSHOT
>> > -DdistributionTargetFolder=d:\Work\royale_ide\distribution
>> >
>> > pt., 19 lut 2021 o 14:26 Christofer Dutz
>> > <ch...@c-ware.de>
>> > napisał(a):
>> >
>> > > Hi all,
>> > >
>> > > so I just pushed another change to the distribution that should
>> > > fix the classpath problem.
>> > >
>> > > Piotr ... could you please try again? And if you send me the
>> > > command you always axecute, I could test it on my side.
>> > >
>> > > Chris
>> > >
>> > >
>> > > -----Ursprüngliche Nachricht-----
>> > > Von: Christofer Dutz <ch...@c-ware.de>
>> > > Gesendet: Freitag, 19. Februar 2021 14:12
>> > > An: dev@royale.apache.org
>> > > Betreff: AW: Align Maven IDE distribution with Ant IDE
>> > > distribution
>> > >
>> > > Hi Hiedra,
>> > >
>> > > well I changed the distribution to make the names like in the ANT
>> > > distribution yesterday.
>> > > But you are passing in an argument telling the compiler to use
>> > > the old format and now it should be the new ...
>> > >
>> > > Try:
>> > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
>> > > defaults.css; For -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
>> > > defaults.css;
>> > >
>> > > Instead of your variant.
>> > >
>> > > Chris
>> > >
>> > >
>> > > -----Ursprüngliche Nachricht-----
>> > > Von: Maria Jose Esteve <mj...@iest.com>
>> > > Gesendet: Freitag, 19. Februar 2021 14:08
>> > > An: dev@royale.apache.org
>> > > Betreff: RE: Align Maven IDE distribution with Ant IDE
>> > > distribution
>> > >
>> > > Yes, until recently I also compiled only with Maven. Due to the
>> > > problem with the spark.css I started to do the double compilation
>> > > of
>> > MAVEN and ANT.
>> > >
>> > > It's funny, now, the swc's are not generated with
>> > > "xxxx-0.9.8-SNAPSHOT-js.swc" in the distribution BUT if in the
>> > > pom of my project I change in additionalCompilerOptions:
>> > > -compiler.exclude-defaults-css-files = MXRoyale - $
>> > > {royale.framework.version} -js.swc: defaults.css; For
>> > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
>> > > defaults.css; My application starts to do nonsense (for example
>> > > the change of selectedContent in my ApplicationMainContent does
>> > > not display)
>> > >
>> > > Chris, thank you.
>> > > Hiedra
>> > >
>> > > -----Mensaje original-----
>> > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
>> > > viernes,
>> > > 19 de febrero de 2021 13:09
>> > > Para: dev@royale.apache.org
>> > > Asunto: AW: Align Maven IDE distribution with Ant IDE
>> > > distribution
>> > >
>> > > Hi Hiedra,
>> > >
>> > > I have to admit that I've never used VSCode. Every time I do any
>> > > development I usually use one of the JetBrains IDEs.
>> > > Royale Stuff I do in IntelliJ ... with my "Flexmojos Hack" it can
>> > > be used quite well. And I always compile with Maven.
>> > >
>> > > But thanks for the explanation on why the other path is set
>> differently.
>> > >
>> > > I guess we'll have to wait till some others can tell me what
>> > > needs to be changed.
>> > >
>> > > Chris
>> > >
>> > >
>> > > -----Ursprüngliche Nachricht-----
>> > > Von: Maria Jose Esteve <mj...@iest.com>
>> > > Gesendet: Freitag, 19. Februar 2021 12:48
>> > > An: dev@royale.apache.org
>> > > Betreff: RE: Align Maven IDE distribution with Ant IDE
>> > > distribution
>> > >
>> > > Hello Chris,
>> > > so that I can debug my changes in the SDK I need to set the path
>> > > of the "as3mxml.sdk.editor" to the asjs directory of my fork, for
>> > > this reason the path of the " as3mxml.sdk.framework" points to
>> > > the directory of the maven distribution and the
>> > > "as3mxml.sdk.editor" to
>> code.
>> > >
>> > > ">> I'm not getting any errors from VSCode. But well ... if I hit
>> > > SHIFT+Enter it starts doing something where if failed prior to my
>> > > >> changes this morning and is no longer complaining, but it's
>> > > >> also not
>> > > doing much (I can't see it create a "bin" directory)"
>> > >
>> > > I don't quite understand this ... possibly because of my lack of
>> > knowledge.
>> > >
>> > > I have not tried Carlos's project but this afternoon I will be
>> > > able to do it and I will be able to give more details.
>> > >
>> > > Thx.
>> > > Hiedra.
>> > >
>> > > -----Mensaje original-----
>> > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
>> > > viernes,
>> > > 19 de febrero de 2021 11:51
>> > > Para: dev@royale.apache.org
>> > > Asunto: AW: Align Maven IDE distribution with Ant IDE
>> > > distribution
>> > >
>> > > Hi Heidra,
>> > >
>> > > I just updated Carlos' example to have the same type of setting
>> > > (C:\\Temp\\RoyaleSDK is where I have my Maven build generate the SDK):
>> > >
>> > > setings.js:
>> > > {
>> > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
>> > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
>> > > }
>> > >
>> > > workspace-code-workspace
>> > > {
>> > > "folders": [
>> > > {
>> > > "path": ".."
>> > > }
>> > > ],
>> > > "settings": {
>> > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
>> > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
>> > > }
>> > > }
>> > >
>> > > I'm not getting any errors from VSCode. But well ... if I hit
>> > > SHIFT+Enter it starts doing something where if failed prior to my
>> > > changes this morning and is no longer complaining, but it's also
>> > > not doing much (I can't see it create a "bin" directory)
>> > >
>> > > Chris
>> > >
>> > >
>> > > -----Ursprüngliche Nachricht-----
>> > > Von: Maria Jose Esteve <mj...@iest.com>
>> > > Gesendet: Freitag, 19. Februar 2021 10:53
>> > > An: dev@royale.apache.org
>> > > Betreff: RE: Align Maven IDE distribution with Ant IDE
>> > > distribution
>> > >
>> > > If I don't compile with ANT, the mxml extension in vsCode IDE, it
>> > > doesn't recognize the valid asjs directory for "as3mxml.sdk.editor":
>> > > ...
>> > > "settings": {
>> > > "as3mxml.sdk.framework":
>> > > "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
>> > > "as3mxml.sdk.editor":
>> > > "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs" <--------
>> > > [download folder repo royale-asjs]
>> > > }
>> > > }
>> > >
>> > > The error is:
>> > > " as3mxml.sdk.editor in settings does not point to a valid SDK.
>> > > Requires..."
>> > >
>> > > Thx.
>> > > Hiedra.
>> > >
>> > > -----Mensaje original-----
>> > > De: Piotr Zarzycki <pi...@gmail.com> Enviado el:
>> > > viernes,
>> > > 19 de febrero de 2021 10:44
>> > > Para: Apache Royale Development <de...@royale.apache.org>
>> > > Asunto: Re: Align Maven IDE distribution with Ant IDE
>> > > distribution
>> > >
>> > > Hi Chris,
>> > >
>> > > I just tried your changes and I have same issue. I need to
>> > > understand what has change enough significantly that it causes
>> > > compilation fail in such way. It doesn't happen with SDK prepared
>> > > by
>> ANT.
>> > >
>> > > Thanks,
>> > > Piotr
>> > >
>> > > pt., 19 lut 2021 o 10:33 Maria Jose Esteve <mj...@iest.com>
>> > napisał(a):
>> > >
>> > > > @Chris you're right, sorry, I didn't download your last commit.
>> > > > I'm sorry.
>> > > > Hiedra.
>> > > >
>> > > > -----Mensaje original-----
>> > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
>> > > > viernes,
>> > > > 19 de febrero de 2021 10:17
>> > > > Para: dev@royale.apache.org
>> > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
>> > > > distribution
>> > > >
>> > > > I'll try to guess what you wanted to say here ...
>> > > >
>> > > > But I think these are exactly the changes I comitted a an hour
>> > > > ago,
>> > > right?
>> > > > At least in general I replaced all the references to names with
>> > > > versions to the changed ones.
>> > > >
>> > > >
>> > > > Chris
>> > > >
>> > > >
>> > > >
>> > > > -----Ursprüngliche Nachricht-----
>> > > > Von: Maria Jose Esteve <mj...@iest.com>
>> > > > Gesendet: Freitag, 19. Februar 2021 10:01
>> > > > An: dev@royale.apache.org
>> > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
>> > > > distribution
>> > > >
>> > > > Hi,
>> > > > Mi distribución hace referencia en el fichero
>> > > > "./frameworks/royale-config.xml" a las librerías:
>> > > >
>> > > > <js-external-library-path>
>> > > >
>> > > > <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.
>> > > > sw
>> > > > c</path-element>
>> > > >
>> > > >
>> > > <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typed
>> > > efs
>> > > .s
>> > > wc</path-element>
>> > > > </js-external-library-path>
>> > > >
>> > > > Las correctas son:
>> > > >
>> > > > <js-external-library-path>
>> > > >
>> > <path-element>../js/libs/royale-typedefs-js.swc</path-element>
>> > > >
>> > <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
>> > > > </js-external-library-path>
>> > > >
>> > > > Hiedra
>> > > >
>> > > > -----Mensaje original-----
>> > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
>> > > > viernes,
>> > > > 19 de febrero de 2021 9:39
>> > > > Para: dev@royale.apache.org
>> > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
>> > > > distribution
>> > > >
>> > > > Ok,
>> > > >
>> > > > so the config xml files in the distribution were still pointing
>> > > > to the old names. I updated them all to now refer to the names.
>> > > > I tried things in Carlos' demo project, and I'm no-longer
>> > > > getting the errors, however compilation seems to take for ever.
>> > > >
>> > > > Please try out the changes and tell me if there are any
>> > > > problems with
>> > > them.
>> > > >
>> > > > Chris
>> > > >
>> > > > -----Ursprüngliche Nachricht-----
>> > > > Von: Christofer Dutz <ch...@c-ware.de>
>> > > > Gesendet: Donnerstag, 18. Februar 2021 23:17
>> > > > An: dev@royale.apache.org
>> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
>> > > > distribution
>> > > >
>> > > > Hi Carlos,
>> > > >
>> > > > I'll look into this tomorrow.
>> > > >
>> > > > Chris
>> > > >
>> > > > -----Ursprüngliche Nachricht-----
>> > > > Von: Carlos Rovira <ca...@apache.org>
>> > > > Gesendet: Donnerstag, 18. Februar 2021 17:49
>> > > > An: Apache Royale Development <de...@royale.apache.org>
>> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
>> > > > distribution
>> > > >
>> > > > Hi, I think I talked very quickly, sorry, there seems to be a
>> problem.
>> > > >
>> > > > @Christofer Dutz <ch...@c-ware.de> you can download
>> > > > this
>> > > > project:
>> > > >
>> > > >
>> > > > https://github.com/apache/royale-asjs/files/6004363/ToggleButto
>> > > > nBa
>> > > > rI
>> > > > ss
>> > > > ue.zip
>> > > >
>> > > > Then using VSCode with AS3&MXML and adding the Maven distribution.
>> > > > Then hit CTRL+ENTER and you will get the following fail. Using
>> > > > ANT distribution is working fine.
>> > > > Can you take a look?
>> > > >
>> > > > Royale Compiler Shell
>> > > > (fcsh) mxmlc --debug=false +configname=royale
>> > > > --targets=JSRoyale --source-map=true
>> > > > --html-template=src/html/jewel-example-index-template.html
>> > > >
>> > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-T
>> > > > hem
>> > > > e/
>> > > > sr
>> > > > c/main/resources/defaults.css
>> > > > --source-path+=src
>> > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJS.s
>> > > > --source-path+--library-path+wc
>> > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.cs
>> > > > s -js-dynamic-access-unknown-members=true -- src/App.mxml
>> > > > fcsh: Assigned 1 as the compile target id The project 'App' has
>> > > > been successfully compiled and optimized.
>> > > > Compile status: 0
>> > > > Elapsed time: 14.211105399 seconds Feb 18, 2021 5:43:40 PM
>> > > > com.google.javascript.jscomp.LoggerErrorManager
>> > > > printSummary
>> > > > INFO: 0 error(s), 0 warning(s), 96.5% typed
>> > > > (fcsh) quit
>> > > > Compiler shell exited with code: 0 Royale Compiler Shell
>> > > > (fcsh) mxmlc --debug=false +configname=royale
>> > > > --targets=JSRoyale --source-map=true
>> > > > --html-template=src/html/jewel-example-index-template.html
>> > > >
>> > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-T
>> > > > hem
>> > > > e/
>> > > > sr
>> > > > c/main/resources/defaults.css
>> > > > --source-path+=src
>> > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJS.s
>> > > > --source-path+--library-path+wc
>> > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.cs
>> > > > s -js-dynamic-access-unknown-members=true -- src/App.mxml
>> > > > fcsh: Assigned 1 as the compile target id Compile status: 5
>> > > > Elapsed
>> > time:
>> > > > 0.618407478 seconds
>> > > >
>> > > >
>> > >
>> >
>> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
>> > > > col: 0 Error: unable to open
>> > > >
>> > > >
>> > >
>> >
>> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
>> > > >
>> > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/framewo
>> > > > rks
>> > > > /r
>> > > > oy
>> > > > ale-config.xml
>> > > > (line: 81)
>> > > >
>> > > > </js-external-library-path>
>> > > >
>> > > >
>> > > >
>> > > >
>> > >
>> >
>> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
>> > > > col: 0 Error: unable to open
>> > > >
>> > > >
>> > >
>> >
>> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
>> > > >
>> > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/framewo
>> > > > rks
>> > > > /r
>> > > > oy
>> > > > ale-config.xml
>> > > > (line: 81)
>> > > >
>> > > > </js-external-library-path>
>> > > > (fcsh)
>> > > > Quick Compile failed. Errors in compiler output.
>> > > >
>> > > > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
>> > > > (<ca...@apache.org>)
>> > > > escribió:
>> > > >
>> > > > > Hi,
>> > > > >
>> > > > > I rebuilt all from scratch just now and finally the
>> > > > > distribution too and tried in VSCode and all seems to work fine for me.
>> > > > >
>> > > > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
>> > > > > christofer.dutz@c-ware.de>) escribió:
>> > > > >
>> > > > >> Hi Piotr,
>> > > > >>
>> > > > >> that class is located in lib\external\flex-tool-api.jar At
>> > > > >> least in my distribution it's there and it contains the class.
>> > > > >>
>> > > > >> How are you calling the build that's failing?
>> > > > >>
>> > > > >> Chris
>> > > > >>
>> > > > >> -----Ursprüngliche Nachricht-----
>> > > > >> Von: Piotr Zarzycki <pi...@gmail.com>
>> > > > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
>> > > > >> An: Apache Royale Development <de...@royale.apache.org>
>> > > > >> Betreff: Re: Align Maven IDE distribution with Ant IDE
>> > > > >> distribution
>> > > > >>
>> > > > >> Chris,
>> > > > >>
>> > > > >> I just checked and I'm not able build project anymore using
>> > > > distribution:
>> > > > >>
>> > > > >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
>> > > > >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
>> > > > >> -Xms356m -Xmx3000m
>> > > > >> : Error: Could not find or load main class
>> > > > >> org.apache.royale.compiler.clients.MXMLJSC
>> > > > >> : Caused by: java.lang.NoClassDefFoundError:
>> > > > >> org/apache/flex/tools/FlexTool
>> > > > >>
>> > > > >> I'm done for today, so I will answer anything tomorrow.
>> > > > >>
>> > > > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
>> > > > >> <ch...@c-ware.de>
>> > > > >> napisał(a):
>> > > > >>
>> > > > >> > Ok ...
>> > > > >> >
>> > > > >> > so I just pushed another change. Now the distribution
>> > > > >> > should also contain an empty spark.css, just like the Ant one.
>> > > > >> >
>> > > > >> > Chris
>> > > > >> >
>> > > > >> >
>> > > > >> > -----Ursprüngliche Nachricht-----
>> > > > >> > Von: Christofer Dutz <ch...@c-ware.de>
>> > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
>> > > > >> > An: dev@royale.apache.org
>> > > > >> > Betreff: AW: Align Maven IDE distribution with Ant IDE
>> > > > >> > distribution
>> > > > >> >
>> > > > >> > Ok,
>> > > > >> >
>> > > > >> > so that should now be fixed. Leaves the "spark.css"
>> > > > >> > Having had a look, it seems as if the Ant build creates an
>> > > > >> > empty
>> > > > >> spark.css.
>> > > > >> >
>> > > > >> > Is this all we need? If yes, then I'll have that in ther
>> > > > >> > in no
>> > time.
>> > > > >> >
>> > > > >> > Chris
>> > > > >> >
>> > > > >> > -----Ursprüngliche Nachricht-----
>> > > > >> > Von: Piotr Zarzycki <pi...@gmail.com>
>> > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
>> > > > >> > An: Apache Royale Development <de...@royale.apache.org>
>> > > > >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
>> > > > >> > distribution
>> > > > >> >
>> > > > >> > *(I assume that's in the "frameworks/js/libs" directory? *
>> > > > >> >
>> > > > >> > Yes this is the directory.
>> > > > >> >
>> > > > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
>> > > > >> > <ch...@c-ware.de>
>> > > > >> > napisał(a):
>> > > > >> >
>> > > > >> > > Hi Piotr,
>> > > > >> > >
>> > > > >> > > Ok ... so Ant seems to be adding a "JS" to the end of
>> > > > >> > > every name (I assume that's in the "frameworks/js/libs" directory?
>> > > > >> > >
>> > > > >> > > Also I'll try to find out where the "spark.css" should
>> > > > >> > > come from
>> > > ...
>> > > > >> > > and where it should go to.
>> > > > >> > >
>> > > > >> > > Chris
>> > > > >> > >
>> > > > >> > >
>> > > > >> > > -----Ursprüngliche Nachricht-----
>> > > > >> > > Von: Piotr Zarzycki <pi...@gmail.com>
>> > > > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
>> > > > >> > > An: Apache Royale Development <de...@royale.apache.org>
>> > > > >> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
>> > > > >> > > distribution
>> > > > >> > >
>> > > > >> > > Chris,
>> > > > >> > >
>> > > > >> > > Looks better but here is the comparision what I have in
>> > > > >> > > Ant distribution vs Maven distribution in case of names.
>> > > > >> > > On the left Ant distribution, on the right Maven. It is folder:
>> > > > >> > > frameworks\js\libs\ [1]
>> > > > >> > >
>> > > > >> > > [1] https://ibb.co/W2DzcDb
>> > > > >> > >
>> > > > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
>> > > > >> > > <ch...@c-ware.de>
>> > > > >> > > napisał(a):
>> > > > >> > >
>> > > > >> > > > And done ...
>> > > > >> > > >
>> > > > >> > > > Now all elements in the distribution only consist of
>> > > > >> > > > their name and file-ending ... all versions and
>> > > > >> > > > classifiers have been
>> > > > removed.
>> > > > >> > > > Please provide me with feedback on if this solves the
>> issues.
>> > > > >> > > >
>> > > > >> > > > Chris
>> > > > >> > > >
>> > > > >> > > >
>> > > > >> > > > -----Ursprüngliche Nachricht-----
>> > > > >> > > > Von: Christofer Dutz <ch...@c-ware.de>
>> > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
>> > > > >> > > > An: dev@royale.apache.org
>> > > > >> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
>> > > > >> > > > distribution
>> > > > >> > > >
>> > > > >> > > > I'll probably have a fix for that in a few minuntes ...
>> > > > >> > > >
>> > > > >> > > >
>> > > > >> > > > Chris
>> > > > >> > > >
>> > > > >> > > >
>> > > > >> > > > -----Ursprüngliche Nachricht-----
>> > > > >> > > > Von: Piotr Zarzycki <pi...@gmail.com>
>> > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
>> > > > >> > > > An: Apache Royale Development <de...@royale.apache.org>
>> > > > >> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
>> > > > >> > > > distribution
>> > > > >> > > >
>> > > > >> > > > Chris,
>> > > > >> > > >
>> > > > >> > > > No it's not about not picking up by IDE at all.
>> > > > >> > > > Moonshine and VSCode are able to build projects using
>> > > > >> > > > Maven distribution package! It is about project which
>> > > > >> > > > are mixed for example when user wanted to use Jewel
>> > > > >> > > > module + RemoteObject class from MXRoyale module. In
>> > > > >> > > > that case user need to point explicilty as a compiler
>> > > > >> > > > options in IDE that he wanted to have SWC included and
>> > > > >> > > > need to exclude css from that swc to
>> > > > >> > > avoid problems.
>> > > > >> > > >
>> > > > >> > > > It is happen like that:
>> > > > >> > > >
>> > > > >> > > >
>> > > > >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>> > > > >> > > >
>> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
>> > > > >> > > > cs
>> > > > >> > > > s
>> > > > >> > > >
>> > > > >> > > > If I would like to use maven distribution user need to
>> > > > >> > > > know version for that compiler options. It is even
>> > > > >> > > > more tricky when your swc is called
>> > > > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
>> > > > >> > > >
>> > > > >> > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.
>> > > > >> > > > cs
>> > > > >> > > > s
>> > > > >> > > >
>> > > > >> > > > Thanks,
>> > > > >> > > > Piotr
>> > > > >> > > >
>> > > > >> > > >
>> > > > >> > > >
>> > > > >> > > >
>> > > > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
>> > > > >> > > > <ch...@c-ware.de>
>> > > > >> > > > napisał(a):
>> > > > >> > > >
>> > > > >> > > > > Hi Piotr,
>> > > > >> > > > >
>> > > > >> > > > > And is really the version-suffix causing it to not
>> > > > >> > > > > be picked up by the IDEs?
>> > > > >> > > > >
>> > > > >> > > > > Chris
>> > > > >> > > > >
>> > > > >> > > > > -----Ursprüngliche Nachricht-----
>> > > > >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
>> > > > >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
>> > > > >> > > > > An: dev@royale.apache.org
>> > > > >> > > > > Betreff: Re: Align Maven IDE distribution with Ant
>> > > > >> > > > > IDE distribution
>> > > > >> > > > >
>> > > > >> > > > > Hi Chris,
>> > > > >> > > > >
>> > > > >> > > > > This is the only thing which seems to be a constant
>> > > > >> > > > > problem
>> > > > here.
>> > > > >> > > > > I personally and some users will be much more happy
>> > > > >> > > > > having that
>> > > > >> > change.
>> > > > >> > > > >
>> > > > >> > > > > Thanks,
>> > > > >> > > > > Piotr
>> > > > >> > > > >
>> > > > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
>> > > > >> > > > > <ch...@c-ware.de>
>> > > > >> > > > > wrote:
>> > > > >> > > > >
>> > > > >> > > > > > Hi Piotr,
>> > > > >> > > > > >
>> > > > >> > > > > > I'd be happy to help with that.
>> > > > >> > > > > >
>> > > > >> > > > > > I did simply ask for a list of things that need to
>> > > > >> > > > > > be changed in order to get things working, but
>> > > > >> > > > > > never got said list, so I never knew what I could
>> > > > >> > > > > > do to make the Maven distribution match up to the
>> > > > >> > > > Ant built one.
>> > > > >> > > > > >
>> > > > >> > > > > > Chris
>> > > > >> > > > > >
>> > > > >> > > > > >
>> > > > >> > > > > > -----Ursprüngliche Nachricht-----
>> > > > >> > > > > > Von: Piotr Zarzycki <pi...@gmail.com>
>> > > > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
>> > > > >> > > > > > An: Apache Royale Development
>> > > > >> > > > > > <de...@royale.apache.org>
>> > > > >> > > > > > Betreff: Align Maven IDE distribution with Ant IDE
>> > > > >> > > > > > distribution
>> > > > >> > > > > >
>> > > > >> > > > > > Hi Guys,
>> > > > >> > > > > >
>> > > > >> > > > > > It's been couple of times when user complains that
>> > > > >> > > > > > he have problems with using Maven distribution vs
>> > > > >> > > > > > Ant distribution in IDE in a mixed project Jewel +
>> > > > >> > > > > > MX/Spark
>> > etc.
>> > > > >> > > > > >
>> > > > >> > > > > > Can we have that resolve once for all and adjust
>> > > > >> > > > > > Maven distribution folder to produce proper names
>> > > > >> > > > > > of
>> swcs ?
>> > > > >> > > > > >
>> > > > >> > > > > > Currently when I build Maven IDE distribution I have:
>> > > > >> > > > > >
>> > > > >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
>> > > > >> > > > > >
>> > > > >> > > > > > When I build Ant IDE distribution I have:
>> > > > >> > > > > >
>> > > > >> > > > > > MXRoyale-js.swc
>> > > > >> > > > > >
>> > > > >> > > > > > Thanks,
>> > > > >> > > > > > --
>> > > > >> > > > > >
>> > > > >> > > > > > Piotr Zarzycki
>> > > > >> > > > > >
>> > > > >> > > > > --
>> > > > >> > > > >
>> > > > >> > > > > Piotr Zarzycki
>> > > > >> > > > >
>> > > > >> > > >
>> > > > >> > > >
>> > > > >> > > > --
>> > > > >> > > >
>> > > > >> > > > Piotr Zarzycki
>> > > > >> > > >
>> > > > >> > >
>> > > > >> > >
>> > > > >> > > --
>> > > > >> > >
>> > > > >> > > Piotr Zarzycki
>> > > > >> > >
>> > > > >> >
>> > > > >> >
>> > > > >> > --
>> > > > >> >
>> > > > >> > Piotr Zarzycki
>> > > > >> >
>> > > > >>
>> > > > >>
>> > > > >> --
>> > > > >>
>> > > > >> Piotr Zarzycki
>> > > > >>
>> > > > >
>> > > > >
>> > > > > --
>> > > > > Carlos Rovira
>> > > > > Apache Member & Apache Royale PMC *Apache Software
>> > > > > Foundation* http://about.me/carlosrovira
>> > > > >
>> > > > >
>> > > >
>> > > > --
>> > > > Carlos Rovira
>> > > > Apache Member & Apache Royale PMC *Apache Software Foundation*
>> > > > http://about.me/carlosrovira
>> > > >
>> > >
>> > >
>> > > --
>> > >
>> > > Piotr Zarzycki
>> > >
>> >
>> >
>> > --
>> >
>> > Piotr Zarzycki
>> >
>>
>>
>> --
>>
>> Piotr Zarzycki
>>
>
>
> --
>
> Piotr Zarzycki
>
--
Piotr Zarzycki
Re: Align Maven IDE distribution with Ant IDE distribution
Posted by Piotr Zarzycki <pi...@gmail.com>.
Chris,
No change after your latest push I still have the same error. Did you try
build yourself distribution and build some hello world ?
pt., 19 lut 2021 o 15:04 Piotr Zarzycki <pi...@gmail.com>
napisał(a):
> I don't understand what you are saying here at all. I know that when I
> do -DdistributionTargetFolder - I'm getting distribution build in a folder
> which I wanted to, so what it actually does ?
>
> pt., 19 lut 2021 o 15:00 Christofer Dutz <ch...@c-ware.de>
> napisał(a):
>
>> Well actually is doesn set an Environmet Variable,
>>
>> It's more or less the other way around ... an Environment Variable can
>> initialize a property in maven, but not the other way around.
>> And the magic for creating the directory distribution usualy only kicks
>> in if you set an environment variable. But if your directory is not empty,
>> just ignore my mumbling, then something has changed in Maven
>>
>> Chris
>>
>> -----Ursprüngliche Nachricht-----
>> Von: Piotr Zarzycki <pi...@gmail.com>
>> Gesendet: Freitag, 19. Februar 2021 14:50
>> An: Apache Royale Development <de...@royale.apache.org>
>> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>>
>> I'm pointing an empty directory called distribution. Prefix -D sets for
>> me temporary env variable -> -DdistributionTargetFolder=path
>>
>> pt., 19 lut 2021 o 14:48 Christofer Dutz <ch...@c-ware.de>
>> napisał(a):
>>
>> > Does this creat the directory?
>> >
>> > Cause I think you have to set an Environment Variable:
>> >
>> > set distributionTargetFolder=d:\Work\royale_ide\distribution
>> >
>> > mvn clean install
>> >
>> > Chris
>> >
>> >
>> > -----Ursprüngliche Nachricht-----
>> > Von: Piotr Zarzycki <pi...@gmail.com>
>> > Gesendet: Freitag, 19. Februar 2021 14:41
>> > An: Apache Royale Development <de...@royale.apache.org>
>> > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>> >
>> > I have executed something like that cause I didn't know that it will
>> > use default compiler 0.9.9-SNAPSHOT
>> >
>> > mvn clean install -Droyale.compiler.version=0.9.9-SNAPSHOT
>> > -DdistributionTargetFolder=d:\Work\royale_ide\distribution
>> >
>> > pt., 19 lut 2021 o 14:26 Christofer Dutz <ch...@c-ware.de>
>> > napisał(a):
>> >
>> > > Hi all,
>> > >
>> > > so I just pushed another change to the distribution that should fix
>> > > the classpath problem.
>> > >
>> > > Piotr ... could you please try again? And if you send me the command
>> > > you always axecute, I could test it on my side.
>> > >
>> > > Chris
>> > >
>> > >
>> > > -----Ursprüngliche Nachricht-----
>> > > Von: Christofer Dutz <ch...@c-ware.de>
>> > > Gesendet: Freitag, 19. Februar 2021 14:12
>> > > An: dev@royale.apache.org
>> > > Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
>> > >
>> > > Hi Hiedra,
>> > >
>> > > well I changed the distribution to make the names like in the ANT
>> > > distribution yesterday.
>> > > But you are passing in an argument telling the compiler to use the
>> > > old format and now it should be the new ...
>> > >
>> > > Try:
>> > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc: defaults.css;
>> > > For -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
>> > > defaults.css;
>> > >
>> > > Instead of your variant.
>> > >
>> > > Chris
>> > >
>> > >
>> > > -----Ursprüngliche Nachricht-----
>> > > Von: Maria Jose Esteve <mj...@iest.com>
>> > > Gesendet: Freitag, 19. Februar 2021 14:08
>> > > An: dev@royale.apache.org
>> > > Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
>> > >
>> > > Yes, until recently I also compiled only with Maven. Due to the
>> > > problem with the spark.css I started to do the double compilation of
>> > MAVEN and ANT.
>> > >
>> > > It's funny, now, the swc's are not generated with
>> > > "xxxx-0.9.8-SNAPSHOT-js.swc" in the distribution BUT if in the pom
>> > > of my project I change in additionalCompilerOptions:
>> > > -compiler.exclude-defaults-css-files = MXRoyale - $
>> > > {royale.framework.version} -js.swc: defaults.css; For
>> > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc: defaults.css;
>> > > My application starts to do nonsense (for example the change of
>> > > selectedContent in my ApplicationMainContent does not display)
>> > >
>> > > Chris, thank you.
>> > > Hiedra
>> > >
>> > > -----Mensaje original-----
>> > > De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
>> > > 19 de febrero de 2021 13:09
>> > > Para: dev@royale.apache.org
>> > > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>> > >
>> > > Hi Hiedra,
>> > >
>> > > I have to admit that I've never used VSCode. Every time I do any
>> > > development I usually use one of the JetBrains IDEs.
>> > > Royale Stuff I do in IntelliJ ... with my "Flexmojos Hack" it can be
>> > > used quite well. And I always compile with Maven.
>> > >
>> > > But thanks for the explanation on why the other path is set
>> differently.
>> > >
>> > > I guess we'll have to wait till some others can tell me what needs
>> > > to be changed.
>> > >
>> > > Chris
>> > >
>> > >
>> > > -----Ursprüngliche Nachricht-----
>> > > Von: Maria Jose Esteve <mj...@iest.com>
>> > > Gesendet: Freitag, 19. Februar 2021 12:48
>> > > An: dev@royale.apache.org
>> > > Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
>> > >
>> > > Hello Chris,
>> > > so that I can debug my changes in the SDK I need to set the path of
>> > > the "as3mxml.sdk.editor" to the asjs directory of my fork, for this
>> > > reason the path of the " as3mxml.sdk.framework" points to the
>> > > directory of the maven distribution and the "as3mxml.sdk.editor" to
>> code.
>> > >
>> > > ">> I'm not getting any errors from VSCode. But well ... if I hit
>> > > SHIFT+Enter it starts doing something where if failed prior to my
>> > > >> changes this morning and is no longer complaining, but it's also
>> > > >> not
>> > > doing much (I can't see it create a "bin" directory)"
>> > >
>> > > I don't quite understand this ... possibly because of my lack of
>> > knowledge.
>> > >
>> > > I have not tried Carlos's project but this afternoon I will be able
>> > > to do it and I will be able to give more details.
>> > >
>> > > Thx.
>> > > Hiedra.
>> > >
>> > > -----Mensaje original-----
>> > > De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
>> > > 19 de febrero de 2021 11:51
>> > > Para: dev@royale.apache.org
>> > > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>> > >
>> > > Hi Heidra,
>> > >
>> > > I just updated Carlos' example to have the same type of setting
>> > > (C:\\Temp\\RoyaleSDK is where I have my Maven build generate the SDK):
>> > >
>> > > setings.js:
>> > > {
>> > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
>> > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
>> > > }
>> > >
>> > > workspace-code-workspace
>> > > {
>> > > "folders": [
>> > > {
>> > > "path": ".."
>> > > }
>> > > ],
>> > > "settings": {
>> > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
>> > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
>> > > }
>> > > }
>> > >
>> > > I'm not getting any errors from VSCode. But well ... if I hit
>> > > SHIFT+Enter it starts doing something where if failed prior to my
>> > > changes this morning and is no longer complaining, but it's also not
>> > > doing much (I can't see it create a "bin" directory)
>> > >
>> > > Chris
>> > >
>> > >
>> > > -----Ursprüngliche Nachricht-----
>> > > Von: Maria Jose Esteve <mj...@iest.com>
>> > > Gesendet: Freitag, 19. Februar 2021 10:53
>> > > An: dev@royale.apache.org
>> > > Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
>> > >
>> > > If I don't compile with ANT, the mxml extension in vsCode IDE, it
>> > > doesn't recognize the valid asjs directory for "as3mxml.sdk.editor":
>> > > ...
>> > > "settings": {
>> > > "as3mxml.sdk.framework":
>> > > "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
>> > > "as3mxml.sdk.editor":
>> > > "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs" <--------
>> > > [download folder repo royale-asjs]
>> > > }
>> > > }
>> > >
>> > > The error is:
>> > > " as3mxml.sdk.editor in settings does not point to a valid SDK.
>> > > Requires..."
>> > >
>> > > Thx.
>> > > Hiedra.
>> > >
>> > > -----Mensaje original-----
>> > > De: Piotr Zarzycki <pi...@gmail.com> Enviado el: viernes,
>> > > 19 de febrero de 2021 10:44
>> > > Para: Apache Royale Development <de...@royale.apache.org>
>> > > Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
>> > >
>> > > Hi Chris,
>> > >
>> > > I just tried your changes and I have same issue. I need to
>> > > understand what has change enough significantly that it causes
>> > > compilation fail in such way. It doesn't happen with SDK prepared by
>> ANT.
>> > >
>> > > Thanks,
>> > > Piotr
>> > >
>> > > pt., 19 lut 2021 o 10:33 Maria Jose Esteve <mj...@iest.com>
>> > napisał(a):
>> > >
>> > > > @Chris you're right, sorry, I didn't download your last commit.
>> > > > I'm sorry.
>> > > > Hiedra.
>> > > >
>> > > > -----Mensaje original-----
>> > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
>> > > > viernes,
>> > > > 19 de febrero de 2021 10:17
>> > > > Para: dev@royale.apache.org
>> > > > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>> > > >
>> > > > I'll try to guess what you wanted to say here ...
>> > > >
>> > > > But I think these are exactly the changes I comitted a an hour
>> > > > ago,
>> > > right?
>> > > > At least in general I replaced all the references to names with
>> > > > versions to the changed ones.
>> > > >
>> > > >
>> > > > Chris
>> > > >
>> > > >
>> > > >
>> > > > -----Ursprüngliche Nachricht-----
>> > > > Von: Maria Jose Esteve <mj...@iest.com>
>> > > > Gesendet: Freitag, 19. Februar 2021 10:01
>> > > > An: dev@royale.apache.org
>> > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
>> > > > distribution
>> > > >
>> > > > Hi,
>> > > > Mi distribución hace referencia en el fichero
>> > > > "./frameworks/royale-config.xml" a las librerías:
>> > > >
>> > > > <js-external-library-path>
>> > > >
>> > > > <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.
>> > > > sw
>> > > > c</path-element>
>> > > >
>> > > >
>> > > <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs
>> > > .s
>> > > wc</path-element>
>> > > > </js-external-library-path>
>> > > >
>> > > > Las correctas son:
>> > > >
>> > > > <js-external-library-path>
>> > > >
>> > <path-element>../js/libs/royale-typedefs-js.swc</path-element>
>> > > >
>> > <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
>> > > > </js-external-library-path>
>> > > >
>> > > > Hiedra
>> > > >
>> > > > -----Mensaje original-----
>> > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
>> > > > viernes,
>> > > > 19 de febrero de 2021 9:39
>> > > > Para: dev@royale.apache.org
>> > > > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>> > > >
>> > > > Ok,
>> > > >
>> > > > so the config xml files in the distribution were still pointing to
>> > > > the old names. I updated them all to now refer to the names.
>> > > > I tried things in Carlos' demo project, and I'm no-longer getting
>> > > > the errors, however compilation seems to take for ever.
>> > > >
>> > > > Please try out the changes and tell me if there are any problems
>> > > > with
>> > > them.
>> > > >
>> > > > Chris
>> > > >
>> > > > -----Ursprüngliche Nachricht-----
>> > > > Von: Christofer Dutz <ch...@c-ware.de>
>> > > > Gesendet: Donnerstag, 18. Februar 2021 23:17
>> > > > An: dev@royale.apache.org
>> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
>> > > > distribution
>> > > >
>> > > > Hi Carlos,
>> > > >
>> > > > I'll look into this tomorrow.
>> > > >
>> > > > Chris
>> > > >
>> > > > -----Ursprüngliche Nachricht-----
>> > > > Von: Carlos Rovira <ca...@apache.org>
>> > > > Gesendet: Donnerstag, 18. Februar 2021 17:49
>> > > > An: Apache Royale Development <de...@royale.apache.org>
>> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
>> > > > distribution
>> > > >
>> > > > Hi, I think I talked very quickly, sorry, there seems to be a
>> problem.
>> > > >
>> > > > @Christofer Dutz <ch...@c-ware.de> you can download this
>> > > > project:
>> > > >
>> > > >
>> > > > https://github.com/apache/royale-asjs/files/6004363/ToggleButtonBa
>> > > > rI
>> > > > ss
>> > > > ue.zip
>> > > >
>> > > > Then using VSCode with AS3&MXML and adding the Maven distribution.
>> > > > Then hit CTRL+ENTER and you will get the following fail. Using ANT
>> > > > distribution is working fine.
>> > > > Can you take a look?
>> > > >
>> > > > Royale Compiler Shell
>> > > > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
>> > > > --source-map=true
>> > > > --html-template=src/html/jewel-example-index-template.html
>> > > >
>> > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Them
>> > > > e/
>> > > > sr
>> > > > c/main/resources/defaults.css
>> > > > --source-path+=src
>> > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>> > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
>> > > > -js-dynamic-access-unknown-members=true -- src/App.mxml
>> > > > fcsh: Assigned 1 as the compile target id The project 'App' has
>> > > > been successfully compiled and optimized.
>> > > > Compile status: 0
>> > > > Elapsed time: 14.211105399 seconds Feb 18, 2021 5:43:40 PM
>> > > > com.google.javascript.jscomp.LoggerErrorManager
>> > > > printSummary
>> > > > INFO: 0 error(s), 0 warning(s), 96.5% typed
>> > > > (fcsh) quit
>> > > > Compiler shell exited with code: 0 Royale Compiler Shell
>> > > > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
>> > > > --source-map=true
>> > > > --html-template=src/html/jewel-example-index-template.html
>> > > >
>> > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Them
>> > > > e/
>> > > > sr
>> > > > c/main/resources/defaults.css
>> > > > --source-path+=src
>> > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>> > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
>> > > > -js-dynamic-access-unknown-members=true -- src/App.mxml
>> > > > fcsh: Assigned 1 as the compile target id Compile status: 5
>> > > > Elapsed
>> > time:
>> > > > 0.618407478 seconds
>> > > >
>> > > >
>> > >
>> >
>> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
>> > > > col: 0 Error: unable to open
>> > > >
>> > > >
>> > >
>> >
>> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
>> > > >
>> > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks
>> > > > /r
>> > > > oy
>> > > > ale-config.xml
>> > > > (line: 81)
>> > > >
>> > > > </js-external-library-path>
>> > > >
>> > > >
>> > > >
>> > > >
>> > >
>> >
>> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
>> > > > col: 0 Error: unable to open
>> > > >
>> > > >
>> > >
>> >
>> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
>> > > >
>> > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks
>> > > > /r
>> > > > oy
>> > > > ale-config.xml
>> > > > (line: 81)
>> > > >
>> > > > </js-external-library-path>
>> > > > (fcsh)
>> > > > Quick Compile failed. Errors in compiler output.
>> > > >
>> > > > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
>> > > > (<ca...@apache.org>)
>> > > > escribió:
>> > > >
>> > > > > Hi,
>> > > > >
>> > > > > I rebuilt all from scratch just now and finally the distribution
>> > > > > too and tried in VSCode and all seems to work fine for me.
>> > > > >
>> > > > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
>> > > > > christofer.dutz@c-ware.de>) escribió:
>> > > > >
>> > > > >> Hi Piotr,
>> > > > >>
>> > > > >> that class is located in lib\external\flex-tool-api.jar At
>> > > > >> least in my distribution it's there and it contains the class.
>> > > > >>
>> > > > >> How are you calling the build that's failing?
>> > > > >>
>> > > > >> Chris
>> > > > >>
>> > > > >> -----Ursprüngliche Nachricht-----
>> > > > >> Von: Piotr Zarzycki <pi...@gmail.com>
>> > > > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
>> > > > >> An: Apache Royale Development <de...@royale.apache.org>
>> > > > >> Betreff: Re: Align Maven IDE distribution with Ant IDE
>> > > > >> distribution
>> > > > >>
>> > > > >> Chris,
>> > > > >>
>> > > > >> I just checked and I'm not able build project anymore using
>> > > > distribution:
>> > > > >>
>> > > > >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
>> > > > >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m
>> > > > >> -Xmx3000m
>> > > > >> : Error: Could not find or load main class
>> > > > >> org.apache.royale.compiler.clients.MXMLJSC
>> > > > >> : Caused by: java.lang.NoClassDefFoundError:
>> > > > >> org/apache/flex/tools/FlexTool
>> > > > >>
>> > > > >> I'm done for today, so I will answer anything tomorrow.
>> > > > >>
>> > > > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
>> > > > >> <ch...@c-ware.de>
>> > > > >> napisał(a):
>> > > > >>
>> > > > >> > Ok ...
>> > > > >> >
>> > > > >> > so I just pushed another change. Now the distribution should
>> > > > >> > also contain an empty spark.css, just like the Ant one.
>> > > > >> >
>> > > > >> > Chris
>> > > > >> >
>> > > > >> >
>> > > > >> > -----Ursprüngliche Nachricht-----
>> > > > >> > Von: Christofer Dutz <ch...@c-ware.de>
>> > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
>> > > > >> > An: dev@royale.apache.org
>> > > > >> > Betreff: AW: Align Maven IDE distribution with Ant IDE
>> > > > >> > distribution
>> > > > >> >
>> > > > >> > Ok,
>> > > > >> >
>> > > > >> > so that should now be fixed. Leaves the "spark.css"
>> > > > >> > Having had a look, it seems as if the Ant build creates an
>> > > > >> > empty
>> > > > >> spark.css.
>> > > > >> >
>> > > > >> > Is this all we need? If yes, then I'll have that in ther in
>> > > > >> > no
>> > time.
>> > > > >> >
>> > > > >> > Chris
>> > > > >> >
>> > > > >> > -----Ursprüngliche Nachricht-----
>> > > > >> > Von: Piotr Zarzycki <pi...@gmail.com>
>> > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
>> > > > >> > An: Apache Royale Development <de...@royale.apache.org>
>> > > > >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
>> > > > >> > distribution
>> > > > >> >
>> > > > >> > *(I assume that's in the "frameworks/js/libs" directory? *
>> > > > >> >
>> > > > >> > Yes this is the directory.
>> > > > >> >
>> > > > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
>> > > > >> > <ch...@c-ware.de>
>> > > > >> > napisał(a):
>> > > > >> >
>> > > > >> > > Hi Piotr,
>> > > > >> > >
>> > > > >> > > Ok ... so Ant seems to be adding a "JS" to the end of every
>> > > > >> > > name (I assume that's in the "frameworks/js/libs" directory?
>> > > > >> > >
>> > > > >> > > Also I'll try to find out where the "spark.css" should come
>> > > > >> > > from
>> > > ...
>> > > > >> > > and where it should go to.
>> > > > >> > >
>> > > > >> > > Chris
>> > > > >> > >
>> > > > >> > >
>> > > > >> > > -----Ursprüngliche Nachricht-----
>> > > > >> > > Von: Piotr Zarzycki <pi...@gmail.com>
>> > > > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
>> > > > >> > > An: Apache Royale Development <de...@royale.apache.org>
>> > > > >> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
>> > > > >> > > distribution
>> > > > >> > >
>> > > > >> > > Chris,
>> > > > >> > >
>> > > > >> > > Looks better but here is the comparision what I have in Ant
>> > > > >> > > distribution vs Maven distribution in case of names. On the
>> > > > >> > > left Ant distribution, on the right Maven. It is folder:
>> > > > >> > > frameworks\js\libs\ [1]
>> > > > >> > >
>> > > > >> > > [1] https://ibb.co/W2DzcDb
>> > > > >> > >
>> > > > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
>> > > > >> > > <ch...@c-ware.de>
>> > > > >> > > napisał(a):
>> > > > >> > >
>> > > > >> > > > And done ...
>> > > > >> > > >
>> > > > >> > > > Now all elements in the distribution only consist of
>> > > > >> > > > their name and file-ending ... all versions and
>> > > > >> > > > classifiers have been
>> > > > removed.
>> > > > >> > > > Please provide me with feedback on if this solves the
>> issues.
>> > > > >> > > >
>> > > > >> > > > Chris
>> > > > >> > > >
>> > > > >> > > >
>> > > > >> > > > -----Ursprüngliche Nachricht-----
>> > > > >> > > > Von: Christofer Dutz <ch...@c-ware.de>
>> > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
>> > > > >> > > > An: dev@royale.apache.org
>> > > > >> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
>> > > > >> > > > distribution
>> > > > >> > > >
>> > > > >> > > > I'll probably have a fix for that in a few minuntes ...
>> > > > >> > > >
>> > > > >> > > >
>> > > > >> > > > Chris
>> > > > >> > > >
>> > > > >> > > >
>> > > > >> > > > -----Ursprüngliche Nachricht-----
>> > > > >> > > > Von: Piotr Zarzycki <pi...@gmail.com>
>> > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
>> > > > >> > > > An: Apache Royale Development <de...@royale.apache.org>
>> > > > >> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
>> > > > >> > > > distribution
>> > > > >> > > >
>> > > > >> > > > Chris,
>> > > > >> > > >
>> > > > >> > > > No it's not about not picking up by IDE at all. Moonshine
>> > > > >> > > > and VSCode are able to build projects using Maven
>> > > > >> > > > distribution package! It is about project which are mixed
>> > > > >> > > > for example when user wanted to use Jewel module +
>> > > > >> > > > RemoteObject class from MXRoyale module. In that case
>> > > > >> > > > user need to point explicilty as a compiler options in
>> > > > >> > > > IDE that he wanted to have SWC included and need to
>> > > > >> > > > exclude css from that swc to
>> > > > >> > > avoid problems.
>> > > > >> > > >
>> > > > >> > > > It is happen like that:
>> > > > >> > > >
>> > > > >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>> > > > >> > > >
>> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
>> > > > >> > > > cs
>> > > > >> > > > s
>> > > > >> > > >
>> > > > >> > > > If I would like to use maven distribution user need to
>> > > > >> > > > know version for that compiler options. It is even more
>> > > > >> > > > tricky when your swc is called
>> > > > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
>> > > > >> > > >
>> > > > >> > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.
>> > > > >> > > > cs
>> > > > >> > > > s
>> > > > >> > > >
>> > > > >> > > > Thanks,
>> > > > >> > > > Piotr
>> > > > >> > > >
>> > > > >> > > >
>> > > > >> > > >
>> > > > >> > > >
>> > > > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
>> > > > >> > > > <ch...@c-ware.de>
>> > > > >> > > > napisał(a):
>> > > > >> > > >
>> > > > >> > > > > Hi Piotr,
>> > > > >> > > > >
>> > > > >> > > > > And is really the version-suffix causing it to not be
>> > > > >> > > > > picked up by the IDEs?
>> > > > >> > > > >
>> > > > >> > > > > Chris
>> > > > >> > > > >
>> > > > >> > > > > -----Ursprüngliche Nachricht-----
>> > > > >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
>> > > > >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
>> > > > >> > > > > An: dev@royale.apache.org
>> > > > >> > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
>> > > > >> > > > > distribution
>> > > > >> > > > >
>> > > > >> > > > > Hi Chris,
>> > > > >> > > > >
>> > > > >> > > > > This is the only thing which seems to be a constant
>> > > > >> > > > > problem
>> > > > here.
>> > > > >> > > > > I personally and some users will be much more happy
>> > > > >> > > > > having that
>> > > > >> > change.
>> > > > >> > > > >
>> > > > >> > > > > Thanks,
>> > > > >> > > > > Piotr
>> > > > >> > > > >
>> > > > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
>> > > > >> > > > > <ch...@c-ware.de>
>> > > > >> > > > > wrote:
>> > > > >> > > > >
>> > > > >> > > > > > Hi Piotr,
>> > > > >> > > > > >
>> > > > >> > > > > > I'd be happy to help with that.
>> > > > >> > > > > >
>> > > > >> > > > > > I did simply ask for a list of things that need to be
>> > > > >> > > > > > changed in order to get things working, but never got
>> > > > >> > > > > > said list, so I never knew what I could do to make
>> > > > >> > > > > > the Maven distribution match up to the
>> > > > >> > > > Ant built one.
>> > > > >> > > > > >
>> > > > >> > > > > > Chris
>> > > > >> > > > > >
>> > > > >> > > > > >
>> > > > >> > > > > > -----Ursprüngliche Nachricht-----
>> > > > >> > > > > > Von: Piotr Zarzycki <pi...@gmail.com>
>> > > > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
>> > > > >> > > > > > An: Apache Royale Development <de...@royale.apache.org>
>> > > > >> > > > > > Betreff: Align Maven IDE distribution with Ant IDE
>> > > > >> > > > > > distribution
>> > > > >> > > > > >
>> > > > >> > > > > > Hi Guys,
>> > > > >> > > > > >
>> > > > >> > > > > > It's been couple of times when user complains that he
>> > > > >> > > > > > have problems with using Maven distribution vs Ant
>> > > > >> > > > > > distribution in IDE in a mixed project Jewel +
>> > > > >> > > > > > MX/Spark
>> > etc.
>> > > > >> > > > > >
>> > > > >> > > > > > Can we have that resolve once for all and adjust
>> > > > >> > > > > > Maven distribution folder to produce proper names of
>> swcs ?
>> > > > >> > > > > >
>> > > > >> > > > > > Currently when I build Maven IDE distribution I have:
>> > > > >> > > > > >
>> > > > >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
>> > > > >> > > > > >
>> > > > >> > > > > > When I build Ant IDE distribution I have:
>> > > > >> > > > > >
>> > > > >> > > > > > MXRoyale-js.swc
>> > > > >> > > > > >
>> > > > >> > > > > > Thanks,
>> > > > >> > > > > > --
>> > > > >> > > > > >
>> > > > >> > > > > > Piotr Zarzycki
>> > > > >> > > > > >
>> > > > >> > > > > --
>> > > > >> > > > >
>> > > > >> > > > > Piotr Zarzycki
>> > > > >> > > > >
>> > > > >> > > >
>> > > > >> > > >
>> > > > >> > > > --
>> > > > >> > > >
>> > > > >> > > > Piotr Zarzycki
>> > > > >> > > >
>> > > > >> > >
>> > > > >> > >
>> > > > >> > > --
>> > > > >> > >
>> > > > >> > > Piotr Zarzycki
>> > > > >> > >
>> > > > >> >
>> > > > >> >
>> > > > >> > --
>> > > > >> >
>> > > > >> > Piotr Zarzycki
>> > > > >> >
>> > > > >>
>> > > > >>
>> > > > >> --
>> > > > >>
>> > > > >> Piotr Zarzycki
>> > > > >>
>> > > > >
>> > > > >
>> > > > > --
>> > > > > Carlos Rovira
>> > > > > Apache Member & Apache Royale PMC *Apache Software Foundation*
>> > > > > http://about.me/carlosrovira
>> > > > >
>> > > > >
>> > > >
>> > > > --
>> > > > Carlos Rovira
>> > > > Apache Member & Apache Royale PMC
>> > > > *Apache Software Foundation*
>> > > > http://about.me/carlosrovira
>> > > >
>> > >
>> > >
>> > > --
>> > >
>> > > Piotr Zarzycki
>> > >
>> >
>> >
>> > --
>> >
>> > Piotr Zarzycki
>> >
>>
>>
>> --
>>
>> Piotr Zarzycki
>>
>
>
> --
>
> Piotr Zarzycki
>
--
Piotr Zarzycki
Re: Align Maven IDE distribution with Ant IDE distribution
Posted by Piotr Zarzycki <pi...@gmail.com>.
I don't understand what you are saying here at all. I know that when I
do -DdistributionTargetFolder - I'm getting distribution build in a folder
which I wanted to, so what it actually does ?
pt., 19 lut 2021 o 15:00 Christofer Dutz <ch...@c-ware.de>
napisał(a):
> Well actually is doesn set an Environmet Variable,
>
> It's more or less the other way around ... an Environment Variable can
> initialize a property in maven, but not the other way around.
> And the magic for creating the directory distribution usualy only kicks in
> if you set an environment variable. But if your directory is not empty,
> just ignore my mumbling, then something has changed in Maven
>
> Chris
>
> -----Ursprüngliche Nachricht-----
> Von: Piotr Zarzycki <pi...@gmail.com>
> Gesendet: Freitag, 19. Februar 2021 14:50
> An: Apache Royale Development <de...@royale.apache.org>
> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>
> I'm pointing an empty directory called distribution. Prefix -D sets for me
> temporary env variable -> -DdistributionTargetFolder=path
>
> pt., 19 lut 2021 o 14:48 Christofer Dutz <ch...@c-ware.de>
> napisał(a):
>
> > Does this creat the directory?
> >
> > Cause I think you have to set an Environment Variable:
> >
> > set distributionTargetFolder=d:\Work\royale_ide\distribution
> >
> > mvn clean install
> >
> > Chris
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Piotr Zarzycki <pi...@gmail.com>
> > Gesendet: Freitag, 19. Februar 2021 14:41
> > An: Apache Royale Development <de...@royale.apache.org>
> > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> >
> > I have executed something like that cause I didn't know that it will
> > use default compiler 0.9.9-SNAPSHOT
> >
> > mvn clean install -Droyale.compiler.version=0.9.9-SNAPSHOT
> > -DdistributionTargetFolder=d:\Work\royale_ide\distribution
> >
> > pt., 19 lut 2021 o 14:26 Christofer Dutz <ch...@c-ware.de>
> > napisał(a):
> >
> > > Hi all,
> > >
> > > so I just pushed another change to the distribution that should fix
> > > the classpath problem.
> > >
> > > Piotr ... could you please try again? And if you send me the command
> > > you always axecute, I could test it on my side.
> > >
> > > Chris
> > >
> > >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Christofer Dutz <ch...@c-ware.de>
> > > Gesendet: Freitag, 19. Februar 2021 14:12
> > > An: dev@royale.apache.org
> > > Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > Hi Hiedra,
> > >
> > > well I changed the distribution to make the names like in the ANT
> > > distribution yesterday.
> > > But you are passing in an argument telling the compiler to use the
> > > old format and now it should be the new ...
> > >
> > > Try:
> > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc: defaults.css;
> > > For -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> > > defaults.css;
> > >
> > > Instead of your variant.
> > >
> > > Chris
> > >
> > >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Maria Jose Esteve <mj...@iest.com>
> > > Gesendet: Freitag, 19. Februar 2021 14:08
> > > An: dev@royale.apache.org
> > > Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > Yes, until recently I also compiled only with Maven. Due to the
> > > problem with the spark.css I started to do the double compilation of
> > MAVEN and ANT.
> > >
> > > It's funny, now, the swc's are not generated with
> > > "xxxx-0.9.8-SNAPSHOT-js.swc" in the distribution BUT if in the pom
> > > of my project I change in additionalCompilerOptions:
> > > -compiler.exclude-defaults-css-files = MXRoyale - $
> > > {royale.framework.version} -js.swc: defaults.css; For
> > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc: defaults.css;
> > > My application starts to do nonsense (for example the change of
> > > selectedContent in my ApplicationMainContent does not display)
> > >
> > > Chris, thank you.
> > > Hiedra
> > >
> > > -----Mensaje original-----
> > > De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> > > 19 de febrero de 2021 13:09
> > > Para: dev@royale.apache.org
> > > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > Hi Hiedra,
> > >
> > > I have to admit that I've never used VSCode. Every time I do any
> > > development I usually use one of the JetBrains IDEs.
> > > Royale Stuff I do in IntelliJ ... with my "Flexmojos Hack" it can be
> > > used quite well. And I always compile with Maven.
> > >
> > > But thanks for the explanation on why the other path is set
> differently.
> > >
> > > I guess we'll have to wait till some others can tell me what needs
> > > to be changed.
> > >
> > > Chris
> > >
> > >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Maria Jose Esteve <mj...@iest.com>
> > > Gesendet: Freitag, 19. Februar 2021 12:48
> > > An: dev@royale.apache.org
> > > Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > Hello Chris,
> > > so that I can debug my changes in the SDK I need to set the path of
> > > the "as3mxml.sdk.editor" to the asjs directory of my fork, for this
> > > reason the path of the " as3mxml.sdk.framework" points to the
> > > directory of the maven distribution and the "as3mxml.sdk.editor" to
> code.
> > >
> > > ">> I'm not getting any errors from VSCode. But well ... if I hit
> > > SHIFT+Enter it starts doing something where if failed prior to my
> > > >> changes this morning and is no longer complaining, but it's also
> > > >> not
> > > doing much (I can't see it create a "bin" directory)"
> > >
> > > I don't quite understand this ... possibly because of my lack of
> > knowledge.
> > >
> > > I have not tried Carlos's project but this afternoon I will be able
> > > to do it and I will be able to give more details.
> > >
> > > Thx.
> > > Hiedra.
> > >
> > > -----Mensaje original-----
> > > De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> > > 19 de febrero de 2021 11:51
> > > Para: dev@royale.apache.org
> > > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > Hi Heidra,
> > >
> > > I just updated Carlos' example to have the same type of setting
> > > (C:\\Temp\\RoyaleSDK is where I have my Maven build generate the SDK):
> > >
> > > setings.js:
> > > {
> > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > }
> > >
> > > workspace-code-workspace
> > > {
> > > "folders": [
> > > {
> > > "path": ".."
> > > }
> > > ],
> > > "settings": {
> > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > }
> > > }
> > >
> > > I'm not getting any errors from VSCode. But well ... if I hit
> > > SHIFT+Enter it starts doing something where if failed prior to my
> > > changes this morning and is no longer complaining, but it's also not
> > > doing much (I can't see it create a "bin" directory)
> > >
> > > Chris
> > >
> > >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Maria Jose Esteve <mj...@iest.com>
> > > Gesendet: Freitag, 19. Februar 2021 10:53
> > > An: dev@royale.apache.org
> > > Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > If I don't compile with ANT, the mxml extension in vsCode IDE, it
> > > doesn't recognize the valid asjs directory for "as3mxml.sdk.editor":
> > > ...
> > > "settings": {
> > > "as3mxml.sdk.framework":
> > > "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
> > > "as3mxml.sdk.editor":
> > > "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs" <--------
> > > [download folder repo royale-asjs]
> > > }
> > > }
> > >
> > > The error is:
> > > " as3mxml.sdk.editor in settings does not point to a valid SDK.
> > > Requires..."
> > >
> > > Thx.
> > > Hiedra.
> > >
> > > -----Mensaje original-----
> > > De: Piotr Zarzycki <pi...@gmail.com> Enviado el: viernes,
> > > 19 de febrero de 2021 10:44
> > > Para: Apache Royale Development <de...@royale.apache.org>
> > > Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > Hi Chris,
> > >
> > > I just tried your changes and I have same issue. I need to
> > > understand what has change enough significantly that it causes
> > > compilation fail in such way. It doesn't happen with SDK prepared by
> ANT.
> > >
> > > Thanks,
> > > Piotr
> > >
> > > pt., 19 lut 2021 o 10:33 Maria Jose Esteve <mj...@iest.com>
> > napisał(a):
> > >
> > > > @Chris you're right, sorry, I didn't download your last commit.
> > > > I'm sorry.
> > > > Hiedra.
> > > >
> > > > -----Mensaje original-----
> > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > > viernes,
> > > > 19 de febrero de 2021 10:17
> > > > Para: dev@royale.apache.org
> > > > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> > > >
> > > > I'll try to guess what you wanted to say here ...
> > > >
> > > > But I think these are exactly the changes I comitted a an hour
> > > > ago,
> > > right?
> > > > At least in general I replaced all the references to names with
> > > > versions to the changed ones.
> > > >
> > > >
> > > > Chris
> > > >
> > > >
> > > >
> > > > -----Ursprüngliche Nachricht-----
> > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > Gesendet: Freitag, 19. Februar 2021 10:01
> > > > An: dev@royale.apache.org
> > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > distribution
> > > >
> > > > Hi,
> > > > Mi distribución hace referencia en el fichero
> > > > "./frameworks/royale-config.xml" a las librerías:
> > > >
> > > > <js-external-library-path>
> > > >
> > > > <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.
> > > > sw
> > > > c</path-element>
> > > >
> > > >
> > > <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs
> > > .s
> > > wc</path-element>
> > > > </js-external-library-path>
> > > >
> > > > Las correctas son:
> > > >
> > > > <js-external-library-path>
> > > >
> > <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> > > >
> > <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
> > > > </js-external-library-path>
> > > >
> > > > Hiedra
> > > >
> > > > -----Mensaje original-----
> > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > > viernes,
> > > > 19 de febrero de 2021 9:39
> > > > Para: dev@royale.apache.org
> > > > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> > > >
> > > > Ok,
> > > >
> > > > so the config xml files in the distribution were still pointing to
> > > > the old names. I updated them all to now refer to the names.
> > > > I tried things in Carlos' demo project, and I'm no-longer getting
> > > > the errors, however compilation seems to take for ever.
> > > >
> > > > Please try out the changes and tell me if there are any problems
> > > > with
> > > them.
> > > >
> > > > Chris
> > > >
> > > > -----Ursprüngliche Nachricht-----
> > > > Von: Christofer Dutz <ch...@c-ware.de>
> > > > Gesendet: Donnerstag, 18. Februar 2021 23:17
> > > > An: dev@royale.apache.org
> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > > > distribution
> > > >
> > > > Hi Carlos,
> > > >
> > > > I'll look into this tomorrow.
> > > >
> > > > Chris
> > > >
> > > > -----Ursprüngliche Nachricht-----
> > > > Von: Carlos Rovira <ca...@apache.org>
> > > > Gesendet: Donnerstag, 18. Februar 2021 17:49
> > > > An: Apache Royale Development <de...@royale.apache.org>
> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > distribution
> > > >
> > > > Hi, I think I talked very quickly, sorry, there seems to be a
> problem.
> > > >
> > > > @Christofer Dutz <ch...@c-ware.de> you can download this
> > > > project:
> > > >
> > > >
> > > > https://github.com/apache/royale-asjs/files/6004363/ToggleButtonBa
> > > > rI
> > > > ss
> > > > ue.zip
> > > >
> > > > Then using VSCode with AS3&MXML and adding the Maven distribution.
> > > > Then hit CTRL+ENTER and you will get the following fail. Using ANT
> > > > distribution is working fine.
> > > > Can you take a look?
> > > >
> > > > Royale Compiler Shell
> > > > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> > > > --source-map=true
> > > > --html-template=src/html/jewel-example-index-template.html
> > > >
> > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Them
> > > > e/
> > > > sr
> > > > c/main/resources/defaults.css
> > > > --source-path+=src
> > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> > > > -js-dynamic-access-unknown-members=true -- src/App.mxml
> > > > fcsh: Assigned 1 as the compile target id The project 'App' has
> > > > been successfully compiled and optimized.
> > > > Compile status: 0
> > > > Elapsed time: 14.211105399 seconds Feb 18, 2021 5:43:40 PM
> > > > com.google.javascript.jscomp.LoggerErrorManager
> > > > printSummary
> > > > INFO: 0 error(s), 0 warning(s), 96.5% typed
> > > > (fcsh) quit
> > > > Compiler shell exited with code: 0 Royale Compiler Shell
> > > > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> > > > --source-map=true
> > > > --html-template=src/html/jewel-example-index-template.html
> > > >
> > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Them
> > > > e/
> > > > sr
> > > > c/main/resources/defaults.css
> > > > --source-path+=src
> > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> > > > -js-dynamic-access-unknown-members=true -- src/App.mxml
> > > > fcsh: Assigned 1 as the compile target id Compile status: 5
> > > > Elapsed
> > time:
> > > > 0.618407478 seconds
> > > >
> > > >
> > >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > > > col: 0 Error: unable to open
> > > >
> > > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
> > > >
> > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks
> > > > /r
> > > > oy
> > > > ale-config.xml
> > > > (line: 81)
> > > >
> > > > </js-external-library-path>
> > > >
> > > >
> > > >
> > > >
> > >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > > > col: 0 Error: unable to open
> > > >
> > > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
> > > >
> > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks
> > > > /r
> > > > oy
> > > > ale-config.xml
> > > > (line: 81)
> > > >
> > > > </js-external-library-path>
> > > > (fcsh)
> > > > Quick Compile failed. Errors in compiler output.
> > > >
> > > > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
> > > > (<ca...@apache.org>)
> > > > escribió:
> > > >
> > > > > Hi,
> > > > >
> > > > > I rebuilt all from scratch just now and finally the distribution
> > > > > too and tried in VSCode and all seems to work fine for me.
> > > > >
> > > > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> > > > > christofer.dutz@c-ware.de>) escribió:
> > > > >
> > > > >> Hi Piotr,
> > > > >>
> > > > >> that class is located in lib\external\flex-tool-api.jar At
> > > > >> least in my distribution it's there and it contains the class.
> > > > >>
> > > > >> How are you calling the build that's failing?
> > > > >>
> > > > >> Chris
> > > > >>
> > > > >> -----Ursprüngliche Nachricht-----
> > > > >> Von: Piotr Zarzycki <pi...@gmail.com>
> > > > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> > > > >> An: Apache Royale Development <de...@royale.apache.org>
> > > > >> Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > >> distribution
> > > > >>
> > > > >> Chris,
> > > > >>
> > > > >> I just checked and I'm not able build project anymore using
> > > > distribution:
> > > > >>
> > > > >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
> > > > >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m
> > > > >> -Xmx3000m
> > > > >> : Error: Could not find or load main class
> > > > >> org.apache.royale.compiler.clients.MXMLJSC
> > > > >> : Caused by: java.lang.NoClassDefFoundError:
> > > > >> org/apache/flex/tools/FlexTool
> > > > >>
> > > > >> I'm done for today, so I will answer anything tomorrow.
> > > > >>
> > > > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
> > > > >> <ch...@c-ware.de>
> > > > >> napisał(a):
> > > > >>
> > > > >> > Ok ...
> > > > >> >
> > > > >> > so I just pushed another change. Now the distribution should
> > > > >> > also contain an empty spark.css, just like the Ant one.
> > > > >> >
> > > > >> > Chris
> > > > >> >
> > > > >> >
> > > > >> > -----Ursprüngliche Nachricht-----
> > > > >> > Von: Christofer Dutz <ch...@c-ware.de>
> > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> > > > >> > An: dev@royale.apache.org
> > > > >> > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > > > >> > distribution
> > > > >> >
> > > > >> > Ok,
> > > > >> >
> > > > >> > so that should now be fixed. Leaves the "spark.css"
> > > > >> > Having had a look, it seems as if the Ant build creates an
> > > > >> > empty
> > > > >> spark.css.
> > > > >> >
> > > > >> > Is this all we need? If yes, then I'll have that in ther in
> > > > >> > no
> > time.
> > > > >> >
> > > > >> > Chris
> > > > >> >
> > > > >> > -----Ursprüngliche Nachricht-----
> > > > >> > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> > > > >> > An: Apache Royale Development <de...@royale.apache.org>
> > > > >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > >> > distribution
> > > > >> >
> > > > >> > *(I assume that's in the "frameworks/js/libs" directory? *
> > > > >> >
> > > > >> > Yes this is the directory.
> > > > >> >
> > > > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> > > > >> > <ch...@c-ware.de>
> > > > >> > napisał(a):
> > > > >> >
> > > > >> > > Hi Piotr,
> > > > >> > >
> > > > >> > > Ok ... so Ant seems to be adding a "JS" to the end of every
> > > > >> > > name (I assume that's in the "frameworks/js/libs" directory?
> > > > >> > >
> > > > >> > > Also I'll try to find out where the "spark.css" should come
> > > > >> > > from
> > > ...
> > > > >> > > and where it should go to.
> > > > >> > >
> > > > >> > > Chris
> > > > >> > >
> > > > >> > >
> > > > >> > > -----Ursprüngliche Nachricht-----
> > > > >> > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> > > > >> > > An: Apache Royale Development <de...@royale.apache.org>
> > > > >> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > >> > > distribution
> > > > >> > >
> > > > >> > > Chris,
> > > > >> > >
> > > > >> > > Looks better but here is the comparision what I have in Ant
> > > > >> > > distribution vs Maven distribution in case of names. On the
> > > > >> > > left Ant distribution, on the right Maven. It is folder:
> > > > >> > > frameworks\js\libs\ [1]
> > > > >> > >
> > > > >> > > [1] https://ibb.co/W2DzcDb
> > > > >> > >
> > > > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> > > > >> > > <ch...@c-ware.de>
> > > > >> > > napisał(a):
> > > > >> > >
> > > > >> > > > And done ...
> > > > >> > > >
> > > > >> > > > Now all elements in the distribution only consist of
> > > > >> > > > their name and file-ending ... all versions and
> > > > >> > > > classifiers have been
> > > > removed.
> > > > >> > > > Please provide me with feedback on if this solves the
> issues.
> > > > >> > > >
> > > > >> > > > Chris
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > -----Ursprüngliche Nachricht-----
> > > > >> > > > Von: Christofer Dutz <ch...@c-ware.de>
> > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> > > > >> > > > An: dev@royale.apache.org
> > > > >> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > > > >> > > > distribution
> > > > >> > > >
> > > > >> > > > I'll probably have a fix for that in a few minuntes ...
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > Chris
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > -----Ursprüngliche Nachricht-----
> > > > >> > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> > > > >> > > > An: Apache Royale Development <de...@royale.apache.org>
> > > > >> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > >> > > > distribution
> > > > >> > > >
> > > > >> > > > Chris,
> > > > >> > > >
> > > > >> > > > No it's not about not picking up by IDE at all. Moonshine
> > > > >> > > > and VSCode are able to build projects using Maven
> > > > >> > > > distribution package! It is about project which are mixed
> > > > >> > > > for example when user wanted to use Jewel module +
> > > > >> > > > RemoteObject class from MXRoyale module. In that case
> > > > >> > > > user need to point explicilty as a compiler options in
> > > > >> > > > IDE that he wanted to have SWC included and need to
> > > > >> > > > exclude css from that swc to
> > > > >> > > avoid problems.
> > > > >> > > >
> > > > >> > > > It is happen like that:
> > > > >> > > >
> > > > >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > > >> > > >
> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> > > > >> > > > cs
> > > > >> > > > s
> > > > >> > > >
> > > > >> > > > If I would like to use maven distribution user need to
> > > > >> > > > know version for that compiler options. It is even more
> > > > >> > > > tricky when your swc is called
> > > > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> > > > >> > > >
> > > > >> > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.
> > > > >> > > > cs
> > > > >> > > > s
> > > > >> > > >
> > > > >> > > > Thanks,
> > > > >> > > > Piotr
> > > > >> > > >
> > > > >> > > >
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> > > > >> > > > <ch...@c-ware.de>
> > > > >> > > > napisał(a):
> > > > >> > > >
> > > > >> > > > > Hi Piotr,
> > > > >> > > > >
> > > > >> > > > > And is really the version-suffix causing it to not be
> > > > >> > > > > picked up by the IDEs?
> > > > >> > > > >
> > > > >> > > > > Chris
> > > > >> > > > >
> > > > >> > > > > -----Ursprüngliche Nachricht-----
> > > > >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> > > > >> > > > > An: dev@royale.apache.org
> > > > >> > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > >> > > > > distribution
> > > > >> > > > >
> > > > >> > > > > Hi Chris,
> > > > >> > > > >
> > > > >> > > > > This is the only thing which seems to be a constant
> > > > >> > > > > problem
> > > > here.
> > > > >> > > > > I personally and some users will be much more happy
> > > > >> > > > > having that
> > > > >> > change.
> > > > >> > > > >
> > > > >> > > > > Thanks,
> > > > >> > > > > Piotr
> > > > >> > > > >
> > > > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> > > > >> > > > > <ch...@c-ware.de>
> > > > >> > > > > wrote:
> > > > >> > > > >
> > > > >> > > > > > Hi Piotr,
> > > > >> > > > > >
> > > > >> > > > > > I'd be happy to help with that.
> > > > >> > > > > >
> > > > >> > > > > > I did simply ask for a list of things that need to be
> > > > >> > > > > > changed in order to get things working, but never got
> > > > >> > > > > > said list, so I never knew what I could do to make
> > > > >> > > > > > the Maven distribution match up to the
> > > > >> > > > Ant built one.
> > > > >> > > > > >
> > > > >> > > > > > Chris
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > > > -----Ursprüngliche Nachricht-----
> > > > >> > > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> > > > >> > > > > > An: Apache Royale Development <de...@royale.apache.org>
> > > > >> > > > > > Betreff: Align Maven IDE distribution with Ant IDE
> > > > >> > > > > > distribution
> > > > >> > > > > >
> > > > >> > > > > > Hi Guys,
> > > > >> > > > > >
> > > > >> > > > > > It's been couple of times when user complains that he
> > > > >> > > > > > have problems with using Maven distribution vs Ant
> > > > >> > > > > > distribution in IDE in a mixed project Jewel +
> > > > >> > > > > > MX/Spark
> > etc.
> > > > >> > > > > >
> > > > >> > > > > > Can we have that resolve once for all and adjust
> > > > >> > > > > > Maven distribution folder to produce proper names of
> swcs ?
> > > > >> > > > > >
> > > > >> > > > > > Currently when I build Maven IDE distribution I have:
> > > > >> > > > > >
> > > > >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> > > > >> > > > > >
> > > > >> > > > > > When I build Ant IDE distribution I have:
> > > > >> > > > > >
> > > > >> > > > > > MXRoyale-js.swc
> > > > >> > > > > >
> > > > >> > > > > > Thanks,
> > > > >> > > > > > --
> > > > >> > > > > >
> > > > >> > > > > > Piotr Zarzycki
> > > > >> > > > > >
> > > > >> > > > > --
> > > > >> > > > >
> > > > >> > > > > Piotr Zarzycki
> > > > >> > > > >
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > --
> > > > >> > > >
> > > > >> > > > Piotr Zarzycki
> > > > >> > > >
> > > > >> > >
> > > > >> > >
> > > > >> > > --
> > > > >> > >
> > > > >> > > Piotr Zarzycki
> > > > >> > >
> > > > >> >
> > > > >> >
> > > > >> > --
> > > > >> >
> > > > >> > Piotr Zarzycki
> > > > >> >
> > > > >>
> > > > >>
> > > > >> --
> > > > >>
> > > > >> Piotr Zarzycki
> > > > >>
> > > > >
> > > > >
> > > > > --
> > > > > Carlos Rovira
> > > > > Apache Member & Apache Royale PMC *Apache Software Foundation*
> > > > > http://about.me/carlosrovira
> > > > >
> > > > >
> > > >
> > > > --
> > > > Carlos Rovira
> > > > Apache Member & Apache Royale PMC
> > > > *Apache Software Foundation*
> > > > http://about.me/carlosrovira
> > > >
> > >
> > >
> > > --
> > >
> > > Piotr Zarzycki
> > >
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
>
>
> --
>
> Piotr Zarzycki
>
--
Piotr Zarzycki
AW: Align Maven IDE distribution with Ant IDE distribution
Posted by Christofer Dutz <ch...@c-ware.de>.
Well actually is doesn set an Environmet Variable,
It's more or less the other way around ... an Environment Variable can initialize a property in maven, but not the other way around.
And the magic for creating the directory distribution usualy only kicks in if you set an environment variable. But if your directory is not empty, just ignore my mumbling, then something has changed in Maven
Chris
-----Ursprüngliche Nachricht-----
Von: Piotr Zarzycki <pi...@gmail.com>
Gesendet: Freitag, 19. Februar 2021 14:50
An: Apache Royale Development <de...@royale.apache.org>
Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
I'm pointing an empty directory called distribution. Prefix -D sets for me temporary env variable -> -DdistributionTargetFolder=path
pt., 19 lut 2021 o 14:48 Christofer Dutz <ch...@c-ware.de>
napisał(a):
> Does this creat the directory?
>
> Cause I think you have to set an Environment Variable:
>
> set distributionTargetFolder=d:\Work\royale_ide\distribution
>
> mvn clean install
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Piotr Zarzycki <pi...@gmail.com>
> Gesendet: Freitag, 19. Februar 2021 14:41
> An: Apache Royale Development <de...@royale.apache.org>
> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>
> I have executed something like that cause I didn't know that it will
> use default compiler 0.9.9-SNAPSHOT
>
> mvn clean install -Droyale.compiler.version=0.9.9-SNAPSHOT
> -DdistributionTargetFolder=d:\Work\royale_ide\distribution
>
> pt., 19 lut 2021 o 14:26 Christofer Dutz <ch...@c-ware.de>
> napisał(a):
>
> > Hi all,
> >
> > so I just pushed another change to the distribution that should fix
> > the classpath problem.
> >
> > Piotr ... could you please try again? And if you send me the command
> > you always axecute, I could test it on my side.
> >
> > Chris
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Christofer Dutz <ch...@c-ware.de>
> > Gesendet: Freitag, 19. Februar 2021 14:12
> > An: dev@royale.apache.org
> > Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi Hiedra,
> >
> > well I changed the distribution to make the names like in the ANT
> > distribution yesterday.
> > But you are passing in an argument telling the compiler to use the
> > old format and now it should be the new ...
> >
> > Try:
> > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc: defaults.css;
> > For -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> > defaults.css;
> >
> > Instead of your variant.
> >
> > Chris
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Maria Jose Esteve <mj...@iest.com>
> > Gesendet: Freitag, 19. Februar 2021 14:08
> > An: dev@royale.apache.org
> > Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
> >
> > Yes, until recently I also compiled only with Maven. Due to the
> > problem with the spark.css I started to do the double compilation of
> MAVEN and ANT.
> >
> > It's funny, now, the swc's are not generated with
> > "xxxx-0.9.8-SNAPSHOT-js.swc" in the distribution BUT if in the pom
> > of my project I change in additionalCompilerOptions:
> > -compiler.exclude-defaults-css-files = MXRoyale - $
> > {royale.framework.version} -js.swc: defaults.css; For
> > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc: defaults.css;
> > My application starts to do nonsense (for example the change of
> > selectedContent in my ApplicationMainContent does not display)
> >
> > Chris, thank you.
> > Hiedra
> >
> > -----Mensaje original-----
> > De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> > 19 de febrero de 2021 13:09
> > Para: dev@royale.apache.org
> > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi Hiedra,
> >
> > I have to admit that I've never used VSCode. Every time I do any
> > development I usually use one of the JetBrains IDEs.
> > Royale Stuff I do in IntelliJ ... with my "Flexmojos Hack" it can be
> > used quite well. And I always compile with Maven.
> >
> > But thanks for the explanation on why the other path is set differently.
> >
> > I guess we'll have to wait till some others can tell me what needs
> > to be changed.
> >
> > Chris
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Maria Jose Esteve <mj...@iest.com>
> > Gesendet: Freitag, 19. Februar 2021 12:48
> > An: dev@royale.apache.org
> > Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hello Chris,
> > so that I can debug my changes in the SDK I need to set the path of
> > the "as3mxml.sdk.editor" to the asjs directory of my fork, for this
> > reason the path of the " as3mxml.sdk.framework" points to the
> > directory of the maven distribution and the "as3mxml.sdk.editor" to code.
> >
> > ">> I'm not getting any errors from VSCode. But well ... if I hit
> > SHIFT+Enter it starts doing something where if failed prior to my
> > >> changes this morning and is no longer complaining, but it's also
> > >> not
> > doing much (I can't see it create a "bin" directory)"
> >
> > I don't quite understand this ... possibly because of my lack of
> knowledge.
> >
> > I have not tried Carlos's project but this afternoon I will be able
> > to do it and I will be able to give more details.
> >
> > Thx.
> > Hiedra.
> >
> > -----Mensaje original-----
> > De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> > 19 de febrero de 2021 11:51
> > Para: dev@royale.apache.org
> > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi Heidra,
> >
> > I just updated Carlos' example to have the same type of setting
> > (C:\\Temp\\RoyaleSDK is where I have my Maven build generate the SDK):
> >
> > setings.js:
> > {
> > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > }
> >
> > workspace-code-workspace
> > {
> > "folders": [
> > {
> > "path": ".."
> > }
> > ],
> > "settings": {
> > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > }
> > }
> >
> > I'm not getting any errors from VSCode. But well ... if I hit
> > SHIFT+Enter it starts doing something where if failed prior to my
> > changes this morning and is no longer complaining, but it's also not
> > doing much (I can't see it create a "bin" directory)
> >
> > Chris
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Maria Jose Esteve <mj...@iest.com>
> > Gesendet: Freitag, 19. Februar 2021 10:53
> > An: dev@royale.apache.org
> > Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
> >
> > If I don't compile with ANT, the mxml extension in vsCode IDE, it
> > doesn't recognize the valid asjs directory for "as3mxml.sdk.editor":
> > ...
> > "settings": {
> > "as3mxml.sdk.framework":
> > "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
> > "as3mxml.sdk.editor":
> > "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs" <--------
> > [download folder repo royale-asjs]
> > }
> > }
> >
> > The error is:
> > " as3mxml.sdk.editor in settings does not point to a valid SDK.
> > Requires..."
> >
> > Thx.
> > Hiedra.
> >
> > -----Mensaje original-----
> > De: Piotr Zarzycki <pi...@gmail.com> Enviado el: viernes,
> > 19 de febrero de 2021 10:44
> > Para: Apache Royale Development <de...@royale.apache.org>
> > Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi Chris,
> >
> > I just tried your changes and I have same issue. I need to
> > understand what has change enough significantly that it causes
> > compilation fail in such way. It doesn't happen with SDK prepared by ANT.
> >
> > Thanks,
> > Piotr
> >
> > pt., 19 lut 2021 o 10:33 Maria Jose Esteve <mj...@iest.com>
> napisał(a):
> >
> > > @Chris you're right, sorry, I didn't download your last commit.
> > > I'm sorry.
> > > Hiedra.
> > >
> > > -----Mensaje original-----
> > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > viernes,
> > > 19 de febrero de 2021 10:17
> > > Para: dev@royale.apache.org
> > > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > I'll try to guess what you wanted to say here ...
> > >
> > > But I think these are exactly the changes I comitted a an hour
> > > ago,
> > right?
> > > At least in general I replaced all the references to names with
> > > versions to the changed ones.
> > >
> > >
> > > Chris
> > >
> > >
> > >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Maria Jose Esteve <mj...@iest.com>
> > > Gesendet: Freitag, 19. Februar 2021 10:01
> > > An: dev@royale.apache.org
> > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > distribution
> > >
> > > Hi,
> > > Mi distribución hace referencia en el fichero
> > > "./frameworks/royale-config.xml" a las librerías:
> > >
> > > <js-external-library-path>
> > >
> > > <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.
> > > sw
> > > c</path-element>
> > >
> > >
> > <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs
> > .s
> > wc</path-element>
> > > </js-external-library-path>
> > >
> > > Las correctas son:
> > >
> > > <js-external-library-path>
> > >
> <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> > >
> <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
> > > </js-external-library-path>
> > >
> > > Hiedra
> > >
> > > -----Mensaje original-----
> > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > viernes,
> > > 19 de febrero de 2021 9:39
> > > Para: dev@royale.apache.org
> > > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > Ok,
> > >
> > > so the config xml files in the distribution were still pointing to
> > > the old names. I updated them all to now refer to the names.
> > > I tried things in Carlos' demo project, and I'm no-longer getting
> > > the errors, however compilation seems to take for ever.
> > >
> > > Please try out the changes and tell me if there are any problems
> > > with
> > them.
> > >
> > > Chris
> > >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Christofer Dutz <ch...@c-ware.de>
> > > Gesendet: Donnerstag, 18. Februar 2021 23:17
> > > An: dev@royale.apache.org
> > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > > distribution
> > >
> > > Hi Carlos,
> > >
> > > I'll look into this tomorrow.
> > >
> > > Chris
> > >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Carlos Rovira <ca...@apache.org>
> > > Gesendet: Donnerstag, 18. Februar 2021 17:49
> > > An: Apache Royale Development <de...@royale.apache.org>
> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > distribution
> > >
> > > Hi, I think I talked very quickly, sorry, there seems to be a problem.
> > >
> > > @Christofer Dutz <ch...@c-ware.de> you can download this
> > > project:
> > >
> > >
> > > https://github.com/apache/royale-asjs/files/6004363/ToggleButtonBa
> > > rI
> > > ss
> > > ue.zip
> > >
> > > Then using VSCode with AS3&MXML and adding the Maven distribution.
> > > Then hit CTRL+ENTER and you will get the following fail. Using ANT
> > > distribution is working fine.
> > > Can you take a look?
> > >
> > > Royale Compiler Shell
> > > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> > > --source-map=true
> > > --html-template=src/html/jewel-example-index-template.html
> > >
> > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Them
> > > e/
> > > sr
> > > c/main/resources/defaults.css
> > > --source-path+=src
> > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> > > -js-dynamic-access-unknown-members=true -- src/App.mxml
> > > fcsh: Assigned 1 as the compile target id The project 'App' has
> > > been successfully compiled and optimized.
> > > Compile status: 0
> > > Elapsed time: 14.211105399 seconds Feb 18, 2021 5:43:40 PM
> > > com.google.javascript.jscomp.LoggerErrorManager
> > > printSummary
> > > INFO: 0 error(s), 0 warning(s), 96.5% typed
> > > (fcsh) quit
> > > Compiler shell exited with code: 0 Royale Compiler Shell
> > > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> > > --source-map=true
> > > --html-template=src/html/jewel-example-index-template.html
> > >
> > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Them
> > > e/
> > > sr
> > > c/main/resources/defaults.css
> > > --source-path+=src
> > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> > > -js-dynamic-access-unknown-members=true -- src/App.mxml
> > > fcsh: Assigned 1 as the compile target id Compile status: 5
> > > Elapsed
> time:
> > > 0.618407478 seconds
> > >
> > >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > > col: 0 Error: unable to open
> > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
> > >
> > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks
> > > /r
> > > oy
> > > ale-config.xml
> > > (line: 81)
> > >
> > > </js-external-library-path>
> > >
> > >
> > >
> > >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > > col: 0 Error: unable to open
> > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
> > >
> > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks
> > > /r
> > > oy
> > > ale-config.xml
> > > (line: 81)
> > >
> > > </js-external-library-path>
> > > (fcsh)
> > > Quick Compile failed. Errors in compiler output.
> > >
> > > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
> > > (<ca...@apache.org>)
> > > escribió:
> > >
> > > > Hi,
> > > >
> > > > I rebuilt all from scratch just now and finally the distribution
> > > > too and tried in VSCode and all seems to work fine for me.
> > > >
> > > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> > > > christofer.dutz@c-ware.de>) escribió:
> > > >
> > > >> Hi Piotr,
> > > >>
> > > >> that class is located in lib\external\flex-tool-api.jar At
> > > >> least in my distribution it's there and it contains the class.
> > > >>
> > > >> How are you calling the build that's failing?
> > > >>
> > > >> Chris
> > > >>
> > > >> -----Ursprüngliche Nachricht-----
> > > >> Von: Piotr Zarzycki <pi...@gmail.com>
> > > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> > > >> An: Apache Royale Development <de...@royale.apache.org>
> > > >> Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > >> distribution
> > > >>
> > > >> Chris,
> > > >>
> > > >> I just checked and I'm not able build project anymore using
> > > distribution:
> > > >>
> > > >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
> > > >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m
> > > >> -Xmx3000m
> > > >> : Error: Could not find or load main class
> > > >> org.apache.royale.compiler.clients.MXMLJSC
> > > >> : Caused by: java.lang.NoClassDefFoundError:
> > > >> org/apache/flex/tools/FlexTool
> > > >>
> > > >> I'm done for today, so I will answer anything tomorrow.
> > > >>
> > > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
> > > >> <ch...@c-ware.de>
> > > >> napisał(a):
> > > >>
> > > >> > Ok ...
> > > >> >
> > > >> > so I just pushed another change. Now the distribution should
> > > >> > also contain an empty spark.css, just like the Ant one.
> > > >> >
> > > >> > Chris
> > > >> >
> > > >> >
> > > >> > -----Ursprüngliche Nachricht-----
> > > >> > Von: Christofer Dutz <ch...@c-ware.de>
> > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> > > >> > An: dev@royale.apache.org
> > > >> > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > > >> > distribution
> > > >> >
> > > >> > Ok,
> > > >> >
> > > >> > so that should now be fixed. Leaves the "spark.css"
> > > >> > Having had a look, it seems as if the Ant build creates an
> > > >> > empty
> > > >> spark.css.
> > > >> >
> > > >> > Is this all we need? If yes, then I'll have that in ther in
> > > >> > no
> time.
> > > >> >
> > > >> > Chris
> > > >> >
> > > >> > -----Ursprüngliche Nachricht-----
> > > >> > Von: Piotr Zarzycki <pi...@gmail.com>
> > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> > > >> > An: Apache Royale Development <de...@royale.apache.org>
> > > >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > >> > distribution
> > > >> >
> > > >> > *(I assume that's in the "frameworks/js/libs" directory? *
> > > >> >
> > > >> > Yes this is the directory.
> > > >> >
> > > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> > > >> > <ch...@c-ware.de>
> > > >> > napisał(a):
> > > >> >
> > > >> > > Hi Piotr,
> > > >> > >
> > > >> > > Ok ... so Ant seems to be adding a "JS" to the end of every
> > > >> > > name (I assume that's in the "frameworks/js/libs" directory?
> > > >> > >
> > > >> > > Also I'll try to find out where the "spark.css" should come
> > > >> > > from
> > ...
> > > >> > > and where it should go to.
> > > >> > >
> > > >> > > Chris
> > > >> > >
> > > >> > >
> > > >> > > -----Ursprüngliche Nachricht-----
> > > >> > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> > > >> > > An: Apache Royale Development <de...@royale.apache.org>
> > > >> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > >> > > distribution
> > > >> > >
> > > >> > > Chris,
> > > >> > >
> > > >> > > Looks better but here is the comparision what I have in Ant
> > > >> > > distribution vs Maven distribution in case of names. On the
> > > >> > > left Ant distribution, on the right Maven. It is folder:
> > > >> > > frameworks\js\libs\ [1]
> > > >> > >
> > > >> > > [1] https://ibb.co/W2DzcDb
> > > >> > >
> > > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> > > >> > > <ch...@c-ware.de>
> > > >> > > napisał(a):
> > > >> > >
> > > >> > > > And done ...
> > > >> > > >
> > > >> > > > Now all elements in the distribution only consist of
> > > >> > > > their name and file-ending ... all versions and
> > > >> > > > classifiers have been
> > > removed.
> > > >> > > > Please provide me with feedback on if this solves the issues.
> > > >> > > >
> > > >> > > > Chris
> > > >> > > >
> > > >> > > >
> > > >> > > > -----Ursprüngliche Nachricht-----
> > > >> > > > Von: Christofer Dutz <ch...@c-ware.de>
> > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> > > >> > > > An: dev@royale.apache.org
> > > >> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > > >> > > > distribution
> > > >> > > >
> > > >> > > > I'll probably have a fix for that in a few minuntes ...
> > > >> > > >
> > > >> > > >
> > > >> > > > Chris
> > > >> > > >
> > > >> > > >
> > > >> > > > -----Ursprüngliche Nachricht-----
> > > >> > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> > > >> > > > An: Apache Royale Development <de...@royale.apache.org>
> > > >> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > >> > > > distribution
> > > >> > > >
> > > >> > > > Chris,
> > > >> > > >
> > > >> > > > No it's not about not picking up by IDE at all. Moonshine
> > > >> > > > and VSCode are able to build projects using Maven
> > > >> > > > distribution package! It is about project which are mixed
> > > >> > > > for example when user wanted to use Jewel module +
> > > >> > > > RemoteObject class from MXRoyale module. In that case
> > > >> > > > user need to point explicilty as a compiler options in
> > > >> > > > IDE that he wanted to have SWC included and need to
> > > >> > > > exclude css from that swc to
> > > >> > > avoid problems.
> > > >> > > >
> > > >> > > > It is happen like that:
> > > >> > > >
> > > >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > >> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> > > >> > > > cs
> > > >> > > > s
> > > >> > > >
> > > >> > > > If I would like to use maven distribution user need to
> > > >> > > > know version for that compiler options. It is even more
> > > >> > > > tricky when your swc is called
> > > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> > > >> > > >
> > > >> > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.
> > > >> > > > cs
> > > >> > > > s
> > > >> > > >
> > > >> > > > Thanks,
> > > >> > > > Piotr
> > > >> > > >
> > > >> > > >
> > > >> > > >
> > > >> > > >
> > > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> > > >> > > > <ch...@c-ware.de>
> > > >> > > > napisał(a):
> > > >> > > >
> > > >> > > > > Hi Piotr,
> > > >> > > > >
> > > >> > > > > And is really the version-suffix causing it to not be
> > > >> > > > > picked up by the IDEs?
> > > >> > > > >
> > > >> > > > > Chris
> > > >> > > > >
> > > >> > > > > -----Ursprüngliche Nachricht-----
> > > >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> > > >> > > > > An: dev@royale.apache.org
> > > >> > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > >> > > > > distribution
> > > >> > > > >
> > > >> > > > > Hi Chris,
> > > >> > > > >
> > > >> > > > > This is the only thing which seems to be a constant
> > > >> > > > > problem
> > > here.
> > > >> > > > > I personally and some users will be much more happy
> > > >> > > > > having that
> > > >> > change.
> > > >> > > > >
> > > >> > > > > Thanks,
> > > >> > > > > Piotr
> > > >> > > > >
> > > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> > > >> > > > > <ch...@c-ware.de>
> > > >> > > > > wrote:
> > > >> > > > >
> > > >> > > > > > Hi Piotr,
> > > >> > > > > >
> > > >> > > > > > I'd be happy to help with that.
> > > >> > > > > >
> > > >> > > > > > I did simply ask for a list of things that need to be
> > > >> > > > > > changed in order to get things working, but never got
> > > >> > > > > > said list, so I never knew what I could do to make
> > > >> > > > > > the Maven distribution match up to the
> > > >> > > > Ant built one.
> > > >> > > > > >
> > > >> > > > > > Chris
> > > >> > > > > >
> > > >> > > > > >
> > > >> > > > > > -----Ursprüngliche Nachricht-----
> > > >> > > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> > > >> > > > > > An: Apache Royale Development <de...@royale.apache.org>
> > > >> > > > > > Betreff: Align Maven IDE distribution with Ant IDE
> > > >> > > > > > distribution
> > > >> > > > > >
> > > >> > > > > > Hi Guys,
> > > >> > > > > >
> > > >> > > > > > It's been couple of times when user complains that he
> > > >> > > > > > have problems with using Maven distribution vs Ant
> > > >> > > > > > distribution in IDE in a mixed project Jewel +
> > > >> > > > > > MX/Spark
> etc.
> > > >> > > > > >
> > > >> > > > > > Can we have that resolve once for all and adjust
> > > >> > > > > > Maven distribution folder to produce proper names of swcs ?
> > > >> > > > > >
> > > >> > > > > > Currently when I build Maven IDE distribution I have:
> > > >> > > > > >
> > > >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> > > >> > > > > >
> > > >> > > > > > When I build Ant IDE distribution I have:
> > > >> > > > > >
> > > >> > > > > > MXRoyale-js.swc
> > > >> > > > > >
> > > >> > > > > > Thanks,
> > > >> > > > > > --
> > > >> > > > > >
> > > >> > > > > > Piotr Zarzycki
> > > >> > > > > >
> > > >> > > > > --
> > > >> > > > >
> > > >> > > > > Piotr Zarzycki
> > > >> > > > >
> > > >> > > >
> > > >> > > >
> > > >> > > > --
> > > >> > > >
> > > >> > > > Piotr Zarzycki
> > > >> > > >
> > > >> > >
> > > >> > >
> > > >> > > --
> > > >> > >
> > > >> > > Piotr Zarzycki
> > > >> > >
> > > >> >
> > > >> >
> > > >> > --
> > > >> >
> > > >> > Piotr Zarzycki
> > > >> >
> > > >>
> > > >>
> > > >> --
> > > >>
> > > >> Piotr Zarzycki
> > > >>
> > > >
> > > >
> > > > --
> > > > Carlos Rovira
> > > > Apache Member & Apache Royale PMC *Apache Software Foundation*
> > > > http://about.me/carlosrovira
> > > >
> > > >
> > >
> > > --
> > > Carlos Rovira
> > > Apache Member & Apache Royale PMC
> > > *Apache Software Foundation*
> > > http://about.me/carlosrovira
> > >
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
>
>
> --
>
> Piotr Zarzycki
>
--
Piotr Zarzycki
Re: Align Maven IDE distribution with Ant IDE distribution
Posted by Piotr Zarzycki <pi...@gmail.com>.
I'm pointing an empty directory called distribution. Prefix -D sets for me
temporary env variable -> -DdistributionTargetFolder=path
pt., 19 lut 2021 o 14:48 Christofer Dutz <ch...@c-ware.de>
napisał(a):
> Does this creat the directory?
>
> Cause I think you have to set an Environment Variable:
>
> set distributionTargetFolder=d:\Work\royale_ide\distribution
>
> mvn clean install
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Piotr Zarzycki <pi...@gmail.com>
> Gesendet: Freitag, 19. Februar 2021 14:41
> An: Apache Royale Development <de...@royale.apache.org>
> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>
> I have executed something like that cause I didn't know that it will use
> default compiler 0.9.9-SNAPSHOT
>
> mvn clean install -Droyale.compiler.version=0.9.9-SNAPSHOT
> -DdistributionTargetFolder=d:\Work\royale_ide\distribution
>
> pt., 19 lut 2021 o 14:26 Christofer Dutz <ch...@c-ware.de>
> napisał(a):
>
> > Hi all,
> >
> > so I just pushed another change to the distribution that should fix
> > the classpath problem.
> >
> > Piotr ... could you please try again? And if you send me the command
> > you always axecute, I could test it on my side.
> >
> > Chris
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Christofer Dutz <ch...@c-ware.de>
> > Gesendet: Freitag, 19. Februar 2021 14:12
> > An: dev@royale.apache.org
> > Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi Hiedra,
> >
> > well I changed the distribution to make the names like in the ANT
> > distribution yesterday.
> > But you are passing in an argument telling the compiler to use the old
> > format and now it should be the new ...
> >
> > Try:
> > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc: defaults.css;
> > For -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> > defaults.css;
> >
> > Instead of your variant.
> >
> > Chris
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Maria Jose Esteve <mj...@iest.com>
> > Gesendet: Freitag, 19. Februar 2021 14:08
> > An: dev@royale.apache.org
> > Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
> >
> > Yes, until recently I also compiled only with Maven. Due to the
> > problem with the spark.css I started to do the double compilation of
> MAVEN and ANT.
> >
> > It's funny, now, the swc's are not generated with
> > "xxxx-0.9.8-SNAPSHOT-js.swc" in the distribution BUT if in the pom of
> > my project I change in additionalCompilerOptions:
> > -compiler.exclude-defaults-css-files = MXRoyale - $
> > {royale.framework.version} -js.swc: defaults.css; For
> > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc: defaults.css;
> > My application starts to do nonsense (for example the change of
> > selectedContent in my ApplicationMainContent does not display)
> >
> > Chris, thank you.
> > Hiedra
> >
> > -----Mensaje original-----
> > De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> > 19 de febrero de 2021 13:09
> > Para: dev@royale.apache.org
> > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi Hiedra,
> >
> > I have to admit that I've never used VSCode. Every time I do any
> > development I usually use one of the JetBrains IDEs.
> > Royale Stuff I do in IntelliJ ... with my "Flexmojos Hack" it can be
> > used quite well. And I always compile with Maven.
> >
> > But thanks for the explanation on why the other path is set differently.
> >
> > I guess we'll have to wait till some others can tell me what needs to
> > be changed.
> >
> > Chris
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Maria Jose Esteve <mj...@iest.com>
> > Gesendet: Freitag, 19. Februar 2021 12:48
> > An: dev@royale.apache.org
> > Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hello Chris,
> > so that I can debug my changes in the SDK I need to set the path of
> > the "as3mxml.sdk.editor" to the asjs directory of my fork, for this
> > reason the path of the " as3mxml.sdk.framework" points to the
> > directory of the maven distribution and the "as3mxml.sdk.editor" to code.
> >
> > ">> I'm not getting any errors from VSCode. But well ... if I hit
> > SHIFT+Enter it starts doing something where if failed prior to my
> > >> changes this morning and is no longer complaining, but it's also
> > >> not
> > doing much (I can't see it create a "bin" directory)"
> >
> > I don't quite understand this ... possibly because of my lack of
> knowledge.
> >
> > I have not tried Carlos's project but this afternoon I will be able to
> > do it and I will be able to give more details.
> >
> > Thx.
> > Hiedra.
> >
> > -----Mensaje original-----
> > De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> > 19 de febrero de 2021 11:51
> > Para: dev@royale.apache.org
> > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi Heidra,
> >
> > I just updated Carlos' example to have the same type of setting
> > (C:\\Temp\\RoyaleSDK is where I have my Maven build generate the SDK):
> >
> > setings.js:
> > {
> > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > }
> >
> > workspace-code-workspace
> > {
> > "folders": [
> > {
> > "path": ".."
> > }
> > ],
> > "settings": {
> > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > }
> > }
> >
> > I'm not getting any errors from VSCode. But well ... if I hit
> > SHIFT+Enter it starts doing something where if failed prior to my
> > changes this morning and is no longer complaining, but it's also not
> > doing much (I can't see it create a "bin" directory)
> >
> > Chris
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Maria Jose Esteve <mj...@iest.com>
> > Gesendet: Freitag, 19. Februar 2021 10:53
> > An: dev@royale.apache.org
> > Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
> >
> > If I don't compile with ANT, the mxml extension in vsCode IDE, it
> > doesn't recognize the valid asjs directory for "as3mxml.sdk.editor":
> > ...
> > "settings": {
> > "as3mxml.sdk.framework":
> > "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
> > "as3mxml.sdk.editor":
> > "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs" <--------
> > [download folder repo royale-asjs]
> > }
> > }
> >
> > The error is:
> > " as3mxml.sdk.editor in settings does not point to a valid SDK.
> > Requires..."
> >
> > Thx.
> > Hiedra.
> >
> > -----Mensaje original-----
> > De: Piotr Zarzycki <pi...@gmail.com> Enviado el: viernes, 19
> > de febrero de 2021 10:44
> > Para: Apache Royale Development <de...@royale.apache.org>
> > Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi Chris,
> >
> > I just tried your changes and I have same issue. I need to understand
> > what has change enough significantly that it causes compilation fail
> > in such way. It doesn't happen with SDK prepared by ANT.
> >
> > Thanks,
> > Piotr
> >
> > pt., 19 lut 2021 o 10:33 Maria Jose Esteve <mj...@iest.com>
> napisał(a):
> >
> > > @Chris you're right, sorry, I didn't download your last commit.
> > > I'm sorry.
> > > Hiedra.
> > >
> > > -----Mensaje original-----
> > > De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> > > 19 de febrero de 2021 10:17
> > > Para: dev@royale.apache.org
> > > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > I'll try to guess what you wanted to say here ...
> > >
> > > But I think these are exactly the changes I comitted a an hour ago,
> > right?
> > > At least in general I replaced all the references to names with
> > > versions to the changed ones.
> > >
> > >
> > > Chris
> > >
> > >
> > >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Maria Jose Esteve <mj...@iest.com>
> > > Gesendet: Freitag, 19. Februar 2021 10:01
> > > An: dev@royale.apache.org
> > > Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > Hi,
> > > Mi distribución hace referencia en el fichero
> > > "./frameworks/royale-config.xml" a las librerías:
> > >
> > > <js-external-library-path>
> > >
> > > <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.
> > > sw
> > > c</path-element>
> > >
> > >
> > <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.s
> > wc</path-element>
> > > </js-external-library-path>
> > >
> > > Las correctas son:
> > >
> > > <js-external-library-path>
> > >
> <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> > >
> <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
> > > </js-external-library-path>
> > >
> > > Hiedra
> > >
> > > -----Mensaje original-----
> > > De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> > > 19 de febrero de 2021 9:39
> > > Para: dev@royale.apache.org
> > > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > Ok,
> > >
> > > so the config xml files in the distribution were still pointing to
> > > the old names. I updated them all to now refer to the names.
> > > I tried things in Carlos' demo project, and I'm no-longer getting
> > > the errors, however compilation seems to take for ever.
> > >
> > > Please try out the changes and tell me if there are any problems
> > > with
> > them.
> > >
> > > Chris
> > >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Christofer Dutz <ch...@c-ware.de>
> > > Gesendet: Donnerstag, 18. Februar 2021 23:17
> > > An: dev@royale.apache.org
> > > Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > Hi Carlos,
> > >
> > > I'll look into this tomorrow.
> > >
> > > Chris
> > >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Carlos Rovira <ca...@apache.org>
> > > Gesendet: Donnerstag, 18. Februar 2021 17:49
> > > An: Apache Royale Development <de...@royale.apache.org>
> > > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > Hi, I think I talked very quickly, sorry, there seems to be a problem.
> > >
> > > @Christofer Dutz <ch...@c-ware.de> you can download this
> > > project:
> > >
> > >
> > > https://github.com/apache/royale-asjs/files/6004363/ToggleButtonBarI
> > > ss
> > > ue.zip
> > >
> > > Then using VSCode with AS3&MXML and adding the Maven distribution.
> > > Then hit CTRL+ENTER and you will get the following fail. Using ANT
> > > distribution is working fine.
> > > Can you take a look?
> > >
> > > Royale Compiler Shell
> > > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> > > --source-map=true
> > > --html-template=src/html/jewel-example-index-template.html
> > >
> > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/
> > > sr
> > > c/main/resources/defaults.css
> > > --source-path+=src
> > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> > > -js-dynamic-access-unknown-members=true -- src/App.mxml
> > > fcsh: Assigned 1 as the compile target id The project 'App' has been
> > > successfully compiled and optimized.
> > > Compile status: 0
> > > Elapsed time: 14.211105399 seconds
> > > Feb 18, 2021 5:43:40 PM
> > > com.google.javascript.jscomp.LoggerErrorManager
> > > printSummary
> > > INFO: 0 error(s), 0 warning(s), 96.5% typed
> > > (fcsh) quit
> > > Compiler shell exited with code: 0
> > > Royale Compiler Shell
> > > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> > > --source-map=true
> > > --html-template=src/html/jewel-example-index-template.html
> > >
> > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/
> > > sr
> > > c/main/resources/defaults.css
> > > --source-path+=src
> > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> > > -js-dynamic-access-unknown-members=true -- src/App.mxml
> > > fcsh: Assigned 1 as the compile target id Compile status: 5 Elapsed
> time:
> > > 0.618407478 seconds
> > >
> > >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > > col: 0 Error: unable to open
> > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
> > >
> > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/r
> > > oy
> > > ale-config.xml
> > > (line: 81)
> > >
> > > </js-external-library-path>
> > >
> > >
> > >
> > >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > > col: 0 Error: unable to open
> > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
> > >
> > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/r
> > > oy
> > > ale-config.xml
> > > (line: 81)
> > >
> > > </js-external-library-path>
> > > (fcsh)
> > > Quick Compile failed. Errors in compiler output.
> > >
> > > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
> > > (<ca...@apache.org>)
> > > escribió:
> > >
> > > > Hi,
> > > >
> > > > I rebuilt all from scratch just now and finally the distribution
> > > > too and tried in VSCode and all seems to work fine for me.
> > > >
> > > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> > > > christofer.dutz@c-ware.de>) escribió:
> > > >
> > > >> Hi Piotr,
> > > >>
> > > >> that class is located in lib\external\flex-tool-api.jar At least
> > > >> in my distribution it's there and it contains the class.
> > > >>
> > > >> How are you calling the build that's failing?
> > > >>
> > > >> Chris
> > > >>
> > > >> -----Ursprüngliche Nachricht-----
> > > >> Von: Piotr Zarzycki <pi...@gmail.com>
> > > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> > > >> An: Apache Royale Development <de...@royale.apache.org>
> > > >> Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > >> distribution
> > > >>
> > > >> Chris,
> > > >>
> > > >> I just checked and I'm not able build project anymore using
> > > distribution:
> > > >>
> > > >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
> > > >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m
> > > >> -Xmx3000m
> > > >> : Error: Could not find or load main class
> > > >> org.apache.royale.compiler.clients.MXMLJSC
> > > >> : Caused by: java.lang.NoClassDefFoundError:
> > > >> org/apache/flex/tools/FlexTool
> > > >>
> > > >> I'm done for today, so I will answer anything tomorrow.
> > > >>
> > > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
> > > >> <ch...@c-ware.de>
> > > >> napisał(a):
> > > >>
> > > >> > Ok ...
> > > >> >
> > > >> > so I just pushed another change. Now the distribution should
> > > >> > also contain an empty spark.css, just like the Ant one.
> > > >> >
> > > >> > Chris
> > > >> >
> > > >> >
> > > >> > -----Ursprüngliche Nachricht-----
> > > >> > Von: Christofer Dutz <ch...@c-ware.de>
> > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> > > >> > An: dev@royale.apache.org
> > > >> > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > > >> > distribution
> > > >> >
> > > >> > Ok,
> > > >> >
> > > >> > so that should now be fixed. Leaves the "spark.css"
> > > >> > Having had a look, it seems as if the Ant build creates an
> > > >> > empty
> > > >> spark.css.
> > > >> >
> > > >> > Is this all we need? If yes, then I'll have that in ther in no
> time.
> > > >> >
> > > >> > Chris
> > > >> >
> > > >> > -----Ursprüngliche Nachricht-----
> > > >> > Von: Piotr Zarzycki <pi...@gmail.com>
> > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> > > >> > An: Apache Royale Development <de...@royale.apache.org>
> > > >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > >> > distribution
> > > >> >
> > > >> > *(I assume that's in the "frameworks/js/libs" directory? *
> > > >> >
> > > >> > Yes this is the directory.
> > > >> >
> > > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> > > >> > <ch...@c-ware.de>
> > > >> > napisał(a):
> > > >> >
> > > >> > > Hi Piotr,
> > > >> > >
> > > >> > > Ok ... so Ant seems to be adding a "JS" to the end of every
> > > >> > > name (I assume that's in the "frameworks/js/libs" directory?
> > > >> > >
> > > >> > > Also I'll try to find out where the "spark.css" should come
> > > >> > > from
> > ...
> > > >> > > and where it should go to.
> > > >> > >
> > > >> > > Chris
> > > >> > >
> > > >> > >
> > > >> > > -----Ursprüngliche Nachricht-----
> > > >> > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> > > >> > > An: Apache Royale Development <de...@royale.apache.org>
> > > >> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > >> > > distribution
> > > >> > >
> > > >> > > Chris,
> > > >> > >
> > > >> > > Looks better but here is the comparision what I have in Ant
> > > >> > > distribution vs Maven distribution in case of names. On the
> > > >> > > left Ant distribution, on the right Maven. It is folder:
> > > >> > > frameworks\js\libs\ [1]
> > > >> > >
> > > >> > > [1] https://ibb.co/W2DzcDb
> > > >> > >
> > > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> > > >> > > <ch...@c-ware.de>
> > > >> > > napisał(a):
> > > >> > >
> > > >> > > > And done ...
> > > >> > > >
> > > >> > > > Now all elements in the distribution only consist of their
> > > >> > > > name and file-ending ... all versions and classifiers have
> > > >> > > > been
> > > removed.
> > > >> > > > Please provide me with feedback on if this solves the issues.
> > > >> > > >
> > > >> > > > Chris
> > > >> > > >
> > > >> > > >
> > > >> > > > -----Ursprüngliche Nachricht-----
> > > >> > > > Von: Christofer Dutz <ch...@c-ware.de>
> > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> > > >> > > > An: dev@royale.apache.org
> > > >> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > > >> > > > distribution
> > > >> > > >
> > > >> > > > I'll probably have a fix for that in a few minuntes ...
> > > >> > > >
> > > >> > > >
> > > >> > > > Chris
> > > >> > > >
> > > >> > > >
> > > >> > > > -----Ursprüngliche Nachricht-----
> > > >> > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> > > >> > > > An: Apache Royale Development <de...@royale.apache.org>
> > > >> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > >> > > > distribution
> > > >> > > >
> > > >> > > > Chris,
> > > >> > > >
> > > >> > > > No it's not about not picking up by IDE at all. Moonshine
> > > >> > > > and VSCode are able to build projects using Maven
> > > >> > > > distribution package! It is about project which are mixed
> > > >> > > > for example when user wanted to use Jewel module +
> > > >> > > > RemoteObject class from MXRoyale module. In that case user
> > > >> > > > need to point explicilty as a compiler options in IDE that
> > > >> > > > he wanted to have SWC included and need to exclude css from
> > > >> > > > that swc to
> > > >> > > avoid problems.
> > > >> > > >
> > > >> > > > It is happen like that:
> > > >> > > >
> > > >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > >> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> > > >> > > > cs
> > > >> > > > s
> > > >> > > >
> > > >> > > > If I would like to use maven distribution user need to know
> > > >> > > > version for that compiler options. It is even more tricky
> > > >> > > > when your swc is called
> > > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> > > >> > > >
> > > >> > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.
> > > >> > > > cs
> > > >> > > > s
> > > >> > > >
> > > >> > > > Thanks,
> > > >> > > > Piotr
> > > >> > > >
> > > >> > > >
> > > >> > > >
> > > >> > > >
> > > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> > > >> > > > <ch...@c-ware.de>
> > > >> > > > napisał(a):
> > > >> > > >
> > > >> > > > > Hi Piotr,
> > > >> > > > >
> > > >> > > > > And is really the version-suffix causing it to not be
> > > >> > > > > picked up by the IDEs?
> > > >> > > > >
> > > >> > > > > Chris
> > > >> > > > >
> > > >> > > > > -----Ursprüngliche Nachricht-----
> > > >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> > > >> > > > > An: dev@royale.apache.org
> > > >> > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > >> > > > > distribution
> > > >> > > > >
> > > >> > > > > Hi Chris,
> > > >> > > > >
> > > >> > > > > This is the only thing which seems to be a constant
> > > >> > > > > problem
> > > here.
> > > >> > > > > I personally and some users will be much more happy
> > > >> > > > > having that
> > > >> > change.
> > > >> > > > >
> > > >> > > > > Thanks,
> > > >> > > > > Piotr
> > > >> > > > >
> > > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> > > >> > > > > <ch...@c-ware.de>
> > > >> > > > > wrote:
> > > >> > > > >
> > > >> > > > > > Hi Piotr,
> > > >> > > > > >
> > > >> > > > > > I'd be happy to help with that.
> > > >> > > > > >
> > > >> > > > > > I did simply ask for a list of things that need to be
> > > >> > > > > > changed in order to get things working, but never got
> > > >> > > > > > said list, so I never knew what I could do to make the
> > > >> > > > > > Maven distribution match up to the
> > > >> > > > Ant built one.
> > > >> > > > > >
> > > >> > > > > > Chris
> > > >> > > > > >
> > > >> > > > > >
> > > >> > > > > > -----Ursprüngliche Nachricht-----
> > > >> > > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> > > >> > > > > > An: Apache Royale Development <de...@royale.apache.org>
> > > >> > > > > > Betreff: Align Maven IDE distribution with Ant IDE
> > > >> > > > > > distribution
> > > >> > > > > >
> > > >> > > > > > Hi Guys,
> > > >> > > > > >
> > > >> > > > > > It's been couple of times when user complains that he
> > > >> > > > > > have problems with using Maven distribution vs Ant
> > > >> > > > > > distribution in IDE in a mixed project Jewel + MX/Spark
> etc.
> > > >> > > > > >
> > > >> > > > > > Can we have that resolve once for all and adjust Maven
> > > >> > > > > > distribution folder to produce proper names of swcs ?
> > > >> > > > > >
> > > >> > > > > > Currently when I build Maven IDE distribution I have:
> > > >> > > > > >
> > > >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> > > >> > > > > >
> > > >> > > > > > When I build Ant IDE distribution I have:
> > > >> > > > > >
> > > >> > > > > > MXRoyale-js.swc
> > > >> > > > > >
> > > >> > > > > > Thanks,
> > > >> > > > > > --
> > > >> > > > > >
> > > >> > > > > > Piotr Zarzycki
> > > >> > > > > >
> > > >> > > > > --
> > > >> > > > >
> > > >> > > > > Piotr Zarzycki
> > > >> > > > >
> > > >> > > >
> > > >> > > >
> > > >> > > > --
> > > >> > > >
> > > >> > > > Piotr Zarzycki
> > > >> > > >
> > > >> > >
> > > >> > >
> > > >> > > --
> > > >> > >
> > > >> > > Piotr Zarzycki
> > > >> > >
> > > >> >
> > > >> >
> > > >> > --
> > > >> >
> > > >> > Piotr Zarzycki
> > > >> >
> > > >>
> > > >>
> > > >> --
> > > >>
> > > >> Piotr Zarzycki
> > > >>
> > > >
> > > >
> > > > --
> > > > Carlos Rovira
> > > > Apache Member & Apache Royale PMC
> > > > *Apache Software Foundation*
> > > > http://about.me/carlosrovira
> > > >
> > > >
> > >
> > > --
> > > Carlos Rovira
> > > Apache Member & Apache Royale PMC
> > > *Apache Software Foundation*
> > > http://about.me/carlosrovira
> > >
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
>
>
> --
>
> Piotr Zarzycki
>
--
Piotr Zarzycki
AW: Align Maven IDE distribution with Ant IDE distribution
Posted by Christofer Dutz <ch...@c-ware.de>.
Does this creat the directory?
Cause I think you have to set an Environment Variable:
set distributionTargetFolder=d:\Work\royale_ide\distribution
mvn clean install
Chris
-----Ursprüngliche Nachricht-----
Von: Piotr Zarzycki <pi...@gmail.com>
Gesendet: Freitag, 19. Februar 2021 14:41
An: Apache Royale Development <de...@royale.apache.org>
Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
I have executed something like that cause I didn't know that it will use default compiler 0.9.9-SNAPSHOT
mvn clean install -Droyale.compiler.version=0.9.9-SNAPSHOT
-DdistributionTargetFolder=d:\Work\royale_ide\distribution
pt., 19 lut 2021 o 14:26 Christofer Dutz <ch...@c-ware.de>
napisał(a):
> Hi all,
>
> so I just pushed another change to the distribution that should fix
> the classpath problem.
>
> Piotr ... could you please try again? And if you send me the command
> you always axecute, I could test it on my side.
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Christofer Dutz <ch...@c-ware.de>
> Gesendet: Freitag, 19. Februar 2021 14:12
> An: dev@royale.apache.org
> Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
>
> Hi Hiedra,
>
> well I changed the distribution to make the names like in the ANT
> distribution yesterday.
> But you are passing in an argument telling the compiler to use the old
> format and now it should be the new ...
>
> Try:
> -compiler.exclude-defaults-css-files = MXRoyaleJS.swc: defaults.css;
> For -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> defaults.css;
>
> Instead of your variant.
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Maria Jose Esteve <mj...@iest.com>
> Gesendet: Freitag, 19. Februar 2021 14:08
> An: dev@royale.apache.org
> Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
>
> Yes, until recently I also compiled only with Maven. Due to the
> problem with the spark.css I started to do the double compilation of MAVEN and ANT.
>
> It's funny, now, the swc's are not generated with
> "xxxx-0.9.8-SNAPSHOT-js.swc" in the distribution BUT if in the pom of
> my project I change in additionalCompilerOptions:
> -compiler.exclude-defaults-css-files = MXRoyale - $
> {royale.framework.version} -js.swc: defaults.css; For
> -compiler.exclude-defaults-css-files = MXRoyaleJS.swc: defaults.css;
> My application starts to do nonsense (for example the change of
> selectedContent in my ApplicationMainContent does not display)
>
> Chris, thank you.
> Hiedra
>
> -----Mensaje original-----
> De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> 19 de febrero de 2021 13:09
> Para: dev@royale.apache.org
> Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>
> Hi Hiedra,
>
> I have to admit that I've never used VSCode. Every time I do any
> development I usually use one of the JetBrains IDEs.
> Royale Stuff I do in IntelliJ ... with my "Flexmojos Hack" it can be
> used quite well. And I always compile with Maven.
>
> But thanks for the explanation on why the other path is set differently.
>
> I guess we'll have to wait till some others can tell me what needs to
> be changed.
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Maria Jose Esteve <mj...@iest.com>
> Gesendet: Freitag, 19. Februar 2021 12:48
> An: dev@royale.apache.org
> Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
>
> Hello Chris,
> so that I can debug my changes in the SDK I need to set the path of
> the "as3mxml.sdk.editor" to the asjs directory of my fork, for this
> reason the path of the " as3mxml.sdk.framework" points to the
> directory of the maven distribution and the "as3mxml.sdk.editor" to code.
>
> ">> I'm not getting any errors from VSCode. But well ... if I hit
> SHIFT+Enter it starts doing something where if failed prior to my
> >> changes this morning and is no longer complaining, but it's also
> >> not
> doing much (I can't see it create a "bin" directory)"
>
> I don't quite understand this ... possibly because of my lack of knowledge.
>
> I have not tried Carlos's project but this afternoon I will be able to
> do it and I will be able to give more details.
>
> Thx.
> Hiedra.
>
> -----Mensaje original-----
> De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> 19 de febrero de 2021 11:51
> Para: dev@royale.apache.org
> Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>
> Hi Heidra,
>
> I just updated Carlos' example to have the same type of setting
> (C:\\Temp\\RoyaleSDK is where I have my Maven build generate the SDK):
>
> setings.js:
> {
> "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> }
>
> workspace-code-workspace
> {
> "folders": [
> {
> "path": ".."
> }
> ],
> "settings": {
> "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> }
> }
>
> I'm not getting any errors from VSCode. But well ... if I hit
> SHIFT+Enter it starts doing something where if failed prior to my
> changes this morning and is no longer complaining, but it's also not
> doing much (I can't see it create a "bin" directory)
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Maria Jose Esteve <mj...@iest.com>
> Gesendet: Freitag, 19. Februar 2021 10:53
> An: dev@royale.apache.org
> Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
>
> If I don't compile with ANT, the mxml extension in vsCode IDE, it
> doesn't recognize the valid asjs directory for "as3mxml.sdk.editor":
> ...
> "settings": {
> "as3mxml.sdk.framework":
> "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
> "as3mxml.sdk.editor":
> "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs" <--------
> [download folder repo royale-asjs]
> }
> }
>
> The error is:
> " as3mxml.sdk.editor in settings does not point to a valid SDK.
> Requires..."
>
> Thx.
> Hiedra.
>
> -----Mensaje original-----
> De: Piotr Zarzycki <pi...@gmail.com> Enviado el: viernes, 19
> de febrero de 2021 10:44
> Para: Apache Royale Development <de...@royale.apache.org>
> Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
>
> Hi Chris,
>
> I just tried your changes and I have same issue. I need to understand
> what has change enough significantly that it causes compilation fail
> in such way. It doesn't happen with SDK prepared by ANT.
>
> Thanks,
> Piotr
>
> pt., 19 lut 2021 o 10:33 Maria Jose Esteve <mj...@iest.com> napisał(a):
>
> > @Chris you're right, sorry, I didn't download your last commit.
> > I'm sorry.
> > Hiedra.
> >
> > -----Mensaje original-----
> > De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> > 19 de febrero de 2021 10:17
> > Para: dev@royale.apache.org
> > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > I'll try to guess what you wanted to say here ...
> >
> > But I think these are exactly the changes I comitted a an hour ago,
> right?
> > At least in general I replaced all the references to names with
> > versions to the changed ones.
> >
> >
> > Chris
> >
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Maria Jose Esteve <mj...@iest.com>
> > Gesendet: Freitag, 19. Februar 2021 10:01
> > An: dev@royale.apache.org
> > Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi,
> > Mi distribución hace referencia en el fichero
> > "./frameworks/royale-config.xml" a las librerías:
> >
> > <js-external-library-path>
> >
> > <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.
> > sw
> > c</path-element>
> >
> >
> <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.s
> wc</path-element>
> > </js-external-library-path>
> >
> > Las correctas son:
> >
> > <js-external-library-path>
> > <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> > <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
> > </js-external-library-path>
> >
> > Hiedra
> >
> > -----Mensaje original-----
> > De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> > 19 de febrero de 2021 9:39
> > Para: dev@royale.apache.org
> > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > Ok,
> >
> > so the config xml files in the distribution were still pointing to
> > the old names. I updated them all to now refer to the names.
> > I tried things in Carlos' demo project, and I'm no-longer getting
> > the errors, however compilation seems to take for ever.
> >
> > Please try out the changes and tell me if there are any problems
> > with
> them.
> >
> > Chris
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Christofer Dutz <ch...@c-ware.de>
> > Gesendet: Donnerstag, 18. Februar 2021 23:17
> > An: dev@royale.apache.org
> > Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi Carlos,
> >
> > I'll look into this tomorrow.
> >
> > Chris
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Carlos Rovira <ca...@apache.org>
> > Gesendet: Donnerstag, 18. Februar 2021 17:49
> > An: Apache Royale Development <de...@royale.apache.org>
> > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi, I think I talked very quickly, sorry, there seems to be a problem.
> >
> > @Christofer Dutz <ch...@c-ware.de> you can download this
> > project:
> >
> >
> > https://github.com/apache/royale-asjs/files/6004363/ToggleButtonBarI
> > ss
> > ue.zip
> >
> > Then using VSCode with AS3&MXML and adding the Maven distribution.
> > Then hit CTRL+ENTER and you will get the following fail. Using ANT
> > distribution is working fine.
> > Can you take a look?
> >
> > Royale Compiler Shell
> > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> > --source-map=true
> > --html-template=src/html/jewel-example-index-template.html
> >
> > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/
> > sr
> > c/main/resources/defaults.css
> > --source-path+=src
> > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> > -js-dynamic-access-unknown-members=true -- src/App.mxml
> > fcsh: Assigned 1 as the compile target id The project 'App' has been
> > successfully compiled and optimized.
> > Compile status: 0
> > Elapsed time: 14.211105399 seconds
> > Feb 18, 2021 5:43:40 PM
> > com.google.javascript.jscomp.LoggerErrorManager
> > printSummary
> > INFO: 0 error(s), 0 warning(s), 96.5% typed
> > (fcsh) quit
> > Compiler shell exited with code: 0
> > Royale Compiler Shell
> > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> > --source-map=true
> > --html-template=src/html/jewel-example-index-template.html
> >
> > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/
> > sr
> > c/main/resources/defaults.css
> > --source-path+=src
> > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> > -js-dynamic-access-unknown-members=true -- src/App.mxml
> > fcsh: Assigned 1 as the compile target id Compile status: 5 Elapsed time:
> > 0.618407478 seconds
> >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > col: 0 Error: unable to open
> >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
> >
> > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/r
> > oy
> > ale-config.xml
> > (line: 81)
> >
> > </js-external-library-path>
> >
> >
> >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > col: 0 Error: unable to open
> >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
> >
> > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/r
> > oy
> > ale-config.xml
> > (line: 81)
> >
> > </js-external-library-path>
> > (fcsh)
> > Quick Compile failed. Errors in compiler output.
> >
> > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
> > (<ca...@apache.org>)
> > escribió:
> >
> > > Hi,
> > >
> > > I rebuilt all from scratch just now and finally the distribution
> > > too and tried in VSCode and all seems to work fine for me.
> > >
> > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> > > christofer.dutz@c-ware.de>) escribió:
> > >
> > >> Hi Piotr,
> > >>
> > >> that class is located in lib\external\flex-tool-api.jar At least
> > >> in my distribution it's there and it contains the class.
> > >>
> > >> How are you calling the build that's failing?
> > >>
> > >> Chris
> > >>
> > >> -----Ursprüngliche Nachricht-----
> > >> Von: Piotr Zarzycki <pi...@gmail.com>
> > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> > >> An: Apache Royale Development <de...@royale.apache.org>
> > >> Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> distribution
> > >>
> > >> Chris,
> > >>
> > >> I just checked and I'm not able build project anymore using
> > distribution:
> > >>
> > >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
> > >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m
> > >> -Xmx3000m
> > >> : Error: Could not find or load main class
> > >> org.apache.royale.compiler.clients.MXMLJSC
> > >> : Caused by: java.lang.NoClassDefFoundError:
> > >> org/apache/flex/tools/FlexTool
> > >>
> > >> I'm done for today, so I will answer anything tomorrow.
> > >>
> > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
> > >> <ch...@c-ware.de>
> > >> napisał(a):
> > >>
> > >> > Ok ...
> > >> >
> > >> > so I just pushed another change. Now the distribution should
> > >> > also contain an empty spark.css, just like the Ant one.
> > >> >
> > >> > Chris
> > >> >
> > >> >
> > >> > -----Ursprüngliche Nachricht-----
> > >> > Von: Christofer Dutz <ch...@c-ware.de>
> > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> > >> > An: dev@royale.apache.org
> > >> > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > >> > distribution
> > >> >
> > >> > Ok,
> > >> >
> > >> > so that should now be fixed. Leaves the "spark.css"
> > >> > Having had a look, it seems as if the Ant build creates an
> > >> > empty
> > >> spark.css.
> > >> >
> > >> > Is this all we need? If yes, then I'll have that in ther in no time.
> > >> >
> > >> > Chris
> > >> >
> > >> > -----Ursprüngliche Nachricht-----
> > >> > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> > >> > An: Apache Royale Development <de...@royale.apache.org>
> > >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > distribution
> > >> >
> > >> > *(I assume that's in the "frameworks/js/libs" directory? *
> > >> >
> > >> > Yes this is the directory.
> > >> >
> > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> > >> > <ch...@c-ware.de>
> > >> > napisał(a):
> > >> >
> > >> > > Hi Piotr,
> > >> > >
> > >> > > Ok ... so Ant seems to be adding a "JS" to the end of every
> > >> > > name (I assume that's in the "frameworks/js/libs" directory?
> > >> > >
> > >> > > Also I'll try to find out where the "spark.css" should come
> > >> > > from
> ...
> > >> > > and where it should go to.
> > >> > >
> > >> > > Chris
> > >> > >
> > >> > >
> > >> > > -----Ursprüngliche Nachricht-----
> > >> > > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> > >> > > An: Apache Royale Development <de...@royale.apache.org>
> > >> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > > distribution
> > >> > >
> > >> > > Chris,
> > >> > >
> > >> > > Looks better but here is the comparision what I have in Ant
> > >> > > distribution vs Maven distribution in case of names. On the
> > >> > > left Ant distribution, on the right Maven. It is folder:
> > >> > > frameworks\js\libs\ [1]
> > >> > >
> > >> > > [1] https://ibb.co/W2DzcDb
> > >> > >
> > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> > >> > > <ch...@c-ware.de>
> > >> > > napisał(a):
> > >> > >
> > >> > > > And done ...
> > >> > > >
> > >> > > > Now all elements in the distribution only consist of their
> > >> > > > name and file-ending ... all versions and classifiers have
> > >> > > > been
> > removed.
> > >> > > > Please provide me with feedback on if this solves the issues.
> > >> > > >
> > >> > > > Chris
> > >> > > >
> > >> > > >
> > >> > > > -----Ursprüngliche Nachricht-----
> > >> > > > Von: Christofer Dutz <ch...@c-ware.de>
> > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> > >> > > > An: dev@royale.apache.org
> > >> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > >> > > > distribution
> > >> > > >
> > >> > > > I'll probably have a fix for that in a few minuntes ...
> > >> > > >
> > >> > > >
> > >> > > > Chris
> > >> > > >
> > >> > > >
> > >> > > > -----Ursprüngliche Nachricht-----
> > >> > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> > >> > > > An: Apache Royale Development <de...@royale.apache.org>
> > >> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > > > distribution
> > >> > > >
> > >> > > > Chris,
> > >> > > >
> > >> > > > No it's not about not picking up by IDE at all. Moonshine
> > >> > > > and VSCode are able to build projects using Maven
> > >> > > > distribution package! It is about project which are mixed
> > >> > > > for example when user wanted to use Jewel module +
> > >> > > > RemoteObject class from MXRoyale module. In that case user
> > >> > > > need to point explicilty as a compiler options in IDE that
> > >> > > > he wanted to have SWC included and need to exclude css from
> > >> > > > that swc to
> > >> > > avoid problems.
> > >> > > >
> > >> > > > It is happen like that:
> > >> > > >
> > >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > >> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> > >> > > > cs
> > >> > > > s
> > >> > > >
> > >> > > > If I would like to use maven distribution user need to know
> > >> > > > version for that compiler options. It is even more tricky
> > >> > > > when your swc is called
> > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> > >> > > >
> > >> > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.
> > >> > > > cs
> > >> > > > s
> > >> > > >
> > >> > > > Thanks,
> > >> > > > Piotr
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> > >> > > > <ch...@c-ware.de>
> > >> > > > napisał(a):
> > >> > > >
> > >> > > > > Hi Piotr,
> > >> > > > >
> > >> > > > > And is really the version-suffix causing it to not be
> > >> > > > > picked up by the IDEs?
> > >> > > > >
> > >> > > > > Chris
> > >> > > > >
> > >> > > > > -----Ursprüngliche Nachricht-----
> > >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> > >> > > > > An: dev@royale.apache.org
> > >> > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > > > > distribution
> > >> > > > >
> > >> > > > > Hi Chris,
> > >> > > > >
> > >> > > > > This is the only thing which seems to be a constant
> > >> > > > > problem
> > here.
> > >> > > > > I personally and some users will be much more happy
> > >> > > > > having that
> > >> > change.
> > >> > > > >
> > >> > > > > Thanks,
> > >> > > > > Piotr
> > >> > > > >
> > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> > >> > > > > <ch...@c-ware.de>
> > >> > > > > wrote:
> > >> > > > >
> > >> > > > > > Hi Piotr,
> > >> > > > > >
> > >> > > > > > I'd be happy to help with that.
> > >> > > > > >
> > >> > > > > > I did simply ask for a list of things that need to be
> > >> > > > > > changed in order to get things working, but never got
> > >> > > > > > said list, so I never knew what I could do to make the
> > >> > > > > > Maven distribution match up to the
> > >> > > > Ant built one.
> > >> > > > > >
> > >> > > > > > Chris
> > >> > > > > >
> > >> > > > > >
> > >> > > > > > -----Ursprüngliche Nachricht-----
> > >> > > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> > >> > > > > > An: Apache Royale Development <de...@royale.apache.org>
> > >> > > > > > Betreff: Align Maven IDE distribution with Ant IDE
> > >> > > > > > distribution
> > >> > > > > >
> > >> > > > > > Hi Guys,
> > >> > > > > >
> > >> > > > > > It's been couple of times when user complains that he
> > >> > > > > > have problems with using Maven distribution vs Ant
> > >> > > > > > distribution in IDE in a mixed project Jewel + MX/Spark etc.
> > >> > > > > >
> > >> > > > > > Can we have that resolve once for all and adjust Maven
> > >> > > > > > distribution folder to produce proper names of swcs ?
> > >> > > > > >
> > >> > > > > > Currently when I build Maven IDE distribution I have:
> > >> > > > > >
> > >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> > >> > > > > >
> > >> > > > > > When I build Ant IDE distribution I have:
> > >> > > > > >
> > >> > > > > > MXRoyale-js.swc
> > >> > > > > >
> > >> > > > > > Thanks,
> > >> > > > > > --
> > >> > > > > >
> > >> > > > > > Piotr Zarzycki
> > >> > > > > >
> > >> > > > > --
> > >> > > > >
> > >> > > > > Piotr Zarzycki
> > >> > > > >
> > >> > > >
> > >> > > >
> > >> > > > --
> > >> > > >
> > >> > > > Piotr Zarzycki
> > >> > > >
> > >> > >
> > >> > >
> > >> > > --
> > >> > >
> > >> > > Piotr Zarzycki
> > >> > >
> > >> >
> > >> >
> > >> > --
> > >> >
> > >> > Piotr Zarzycki
> > >> >
> > >>
> > >>
> > >> --
> > >>
> > >> Piotr Zarzycki
> > >>
> > >
> > >
> > > --
> > > Carlos Rovira
> > > Apache Member & Apache Royale PMC
> > > *Apache Software Foundation*
> > > http://about.me/carlosrovira
> > >
> > >
> >
> > --
> > Carlos Rovira
> > Apache Member & Apache Royale PMC
> > *Apache Software Foundation*
> > http://about.me/carlosrovira
> >
>
>
> --
>
> Piotr Zarzycki
>
--
Piotr Zarzycki
Re: Align Maven IDE distribution with Ant IDE distribution
Posted by Piotr Zarzycki <pi...@gmail.com>.
I have executed something like that cause I didn't know that it will use
default compiler 0.9.9-SNAPSHOT
mvn clean install -Droyale.compiler.version=0.9.9-SNAPSHOT
-DdistributionTargetFolder=d:\Work\royale_ide\distribution
pt., 19 lut 2021 o 14:26 Christofer Dutz <ch...@c-ware.de>
napisał(a):
> Hi all,
>
> so I just pushed another change to the distribution that should fix the
> classpath problem.
>
> Piotr ... could you please try again? And if you send me the command you
> always axecute, I could test it on my side.
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Christofer Dutz <ch...@c-ware.de>
> Gesendet: Freitag, 19. Februar 2021 14:12
> An: dev@royale.apache.org
> Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
>
> Hi Hiedra,
>
> well I changed the distribution to make the names like in the ANT
> distribution yesterday.
> But you are passing in an argument telling the compiler to use the old
> format and now it should be the new ...
>
> Try:
> -compiler.exclude-defaults-css-files = MXRoyaleJS.swc: defaults.css; For
> -compiler.exclude-defaults-css-files = MXRoyaleJS.swc: defaults.css;
>
> Instead of your variant.
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Maria Jose Esteve <mj...@iest.com>
> Gesendet: Freitag, 19. Februar 2021 14:08
> An: dev@royale.apache.org
> Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
>
> Yes, until recently I also compiled only with Maven. Due to the problem
> with the spark.css I started to do the double compilation of MAVEN and ANT.
>
> It's funny, now, the swc's are not generated with
> "xxxx-0.9.8-SNAPSHOT-js.swc" in the distribution BUT if in the pom of my
> project I change in additionalCompilerOptions:
> -compiler.exclude-defaults-css-files = MXRoyale - $
> {royale.framework.version} -js.swc: defaults.css; For
> -compiler.exclude-defaults-css-files = MXRoyaleJS.swc: defaults.css; My
> application starts to do nonsense (for example the change of
> selectedContent in my ApplicationMainContent does not display)
>
> Chris, thank you.
> Hiedra
>
> -----Mensaje original-----
> De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes, 19
> de febrero de 2021 13:09
> Para: dev@royale.apache.org
> Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>
> Hi Hiedra,
>
> I have to admit that I've never used VSCode. Every time I do any
> development I usually use one of the JetBrains IDEs.
> Royale Stuff I do in IntelliJ ... with my "Flexmojos Hack" it can be used
> quite well. And I always compile with Maven.
>
> But thanks for the explanation on why the other path is set differently.
>
> I guess we'll have to wait till some others can tell me what needs to be
> changed.
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Maria Jose Esteve <mj...@iest.com>
> Gesendet: Freitag, 19. Februar 2021 12:48
> An: dev@royale.apache.org
> Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
>
> Hello Chris,
> so that I can debug my changes in the SDK I need to set the path of the
> "as3mxml.sdk.editor" to the asjs directory of my fork, for this reason the
> path of the " as3mxml.sdk.framework" points to the directory of the maven
> distribution and the "as3mxml.sdk.editor" to code.
>
> ">> I'm not getting any errors from VSCode. But well ... if I hit
> SHIFT+Enter it starts doing something where if failed prior to my
> >> changes this morning and is no longer complaining, but it's also not
> doing much (I can't see it create a "bin" directory)"
>
> I don't quite understand this ... possibly because of my lack of knowledge.
>
> I have not tried Carlos's project but this afternoon I will be able to do
> it and I will be able to give more details.
>
> Thx.
> Hiedra.
>
> -----Mensaje original-----
> De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes, 19
> de febrero de 2021 11:51
> Para: dev@royale.apache.org
> Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>
> Hi Heidra,
>
> I just updated Carlos' example to have the same type of setting
> (C:\\Temp\\RoyaleSDK is where I have my Maven build generate the SDK):
>
> setings.js:
> {
> "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> }
>
> workspace-code-workspace
> {
> "folders": [
> {
> "path": ".."
> }
> ],
> "settings": {
> "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> }
> }
>
> I'm not getting any errors from VSCode. But well ... if I hit SHIFT+Enter
> it starts doing something where if failed prior to my changes this morning
> and is no longer complaining, but it's also not doing much (I can't see it
> create a "bin" directory)
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Maria Jose Esteve <mj...@iest.com>
> Gesendet: Freitag, 19. Februar 2021 10:53
> An: dev@royale.apache.org
> Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
>
> If I don't compile with ANT, the mxml extension in vsCode IDE, it doesn't
> recognize the valid asjs directory for "as3mxml.sdk.editor":
> ...
> "settings": {
> "as3mxml.sdk.framework":
> "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
> "as3mxml.sdk.editor":
> "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs" <-------- [download
> folder repo royale-asjs]
> }
> }
>
> The error is:
> " as3mxml.sdk.editor in settings does not point to a valid SDK.
> Requires..."
>
> Thx.
> Hiedra.
>
> -----Mensaje original-----
> De: Piotr Zarzycki <pi...@gmail.com> Enviado el: viernes, 19 de
> febrero de 2021 10:44
> Para: Apache Royale Development <de...@royale.apache.org>
> Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
>
> Hi Chris,
>
> I just tried your changes and I have same issue. I need to understand what
> has change enough significantly that it causes compilation fail in such
> way. It doesn't happen with SDK prepared by ANT.
>
> Thanks,
> Piotr
>
> pt., 19 lut 2021 o 10:33 Maria Jose Esteve <mj...@iest.com> napisał(a):
>
> > @Chris you're right, sorry, I didn't download your last commit.
> > I'm sorry.
> > Hiedra.
> >
> > -----Mensaje original-----
> > De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> > 19 de febrero de 2021 10:17
> > Para: dev@royale.apache.org
> > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > I'll try to guess what you wanted to say here ...
> >
> > But I think these are exactly the changes I comitted a an hour ago,
> right?
> > At least in general I replaced all the references to names with
> > versions to the changed ones.
> >
> >
> > Chris
> >
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Maria Jose Esteve <mj...@iest.com>
> > Gesendet: Freitag, 19. Februar 2021 10:01
> > An: dev@royale.apache.org
> > Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi,
> > Mi distribución hace referencia en el fichero
> > "./frameworks/royale-config.xml" a las librerías:
> >
> > <js-external-library-path>
> >
> > <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.sw
> > c</path-element>
> >
> >
> <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc</path-element>
> > </js-external-library-path>
> >
> > Las correctas son:
> >
> > <js-external-library-path>
> > <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> > <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
> > </js-external-library-path>
> >
> > Hiedra
> >
> > -----Mensaje original-----
> > De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> > 19 de febrero de 2021 9:39
> > Para: dev@royale.apache.org
> > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > Ok,
> >
> > so the config xml files in the distribution were still pointing to the
> > old names. I updated them all to now refer to the names.
> > I tried things in Carlos' demo project, and I'm no-longer getting the
> > errors, however compilation seems to take for ever.
> >
> > Please try out the changes and tell me if there are any problems with
> them.
> >
> > Chris
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Christofer Dutz <ch...@c-ware.de>
> > Gesendet: Donnerstag, 18. Februar 2021 23:17
> > An: dev@royale.apache.org
> > Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi Carlos,
> >
> > I'll look into this tomorrow.
> >
> > Chris
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Carlos Rovira <ca...@apache.org>
> > Gesendet: Donnerstag, 18. Februar 2021 17:49
> > An: Apache Royale Development <de...@royale.apache.org>
> > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi, I think I talked very quickly, sorry, there seems to be a problem.
> >
> > @Christofer Dutz <ch...@c-ware.de> you can download this
> > project:
> >
> >
> > https://github.com/apache/royale-asjs/files/6004363/ToggleButtonBarIss
> > ue.zip
> >
> > Then using VSCode with AS3&MXML and adding the Maven distribution.
> > Then hit CTRL+ENTER and you will get the following fail. Using ANT
> > distribution is working fine.
> > Can you take a look?
> >
> > Royale Compiler Shell
> > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> > --source-map=true
> > --html-template=src/html/jewel-example-index-template.html
> >
> > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/sr
> > c/main/resources/defaults.css
> > --source-path+=src --library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> > -js-dynamic-access-unknown-members=true -- src/App.mxml
> > fcsh: Assigned 1 as the compile target id The project 'App' has been
> > successfully compiled and optimized.
> > Compile status: 0
> > Elapsed time: 14.211105399 seconds
> > Feb 18, 2021 5:43:40 PM
> > com.google.javascript.jscomp.LoggerErrorManager
> > printSummary
> > INFO: 0 error(s), 0 warning(s), 96.5% typed
> > (fcsh) quit
> > Compiler shell exited with code: 0
> > Royale Compiler Shell
> > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> > --source-map=true
> > --html-template=src/html/jewel-example-index-template.html
> >
> > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/sr
> > c/main/resources/defaults.css
> > --source-path+=src --library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> > -js-dynamic-access-unknown-members=true -- src/App.mxml
> > fcsh: Assigned 1 as the compile target id Compile status: 5 Elapsed time:
> > 0.618407478 seconds
> >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > col: 0 Error: unable to open
> >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
> >
> > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/roy
> > ale-config.xml
> > (line: 81)
> >
> > </js-external-library-path>
> >
> >
> >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > col: 0 Error: unable to open
> >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
> >
> > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/roy
> > ale-config.xml
> > (line: 81)
> >
> > </js-external-library-path>
> > (fcsh)
> > Quick Compile failed. Errors in compiler output.
> >
> > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
> > (<ca...@apache.org>)
> > escribió:
> >
> > > Hi,
> > >
> > > I rebuilt all from scratch just now and finally the distribution too
> > > and tried in VSCode and all seems to work fine for me.
> > >
> > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> > > christofer.dutz@c-ware.de>) escribió:
> > >
> > >> Hi Piotr,
> > >>
> > >> that class is located in lib\external\flex-tool-api.jar At least in
> > >> my distribution it's there and it contains the class.
> > >>
> > >> How are you calling the build that's failing?
> > >>
> > >> Chris
> > >>
> > >> -----Ursprüngliche Nachricht-----
> > >> Von: Piotr Zarzycki <pi...@gmail.com>
> > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> > >> An: Apache Royale Development <de...@royale.apache.org>
> > >> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> > >>
> > >> Chris,
> > >>
> > >> I just checked and I'm not able build project anymore using
> > distribution:
> > >>
> > >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
> > >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m
> > >> -Xmx3000m
> > >> : Error: Could not find or load main class
> > >> org.apache.royale.compiler.clients.MXMLJSC
> > >> : Caused by: java.lang.NoClassDefFoundError:
> > >> org/apache/flex/tools/FlexTool
> > >>
> > >> I'm done for today, so I will answer anything tomorrow.
> > >>
> > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
> > >> <ch...@c-ware.de>
> > >> napisał(a):
> > >>
> > >> > Ok ...
> > >> >
> > >> > so I just pushed another change. Now the distribution should also
> > >> > contain an empty spark.css, just like the Ant one.
> > >> >
> > >> > Chris
> > >> >
> > >> >
> > >> > -----Ursprüngliche Nachricht-----
> > >> > Von: Christofer Dutz <ch...@c-ware.de>
> > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> > >> > An: dev@royale.apache.org
> > >> > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > >> > distribution
> > >> >
> > >> > Ok,
> > >> >
> > >> > so that should now be fixed. Leaves the "spark.css"
> > >> > Having had a look, it seems as if the Ant build creates an empty
> > >> spark.css.
> > >> >
> > >> > Is this all we need? If yes, then I'll have that in ther in no time.
> > >> >
> > >> > Chris
> > >> >
> > >> > -----Ursprüngliche Nachricht-----
> > >> > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> > >> > An: Apache Royale Development <de...@royale.apache.org>
> > >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > distribution
> > >> >
> > >> > *(I assume that's in the "frameworks/js/libs" directory? *
> > >> >
> > >> > Yes this is the directory.
> > >> >
> > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> > >> > <ch...@c-ware.de>
> > >> > napisał(a):
> > >> >
> > >> > > Hi Piotr,
> > >> > >
> > >> > > Ok ... so Ant seems to be adding a "JS" to the end of every
> > >> > > name (I assume that's in the "frameworks/js/libs" directory?
> > >> > >
> > >> > > Also I'll try to find out where the "spark.css" should come from
> ...
> > >> > > and where it should go to.
> > >> > >
> > >> > > Chris
> > >> > >
> > >> > >
> > >> > > -----Ursprüngliche Nachricht-----
> > >> > > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> > >> > > An: Apache Royale Development <de...@royale.apache.org>
> > >> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > > distribution
> > >> > >
> > >> > > Chris,
> > >> > >
> > >> > > Looks better but here is the comparision what I have in Ant
> > >> > > distribution vs Maven distribution in case of names. On the
> > >> > > left Ant distribution, on the right Maven. It is folder:
> > >> > > frameworks\js\libs\ [1]
> > >> > >
> > >> > > [1] https://ibb.co/W2DzcDb
> > >> > >
> > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> > >> > > <ch...@c-ware.de>
> > >> > > napisał(a):
> > >> > >
> > >> > > > And done ...
> > >> > > >
> > >> > > > Now all elements in the distribution only consist of their
> > >> > > > name and file-ending ... all versions and classifiers have
> > >> > > > been
> > removed.
> > >> > > > Please provide me with feedback on if this solves the issues.
> > >> > > >
> > >> > > > Chris
> > >> > > >
> > >> > > >
> > >> > > > -----Ursprüngliche Nachricht-----
> > >> > > > Von: Christofer Dutz <ch...@c-ware.de>
> > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> > >> > > > An: dev@royale.apache.org
> > >> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > >> > > > distribution
> > >> > > >
> > >> > > > I'll probably have a fix for that in a few minuntes ...
> > >> > > >
> > >> > > >
> > >> > > > Chris
> > >> > > >
> > >> > > >
> > >> > > > -----Ursprüngliche Nachricht-----
> > >> > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> > >> > > > An: Apache Royale Development <de...@royale.apache.org>
> > >> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > > > distribution
> > >> > > >
> > >> > > > Chris,
> > >> > > >
> > >> > > > No it's not about not picking up by IDE at all. Moonshine and
> > >> > > > VSCode are able to build projects using Maven distribution
> > >> > > > package! It is about project which are mixed for example when
> > >> > > > user wanted to use Jewel module + RemoteObject class from
> > >> > > > MXRoyale module. In that case user need to point explicilty
> > >> > > > as a compiler options in IDE that he wanted to have SWC
> > >> > > > included and need to exclude css from that swc to
> > >> > > avoid problems.
> > >> > > >
> > >> > > > It is happen like that:
> > >> > > >
> > >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > >> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> > >> > > > cs
> > >> > > > s
> > >> > > >
> > >> > > > If I would like to use maven distribution user need to know
> > >> > > > version for that compiler options. It is even more tricky
> > >> > > > when your swc is called
> > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> > >> > > >
> > >> > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.cs
> > >> > > > s
> > >> > > >
> > >> > > > Thanks,
> > >> > > > Piotr
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> > >> > > > <ch...@c-ware.de>
> > >> > > > napisał(a):
> > >> > > >
> > >> > > > > Hi Piotr,
> > >> > > > >
> > >> > > > > And is really the version-suffix causing it to not be
> > >> > > > > picked up by the IDEs?
> > >> > > > >
> > >> > > > > Chris
> > >> > > > >
> > >> > > > > -----Ursprüngliche Nachricht-----
> > >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> > >> > > > > An: dev@royale.apache.org
> > >> > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > > > > distribution
> > >> > > > >
> > >> > > > > Hi Chris,
> > >> > > > >
> > >> > > > > This is the only thing which seems to be a constant problem
> > here.
> > >> > > > > I personally and some users will be much more happy having
> > >> > > > > that
> > >> > change.
> > >> > > > >
> > >> > > > > Thanks,
> > >> > > > > Piotr
> > >> > > > >
> > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> > >> > > > > <ch...@c-ware.de>
> > >> > > > > wrote:
> > >> > > > >
> > >> > > > > > Hi Piotr,
> > >> > > > > >
> > >> > > > > > I'd be happy to help with that.
> > >> > > > > >
> > >> > > > > > I did simply ask for a list of things that need to be
> > >> > > > > > changed in order to get things working, but never got
> > >> > > > > > said list, so I never knew what I could do to make the
> > >> > > > > > Maven distribution match up to the
> > >> > > > Ant built one.
> > >> > > > > >
> > >> > > > > > Chris
> > >> > > > > >
> > >> > > > > >
> > >> > > > > > -----Ursprüngliche Nachricht-----
> > >> > > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> > >> > > > > > An: Apache Royale Development <de...@royale.apache.org>
> > >> > > > > > Betreff: Align Maven IDE distribution with Ant IDE
> > >> > > > > > distribution
> > >> > > > > >
> > >> > > > > > Hi Guys,
> > >> > > > > >
> > >> > > > > > It's been couple of times when user complains that he
> > >> > > > > > have problems with using Maven distribution vs Ant
> > >> > > > > > distribution in IDE in a mixed project Jewel + MX/Spark etc.
> > >> > > > > >
> > >> > > > > > Can we have that resolve once for all and adjust Maven
> > >> > > > > > distribution folder to produce proper names of swcs ?
> > >> > > > > >
> > >> > > > > > Currently when I build Maven IDE distribution I have:
> > >> > > > > >
> > >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> > >> > > > > >
> > >> > > > > > When I build Ant IDE distribution I have:
> > >> > > > > >
> > >> > > > > > MXRoyale-js.swc
> > >> > > > > >
> > >> > > > > > Thanks,
> > >> > > > > > --
> > >> > > > > >
> > >> > > > > > Piotr Zarzycki
> > >> > > > > >
> > >> > > > > --
> > >> > > > >
> > >> > > > > Piotr Zarzycki
> > >> > > > >
> > >> > > >
> > >> > > >
> > >> > > > --
> > >> > > >
> > >> > > > Piotr Zarzycki
> > >> > > >
> > >> > >
> > >> > >
> > >> > > --
> > >> > >
> > >> > > Piotr Zarzycki
> > >> > >
> > >> >
> > >> >
> > >> > --
> > >> >
> > >> > Piotr Zarzycki
> > >> >
> > >>
> > >>
> > >> --
> > >>
> > >> Piotr Zarzycki
> > >>
> > >
> > >
> > > --
> > > Carlos Rovira
> > > Apache Member & Apache Royale PMC
> > > *Apache Software Foundation*
> > > http://about.me/carlosrovira
> > >
> > >
> >
> > --
> > Carlos Rovira
> > Apache Member & Apache Royale PMC
> > *Apache Software Foundation*
> > http://about.me/carlosrovira
> >
>
>
> --
>
> Piotr Zarzycki
>
--
Piotr Zarzycki
AW: Align Maven IDE distribution with Ant IDE distribution
Posted by Christofer Dutz <ch...@c-ware.de>.
Hi all,
so I just pushed another change to the distribution that should fix the classpath problem.
Piotr ... could you please try again? And if you send me the command you always axecute, I could test it on my side.
Chris
-----Ursprüngliche Nachricht-----
Von: Christofer Dutz <ch...@c-ware.de>
Gesendet: Freitag, 19. Februar 2021 14:12
An: dev@royale.apache.org
Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
Hi Hiedra,
well I changed the distribution to make the names like in the ANT distribution yesterday.
But you are passing in an argument telling the compiler to use the old format and now it should be the new ...
Try:
-compiler.exclude-defaults-css-files = MXRoyaleJS.swc: defaults.css; For -compiler.exclude-defaults-css-files = MXRoyaleJS.swc: defaults.css;
Instead of your variant.
Chris
-----Ursprüngliche Nachricht-----
Von: Maria Jose Esteve <mj...@iest.com>
Gesendet: Freitag, 19. Februar 2021 14:08
An: dev@royale.apache.org
Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
Yes, until recently I also compiled only with Maven. Due to the problem with the spark.css I started to do the double compilation of MAVEN and ANT.
It's funny, now, the swc's are not generated with "xxxx-0.9.8-SNAPSHOT-js.swc" in the distribution BUT if in the pom of my project I change in additionalCompilerOptions:
-compiler.exclude-defaults-css-files = MXRoyale - $ {royale.framework.version} -js.swc: defaults.css; For -compiler.exclude-defaults-css-files = MXRoyaleJS.swc: defaults.css; My application starts to do nonsense (for example the change of selectedContent in my ApplicationMainContent does not display)
Chris, thank you.
Hiedra
-----Mensaje original-----
De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes, 19 de febrero de 2021 13:09
Para: dev@royale.apache.org
Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
Hi Hiedra,
I have to admit that I've never used VSCode. Every time I do any development I usually use one of the JetBrains IDEs.
Royale Stuff I do in IntelliJ ... with my "Flexmojos Hack" it can be used quite well. And I always compile with Maven.
But thanks for the explanation on why the other path is set differently.
I guess we'll have to wait till some others can tell me what needs to be changed.
Chris
-----Ursprüngliche Nachricht-----
Von: Maria Jose Esteve <mj...@iest.com>
Gesendet: Freitag, 19. Februar 2021 12:48
An: dev@royale.apache.org
Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
Hello Chris,
so that I can debug my changes in the SDK I need to set the path of the "as3mxml.sdk.editor" to the asjs directory of my fork, for this reason the path of the " as3mxml.sdk.framework" points to the directory of the maven distribution and the "as3mxml.sdk.editor" to code.
">> I'm not getting any errors from VSCode. But well ... if I hit SHIFT+Enter it starts doing something where if failed prior to my
>> changes this morning and is no longer complaining, but it's also not doing much (I can't see it create a "bin" directory)"
I don't quite understand this ... possibly because of my lack of knowledge.
I have not tried Carlos's project but this afternoon I will be able to do it and I will be able to give more details.
Thx.
Hiedra.
-----Mensaje original-----
De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes, 19 de febrero de 2021 11:51
Para: dev@royale.apache.org
Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
Hi Heidra,
I just updated Carlos' example to have the same type of setting (C:\\Temp\\RoyaleSDK is where I have my Maven build generate the SDK):
setings.js:
{
"as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
"as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
}
workspace-code-workspace
{
"folders": [
{
"path": ".."
}
],
"settings": {
"as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
"as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
}
}
I'm not getting any errors from VSCode. But well ... if I hit SHIFT+Enter it starts doing something where if failed prior to my changes this morning and is no longer complaining, but it's also not doing much (I can't see it create a "bin" directory)
Chris
-----Ursprüngliche Nachricht-----
Von: Maria Jose Esteve <mj...@iest.com>
Gesendet: Freitag, 19. Februar 2021 10:53
An: dev@royale.apache.org
Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
If I don't compile with ANT, the mxml extension in vsCode IDE, it doesn't recognize the valid asjs directory for "as3mxml.sdk.editor":
...
"settings": {
"as3mxml.sdk.framework": "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
"as3mxml.sdk.editor": "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs" <-------- [download folder repo royale-asjs]
}
}
The error is:
" as3mxml.sdk.editor in settings does not point to a valid SDK. Requires..."
Thx.
Hiedra.
-----Mensaje original-----
De: Piotr Zarzycki <pi...@gmail.com> Enviado el: viernes, 19 de febrero de 2021 10:44
Para: Apache Royale Development <de...@royale.apache.org>
Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
Hi Chris,
I just tried your changes and I have same issue. I need to understand what has change enough significantly that it causes compilation fail in such way. It doesn't happen with SDK prepared by ANT.
Thanks,
Piotr
pt., 19 lut 2021 o 10:33 Maria Jose Esteve <mj...@iest.com> napisał(a):
> @Chris you're right, sorry, I didn't download your last commit.
> I'm sorry.
> Hiedra.
>
> -----Mensaje original-----
> De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> 19 de febrero de 2021 10:17
> Para: dev@royale.apache.org
> Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>
> I'll try to guess what you wanted to say here ...
>
> But I think these are exactly the changes I comitted a an hour ago, right?
> At least in general I replaced all the references to names with
> versions to the changed ones.
>
>
> Chris
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Maria Jose Esteve <mj...@iest.com>
> Gesendet: Freitag, 19. Februar 2021 10:01
> An: dev@royale.apache.org
> Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
>
> Hi,
> Mi distribución hace referencia en el fichero
> "./frameworks/royale-config.xml" a las librerías:
>
> <js-external-library-path>
>
> <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.sw
> c</path-element>
>
> <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc</path-element>
> </js-external-library-path>
>
> Las correctas son:
>
> <js-external-library-path>
> <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
> </js-external-library-path>
>
> Hiedra
>
> -----Mensaje original-----
> De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> 19 de febrero de 2021 9:39
> Para: dev@royale.apache.org
> Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>
> Ok,
>
> so the config xml files in the distribution were still pointing to the
> old names. I updated them all to now refer to the names.
> I tried things in Carlos' demo project, and I'm no-longer getting the
> errors, however compilation seems to take for ever.
>
> Please try out the changes and tell me if there are any problems with them.
>
> Chris
>
> -----Ursprüngliche Nachricht-----
> Von: Christofer Dutz <ch...@c-ware.de>
> Gesendet: Donnerstag, 18. Februar 2021 23:17
> An: dev@royale.apache.org
> Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
>
> Hi Carlos,
>
> I'll look into this tomorrow.
>
> Chris
>
> -----Ursprüngliche Nachricht-----
> Von: Carlos Rovira <ca...@apache.org>
> Gesendet: Donnerstag, 18. Februar 2021 17:49
> An: Apache Royale Development <de...@royale.apache.org>
> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>
> Hi, I think I talked very quickly, sorry, there seems to be a problem.
>
> @Christofer Dutz <ch...@c-ware.de> you can download this
> project:
>
>
> https://github.com/apache/royale-asjs/files/6004363/ToggleButtonBarIss
> ue.zip
>
> Then using VSCode with AS3&MXML and adding the Maven distribution.
> Then hit CTRL+ENTER and you will get the following fail. Using ANT
> distribution is working fine.
> Can you take a look?
>
> Royale Compiler Shell
> (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> --source-map=true
> --html-template=src/html/jewel-example-index-template.html
>
> --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/sr
> c/main/resources/defaults.css
> --source-path+=src --library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> -js-dynamic-access-unknown-members=true -- src/App.mxml
> fcsh: Assigned 1 as the compile target id The project 'App' has been
> successfully compiled and optimized.
> Compile status: 0
> Elapsed time: 14.211105399 seconds
> Feb 18, 2021 5:43:40 PM
> com.google.javascript.jscomp.LoggerErrorManager
> printSummary
> INFO: 0 error(s), 0 warning(s), 96.5% typed
> (fcsh) quit
> Compiler shell exited with code: 0
> Royale Compiler Shell
> (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> --source-map=true
> --html-template=src/html/jewel-example-index-template.html
>
> --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/sr
> c/main/resources/defaults.css
> --source-path+=src --library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> -js-dynamic-access-unknown-members=true -- src/App.mxml
> fcsh: Assigned 1 as the compile target id Compile status: 5 Elapsed time:
> 0.618407478 seconds
>
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> col: 0 Error: unable to open
>
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
>
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/roy
> ale-config.xml
> (line: 81)
>
> </js-external-library-path>
>
>
>
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> col: 0 Error: unable to open
>
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
>
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/roy
> ale-config.xml
> (line: 81)
>
> </js-external-library-path>
> (fcsh)
> Quick Compile failed. Errors in compiler output.
>
> El jue, 18 feb 2021 a las 17:26, Carlos Rovira
> (<ca...@apache.org>)
> escribió:
>
> > Hi,
> >
> > I rebuilt all from scratch just now and finally the distribution too
> > and tried in VSCode and all seems to work fine for me.
> >
> > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> > christofer.dutz@c-ware.de>) escribió:
> >
> >> Hi Piotr,
> >>
> >> that class is located in lib\external\flex-tool-api.jar At least in
> >> my distribution it's there and it contains the class.
> >>
> >> How are you calling the build that's failing?
> >>
> >> Chris
> >>
> >> -----Ursprüngliche Nachricht-----
> >> Von: Piotr Zarzycki <pi...@gmail.com>
> >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> >> An: Apache Royale Development <de...@royale.apache.org>
> >> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> >>
> >> Chris,
> >>
> >> I just checked and I'm not able build project anymore using
> distribution:
> >>
> >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
> >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m
> >> -Xmx3000m
> >> : Error: Could not find or load main class
> >> org.apache.royale.compiler.clients.MXMLJSC
> >> : Caused by: java.lang.NoClassDefFoundError:
> >> org/apache/flex/tools/FlexTool
> >>
> >> I'm done for today, so I will answer anything tomorrow.
> >>
> >> czw., 18 lut 2021 o 16:05 Christofer Dutz
> >> <ch...@c-ware.de>
> >> napisał(a):
> >>
> >> > Ok ...
> >> >
> >> > so I just pushed another change. Now the distribution should also
> >> > contain an empty spark.css, just like the Ant one.
> >> >
> >> > Chris
> >> >
> >> >
> >> > -----Ursprüngliche Nachricht-----
> >> > Von: Christofer Dutz <ch...@c-ware.de>
> >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> >> > An: dev@royale.apache.org
> >> > Betreff: AW: Align Maven IDE distribution with Ant IDE
> >> > distribution
> >> >
> >> > Ok,
> >> >
> >> > so that should now be fixed. Leaves the "spark.css"
> >> > Having had a look, it seems as if the Ant build creates an empty
> >> spark.css.
> >> >
> >> > Is this all we need? If yes, then I'll have that in ther in no time.
> >> >
> >> > Chris
> >> >
> >> > -----Ursprüngliche Nachricht-----
> >> > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> >> > An: Apache Royale Development <de...@royale.apache.org>
> >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > distribution
> >> >
> >> > *(I assume that's in the "frameworks/js/libs" directory? *
> >> >
> >> > Yes this is the directory.
> >> >
> >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> >> > <ch...@c-ware.de>
> >> > napisał(a):
> >> >
> >> > > Hi Piotr,
> >> > >
> >> > > Ok ... so Ant seems to be adding a "JS" to the end of every
> >> > > name (I assume that's in the "frameworks/js/libs" directory?
> >> > >
> >> > > Also I'll try to find out where the "spark.css" should come from ...
> >> > > and where it should go to.
> >> > >
> >> > > Chris
> >> > >
> >> > >
> >> > > -----Ursprüngliche Nachricht-----
> >> > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> >> > > An: Apache Royale Development <de...@royale.apache.org>
> >> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > > distribution
> >> > >
> >> > > Chris,
> >> > >
> >> > > Looks better but here is the comparision what I have in Ant
> >> > > distribution vs Maven distribution in case of names. On the
> >> > > left Ant distribution, on the right Maven. It is folder:
> >> > > frameworks\js\libs\ [1]
> >> > >
> >> > > [1] https://ibb.co/W2DzcDb
> >> > >
> >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> >> > > <ch...@c-ware.de>
> >> > > napisał(a):
> >> > >
> >> > > > And done ...
> >> > > >
> >> > > > Now all elements in the distribution only consist of their
> >> > > > name and file-ending ... all versions and classifiers have
> >> > > > been
> removed.
> >> > > > Please provide me with feedback on if this solves the issues.
> >> > > >
> >> > > > Chris
> >> > > >
> >> > > >
> >> > > > -----Ursprüngliche Nachricht-----
> >> > > > Von: Christofer Dutz <ch...@c-ware.de>
> >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> >> > > > An: dev@royale.apache.org
> >> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> >> > > > distribution
> >> > > >
> >> > > > I'll probably have a fix for that in a few minuntes ...
> >> > > >
> >> > > >
> >> > > > Chris
> >> > > >
> >> > > >
> >> > > > -----Ursprüngliche Nachricht-----
> >> > > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> >> > > > An: Apache Royale Development <de...@royale.apache.org>
> >> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > > > distribution
> >> > > >
> >> > > > Chris,
> >> > > >
> >> > > > No it's not about not picking up by IDE at all. Moonshine and
> >> > > > VSCode are able to build projects using Maven distribution
> >> > > > package! It is about project which are mixed for example when
> >> > > > user wanted to use Jewel module + RemoteObject class from
> >> > > > MXRoyale module. In that case user need to point explicilty
> >> > > > as a compiler options in IDE that he wanted to have SWC
> >> > > > included and need to exclude css from that swc to
> >> > > avoid problems.
> >> > > >
> >> > > > It is happen like that:
> >> > > >
> >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> >> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> >> > > > cs
> >> > > > s
> >> > > >
> >> > > > If I would like to use maven distribution user need to know
> >> > > > version for that compiler options. It is even more tricky
> >> > > > when your swc is called
> >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> >> > > >
> >> > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.cs
> >> > > > s
> >> > > >
> >> > > > Thanks,
> >> > > > Piotr
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> >> > > > <ch...@c-ware.de>
> >> > > > napisał(a):
> >> > > >
> >> > > > > Hi Piotr,
> >> > > > >
> >> > > > > And is really the version-suffix causing it to not be
> >> > > > > picked up by the IDEs?
> >> > > > >
> >> > > > > Chris
> >> > > > >
> >> > > > > -----Ursprüngliche Nachricht-----
> >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> >> > > > > An: dev@royale.apache.org
> >> > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > > > > distribution
> >> > > > >
> >> > > > > Hi Chris,
> >> > > > >
> >> > > > > This is the only thing which seems to be a constant problem
> here.
> >> > > > > I personally and some users will be much more happy having
> >> > > > > that
> >> > change.
> >> > > > >
> >> > > > > Thanks,
> >> > > > > Piotr
> >> > > > >
> >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> >> > > > > <ch...@c-ware.de>
> >> > > > > wrote:
> >> > > > >
> >> > > > > > Hi Piotr,
> >> > > > > >
> >> > > > > > I'd be happy to help with that.
> >> > > > > >
> >> > > > > > I did simply ask for a list of things that need to be
> >> > > > > > changed in order to get things working, but never got
> >> > > > > > said list, so I never knew what I could do to make the
> >> > > > > > Maven distribution match up to the
> >> > > > Ant built one.
> >> > > > > >
> >> > > > > > Chris
> >> > > > > >
> >> > > > > >
> >> > > > > > -----Ursprüngliche Nachricht-----
> >> > > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> >> > > > > > An: Apache Royale Development <de...@royale.apache.org>
> >> > > > > > Betreff: Align Maven IDE distribution with Ant IDE
> >> > > > > > distribution
> >> > > > > >
> >> > > > > > Hi Guys,
> >> > > > > >
> >> > > > > > It's been couple of times when user complains that he
> >> > > > > > have problems with using Maven distribution vs Ant
> >> > > > > > distribution in IDE in a mixed project Jewel + MX/Spark etc.
> >> > > > > >
> >> > > > > > Can we have that resolve once for all and adjust Maven
> >> > > > > > distribution folder to produce proper names of swcs ?
> >> > > > > >
> >> > > > > > Currently when I build Maven IDE distribution I have:
> >> > > > > >
> >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> >> > > > > >
> >> > > > > > When I build Ant IDE distribution I have:
> >> > > > > >
> >> > > > > > MXRoyale-js.swc
> >> > > > > >
> >> > > > > > Thanks,
> >> > > > > > --
> >> > > > > >
> >> > > > > > Piotr Zarzycki
> >> > > > > >
> >> > > > > --
> >> > > > >
> >> > > > > Piotr Zarzycki
> >> > > > >
> >> > > >
> >> > > >
> >> > > > --
> >> > > >
> >> > > > Piotr Zarzycki
> >> > > >
> >> > >
> >> > >
> >> > > --
> >> > >
> >> > > Piotr Zarzycki
> >> > >
> >> >
> >> >
> >> > --
> >> >
> >> > Piotr Zarzycki
> >> >
> >>
> >>
> >> --
> >>
> >> Piotr Zarzycki
> >>
> >
> >
> > --
> > Carlos Rovira
> > Apache Member & Apache Royale PMC
> > *Apache Software Foundation*
> > http://about.me/carlosrovira
> >
> >
>
> --
> Carlos Rovira
> Apache Member & Apache Royale PMC
> *Apache Software Foundation*
> http://about.me/carlosrovira
>
--
Piotr Zarzycki
Re: Align Maven IDE distribution with Ant IDE distribution
Posted by Josh Tynjala <jo...@bowlerhat.dev>.
Instead of Ctrl+Enter, try Ctrl+Shift+B and choose the task: "ActionScript:
compile debug - asconfig.json". Running a build task like this is actually
the most common way to compile in VSCode. Carlos is using some special
"quick compile" commands, which work slightly differently. It's possible
that one method is working, but not the other.
--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>
On Fri, Feb 19, 2021 at 9:00 AM Christofer Dutz <ch...@c-ware.de>
wrote:
> So I did a bit more of testing.
>
> So after I had no issues building Carlos' example, I tried the TourDeJewl
> example.
> So I opened VSCode in the directory of TDJ example ... created a
> settings.json with the folowing content:
>
> {
> "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> }
>
> Hit STRG+Enter and waited a bit ...
>
> Then I opened the output in Chrome and have a fully functioning TDJ
> application.
>
> So I wouldn't consider the build broken.
>
> Chris
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Maria Jose Esteve <mj...@iest.com>
> Gesendet: Freitag, 19. Februar 2021 17:51
> An: dev@royale.apache.org
> Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
>
> Sure, that would be "expected", but like I told you: if I change it to
> MXRoyaleJS.swc, the app "does nonsense".
> Maybe something has gotten my way.
>
> I will read your messages and see if I can help with something.
>
> Hiedra.
> -----Mensaje original-----
> De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes, 19
> de febrero de 2021 14:12
> Para: dev@royale.apache.org
> Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>
> Hi Hiedra,
>
> well I changed the distribution to make the names like in the ANT
> distribution yesterday.
> But you are passing in an argument telling the compiler to use the old
> format and now it should be the new ...
>
> Try:
> -compiler.exclude-defaults-css-files = MXRoyaleJS.swc: defaults.css; For
> -compiler.exclude-defaults-css-files = MXRoyaleJS.swc: defaults.css;
>
> Instead of your variant.
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Maria Jose Esteve <mj...@iest.com>
> Gesendet: Freitag, 19. Februar 2021 14:08
> An: dev@royale.apache.org
> Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
>
> Yes, until recently I also compiled only with Maven. Due to the problem
> with the spark.css I started to do the double compilation of MAVEN and ANT.
>
> It's funny, now, the swc's are not generated with
> "xxxx-0.9.8-SNAPSHOT-js.swc" in the distribution BUT if in the pom of my
> project I change in additionalCompilerOptions:
> -compiler.exclude-defaults-css-files = MXRoyale - $
> {royale.framework.version} -js.swc: defaults.css; For
> -compiler.exclude-defaults-css-files = MXRoyaleJS.swc: defaults.css; My
> application starts to do nonsense (for example the change of
> selectedContent in my ApplicationMainContent does not display)
>
> Chris, thank you.
> Hiedra
>
> -----Mensaje original-----
> De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes, 19
> de febrero de 2021 13:09
> Para: dev@royale.apache.org
> Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>
> Hi Hiedra,
>
> I have to admit that I've never used VSCode. Every time I do any
> development I usually use one of the JetBrains IDEs.
> Royale Stuff I do in IntelliJ ... with my "Flexmojos Hack" it can be used
> quite well. And I always compile with Maven.
>
> But thanks for the explanation on why the other path is set differently.
>
> I guess we'll have to wait till some others can tell me what needs to be
> changed.
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Maria Jose Esteve <mj...@iest.com>
> Gesendet: Freitag, 19. Februar 2021 12:48
> An: dev@royale.apache.org
> Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
>
> Hello Chris,
> so that I can debug my changes in the SDK I need to set the path of the
> "as3mxml.sdk.editor" to the asjs directory of my fork, for this reason the
> path of the " as3mxml.sdk.framework" points to the directory of the maven
> distribution and the "as3mxml.sdk.editor" to code.
>
> ">> I'm not getting any errors from VSCode. But well ... if I hit
> SHIFT+Enter it starts doing something where if failed prior to my
> >> changes this morning and is no longer complaining, but it's also not
> doing much (I can't see it create a "bin" directory)"
>
> I don't quite understand this ... possibly because of my lack of knowledge.
>
> I have not tried Carlos's project but this afternoon I will be able to do
> it and I will be able to give more details.
>
> Thx.
> Hiedra.
>
> -----Mensaje original-----
> De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes, 19
> de febrero de 2021 11:51
> Para: dev@royale.apache.org
> Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>
> Hi Heidra,
>
> I just updated Carlos' example to have the same type of setting
> (C:\\Temp\\RoyaleSDK is where I have my Maven build generate the SDK):
>
> setings.js:
> {
> "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> }
>
> workspace-code-workspace
> {
> "folders": [
> {
> "path": ".."
> }
> ],
> "settings": {
> "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> }
> }
>
> I'm not getting any errors from VSCode. But well ... if I hit SHIFT+Enter
> it starts doing something where if failed prior to my changes this morning
> and is no longer complaining, but it's also not doing much (I can't see it
> create a "bin" directory)
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Maria Jose Esteve <mj...@iest.com>
> Gesendet: Freitag, 19. Februar 2021 10:53
> An: dev@royale.apache.org
> Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
>
> If I don't compile with ANT, the mxml extension in vsCode IDE, it doesn't
> recognize the valid asjs directory for "as3mxml.sdk.editor":
> ...
> "settings": {
> "as3mxml.sdk.framework":
> "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
> "as3mxml.sdk.editor":
> "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs" <-------- [download
> folder repo royale-asjs]
> }
> }
>
> The error is:
> " as3mxml.sdk.editor in settings does not point to a valid SDK.
> Requires..."
>
> Thx.
> Hiedra.
>
> -----Mensaje original-----
> De: Piotr Zarzycki <pi...@gmail.com> Enviado el: viernes, 19 de
> febrero de 2021 10:44
> Para: Apache Royale Development <de...@royale.apache.org>
> Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
>
> Hi Chris,
>
> I just tried your changes and I have same issue. I need to understand what
> has change enough significantly that it causes compilation fail in such
> way. It doesn't happen with SDK prepared by ANT.
>
> Thanks,
> Piotr
>
> pt., 19 lut 2021 o 10:33 Maria Jose Esteve <mj...@iest.com> napisał(a):
>
> > @Chris you're right, sorry, I didn't download your last commit.
> > I'm sorry.
> > Hiedra.
> >
> > -----Mensaje original-----
> > De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> > 19 de febrero de 2021 10:17
> > Para: dev@royale.apache.org
> > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > I'll try to guess what you wanted to say here ...
> >
> > But I think these are exactly the changes I comitted a an hour ago,
> right?
> > At least in general I replaced all the references to names with
> > versions to the changed ones.
> >
> >
> > Chris
> >
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Maria Jose Esteve <mj...@iest.com>
> > Gesendet: Freitag, 19. Februar 2021 10:01
> > An: dev@royale.apache.org
> > Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi,
> > Mi distribución hace referencia en el fichero
> > "./frameworks/royale-config.xml" a las librerías:
> >
> > <js-external-library-path>
> >
> > <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.sw
> > c</path-element>
> >
> >
> <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc</path-element>
> > </js-external-library-path>
> >
> > Las correctas son:
> >
> > <js-external-library-path>
> > <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> > <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
> > </js-external-library-path>
> >
> > Hiedra
> >
> > -----Mensaje original-----
> > De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> > 19 de febrero de 2021 9:39
> > Para: dev@royale.apache.org
> > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > Ok,
> >
> > so the config xml files in the distribution were still pointing to the
> > old names. I updated them all to now refer to the names.
> > I tried things in Carlos' demo project, and I'm no-longer getting the
> > errors, however compilation seems to take for ever.
> >
> > Please try out the changes and tell me if there are any problems with
> them.
> >
> > Chris
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Christofer Dutz <ch...@c-ware.de>
> > Gesendet: Donnerstag, 18. Februar 2021 23:17
> > An: dev@royale.apache.org
> > Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi Carlos,
> >
> > I'll look into this tomorrow.
> >
> > Chris
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Carlos Rovira <ca...@apache.org>
> > Gesendet: Donnerstag, 18. Februar 2021 17:49
> > An: Apache Royale Development <de...@royale.apache.org>
> > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi, I think I talked very quickly, sorry, there seems to be a problem.
> >
> > @Christofer Dutz <ch...@c-ware.de> you can download this
> > project:
> >
> >
> > https://github.com/apache/royale-asjs/files/6004363/ToggleButtonBarIss
> > ue.zip
> >
> > Then using VSCode with AS3&MXML and adding the Maven distribution.
> > Then hit CTRL+ENTER and you will get the following fail. Using ANT
> > distribution is working fine.
> > Can you take a look?
> >
> > Royale Compiler Shell
> > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> > --source-map=true
> > --html-template=src/html/jewel-example-index-template.html
> >
> > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/sr
> > c/main/resources/defaults.css
> > --source-path+=src --library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> > -js-dynamic-access-unknown-members=true -- src/App.mxml
> > fcsh: Assigned 1 as the compile target id The project 'App' has been
> > successfully compiled and optimized.
> > Compile status: 0
> > Elapsed time: 14.211105399 seconds
> > Feb 18, 2021 5:43:40 PM
> > com.google.javascript.jscomp.LoggerErrorManager
> > printSummary
> > INFO: 0 error(s), 0 warning(s), 96.5% typed
> > (fcsh) quit
> > Compiler shell exited with code: 0
> > Royale Compiler Shell
> > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> > --source-map=true
> > --html-template=src/html/jewel-example-index-template.html
> >
> > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/sr
> > c/main/resources/defaults.css
> > --source-path+=src --library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> > -js-dynamic-access-unknown-members=true -- src/App.mxml
> > fcsh: Assigned 1 as the compile target id Compile status: 5 Elapsed time:
> > 0.618407478 seconds
> >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > col: 0 Error: unable to open
> >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
> >
> > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/roy
> > ale-config.xml
> > (line: 81)
> >
> > </js-external-library-path>
> >
> >
> >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > col: 0 Error: unable to open
> >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
> >
> > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/roy
> > ale-config.xml
> > (line: 81)
> >
> > </js-external-library-path>
> > (fcsh)
> > Quick Compile failed. Errors in compiler output.
> >
> > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
> > (<ca...@apache.org>)
> > escribió:
> >
> > > Hi,
> > >
> > > I rebuilt all from scratch just now and finally the distribution too
> > > and tried in VSCode and all seems to work fine for me.
> > >
> > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> > > christofer.dutz@c-ware.de>) escribió:
> > >
> > >> Hi Piotr,
> > >>
> > >> that class is located in lib\external\flex-tool-api.jar At least in
> > >> my distribution it's there and it contains the class.
> > >>
> > >> How are you calling the build that's failing?
> > >>
> > >> Chris
> > >>
> > >> -----Ursprüngliche Nachricht-----
> > >> Von: Piotr Zarzycki <pi...@gmail.com>
> > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> > >> An: Apache Royale Development <de...@royale.apache.org>
> > >> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> > >>
> > >> Chris,
> > >>
> > >> I just checked and I'm not able build project anymore using
> > distribution:
> > >>
> > >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
> > >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m
> > >> -Xmx3000m
> > >> : Error: Could not find or load main class
> > >> org.apache.royale.compiler.clients.MXMLJSC
> > >> : Caused by: java.lang.NoClassDefFoundError:
> > >> org/apache/flex/tools/FlexTool
> > >>
> > >> I'm done for today, so I will answer anything tomorrow.
> > >>
> > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
> > >> <ch...@c-ware.de>
> > >> napisał(a):
> > >>
> > >> > Ok ...
> > >> >
> > >> > so I just pushed another change. Now the distribution should also
> > >> > contain an empty spark.css, just like the Ant one.
> > >> >
> > >> > Chris
> > >> >
> > >> >
> > >> > -----Ursprüngliche Nachricht-----
> > >> > Von: Christofer Dutz <ch...@c-ware.de>
> > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> > >> > An: dev@royale.apache.org
> > >> > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > >> > distribution
> > >> >
> > >> > Ok,
> > >> >
> > >> > so that should now be fixed. Leaves the "spark.css"
> > >> > Having had a look, it seems as if the Ant build creates an empty
> > >> spark.css.
> > >> >
> > >> > Is this all we need? If yes, then I'll have that in ther in no time.
> > >> >
> > >> > Chris
> > >> >
> > >> > -----Ursprüngliche Nachricht-----
> > >> > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> > >> > An: Apache Royale Development <de...@royale.apache.org>
> > >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > distribution
> > >> >
> > >> > *(I assume that's in the "frameworks/js/libs" directory? *
> > >> >
> > >> > Yes this is the directory.
> > >> >
> > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> > >> > <ch...@c-ware.de>
> > >> > napisał(a):
> > >> >
> > >> > > Hi Piotr,
> > >> > >
> > >> > > Ok ... so Ant seems to be adding a "JS" to the end of every
> > >> > > name (I assume that's in the "frameworks/js/libs" directory?
> > >> > >
> > >> > > Also I'll try to find out where the "spark.css" should come from
> ...
> > >> > > and where it should go to.
> > >> > >
> > >> > > Chris
> > >> > >
> > >> > >
> > >> > > -----Ursprüngliche Nachricht-----
> > >> > > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> > >> > > An: Apache Royale Development <de...@royale.apache.org>
> > >> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > > distribution
> > >> > >
> > >> > > Chris,
> > >> > >
> > >> > > Looks better but here is the comparision what I have in Ant
> > >> > > distribution vs Maven distribution in case of names. On the
> > >> > > left Ant distribution, on the right Maven. It is folder:
> > >> > > frameworks\js\libs\ [1]
> > >> > >
> > >> > > [1] https://ibb.co/W2DzcDb
> > >> > >
> > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> > >> > > <ch...@c-ware.de>
> > >> > > napisał(a):
> > >> > >
> > >> > > > And done ...
> > >> > > >
> > >> > > > Now all elements in the distribution only consist of their
> > >> > > > name and file-ending ... all versions and classifiers have
> > >> > > > been
> > removed.
> > >> > > > Please provide me with feedback on if this solves the issues.
> > >> > > >
> > >> > > > Chris
> > >> > > >
> > >> > > >
> > >> > > > -----Ursprüngliche Nachricht-----
> > >> > > > Von: Christofer Dutz <ch...@c-ware.de>
> > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> > >> > > > An: dev@royale.apache.org
> > >> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > >> > > > distribution
> > >> > > >
> > >> > > > I'll probably have a fix for that in a few minuntes ...
> > >> > > >
> > >> > > >
> > >> > > > Chris
> > >> > > >
> > >> > > >
> > >> > > > -----Ursprüngliche Nachricht-----
> > >> > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> > >> > > > An: Apache Royale Development <de...@royale.apache.org>
> > >> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > > > distribution
> > >> > > >
> > >> > > > Chris,
> > >> > > >
> > >> > > > No it's not about not picking up by IDE at all. Moonshine and
> > >> > > > VSCode are able to build projects using Maven distribution
> > >> > > > package! It is about project which are mixed for example when
> > >> > > > user wanted to use Jewel module + RemoteObject class from
> > >> > > > MXRoyale module. In that case user need to point explicilty
> > >> > > > as a compiler options in IDE that he wanted to have SWC
> > >> > > > included and need to exclude css from that swc to
> > >> > > avoid problems.
> > >> > > >
> > >> > > > It is happen like that:
> > >> > > >
> > >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > >> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> > >> > > > cs
> > >> > > > s
> > >> > > >
> > >> > > > If I would like to use maven distribution user need to know
> > >> > > > version for that compiler options. It is even more tricky
> > >> > > > when your swc is called
> > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> > >> > > >
> > >> > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.cs
> > >> > > > s
> > >> > > >
> > >> > > > Thanks,
> > >> > > > Piotr
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> > >> > > > <ch...@c-ware.de>
> > >> > > > napisał(a):
> > >> > > >
> > >> > > > > Hi Piotr,
> > >> > > > >
> > >> > > > > And is really the version-suffix causing it to not be
> > >> > > > > picked up by the IDEs?
> > >> > > > >
> > >> > > > > Chris
> > >> > > > >
> > >> > > > > -----Ursprüngliche Nachricht-----
> > >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> > >> > > > > An: dev@royale.apache.org
> > >> > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > > > > distribution
> > >> > > > >
> > >> > > > > Hi Chris,
> > >> > > > >
> > >> > > > > This is the only thing which seems to be a constant problem
> > here.
> > >> > > > > I personally and some users will be much more happy having
> > >> > > > > that
> > >> > change.
> > >> > > > >
> > >> > > > > Thanks,
> > >> > > > > Piotr
> > >> > > > >
> > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> > >> > > > > <ch...@c-ware.de>
> > >> > > > > wrote:
> > >> > > > >
> > >> > > > > > Hi Piotr,
> > >> > > > > >
> > >> > > > > > I'd be happy to help with that.
> > >> > > > > >
> > >> > > > > > I did simply ask for a list of things that need to be
> > >> > > > > > changed in order to get things working, but never got
> > >> > > > > > said list, so I never knew what I could do to make the
> > >> > > > > > Maven distribution match up to the
> > >> > > > Ant built one.
> > >> > > > > >
> > >> > > > > > Chris
> > >> > > > > >
> > >> > > > > >
> > >> > > > > > -----Ursprüngliche Nachricht-----
> > >> > > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> > >> > > > > > An: Apache Royale Development <de...@royale.apache.org>
> > >> > > > > > Betreff: Align Maven IDE distribution with Ant IDE
> > >> > > > > > distribution
> > >> > > > > >
> > >> > > > > > Hi Guys,
> > >> > > > > >
> > >> > > > > > It's been couple of times when user complains that he
> > >> > > > > > have problems with using Maven distribution vs Ant
> > >> > > > > > distribution in IDE in a mixed project Jewel + MX/Spark etc.
> > >> > > > > >
> > >> > > > > > Can we have that resolve once for all and adjust Maven
> > >> > > > > > distribution folder to produce proper names of swcs ?
> > >> > > > > >
> > >> > > > > > Currently when I build Maven IDE distribution I have:
> > >> > > > > >
> > >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> > >> > > > > >
> > >> > > > > > When I build Ant IDE distribution I have:
> > >> > > > > >
> > >> > > > > > MXRoyale-js.swc
> > >> > > > > >
> > >> > > > > > Thanks,
> > >> > > > > > --
> > >> > > > > >
> > >> > > > > > Piotr Zarzycki
> > >> > > > > >
> > >> > > > > --
> > >> > > > >
> > >> > > > > Piotr Zarzycki
> > >> > > > >
> > >> > > >
> > >> > > >
> > >> > > > --
> > >> > > >
> > >> > > > Piotr Zarzycki
> > >> > > >
> > >> > >
> > >> > >
> > >> > > --
> > >> > >
> > >> > > Piotr Zarzycki
> > >> > >
> > >> >
> > >> >
> > >> > --
> > >> >
> > >> > Piotr Zarzycki
> > >> >
> > >>
> > >>
> > >> --
> > >>
> > >> Piotr Zarzycki
> > >>
> > >
> > >
> > > --
> > > Carlos Rovira
> > > Apache Member & Apache Royale PMC
> > > *Apache Software Foundation*
> > > http://about.me/carlosrovira
> > >
> > >
> >
> > --
> > Carlos Rovira
> > Apache Member & Apache Royale PMC
> > *Apache Software Foundation*
> > http://about.me/carlosrovira
> >
>
>
> --
>
> Piotr Zarzycki
>
AW: Align Maven IDE distribution with Ant IDE distribution
Posted by Christofer Dutz <ch...@c-ware.de>.
So I just disabled the ACE module again ... it does have a slightly odd structure and I wasn't sure how to configure it for a SWF build with maven.
-----Ursprüngliche Nachricht-----
Von: Christofer Dutz <ch...@c-ware.de>
Gesendet: Montag, 22. Februar 2021 12:25
An: dev@royale.apache.org
Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
Ok ...
After Carlos kindly provided me with the missing Adobe artifacts I could also try the "with-swf" build ... seems the ACE build needs some fixing ... I'm on it.
Chris
-----Ursprüngliche Nachricht-----
Von: Maria Jose Esteve <mj...@iest.com>
Gesendet: Montag, 22. Februar 2021 12:12
An: dev@royale.apache.org
Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
Flying 😝
Hiedra
-----Mensaje original-----
De: Christofer Dutz <ch...@c-ware.de>
Enviado el: lunes, 22 de febrero de 2021 12:09
Para: dev@royale.apache.org
Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
Hi all,
It seems Carlos reset the version of the compiler and updated the version in the asjs module.
So it looks as if that's good (I really hate when things are out of sync ;) ).
Anyways ... I just pushed some chaged to typedef to build the ACE typedef module
And updated the asjs module to build the ACE framework module and fine tuned the distribution to add the missing swcs (JS and SWF).
Please try out these changes.
Chris
-----Ursprüngliche Nachricht-----
Von: Piotr Zarzycki <pi...@gmail.com>>
Gesendet: Montag, 22. Februar 2021 12:05
An: Apache Royale Development <de...@royale.apache.org>>
Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
We are using again compiler 0.9.8-SNAPSHOT yes ?
pon., 22 lut 2021 o 12:01 Alina Kazi <al...@gmail.com>> napisał(a):
> Thanks Chris.
>
> On Mon, Feb 22, 2021 at 3:59 PM Maria Jose Esteve <mj...@iest.com>>
> wrote:
>
> > Thanks Chris, I'll be listening.
> >
> > Hiedra
> > -----Mensaje original-----
> > De: Christofer Dutz <ch...@c-ware.de>>
> > Enviado el: lunes, 22 de febrero de 2021 11:52
> > Para: dev@royale.apache.org<ma...@royale.apache.org>
> > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi all,
> >
> > so I had a look and it seems the distribution was missing a number of
> > libraries, which seem to have been added, since I created the
> distribution
> > in 2016 ... Some modules were added after that, but not all. It seems all
> > probelms you are reporting result from some of them missing. I added them
> > and now they are correctly added to my distributions. I also compared
> them
> > with the ANT built version ... the last missing piece is the ACE module,
> > which was disabled in Maven as the Ace typedef was not a maven module. I
> > took the liberty of creating a Maven typedef module for ace and re-added
> > the ACE module to the Maven build and to the distribution.
> >
> > I'm currently testing a few things and will commit as soon as I'm happy
> > with my changes.
> >
> >
> > Chris
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Alina Kazi <al...@gmail.com>>
> > Gesendet: Montag, 22. Februar 2021 11:26
> > An: dev@royale.apache.org<ma...@royale.apache.org>
> > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi,
> > I am also facing a problem with latest SDK.
> > when I add something new in emulation and re-build SDK. when I recompile
> > the application with the latest distribution , error in application does
> > not go away that I already fixed in previous commit.
> > It seems that the distribution does not have everything latest that it
> > should have.
> >
> > -Alina
> >
> > On Mon, Feb 22, 2021 at 3:20 PM Maria Jose Esteve <mj...@iest.com>>
> > wrote:
> >
> > > I can't work either.
> > > With no Maven, Ant combination, always error: "Error <fx: Array> This
> > > tag could not be resolved to an ActionScript class ..."
> > >
> > > Do you know what happens? I am not able to understand or fix this.
> > >
> > > Hiedra.
> > >
> > > -----Mensaje original-----
> > > De: Piotr Zarzycki <pi...@gmail.com>> Enviado el: lunes, 22
> > > de febrero de 2021 11:03
> > > Para: Apache Royale Development <de...@royale.apache.org>>
> > > Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > Hi Guys,
> > >
> > > I just tried new distribution and I'm able to build simple example.
> > > However our Royale project is not building - I'm getting following
> > > exception:
> > >
> > > : Exception in thread "main" java.lang.NoClassDefFoundError:
> > > org/apache/commons/lang/StringEscapeUtils
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.LiteralEmitter.emit(
> > > LiteralEmitter.java:225)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitLiteral(JSRoyaleEmitter.java:1040)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.visitLiteral(ASBlockWalker.java:479)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeSwitch.handle(ASNodeSwitch.java:373)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.goog.JSGoogEmitter.emit
> > > AssignedValue(JSGoogEmitter.java:965)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitAssignmen
> > > tCoercion(JSEmitter.java:917)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitAssignmentCoercion(JSRoyaleEmitter.java:1558)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
> > > sEmitter.emitContents(FunctionCallArgumentsEmitter.java:103)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
> > > sEmitter.emit(FunctionCallArgumentsEmitter.java:50)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
> > > sEmitter.emit(FunctionCallArgumentsEmitter.java:35)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitArguments
> > > (JSEmitter.java:259)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitArguments(JSRoyaleEmitter.java:986)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallEmitter.
> > > emit(FunctionCallEmitter.java:693)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitFunctionCall(JSRoyaleEmitter.java:906)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.visitFunctionCall(ASBlockWalker.java:330)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeSwitch.handle(ASNodeSwitch.java:207)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.goog.JSGoogEmitter.emit
> > > AssignedValue(JSGoogEmitter.java:965)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitAssignmen
> > > tCoercion(JSEmitter.java:917)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitAssignmentCoercion(JSRoyaleEmitter.java:1558)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.BinaryOperatorEmitte
> > > r.super_emitBinaryOperator(BinaryOperatorEmitter.java:598)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.BinaryOperatorEmitte
> > > r.emit(BinaryOperatorEmitter.java:500)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitBinaryOperator(JSRoyaleEmitter.java:1028)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.visitBinaryOperator(ASBlockWalker.java:538)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeSwitch.handle(ASNodeSwitch.java:348)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.StatementEmitter.emi
> > > t(StatementEmitter.java:40)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.StatementEmitter.emi
> > > t(StatementEmitter.java:29)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitStatement
> > > (JSEmitter.java:349)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitStatement(JSRoyaleEmitter.java:1204)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.visitBlock(ASBlockWalker.java:349)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeSwitch.handle(ASNodeSwitch.java:278)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.as.ASEmitter.emitMethodSco
> > > pe(ASEmitter.java:830)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.MethodEmitter.emit(M
> > > ethodEmitter.java:160)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitMethod(JSRoyaleEmitter.java:891)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.visitFunction(ASBlockWalker.java:290)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeSwitch.handle(ASNodeSwitch.java:152)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmit
> > > ter.emitScripts(MXMLRoyaleEmitter.java:2179)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmit
> > > ter.emitDocument(MXMLRoyaleEmitter.java:899)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleBloc
> > > kWalker.visitDocument(MXMLRoyaleBlockWalker.java:69)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle
> > > (MXMLNodeSwitch.java:89)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(
> > > MXMLBlockWalker.java:156)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleBloc
> > > kWalker.visitFile(MXMLRoyaleBlockWalker.java:61)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle
> > > (MXMLNodeSwitch.java:95)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(
> > > MXMLBlockWalker.java:156)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.visit
> > > CompilationUnit(MXMLBlockWalker.java:187)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.MXMLWriter.writeTo(MX
> > > MLWriter.java:69)
> > > : at
> > >
> > > org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale
> > > .java:411)
> > > : at
> > >
> > > org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRo
> > > yale.java:259)
> > > : at
> > >
> > > org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoy
> > > ale.java:216)
> > > : at
> > > org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:36
> > > 3)
> > > : at
> > > org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298
> > > )
> > > : at
> > >
> > > org.apache.royale.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.ja
> > > va:256)
> > > : at org.apache.royale.compiler.clients.MXMLJSC.main(MXMLJSC.java:238)
> > > : Caused by: java.lang.ClassNotFoundException:
> > > org.apache.commons.lang.StringEscapeUtils
> > > : at
> > >
> > > java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClas
> > > sLoader.java:582)
> > > : at
> > >
> > > java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Cl
> > > assLoaders.java:178)
> > > : at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
> > > : ... 67 more
> > >
> > > niedz., 21 lut 2021 o 18:57 Carlos Rovira <ca...@apache.org>>
> > > napisał(a):
> > >
> > > > Hi,
> > > >
> > > > I worked today on this and finally could solve the problem. A part
> > > > from Chris changes we need a bit more changes since all was set up
> > > > from the compiler to use the old names. So class paths need to be
> > > changed too there.
> > > > Also Google Closure compiler need to be in jar mode instead of
> > unpacked.
> > > >
> > > > Now I can use CMD (or CTRL) + SHIFT + B and select Debug or Release
> > > > option with Actionscript extension and all goes ok.
> > > > When using CMD+ENTER I think VsCode use the experimental build in
> > > > Josh extension and take the SDK in ROYALE_HOME, and since that's the
> > > > one build in the repository with ANT all seems fine, but is not
> > > > using the selected SDK, so the build is not using what you expect.
> > > >
> > > > This is my output now using the Maven Distribution SDK:
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > *> Executing task in folder TourDeJewel:
> > > > /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/b
> > > > in
> > > > /java
> > > > -jar
> > > >
> > > > /Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas
> > > > -1
> > > > .6.0/bin/asconfigc.jar --sdk
> > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven --debug=true
> > > > --project
> > > >
> > > > /Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/Tou
> > > > rD
> > > > eJewel/asconfig.json
> > > >
> > > > <MXMLJSC+royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale
> > > > -m
> > > > aven/frameworks--debug=true+configname=royale--targets=JSRoyale--sou
> > > > rc
> > > > e-path+=src/main/resources--source-map=true--html-template=src/main/
> > > > e-path+re
> > > > sources/jewel-example-index-template.html--theme=${royalelib}/themes
> > > > /J
> > > > ewelTheme/src/main/resources/defaults.css-js-dynamic-access-unknown-
> > > > me mbers=true--src/main/royale/App.mxmlThe
> > > > project 'App' has been successfully compiled.12.80962843
> > > > secondsTerminal will be reused by tasks, press any key to close it.*
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > El sáb, 20 feb 2021 a las 18:16, Christofer Dutz (<
> > > > christofer.dutz@c-ware.de<ma...@c-ware.de>>)
> > > > escribió:
> > > >
> > > > > So I just did a video and posted it to the Royale slack channel ...
> > > > >
> > > > > I can't seem to reproduce the error ... perhaps if you check what
> > > > > I'm doing you can tell me if I'm doing something wrong.
> > > > > I did try to rule out that I might have not configured VSCode to
> > > > > use my distribution by intentionally changing the settings to a
> > > > > wrong
> > > location.
> > > > It
> > > > > didn't work then, and when I changed it back to the correct
> > > > > version, I could build again.
> > > > >
> > > > > Chris
> > > > >
> > > > >
> > > > > -----Ursprüngliche Nachricht-----
> > > > > Von: Carlos Rovira <ca...@apache.org>>
> > > > > Gesendet: Samstag, 20. Februar 2021 15:17
> > > > > An: Apache Royale Development <de...@royale.apache.org>>
> > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > > distribution
> > > > >
> > > > > Hi,
> > > > >
> > > > > sorry, yesterday was mostly offline for some personal things. Many
> > > > > things happen in this thread.
> > > > > I rebuild all today and check. This is what I can report trying to
> > > > > build TDJ with Maven SDK with Chris's changes.
> > > > > Setting my VSCode with AS3&MXML to the Maven SDK just generated:
> > > > >
> > > > > 1.- I can't build with CMD+SHIFT+ENTER, then "Build Debug with AS3
> > > > > Extension Tour de Jewel" (as josh said). I get :
> > > > >
> > > > > Executing task in folder TourDeJewel:
> > > > >
> > > > /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/b
> > > > in
> > > > /java
> > > > > -jar
> > > > >
> > > > >
> > > > /Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas
> > > > -1
> > > > .6.0/bin/asconfigc.jar
> > > > > --sdk /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
> > > > --debug=true
> > > > > --project
> > > > >
> > > > /Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/Tou
> > > > rD
> > > > eJewel/asconfig.json
> > > > > <
> > > > >
> > > > > Error: no se ha encontrado o cargado la clase principal
> > > > > org.apache.royale.compiler.clients.MXMLJSC
> > > > > The terminal process
> > > > >
> > > > >
> > > > "/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/
> > > > bi
> > > > n/java
> > > > > '-jar',
> > > > >
> > > > >
> > > > '/Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgena
> > > > s-
> > > > 1.6.0/bin/asconfigc.jar',
> > > > > '--sdk',
> > > > > '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven',
> > > > > '--debug=true', '--project',
> > > > >
> > > > >
> > > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/TourDeJewel/asconfig.json'"
> > > > > terminated with exit code: 1.
> > > > >
> > > > > Terminal will be reused by tasks, press any key to close it.
> > > > >
> > > > >
> > > > > 2.- I can build with CMD+ENTER. I get:
> > > > >
> > > > > Royale Compiler Shell
> > > > > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> > > > > --source-path+=src/main/resources --source-map=true
> > > > > --html-template=src/main/resources/jewel-example-index-template.ht
> > > > > ml
> > > > > --theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults
> > > > > .c ss -js-dynamic-access-unknown-members=true --
> > > > > src/main/royale/App.mxml
> > > > > fcsh: Assigned 1 as the compile target id The project 'App' has
> > > > > been successfully compiled and optimized.
> > > > > Compile status: 0
> > > > > Elapsed time: 26.925719521 seconds Feb 20, 2021 3:10:42 PM
> > > > > com.google.javascript.jscomp.LoggerErrorManager
> > > > > printSummary
> > > > > INFO: 0 error(s), 0 warning(s), 97.8% typed
> > > > > (fcsh)
> > > > >
> > > > > I don't understand fully the differences between one method and
> > > > > the other and why I get different results. I guess know what's
> > > > > happening is needed
> > > > so
> > > > > Chris can do the proper changes. probably there are paths and
> > > > > locations mixed.
> > > > >
> > > > > @Chris, one thing I did in the past was to compare maven
> > > > > distribution
> > > > with
> > > > > ant distribution so both has most of the things in the same place.
> > > > > I
> > > > think
> > > > > some files where left in more than one place (like mxmlc).
> > > > >
> > > > > If you could take a look at it, that will for sure fix the issue.
> > > > > You
> > > > have
> > > > > TDJ and the other project to test if that works and now we know
> > > > > that is better to try with CMD+SHIFT+ENTER, then "Build Debug with
> > > > > AS3 Extension Tour de Jewel"
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > El vie, 19 feb 2021 a las 18:45, Piotr Zarzycki (<
> > > > > piotrzarzycki21@gmail.com<ma...@gmail.com>>)
> > > > > escribió:
> > > > >
> > > > > > It looks like something bad has happened with my environment. I
> > > > > > changed lately Java settings a bit. You can see what is setup in
> > > > > > my
> > > > > stacktrace.
> > > > > >
> > > > > > I will get back to that over the weekend or on Monday.
> > > > > >
> > > > > > On Fri, 19 Feb 2021 at 18:24, Maria Jose Esteve
> > > > > > <mj...@iest.com>>
> > > > > wrote:
> > > > > >
> > > > > > > Hi,
> > > > > > > Piotr, I just tested your distribution with my project and the
> > > > > > compilation
> > > > > > > was successful, no errors.
> > > > > > > Running the application seems to be working fine too.
> > > > > > > (I compile the application with mvn)
> > > > > > >
> > > > > > > What do they need me to try now?
> > > > > > >
> > > > > > > Hiedra.
> > > > > > > -----Mensaje original-----
> > > > > > > De: Piotr Zarzycki <pi...@gmail.com>> Enviado el:
> > > > > > > viernes,
> > > > > > > 19 de febrero de 2021 18:11
> > > > > > > Para: Apache Royale Development <de...@royale.apache.org>>
> > > > > > > Asunto: Re: Align Maven IDE distribution with Ant IDE
> > > > > > > distribution
> > > > > > >
> > > > > > > Did you test my distribution ?
> > > > > > >
> > > > > > > pt., 19 lut 2021 o 18:00 Christofer Dutz
> > > > > > > <ch...@c-ware.de>>
> > > > > > > napisał(a):
> > > > > > >
> > > > > > > > So I did a bit more of testing.
> > > > > > > >
> > > > > > > > So after I had no issues building Carlos' example, I tried
> > > > > > > > the TourDeJewl example.
> > > > > > > > So I opened VSCode in the directory of TDJ example ...
> > > > > > > > created a settings.json with the folowing content:
> > > > > > > >
> > > > > > > > {
> > > > > > > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > > > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > > > > > > }
> > > > > > > >
> > > > > > > > Hit STRG+Enter and waited a bit ...
> > > > > > > >
> > > > > > > > Then I opened the output in Chrome and have a fully
> > > > > > > > functioning TDJ application.
> > > > > > > >
> > > > > > > > So I wouldn't consider the build broken.
> > > > > > > >
> > > > > > > > Chris
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > Von: Maria Jose Esteve <mj...@iest.com>>
> > > > > > > > Gesendet: Freitag, 19. Februar 2021 17:51
> > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Sure, that would be "expected", but like I told you: if I
> > > > > > > > change it to MXRoyaleJS.swc, the app "does nonsense".
> > > > > > > > Maybe something has gotten my way.
> > > > > > > >
> > > > > > > > I will read your messages and see if I can help with
> something.
> > > > > > > >
> > > > > > > > Hiedra.
> > > > > > > > -----Mensaje original-----
> > > > > > > > De: Christofer Dutz <ch...@c-ware.de>> Enviado el:
> > > > > > > > viernes,
> > > > > > > > 19 de febrero de 2021 14:12
> > > > > > > > Para: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Hi Hiedra,
> > > > > > > >
> > > > > > > > well I changed the distribution to make the names like in
> > > > > > > > the ANT distribution yesterday.
> > > > > > > > But you are passing in an argument telling the compiler to
> > > > > > > > use the old format and now it should be the new ...
> > > > > > > >
> > > > > > > > Try:
> > > > > > > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> > > > > > > > defaults.css; For -compiler.exclude-defaults-css-files =
> > > > > MXRoyaleJS.swc:
> > > > > > > > defaults.css;
> > > > > > > >
> > > > > > > > Instead of your variant.
> > > > > > > >
> > > > > > > > Chris
> > > > > > > >
> > > > > > > >
> > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > Von: Maria Jose Esteve <mj...@iest.com>>
> > > > > > > > Gesendet: Freitag, 19. Februar 2021 14:08
> > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Yes, until recently I also compiled only with Maven. Due to
> > > > > > > > the problem with the spark.css I started to do the double
> > > > > > > > compilation of
> > > > > > > MAVEN and ANT.
> > > > > > > >
> > > > > > > > It's funny, now, the swc's are not generated with
> > > > > > > > "xxxx-0.9.8-SNAPSHOT-js.swc" in the distribution BUT if in
> > > > > > > > the pom of my project I change in additionalCompilerOptions:
> > > > > > > > -compiler.exclude-defaults-css-files = MXRoyale - $
> > > > > > > > {royale.framework.version} -js.swc: defaults.css; For
> > > > > > > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> > > > > > > > defaults.css; My application starts to do nonsense (for
> > > > > > > > example the change of selectedContent in my
> > > > > > > > ApplicationMainContent does not display)
> > > > > > > >
> > > > > > > > Chris, thank you.
> > > > > > > > Hiedra
> > > > > > > >
> > > > > > > > -----Mensaje original-----
> > > > > > > > De: Christofer Dutz <ch...@c-ware.de>> Enviado el:
> > > > > > > > viernes,
> > > > > > > > 19 de febrero de 2021 13:09
> > > > > > > > Para: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Hi Hiedra,
> > > > > > > >
> > > > > > > > I have to admit that I've never used VSCode. Every time I do
> > > > > > > > any development I usually use one of the JetBrains IDEs.
> > > > > > > > Royale Stuff I do in IntelliJ ... with my "Flexmojos Hack"
> > > > > > > > it can be used quite well. And I always compile with Maven.
> > > > > > > >
> > > > > > > > But thanks for the explanation on why the other path is set
> > > > > > differently.
> > > > > > > >
> > > > > > > > I guess we'll have to wait till some others can tell me what
> > > > > > > > needs to be changed.
> > > > > > > >
> > > > > > > > Chris
> > > > > > > >
> > > > > > > >
> > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > Von: Maria Jose Esteve <mj...@iest.com>>
> > > > > > > > Gesendet: Freitag, 19. Februar 2021 12:48
> > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Hello Chris,
> > > > > > > > so that I can debug my changes in the SDK I need to set the
> > > > > > > > path of the "as3mxml.sdk.editor" to the asjs directory of my
> > > > > > > > fork, for this reason the path of the "
> as3mxml.sdk.framework"
> > > > > > > > points to the directory of the maven distribution and the
> > > "as3mxml.sdk.editor"
> > > > > > > > to
> > > > > > code.
> > > > > > > >
> > > > > > > > ">> I'm not getting any errors from VSCode. But well ... if
> > > > > > > > I hit
> > > > > > > > SHIFT+Enter it starts doing something where if failed prior
> > > > > > > > SHIFT+to my
> > > > > > > > >> changes this morning and is no longer complaining, but
> > > > > > > > >> it's also not
> > > > > > > > doing much (I can't see it create a "bin" directory)"
> > > > > > > >
> > > > > > > > I don't quite understand this ... possibly because of my
> > > > > > > > lack of
> > > > > > > knowledge.
> > > > > > > >
> > > > > > > > I have not tried Carlos's project but this afternoon I will
> > > > > > > > be able to do it and I will be able to give more details.
> > > > > > > >
> > > > > > > > Thx.
> > > > > > > > Hiedra.
> > > > > > > >
> > > > > > > > -----Mensaje original-----
> > > > > > > > De: Christofer Dutz <ch...@c-ware.de>> Enviado el:
> > > > > > > > viernes,
> > > > > > > > 19 de febrero de 2021 11:51
> > > > > > > > Para: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Hi Heidra,
> > > > > > > >
> > > > > > > > I just updated Carlos' example to have the same type of
> > > > > > > > setting (C:\\Temp\\RoyaleSDK is where I have my Maven build
> > > > > > > > generate the
> > > > > SDK):
> > > > > > > >
> > > > > > > > setings.js:
> > > > > > > > {
> > > > > > > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > > > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > > > > > > }
> > > > > > > >
> > > > > > > > workspace-code-workspace
> > > > > > > > {
> > > > > > > > "folders": [
> > > > > > > > {
> > > > > > > > "path": ".."
> > > > > > > > }
> > > > > > > > ],
> > > > > > > > "settings": {
> > > > > > > > "as3mxml.sdk.framework":
> "C:\\Temp\\RoyaleSDK",
> > > > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > > > > > > }
> > > > > > > > }
> > > > > > > >
> > > > > > > > I'm not getting any errors from VSCode. But well ... if I
> > > > > > > > hit
> > > > > > > > SHIFT+Enter it starts doing something where if failed prior
> > > > > > > > SHIFT+to my
> > > > > > > > changes this morning and is no longer complaining, but it's
> > > > > > > > also not doing much (I can't see it create a "bin"
> > > > > > > > directory)
> > > > > > > >
> > > > > > > > Chris
> > > > > > > >
> > > > > > > >
> > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > Von: Maria Jose Esteve <mj...@iest.com>>
> > > > > > > > Gesendet: Freitag, 19. Februar 2021 10:53
> > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > If I don't compile with ANT, the mxml extension in vsCode
> > > > > > > > IDE, it doesn't recognize the valid asjs directory for
> > > > "as3mxml.sdk.editor":
> > > > > > > > ...
> > > > > > > > "settings": {
> > > > > > > > "as3mxml.sdk.framework":
> > > > > > > > "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
> > > > > > > > "as3mxml.sdk.editor":
> > > > > > > > "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs"
> > > > > > > > <-------- [download folder repo royale-asjs]
> > > > > > > > }
> > > > > > > > }
> > > > > > > >
> > > > > > > > The error is:
> > > > > > > > " as3mxml.sdk.editor in settings does not point to a valid
> SDK.
> > > > > > > > Requires..."
> > > > > > > >
> > > > > > > > Thx.
> > > > > > > > Hiedra.
> > > > > > > >
> > > > > > > > -----Mensaje original-----
> > > > > > > > De: Piotr Zarzycki <pi...@gmail.com>> Enviado el:
> > > > > > > > viernes, 19 de febrero de 2021 10:44
> > > > > > > > Para: Apache Royale Development <de...@royale.apache.org>>
> > > > > > > > Asunto: Re: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Hi Chris,
> > > > > > > >
> > > > > > > > I just tried your changes and I have same issue. I need to
> > > > > > > > understand what has change enough significantly that it
> > > > > > > > causes compilation fail in such way. It doesn't happen with
> > > > > > > > SDK prepared
> > > > by
> > > > > ANT.
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > > Piotr
> > > > > > > >
> > > > > > > > pt., 19 lut 2021 o 10:33 Maria Jose Esteve
> > > > > > > > <mj...@iest.com>>
> > > > > > > napisał(a):
> > > > > > > >
> > > > > > > > > @Chris you're right, sorry, I didn't download your last
> > commit.
> > > > > > > > > I'm sorry.
> > > > > > > > > Hiedra.
> > > > > > > > >
> > > > > > > > > -----Mensaje original-----
> > > > > > > > > De: Christofer Dutz <ch...@c-ware.de>> Enviado
> el:
> > > > > > > > > viernes,
> > > > > > > > > 19 de febrero de 2021 10:17
> > > > > > > > > Para: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > > distribution
> > > > > > > > >
> > > > > > > > > I'll try to guess what you wanted to say here ...
> > > > > > > > >
> > > > > > > > > But I think these are exactly the changes I comitted a an
> > > > > > > > > hour ago,
> > > > > > > > right?
> > > > > > > > > At least in general I replaced all the references to names
> > > > > > > > > with versions to the changed ones.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Chris
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > Von: Maria Jose Esteve <mj...@iest.com>>
> > > > > > > > > Gesendet: Freitag, 19. Februar 2021 10:01
> > > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > > > > distribution
> > > > > > > > >
> > > > > > > > > Hi,
> > > > > > > > > Mi distribución hace referencia en el fichero
> > > > > > > > > "./frameworks/royale-config.xml" a las librerías:
> > > > > > > > >
> > > > > > > > > <js-external-library-path>
> > > > > > > > >
> > > > > > > > >
> > > > >
> <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.
> > > > > > > > > sw
> > > > > > > > > c</path-element>
> > > > > > > > >
> > > > > > > > >
> > > > > > > > <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-
> > > > > > > > ty
> > > > > > > > pede
> > > > > > > > fs.s
> > > > > > > > wc</path-element>
> > > > > > > > > </js-external-library-path>
> > > > > > > > >
> > > > > > > > > Las correctas son:
> > > > > > > > >
> > > > > > > > > <js-external-library-path>
> > > > > > > > >
> > > > > > >
> > > > > > > <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> > > > > > > > >
> > > > > > >
> > > > > > > <path-element>../js/libs/royale-typedefs-gcl.swc</path-element
> > > > > > > >
> > > > > > > > > </js-external-library-path>
> > > > > > > > >
> > > > > > > > > Hiedra
> > > > > > > > >
> > > > > > > > > -----Mensaje original-----
> > > > > > > > > De: Christofer Dutz <ch...@c-ware.de>> Enviado
> el:
> > > > > > > > > viernes,
> > > > > > > > > 19 de febrero de 2021 9:39
> > > > > > > > > Para: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > > distribution
> > > > > > > > >
> > > > > > > > > Ok,
> > > > > > > > >
> > > > > > > > > so the config xml files in the distribution were still
> > > > > > > > > pointing to the old names. I updated them all to now refer
> > > > > > > > > to
> > > the names.
> > > > > > > > > I tried things in Carlos' demo project, and I'm no-longer
> > > > > > > > > getting the errors, however compilation seems to take for
> > ever.
> > > > > > > > >
> > > > > > > > > Please try out the changes and tell me if there are any
> > > > > > > > > problems with
> > > > > > > > them.
> > > > > > > > >
> > > > > > > > > Chris
> > > > > > > > >
> > > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > Von: Christofer Dutz <ch...@c-ware.de>>
> > > > > > > > > Gesendet: Donnerstag, 18. Februar 2021 23:17
> > > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > > distribution
> > > > > > > > >
> > > > > > > > > Hi Carlos,
> > > > > > > > >
> > > > > > > > > I'll look into this tomorrow.
> > > > > > > > >
> > > > > > > > > Chris
> > > > > > > > >
> > > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > Von: Carlos Rovira <ca...@apache.org>>
> > > > > > > > > Gesendet: Donnerstag, 18. Februar 2021 17:49
> > > > > > > > > An: Apache Royale Development <de...@royale.apache.org>>
> > > > > > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > > > > > > distribution
> > > > > > > > >
> > > > > > > > > Hi, I think I talked very quickly, sorry, there seems to
> > > > > > > > > be a
> > > > > > problem.
> > > > > > > > >
> > > > > > > > > @Christofer Dutz <ch...@c-ware.de>> you can
> > > > > > > > > download this
> > > > > > > > > project:
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > https://github.com/apache/royale-asjs/files/6004363/Toggle
> > > > > > > > > Bu
> > > > > > > > > tton
> > > > > > > > > BarI
> > > > > > > > > ss
> > > > > > > > > ue.zip
> > > > > > > > >
> > > > > > > > > Then using VSCode with AS3&MXML and adding the Maven
> > > > distribution.
> > > > > > > > > Then hit CTRL+ENTER and you will get the following fail.
> > > > > > > > > Using ANT distribution is working fine.
> > > > > > > > > Can you take a look?
> > > > > > > > >
> > > > > > > > > Royale Compiler Shell
> > > > > > > > > (fcsh) mxmlc --debug=false +configname=royale
> > > > > > > > > --targets=JSRoyale --source-map=true
> > > > > > > > > --html-template=src/html/jewel-example-index-template.html
> > > > > > > > >
> > > > > > > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapph
> > > > > > > > > ir
> > > > > > > > > e-Th
> > > > > > > > > eme/
> > > > > > > > > sr
> > > > > > > > > c/main/resources/defaults.css
> > > > > > > > > --source-path+=src
> > > > > > > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyal
> > > > > > > > > --source-path+--library-path+eJ S.sw c
> > > > > > > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > > > > > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaul
> > > > > > > > > ts .css -js-dynamic-access-unknown-members=true --
> > > > > > > > > src/App.mxml
> > > > > > > > > fcsh: Assigned 1 as the compile target id The project 'App'
> > > > > > > > > has been successfully compiled and optimized.
> > > > > > > > > Compile status: 0
> > > > > > > > > Elapsed time: 14.211105399 seconds Feb 18, 2021 5:43:40 PM
> > > > > > > > > com.google.javascript.jscomp.LoggerErrorManager
> > > > > > > > > printSummary
> > > > > > > > > INFO: 0 error(s), 0 warning(s), 96.5% typed
> > > > > > > > > (fcsh) quit
> > > > > > > > > Compiler shell exited with code: 0 Royale Compiler Shell
> > > > > > > > > (fcsh) mxmlc --debug=false +configname=royale
> > > > > > > > > --targets=JSRoyale --source-map=true
> > > > > > > > > --html-template=src/html/jewel-example-index-template.html
> > > > > > > > >
> > > > > > > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapph
> > > > > > > > > ir
> > > > > > > > > e-Th
> > > > > > > > > eme/
> > > > > > > > > sr
> > > > > > > > > c/main/resources/defaults.css
> > > > > > > > > --source-path+=src
> > > > > > > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyal
> > > > > > > > > --source-path+--library-path+eJ S.sw c
> > > > > > > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > > > > > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaul
> > > > > > > > > ts .css -js-dynamic-access-unknown-members=true --
> > > > > > > > > src/App.mxml
> > > > > > > > > fcsh: Assigned 1 as the compile target id Compile status:
> > > > > > > > > 5 Elapsed
> > > > > > > time:
> > > > > > > > > 0.618407478 seconds
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > > > > > > > > col: 0 Error: unable to open
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
> > > > > > > > >
> > > > > > > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/fr
> > > > > > > > > am
> > > > > > > > > ewor
> > > > > > > > > ks/r
> > > > > > > > > oy
> > > > > > > > > ale-config.xml
> > > > > > > > > (line: 81)
> > > > > > > > >
> > > > > > > > > </js-external-library-path>
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > > > > > > > > col: 0 Error: unable to open
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
> > > > > > > > >
> > > > > > > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/fr
> > > > > > > > > am
> > > > > > > > > ewor
> > > > > > > > > ks/r
> > > > > > > > > oy
> > > > > > > > > ale-config.xml
> > > > > > > > > (line: 81)
> > > > > > > > >
> > > > > > > > > </js-external-library-path>
> > > > > > > > > (fcsh)
> > > > > > > > > Quick Compile failed. Errors in compiler output.
> > > > > > > > >
> > > > > > > > > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
> > > > > > > > > (<ca...@apache.org>>)
> > > > > > > > > escribió:
> > > > > > > > >
> > > > > > > > > > Hi,
> > > > > > > > > >
> > > > > > > > > > I rebuilt all from scratch just now and finally the
> > > > > > > > > > distribution too and tried in VSCode and all seems to
> > > > > > > > > > work fine
> > > > > for me.
> > > > > > > > > >
> > > > > > > > > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> > > > > > > > > > christofer.dutz@c-ware.de<ma...@c-ware.de>>) escribió:
> > > > > > > > > >
> > > > > > > > > >> Hi Piotr,
> > > > > > > > > >>
> > > > > > > > > >> that class is located in lib\external\flex-tool-api.jar
> > > > > > > > > >> At least in my distribution it's there and it contains
> > > > > > > > > >> the
> > > class.
> > > > > > > > > >>
> > > > > > > > > >> How are you calling the build that's failing?
> > > > > > > > > >>
> > > > > > > > > >> Chris
> > > > > > > > > >>
> > > > > > > > > >> -----Ursprüngliche Nachricht-----
> > > > > > > > > >> Von: Piotr Zarzycki <pi...@gmail.com>>
> > > > > > > > > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> > > > > > > > > >> An: Apache Royale Development <de...@royale.apache.org>>
> > > > > > > > > >> Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > > > > > > >> distribution
> > > > > > > > > >>
> > > > > > > > > >> Chris,
> > > > > > > > > >>
> > > > > > > > > >> I just checked and I'm not able build project anymore
> > > > > > > > > >> using
> > > > > > > > > distribution:
> > > > > > > > > >>
> > > > > > > > > >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
> > > > > > > > > >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
> > > > > > > > > >> -Xms356m -Xmx3000m
> > > > > > > > > >> : Error: Could not find or load main class
> > > > > > > > > >> org.apache.royale.compiler.clients.MXMLJSC
> > > > > > > > > >> : Caused by: java.lang.NoClassDefFoundError:
> > > > > > > > > >> org/apache/flex/tools/FlexTool
> > > > > > > > > >>
> > > > > > > > > >> I'm done for today, so I will answer anything tomorrow.
> > > > > > > > > >>
> > > > > > > > > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
> > > > > > > > > >> <ch...@c-ware.de>>
> > > > > > > > > >> napisał(a):
> > > > > > > > > >>
> > > > > > > > > >> > Ok ...
> > > > > > > > > >> >
> > > > > > > > > >> > so I just pushed another change. Now the distribution
> > > > > > > > > >> > should also contain an empty spark.css, just like the
> > > > > > > > > >> > Ant
> > > > one.
> > > > > > > > > >> >
> > > > > > > > > >> > Chris
> > > > > > > > > >> >
> > > > > > > > > >> >
> > > > > > > > > >> > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > Von: Christofer Dutz <ch...@c-ware.de>>
> > > > > > > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> > > > > > > > > >> > An: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > > >> > Betreff: AW: Align Maven IDE distribution with Ant
> > > > > > > > > >> > IDE distribution
> > > > > > > > > >> >
> > > > > > > > > >> > Ok,
> > > > > > > > > >> >
> > > > > > > > > >> > so that should now be fixed. Leaves the "spark.css"
> > > > > > > > > >> > Having had a look, it seems as if the Ant build
> > > > > > > > > >> > creates an empty
> > > > > > > > > >> spark.css.
> > > > > > > > > >> >
> > > > > > > > > >> > Is this all we need? If yes, then I'll have that in
> > > > > > > > > >> > ther in no
> > > > > > > time.
> > > > > > > > > >> >
> > > > > > > > > >> > Chris
> > > > > > > > > >> >
> > > > > > > > > >> > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > Von: Piotr Zarzycki <pi...@gmail.com>>
> > > > > > > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> > > > > > > > > >> > An: Apache Royale Development <de...@royale.apache.org>>
> > > > > > > > > >> > Betreff: Re: Align Maven IDE distribution with Ant
> > > > > > > > > >> > IDE distribution
> > > > > > > > > >> >
> > > > > > > > > >> > *(I assume that's in the "frameworks/js/libs"
> > > > > > > > > >> > directory? *
> > > > > > > > > >> >
> > > > > > > > > >> > Yes this is the directory.
> > > > > > > > > >> >
> > > > > > > > > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> > > > > > > > > >> > <ch...@c-ware.de>>
> > > > > > > > > >> > napisał(a):
> > > > > > > > > >> >
> > > > > > > > > >> > > Hi Piotr,
> > > > > > > > > >> > >
> > > > > > > > > >> > > Ok ... so Ant seems to be adding a "JS" to the end
> > > > > > > > > >> > > of every name (I assume that's in the
> > "frameworks/js/libs"
> > > > > directory?
> > > > > > > > > >> > >
> > > > > > > > > >> > > Also I'll try to find out where the "spark.css"
> > > > > > > > > >> > > should come from
> > > > > > > > ...
> > > > > > > > > >> > > and where it should go to.
> > > > > > > > > >> > >
> > > > > > > > > >> > > Chris
> > > > > > > > > >> > >
> > > > > > > > > >> > >
> > > > > > > > > >> > > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > > Von: Piotr Zarzycki <pi...@gmail.com>>
> > > > > > > > > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> > > > > > > > > >> > > An: Apache Royale Development
> > > > > > > > > >> > > <de...@royale.apache.org>>
> > > > > > > > > >> > > Betreff: Re: Align Maven IDE distribution with Ant
> > > > > > > > > >> > > IDE distribution
> > > > > > > > > >> > >
> > > > > > > > > >> > > Chris,
> > > > > > > > > >> > >
> > > > > > > > > >> > > Looks better but here is the comparision what I
> > > > > > > > > >> > > have in Ant distribution vs Maven distribution in
> > > > > > > > > >> > > case of
> > > names.
> > > > > > > > > >> > > On the left Ant distribution, on the right Maven.
> > > > > > > > > >> > > It is
> > > > > folder:
> > > > > > > > > >> > > frameworks\js\libs\ [1]
> > > > > > > > > >> > >
> > > > > > > > > >> > > [1] https://ibb.co/W2DzcDb
> > > > > > > > > >> > >
> > > > > > > > > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> > > > > > > > > >> > > <ch...@c-ware.de>>
> > > > > > > > > >> > > napisał(a):
> > > > > > > > > >> > >
> > > > > > > > > >> > > > And done ...
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > Now all elements in the distribution only consist
> > > > > > > > > >> > > > of their name and file-ending ... all versions
> > > > > > > > > >> > > > and classifiers have been
> > > > > > > > > removed.
> > > > > > > > > >> > > > Please provide me with feedback on if this solves
> > > > > > > > > >> > > > the
> > > > > > issues.
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > Chris
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > > > Von: Christofer Dutz <ch...@c-ware.de>>
> > > > > > > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> > > > > > > > > >> > > > An: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > > >> > > > Betreff: AW: Align Maven IDE distribution with
> > > > > > > > > >> > > > Ant IDE distribution
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > I'll probably have a fix for that in a few
> > > > > > > > > >> > > > minuntes
> > > ...
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > Chris
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > > > Von: Piotr Zarzycki <pi...@gmail.com>>
> > > > > > > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> > > > > > > > > >> > > > An: Apache Royale Development
> > > > > > > > > >> > > > <de...@royale.apache.org>>
> > > > > > > > > >> > > > Betreff: Re: Align Maven IDE distribution with
> > > > > > > > > >> > > > Ant IDE distribution
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > Chris,
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > No it's not about not picking up by IDE at all.
> > > > > > > > > >> > > > Moonshine and VSCode are able to build projects
> > > > > > > > > >> > > > using Maven distribution package! It is about
> > > > > > > > > >> > > > project which are mixed for example when user
> > > > > > > > > >> > > > wanted to use Jewel module + RemoteObject class
> > > > > > > > > >> > > > from MXRoyale module. In that case user need to
> > > > > > > > > >> > > > point explicilty as a compiler options in IDE
> > > > > > > > > >> > > > that he wanted to have SWC included and need to
> > > > > > > > > >> > > > exclude css from that swc to
> > > > > > > > > >> > > avoid problems.
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > It is happen like that:
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS
> > > > > > > > > >> > > > -js-library-path+.s
> > > > > > > > > >> > > > wc
> > > > > > > > > >> > > >
> > > > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> > > > > > > > > >> > > > cs
> > > > > > > > > >> > > > s
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > If I would like to use maven distribution user
> > > > > > > > > >> > > > need to know version for that compiler options.
> > > > > > > > > >> > > > It is even more tricky when your swc is called
> > > > > > > > > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.
> > > > > > > > > >> > > > cs
> > > > > > > > > >> > > > s
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > Thanks,
> > > > > > > > > >> > > > Piotr
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> > > > > > > > > >> > > > <ch...@c-ware.de>>
> > > > > > > > > >> > > > napisał(a):
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > > Hi Piotr,
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > And is really the version-suffix causing it to
> > > > > > > > > >> > > > > not be picked up by the IDEs?
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > Chris
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > > > > >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> > > > > > > > > >> > > > > An: dev@royale.apache.org
> > > > > > > > > >> > > > > Betreff: Re: Align Maven IDE distribution with
> > > > > > > > > >> > > > > Ant IDE distribution
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > Hi Chris,
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > This is the only thing which seems to be a
> > > > > > > > > >> > > > > constant problem
> > > > > > > > > here.
> > > > > > > > > >> > > > > I personally and some users will be much more
> > > > > > > > > >> > > > > happy having that
> > > > > > > > > >> > change.
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > Thanks,
> > > > > > > > > >> > > > > Piotr
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> > > > > > > > > >> > > > > <ch...@c-ware.de>
> > > > > > > > > >> > > > > wrote:
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > > Hi Piotr,
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > I'd be happy to help with that.
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > I did simply ask for a list of things that
> > > > > > > > > >> > > > > > need to be changed in order to get things
> > > > > > > > > >> > > > > > working, but never got said list, so I never
> > > > > > > > > >> > > > > > knew what I could do to make the Maven
> > > > > > > > > >> > > > > > distribution match up to the
> > > > > > > > > >> > > > Ant built one.
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > Chris
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > > > > > Von: Piotr Zarzycki
> > > > > > > > > >> > > > > > <pi...@gmail.com>
> > > > > > > > > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> > > > > > > > > >> > > > > > An: Apache Royale Development
> > > > > > > > > >> > > > > > <de...@royale.apache.org>
> > > > > > > > > >> > > > > > Betreff: Align Maven IDE distribution with
> > > > > > > > > >> > > > > > Ant IDE distribution
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > Hi Guys,
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > It's been couple of times when user complains
> > > > > > > > > >> > > > > > that he have problems with using Maven
> > > > > > > > > >> > > > > > distribution vs Ant distribution in IDE in a
> > > > > > > > > >> > > > > > mixed project Jewel + MX/Spark
> > > > > > > etc.
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > Can we have that resolve once for all and
> > > > > > > > > >> > > > > > adjust Maven distribution folder to produce
> > > > > > > > > >> > > > > > proper names of
> > > > > swcs ?
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > Currently when I build Maven IDE distribution
> > > > > > > > > >> > > > > > I
> > > > have:
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > When I build Ant IDE distribution I have:
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > MXRoyale-js.swc
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > Thanks,
> > > > > > > > > >> > > > > > --
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > Piotr Zarzycki
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > --
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > Piotr Zarzycki
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > --
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > Piotr Zarzycki
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> > >
> > > > > > > > > >> > > --
> > > > > > > > > >> > >
> > > > > > > > > >> > > Piotr Zarzycki
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >> >
> > > > > > > > > >> > --
> > > > > > > > > >> >
> > > > > > > > > >> > Piotr Zarzycki
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > > > >>
> > > > > > > > > >> --
> > > > > > > > > >>
> > > > > > > > > >> Piotr Zarzycki
> > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > Carlos Rovira
> > > > > > > > > > Apache Member & Apache Royale PMC *Apache Software
> > > > > > > > > > Foundation* http://about.me/carlosrovira
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > Carlos Rovira
> > > > > > > > > Apache Member & Apache Royale PMC *Apache Software
> > > > > > > > > Foundation* http://about.me/carlosrovira
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > >
> > > > > > > > Piotr Zarzycki
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > >
> > > > > > > Piotr Zarzycki
> > > > > > >
> > > > > > --
> > > > > >
> > > > > > Piotr Zarzycki
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Carlos Rovira
> > > > > Apache Member & Apache Royale PMC
> > > > > *Apache Software Foundation*
> > > > > http://about.me/carlosrovira
> > > > >
> > > >
> > > >
> > > > --
> > > > Carlos Rovira
> > > > Apache Member & Apache Royale PMC
> > > > *Apache Software Foundation*
> > > > http://about.me/carlosrovira
> > > >
> > >
> > >
> > > --
> > >
> > > Piotr Zarzycki
> > >
> >
>
--
Piotr Zarzycki
Re: Align Maven IDE distribution with Ant IDE distribution
Posted by Carlos Rovira <ca...@apache.org>.
Hi Chris,
no worries, you worked hard on this. But Many of us was working daily with
maven sdk dist (me included) and how people emailed warning about a problem
is a proof of that, so I really don't understand how it was working, maybe
it was because we have royale maven build done and was getting things from
.m2 instead of the sdk...just figuring.
El lun, 22 feb 2021 a las 19:24, Christofer Dutz (<ch...@c-ware.de>)
escribió:
> Yeah sorry for that ...
>
> And in general:
> I thought nobody was using the distribution as it "wasn't working".
> If I had known that this was acrtually used, I would have choosen a
> different approach.
>
> So if this caused any trouble, please accept my sincere appologies for
> that.
>
> Chris
>
> -----Ursprüngliche Nachricht-----
> Von: Carlos Rovira <ca...@apache.org>
> Gesendet: Montag, 22. Februar 2021 19:10
> An: Apache Royale Development <de...@royale.apache.org>
> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>
> Hi , just reverted two latest Chris commits since he's not available now
> and SWF is not totally done.
> We'll go over this as we can. But JS should be totally done. Take a look
> and let us know if something is not working for maven sdk distribution.
>
> thanks
>
> El lun, 22 feb 2021 a las 18:07, Christofer Dutz (<
> christofer.dutz@c-ware.de>)
> escribió:
>
> > Just added some more manifest files.
> >
> > Turns out that more modules were added to the project, but the
> > deistribution wasn't keept completely up to date.
> >
> > I added the missing ones, but still the SWF compilation of the MXRoyale
> > example seems to fail.
> >
> > If anyone can provide me with an explanation to how things need to be
> > changed to make it work, I'll be happy to do so.
> >
> > Chris
> >
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Christofer Dutz <ch...@c-ware.de>
> > Gesendet: Montag, 22. Februar 2021 17:12
> > An: dev@royale.apache.org
> > Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > And it turns out there was a double-inclusion of some libs in the js and
> > swf distribtuion parts, fixed that now.
> >
> > Now the distribution should look nice, even with enabled
> "option-with-swf"
> > profile.
> >
> > Chris
> >
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Carlos Rovira <ca...@apache.org>
> > Gesendet: Montag, 22. Februar 2021 13:17
> > An: Apache Royale Development <de...@royale.apache.org>
> > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi Chris,
> >
> > many thanks for the effort! I tried and now all seems to work fine for
> me.
> > Even the remote object example that was failing yesterday for Jason.
> > It need a fix that I just committed too.
> >
> > I think we have now a better and powerful Maven SDK distribution!! :D
> >
> >
> >
> > El lun, 22 feb 2021 a las 12:50, Christofer Dutz (<
> > christofer.dutz@c-ware.de>)
> > escribió:
> >
> > > Yeah,
> > >
> > > I wanted to build with swf, but unfortunately I setup my new Windows
> > > laptop this year and couldn't fetch the missing Adobe parts.
> > > Luckily Carlos sent me the missing files and I managed to fix things
> > >
> > > So I commented out the ACE module again, but created a Pull-Request to
> > > merge some changes in that could possibly fix the missing ACE module
> > > problem. It would however be cool, if Yishay could have a look at that
> > > (Seems he created the ACE module)
> > >
> > > You should now be good to go ... and sorry for all the noise ;)
> > >
> > > Chris
> > >
> > >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Maria Jose Esteve <mj...@iest.com>
> > > Gesendet: Montag, 22. Februar 2021 12:44
> > > An: dev@royale.apache.org
> > > Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > Without "option-with-swf" it compiles ok, but with "option-with-swf" it
> > > doesn't. As you have mentioned Ace needs some adjustment [1]
> > >
> > > When I manage to compile (without option-with-swf option) I can't
> compile
> > > any of my projects, in all I get the same <fx: Array> error
> > >
> > > [1]
> > > [INFO] --- royale-maven-plugin:0.9.8-SNAPSHOT:compile-as
> > > (default-compile-as) @ Ace ---
> > > [INFO] Executing COMPC in tool group Royale with args:
> > >
> >
> [-load-config=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs\frameworks\projects\Ace\target\compile-swf-config.xml,
> > > -js-default-initializers=false, -source-map=true,
> > > -source-map-source-root=/frameworks/projects/Ace/src/main/royale/,
> > > -js-complex-implicit-coercions=false, -js-vector-index-checks=false,
> > > -js-resolve-uncertain=false, -compiler.targets=SWF,JSRoyale,
> > > -compiler.strict-xml=true]
> > > args:
> > >
> > >
> >
> -load-config=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs\frameworks\projects\Ace\target\compile-swf-config.xml
> > > -js-default-initializers=false
> > > -source-map=true
> > > -source-map-source-root=/frameworks/projects/Ace/src/main/royale/
> > > -js-complex-implicit-coercions=false
> > > -js-vector-index-checks=false
> > > -js-resolve-uncertain=false
> > > -compiler.targets=SWF,JSRoyale
> > > -compiler.strict-xml=true
> > > target:SWF
> > > target:JSRoyale
> > > COMPC
> > > Loading configuration:
> > >
> >
> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs\frameworks\projects\Ace\target\compile-swf-config.xml
> > >
> > > 0.1429886 seconds
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [INFO] Reactor Summary for Apache Royale: Framework: Parent
> > 0.9.8-SNAPSHOT:
> > > [INFO]
> > > [INFO] Apache Royale: Framework: Parent ................... SUCCESS [
> > > 3.009 s]
> > > [INFO] Apache Royale: Framework ........................... SUCCESS [
> > > 0.303 s]
> > > [INFO] Apache Royale: Framework: Fonts .................... SUCCESS [
> > > 2.359 s]
> > > [INFO] Apache Royale: Framework: Libs ..................... SUCCESS [
> > > 0.745 s]
> > > [INFO] Apache Royale: Framework: Libs: Language ........... SUCCESS [
> > > 2.390 s]
> > > [INFO] Apache Royale: Framework: Libs: Core ............... SUCCESS [
> > > 6.662 s]
> > > [INFO] Apache Royale: Framework: Libs: Binding ............ SUCCESS [
> > > 1.049 s]
> > > [INFO] Apache Royale: Framework: Libs: Graphics ........... SUCCESS [
> > > 2.547 s]
> > > [INFO] Apache Royale: Framework: Libs: Collections ........ SUCCESS [
> > > 0.957 s]
> > > [INFO] Apache Royale: Framework: Libs: Basic .............. SUCCESS [
> > > 9.811 s]
> > > [INFO] Apache Royale: Framework: Libs: JQuery ............. SUCCESS [
> > > 0.732 s]
> > > [INFO] Apache Royale: Framework: Libs: Ace ................ FAILURE [
> > > 0.277 s]
> > > [INFO] Apache Royale: Framework: Libs: Charts ............. SKIPPED
> > >
> > > Thx.
> > > Hiedra.
> > >
> > > -----Mensaje original-----
> > > De: Christofer Dutz <ch...@c-ware.de>
> > > Enviado el: lunes, 22 de febrero de 2021 12:25
> > > Para: dev@royale.apache.org
> > > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > Ok ...
> > >
> > > After Carlos kindly provided me with the missing Adobe artifacts I
> could
> > > also try the "with-swf" build ... seems the ACE build needs some fixing
> > ...
> > > I'm on it.
> > >
> > > Chris
> > >
> > >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Maria Jose Esteve <mj...@iest.com>
> > > Gesendet: Montag, 22. Februar 2021 12:12
> > > An: dev@royale.apache.org
> > > Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > Flying 😝
> > >
> > >
> > >
> > > Hiedra
> > >
> > > -----Mensaje original-----
> > > De: Christofer Dutz <ch...@c-ware.de>
> > > Enviado el: lunes, 22 de febrero de 2021 12:09
> > > Para: dev@royale.apache.org
> > > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> > >
> > >
> > >
> > > Hi all,
> > >
> > >
> > >
> > >
> > >
> > > It seems Carlos reset the version of the compiler and updated the
> version
> > > in the asjs module.
> > >
> > > So it looks as if that's good (I really hate when things are out of
> sync
> > > ;) ).
> > >
> > >
> > >
> > > Anyways ... I just pushed some chaged to typedef to build the ACE
> typedef
> > > module
> > >
> > > And updated the asjs module to build the ACE framework module and fine
> > > tuned the distribution to add the missing swcs (JS and SWF).
> > >
> > >
> > >
> > > Please try out these changes.
> > >
> > >
> > >
> > >
> > >
> > > Chris
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > -----Ursprüngliche Nachricht-----
> > >
> > > Von: Piotr Zarzycki <piotrzarzycki21@gmail.com<mailto:
> > > piotrzarzycki21@gmail.com>>
> > >
> > > Gesendet: Montag, 22. Februar 2021 12:05
> > >
> > > An: Apache Royale Development <dev@royale.apache.org<mailto:
> > > dev@royale.apache.org>>
> > >
> > > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> > >
> > >
> > >
> > > We are using again compiler 0.9.8-SNAPSHOT yes ?
> > >
> > >
> > >
> > > pon., 22 lut 2021 o 12:01 Alina Kazi <alinakazi1990@gmail.com<mailto:
> > > alinakazi1990@gmail.com>> napisał(a):
> > >
> > >
> > >
> > > > Thanks Chris.
> > >
> > > >
> > >
> > > > On Mon, Feb 22, 2021 at 3:59 PM Maria Jose Esteve <mjesteve@iest.com
> > > <ma...@iest.com>>
> > >
> > > > wrote:
> > >
> > > >
> > >
> > > > > Thanks Chris, I'll be listening.
> > >
> > > > >
> > >
> > > > > Hiedra
> > >
> > > > > -----Mensaje original-----
> > >
> > > > > De: Christofer Dutz <christofer.dutz@c-ware.de<mailto:
> > > christofer.dutz@c-ware.de>>
> > >
> > > > > Enviado el: lunes, 22 de febrero de 2021 11:52
> > >
> > > > > Para: dev@royale.apache.org<ma...@royale.apache.org>
> > >
> > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > > >
> > >
> > > > > Hi all,
> > >
> > > > >
> > >
> > > > > so I had a look and it seems the distribution was missing a number
> of
> > >
> > > > > libraries, which seem to have been added, since I created the
> > >
> > > > distribution
> > >
> > > > > in 2016 ... Some modules were added after that, but not all. It
> seems
> > > all
> > >
> > > > > probelms you are reporting result from some of them missing. I
> added
> > > them
> > >
> > > > > and now they are correctly added to my distributions. I also
> compared
> > >
> > > > them
> > >
> > > > > with the ANT built version ... the last missing piece is the ACE
> > > module,
> > >
> > > > > which was disabled in Maven as the Ace typedef was not a maven
> > module.
> > > I
> > >
> > > > > took the liberty of creating a Maven typedef module for ace and
> > > re-added
> > >
> > > > > the ACE module to the Maven build and to the distribution.
> > >
> > > > >
> > >
> > > > > I'm currently testing a few things and will commit as soon as I'm
> > happy
> > >
> > > > > with my changes.
> > >
> > > > >
> > >
> > > > >
> > >
> > > > > Chris
> > >
> > > > >
> > >
> > > > >
> > >
> > > > > -----Ursprüngliche Nachricht-----
> > >
> > > > > Von: Alina Kazi <alinakazi1990@gmail.com<mailto:
> > > alinakazi1990@gmail.com>>
> > >
> > > > > Gesendet: Montag, 22. Februar 2021 11:26
> > >
> > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
> > >
> > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > > >
> > >
> > > > > Hi,
> > >
> > > > > I am also facing a problem with latest SDK.
> > >
> > > > > when I add something new in emulation and re-build SDK. when I
> > > recompile
> > >
> > > > > the application with the latest distribution , error in application
> > > does
> > >
> > > > > not go away that I already fixed in previous commit.
> > >
> > > > > It seems that the distribution does not have everything latest that
> > it
> > >
> > > > > should have.
> > >
> > > > >
> > >
> > > > > -Alina
> > >
> > > > >
> > >
> > > > > On Mon, Feb 22, 2021 at 3:20 PM Maria Jose Esteve <
> mjesteve@iest.com
> > > <ma...@iest.com>>
> > >
> > > > > wrote:
> > >
> > > > >
> > >
> > > > > > I can't work either.
> > >
> > > > > > With no Maven, Ant combination, always error: "Error <fx: Array>
> > This
> > >
> > > > > > tag could not be resolved to an ActionScript class ..."
> > >
> > > > > >
> > >
> > > > > > Do you know what happens? I am not able to understand or fix
> this.
> > >
> > > > > >
> > >
> > > > > > Hiedra.
> > >
> > > > > >
> > >
> > > > > > -----Mensaje original-----
> > >
> > > > > > De: Piotr Zarzycki <piotrzarzycki21@gmail.com<mailto:
> > > piotrzarzycki21@gmail.com>> Enviado el: lunes, 22
> > >
> > > > > > de febrero de 2021 11:03
> > >
> > > > > > Para: Apache Royale Development <dev@royale.apache.org<mailto:
> > > dev@royale.apache.org>>
> > >
> > > > > > Asunto: Re: Align Maven IDE distribution with Ant IDE
> distribution
> > >
> > > > > >
> > >
> > > > > > Hi Guys,
> > >
> > > > > >
> > >
> > > > > > I just tried new distribution and I'm able to build simple
> example.
> > >
> > > > > > However our Royale project is not building - I'm getting
> following
> > >
> > > > > > exception:
> > >
> > > > > >
> > >
> > > > > > : Exception in thread "main" java.lang.NoClassDefFoundError:
> > >
> > > > > > org/apache/commons/lang/StringEscapeUtils
> > >
> > > > > > : at
> > >
> > > > > >
> > >
> > > > > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.LiteralEmitter.emit(
> > >
> > > > > > LiteralEmitter.java:225)
> > >
> > > > > > : at
> > >
> > > > > >
> > >
> > > > > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > >
> > > > > > emitLiteral(JSRoyaleEmitter.java:1040)
> > >
> > > > > > : at
> > >
> > > > > > org.apache.royale.compiler.internal.codegen.as
> > >
> > > > > > .ASBlockWalker.visitLiteral(ASBlockWalker.java:479)
> > >
> > > > > > : at
> > >
> > > > > > org.apache.royale.compiler.internal.visitor.as
> > >
> > > > > > .ASNodeSwitch.handle(ASNodeSwitch.java:373)
> > >
> > > > > > : at
> > >
> > > > > > org.apache.royale.compiler.internal.visitor.as
> > >
> > > > > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> > >
> > > > > > : at
> > >
> > > > > > org.apache.royale.compiler.internal.visitor.as
> > >
> > > > > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> > >
> > > > > > : at
> > >
> > > > > > org.apache.royale.compiler.internal.codegen.as
> > >
> > > > > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> > >
> > > > > > : at
> > >
> > > > > >
> > >
> > > > > >
> > > org.apache.royale.compiler.internal.codegen.js.goog.JSGoogEmitter.emit
> > >
> > > > > > AssignedValue(JSGoogEmitter.java:965)
> > >
> > > > > > : at
> > >
> > > > > >
> > >
> > > > > >
> > > org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitAssignmen
> > >
> > > > > > tCoercion(JSEmitter.java:917)
> > >
> > > > > > : at
> > >
> > > > > >
> > >
> > > > > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > >
> > > > > > emitAssignmentCoercion(JSRoyaleEmitter.java:1558)
> > >
> > > > > > : at
> > >
> > > > > >
> > >
> > > > > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
> > >
> > > > > > sEmitter.emitContents(FunctionCallArgumentsEmitter.java:103)
> > >
> > > > > > : at
> > >
> > > > > >
> > >
> > > > > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
> > >
> > > > > > sEmitter.emit(FunctionCallArgumentsEmitter.java:50)
> > >
> > > > > > : at
> > >
> > > > > >
> > >
> > > > > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
> > >
> > > > > > sEmitter.emit(FunctionCallArgumentsEmitter.java:35)
> > >
> > > > > > : at
> > >
> > > > > >
> > >
> > > > > >
> > > org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitArguments
> > >
> > > > > > (JSEmitter.java:259)
> > >
> > > > > > : at
> > >
> > > > > >
> > >
> > > > > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > >
> > > > > > emitArguments(JSRoyaleEmitter.java:986)
> > >
> > > > > > : at
> > >
> > > > > >
> > >
> > > > > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallEmitter.
> > >
> > > > > > emit(FunctionCallEmitter.java:693)
> > >
> > > > > > : at
> > >
> > > > > >
> > >
> > > > > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > >
> > > > > > emitFunctionCall(JSRoyaleEmitter.java:906)
> > >
> > > > > > : at
> > >
> > > > > > org.apache.royale.compiler.internal.codegen.as
> > >
> > > > > > .ASBlockWalker.visitFunctionCall(ASBlockWalker.java:330)
> > >
> > > > > > : at
> > >
> > > > > > org.apache.royale.compiler.internal.visitor.as
> > >
> > > > > > .ASNodeSwitch.handle(ASNodeSwitch.java:207)
> > >
> > > > > > : at
> > >
> > > > > > org.apache.royale.compiler.internal.visitor.as
> > >
> > > > > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> > >
> > > > > > : at
> > >
> > > > > > org.apache.royale.compiler.internal.visitor.as
> > >
> > > > > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> > >
> > > > > > : at
> > >
> > > > > > org.apache.royale.compiler.internal.codegen.as
> > >
> > > > > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> > >
> > > > > > : at
> > >
> > > > > >
> > >
> > > > > >
> > > org.apache.royale.compiler.internal.codegen.js.goog.JSGoogEmitter.emit
> > >
> > > > > > AssignedValue(JSGoogEmitter.java:965)
> > >
> > > > > > : at
> > >
> > > > > >
> > >
> > > > > >
> > > org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitAssignmen
> > >
> > > > > > tCoercion(JSEmitter.java:917)
> > >
> > > > > > : at
> > >
> > > > > >
> > >
> > > > > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > >
> > > > > > emitAssignmentCoercion(JSRoyaleEmitter.java:1558)
> > >
> > > > > > : at
> > >
> > > > > >
> > >
> > > > > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.BinaryOperatorEmitte
> > >
> > > > > > r.super_emitBinaryOperator(BinaryOperatorEmitter.java:598)
> > >
> > > > > > : at
> > >
> > > > > >
> > >
> > > > > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.BinaryOperatorEmitte
> > >
> > > > > > r.emit(BinaryOperatorEmitter.java:500)
> > >
> > > > > > : at
> > >
> > > > > >
> > >
> > > > > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > >
> > > > > > emitBinaryOperator(JSRoyaleEmitter.java:1028)
> > >
> > > > > > : at
> > >
> > > > > > org.apache.royale.compiler.internal.codegen.as
> > >
> > > > > > .ASBlockWalker.visitBinaryOperator(ASBlockWalker.java:538)
> > >
> > > > > > : at
> > >
> > > > > > org.apache.royale.compiler.internal.visitor.as
> > >
> > > > > > .ASNodeSwitch.handle(ASNodeSwitch.java:348)
> > >
> > > > > > : at
> > >
> > > > > > org.apache.royale.compiler.internal.visitor.as
> > >
> > > > > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> > >
> > > > > > : at
> > >
> > > > > > org.apache.royale.compiler.internal.visitor.as
> > >
> > > > > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> > >
> > > > > > : at
> > >
> > > > > > org.apache.royale.compiler.internal.codegen.as
> > >
> > > > > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> > >
> > > > > > : at
> > >
> > > > > >
> > >
> > > > > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.StatementEmitter.emi
> > >
> > > > > > t(StatementEmitter.java:40)
> > >
> > > > > > : at
> > >
> > > > > >
> > >
> > > > > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.StatementEmitter.emi
> > >
> > > > > > t(StatementEmitter.java:29)
> > >
> > > > > > : at
> > >
> > > > > >
> > >
> > > > > >
> > > org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitStatement
> > >
> > > > > > (JSEmitter.java:349)
> > >
> > > > > > : at
> > >
> > > > > >
> > >
> > > > > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > >
> > > > > > emitStatement(JSRoyaleEmitter.java:1204)
> > >
> > > > > > : at
> > >
> > > > > > org.apache.royale.compiler.internal.codegen.as
> > >
> > > > > > .ASBlockWalker.visitBlock(ASBlockWalker.java:349)
> > >
> > > > > > : at
> > >
> > > > > > org.apache.royale.compiler.internal.visitor.as
> > >
> > > > > > .ASNodeSwitch.handle(ASNodeSwitch.java:278)
> > >
> > > > > > : at
> > >
> > > > > > org.apache.royale.compiler.internal.visitor.as
> > >
> > > > > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> > >
> > > > > > : at
> > >
> > > > > > org.apache.royale.compiler.internal.visitor.as
> > >
> > > > > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> > >
> > > > > > : at
> > >
> > > > > > org.apache.royale.compiler.internal.codegen.as
> > >
> > > > > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> > >
> > > > > > : at
> > >
> > > > > >
> > >
> > > > > >
> > > org.apache.royale.compiler.internal.codegen.as.ASEmitter.emitMethodSco
> > >
> > > > > > pe(ASEmitter.java:830)
> > >
> > > > > > : at
> > >
> > > > > >
> > >
> > > > > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.MethodEmitter.emit(M
> > >
> > > > > > ethodEmitter.java:160)
> > >
> > > > > > : at
> > >
> > > > > >
> > >
> > > > > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > >
> > > > > > emitMethod(JSRoyaleEmitter.java:891)
> > >
> > > > > > : at
> > >
> > > > > > org.apache.royale.compiler.internal.codegen.as
> > >
> > > > > > .ASBlockWalker.visitFunction(ASBlockWalker.java:290)
> > >
> > > > > > : at
> > >
> > > > > > org.apache.royale.compiler.internal.visitor.as
> > >
> > > > > > .ASNodeSwitch.handle(ASNodeSwitch.java:152)
> > >
> > > > > > : at
> > >
> > > > > > org.apache.royale.compiler.internal.visitor.as
> > >
> > > > > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> > >
> > > > > > : at
> > >
> > > > > > org.apache.royale.compiler.internal.visitor.as
> > >
> > > > > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> > >
> > > > > > : at
> > >
> > > > > > org.apache.royale.compiler.internal.codegen.as
> > >
> > > > > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> > >
> > > > > > : at
> > >
> > > > > >
> > >
> > > > > >
> > > org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmit
> > >
> > > > > > ter.emitScripts(MXMLRoyaleEmitter.java:2179)
> > >
> > > > > > : at
> > >
> > > > > >
> > >
> > > > > >
> > > org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmit
> > >
> > > > > > ter.emitDocument(MXMLRoyaleEmitter.java:899)
> > >
> > > > > > : at
> > >
> > > > > >
> > >
> > > > > >
> > > org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleBloc
> > >
> > > > > > kWalker.visitDocument(MXMLRoyaleBlockWalker.java:69)
> > >
> > > > > > : at
> > >
> > > > > >
> > >
> > > > > >
> > > org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle
> > >
> > > > > > (MXMLNodeSwitch.java:89)
> > >
> > > > > > : at
> > >
> > > > > >
> > >
> > > > > >
> > > org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(
> > >
> > > > > > MXMLBlockWalker.java:156)
> > >
> > > > > > : at
> > >
> > > > > >
> > >
> > > > > >
> > > org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleBloc
> > >
> > > > > > kWalker.visitFile(MXMLRoyaleBlockWalker.java:61)
> > >
> > > > > > : at
> > >
> > > > > >
> > >
> > > > > >
> > > org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle
> > >
> > > > > > (MXMLNodeSwitch.java:95)
> > >
> > > > > > : at
> > >
> > > > > >
> > >
> > > > > >
> > > org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(
> > >
> > > > > > MXMLBlockWalker.java:156)
> > >
> > > > > > : at
> > >
> > > > > >
> > >
> > > > > >
> > > org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.visit
> > >
> > > > > > CompilationUnit(MXMLBlockWalker.java:187)
> > >
> > > > > > : at
> > >
> > > > > >
> > >
> > > > > >
> > > org.apache.royale.compiler.internal.codegen.mxml.MXMLWriter.writeTo(MX
> > >
> > > > > > MLWriter.java:69)
> > >
> > > > > > : at
> > >
> > > > > >
> > >
> > > > > >
> > > org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale
> > >
> > > > > > .java:411)
> > >
> > > > > > : at
> > >
> > > > > >
> > >
> > > > > >
> > > org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRo
> > >
> > > > > > yale.java:259)
> > >
> > > > > > : at
> > >
> > > > > >
> > >
> > > > > >
> > > org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoy
> > >
> > > > > > ale.java:216)
> > >
> > > > > > : at
> > >
> > > > > >
> > > org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:36
> > >
> > > > > > 3)
> > >
> > > > > > : at
> > >
> > > > > >
> > > org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298
> > >
> > > > > > )
> > >
> > > > > > : at
> > >
> > > > > >
> > >
> > > > > >
> > > org.apache.royale.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.ja
> > >
> > > > > > va:256)
> > >
> > > > > > : at
> > > org.apache.royale.compiler.clients.MXMLJSC.main(MXMLJSC.java:238)
> > >
> > > > > > : Caused by: java.lang.ClassNotFoundException:
> > >
> > > > > > org.apache.commons.lang.StringEscapeUtils
> > >
> > > > > > : at
> > >
> > > > > >
> > >
> > > > > >
> > > java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClas
> > >
> > > > > > sLoader.java:582)
> > >
> > > > > > : at
> > >
> > > > > >
> > >
> > > > > >
> > > java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Cl
> > >
> > > > > > assLoaders.java:178)
> > >
> > > > > > : at
> > java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
> > >
> > > > > > : ... 67 more
> > >
> > > > > >
> > >
> > > > > > niedz., 21 lut 2021 o 18:57 Carlos Rovira <
> carlosrovira@apache.org
> > > <ma...@apache.org>>
> > >
> > > > > > napisał(a):
> > >
> > > > > >
> > >
> > > > > > > Hi,
> > >
> > > > > > >
> > >
> > > > > > > I worked today on this and finally could solve the problem. A
> > part
> > >
> > > > > > > from Chris changes we need a bit more changes since all was set
> > up
> > >
> > > > > > > from the compiler to use the old names. So class paths need to
> be
> > >
> > > > > > changed too there.
> > >
> > > > > > > Also Google Closure compiler need to be in jar mode instead of
> > >
> > > > > unpacked.
> > >
> > > > > > >
> > >
> > > > > > > Now I can use CMD (or CTRL) + SHIFT + B and select Debug or
> > Release
> > >
> > > > > > > option with Actionscript extension and all goes ok.
> > >
> > > > > > > When using CMD+ENTER I think VsCode use the experimental build
> in
> > >
> > > > > > > Josh extension and take the SDK in ROYALE_HOME, and since
> that's
> > > the
> > >
> > > > > > > one build in the repository with ANT all seems fine, but is not
> > >
> > > > > > > using the selected SDK, so the build is not using what you
> > expect.
> > >
> > > > > > >
> > >
> > > > > > > This is my output now using the Maven Distribution SDK:
> > >
> > > > > > >
> > >
> > > > > > >
> > >
> > > > > > >
> > >
> > > > > > >
> > >
> > > > > > >
> > >
> > > > > > >
> > >
> > > > > > >
> > >
> > > > > > >
> > >
> > > > > > >
> > >
> > > > > > >
> > >
> > > > > > >
> > >
> > > > > > >
> > >
> > > > > > >
> > >
> > > > > > >
> > >
> > > > > > >
> > >
> > > > > > >
> > >
> > > > > > >
> > >
> > > > > > >
> > >
> > > > > > >
> > >
> > > > > > > *> Executing task in folder TourDeJewel:
> > >
> > > > > > >
> > > /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/b
> > >
> > > > > > > in
> > >
> > > > > > > /java
> > >
> > > > > > > -jar
> > >
> > > > > > >
> > >
> > > > > > >
> > > /Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas
> > >
> > > > > > > -1
> > >
> > > > > > > .6.0/bin/asconfigc.jar --sdk
> > >
> > > > > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
> > > --debug=true
> > >
> > > > > > > --project
> > >
> > > > > > >
> > >
> > > > > > >
> > > /Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/Tou
> > >
> > > > > > > rD
> > >
> > > > > > > eJewel/asconfig.json
> > >
> > > > > > >
> > >
> > > > > > >
> > > <MXMLJSC+royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale
> > >
> > > > > > > -m
> > >
> > > > > > >
> > > aven/frameworks--debug=true+configname=royale--targets=JSRoyale--sou
> > >
> > > > > > > rc
> > >
> > > > > > >
> > > e-path+=src/main/resources--source-map=true--html-template=src/main/
> > >
> > > > > > > e-path+re
> > >
> > > > > > >
> > > sources/jewel-example-index-template.html--theme=${royalelib}/themes
> > >
> > > > > > > /J
> > >
> > > > > > >
> > > ewelTheme/src/main/resources/defaults.css-js-dynamic-access-unknown-
> > >
> > > > > > > me mbers=true--src/main/royale/App.mxmlThe
> > >
> > > > > > > project 'App' has been successfully compiled.12.80962843
> > >
> > > > > > > secondsTerminal will be reused by tasks, press any key to close
> > > it.*
> > >
> > > > > > >
> > >
> > > > > > >
> > >
> > > > > > >
> > >
> > > > > > >
> > >
> > > > > > >
> > >
> > > > > > >
> > >
> > > > > > > El sáb, 20 feb 2021 a las 18:16, Christofer Dutz (<
> > >
> > > > > > > christofer.dutz@c-ware.de<ma...@c-ware.de>>)
> > >
> > > > > > > escribió:
> > >
> > > > > > >
> > >
> > > > > > > > So I just did a video and posted it to the Royale slack
> channel
> > > ...
> > >
> > > > > > > >
> > >
> > > > > > > > I can't seem to reproduce the error ... perhaps if you check
> > what
> > >
> > > > > > > > I'm doing you can tell me if I'm doing something wrong.
> > >
> > > > > > > > I did try to rule out that I might have not configured VSCode
> > to
> > >
> > > > > > > > use my distribution by intentionally changing the settings
> to a
> > >
> > > > > > > > wrong
> > >
> > > > > > location.
> > >
> > > > > > > It
> > >
> > > > > > > > didn't work then, and when I changed it back to the correct
> > >
> > > > > > > > version, I could build again.
> > >
> > > > > > > >
> > >
> > > > > > > > Chris
> > >
> > > > > > > >
> > >
> > > > > > > >
> > >
> > > > > > > > -----Ursprüngliche Nachricht-----
> > >
> > > > > > > > Von: Carlos Rovira <carlosrovira@apache.org<mailto:
> > > carlosrovira@apache.org>>
> > >
> > > > > > > > Gesendet: Samstag, 20. Februar 2021 15:17
> > >
> > > > > > > > An: Apache Royale Development <dev@royale.apache.org<mailto:
> > > dev@royale.apache.org>>
> > >
> > > > > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >
> > > > > > > > distribution
> > >
> > > > > > > >
> > >
> > > > > > > > Hi,
> > >
> > > > > > > >
> > >
> > > > > > > > sorry, yesterday was mostly offline for some personal things.
> > > Many
> > >
> > > > > > > > things happen in this thread.
> > >
> > > > > > > > I rebuild all today and check. This is what I can report
> trying
> > > to
> > >
> > > > > > > > build TDJ with Maven SDK with Chris's changes.
> > >
> > > > > > > > Setting my VSCode with AS3&MXML to the Maven SDK just
> > generated:
> > >
> > > > > > > >
> > >
> > > > > > > > 1.- I can't build with CMD+SHIFT+ENTER, then "Build Debug
> with
> > > AS3
> > >
> > > > > > > > Extension Tour de Jewel" (as josh said). I get :
> > >
> > > > > > > >
> > >
> > > > > > > > Executing task in folder TourDeJewel:
> > >
> > > > > > > >
> > >
> > > > > > >
> > > /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/b
> > >
> > > > > > > in
> > >
> > > > > > > /java
> > >
> > > > > > > > -jar
> > >
> > > > > > > >
> > >
> > > > > > > >
> > >
> > > > > > >
> > > /Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas
> > >
> > > > > > > -1
> > >
> > > > > > > .6.0/bin/asconfigc.jar
> > >
> > > > > > > > --sdk /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
> > >
> > > > > > > --debug=true
> > >
> > > > > > > > --project
> > >
> > > > > > > >
> > >
> > > > > > >
> > > /Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/Tou
> > >
> > > > > > > rD
> > >
> > > > > > > eJewel/asconfig.json
> > >
> > > > > > > > <
> > >
> > > > > > > >
> > >
> > > > > > > > Error: no se ha encontrado o cargado la clase principal
> > >
> > > > > > > > org.apache.royale.compiler.clients.MXMLJSC
> > >
> > > > > > > > The terminal process
> > >
> > > > > > > >
> > >
> > > > > > > >
> > >
> > > > > > >
> > > "/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/
> > >
> > > > > > > bi
> > >
> > > > > > > n/java
> > >
> > > > > > > > '-jar',
> > >
> > > > > > > >
> > >
> > > > > > > >
> > >
> > > > > > >
> > > '/Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgena
> > >
> > > > > > > s-
> > >
> > > > > > > 1.6.0/bin/asconfigc.jar',
> > >
> > > > > > > > '--sdk',
> > >
> > > > > > > > '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven',
> > >
> > > > > > > > '--debug=true', '--project',
> > >
> > > > > > > >
> > >
> > > > > > > >
> > >
> > > > > > >
> > >
> > > > > >
> > >
> > > > >
> > >
> > > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/TourDeJewel/asconfig.json'"
> > >
> > > > > > > > terminated with exit code: 1.
> > >
> > > > > > > >
> > >
> > > > > > > > Terminal will be reused by tasks, press any key to close it.
> > >
> > > > > > > >
> > >
> > > > > > > >
> > >
> > > > > > > > 2.- I can build with CMD+ENTER. I get:
> > >
> > > > > > > >
> > >
> > > > > > > > Royale Compiler Shell
> > >
> > > > > > > > (fcsh) mxmlc --debug=false +configname=royale
> > --targets=JSRoyale
> > >
> > > > > > > > --source-path+=src/main/resources --source-map=true
> > >
> > > > > > > > --html-template=src/main/resources/
> > > jewel-example-index-template.ht
> > >
> > > > > > > > ml
> > >
> > > > > > > >
> > > --theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults
> > >
> > > > > > > > .c ss -js-dynamic-access-unknown-members=true --
> > >
> > > > > > > > src/main/royale/App.mxml
> > >
> > > > > > > > fcsh: Assigned 1 as the compile target id The project 'App'
> has
> > >
> > > > > > > > been successfully compiled and optimized.
> > >
> > > > > > > > Compile status: 0
> > >
> > > > > > > > Elapsed time: 26.925719521 seconds Feb 20, 2021 3:10:42 PM
> > >
> > > > > > > > com.google.javascript.jscomp.LoggerErrorManager
> > >
> > > > > > > > printSummary
> > >
> > > > > > > > INFO: 0 error(s), 0 warning(s), 97.8% typed
> > >
> > > > > > > > (fcsh)
> > >
> > > > > > > >
> > >
> > > > > > > > I don't understand fully the differences between one method
> and
> > >
> > > > > > > > the other and why I get different results. I guess know
> what's
> > >
> > > > > > > > happening is needed
> > >
> > > > > > > so
> > >
> > > > > > > > Chris can do the proper changes. probably there are paths and
> > >
> > > > > > > > locations mixed.
> > >
> > > > > > > >
> > >
> > > > > > > > @Chris, one thing I did in the past was to compare maven
> > >
> > > > > > > > distribution
> > >
> > > > > > > with
> > >
> > > > > > > > ant distribution so both has most of the things in the same
> > > place.
> > >
> > > > > > > > I
> > >
> > > > > > > think
> > >
> > > > > > > > some files where left in more than one place (like mxmlc).
> > >
> > > > > > > >
> > >
> > > > > > > > If you could take a look at it, that will for sure fix the
> > issue.
> > >
> > > > > > > > You
> > >
> > > > > > > have
> > >
> > > > > > > > TDJ and the other project to test if that works and now we
> know
> > >
> > > > > > > > that is better to try with CMD+SHIFT+ENTER, then "Build Debug
> > > with
> > >
> > > > > > > > AS3 Extension Tour de Jewel"
> > >
> > > > > > > >
> > >
> > > > > > > >
> > >
> > > > > > > >
> > >
> > > > > > > >
> > >
> > > > > > > > El vie, 19 feb 2021 a las 18:45, Piotr Zarzycki (<
> > >
> > > > > > > > piotrzarzycki21@gmail.com<mailto:piotrzarzycki21@gmail.com
> >>)
> > >
> > > > > > > > escribió:
> > >
> > > > > > > >
> > >
> > > > > > > > > It looks like something bad has happened with my
> > environment. I
> > >
> > > > > > > > > changed lately Java settings a bit. You can see what is
> setup
> > > in
> > >
> > > > > > > > > my
> > >
> > > > > > > > stacktrace.
> > >
> > > > > > > > >
> > >
> > > > > > > > > I will get back to that over the weekend or on Monday.
> > >
> > > > > > > > >
> > >
> > > > > > > > > On Fri, 19 Feb 2021 at 18:24, Maria Jose Esteve
> > >
> > > > > > > > > <mj...@iest.com>>
> > >
> > > > > > > > wrote:
> > >
> > > > > > > > >
> > >
> > > > > > > > > > Hi,
> > >
> > > > > > > > > > Piotr, I just tested your distribution with my project
> and
> > > the
> > >
> > > > > > > > > compilation
> > >
> > > > > > > > > > was successful, no errors.
> > >
> > > > > > > > > > Running the application seems to be working fine too.
> > >
> > > > > > > > > > (I compile the application with mvn)
> > >
> > > > > > > > > >
> > >
> > > > > > > > > > What do they need me to try now?
> > >
> > > > > > > > > >
> > >
> > > > > > > > > > Hiedra.
> > >
> > > > > > > > > > -----Mensaje original-----
> > >
> > > > > > > > > > De: Piotr Zarzycki <piotrzarzycki21@gmail.com<mailto:
> > > piotrzarzycki21@gmail.com>> Enviado el:
> > >
> > > > > > > > > > viernes,
> > >
> > > > > > > > > > 19 de febrero de 2021 18:11
> > >
> > > > > > > > > > Para: Apache Royale Development <dev@royale.apache.org
> > > <ma...@royale.apache.org>>
> > >
> > > > > > > > > > Asunto: Re: Align Maven IDE distribution with Ant IDE
> > >
> > > > > > > > > > distribution
> > >
> > > > > > > > > >
> > >
> > > > > > > > > > Did you test my distribution ?
> > >
> > > > > > > > > >
> > >
> > > > > > > > > > pt., 19 lut 2021 o 18:00 Christofer Dutz
> > >
> > > > > > > > > > <christofer.dutz@c-ware.de<mailto:
> > christofer.dutz@c-ware.de
> > > >>
> > >
> > > > > > > > > > napisał(a):
> > >
> > > > > > > > > >
> > >
> > > > > > > > > > > So I did a bit more of testing.
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > So after I had no issues building Carlos' example, I
> > tried
> > >
> > > > > > > > > > > the TourDeJewl example.
> > >
> > > > > > > > > > > So I opened VSCode in the directory of TDJ example ...
> > >
> > > > > > > > > > > created a settings.json with the folowing content:
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > {
> > >
> > > > > > > > > > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > >
> > > > > > > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > >
> > > > > > > > > > > }
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > Hit STRG+Enter and waited a bit ...
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > Then I opened the output in Chrome and have a fully
> > >
> > > > > > > > > > > functioning TDJ application.
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > So I wouldn't consider the build broken.
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > Chris
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > -----Ursprüngliche Nachricht-----
> > >
> > > > > > > > > > > Von: Maria Jose Esteve <mjesteve@iest.com<mailto:
> > > mjesteve@iest.com>>
> > >
> > > > > > > > > > > Gesendet: Freitag, 19. Februar 2021 17:51
> > >
> > > > > > > > > > > An: dev@royale.apache.org<mailto:dev@royale.apache.org
> >
> > >
> > > > > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > >
> > > > > > > > > > > distribution
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > Sure, that would be "expected", but like I told you:
> if I
> > >
> > > > > > > > > > > change it to MXRoyaleJS.swc, the app "does nonsense".
> > >
> > > > > > > > > > > Maybe something has gotten my way.
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > I will read your messages and see if I can help with
> > >
> > > > something.
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > Hiedra.
> > >
> > > > > > > > > > > -----Mensaje original-----
> > >
> > > > > > > > > > > De: Christofer Dutz <christofer.dutz@c-ware.de<mailto:
> > > christofer.dutz@c-ware.de>> Enviado el:
> > >
> > > > > > > > > > > viernes,
> > >
> > > > > > > > > > > 19 de febrero de 2021 14:12
> > >
> > > > > > > > > > > Para: dev@royale.apache.org<mailto:
> dev@royale.apache.org
> > >
> > >
> > > > > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > >
> > > > > > > > > > > distribution
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > Hi Hiedra,
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > well I changed the distribution to make the names like
> in
> > >
> > > > > > > > > > > the ANT distribution yesterday.
> > >
> > > > > > > > > > > But you are passing in an argument telling the compiler
> > to
> > >
> > > > > > > > > > > use the old format and now it should be the new ...
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > Try:
> > >
> > > > > > > > > > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> > >
> > > > > > > > > > > defaults.css; For -compiler.exclude-defaults-css-files
> =
> > >
> > > > > > > > MXRoyaleJS.swc:
> > >
> > > > > > > > > > > defaults.css;
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > Instead of your variant.
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > Chris
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > -----Ursprüngliche Nachricht-----
> > >
> > > > > > > > > > > Von: Maria Jose Esteve <mjesteve@iest.com<mailto:
> > > mjesteve@iest.com>>
> > >
> > > > > > > > > > > Gesendet: Freitag, 19. Februar 2021 14:08
> > >
> > > > > > > > > > > An: dev@royale.apache.org<mailto:dev@royale.apache.org
> >
> > >
> > > > > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > >
> > > > > > > > > > > distribution
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > Yes, until recently I also compiled only with Maven.
> Due
> > to
> > >
> > > > > > > > > > > the problem with the spark.css I started to do the
> double
> > >
> > > > > > > > > > > compilation of
> > >
> > > > > > > > > > MAVEN and ANT.
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > It's funny, now, the swc's are not generated with
> > >
> > > > > > > > > > > "xxxx-0.9.8-SNAPSHOT-js.swc" in the distribution BUT if
> > in
> > >
> > > > > > > > > > > the pom of my project I change in
> > > additionalCompilerOptions:
> > >
> > > > > > > > > > > -compiler.exclude-defaults-css-files = MXRoyale - $
> > >
> > > > > > > > > > > {royale.framework.version} -js.swc: defaults.css; For
> > >
> > > > > > > > > > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> > >
> > > > > > > > > > > defaults.css; My application starts to do nonsense (for
> > >
> > > > > > > > > > > example the change of selectedContent in my
> > >
> > > > > > > > > > > ApplicationMainContent does not display)
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > Chris, thank you.
> > >
> > > > > > > > > > > Hiedra
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > -----Mensaje original-----
> > >
> > > > > > > > > > > De: Christofer Dutz <christofer.dutz@c-ware.de<mailto:
> > > christofer.dutz@c-ware.de>> Enviado el:
> > >
> > > > > > > > > > > viernes,
> > >
> > > > > > > > > > > 19 de febrero de 2021 13:09
> > >
> > > > > > > > > > > Para: dev@royale.apache.org<mailto:
> dev@royale.apache.org
> > >
> > >
> > > > > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > >
> > > > > > > > > > > distribution
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > Hi Hiedra,
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > I have to admit that I've never used VSCode. Every
> time I
> > > do
> > >
> > > > > > > > > > > any development I usually use one of the JetBrains
> IDEs.
> > >
> > > > > > > > > > > Royale Stuff I do in IntelliJ ... with my "Flexmojos
> > Hack"
> > >
> > > > > > > > > > > it can be used quite well. And I always compile with
> > Maven.
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > But thanks for the explanation on why the other path is
> > set
> > >
> > > > > > > > > differently.
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > I guess we'll have to wait till some others can tell me
> > > what
> > >
> > > > > > > > > > > needs to be changed.
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > Chris
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > -----Ursprüngliche Nachricht-----
> > >
> > > > > > > > > > > Von: Maria Jose Esteve <mjesteve@iest.com<mailto:
> > > mjesteve@iest.com>>
> > >
> > > > > > > > > > > Gesendet: Freitag, 19. Februar 2021 12:48
> > >
> > > > > > > > > > > An: dev@royale.apache.org<mailto:dev@royale.apache.org
> >
> > >
> > > > > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > >
> > > > > > > > > > > distribution
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > Hello Chris,
> > >
> > > > > > > > > > > so that I can debug my changes in the SDK I need to set
> > the
> > >
> > > > > > > > > > > path of the "as3mxml.sdk.editor" to the asjs directory
> of
> > > my
> > >
> > > > > > > > > > > fork, for this reason the path of the "
> > >
> > > > as3mxml.sdk.framework"
> > >
> > > > > > > > > > > points to the directory of the maven distribution and
> the
> > >
> > > > > > "as3mxml.sdk.editor"
> > >
> > > > > > > > > > > to
> > >
> > > > > > > > > code.
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > ">> I'm not getting any errors from VSCode. But well
> ...
> > if
> > >
> > > > > > > > > > > I hit
> > >
> > > > > > > > > > > SHIFT+Enter it starts doing something where if failed
> > prior
> > >
> > > > > > > > > > > SHIFT+to my
> > >
> > > > > > > > > > > >> changes this morning and is no longer complaining,
> but
> > >
> > > > > > > > > > > >> it's also not
> > >
> > > > > > > > > > > doing much (I can't see it create a "bin" directory)"
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > I don't quite understand this ... possibly because of
> my
> > >
> > > > > > > > > > > lack of
> > >
> > > > > > > > > > knowledge.
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > I have not tried Carlos's project but this afternoon I
> > will
> > >
> > > > > > > > > > > be able to do it and I will be able to give more
> details.
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > Thx.
> > >
> > > > > > > > > > > Hiedra.
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > -----Mensaje original-----
> > >
> > > > > > > > > > > De: Christofer Dutz <christofer.dutz@c-ware.de<mailto:
> > > christofer.dutz@c-ware.de>> Enviado el:
> > >
> > > > > > > > > > > viernes,
> > >
> > > > > > > > > > > 19 de febrero de 2021 11:51
> > >
> > > > > > > > > > > Para: dev@royale.apache.org<mailto:
> dev@royale.apache.org
> > >
> > >
> > > > > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > >
> > > > > > > > > > > distribution
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > Hi Heidra,
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > I just updated Carlos' example to have the same type of
> > >
> > > > > > > > > > > setting (C:\\Temp\\RoyaleSDK is where I have my Maven
> > build
> > >
> > > > > > > > > > > generate the
> > >
> > > > > > > > SDK):
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > setings.js:
> > >
> > > > > > > > > > > {
> > >
> > > > > > > > > > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > >
> > > > > > > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > >
> > > > > > > > > > > }
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > workspace-code-workspace
> > >
> > > > > > > > > > > {
> > >
> > > > > > > > > > > "folders": [
> > >
> > > > > > > > > > > {
> > >
> > > > > > > > > > > "path": ".."
> > >
> > > > > > > > > > > }
> > >
> > > > > > > > > > > ],
> > >
> > > > > > > > > > > "settings": {
> > >
> > > > > > > > > > > "as3mxml.sdk.framework":
> > >
> > > > "C:\\Temp\\RoyaleSDK",
> > >
> > > > > > > > > > > "as3mxml.sdk.editor":
> > "C:\\Temp\\RoyaleSDK"
> > >
> > > > > > > > > > > }
> > >
> > > > > > > > > > > }
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > I'm not getting any errors from VSCode. But well ...
> if I
> > >
> > > > > > > > > > > hit
> > >
> > > > > > > > > > > SHIFT+Enter it starts doing something where if failed
> > prior
> > >
> > > > > > > > > > > SHIFT+to my
> > >
> > > > > > > > > > > changes this morning and is no longer complaining, but
> > it's
> > >
> > > > > > > > > > > also not doing much (I can't see it create a "bin"
> > >
> > > > > > > > > > > directory)
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > Chris
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > -----Ursprüngliche Nachricht-----
> > >
> > > > > > > > > > > Von: Maria Jose Esteve <mjesteve@iest.com<mailto:
> > > mjesteve@iest.com>>
> > >
> > > > > > > > > > > Gesendet: Freitag, 19. Februar 2021 10:53
> > >
> > > > > > > > > > > An: dev@royale.apache.org<mailto:dev@royale.apache.org
> >
> > >
> > > > > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > >
> > > > > > > > > > > distribution
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > If I don't compile with ANT, the mxml extension in
> vsCode
> > >
> > > > > > > > > > > IDE, it doesn't recognize the valid asjs directory for
> > >
> > > > > > > "as3mxml.sdk.editor":
> > >
> > > > > > > > > > > ...
> > >
> > > > > > > > > > > "settings": {
> > >
> > > > > > > > > > > "as3mxml.sdk.framework":
> > >
> > > > > > > > > > > "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
> > >
> > > > > > > > > > > "as3mxml.sdk.editor":
> > >
> > > > > > > > > > > "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs"
> > >
> > > > > > > > > > > <-------- [download folder repo royale-asjs]
> > >
> > > > > > > > > > > }
> > >
> > > > > > > > > > > }
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > The error is:
> > >
> > > > > > > > > > > " as3mxml.sdk.editor in settings does not point to a
> > valid
> > >
> > > > SDK.
> > >
> > > > > > > > > > > Requires..."
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > Thx.
> > >
> > > > > > > > > > > Hiedra.
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > -----Mensaje original-----
> > >
> > > > > > > > > > > De: Piotr Zarzycki <piotrzarzycki21@gmail.com<mailto:
> > > piotrzarzycki21@gmail.com>> Enviado el:
> > >
> > > > > > > > > > > viernes, 19 de febrero de 2021 10:44
> > >
> > > > > > > > > > > Para: Apache Royale Development <dev@royale.apache.org
> > > <ma...@royale.apache.org>>
> > >
> > > > > > > > > > > Asunto: Re: Align Maven IDE distribution with Ant IDE
> > >
> > > > > > > > > > > distribution
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > Hi Chris,
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > I just tried your changes and I have same issue. I need
> > to
> > >
> > > > > > > > > > > understand what has change enough significantly that it
> > >
> > > > > > > > > > > causes compilation fail in such way. It doesn't happen
> > with
> > >
> > > > > > > > > > > SDK prepared
> > >
> > > > > > > by
> > >
> > > > > > > > ANT.
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > Thanks,
> > >
> > > > > > > > > > > Piotr
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > pt., 19 lut 2021 o 10:33 Maria Jose Esteve
> > >
> > > > > > > > > > > <mj...@iest.com>>
> > >
> > > > > > > > > > napisał(a):
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > > @Chris you're right, sorry, I didn't download your
> last
> > >
> > > > > commit.
> > >
> > > > > > > > > > > > I'm sorry.
> > >
> > > > > > > > > > > > Hiedra.
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > > > -----Mensaje original-----
> > >
> > > > > > > > > > > > De: Christofer Dutz <christofer.dutz@c-ware.de
> <mailto:
> > > christofer.dutz@c-ware.de>> Enviado
> > >
> > > > el:
> > >
> > > > > > > > > > > > viernes,
> > >
> > > > > > > > > > > > 19 de febrero de 2021 10:17
> > >
> > > > > > > > > > > > Para: dev@royale.apache.org<mailto:
> > dev@royale.apache.org
> > > >
> > >
> > > > > > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > >
> > > > > > > > > > > > distribution
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > > > I'll try to guess what you wanted to say here ...
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > > > But I think these are exactly the changes I comitted
> a
> > an
> > >
> > > > > > > > > > > > hour ago,
> > >
> > > > > > > > > > > right?
> > >
> > > > > > > > > > > > At least in general I replaced all the references to
> > > names
> > >
> > > > > > > > > > > > with versions to the changed ones.
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > > > Chris
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > > > -----Ursprüngliche Nachricht-----
> > >
> > > > > > > > > > > > Von: Maria Jose Esteve <mjesteve@iest.com<mailto:
> > > mjesteve@iest.com>>
> > >
> > > > > > > > > > > > Gesendet: Freitag, 19. Februar 2021 10:01
> > >
> > > > > > > > > > > > An: dev@royale.apache.org<mailto:
> dev@royale.apache.org
> > >
> > >
> > > > > > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant
> IDE
> > >
> > > > > > > > > > > > distribution
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > > > Hi,
> > >
> > > > > > > > > > > > Mi distribución hace referencia en el fichero
> > >
> > > > > > > > > > > > "./frameworks/royale-config.xml" a las librerías:
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > > > <js-external-library-path>
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > > >
> > >
> > > > > > > >
> > >
> > > > <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.
> > >
> > > > > > > > > > > > sw
> > >
> > > > > > > > > > > > c</path-element>
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > >
> > > <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-
> > >
> > > > > > > > > > > ty
> > >
> > > > > > > > > > > pede
> > >
> > > > > > > > > > > fs.s
> > >
> > > > > > > > > > > wc</path-element>
> > >
> > > > > > > > > > > > </js-external-library-path>
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > > > Las correctas son:
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > > > <js-external-library-path>
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > >
> > >
> > > > > > > > > >
> > > <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > >
> > >
> > > > > > > > > >
> > > <path-element>../js/libs/royale-typedefs-gcl.swc</path-element
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > > </js-external-library-path>
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > > > Hiedra
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > > > -----Mensaje original-----
> > >
> > > > > > > > > > > > De: Christofer Dutz <christofer.dutz@c-ware.de
> <mailto:
> > > christofer.dutz@c-ware.de>> Enviado
> > >
> > > > el:
> > >
> > > > > > > > > > > > viernes,
> > >
> > > > > > > > > > > > 19 de febrero de 2021 9:39
> > >
> > > > > > > > > > > > Para: dev@royale.apache.org<mailto:
> > dev@royale.apache.org
> > > >
> > >
> > > > > > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > >
> > > > > > > > > > > > distribution
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > > > Ok,
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > > > so the config xml files in the distribution were
> still
> > >
> > > > > > > > > > > > pointing to the old names. I updated them all to now
> > > refer
> > >
> > > > > > > > > > > > to
> > >
> > > > > > the names.
> > >
> > > > > > > > > > > > I tried things in Carlos' demo project, and I'm
> > no-longer
> > >
> > > > > > > > > > > > getting the errors, however compilation seems to take
> > for
> > >
> > > > > ever.
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > > > Please try out the changes and tell me if there are
> any
> > >
> > > > > > > > > > > > problems with
> > >
> > > > > > > > > > > them.
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > > > Chris
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > > > -----Ursprüngliche Nachricht-----
> > >
> > > > > > > > > > > > Von: Christofer Dutz <christofer.dutz@c-ware.de
> > <mailto:
> > > christofer.dutz@c-ware.de>>
> > >
> > > > > > > > > > > > Gesendet: Donnerstag, 18. Februar 2021 23:17
> > >
> > > > > > > > > > > > An: dev@royale.apache.org<mailto:
> dev@royale.apache.org
> > >
> > >
> > > > > > > > > > > > Betreff: AW: Align Maven IDE distribution with Ant
> IDE
> > >
> > > > > > > > > > > > distribution
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > > > Hi Carlos,
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > > > I'll look into this tomorrow.
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > > > Chris
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > > > -----Ursprüngliche Nachricht-----
> > >
> > > > > > > > > > > > Von: Carlos Rovira <carlosrovira@apache.org<mailto:
> > > carlosrovira@apache.org>>
> > >
> > > > > > > > > > > > Gesendet: Donnerstag, 18. Februar 2021 17:49
> > >
> > > > > > > > > > > > An: Apache Royale Development <dev@royale.apache.org
> > > <ma...@royale.apache.org>>
> > >
> > > > > > > > > > > > Betreff: Re: Align Maven IDE distribution with Ant
> IDE
> > >
> > > > > > > > > > > > distribution
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > > > Hi, I think I talked very quickly, sorry, there seems
> > to
> > >
> > > > > > > > > > > > be a
> > >
> > > > > > > > > problem.
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > > > @Christofer Dutz <christofer.dutz@c-ware.de<mailto:
> > > christofer.dutz@c-ware.de>> you can
> > >
> > > > > > > > > > > > download this
> > >
> > > > > > > > > > > > project:
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > > >
> > > https://github.com/apache/royale-asjs/files/6004363/Toggle
> > >
> > > > > > > > > > > > Bu
> > >
> > > > > > > > > > > > tton
> > >
> > > > > > > > > > > > BarI
> > >
> > > > > > > > > > > > ss
> > >
> > > > > > > > > > > > ue.zip
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > > > Then using VSCode with AS3&MXML and adding the Maven
> > >
> > > > > > > distribution.
> > >
> > > > > > > > > > > > Then hit CTRL+ENTER and you will get the following
> > fail.
> > >
> > > > > > > > > > > > Using ANT distribution is working fine.
> > >
> > > > > > > > > > > > Can you take a look?
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > > > Royale Compiler Shell
> > >
> > > > > > > > > > > > (fcsh) mxmlc --debug=false +configname=royale
> > >
> > > > > > > > > > > > --targets=JSRoyale --source-map=true
> > >
> > > > > > > > > > > >
> > > --html-template=src/html/jewel-example-index-template.html
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > > >
> > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapph
> > >
> > > > > > > > > > > > ir
> > >
> > > > > > > > > > > > e-Th
> > >
> > > > > > > > > > > > eme/
> > >
> > > > > > > > > > > > sr
> > >
> > > > > > > > > > > > c/main/resources/defaults.css
> > >
> > > > > > > > > > > > --source-path+=src
> > >
> > > > > > > > > > > >
> > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyal
> > >
> > > > > > > > > > > > --source-path+--library-path+eJ S.sw c
> > >
> > > > > > > > > > > >
> --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > >
> > > > > > > > > > > >
> > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaul
> > >
> > > > > > > > > > > > ts .css -js-dynamic-access-unknown-members=true --
> > >
> > > > > > > > > > > > src/App.mxml
> > >
> > > > > > > > > > > > fcsh: Assigned 1 as the compile target id The project
> > > 'App'
> > >
> > > > > > > > > > > > has been successfully compiled and optimized.
> > >
> > > > > > > > > > > > Compile status: 0
> > >
> > > > > > > > > > > > Elapsed time: 14.211105399 seconds Feb 18, 2021
> 5:43:40
> > > PM
> > >
> > > > > > > > > > > > com.google.javascript.jscomp.LoggerErrorManager
> > >
> > > > > > > > > > > > printSummary
> > >
> > > > > > > > > > > > INFO: 0 error(s), 0 warning(s), 96.5% typed
> > >
> > > > > > > > > > > > (fcsh) quit
> > >
> > > > > > > > > > > > Compiler shell exited with code: 0 Royale Compiler
> > Shell
> > >
> > > > > > > > > > > > (fcsh) mxmlc --debug=false +configname=royale
> > >
> > > > > > > > > > > > --targets=JSRoyale --source-map=true
> > >
> > > > > > > > > > > >
> > > --html-template=src/html/jewel-example-index-template.html
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > > >
> > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapph
> > >
> > > > > > > > > > > > ir
> > >
> > > > > > > > > > > > e-Th
> > >
> > > > > > > > > > > > eme/
> > >
> > > > > > > > > > > > sr
> > >
> > > > > > > > > > > > c/main/resources/defaults.css
> > >
> > > > > > > > > > > > --source-path+=src
> > >
> > > > > > > > > > > >
> > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyal
> > >
> > > > > > > > > > > > --source-path+--library-path+eJ S.sw c
> > >
> > > > > > > > > > > >
> --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > >
> > > > > > > > > > > >
> > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaul
> > >
> > > > > > > > > > > > ts .css -js-dynamic-access-unknown-members=true --
> > >
> > > > > > > > > > > > src/App.mxml
> > >
> > > > > > > > > > > > fcsh: Assigned 1 as the compile target id Compile
> > status:
> > >
> > > > > > > > > > > > 5 Elapsed
> > >
> > > > > > > > > > time:
> > >
> > > > > > > > > > > > 0.618407478 seconds
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > >
> > >
> > > > > > > > >
> > >
> > > > > > > >
> > >
> > > > > > >
> > >
> > > > > >
> > >
> > > > >
> > >
> > > >
> > >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > >
> > > > > > > > > > > > col: 0 Error: unable to open
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > >
> > >
> > > > > > > > >
> > >
> > > > > > > >
> > >
> > > > > > >
> > >
> > > > > >
> > >
> > > > >
> > >
> > > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > > >
> > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/fr
> > >
> > > > > > > > > > > > am
> > >
> > > > > > > > > > > > ewor
> > >
> > > > > > > > > > > > ks/r
> > >
> > > > > > > > > > > > oy
> > >
> > > > > > > > > > > > ale-config.xml
> > >
> > > > > > > > > > > > (line: 81)
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > > > </js-external-library-path>
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > >
> > >
> > > > > > > > >
> > >
> > > > > > > >
> > >
> > > > > > >
> > >
> > > > > >
> > >
> > > > >
> > >
> > > >
> > >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > >
> > > > > > > > > > > > col: 0 Error: unable to open
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > >
> > >
> > > > > > > > >
> > >
> > > > > > > >
> > >
> > > > > > >
> > >
> > > > > >
> > >
> > > > >
> > >
> > > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > > >
> > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/fr
> > >
> > > > > > > > > > > > am
> > >
> > > > > > > > > > > > ewor
> > >
> > > > > > > > > > > > ks/r
> > >
> > > > > > > > > > > > oy
> > >
> > > > > > > > > > > > ale-config.xml
> > >
> > > > > > > > > > > > (line: 81)
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > > > </js-external-library-path>
> > >
> > > > > > > > > > > > (fcsh)
> > >
> > > > > > > > > > > > Quick Compile failed. Errors in compiler output.
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > > > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
> > >
> > > > > > > > > > > > (<carlosrovira@apache.org<mailto:
> > carlosrovira@apache.org
> > > >>)
> > >
> > > > > > > > > > > > escribió:
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > > > > Hi,
> > >
> > > > > > > > > > > > >
> > >
> > > > > > > > > > > > > I rebuilt all from scratch just now and finally the
> > >
> > > > > > > > > > > > > distribution too and tried in VSCode and all seems
> to
> > >
> > > > > > > > > > > > > work fine
> > >
> > > > > > > > for me.
> > >
> > > > > > > > > > > > >
> > >
> > > > > > > > > > > > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> > >
> > > > > > > > > > > > > christofer.dutz@c-ware.de<mailto:
> > > christofer.dutz@c-ware.de>>) escribió:
> > >
> > > > > > > > > > > > >
> > >
> > > > > > > > > > > > >> Hi Piotr,
> > >
> > > > > > > > > > > > >>
> > >
> > > > > > > > > > > > >> that class is located in
> > > lib\external\flex-tool-api.jar
> > >
> > > > > > > > > > > > >> At least in my distribution it's there and it
> > contains
> > >
> > > > > > > > > > > > >> the
> > >
> > > > > > class.
> > >
> > > > > > > > > > > > >>
> > >
> > > > > > > > > > > > >> How are you calling the build that's failing?
> > >
> > > > > > > > > > > > >>
> > >
> > > > > > > > > > > > >> Chris
> > >
> > > > > > > > > > > > >>
> > >
> > > > > > > > > > > > >> -----Ursprüngliche Nachricht-----
> > >
> > > > > > > > > > > > >> Von: Piotr Zarzycki <piotrzarzycki21@gmail.com
> > > <ma...@gmail.com>>
> > >
> > > > > > > > > > > > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> > >
> > > > > > > > > > > > >> An: Apache Royale Development <
> > dev@royale.apache.org
> > > <ma...@royale.apache.org>>
> > >
> > > > > > > > > > > > >> Betreff: Re: Align Maven IDE distribution with Ant
> > IDE
> > >
> > > > > > > > > > > > >> distribution
> > >
> > > > > > > > > > > > >>
> > >
> > > > > > > > > > > > >> Chris,
> > >
> > > > > > > > > > > > >>
> > >
> > > > > > > > > > > > >> I just checked and I'm not able build project
> > anymore
> > >
> > > > > > > > > > > > >> using
> > >
> > > > > > > > > > > > distribution:
> > >
> > > > > > > > > > > > >>
> > >
> > > > > > > > > > > > >> : Using Royale SDK:
> > "D:\Work\royale_ide\distribution"
> > >
> > > > > > > > > > > > >> : Picked up JAVA_TOOL_OPTIONS:
> -Dfile.encoding=UTF-8
> > >
> > > > > > > > > > > > >> -Xms356m -Xmx3000m
> > >
> > > > > > > > > > > > >> : Error: Could not find or load main class
> > >
> > > > > > > > > > > > >> org.apache.royale.compiler.clients.MXMLJSC
> > >
> > > > > > > > > > > > >> : Caused by: java.lang.NoClassDefFoundError:
> > >
> > > > > > > > > > > > >> org/apache/flex/tools/FlexTool
> > >
> > > > > > > > > > > > >>
> > >
> > > > > > > > > > > > >> I'm done for today, so I will answer anything
> > > tomorrow.
> > >
> > > > > > > > > > > > >>
> > >
> > > > > > > > > > > > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
> > >
> > > > > > > > > > > > >> <christofer.dutz@c-ware.de<mailto:
> > > christofer.dutz@c-ware.de>>
> > >
> > > > > > > > > > > > >> napisał(a):
> > >
> > > > > > > > > > > > >>
> > >
> > > > > > > > > > > > >> > Ok ...
> > >
> > > > > > > > > > > > >> >
> > >
> > > > > > > > > > > > >> > so I just pushed another change. Now the
> > > distribution
> > >
> > > > > > > > > > > > >> > should also contain an empty spark.css, just
> like
> > > the
> > >
> > > > > > > > > > > > >> > Ant
> > >
> > > > > > > one.
> > >
> > > > > > > > > > > > >> >
> > >
> > > > > > > > > > > > >> > Chris
> > >
> > > > > > > > > > > > >> >
> > >
> > > > > > > > > > > > >> >
> > >
> > > > > > > > > > > > >> > -----Ursprüngliche Nachricht-----
> > >
> > > > > > > > > > > > >> > Von: Christofer Dutz <christofer.dutz@c-ware.de
> > > <ma...@c-ware.de>>
> > >
> > > > > > > > > > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> > >
> > > > > > > > > > > > >> > An: dev@royale.apache.org<mailto:
> > > dev@royale.apache.org>
> > >
> > > > > > > > > > > > >> > Betreff: AW: Align Maven IDE distribution with
> Ant
> > >
> > > > > > > > > > > > >> > IDE distribution
> > >
> > > > > > > > > > > > >> >
> > >
> > > > > > > > > > > > >> > Ok,
> > >
> > > > > > > > > > > > >> >
> > >
> > > > > > > > > > > > >> > so that should now be fixed. Leaves the
> > "spark.css"
> > >
> > > > > > > > > > > > >> > Having had a look, it seems as if the Ant build
> > >
> > > > > > > > > > > > >> > creates an empty
> > >
> > > > > > > > > > > > >> spark.css.
> > >
> > > > > > > > > > > > >> >
> > >
> > > > > > > > > > > > >> > Is this all we need? If yes, then I'll have that
> > in
> > >
> > > > > > > > > > > > >> > ther in no
> > >
> > > > > > > > > > time.
> > >
> > > > > > > > > > > > >> >
> > >
> > > > > > > > > > > > >> > Chris
> > >
> > > > > > > > > > > > >> >
> > >
> > > > > > > > > > > > >> > -----Ursprüngliche Nachricht-----
> > >
> > > > > > > > > > > > >> > Von: Piotr Zarzycki <piotrzarzycki21@gmail.com
> > > <ma...@gmail.com>>
> > >
> > > > > > > > > > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> > >
> > > > > > > > > > > > >> > An: Apache Royale Development <
> > > dev@royale.apache.org<ma...@royale.apache.org>>
> > >
> > > > > > > > > > > > >> > Betreff: Re: Align Maven IDE distribution with
> Ant
> > >
> > > > > > > > > > > > >> > IDE distribution
> > >
> > > > > > > > > > > > >> >
> > >
> > > > > > > > > > > > >> > *(I assume that's in the "frameworks/js/libs"
> > >
> > > > > > > > > > > > >> > directory? *
> > >
> > > > > > > > > > > > >> >
> > >
> > > > > > > > > > > > >> > Yes this is the directory.
> > >
> > > > > > > > > > > > >> >
> > >
> > > > > > > > > > > > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> > >
> > > > > > > > > > > > >> > <christofer.dutz@c-ware.de<mailto:
> > > christofer.dutz@c-ware.de>>
> > >
> > > > > > > > > > > > >> > napisał(a):
> > >
> > > > > > > > > > > > >> >
> > >
> > > > > > > > > > > > >> > > Hi Piotr,
> > >
> > > > > > > > > > > > >> > >
> > >
> > > > > > > > > > > > >> > > Ok ... so Ant seems to be adding a "JS" to the
> > end
> > >
> > > > > > > > > > > > >> > > of every name (I assume that's in the
> > >
> > > > > "frameworks/js/libs"
> > >
> > > > > > > > directory?
> > >
> > > > > > > > > > > > >> > >
> > >
> > > > > > > > > > > > >> > > Also I'll try to find out where the
> "spark.css"
> > >
> > > > > > > > > > > > >> > > should come from
> > >
> > > > > > > > > > > ...
> > >
> > > > > > > > > > > > >> > > and where it should go to.
> > >
> > > > > > > > > > > > >> > >
> > >
> > > > > > > > > > > > >> > > Chris
> > >
> > > > > > > > > > > > >> > >
> > >
> > > > > > > > > > > > >> > >
> > >
> > > > > > > > > > > > >> > > -----Ursprüngliche Nachricht-----
> > >
> > > > > > > > > > > > >> > > Von: Piotr Zarzycki <
> piotrzarzycki21@gmail.com
> > > <ma...@gmail.com>>
> > >
> > > > > > > > > > > > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> > >
> > > > > > > > > > > > >> > > An: Apache Royale Development
> > >
> > > > > > > > > > > > >> > > <dev@royale.apache.org<mailto:
> > > dev@royale.apache.org>>
> > >
> > > > > > > > > > > > >> > > Betreff: Re: Align Maven IDE distribution with
> > Ant
> > >
> > > > > > > > > > > > >> > > IDE distribution
> > >
> > > > > > > > > > > > >> > >
> > >
> > > > > > > > > > > > >> > > Chris,
> > >
> > > > > > > > > > > > >> > >
> > >
> > > > > > > > > > > > >> > > Looks better but here is the comparision what
> I
> > >
> > > > > > > > > > > > >> > > have in Ant distribution vs Maven distribution
> > in
> > >
> > > > > > > > > > > > >> > > case of
> > >
> > > > > > names.
> > >
> > > > > > > > > > > > >> > > On the left Ant distribution, on the right
> > Maven.
> > >
> > > > > > > > > > > > >> > > It is
> > >
> > > > > > > > folder:
> > >
> > > > > > > > > > > > >> > > frameworks\js\libs\ [1]
> > >
> > > > > > > > > > > > >> > >
> > >
> > > > > > > > > > > > >> > > [1] https://ibb.co/W2DzcDb
> > >
> > > > > > > > > > > > >> > >
> > >
> > > > > > > > > > > > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> > >
> > > > > > > > > > > > >> > > <christofer.dutz@c-ware.de<mailto:
> > > christofer.dutz@c-ware.de>>
> > >
> > > > > > > > > > > > >> > > napisał(a):
> > >
> > > > > > > > > > > > >> > >
> > >
> > > > > > > > > > > > >> > > > And done ...
> > >
> > > > > > > > > > > > >> > > >
> > >
> > > > > > > > > > > > >> > > > Now all elements in the distribution only
> > > consist
> > >
> > > > > > > > > > > > >> > > > of their name and file-ending ... all
> versions
> > >
> > > > > > > > > > > > >> > > > and classifiers have been
> > >
> > > > > > > > > > > > removed.
> > >
> > > > > > > > > > > > >> > > > Please provide me with feedback on if this
> > > solves
> > >
> > > > > > > > > > > > >> > > > the
> > >
> > > > > > > > > issues.
> > >
> > > > > > > > > > > > >> > > >
> > >
> > > > > > > > > > > > >> > > > Chris
> > >
> > > > > > > > > > > > >> > > >
> > >
> > > > > > > > > > > > >> > > >
> > >
> > > > > > > > > > > > >> > > > -----Ursprüngliche Nachricht-----
> > >
> > > > > > > > > > > > >> > > > Von: Christofer Dutz <
> > christofer.dutz@c-ware.de
> > > <ma...@c-ware.de>>
> > >
> > > > > > > > > > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> > >
> > > > > > > > > > > > >> > > > An: dev@royale.apache.org<mailto:
> > > dev@royale.apache.org>
> > >
> > > > > > > > > > > > >> > > > Betreff: AW: Align Maven IDE distribution
> with
> > >
> > > > > > > > > > > > >> > > > Ant IDE distribution
> > >
> > > > > > > > > > > > >> > > >
> > >
> > > > > > > > > > > > >> > > > I'll probably have a fix for that in a few
> > >
> > > > > > > > > > > > >> > > > minuntes
> > >
> > > > > > ...
> > >
> > > > > > > > > > > > >> > > >
> > >
> > > > > > > > > > > > >> > > >
> > >
> > > > > > > > > > > > >> > > > Chris
> > >
> > > > > > > > > > > > >> > > >
> > >
> > > > > > > > > > > > >> > > >
> > >
> > > > > > > > > > > > >> > > > -----Ursprüngliche Nachricht-----
> > >
> > > > > > > > > > > > >> > > > Von: Piotr Zarzycki <
> > piotrzarzycki21@gmail.com
> > > <ma...@gmail.com>>
> > >
> > > > > > > > > > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> > >
> > > > > > > > > > > > >> > > > An: Apache Royale Development
> > >
> > > > > > > > > > > > >> > > > <dev@royale.apache.org<mailto:
> > > dev@royale.apache.org>>
> > >
> > > > > > > > > > > > >> > > > Betreff: Re: Align Maven IDE distribution
> with
> > >
> > > > > > > > > > > > >> > > > Ant IDE distribution
> > >
> > > > > > > > > > > > >> > > >
> > >
> > > > > > > > > > > > >> > > > Chris,
> > >
> > > > > > > > > > > > >> > > >
> > >
> > > > > > > > > > > > >> > > > No it's not about not picking up by IDE at
> > all.
> > >
> > > > > > > > > > > > >> > > > Moonshine and VSCode are able to build
> > projects
> > >
> > > > > > > > > > > > >> > > > using Maven distribution package! It is
> about
> > >
> > > > > > > > > > > > >> > > > project which are mixed for example when
> user
> > >
> > > > > > > > > > > > >> > > > wanted to use Jewel module + RemoteObject
> > class
> > >
> > > > > > > > > > > > >> > > > from MXRoyale module. In that case user need
> > to
> > >
> > > > > > > > > > > > >> > > > point explicilty as a compiler options in
> IDE
> > >
> > > > > > > > > > > > >> > > > that he wanted to have SWC included and need
> > to
> > >
> > > > > > > > > > > > >> > > > exclude css from that swc to
> > >
> > > > > > > > > > > > >> > > avoid problems.
> > >
> > > > > > > > > > > > >> > > >
> > >
> > > > > > > > > > > > >> > > > It is happen like that:
> > >
> > > > > > > > > > > > >> > > >
> > >
> > > > > > > > > > > > >> > > >
> > >
> > > > > > > > > > > > >> > > >
> > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS
> > >
> > > > > > > > > > > > >> > > > -js-library-path+.s
> > >
> > > > > > > > > > > > >> > > > wc
> > >
> > > > > > > > > > > > >> > > >
> > >
> > > > > > > > >
> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> > >
> > > > > > > > > > > > >> > > > cs
> > >
> > > > > > > > > > > > >> > > > s
> > >
> > > > > > > > > > > > >> > > >
> > >
> > > > > > > > > > > > >> > > > If I would like to use maven distribution
> user
> > >
> > > > > > > > > > > > >> > > > need to know version for that compiler
> > options.
> > >
> > > > > > > > > > > > >> > > > It is even more tricky when your swc is
> called
> > >
> > > > > > > > > > > > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> > >
> > > > > > > > > > > > >> > > >
> > >
> > > > > > > > > > > > >> > > >
> > >
> > > > > > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.
> > >
> > > > > > > > > > > > >> > > > cs
> > >
> > > > > > > > > > > > >> > > > s
> > >
> > > > > > > > > > > > >> > > >
> > >
> > > > > > > > > > > > >> > > > Thanks,
> > >
> > > > > > > > > > > > >> > > > Piotr
> > >
> > > > > > > > > > > > >> > > >
> > >
> > > > > > > > > > > > >> > > >
> > >
> > > > > > > > > > > > >> > > >
> > >
> > > > > > > > > > > > >> > > >
> > >
> > > > > > > > > > > > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> > >
> > > > > > > > > > > > >> > > > <christofer.dutz@c-ware.de<mailto:
> > > christofer.dutz@c-ware.de>>
> > >
> > > > > > > > > > > > >> > > > napisał(a):
> > >
> > > > > > > > > > > > >> > > >
> > >
> > > > > > > > > > > > >> > > > > Hi Piotr,
> > >
> > > > > > > > > > > > >> > > > >
> > >
> > > > > > > > > > > > >> > > > > And is really the version-suffix causing
> it
> > to
> > >
> > > > > > > > > > > > >> > > > > not be picked up by the IDEs?
> > >
> > > > > > > > > > > > >> > > > >
> > >
> > > > > > > > > > > > >> > > > > Chris
> > >
> > > > > > > > > > > > >> > > > >
> > >
> > > > > > > > > > > > >> > > > > -----Ursprüngliche Nachricht-----
> > >
> > > > > > > > > > > > >> > > > > Von: Piotr Zarzycki <
> > > piotrzarzycki21@gmail.com>
> > >
> > > > > > > > > > > > >> > > > > Gesendet: Donnerstag, 18. Februar 2021
> 11:42
> > >
> > > > > > > > > > > > >> > > > > An: dev@royale.apache.org
> > >
> > > > > > > > > > > > >> > > > > Betreff: Re: Align Maven IDE distribution
> > with
> > >
> > > > > > > > > > > > >> > > > > Ant IDE distribution
> > >
> > > > > > > > > > > > >> > > > >
> > >
> > > > > > > > > > > > >> > > > > Hi Chris,
> > >
> > > > > > > > > > > > >> > > > >
> > >
> > > > > > > > > > > > >> > > > > This is the only thing which seems to be a
> > >
> > > > > > > > > > > > >> > > > > constant problem
> > >
> > > > > > > > > > > > here.
> > >
> > > > > > > > > > > > >> > > > > I personally and some users will be much
> > more
> > >
> > > > > > > > > > > > >> > > > > happy having that
> > >
> > > > > > > > > > > > >> > change.
> > >
> > > > > > > > > > > > >> > > > >
> > >
> > > > > > > > > > > > >> > > > > Thanks,
> > >
> > > > > > > > > > > > >> > > > > Piotr
> > >
> > > > > > > > > > > > >> > > > >
> > >
> > > > > > > > > > > > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer
> > Dutz
> > >
> > > > > > > > > > > > >> > > > > <ch...@c-ware.de>
> > >
> > > > > > > > > > > > >> > > > > wrote:
> > >
> > > > > > > > > > > > >> > > > >
> > >
> > > > > > > > > > > > >> > > > > > Hi Piotr,
> > >
> > > > > > > > > > > > >> > > > > >
> > >
> > > > > > > > > > > > >> > > > > > I'd be happy to help with that.
> > >
> > > > > > > > > > > > >> > > > > >
> > >
> > > > > > > > > > > > >> > > > > > I did simply ask for a list of things
> that
> > >
> > > > > > > > > > > > >> > > > > > need to be changed in order to get
> things
> > >
> > > > > > > > > > > > >> > > > > > working, but never got said list, so I
> > never
> > >
> > > > > > > > > > > > >> > > > > > knew what I could do to make the Maven
> > >
> > > > > > > > > > > > >> > > > > > distribution match up to the
> > >
> > > > > > > > > > > > >> > > > Ant built one.
> > >
> > > > > > > > > > > > >> > > > > >
> > >
> > > > > > > > > > > > >> > > > > > Chris
> > >
> > > > > > > > > > > > >> > > > > >
> > >
> > > > > > > > > > > > >> > > > > >
> > >
> > > > > > > > > > > > >> > > > > > -----Ursprüngliche Nachricht-----
> > >
> > > > > > > > > > > > >> > > > > > Von: Piotr Zarzycki
> > >
> > > > > > > > > > > > >> > > > > > <pi...@gmail.com>
> > >
> > > > > > > > > > > > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021
> > 11:01
> > >
> > > > > > > > > > > > >> > > > > > An: Apache Royale Development
> > >
> > > > > > > > > > > > >> > > > > > <de...@royale.apache.org>
> > >
> > > > > > > > > > > > >> > > > > > Betreff: Align Maven IDE distribution
> with
> > >
> > > > > > > > > > > > >> > > > > > Ant IDE distribution
> > >
> > > > > > > > > > > > >> > > > > >
> > >
> > > > > > > > > > > > >> > > > > > Hi Guys,
> > >
> > > > > > > > > > > > >> > > > > >
> > >
> > > > > > > > > > > > >> > > > > > It's been couple of times when user
> > > complains
> > >
> > > > > > > > > > > > >> > > > > > that he have problems with using Maven
> > >
> > > > > > > > > > > > >> > > > > > distribution vs Ant distribution in IDE
> > in a
> > >
> > > > > > > > > > > > >> > > > > > mixed project Jewel + MX/Spark
> > >
> > > > > > > > > > etc.
> > >
> > > > > > > > > > > > >> > > > > >
> > >
> > > > > > > > > > > > >> > > > > > Can we have that resolve once for all
> and
> > >
> > > > > > > > > > > > >> > > > > > adjust Maven distribution folder to
> > produce
> > >
> > > > > > > > > > > > >> > > > > > proper names of
> > >
> > > > > > > > swcs ?
> > >
> > > > > > > > > > > > >> > > > > >
> > >
> > > > > > > > > > > > >> > > > > > Currently when I build Maven IDE
> > > distribution
> > >
> > > > > > > > > > > > >> > > > > > I
> > >
> > > > > > > have:
> > >
> > > > > > > > > > > > >> > > > > >
> > >
> > > > > > > > > > > > >> > > > > >
> MXRoyale-0.9.8-20210215.234230-908-js.swc
> > >
> > > > > > > > > > > > >> > > > > >
> > >
> > > > > > > > > > > > >> > > > > > When I build Ant IDE distribution I
> have:
> > >
> > > > > > > > > > > > >> > > > > >
> > >
> > > > > > > > > > > > >> > > > > > MXRoyale-js.swc
> > >
> > > > > > > > > > > > >> > > > > >
> > >
> > > > > > > > > > > > >> > > > > > Thanks,
> > >
> > > > > > > > > > > > >> > > > > > --
> > >
> > > > > > > > > > > > >> > > > > >
> > >
> > > > > > > > > > > > >> > > > > > Piotr Zarzycki
> > >
> > > > > > > > > > > > >> > > > > >
> > >
> > > > > > > > > > > > >> > > > > --
> > >
> > > > > > > > > > > > >> > > > >
> > >
> > > > > > > > > > > > >> > > > > Piotr Zarzycki
> > >
> > > > > > > > > > > > >> > > > >
> > >
> > > > > > > > > > > > >> > > >
> > >
> > > > > > > > > > > > >> > > >
> > >
> > > > > > > > > > > > >> > > > --
> > >
> > > > > > > > > > > > >> > > >
> > >
> > > > > > > > > > > > >> > > > Piotr Zarzycki
> > >
> > > > > > > > > > > > >> > > >
> > >
> > > > > > > > > > > > >> > >
> > >
> > > > > > > > > > > > >> > >
> > >
> > > > > > > > > > > > >> > > --
> > >
> > > > > > > > > > > > >> > >
> > >
> > > > > > > > > > > > >> > > Piotr Zarzycki
> > >
> > > > > > > > > > > > >> > >
> > >
> > > > > > > > > > > > >> >
> > >
> > > > > > > > > > > > >> >
> > >
> > > > > > > > > > > > >> > --
> > >
> > > > > > > > > > > > >> >
> > >
> > > > > > > > > > > > >> > Piotr Zarzycki
> > >
> > > > > > > > > > > > >> >
> > >
> > > > > > > > > > > > >>
> > >
> > > > > > > > > > > > >>
> > >
> > > > > > > > > > > > >> --
> > >
> > > > > > > > > > > > >>
> > >
> > > > > > > > > > > > >> Piotr Zarzycki
> > >
> > > > > > > > > > > > >>
> > >
> > > > > > > > > > > > >
> > >
> > > > > > > > > > > > >
> > >
> > > > > > > > > > > > > --
> > >
> > > > > > > > > > > > > Carlos Rovira
> > >
> > > > > > > > > > > > > Apache Member & Apache Royale PMC *Apache Software
> > >
> > > > > > > > > > > > > Foundation* http://about.me/carlosrovira
> > >
> > > > > > > > > > > > >
> > >
> > > > > > > > > > > > >
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > > > --
> > >
> > > > > > > > > > > > Carlos Rovira
> > >
> > > > > > > > > > > > Apache Member & Apache Royale PMC *Apache Software
> > >
> > > > > > > > > > > > Foundation* http://about.me/carlosrovira
> > >
> > > > > > > > > > > >
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > --
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > > > Piotr Zarzycki
> > >
> > > > > > > > > > >
> > >
> > > > > > > > > >
> > >
> > > > > > > > > >
> > >
> > > > > > > > > > --
> > >
> > > > > > > > > >
> > >
> > > > > > > > > > Piotr Zarzycki
> > >
> > > > > > > > > >
> > >
> > > > > > > > > --
> > >
> > > > > > > > >
> > >
> > > > > > > > > Piotr Zarzycki
> > >
> > > > > > > > >
> > >
> > > > > > > >
> > >
> > > > > > > >
> > >
> > > > > > > > --
> > >
> > > > > > > > Carlos Rovira
> > >
> > > > > > > > Apache Member & Apache Royale PMC
> > >
> > > > > > > > *Apache Software Foundation*
> > >
> > > > > > > > http://about.me/carlosrovira
> > >
> > > > > > > >
> > >
> > > > > > >
> > >
> > > > > > >
> > >
> > > > > > > --
> > >
> > > > > > > Carlos Rovira
> > >
> > > > > > > Apache Member & Apache Royale PMC
> > >
> > > > > > > *Apache Software Foundation*
> > >
> > > > > > > http://about.me/carlosrovira
> > >
> > > > > > >
> > >
> > > > > >
> > >
> > > > > >
> > >
> > > > > > --
> > >
> > > > > >
> > >
> > > > > > Piotr Zarzycki
> > >
> > > > > >
> > >
> > > > >
> > >
> > > >
> > >
> > >
> > >
> > >
> > >
> > > --
> > >
> > >
> > >
> > > Piotr Zarzycki
> > >
> >
> >
> > --
> > Carlos Rovira
> > Apache Member & Apache Royale PMC
> > *Apache Software Foundation*
> > http://about.me/carlosrovira
> >
>
>
> --
> Carlos Rovira
> Apache Member & Apache Royale PMC
> *Apache Software Foundation*
> http://about.me/carlosrovira
>
--
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira
AW: Align Maven IDE distribution with Ant IDE distribution
Posted by Christofer Dutz <ch...@c-ware.de>.
Yeah sorry for that ...
And in general:
I thought nobody was using the distribution as it "wasn't working".
If I had known that this was acrtually used, I would have choosen a different approach.
So if this caused any trouble, please accept my sincere appologies for that.
Chris
-----Ursprüngliche Nachricht-----
Von: Carlos Rovira <ca...@apache.org>
Gesendet: Montag, 22. Februar 2021 19:10
An: Apache Royale Development <de...@royale.apache.org>
Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
Hi , just reverted two latest Chris commits since he's not available now
and SWF is not totally done.
We'll go over this as we can. But JS should be totally done. Take a look
and let us know if something is not working for maven sdk distribution.
thanks
El lun, 22 feb 2021 a las 18:07, Christofer Dutz (<ch...@c-ware.de>)
escribió:
> Just added some more manifest files.
>
> Turns out that more modules were added to the project, but the
> deistribution wasn't keept completely up to date.
>
> I added the missing ones, but still the SWF compilation of the MXRoyale
> example seems to fail.
>
> If anyone can provide me with an explanation to how things need to be
> changed to make it work, I'll be happy to do so.
>
> Chris
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Christofer Dutz <ch...@c-ware.de>
> Gesendet: Montag, 22. Februar 2021 17:12
> An: dev@royale.apache.org
> Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
>
> And it turns out there was a double-inclusion of some libs in the js and
> swf distribtuion parts, fixed that now.
>
> Now the distribution should look nice, even with enabled "option-with-swf"
> profile.
>
> Chris
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Carlos Rovira <ca...@apache.org>
> Gesendet: Montag, 22. Februar 2021 13:17
> An: Apache Royale Development <de...@royale.apache.org>
> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>
> Hi Chris,
>
> many thanks for the effort! I tried and now all seems to work fine for me.
> Even the remote object example that was failing yesterday for Jason.
> It need a fix that I just committed too.
>
> I think we have now a better and powerful Maven SDK distribution!! :D
>
>
>
> El lun, 22 feb 2021 a las 12:50, Christofer Dutz (<
> christofer.dutz@c-ware.de>)
> escribió:
>
> > Yeah,
> >
> > I wanted to build with swf, but unfortunately I setup my new Windows
> > laptop this year and couldn't fetch the missing Adobe parts.
> > Luckily Carlos sent me the missing files and I managed to fix things
> >
> > So I commented out the ACE module again, but created a Pull-Request to
> > merge some changes in that could possibly fix the missing ACE module
> > problem. It would however be cool, if Yishay could have a look at that
> > (Seems he created the ACE module)
> >
> > You should now be good to go ... and sorry for all the noise ;)
> >
> > Chris
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Maria Jose Esteve <mj...@iest.com>
> > Gesendet: Montag, 22. Februar 2021 12:44
> > An: dev@royale.apache.org
> > Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
> >
> > Without "option-with-swf" it compiles ok, but with "option-with-swf" it
> > doesn't. As you have mentioned Ace needs some adjustment [1]
> >
> > When I manage to compile (without option-with-swf option) I can't compile
> > any of my projects, in all I get the same <fx: Array> error
> >
> > [1]
> > [INFO] --- royale-maven-plugin:0.9.8-SNAPSHOT:compile-as
> > (default-compile-as) @ Ace ---
> > [INFO] Executing COMPC in tool group Royale with args:
> >
> [-load-config=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs\frameworks\projects\Ace\target\compile-swf-config.xml,
> > -js-default-initializers=false, -source-map=true,
> > -source-map-source-root=/frameworks/projects/Ace/src/main/royale/,
> > -js-complex-implicit-coercions=false, -js-vector-index-checks=false,
> > -js-resolve-uncertain=false, -compiler.targets=SWF,JSRoyale,
> > -compiler.strict-xml=true]
> > args:
> >
> >
> -load-config=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs\frameworks\projects\Ace\target\compile-swf-config.xml
> > -js-default-initializers=false
> > -source-map=true
> > -source-map-source-root=/frameworks/projects/Ace/src/main/royale/
> > -js-complex-implicit-coercions=false
> > -js-vector-index-checks=false
> > -js-resolve-uncertain=false
> > -compiler.targets=SWF,JSRoyale
> > -compiler.strict-xml=true
> > target:SWF
> > target:JSRoyale
> > COMPC
> > Loading configuration:
> >
> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs\frameworks\projects\Ace\target\compile-swf-config.xml
> >
> > 0.1429886 seconds
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Reactor Summary for Apache Royale: Framework: Parent
> 0.9.8-SNAPSHOT:
> > [INFO]
> > [INFO] Apache Royale: Framework: Parent ................... SUCCESS [
> > 3.009 s]
> > [INFO] Apache Royale: Framework ........................... SUCCESS [
> > 0.303 s]
> > [INFO] Apache Royale: Framework: Fonts .................... SUCCESS [
> > 2.359 s]
> > [INFO] Apache Royale: Framework: Libs ..................... SUCCESS [
> > 0.745 s]
> > [INFO] Apache Royale: Framework: Libs: Language ........... SUCCESS [
> > 2.390 s]
> > [INFO] Apache Royale: Framework: Libs: Core ............... SUCCESS [
> > 6.662 s]
> > [INFO] Apache Royale: Framework: Libs: Binding ............ SUCCESS [
> > 1.049 s]
> > [INFO] Apache Royale: Framework: Libs: Graphics ........... SUCCESS [
> > 2.547 s]
> > [INFO] Apache Royale: Framework: Libs: Collections ........ SUCCESS [
> > 0.957 s]
> > [INFO] Apache Royale: Framework: Libs: Basic .............. SUCCESS [
> > 9.811 s]
> > [INFO] Apache Royale: Framework: Libs: JQuery ............. SUCCESS [
> > 0.732 s]
> > [INFO] Apache Royale: Framework: Libs: Ace ................ FAILURE [
> > 0.277 s]
> > [INFO] Apache Royale: Framework: Libs: Charts ............. SKIPPED
> >
> > Thx.
> > Hiedra.
> >
> > -----Mensaje original-----
> > De: Christofer Dutz <ch...@c-ware.de>
> > Enviado el: lunes, 22 de febrero de 2021 12:25
> > Para: dev@royale.apache.org
> > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > Ok ...
> >
> > After Carlos kindly provided me with the missing Adobe artifacts I could
> > also try the "with-swf" build ... seems the ACE build needs some fixing
> ...
> > I'm on it.
> >
> > Chris
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Maria Jose Esteve <mj...@iest.com>
> > Gesendet: Montag, 22. Februar 2021 12:12
> > An: dev@royale.apache.org
> > Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
> >
> > Flying 😝
> >
> >
> >
> > Hiedra
> >
> > -----Mensaje original-----
> > De: Christofer Dutz <ch...@c-ware.de>
> > Enviado el: lunes, 22 de febrero de 2021 12:09
> > Para: dev@royale.apache.org
> > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> >
> >
> > Hi all,
> >
> >
> >
> >
> >
> > It seems Carlos reset the version of the compiler and updated the version
> > in the asjs module.
> >
> > So it looks as if that's good (I really hate when things are out of sync
> > ;) ).
> >
> >
> >
> > Anyways ... I just pushed some chaged to typedef to build the ACE typedef
> > module
> >
> > And updated the asjs module to build the ACE framework module and fine
> > tuned the distribution to add the missing swcs (JS and SWF).
> >
> >
> >
> > Please try out these changes.
> >
> >
> >
> >
> >
> > Chris
> >
> >
> >
> >
> >
> >
> >
> > -----Ursprüngliche Nachricht-----
> >
> > Von: Piotr Zarzycki <piotrzarzycki21@gmail.com<mailto:
> > piotrzarzycki21@gmail.com>>
> >
> > Gesendet: Montag, 22. Februar 2021 12:05
> >
> > An: Apache Royale Development <dev@royale.apache.org<mailto:
> > dev@royale.apache.org>>
> >
> > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> >
> >
> >
> > We are using again compiler 0.9.8-SNAPSHOT yes ?
> >
> >
> >
> > pon., 22 lut 2021 o 12:01 Alina Kazi <alinakazi1990@gmail.com<mailto:
> > alinakazi1990@gmail.com>> napisał(a):
> >
> >
> >
> > > Thanks Chris.
> >
> > >
> >
> > > On Mon, Feb 22, 2021 at 3:59 PM Maria Jose Esteve <mjesteve@iest.com
> > <ma...@iest.com>>
> >
> > > wrote:
> >
> > >
> >
> > > > Thanks Chris, I'll be listening.
> >
> > > >
> >
> > > > Hiedra
> >
> > > > -----Mensaje original-----
> >
> > > > De: Christofer Dutz <christofer.dutz@c-ware.de<mailto:
> > christofer.dutz@c-ware.de>>
> >
> > > > Enviado el: lunes, 22 de febrero de 2021 11:52
> >
> > > > Para: dev@royale.apache.org<ma...@royale.apache.org>
> >
> > > > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > > >
> >
> > > > Hi all,
> >
> > > >
> >
> > > > so I had a look and it seems the distribution was missing a number of
> >
> > > > libraries, which seem to have been added, since I created the
> >
> > > distribution
> >
> > > > in 2016 ... Some modules were added after that, but not all. It seems
> > all
> >
> > > > probelms you are reporting result from some of them missing. I added
> > them
> >
> > > > and now they are correctly added to my distributions. I also compared
> >
> > > them
> >
> > > > with the ANT built version ... the last missing piece is the ACE
> > module,
> >
> > > > which was disabled in Maven as the Ace typedef was not a maven
> module.
> > I
> >
> > > > took the liberty of creating a Maven typedef module for ace and
> > re-added
> >
> > > > the ACE module to the Maven build and to the distribution.
> >
> > > >
> >
> > > > I'm currently testing a few things and will commit as soon as I'm
> happy
> >
> > > > with my changes.
> >
> > > >
> >
> > > >
> >
> > > > Chris
> >
> > > >
> >
> > > >
> >
> > > > -----Ursprüngliche Nachricht-----
> >
> > > > Von: Alina Kazi <alinakazi1990@gmail.com<mailto:
> > alinakazi1990@gmail.com>>
> >
> > > > Gesendet: Montag, 22. Februar 2021 11:26
> >
> > > > An: dev@royale.apache.org<ma...@royale.apache.org>
> >
> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> >
> > > >
> >
> > > > Hi,
> >
> > > > I am also facing a problem with latest SDK.
> >
> > > > when I add something new in emulation and re-build SDK. when I
> > recompile
> >
> > > > the application with the latest distribution , error in application
> > does
> >
> > > > not go away that I already fixed in previous commit.
> >
> > > > It seems that the distribution does not have everything latest that
> it
> >
> > > > should have.
> >
> > > >
> >
> > > > -Alina
> >
> > > >
> >
> > > > On Mon, Feb 22, 2021 at 3:20 PM Maria Jose Esteve <mjesteve@iest.com
> > <ma...@iest.com>>
> >
> > > > wrote:
> >
> > > >
> >
> > > > > I can't work either.
> >
> > > > > With no Maven, Ant combination, always error: "Error <fx: Array>
> This
> >
> > > > > tag could not be resolved to an ActionScript class ..."
> >
> > > > >
> >
> > > > > Do you know what happens? I am not able to understand or fix this.
> >
> > > > >
> >
> > > > > Hiedra.
> >
> > > > >
> >
> > > > > -----Mensaje original-----
> >
> > > > > De: Piotr Zarzycki <piotrzarzycki21@gmail.com<mailto:
> > piotrzarzycki21@gmail.com>> Enviado el: lunes, 22
> >
> > > > > de febrero de 2021 11:03
> >
> > > > > Para: Apache Royale Development <dev@royale.apache.org<mailto:
> > dev@royale.apache.org>>
> >
> > > > > Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
> >
> > > > >
> >
> > > > > Hi Guys,
> >
> > > > >
> >
> > > > > I just tried new distribution and I'm able to build simple example.
> >
> > > > > However our Royale project is not building - I'm getting following
> >
> > > > > exception:
> >
> > > > >
> >
> > > > > : Exception in thread "main" java.lang.NoClassDefFoundError:
> >
> > > > > org/apache/commons/lang/StringEscapeUtils
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.js.jx.LiteralEmitter.emit(
> >
> > > > > LiteralEmitter.java:225)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> >
> > > > > emitLiteral(JSRoyaleEmitter.java:1040)
> >
> > > > > : at
> >
> > > > > org.apache.royale.compiler.internal.codegen.as
> >
> > > > > .ASBlockWalker.visitLiteral(ASBlockWalker.java:479)
> >
> > > > > : at
> >
> > > > > org.apache.royale.compiler.internal.visitor.as
> >
> > > > > .ASNodeSwitch.handle(ASNodeSwitch.java:373)
> >
> > > > > : at
> >
> > > > > org.apache.royale.compiler.internal.visitor.as
> >
> > > > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> >
> > > > > : at
> >
> > > > > org.apache.royale.compiler.internal.visitor.as
> >
> > > > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> >
> > > > > : at
> >
> > > > > org.apache.royale.compiler.internal.codegen.as
> >
> > > > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.js.goog.JSGoogEmitter.emit
> >
> > > > > AssignedValue(JSGoogEmitter.java:965)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitAssignmen
> >
> > > > > tCoercion(JSEmitter.java:917)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> >
> > > > > emitAssignmentCoercion(JSRoyaleEmitter.java:1558)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
> >
> > > > > sEmitter.emitContents(FunctionCallArgumentsEmitter.java:103)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
> >
> > > > > sEmitter.emit(FunctionCallArgumentsEmitter.java:50)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
> >
> > > > > sEmitter.emit(FunctionCallArgumentsEmitter.java:35)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitArguments
> >
> > > > > (JSEmitter.java:259)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> >
> > > > > emitArguments(JSRoyaleEmitter.java:986)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallEmitter.
> >
> > > > > emit(FunctionCallEmitter.java:693)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> >
> > > > > emitFunctionCall(JSRoyaleEmitter.java:906)
> >
> > > > > : at
> >
> > > > > org.apache.royale.compiler.internal.codegen.as
> >
> > > > > .ASBlockWalker.visitFunctionCall(ASBlockWalker.java:330)
> >
> > > > > : at
> >
> > > > > org.apache.royale.compiler.internal.visitor.as
> >
> > > > > .ASNodeSwitch.handle(ASNodeSwitch.java:207)
> >
> > > > > : at
> >
> > > > > org.apache.royale.compiler.internal.visitor.as
> >
> > > > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> >
> > > > > : at
> >
> > > > > org.apache.royale.compiler.internal.visitor.as
> >
> > > > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> >
> > > > > : at
> >
> > > > > org.apache.royale.compiler.internal.codegen.as
> >
> > > > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.js.goog.JSGoogEmitter.emit
> >
> > > > > AssignedValue(JSGoogEmitter.java:965)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitAssignmen
> >
> > > > > tCoercion(JSEmitter.java:917)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> >
> > > > > emitAssignmentCoercion(JSRoyaleEmitter.java:1558)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.js.jx.BinaryOperatorEmitte
> >
> > > > > r.super_emitBinaryOperator(BinaryOperatorEmitter.java:598)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.js.jx.BinaryOperatorEmitte
> >
> > > > > r.emit(BinaryOperatorEmitter.java:500)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> >
> > > > > emitBinaryOperator(JSRoyaleEmitter.java:1028)
> >
> > > > > : at
> >
> > > > > org.apache.royale.compiler.internal.codegen.as
> >
> > > > > .ASBlockWalker.visitBinaryOperator(ASBlockWalker.java:538)
> >
> > > > > : at
> >
> > > > > org.apache.royale.compiler.internal.visitor.as
> >
> > > > > .ASNodeSwitch.handle(ASNodeSwitch.java:348)
> >
> > > > > : at
> >
> > > > > org.apache.royale.compiler.internal.visitor.as
> >
> > > > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> >
> > > > > : at
> >
> > > > > org.apache.royale.compiler.internal.visitor.as
> >
> > > > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> >
> > > > > : at
> >
> > > > > org.apache.royale.compiler.internal.codegen.as
> >
> > > > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.js.jx.StatementEmitter.emi
> >
> > > > > t(StatementEmitter.java:40)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.js.jx.StatementEmitter.emi
> >
> > > > > t(StatementEmitter.java:29)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitStatement
> >
> > > > > (JSEmitter.java:349)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> >
> > > > > emitStatement(JSRoyaleEmitter.java:1204)
> >
> > > > > : at
> >
> > > > > org.apache.royale.compiler.internal.codegen.as
> >
> > > > > .ASBlockWalker.visitBlock(ASBlockWalker.java:349)
> >
> > > > > : at
> >
> > > > > org.apache.royale.compiler.internal.visitor.as
> >
> > > > > .ASNodeSwitch.handle(ASNodeSwitch.java:278)
> >
> > > > > : at
> >
> > > > > org.apache.royale.compiler.internal.visitor.as
> >
> > > > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> >
> > > > > : at
> >
> > > > > org.apache.royale.compiler.internal.visitor.as
> >
> > > > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> >
> > > > > : at
> >
> > > > > org.apache.royale.compiler.internal.codegen.as
> >
> > > > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.as.ASEmitter.emitMethodSco
> >
> > > > > pe(ASEmitter.java:830)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.js.jx.MethodEmitter.emit(M
> >
> > > > > ethodEmitter.java:160)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> >
> > > > > emitMethod(JSRoyaleEmitter.java:891)
> >
> > > > > : at
> >
> > > > > org.apache.royale.compiler.internal.codegen.as
> >
> > > > > .ASBlockWalker.visitFunction(ASBlockWalker.java:290)
> >
> > > > > : at
> >
> > > > > org.apache.royale.compiler.internal.visitor.as
> >
> > > > > .ASNodeSwitch.handle(ASNodeSwitch.java:152)
> >
> > > > > : at
> >
> > > > > org.apache.royale.compiler.internal.visitor.as
> >
> > > > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> >
> > > > > : at
> >
> > > > > org.apache.royale.compiler.internal.visitor.as
> >
> > > > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> >
> > > > > : at
> >
> > > > > org.apache.royale.compiler.internal.codegen.as
> >
> > > > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmit
> >
> > > > > ter.emitScripts(MXMLRoyaleEmitter.java:2179)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmit
> >
> > > > > ter.emitDocument(MXMLRoyaleEmitter.java:899)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleBloc
> >
> > > > > kWalker.visitDocument(MXMLRoyaleBlockWalker.java:69)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle
> >
> > > > > (MXMLNodeSwitch.java:89)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(
> >
> > > > > MXMLBlockWalker.java:156)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleBloc
> >
> > > > > kWalker.visitFile(MXMLRoyaleBlockWalker.java:61)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle
> >
> > > > > (MXMLNodeSwitch.java:95)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(
> >
> > > > > MXMLBlockWalker.java:156)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.visit
> >
> > > > > CompilationUnit(MXMLBlockWalker.java:187)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.mxml.MXMLWriter.writeTo(MX
> >
> > > > > MLWriter.java:69)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale
> >
> > > > > .java:411)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRo
> >
> > > > > yale.java:259)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoy
> >
> > > > > ale.java:216)
> >
> > > > > : at
> >
> > > > >
> > org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:36
> >
> > > > > 3)
> >
> > > > > : at
> >
> > > > >
> > org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298
> >
> > > > > )
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.ja
> >
> > > > > va:256)
> >
> > > > > : at
> > org.apache.royale.compiler.clients.MXMLJSC.main(MXMLJSC.java:238)
> >
> > > > > : Caused by: java.lang.ClassNotFoundException:
> >
> > > > > org.apache.commons.lang.StringEscapeUtils
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClas
> >
> > > > > sLoader.java:582)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Cl
> >
> > > > > assLoaders.java:178)
> >
> > > > > : at
> java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
> >
> > > > > : ... 67 more
> >
> > > > >
> >
> > > > > niedz., 21 lut 2021 o 18:57 Carlos Rovira <carlosrovira@apache.org
> > <ma...@apache.org>>
> >
> > > > > napisał(a):
> >
> > > > >
> >
> > > > > > Hi,
> >
> > > > > >
> >
> > > > > > I worked today on this and finally could solve the problem. A
> part
> >
> > > > > > from Chris changes we need a bit more changes since all was set
> up
> >
> > > > > > from the compiler to use the old names. So class paths need to be
> >
> > > > > changed too there.
> >
> > > > > > Also Google Closure compiler need to be in jar mode instead of
> >
> > > > unpacked.
> >
> > > > > >
> >
> > > > > > Now I can use CMD (or CTRL) + SHIFT + B and select Debug or
> Release
> >
> > > > > > option with Actionscript extension and all goes ok.
> >
> > > > > > When using CMD+ENTER I think VsCode use the experimental build in
> >
> > > > > > Josh extension and take the SDK in ROYALE_HOME, and since that's
> > the
> >
> > > > > > one build in the repository with ANT all seems fine, but is not
> >
> > > > > > using the selected SDK, so the build is not using what you
> expect.
> >
> > > > > >
> >
> > > > > > This is my output now using the Maven Distribution SDK:
> >
> > > > > >
> >
> > > > > >
> >
> > > > > >
> >
> > > > > >
> >
> > > > > >
> >
> > > > > >
> >
> > > > > >
> >
> > > > > >
> >
> > > > > >
> >
> > > > > >
> >
> > > > > >
> >
> > > > > >
> >
> > > > > >
> >
> > > > > >
> >
> > > > > >
> >
> > > > > >
> >
> > > > > >
> >
> > > > > >
> >
> > > > > >
> >
> > > > > > *> Executing task in folder TourDeJewel:
> >
> > > > > >
> > /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/b
> >
> > > > > > in
> >
> > > > > > /java
> >
> > > > > > -jar
> >
> > > > > >
> >
> > > > > >
> > /Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas
> >
> > > > > > -1
> >
> > > > > > .6.0/bin/asconfigc.jar --sdk
> >
> > > > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
> > --debug=true
> >
> > > > > > --project
> >
> > > > > >
> >
> > > > > >
> > /Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/Tou
> >
> > > > > > rD
> >
> > > > > > eJewel/asconfig.json
> >
> > > > > >
> >
> > > > > >
> > <MXMLJSC+royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale
> >
> > > > > > -m
> >
> > > > > >
> > aven/frameworks--debug=true+configname=royale--targets=JSRoyale--sou
> >
> > > > > > rc
> >
> > > > > >
> > e-path+=src/main/resources--source-map=true--html-template=src/main/
> >
> > > > > > e-path+re
> >
> > > > > >
> > sources/jewel-example-index-template.html--theme=${royalelib}/themes
> >
> > > > > > /J
> >
> > > > > >
> > ewelTheme/src/main/resources/defaults.css-js-dynamic-access-unknown-
> >
> > > > > > me mbers=true--src/main/royale/App.mxmlThe
> >
> > > > > > project 'App' has been successfully compiled.12.80962843
> >
> > > > > > secondsTerminal will be reused by tasks, press any key to close
> > it.*
> >
> > > > > >
> >
> > > > > >
> >
> > > > > >
> >
> > > > > >
> >
> > > > > >
> >
> > > > > >
> >
> > > > > > El sáb, 20 feb 2021 a las 18:16, Christofer Dutz (<
> >
> > > > > > christofer.dutz@c-ware.de<ma...@c-ware.de>>)
> >
> > > > > > escribió:
> >
> > > > > >
> >
> > > > > > > So I just did a video and posted it to the Royale slack channel
> > ...
> >
> > > > > > >
> >
> > > > > > > I can't seem to reproduce the error ... perhaps if you check
> what
> >
> > > > > > > I'm doing you can tell me if I'm doing something wrong.
> >
> > > > > > > I did try to rule out that I might have not configured VSCode
> to
> >
> > > > > > > use my distribution by intentionally changing the settings to a
> >
> > > > > > > wrong
> >
> > > > > location.
> >
> > > > > > It
> >
> > > > > > > didn't work then, and when I changed it back to the correct
> >
> > > > > > > version, I could build again.
> >
> > > > > > >
> >
> > > > > > > Chris
> >
> > > > > > >
> >
> > > > > > >
> >
> > > > > > > -----Ursprüngliche Nachricht-----
> >
> > > > > > > Von: Carlos Rovira <carlosrovira@apache.org<mailto:
> > carlosrovira@apache.org>>
> >
> > > > > > > Gesendet: Samstag, 20. Februar 2021 15:17
> >
> > > > > > > An: Apache Royale Development <dev@royale.apache.org<mailto:
> > dev@royale.apache.org>>
> >
> > > > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >
> > > > > > > distribution
> >
> > > > > > >
> >
> > > > > > > Hi,
> >
> > > > > > >
> >
> > > > > > > sorry, yesterday was mostly offline for some personal things.
> > Many
> >
> > > > > > > things happen in this thread.
> >
> > > > > > > I rebuild all today and check. This is what I can report trying
> > to
> >
> > > > > > > build TDJ with Maven SDK with Chris's changes.
> >
> > > > > > > Setting my VSCode with AS3&MXML to the Maven SDK just
> generated:
> >
> > > > > > >
> >
> > > > > > > 1.- I can't build with CMD+SHIFT+ENTER, then "Build Debug with
> > AS3
> >
> > > > > > > Extension Tour de Jewel" (as josh said). I get :
> >
> > > > > > >
> >
> > > > > > > Executing task in folder TourDeJewel:
> >
> > > > > > >
> >
> > > > > >
> > /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/b
> >
> > > > > > in
> >
> > > > > > /java
> >
> > > > > > > -jar
> >
> > > > > > >
> >
> > > > > > >
> >
> > > > > >
> > /Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas
> >
> > > > > > -1
> >
> > > > > > .6.0/bin/asconfigc.jar
> >
> > > > > > > --sdk /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
> >
> > > > > > --debug=true
> >
> > > > > > > --project
> >
> > > > > > >
> >
> > > > > >
> > /Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/Tou
> >
> > > > > > rD
> >
> > > > > > eJewel/asconfig.json
> >
> > > > > > > <
> >
> > > > > > >
> >
> > > > > > > Error: no se ha encontrado o cargado la clase principal
> >
> > > > > > > org.apache.royale.compiler.clients.MXMLJSC
> >
> > > > > > > The terminal process
> >
> > > > > > >
> >
> > > > > > >
> >
> > > > > >
> > "/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/
> >
> > > > > > bi
> >
> > > > > > n/java
> >
> > > > > > > '-jar',
> >
> > > > > > >
> >
> > > > > > >
> >
> > > > > >
> > '/Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgena
> >
> > > > > > s-
> >
> > > > > > 1.6.0/bin/asconfigc.jar',
> >
> > > > > > > '--sdk',
> >
> > > > > > > '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven',
> >
> > > > > > > '--debug=true', '--project',
> >
> > > > > > >
> >
> > > > > > >
> >
> > > > > >
> >
> > > > >
> >
> > > >
> >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/TourDeJewel/asconfig.json'"
> >
> > > > > > > terminated with exit code: 1.
> >
> > > > > > >
> >
> > > > > > > Terminal will be reused by tasks, press any key to close it.
> >
> > > > > > >
> >
> > > > > > >
> >
> > > > > > > 2.- I can build with CMD+ENTER. I get:
> >
> > > > > > >
> >
> > > > > > > Royale Compiler Shell
> >
> > > > > > > (fcsh) mxmlc --debug=false +configname=royale
> --targets=JSRoyale
> >
> > > > > > > --source-path+=src/main/resources --source-map=true
> >
> > > > > > > --html-template=src/main/resources/
> > jewel-example-index-template.ht
> >
> > > > > > > ml
> >
> > > > > > >
> > --theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults
> >
> > > > > > > .c ss -js-dynamic-access-unknown-members=true --
> >
> > > > > > > src/main/royale/App.mxml
> >
> > > > > > > fcsh: Assigned 1 as the compile target id The project 'App' has
> >
> > > > > > > been successfully compiled and optimized.
> >
> > > > > > > Compile status: 0
> >
> > > > > > > Elapsed time: 26.925719521 seconds Feb 20, 2021 3:10:42 PM
> >
> > > > > > > com.google.javascript.jscomp.LoggerErrorManager
> >
> > > > > > > printSummary
> >
> > > > > > > INFO: 0 error(s), 0 warning(s), 97.8% typed
> >
> > > > > > > (fcsh)
> >
> > > > > > >
> >
> > > > > > > I don't understand fully the differences between one method and
> >
> > > > > > > the other and why I get different results. I guess know what's
> >
> > > > > > > happening is needed
> >
> > > > > > so
> >
> > > > > > > Chris can do the proper changes. probably there are paths and
> >
> > > > > > > locations mixed.
> >
> > > > > > >
> >
> > > > > > > @Chris, one thing I did in the past was to compare maven
> >
> > > > > > > distribution
> >
> > > > > > with
> >
> > > > > > > ant distribution so both has most of the things in the same
> > place.
> >
> > > > > > > I
> >
> > > > > > think
> >
> > > > > > > some files where left in more than one place (like mxmlc).
> >
> > > > > > >
> >
> > > > > > > If you could take a look at it, that will for sure fix the
> issue.
> >
> > > > > > > You
> >
> > > > > > have
> >
> > > > > > > TDJ and the other project to test if that works and now we know
> >
> > > > > > > that is better to try with CMD+SHIFT+ENTER, then "Build Debug
> > with
> >
> > > > > > > AS3 Extension Tour de Jewel"
> >
> > > > > > >
> >
> > > > > > >
> >
> > > > > > >
> >
> > > > > > >
> >
> > > > > > > El vie, 19 feb 2021 a las 18:45, Piotr Zarzycki (<
> >
> > > > > > > piotrzarzycki21@gmail.com<ma...@gmail.com>>)
> >
> > > > > > > escribió:
> >
> > > > > > >
> >
> > > > > > > > It looks like something bad has happened with my
> environment. I
> >
> > > > > > > > changed lately Java settings a bit. You can see what is setup
> > in
> >
> > > > > > > > my
> >
> > > > > > > stacktrace.
> >
> > > > > > > >
> >
> > > > > > > > I will get back to that over the weekend or on Monday.
> >
> > > > > > > >
> >
> > > > > > > > On Fri, 19 Feb 2021 at 18:24, Maria Jose Esteve
> >
> > > > > > > > <mj...@iest.com>>
> >
> > > > > > > wrote:
> >
> > > > > > > >
> >
> > > > > > > > > Hi,
> >
> > > > > > > > > Piotr, I just tested your distribution with my project and
> > the
> >
> > > > > > > > compilation
> >
> > > > > > > > > was successful, no errors.
> >
> > > > > > > > > Running the application seems to be working fine too.
> >
> > > > > > > > > (I compile the application with mvn)
> >
> > > > > > > > >
> >
> > > > > > > > > What do they need me to try now?
> >
> > > > > > > > >
> >
> > > > > > > > > Hiedra.
> >
> > > > > > > > > -----Mensaje original-----
> >
> > > > > > > > > De: Piotr Zarzycki <piotrzarzycki21@gmail.com<mailto:
> > piotrzarzycki21@gmail.com>> Enviado el:
> >
> > > > > > > > > viernes,
> >
> > > > > > > > > 19 de febrero de 2021 18:11
> >
> > > > > > > > > Para: Apache Royale Development <dev@royale.apache.org
> > <ma...@royale.apache.org>>
> >
> > > > > > > > > Asunto: Re: Align Maven IDE distribution with Ant IDE
> >
> > > > > > > > > distribution
> >
> > > > > > > > >
> >
> > > > > > > > > Did you test my distribution ?
> >
> > > > > > > > >
> >
> > > > > > > > > pt., 19 lut 2021 o 18:00 Christofer Dutz
> >
> > > > > > > > > <christofer.dutz@c-ware.de<mailto:
> christofer.dutz@c-ware.de
> > >>
> >
> > > > > > > > > napisał(a):
> >
> > > > > > > > >
> >
> > > > > > > > > > So I did a bit more of testing.
> >
> > > > > > > > > >
> >
> > > > > > > > > > So after I had no issues building Carlos' example, I
> tried
> >
> > > > > > > > > > the TourDeJewl example.
> >
> > > > > > > > > > So I opened VSCode in the directory of TDJ example ...
> >
> > > > > > > > > > created a settings.json with the folowing content:
> >
> > > > > > > > > >
> >
> > > > > > > > > > {
> >
> > > > > > > > > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> >
> > > > > > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> >
> > > > > > > > > > }
> >
> > > > > > > > > >
> >
> > > > > > > > > > Hit STRG+Enter and waited a bit ...
> >
> > > > > > > > > >
> >
> > > > > > > > > > Then I opened the output in Chrome and have a fully
> >
> > > > > > > > > > functioning TDJ application.
> >
> > > > > > > > > >
> >
> > > > > > > > > > So I wouldn't consider the build broken.
> >
> > > > > > > > > >
> >
> > > > > > > > > > Chris
> >
> > > > > > > > > >
> >
> > > > > > > > > >
> >
> > > > > > > > > >
> >
> > > > > > > > > > -----Ursprüngliche Nachricht-----
> >
> > > > > > > > > > Von: Maria Jose Esteve <mjesteve@iest.com<mailto:
> > mjesteve@iest.com>>
> >
> > > > > > > > > > Gesendet: Freitag, 19. Februar 2021 17:51
> >
> > > > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
> >
> > > > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> >
> > > > > > > > > > distribution
> >
> > > > > > > > > >
> >
> > > > > > > > > > Sure, that would be "expected", but like I told you: if I
> >
> > > > > > > > > > change it to MXRoyaleJS.swc, the app "does nonsense".
> >
> > > > > > > > > > Maybe something has gotten my way.
> >
> > > > > > > > > >
> >
> > > > > > > > > > I will read your messages and see if I can help with
> >
> > > something.
> >
> > > > > > > > > >
> >
> > > > > > > > > > Hiedra.
> >
> > > > > > > > > > -----Mensaje original-----
> >
> > > > > > > > > > De: Christofer Dutz <christofer.dutz@c-ware.de<mailto:
> > christofer.dutz@c-ware.de>> Enviado el:
> >
> > > > > > > > > > viernes,
> >
> > > > > > > > > > 19 de febrero de 2021 14:12
> >
> > > > > > > > > > Para: dev@royale.apache.org<mailto:dev@royale.apache.org
> >
> >
> > > > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> >
> > > > > > > > > > distribution
> >
> > > > > > > > > >
> >
> > > > > > > > > > Hi Hiedra,
> >
> > > > > > > > > >
> >
> > > > > > > > > > well I changed the distribution to make the names like in
> >
> > > > > > > > > > the ANT distribution yesterday.
> >
> > > > > > > > > > But you are passing in an argument telling the compiler
> to
> >
> > > > > > > > > > use the old format and now it should be the new ...
> >
> > > > > > > > > >
> >
> > > > > > > > > > Try:
> >
> > > > > > > > > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> >
> > > > > > > > > > defaults.css; For -compiler.exclude-defaults-css-files =
> >
> > > > > > > MXRoyaleJS.swc:
> >
> > > > > > > > > > defaults.css;
> >
> > > > > > > > > >
> >
> > > > > > > > > > Instead of your variant.
> >
> > > > > > > > > >
> >
> > > > > > > > > > Chris
> >
> > > > > > > > > >
> >
> > > > > > > > > >
> >
> > > > > > > > > > -----Ursprüngliche Nachricht-----
> >
> > > > > > > > > > Von: Maria Jose Esteve <mjesteve@iest.com<mailto:
> > mjesteve@iest.com>>
> >
> > > > > > > > > > Gesendet: Freitag, 19. Februar 2021 14:08
> >
> > > > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
> >
> > > > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> >
> > > > > > > > > > distribution
> >
> > > > > > > > > >
> >
> > > > > > > > > > Yes, until recently I also compiled only with Maven. Due
> to
> >
> > > > > > > > > > the problem with the spark.css I started to do the double
> >
> > > > > > > > > > compilation of
> >
> > > > > > > > > MAVEN and ANT.
> >
> > > > > > > > > >
> >
> > > > > > > > > > It's funny, now, the swc's are not generated with
> >
> > > > > > > > > > "xxxx-0.9.8-SNAPSHOT-js.swc" in the distribution BUT if
> in
> >
> > > > > > > > > > the pom of my project I change in
> > additionalCompilerOptions:
> >
> > > > > > > > > > -compiler.exclude-defaults-css-files = MXRoyale - $
> >
> > > > > > > > > > {royale.framework.version} -js.swc: defaults.css; For
> >
> > > > > > > > > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> >
> > > > > > > > > > defaults.css; My application starts to do nonsense (for
> >
> > > > > > > > > > example the change of selectedContent in my
> >
> > > > > > > > > > ApplicationMainContent does not display)
> >
> > > > > > > > > >
> >
> > > > > > > > > > Chris, thank you.
> >
> > > > > > > > > > Hiedra
> >
> > > > > > > > > >
> >
> > > > > > > > > > -----Mensaje original-----
> >
> > > > > > > > > > De: Christofer Dutz <christofer.dutz@c-ware.de<mailto:
> > christofer.dutz@c-ware.de>> Enviado el:
> >
> > > > > > > > > > viernes,
> >
> > > > > > > > > > 19 de febrero de 2021 13:09
> >
> > > > > > > > > > Para: dev@royale.apache.org<mailto:dev@royale.apache.org
> >
> >
> > > > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> >
> > > > > > > > > > distribution
> >
> > > > > > > > > >
> >
> > > > > > > > > > Hi Hiedra,
> >
> > > > > > > > > >
> >
> > > > > > > > > > I have to admit that I've never used VSCode. Every time I
> > do
> >
> > > > > > > > > > any development I usually use one of the JetBrains IDEs.
> >
> > > > > > > > > > Royale Stuff I do in IntelliJ ... with my "Flexmojos
> Hack"
> >
> > > > > > > > > > it can be used quite well. And I always compile with
> Maven.
> >
> > > > > > > > > >
> >
> > > > > > > > > > But thanks for the explanation on why the other path is
> set
> >
> > > > > > > > differently.
> >
> > > > > > > > > >
> >
> > > > > > > > > > I guess we'll have to wait till some others can tell me
> > what
> >
> > > > > > > > > > needs to be changed.
> >
> > > > > > > > > >
> >
> > > > > > > > > > Chris
> >
> > > > > > > > > >
> >
> > > > > > > > > >
> >
> > > > > > > > > > -----Ursprüngliche Nachricht-----
> >
> > > > > > > > > > Von: Maria Jose Esteve <mjesteve@iest.com<mailto:
> > mjesteve@iest.com>>
> >
> > > > > > > > > > Gesendet: Freitag, 19. Februar 2021 12:48
> >
> > > > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
> >
> > > > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> >
> > > > > > > > > > distribution
> >
> > > > > > > > > >
> >
> > > > > > > > > > Hello Chris,
> >
> > > > > > > > > > so that I can debug my changes in the SDK I need to set
> the
> >
> > > > > > > > > > path of the "as3mxml.sdk.editor" to the asjs directory of
> > my
> >
> > > > > > > > > > fork, for this reason the path of the "
> >
> > > as3mxml.sdk.framework"
> >
> > > > > > > > > > points to the directory of the maven distribution and the
> >
> > > > > "as3mxml.sdk.editor"
> >
> > > > > > > > > > to
> >
> > > > > > > > code.
> >
> > > > > > > > > >
> >
> > > > > > > > > > ">> I'm not getting any errors from VSCode. But well ...
> if
> >
> > > > > > > > > > I hit
> >
> > > > > > > > > > SHIFT+Enter it starts doing something where if failed
> prior
> >
> > > > > > > > > > SHIFT+to my
> >
> > > > > > > > > > >> changes this morning and is no longer complaining, but
> >
> > > > > > > > > > >> it's also not
> >
> > > > > > > > > > doing much (I can't see it create a "bin" directory)"
> >
> > > > > > > > > >
> >
> > > > > > > > > > I don't quite understand this ... possibly because of my
> >
> > > > > > > > > > lack of
> >
> > > > > > > > > knowledge.
> >
> > > > > > > > > >
> >
> > > > > > > > > > I have not tried Carlos's project but this afternoon I
> will
> >
> > > > > > > > > > be able to do it and I will be able to give more details.
> >
> > > > > > > > > >
> >
> > > > > > > > > > Thx.
> >
> > > > > > > > > > Hiedra.
> >
> > > > > > > > > >
> >
> > > > > > > > > > -----Mensaje original-----
> >
> > > > > > > > > > De: Christofer Dutz <christofer.dutz@c-ware.de<mailto:
> > christofer.dutz@c-ware.de>> Enviado el:
> >
> > > > > > > > > > viernes,
> >
> > > > > > > > > > 19 de febrero de 2021 11:51
> >
> > > > > > > > > > Para: dev@royale.apache.org<mailto:dev@royale.apache.org
> >
> >
> > > > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> >
> > > > > > > > > > distribution
> >
> > > > > > > > > >
> >
> > > > > > > > > > Hi Heidra,
> >
> > > > > > > > > >
> >
> > > > > > > > > > I just updated Carlos' example to have the same type of
> >
> > > > > > > > > > setting (C:\\Temp\\RoyaleSDK is where I have my Maven
> build
> >
> > > > > > > > > > generate the
> >
> > > > > > > SDK):
> >
> > > > > > > > > >
> >
> > > > > > > > > > setings.js:
> >
> > > > > > > > > > {
> >
> > > > > > > > > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> >
> > > > > > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> >
> > > > > > > > > > }
> >
> > > > > > > > > >
> >
> > > > > > > > > > workspace-code-workspace
> >
> > > > > > > > > > {
> >
> > > > > > > > > > "folders": [
> >
> > > > > > > > > > {
> >
> > > > > > > > > > "path": ".."
> >
> > > > > > > > > > }
> >
> > > > > > > > > > ],
> >
> > > > > > > > > > "settings": {
> >
> > > > > > > > > > "as3mxml.sdk.framework":
> >
> > > "C:\\Temp\\RoyaleSDK",
> >
> > > > > > > > > > "as3mxml.sdk.editor":
> "C:\\Temp\\RoyaleSDK"
> >
> > > > > > > > > > }
> >
> > > > > > > > > > }
> >
> > > > > > > > > >
> >
> > > > > > > > > > I'm not getting any errors from VSCode. But well ... if I
> >
> > > > > > > > > > hit
> >
> > > > > > > > > > SHIFT+Enter it starts doing something where if failed
> prior
> >
> > > > > > > > > > SHIFT+to my
> >
> > > > > > > > > > changes this morning and is no longer complaining, but
> it's
> >
> > > > > > > > > > also not doing much (I can't see it create a "bin"
> >
> > > > > > > > > > directory)
> >
> > > > > > > > > >
> >
> > > > > > > > > > Chris
> >
> > > > > > > > > >
> >
> > > > > > > > > >
> >
> > > > > > > > > > -----Ursprüngliche Nachricht-----
> >
> > > > > > > > > > Von: Maria Jose Esteve <mjesteve@iest.com<mailto:
> > mjesteve@iest.com>>
> >
> > > > > > > > > > Gesendet: Freitag, 19. Februar 2021 10:53
> >
> > > > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
> >
> > > > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> >
> > > > > > > > > > distribution
> >
> > > > > > > > > >
> >
> > > > > > > > > > If I don't compile with ANT, the mxml extension in vsCode
> >
> > > > > > > > > > IDE, it doesn't recognize the valid asjs directory for
> >
> > > > > > "as3mxml.sdk.editor":
> >
> > > > > > > > > > ...
> >
> > > > > > > > > > "settings": {
> >
> > > > > > > > > > "as3mxml.sdk.framework":
> >
> > > > > > > > > > "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
> >
> > > > > > > > > > "as3mxml.sdk.editor":
> >
> > > > > > > > > > "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs"
> >
> > > > > > > > > > <-------- [download folder repo royale-asjs]
> >
> > > > > > > > > > }
> >
> > > > > > > > > > }
> >
> > > > > > > > > >
> >
> > > > > > > > > > The error is:
> >
> > > > > > > > > > " as3mxml.sdk.editor in settings does not point to a
> valid
> >
> > > SDK.
> >
> > > > > > > > > > Requires..."
> >
> > > > > > > > > >
> >
> > > > > > > > > > Thx.
> >
> > > > > > > > > > Hiedra.
> >
> > > > > > > > > >
> >
> > > > > > > > > > -----Mensaje original-----
> >
> > > > > > > > > > De: Piotr Zarzycki <piotrzarzycki21@gmail.com<mailto:
> > piotrzarzycki21@gmail.com>> Enviado el:
> >
> > > > > > > > > > viernes, 19 de febrero de 2021 10:44
> >
> > > > > > > > > > Para: Apache Royale Development <dev@royale.apache.org
> > <ma...@royale.apache.org>>
> >
> > > > > > > > > > Asunto: Re: Align Maven IDE distribution with Ant IDE
> >
> > > > > > > > > > distribution
> >
> > > > > > > > > >
> >
> > > > > > > > > > Hi Chris,
> >
> > > > > > > > > >
> >
> > > > > > > > > > I just tried your changes and I have same issue. I need
> to
> >
> > > > > > > > > > understand what has change enough significantly that it
> >
> > > > > > > > > > causes compilation fail in such way. It doesn't happen
> with
> >
> > > > > > > > > > SDK prepared
> >
> > > > > > by
> >
> > > > > > > ANT.
> >
> > > > > > > > > >
> >
> > > > > > > > > > Thanks,
> >
> > > > > > > > > > Piotr
> >
> > > > > > > > > >
> >
> > > > > > > > > > pt., 19 lut 2021 o 10:33 Maria Jose Esteve
> >
> > > > > > > > > > <mj...@iest.com>>
> >
> > > > > > > > > napisał(a):
> >
> > > > > > > > > >
> >
> > > > > > > > > > > @Chris you're right, sorry, I didn't download your last
> >
> > > > commit.
> >
> > > > > > > > > > > I'm sorry.
> >
> > > > > > > > > > > Hiedra.
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > -----Mensaje original-----
> >
> > > > > > > > > > > De: Christofer Dutz <christofer.dutz@c-ware.de<mailto:
> > christofer.dutz@c-ware.de>> Enviado
> >
> > > el:
> >
> > > > > > > > > > > viernes,
> >
> > > > > > > > > > > 19 de febrero de 2021 10:17
> >
> > > > > > > > > > > Para: dev@royale.apache.org<mailto:
> dev@royale.apache.org
> > >
> >
> > > > > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> >
> > > > > > > > > > > distribution
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > I'll try to guess what you wanted to say here ...
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > But I think these are exactly the changes I comitted a
> an
> >
> > > > > > > > > > > hour ago,
> >
> > > > > > > > > > right?
> >
> > > > > > > > > > > At least in general I replaced all the references to
> > names
> >
> > > > > > > > > > > with versions to the changed ones.
> >
> > > > > > > > > > >
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > Chris
> >
> > > > > > > > > > >
> >
> > > > > > > > > > >
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > -----Ursprüngliche Nachricht-----
> >
> > > > > > > > > > > Von: Maria Jose Esteve <mjesteve@iest.com<mailto:
> > mjesteve@iest.com>>
> >
> > > > > > > > > > > Gesendet: Freitag, 19. Februar 2021 10:01
> >
> > > > > > > > > > > An: dev@royale.apache.org<mailto:dev@royale.apache.org
> >
> >
> > > > > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> >
> > > > > > > > > > > distribution
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > Hi,
> >
> > > > > > > > > > > Mi distribución hace referencia en el fichero
> >
> > > > > > > > > > > "./frameworks/royale-config.xml" a las librerías:
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > <js-external-library-path>
> >
> > > > > > > > > > >
> >
> > > > > > > > > > >
> >
> > > > > > >
> >
> > > <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.
> >
> > > > > > > > > > > sw
> >
> > > > > > > > > > > c</path-element>
> >
> > > > > > > > > > >
> >
> > > > > > > > > > >
> >
> > > > > > > > > >
> > <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-
> >
> > > > > > > > > > ty
> >
> > > > > > > > > > pede
> >
> > > > > > > > > > fs.s
> >
> > > > > > > > > > wc</path-element>
> >
> > > > > > > > > > > </js-external-library-path>
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > Las correctas son:
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > <js-external-library-path>
> >
> > > > > > > > > > >
> >
> > > > > > > > >
> >
> > > > > > > > >
> > <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> >
> > > > > > > > > > >
> >
> > > > > > > > >
> >
> > > > > > > > >
> > <path-element>../js/libs/royale-typedefs-gcl.swc</path-element
> >
> > > > > > > > > >
> >
> > > > > > > > > > > </js-external-library-path>
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > Hiedra
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > -----Mensaje original-----
> >
> > > > > > > > > > > De: Christofer Dutz <christofer.dutz@c-ware.de<mailto:
> > christofer.dutz@c-ware.de>> Enviado
> >
> > > el:
> >
> > > > > > > > > > > viernes,
> >
> > > > > > > > > > > 19 de febrero de 2021 9:39
> >
> > > > > > > > > > > Para: dev@royale.apache.org<mailto:
> dev@royale.apache.org
> > >
> >
> > > > > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> >
> > > > > > > > > > > distribution
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > Ok,
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > so the config xml files in the distribution were still
> >
> > > > > > > > > > > pointing to the old names. I updated them all to now
> > refer
> >
> > > > > > > > > > > to
> >
> > > > > the names.
> >
> > > > > > > > > > > I tried things in Carlos' demo project, and I'm
> no-longer
> >
> > > > > > > > > > > getting the errors, however compilation seems to take
> for
> >
> > > > ever.
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > Please try out the changes and tell me if there are any
> >
> > > > > > > > > > > problems with
> >
> > > > > > > > > > them.
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > Chris
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > -----Ursprüngliche Nachricht-----
> >
> > > > > > > > > > > Von: Christofer Dutz <christofer.dutz@c-ware.de
> <mailto:
> > christofer.dutz@c-ware.de>>
> >
> > > > > > > > > > > Gesendet: Donnerstag, 18. Februar 2021 23:17
> >
> > > > > > > > > > > An: dev@royale.apache.org<mailto:dev@royale.apache.org
> >
> >
> > > > > > > > > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> >
> > > > > > > > > > > distribution
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > Hi Carlos,
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > I'll look into this tomorrow.
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > Chris
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > -----Ursprüngliche Nachricht-----
> >
> > > > > > > > > > > Von: Carlos Rovira <carlosrovira@apache.org<mailto:
> > carlosrovira@apache.org>>
> >
> > > > > > > > > > > Gesendet: Donnerstag, 18. Februar 2021 17:49
> >
> > > > > > > > > > > An: Apache Royale Development <dev@royale.apache.org
> > <ma...@royale.apache.org>>
> >
> > > > > > > > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >
> > > > > > > > > > > distribution
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > Hi, I think I talked very quickly, sorry, there seems
> to
> >
> > > > > > > > > > > be a
> >
> > > > > > > > problem.
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > @Christofer Dutz <christofer.dutz@c-ware.de<mailto:
> > christofer.dutz@c-ware.de>> you can
> >
> > > > > > > > > > > download this
> >
> > > > > > > > > > > project:
> >
> > > > > > > > > > >
> >
> > > > > > > > > > >
> >
> > > > > > > > > > >
> > https://github.com/apache/royale-asjs/files/6004363/Toggle
> >
> > > > > > > > > > > Bu
> >
> > > > > > > > > > > tton
> >
> > > > > > > > > > > BarI
> >
> > > > > > > > > > > ss
> >
> > > > > > > > > > > ue.zip
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > Then using VSCode with AS3&MXML and adding the Maven
> >
> > > > > > distribution.
> >
> > > > > > > > > > > Then hit CTRL+ENTER and you will get the following
> fail.
> >
> > > > > > > > > > > Using ANT distribution is working fine.
> >
> > > > > > > > > > > Can you take a look?
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > Royale Compiler Shell
> >
> > > > > > > > > > > (fcsh) mxmlc --debug=false +configname=royale
> >
> > > > > > > > > > > --targets=JSRoyale --source-map=true
> >
> > > > > > > > > > >
> > --html-template=src/html/jewel-example-index-template.html
> >
> > > > > > > > > > >
> >
> > > > > > > > > > >
> > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapph
> >
> > > > > > > > > > > ir
> >
> > > > > > > > > > > e-Th
> >
> > > > > > > > > > > eme/
> >
> > > > > > > > > > > sr
> >
> > > > > > > > > > > c/main/resources/defaults.css
> >
> > > > > > > > > > > --source-path+=src
> >
> > > > > > > > > > >
> > --source-path+--library-path+=${royalelib}/js/libs/MXRoyal
> >
> > > > > > > > > > > --source-path+--library-path+eJ S.sw c
> >
> > > > > > > > > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> >
> > > > > > > > > > >
> > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaul
> >
> > > > > > > > > > > ts .css -js-dynamic-access-unknown-members=true --
> >
> > > > > > > > > > > src/App.mxml
> >
> > > > > > > > > > > fcsh: Assigned 1 as the compile target id The project
> > 'App'
> >
> > > > > > > > > > > has been successfully compiled and optimized.
> >
> > > > > > > > > > > Compile status: 0
> >
> > > > > > > > > > > Elapsed time: 14.211105399 seconds Feb 18, 2021 5:43:40
> > PM
> >
> > > > > > > > > > > com.google.javascript.jscomp.LoggerErrorManager
> >
> > > > > > > > > > > printSummary
> >
> > > > > > > > > > > INFO: 0 error(s), 0 warning(s), 96.5% typed
> >
> > > > > > > > > > > (fcsh) quit
> >
> > > > > > > > > > > Compiler shell exited with code: 0 Royale Compiler
> Shell
> >
> > > > > > > > > > > (fcsh) mxmlc --debug=false +configname=royale
> >
> > > > > > > > > > > --targets=JSRoyale --source-map=true
> >
> > > > > > > > > > >
> > --html-template=src/html/jewel-example-index-template.html
> >
> > > > > > > > > > >
> >
> > > > > > > > > > >
> > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapph
> >
> > > > > > > > > > > ir
> >
> > > > > > > > > > > e-Th
> >
> > > > > > > > > > > eme/
> >
> > > > > > > > > > > sr
> >
> > > > > > > > > > > c/main/resources/defaults.css
> >
> > > > > > > > > > > --source-path+=src
> >
> > > > > > > > > > >
> > --source-path+--library-path+=${royalelib}/js/libs/MXRoyal
> >
> > > > > > > > > > > --source-path+--library-path+eJ S.sw c
> >
> > > > > > > > > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> >
> > > > > > > > > > >
> > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaul
> >
> > > > > > > > > > > ts .css -js-dynamic-access-unknown-members=true --
> >
> > > > > > > > > > > src/App.mxml
> >
> > > > > > > > > > > fcsh: Assigned 1 as the compile target id Compile
> status:
> >
> > > > > > > > > > > 5 Elapsed
> >
> > > > > > > > > time:
> >
> > > > > > > > > > > 0.618407478 seconds
> >
> > > > > > > > > > >
> >
> > > > > > > > > > >
> >
> > > > > > > > > >
> >
> > > > > > > > >
> >
> > > > > > > >
> >
> > > > > > >
> >
> > > > > >
> >
> > > > >
> >
> > > >
> >
> > >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> >
> > > > > > > > > > > col: 0 Error: unable to open
> >
> > > > > > > > > > >
> >
> > > > > > > > > > >
> >
> > > > > > > > > >
> >
> > > > > > > > >
> >
> > > > > > > >
> >
> > > > > > >
> >
> > > > > >
> >
> > > > >
> >
> > > >
> >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
> >
> > > > > > > > > > >
> >
> > > > > > > > > > >
> > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/fr
> >
> > > > > > > > > > > am
> >
> > > > > > > > > > > ewor
> >
> > > > > > > > > > > ks/r
> >
> > > > > > > > > > > oy
> >
> > > > > > > > > > > ale-config.xml
> >
> > > > > > > > > > > (line: 81)
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > </js-external-library-path>
> >
> > > > > > > > > > >
> >
> > > > > > > > > > >
> >
> > > > > > > > > > >
> >
> > > > > > > > > > >
> >
> > > > > > > > > >
> >
> > > > > > > > >
> >
> > > > > > > >
> >
> > > > > > >
> >
> > > > > >
> >
> > > > >
> >
> > > >
> >
> > >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> >
> > > > > > > > > > > col: 0 Error: unable to open
> >
> > > > > > > > > > >
> >
> > > > > > > > > > >
> >
> > > > > > > > > >
> >
> > > > > > > > >
> >
> > > > > > > >
> >
> > > > > > >
> >
> > > > > >
> >
> > > > >
> >
> > > >
> >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
> >
> > > > > > > > > > >
> >
> > > > > > > > > > >
> > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/fr
> >
> > > > > > > > > > > am
> >
> > > > > > > > > > > ewor
> >
> > > > > > > > > > > ks/r
> >
> > > > > > > > > > > oy
> >
> > > > > > > > > > > ale-config.xml
> >
> > > > > > > > > > > (line: 81)
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > </js-external-library-path>
> >
> > > > > > > > > > > (fcsh)
> >
> > > > > > > > > > > Quick Compile failed. Errors in compiler output.
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
> >
> > > > > > > > > > > (<carlosrovira@apache.org<mailto:
> carlosrovira@apache.org
> > >>)
> >
> > > > > > > > > > > escribió:
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > > Hi,
> >
> > > > > > > > > > > >
> >
> > > > > > > > > > > > I rebuilt all from scratch just now and finally the
> >
> > > > > > > > > > > > distribution too and tried in VSCode and all seems to
> >
> > > > > > > > > > > > work fine
> >
> > > > > > > for me.
> >
> > > > > > > > > > > >
> >
> > > > > > > > > > > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> >
> > > > > > > > > > > > christofer.dutz@c-ware.de<mailto:
> > christofer.dutz@c-ware.de>>) escribió:
> >
> > > > > > > > > > > >
> >
> > > > > > > > > > > >> Hi Piotr,
> >
> > > > > > > > > > > >>
> >
> > > > > > > > > > > >> that class is located in
> > lib\external\flex-tool-api.jar
> >
> > > > > > > > > > > >> At least in my distribution it's there and it
> contains
> >
> > > > > > > > > > > >> the
> >
> > > > > class.
> >
> > > > > > > > > > > >>
> >
> > > > > > > > > > > >> How are you calling the build that's failing?
> >
> > > > > > > > > > > >>
> >
> > > > > > > > > > > >> Chris
> >
> > > > > > > > > > > >>
> >
> > > > > > > > > > > >> -----Ursprüngliche Nachricht-----
> >
> > > > > > > > > > > >> Von: Piotr Zarzycki <piotrzarzycki21@gmail.com
> > <ma...@gmail.com>>
> >
> > > > > > > > > > > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> >
> > > > > > > > > > > >> An: Apache Royale Development <
> dev@royale.apache.org
> > <ma...@royale.apache.org>>
> >
> > > > > > > > > > > >> Betreff: Re: Align Maven IDE distribution with Ant
> IDE
> >
> > > > > > > > > > > >> distribution
> >
> > > > > > > > > > > >>
> >
> > > > > > > > > > > >> Chris,
> >
> > > > > > > > > > > >>
> >
> > > > > > > > > > > >> I just checked and I'm not able build project
> anymore
> >
> > > > > > > > > > > >> using
> >
> > > > > > > > > > > distribution:
> >
> > > > > > > > > > > >>
> >
> > > > > > > > > > > >> : Using Royale SDK:
> "D:\Work\royale_ide\distribution"
> >
> > > > > > > > > > > >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
> >
> > > > > > > > > > > >> -Xms356m -Xmx3000m
> >
> > > > > > > > > > > >> : Error: Could not find or load main class
> >
> > > > > > > > > > > >> org.apache.royale.compiler.clients.MXMLJSC
> >
> > > > > > > > > > > >> : Caused by: java.lang.NoClassDefFoundError:
> >
> > > > > > > > > > > >> org/apache/flex/tools/FlexTool
> >
> > > > > > > > > > > >>
> >
> > > > > > > > > > > >> I'm done for today, so I will answer anything
> > tomorrow.
> >
> > > > > > > > > > > >>
> >
> > > > > > > > > > > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
> >
> > > > > > > > > > > >> <christofer.dutz@c-ware.de<mailto:
> > christofer.dutz@c-ware.de>>
> >
> > > > > > > > > > > >> napisał(a):
> >
> > > > > > > > > > > >>
> >
> > > > > > > > > > > >> > Ok ...
> >
> > > > > > > > > > > >> >
> >
> > > > > > > > > > > >> > so I just pushed another change. Now the
> > distribution
> >
> > > > > > > > > > > >> > should also contain an empty spark.css, just like
> > the
> >
> > > > > > > > > > > >> > Ant
> >
> > > > > > one.
> >
> > > > > > > > > > > >> >
> >
> > > > > > > > > > > >> > Chris
> >
> > > > > > > > > > > >> >
> >
> > > > > > > > > > > >> >
> >
> > > > > > > > > > > >> > -----Ursprüngliche Nachricht-----
> >
> > > > > > > > > > > >> > Von: Christofer Dutz <christofer.dutz@c-ware.de
> > <ma...@c-ware.de>>
> >
> > > > > > > > > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> >
> > > > > > > > > > > >> > An: dev@royale.apache.org<mailto:
> > dev@royale.apache.org>
> >
> > > > > > > > > > > >> > Betreff: AW: Align Maven IDE distribution with Ant
> >
> > > > > > > > > > > >> > IDE distribution
> >
> > > > > > > > > > > >> >
> >
> > > > > > > > > > > >> > Ok,
> >
> > > > > > > > > > > >> >
> >
> > > > > > > > > > > >> > so that should now be fixed. Leaves the
> "spark.css"
> >
> > > > > > > > > > > >> > Having had a look, it seems as if the Ant build
> >
> > > > > > > > > > > >> > creates an empty
> >
> > > > > > > > > > > >> spark.css.
> >
> > > > > > > > > > > >> >
> >
> > > > > > > > > > > >> > Is this all we need? If yes, then I'll have that
> in
> >
> > > > > > > > > > > >> > ther in no
> >
> > > > > > > > > time.
> >
> > > > > > > > > > > >> >
> >
> > > > > > > > > > > >> > Chris
> >
> > > > > > > > > > > >> >
> >
> > > > > > > > > > > >> > -----Ursprüngliche Nachricht-----
> >
> > > > > > > > > > > >> > Von: Piotr Zarzycki <piotrzarzycki21@gmail.com
> > <ma...@gmail.com>>
> >
> > > > > > > > > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> >
> > > > > > > > > > > >> > An: Apache Royale Development <
> > dev@royale.apache.org<ma...@royale.apache.org>>
> >
> > > > > > > > > > > >> > Betreff: Re: Align Maven IDE distribution with Ant
> >
> > > > > > > > > > > >> > IDE distribution
> >
> > > > > > > > > > > >> >
> >
> > > > > > > > > > > >> > *(I assume that's in the "frameworks/js/libs"
> >
> > > > > > > > > > > >> > directory? *
> >
> > > > > > > > > > > >> >
> >
> > > > > > > > > > > >> > Yes this is the directory.
> >
> > > > > > > > > > > >> >
> >
> > > > > > > > > > > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> >
> > > > > > > > > > > >> > <christofer.dutz@c-ware.de<mailto:
> > christofer.dutz@c-ware.de>>
> >
> > > > > > > > > > > >> > napisał(a):
> >
> > > > > > > > > > > >> >
> >
> > > > > > > > > > > >> > > Hi Piotr,
> >
> > > > > > > > > > > >> > >
> >
> > > > > > > > > > > >> > > Ok ... so Ant seems to be adding a "JS" to the
> end
> >
> > > > > > > > > > > >> > > of every name (I assume that's in the
> >
> > > > "frameworks/js/libs"
> >
> > > > > > > directory?
> >
> > > > > > > > > > > >> > >
> >
> > > > > > > > > > > >> > > Also I'll try to find out where the "spark.css"
> >
> > > > > > > > > > > >> > > should come from
> >
> > > > > > > > > > ...
> >
> > > > > > > > > > > >> > > and where it should go to.
> >
> > > > > > > > > > > >> > >
> >
> > > > > > > > > > > >> > > Chris
> >
> > > > > > > > > > > >> > >
> >
> > > > > > > > > > > >> > >
> >
> > > > > > > > > > > >> > > -----Ursprüngliche Nachricht-----
> >
> > > > > > > > > > > >> > > Von: Piotr Zarzycki <piotrzarzycki21@gmail.com
> > <ma...@gmail.com>>
> >
> > > > > > > > > > > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> >
> > > > > > > > > > > >> > > An: Apache Royale Development
> >
> > > > > > > > > > > >> > > <dev@royale.apache.org<mailto:
> > dev@royale.apache.org>>
> >
> > > > > > > > > > > >> > > Betreff: Re: Align Maven IDE distribution with
> Ant
> >
> > > > > > > > > > > >> > > IDE distribution
> >
> > > > > > > > > > > >> > >
> >
> > > > > > > > > > > >> > > Chris,
> >
> > > > > > > > > > > >> > >
> >
> > > > > > > > > > > >> > > Looks better but here is the comparision what I
> >
> > > > > > > > > > > >> > > have in Ant distribution vs Maven distribution
> in
> >
> > > > > > > > > > > >> > > case of
> >
> > > > > names.
> >
> > > > > > > > > > > >> > > On the left Ant distribution, on the right
> Maven.
> >
> > > > > > > > > > > >> > > It is
> >
> > > > > > > folder:
> >
> > > > > > > > > > > >> > > frameworks\js\libs\ [1]
> >
> > > > > > > > > > > >> > >
> >
> > > > > > > > > > > >> > > [1] https://ibb.co/W2DzcDb
> >
> > > > > > > > > > > >> > >
> >
> > > > > > > > > > > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> >
> > > > > > > > > > > >> > > <christofer.dutz@c-ware.de<mailto:
> > christofer.dutz@c-ware.de>>
> >
> > > > > > > > > > > >> > > napisał(a):
> >
> > > > > > > > > > > >> > >
> >
> > > > > > > > > > > >> > > > And done ...
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > > > Now all elements in the distribution only
> > consist
> >
> > > > > > > > > > > >> > > > of their name and file-ending ... all versions
> >
> > > > > > > > > > > >> > > > and classifiers have been
> >
> > > > > > > > > > > removed.
> >
> > > > > > > > > > > >> > > > Please provide me with feedback on if this
> > solves
> >
> > > > > > > > > > > >> > > > the
> >
> > > > > > > > issues.
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > > > Chris
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > > > -----Ursprüngliche Nachricht-----
> >
> > > > > > > > > > > >> > > > Von: Christofer Dutz <
> christofer.dutz@c-ware.de
> > <ma...@c-ware.de>>
> >
> > > > > > > > > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> >
> > > > > > > > > > > >> > > > An: dev@royale.apache.org<mailto:
> > dev@royale.apache.org>
> >
> > > > > > > > > > > >> > > > Betreff: AW: Align Maven IDE distribution with
> >
> > > > > > > > > > > >> > > > Ant IDE distribution
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > > > I'll probably have a fix for that in a few
> >
> > > > > > > > > > > >> > > > minuntes
> >
> > > > > ...
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > > > Chris
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > > > -----Ursprüngliche Nachricht-----
> >
> > > > > > > > > > > >> > > > Von: Piotr Zarzycki <
> piotrzarzycki21@gmail.com
> > <ma...@gmail.com>>
> >
> > > > > > > > > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> >
> > > > > > > > > > > >> > > > An: Apache Royale Development
> >
> > > > > > > > > > > >> > > > <dev@royale.apache.org<mailto:
> > dev@royale.apache.org>>
> >
> > > > > > > > > > > >> > > > Betreff: Re: Align Maven IDE distribution with
> >
> > > > > > > > > > > >> > > > Ant IDE distribution
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > > > Chris,
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > > > No it's not about not picking up by IDE at
> all.
> >
> > > > > > > > > > > >> > > > Moonshine and VSCode are able to build
> projects
> >
> > > > > > > > > > > >> > > > using Maven distribution package! It is about
> >
> > > > > > > > > > > >> > > > project which are mixed for example when user
> >
> > > > > > > > > > > >> > > > wanted to use Jewel module + RemoteObject
> class
> >
> > > > > > > > > > > >> > > > from MXRoyale module. In that case user need
> to
> >
> > > > > > > > > > > >> > > > point explicilty as a compiler options in IDE
> >
> > > > > > > > > > > >> > > > that he wanted to have SWC included and need
> to
> >
> > > > > > > > > > > >> > > > exclude css from that swc to
> >
> > > > > > > > > > > >> > > avoid problems.
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > > > It is happen like that:
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > > >
> > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS
> >
> > > > > > > > > > > >> > > > -js-library-path+.s
> >
> > > > > > > > > > > >> > > > wc
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> >
> > > > > > > > > > > >> > > > cs
> >
> > > > > > > > > > > >> > > > s
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > > > If I would like to use maven distribution user
> >
> > > > > > > > > > > >> > > > need to know version for that compiler
> options.
> >
> > > > > > > > > > > >> > > > It is even more tricky when your swc is called
> >
> > > > > > > > > > > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.
> >
> > > > > > > > > > > >> > > > cs
> >
> > > > > > > > > > > >> > > > s
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > > > Thanks,
> >
> > > > > > > > > > > >> > > > Piotr
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> >
> > > > > > > > > > > >> > > > <christofer.dutz@c-ware.de<mailto:
> > christofer.dutz@c-ware.de>>
> >
> > > > > > > > > > > >> > > > napisał(a):
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > > > > Hi Piotr,
> >
> > > > > > > > > > > >> > > > >
> >
> > > > > > > > > > > >> > > > > And is really the version-suffix causing it
> to
> >
> > > > > > > > > > > >> > > > > not be picked up by the IDEs?
> >
> > > > > > > > > > > >> > > > >
> >
> > > > > > > > > > > >> > > > > Chris
> >
> > > > > > > > > > > >> > > > >
> >
> > > > > > > > > > > >> > > > > -----Ursprüngliche Nachricht-----
> >
> > > > > > > > > > > >> > > > > Von: Piotr Zarzycki <
> > piotrzarzycki21@gmail.com>
> >
> > > > > > > > > > > >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> >
> > > > > > > > > > > >> > > > > An: dev@royale.apache.org
> >
> > > > > > > > > > > >> > > > > Betreff: Re: Align Maven IDE distribution
> with
> >
> > > > > > > > > > > >> > > > > Ant IDE distribution
> >
> > > > > > > > > > > >> > > > >
> >
> > > > > > > > > > > >> > > > > Hi Chris,
> >
> > > > > > > > > > > >> > > > >
> >
> > > > > > > > > > > >> > > > > This is the only thing which seems to be a
> >
> > > > > > > > > > > >> > > > > constant problem
> >
> > > > > > > > > > > here.
> >
> > > > > > > > > > > >> > > > > I personally and some users will be much
> more
> >
> > > > > > > > > > > >> > > > > happy having that
> >
> > > > > > > > > > > >> > change.
> >
> > > > > > > > > > > >> > > > >
> >
> > > > > > > > > > > >> > > > > Thanks,
> >
> > > > > > > > > > > >> > > > > Piotr
> >
> > > > > > > > > > > >> > > > >
> >
> > > > > > > > > > > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer
> Dutz
> >
> > > > > > > > > > > >> > > > > <ch...@c-ware.de>
> >
> > > > > > > > > > > >> > > > > wrote:
> >
> > > > > > > > > > > >> > > > >
> >
> > > > > > > > > > > >> > > > > > Hi Piotr,
> >
> > > > > > > > > > > >> > > > > >
> >
> > > > > > > > > > > >> > > > > > I'd be happy to help with that.
> >
> > > > > > > > > > > >> > > > > >
> >
> > > > > > > > > > > >> > > > > > I did simply ask for a list of things that
> >
> > > > > > > > > > > >> > > > > > need to be changed in order to get things
> >
> > > > > > > > > > > >> > > > > > working, but never got said list, so I
> never
> >
> > > > > > > > > > > >> > > > > > knew what I could do to make the Maven
> >
> > > > > > > > > > > >> > > > > > distribution match up to the
> >
> > > > > > > > > > > >> > > > Ant built one.
> >
> > > > > > > > > > > >> > > > > >
> >
> > > > > > > > > > > >> > > > > > Chris
> >
> > > > > > > > > > > >> > > > > >
> >
> > > > > > > > > > > >> > > > > >
> >
> > > > > > > > > > > >> > > > > > -----Ursprüngliche Nachricht-----
> >
> > > > > > > > > > > >> > > > > > Von: Piotr Zarzycki
> >
> > > > > > > > > > > >> > > > > > <pi...@gmail.com>
> >
> > > > > > > > > > > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021
> 11:01
> >
> > > > > > > > > > > >> > > > > > An: Apache Royale Development
> >
> > > > > > > > > > > >> > > > > > <de...@royale.apache.org>
> >
> > > > > > > > > > > >> > > > > > Betreff: Align Maven IDE distribution with
> >
> > > > > > > > > > > >> > > > > > Ant IDE distribution
> >
> > > > > > > > > > > >> > > > > >
> >
> > > > > > > > > > > >> > > > > > Hi Guys,
> >
> > > > > > > > > > > >> > > > > >
> >
> > > > > > > > > > > >> > > > > > It's been couple of times when user
> > complains
> >
> > > > > > > > > > > >> > > > > > that he have problems with using Maven
> >
> > > > > > > > > > > >> > > > > > distribution vs Ant distribution in IDE
> in a
> >
> > > > > > > > > > > >> > > > > > mixed project Jewel + MX/Spark
> >
> > > > > > > > > etc.
> >
> > > > > > > > > > > >> > > > > >
> >
> > > > > > > > > > > >> > > > > > Can we have that resolve once for all and
> >
> > > > > > > > > > > >> > > > > > adjust Maven distribution folder to
> produce
> >
> > > > > > > > > > > >> > > > > > proper names of
> >
> > > > > > > swcs ?
> >
> > > > > > > > > > > >> > > > > >
> >
> > > > > > > > > > > >> > > > > > Currently when I build Maven IDE
> > distribution
> >
> > > > > > > > > > > >> > > > > > I
> >
> > > > > > have:
> >
> > > > > > > > > > > >> > > > > >
> >
> > > > > > > > > > > >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> >
> > > > > > > > > > > >> > > > > >
> >
> > > > > > > > > > > >> > > > > > When I build Ant IDE distribution I have:
> >
> > > > > > > > > > > >> > > > > >
> >
> > > > > > > > > > > >> > > > > > MXRoyale-js.swc
> >
> > > > > > > > > > > >> > > > > >
> >
> > > > > > > > > > > >> > > > > > Thanks,
> >
> > > > > > > > > > > >> > > > > > --
> >
> > > > > > > > > > > >> > > > > >
> >
> > > > > > > > > > > >> > > > > > Piotr Zarzycki
> >
> > > > > > > > > > > >> > > > > >
> >
> > > > > > > > > > > >> > > > > --
> >
> > > > > > > > > > > >> > > > >
> >
> > > > > > > > > > > >> > > > > Piotr Zarzycki
> >
> > > > > > > > > > > >> > > > >
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > > > --
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > > > Piotr Zarzycki
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > >
> >
> > > > > > > > > > > >> > >
> >
> > > > > > > > > > > >> > > --
> >
> > > > > > > > > > > >> > >
> >
> > > > > > > > > > > >> > > Piotr Zarzycki
> >
> > > > > > > > > > > >> > >
> >
> > > > > > > > > > > >> >
> >
> > > > > > > > > > > >> >
> >
> > > > > > > > > > > >> > --
> >
> > > > > > > > > > > >> >
> >
> > > > > > > > > > > >> > Piotr Zarzycki
> >
> > > > > > > > > > > >> >
> >
> > > > > > > > > > > >>
> >
> > > > > > > > > > > >>
> >
> > > > > > > > > > > >> --
> >
> > > > > > > > > > > >>
> >
> > > > > > > > > > > >> Piotr Zarzycki
> >
> > > > > > > > > > > >>
> >
> > > > > > > > > > > >
> >
> > > > > > > > > > > >
> >
> > > > > > > > > > > > --
> >
> > > > > > > > > > > > Carlos Rovira
> >
> > > > > > > > > > > > Apache Member & Apache Royale PMC *Apache Software
> >
> > > > > > > > > > > > Foundation* http://about.me/carlosrovira
> >
> > > > > > > > > > > >
> >
> > > > > > > > > > > >
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > --
> >
> > > > > > > > > > > Carlos Rovira
> >
> > > > > > > > > > > Apache Member & Apache Royale PMC *Apache Software
> >
> > > > > > > > > > > Foundation* http://about.me/carlosrovira
> >
> > > > > > > > > > >
> >
> > > > > > > > > >
> >
> > > > > > > > > >
> >
> > > > > > > > > > --
> >
> > > > > > > > > >
> >
> > > > > > > > > > Piotr Zarzycki
> >
> > > > > > > > > >
> >
> > > > > > > > >
> >
> > > > > > > > >
> >
> > > > > > > > > --
> >
> > > > > > > > >
> >
> > > > > > > > > Piotr Zarzycki
> >
> > > > > > > > >
> >
> > > > > > > > --
> >
> > > > > > > >
> >
> > > > > > > > Piotr Zarzycki
> >
> > > > > > > >
> >
> > > > > > >
> >
> > > > > > >
> >
> > > > > > > --
> >
> > > > > > > Carlos Rovira
> >
> > > > > > > Apache Member & Apache Royale PMC
> >
> > > > > > > *Apache Software Foundation*
> >
> > > > > > > http://about.me/carlosrovira
> >
> > > > > > >
> >
> > > > > >
> >
> > > > > >
> >
> > > > > > --
> >
> > > > > > Carlos Rovira
> >
> > > > > > Apache Member & Apache Royale PMC
> >
> > > > > > *Apache Software Foundation*
> >
> > > > > > http://about.me/carlosrovira
> >
> > > > > >
> >
> > > > >
> >
> > > > >
> >
> > > > > --
> >
> > > > >
> >
> > > > > Piotr Zarzycki
> >
> > > > >
> >
> > > >
> >
> > >
> >
> >
> >
> >
> >
> > --
> >
> >
> >
> > Piotr Zarzycki
> >
>
>
> --
> Carlos Rovira
> Apache Member & Apache Royale PMC
> *Apache Software Foundation*
> http://about.me/carlosrovira
>
--
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira
Re: Align Maven IDE distribution with Ant IDE distribution
Posted by Carlos Rovira <ca...@apache.org>.
Hi , just reverted two latest Chris commits since he's not available now
and SWF is not totally done.
We'll go over this as we can. But JS should be totally done. Take a look
and let us know if something is not working for maven sdk distribution.
thanks
El lun, 22 feb 2021 a las 18:07, Christofer Dutz (<ch...@c-ware.de>)
escribió:
> Just added some more manifest files.
>
> Turns out that more modules were added to the project, but the
> deistribution wasn't keept completely up to date.
>
> I added the missing ones, but still the SWF compilation of the MXRoyale
> example seems to fail.
>
> If anyone can provide me with an explanation to how things need to be
> changed to make it work, I'll be happy to do so.
>
> Chris
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Christofer Dutz <ch...@c-ware.de>
> Gesendet: Montag, 22. Februar 2021 17:12
> An: dev@royale.apache.org
> Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
>
> And it turns out there was a double-inclusion of some libs in the js and
> swf distribtuion parts, fixed that now.
>
> Now the distribution should look nice, even with enabled "option-with-swf"
> profile.
>
> Chris
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Carlos Rovira <ca...@apache.org>
> Gesendet: Montag, 22. Februar 2021 13:17
> An: Apache Royale Development <de...@royale.apache.org>
> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>
> Hi Chris,
>
> many thanks for the effort! I tried and now all seems to work fine for me.
> Even the remote object example that was failing yesterday for Jason.
> It need a fix that I just committed too.
>
> I think we have now a better and powerful Maven SDK distribution!! :D
>
>
>
> El lun, 22 feb 2021 a las 12:50, Christofer Dutz (<
> christofer.dutz@c-ware.de>)
> escribió:
>
> > Yeah,
> >
> > I wanted to build with swf, but unfortunately I setup my new Windows
> > laptop this year and couldn't fetch the missing Adobe parts.
> > Luckily Carlos sent me the missing files and I managed to fix things
> >
> > So I commented out the ACE module again, but created a Pull-Request to
> > merge some changes in that could possibly fix the missing ACE module
> > problem. It would however be cool, if Yishay could have a look at that
> > (Seems he created the ACE module)
> >
> > You should now be good to go ... and sorry for all the noise ;)
> >
> > Chris
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Maria Jose Esteve <mj...@iest.com>
> > Gesendet: Montag, 22. Februar 2021 12:44
> > An: dev@royale.apache.org
> > Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
> >
> > Without "option-with-swf" it compiles ok, but with "option-with-swf" it
> > doesn't. As you have mentioned Ace needs some adjustment [1]
> >
> > When I manage to compile (without option-with-swf option) I can't compile
> > any of my projects, in all I get the same <fx: Array> error
> >
> > [1]
> > [INFO] --- royale-maven-plugin:0.9.8-SNAPSHOT:compile-as
> > (default-compile-as) @ Ace ---
> > [INFO] Executing COMPC in tool group Royale with args:
> >
> [-load-config=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs\frameworks\projects\Ace\target\compile-swf-config.xml,
> > -js-default-initializers=false, -source-map=true,
> > -source-map-source-root=/frameworks/projects/Ace/src/main/royale/,
> > -js-complex-implicit-coercions=false, -js-vector-index-checks=false,
> > -js-resolve-uncertain=false, -compiler.targets=SWF,JSRoyale,
> > -compiler.strict-xml=true]
> > args:
> >
> >
> -load-config=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs\frameworks\projects\Ace\target\compile-swf-config.xml
> > -js-default-initializers=false
> > -source-map=true
> > -source-map-source-root=/frameworks/projects/Ace/src/main/royale/
> > -js-complex-implicit-coercions=false
> > -js-vector-index-checks=false
> > -js-resolve-uncertain=false
> > -compiler.targets=SWF,JSRoyale
> > -compiler.strict-xml=true
> > target:SWF
> > target:JSRoyale
> > COMPC
> > Loading configuration:
> >
> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs\frameworks\projects\Ace\target\compile-swf-config.xml
> >
> > 0.1429886 seconds
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Reactor Summary for Apache Royale: Framework: Parent
> 0.9.8-SNAPSHOT:
> > [INFO]
> > [INFO] Apache Royale: Framework: Parent ................... SUCCESS [
> > 3.009 s]
> > [INFO] Apache Royale: Framework ........................... SUCCESS [
> > 0.303 s]
> > [INFO] Apache Royale: Framework: Fonts .................... SUCCESS [
> > 2.359 s]
> > [INFO] Apache Royale: Framework: Libs ..................... SUCCESS [
> > 0.745 s]
> > [INFO] Apache Royale: Framework: Libs: Language ........... SUCCESS [
> > 2.390 s]
> > [INFO] Apache Royale: Framework: Libs: Core ............... SUCCESS [
> > 6.662 s]
> > [INFO] Apache Royale: Framework: Libs: Binding ............ SUCCESS [
> > 1.049 s]
> > [INFO] Apache Royale: Framework: Libs: Graphics ........... SUCCESS [
> > 2.547 s]
> > [INFO] Apache Royale: Framework: Libs: Collections ........ SUCCESS [
> > 0.957 s]
> > [INFO] Apache Royale: Framework: Libs: Basic .............. SUCCESS [
> > 9.811 s]
> > [INFO] Apache Royale: Framework: Libs: JQuery ............. SUCCESS [
> > 0.732 s]
> > [INFO] Apache Royale: Framework: Libs: Ace ................ FAILURE [
> > 0.277 s]
> > [INFO] Apache Royale: Framework: Libs: Charts ............. SKIPPED
> >
> > Thx.
> > Hiedra.
> >
> > -----Mensaje original-----
> > De: Christofer Dutz <ch...@c-ware.de>
> > Enviado el: lunes, 22 de febrero de 2021 12:25
> > Para: dev@royale.apache.org
> > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > Ok ...
> >
> > After Carlos kindly provided me with the missing Adobe artifacts I could
> > also try the "with-swf" build ... seems the ACE build needs some fixing
> ...
> > I'm on it.
> >
> > Chris
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Maria Jose Esteve <mj...@iest.com>
> > Gesendet: Montag, 22. Februar 2021 12:12
> > An: dev@royale.apache.org
> > Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
> >
> > Flying 😝
> >
> >
> >
> > Hiedra
> >
> > -----Mensaje original-----
> > De: Christofer Dutz <ch...@c-ware.de>
> > Enviado el: lunes, 22 de febrero de 2021 12:09
> > Para: dev@royale.apache.org
> > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> >
> >
> > Hi all,
> >
> >
> >
> >
> >
> > It seems Carlos reset the version of the compiler and updated the version
> > in the asjs module.
> >
> > So it looks as if that's good (I really hate when things are out of sync
> > ;) ).
> >
> >
> >
> > Anyways ... I just pushed some chaged to typedef to build the ACE typedef
> > module
> >
> > And updated the asjs module to build the ACE framework module and fine
> > tuned the distribution to add the missing swcs (JS and SWF).
> >
> >
> >
> > Please try out these changes.
> >
> >
> >
> >
> >
> > Chris
> >
> >
> >
> >
> >
> >
> >
> > -----Ursprüngliche Nachricht-----
> >
> > Von: Piotr Zarzycki <piotrzarzycki21@gmail.com<mailto:
> > piotrzarzycki21@gmail.com>>
> >
> > Gesendet: Montag, 22. Februar 2021 12:05
> >
> > An: Apache Royale Development <dev@royale.apache.org<mailto:
> > dev@royale.apache.org>>
> >
> > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> >
> >
> >
> > We are using again compiler 0.9.8-SNAPSHOT yes ?
> >
> >
> >
> > pon., 22 lut 2021 o 12:01 Alina Kazi <alinakazi1990@gmail.com<mailto:
> > alinakazi1990@gmail.com>> napisał(a):
> >
> >
> >
> > > Thanks Chris.
> >
> > >
> >
> > > On Mon, Feb 22, 2021 at 3:59 PM Maria Jose Esteve <mjesteve@iest.com
> > <ma...@iest.com>>
> >
> > > wrote:
> >
> > >
> >
> > > > Thanks Chris, I'll be listening.
> >
> > > >
> >
> > > > Hiedra
> >
> > > > -----Mensaje original-----
> >
> > > > De: Christofer Dutz <christofer.dutz@c-ware.de<mailto:
> > christofer.dutz@c-ware.de>>
> >
> > > > Enviado el: lunes, 22 de febrero de 2021 11:52
> >
> > > > Para: dev@royale.apache.org<ma...@royale.apache.org>
> >
> > > > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > > >
> >
> > > > Hi all,
> >
> > > >
> >
> > > > so I had a look and it seems the distribution was missing a number of
> >
> > > > libraries, which seem to have been added, since I created the
> >
> > > distribution
> >
> > > > in 2016 ... Some modules were added after that, but not all. It seems
> > all
> >
> > > > probelms you are reporting result from some of them missing. I added
> > them
> >
> > > > and now they are correctly added to my distributions. I also compared
> >
> > > them
> >
> > > > with the ANT built version ... the last missing piece is the ACE
> > module,
> >
> > > > which was disabled in Maven as the Ace typedef was not a maven
> module.
> > I
> >
> > > > took the liberty of creating a Maven typedef module for ace and
> > re-added
> >
> > > > the ACE module to the Maven build and to the distribution.
> >
> > > >
> >
> > > > I'm currently testing a few things and will commit as soon as I'm
> happy
> >
> > > > with my changes.
> >
> > > >
> >
> > > >
> >
> > > > Chris
> >
> > > >
> >
> > > >
> >
> > > > -----Ursprüngliche Nachricht-----
> >
> > > > Von: Alina Kazi <alinakazi1990@gmail.com<mailto:
> > alinakazi1990@gmail.com>>
> >
> > > > Gesendet: Montag, 22. Februar 2021 11:26
> >
> > > > An: dev@royale.apache.org<ma...@royale.apache.org>
> >
> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> >
> > > >
> >
> > > > Hi,
> >
> > > > I am also facing a problem with latest SDK.
> >
> > > > when I add something new in emulation and re-build SDK. when I
> > recompile
> >
> > > > the application with the latest distribution , error in application
> > does
> >
> > > > not go away that I already fixed in previous commit.
> >
> > > > It seems that the distribution does not have everything latest that
> it
> >
> > > > should have.
> >
> > > >
> >
> > > > -Alina
> >
> > > >
> >
> > > > On Mon, Feb 22, 2021 at 3:20 PM Maria Jose Esteve <mjesteve@iest.com
> > <ma...@iest.com>>
> >
> > > > wrote:
> >
> > > >
> >
> > > > > I can't work either.
> >
> > > > > With no Maven, Ant combination, always error: "Error <fx: Array>
> This
> >
> > > > > tag could not be resolved to an ActionScript class ..."
> >
> > > > >
> >
> > > > > Do you know what happens? I am not able to understand or fix this.
> >
> > > > >
> >
> > > > > Hiedra.
> >
> > > > >
> >
> > > > > -----Mensaje original-----
> >
> > > > > De: Piotr Zarzycki <piotrzarzycki21@gmail.com<mailto:
> > piotrzarzycki21@gmail.com>> Enviado el: lunes, 22
> >
> > > > > de febrero de 2021 11:03
> >
> > > > > Para: Apache Royale Development <dev@royale.apache.org<mailto:
> > dev@royale.apache.org>>
> >
> > > > > Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
> >
> > > > >
> >
> > > > > Hi Guys,
> >
> > > > >
> >
> > > > > I just tried new distribution and I'm able to build simple example.
> >
> > > > > However our Royale project is not building - I'm getting following
> >
> > > > > exception:
> >
> > > > >
> >
> > > > > : Exception in thread "main" java.lang.NoClassDefFoundError:
> >
> > > > > org/apache/commons/lang/StringEscapeUtils
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.js.jx.LiteralEmitter.emit(
> >
> > > > > LiteralEmitter.java:225)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> >
> > > > > emitLiteral(JSRoyaleEmitter.java:1040)
> >
> > > > > : at
> >
> > > > > org.apache.royale.compiler.internal.codegen.as
> >
> > > > > .ASBlockWalker.visitLiteral(ASBlockWalker.java:479)
> >
> > > > > : at
> >
> > > > > org.apache.royale.compiler.internal.visitor.as
> >
> > > > > .ASNodeSwitch.handle(ASNodeSwitch.java:373)
> >
> > > > > : at
> >
> > > > > org.apache.royale.compiler.internal.visitor.as
> >
> > > > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> >
> > > > > : at
> >
> > > > > org.apache.royale.compiler.internal.visitor.as
> >
> > > > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> >
> > > > > : at
> >
> > > > > org.apache.royale.compiler.internal.codegen.as
> >
> > > > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.js.goog.JSGoogEmitter.emit
> >
> > > > > AssignedValue(JSGoogEmitter.java:965)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitAssignmen
> >
> > > > > tCoercion(JSEmitter.java:917)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> >
> > > > > emitAssignmentCoercion(JSRoyaleEmitter.java:1558)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
> >
> > > > > sEmitter.emitContents(FunctionCallArgumentsEmitter.java:103)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
> >
> > > > > sEmitter.emit(FunctionCallArgumentsEmitter.java:50)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
> >
> > > > > sEmitter.emit(FunctionCallArgumentsEmitter.java:35)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitArguments
> >
> > > > > (JSEmitter.java:259)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> >
> > > > > emitArguments(JSRoyaleEmitter.java:986)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallEmitter.
> >
> > > > > emit(FunctionCallEmitter.java:693)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> >
> > > > > emitFunctionCall(JSRoyaleEmitter.java:906)
> >
> > > > > : at
> >
> > > > > org.apache.royale.compiler.internal.codegen.as
> >
> > > > > .ASBlockWalker.visitFunctionCall(ASBlockWalker.java:330)
> >
> > > > > : at
> >
> > > > > org.apache.royale.compiler.internal.visitor.as
> >
> > > > > .ASNodeSwitch.handle(ASNodeSwitch.java:207)
> >
> > > > > : at
> >
> > > > > org.apache.royale.compiler.internal.visitor.as
> >
> > > > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> >
> > > > > : at
> >
> > > > > org.apache.royale.compiler.internal.visitor.as
> >
> > > > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> >
> > > > > : at
> >
> > > > > org.apache.royale.compiler.internal.codegen.as
> >
> > > > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.js.goog.JSGoogEmitter.emit
> >
> > > > > AssignedValue(JSGoogEmitter.java:965)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitAssignmen
> >
> > > > > tCoercion(JSEmitter.java:917)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> >
> > > > > emitAssignmentCoercion(JSRoyaleEmitter.java:1558)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.js.jx.BinaryOperatorEmitte
> >
> > > > > r.super_emitBinaryOperator(BinaryOperatorEmitter.java:598)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.js.jx.BinaryOperatorEmitte
> >
> > > > > r.emit(BinaryOperatorEmitter.java:500)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> >
> > > > > emitBinaryOperator(JSRoyaleEmitter.java:1028)
> >
> > > > > : at
> >
> > > > > org.apache.royale.compiler.internal.codegen.as
> >
> > > > > .ASBlockWalker.visitBinaryOperator(ASBlockWalker.java:538)
> >
> > > > > : at
> >
> > > > > org.apache.royale.compiler.internal.visitor.as
> >
> > > > > .ASNodeSwitch.handle(ASNodeSwitch.java:348)
> >
> > > > > : at
> >
> > > > > org.apache.royale.compiler.internal.visitor.as
> >
> > > > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> >
> > > > > : at
> >
> > > > > org.apache.royale.compiler.internal.visitor.as
> >
> > > > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> >
> > > > > : at
> >
> > > > > org.apache.royale.compiler.internal.codegen.as
> >
> > > > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.js.jx.StatementEmitter.emi
> >
> > > > > t(StatementEmitter.java:40)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.js.jx.StatementEmitter.emi
> >
> > > > > t(StatementEmitter.java:29)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitStatement
> >
> > > > > (JSEmitter.java:349)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> >
> > > > > emitStatement(JSRoyaleEmitter.java:1204)
> >
> > > > > : at
> >
> > > > > org.apache.royale.compiler.internal.codegen.as
> >
> > > > > .ASBlockWalker.visitBlock(ASBlockWalker.java:349)
> >
> > > > > : at
> >
> > > > > org.apache.royale.compiler.internal.visitor.as
> >
> > > > > .ASNodeSwitch.handle(ASNodeSwitch.java:278)
> >
> > > > > : at
> >
> > > > > org.apache.royale.compiler.internal.visitor.as
> >
> > > > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> >
> > > > > : at
> >
> > > > > org.apache.royale.compiler.internal.visitor.as
> >
> > > > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> >
> > > > > : at
> >
> > > > > org.apache.royale.compiler.internal.codegen.as
> >
> > > > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.as.ASEmitter.emitMethodSco
> >
> > > > > pe(ASEmitter.java:830)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.js.jx.MethodEmitter.emit(M
> >
> > > > > ethodEmitter.java:160)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> >
> > > > > emitMethod(JSRoyaleEmitter.java:891)
> >
> > > > > : at
> >
> > > > > org.apache.royale.compiler.internal.codegen.as
> >
> > > > > .ASBlockWalker.visitFunction(ASBlockWalker.java:290)
> >
> > > > > : at
> >
> > > > > org.apache.royale.compiler.internal.visitor.as
> >
> > > > > .ASNodeSwitch.handle(ASNodeSwitch.java:152)
> >
> > > > > : at
> >
> > > > > org.apache.royale.compiler.internal.visitor.as
> >
> > > > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> >
> > > > > : at
> >
> > > > > org.apache.royale.compiler.internal.visitor.as
> >
> > > > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> >
> > > > > : at
> >
> > > > > org.apache.royale.compiler.internal.codegen.as
> >
> > > > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmit
> >
> > > > > ter.emitScripts(MXMLRoyaleEmitter.java:2179)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmit
> >
> > > > > ter.emitDocument(MXMLRoyaleEmitter.java:899)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleBloc
> >
> > > > > kWalker.visitDocument(MXMLRoyaleBlockWalker.java:69)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle
> >
> > > > > (MXMLNodeSwitch.java:89)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(
> >
> > > > > MXMLBlockWalker.java:156)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleBloc
> >
> > > > > kWalker.visitFile(MXMLRoyaleBlockWalker.java:61)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle
> >
> > > > > (MXMLNodeSwitch.java:95)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(
> >
> > > > > MXMLBlockWalker.java:156)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.visit
> >
> > > > > CompilationUnit(MXMLBlockWalker.java:187)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.internal.codegen.mxml.MXMLWriter.writeTo(MX
> >
> > > > > MLWriter.java:69)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale
> >
> > > > > .java:411)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRo
> >
> > > > > yale.java:259)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoy
> >
> > > > > ale.java:216)
> >
> > > > > : at
> >
> > > > >
> > org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:36
> >
> > > > > 3)
> >
> > > > > : at
> >
> > > > >
> > org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298
> >
> > > > > )
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > org.apache.royale.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.ja
> >
> > > > > va:256)
> >
> > > > > : at
> > org.apache.royale.compiler.clients.MXMLJSC.main(MXMLJSC.java:238)
> >
> > > > > : Caused by: java.lang.ClassNotFoundException:
> >
> > > > > org.apache.commons.lang.StringEscapeUtils
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClas
> >
> > > > > sLoader.java:582)
> >
> > > > > : at
> >
> > > > >
> >
> > > > >
> > java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Cl
> >
> > > > > assLoaders.java:178)
> >
> > > > > : at
> java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
> >
> > > > > : ... 67 more
> >
> > > > >
> >
> > > > > niedz., 21 lut 2021 o 18:57 Carlos Rovira <carlosrovira@apache.org
> > <ma...@apache.org>>
> >
> > > > > napisał(a):
> >
> > > > >
> >
> > > > > > Hi,
> >
> > > > > >
> >
> > > > > > I worked today on this and finally could solve the problem. A
> part
> >
> > > > > > from Chris changes we need a bit more changes since all was set
> up
> >
> > > > > > from the compiler to use the old names. So class paths need to be
> >
> > > > > changed too there.
> >
> > > > > > Also Google Closure compiler need to be in jar mode instead of
> >
> > > > unpacked.
> >
> > > > > >
> >
> > > > > > Now I can use CMD (or CTRL) + SHIFT + B and select Debug or
> Release
> >
> > > > > > option with Actionscript extension and all goes ok.
> >
> > > > > > When using CMD+ENTER I think VsCode use the experimental build in
> >
> > > > > > Josh extension and take the SDK in ROYALE_HOME, and since that's
> > the
> >
> > > > > > one build in the repository with ANT all seems fine, but is not
> >
> > > > > > using the selected SDK, so the build is not using what you
> expect.
> >
> > > > > >
> >
> > > > > > This is my output now using the Maven Distribution SDK:
> >
> > > > > >
> >
> > > > > >
> >
> > > > > >
> >
> > > > > >
> >
> > > > > >
> >
> > > > > >
> >
> > > > > >
> >
> > > > > >
> >
> > > > > >
> >
> > > > > >
> >
> > > > > >
> >
> > > > > >
> >
> > > > > >
> >
> > > > > >
> >
> > > > > >
> >
> > > > > >
> >
> > > > > >
> >
> > > > > >
> >
> > > > > >
> >
> > > > > > *> Executing task in folder TourDeJewel:
> >
> > > > > >
> > /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/b
> >
> > > > > > in
> >
> > > > > > /java
> >
> > > > > > -jar
> >
> > > > > >
> >
> > > > > >
> > /Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas
> >
> > > > > > -1
> >
> > > > > > .6.0/bin/asconfigc.jar --sdk
> >
> > > > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
> > --debug=true
> >
> > > > > > --project
> >
> > > > > >
> >
> > > > > >
> > /Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/Tou
> >
> > > > > > rD
> >
> > > > > > eJewel/asconfig.json
> >
> > > > > >
> >
> > > > > >
> > <MXMLJSC+royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale
> >
> > > > > > -m
> >
> > > > > >
> > aven/frameworks--debug=true+configname=royale--targets=JSRoyale--sou
> >
> > > > > > rc
> >
> > > > > >
> > e-path+=src/main/resources--source-map=true--html-template=src/main/
> >
> > > > > > e-path+re
> >
> > > > > >
> > sources/jewel-example-index-template.html--theme=${royalelib}/themes
> >
> > > > > > /J
> >
> > > > > >
> > ewelTheme/src/main/resources/defaults.css-js-dynamic-access-unknown-
> >
> > > > > > me mbers=true--src/main/royale/App.mxmlThe
> >
> > > > > > project 'App' has been successfully compiled.12.80962843
> >
> > > > > > secondsTerminal will be reused by tasks, press any key to close
> > it.*
> >
> > > > > >
> >
> > > > > >
> >
> > > > > >
> >
> > > > > >
> >
> > > > > >
> >
> > > > > >
> >
> > > > > > El sáb, 20 feb 2021 a las 18:16, Christofer Dutz (<
> >
> > > > > > christofer.dutz@c-ware.de<ma...@c-ware.de>>)
> >
> > > > > > escribió:
> >
> > > > > >
> >
> > > > > > > So I just did a video and posted it to the Royale slack channel
> > ...
> >
> > > > > > >
> >
> > > > > > > I can't seem to reproduce the error ... perhaps if you check
> what
> >
> > > > > > > I'm doing you can tell me if I'm doing something wrong.
> >
> > > > > > > I did try to rule out that I might have not configured VSCode
> to
> >
> > > > > > > use my distribution by intentionally changing the settings to a
> >
> > > > > > > wrong
> >
> > > > > location.
> >
> > > > > > It
> >
> > > > > > > didn't work then, and when I changed it back to the correct
> >
> > > > > > > version, I could build again.
> >
> > > > > > >
> >
> > > > > > > Chris
> >
> > > > > > >
> >
> > > > > > >
> >
> > > > > > > -----Ursprüngliche Nachricht-----
> >
> > > > > > > Von: Carlos Rovira <carlosrovira@apache.org<mailto:
> > carlosrovira@apache.org>>
> >
> > > > > > > Gesendet: Samstag, 20. Februar 2021 15:17
> >
> > > > > > > An: Apache Royale Development <dev@royale.apache.org<mailto:
> > dev@royale.apache.org>>
> >
> > > > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >
> > > > > > > distribution
> >
> > > > > > >
> >
> > > > > > > Hi,
> >
> > > > > > >
> >
> > > > > > > sorry, yesterday was mostly offline for some personal things.
> > Many
> >
> > > > > > > things happen in this thread.
> >
> > > > > > > I rebuild all today and check. This is what I can report trying
> > to
> >
> > > > > > > build TDJ with Maven SDK with Chris's changes.
> >
> > > > > > > Setting my VSCode with AS3&MXML to the Maven SDK just
> generated:
> >
> > > > > > >
> >
> > > > > > > 1.- I can't build with CMD+SHIFT+ENTER, then "Build Debug with
> > AS3
> >
> > > > > > > Extension Tour de Jewel" (as josh said). I get :
> >
> > > > > > >
> >
> > > > > > > Executing task in folder TourDeJewel:
> >
> > > > > > >
> >
> > > > > >
> > /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/b
> >
> > > > > > in
> >
> > > > > > /java
> >
> > > > > > > -jar
> >
> > > > > > >
> >
> > > > > > >
> >
> > > > > >
> > /Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas
> >
> > > > > > -1
> >
> > > > > > .6.0/bin/asconfigc.jar
> >
> > > > > > > --sdk /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
> >
> > > > > > --debug=true
> >
> > > > > > > --project
> >
> > > > > > >
> >
> > > > > >
> > /Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/Tou
> >
> > > > > > rD
> >
> > > > > > eJewel/asconfig.json
> >
> > > > > > > <
> >
> > > > > > >
> >
> > > > > > > Error: no se ha encontrado o cargado la clase principal
> >
> > > > > > > org.apache.royale.compiler.clients.MXMLJSC
> >
> > > > > > > The terminal process
> >
> > > > > > >
> >
> > > > > > >
> >
> > > > > >
> > "/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/
> >
> > > > > > bi
> >
> > > > > > n/java
> >
> > > > > > > '-jar',
> >
> > > > > > >
> >
> > > > > > >
> >
> > > > > >
> > '/Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgena
> >
> > > > > > s-
> >
> > > > > > 1.6.0/bin/asconfigc.jar',
> >
> > > > > > > '--sdk',
> >
> > > > > > > '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven',
> >
> > > > > > > '--debug=true', '--project',
> >
> > > > > > >
> >
> > > > > > >
> >
> > > > > >
> >
> > > > >
> >
> > > >
> >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/TourDeJewel/asconfig.json'"
> >
> > > > > > > terminated with exit code: 1.
> >
> > > > > > >
> >
> > > > > > > Terminal will be reused by tasks, press any key to close it.
> >
> > > > > > >
> >
> > > > > > >
> >
> > > > > > > 2.- I can build with CMD+ENTER. I get:
> >
> > > > > > >
> >
> > > > > > > Royale Compiler Shell
> >
> > > > > > > (fcsh) mxmlc --debug=false +configname=royale
> --targets=JSRoyale
> >
> > > > > > > --source-path+=src/main/resources --source-map=true
> >
> > > > > > > --html-template=src/main/resources/
> > jewel-example-index-template.ht
> >
> > > > > > > ml
> >
> > > > > > >
> > --theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults
> >
> > > > > > > .c ss -js-dynamic-access-unknown-members=true --
> >
> > > > > > > src/main/royale/App.mxml
> >
> > > > > > > fcsh: Assigned 1 as the compile target id The project 'App' has
> >
> > > > > > > been successfully compiled and optimized.
> >
> > > > > > > Compile status: 0
> >
> > > > > > > Elapsed time: 26.925719521 seconds Feb 20, 2021 3:10:42 PM
> >
> > > > > > > com.google.javascript.jscomp.LoggerErrorManager
> >
> > > > > > > printSummary
> >
> > > > > > > INFO: 0 error(s), 0 warning(s), 97.8% typed
> >
> > > > > > > (fcsh)
> >
> > > > > > >
> >
> > > > > > > I don't understand fully the differences between one method and
> >
> > > > > > > the other and why I get different results. I guess know what's
> >
> > > > > > > happening is needed
> >
> > > > > > so
> >
> > > > > > > Chris can do the proper changes. probably there are paths and
> >
> > > > > > > locations mixed.
> >
> > > > > > >
> >
> > > > > > > @Chris, one thing I did in the past was to compare maven
> >
> > > > > > > distribution
> >
> > > > > > with
> >
> > > > > > > ant distribution so both has most of the things in the same
> > place.
> >
> > > > > > > I
> >
> > > > > > think
> >
> > > > > > > some files where left in more than one place (like mxmlc).
> >
> > > > > > >
> >
> > > > > > > If you could take a look at it, that will for sure fix the
> issue.
> >
> > > > > > > You
> >
> > > > > > have
> >
> > > > > > > TDJ and the other project to test if that works and now we know
> >
> > > > > > > that is better to try with CMD+SHIFT+ENTER, then "Build Debug
> > with
> >
> > > > > > > AS3 Extension Tour de Jewel"
> >
> > > > > > >
> >
> > > > > > >
> >
> > > > > > >
> >
> > > > > > >
> >
> > > > > > > El vie, 19 feb 2021 a las 18:45, Piotr Zarzycki (<
> >
> > > > > > > piotrzarzycki21@gmail.com<ma...@gmail.com>>)
> >
> > > > > > > escribió:
> >
> > > > > > >
> >
> > > > > > > > It looks like something bad has happened with my
> environment. I
> >
> > > > > > > > changed lately Java settings a bit. You can see what is setup
> > in
> >
> > > > > > > > my
> >
> > > > > > > stacktrace.
> >
> > > > > > > >
> >
> > > > > > > > I will get back to that over the weekend or on Monday.
> >
> > > > > > > >
> >
> > > > > > > > On Fri, 19 Feb 2021 at 18:24, Maria Jose Esteve
> >
> > > > > > > > <mj...@iest.com>>
> >
> > > > > > > wrote:
> >
> > > > > > > >
> >
> > > > > > > > > Hi,
> >
> > > > > > > > > Piotr, I just tested your distribution with my project and
> > the
> >
> > > > > > > > compilation
> >
> > > > > > > > > was successful, no errors.
> >
> > > > > > > > > Running the application seems to be working fine too.
> >
> > > > > > > > > (I compile the application with mvn)
> >
> > > > > > > > >
> >
> > > > > > > > > What do they need me to try now?
> >
> > > > > > > > >
> >
> > > > > > > > > Hiedra.
> >
> > > > > > > > > -----Mensaje original-----
> >
> > > > > > > > > De: Piotr Zarzycki <piotrzarzycki21@gmail.com<mailto:
> > piotrzarzycki21@gmail.com>> Enviado el:
> >
> > > > > > > > > viernes,
> >
> > > > > > > > > 19 de febrero de 2021 18:11
> >
> > > > > > > > > Para: Apache Royale Development <dev@royale.apache.org
> > <ma...@royale.apache.org>>
> >
> > > > > > > > > Asunto: Re: Align Maven IDE distribution with Ant IDE
> >
> > > > > > > > > distribution
> >
> > > > > > > > >
> >
> > > > > > > > > Did you test my distribution ?
> >
> > > > > > > > >
> >
> > > > > > > > > pt., 19 lut 2021 o 18:00 Christofer Dutz
> >
> > > > > > > > > <christofer.dutz@c-ware.de<mailto:
> christofer.dutz@c-ware.de
> > >>
> >
> > > > > > > > > napisał(a):
> >
> > > > > > > > >
> >
> > > > > > > > > > So I did a bit more of testing.
> >
> > > > > > > > > >
> >
> > > > > > > > > > So after I had no issues building Carlos' example, I
> tried
> >
> > > > > > > > > > the TourDeJewl example.
> >
> > > > > > > > > > So I opened VSCode in the directory of TDJ example ...
> >
> > > > > > > > > > created a settings.json with the folowing content:
> >
> > > > > > > > > >
> >
> > > > > > > > > > {
> >
> > > > > > > > > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> >
> > > > > > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> >
> > > > > > > > > > }
> >
> > > > > > > > > >
> >
> > > > > > > > > > Hit STRG+Enter and waited a bit ...
> >
> > > > > > > > > >
> >
> > > > > > > > > > Then I opened the output in Chrome and have a fully
> >
> > > > > > > > > > functioning TDJ application.
> >
> > > > > > > > > >
> >
> > > > > > > > > > So I wouldn't consider the build broken.
> >
> > > > > > > > > >
> >
> > > > > > > > > > Chris
> >
> > > > > > > > > >
> >
> > > > > > > > > >
> >
> > > > > > > > > >
> >
> > > > > > > > > > -----Ursprüngliche Nachricht-----
> >
> > > > > > > > > > Von: Maria Jose Esteve <mjesteve@iest.com<mailto:
> > mjesteve@iest.com>>
> >
> > > > > > > > > > Gesendet: Freitag, 19. Februar 2021 17:51
> >
> > > > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
> >
> > > > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> >
> > > > > > > > > > distribution
> >
> > > > > > > > > >
> >
> > > > > > > > > > Sure, that would be "expected", but like I told you: if I
> >
> > > > > > > > > > change it to MXRoyaleJS.swc, the app "does nonsense".
> >
> > > > > > > > > > Maybe something has gotten my way.
> >
> > > > > > > > > >
> >
> > > > > > > > > > I will read your messages and see if I can help with
> >
> > > something.
> >
> > > > > > > > > >
> >
> > > > > > > > > > Hiedra.
> >
> > > > > > > > > > -----Mensaje original-----
> >
> > > > > > > > > > De: Christofer Dutz <christofer.dutz@c-ware.de<mailto:
> > christofer.dutz@c-ware.de>> Enviado el:
> >
> > > > > > > > > > viernes,
> >
> > > > > > > > > > 19 de febrero de 2021 14:12
> >
> > > > > > > > > > Para: dev@royale.apache.org<mailto:dev@royale.apache.org
> >
> >
> > > > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> >
> > > > > > > > > > distribution
> >
> > > > > > > > > >
> >
> > > > > > > > > > Hi Hiedra,
> >
> > > > > > > > > >
> >
> > > > > > > > > > well I changed the distribution to make the names like in
> >
> > > > > > > > > > the ANT distribution yesterday.
> >
> > > > > > > > > > But you are passing in an argument telling the compiler
> to
> >
> > > > > > > > > > use the old format and now it should be the new ...
> >
> > > > > > > > > >
> >
> > > > > > > > > > Try:
> >
> > > > > > > > > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> >
> > > > > > > > > > defaults.css; For -compiler.exclude-defaults-css-files =
> >
> > > > > > > MXRoyaleJS.swc:
> >
> > > > > > > > > > defaults.css;
> >
> > > > > > > > > >
> >
> > > > > > > > > > Instead of your variant.
> >
> > > > > > > > > >
> >
> > > > > > > > > > Chris
> >
> > > > > > > > > >
> >
> > > > > > > > > >
> >
> > > > > > > > > > -----Ursprüngliche Nachricht-----
> >
> > > > > > > > > > Von: Maria Jose Esteve <mjesteve@iest.com<mailto:
> > mjesteve@iest.com>>
> >
> > > > > > > > > > Gesendet: Freitag, 19. Februar 2021 14:08
> >
> > > > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
> >
> > > > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> >
> > > > > > > > > > distribution
> >
> > > > > > > > > >
> >
> > > > > > > > > > Yes, until recently I also compiled only with Maven. Due
> to
> >
> > > > > > > > > > the problem with the spark.css I started to do the double
> >
> > > > > > > > > > compilation of
> >
> > > > > > > > > MAVEN and ANT.
> >
> > > > > > > > > >
> >
> > > > > > > > > > It's funny, now, the swc's are not generated with
> >
> > > > > > > > > > "xxxx-0.9.8-SNAPSHOT-js.swc" in the distribution BUT if
> in
> >
> > > > > > > > > > the pom of my project I change in
> > additionalCompilerOptions:
> >
> > > > > > > > > > -compiler.exclude-defaults-css-files = MXRoyale - $
> >
> > > > > > > > > > {royale.framework.version} -js.swc: defaults.css; For
> >
> > > > > > > > > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> >
> > > > > > > > > > defaults.css; My application starts to do nonsense (for
> >
> > > > > > > > > > example the change of selectedContent in my
> >
> > > > > > > > > > ApplicationMainContent does not display)
> >
> > > > > > > > > >
> >
> > > > > > > > > > Chris, thank you.
> >
> > > > > > > > > > Hiedra
> >
> > > > > > > > > >
> >
> > > > > > > > > > -----Mensaje original-----
> >
> > > > > > > > > > De: Christofer Dutz <christofer.dutz@c-ware.de<mailto:
> > christofer.dutz@c-ware.de>> Enviado el:
> >
> > > > > > > > > > viernes,
> >
> > > > > > > > > > 19 de febrero de 2021 13:09
> >
> > > > > > > > > > Para: dev@royale.apache.org<mailto:dev@royale.apache.org
> >
> >
> > > > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> >
> > > > > > > > > > distribution
> >
> > > > > > > > > >
> >
> > > > > > > > > > Hi Hiedra,
> >
> > > > > > > > > >
> >
> > > > > > > > > > I have to admit that I've never used VSCode. Every time I
> > do
> >
> > > > > > > > > > any development I usually use one of the JetBrains IDEs.
> >
> > > > > > > > > > Royale Stuff I do in IntelliJ ... with my "Flexmojos
> Hack"
> >
> > > > > > > > > > it can be used quite well. And I always compile with
> Maven.
> >
> > > > > > > > > >
> >
> > > > > > > > > > But thanks for the explanation on why the other path is
> set
> >
> > > > > > > > differently.
> >
> > > > > > > > > >
> >
> > > > > > > > > > I guess we'll have to wait till some others can tell me
> > what
> >
> > > > > > > > > > needs to be changed.
> >
> > > > > > > > > >
> >
> > > > > > > > > > Chris
> >
> > > > > > > > > >
> >
> > > > > > > > > >
> >
> > > > > > > > > > -----Ursprüngliche Nachricht-----
> >
> > > > > > > > > > Von: Maria Jose Esteve <mjesteve@iest.com<mailto:
> > mjesteve@iest.com>>
> >
> > > > > > > > > > Gesendet: Freitag, 19. Februar 2021 12:48
> >
> > > > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
> >
> > > > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> >
> > > > > > > > > > distribution
> >
> > > > > > > > > >
> >
> > > > > > > > > > Hello Chris,
> >
> > > > > > > > > > so that I can debug my changes in the SDK I need to set
> the
> >
> > > > > > > > > > path of the "as3mxml.sdk.editor" to the asjs directory of
> > my
> >
> > > > > > > > > > fork, for this reason the path of the "
> >
> > > as3mxml.sdk.framework"
> >
> > > > > > > > > > points to the directory of the maven distribution and the
> >
> > > > > "as3mxml.sdk.editor"
> >
> > > > > > > > > > to
> >
> > > > > > > > code.
> >
> > > > > > > > > >
> >
> > > > > > > > > > ">> I'm not getting any errors from VSCode. But well ...
> if
> >
> > > > > > > > > > I hit
> >
> > > > > > > > > > SHIFT+Enter it starts doing something where if failed
> prior
> >
> > > > > > > > > > SHIFT+to my
> >
> > > > > > > > > > >> changes this morning and is no longer complaining, but
> >
> > > > > > > > > > >> it's also not
> >
> > > > > > > > > > doing much (I can't see it create a "bin" directory)"
> >
> > > > > > > > > >
> >
> > > > > > > > > > I don't quite understand this ... possibly because of my
> >
> > > > > > > > > > lack of
> >
> > > > > > > > > knowledge.
> >
> > > > > > > > > >
> >
> > > > > > > > > > I have not tried Carlos's project but this afternoon I
> will
> >
> > > > > > > > > > be able to do it and I will be able to give more details.
> >
> > > > > > > > > >
> >
> > > > > > > > > > Thx.
> >
> > > > > > > > > > Hiedra.
> >
> > > > > > > > > >
> >
> > > > > > > > > > -----Mensaje original-----
> >
> > > > > > > > > > De: Christofer Dutz <christofer.dutz@c-ware.de<mailto:
> > christofer.dutz@c-ware.de>> Enviado el:
> >
> > > > > > > > > > viernes,
> >
> > > > > > > > > > 19 de febrero de 2021 11:51
> >
> > > > > > > > > > Para: dev@royale.apache.org<mailto:dev@royale.apache.org
> >
> >
> > > > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> >
> > > > > > > > > > distribution
> >
> > > > > > > > > >
> >
> > > > > > > > > > Hi Heidra,
> >
> > > > > > > > > >
> >
> > > > > > > > > > I just updated Carlos' example to have the same type of
> >
> > > > > > > > > > setting (C:\\Temp\\RoyaleSDK is where I have my Maven
> build
> >
> > > > > > > > > > generate the
> >
> > > > > > > SDK):
> >
> > > > > > > > > >
> >
> > > > > > > > > > setings.js:
> >
> > > > > > > > > > {
> >
> > > > > > > > > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> >
> > > > > > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> >
> > > > > > > > > > }
> >
> > > > > > > > > >
> >
> > > > > > > > > > workspace-code-workspace
> >
> > > > > > > > > > {
> >
> > > > > > > > > > "folders": [
> >
> > > > > > > > > > {
> >
> > > > > > > > > > "path": ".."
> >
> > > > > > > > > > }
> >
> > > > > > > > > > ],
> >
> > > > > > > > > > "settings": {
> >
> > > > > > > > > > "as3mxml.sdk.framework":
> >
> > > "C:\\Temp\\RoyaleSDK",
> >
> > > > > > > > > > "as3mxml.sdk.editor":
> "C:\\Temp\\RoyaleSDK"
> >
> > > > > > > > > > }
> >
> > > > > > > > > > }
> >
> > > > > > > > > >
> >
> > > > > > > > > > I'm not getting any errors from VSCode. But well ... if I
> >
> > > > > > > > > > hit
> >
> > > > > > > > > > SHIFT+Enter it starts doing something where if failed
> prior
> >
> > > > > > > > > > SHIFT+to my
> >
> > > > > > > > > > changes this morning and is no longer complaining, but
> it's
> >
> > > > > > > > > > also not doing much (I can't see it create a "bin"
> >
> > > > > > > > > > directory)
> >
> > > > > > > > > >
> >
> > > > > > > > > > Chris
> >
> > > > > > > > > >
> >
> > > > > > > > > >
> >
> > > > > > > > > > -----Ursprüngliche Nachricht-----
> >
> > > > > > > > > > Von: Maria Jose Esteve <mjesteve@iest.com<mailto:
> > mjesteve@iest.com>>
> >
> > > > > > > > > > Gesendet: Freitag, 19. Februar 2021 10:53
> >
> > > > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
> >
> > > > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> >
> > > > > > > > > > distribution
> >
> > > > > > > > > >
> >
> > > > > > > > > > If I don't compile with ANT, the mxml extension in vsCode
> >
> > > > > > > > > > IDE, it doesn't recognize the valid asjs directory for
> >
> > > > > > "as3mxml.sdk.editor":
> >
> > > > > > > > > > ...
> >
> > > > > > > > > > "settings": {
> >
> > > > > > > > > > "as3mxml.sdk.framework":
> >
> > > > > > > > > > "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
> >
> > > > > > > > > > "as3mxml.sdk.editor":
> >
> > > > > > > > > > "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs"
> >
> > > > > > > > > > <-------- [download folder repo royale-asjs]
> >
> > > > > > > > > > }
> >
> > > > > > > > > > }
> >
> > > > > > > > > >
> >
> > > > > > > > > > The error is:
> >
> > > > > > > > > > " as3mxml.sdk.editor in settings does not point to a
> valid
> >
> > > SDK.
> >
> > > > > > > > > > Requires..."
> >
> > > > > > > > > >
> >
> > > > > > > > > > Thx.
> >
> > > > > > > > > > Hiedra.
> >
> > > > > > > > > >
> >
> > > > > > > > > > -----Mensaje original-----
> >
> > > > > > > > > > De: Piotr Zarzycki <piotrzarzycki21@gmail.com<mailto:
> > piotrzarzycki21@gmail.com>> Enviado el:
> >
> > > > > > > > > > viernes, 19 de febrero de 2021 10:44
> >
> > > > > > > > > > Para: Apache Royale Development <dev@royale.apache.org
> > <ma...@royale.apache.org>>
> >
> > > > > > > > > > Asunto: Re: Align Maven IDE distribution with Ant IDE
> >
> > > > > > > > > > distribution
> >
> > > > > > > > > >
> >
> > > > > > > > > > Hi Chris,
> >
> > > > > > > > > >
> >
> > > > > > > > > > I just tried your changes and I have same issue. I need
> to
> >
> > > > > > > > > > understand what has change enough significantly that it
> >
> > > > > > > > > > causes compilation fail in such way. It doesn't happen
> with
> >
> > > > > > > > > > SDK prepared
> >
> > > > > > by
> >
> > > > > > > ANT.
> >
> > > > > > > > > >
> >
> > > > > > > > > > Thanks,
> >
> > > > > > > > > > Piotr
> >
> > > > > > > > > >
> >
> > > > > > > > > > pt., 19 lut 2021 o 10:33 Maria Jose Esteve
> >
> > > > > > > > > > <mj...@iest.com>>
> >
> > > > > > > > > napisał(a):
> >
> > > > > > > > > >
> >
> > > > > > > > > > > @Chris you're right, sorry, I didn't download your last
> >
> > > > commit.
> >
> > > > > > > > > > > I'm sorry.
> >
> > > > > > > > > > > Hiedra.
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > -----Mensaje original-----
> >
> > > > > > > > > > > De: Christofer Dutz <christofer.dutz@c-ware.de<mailto:
> > christofer.dutz@c-ware.de>> Enviado
> >
> > > el:
> >
> > > > > > > > > > > viernes,
> >
> > > > > > > > > > > 19 de febrero de 2021 10:17
> >
> > > > > > > > > > > Para: dev@royale.apache.org<mailto:
> dev@royale.apache.org
> > >
> >
> > > > > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> >
> > > > > > > > > > > distribution
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > I'll try to guess what you wanted to say here ...
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > But I think these are exactly the changes I comitted a
> an
> >
> > > > > > > > > > > hour ago,
> >
> > > > > > > > > > right?
> >
> > > > > > > > > > > At least in general I replaced all the references to
> > names
> >
> > > > > > > > > > > with versions to the changed ones.
> >
> > > > > > > > > > >
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > Chris
> >
> > > > > > > > > > >
> >
> > > > > > > > > > >
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > -----Ursprüngliche Nachricht-----
> >
> > > > > > > > > > > Von: Maria Jose Esteve <mjesteve@iest.com<mailto:
> > mjesteve@iest.com>>
> >
> > > > > > > > > > > Gesendet: Freitag, 19. Februar 2021 10:01
> >
> > > > > > > > > > > An: dev@royale.apache.org<mailto:dev@royale.apache.org
> >
> >
> > > > > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> >
> > > > > > > > > > > distribution
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > Hi,
> >
> > > > > > > > > > > Mi distribución hace referencia en el fichero
> >
> > > > > > > > > > > "./frameworks/royale-config.xml" a las librerías:
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > <js-external-library-path>
> >
> > > > > > > > > > >
> >
> > > > > > > > > > >
> >
> > > > > > >
> >
> > > <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.
> >
> > > > > > > > > > > sw
> >
> > > > > > > > > > > c</path-element>
> >
> > > > > > > > > > >
> >
> > > > > > > > > > >
> >
> > > > > > > > > >
> > <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-
> >
> > > > > > > > > > ty
> >
> > > > > > > > > > pede
> >
> > > > > > > > > > fs.s
> >
> > > > > > > > > > wc</path-element>
> >
> > > > > > > > > > > </js-external-library-path>
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > Las correctas son:
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > <js-external-library-path>
> >
> > > > > > > > > > >
> >
> > > > > > > > >
> >
> > > > > > > > >
> > <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> >
> > > > > > > > > > >
> >
> > > > > > > > >
> >
> > > > > > > > >
> > <path-element>../js/libs/royale-typedefs-gcl.swc</path-element
> >
> > > > > > > > > >
> >
> > > > > > > > > > > </js-external-library-path>
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > Hiedra
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > -----Mensaje original-----
> >
> > > > > > > > > > > De: Christofer Dutz <christofer.dutz@c-ware.de<mailto:
> > christofer.dutz@c-ware.de>> Enviado
> >
> > > el:
> >
> > > > > > > > > > > viernes,
> >
> > > > > > > > > > > 19 de febrero de 2021 9:39
> >
> > > > > > > > > > > Para: dev@royale.apache.org<mailto:
> dev@royale.apache.org
> > >
> >
> > > > > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> >
> > > > > > > > > > > distribution
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > Ok,
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > so the config xml files in the distribution were still
> >
> > > > > > > > > > > pointing to the old names. I updated them all to now
> > refer
> >
> > > > > > > > > > > to
> >
> > > > > the names.
> >
> > > > > > > > > > > I tried things in Carlos' demo project, and I'm
> no-longer
> >
> > > > > > > > > > > getting the errors, however compilation seems to take
> for
> >
> > > > ever.
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > Please try out the changes and tell me if there are any
> >
> > > > > > > > > > > problems with
> >
> > > > > > > > > > them.
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > Chris
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > -----Ursprüngliche Nachricht-----
> >
> > > > > > > > > > > Von: Christofer Dutz <christofer.dutz@c-ware.de
> <mailto:
> > christofer.dutz@c-ware.de>>
> >
> > > > > > > > > > > Gesendet: Donnerstag, 18. Februar 2021 23:17
> >
> > > > > > > > > > > An: dev@royale.apache.org<mailto:dev@royale.apache.org
> >
> >
> > > > > > > > > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> >
> > > > > > > > > > > distribution
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > Hi Carlos,
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > I'll look into this tomorrow.
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > Chris
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > -----Ursprüngliche Nachricht-----
> >
> > > > > > > > > > > Von: Carlos Rovira <carlosrovira@apache.org<mailto:
> > carlosrovira@apache.org>>
> >
> > > > > > > > > > > Gesendet: Donnerstag, 18. Februar 2021 17:49
> >
> > > > > > > > > > > An: Apache Royale Development <dev@royale.apache.org
> > <ma...@royale.apache.org>>
> >
> > > > > > > > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >
> > > > > > > > > > > distribution
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > Hi, I think I talked very quickly, sorry, there seems
> to
> >
> > > > > > > > > > > be a
> >
> > > > > > > > problem.
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > @Christofer Dutz <christofer.dutz@c-ware.de<mailto:
> > christofer.dutz@c-ware.de>> you can
> >
> > > > > > > > > > > download this
> >
> > > > > > > > > > > project:
> >
> > > > > > > > > > >
> >
> > > > > > > > > > >
> >
> > > > > > > > > > >
> > https://github.com/apache/royale-asjs/files/6004363/Toggle
> >
> > > > > > > > > > > Bu
> >
> > > > > > > > > > > tton
> >
> > > > > > > > > > > BarI
> >
> > > > > > > > > > > ss
> >
> > > > > > > > > > > ue.zip
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > Then using VSCode with AS3&MXML and adding the Maven
> >
> > > > > > distribution.
> >
> > > > > > > > > > > Then hit CTRL+ENTER and you will get the following
> fail.
> >
> > > > > > > > > > > Using ANT distribution is working fine.
> >
> > > > > > > > > > > Can you take a look?
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > Royale Compiler Shell
> >
> > > > > > > > > > > (fcsh) mxmlc --debug=false +configname=royale
> >
> > > > > > > > > > > --targets=JSRoyale --source-map=true
> >
> > > > > > > > > > >
> > --html-template=src/html/jewel-example-index-template.html
> >
> > > > > > > > > > >
> >
> > > > > > > > > > >
> > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapph
> >
> > > > > > > > > > > ir
> >
> > > > > > > > > > > e-Th
> >
> > > > > > > > > > > eme/
> >
> > > > > > > > > > > sr
> >
> > > > > > > > > > > c/main/resources/defaults.css
> >
> > > > > > > > > > > --source-path+=src
> >
> > > > > > > > > > >
> > --source-path+--library-path+=${royalelib}/js/libs/MXRoyal
> >
> > > > > > > > > > > --source-path+--library-path+eJ S.sw c
> >
> > > > > > > > > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> >
> > > > > > > > > > >
> > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaul
> >
> > > > > > > > > > > ts .css -js-dynamic-access-unknown-members=true --
> >
> > > > > > > > > > > src/App.mxml
> >
> > > > > > > > > > > fcsh: Assigned 1 as the compile target id The project
> > 'App'
> >
> > > > > > > > > > > has been successfully compiled and optimized.
> >
> > > > > > > > > > > Compile status: 0
> >
> > > > > > > > > > > Elapsed time: 14.211105399 seconds Feb 18, 2021 5:43:40
> > PM
> >
> > > > > > > > > > > com.google.javascript.jscomp.LoggerErrorManager
> >
> > > > > > > > > > > printSummary
> >
> > > > > > > > > > > INFO: 0 error(s), 0 warning(s), 96.5% typed
> >
> > > > > > > > > > > (fcsh) quit
> >
> > > > > > > > > > > Compiler shell exited with code: 0 Royale Compiler
> Shell
> >
> > > > > > > > > > > (fcsh) mxmlc --debug=false +configname=royale
> >
> > > > > > > > > > > --targets=JSRoyale --source-map=true
> >
> > > > > > > > > > >
> > --html-template=src/html/jewel-example-index-template.html
> >
> > > > > > > > > > >
> >
> > > > > > > > > > >
> > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapph
> >
> > > > > > > > > > > ir
> >
> > > > > > > > > > > e-Th
> >
> > > > > > > > > > > eme/
> >
> > > > > > > > > > > sr
> >
> > > > > > > > > > > c/main/resources/defaults.css
> >
> > > > > > > > > > > --source-path+=src
> >
> > > > > > > > > > >
> > --source-path+--library-path+=${royalelib}/js/libs/MXRoyal
> >
> > > > > > > > > > > --source-path+--library-path+eJ S.sw c
> >
> > > > > > > > > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> >
> > > > > > > > > > >
> > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaul
> >
> > > > > > > > > > > ts .css -js-dynamic-access-unknown-members=true --
> >
> > > > > > > > > > > src/App.mxml
> >
> > > > > > > > > > > fcsh: Assigned 1 as the compile target id Compile
> status:
> >
> > > > > > > > > > > 5 Elapsed
> >
> > > > > > > > > time:
> >
> > > > > > > > > > > 0.618407478 seconds
> >
> > > > > > > > > > >
> >
> > > > > > > > > > >
> >
> > > > > > > > > >
> >
> > > > > > > > >
> >
> > > > > > > >
> >
> > > > > > >
> >
> > > > > >
> >
> > > > >
> >
> > > >
> >
> > >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> >
> > > > > > > > > > > col: 0 Error: unable to open
> >
> > > > > > > > > > >
> >
> > > > > > > > > > >
> >
> > > > > > > > > >
> >
> > > > > > > > >
> >
> > > > > > > >
> >
> > > > > > >
> >
> > > > > >
> >
> > > > >
> >
> > > >
> >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
> >
> > > > > > > > > > >
> >
> > > > > > > > > > >
> > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/fr
> >
> > > > > > > > > > > am
> >
> > > > > > > > > > > ewor
> >
> > > > > > > > > > > ks/r
> >
> > > > > > > > > > > oy
> >
> > > > > > > > > > > ale-config.xml
> >
> > > > > > > > > > > (line: 81)
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > </js-external-library-path>
> >
> > > > > > > > > > >
> >
> > > > > > > > > > >
> >
> > > > > > > > > > >
> >
> > > > > > > > > > >
> >
> > > > > > > > > >
> >
> > > > > > > > >
> >
> > > > > > > >
> >
> > > > > > >
> >
> > > > > >
> >
> > > > >
> >
> > > >
> >
> > >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> >
> > > > > > > > > > > col: 0 Error: unable to open
> >
> > > > > > > > > > >
> >
> > > > > > > > > > >
> >
> > > > > > > > > >
> >
> > > > > > > > >
> >
> > > > > > > >
> >
> > > > > > >
> >
> > > > > >
> >
> > > > >
> >
> > > >
> >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
> >
> > > > > > > > > > >
> >
> > > > > > > > > > >
> > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/fr
> >
> > > > > > > > > > > am
> >
> > > > > > > > > > > ewor
> >
> > > > > > > > > > > ks/r
> >
> > > > > > > > > > > oy
> >
> > > > > > > > > > > ale-config.xml
> >
> > > > > > > > > > > (line: 81)
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > </js-external-library-path>
> >
> > > > > > > > > > > (fcsh)
> >
> > > > > > > > > > > Quick Compile failed. Errors in compiler output.
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
> >
> > > > > > > > > > > (<carlosrovira@apache.org<mailto:
> carlosrovira@apache.org
> > >>)
> >
> > > > > > > > > > > escribió:
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > > Hi,
> >
> > > > > > > > > > > >
> >
> > > > > > > > > > > > I rebuilt all from scratch just now and finally the
> >
> > > > > > > > > > > > distribution too and tried in VSCode and all seems to
> >
> > > > > > > > > > > > work fine
> >
> > > > > > > for me.
> >
> > > > > > > > > > > >
> >
> > > > > > > > > > > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> >
> > > > > > > > > > > > christofer.dutz@c-ware.de<mailto:
> > christofer.dutz@c-ware.de>>) escribió:
> >
> > > > > > > > > > > >
> >
> > > > > > > > > > > >> Hi Piotr,
> >
> > > > > > > > > > > >>
> >
> > > > > > > > > > > >> that class is located in
> > lib\external\flex-tool-api.jar
> >
> > > > > > > > > > > >> At least in my distribution it's there and it
> contains
> >
> > > > > > > > > > > >> the
> >
> > > > > class.
> >
> > > > > > > > > > > >>
> >
> > > > > > > > > > > >> How are you calling the build that's failing?
> >
> > > > > > > > > > > >>
> >
> > > > > > > > > > > >> Chris
> >
> > > > > > > > > > > >>
> >
> > > > > > > > > > > >> -----Ursprüngliche Nachricht-----
> >
> > > > > > > > > > > >> Von: Piotr Zarzycki <piotrzarzycki21@gmail.com
> > <ma...@gmail.com>>
> >
> > > > > > > > > > > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> >
> > > > > > > > > > > >> An: Apache Royale Development <
> dev@royale.apache.org
> > <ma...@royale.apache.org>>
> >
> > > > > > > > > > > >> Betreff: Re: Align Maven IDE distribution with Ant
> IDE
> >
> > > > > > > > > > > >> distribution
> >
> > > > > > > > > > > >>
> >
> > > > > > > > > > > >> Chris,
> >
> > > > > > > > > > > >>
> >
> > > > > > > > > > > >> I just checked and I'm not able build project
> anymore
> >
> > > > > > > > > > > >> using
> >
> > > > > > > > > > > distribution:
> >
> > > > > > > > > > > >>
> >
> > > > > > > > > > > >> : Using Royale SDK:
> "D:\Work\royale_ide\distribution"
> >
> > > > > > > > > > > >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
> >
> > > > > > > > > > > >> -Xms356m -Xmx3000m
> >
> > > > > > > > > > > >> : Error: Could not find or load main class
> >
> > > > > > > > > > > >> org.apache.royale.compiler.clients.MXMLJSC
> >
> > > > > > > > > > > >> : Caused by: java.lang.NoClassDefFoundError:
> >
> > > > > > > > > > > >> org/apache/flex/tools/FlexTool
> >
> > > > > > > > > > > >>
> >
> > > > > > > > > > > >> I'm done for today, so I will answer anything
> > tomorrow.
> >
> > > > > > > > > > > >>
> >
> > > > > > > > > > > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
> >
> > > > > > > > > > > >> <christofer.dutz@c-ware.de<mailto:
> > christofer.dutz@c-ware.de>>
> >
> > > > > > > > > > > >> napisał(a):
> >
> > > > > > > > > > > >>
> >
> > > > > > > > > > > >> > Ok ...
> >
> > > > > > > > > > > >> >
> >
> > > > > > > > > > > >> > so I just pushed another change. Now the
> > distribution
> >
> > > > > > > > > > > >> > should also contain an empty spark.css, just like
> > the
> >
> > > > > > > > > > > >> > Ant
> >
> > > > > > one.
> >
> > > > > > > > > > > >> >
> >
> > > > > > > > > > > >> > Chris
> >
> > > > > > > > > > > >> >
> >
> > > > > > > > > > > >> >
> >
> > > > > > > > > > > >> > -----Ursprüngliche Nachricht-----
> >
> > > > > > > > > > > >> > Von: Christofer Dutz <christofer.dutz@c-ware.de
> > <ma...@c-ware.de>>
> >
> > > > > > > > > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> >
> > > > > > > > > > > >> > An: dev@royale.apache.org<mailto:
> > dev@royale.apache.org>
> >
> > > > > > > > > > > >> > Betreff: AW: Align Maven IDE distribution with Ant
> >
> > > > > > > > > > > >> > IDE distribution
> >
> > > > > > > > > > > >> >
> >
> > > > > > > > > > > >> > Ok,
> >
> > > > > > > > > > > >> >
> >
> > > > > > > > > > > >> > so that should now be fixed. Leaves the
> "spark.css"
> >
> > > > > > > > > > > >> > Having had a look, it seems as if the Ant build
> >
> > > > > > > > > > > >> > creates an empty
> >
> > > > > > > > > > > >> spark.css.
> >
> > > > > > > > > > > >> >
> >
> > > > > > > > > > > >> > Is this all we need? If yes, then I'll have that
> in
> >
> > > > > > > > > > > >> > ther in no
> >
> > > > > > > > > time.
> >
> > > > > > > > > > > >> >
> >
> > > > > > > > > > > >> > Chris
> >
> > > > > > > > > > > >> >
> >
> > > > > > > > > > > >> > -----Ursprüngliche Nachricht-----
> >
> > > > > > > > > > > >> > Von: Piotr Zarzycki <piotrzarzycki21@gmail.com
> > <ma...@gmail.com>>
> >
> > > > > > > > > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> >
> > > > > > > > > > > >> > An: Apache Royale Development <
> > dev@royale.apache.org<ma...@royale.apache.org>>
> >
> > > > > > > > > > > >> > Betreff: Re: Align Maven IDE distribution with Ant
> >
> > > > > > > > > > > >> > IDE distribution
> >
> > > > > > > > > > > >> >
> >
> > > > > > > > > > > >> > *(I assume that's in the "frameworks/js/libs"
> >
> > > > > > > > > > > >> > directory? *
> >
> > > > > > > > > > > >> >
> >
> > > > > > > > > > > >> > Yes this is the directory.
> >
> > > > > > > > > > > >> >
> >
> > > > > > > > > > > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> >
> > > > > > > > > > > >> > <christofer.dutz@c-ware.de<mailto:
> > christofer.dutz@c-ware.de>>
> >
> > > > > > > > > > > >> > napisał(a):
> >
> > > > > > > > > > > >> >
> >
> > > > > > > > > > > >> > > Hi Piotr,
> >
> > > > > > > > > > > >> > >
> >
> > > > > > > > > > > >> > > Ok ... so Ant seems to be adding a "JS" to the
> end
> >
> > > > > > > > > > > >> > > of every name (I assume that's in the
> >
> > > > "frameworks/js/libs"
> >
> > > > > > > directory?
> >
> > > > > > > > > > > >> > >
> >
> > > > > > > > > > > >> > > Also I'll try to find out where the "spark.css"
> >
> > > > > > > > > > > >> > > should come from
> >
> > > > > > > > > > ...
> >
> > > > > > > > > > > >> > > and where it should go to.
> >
> > > > > > > > > > > >> > >
> >
> > > > > > > > > > > >> > > Chris
> >
> > > > > > > > > > > >> > >
> >
> > > > > > > > > > > >> > >
> >
> > > > > > > > > > > >> > > -----Ursprüngliche Nachricht-----
> >
> > > > > > > > > > > >> > > Von: Piotr Zarzycki <piotrzarzycki21@gmail.com
> > <ma...@gmail.com>>
> >
> > > > > > > > > > > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> >
> > > > > > > > > > > >> > > An: Apache Royale Development
> >
> > > > > > > > > > > >> > > <dev@royale.apache.org<mailto:
> > dev@royale.apache.org>>
> >
> > > > > > > > > > > >> > > Betreff: Re: Align Maven IDE distribution with
> Ant
> >
> > > > > > > > > > > >> > > IDE distribution
> >
> > > > > > > > > > > >> > >
> >
> > > > > > > > > > > >> > > Chris,
> >
> > > > > > > > > > > >> > >
> >
> > > > > > > > > > > >> > > Looks better but here is the comparision what I
> >
> > > > > > > > > > > >> > > have in Ant distribution vs Maven distribution
> in
> >
> > > > > > > > > > > >> > > case of
> >
> > > > > names.
> >
> > > > > > > > > > > >> > > On the left Ant distribution, on the right
> Maven.
> >
> > > > > > > > > > > >> > > It is
> >
> > > > > > > folder:
> >
> > > > > > > > > > > >> > > frameworks\js\libs\ [1]
> >
> > > > > > > > > > > >> > >
> >
> > > > > > > > > > > >> > > [1] https://ibb.co/W2DzcDb
> >
> > > > > > > > > > > >> > >
> >
> > > > > > > > > > > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> >
> > > > > > > > > > > >> > > <christofer.dutz@c-ware.de<mailto:
> > christofer.dutz@c-ware.de>>
> >
> > > > > > > > > > > >> > > napisał(a):
> >
> > > > > > > > > > > >> > >
> >
> > > > > > > > > > > >> > > > And done ...
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > > > Now all elements in the distribution only
> > consist
> >
> > > > > > > > > > > >> > > > of their name and file-ending ... all versions
> >
> > > > > > > > > > > >> > > > and classifiers have been
> >
> > > > > > > > > > > removed.
> >
> > > > > > > > > > > >> > > > Please provide me with feedback on if this
> > solves
> >
> > > > > > > > > > > >> > > > the
> >
> > > > > > > > issues.
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > > > Chris
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > > > -----Ursprüngliche Nachricht-----
> >
> > > > > > > > > > > >> > > > Von: Christofer Dutz <
> christofer.dutz@c-ware.de
> > <ma...@c-ware.de>>
> >
> > > > > > > > > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> >
> > > > > > > > > > > >> > > > An: dev@royale.apache.org<mailto:
> > dev@royale.apache.org>
> >
> > > > > > > > > > > >> > > > Betreff: AW: Align Maven IDE distribution with
> >
> > > > > > > > > > > >> > > > Ant IDE distribution
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > > > I'll probably have a fix for that in a few
> >
> > > > > > > > > > > >> > > > minuntes
> >
> > > > > ...
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > > > Chris
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > > > -----Ursprüngliche Nachricht-----
> >
> > > > > > > > > > > >> > > > Von: Piotr Zarzycki <
> piotrzarzycki21@gmail.com
> > <ma...@gmail.com>>
> >
> > > > > > > > > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> >
> > > > > > > > > > > >> > > > An: Apache Royale Development
> >
> > > > > > > > > > > >> > > > <dev@royale.apache.org<mailto:
> > dev@royale.apache.org>>
> >
> > > > > > > > > > > >> > > > Betreff: Re: Align Maven IDE distribution with
> >
> > > > > > > > > > > >> > > > Ant IDE distribution
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > > > Chris,
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > > > No it's not about not picking up by IDE at
> all.
> >
> > > > > > > > > > > >> > > > Moonshine and VSCode are able to build
> projects
> >
> > > > > > > > > > > >> > > > using Maven distribution package! It is about
> >
> > > > > > > > > > > >> > > > project which are mixed for example when user
> >
> > > > > > > > > > > >> > > > wanted to use Jewel module + RemoteObject
> class
> >
> > > > > > > > > > > >> > > > from MXRoyale module. In that case user need
> to
> >
> > > > > > > > > > > >> > > > point explicilty as a compiler options in IDE
> >
> > > > > > > > > > > >> > > > that he wanted to have SWC included and need
> to
> >
> > > > > > > > > > > >> > > > exclude css from that swc to
> >
> > > > > > > > > > > >> > > avoid problems.
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > > > It is happen like that:
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > > >
> > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS
> >
> > > > > > > > > > > >> > > > -js-library-path+.s
> >
> > > > > > > > > > > >> > > > wc
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> >
> > > > > > > > > > > >> > > > cs
> >
> > > > > > > > > > > >> > > > s
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > > > If I would like to use maven distribution user
> >
> > > > > > > > > > > >> > > > need to know version for that compiler
> options.
> >
> > > > > > > > > > > >> > > > It is even more tricky when your swc is called
> >
> > > > > > > > > > > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.
> >
> > > > > > > > > > > >> > > > cs
> >
> > > > > > > > > > > >> > > > s
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > > > Thanks,
> >
> > > > > > > > > > > >> > > > Piotr
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> >
> > > > > > > > > > > >> > > > <christofer.dutz@c-ware.de<mailto:
> > christofer.dutz@c-ware.de>>
> >
> > > > > > > > > > > >> > > > napisał(a):
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > > > > Hi Piotr,
> >
> > > > > > > > > > > >> > > > >
> >
> > > > > > > > > > > >> > > > > And is really the version-suffix causing it
> to
> >
> > > > > > > > > > > >> > > > > not be picked up by the IDEs?
> >
> > > > > > > > > > > >> > > > >
> >
> > > > > > > > > > > >> > > > > Chris
> >
> > > > > > > > > > > >> > > > >
> >
> > > > > > > > > > > >> > > > > -----Ursprüngliche Nachricht-----
> >
> > > > > > > > > > > >> > > > > Von: Piotr Zarzycki <
> > piotrzarzycki21@gmail.com>
> >
> > > > > > > > > > > >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> >
> > > > > > > > > > > >> > > > > An: dev@royale.apache.org
> >
> > > > > > > > > > > >> > > > > Betreff: Re: Align Maven IDE distribution
> with
> >
> > > > > > > > > > > >> > > > > Ant IDE distribution
> >
> > > > > > > > > > > >> > > > >
> >
> > > > > > > > > > > >> > > > > Hi Chris,
> >
> > > > > > > > > > > >> > > > >
> >
> > > > > > > > > > > >> > > > > This is the only thing which seems to be a
> >
> > > > > > > > > > > >> > > > > constant problem
> >
> > > > > > > > > > > here.
> >
> > > > > > > > > > > >> > > > > I personally and some users will be much
> more
> >
> > > > > > > > > > > >> > > > > happy having that
> >
> > > > > > > > > > > >> > change.
> >
> > > > > > > > > > > >> > > > >
> >
> > > > > > > > > > > >> > > > > Thanks,
> >
> > > > > > > > > > > >> > > > > Piotr
> >
> > > > > > > > > > > >> > > > >
> >
> > > > > > > > > > > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer
> Dutz
> >
> > > > > > > > > > > >> > > > > <ch...@c-ware.de>
> >
> > > > > > > > > > > >> > > > > wrote:
> >
> > > > > > > > > > > >> > > > >
> >
> > > > > > > > > > > >> > > > > > Hi Piotr,
> >
> > > > > > > > > > > >> > > > > >
> >
> > > > > > > > > > > >> > > > > > I'd be happy to help with that.
> >
> > > > > > > > > > > >> > > > > >
> >
> > > > > > > > > > > >> > > > > > I did simply ask for a list of things that
> >
> > > > > > > > > > > >> > > > > > need to be changed in order to get things
> >
> > > > > > > > > > > >> > > > > > working, but never got said list, so I
> never
> >
> > > > > > > > > > > >> > > > > > knew what I could do to make the Maven
> >
> > > > > > > > > > > >> > > > > > distribution match up to the
> >
> > > > > > > > > > > >> > > > Ant built one.
> >
> > > > > > > > > > > >> > > > > >
> >
> > > > > > > > > > > >> > > > > > Chris
> >
> > > > > > > > > > > >> > > > > >
> >
> > > > > > > > > > > >> > > > > >
> >
> > > > > > > > > > > >> > > > > > -----Ursprüngliche Nachricht-----
> >
> > > > > > > > > > > >> > > > > > Von: Piotr Zarzycki
> >
> > > > > > > > > > > >> > > > > > <pi...@gmail.com>
> >
> > > > > > > > > > > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021
> 11:01
> >
> > > > > > > > > > > >> > > > > > An: Apache Royale Development
> >
> > > > > > > > > > > >> > > > > > <de...@royale.apache.org>
> >
> > > > > > > > > > > >> > > > > > Betreff: Align Maven IDE distribution with
> >
> > > > > > > > > > > >> > > > > > Ant IDE distribution
> >
> > > > > > > > > > > >> > > > > >
> >
> > > > > > > > > > > >> > > > > > Hi Guys,
> >
> > > > > > > > > > > >> > > > > >
> >
> > > > > > > > > > > >> > > > > > It's been couple of times when user
> > complains
> >
> > > > > > > > > > > >> > > > > > that he have problems with using Maven
> >
> > > > > > > > > > > >> > > > > > distribution vs Ant distribution in IDE
> in a
> >
> > > > > > > > > > > >> > > > > > mixed project Jewel + MX/Spark
> >
> > > > > > > > > etc.
> >
> > > > > > > > > > > >> > > > > >
> >
> > > > > > > > > > > >> > > > > > Can we have that resolve once for all and
> >
> > > > > > > > > > > >> > > > > > adjust Maven distribution folder to
> produce
> >
> > > > > > > > > > > >> > > > > > proper names of
> >
> > > > > > > swcs ?
> >
> > > > > > > > > > > >> > > > > >
> >
> > > > > > > > > > > >> > > > > > Currently when I build Maven IDE
> > distribution
> >
> > > > > > > > > > > >> > > > > > I
> >
> > > > > > have:
> >
> > > > > > > > > > > >> > > > > >
> >
> > > > > > > > > > > >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> >
> > > > > > > > > > > >> > > > > >
> >
> > > > > > > > > > > >> > > > > > When I build Ant IDE distribution I have:
> >
> > > > > > > > > > > >> > > > > >
> >
> > > > > > > > > > > >> > > > > > MXRoyale-js.swc
> >
> > > > > > > > > > > >> > > > > >
> >
> > > > > > > > > > > >> > > > > > Thanks,
> >
> > > > > > > > > > > >> > > > > > --
> >
> > > > > > > > > > > >> > > > > >
> >
> > > > > > > > > > > >> > > > > > Piotr Zarzycki
> >
> > > > > > > > > > > >> > > > > >
> >
> > > > > > > > > > > >> > > > > --
> >
> > > > > > > > > > > >> > > > >
> >
> > > > > > > > > > > >> > > > > Piotr Zarzycki
> >
> > > > > > > > > > > >> > > > >
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > > > --
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > > > Piotr Zarzycki
> >
> > > > > > > > > > > >> > > >
> >
> > > > > > > > > > > >> > >
> >
> > > > > > > > > > > >> > >
> >
> > > > > > > > > > > >> > > --
> >
> > > > > > > > > > > >> > >
> >
> > > > > > > > > > > >> > > Piotr Zarzycki
> >
> > > > > > > > > > > >> > >
> >
> > > > > > > > > > > >> >
> >
> > > > > > > > > > > >> >
> >
> > > > > > > > > > > >> > --
> >
> > > > > > > > > > > >> >
> >
> > > > > > > > > > > >> > Piotr Zarzycki
> >
> > > > > > > > > > > >> >
> >
> > > > > > > > > > > >>
> >
> > > > > > > > > > > >>
> >
> > > > > > > > > > > >> --
> >
> > > > > > > > > > > >>
> >
> > > > > > > > > > > >> Piotr Zarzycki
> >
> > > > > > > > > > > >>
> >
> > > > > > > > > > > >
> >
> > > > > > > > > > > >
> >
> > > > > > > > > > > > --
> >
> > > > > > > > > > > > Carlos Rovira
> >
> > > > > > > > > > > > Apache Member & Apache Royale PMC *Apache Software
> >
> > > > > > > > > > > > Foundation* http://about.me/carlosrovira
> >
> > > > > > > > > > > >
> >
> > > > > > > > > > > >
> >
> > > > > > > > > > >
> >
> > > > > > > > > > > --
> >
> > > > > > > > > > > Carlos Rovira
> >
> > > > > > > > > > > Apache Member & Apache Royale PMC *Apache Software
> >
> > > > > > > > > > > Foundation* http://about.me/carlosrovira
> >
> > > > > > > > > > >
> >
> > > > > > > > > >
> >
> > > > > > > > > >
> >
> > > > > > > > > > --
> >
> > > > > > > > > >
> >
> > > > > > > > > > Piotr Zarzycki
> >
> > > > > > > > > >
> >
> > > > > > > > >
> >
> > > > > > > > >
> >
> > > > > > > > > --
> >
> > > > > > > > >
> >
> > > > > > > > > Piotr Zarzycki
> >
> > > > > > > > >
> >
> > > > > > > > --
> >
> > > > > > > >
> >
> > > > > > > > Piotr Zarzycki
> >
> > > > > > > >
> >
> > > > > > >
> >
> > > > > > >
> >
> > > > > > > --
> >
> > > > > > > Carlos Rovira
> >
> > > > > > > Apache Member & Apache Royale PMC
> >
> > > > > > > *Apache Software Foundation*
> >
> > > > > > > http://about.me/carlosrovira
> >
> > > > > > >
> >
> > > > > >
> >
> > > > > >
> >
> > > > > > --
> >
> > > > > > Carlos Rovira
> >
> > > > > > Apache Member & Apache Royale PMC
> >
> > > > > > *Apache Software Foundation*
> >
> > > > > > http://about.me/carlosrovira
> >
> > > > > >
> >
> > > > >
> >
> > > > >
> >
> > > > > --
> >
> > > > >
> >
> > > > > Piotr Zarzycki
> >
> > > > >
> >
> > > >
> >
> > >
> >
> >
> >
> >
> >
> > --
> >
> >
> >
> > Piotr Zarzycki
> >
>
>
> --
> Carlos Rovira
> Apache Member & Apache Royale PMC
> *Apache Software Foundation*
> http://about.me/carlosrovira
>
--
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira
AW: Align Maven IDE distribution with Ant IDE distribution
Posted by Christofer Dutz <ch...@c-ware.de>.
Just added some more manifest files.
Turns out that more modules were added to the project, but the deistribution wasn't keept completely up to date.
I added the missing ones, but still the SWF compilation of the MXRoyale example seems to fail.
If anyone can provide me with an explanation to how things need to be changed to make it work, I'll be happy to do so.
Chris
-----Ursprüngliche Nachricht-----
Von: Christofer Dutz <ch...@c-ware.de>
Gesendet: Montag, 22. Februar 2021 17:12
An: dev@royale.apache.org
Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
And it turns out there was a double-inclusion of some libs in the js and swf distribtuion parts, fixed that now.
Now the distribution should look nice, even with enabled "option-with-swf" profile.
Chris
-----Ursprüngliche Nachricht-----
Von: Carlos Rovira <ca...@apache.org>
Gesendet: Montag, 22. Februar 2021 13:17
An: Apache Royale Development <de...@royale.apache.org>
Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
Hi Chris,
many thanks for the effort! I tried and now all seems to work fine for me.
Even the remote object example that was failing yesterday for Jason.
It need a fix that I just committed too.
I think we have now a better and powerful Maven SDK distribution!! :D
El lun, 22 feb 2021 a las 12:50, Christofer Dutz (<ch...@c-ware.de>)
escribió:
> Yeah,
>
> I wanted to build with swf, but unfortunately I setup my new Windows
> laptop this year and couldn't fetch the missing Adobe parts.
> Luckily Carlos sent me the missing files and I managed to fix things
>
> So I commented out the ACE module again, but created a Pull-Request to
> merge some changes in that could possibly fix the missing ACE module
> problem. It would however be cool, if Yishay could have a look at that
> (Seems he created the ACE module)
>
> You should now be good to go ... and sorry for all the noise ;)
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Maria Jose Esteve <mj...@iest.com>
> Gesendet: Montag, 22. Februar 2021 12:44
> An: dev@royale.apache.org
> Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
>
> Without "option-with-swf" it compiles ok, but with "option-with-swf" it
> doesn't. As you have mentioned Ace needs some adjustment [1]
>
> When I manage to compile (without option-with-swf option) I can't compile
> any of my projects, in all I get the same <fx: Array> error
>
> [1]
> [INFO] --- royale-maven-plugin:0.9.8-SNAPSHOT:compile-as
> (default-compile-as) @ Ace ---
> [INFO] Executing COMPC in tool group Royale with args:
> [-load-config=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs\frameworks\projects\Ace\target\compile-swf-config.xml,
> -js-default-initializers=false, -source-map=true,
> -source-map-source-root=/frameworks/projects/Ace/src/main/royale/,
> -js-complex-implicit-coercions=false, -js-vector-index-checks=false,
> -js-resolve-uncertain=false, -compiler.targets=SWF,JSRoyale,
> -compiler.strict-xml=true]
> args:
>
> -load-config=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs\frameworks\projects\Ace\target\compile-swf-config.xml
> -js-default-initializers=false
> -source-map=true
> -source-map-source-root=/frameworks/projects/Ace/src/main/royale/
> -js-complex-implicit-coercions=false
> -js-vector-index-checks=false
> -js-resolve-uncertain=false
> -compiler.targets=SWF,JSRoyale
> -compiler.strict-xml=true
> target:SWF
> target:JSRoyale
> COMPC
> Loading configuration:
> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs\frameworks\projects\Ace\target\compile-swf-config.xml
>
> 0.1429886 seconds
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary for Apache Royale: Framework: Parent 0.9.8-SNAPSHOT:
> [INFO]
> [INFO] Apache Royale: Framework: Parent ................... SUCCESS [
> 3.009 s]
> [INFO] Apache Royale: Framework ........................... SUCCESS [
> 0.303 s]
> [INFO] Apache Royale: Framework: Fonts .................... SUCCESS [
> 2.359 s]
> [INFO] Apache Royale: Framework: Libs ..................... SUCCESS [
> 0.745 s]
> [INFO] Apache Royale: Framework: Libs: Language ........... SUCCESS [
> 2.390 s]
> [INFO] Apache Royale: Framework: Libs: Core ............... SUCCESS [
> 6.662 s]
> [INFO] Apache Royale: Framework: Libs: Binding ............ SUCCESS [
> 1.049 s]
> [INFO] Apache Royale: Framework: Libs: Graphics ........... SUCCESS [
> 2.547 s]
> [INFO] Apache Royale: Framework: Libs: Collections ........ SUCCESS [
> 0.957 s]
> [INFO] Apache Royale: Framework: Libs: Basic .............. SUCCESS [
> 9.811 s]
> [INFO] Apache Royale: Framework: Libs: JQuery ............. SUCCESS [
> 0.732 s]
> [INFO] Apache Royale: Framework: Libs: Ace ................ FAILURE [
> 0.277 s]
> [INFO] Apache Royale: Framework: Libs: Charts ............. SKIPPED
>
> Thx.
> Hiedra.
>
> -----Mensaje original-----
> De: Christofer Dutz <ch...@c-ware.de>
> Enviado el: lunes, 22 de febrero de 2021 12:25
> Para: dev@royale.apache.org
> Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>
> Ok ...
>
> After Carlos kindly provided me with the missing Adobe artifacts I could
> also try the "with-swf" build ... seems the ACE build needs some fixing ...
> I'm on it.
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Maria Jose Esteve <mj...@iest.com>
> Gesendet: Montag, 22. Februar 2021 12:12
> An: dev@royale.apache.org
> Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
>
> Flying 😝
>
>
>
> Hiedra
>
> -----Mensaje original-----
> De: Christofer Dutz <ch...@c-ware.de>
> Enviado el: lunes, 22 de febrero de 2021 12:09
> Para: dev@royale.apache.org
> Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>
>
>
> Hi all,
>
>
>
>
>
> It seems Carlos reset the version of the compiler and updated the version
> in the asjs module.
>
> So it looks as if that's good (I really hate when things are out of sync
> ;) ).
>
>
>
> Anyways ... I just pushed some chaged to typedef to build the ACE typedef
> module
>
> And updated the asjs module to build the ACE framework module and fine
> tuned the distribution to add the missing swcs (JS and SWF).
>
>
>
> Please try out these changes.
>
>
>
>
>
> Chris
>
>
>
>
>
>
>
> -----Ursprüngliche Nachricht-----
>
> Von: Piotr Zarzycki <piotrzarzycki21@gmail.com<mailto:
> piotrzarzycki21@gmail.com>>
>
> Gesendet: Montag, 22. Februar 2021 12:05
>
> An: Apache Royale Development <dev@royale.apache.org<mailto:
> dev@royale.apache.org>>
>
> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>
>
>
> We are using again compiler 0.9.8-SNAPSHOT yes ?
>
>
>
> pon., 22 lut 2021 o 12:01 Alina Kazi <alinakazi1990@gmail.com<mailto:
> alinakazi1990@gmail.com>> napisał(a):
>
>
>
> > Thanks Chris.
>
> >
>
> > On Mon, Feb 22, 2021 at 3:59 PM Maria Jose Esteve <mjesteve@iest.com
> <ma...@iest.com>>
>
> > wrote:
>
> >
>
> > > Thanks Chris, I'll be listening.
>
> > >
>
> > > Hiedra
>
> > > -----Mensaje original-----
>
> > > De: Christofer Dutz <christofer.dutz@c-ware.de<mailto:
> christofer.dutz@c-ware.de>>
>
> > > Enviado el: lunes, 22 de febrero de 2021 11:52
>
> > > Para: dev@royale.apache.org<ma...@royale.apache.org>
>
> > > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>
> > >
>
> > > Hi all,
>
> > >
>
> > > so I had a look and it seems the distribution was missing a number of
>
> > > libraries, which seem to have been added, since I created the
>
> > distribution
>
> > > in 2016 ... Some modules were added after that, but not all. It seems
> all
>
> > > probelms you are reporting result from some of them missing. I added
> them
>
> > > and now they are correctly added to my distributions. I also compared
>
> > them
>
> > > with the ANT built version ... the last missing piece is the ACE
> module,
>
> > > which was disabled in Maven as the Ace typedef was not a maven module.
> I
>
> > > took the liberty of creating a Maven typedef module for ace and
> re-added
>
> > > the ACE module to the Maven build and to the distribution.
>
> > >
>
> > > I'm currently testing a few things and will commit as soon as I'm happy
>
> > > with my changes.
>
> > >
>
> > >
>
> > > Chris
>
> > >
>
> > >
>
> > > -----Ursprüngliche Nachricht-----
>
> > > Von: Alina Kazi <alinakazi1990@gmail.com<mailto:
> alinakazi1990@gmail.com>>
>
> > > Gesendet: Montag, 22. Februar 2021 11:26
>
> > > An: dev@royale.apache.org<ma...@royale.apache.org>
>
> > > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>
> > >
>
> > > Hi,
>
> > > I am also facing a problem with latest SDK.
>
> > > when I add something new in emulation and re-build SDK. when I
> recompile
>
> > > the application with the latest distribution , error in application
> does
>
> > > not go away that I already fixed in previous commit.
>
> > > It seems that the distribution does not have everything latest that it
>
> > > should have.
>
> > >
>
> > > -Alina
>
> > >
>
> > > On Mon, Feb 22, 2021 at 3:20 PM Maria Jose Esteve <mjesteve@iest.com
> <ma...@iest.com>>
>
> > > wrote:
>
> > >
>
> > > > I can't work either.
>
> > > > With no Maven, Ant combination, always error: "Error <fx: Array> This
>
> > > > tag could not be resolved to an ActionScript class ..."
>
> > > >
>
> > > > Do you know what happens? I am not able to understand or fix this.
>
> > > >
>
> > > > Hiedra.
>
> > > >
>
> > > > -----Mensaje original-----
>
> > > > De: Piotr Zarzycki <piotrzarzycki21@gmail.com<mailto:
> piotrzarzycki21@gmail.com>> Enviado el: lunes, 22
>
> > > > de febrero de 2021 11:03
>
> > > > Para: Apache Royale Development <dev@royale.apache.org<mailto:
> dev@royale.apache.org>>
>
> > > > Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
>
> > > >
>
> > > > Hi Guys,
>
> > > >
>
> > > > I just tried new distribution and I'm able to build simple example.
>
> > > > However our Royale project is not building - I'm getting following
>
> > > > exception:
>
> > > >
>
> > > > : Exception in thread "main" java.lang.NoClassDefFoundError:
>
> > > > org/apache/commons/lang/StringEscapeUtils
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.jx.LiteralEmitter.emit(
>
> > > > LiteralEmitter.java:225)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
>
> > > > emitLiteral(JSRoyaleEmitter.java:1040)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.codegen.as
>
> > > > .ASBlockWalker.visitLiteral(ASBlockWalker.java:479)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .ASNodeSwitch.handle(ASNodeSwitch.java:373)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .ASNodeHandler.handle(ASNodeHandler.java:85)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.codegen.as
>
> > > > .ASBlockWalker.walk(ASBlockWalker.java:159)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.goog.JSGoogEmitter.emit
>
> > > > AssignedValue(JSGoogEmitter.java:965)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitAssignmen
>
> > > > tCoercion(JSEmitter.java:917)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
>
> > > > emitAssignmentCoercion(JSRoyaleEmitter.java:1558)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
>
> > > > sEmitter.emitContents(FunctionCallArgumentsEmitter.java:103)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
>
> > > > sEmitter.emit(FunctionCallArgumentsEmitter.java:50)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
>
> > > > sEmitter.emit(FunctionCallArgumentsEmitter.java:35)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitArguments
>
> > > > (JSEmitter.java:259)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
>
> > > > emitArguments(JSRoyaleEmitter.java:986)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallEmitter.
>
> > > > emit(FunctionCallEmitter.java:693)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
>
> > > > emitFunctionCall(JSRoyaleEmitter.java:906)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.codegen.as
>
> > > > .ASBlockWalker.visitFunctionCall(ASBlockWalker.java:330)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .ASNodeSwitch.handle(ASNodeSwitch.java:207)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .ASNodeHandler.handle(ASNodeHandler.java:85)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.codegen.as
>
> > > > .ASBlockWalker.walk(ASBlockWalker.java:159)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.goog.JSGoogEmitter.emit
>
> > > > AssignedValue(JSGoogEmitter.java:965)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitAssignmen
>
> > > > tCoercion(JSEmitter.java:917)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
>
> > > > emitAssignmentCoercion(JSRoyaleEmitter.java:1558)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.jx.BinaryOperatorEmitte
>
> > > > r.super_emitBinaryOperator(BinaryOperatorEmitter.java:598)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.jx.BinaryOperatorEmitte
>
> > > > r.emit(BinaryOperatorEmitter.java:500)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
>
> > > > emitBinaryOperator(JSRoyaleEmitter.java:1028)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.codegen.as
>
> > > > .ASBlockWalker.visitBinaryOperator(ASBlockWalker.java:538)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .ASNodeSwitch.handle(ASNodeSwitch.java:348)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .ASNodeHandler.handle(ASNodeHandler.java:85)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.codegen.as
>
> > > > .ASBlockWalker.walk(ASBlockWalker.java:159)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.jx.StatementEmitter.emi
>
> > > > t(StatementEmitter.java:40)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.jx.StatementEmitter.emi
>
> > > > t(StatementEmitter.java:29)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitStatement
>
> > > > (JSEmitter.java:349)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
>
> > > > emitStatement(JSRoyaleEmitter.java:1204)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.codegen.as
>
> > > > .ASBlockWalker.visitBlock(ASBlockWalker.java:349)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .ASNodeSwitch.handle(ASNodeSwitch.java:278)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .ASNodeHandler.handle(ASNodeHandler.java:85)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.codegen.as
>
> > > > .ASBlockWalker.walk(ASBlockWalker.java:159)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.as.ASEmitter.emitMethodSco
>
> > > > pe(ASEmitter.java:830)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.jx.MethodEmitter.emit(M
>
> > > > ethodEmitter.java:160)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
>
> > > > emitMethod(JSRoyaleEmitter.java:891)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.codegen.as
>
> > > > .ASBlockWalker.visitFunction(ASBlockWalker.java:290)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .ASNodeSwitch.handle(ASNodeSwitch.java:152)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .ASNodeHandler.handle(ASNodeHandler.java:85)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.codegen.as
>
> > > > .ASBlockWalker.walk(ASBlockWalker.java:159)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmit
>
> > > > ter.emitScripts(MXMLRoyaleEmitter.java:2179)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmit
>
> > > > ter.emitDocument(MXMLRoyaleEmitter.java:899)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleBloc
>
> > > > kWalker.visitDocument(MXMLRoyaleBlockWalker.java:69)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle
>
> > > > (MXMLNodeSwitch.java:89)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(
>
> > > > MXMLBlockWalker.java:156)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleBloc
>
> > > > kWalker.visitFile(MXMLRoyaleBlockWalker.java:61)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle
>
> > > > (MXMLNodeSwitch.java:95)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(
>
> > > > MXMLBlockWalker.java:156)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.visit
>
> > > > CompilationUnit(MXMLBlockWalker.java:187)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.mxml.MXMLWriter.writeTo(MX
>
> > > > MLWriter.java:69)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale
>
> > > > .java:411)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRo
>
> > > > yale.java:259)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoy
>
> > > > ale.java:216)
>
> > > > : at
>
> > > >
> org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:36
>
> > > > 3)
>
> > > > : at
>
> > > >
> org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298
>
> > > > )
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.ja
>
> > > > va:256)
>
> > > > : at
> org.apache.royale.compiler.clients.MXMLJSC.main(MXMLJSC.java:238)
>
> > > > : Caused by: java.lang.ClassNotFoundException:
>
> > > > org.apache.commons.lang.StringEscapeUtils
>
> > > > : at
>
> > > >
>
> > > >
> java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClas
>
> > > > sLoader.java:582)
>
> > > > : at
>
> > > >
>
> > > >
> java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Cl
>
> > > > assLoaders.java:178)
>
> > > > : at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
>
> > > > : ... 67 more
>
> > > >
>
> > > > niedz., 21 lut 2021 o 18:57 Carlos Rovira <carlosrovira@apache.org
> <ma...@apache.org>>
>
> > > > napisał(a):
>
> > > >
>
> > > > > Hi,
>
> > > > >
>
> > > > > I worked today on this and finally could solve the problem. A part
>
> > > > > from Chris changes we need a bit more changes since all was set up
>
> > > > > from the compiler to use the old names. So class paths need to be
>
> > > > changed too there.
>
> > > > > Also Google Closure compiler need to be in jar mode instead of
>
> > > unpacked.
>
> > > > >
>
> > > > > Now I can use CMD (or CTRL) + SHIFT + B and select Debug or Release
>
> > > > > option with Actionscript extension and all goes ok.
>
> > > > > When using CMD+ENTER I think VsCode use the experimental build in
>
> > > > > Josh extension and take the SDK in ROYALE_HOME, and since that's
> the
>
> > > > > one build in the repository with ANT all seems fine, but is not
>
> > > > > using the selected SDK, so the build is not using what you expect.
>
> > > > >
>
> > > > > This is my output now using the Maven Distribution SDK:
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > > *> Executing task in folder TourDeJewel:
>
> > > > >
> /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/b
>
> > > > > in
>
> > > > > /java
>
> > > > > -jar
>
> > > > >
>
> > > > >
> /Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas
>
> > > > > -1
>
> > > > > .6.0/bin/asconfigc.jar --sdk
>
> > > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
> --debug=true
>
> > > > > --project
>
> > > > >
>
> > > > >
> /Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/Tou
>
> > > > > rD
>
> > > > > eJewel/asconfig.json
>
> > > > >
>
> > > > >
> <MXMLJSC+royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale
>
> > > > > -m
>
> > > > >
> aven/frameworks--debug=true+configname=royale--targets=JSRoyale--sou
>
> > > > > rc
>
> > > > >
> e-path+=src/main/resources--source-map=true--html-template=src/main/
>
> > > > > e-path+re
>
> > > > >
> sources/jewel-example-index-template.html--theme=${royalelib}/themes
>
> > > > > /J
>
> > > > >
> ewelTheme/src/main/resources/defaults.css-js-dynamic-access-unknown-
>
> > > > > me mbers=true--src/main/royale/App.mxmlThe
>
> > > > > project 'App' has been successfully compiled.12.80962843
>
> > > > > secondsTerminal will be reused by tasks, press any key to close
> it.*
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > > El sáb, 20 feb 2021 a las 18:16, Christofer Dutz (<
>
> > > > > christofer.dutz@c-ware.de<ma...@c-ware.de>>)
>
> > > > > escribió:
>
> > > > >
>
> > > > > > So I just did a video and posted it to the Royale slack channel
> ...
>
> > > > > >
>
> > > > > > I can't seem to reproduce the error ... perhaps if you check what
>
> > > > > > I'm doing you can tell me if I'm doing something wrong.
>
> > > > > > I did try to rule out that I might have not configured VSCode to
>
> > > > > > use my distribution by intentionally changing the settings to a
>
> > > > > > wrong
>
> > > > location.
>
> > > > > It
>
> > > > > > didn't work then, and when I changed it back to the correct
>
> > > > > > version, I could build again.
>
> > > > > >
>
> > > > > > Chris
>
> > > > > >
>
> > > > > >
>
> > > > > > -----Ursprüngliche Nachricht-----
>
> > > > > > Von: Carlos Rovira <carlosrovira@apache.org<mailto:
> carlosrovira@apache.org>>
>
> > > > > > Gesendet: Samstag, 20. Februar 2021 15:17
>
> > > > > > An: Apache Royale Development <dev@royale.apache.org<mailto:
> dev@royale.apache.org>>
>
> > > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
>
> > > > > > distribution
>
> > > > > >
>
> > > > > > Hi,
>
> > > > > >
>
> > > > > > sorry, yesterday was mostly offline for some personal things.
> Many
>
> > > > > > things happen in this thread.
>
> > > > > > I rebuild all today and check. This is what I can report trying
> to
>
> > > > > > build TDJ with Maven SDK with Chris's changes.
>
> > > > > > Setting my VSCode with AS3&MXML to the Maven SDK just generated:
>
> > > > > >
>
> > > > > > 1.- I can't build with CMD+SHIFT+ENTER, then "Build Debug with
> AS3
>
> > > > > > Extension Tour de Jewel" (as josh said). I get :
>
> > > > > >
>
> > > > > > Executing task in folder TourDeJewel:
>
> > > > > >
>
> > > > >
> /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/b
>
> > > > > in
>
> > > > > /java
>
> > > > > > -jar
>
> > > > > >
>
> > > > > >
>
> > > > >
> /Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas
>
> > > > > -1
>
> > > > > .6.0/bin/asconfigc.jar
>
> > > > > > --sdk /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
>
> > > > > --debug=true
>
> > > > > > --project
>
> > > > > >
>
> > > > >
> /Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/Tou
>
> > > > > rD
>
> > > > > eJewel/asconfig.json
>
> > > > > > <
>
> > > > > >
>
> > > > > > Error: no se ha encontrado o cargado la clase principal
>
> > > > > > org.apache.royale.compiler.clients.MXMLJSC
>
> > > > > > The terminal process
>
> > > > > >
>
> > > > > >
>
> > > > >
> "/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/
>
> > > > > bi
>
> > > > > n/java
>
> > > > > > '-jar',
>
> > > > > >
>
> > > > > >
>
> > > > >
> '/Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgena
>
> > > > > s-
>
> > > > > 1.6.0/bin/asconfigc.jar',
>
> > > > > > '--sdk',
>
> > > > > > '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven',
>
> > > > > > '--debug=true', '--project',
>
> > > > > >
>
> > > > > >
>
> > > > >
>
> > > >
>
> > >
>
> >
> '/Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/TourDeJewel/asconfig.json'"
>
> > > > > > terminated with exit code: 1.
>
> > > > > >
>
> > > > > > Terminal will be reused by tasks, press any key to close it.
>
> > > > > >
>
> > > > > >
>
> > > > > > 2.- I can build with CMD+ENTER. I get:
>
> > > > > >
>
> > > > > > Royale Compiler Shell
>
> > > > > > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
>
> > > > > > --source-path+=src/main/resources --source-map=true
>
> > > > > > --html-template=src/main/resources/
> jewel-example-index-template.ht
>
> > > > > > ml
>
> > > > > >
> --theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults
>
> > > > > > .c ss -js-dynamic-access-unknown-members=true --
>
> > > > > > src/main/royale/App.mxml
>
> > > > > > fcsh: Assigned 1 as the compile target id The project 'App' has
>
> > > > > > been successfully compiled and optimized.
>
> > > > > > Compile status: 0
>
> > > > > > Elapsed time: 26.925719521 seconds Feb 20, 2021 3:10:42 PM
>
> > > > > > com.google.javascript.jscomp.LoggerErrorManager
>
> > > > > > printSummary
>
> > > > > > INFO: 0 error(s), 0 warning(s), 97.8% typed
>
> > > > > > (fcsh)
>
> > > > > >
>
> > > > > > I don't understand fully the differences between one method and
>
> > > > > > the other and why I get different results. I guess know what's
>
> > > > > > happening is needed
>
> > > > > so
>
> > > > > > Chris can do the proper changes. probably there are paths and
>
> > > > > > locations mixed.
>
> > > > > >
>
> > > > > > @Chris, one thing I did in the past was to compare maven
>
> > > > > > distribution
>
> > > > > with
>
> > > > > > ant distribution so both has most of the things in the same
> place.
>
> > > > > > I
>
> > > > > think
>
> > > > > > some files where left in more than one place (like mxmlc).
>
> > > > > >
>
> > > > > > If you could take a look at it, that will for sure fix the issue.
>
> > > > > > You
>
> > > > > have
>
> > > > > > TDJ and the other project to test if that works and now we know
>
> > > > > > that is better to try with CMD+SHIFT+ENTER, then "Build Debug
> with
>
> > > > > > AS3 Extension Tour de Jewel"
>
> > > > > >
>
> > > > > >
>
> > > > > >
>
> > > > > >
>
> > > > > > El vie, 19 feb 2021 a las 18:45, Piotr Zarzycki (<
>
> > > > > > piotrzarzycki21@gmail.com<ma...@gmail.com>>)
>
> > > > > > escribió:
>
> > > > > >
>
> > > > > > > It looks like something bad has happened with my environment. I
>
> > > > > > > changed lately Java settings a bit. You can see what is setup
> in
>
> > > > > > > my
>
> > > > > > stacktrace.
>
> > > > > > >
>
> > > > > > > I will get back to that over the weekend or on Monday.
>
> > > > > > >
>
> > > > > > > On Fri, 19 Feb 2021 at 18:24, Maria Jose Esteve
>
> > > > > > > <mj...@iest.com>>
>
> > > > > > wrote:
>
> > > > > > >
>
> > > > > > > > Hi,
>
> > > > > > > > Piotr, I just tested your distribution with my project and
> the
>
> > > > > > > compilation
>
> > > > > > > > was successful, no errors.
>
> > > > > > > > Running the application seems to be working fine too.
>
> > > > > > > > (I compile the application with mvn)
>
> > > > > > > >
>
> > > > > > > > What do they need me to try now?
>
> > > > > > > >
>
> > > > > > > > Hiedra.
>
> > > > > > > > -----Mensaje original-----
>
> > > > > > > > De: Piotr Zarzycki <piotrzarzycki21@gmail.com<mailto:
> piotrzarzycki21@gmail.com>> Enviado el:
>
> > > > > > > > viernes,
>
> > > > > > > > 19 de febrero de 2021 18:11
>
> > > > > > > > Para: Apache Royale Development <dev@royale.apache.org
> <ma...@royale.apache.org>>
>
> > > > > > > > Asunto: Re: Align Maven IDE distribution with Ant IDE
>
> > > > > > > > distribution
>
> > > > > > > >
>
> > > > > > > > Did you test my distribution ?
>
> > > > > > > >
>
> > > > > > > > pt., 19 lut 2021 o 18:00 Christofer Dutz
>
> > > > > > > > <christofer.dutz@c-ware.de<mailto:christofer.dutz@c-ware.de
> >>
>
> > > > > > > > napisał(a):
>
> > > > > > > >
>
> > > > > > > > > So I did a bit more of testing.
>
> > > > > > > > >
>
> > > > > > > > > So after I had no issues building Carlos' example, I tried
>
> > > > > > > > > the TourDeJewl example.
>
> > > > > > > > > So I opened VSCode in the directory of TDJ example ...
>
> > > > > > > > > created a settings.json with the folowing content:
>
> > > > > > > > >
>
> > > > > > > > > {
>
> > > > > > > > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
>
> > > > > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
>
> > > > > > > > > }
>
> > > > > > > > >
>
> > > > > > > > > Hit STRG+Enter and waited a bit ...
>
> > > > > > > > >
>
> > > > > > > > > Then I opened the output in Chrome and have a fully
>
> > > > > > > > > functioning TDJ application.
>
> > > > > > > > >
>
> > > > > > > > > So I wouldn't consider the build broken.
>
> > > > > > > > >
>
> > > > > > > > > Chris
>
> > > > > > > > >
>
> > > > > > > > >
>
> > > > > > > > >
>
> > > > > > > > > -----Ursprüngliche Nachricht-----
>
> > > > > > > > > Von: Maria Jose Esteve <mjesteve@iest.com<mailto:
> mjesteve@iest.com>>
>
> > > > > > > > > Gesendet: Freitag, 19. Februar 2021 17:51
>
> > > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
>
> > > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
>
> > > > > > > > > distribution
>
> > > > > > > > >
>
> > > > > > > > > Sure, that would be "expected", but like I told you: if I
>
> > > > > > > > > change it to MXRoyaleJS.swc, the app "does nonsense".
>
> > > > > > > > > Maybe something has gotten my way.
>
> > > > > > > > >
>
> > > > > > > > > I will read your messages and see if I can help with
>
> > something.
>
> > > > > > > > >
>
> > > > > > > > > Hiedra.
>
> > > > > > > > > -----Mensaje original-----
>
> > > > > > > > > De: Christofer Dutz <christofer.dutz@c-ware.de<mailto:
> christofer.dutz@c-ware.de>> Enviado el:
>
> > > > > > > > > viernes,
>
> > > > > > > > > 19 de febrero de 2021 14:12
>
> > > > > > > > > Para: dev@royale.apache.org<ma...@royale.apache.org>
>
> > > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
>
> > > > > > > > > distribution
>
> > > > > > > > >
>
> > > > > > > > > Hi Hiedra,
>
> > > > > > > > >
>
> > > > > > > > > well I changed the distribution to make the names like in
>
> > > > > > > > > the ANT distribution yesterday.
>
> > > > > > > > > But you are passing in an argument telling the compiler to
>
> > > > > > > > > use the old format and now it should be the new ...
>
> > > > > > > > >
>
> > > > > > > > > Try:
>
> > > > > > > > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
>
> > > > > > > > > defaults.css; For -compiler.exclude-defaults-css-files =
>
> > > > > > MXRoyaleJS.swc:
>
> > > > > > > > > defaults.css;
>
> > > > > > > > >
>
> > > > > > > > > Instead of your variant.
>
> > > > > > > > >
>
> > > > > > > > > Chris
>
> > > > > > > > >
>
> > > > > > > > >
>
> > > > > > > > > -----Ursprüngliche Nachricht-----
>
> > > > > > > > > Von: Maria Jose Esteve <mjesteve@iest.com<mailto:
> mjesteve@iest.com>>
>
> > > > > > > > > Gesendet: Freitag, 19. Februar 2021 14:08
>
> > > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
>
> > > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
>
> > > > > > > > > distribution
>
> > > > > > > > >
>
> > > > > > > > > Yes, until recently I also compiled only with Maven. Due to
>
> > > > > > > > > the problem with the spark.css I started to do the double
>
> > > > > > > > > compilation of
>
> > > > > > > > MAVEN and ANT.
>
> > > > > > > > >
>
> > > > > > > > > It's funny, now, the swc's are not generated with
>
> > > > > > > > > "xxxx-0.9.8-SNAPSHOT-js.swc" in the distribution BUT if in
>
> > > > > > > > > the pom of my project I change in
> additionalCompilerOptions:
>
> > > > > > > > > -compiler.exclude-defaults-css-files = MXRoyale - $
>
> > > > > > > > > {royale.framework.version} -js.swc: defaults.css; For
>
> > > > > > > > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
>
> > > > > > > > > defaults.css; My application starts to do nonsense (for
>
> > > > > > > > > example the change of selectedContent in my
>
> > > > > > > > > ApplicationMainContent does not display)
>
> > > > > > > > >
>
> > > > > > > > > Chris, thank you.
>
> > > > > > > > > Hiedra
>
> > > > > > > > >
>
> > > > > > > > > -----Mensaje original-----
>
> > > > > > > > > De: Christofer Dutz <christofer.dutz@c-ware.de<mailto:
> christofer.dutz@c-ware.de>> Enviado el:
>
> > > > > > > > > viernes,
>
> > > > > > > > > 19 de febrero de 2021 13:09
>
> > > > > > > > > Para: dev@royale.apache.org<ma...@royale.apache.org>
>
> > > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
>
> > > > > > > > > distribution
>
> > > > > > > > >
>
> > > > > > > > > Hi Hiedra,
>
> > > > > > > > >
>
> > > > > > > > > I have to admit that I've never used VSCode. Every time I
> do
>
> > > > > > > > > any development I usually use one of the JetBrains IDEs.
>
> > > > > > > > > Royale Stuff I do in IntelliJ ... with my "Flexmojos Hack"
>
> > > > > > > > > it can be used quite well. And I always compile with Maven.
>
> > > > > > > > >
>
> > > > > > > > > But thanks for the explanation on why the other path is set
>
> > > > > > > differently.
>
> > > > > > > > >
>
> > > > > > > > > I guess we'll have to wait till some others can tell me
> what
>
> > > > > > > > > needs to be changed.
>
> > > > > > > > >
>
> > > > > > > > > Chris
>
> > > > > > > > >
>
> > > > > > > > >
>
> > > > > > > > > -----Ursprüngliche Nachricht-----
>
> > > > > > > > > Von: Maria Jose Esteve <mjesteve@iest.com<mailto:
> mjesteve@iest.com>>
>
> > > > > > > > > Gesendet: Freitag, 19. Februar 2021 12:48
>
> > > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
>
> > > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
>
> > > > > > > > > distribution
>
> > > > > > > > >
>
> > > > > > > > > Hello Chris,
>
> > > > > > > > > so that I can debug my changes in the SDK I need to set the
>
> > > > > > > > > path of the "as3mxml.sdk.editor" to the asjs directory of
> my
>
> > > > > > > > > fork, for this reason the path of the "
>
> > as3mxml.sdk.framework"
>
> > > > > > > > > points to the directory of the maven distribution and the
>
> > > > "as3mxml.sdk.editor"
>
> > > > > > > > > to
>
> > > > > > > code.
>
> > > > > > > > >
>
> > > > > > > > > ">> I'm not getting any errors from VSCode. But well ... if
>
> > > > > > > > > I hit
>
> > > > > > > > > SHIFT+Enter it starts doing something where if failed prior
>
> > > > > > > > > SHIFT+to my
>
> > > > > > > > > >> changes this morning and is no longer complaining, but
>
> > > > > > > > > >> it's also not
>
> > > > > > > > > doing much (I can't see it create a "bin" directory)"
>
> > > > > > > > >
>
> > > > > > > > > I don't quite understand this ... possibly because of my
>
> > > > > > > > > lack of
>
> > > > > > > > knowledge.
>
> > > > > > > > >
>
> > > > > > > > > I have not tried Carlos's project but this afternoon I will
>
> > > > > > > > > be able to do it and I will be able to give more details.
>
> > > > > > > > >
>
> > > > > > > > > Thx.
>
> > > > > > > > > Hiedra.
>
> > > > > > > > >
>
> > > > > > > > > -----Mensaje original-----
>
> > > > > > > > > De: Christofer Dutz <christofer.dutz@c-ware.de<mailto:
> christofer.dutz@c-ware.de>> Enviado el:
>
> > > > > > > > > viernes,
>
> > > > > > > > > 19 de febrero de 2021 11:51
>
> > > > > > > > > Para: dev@royale.apache.org<ma...@royale.apache.org>
>
> > > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
>
> > > > > > > > > distribution
>
> > > > > > > > >
>
> > > > > > > > > Hi Heidra,
>
> > > > > > > > >
>
> > > > > > > > > I just updated Carlos' example to have the same type of
>
> > > > > > > > > setting (C:\\Temp\\RoyaleSDK is where I have my Maven build
>
> > > > > > > > > generate the
>
> > > > > > SDK):
>
> > > > > > > > >
>
> > > > > > > > > setings.js:
>
> > > > > > > > > {
>
> > > > > > > > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
>
> > > > > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
>
> > > > > > > > > }
>
> > > > > > > > >
>
> > > > > > > > > workspace-code-workspace
>
> > > > > > > > > {
>
> > > > > > > > > "folders": [
>
> > > > > > > > > {
>
> > > > > > > > > "path": ".."
>
> > > > > > > > > }
>
> > > > > > > > > ],
>
> > > > > > > > > "settings": {
>
> > > > > > > > > "as3mxml.sdk.framework":
>
> > "C:\\Temp\\RoyaleSDK",
>
> > > > > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
>
> > > > > > > > > }
>
> > > > > > > > > }
>
> > > > > > > > >
>
> > > > > > > > > I'm not getting any errors from VSCode. But well ... if I
>
> > > > > > > > > hit
>
> > > > > > > > > SHIFT+Enter it starts doing something where if failed prior
>
> > > > > > > > > SHIFT+to my
>
> > > > > > > > > changes this morning and is no longer complaining, but it's
>
> > > > > > > > > also not doing much (I can't see it create a "bin"
>
> > > > > > > > > directory)
>
> > > > > > > > >
>
> > > > > > > > > Chris
>
> > > > > > > > >
>
> > > > > > > > >
>
> > > > > > > > > -----Ursprüngliche Nachricht-----
>
> > > > > > > > > Von: Maria Jose Esteve <mjesteve@iest.com<mailto:
> mjesteve@iest.com>>
>
> > > > > > > > > Gesendet: Freitag, 19. Februar 2021 10:53
>
> > > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
>
> > > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
>
> > > > > > > > > distribution
>
> > > > > > > > >
>
> > > > > > > > > If I don't compile with ANT, the mxml extension in vsCode
>
> > > > > > > > > IDE, it doesn't recognize the valid asjs directory for
>
> > > > > "as3mxml.sdk.editor":
>
> > > > > > > > > ...
>
> > > > > > > > > "settings": {
>
> > > > > > > > > "as3mxml.sdk.framework":
>
> > > > > > > > > "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
>
> > > > > > > > > "as3mxml.sdk.editor":
>
> > > > > > > > > "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs"
>
> > > > > > > > > <-------- [download folder repo royale-asjs]
>
> > > > > > > > > }
>
> > > > > > > > > }
>
> > > > > > > > >
>
> > > > > > > > > The error is:
>
> > > > > > > > > " as3mxml.sdk.editor in settings does not point to a valid
>
> > SDK.
>
> > > > > > > > > Requires..."
>
> > > > > > > > >
>
> > > > > > > > > Thx.
>
> > > > > > > > > Hiedra.
>
> > > > > > > > >
>
> > > > > > > > > -----Mensaje original-----
>
> > > > > > > > > De: Piotr Zarzycki <piotrzarzycki21@gmail.com<mailto:
> piotrzarzycki21@gmail.com>> Enviado el:
>
> > > > > > > > > viernes, 19 de febrero de 2021 10:44
>
> > > > > > > > > Para: Apache Royale Development <dev@royale.apache.org
> <ma...@royale.apache.org>>
>
> > > > > > > > > Asunto: Re: Align Maven IDE distribution with Ant IDE
>
> > > > > > > > > distribution
>
> > > > > > > > >
>
> > > > > > > > > Hi Chris,
>
> > > > > > > > >
>
> > > > > > > > > I just tried your changes and I have same issue. I need to
>
> > > > > > > > > understand what has change enough significantly that it
>
> > > > > > > > > causes compilation fail in such way. It doesn't happen with
>
> > > > > > > > > SDK prepared
>
> > > > > by
>
> > > > > > ANT.
>
> > > > > > > > >
>
> > > > > > > > > Thanks,
>
> > > > > > > > > Piotr
>
> > > > > > > > >
>
> > > > > > > > > pt., 19 lut 2021 o 10:33 Maria Jose Esteve
>
> > > > > > > > > <mj...@iest.com>>
>
> > > > > > > > napisał(a):
>
> > > > > > > > >
>
> > > > > > > > > > @Chris you're right, sorry, I didn't download your last
>
> > > commit.
>
> > > > > > > > > > I'm sorry.
>
> > > > > > > > > > Hiedra.
>
> > > > > > > > > >
>
> > > > > > > > > > -----Mensaje original-----
>
> > > > > > > > > > De: Christofer Dutz <christofer.dutz@c-ware.de<mailto:
> christofer.dutz@c-ware.de>> Enviado
>
> > el:
>
> > > > > > > > > > viernes,
>
> > > > > > > > > > 19 de febrero de 2021 10:17
>
> > > > > > > > > > Para: dev@royale.apache.org<mailto:dev@royale.apache.org
> >
>
> > > > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
>
> > > > > > > > > > distribution
>
> > > > > > > > > >
>
> > > > > > > > > > I'll try to guess what you wanted to say here ...
>
> > > > > > > > > >
>
> > > > > > > > > > But I think these are exactly the changes I comitted a an
>
> > > > > > > > > > hour ago,
>
> > > > > > > > > right?
>
> > > > > > > > > > At least in general I replaced all the references to
> names
>
> > > > > > > > > > with versions to the changed ones.
>
> > > > > > > > > >
>
> > > > > > > > > >
>
> > > > > > > > > > Chris
>
> > > > > > > > > >
>
> > > > > > > > > >
>
> > > > > > > > > >
>
> > > > > > > > > > -----Ursprüngliche Nachricht-----
>
> > > > > > > > > > Von: Maria Jose Esteve <mjesteve@iest.com<mailto:
> mjesteve@iest.com>>
>
> > > > > > > > > > Gesendet: Freitag, 19. Februar 2021 10:01
>
> > > > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
>
> > > > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
>
> > > > > > > > > > distribution
>
> > > > > > > > > >
>
> > > > > > > > > > Hi,
>
> > > > > > > > > > Mi distribución hace referencia en el fichero
>
> > > > > > > > > > "./frameworks/royale-config.xml" a las librerías:
>
> > > > > > > > > >
>
> > > > > > > > > > <js-external-library-path>
>
> > > > > > > > > >
>
> > > > > > > > > >
>
> > > > > >
>
> > <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.
>
> > > > > > > > > > sw
>
> > > > > > > > > > c</path-element>
>
> > > > > > > > > >
>
> > > > > > > > > >
>
> > > > > > > > >
> <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-
>
> > > > > > > > > ty
>
> > > > > > > > > pede
>
> > > > > > > > > fs.s
>
> > > > > > > > > wc</path-element>
>
> > > > > > > > > > </js-external-library-path>
>
> > > > > > > > > >
>
> > > > > > > > > > Las correctas son:
>
> > > > > > > > > >
>
> > > > > > > > > > <js-external-library-path>
>
> > > > > > > > > >
>
> > > > > > > >
>
> > > > > > > >
> <path-element>../js/libs/royale-typedefs-js.swc</path-element>
>
> > > > > > > > > >
>
> > > > > > > >
>
> > > > > > > >
> <path-element>../js/libs/royale-typedefs-gcl.swc</path-element
>
> > > > > > > > >
>
> > > > > > > > > > </js-external-library-path>
>
> > > > > > > > > >
>
> > > > > > > > > > Hiedra
>
> > > > > > > > > >
>
> > > > > > > > > > -----Mensaje original-----
>
> > > > > > > > > > De: Christofer Dutz <christofer.dutz@c-ware.de<mailto:
> christofer.dutz@c-ware.de>> Enviado
>
> > el:
>
> > > > > > > > > > viernes,
>
> > > > > > > > > > 19 de febrero de 2021 9:39
>
> > > > > > > > > > Para: dev@royale.apache.org<mailto:dev@royale.apache.org
> >
>
> > > > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
>
> > > > > > > > > > distribution
>
> > > > > > > > > >
>
> > > > > > > > > > Ok,
>
> > > > > > > > > >
>
> > > > > > > > > > so the config xml files in the distribution were still
>
> > > > > > > > > > pointing to the old names. I updated them all to now
> refer
>
> > > > > > > > > > to
>
> > > > the names.
>
> > > > > > > > > > I tried things in Carlos' demo project, and I'm no-longer
>
> > > > > > > > > > getting the errors, however compilation seems to take for
>
> > > ever.
>
> > > > > > > > > >
>
> > > > > > > > > > Please try out the changes and tell me if there are any
>
> > > > > > > > > > problems with
>
> > > > > > > > > them.
>
> > > > > > > > > >
>
> > > > > > > > > > Chris
>
> > > > > > > > > >
>
> > > > > > > > > > -----Ursprüngliche Nachricht-----
>
> > > > > > > > > > Von: Christofer Dutz <christofer.dutz@c-ware.de<mailto:
> christofer.dutz@c-ware.de>>
>
> > > > > > > > > > Gesendet: Donnerstag, 18. Februar 2021 23:17
>
> > > > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
>
> > > > > > > > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
>
> > > > > > > > > > distribution
>
> > > > > > > > > >
>
> > > > > > > > > > Hi Carlos,
>
> > > > > > > > > >
>
> > > > > > > > > > I'll look into this tomorrow.
>
> > > > > > > > > >
>
> > > > > > > > > > Chris
>
> > > > > > > > > >
>
> > > > > > > > > > -----Ursprüngliche Nachricht-----
>
> > > > > > > > > > Von: Carlos Rovira <carlosrovira@apache.org<mailto:
> carlosrovira@apache.org>>
>
> > > > > > > > > > Gesendet: Donnerstag, 18. Februar 2021 17:49
>
> > > > > > > > > > An: Apache Royale Development <dev@royale.apache.org
> <ma...@royale.apache.org>>
>
> > > > > > > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
>
> > > > > > > > > > distribution
>
> > > > > > > > > >
>
> > > > > > > > > > Hi, I think I talked very quickly, sorry, there seems to
>
> > > > > > > > > > be a
>
> > > > > > > problem.
>
> > > > > > > > > >
>
> > > > > > > > > > @Christofer Dutz <christofer.dutz@c-ware.de<mailto:
> christofer.dutz@c-ware.de>> you can
>
> > > > > > > > > > download this
>
> > > > > > > > > > project:
>
> > > > > > > > > >
>
> > > > > > > > > >
>
> > > > > > > > > >
> https://github.com/apache/royale-asjs/files/6004363/Toggle
>
> > > > > > > > > > Bu
>
> > > > > > > > > > tton
>
> > > > > > > > > > BarI
>
> > > > > > > > > > ss
>
> > > > > > > > > > ue.zip
>
> > > > > > > > > >
>
> > > > > > > > > > Then using VSCode with AS3&MXML and adding the Maven
>
> > > > > distribution.
>
> > > > > > > > > > Then hit CTRL+ENTER and you will get the following fail.
>
> > > > > > > > > > Using ANT distribution is working fine.
>
> > > > > > > > > > Can you take a look?
>
> > > > > > > > > >
>
> > > > > > > > > > Royale Compiler Shell
>
> > > > > > > > > > (fcsh) mxmlc --debug=false +configname=royale
>
> > > > > > > > > > --targets=JSRoyale --source-map=true
>
> > > > > > > > > >
> --html-template=src/html/jewel-example-index-template.html
>
> > > > > > > > > >
>
> > > > > > > > > >
> --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapph
>
> > > > > > > > > > ir
>
> > > > > > > > > > e-Th
>
> > > > > > > > > > eme/
>
> > > > > > > > > > sr
>
> > > > > > > > > > c/main/resources/defaults.css
>
> > > > > > > > > > --source-path+=src
>
> > > > > > > > > >
> --source-path+--library-path+=${royalelib}/js/libs/MXRoyal
>
> > > > > > > > > > --source-path+--library-path+eJ S.sw c
>
> > > > > > > > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>
> > > > > > > > > >
> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaul
>
> > > > > > > > > > ts .css -js-dynamic-access-unknown-members=true --
>
> > > > > > > > > > src/App.mxml
>
> > > > > > > > > > fcsh: Assigned 1 as the compile target id The project
> 'App'
>
> > > > > > > > > > has been successfully compiled and optimized.
>
> > > > > > > > > > Compile status: 0
>
> > > > > > > > > > Elapsed time: 14.211105399 seconds Feb 18, 2021 5:43:40
> PM
>
> > > > > > > > > > com.google.javascript.jscomp.LoggerErrorManager
>
> > > > > > > > > > printSummary
>
> > > > > > > > > > INFO: 0 error(s), 0 warning(s), 96.5% typed
>
> > > > > > > > > > (fcsh) quit
>
> > > > > > > > > > Compiler shell exited with code: 0 Royale Compiler Shell
>
> > > > > > > > > > (fcsh) mxmlc --debug=false +configname=royale
>
> > > > > > > > > > --targets=JSRoyale --source-map=true
>
> > > > > > > > > >
> --html-template=src/html/jewel-example-index-template.html
>
> > > > > > > > > >
>
> > > > > > > > > >
> --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapph
>
> > > > > > > > > > ir
>
> > > > > > > > > > e-Th
>
> > > > > > > > > > eme/
>
> > > > > > > > > > sr
>
> > > > > > > > > > c/main/resources/defaults.css
>
> > > > > > > > > > --source-path+=src
>
> > > > > > > > > >
> --source-path+--library-path+=${royalelib}/js/libs/MXRoyal
>
> > > > > > > > > > --source-path+--library-path+eJ S.sw c
>
> > > > > > > > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>
> > > > > > > > > >
> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaul
>
> > > > > > > > > > ts .css -js-dynamic-access-unknown-members=true --
>
> > > > > > > > > > src/App.mxml
>
> > > > > > > > > > fcsh: Assigned 1 as the compile target id Compile status:
>
> > > > > > > > > > 5 Elapsed
>
> > > > > > > > time:
>
> > > > > > > > > > 0.618407478 seconds
>
> > > > > > > > > >
>
> > > > > > > > > >
>
> > > > > > > > >
>
> > > > > > > >
>
> > > > > > >
>
> > > > > >
>
> > > > >
>
> > > >
>
> > >
>
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
>
> > > > > > > > > > col: 0 Error: unable to open
>
> > > > > > > > > >
>
> > > > > > > > > >
>
> > > > > > > > >
>
> > > > > > > >
>
> > > > > > >
>
> > > > > >
>
> > > > >
>
> > > >
>
> > >
>
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
>
> > > > > > > > > >
>
> > > > > > > > > >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/fr
>
> > > > > > > > > > am
>
> > > > > > > > > > ewor
>
> > > > > > > > > > ks/r
>
> > > > > > > > > > oy
>
> > > > > > > > > > ale-config.xml
>
> > > > > > > > > > (line: 81)
>
> > > > > > > > > >
>
> > > > > > > > > > </js-external-library-path>
>
> > > > > > > > > >
>
> > > > > > > > > >
>
> > > > > > > > > >
>
> > > > > > > > > >
>
> > > > > > > > >
>
> > > > > > > >
>
> > > > > > >
>
> > > > > >
>
> > > > >
>
> > > >
>
> > >
>
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
>
> > > > > > > > > > col: 0 Error: unable to open
>
> > > > > > > > > >
>
> > > > > > > > > >
>
> > > > > > > > >
>
> > > > > > > >
>
> > > > > > >
>
> > > > > >
>
> > > > >
>
> > > >
>
> > >
>
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
>
> > > > > > > > > >
>
> > > > > > > > > >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/fr
>
> > > > > > > > > > am
>
> > > > > > > > > > ewor
>
> > > > > > > > > > ks/r
>
> > > > > > > > > > oy
>
> > > > > > > > > > ale-config.xml
>
> > > > > > > > > > (line: 81)
>
> > > > > > > > > >
>
> > > > > > > > > > </js-external-library-path>
>
> > > > > > > > > > (fcsh)
>
> > > > > > > > > > Quick Compile failed. Errors in compiler output.
>
> > > > > > > > > >
>
> > > > > > > > > > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
>
> > > > > > > > > > (<carlosrovira@apache.org<mailto:carlosrovira@apache.org
> >>)
>
> > > > > > > > > > escribió:
>
> > > > > > > > > >
>
> > > > > > > > > > > Hi,
>
> > > > > > > > > > >
>
> > > > > > > > > > > I rebuilt all from scratch just now and finally the
>
> > > > > > > > > > > distribution too and tried in VSCode and all seems to
>
> > > > > > > > > > > work fine
>
> > > > > > for me.
>
> > > > > > > > > > >
>
> > > > > > > > > > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
>
> > > > > > > > > > > christofer.dutz@c-ware.de<mailto:
> christofer.dutz@c-ware.de>>) escribió:
>
> > > > > > > > > > >
>
> > > > > > > > > > >> Hi Piotr,
>
> > > > > > > > > > >>
>
> > > > > > > > > > >> that class is located in
> lib\external\flex-tool-api.jar
>
> > > > > > > > > > >> At least in my distribution it's there and it contains
>
> > > > > > > > > > >> the
>
> > > > class.
>
> > > > > > > > > > >>
>
> > > > > > > > > > >> How are you calling the build that's failing?
>
> > > > > > > > > > >>
>
> > > > > > > > > > >> Chris
>
> > > > > > > > > > >>
>
> > > > > > > > > > >> -----Ursprüngliche Nachricht-----
>
> > > > > > > > > > >> Von: Piotr Zarzycki <piotrzarzycki21@gmail.com
> <ma...@gmail.com>>
>
> > > > > > > > > > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
>
> > > > > > > > > > >> An: Apache Royale Development <dev@royale.apache.org
> <ma...@royale.apache.org>>
>
> > > > > > > > > > >> Betreff: Re: Align Maven IDE distribution with Ant IDE
>
> > > > > > > > > > >> distribution
>
> > > > > > > > > > >>
>
> > > > > > > > > > >> Chris,
>
> > > > > > > > > > >>
>
> > > > > > > > > > >> I just checked and I'm not able build project anymore
>
> > > > > > > > > > >> using
>
> > > > > > > > > > distribution:
>
> > > > > > > > > > >>
>
> > > > > > > > > > >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
>
> > > > > > > > > > >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
>
> > > > > > > > > > >> -Xms356m -Xmx3000m
>
> > > > > > > > > > >> : Error: Could not find or load main class
>
> > > > > > > > > > >> org.apache.royale.compiler.clients.MXMLJSC
>
> > > > > > > > > > >> : Caused by: java.lang.NoClassDefFoundError:
>
> > > > > > > > > > >> org/apache/flex/tools/FlexTool
>
> > > > > > > > > > >>
>
> > > > > > > > > > >> I'm done for today, so I will answer anything
> tomorrow.
>
> > > > > > > > > > >>
>
> > > > > > > > > > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
>
> > > > > > > > > > >> <christofer.dutz@c-ware.de<mailto:
> christofer.dutz@c-ware.de>>
>
> > > > > > > > > > >> napisał(a):
>
> > > > > > > > > > >>
>
> > > > > > > > > > >> > Ok ...
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >> > so I just pushed another change. Now the
> distribution
>
> > > > > > > > > > >> > should also contain an empty spark.css, just like
> the
>
> > > > > > > > > > >> > Ant
>
> > > > > one.
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >> > Chris
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >> > -----Ursprüngliche Nachricht-----
>
> > > > > > > > > > >> > Von: Christofer Dutz <christofer.dutz@c-ware.de
> <ma...@c-ware.de>>
>
> > > > > > > > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
>
> > > > > > > > > > >> > An: dev@royale.apache.org<mailto:
> dev@royale.apache.org>
>
> > > > > > > > > > >> > Betreff: AW: Align Maven IDE distribution with Ant
>
> > > > > > > > > > >> > IDE distribution
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >> > Ok,
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >> > so that should now be fixed. Leaves the "spark.css"
>
> > > > > > > > > > >> > Having had a look, it seems as if the Ant build
>
> > > > > > > > > > >> > creates an empty
>
> > > > > > > > > > >> spark.css.
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >> > Is this all we need? If yes, then I'll have that in
>
> > > > > > > > > > >> > ther in no
>
> > > > > > > > time.
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >> > Chris
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >> > -----Ursprüngliche Nachricht-----
>
> > > > > > > > > > >> > Von: Piotr Zarzycki <piotrzarzycki21@gmail.com
> <ma...@gmail.com>>
>
> > > > > > > > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
>
> > > > > > > > > > >> > An: Apache Royale Development <
> dev@royale.apache.org<ma...@royale.apache.org>>
>
> > > > > > > > > > >> > Betreff: Re: Align Maven IDE distribution with Ant
>
> > > > > > > > > > >> > IDE distribution
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >> > *(I assume that's in the "frameworks/js/libs"
>
> > > > > > > > > > >> > directory? *
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >> > Yes this is the directory.
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
>
> > > > > > > > > > >> > <christofer.dutz@c-ware.de<mailto:
> christofer.dutz@c-ware.de>>
>
> > > > > > > > > > >> > napisał(a):
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >> > > Hi Piotr,
>
> > > > > > > > > > >> > >
>
> > > > > > > > > > >> > > Ok ... so Ant seems to be adding a "JS" to the end
>
> > > > > > > > > > >> > > of every name (I assume that's in the
>
> > > "frameworks/js/libs"
>
> > > > > > directory?
>
> > > > > > > > > > >> > >
>
> > > > > > > > > > >> > > Also I'll try to find out where the "spark.css"
>
> > > > > > > > > > >> > > should come from
>
> > > > > > > > > ...
>
> > > > > > > > > > >> > > and where it should go to.
>
> > > > > > > > > > >> > >
>
> > > > > > > > > > >> > > Chris
>
> > > > > > > > > > >> > >
>
> > > > > > > > > > >> > >
>
> > > > > > > > > > >> > > -----Ursprüngliche Nachricht-----
>
> > > > > > > > > > >> > > Von: Piotr Zarzycki <piotrzarzycki21@gmail.com
> <ma...@gmail.com>>
>
> > > > > > > > > > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
>
> > > > > > > > > > >> > > An: Apache Royale Development
>
> > > > > > > > > > >> > > <dev@royale.apache.org<mailto:
> dev@royale.apache.org>>
>
> > > > > > > > > > >> > > Betreff: Re: Align Maven IDE distribution with Ant
>
> > > > > > > > > > >> > > IDE distribution
>
> > > > > > > > > > >> > >
>
> > > > > > > > > > >> > > Chris,
>
> > > > > > > > > > >> > >
>
> > > > > > > > > > >> > > Looks better but here is the comparision what I
>
> > > > > > > > > > >> > > have in Ant distribution vs Maven distribution in
>
> > > > > > > > > > >> > > case of
>
> > > > names.
>
> > > > > > > > > > >> > > On the left Ant distribution, on the right Maven.
>
> > > > > > > > > > >> > > It is
>
> > > > > > folder:
>
> > > > > > > > > > >> > > frameworks\js\libs\ [1]
>
> > > > > > > > > > >> > >
>
> > > > > > > > > > >> > > [1] https://ibb.co/W2DzcDb
>
> > > > > > > > > > >> > >
>
> > > > > > > > > > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
>
> > > > > > > > > > >> > > <christofer.dutz@c-ware.de<mailto:
> christofer.dutz@c-ware.de>>
>
> > > > > > > > > > >> > > napisał(a):
>
> > > > > > > > > > >> > >
>
> > > > > > > > > > >> > > > And done ...
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > > Now all elements in the distribution only
> consist
>
> > > > > > > > > > >> > > > of their name and file-ending ... all versions
>
> > > > > > > > > > >> > > > and classifiers have been
>
> > > > > > > > > > removed.
>
> > > > > > > > > > >> > > > Please provide me with feedback on if this
> solves
>
> > > > > > > > > > >> > > > the
>
> > > > > > > issues.
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > > Chris
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > > -----Ursprüngliche Nachricht-----
>
> > > > > > > > > > >> > > > Von: Christofer Dutz <christofer.dutz@c-ware.de
> <ma...@c-ware.de>>
>
> > > > > > > > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
>
> > > > > > > > > > >> > > > An: dev@royale.apache.org<mailto:
> dev@royale.apache.org>
>
> > > > > > > > > > >> > > > Betreff: AW: Align Maven IDE distribution with
>
> > > > > > > > > > >> > > > Ant IDE distribution
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > > I'll probably have a fix for that in a few
>
> > > > > > > > > > >> > > > minuntes
>
> > > > ...
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > > Chris
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > > -----Ursprüngliche Nachricht-----
>
> > > > > > > > > > >> > > > Von: Piotr Zarzycki <piotrzarzycki21@gmail.com
> <ma...@gmail.com>>
>
> > > > > > > > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
>
> > > > > > > > > > >> > > > An: Apache Royale Development
>
> > > > > > > > > > >> > > > <dev@royale.apache.org<mailto:
> dev@royale.apache.org>>
>
> > > > > > > > > > >> > > > Betreff: Re: Align Maven IDE distribution with
>
> > > > > > > > > > >> > > > Ant IDE distribution
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > > Chris,
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > > No it's not about not picking up by IDE at all.
>
> > > > > > > > > > >> > > > Moonshine and VSCode are able to build projects
>
> > > > > > > > > > >> > > > using Maven distribution package! It is about
>
> > > > > > > > > > >> > > > project which are mixed for example when user
>
> > > > > > > > > > >> > > > wanted to use Jewel module + RemoteObject class
>
> > > > > > > > > > >> > > > from MXRoyale module. In that case user need to
>
> > > > > > > > > > >> > > > point explicilty as a compiler options in IDE
>
> > > > > > > > > > >> > > > that he wanted to have SWC included and need to
>
> > > > > > > > > > >> > > > exclude css from that swc to
>
> > > > > > > > > > >> > > avoid problems.
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > > It is happen like that:
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > >
> -js-library-path+=${royalelib}/js/libs/MXRoyaleJS
>
> > > > > > > > > > >> > > > -js-library-path+.s
>
> > > > > > > > > > >> > > > wc
>
> > > > > > > > > > >> > > >
>
> > > > > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
>
> > > > > > > > > > >> > > > cs
>
> > > > > > > > > > >> > > > s
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > > If I would like to use maven distribution user
>
> > > > > > > > > > >> > > > need to know version for that compiler options.
>
> > > > > > > > > > >> > > > It is even more tricky when your swc is called
>
> > > > > > > > > > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > >
>
> > > > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.
>
> > > > > > > > > > >> > > > cs
>
> > > > > > > > > > >> > > > s
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > > Thanks,
>
> > > > > > > > > > >> > > > Piotr
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
>
> > > > > > > > > > >> > > > <christofer.dutz@c-ware.de<mailto:
> christofer.dutz@c-ware.de>>
>
> > > > > > > > > > >> > > > napisał(a):
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > > > Hi Piotr,
>
> > > > > > > > > > >> > > > >
>
> > > > > > > > > > >> > > > > And is really the version-suffix causing it to
>
> > > > > > > > > > >> > > > > not be picked up by the IDEs?
>
> > > > > > > > > > >> > > > >
>
> > > > > > > > > > >> > > > > Chris
>
> > > > > > > > > > >> > > > >
>
> > > > > > > > > > >> > > > > -----Ursprüngliche Nachricht-----
>
> > > > > > > > > > >> > > > > Von: Piotr Zarzycki <
> piotrzarzycki21@gmail.com>
>
> > > > > > > > > > >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
>
> > > > > > > > > > >> > > > > An: dev@royale.apache.org
>
> > > > > > > > > > >> > > > > Betreff: Re: Align Maven IDE distribution with
>
> > > > > > > > > > >> > > > > Ant IDE distribution
>
> > > > > > > > > > >> > > > >
>
> > > > > > > > > > >> > > > > Hi Chris,
>
> > > > > > > > > > >> > > > >
>
> > > > > > > > > > >> > > > > This is the only thing which seems to be a
>
> > > > > > > > > > >> > > > > constant problem
>
> > > > > > > > > > here.
>
> > > > > > > > > > >> > > > > I personally and some users will be much more
>
> > > > > > > > > > >> > > > > happy having that
>
> > > > > > > > > > >> > change.
>
> > > > > > > > > > >> > > > >
>
> > > > > > > > > > >> > > > > Thanks,
>
> > > > > > > > > > >> > > > > Piotr
>
> > > > > > > > > > >> > > > >
>
> > > > > > > > > > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
>
> > > > > > > > > > >> > > > > <ch...@c-ware.de>
>
> > > > > > > > > > >> > > > > wrote:
>
> > > > > > > > > > >> > > > >
>
> > > > > > > > > > >> > > > > > Hi Piotr,
>
> > > > > > > > > > >> > > > > >
>
> > > > > > > > > > >> > > > > > I'd be happy to help with that.
>
> > > > > > > > > > >> > > > > >
>
> > > > > > > > > > >> > > > > > I did simply ask for a list of things that
>
> > > > > > > > > > >> > > > > > need to be changed in order to get things
>
> > > > > > > > > > >> > > > > > working, but never got said list, so I never
>
> > > > > > > > > > >> > > > > > knew what I could do to make the Maven
>
> > > > > > > > > > >> > > > > > distribution match up to the
>
> > > > > > > > > > >> > > > Ant built one.
>
> > > > > > > > > > >> > > > > >
>
> > > > > > > > > > >> > > > > > Chris
>
> > > > > > > > > > >> > > > > >
>
> > > > > > > > > > >> > > > > >
>
> > > > > > > > > > >> > > > > > -----Ursprüngliche Nachricht-----
>
> > > > > > > > > > >> > > > > > Von: Piotr Zarzycki
>
> > > > > > > > > > >> > > > > > <pi...@gmail.com>
>
> > > > > > > > > > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
>
> > > > > > > > > > >> > > > > > An: Apache Royale Development
>
> > > > > > > > > > >> > > > > > <de...@royale.apache.org>
>
> > > > > > > > > > >> > > > > > Betreff: Align Maven IDE distribution with
>
> > > > > > > > > > >> > > > > > Ant IDE distribution
>
> > > > > > > > > > >> > > > > >
>
> > > > > > > > > > >> > > > > > Hi Guys,
>
> > > > > > > > > > >> > > > > >
>
> > > > > > > > > > >> > > > > > It's been couple of times when user
> complains
>
> > > > > > > > > > >> > > > > > that he have problems with using Maven
>
> > > > > > > > > > >> > > > > > distribution vs Ant distribution in IDE in a
>
> > > > > > > > > > >> > > > > > mixed project Jewel + MX/Spark
>
> > > > > > > > etc.
>
> > > > > > > > > > >> > > > > >
>
> > > > > > > > > > >> > > > > > Can we have that resolve once for all and
>
> > > > > > > > > > >> > > > > > adjust Maven distribution folder to produce
>
> > > > > > > > > > >> > > > > > proper names of
>
> > > > > > swcs ?
>
> > > > > > > > > > >> > > > > >
>
> > > > > > > > > > >> > > > > > Currently when I build Maven IDE
> distribution
>
> > > > > > > > > > >> > > > > > I
>
> > > > > have:
>
> > > > > > > > > > >> > > > > >
>
> > > > > > > > > > >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
>
> > > > > > > > > > >> > > > > >
>
> > > > > > > > > > >> > > > > > When I build Ant IDE distribution I have:
>
> > > > > > > > > > >> > > > > >
>
> > > > > > > > > > >> > > > > > MXRoyale-js.swc
>
> > > > > > > > > > >> > > > > >
>
> > > > > > > > > > >> > > > > > Thanks,
>
> > > > > > > > > > >> > > > > > --
>
> > > > > > > > > > >> > > > > >
>
> > > > > > > > > > >> > > > > > Piotr Zarzycki
>
> > > > > > > > > > >> > > > > >
>
> > > > > > > > > > >> > > > > --
>
> > > > > > > > > > >> > > > >
>
> > > > > > > > > > >> > > > > Piotr Zarzycki
>
> > > > > > > > > > >> > > > >
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > > --
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > > Piotr Zarzycki
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > >
>
> > > > > > > > > > >> > >
>
> > > > > > > > > > >> > > --
>
> > > > > > > > > > >> > >
>
> > > > > > > > > > >> > > Piotr Zarzycki
>
> > > > > > > > > > >> > >
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >> > --
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >> > Piotr Zarzycki
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >>
>
> > > > > > > > > > >>
>
> > > > > > > > > > >> --
>
> > > > > > > > > > >>
>
> > > > > > > > > > >> Piotr Zarzycki
>
> > > > > > > > > > >>
>
> > > > > > > > > > >
>
> > > > > > > > > > >
>
> > > > > > > > > > > --
>
> > > > > > > > > > > Carlos Rovira
>
> > > > > > > > > > > Apache Member & Apache Royale PMC *Apache Software
>
> > > > > > > > > > > Foundation* http://about.me/carlosrovira
>
> > > > > > > > > > >
>
> > > > > > > > > > >
>
> > > > > > > > > >
>
> > > > > > > > > > --
>
> > > > > > > > > > Carlos Rovira
>
> > > > > > > > > > Apache Member & Apache Royale PMC *Apache Software
>
> > > > > > > > > > Foundation* http://about.me/carlosrovira
>
> > > > > > > > > >
>
> > > > > > > > >
>
> > > > > > > > >
>
> > > > > > > > > --
>
> > > > > > > > >
>
> > > > > > > > > Piotr Zarzycki
>
> > > > > > > > >
>
> > > > > > > >
>
> > > > > > > >
>
> > > > > > > > --
>
> > > > > > > >
>
> > > > > > > > Piotr Zarzycki
>
> > > > > > > >
>
> > > > > > > --
>
> > > > > > >
>
> > > > > > > Piotr Zarzycki
>
> > > > > > >
>
> > > > > >
>
> > > > > >
>
> > > > > > --
>
> > > > > > Carlos Rovira
>
> > > > > > Apache Member & Apache Royale PMC
>
> > > > > > *Apache Software Foundation*
>
> > > > > > http://about.me/carlosrovira
>
> > > > > >
>
> > > > >
>
> > > > >
>
> > > > > --
>
> > > > > Carlos Rovira
>
> > > > > Apache Member & Apache Royale PMC
>
> > > > > *Apache Software Foundation*
>
> > > > > http://about.me/carlosrovira
>
> > > > >
>
> > > >
>
> > > >
>
> > > > --
>
> > > >
>
> > > > Piotr Zarzycki
>
> > > >
>
> > >
>
> >
>
>
>
>
>
> --
>
>
>
> Piotr Zarzycki
>
--
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira
AW: Align Maven IDE distribution with Ant IDE distribution
Posted by Christofer Dutz <ch...@c-ware.de>.
And it turns out there was a double-inclusion of some libs in the js and swf distribtuion parts, fixed that now.
Now the distribution should look nice, even with enabled "option-with-swf" profile.
Chris
-----Ursprüngliche Nachricht-----
Von: Carlos Rovira <ca...@apache.org>
Gesendet: Montag, 22. Februar 2021 13:17
An: Apache Royale Development <de...@royale.apache.org>
Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
Hi Chris,
many thanks for the effort! I tried and now all seems to work fine for me.
Even the remote object example that was failing yesterday for Jason.
It need a fix that I just committed too.
I think we have now a better and powerful Maven SDK distribution!! :D
El lun, 22 feb 2021 a las 12:50, Christofer Dutz (<ch...@c-ware.de>)
escribió:
> Yeah,
>
> I wanted to build with swf, but unfortunately I setup my new Windows
> laptop this year and couldn't fetch the missing Adobe parts.
> Luckily Carlos sent me the missing files and I managed to fix things
>
> So I commented out the ACE module again, but created a Pull-Request to
> merge some changes in that could possibly fix the missing ACE module
> problem. It would however be cool, if Yishay could have a look at that
> (Seems he created the ACE module)
>
> You should now be good to go ... and sorry for all the noise ;)
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Maria Jose Esteve <mj...@iest.com>
> Gesendet: Montag, 22. Februar 2021 12:44
> An: dev@royale.apache.org
> Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
>
> Without "option-with-swf" it compiles ok, but with "option-with-swf" it
> doesn't. As you have mentioned Ace needs some adjustment [1]
>
> When I manage to compile (without option-with-swf option) I can't compile
> any of my projects, in all I get the same <fx: Array> error
>
> [1]
> [INFO] --- royale-maven-plugin:0.9.8-SNAPSHOT:compile-as
> (default-compile-as) @ Ace ---
> [INFO] Executing COMPC in tool group Royale with args:
> [-load-config=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs\frameworks\projects\Ace\target\compile-swf-config.xml,
> -js-default-initializers=false, -source-map=true,
> -source-map-source-root=/frameworks/projects/Ace/src/main/royale/,
> -js-complex-implicit-coercions=false, -js-vector-index-checks=false,
> -js-resolve-uncertain=false, -compiler.targets=SWF,JSRoyale,
> -compiler.strict-xml=true]
> args:
>
> -load-config=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs\frameworks\projects\Ace\target\compile-swf-config.xml
> -js-default-initializers=false
> -source-map=true
> -source-map-source-root=/frameworks/projects/Ace/src/main/royale/
> -js-complex-implicit-coercions=false
> -js-vector-index-checks=false
> -js-resolve-uncertain=false
> -compiler.targets=SWF,JSRoyale
> -compiler.strict-xml=true
> target:SWF
> target:JSRoyale
> COMPC
> Loading configuration:
> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs\frameworks\projects\Ace\target\compile-swf-config.xml
>
> 0.1429886 seconds
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary for Apache Royale: Framework: Parent 0.9.8-SNAPSHOT:
> [INFO]
> [INFO] Apache Royale: Framework: Parent ................... SUCCESS [
> 3.009 s]
> [INFO] Apache Royale: Framework ........................... SUCCESS [
> 0.303 s]
> [INFO] Apache Royale: Framework: Fonts .................... SUCCESS [
> 2.359 s]
> [INFO] Apache Royale: Framework: Libs ..................... SUCCESS [
> 0.745 s]
> [INFO] Apache Royale: Framework: Libs: Language ........... SUCCESS [
> 2.390 s]
> [INFO] Apache Royale: Framework: Libs: Core ............... SUCCESS [
> 6.662 s]
> [INFO] Apache Royale: Framework: Libs: Binding ............ SUCCESS [
> 1.049 s]
> [INFO] Apache Royale: Framework: Libs: Graphics ........... SUCCESS [
> 2.547 s]
> [INFO] Apache Royale: Framework: Libs: Collections ........ SUCCESS [
> 0.957 s]
> [INFO] Apache Royale: Framework: Libs: Basic .............. SUCCESS [
> 9.811 s]
> [INFO] Apache Royale: Framework: Libs: JQuery ............. SUCCESS [
> 0.732 s]
> [INFO] Apache Royale: Framework: Libs: Ace ................ FAILURE [
> 0.277 s]
> [INFO] Apache Royale: Framework: Libs: Charts ............. SKIPPED
>
> Thx.
> Hiedra.
>
> -----Mensaje original-----
> De: Christofer Dutz <ch...@c-ware.de>
> Enviado el: lunes, 22 de febrero de 2021 12:25
> Para: dev@royale.apache.org
> Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>
> Ok ...
>
> After Carlos kindly provided me with the missing Adobe artifacts I could
> also try the "with-swf" build ... seems the ACE build needs some fixing ...
> I'm on it.
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Maria Jose Esteve <mj...@iest.com>
> Gesendet: Montag, 22. Februar 2021 12:12
> An: dev@royale.apache.org
> Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
>
> Flying 😝
>
>
>
> Hiedra
>
> -----Mensaje original-----
> De: Christofer Dutz <ch...@c-ware.de>
> Enviado el: lunes, 22 de febrero de 2021 12:09
> Para: dev@royale.apache.org
> Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>
>
>
> Hi all,
>
>
>
>
>
> It seems Carlos reset the version of the compiler and updated the version
> in the asjs module.
>
> So it looks as if that's good (I really hate when things are out of sync
> ;) ).
>
>
>
> Anyways ... I just pushed some chaged to typedef to build the ACE typedef
> module
>
> And updated the asjs module to build the ACE framework module and fine
> tuned the distribution to add the missing swcs (JS and SWF).
>
>
>
> Please try out these changes.
>
>
>
>
>
> Chris
>
>
>
>
>
>
>
> -----Ursprüngliche Nachricht-----
>
> Von: Piotr Zarzycki <piotrzarzycki21@gmail.com<mailto:
> piotrzarzycki21@gmail.com>>
>
> Gesendet: Montag, 22. Februar 2021 12:05
>
> An: Apache Royale Development <dev@royale.apache.org<mailto:
> dev@royale.apache.org>>
>
> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>
>
>
> We are using again compiler 0.9.8-SNAPSHOT yes ?
>
>
>
> pon., 22 lut 2021 o 12:01 Alina Kazi <alinakazi1990@gmail.com<mailto:
> alinakazi1990@gmail.com>> napisał(a):
>
>
>
> > Thanks Chris.
>
> >
>
> > On Mon, Feb 22, 2021 at 3:59 PM Maria Jose Esteve <mjesteve@iest.com
> <ma...@iest.com>>
>
> > wrote:
>
> >
>
> > > Thanks Chris, I'll be listening.
>
> > >
>
> > > Hiedra
>
> > > -----Mensaje original-----
>
> > > De: Christofer Dutz <christofer.dutz@c-ware.de<mailto:
> christofer.dutz@c-ware.de>>
>
> > > Enviado el: lunes, 22 de febrero de 2021 11:52
>
> > > Para: dev@royale.apache.org<ma...@royale.apache.org>
>
> > > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>
> > >
>
> > > Hi all,
>
> > >
>
> > > so I had a look and it seems the distribution was missing a number of
>
> > > libraries, which seem to have been added, since I created the
>
> > distribution
>
> > > in 2016 ... Some modules were added after that, but not all. It seems
> all
>
> > > probelms you are reporting result from some of them missing. I added
> them
>
> > > and now they are correctly added to my distributions. I also compared
>
> > them
>
> > > with the ANT built version ... the last missing piece is the ACE
> module,
>
> > > which was disabled in Maven as the Ace typedef was not a maven module.
> I
>
> > > took the liberty of creating a Maven typedef module for ace and
> re-added
>
> > > the ACE module to the Maven build and to the distribution.
>
> > >
>
> > > I'm currently testing a few things and will commit as soon as I'm happy
>
> > > with my changes.
>
> > >
>
> > >
>
> > > Chris
>
> > >
>
> > >
>
> > > -----Ursprüngliche Nachricht-----
>
> > > Von: Alina Kazi <alinakazi1990@gmail.com<mailto:
> alinakazi1990@gmail.com>>
>
> > > Gesendet: Montag, 22. Februar 2021 11:26
>
> > > An: dev@royale.apache.org<ma...@royale.apache.org>
>
> > > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>
> > >
>
> > > Hi,
>
> > > I am also facing a problem with latest SDK.
>
> > > when I add something new in emulation and re-build SDK. when I
> recompile
>
> > > the application with the latest distribution , error in application
> does
>
> > > not go away that I already fixed in previous commit.
>
> > > It seems that the distribution does not have everything latest that it
>
> > > should have.
>
> > >
>
> > > -Alina
>
> > >
>
> > > On Mon, Feb 22, 2021 at 3:20 PM Maria Jose Esteve <mjesteve@iest.com
> <ma...@iest.com>>
>
> > > wrote:
>
> > >
>
> > > > I can't work either.
>
> > > > With no Maven, Ant combination, always error: "Error <fx: Array> This
>
> > > > tag could not be resolved to an ActionScript class ..."
>
> > > >
>
> > > > Do you know what happens? I am not able to understand or fix this.
>
> > > >
>
> > > > Hiedra.
>
> > > >
>
> > > > -----Mensaje original-----
>
> > > > De: Piotr Zarzycki <piotrzarzycki21@gmail.com<mailto:
> piotrzarzycki21@gmail.com>> Enviado el: lunes, 22
>
> > > > de febrero de 2021 11:03
>
> > > > Para: Apache Royale Development <dev@royale.apache.org<mailto:
> dev@royale.apache.org>>
>
> > > > Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
>
> > > >
>
> > > > Hi Guys,
>
> > > >
>
> > > > I just tried new distribution and I'm able to build simple example.
>
> > > > However our Royale project is not building - I'm getting following
>
> > > > exception:
>
> > > >
>
> > > > : Exception in thread "main" java.lang.NoClassDefFoundError:
>
> > > > org/apache/commons/lang/StringEscapeUtils
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.jx.LiteralEmitter.emit(
>
> > > > LiteralEmitter.java:225)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
>
> > > > emitLiteral(JSRoyaleEmitter.java:1040)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.codegen.as
>
> > > > .ASBlockWalker.visitLiteral(ASBlockWalker.java:479)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .ASNodeSwitch.handle(ASNodeSwitch.java:373)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .ASNodeHandler.handle(ASNodeHandler.java:85)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.codegen.as
>
> > > > .ASBlockWalker.walk(ASBlockWalker.java:159)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.goog.JSGoogEmitter.emit
>
> > > > AssignedValue(JSGoogEmitter.java:965)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitAssignmen
>
> > > > tCoercion(JSEmitter.java:917)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
>
> > > > emitAssignmentCoercion(JSRoyaleEmitter.java:1558)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
>
> > > > sEmitter.emitContents(FunctionCallArgumentsEmitter.java:103)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
>
> > > > sEmitter.emit(FunctionCallArgumentsEmitter.java:50)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
>
> > > > sEmitter.emit(FunctionCallArgumentsEmitter.java:35)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitArguments
>
> > > > (JSEmitter.java:259)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
>
> > > > emitArguments(JSRoyaleEmitter.java:986)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallEmitter.
>
> > > > emit(FunctionCallEmitter.java:693)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
>
> > > > emitFunctionCall(JSRoyaleEmitter.java:906)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.codegen.as
>
> > > > .ASBlockWalker.visitFunctionCall(ASBlockWalker.java:330)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .ASNodeSwitch.handle(ASNodeSwitch.java:207)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .ASNodeHandler.handle(ASNodeHandler.java:85)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.codegen.as
>
> > > > .ASBlockWalker.walk(ASBlockWalker.java:159)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.goog.JSGoogEmitter.emit
>
> > > > AssignedValue(JSGoogEmitter.java:965)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitAssignmen
>
> > > > tCoercion(JSEmitter.java:917)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
>
> > > > emitAssignmentCoercion(JSRoyaleEmitter.java:1558)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.jx.BinaryOperatorEmitte
>
> > > > r.super_emitBinaryOperator(BinaryOperatorEmitter.java:598)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.jx.BinaryOperatorEmitte
>
> > > > r.emit(BinaryOperatorEmitter.java:500)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
>
> > > > emitBinaryOperator(JSRoyaleEmitter.java:1028)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.codegen.as
>
> > > > .ASBlockWalker.visitBinaryOperator(ASBlockWalker.java:538)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .ASNodeSwitch.handle(ASNodeSwitch.java:348)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .ASNodeHandler.handle(ASNodeHandler.java:85)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.codegen.as
>
> > > > .ASBlockWalker.walk(ASBlockWalker.java:159)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.jx.StatementEmitter.emi
>
> > > > t(StatementEmitter.java:40)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.jx.StatementEmitter.emi
>
> > > > t(StatementEmitter.java:29)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitStatement
>
> > > > (JSEmitter.java:349)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
>
> > > > emitStatement(JSRoyaleEmitter.java:1204)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.codegen.as
>
> > > > .ASBlockWalker.visitBlock(ASBlockWalker.java:349)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .ASNodeSwitch.handle(ASNodeSwitch.java:278)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .ASNodeHandler.handle(ASNodeHandler.java:85)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.codegen.as
>
> > > > .ASBlockWalker.walk(ASBlockWalker.java:159)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.as.ASEmitter.emitMethodSco
>
> > > > pe(ASEmitter.java:830)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.jx.MethodEmitter.emit(M
>
> > > > ethodEmitter.java:160)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
>
> > > > emitMethod(JSRoyaleEmitter.java:891)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.codegen.as
>
> > > > .ASBlockWalker.visitFunction(ASBlockWalker.java:290)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .ASNodeSwitch.handle(ASNodeSwitch.java:152)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .ASNodeHandler.handle(ASNodeHandler.java:85)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.codegen.as
>
> > > > .ASBlockWalker.walk(ASBlockWalker.java:159)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmit
>
> > > > ter.emitScripts(MXMLRoyaleEmitter.java:2179)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmit
>
> > > > ter.emitDocument(MXMLRoyaleEmitter.java:899)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleBloc
>
> > > > kWalker.visitDocument(MXMLRoyaleBlockWalker.java:69)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle
>
> > > > (MXMLNodeSwitch.java:89)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(
>
> > > > MXMLBlockWalker.java:156)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleBloc
>
> > > > kWalker.visitFile(MXMLRoyaleBlockWalker.java:61)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle
>
> > > > (MXMLNodeSwitch.java:95)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(
>
> > > > MXMLBlockWalker.java:156)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.visit
>
> > > > CompilationUnit(MXMLBlockWalker.java:187)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.mxml.MXMLWriter.writeTo(MX
>
> > > > MLWriter.java:69)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale
>
> > > > .java:411)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRo
>
> > > > yale.java:259)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoy
>
> > > > ale.java:216)
>
> > > > : at
>
> > > >
> org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:36
>
> > > > 3)
>
> > > > : at
>
> > > >
> org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298
>
> > > > )
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.ja
>
> > > > va:256)
>
> > > > : at
> org.apache.royale.compiler.clients.MXMLJSC.main(MXMLJSC.java:238)
>
> > > > : Caused by: java.lang.ClassNotFoundException:
>
> > > > org.apache.commons.lang.StringEscapeUtils
>
> > > > : at
>
> > > >
>
> > > >
> java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClas
>
> > > > sLoader.java:582)
>
> > > > : at
>
> > > >
>
> > > >
> java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Cl
>
> > > > assLoaders.java:178)
>
> > > > : at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
>
> > > > : ... 67 more
>
> > > >
>
> > > > niedz., 21 lut 2021 o 18:57 Carlos Rovira <carlosrovira@apache.org
> <ma...@apache.org>>
>
> > > > napisał(a):
>
> > > >
>
> > > > > Hi,
>
> > > > >
>
> > > > > I worked today on this and finally could solve the problem. A part
>
> > > > > from Chris changes we need a bit more changes since all was set up
>
> > > > > from the compiler to use the old names. So class paths need to be
>
> > > > changed too there.
>
> > > > > Also Google Closure compiler need to be in jar mode instead of
>
> > > unpacked.
>
> > > > >
>
> > > > > Now I can use CMD (or CTRL) + SHIFT + B and select Debug or Release
>
> > > > > option with Actionscript extension and all goes ok.
>
> > > > > When using CMD+ENTER I think VsCode use the experimental build in
>
> > > > > Josh extension and take the SDK in ROYALE_HOME, and since that's
> the
>
> > > > > one build in the repository with ANT all seems fine, but is not
>
> > > > > using the selected SDK, so the build is not using what you expect.
>
> > > > >
>
> > > > > This is my output now using the Maven Distribution SDK:
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > > *> Executing task in folder TourDeJewel:
>
> > > > >
> /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/b
>
> > > > > in
>
> > > > > /java
>
> > > > > -jar
>
> > > > >
>
> > > > >
> /Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas
>
> > > > > -1
>
> > > > > .6.0/bin/asconfigc.jar --sdk
>
> > > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
> --debug=true
>
> > > > > --project
>
> > > > >
>
> > > > >
> /Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/Tou
>
> > > > > rD
>
> > > > > eJewel/asconfig.json
>
> > > > >
>
> > > > >
> <MXMLJSC+royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale
>
> > > > > -m
>
> > > > >
> aven/frameworks--debug=true+configname=royale--targets=JSRoyale--sou
>
> > > > > rc
>
> > > > >
> e-path+=src/main/resources--source-map=true--html-template=src/main/
>
> > > > > e-path+re
>
> > > > >
> sources/jewel-example-index-template.html--theme=${royalelib}/themes
>
> > > > > /J
>
> > > > >
> ewelTheme/src/main/resources/defaults.css-js-dynamic-access-unknown-
>
> > > > > me mbers=true--src/main/royale/App.mxmlThe
>
> > > > > project 'App' has been successfully compiled.12.80962843
>
> > > > > secondsTerminal will be reused by tasks, press any key to close
> it.*
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > > El sáb, 20 feb 2021 a las 18:16, Christofer Dutz (<
>
> > > > > christofer.dutz@c-ware.de<ma...@c-ware.de>>)
>
> > > > > escribió:
>
> > > > >
>
> > > > > > So I just did a video and posted it to the Royale slack channel
> ...
>
> > > > > >
>
> > > > > > I can't seem to reproduce the error ... perhaps if you check what
>
> > > > > > I'm doing you can tell me if I'm doing something wrong.
>
> > > > > > I did try to rule out that I might have not configured VSCode to
>
> > > > > > use my distribution by intentionally changing the settings to a
>
> > > > > > wrong
>
> > > > location.
>
> > > > > It
>
> > > > > > didn't work then, and when I changed it back to the correct
>
> > > > > > version, I could build again.
>
> > > > > >
>
> > > > > > Chris
>
> > > > > >
>
> > > > > >
>
> > > > > > -----Ursprüngliche Nachricht-----
>
> > > > > > Von: Carlos Rovira <carlosrovira@apache.org<mailto:
> carlosrovira@apache.org>>
>
> > > > > > Gesendet: Samstag, 20. Februar 2021 15:17
>
> > > > > > An: Apache Royale Development <dev@royale.apache.org<mailto:
> dev@royale.apache.org>>
>
> > > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
>
> > > > > > distribution
>
> > > > > >
>
> > > > > > Hi,
>
> > > > > >
>
> > > > > > sorry, yesterday was mostly offline for some personal things.
> Many
>
> > > > > > things happen in this thread.
>
> > > > > > I rebuild all today and check. This is what I can report trying
> to
>
> > > > > > build TDJ with Maven SDK with Chris's changes.
>
> > > > > > Setting my VSCode with AS3&MXML to the Maven SDK just generated:
>
> > > > > >
>
> > > > > > 1.- I can't build with CMD+SHIFT+ENTER, then "Build Debug with
> AS3
>
> > > > > > Extension Tour de Jewel" (as josh said). I get :
>
> > > > > >
>
> > > > > > Executing task in folder TourDeJewel:
>
> > > > > >
>
> > > > >
> /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/b
>
> > > > > in
>
> > > > > /java
>
> > > > > > -jar
>
> > > > > >
>
> > > > > >
>
> > > > >
> /Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas
>
> > > > > -1
>
> > > > > .6.0/bin/asconfigc.jar
>
> > > > > > --sdk /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
>
> > > > > --debug=true
>
> > > > > > --project
>
> > > > > >
>
> > > > >
> /Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/Tou
>
> > > > > rD
>
> > > > > eJewel/asconfig.json
>
> > > > > > <
>
> > > > > >
>
> > > > > > Error: no se ha encontrado o cargado la clase principal
>
> > > > > > org.apache.royale.compiler.clients.MXMLJSC
>
> > > > > > The terminal process
>
> > > > > >
>
> > > > > >
>
> > > > >
> "/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/
>
> > > > > bi
>
> > > > > n/java
>
> > > > > > '-jar',
>
> > > > > >
>
> > > > > >
>
> > > > >
> '/Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgena
>
> > > > > s-
>
> > > > > 1.6.0/bin/asconfigc.jar',
>
> > > > > > '--sdk',
>
> > > > > > '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven',
>
> > > > > > '--debug=true', '--project',
>
> > > > > >
>
> > > > > >
>
> > > > >
>
> > > >
>
> > >
>
> >
> '/Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/TourDeJewel/asconfig.json'"
>
> > > > > > terminated with exit code: 1.
>
> > > > > >
>
> > > > > > Terminal will be reused by tasks, press any key to close it.
>
> > > > > >
>
> > > > > >
>
> > > > > > 2.- I can build with CMD+ENTER. I get:
>
> > > > > >
>
> > > > > > Royale Compiler Shell
>
> > > > > > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
>
> > > > > > --source-path+=src/main/resources --source-map=true
>
> > > > > > --html-template=src/main/resources/
> jewel-example-index-template.ht
>
> > > > > > ml
>
> > > > > >
> --theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults
>
> > > > > > .c ss -js-dynamic-access-unknown-members=true --
>
> > > > > > src/main/royale/App.mxml
>
> > > > > > fcsh: Assigned 1 as the compile target id The project 'App' has
>
> > > > > > been successfully compiled and optimized.
>
> > > > > > Compile status: 0
>
> > > > > > Elapsed time: 26.925719521 seconds Feb 20, 2021 3:10:42 PM
>
> > > > > > com.google.javascript.jscomp.LoggerErrorManager
>
> > > > > > printSummary
>
> > > > > > INFO: 0 error(s), 0 warning(s), 97.8% typed
>
> > > > > > (fcsh)
>
> > > > > >
>
> > > > > > I don't understand fully the differences between one method and
>
> > > > > > the other and why I get different results. I guess know what's
>
> > > > > > happening is needed
>
> > > > > so
>
> > > > > > Chris can do the proper changes. probably there are paths and
>
> > > > > > locations mixed.
>
> > > > > >
>
> > > > > > @Chris, one thing I did in the past was to compare maven
>
> > > > > > distribution
>
> > > > > with
>
> > > > > > ant distribution so both has most of the things in the same
> place.
>
> > > > > > I
>
> > > > > think
>
> > > > > > some files where left in more than one place (like mxmlc).
>
> > > > > >
>
> > > > > > If you could take a look at it, that will for sure fix the issue.
>
> > > > > > You
>
> > > > > have
>
> > > > > > TDJ and the other project to test if that works and now we know
>
> > > > > > that is better to try with CMD+SHIFT+ENTER, then "Build Debug
> with
>
> > > > > > AS3 Extension Tour de Jewel"
>
> > > > > >
>
> > > > > >
>
> > > > > >
>
> > > > > >
>
> > > > > > El vie, 19 feb 2021 a las 18:45, Piotr Zarzycki (<
>
> > > > > > piotrzarzycki21@gmail.com<ma...@gmail.com>>)
>
> > > > > > escribió:
>
> > > > > >
>
> > > > > > > It looks like something bad has happened with my environment. I
>
> > > > > > > changed lately Java settings a bit. You can see what is setup
> in
>
> > > > > > > my
>
> > > > > > stacktrace.
>
> > > > > > >
>
> > > > > > > I will get back to that over the weekend or on Monday.
>
> > > > > > >
>
> > > > > > > On Fri, 19 Feb 2021 at 18:24, Maria Jose Esteve
>
> > > > > > > <mj...@iest.com>>
>
> > > > > > wrote:
>
> > > > > > >
>
> > > > > > > > Hi,
>
> > > > > > > > Piotr, I just tested your distribution with my project and
> the
>
> > > > > > > compilation
>
> > > > > > > > was successful, no errors.
>
> > > > > > > > Running the application seems to be working fine too.
>
> > > > > > > > (I compile the application with mvn)
>
> > > > > > > >
>
> > > > > > > > What do they need me to try now?
>
> > > > > > > >
>
> > > > > > > > Hiedra.
>
> > > > > > > > -----Mensaje original-----
>
> > > > > > > > De: Piotr Zarzycki <piotrzarzycki21@gmail.com<mailto:
> piotrzarzycki21@gmail.com>> Enviado el:
>
> > > > > > > > viernes,
>
> > > > > > > > 19 de febrero de 2021 18:11
>
> > > > > > > > Para: Apache Royale Development <dev@royale.apache.org
> <ma...@royale.apache.org>>
>
> > > > > > > > Asunto: Re: Align Maven IDE distribution with Ant IDE
>
> > > > > > > > distribution
>
> > > > > > > >
>
> > > > > > > > Did you test my distribution ?
>
> > > > > > > >
>
> > > > > > > > pt., 19 lut 2021 o 18:00 Christofer Dutz
>
> > > > > > > > <christofer.dutz@c-ware.de<mailto:christofer.dutz@c-ware.de
> >>
>
> > > > > > > > napisał(a):
>
> > > > > > > >
>
> > > > > > > > > So I did a bit more of testing.
>
> > > > > > > > >
>
> > > > > > > > > So after I had no issues building Carlos' example, I tried
>
> > > > > > > > > the TourDeJewl example.
>
> > > > > > > > > So I opened VSCode in the directory of TDJ example ...
>
> > > > > > > > > created a settings.json with the folowing content:
>
> > > > > > > > >
>
> > > > > > > > > {
>
> > > > > > > > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
>
> > > > > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
>
> > > > > > > > > }
>
> > > > > > > > >
>
> > > > > > > > > Hit STRG+Enter and waited a bit ...
>
> > > > > > > > >
>
> > > > > > > > > Then I opened the output in Chrome and have a fully
>
> > > > > > > > > functioning TDJ application.
>
> > > > > > > > >
>
> > > > > > > > > So I wouldn't consider the build broken.
>
> > > > > > > > >
>
> > > > > > > > > Chris
>
> > > > > > > > >
>
> > > > > > > > >
>
> > > > > > > > >
>
> > > > > > > > > -----Ursprüngliche Nachricht-----
>
> > > > > > > > > Von: Maria Jose Esteve <mjesteve@iest.com<mailto:
> mjesteve@iest.com>>
>
> > > > > > > > > Gesendet: Freitag, 19. Februar 2021 17:51
>
> > > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
>
> > > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
>
> > > > > > > > > distribution
>
> > > > > > > > >
>
> > > > > > > > > Sure, that would be "expected", but like I told you: if I
>
> > > > > > > > > change it to MXRoyaleJS.swc, the app "does nonsense".
>
> > > > > > > > > Maybe something has gotten my way.
>
> > > > > > > > >
>
> > > > > > > > > I will read your messages and see if I can help with
>
> > something.
>
> > > > > > > > >
>
> > > > > > > > > Hiedra.
>
> > > > > > > > > -----Mensaje original-----
>
> > > > > > > > > De: Christofer Dutz <christofer.dutz@c-ware.de<mailto:
> christofer.dutz@c-ware.de>> Enviado el:
>
> > > > > > > > > viernes,
>
> > > > > > > > > 19 de febrero de 2021 14:12
>
> > > > > > > > > Para: dev@royale.apache.org<ma...@royale.apache.org>
>
> > > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
>
> > > > > > > > > distribution
>
> > > > > > > > >
>
> > > > > > > > > Hi Hiedra,
>
> > > > > > > > >
>
> > > > > > > > > well I changed the distribution to make the names like in
>
> > > > > > > > > the ANT distribution yesterday.
>
> > > > > > > > > But you are passing in an argument telling the compiler to
>
> > > > > > > > > use the old format and now it should be the new ...
>
> > > > > > > > >
>
> > > > > > > > > Try:
>
> > > > > > > > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
>
> > > > > > > > > defaults.css; For -compiler.exclude-defaults-css-files =
>
> > > > > > MXRoyaleJS.swc:
>
> > > > > > > > > defaults.css;
>
> > > > > > > > >
>
> > > > > > > > > Instead of your variant.
>
> > > > > > > > >
>
> > > > > > > > > Chris
>
> > > > > > > > >
>
> > > > > > > > >
>
> > > > > > > > > -----Ursprüngliche Nachricht-----
>
> > > > > > > > > Von: Maria Jose Esteve <mjesteve@iest.com<mailto:
> mjesteve@iest.com>>
>
> > > > > > > > > Gesendet: Freitag, 19. Februar 2021 14:08
>
> > > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
>
> > > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
>
> > > > > > > > > distribution
>
> > > > > > > > >
>
> > > > > > > > > Yes, until recently I also compiled only with Maven. Due to
>
> > > > > > > > > the problem with the spark.css I started to do the double
>
> > > > > > > > > compilation of
>
> > > > > > > > MAVEN and ANT.
>
> > > > > > > > >
>
> > > > > > > > > It's funny, now, the swc's are not generated with
>
> > > > > > > > > "xxxx-0.9.8-SNAPSHOT-js.swc" in the distribution BUT if in
>
> > > > > > > > > the pom of my project I change in
> additionalCompilerOptions:
>
> > > > > > > > > -compiler.exclude-defaults-css-files = MXRoyale - $
>
> > > > > > > > > {royale.framework.version} -js.swc: defaults.css; For
>
> > > > > > > > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
>
> > > > > > > > > defaults.css; My application starts to do nonsense (for
>
> > > > > > > > > example the change of selectedContent in my
>
> > > > > > > > > ApplicationMainContent does not display)
>
> > > > > > > > >
>
> > > > > > > > > Chris, thank you.
>
> > > > > > > > > Hiedra
>
> > > > > > > > >
>
> > > > > > > > > -----Mensaje original-----
>
> > > > > > > > > De: Christofer Dutz <christofer.dutz@c-ware.de<mailto:
> christofer.dutz@c-ware.de>> Enviado el:
>
> > > > > > > > > viernes,
>
> > > > > > > > > 19 de febrero de 2021 13:09
>
> > > > > > > > > Para: dev@royale.apache.org<ma...@royale.apache.org>
>
> > > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
>
> > > > > > > > > distribution
>
> > > > > > > > >
>
> > > > > > > > > Hi Hiedra,
>
> > > > > > > > >
>
> > > > > > > > > I have to admit that I've never used VSCode. Every time I
> do
>
> > > > > > > > > any development I usually use one of the JetBrains IDEs.
>
> > > > > > > > > Royale Stuff I do in IntelliJ ... with my "Flexmojos Hack"
>
> > > > > > > > > it can be used quite well. And I always compile with Maven.
>
> > > > > > > > >
>
> > > > > > > > > But thanks for the explanation on why the other path is set
>
> > > > > > > differently.
>
> > > > > > > > >
>
> > > > > > > > > I guess we'll have to wait till some others can tell me
> what
>
> > > > > > > > > needs to be changed.
>
> > > > > > > > >
>
> > > > > > > > > Chris
>
> > > > > > > > >
>
> > > > > > > > >
>
> > > > > > > > > -----Ursprüngliche Nachricht-----
>
> > > > > > > > > Von: Maria Jose Esteve <mjesteve@iest.com<mailto:
> mjesteve@iest.com>>
>
> > > > > > > > > Gesendet: Freitag, 19. Februar 2021 12:48
>
> > > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
>
> > > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
>
> > > > > > > > > distribution
>
> > > > > > > > >
>
> > > > > > > > > Hello Chris,
>
> > > > > > > > > so that I can debug my changes in the SDK I need to set the
>
> > > > > > > > > path of the "as3mxml.sdk.editor" to the asjs directory of
> my
>
> > > > > > > > > fork, for this reason the path of the "
>
> > as3mxml.sdk.framework"
>
> > > > > > > > > points to the directory of the maven distribution and the
>
> > > > "as3mxml.sdk.editor"
>
> > > > > > > > > to
>
> > > > > > > code.
>
> > > > > > > > >
>
> > > > > > > > > ">> I'm not getting any errors from VSCode. But well ... if
>
> > > > > > > > > I hit
>
> > > > > > > > > SHIFT+Enter it starts doing something where if failed prior
>
> > > > > > > > > SHIFT+to my
>
> > > > > > > > > >> changes this morning and is no longer complaining, but
>
> > > > > > > > > >> it's also not
>
> > > > > > > > > doing much (I can't see it create a "bin" directory)"
>
> > > > > > > > >
>
> > > > > > > > > I don't quite understand this ... possibly because of my
>
> > > > > > > > > lack of
>
> > > > > > > > knowledge.
>
> > > > > > > > >
>
> > > > > > > > > I have not tried Carlos's project but this afternoon I will
>
> > > > > > > > > be able to do it and I will be able to give more details.
>
> > > > > > > > >
>
> > > > > > > > > Thx.
>
> > > > > > > > > Hiedra.
>
> > > > > > > > >
>
> > > > > > > > > -----Mensaje original-----
>
> > > > > > > > > De: Christofer Dutz <christofer.dutz@c-ware.de<mailto:
> christofer.dutz@c-ware.de>> Enviado el:
>
> > > > > > > > > viernes,
>
> > > > > > > > > 19 de febrero de 2021 11:51
>
> > > > > > > > > Para: dev@royale.apache.org<ma...@royale.apache.org>
>
> > > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
>
> > > > > > > > > distribution
>
> > > > > > > > >
>
> > > > > > > > > Hi Heidra,
>
> > > > > > > > >
>
> > > > > > > > > I just updated Carlos' example to have the same type of
>
> > > > > > > > > setting (C:\\Temp\\RoyaleSDK is where I have my Maven build
>
> > > > > > > > > generate the
>
> > > > > > SDK):
>
> > > > > > > > >
>
> > > > > > > > > setings.js:
>
> > > > > > > > > {
>
> > > > > > > > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
>
> > > > > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
>
> > > > > > > > > }
>
> > > > > > > > >
>
> > > > > > > > > workspace-code-workspace
>
> > > > > > > > > {
>
> > > > > > > > > "folders": [
>
> > > > > > > > > {
>
> > > > > > > > > "path": ".."
>
> > > > > > > > > }
>
> > > > > > > > > ],
>
> > > > > > > > > "settings": {
>
> > > > > > > > > "as3mxml.sdk.framework":
>
> > "C:\\Temp\\RoyaleSDK",
>
> > > > > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
>
> > > > > > > > > }
>
> > > > > > > > > }
>
> > > > > > > > >
>
> > > > > > > > > I'm not getting any errors from VSCode. But well ... if I
>
> > > > > > > > > hit
>
> > > > > > > > > SHIFT+Enter it starts doing something where if failed prior
>
> > > > > > > > > SHIFT+to my
>
> > > > > > > > > changes this morning and is no longer complaining, but it's
>
> > > > > > > > > also not doing much (I can't see it create a "bin"
>
> > > > > > > > > directory)
>
> > > > > > > > >
>
> > > > > > > > > Chris
>
> > > > > > > > >
>
> > > > > > > > >
>
> > > > > > > > > -----Ursprüngliche Nachricht-----
>
> > > > > > > > > Von: Maria Jose Esteve <mjesteve@iest.com<mailto:
> mjesteve@iest.com>>
>
> > > > > > > > > Gesendet: Freitag, 19. Februar 2021 10:53
>
> > > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
>
> > > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
>
> > > > > > > > > distribution
>
> > > > > > > > >
>
> > > > > > > > > If I don't compile with ANT, the mxml extension in vsCode
>
> > > > > > > > > IDE, it doesn't recognize the valid asjs directory for
>
> > > > > "as3mxml.sdk.editor":
>
> > > > > > > > > ...
>
> > > > > > > > > "settings": {
>
> > > > > > > > > "as3mxml.sdk.framework":
>
> > > > > > > > > "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
>
> > > > > > > > > "as3mxml.sdk.editor":
>
> > > > > > > > > "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs"
>
> > > > > > > > > <-------- [download folder repo royale-asjs]
>
> > > > > > > > > }
>
> > > > > > > > > }
>
> > > > > > > > >
>
> > > > > > > > > The error is:
>
> > > > > > > > > " as3mxml.sdk.editor in settings does not point to a valid
>
> > SDK.
>
> > > > > > > > > Requires..."
>
> > > > > > > > >
>
> > > > > > > > > Thx.
>
> > > > > > > > > Hiedra.
>
> > > > > > > > >
>
> > > > > > > > > -----Mensaje original-----
>
> > > > > > > > > De: Piotr Zarzycki <piotrzarzycki21@gmail.com<mailto:
> piotrzarzycki21@gmail.com>> Enviado el:
>
> > > > > > > > > viernes, 19 de febrero de 2021 10:44
>
> > > > > > > > > Para: Apache Royale Development <dev@royale.apache.org
> <ma...@royale.apache.org>>
>
> > > > > > > > > Asunto: Re: Align Maven IDE distribution with Ant IDE
>
> > > > > > > > > distribution
>
> > > > > > > > >
>
> > > > > > > > > Hi Chris,
>
> > > > > > > > >
>
> > > > > > > > > I just tried your changes and I have same issue. I need to
>
> > > > > > > > > understand what has change enough significantly that it
>
> > > > > > > > > causes compilation fail in such way. It doesn't happen with
>
> > > > > > > > > SDK prepared
>
> > > > > by
>
> > > > > > ANT.
>
> > > > > > > > >
>
> > > > > > > > > Thanks,
>
> > > > > > > > > Piotr
>
> > > > > > > > >
>
> > > > > > > > > pt., 19 lut 2021 o 10:33 Maria Jose Esteve
>
> > > > > > > > > <mj...@iest.com>>
>
> > > > > > > > napisał(a):
>
> > > > > > > > >
>
> > > > > > > > > > @Chris you're right, sorry, I didn't download your last
>
> > > commit.
>
> > > > > > > > > > I'm sorry.
>
> > > > > > > > > > Hiedra.
>
> > > > > > > > > >
>
> > > > > > > > > > -----Mensaje original-----
>
> > > > > > > > > > De: Christofer Dutz <christofer.dutz@c-ware.de<mailto:
> christofer.dutz@c-ware.de>> Enviado
>
> > el:
>
> > > > > > > > > > viernes,
>
> > > > > > > > > > 19 de febrero de 2021 10:17
>
> > > > > > > > > > Para: dev@royale.apache.org<mailto:dev@royale.apache.org
> >
>
> > > > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
>
> > > > > > > > > > distribution
>
> > > > > > > > > >
>
> > > > > > > > > > I'll try to guess what you wanted to say here ...
>
> > > > > > > > > >
>
> > > > > > > > > > But I think these are exactly the changes I comitted a an
>
> > > > > > > > > > hour ago,
>
> > > > > > > > > right?
>
> > > > > > > > > > At least in general I replaced all the references to
> names
>
> > > > > > > > > > with versions to the changed ones.
>
> > > > > > > > > >
>
> > > > > > > > > >
>
> > > > > > > > > > Chris
>
> > > > > > > > > >
>
> > > > > > > > > >
>
> > > > > > > > > >
>
> > > > > > > > > > -----Ursprüngliche Nachricht-----
>
> > > > > > > > > > Von: Maria Jose Esteve <mjesteve@iest.com<mailto:
> mjesteve@iest.com>>
>
> > > > > > > > > > Gesendet: Freitag, 19. Februar 2021 10:01
>
> > > > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
>
> > > > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
>
> > > > > > > > > > distribution
>
> > > > > > > > > >
>
> > > > > > > > > > Hi,
>
> > > > > > > > > > Mi distribución hace referencia en el fichero
>
> > > > > > > > > > "./frameworks/royale-config.xml" a las librerías:
>
> > > > > > > > > >
>
> > > > > > > > > > <js-external-library-path>
>
> > > > > > > > > >
>
> > > > > > > > > >
>
> > > > > >
>
> > <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.
>
> > > > > > > > > > sw
>
> > > > > > > > > > c</path-element>
>
> > > > > > > > > >
>
> > > > > > > > > >
>
> > > > > > > > >
> <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-
>
> > > > > > > > > ty
>
> > > > > > > > > pede
>
> > > > > > > > > fs.s
>
> > > > > > > > > wc</path-element>
>
> > > > > > > > > > </js-external-library-path>
>
> > > > > > > > > >
>
> > > > > > > > > > Las correctas son:
>
> > > > > > > > > >
>
> > > > > > > > > > <js-external-library-path>
>
> > > > > > > > > >
>
> > > > > > > >
>
> > > > > > > >
> <path-element>../js/libs/royale-typedefs-js.swc</path-element>
>
> > > > > > > > > >
>
> > > > > > > >
>
> > > > > > > >
> <path-element>../js/libs/royale-typedefs-gcl.swc</path-element
>
> > > > > > > > >
>
> > > > > > > > > > </js-external-library-path>
>
> > > > > > > > > >
>
> > > > > > > > > > Hiedra
>
> > > > > > > > > >
>
> > > > > > > > > > -----Mensaje original-----
>
> > > > > > > > > > De: Christofer Dutz <christofer.dutz@c-ware.de<mailto:
> christofer.dutz@c-ware.de>> Enviado
>
> > el:
>
> > > > > > > > > > viernes,
>
> > > > > > > > > > 19 de febrero de 2021 9:39
>
> > > > > > > > > > Para: dev@royale.apache.org<mailto:dev@royale.apache.org
> >
>
> > > > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
>
> > > > > > > > > > distribution
>
> > > > > > > > > >
>
> > > > > > > > > > Ok,
>
> > > > > > > > > >
>
> > > > > > > > > > so the config xml files in the distribution were still
>
> > > > > > > > > > pointing to the old names. I updated them all to now
> refer
>
> > > > > > > > > > to
>
> > > > the names.
>
> > > > > > > > > > I tried things in Carlos' demo project, and I'm no-longer
>
> > > > > > > > > > getting the errors, however compilation seems to take for
>
> > > ever.
>
> > > > > > > > > >
>
> > > > > > > > > > Please try out the changes and tell me if there are any
>
> > > > > > > > > > problems with
>
> > > > > > > > > them.
>
> > > > > > > > > >
>
> > > > > > > > > > Chris
>
> > > > > > > > > >
>
> > > > > > > > > > -----Ursprüngliche Nachricht-----
>
> > > > > > > > > > Von: Christofer Dutz <christofer.dutz@c-ware.de<mailto:
> christofer.dutz@c-ware.de>>
>
> > > > > > > > > > Gesendet: Donnerstag, 18. Februar 2021 23:17
>
> > > > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
>
> > > > > > > > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
>
> > > > > > > > > > distribution
>
> > > > > > > > > >
>
> > > > > > > > > > Hi Carlos,
>
> > > > > > > > > >
>
> > > > > > > > > > I'll look into this tomorrow.
>
> > > > > > > > > >
>
> > > > > > > > > > Chris
>
> > > > > > > > > >
>
> > > > > > > > > > -----Ursprüngliche Nachricht-----
>
> > > > > > > > > > Von: Carlos Rovira <carlosrovira@apache.org<mailto:
> carlosrovira@apache.org>>
>
> > > > > > > > > > Gesendet: Donnerstag, 18. Februar 2021 17:49
>
> > > > > > > > > > An: Apache Royale Development <dev@royale.apache.org
> <ma...@royale.apache.org>>
>
> > > > > > > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
>
> > > > > > > > > > distribution
>
> > > > > > > > > >
>
> > > > > > > > > > Hi, I think I talked very quickly, sorry, there seems to
>
> > > > > > > > > > be a
>
> > > > > > > problem.
>
> > > > > > > > > >
>
> > > > > > > > > > @Christofer Dutz <christofer.dutz@c-ware.de<mailto:
> christofer.dutz@c-ware.de>> you can
>
> > > > > > > > > > download this
>
> > > > > > > > > > project:
>
> > > > > > > > > >
>
> > > > > > > > > >
>
> > > > > > > > > >
> https://github.com/apache/royale-asjs/files/6004363/Toggle
>
> > > > > > > > > > Bu
>
> > > > > > > > > > tton
>
> > > > > > > > > > BarI
>
> > > > > > > > > > ss
>
> > > > > > > > > > ue.zip
>
> > > > > > > > > >
>
> > > > > > > > > > Then using VSCode with AS3&MXML and adding the Maven
>
> > > > > distribution.
>
> > > > > > > > > > Then hit CTRL+ENTER and you will get the following fail.
>
> > > > > > > > > > Using ANT distribution is working fine.
>
> > > > > > > > > > Can you take a look?
>
> > > > > > > > > >
>
> > > > > > > > > > Royale Compiler Shell
>
> > > > > > > > > > (fcsh) mxmlc --debug=false +configname=royale
>
> > > > > > > > > > --targets=JSRoyale --source-map=true
>
> > > > > > > > > >
> --html-template=src/html/jewel-example-index-template.html
>
> > > > > > > > > >
>
> > > > > > > > > >
> --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapph
>
> > > > > > > > > > ir
>
> > > > > > > > > > e-Th
>
> > > > > > > > > > eme/
>
> > > > > > > > > > sr
>
> > > > > > > > > > c/main/resources/defaults.css
>
> > > > > > > > > > --source-path+=src
>
> > > > > > > > > >
> --source-path+--library-path+=${royalelib}/js/libs/MXRoyal
>
> > > > > > > > > > --source-path+--library-path+eJ S.sw c
>
> > > > > > > > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>
> > > > > > > > > >
> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaul
>
> > > > > > > > > > ts .css -js-dynamic-access-unknown-members=true --
>
> > > > > > > > > > src/App.mxml
>
> > > > > > > > > > fcsh: Assigned 1 as the compile target id The project
> 'App'
>
> > > > > > > > > > has been successfully compiled and optimized.
>
> > > > > > > > > > Compile status: 0
>
> > > > > > > > > > Elapsed time: 14.211105399 seconds Feb 18, 2021 5:43:40
> PM
>
> > > > > > > > > > com.google.javascript.jscomp.LoggerErrorManager
>
> > > > > > > > > > printSummary
>
> > > > > > > > > > INFO: 0 error(s), 0 warning(s), 96.5% typed
>
> > > > > > > > > > (fcsh) quit
>
> > > > > > > > > > Compiler shell exited with code: 0 Royale Compiler Shell
>
> > > > > > > > > > (fcsh) mxmlc --debug=false +configname=royale
>
> > > > > > > > > > --targets=JSRoyale --source-map=true
>
> > > > > > > > > >
> --html-template=src/html/jewel-example-index-template.html
>
> > > > > > > > > >
>
> > > > > > > > > >
> --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapph
>
> > > > > > > > > > ir
>
> > > > > > > > > > e-Th
>
> > > > > > > > > > eme/
>
> > > > > > > > > > sr
>
> > > > > > > > > > c/main/resources/defaults.css
>
> > > > > > > > > > --source-path+=src
>
> > > > > > > > > >
> --source-path+--library-path+=${royalelib}/js/libs/MXRoyal
>
> > > > > > > > > > --source-path+--library-path+eJ S.sw c
>
> > > > > > > > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>
> > > > > > > > > >
> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaul
>
> > > > > > > > > > ts .css -js-dynamic-access-unknown-members=true --
>
> > > > > > > > > > src/App.mxml
>
> > > > > > > > > > fcsh: Assigned 1 as the compile target id Compile status:
>
> > > > > > > > > > 5 Elapsed
>
> > > > > > > > time:
>
> > > > > > > > > > 0.618407478 seconds
>
> > > > > > > > > >
>
> > > > > > > > > >
>
> > > > > > > > >
>
> > > > > > > >
>
> > > > > > >
>
> > > > > >
>
> > > > >
>
> > > >
>
> > >
>
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
>
> > > > > > > > > > col: 0 Error: unable to open
>
> > > > > > > > > >
>
> > > > > > > > > >
>
> > > > > > > > >
>
> > > > > > > >
>
> > > > > > >
>
> > > > > >
>
> > > > >
>
> > > >
>
> > >
>
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
>
> > > > > > > > > >
>
> > > > > > > > > >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/fr
>
> > > > > > > > > > am
>
> > > > > > > > > > ewor
>
> > > > > > > > > > ks/r
>
> > > > > > > > > > oy
>
> > > > > > > > > > ale-config.xml
>
> > > > > > > > > > (line: 81)
>
> > > > > > > > > >
>
> > > > > > > > > > </js-external-library-path>
>
> > > > > > > > > >
>
> > > > > > > > > >
>
> > > > > > > > > >
>
> > > > > > > > > >
>
> > > > > > > > >
>
> > > > > > > >
>
> > > > > > >
>
> > > > > >
>
> > > > >
>
> > > >
>
> > >
>
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
>
> > > > > > > > > > col: 0 Error: unable to open
>
> > > > > > > > > >
>
> > > > > > > > > >
>
> > > > > > > > >
>
> > > > > > > >
>
> > > > > > >
>
> > > > > >
>
> > > > >
>
> > > >
>
> > >
>
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
>
> > > > > > > > > >
>
> > > > > > > > > >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/fr
>
> > > > > > > > > > am
>
> > > > > > > > > > ewor
>
> > > > > > > > > > ks/r
>
> > > > > > > > > > oy
>
> > > > > > > > > > ale-config.xml
>
> > > > > > > > > > (line: 81)
>
> > > > > > > > > >
>
> > > > > > > > > > </js-external-library-path>
>
> > > > > > > > > > (fcsh)
>
> > > > > > > > > > Quick Compile failed. Errors in compiler output.
>
> > > > > > > > > >
>
> > > > > > > > > > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
>
> > > > > > > > > > (<carlosrovira@apache.org<mailto:carlosrovira@apache.org
> >>)
>
> > > > > > > > > > escribió:
>
> > > > > > > > > >
>
> > > > > > > > > > > Hi,
>
> > > > > > > > > > >
>
> > > > > > > > > > > I rebuilt all from scratch just now and finally the
>
> > > > > > > > > > > distribution too and tried in VSCode and all seems to
>
> > > > > > > > > > > work fine
>
> > > > > > for me.
>
> > > > > > > > > > >
>
> > > > > > > > > > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
>
> > > > > > > > > > > christofer.dutz@c-ware.de<mailto:
> christofer.dutz@c-ware.de>>) escribió:
>
> > > > > > > > > > >
>
> > > > > > > > > > >> Hi Piotr,
>
> > > > > > > > > > >>
>
> > > > > > > > > > >> that class is located in
> lib\external\flex-tool-api.jar
>
> > > > > > > > > > >> At least in my distribution it's there and it contains
>
> > > > > > > > > > >> the
>
> > > > class.
>
> > > > > > > > > > >>
>
> > > > > > > > > > >> How are you calling the build that's failing?
>
> > > > > > > > > > >>
>
> > > > > > > > > > >> Chris
>
> > > > > > > > > > >>
>
> > > > > > > > > > >> -----Ursprüngliche Nachricht-----
>
> > > > > > > > > > >> Von: Piotr Zarzycki <piotrzarzycki21@gmail.com
> <ma...@gmail.com>>
>
> > > > > > > > > > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
>
> > > > > > > > > > >> An: Apache Royale Development <dev@royale.apache.org
> <ma...@royale.apache.org>>
>
> > > > > > > > > > >> Betreff: Re: Align Maven IDE distribution with Ant IDE
>
> > > > > > > > > > >> distribution
>
> > > > > > > > > > >>
>
> > > > > > > > > > >> Chris,
>
> > > > > > > > > > >>
>
> > > > > > > > > > >> I just checked and I'm not able build project anymore
>
> > > > > > > > > > >> using
>
> > > > > > > > > > distribution:
>
> > > > > > > > > > >>
>
> > > > > > > > > > >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
>
> > > > > > > > > > >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
>
> > > > > > > > > > >> -Xms356m -Xmx3000m
>
> > > > > > > > > > >> : Error: Could not find or load main class
>
> > > > > > > > > > >> org.apache.royale.compiler.clients.MXMLJSC
>
> > > > > > > > > > >> : Caused by: java.lang.NoClassDefFoundError:
>
> > > > > > > > > > >> org/apache/flex/tools/FlexTool
>
> > > > > > > > > > >>
>
> > > > > > > > > > >> I'm done for today, so I will answer anything
> tomorrow.
>
> > > > > > > > > > >>
>
> > > > > > > > > > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
>
> > > > > > > > > > >> <christofer.dutz@c-ware.de<mailto:
> christofer.dutz@c-ware.de>>
>
> > > > > > > > > > >> napisał(a):
>
> > > > > > > > > > >>
>
> > > > > > > > > > >> > Ok ...
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >> > so I just pushed another change. Now the
> distribution
>
> > > > > > > > > > >> > should also contain an empty spark.css, just like
> the
>
> > > > > > > > > > >> > Ant
>
> > > > > one.
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >> > Chris
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >> > -----Ursprüngliche Nachricht-----
>
> > > > > > > > > > >> > Von: Christofer Dutz <christofer.dutz@c-ware.de
> <ma...@c-ware.de>>
>
> > > > > > > > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
>
> > > > > > > > > > >> > An: dev@royale.apache.org<mailto:
> dev@royale.apache.org>
>
> > > > > > > > > > >> > Betreff: AW: Align Maven IDE distribution with Ant
>
> > > > > > > > > > >> > IDE distribution
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >> > Ok,
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >> > so that should now be fixed. Leaves the "spark.css"
>
> > > > > > > > > > >> > Having had a look, it seems as if the Ant build
>
> > > > > > > > > > >> > creates an empty
>
> > > > > > > > > > >> spark.css.
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >> > Is this all we need? If yes, then I'll have that in
>
> > > > > > > > > > >> > ther in no
>
> > > > > > > > time.
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >> > Chris
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >> > -----Ursprüngliche Nachricht-----
>
> > > > > > > > > > >> > Von: Piotr Zarzycki <piotrzarzycki21@gmail.com
> <ma...@gmail.com>>
>
> > > > > > > > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
>
> > > > > > > > > > >> > An: Apache Royale Development <
> dev@royale.apache.org<ma...@royale.apache.org>>
>
> > > > > > > > > > >> > Betreff: Re: Align Maven IDE distribution with Ant
>
> > > > > > > > > > >> > IDE distribution
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >> > *(I assume that's in the "frameworks/js/libs"
>
> > > > > > > > > > >> > directory? *
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >> > Yes this is the directory.
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
>
> > > > > > > > > > >> > <christofer.dutz@c-ware.de<mailto:
> christofer.dutz@c-ware.de>>
>
> > > > > > > > > > >> > napisał(a):
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >> > > Hi Piotr,
>
> > > > > > > > > > >> > >
>
> > > > > > > > > > >> > > Ok ... so Ant seems to be adding a "JS" to the end
>
> > > > > > > > > > >> > > of every name (I assume that's in the
>
> > > "frameworks/js/libs"
>
> > > > > > directory?
>
> > > > > > > > > > >> > >
>
> > > > > > > > > > >> > > Also I'll try to find out where the "spark.css"
>
> > > > > > > > > > >> > > should come from
>
> > > > > > > > > ...
>
> > > > > > > > > > >> > > and where it should go to.
>
> > > > > > > > > > >> > >
>
> > > > > > > > > > >> > > Chris
>
> > > > > > > > > > >> > >
>
> > > > > > > > > > >> > >
>
> > > > > > > > > > >> > > -----Ursprüngliche Nachricht-----
>
> > > > > > > > > > >> > > Von: Piotr Zarzycki <piotrzarzycki21@gmail.com
> <ma...@gmail.com>>
>
> > > > > > > > > > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
>
> > > > > > > > > > >> > > An: Apache Royale Development
>
> > > > > > > > > > >> > > <dev@royale.apache.org<mailto:
> dev@royale.apache.org>>
>
> > > > > > > > > > >> > > Betreff: Re: Align Maven IDE distribution with Ant
>
> > > > > > > > > > >> > > IDE distribution
>
> > > > > > > > > > >> > >
>
> > > > > > > > > > >> > > Chris,
>
> > > > > > > > > > >> > >
>
> > > > > > > > > > >> > > Looks better but here is the comparision what I
>
> > > > > > > > > > >> > > have in Ant distribution vs Maven distribution in
>
> > > > > > > > > > >> > > case of
>
> > > > names.
>
> > > > > > > > > > >> > > On the left Ant distribution, on the right Maven.
>
> > > > > > > > > > >> > > It is
>
> > > > > > folder:
>
> > > > > > > > > > >> > > frameworks\js\libs\ [1]
>
> > > > > > > > > > >> > >
>
> > > > > > > > > > >> > > [1] https://ibb.co/W2DzcDb
>
> > > > > > > > > > >> > >
>
> > > > > > > > > > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
>
> > > > > > > > > > >> > > <christofer.dutz@c-ware.de<mailto:
> christofer.dutz@c-ware.de>>
>
> > > > > > > > > > >> > > napisał(a):
>
> > > > > > > > > > >> > >
>
> > > > > > > > > > >> > > > And done ...
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > > Now all elements in the distribution only
> consist
>
> > > > > > > > > > >> > > > of their name and file-ending ... all versions
>
> > > > > > > > > > >> > > > and classifiers have been
>
> > > > > > > > > > removed.
>
> > > > > > > > > > >> > > > Please provide me with feedback on if this
> solves
>
> > > > > > > > > > >> > > > the
>
> > > > > > > issues.
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > > Chris
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > > -----Ursprüngliche Nachricht-----
>
> > > > > > > > > > >> > > > Von: Christofer Dutz <christofer.dutz@c-ware.de
> <ma...@c-ware.de>>
>
> > > > > > > > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
>
> > > > > > > > > > >> > > > An: dev@royale.apache.org<mailto:
> dev@royale.apache.org>
>
> > > > > > > > > > >> > > > Betreff: AW: Align Maven IDE distribution with
>
> > > > > > > > > > >> > > > Ant IDE distribution
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > > I'll probably have a fix for that in a few
>
> > > > > > > > > > >> > > > minuntes
>
> > > > ...
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > > Chris
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > > -----Ursprüngliche Nachricht-----
>
> > > > > > > > > > >> > > > Von: Piotr Zarzycki <piotrzarzycki21@gmail.com
> <ma...@gmail.com>>
>
> > > > > > > > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
>
> > > > > > > > > > >> > > > An: Apache Royale Development
>
> > > > > > > > > > >> > > > <dev@royale.apache.org<mailto:
> dev@royale.apache.org>>
>
> > > > > > > > > > >> > > > Betreff: Re: Align Maven IDE distribution with
>
> > > > > > > > > > >> > > > Ant IDE distribution
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > > Chris,
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > > No it's not about not picking up by IDE at all.
>
> > > > > > > > > > >> > > > Moonshine and VSCode are able to build projects
>
> > > > > > > > > > >> > > > using Maven distribution package! It is about
>
> > > > > > > > > > >> > > > project which are mixed for example when user
>
> > > > > > > > > > >> > > > wanted to use Jewel module + RemoteObject class
>
> > > > > > > > > > >> > > > from MXRoyale module. In that case user need to
>
> > > > > > > > > > >> > > > point explicilty as a compiler options in IDE
>
> > > > > > > > > > >> > > > that he wanted to have SWC included and need to
>
> > > > > > > > > > >> > > > exclude css from that swc to
>
> > > > > > > > > > >> > > avoid problems.
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > > It is happen like that:
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > >
> -js-library-path+=${royalelib}/js/libs/MXRoyaleJS
>
> > > > > > > > > > >> > > > -js-library-path+.s
>
> > > > > > > > > > >> > > > wc
>
> > > > > > > > > > >> > > >
>
> > > > > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
>
> > > > > > > > > > >> > > > cs
>
> > > > > > > > > > >> > > > s
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > > If I would like to use maven distribution user
>
> > > > > > > > > > >> > > > need to know version for that compiler options.
>
> > > > > > > > > > >> > > > It is even more tricky when your swc is called
>
> > > > > > > > > > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > >
>
> > > > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.
>
> > > > > > > > > > >> > > > cs
>
> > > > > > > > > > >> > > > s
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > > Thanks,
>
> > > > > > > > > > >> > > > Piotr
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
>
> > > > > > > > > > >> > > > <christofer.dutz@c-ware.de<mailto:
> christofer.dutz@c-ware.de>>
>
> > > > > > > > > > >> > > > napisał(a):
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > > > Hi Piotr,
>
> > > > > > > > > > >> > > > >
>
> > > > > > > > > > >> > > > > And is really the version-suffix causing it to
>
> > > > > > > > > > >> > > > > not be picked up by the IDEs?
>
> > > > > > > > > > >> > > > >
>
> > > > > > > > > > >> > > > > Chris
>
> > > > > > > > > > >> > > > >
>
> > > > > > > > > > >> > > > > -----Ursprüngliche Nachricht-----
>
> > > > > > > > > > >> > > > > Von: Piotr Zarzycki <
> piotrzarzycki21@gmail.com>
>
> > > > > > > > > > >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
>
> > > > > > > > > > >> > > > > An: dev@royale.apache.org
>
> > > > > > > > > > >> > > > > Betreff: Re: Align Maven IDE distribution with
>
> > > > > > > > > > >> > > > > Ant IDE distribution
>
> > > > > > > > > > >> > > > >
>
> > > > > > > > > > >> > > > > Hi Chris,
>
> > > > > > > > > > >> > > > >
>
> > > > > > > > > > >> > > > > This is the only thing which seems to be a
>
> > > > > > > > > > >> > > > > constant problem
>
> > > > > > > > > > here.
>
> > > > > > > > > > >> > > > > I personally and some users will be much more
>
> > > > > > > > > > >> > > > > happy having that
>
> > > > > > > > > > >> > change.
>
> > > > > > > > > > >> > > > >
>
> > > > > > > > > > >> > > > > Thanks,
>
> > > > > > > > > > >> > > > > Piotr
>
> > > > > > > > > > >> > > > >
>
> > > > > > > > > > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
>
> > > > > > > > > > >> > > > > <ch...@c-ware.de>
>
> > > > > > > > > > >> > > > > wrote:
>
> > > > > > > > > > >> > > > >
>
> > > > > > > > > > >> > > > > > Hi Piotr,
>
> > > > > > > > > > >> > > > > >
>
> > > > > > > > > > >> > > > > > I'd be happy to help with that.
>
> > > > > > > > > > >> > > > > >
>
> > > > > > > > > > >> > > > > > I did simply ask for a list of things that
>
> > > > > > > > > > >> > > > > > need to be changed in order to get things
>
> > > > > > > > > > >> > > > > > working, but never got said list, so I never
>
> > > > > > > > > > >> > > > > > knew what I could do to make the Maven
>
> > > > > > > > > > >> > > > > > distribution match up to the
>
> > > > > > > > > > >> > > > Ant built one.
>
> > > > > > > > > > >> > > > > >
>
> > > > > > > > > > >> > > > > > Chris
>
> > > > > > > > > > >> > > > > >
>
> > > > > > > > > > >> > > > > >
>
> > > > > > > > > > >> > > > > > -----Ursprüngliche Nachricht-----
>
> > > > > > > > > > >> > > > > > Von: Piotr Zarzycki
>
> > > > > > > > > > >> > > > > > <pi...@gmail.com>
>
> > > > > > > > > > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
>
> > > > > > > > > > >> > > > > > An: Apache Royale Development
>
> > > > > > > > > > >> > > > > > <de...@royale.apache.org>
>
> > > > > > > > > > >> > > > > > Betreff: Align Maven IDE distribution with
>
> > > > > > > > > > >> > > > > > Ant IDE distribution
>
> > > > > > > > > > >> > > > > >
>
> > > > > > > > > > >> > > > > > Hi Guys,
>
> > > > > > > > > > >> > > > > >
>
> > > > > > > > > > >> > > > > > It's been couple of times when user
> complains
>
> > > > > > > > > > >> > > > > > that he have problems with using Maven
>
> > > > > > > > > > >> > > > > > distribution vs Ant distribution in IDE in a
>
> > > > > > > > > > >> > > > > > mixed project Jewel + MX/Spark
>
> > > > > > > > etc.
>
> > > > > > > > > > >> > > > > >
>
> > > > > > > > > > >> > > > > > Can we have that resolve once for all and
>
> > > > > > > > > > >> > > > > > adjust Maven distribution folder to produce
>
> > > > > > > > > > >> > > > > > proper names of
>
> > > > > > swcs ?
>
> > > > > > > > > > >> > > > > >
>
> > > > > > > > > > >> > > > > > Currently when I build Maven IDE
> distribution
>
> > > > > > > > > > >> > > > > > I
>
> > > > > have:
>
> > > > > > > > > > >> > > > > >
>
> > > > > > > > > > >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
>
> > > > > > > > > > >> > > > > >
>
> > > > > > > > > > >> > > > > > When I build Ant IDE distribution I have:
>
> > > > > > > > > > >> > > > > >
>
> > > > > > > > > > >> > > > > > MXRoyale-js.swc
>
> > > > > > > > > > >> > > > > >
>
> > > > > > > > > > >> > > > > > Thanks,
>
> > > > > > > > > > >> > > > > > --
>
> > > > > > > > > > >> > > > > >
>
> > > > > > > > > > >> > > > > > Piotr Zarzycki
>
> > > > > > > > > > >> > > > > >
>
> > > > > > > > > > >> > > > > --
>
> > > > > > > > > > >> > > > >
>
> > > > > > > > > > >> > > > > Piotr Zarzycki
>
> > > > > > > > > > >> > > > >
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > > --
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > > Piotr Zarzycki
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > >
>
> > > > > > > > > > >> > >
>
> > > > > > > > > > >> > > --
>
> > > > > > > > > > >> > >
>
> > > > > > > > > > >> > > Piotr Zarzycki
>
> > > > > > > > > > >> > >
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >> > --
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >> > Piotr Zarzycki
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >>
>
> > > > > > > > > > >>
>
> > > > > > > > > > >> --
>
> > > > > > > > > > >>
>
> > > > > > > > > > >> Piotr Zarzycki
>
> > > > > > > > > > >>
>
> > > > > > > > > > >
>
> > > > > > > > > > >
>
> > > > > > > > > > > --
>
> > > > > > > > > > > Carlos Rovira
>
> > > > > > > > > > > Apache Member & Apache Royale PMC *Apache Software
>
> > > > > > > > > > > Foundation* http://about.me/carlosrovira
>
> > > > > > > > > > >
>
> > > > > > > > > > >
>
> > > > > > > > > >
>
> > > > > > > > > > --
>
> > > > > > > > > > Carlos Rovira
>
> > > > > > > > > > Apache Member & Apache Royale PMC *Apache Software
>
> > > > > > > > > > Foundation* http://about.me/carlosrovira
>
> > > > > > > > > >
>
> > > > > > > > >
>
> > > > > > > > >
>
> > > > > > > > > --
>
> > > > > > > > >
>
> > > > > > > > > Piotr Zarzycki
>
> > > > > > > > >
>
> > > > > > > >
>
> > > > > > > >
>
> > > > > > > > --
>
> > > > > > > >
>
> > > > > > > > Piotr Zarzycki
>
> > > > > > > >
>
> > > > > > > --
>
> > > > > > >
>
> > > > > > > Piotr Zarzycki
>
> > > > > > >
>
> > > > > >
>
> > > > > >
>
> > > > > > --
>
> > > > > > Carlos Rovira
>
> > > > > > Apache Member & Apache Royale PMC
>
> > > > > > *Apache Software Foundation*
>
> > > > > > http://about.me/carlosrovira
>
> > > > > >
>
> > > > >
>
> > > > >
>
> > > > > --
>
> > > > > Carlos Rovira
>
> > > > > Apache Member & Apache Royale PMC
>
> > > > > *Apache Software Foundation*
>
> > > > > http://about.me/carlosrovira
>
> > > > >
>
> > > >
>
> > > >
>
> > > > --
>
> > > >
>
> > > > Piotr Zarzycki
>
> > > >
>
> > >
>
> >
>
>
>
>
>
> --
>
>
>
> Piotr Zarzycki
>
--
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira
Re: Align Maven IDE distribution with Ant IDE distribution
Posted by Carlos Rovira <ca...@apache.org>.
Hi Chris,
many thanks for the effort! I tried and now all seems to work fine for me.
Even the remote object example that was failing yesterday for Jason.
It need a fix that I just committed too.
I think we have now a better and powerful Maven SDK distribution!! :D
El lun, 22 feb 2021 a las 12:50, Christofer Dutz (<ch...@c-ware.de>)
escribió:
> Yeah,
>
> I wanted to build with swf, but unfortunately I setup my new Windows
> laptop this year and couldn't fetch the missing Adobe parts.
> Luckily Carlos sent me the missing files and I managed to fix things
>
> So I commented out the ACE module again, but created a Pull-Request to
> merge some changes in that could possibly fix the missing ACE module
> problem. It would however be cool, if Yishay could have a look at that
> (Seems he created the ACE module)
>
> You should now be good to go ... and sorry for all the noise ;)
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Maria Jose Esteve <mj...@iest.com>
> Gesendet: Montag, 22. Februar 2021 12:44
> An: dev@royale.apache.org
> Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
>
> Without "option-with-swf" it compiles ok, but with "option-with-swf" it
> doesn't. As you have mentioned Ace needs some adjustment [1]
>
> When I manage to compile (without option-with-swf option) I can't compile
> any of my projects, in all I get the same <fx: Array> error
>
> [1]
> [INFO] --- royale-maven-plugin:0.9.8-SNAPSHOT:compile-as
> (default-compile-as) @ Ace ---
> [INFO] Executing COMPC in tool group Royale with args:
> [-load-config=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs\frameworks\projects\Ace\target\compile-swf-config.xml,
> -js-default-initializers=false, -source-map=true,
> -source-map-source-root=/frameworks/projects/Ace/src/main/royale/,
> -js-complex-implicit-coercions=false, -js-vector-index-checks=false,
> -js-resolve-uncertain=false, -compiler.targets=SWF,JSRoyale,
> -compiler.strict-xml=true]
> args:
>
> -load-config=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs\frameworks\projects\Ace\target\compile-swf-config.xml
> -js-default-initializers=false
> -source-map=true
> -source-map-source-root=/frameworks/projects/Ace/src/main/royale/
> -js-complex-implicit-coercions=false
> -js-vector-index-checks=false
> -js-resolve-uncertain=false
> -compiler.targets=SWF,JSRoyale
> -compiler.strict-xml=true
> target:SWF
> target:JSRoyale
> COMPC
> Loading configuration:
> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs\frameworks\projects\Ace\target\compile-swf-config.xml
>
> 0.1429886 seconds
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary for Apache Royale: Framework: Parent 0.9.8-SNAPSHOT:
> [INFO]
> [INFO] Apache Royale: Framework: Parent ................... SUCCESS [
> 3.009 s]
> [INFO] Apache Royale: Framework ........................... SUCCESS [
> 0.303 s]
> [INFO] Apache Royale: Framework: Fonts .................... SUCCESS [
> 2.359 s]
> [INFO] Apache Royale: Framework: Libs ..................... SUCCESS [
> 0.745 s]
> [INFO] Apache Royale: Framework: Libs: Language ........... SUCCESS [
> 2.390 s]
> [INFO] Apache Royale: Framework: Libs: Core ............... SUCCESS [
> 6.662 s]
> [INFO] Apache Royale: Framework: Libs: Binding ............ SUCCESS [
> 1.049 s]
> [INFO] Apache Royale: Framework: Libs: Graphics ........... SUCCESS [
> 2.547 s]
> [INFO] Apache Royale: Framework: Libs: Collections ........ SUCCESS [
> 0.957 s]
> [INFO] Apache Royale: Framework: Libs: Basic .............. SUCCESS [
> 9.811 s]
> [INFO] Apache Royale: Framework: Libs: JQuery ............. SUCCESS [
> 0.732 s]
> [INFO] Apache Royale: Framework: Libs: Ace ................ FAILURE [
> 0.277 s]
> [INFO] Apache Royale: Framework: Libs: Charts ............. SKIPPED
>
> Thx.
> Hiedra.
>
> -----Mensaje original-----
> De: Christofer Dutz <ch...@c-ware.de>
> Enviado el: lunes, 22 de febrero de 2021 12:25
> Para: dev@royale.apache.org
> Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>
> Ok ...
>
> After Carlos kindly provided me with the missing Adobe artifacts I could
> also try the "with-swf" build ... seems the ACE build needs some fixing ...
> I'm on it.
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Maria Jose Esteve <mj...@iest.com>
> Gesendet: Montag, 22. Februar 2021 12:12
> An: dev@royale.apache.org
> Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
>
> Flying 😝
>
>
>
> Hiedra
>
> -----Mensaje original-----
> De: Christofer Dutz <ch...@c-ware.de>
> Enviado el: lunes, 22 de febrero de 2021 12:09
> Para: dev@royale.apache.org
> Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>
>
>
> Hi all,
>
>
>
>
>
> It seems Carlos reset the version of the compiler and updated the version
> in the asjs module.
>
> So it looks as if that's good (I really hate when things are out of sync
> ;) ).
>
>
>
> Anyways ... I just pushed some chaged to typedef to build the ACE typedef
> module
>
> And updated the asjs module to build the ACE framework module and fine
> tuned the distribution to add the missing swcs (JS and SWF).
>
>
>
> Please try out these changes.
>
>
>
>
>
> Chris
>
>
>
>
>
>
>
> -----Ursprüngliche Nachricht-----
>
> Von: Piotr Zarzycki <piotrzarzycki21@gmail.com<mailto:
> piotrzarzycki21@gmail.com>>
>
> Gesendet: Montag, 22. Februar 2021 12:05
>
> An: Apache Royale Development <dev@royale.apache.org<mailto:
> dev@royale.apache.org>>
>
> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>
>
>
> We are using again compiler 0.9.8-SNAPSHOT yes ?
>
>
>
> pon., 22 lut 2021 o 12:01 Alina Kazi <alinakazi1990@gmail.com<mailto:
> alinakazi1990@gmail.com>> napisał(a):
>
>
>
> > Thanks Chris.
>
> >
>
> > On Mon, Feb 22, 2021 at 3:59 PM Maria Jose Esteve <mjesteve@iest.com
> <ma...@iest.com>>
>
> > wrote:
>
> >
>
> > > Thanks Chris, I'll be listening.
>
> > >
>
> > > Hiedra
>
> > > -----Mensaje original-----
>
> > > De: Christofer Dutz <christofer.dutz@c-ware.de<mailto:
> christofer.dutz@c-ware.de>>
>
> > > Enviado el: lunes, 22 de febrero de 2021 11:52
>
> > > Para: dev@royale.apache.org<ma...@royale.apache.org>
>
> > > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>
> > >
>
> > > Hi all,
>
> > >
>
> > > so I had a look and it seems the distribution was missing a number of
>
> > > libraries, which seem to have been added, since I created the
>
> > distribution
>
> > > in 2016 ... Some modules were added after that, but not all. It seems
> all
>
> > > probelms you are reporting result from some of them missing. I added
> them
>
> > > and now they are correctly added to my distributions. I also compared
>
> > them
>
> > > with the ANT built version ... the last missing piece is the ACE
> module,
>
> > > which was disabled in Maven as the Ace typedef was not a maven module.
> I
>
> > > took the liberty of creating a Maven typedef module for ace and
> re-added
>
> > > the ACE module to the Maven build and to the distribution.
>
> > >
>
> > > I'm currently testing a few things and will commit as soon as I'm happy
>
> > > with my changes.
>
> > >
>
> > >
>
> > > Chris
>
> > >
>
> > >
>
> > > -----Ursprüngliche Nachricht-----
>
> > > Von: Alina Kazi <alinakazi1990@gmail.com<mailto:
> alinakazi1990@gmail.com>>
>
> > > Gesendet: Montag, 22. Februar 2021 11:26
>
> > > An: dev@royale.apache.org<ma...@royale.apache.org>
>
> > > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>
> > >
>
> > > Hi,
>
> > > I am also facing a problem with latest SDK.
>
> > > when I add something new in emulation and re-build SDK. when I
> recompile
>
> > > the application with the latest distribution , error in application
> does
>
> > > not go away that I already fixed in previous commit.
>
> > > It seems that the distribution does not have everything latest that it
>
> > > should have.
>
> > >
>
> > > -Alina
>
> > >
>
> > > On Mon, Feb 22, 2021 at 3:20 PM Maria Jose Esteve <mjesteve@iest.com
> <ma...@iest.com>>
>
> > > wrote:
>
> > >
>
> > > > I can't work either.
>
> > > > With no Maven, Ant combination, always error: "Error <fx: Array> This
>
> > > > tag could not be resolved to an ActionScript class ..."
>
> > > >
>
> > > > Do you know what happens? I am not able to understand or fix this.
>
> > > >
>
> > > > Hiedra.
>
> > > >
>
> > > > -----Mensaje original-----
>
> > > > De: Piotr Zarzycki <piotrzarzycki21@gmail.com<mailto:
> piotrzarzycki21@gmail.com>> Enviado el: lunes, 22
>
> > > > de febrero de 2021 11:03
>
> > > > Para: Apache Royale Development <dev@royale.apache.org<mailto:
> dev@royale.apache.org>>
>
> > > > Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
>
> > > >
>
> > > > Hi Guys,
>
> > > >
>
> > > > I just tried new distribution and I'm able to build simple example.
>
> > > > However our Royale project is not building - I'm getting following
>
> > > > exception:
>
> > > >
>
> > > > : Exception in thread "main" java.lang.NoClassDefFoundError:
>
> > > > org/apache/commons/lang/StringEscapeUtils
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.jx.LiteralEmitter.emit(
>
> > > > LiteralEmitter.java:225)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
>
> > > > emitLiteral(JSRoyaleEmitter.java:1040)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.codegen.as
>
> > > > .ASBlockWalker.visitLiteral(ASBlockWalker.java:479)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .ASNodeSwitch.handle(ASNodeSwitch.java:373)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .ASNodeHandler.handle(ASNodeHandler.java:85)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.codegen.as
>
> > > > .ASBlockWalker.walk(ASBlockWalker.java:159)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.goog.JSGoogEmitter.emit
>
> > > > AssignedValue(JSGoogEmitter.java:965)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitAssignmen
>
> > > > tCoercion(JSEmitter.java:917)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
>
> > > > emitAssignmentCoercion(JSRoyaleEmitter.java:1558)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
>
> > > > sEmitter.emitContents(FunctionCallArgumentsEmitter.java:103)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
>
> > > > sEmitter.emit(FunctionCallArgumentsEmitter.java:50)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
>
> > > > sEmitter.emit(FunctionCallArgumentsEmitter.java:35)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitArguments
>
> > > > (JSEmitter.java:259)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
>
> > > > emitArguments(JSRoyaleEmitter.java:986)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallEmitter.
>
> > > > emit(FunctionCallEmitter.java:693)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
>
> > > > emitFunctionCall(JSRoyaleEmitter.java:906)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.codegen.as
>
> > > > .ASBlockWalker.visitFunctionCall(ASBlockWalker.java:330)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .ASNodeSwitch.handle(ASNodeSwitch.java:207)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .ASNodeHandler.handle(ASNodeHandler.java:85)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.codegen.as
>
> > > > .ASBlockWalker.walk(ASBlockWalker.java:159)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.goog.JSGoogEmitter.emit
>
> > > > AssignedValue(JSGoogEmitter.java:965)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitAssignmen
>
> > > > tCoercion(JSEmitter.java:917)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
>
> > > > emitAssignmentCoercion(JSRoyaleEmitter.java:1558)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.jx.BinaryOperatorEmitte
>
> > > > r.super_emitBinaryOperator(BinaryOperatorEmitter.java:598)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.jx.BinaryOperatorEmitte
>
> > > > r.emit(BinaryOperatorEmitter.java:500)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
>
> > > > emitBinaryOperator(JSRoyaleEmitter.java:1028)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.codegen.as
>
> > > > .ASBlockWalker.visitBinaryOperator(ASBlockWalker.java:538)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .ASNodeSwitch.handle(ASNodeSwitch.java:348)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .ASNodeHandler.handle(ASNodeHandler.java:85)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.codegen.as
>
> > > > .ASBlockWalker.walk(ASBlockWalker.java:159)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.jx.StatementEmitter.emi
>
> > > > t(StatementEmitter.java:40)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.jx.StatementEmitter.emi
>
> > > > t(StatementEmitter.java:29)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitStatement
>
> > > > (JSEmitter.java:349)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
>
> > > > emitStatement(JSRoyaleEmitter.java:1204)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.codegen.as
>
> > > > .ASBlockWalker.visitBlock(ASBlockWalker.java:349)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .ASNodeSwitch.handle(ASNodeSwitch.java:278)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .ASNodeHandler.handle(ASNodeHandler.java:85)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.codegen.as
>
> > > > .ASBlockWalker.walk(ASBlockWalker.java:159)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.as.ASEmitter.emitMethodSco
>
> > > > pe(ASEmitter.java:830)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.jx.MethodEmitter.emit(M
>
> > > > ethodEmitter.java:160)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
>
> > > > emitMethod(JSRoyaleEmitter.java:891)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.codegen.as
>
> > > > .ASBlockWalker.visitFunction(ASBlockWalker.java:290)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .ASNodeSwitch.handle(ASNodeSwitch.java:152)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .ASNodeHandler.handle(ASNodeHandler.java:85)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.codegen.as
>
> > > > .ASBlockWalker.walk(ASBlockWalker.java:159)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmit
>
> > > > ter.emitScripts(MXMLRoyaleEmitter.java:2179)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmit
>
> > > > ter.emitDocument(MXMLRoyaleEmitter.java:899)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleBloc
>
> > > > kWalker.visitDocument(MXMLRoyaleBlockWalker.java:69)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle
>
> > > > (MXMLNodeSwitch.java:89)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(
>
> > > > MXMLBlockWalker.java:156)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleBloc
>
> > > > kWalker.visitFile(MXMLRoyaleBlockWalker.java:61)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle
>
> > > > (MXMLNodeSwitch.java:95)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(
>
> > > > MXMLBlockWalker.java:156)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.visit
>
> > > > CompilationUnit(MXMLBlockWalker.java:187)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.mxml.MXMLWriter.writeTo(MX
>
> > > > MLWriter.java:69)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale
>
> > > > .java:411)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRo
>
> > > > yale.java:259)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoy
>
> > > > ale.java:216)
>
> > > > : at
>
> > > >
> org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:36
>
> > > > 3)
>
> > > > : at
>
> > > >
> org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298
>
> > > > )
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.ja
>
> > > > va:256)
>
> > > > : at
> org.apache.royale.compiler.clients.MXMLJSC.main(MXMLJSC.java:238)
>
> > > > : Caused by: java.lang.ClassNotFoundException:
>
> > > > org.apache.commons.lang.StringEscapeUtils
>
> > > > : at
>
> > > >
>
> > > >
> java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClas
>
> > > > sLoader.java:582)
>
> > > > : at
>
> > > >
>
> > > >
> java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Cl
>
> > > > assLoaders.java:178)
>
> > > > : at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
>
> > > > : ... 67 more
>
> > > >
>
> > > > niedz., 21 lut 2021 o 18:57 Carlos Rovira <carlosrovira@apache.org
> <ma...@apache.org>>
>
> > > > napisał(a):
>
> > > >
>
> > > > > Hi,
>
> > > > >
>
> > > > > I worked today on this and finally could solve the problem. A part
>
> > > > > from Chris changes we need a bit more changes since all was set up
>
> > > > > from the compiler to use the old names. So class paths need to be
>
> > > > changed too there.
>
> > > > > Also Google Closure compiler need to be in jar mode instead of
>
> > > unpacked.
>
> > > > >
>
> > > > > Now I can use CMD (or CTRL) + SHIFT + B and select Debug or Release
>
> > > > > option with Actionscript extension and all goes ok.
>
> > > > > When using CMD+ENTER I think VsCode use the experimental build in
>
> > > > > Josh extension and take the SDK in ROYALE_HOME, and since that's
> the
>
> > > > > one build in the repository with ANT all seems fine, but is not
>
> > > > > using the selected SDK, so the build is not using what you expect.
>
> > > > >
>
> > > > > This is my output now using the Maven Distribution SDK:
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > > *> Executing task in folder TourDeJewel:
>
> > > > >
> /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/b
>
> > > > > in
>
> > > > > /java
>
> > > > > -jar
>
> > > > >
>
> > > > >
> /Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas
>
> > > > > -1
>
> > > > > .6.0/bin/asconfigc.jar --sdk
>
> > > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
> --debug=true
>
> > > > > --project
>
> > > > >
>
> > > > >
> /Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/Tou
>
> > > > > rD
>
> > > > > eJewel/asconfig.json
>
> > > > >
>
> > > > >
> <MXMLJSC+royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale
>
> > > > > -m
>
> > > > >
> aven/frameworks--debug=true+configname=royale--targets=JSRoyale--sou
>
> > > > > rc
>
> > > > >
> e-path+=src/main/resources--source-map=true--html-template=src/main/
>
> > > > > e-path+re
>
> > > > >
> sources/jewel-example-index-template.html--theme=${royalelib}/themes
>
> > > > > /J
>
> > > > >
> ewelTheme/src/main/resources/defaults.css-js-dynamic-access-unknown-
>
> > > > > me mbers=true--src/main/royale/App.mxmlThe
>
> > > > > project 'App' has been successfully compiled.12.80962843
>
> > > > > secondsTerminal will be reused by tasks, press any key to close
> it.*
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > > El sáb, 20 feb 2021 a las 18:16, Christofer Dutz (<
>
> > > > > christofer.dutz@c-ware.de<ma...@c-ware.de>>)
>
> > > > > escribió:
>
> > > > >
>
> > > > > > So I just did a video and posted it to the Royale slack channel
> ...
>
> > > > > >
>
> > > > > > I can't seem to reproduce the error ... perhaps if you check what
>
> > > > > > I'm doing you can tell me if I'm doing something wrong.
>
> > > > > > I did try to rule out that I might have not configured VSCode to
>
> > > > > > use my distribution by intentionally changing the settings to a
>
> > > > > > wrong
>
> > > > location.
>
> > > > > It
>
> > > > > > didn't work then, and when I changed it back to the correct
>
> > > > > > version, I could build again.
>
> > > > > >
>
> > > > > > Chris
>
> > > > > >
>
> > > > > >
>
> > > > > > -----Ursprüngliche Nachricht-----
>
> > > > > > Von: Carlos Rovira <carlosrovira@apache.org<mailto:
> carlosrovira@apache.org>>
>
> > > > > > Gesendet: Samstag, 20. Februar 2021 15:17
>
> > > > > > An: Apache Royale Development <dev@royale.apache.org<mailto:
> dev@royale.apache.org>>
>
> > > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
>
> > > > > > distribution
>
> > > > > >
>
> > > > > > Hi,
>
> > > > > >
>
> > > > > > sorry, yesterday was mostly offline for some personal things.
> Many
>
> > > > > > things happen in this thread.
>
> > > > > > I rebuild all today and check. This is what I can report trying
> to
>
> > > > > > build TDJ with Maven SDK with Chris's changes.
>
> > > > > > Setting my VSCode with AS3&MXML to the Maven SDK just generated:
>
> > > > > >
>
> > > > > > 1.- I can't build with CMD+SHIFT+ENTER, then "Build Debug with
> AS3
>
> > > > > > Extension Tour de Jewel" (as josh said). I get :
>
> > > > > >
>
> > > > > > Executing task in folder TourDeJewel:
>
> > > > > >
>
> > > > >
> /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/b
>
> > > > > in
>
> > > > > /java
>
> > > > > > -jar
>
> > > > > >
>
> > > > > >
>
> > > > >
> /Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas
>
> > > > > -1
>
> > > > > .6.0/bin/asconfigc.jar
>
> > > > > > --sdk /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
>
> > > > > --debug=true
>
> > > > > > --project
>
> > > > > >
>
> > > > >
> /Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/Tou
>
> > > > > rD
>
> > > > > eJewel/asconfig.json
>
> > > > > > <
>
> > > > > >
>
> > > > > > Error: no se ha encontrado o cargado la clase principal
>
> > > > > > org.apache.royale.compiler.clients.MXMLJSC
>
> > > > > > The terminal process
>
> > > > > >
>
> > > > > >
>
> > > > >
> "/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/
>
> > > > > bi
>
> > > > > n/java
>
> > > > > > '-jar',
>
> > > > > >
>
> > > > > >
>
> > > > >
> '/Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgena
>
> > > > > s-
>
> > > > > 1.6.0/bin/asconfigc.jar',
>
> > > > > > '--sdk',
>
> > > > > > '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven',
>
> > > > > > '--debug=true', '--project',
>
> > > > > >
>
> > > > > >
>
> > > > >
>
> > > >
>
> > >
>
> >
> '/Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/TourDeJewel/asconfig.json'"
>
> > > > > > terminated with exit code: 1.
>
> > > > > >
>
> > > > > > Terminal will be reused by tasks, press any key to close it.
>
> > > > > >
>
> > > > > >
>
> > > > > > 2.- I can build with CMD+ENTER. I get:
>
> > > > > >
>
> > > > > > Royale Compiler Shell
>
> > > > > > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
>
> > > > > > --source-path+=src/main/resources --source-map=true
>
> > > > > > --html-template=src/main/resources/
> jewel-example-index-template.ht
>
> > > > > > ml
>
> > > > > >
> --theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults
>
> > > > > > .c ss -js-dynamic-access-unknown-members=true --
>
> > > > > > src/main/royale/App.mxml
>
> > > > > > fcsh: Assigned 1 as the compile target id The project 'App' has
>
> > > > > > been successfully compiled and optimized.
>
> > > > > > Compile status: 0
>
> > > > > > Elapsed time: 26.925719521 seconds Feb 20, 2021 3:10:42 PM
>
> > > > > > com.google.javascript.jscomp.LoggerErrorManager
>
> > > > > > printSummary
>
> > > > > > INFO: 0 error(s), 0 warning(s), 97.8% typed
>
> > > > > > (fcsh)
>
> > > > > >
>
> > > > > > I don't understand fully the differences between one method and
>
> > > > > > the other and why I get different results. I guess know what's
>
> > > > > > happening is needed
>
> > > > > so
>
> > > > > > Chris can do the proper changes. probably there are paths and
>
> > > > > > locations mixed.
>
> > > > > >
>
> > > > > > @Chris, one thing I did in the past was to compare maven
>
> > > > > > distribution
>
> > > > > with
>
> > > > > > ant distribution so both has most of the things in the same
> place.
>
> > > > > > I
>
> > > > > think
>
> > > > > > some files where left in more than one place (like mxmlc).
>
> > > > > >
>
> > > > > > If you could take a look at it, that will for sure fix the issue.
>
> > > > > > You
>
> > > > > have
>
> > > > > > TDJ and the other project to test if that works and now we know
>
> > > > > > that is better to try with CMD+SHIFT+ENTER, then "Build Debug
> with
>
> > > > > > AS3 Extension Tour de Jewel"
>
> > > > > >
>
> > > > > >
>
> > > > > >
>
> > > > > >
>
> > > > > > El vie, 19 feb 2021 a las 18:45, Piotr Zarzycki (<
>
> > > > > > piotrzarzycki21@gmail.com<ma...@gmail.com>>)
>
> > > > > > escribió:
>
> > > > > >
>
> > > > > > > It looks like something bad has happened with my environment. I
>
> > > > > > > changed lately Java settings a bit. You can see what is setup
> in
>
> > > > > > > my
>
> > > > > > stacktrace.
>
> > > > > > >
>
> > > > > > > I will get back to that over the weekend or on Monday.
>
> > > > > > >
>
> > > > > > > On Fri, 19 Feb 2021 at 18:24, Maria Jose Esteve
>
> > > > > > > <mj...@iest.com>>
>
> > > > > > wrote:
>
> > > > > > >
>
> > > > > > > > Hi,
>
> > > > > > > > Piotr, I just tested your distribution with my project and
> the
>
> > > > > > > compilation
>
> > > > > > > > was successful, no errors.
>
> > > > > > > > Running the application seems to be working fine too.
>
> > > > > > > > (I compile the application with mvn)
>
> > > > > > > >
>
> > > > > > > > What do they need me to try now?
>
> > > > > > > >
>
> > > > > > > > Hiedra.
>
> > > > > > > > -----Mensaje original-----
>
> > > > > > > > De: Piotr Zarzycki <piotrzarzycki21@gmail.com<mailto:
> piotrzarzycki21@gmail.com>> Enviado el:
>
> > > > > > > > viernes,
>
> > > > > > > > 19 de febrero de 2021 18:11
>
> > > > > > > > Para: Apache Royale Development <dev@royale.apache.org
> <ma...@royale.apache.org>>
>
> > > > > > > > Asunto: Re: Align Maven IDE distribution with Ant IDE
>
> > > > > > > > distribution
>
> > > > > > > >
>
> > > > > > > > Did you test my distribution ?
>
> > > > > > > >
>
> > > > > > > > pt., 19 lut 2021 o 18:00 Christofer Dutz
>
> > > > > > > > <christofer.dutz@c-ware.de<mailto:christofer.dutz@c-ware.de
> >>
>
> > > > > > > > napisał(a):
>
> > > > > > > >
>
> > > > > > > > > So I did a bit more of testing.
>
> > > > > > > > >
>
> > > > > > > > > So after I had no issues building Carlos' example, I tried
>
> > > > > > > > > the TourDeJewl example.
>
> > > > > > > > > So I opened VSCode in the directory of TDJ example ...
>
> > > > > > > > > created a settings.json with the folowing content:
>
> > > > > > > > >
>
> > > > > > > > > {
>
> > > > > > > > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
>
> > > > > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
>
> > > > > > > > > }
>
> > > > > > > > >
>
> > > > > > > > > Hit STRG+Enter and waited a bit ...
>
> > > > > > > > >
>
> > > > > > > > > Then I opened the output in Chrome and have a fully
>
> > > > > > > > > functioning TDJ application.
>
> > > > > > > > >
>
> > > > > > > > > So I wouldn't consider the build broken.
>
> > > > > > > > >
>
> > > > > > > > > Chris
>
> > > > > > > > >
>
> > > > > > > > >
>
> > > > > > > > >
>
> > > > > > > > > -----Ursprüngliche Nachricht-----
>
> > > > > > > > > Von: Maria Jose Esteve <mjesteve@iest.com<mailto:
> mjesteve@iest.com>>
>
> > > > > > > > > Gesendet: Freitag, 19. Februar 2021 17:51
>
> > > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
>
> > > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
>
> > > > > > > > > distribution
>
> > > > > > > > >
>
> > > > > > > > > Sure, that would be "expected", but like I told you: if I
>
> > > > > > > > > change it to MXRoyaleJS.swc, the app "does nonsense".
>
> > > > > > > > > Maybe something has gotten my way.
>
> > > > > > > > >
>
> > > > > > > > > I will read your messages and see if I can help with
>
> > something.
>
> > > > > > > > >
>
> > > > > > > > > Hiedra.
>
> > > > > > > > > -----Mensaje original-----
>
> > > > > > > > > De: Christofer Dutz <christofer.dutz@c-ware.de<mailto:
> christofer.dutz@c-ware.de>> Enviado el:
>
> > > > > > > > > viernes,
>
> > > > > > > > > 19 de febrero de 2021 14:12
>
> > > > > > > > > Para: dev@royale.apache.org<ma...@royale.apache.org>
>
> > > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
>
> > > > > > > > > distribution
>
> > > > > > > > >
>
> > > > > > > > > Hi Hiedra,
>
> > > > > > > > >
>
> > > > > > > > > well I changed the distribution to make the names like in
>
> > > > > > > > > the ANT distribution yesterday.
>
> > > > > > > > > But you are passing in an argument telling the compiler to
>
> > > > > > > > > use the old format and now it should be the new ...
>
> > > > > > > > >
>
> > > > > > > > > Try:
>
> > > > > > > > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
>
> > > > > > > > > defaults.css; For -compiler.exclude-defaults-css-files =
>
> > > > > > MXRoyaleJS.swc:
>
> > > > > > > > > defaults.css;
>
> > > > > > > > >
>
> > > > > > > > > Instead of your variant.
>
> > > > > > > > >
>
> > > > > > > > > Chris
>
> > > > > > > > >
>
> > > > > > > > >
>
> > > > > > > > > -----Ursprüngliche Nachricht-----
>
> > > > > > > > > Von: Maria Jose Esteve <mjesteve@iest.com<mailto:
> mjesteve@iest.com>>
>
> > > > > > > > > Gesendet: Freitag, 19. Februar 2021 14:08
>
> > > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
>
> > > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
>
> > > > > > > > > distribution
>
> > > > > > > > >
>
> > > > > > > > > Yes, until recently I also compiled only with Maven. Due to
>
> > > > > > > > > the problem with the spark.css I started to do the double
>
> > > > > > > > > compilation of
>
> > > > > > > > MAVEN and ANT.
>
> > > > > > > > >
>
> > > > > > > > > It's funny, now, the swc's are not generated with
>
> > > > > > > > > "xxxx-0.9.8-SNAPSHOT-js.swc" in the distribution BUT if in
>
> > > > > > > > > the pom of my project I change in
> additionalCompilerOptions:
>
> > > > > > > > > -compiler.exclude-defaults-css-files = MXRoyale - $
>
> > > > > > > > > {royale.framework.version} -js.swc: defaults.css; For
>
> > > > > > > > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
>
> > > > > > > > > defaults.css; My application starts to do nonsense (for
>
> > > > > > > > > example the change of selectedContent in my
>
> > > > > > > > > ApplicationMainContent does not display)
>
> > > > > > > > >
>
> > > > > > > > > Chris, thank you.
>
> > > > > > > > > Hiedra
>
> > > > > > > > >
>
> > > > > > > > > -----Mensaje original-----
>
> > > > > > > > > De: Christofer Dutz <christofer.dutz@c-ware.de<mailto:
> christofer.dutz@c-ware.de>> Enviado el:
>
> > > > > > > > > viernes,
>
> > > > > > > > > 19 de febrero de 2021 13:09
>
> > > > > > > > > Para: dev@royale.apache.org<ma...@royale.apache.org>
>
> > > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
>
> > > > > > > > > distribution
>
> > > > > > > > >
>
> > > > > > > > > Hi Hiedra,
>
> > > > > > > > >
>
> > > > > > > > > I have to admit that I've never used VSCode. Every time I
> do
>
> > > > > > > > > any development I usually use one of the JetBrains IDEs.
>
> > > > > > > > > Royale Stuff I do in IntelliJ ... with my "Flexmojos Hack"
>
> > > > > > > > > it can be used quite well. And I always compile with Maven.
>
> > > > > > > > >
>
> > > > > > > > > But thanks for the explanation on why the other path is set
>
> > > > > > > differently.
>
> > > > > > > > >
>
> > > > > > > > > I guess we'll have to wait till some others can tell me
> what
>
> > > > > > > > > needs to be changed.
>
> > > > > > > > >
>
> > > > > > > > > Chris
>
> > > > > > > > >
>
> > > > > > > > >
>
> > > > > > > > > -----Ursprüngliche Nachricht-----
>
> > > > > > > > > Von: Maria Jose Esteve <mjesteve@iest.com<mailto:
> mjesteve@iest.com>>
>
> > > > > > > > > Gesendet: Freitag, 19. Februar 2021 12:48
>
> > > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
>
> > > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
>
> > > > > > > > > distribution
>
> > > > > > > > >
>
> > > > > > > > > Hello Chris,
>
> > > > > > > > > so that I can debug my changes in the SDK I need to set the
>
> > > > > > > > > path of the "as3mxml.sdk.editor" to the asjs directory of
> my
>
> > > > > > > > > fork, for this reason the path of the "
>
> > as3mxml.sdk.framework"
>
> > > > > > > > > points to the directory of the maven distribution and the
>
> > > > "as3mxml.sdk.editor"
>
> > > > > > > > > to
>
> > > > > > > code.
>
> > > > > > > > >
>
> > > > > > > > > ">> I'm not getting any errors from VSCode. But well ... if
>
> > > > > > > > > I hit
>
> > > > > > > > > SHIFT+Enter it starts doing something where if failed prior
>
> > > > > > > > > SHIFT+to my
>
> > > > > > > > > >> changes this morning and is no longer complaining, but
>
> > > > > > > > > >> it's also not
>
> > > > > > > > > doing much (I can't see it create a "bin" directory)"
>
> > > > > > > > >
>
> > > > > > > > > I don't quite understand this ... possibly because of my
>
> > > > > > > > > lack of
>
> > > > > > > > knowledge.
>
> > > > > > > > >
>
> > > > > > > > > I have not tried Carlos's project but this afternoon I will
>
> > > > > > > > > be able to do it and I will be able to give more details.
>
> > > > > > > > >
>
> > > > > > > > > Thx.
>
> > > > > > > > > Hiedra.
>
> > > > > > > > >
>
> > > > > > > > > -----Mensaje original-----
>
> > > > > > > > > De: Christofer Dutz <christofer.dutz@c-ware.de<mailto:
> christofer.dutz@c-ware.de>> Enviado el:
>
> > > > > > > > > viernes,
>
> > > > > > > > > 19 de febrero de 2021 11:51
>
> > > > > > > > > Para: dev@royale.apache.org<ma...@royale.apache.org>
>
> > > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
>
> > > > > > > > > distribution
>
> > > > > > > > >
>
> > > > > > > > > Hi Heidra,
>
> > > > > > > > >
>
> > > > > > > > > I just updated Carlos' example to have the same type of
>
> > > > > > > > > setting (C:\\Temp\\RoyaleSDK is where I have my Maven build
>
> > > > > > > > > generate the
>
> > > > > > SDK):
>
> > > > > > > > >
>
> > > > > > > > > setings.js:
>
> > > > > > > > > {
>
> > > > > > > > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
>
> > > > > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
>
> > > > > > > > > }
>
> > > > > > > > >
>
> > > > > > > > > workspace-code-workspace
>
> > > > > > > > > {
>
> > > > > > > > > "folders": [
>
> > > > > > > > > {
>
> > > > > > > > > "path": ".."
>
> > > > > > > > > }
>
> > > > > > > > > ],
>
> > > > > > > > > "settings": {
>
> > > > > > > > > "as3mxml.sdk.framework":
>
> > "C:\\Temp\\RoyaleSDK",
>
> > > > > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
>
> > > > > > > > > }
>
> > > > > > > > > }
>
> > > > > > > > >
>
> > > > > > > > > I'm not getting any errors from VSCode. But well ... if I
>
> > > > > > > > > hit
>
> > > > > > > > > SHIFT+Enter it starts doing something where if failed prior
>
> > > > > > > > > SHIFT+to my
>
> > > > > > > > > changes this morning and is no longer complaining, but it's
>
> > > > > > > > > also not doing much (I can't see it create a "bin"
>
> > > > > > > > > directory)
>
> > > > > > > > >
>
> > > > > > > > > Chris
>
> > > > > > > > >
>
> > > > > > > > >
>
> > > > > > > > > -----Ursprüngliche Nachricht-----
>
> > > > > > > > > Von: Maria Jose Esteve <mjesteve@iest.com<mailto:
> mjesteve@iest.com>>
>
> > > > > > > > > Gesendet: Freitag, 19. Februar 2021 10:53
>
> > > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
>
> > > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
>
> > > > > > > > > distribution
>
> > > > > > > > >
>
> > > > > > > > > If I don't compile with ANT, the mxml extension in vsCode
>
> > > > > > > > > IDE, it doesn't recognize the valid asjs directory for
>
> > > > > "as3mxml.sdk.editor":
>
> > > > > > > > > ...
>
> > > > > > > > > "settings": {
>
> > > > > > > > > "as3mxml.sdk.framework":
>
> > > > > > > > > "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
>
> > > > > > > > > "as3mxml.sdk.editor":
>
> > > > > > > > > "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs"
>
> > > > > > > > > <-------- [download folder repo royale-asjs]
>
> > > > > > > > > }
>
> > > > > > > > > }
>
> > > > > > > > >
>
> > > > > > > > > The error is:
>
> > > > > > > > > " as3mxml.sdk.editor in settings does not point to a valid
>
> > SDK.
>
> > > > > > > > > Requires..."
>
> > > > > > > > >
>
> > > > > > > > > Thx.
>
> > > > > > > > > Hiedra.
>
> > > > > > > > >
>
> > > > > > > > > -----Mensaje original-----
>
> > > > > > > > > De: Piotr Zarzycki <piotrzarzycki21@gmail.com<mailto:
> piotrzarzycki21@gmail.com>> Enviado el:
>
> > > > > > > > > viernes, 19 de febrero de 2021 10:44
>
> > > > > > > > > Para: Apache Royale Development <dev@royale.apache.org
> <ma...@royale.apache.org>>
>
> > > > > > > > > Asunto: Re: Align Maven IDE distribution with Ant IDE
>
> > > > > > > > > distribution
>
> > > > > > > > >
>
> > > > > > > > > Hi Chris,
>
> > > > > > > > >
>
> > > > > > > > > I just tried your changes and I have same issue. I need to
>
> > > > > > > > > understand what has change enough significantly that it
>
> > > > > > > > > causes compilation fail in such way. It doesn't happen with
>
> > > > > > > > > SDK prepared
>
> > > > > by
>
> > > > > > ANT.
>
> > > > > > > > >
>
> > > > > > > > > Thanks,
>
> > > > > > > > > Piotr
>
> > > > > > > > >
>
> > > > > > > > > pt., 19 lut 2021 o 10:33 Maria Jose Esteve
>
> > > > > > > > > <mj...@iest.com>>
>
> > > > > > > > napisał(a):
>
> > > > > > > > >
>
> > > > > > > > > > @Chris you're right, sorry, I didn't download your last
>
> > > commit.
>
> > > > > > > > > > I'm sorry.
>
> > > > > > > > > > Hiedra.
>
> > > > > > > > > >
>
> > > > > > > > > > -----Mensaje original-----
>
> > > > > > > > > > De: Christofer Dutz <christofer.dutz@c-ware.de<mailto:
> christofer.dutz@c-ware.de>> Enviado
>
> > el:
>
> > > > > > > > > > viernes,
>
> > > > > > > > > > 19 de febrero de 2021 10:17
>
> > > > > > > > > > Para: dev@royale.apache.org<mailto:dev@royale.apache.org
> >
>
> > > > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
>
> > > > > > > > > > distribution
>
> > > > > > > > > >
>
> > > > > > > > > > I'll try to guess what you wanted to say here ...
>
> > > > > > > > > >
>
> > > > > > > > > > But I think these are exactly the changes I comitted a an
>
> > > > > > > > > > hour ago,
>
> > > > > > > > > right?
>
> > > > > > > > > > At least in general I replaced all the references to
> names
>
> > > > > > > > > > with versions to the changed ones.
>
> > > > > > > > > >
>
> > > > > > > > > >
>
> > > > > > > > > > Chris
>
> > > > > > > > > >
>
> > > > > > > > > >
>
> > > > > > > > > >
>
> > > > > > > > > > -----Ursprüngliche Nachricht-----
>
> > > > > > > > > > Von: Maria Jose Esteve <mjesteve@iest.com<mailto:
> mjesteve@iest.com>>
>
> > > > > > > > > > Gesendet: Freitag, 19. Februar 2021 10:01
>
> > > > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
>
> > > > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
>
> > > > > > > > > > distribution
>
> > > > > > > > > >
>
> > > > > > > > > > Hi,
>
> > > > > > > > > > Mi distribución hace referencia en el fichero
>
> > > > > > > > > > "./frameworks/royale-config.xml" a las librerías:
>
> > > > > > > > > >
>
> > > > > > > > > > <js-external-library-path>
>
> > > > > > > > > >
>
> > > > > > > > > >
>
> > > > > >
>
> > <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.
>
> > > > > > > > > > sw
>
> > > > > > > > > > c</path-element>
>
> > > > > > > > > >
>
> > > > > > > > > >
>
> > > > > > > > >
> <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-
>
> > > > > > > > > ty
>
> > > > > > > > > pede
>
> > > > > > > > > fs.s
>
> > > > > > > > > wc</path-element>
>
> > > > > > > > > > </js-external-library-path>
>
> > > > > > > > > >
>
> > > > > > > > > > Las correctas son:
>
> > > > > > > > > >
>
> > > > > > > > > > <js-external-library-path>
>
> > > > > > > > > >
>
> > > > > > > >
>
> > > > > > > >
> <path-element>../js/libs/royale-typedefs-js.swc</path-element>
>
> > > > > > > > > >
>
> > > > > > > >
>
> > > > > > > >
> <path-element>../js/libs/royale-typedefs-gcl.swc</path-element
>
> > > > > > > > >
>
> > > > > > > > > > </js-external-library-path>
>
> > > > > > > > > >
>
> > > > > > > > > > Hiedra
>
> > > > > > > > > >
>
> > > > > > > > > > -----Mensaje original-----
>
> > > > > > > > > > De: Christofer Dutz <christofer.dutz@c-ware.de<mailto:
> christofer.dutz@c-ware.de>> Enviado
>
> > el:
>
> > > > > > > > > > viernes,
>
> > > > > > > > > > 19 de febrero de 2021 9:39
>
> > > > > > > > > > Para: dev@royale.apache.org<mailto:dev@royale.apache.org
> >
>
> > > > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
>
> > > > > > > > > > distribution
>
> > > > > > > > > >
>
> > > > > > > > > > Ok,
>
> > > > > > > > > >
>
> > > > > > > > > > so the config xml files in the distribution were still
>
> > > > > > > > > > pointing to the old names. I updated them all to now
> refer
>
> > > > > > > > > > to
>
> > > > the names.
>
> > > > > > > > > > I tried things in Carlos' demo project, and I'm no-longer
>
> > > > > > > > > > getting the errors, however compilation seems to take for
>
> > > ever.
>
> > > > > > > > > >
>
> > > > > > > > > > Please try out the changes and tell me if there are any
>
> > > > > > > > > > problems with
>
> > > > > > > > > them.
>
> > > > > > > > > >
>
> > > > > > > > > > Chris
>
> > > > > > > > > >
>
> > > > > > > > > > -----Ursprüngliche Nachricht-----
>
> > > > > > > > > > Von: Christofer Dutz <christofer.dutz@c-ware.de<mailto:
> christofer.dutz@c-ware.de>>
>
> > > > > > > > > > Gesendet: Donnerstag, 18. Februar 2021 23:17
>
> > > > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
>
> > > > > > > > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
>
> > > > > > > > > > distribution
>
> > > > > > > > > >
>
> > > > > > > > > > Hi Carlos,
>
> > > > > > > > > >
>
> > > > > > > > > > I'll look into this tomorrow.
>
> > > > > > > > > >
>
> > > > > > > > > > Chris
>
> > > > > > > > > >
>
> > > > > > > > > > -----Ursprüngliche Nachricht-----
>
> > > > > > > > > > Von: Carlos Rovira <carlosrovira@apache.org<mailto:
> carlosrovira@apache.org>>
>
> > > > > > > > > > Gesendet: Donnerstag, 18. Februar 2021 17:49
>
> > > > > > > > > > An: Apache Royale Development <dev@royale.apache.org
> <ma...@royale.apache.org>>
>
> > > > > > > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
>
> > > > > > > > > > distribution
>
> > > > > > > > > >
>
> > > > > > > > > > Hi, I think I talked very quickly, sorry, there seems to
>
> > > > > > > > > > be a
>
> > > > > > > problem.
>
> > > > > > > > > >
>
> > > > > > > > > > @Christofer Dutz <christofer.dutz@c-ware.de<mailto:
> christofer.dutz@c-ware.de>> you can
>
> > > > > > > > > > download this
>
> > > > > > > > > > project:
>
> > > > > > > > > >
>
> > > > > > > > > >
>
> > > > > > > > > >
> https://github.com/apache/royale-asjs/files/6004363/Toggle
>
> > > > > > > > > > Bu
>
> > > > > > > > > > tton
>
> > > > > > > > > > BarI
>
> > > > > > > > > > ss
>
> > > > > > > > > > ue.zip
>
> > > > > > > > > >
>
> > > > > > > > > > Then using VSCode with AS3&MXML and adding the Maven
>
> > > > > distribution.
>
> > > > > > > > > > Then hit CTRL+ENTER and you will get the following fail.
>
> > > > > > > > > > Using ANT distribution is working fine.
>
> > > > > > > > > > Can you take a look?
>
> > > > > > > > > >
>
> > > > > > > > > > Royale Compiler Shell
>
> > > > > > > > > > (fcsh) mxmlc --debug=false +configname=royale
>
> > > > > > > > > > --targets=JSRoyale --source-map=true
>
> > > > > > > > > >
> --html-template=src/html/jewel-example-index-template.html
>
> > > > > > > > > >
>
> > > > > > > > > >
> --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapph
>
> > > > > > > > > > ir
>
> > > > > > > > > > e-Th
>
> > > > > > > > > > eme/
>
> > > > > > > > > > sr
>
> > > > > > > > > > c/main/resources/defaults.css
>
> > > > > > > > > > --source-path+=src
>
> > > > > > > > > >
> --source-path+--library-path+=${royalelib}/js/libs/MXRoyal
>
> > > > > > > > > > --source-path+--library-path+eJ S.sw c
>
> > > > > > > > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>
> > > > > > > > > >
> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaul
>
> > > > > > > > > > ts .css -js-dynamic-access-unknown-members=true --
>
> > > > > > > > > > src/App.mxml
>
> > > > > > > > > > fcsh: Assigned 1 as the compile target id The project
> 'App'
>
> > > > > > > > > > has been successfully compiled and optimized.
>
> > > > > > > > > > Compile status: 0
>
> > > > > > > > > > Elapsed time: 14.211105399 seconds Feb 18, 2021 5:43:40
> PM
>
> > > > > > > > > > com.google.javascript.jscomp.LoggerErrorManager
>
> > > > > > > > > > printSummary
>
> > > > > > > > > > INFO: 0 error(s), 0 warning(s), 96.5% typed
>
> > > > > > > > > > (fcsh) quit
>
> > > > > > > > > > Compiler shell exited with code: 0 Royale Compiler Shell
>
> > > > > > > > > > (fcsh) mxmlc --debug=false +configname=royale
>
> > > > > > > > > > --targets=JSRoyale --source-map=true
>
> > > > > > > > > >
> --html-template=src/html/jewel-example-index-template.html
>
> > > > > > > > > >
>
> > > > > > > > > >
> --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapph
>
> > > > > > > > > > ir
>
> > > > > > > > > > e-Th
>
> > > > > > > > > > eme/
>
> > > > > > > > > > sr
>
> > > > > > > > > > c/main/resources/defaults.css
>
> > > > > > > > > > --source-path+=src
>
> > > > > > > > > >
> --source-path+--library-path+=${royalelib}/js/libs/MXRoyal
>
> > > > > > > > > > --source-path+--library-path+eJ S.sw c
>
> > > > > > > > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>
> > > > > > > > > >
> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaul
>
> > > > > > > > > > ts .css -js-dynamic-access-unknown-members=true --
>
> > > > > > > > > > src/App.mxml
>
> > > > > > > > > > fcsh: Assigned 1 as the compile target id Compile status:
>
> > > > > > > > > > 5 Elapsed
>
> > > > > > > > time:
>
> > > > > > > > > > 0.618407478 seconds
>
> > > > > > > > > >
>
> > > > > > > > > >
>
> > > > > > > > >
>
> > > > > > > >
>
> > > > > > >
>
> > > > > >
>
> > > > >
>
> > > >
>
> > >
>
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
>
> > > > > > > > > > col: 0 Error: unable to open
>
> > > > > > > > > >
>
> > > > > > > > > >
>
> > > > > > > > >
>
> > > > > > > >
>
> > > > > > >
>
> > > > > >
>
> > > > >
>
> > > >
>
> > >
>
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
>
> > > > > > > > > >
>
> > > > > > > > > >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/fr
>
> > > > > > > > > > am
>
> > > > > > > > > > ewor
>
> > > > > > > > > > ks/r
>
> > > > > > > > > > oy
>
> > > > > > > > > > ale-config.xml
>
> > > > > > > > > > (line: 81)
>
> > > > > > > > > >
>
> > > > > > > > > > </js-external-library-path>
>
> > > > > > > > > >
>
> > > > > > > > > >
>
> > > > > > > > > >
>
> > > > > > > > > >
>
> > > > > > > > >
>
> > > > > > > >
>
> > > > > > >
>
> > > > > >
>
> > > > >
>
> > > >
>
> > >
>
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
>
> > > > > > > > > > col: 0 Error: unable to open
>
> > > > > > > > > >
>
> > > > > > > > > >
>
> > > > > > > > >
>
> > > > > > > >
>
> > > > > > >
>
> > > > > >
>
> > > > >
>
> > > >
>
> > >
>
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
>
> > > > > > > > > >
>
> > > > > > > > > >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/fr
>
> > > > > > > > > > am
>
> > > > > > > > > > ewor
>
> > > > > > > > > > ks/r
>
> > > > > > > > > > oy
>
> > > > > > > > > > ale-config.xml
>
> > > > > > > > > > (line: 81)
>
> > > > > > > > > >
>
> > > > > > > > > > </js-external-library-path>
>
> > > > > > > > > > (fcsh)
>
> > > > > > > > > > Quick Compile failed. Errors in compiler output.
>
> > > > > > > > > >
>
> > > > > > > > > > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
>
> > > > > > > > > > (<carlosrovira@apache.org<mailto:carlosrovira@apache.org
> >>)
>
> > > > > > > > > > escribió:
>
> > > > > > > > > >
>
> > > > > > > > > > > Hi,
>
> > > > > > > > > > >
>
> > > > > > > > > > > I rebuilt all from scratch just now and finally the
>
> > > > > > > > > > > distribution too and tried in VSCode and all seems to
>
> > > > > > > > > > > work fine
>
> > > > > > for me.
>
> > > > > > > > > > >
>
> > > > > > > > > > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
>
> > > > > > > > > > > christofer.dutz@c-ware.de<mailto:
> christofer.dutz@c-ware.de>>) escribió:
>
> > > > > > > > > > >
>
> > > > > > > > > > >> Hi Piotr,
>
> > > > > > > > > > >>
>
> > > > > > > > > > >> that class is located in
> lib\external\flex-tool-api.jar
>
> > > > > > > > > > >> At least in my distribution it's there and it contains
>
> > > > > > > > > > >> the
>
> > > > class.
>
> > > > > > > > > > >>
>
> > > > > > > > > > >> How are you calling the build that's failing?
>
> > > > > > > > > > >>
>
> > > > > > > > > > >> Chris
>
> > > > > > > > > > >>
>
> > > > > > > > > > >> -----Ursprüngliche Nachricht-----
>
> > > > > > > > > > >> Von: Piotr Zarzycki <piotrzarzycki21@gmail.com
> <ma...@gmail.com>>
>
> > > > > > > > > > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
>
> > > > > > > > > > >> An: Apache Royale Development <dev@royale.apache.org
> <ma...@royale.apache.org>>
>
> > > > > > > > > > >> Betreff: Re: Align Maven IDE distribution with Ant IDE
>
> > > > > > > > > > >> distribution
>
> > > > > > > > > > >>
>
> > > > > > > > > > >> Chris,
>
> > > > > > > > > > >>
>
> > > > > > > > > > >> I just checked and I'm not able build project anymore
>
> > > > > > > > > > >> using
>
> > > > > > > > > > distribution:
>
> > > > > > > > > > >>
>
> > > > > > > > > > >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
>
> > > > > > > > > > >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
>
> > > > > > > > > > >> -Xms356m -Xmx3000m
>
> > > > > > > > > > >> : Error: Could not find or load main class
>
> > > > > > > > > > >> org.apache.royale.compiler.clients.MXMLJSC
>
> > > > > > > > > > >> : Caused by: java.lang.NoClassDefFoundError:
>
> > > > > > > > > > >> org/apache/flex/tools/FlexTool
>
> > > > > > > > > > >>
>
> > > > > > > > > > >> I'm done for today, so I will answer anything
> tomorrow.
>
> > > > > > > > > > >>
>
> > > > > > > > > > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
>
> > > > > > > > > > >> <christofer.dutz@c-ware.de<mailto:
> christofer.dutz@c-ware.de>>
>
> > > > > > > > > > >> napisał(a):
>
> > > > > > > > > > >>
>
> > > > > > > > > > >> > Ok ...
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >> > so I just pushed another change. Now the
> distribution
>
> > > > > > > > > > >> > should also contain an empty spark.css, just like
> the
>
> > > > > > > > > > >> > Ant
>
> > > > > one.
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >> > Chris
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >> > -----Ursprüngliche Nachricht-----
>
> > > > > > > > > > >> > Von: Christofer Dutz <christofer.dutz@c-ware.de
> <ma...@c-ware.de>>
>
> > > > > > > > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
>
> > > > > > > > > > >> > An: dev@royale.apache.org<mailto:
> dev@royale.apache.org>
>
> > > > > > > > > > >> > Betreff: AW: Align Maven IDE distribution with Ant
>
> > > > > > > > > > >> > IDE distribution
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >> > Ok,
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >> > so that should now be fixed. Leaves the "spark.css"
>
> > > > > > > > > > >> > Having had a look, it seems as if the Ant build
>
> > > > > > > > > > >> > creates an empty
>
> > > > > > > > > > >> spark.css.
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >> > Is this all we need? If yes, then I'll have that in
>
> > > > > > > > > > >> > ther in no
>
> > > > > > > > time.
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >> > Chris
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >> > -----Ursprüngliche Nachricht-----
>
> > > > > > > > > > >> > Von: Piotr Zarzycki <piotrzarzycki21@gmail.com
> <ma...@gmail.com>>
>
> > > > > > > > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
>
> > > > > > > > > > >> > An: Apache Royale Development <
> dev@royale.apache.org<ma...@royale.apache.org>>
>
> > > > > > > > > > >> > Betreff: Re: Align Maven IDE distribution with Ant
>
> > > > > > > > > > >> > IDE distribution
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >> > *(I assume that's in the "frameworks/js/libs"
>
> > > > > > > > > > >> > directory? *
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >> > Yes this is the directory.
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
>
> > > > > > > > > > >> > <christofer.dutz@c-ware.de<mailto:
> christofer.dutz@c-ware.de>>
>
> > > > > > > > > > >> > napisał(a):
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >> > > Hi Piotr,
>
> > > > > > > > > > >> > >
>
> > > > > > > > > > >> > > Ok ... so Ant seems to be adding a "JS" to the end
>
> > > > > > > > > > >> > > of every name (I assume that's in the
>
> > > "frameworks/js/libs"
>
> > > > > > directory?
>
> > > > > > > > > > >> > >
>
> > > > > > > > > > >> > > Also I'll try to find out where the "spark.css"
>
> > > > > > > > > > >> > > should come from
>
> > > > > > > > > ...
>
> > > > > > > > > > >> > > and where it should go to.
>
> > > > > > > > > > >> > >
>
> > > > > > > > > > >> > > Chris
>
> > > > > > > > > > >> > >
>
> > > > > > > > > > >> > >
>
> > > > > > > > > > >> > > -----Ursprüngliche Nachricht-----
>
> > > > > > > > > > >> > > Von: Piotr Zarzycki <piotrzarzycki21@gmail.com
> <ma...@gmail.com>>
>
> > > > > > > > > > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
>
> > > > > > > > > > >> > > An: Apache Royale Development
>
> > > > > > > > > > >> > > <dev@royale.apache.org<mailto:
> dev@royale.apache.org>>
>
> > > > > > > > > > >> > > Betreff: Re: Align Maven IDE distribution with Ant
>
> > > > > > > > > > >> > > IDE distribution
>
> > > > > > > > > > >> > >
>
> > > > > > > > > > >> > > Chris,
>
> > > > > > > > > > >> > >
>
> > > > > > > > > > >> > > Looks better but here is the comparision what I
>
> > > > > > > > > > >> > > have in Ant distribution vs Maven distribution in
>
> > > > > > > > > > >> > > case of
>
> > > > names.
>
> > > > > > > > > > >> > > On the left Ant distribution, on the right Maven.
>
> > > > > > > > > > >> > > It is
>
> > > > > > folder:
>
> > > > > > > > > > >> > > frameworks\js\libs\ [1]
>
> > > > > > > > > > >> > >
>
> > > > > > > > > > >> > > [1] https://ibb.co/W2DzcDb
>
> > > > > > > > > > >> > >
>
> > > > > > > > > > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
>
> > > > > > > > > > >> > > <christofer.dutz@c-ware.de<mailto:
> christofer.dutz@c-ware.de>>
>
> > > > > > > > > > >> > > napisał(a):
>
> > > > > > > > > > >> > >
>
> > > > > > > > > > >> > > > And done ...
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > > Now all elements in the distribution only
> consist
>
> > > > > > > > > > >> > > > of their name and file-ending ... all versions
>
> > > > > > > > > > >> > > > and classifiers have been
>
> > > > > > > > > > removed.
>
> > > > > > > > > > >> > > > Please provide me with feedback on if this
> solves
>
> > > > > > > > > > >> > > > the
>
> > > > > > > issues.
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > > Chris
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > > -----Ursprüngliche Nachricht-----
>
> > > > > > > > > > >> > > > Von: Christofer Dutz <christofer.dutz@c-ware.de
> <ma...@c-ware.de>>
>
> > > > > > > > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
>
> > > > > > > > > > >> > > > An: dev@royale.apache.org<mailto:
> dev@royale.apache.org>
>
> > > > > > > > > > >> > > > Betreff: AW: Align Maven IDE distribution with
>
> > > > > > > > > > >> > > > Ant IDE distribution
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > > I'll probably have a fix for that in a few
>
> > > > > > > > > > >> > > > minuntes
>
> > > > ...
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > > Chris
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > > -----Ursprüngliche Nachricht-----
>
> > > > > > > > > > >> > > > Von: Piotr Zarzycki <piotrzarzycki21@gmail.com
> <ma...@gmail.com>>
>
> > > > > > > > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
>
> > > > > > > > > > >> > > > An: Apache Royale Development
>
> > > > > > > > > > >> > > > <dev@royale.apache.org<mailto:
> dev@royale.apache.org>>
>
> > > > > > > > > > >> > > > Betreff: Re: Align Maven IDE distribution with
>
> > > > > > > > > > >> > > > Ant IDE distribution
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > > Chris,
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > > No it's not about not picking up by IDE at all.
>
> > > > > > > > > > >> > > > Moonshine and VSCode are able to build projects
>
> > > > > > > > > > >> > > > using Maven distribution package! It is about
>
> > > > > > > > > > >> > > > project which are mixed for example when user
>
> > > > > > > > > > >> > > > wanted to use Jewel module + RemoteObject class
>
> > > > > > > > > > >> > > > from MXRoyale module. In that case user need to
>
> > > > > > > > > > >> > > > point explicilty as a compiler options in IDE
>
> > > > > > > > > > >> > > > that he wanted to have SWC included and need to
>
> > > > > > > > > > >> > > > exclude css from that swc to
>
> > > > > > > > > > >> > > avoid problems.
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > > It is happen like that:
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > >
> -js-library-path+=${royalelib}/js/libs/MXRoyaleJS
>
> > > > > > > > > > >> > > > -js-library-path+.s
>
> > > > > > > > > > >> > > > wc
>
> > > > > > > > > > >> > > >
>
> > > > > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
>
> > > > > > > > > > >> > > > cs
>
> > > > > > > > > > >> > > > s
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > > If I would like to use maven distribution user
>
> > > > > > > > > > >> > > > need to know version for that compiler options.
>
> > > > > > > > > > >> > > > It is even more tricky when your swc is called
>
> > > > > > > > > > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > >
>
> > > > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.
>
> > > > > > > > > > >> > > > cs
>
> > > > > > > > > > >> > > > s
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > > Thanks,
>
> > > > > > > > > > >> > > > Piotr
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
>
> > > > > > > > > > >> > > > <christofer.dutz@c-ware.de<mailto:
> christofer.dutz@c-ware.de>>
>
> > > > > > > > > > >> > > > napisał(a):
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > > > Hi Piotr,
>
> > > > > > > > > > >> > > > >
>
> > > > > > > > > > >> > > > > And is really the version-suffix causing it to
>
> > > > > > > > > > >> > > > > not be picked up by the IDEs?
>
> > > > > > > > > > >> > > > >
>
> > > > > > > > > > >> > > > > Chris
>
> > > > > > > > > > >> > > > >
>
> > > > > > > > > > >> > > > > -----Ursprüngliche Nachricht-----
>
> > > > > > > > > > >> > > > > Von: Piotr Zarzycki <
> piotrzarzycki21@gmail.com>
>
> > > > > > > > > > >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
>
> > > > > > > > > > >> > > > > An: dev@royale.apache.org
>
> > > > > > > > > > >> > > > > Betreff: Re: Align Maven IDE distribution with
>
> > > > > > > > > > >> > > > > Ant IDE distribution
>
> > > > > > > > > > >> > > > >
>
> > > > > > > > > > >> > > > > Hi Chris,
>
> > > > > > > > > > >> > > > >
>
> > > > > > > > > > >> > > > > This is the only thing which seems to be a
>
> > > > > > > > > > >> > > > > constant problem
>
> > > > > > > > > > here.
>
> > > > > > > > > > >> > > > > I personally and some users will be much more
>
> > > > > > > > > > >> > > > > happy having that
>
> > > > > > > > > > >> > change.
>
> > > > > > > > > > >> > > > >
>
> > > > > > > > > > >> > > > > Thanks,
>
> > > > > > > > > > >> > > > > Piotr
>
> > > > > > > > > > >> > > > >
>
> > > > > > > > > > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
>
> > > > > > > > > > >> > > > > <ch...@c-ware.de>
>
> > > > > > > > > > >> > > > > wrote:
>
> > > > > > > > > > >> > > > >
>
> > > > > > > > > > >> > > > > > Hi Piotr,
>
> > > > > > > > > > >> > > > > >
>
> > > > > > > > > > >> > > > > > I'd be happy to help with that.
>
> > > > > > > > > > >> > > > > >
>
> > > > > > > > > > >> > > > > > I did simply ask for a list of things that
>
> > > > > > > > > > >> > > > > > need to be changed in order to get things
>
> > > > > > > > > > >> > > > > > working, but never got said list, so I never
>
> > > > > > > > > > >> > > > > > knew what I could do to make the Maven
>
> > > > > > > > > > >> > > > > > distribution match up to the
>
> > > > > > > > > > >> > > > Ant built one.
>
> > > > > > > > > > >> > > > > >
>
> > > > > > > > > > >> > > > > > Chris
>
> > > > > > > > > > >> > > > > >
>
> > > > > > > > > > >> > > > > >
>
> > > > > > > > > > >> > > > > > -----Ursprüngliche Nachricht-----
>
> > > > > > > > > > >> > > > > > Von: Piotr Zarzycki
>
> > > > > > > > > > >> > > > > > <pi...@gmail.com>
>
> > > > > > > > > > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
>
> > > > > > > > > > >> > > > > > An: Apache Royale Development
>
> > > > > > > > > > >> > > > > > <de...@royale.apache.org>
>
> > > > > > > > > > >> > > > > > Betreff: Align Maven IDE distribution with
>
> > > > > > > > > > >> > > > > > Ant IDE distribution
>
> > > > > > > > > > >> > > > > >
>
> > > > > > > > > > >> > > > > > Hi Guys,
>
> > > > > > > > > > >> > > > > >
>
> > > > > > > > > > >> > > > > > It's been couple of times when user
> complains
>
> > > > > > > > > > >> > > > > > that he have problems with using Maven
>
> > > > > > > > > > >> > > > > > distribution vs Ant distribution in IDE in a
>
> > > > > > > > > > >> > > > > > mixed project Jewel + MX/Spark
>
> > > > > > > > etc.
>
> > > > > > > > > > >> > > > > >
>
> > > > > > > > > > >> > > > > > Can we have that resolve once for all and
>
> > > > > > > > > > >> > > > > > adjust Maven distribution folder to produce
>
> > > > > > > > > > >> > > > > > proper names of
>
> > > > > > swcs ?
>
> > > > > > > > > > >> > > > > >
>
> > > > > > > > > > >> > > > > > Currently when I build Maven IDE
> distribution
>
> > > > > > > > > > >> > > > > > I
>
> > > > > have:
>
> > > > > > > > > > >> > > > > >
>
> > > > > > > > > > >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
>
> > > > > > > > > > >> > > > > >
>
> > > > > > > > > > >> > > > > > When I build Ant IDE distribution I have:
>
> > > > > > > > > > >> > > > > >
>
> > > > > > > > > > >> > > > > > MXRoyale-js.swc
>
> > > > > > > > > > >> > > > > >
>
> > > > > > > > > > >> > > > > > Thanks,
>
> > > > > > > > > > >> > > > > > --
>
> > > > > > > > > > >> > > > > >
>
> > > > > > > > > > >> > > > > > Piotr Zarzycki
>
> > > > > > > > > > >> > > > > >
>
> > > > > > > > > > >> > > > > --
>
> > > > > > > > > > >> > > > >
>
> > > > > > > > > > >> > > > > Piotr Zarzycki
>
> > > > > > > > > > >> > > > >
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > > --
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > > > Piotr Zarzycki
>
> > > > > > > > > > >> > > >
>
> > > > > > > > > > >> > >
>
> > > > > > > > > > >> > >
>
> > > > > > > > > > >> > > --
>
> > > > > > > > > > >> > >
>
> > > > > > > > > > >> > > Piotr Zarzycki
>
> > > > > > > > > > >> > >
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >> > --
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >> > Piotr Zarzycki
>
> > > > > > > > > > >> >
>
> > > > > > > > > > >>
>
> > > > > > > > > > >>
>
> > > > > > > > > > >> --
>
> > > > > > > > > > >>
>
> > > > > > > > > > >> Piotr Zarzycki
>
> > > > > > > > > > >>
>
> > > > > > > > > > >
>
> > > > > > > > > > >
>
> > > > > > > > > > > --
>
> > > > > > > > > > > Carlos Rovira
>
> > > > > > > > > > > Apache Member & Apache Royale PMC *Apache Software
>
> > > > > > > > > > > Foundation* http://about.me/carlosrovira
>
> > > > > > > > > > >
>
> > > > > > > > > > >
>
> > > > > > > > > >
>
> > > > > > > > > > --
>
> > > > > > > > > > Carlos Rovira
>
> > > > > > > > > > Apache Member & Apache Royale PMC *Apache Software
>
> > > > > > > > > > Foundation* http://about.me/carlosrovira
>
> > > > > > > > > >
>
> > > > > > > > >
>
> > > > > > > > >
>
> > > > > > > > > --
>
> > > > > > > > >
>
> > > > > > > > > Piotr Zarzycki
>
> > > > > > > > >
>
> > > > > > > >
>
> > > > > > > >
>
> > > > > > > > --
>
> > > > > > > >
>
> > > > > > > > Piotr Zarzycki
>
> > > > > > > >
>
> > > > > > > --
>
> > > > > > >
>
> > > > > > > Piotr Zarzycki
>
> > > > > > >
>
> > > > > >
>
> > > > > >
>
> > > > > > --
>
> > > > > > Carlos Rovira
>
> > > > > > Apache Member & Apache Royale PMC
>
> > > > > > *Apache Software Foundation*
>
> > > > > > http://about.me/carlosrovira
>
> > > > > >
>
> > > > >
>
> > > > >
>
> > > > > --
>
> > > > > Carlos Rovira
>
> > > > > Apache Member & Apache Royale PMC
>
> > > > > *Apache Software Foundation*
>
> > > > > http://about.me/carlosrovira
>
> > > > >
>
> > > >
>
> > > >
>
> > > > --
>
> > > >
>
> > > > Piotr Zarzycki
>
> > > >
>
> > >
>
> >
>
>
>
>
>
> --
>
>
>
> Piotr Zarzycki
>
--
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira
AW: Align Maven IDE distribution with Ant IDE distribution
Posted by Christofer Dutz <ch...@c-ware.de>.
Yeah,
I wanted to build with swf, but unfortunately I setup my new Windows laptop this year and couldn't fetch the missing Adobe parts.
Luckily Carlos sent me the missing files and I managed to fix things
So I commented out the ACE module again, but created a Pull-Request to merge some changes in that could possibly fix the missing ACE module problem. It would however be cool, if Yishay could have a look at that (Seems he created the ACE module)
You should now be good to go ... and sorry for all the noise ;)
Chris
-----Ursprüngliche Nachricht-----
Von: Maria Jose Esteve <mj...@iest.com>
Gesendet: Montag, 22. Februar 2021 12:44
An: dev@royale.apache.org
Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
Without "option-with-swf" it compiles ok, but with "option-with-swf" it doesn't. As you have mentioned Ace needs some adjustment [1]
When I manage to compile (without option-with-swf option) I can't compile any of my projects, in all I get the same <fx: Array> error
[1]
[INFO] --- royale-maven-plugin:0.9.8-SNAPSHOT:compile-as (default-compile-as) @ Ace ---
[INFO] Executing COMPC in tool group Royale with args: [-load-config=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs\frameworks\projects\Ace\target\compile-swf-config.xml, -js-default-initializers=false, -source-map=true, -source-map-source-root=/frameworks/projects/Ace/src/main/royale/, -js-complex-implicit-coercions=false, -js-vector-index-checks=false, -js-resolve-uncertain=false, -compiler.targets=SWF,JSRoyale, -compiler.strict-xml=true]
args:
-load-config=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs\frameworks\projects\Ace\target\compile-swf-config.xml
-js-default-initializers=false
-source-map=true
-source-map-source-root=/frameworks/projects/Ace/src/main/royale/
-js-complex-implicit-coercions=false
-js-vector-index-checks=false
-js-resolve-uncertain=false
-compiler.targets=SWF,JSRoyale
-compiler.strict-xml=true
target:SWF
target:JSRoyale
COMPC
Loading configuration: D:\Develop_Royale\Projects\Royale-SDK\royale-asjs\frameworks\projects\Ace\target\compile-swf-config.xml
0.1429886 seconds
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Apache Royale: Framework: Parent 0.9.8-SNAPSHOT:
[INFO]
[INFO] Apache Royale: Framework: Parent ................... SUCCESS [ 3.009 s]
[INFO] Apache Royale: Framework ........................... SUCCESS [ 0.303 s]
[INFO] Apache Royale: Framework: Fonts .................... SUCCESS [ 2.359 s]
[INFO] Apache Royale: Framework: Libs ..................... SUCCESS [ 0.745 s]
[INFO] Apache Royale: Framework: Libs: Language ........... SUCCESS [ 2.390 s]
[INFO] Apache Royale: Framework: Libs: Core ............... SUCCESS [ 6.662 s]
[INFO] Apache Royale: Framework: Libs: Binding ............ SUCCESS [ 1.049 s]
[INFO] Apache Royale: Framework: Libs: Graphics ........... SUCCESS [ 2.547 s]
[INFO] Apache Royale: Framework: Libs: Collections ........ SUCCESS [ 0.957 s]
[INFO] Apache Royale: Framework: Libs: Basic .............. SUCCESS [ 9.811 s]
[INFO] Apache Royale: Framework: Libs: JQuery ............. SUCCESS [ 0.732 s]
[INFO] Apache Royale: Framework: Libs: Ace ................ FAILURE [ 0.277 s]
[INFO] Apache Royale: Framework: Libs: Charts ............. SKIPPED
Thx.
Hiedra.
-----Mensaje original-----
De: Christofer Dutz <ch...@c-ware.de>
Enviado el: lunes, 22 de febrero de 2021 12:25
Para: dev@royale.apache.org
Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
Ok ...
After Carlos kindly provided me with the missing Adobe artifacts I could also try the "with-swf" build ... seems the ACE build needs some fixing ... I'm on it.
Chris
-----Ursprüngliche Nachricht-----
Von: Maria Jose Esteve <mj...@iest.com>
Gesendet: Montag, 22. Februar 2021 12:12
An: dev@royale.apache.org
Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
Flying 😝
Hiedra
-----Mensaje original-----
De: Christofer Dutz <ch...@c-ware.de>
Enviado el: lunes, 22 de febrero de 2021 12:09
Para: dev@royale.apache.org
Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
Hi all,
It seems Carlos reset the version of the compiler and updated the version in the asjs module.
So it looks as if that's good (I really hate when things are out of sync ;) ).
Anyways ... I just pushed some chaged to typedef to build the ACE typedef module
And updated the asjs module to build the ACE framework module and fine tuned the distribution to add the missing swcs (JS and SWF).
Please try out these changes.
Chris
-----Ursprüngliche Nachricht-----
Von: Piotr Zarzycki <pi...@gmail.com>>
Gesendet: Montag, 22. Februar 2021 12:05
An: Apache Royale Development <de...@royale.apache.org>>
Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
We are using again compiler 0.9.8-SNAPSHOT yes ?
pon., 22 lut 2021 o 12:01 Alina Kazi <al...@gmail.com>> napisał(a):
> Thanks Chris.
>
> On Mon, Feb 22, 2021 at 3:59 PM Maria Jose Esteve <mj...@iest.com>>
> wrote:
>
> > Thanks Chris, I'll be listening.
> >
> > Hiedra
> > -----Mensaje original-----
> > De: Christofer Dutz <ch...@c-ware.de>>
> > Enviado el: lunes, 22 de febrero de 2021 11:52
> > Para: dev@royale.apache.org<ma...@royale.apache.org>
> > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi all,
> >
> > so I had a look and it seems the distribution was missing a number of
> > libraries, which seem to have been added, since I created the
> distribution
> > in 2016 ... Some modules were added after that, but not all. It seems all
> > probelms you are reporting result from some of them missing. I added them
> > and now they are correctly added to my distributions. I also compared
> them
> > with the ANT built version ... the last missing piece is the ACE module,
> > which was disabled in Maven as the Ace typedef was not a maven module. I
> > took the liberty of creating a Maven typedef module for ace and re-added
> > the ACE module to the Maven build and to the distribution.
> >
> > I'm currently testing a few things and will commit as soon as I'm happy
> > with my changes.
> >
> >
> > Chris
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Alina Kazi <al...@gmail.com>>
> > Gesendet: Montag, 22. Februar 2021 11:26
> > An: dev@royale.apache.org<ma...@royale.apache.org>
> > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi,
> > I am also facing a problem with latest SDK.
> > when I add something new in emulation and re-build SDK. when I recompile
> > the application with the latest distribution , error in application does
> > not go away that I already fixed in previous commit.
> > It seems that the distribution does not have everything latest that it
> > should have.
> >
> > -Alina
> >
> > On Mon, Feb 22, 2021 at 3:20 PM Maria Jose Esteve <mj...@iest.com>>
> > wrote:
> >
> > > I can't work either.
> > > With no Maven, Ant combination, always error: "Error <fx: Array> This
> > > tag could not be resolved to an ActionScript class ..."
> > >
> > > Do you know what happens? I am not able to understand or fix this.
> > >
> > > Hiedra.
> > >
> > > -----Mensaje original-----
> > > De: Piotr Zarzycki <pi...@gmail.com>> Enviado el: lunes, 22
> > > de febrero de 2021 11:03
> > > Para: Apache Royale Development <de...@royale.apache.org>>
> > > Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > Hi Guys,
> > >
> > > I just tried new distribution and I'm able to build simple example.
> > > However our Royale project is not building - I'm getting following
> > > exception:
> > >
> > > : Exception in thread "main" java.lang.NoClassDefFoundError:
> > > org/apache/commons/lang/StringEscapeUtils
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.LiteralEmitter.emit(
> > > LiteralEmitter.java:225)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitLiteral(JSRoyaleEmitter.java:1040)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.visitLiteral(ASBlockWalker.java:479)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeSwitch.handle(ASNodeSwitch.java:373)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.goog.JSGoogEmitter.emit
> > > AssignedValue(JSGoogEmitter.java:965)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitAssignmen
> > > tCoercion(JSEmitter.java:917)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitAssignmentCoercion(JSRoyaleEmitter.java:1558)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
> > > sEmitter.emitContents(FunctionCallArgumentsEmitter.java:103)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
> > > sEmitter.emit(FunctionCallArgumentsEmitter.java:50)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
> > > sEmitter.emit(FunctionCallArgumentsEmitter.java:35)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitArguments
> > > (JSEmitter.java:259)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitArguments(JSRoyaleEmitter.java:986)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallEmitter.
> > > emit(FunctionCallEmitter.java:693)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitFunctionCall(JSRoyaleEmitter.java:906)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.visitFunctionCall(ASBlockWalker.java:330)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeSwitch.handle(ASNodeSwitch.java:207)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.goog.JSGoogEmitter.emit
> > > AssignedValue(JSGoogEmitter.java:965)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitAssignmen
> > > tCoercion(JSEmitter.java:917)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitAssignmentCoercion(JSRoyaleEmitter.java:1558)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.BinaryOperatorEmitte
> > > r.super_emitBinaryOperator(BinaryOperatorEmitter.java:598)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.BinaryOperatorEmitte
> > > r.emit(BinaryOperatorEmitter.java:500)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitBinaryOperator(JSRoyaleEmitter.java:1028)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.visitBinaryOperator(ASBlockWalker.java:538)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeSwitch.handle(ASNodeSwitch.java:348)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.StatementEmitter.emi
> > > t(StatementEmitter.java:40)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.StatementEmitter.emi
> > > t(StatementEmitter.java:29)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitStatement
> > > (JSEmitter.java:349)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitStatement(JSRoyaleEmitter.java:1204)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.visitBlock(ASBlockWalker.java:349)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeSwitch.handle(ASNodeSwitch.java:278)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.as.ASEmitter.emitMethodSco
> > > pe(ASEmitter.java:830)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.MethodEmitter.emit(M
> > > ethodEmitter.java:160)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitMethod(JSRoyaleEmitter.java:891)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.visitFunction(ASBlockWalker.java:290)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeSwitch.handle(ASNodeSwitch.java:152)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmit
> > > ter.emitScripts(MXMLRoyaleEmitter.java:2179)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmit
> > > ter.emitDocument(MXMLRoyaleEmitter.java:899)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleBloc
> > > kWalker.visitDocument(MXMLRoyaleBlockWalker.java:69)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle
> > > (MXMLNodeSwitch.java:89)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(
> > > MXMLBlockWalker.java:156)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleBloc
> > > kWalker.visitFile(MXMLRoyaleBlockWalker.java:61)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle
> > > (MXMLNodeSwitch.java:95)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(
> > > MXMLBlockWalker.java:156)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.visit
> > > CompilationUnit(MXMLBlockWalker.java:187)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.MXMLWriter.writeTo(MX
> > > MLWriter.java:69)
> > > : at
> > >
> > > org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale
> > > .java:411)
> > > : at
> > >
> > > org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRo
> > > yale.java:259)
> > > : at
> > >
> > > org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoy
> > > ale.java:216)
> > > : at
> > > org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:36
> > > 3)
> > > : at
> > > org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298
> > > )
> > > : at
> > >
> > > org.apache.royale.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.ja
> > > va:256)
> > > : at org.apache.royale.compiler.clients.MXMLJSC.main(MXMLJSC.java:238)
> > > : Caused by: java.lang.ClassNotFoundException:
> > > org.apache.commons.lang.StringEscapeUtils
> > > : at
> > >
> > > java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClas
> > > sLoader.java:582)
> > > : at
> > >
> > > java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Cl
> > > assLoaders.java:178)
> > > : at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
> > > : ... 67 more
> > >
> > > niedz., 21 lut 2021 o 18:57 Carlos Rovira <ca...@apache.org>>
> > > napisał(a):
> > >
> > > > Hi,
> > > >
> > > > I worked today on this and finally could solve the problem. A part
> > > > from Chris changes we need a bit more changes since all was set up
> > > > from the compiler to use the old names. So class paths need to be
> > > changed too there.
> > > > Also Google Closure compiler need to be in jar mode instead of
> > unpacked.
> > > >
> > > > Now I can use CMD (or CTRL) + SHIFT + B and select Debug or Release
> > > > option with Actionscript extension and all goes ok.
> > > > When using CMD+ENTER I think VsCode use the experimental build in
> > > > Josh extension and take the SDK in ROYALE_HOME, and since that's the
> > > > one build in the repository with ANT all seems fine, but is not
> > > > using the selected SDK, so the build is not using what you expect.
> > > >
> > > > This is my output now using the Maven Distribution SDK:
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > *> Executing task in folder TourDeJewel:
> > > > /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/b
> > > > in
> > > > /java
> > > > -jar
> > > >
> > > > /Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas
> > > > -1
> > > > .6.0/bin/asconfigc.jar --sdk
> > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven --debug=true
> > > > --project
> > > >
> > > > /Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/Tou
> > > > rD
> > > > eJewel/asconfig.json
> > > >
> > > > <MXMLJSC+royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale
> > > > -m
> > > > aven/frameworks--debug=true+configname=royale--targets=JSRoyale--sou
> > > > rc
> > > > e-path+=src/main/resources--source-map=true--html-template=src/main/
> > > > e-path+re
> > > > sources/jewel-example-index-template.html--theme=${royalelib}/themes
> > > > /J
> > > > ewelTheme/src/main/resources/defaults.css-js-dynamic-access-unknown-
> > > > me mbers=true--src/main/royale/App.mxmlThe
> > > > project 'App' has been successfully compiled.12.80962843
> > > > secondsTerminal will be reused by tasks, press any key to close it.*
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > El sáb, 20 feb 2021 a las 18:16, Christofer Dutz (<
> > > > christofer.dutz@c-ware.de<ma...@c-ware.de>>)
> > > > escribió:
> > > >
> > > > > So I just did a video and posted it to the Royale slack channel ...
> > > > >
> > > > > I can't seem to reproduce the error ... perhaps if you check what
> > > > > I'm doing you can tell me if I'm doing something wrong.
> > > > > I did try to rule out that I might have not configured VSCode to
> > > > > use my distribution by intentionally changing the settings to a
> > > > > wrong
> > > location.
> > > > It
> > > > > didn't work then, and when I changed it back to the correct
> > > > > version, I could build again.
> > > > >
> > > > > Chris
> > > > >
> > > > >
> > > > > -----Ursprüngliche Nachricht-----
> > > > > Von: Carlos Rovira <ca...@apache.org>>
> > > > > Gesendet: Samstag, 20. Februar 2021 15:17
> > > > > An: Apache Royale Development <de...@royale.apache.org>>
> > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > > distribution
> > > > >
> > > > > Hi,
> > > > >
> > > > > sorry, yesterday was mostly offline for some personal things. Many
> > > > > things happen in this thread.
> > > > > I rebuild all today and check. This is what I can report trying to
> > > > > build TDJ with Maven SDK with Chris's changes.
> > > > > Setting my VSCode with AS3&MXML to the Maven SDK just generated:
> > > > >
> > > > > 1.- I can't build with CMD+SHIFT+ENTER, then "Build Debug with AS3
> > > > > Extension Tour de Jewel" (as josh said). I get :
> > > > >
> > > > > Executing task in folder TourDeJewel:
> > > > >
> > > > /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/b
> > > > in
> > > > /java
> > > > > -jar
> > > > >
> > > > >
> > > > /Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas
> > > > -1
> > > > .6.0/bin/asconfigc.jar
> > > > > --sdk /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
> > > > --debug=true
> > > > > --project
> > > > >
> > > > /Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/Tou
> > > > rD
> > > > eJewel/asconfig.json
> > > > > <
> > > > >
> > > > > Error: no se ha encontrado o cargado la clase principal
> > > > > org.apache.royale.compiler.clients.MXMLJSC
> > > > > The terminal process
> > > > >
> > > > >
> > > > "/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/
> > > > bi
> > > > n/java
> > > > > '-jar',
> > > > >
> > > > >
> > > > '/Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgena
> > > > s-
> > > > 1.6.0/bin/asconfigc.jar',
> > > > > '--sdk',
> > > > > '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven',
> > > > > '--debug=true', '--project',
> > > > >
> > > > >
> > > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/TourDeJewel/asconfig.json'"
> > > > > terminated with exit code: 1.
> > > > >
> > > > > Terminal will be reused by tasks, press any key to close it.
> > > > >
> > > > >
> > > > > 2.- I can build with CMD+ENTER. I get:
> > > > >
> > > > > Royale Compiler Shell
> > > > > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> > > > > --source-path+=src/main/resources --source-map=true
> > > > > --html-template=src/main/resources/jewel-example-index-template.ht
> > > > > ml
> > > > > --theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults
> > > > > .c ss -js-dynamic-access-unknown-members=true --
> > > > > src/main/royale/App.mxml
> > > > > fcsh: Assigned 1 as the compile target id The project 'App' has
> > > > > been successfully compiled and optimized.
> > > > > Compile status: 0
> > > > > Elapsed time: 26.925719521 seconds Feb 20, 2021 3:10:42 PM
> > > > > com.google.javascript.jscomp.LoggerErrorManager
> > > > > printSummary
> > > > > INFO: 0 error(s), 0 warning(s), 97.8% typed
> > > > > (fcsh)
> > > > >
> > > > > I don't understand fully the differences between one method and
> > > > > the other and why I get different results. I guess know what's
> > > > > happening is needed
> > > > so
> > > > > Chris can do the proper changes. probably there are paths and
> > > > > locations mixed.
> > > > >
> > > > > @Chris, one thing I did in the past was to compare maven
> > > > > distribution
> > > > with
> > > > > ant distribution so both has most of the things in the same place.
> > > > > I
> > > > think
> > > > > some files where left in more than one place (like mxmlc).
> > > > >
> > > > > If you could take a look at it, that will for sure fix the issue.
> > > > > You
> > > > have
> > > > > TDJ and the other project to test if that works and now we know
> > > > > that is better to try with CMD+SHIFT+ENTER, then "Build Debug with
> > > > > AS3 Extension Tour de Jewel"
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > El vie, 19 feb 2021 a las 18:45, Piotr Zarzycki (<
> > > > > piotrzarzycki21@gmail.com<ma...@gmail.com>>)
> > > > > escribió:
> > > > >
> > > > > > It looks like something bad has happened with my environment. I
> > > > > > changed lately Java settings a bit. You can see what is setup in
> > > > > > my
> > > > > stacktrace.
> > > > > >
> > > > > > I will get back to that over the weekend or on Monday.
> > > > > >
> > > > > > On Fri, 19 Feb 2021 at 18:24, Maria Jose Esteve
> > > > > > <mj...@iest.com>>
> > > > > wrote:
> > > > > >
> > > > > > > Hi,
> > > > > > > Piotr, I just tested your distribution with my project and the
> > > > > > compilation
> > > > > > > was successful, no errors.
> > > > > > > Running the application seems to be working fine too.
> > > > > > > (I compile the application with mvn)
> > > > > > >
> > > > > > > What do they need me to try now?
> > > > > > >
> > > > > > > Hiedra.
> > > > > > > -----Mensaje original-----
> > > > > > > De: Piotr Zarzycki <pi...@gmail.com>> Enviado el:
> > > > > > > viernes,
> > > > > > > 19 de febrero de 2021 18:11
> > > > > > > Para: Apache Royale Development <de...@royale.apache.org>>
> > > > > > > Asunto: Re: Align Maven IDE distribution with Ant IDE
> > > > > > > distribution
> > > > > > >
> > > > > > > Did you test my distribution ?
> > > > > > >
> > > > > > > pt., 19 lut 2021 o 18:00 Christofer Dutz
> > > > > > > <ch...@c-ware.de>>
> > > > > > > napisał(a):
> > > > > > >
> > > > > > > > So I did a bit more of testing.
> > > > > > > >
> > > > > > > > So after I had no issues building Carlos' example, I tried
> > > > > > > > the TourDeJewl example.
> > > > > > > > So I opened VSCode in the directory of TDJ example ...
> > > > > > > > created a settings.json with the folowing content:
> > > > > > > >
> > > > > > > > {
> > > > > > > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > > > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > > > > > > }
> > > > > > > >
> > > > > > > > Hit STRG+Enter and waited a bit ...
> > > > > > > >
> > > > > > > > Then I opened the output in Chrome and have a fully
> > > > > > > > functioning TDJ application.
> > > > > > > >
> > > > > > > > So I wouldn't consider the build broken.
> > > > > > > >
> > > > > > > > Chris
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > Von: Maria Jose Esteve <mj...@iest.com>>
> > > > > > > > Gesendet: Freitag, 19. Februar 2021 17:51
> > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Sure, that would be "expected", but like I told you: if I
> > > > > > > > change it to MXRoyaleJS.swc, the app "does nonsense".
> > > > > > > > Maybe something has gotten my way.
> > > > > > > >
> > > > > > > > I will read your messages and see if I can help with
> something.
> > > > > > > >
> > > > > > > > Hiedra.
> > > > > > > > -----Mensaje original-----
> > > > > > > > De: Christofer Dutz <ch...@c-ware.de>> Enviado el:
> > > > > > > > viernes,
> > > > > > > > 19 de febrero de 2021 14:12
> > > > > > > > Para: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Hi Hiedra,
> > > > > > > >
> > > > > > > > well I changed the distribution to make the names like in
> > > > > > > > the ANT distribution yesterday.
> > > > > > > > But you are passing in an argument telling the compiler to
> > > > > > > > use the old format and now it should be the new ...
> > > > > > > >
> > > > > > > > Try:
> > > > > > > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> > > > > > > > defaults.css; For -compiler.exclude-defaults-css-files =
> > > > > MXRoyaleJS.swc:
> > > > > > > > defaults.css;
> > > > > > > >
> > > > > > > > Instead of your variant.
> > > > > > > >
> > > > > > > > Chris
> > > > > > > >
> > > > > > > >
> > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > Von: Maria Jose Esteve <mj...@iest.com>>
> > > > > > > > Gesendet: Freitag, 19. Februar 2021 14:08
> > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Yes, until recently I also compiled only with Maven. Due to
> > > > > > > > the problem with the spark.css I started to do the double
> > > > > > > > compilation of
> > > > > > > MAVEN and ANT.
> > > > > > > >
> > > > > > > > It's funny, now, the swc's are not generated with
> > > > > > > > "xxxx-0.9.8-SNAPSHOT-js.swc" in the distribution BUT if in
> > > > > > > > the pom of my project I change in additionalCompilerOptions:
> > > > > > > > -compiler.exclude-defaults-css-files = MXRoyale - $
> > > > > > > > {royale.framework.version} -js.swc: defaults.css; For
> > > > > > > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> > > > > > > > defaults.css; My application starts to do nonsense (for
> > > > > > > > example the change of selectedContent in my
> > > > > > > > ApplicationMainContent does not display)
> > > > > > > >
> > > > > > > > Chris, thank you.
> > > > > > > > Hiedra
> > > > > > > >
> > > > > > > > -----Mensaje original-----
> > > > > > > > De: Christofer Dutz <ch...@c-ware.de>> Enviado el:
> > > > > > > > viernes,
> > > > > > > > 19 de febrero de 2021 13:09
> > > > > > > > Para: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Hi Hiedra,
> > > > > > > >
> > > > > > > > I have to admit that I've never used VSCode. Every time I do
> > > > > > > > any development I usually use one of the JetBrains IDEs.
> > > > > > > > Royale Stuff I do in IntelliJ ... with my "Flexmojos Hack"
> > > > > > > > it can be used quite well. And I always compile with Maven.
> > > > > > > >
> > > > > > > > But thanks for the explanation on why the other path is set
> > > > > > differently.
> > > > > > > >
> > > > > > > > I guess we'll have to wait till some others can tell me what
> > > > > > > > needs to be changed.
> > > > > > > >
> > > > > > > > Chris
> > > > > > > >
> > > > > > > >
> > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > Von: Maria Jose Esteve <mj...@iest.com>>
> > > > > > > > Gesendet: Freitag, 19. Februar 2021 12:48
> > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Hello Chris,
> > > > > > > > so that I can debug my changes in the SDK I need to set the
> > > > > > > > path of the "as3mxml.sdk.editor" to the asjs directory of my
> > > > > > > > fork, for this reason the path of the "
> as3mxml.sdk.framework"
> > > > > > > > points to the directory of the maven distribution and the
> > > "as3mxml.sdk.editor"
> > > > > > > > to
> > > > > > code.
> > > > > > > >
> > > > > > > > ">> I'm not getting any errors from VSCode. But well ... if
> > > > > > > > I hit
> > > > > > > > SHIFT+Enter it starts doing something where if failed prior
> > > > > > > > SHIFT+to my
> > > > > > > > >> changes this morning and is no longer complaining, but
> > > > > > > > >> it's also not
> > > > > > > > doing much (I can't see it create a "bin" directory)"
> > > > > > > >
> > > > > > > > I don't quite understand this ... possibly because of my
> > > > > > > > lack of
> > > > > > > knowledge.
> > > > > > > >
> > > > > > > > I have not tried Carlos's project but this afternoon I will
> > > > > > > > be able to do it and I will be able to give more details.
> > > > > > > >
> > > > > > > > Thx.
> > > > > > > > Hiedra.
> > > > > > > >
> > > > > > > > -----Mensaje original-----
> > > > > > > > De: Christofer Dutz <ch...@c-ware.de>> Enviado el:
> > > > > > > > viernes,
> > > > > > > > 19 de febrero de 2021 11:51
> > > > > > > > Para: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Hi Heidra,
> > > > > > > >
> > > > > > > > I just updated Carlos' example to have the same type of
> > > > > > > > setting (C:\\Temp\\RoyaleSDK is where I have my Maven build
> > > > > > > > generate the
> > > > > SDK):
> > > > > > > >
> > > > > > > > setings.js:
> > > > > > > > {
> > > > > > > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > > > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > > > > > > }
> > > > > > > >
> > > > > > > > workspace-code-workspace
> > > > > > > > {
> > > > > > > > "folders": [
> > > > > > > > {
> > > > > > > > "path": ".."
> > > > > > > > }
> > > > > > > > ],
> > > > > > > > "settings": {
> > > > > > > > "as3mxml.sdk.framework":
> "C:\\Temp\\RoyaleSDK",
> > > > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > > > > > > }
> > > > > > > > }
> > > > > > > >
> > > > > > > > I'm not getting any errors from VSCode. But well ... if I
> > > > > > > > hit
> > > > > > > > SHIFT+Enter it starts doing something where if failed prior
> > > > > > > > SHIFT+to my
> > > > > > > > changes this morning and is no longer complaining, but it's
> > > > > > > > also not doing much (I can't see it create a "bin"
> > > > > > > > directory)
> > > > > > > >
> > > > > > > > Chris
> > > > > > > >
> > > > > > > >
> > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > Von: Maria Jose Esteve <mj...@iest.com>>
> > > > > > > > Gesendet: Freitag, 19. Februar 2021 10:53
> > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > If I don't compile with ANT, the mxml extension in vsCode
> > > > > > > > IDE, it doesn't recognize the valid asjs directory for
> > > > "as3mxml.sdk.editor":
> > > > > > > > ...
> > > > > > > > "settings": {
> > > > > > > > "as3mxml.sdk.framework":
> > > > > > > > "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
> > > > > > > > "as3mxml.sdk.editor":
> > > > > > > > "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs"
> > > > > > > > <-------- [download folder repo royale-asjs]
> > > > > > > > }
> > > > > > > > }
> > > > > > > >
> > > > > > > > The error is:
> > > > > > > > " as3mxml.sdk.editor in settings does not point to a valid
> SDK.
> > > > > > > > Requires..."
> > > > > > > >
> > > > > > > > Thx.
> > > > > > > > Hiedra.
> > > > > > > >
> > > > > > > > -----Mensaje original-----
> > > > > > > > De: Piotr Zarzycki <pi...@gmail.com>> Enviado el:
> > > > > > > > viernes, 19 de febrero de 2021 10:44
> > > > > > > > Para: Apache Royale Development <de...@royale.apache.org>>
> > > > > > > > Asunto: Re: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Hi Chris,
> > > > > > > >
> > > > > > > > I just tried your changes and I have same issue. I need to
> > > > > > > > understand what has change enough significantly that it
> > > > > > > > causes compilation fail in such way. It doesn't happen with
> > > > > > > > SDK prepared
> > > > by
> > > > > ANT.
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > > Piotr
> > > > > > > >
> > > > > > > > pt., 19 lut 2021 o 10:33 Maria Jose Esteve
> > > > > > > > <mj...@iest.com>>
> > > > > > > napisał(a):
> > > > > > > >
> > > > > > > > > @Chris you're right, sorry, I didn't download your last
> > commit.
> > > > > > > > > I'm sorry.
> > > > > > > > > Hiedra.
> > > > > > > > >
> > > > > > > > > -----Mensaje original-----
> > > > > > > > > De: Christofer Dutz <ch...@c-ware.de>> Enviado
> el:
> > > > > > > > > viernes,
> > > > > > > > > 19 de febrero de 2021 10:17
> > > > > > > > > Para: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > > distribution
> > > > > > > > >
> > > > > > > > > I'll try to guess what you wanted to say here ...
> > > > > > > > >
> > > > > > > > > But I think these are exactly the changes I comitted a an
> > > > > > > > > hour ago,
> > > > > > > > right?
> > > > > > > > > At least in general I replaced all the references to names
> > > > > > > > > with versions to the changed ones.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Chris
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > Von: Maria Jose Esteve <mj...@iest.com>>
> > > > > > > > > Gesendet: Freitag, 19. Februar 2021 10:01
> > > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > > > > distribution
> > > > > > > > >
> > > > > > > > > Hi,
> > > > > > > > > Mi distribución hace referencia en el fichero
> > > > > > > > > "./frameworks/royale-config.xml" a las librerías:
> > > > > > > > >
> > > > > > > > > <js-external-library-path>
> > > > > > > > >
> > > > > > > > >
> > > > >
> <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.
> > > > > > > > > sw
> > > > > > > > > c</path-element>
> > > > > > > > >
> > > > > > > > >
> > > > > > > > <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-
> > > > > > > > ty
> > > > > > > > pede
> > > > > > > > fs.s
> > > > > > > > wc</path-element>
> > > > > > > > > </js-external-library-path>
> > > > > > > > >
> > > > > > > > > Las correctas son:
> > > > > > > > >
> > > > > > > > > <js-external-library-path>
> > > > > > > > >
> > > > > > >
> > > > > > > <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> > > > > > > > >
> > > > > > >
> > > > > > > <path-element>../js/libs/royale-typedefs-gcl.swc</path-element
> > > > > > > >
> > > > > > > > > </js-external-library-path>
> > > > > > > > >
> > > > > > > > > Hiedra
> > > > > > > > >
> > > > > > > > > -----Mensaje original-----
> > > > > > > > > De: Christofer Dutz <ch...@c-ware.de>> Enviado
> el:
> > > > > > > > > viernes,
> > > > > > > > > 19 de febrero de 2021 9:39
> > > > > > > > > Para: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > > distribution
> > > > > > > > >
> > > > > > > > > Ok,
> > > > > > > > >
> > > > > > > > > so the config xml files in the distribution were still
> > > > > > > > > pointing to the old names. I updated them all to now refer
> > > > > > > > > to
> > > the names.
> > > > > > > > > I tried things in Carlos' demo project, and I'm no-longer
> > > > > > > > > getting the errors, however compilation seems to take for
> > ever.
> > > > > > > > >
> > > > > > > > > Please try out the changes and tell me if there are any
> > > > > > > > > problems with
> > > > > > > > them.
> > > > > > > > >
> > > > > > > > > Chris
> > > > > > > > >
> > > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > Von: Christofer Dutz <ch...@c-ware.de>>
> > > > > > > > > Gesendet: Donnerstag, 18. Februar 2021 23:17
> > > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > > distribution
> > > > > > > > >
> > > > > > > > > Hi Carlos,
> > > > > > > > >
> > > > > > > > > I'll look into this tomorrow.
> > > > > > > > >
> > > > > > > > > Chris
> > > > > > > > >
> > > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > Von: Carlos Rovira <ca...@apache.org>>
> > > > > > > > > Gesendet: Donnerstag, 18. Februar 2021 17:49
> > > > > > > > > An: Apache Royale Development <de...@royale.apache.org>>
> > > > > > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > > > > > > distribution
> > > > > > > > >
> > > > > > > > > Hi, I think I talked very quickly, sorry, there seems to
> > > > > > > > > be a
> > > > > > problem.
> > > > > > > > >
> > > > > > > > > @Christofer Dutz <ch...@c-ware.de>> you can
> > > > > > > > > download this
> > > > > > > > > project:
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > https://github.com/apache/royale-asjs/files/6004363/Toggle
> > > > > > > > > Bu
> > > > > > > > > tton
> > > > > > > > > BarI
> > > > > > > > > ss
> > > > > > > > > ue.zip
> > > > > > > > >
> > > > > > > > > Then using VSCode with AS3&MXML and adding the Maven
> > > > distribution.
> > > > > > > > > Then hit CTRL+ENTER and you will get the following fail.
> > > > > > > > > Using ANT distribution is working fine.
> > > > > > > > > Can you take a look?
> > > > > > > > >
> > > > > > > > > Royale Compiler Shell
> > > > > > > > > (fcsh) mxmlc --debug=false +configname=royale
> > > > > > > > > --targets=JSRoyale --source-map=true
> > > > > > > > > --html-template=src/html/jewel-example-index-template.html
> > > > > > > > >
> > > > > > > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapph
> > > > > > > > > ir
> > > > > > > > > e-Th
> > > > > > > > > eme/
> > > > > > > > > sr
> > > > > > > > > c/main/resources/defaults.css
> > > > > > > > > --source-path+=src
> > > > > > > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyal
> > > > > > > > > --source-path+--library-path+eJ S.sw c
> > > > > > > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > > > > > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaul
> > > > > > > > > ts .css -js-dynamic-access-unknown-members=true --
> > > > > > > > > src/App.mxml
> > > > > > > > > fcsh: Assigned 1 as the compile target id The project 'App'
> > > > > > > > > has been successfully compiled and optimized.
> > > > > > > > > Compile status: 0
> > > > > > > > > Elapsed time: 14.211105399 seconds Feb 18, 2021 5:43:40 PM
> > > > > > > > > com.google.javascript.jscomp.LoggerErrorManager
> > > > > > > > > printSummary
> > > > > > > > > INFO: 0 error(s), 0 warning(s), 96.5% typed
> > > > > > > > > (fcsh) quit
> > > > > > > > > Compiler shell exited with code: 0 Royale Compiler Shell
> > > > > > > > > (fcsh) mxmlc --debug=false +configname=royale
> > > > > > > > > --targets=JSRoyale --source-map=true
> > > > > > > > > --html-template=src/html/jewel-example-index-template.html
> > > > > > > > >
> > > > > > > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapph
> > > > > > > > > ir
> > > > > > > > > e-Th
> > > > > > > > > eme/
> > > > > > > > > sr
> > > > > > > > > c/main/resources/defaults.css
> > > > > > > > > --source-path+=src
> > > > > > > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyal
> > > > > > > > > --source-path+--library-path+eJ S.sw c
> > > > > > > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > > > > > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaul
> > > > > > > > > ts .css -js-dynamic-access-unknown-members=true --
> > > > > > > > > src/App.mxml
> > > > > > > > > fcsh: Assigned 1 as the compile target id Compile status:
> > > > > > > > > 5 Elapsed
> > > > > > > time:
> > > > > > > > > 0.618407478 seconds
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > > > > > > > > col: 0 Error: unable to open
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
> > > > > > > > >
> > > > > > > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/fr
> > > > > > > > > am
> > > > > > > > > ewor
> > > > > > > > > ks/r
> > > > > > > > > oy
> > > > > > > > > ale-config.xml
> > > > > > > > > (line: 81)
> > > > > > > > >
> > > > > > > > > </js-external-library-path>
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > > > > > > > > col: 0 Error: unable to open
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
> > > > > > > > >
> > > > > > > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/fr
> > > > > > > > > am
> > > > > > > > > ewor
> > > > > > > > > ks/r
> > > > > > > > > oy
> > > > > > > > > ale-config.xml
> > > > > > > > > (line: 81)
> > > > > > > > >
> > > > > > > > > </js-external-library-path>
> > > > > > > > > (fcsh)
> > > > > > > > > Quick Compile failed. Errors in compiler output.
> > > > > > > > >
> > > > > > > > > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
> > > > > > > > > (<ca...@apache.org>>)
> > > > > > > > > escribió:
> > > > > > > > >
> > > > > > > > > > Hi,
> > > > > > > > > >
> > > > > > > > > > I rebuilt all from scratch just now and finally the
> > > > > > > > > > distribution too and tried in VSCode and all seems to
> > > > > > > > > > work fine
> > > > > for me.
> > > > > > > > > >
> > > > > > > > > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> > > > > > > > > > christofer.dutz@c-ware.de<ma...@c-ware.de>>) escribió:
> > > > > > > > > >
> > > > > > > > > >> Hi Piotr,
> > > > > > > > > >>
> > > > > > > > > >> that class is located in lib\external\flex-tool-api.jar
> > > > > > > > > >> At least in my distribution it's there and it contains
> > > > > > > > > >> the
> > > class.
> > > > > > > > > >>
> > > > > > > > > >> How are you calling the build that's failing?
> > > > > > > > > >>
> > > > > > > > > >> Chris
> > > > > > > > > >>
> > > > > > > > > >> -----Ursprüngliche Nachricht-----
> > > > > > > > > >> Von: Piotr Zarzycki <pi...@gmail.com>>
> > > > > > > > > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> > > > > > > > > >> An: Apache Royale Development <de...@royale.apache.org>>
> > > > > > > > > >> Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > > > > > > >> distribution
> > > > > > > > > >>
> > > > > > > > > >> Chris,
> > > > > > > > > >>
> > > > > > > > > >> I just checked and I'm not able build project anymore
> > > > > > > > > >> using
> > > > > > > > > distribution:
> > > > > > > > > >>
> > > > > > > > > >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
> > > > > > > > > >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
> > > > > > > > > >> -Xms356m -Xmx3000m
> > > > > > > > > >> : Error: Could not find or load main class
> > > > > > > > > >> org.apache.royale.compiler.clients.MXMLJSC
> > > > > > > > > >> : Caused by: java.lang.NoClassDefFoundError:
> > > > > > > > > >> org/apache/flex/tools/FlexTool
> > > > > > > > > >>
> > > > > > > > > >> I'm done for today, so I will answer anything tomorrow.
> > > > > > > > > >>
> > > > > > > > > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
> > > > > > > > > >> <ch...@c-ware.de>>
> > > > > > > > > >> napisał(a):
> > > > > > > > > >>
> > > > > > > > > >> > Ok ...
> > > > > > > > > >> >
> > > > > > > > > >> > so I just pushed another change. Now the distribution
> > > > > > > > > >> > should also contain an empty spark.css, just like the
> > > > > > > > > >> > Ant
> > > > one.
> > > > > > > > > >> >
> > > > > > > > > >> > Chris
> > > > > > > > > >> >
> > > > > > > > > >> >
> > > > > > > > > >> > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > Von: Christofer Dutz <ch...@c-ware.de>>
> > > > > > > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> > > > > > > > > >> > An: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > > >> > Betreff: AW: Align Maven IDE distribution with Ant
> > > > > > > > > >> > IDE distribution
> > > > > > > > > >> >
> > > > > > > > > >> > Ok,
> > > > > > > > > >> >
> > > > > > > > > >> > so that should now be fixed. Leaves the "spark.css"
> > > > > > > > > >> > Having had a look, it seems as if the Ant build
> > > > > > > > > >> > creates an empty
> > > > > > > > > >> spark.css.
> > > > > > > > > >> >
> > > > > > > > > >> > Is this all we need? If yes, then I'll have that in
> > > > > > > > > >> > ther in no
> > > > > > > time.
> > > > > > > > > >> >
> > > > > > > > > >> > Chris
> > > > > > > > > >> >
> > > > > > > > > >> > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > Von: Piotr Zarzycki <pi...@gmail.com>>
> > > > > > > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> > > > > > > > > >> > An: Apache Royale Development <de...@royale.apache.org>>
> > > > > > > > > >> > Betreff: Re: Align Maven IDE distribution with Ant
> > > > > > > > > >> > IDE distribution
> > > > > > > > > >> >
> > > > > > > > > >> > *(I assume that's in the "frameworks/js/libs"
> > > > > > > > > >> > directory? *
> > > > > > > > > >> >
> > > > > > > > > >> > Yes this is the directory.
> > > > > > > > > >> >
> > > > > > > > > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> > > > > > > > > >> > <ch...@c-ware.de>>
> > > > > > > > > >> > napisał(a):
> > > > > > > > > >> >
> > > > > > > > > >> > > Hi Piotr,
> > > > > > > > > >> > >
> > > > > > > > > >> > > Ok ... so Ant seems to be adding a "JS" to the end
> > > > > > > > > >> > > of every name (I assume that's in the
> > "frameworks/js/libs"
> > > > > directory?
> > > > > > > > > >> > >
> > > > > > > > > >> > > Also I'll try to find out where the "spark.css"
> > > > > > > > > >> > > should come from
> > > > > > > > ...
> > > > > > > > > >> > > and where it should go to.
> > > > > > > > > >> > >
> > > > > > > > > >> > > Chris
> > > > > > > > > >> > >
> > > > > > > > > >> > >
> > > > > > > > > >> > > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > > Von: Piotr Zarzycki <pi...@gmail.com>>
> > > > > > > > > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> > > > > > > > > >> > > An: Apache Royale Development
> > > > > > > > > >> > > <de...@royale.apache.org>>
> > > > > > > > > >> > > Betreff: Re: Align Maven IDE distribution with Ant
> > > > > > > > > >> > > IDE distribution
> > > > > > > > > >> > >
> > > > > > > > > >> > > Chris,
> > > > > > > > > >> > >
> > > > > > > > > >> > > Looks better but here is the comparision what I
> > > > > > > > > >> > > have in Ant distribution vs Maven distribution in
> > > > > > > > > >> > > case of
> > > names.
> > > > > > > > > >> > > On the left Ant distribution, on the right Maven.
> > > > > > > > > >> > > It is
> > > > > folder:
> > > > > > > > > >> > > frameworks\js\libs\ [1]
> > > > > > > > > >> > >
> > > > > > > > > >> > > [1] https://ibb.co/W2DzcDb
> > > > > > > > > >> > >
> > > > > > > > > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> > > > > > > > > >> > > <ch...@c-ware.de>>
> > > > > > > > > >> > > napisał(a):
> > > > > > > > > >> > >
> > > > > > > > > >> > > > And done ...
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > Now all elements in the distribution only consist
> > > > > > > > > >> > > > of their name and file-ending ... all versions
> > > > > > > > > >> > > > and classifiers have been
> > > > > > > > > removed.
> > > > > > > > > >> > > > Please provide me with feedback on if this solves
> > > > > > > > > >> > > > the
> > > > > > issues.
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > Chris
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > > > Von: Christofer Dutz <ch...@c-ware.de>>
> > > > > > > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> > > > > > > > > >> > > > An: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > > >> > > > Betreff: AW: Align Maven IDE distribution with
> > > > > > > > > >> > > > Ant IDE distribution
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > I'll probably have a fix for that in a few
> > > > > > > > > >> > > > minuntes
> > > ...
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > Chris
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > > > Von: Piotr Zarzycki <pi...@gmail.com>>
> > > > > > > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> > > > > > > > > >> > > > An: Apache Royale Development
> > > > > > > > > >> > > > <de...@royale.apache.org>>
> > > > > > > > > >> > > > Betreff: Re: Align Maven IDE distribution with
> > > > > > > > > >> > > > Ant IDE distribution
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > Chris,
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > No it's not about not picking up by IDE at all.
> > > > > > > > > >> > > > Moonshine and VSCode are able to build projects
> > > > > > > > > >> > > > using Maven distribution package! It is about
> > > > > > > > > >> > > > project which are mixed for example when user
> > > > > > > > > >> > > > wanted to use Jewel module + RemoteObject class
> > > > > > > > > >> > > > from MXRoyale module. In that case user need to
> > > > > > > > > >> > > > point explicilty as a compiler options in IDE
> > > > > > > > > >> > > > that he wanted to have SWC included and need to
> > > > > > > > > >> > > > exclude css from that swc to
> > > > > > > > > >> > > avoid problems.
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > It is happen like that:
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS
> > > > > > > > > >> > > > -js-library-path+.s
> > > > > > > > > >> > > > wc
> > > > > > > > > >> > > >
> > > > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> > > > > > > > > >> > > > cs
> > > > > > > > > >> > > > s
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > If I would like to use maven distribution user
> > > > > > > > > >> > > > need to know version for that compiler options.
> > > > > > > > > >> > > > It is even more tricky when your swc is called
> > > > > > > > > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.
> > > > > > > > > >> > > > cs
> > > > > > > > > >> > > > s
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > Thanks,
> > > > > > > > > >> > > > Piotr
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> > > > > > > > > >> > > > <ch...@c-ware.de>>
> > > > > > > > > >> > > > napisał(a):
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > > Hi Piotr,
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > And is really the version-suffix causing it to
> > > > > > > > > >> > > > > not be picked up by the IDEs?
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > Chris
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > > > > >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> > > > > > > > > >> > > > > An: dev@royale.apache.org
> > > > > > > > > >> > > > > Betreff: Re: Align Maven IDE distribution with
> > > > > > > > > >> > > > > Ant IDE distribution
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > Hi Chris,
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > This is the only thing which seems to be a
> > > > > > > > > >> > > > > constant problem
> > > > > > > > > here.
> > > > > > > > > >> > > > > I personally and some users will be much more
> > > > > > > > > >> > > > > happy having that
> > > > > > > > > >> > change.
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > Thanks,
> > > > > > > > > >> > > > > Piotr
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> > > > > > > > > >> > > > > <ch...@c-ware.de>
> > > > > > > > > >> > > > > wrote:
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > > Hi Piotr,
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > I'd be happy to help with that.
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > I did simply ask for a list of things that
> > > > > > > > > >> > > > > > need to be changed in order to get things
> > > > > > > > > >> > > > > > working, but never got said list, so I never
> > > > > > > > > >> > > > > > knew what I could do to make the Maven
> > > > > > > > > >> > > > > > distribution match up to the
> > > > > > > > > >> > > > Ant built one.
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > Chris
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > > > > > Von: Piotr Zarzycki
> > > > > > > > > >> > > > > > <pi...@gmail.com>
> > > > > > > > > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> > > > > > > > > >> > > > > > An: Apache Royale Development
> > > > > > > > > >> > > > > > <de...@royale.apache.org>
> > > > > > > > > >> > > > > > Betreff: Align Maven IDE distribution with
> > > > > > > > > >> > > > > > Ant IDE distribution
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > Hi Guys,
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > It's been couple of times when user complains
> > > > > > > > > >> > > > > > that he have problems with using Maven
> > > > > > > > > >> > > > > > distribution vs Ant distribution in IDE in a
> > > > > > > > > >> > > > > > mixed project Jewel + MX/Spark
> > > > > > > etc.
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > Can we have that resolve once for all and
> > > > > > > > > >> > > > > > adjust Maven distribution folder to produce
> > > > > > > > > >> > > > > > proper names of
> > > > > swcs ?
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > Currently when I build Maven IDE distribution
> > > > > > > > > >> > > > > > I
> > > > have:
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > When I build Ant IDE distribution I have:
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > MXRoyale-js.swc
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > Thanks,
> > > > > > > > > >> > > > > > --
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > Piotr Zarzycki
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > --
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > Piotr Zarzycki
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > --
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > Piotr Zarzycki
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> > >
> > > > > > > > > >> > > --
> > > > > > > > > >> > >
> > > > > > > > > >> > > Piotr Zarzycki
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >> >
> > > > > > > > > >> > --
> > > > > > > > > >> >
> > > > > > > > > >> > Piotr Zarzycki
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > > > >>
> > > > > > > > > >> --
> > > > > > > > > >>
> > > > > > > > > >> Piotr Zarzycki
> > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > Carlos Rovira
> > > > > > > > > > Apache Member & Apache Royale PMC *Apache Software
> > > > > > > > > > Foundation* http://about.me/carlosrovira
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > Carlos Rovira
> > > > > > > > > Apache Member & Apache Royale PMC *Apache Software
> > > > > > > > > Foundation* http://about.me/carlosrovira
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > >
> > > > > > > > Piotr Zarzycki
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > >
> > > > > > > Piotr Zarzycki
> > > > > > >
> > > > > > --
> > > > > >
> > > > > > Piotr Zarzycki
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Carlos Rovira
> > > > > Apache Member & Apache Royale PMC
> > > > > *Apache Software Foundation*
> > > > > http://about.me/carlosrovira
> > > > >
> > > >
> > > >
> > > > --
> > > > Carlos Rovira
> > > > Apache Member & Apache Royale PMC
> > > > *Apache Software Foundation*
> > > > http://about.me/carlosrovira
> > > >
> > >
> > >
> > > --
> > >
> > > Piotr Zarzycki
> > >
> >
>
--
Piotr Zarzycki
RE: Align Maven IDE distribution with Ant IDE distribution
Posted by Maria Jose Esteve <mj...@iest.com>.
Without "option-with-swf" it compiles ok, but with "option-with-swf" it doesn't. As you have mentioned Ace needs some adjustment [1]
When I manage to compile (without option-with-swf option) I can't compile any of my projects, in all I get the same <fx: Array> error
[1]
[INFO] --- royale-maven-plugin:0.9.8-SNAPSHOT:compile-as (default-compile-as) @ Ace ---
[INFO] Executing COMPC in tool group Royale with args: [-load-config=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs\frameworks\projects\Ace\target\compile-swf-config.xml, -js-default-initializers=false, -source-map=true, -source-map-source-root=/frameworks/projects/Ace/src/main/royale/, -js-complex-implicit-coercions=false, -js-vector-index-checks=false, -js-resolve-uncertain=false, -compiler.targets=SWF,JSRoyale, -compiler.strict-xml=true]
args:
-load-config=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs\frameworks\projects\Ace\target\compile-swf-config.xml
-js-default-initializers=false
-source-map=true
-source-map-source-root=/frameworks/projects/Ace/src/main/royale/
-js-complex-implicit-coercions=false
-js-vector-index-checks=false
-js-resolve-uncertain=false
-compiler.targets=SWF,JSRoyale
-compiler.strict-xml=true
target:SWF
target:JSRoyale
COMPC
Loading configuration: D:\Develop_Royale\Projects\Royale-SDK\royale-asjs\frameworks\projects\Ace\target\compile-swf-config.xml
0.1429886 seconds
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Apache Royale: Framework: Parent 0.9.8-SNAPSHOT:
[INFO]
[INFO] Apache Royale: Framework: Parent ................... SUCCESS [ 3.009 s]
[INFO] Apache Royale: Framework ........................... SUCCESS [ 0.303 s]
[INFO] Apache Royale: Framework: Fonts .................... SUCCESS [ 2.359 s]
[INFO] Apache Royale: Framework: Libs ..................... SUCCESS [ 0.745 s]
[INFO] Apache Royale: Framework: Libs: Language ........... SUCCESS [ 2.390 s]
[INFO] Apache Royale: Framework: Libs: Core ............... SUCCESS [ 6.662 s]
[INFO] Apache Royale: Framework: Libs: Binding ............ SUCCESS [ 1.049 s]
[INFO] Apache Royale: Framework: Libs: Graphics ........... SUCCESS [ 2.547 s]
[INFO] Apache Royale: Framework: Libs: Collections ........ SUCCESS [ 0.957 s]
[INFO] Apache Royale: Framework: Libs: Basic .............. SUCCESS [ 9.811 s]
[INFO] Apache Royale: Framework: Libs: JQuery ............. SUCCESS [ 0.732 s]
[INFO] Apache Royale: Framework: Libs: Ace ................ FAILURE [ 0.277 s]
[INFO] Apache Royale: Framework: Libs: Charts ............. SKIPPED
Thx.
Hiedra.
-----Mensaje original-----
De: Christofer Dutz <ch...@c-ware.de>
Enviado el: lunes, 22 de febrero de 2021 12:25
Para: dev@royale.apache.org
Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
Ok ...
After Carlos kindly provided me with the missing Adobe artifacts I could also try the "with-swf" build ... seems the ACE build needs some fixing ... I'm on it.
Chris
-----Ursprüngliche Nachricht-----
Von: Maria Jose Esteve <mj...@iest.com>
Gesendet: Montag, 22. Februar 2021 12:12
An: dev@royale.apache.org
Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
Flying 😝
Hiedra
-----Mensaje original-----
De: Christofer Dutz <ch...@c-ware.de>
Enviado el: lunes, 22 de febrero de 2021 12:09
Para: dev@royale.apache.org
Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
Hi all,
It seems Carlos reset the version of the compiler and updated the version in the asjs module.
So it looks as if that's good (I really hate when things are out of sync ;) ).
Anyways ... I just pushed some chaged to typedef to build the ACE typedef module
And updated the asjs module to build the ACE framework module and fine tuned the distribution to add the missing swcs (JS and SWF).
Please try out these changes.
Chris
-----Ursprüngliche Nachricht-----
Von: Piotr Zarzycki <pi...@gmail.com>>
Gesendet: Montag, 22. Februar 2021 12:05
An: Apache Royale Development <de...@royale.apache.org>>
Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
We are using again compiler 0.9.8-SNAPSHOT yes ?
pon., 22 lut 2021 o 12:01 Alina Kazi <al...@gmail.com>> napisał(a):
> Thanks Chris.
>
> On Mon, Feb 22, 2021 at 3:59 PM Maria Jose Esteve <mj...@iest.com>>
> wrote:
>
> > Thanks Chris, I'll be listening.
> >
> > Hiedra
> > -----Mensaje original-----
> > De: Christofer Dutz <ch...@c-ware.de>>
> > Enviado el: lunes, 22 de febrero de 2021 11:52
> > Para: dev@royale.apache.org<ma...@royale.apache.org>
> > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi all,
> >
> > so I had a look and it seems the distribution was missing a number of
> > libraries, which seem to have been added, since I created the
> distribution
> > in 2016 ... Some modules were added after that, but not all. It seems all
> > probelms you are reporting result from some of them missing. I added them
> > and now they are correctly added to my distributions. I also compared
> them
> > with the ANT built version ... the last missing piece is the ACE module,
> > which was disabled in Maven as the Ace typedef was not a maven module. I
> > took the liberty of creating a Maven typedef module for ace and re-added
> > the ACE module to the Maven build and to the distribution.
> >
> > I'm currently testing a few things and will commit as soon as I'm happy
> > with my changes.
> >
> >
> > Chris
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Alina Kazi <al...@gmail.com>>
> > Gesendet: Montag, 22. Februar 2021 11:26
> > An: dev@royale.apache.org<ma...@royale.apache.org>
> > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi,
> > I am also facing a problem with latest SDK.
> > when I add something new in emulation and re-build SDK. when I recompile
> > the application with the latest distribution , error in application does
> > not go away that I already fixed in previous commit.
> > It seems that the distribution does not have everything latest that it
> > should have.
> >
> > -Alina
> >
> > On Mon, Feb 22, 2021 at 3:20 PM Maria Jose Esteve <mj...@iest.com>>
> > wrote:
> >
> > > I can't work either.
> > > With no Maven, Ant combination, always error: "Error <fx: Array> This
> > > tag could not be resolved to an ActionScript class ..."
> > >
> > > Do you know what happens? I am not able to understand or fix this.
> > >
> > > Hiedra.
> > >
> > > -----Mensaje original-----
> > > De: Piotr Zarzycki <pi...@gmail.com>> Enviado el: lunes, 22
> > > de febrero de 2021 11:03
> > > Para: Apache Royale Development <de...@royale.apache.org>>
> > > Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > Hi Guys,
> > >
> > > I just tried new distribution and I'm able to build simple example.
> > > However our Royale project is not building - I'm getting following
> > > exception:
> > >
> > > : Exception in thread "main" java.lang.NoClassDefFoundError:
> > > org/apache/commons/lang/StringEscapeUtils
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.LiteralEmitter.emit(
> > > LiteralEmitter.java:225)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitLiteral(JSRoyaleEmitter.java:1040)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.visitLiteral(ASBlockWalker.java:479)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeSwitch.handle(ASNodeSwitch.java:373)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.goog.JSGoogEmitter.emit
> > > AssignedValue(JSGoogEmitter.java:965)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitAssignmen
> > > tCoercion(JSEmitter.java:917)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitAssignmentCoercion(JSRoyaleEmitter.java:1558)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
> > > sEmitter.emitContents(FunctionCallArgumentsEmitter.java:103)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
> > > sEmitter.emit(FunctionCallArgumentsEmitter.java:50)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
> > > sEmitter.emit(FunctionCallArgumentsEmitter.java:35)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitArguments
> > > (JSEmitter.java:259)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitArguments(JSRoyaleEmitter.java:986)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallEmitter.
> > > emit(FunctionCallEmitter.java:693)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitFunctionCall(JSRoyaleEmitter.java:906)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.visitFunctionCall(ASBlockWalker.java:330)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeSwitch.handle(ASNodeSwitch.java:207)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.goog.JSGoogEmitter.emit
> > > AssignedValue(JSGoogEmitter.java:965)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitAssignmen
> > > tCoercion(JSEmitter.java:917)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitAssignmentCoercion(JSRoyaleEmitter.java:1558)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.BinaryOperatorEmitte
> > > r.super_emitBinaryOperator(BinaryOperatorEmitter.java:598)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.BinaryOperatorEmitte
> > > r.emit(BinaryOperatorEmitter.java:500)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitBinaryOperator(JSRoyaleEmitter.java:1028)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.visitBinaryOperator(ASBlockWalker.java:538)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeSwitch.handle(ASNodeSwitch.java:348)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.StatementEmitter.emi
> > > t(StatementEmitter.java:40)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.StatementEmitter.emi
> > > t(StatementEmitter.java:29)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitStatement
> > > (JSEmitter.java:349)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitStatement(JSRoyaleEmitter.java:1204)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.visitBlock(ASBlockWalker.java:349)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeSwitch.handle(ASNodeSwitch.java:278)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.as.ASEmitter.emitMethodSco
> > > pe(ASEmitter.java:830)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.MethodEmitter.emit(M
> > > ethodEmitter.java:160)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitMethod(JSRoyaleEmitter.java:891)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.visitFunction(ASBlockWalker.java:290)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeSwitch.handle(ASNodeSwitch.java:152)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmit
> > > ter.emitScripts(MXMLRoyaleEmitter.java:2179)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmit
> > > ter.emitDocument(MXMLRoyaleEmitter.java:899)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleBloc
> > > kWalker.visitDocument(MXMLRoyaleBlockWalker.java:69)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle
> > > (MXMLNodeSwitch.java:89)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(
> > > MXMLBlockWalker.java:156)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleBloc
> > > kWalker.visitFile(MXMLRoyaleBlockWalker.java:61)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle
> > > (MXMLNodeSwitch.java:95)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(
> > > MXMLBlockWalker.java:156)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.visit
> > > CompilationUnit(MXMLBlockWalker.java:187)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.MXMLWriter.writeTo(MX
> > > MLWriter.java:69)
> > > : at
> > >
> > > org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale
> > > .java:411)
> > > : at
> > >
> > > org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRo
> > > yale.java:259)
> > > : at
> > >
> > > org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoy
> > > ale.java:216)
> > > : at
> > > org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:36
> > > 3)
> > > : at
> > > org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298
> > > )
> > > : at
> > >
> > > org.apache.royale.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.ja
> > > va:256)
> > > : at org.apache.royale.compiler.clients.MXMLJSC.main(MXMLJSC.java:238)
> > > : Caused by: java.lang.ClassNotFoundException:
> > > org.apache.commons.lang.StringEscapeUtils
> > > : at
> > >
> > > java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClas
> > > sLoader.java:582)
> > > : at
> > >
> > > java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Cl
> > > assLoaders.java:178)
> > > : at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
> > > : ... 67 more
> > >
> > > niedz., 21 lut 2021 o 18:57 Carlos Rovira <ca...@apache.org>>
> > > napisał(a):
> > >
> > > > Hi,
> > > >
> > > > I worked today on this and finally could solve the problem. A part
> > > > from Chris changes we need a bit more changes since all was set up
> > > > from the compiler to use the old names. So class paths need to be
> > > changed too there.
> > > > Also Google Closure compiler need to be in jar mode instead of
> > unpacked.
> > > >
> > > > Now I can use CMD (or CTRL) + SHIFT + B and select Debug or Release
> > > > option with Actionscript extension and all goes ok.
> > > > When using CMD+ENTER I think VsCode use the experimental build in
> > > > Josh extension and take the SDK in ROYALE_HOME, and since that's the
> > > > one build in the repository with ANT all seems fine, but is not
> > > > using the selected SDK, so the build is not using what you expect.
> > > >
> > > > This is my output now using the Maven Distribution SDK:
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > *> Executing task in folder TourDeJewel:
> > > > /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/b
> > > > in
> > > > /java
> > > > -jar
> > > >
> > > > /Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas
> > > > -1
> > > > .6.0/bin/asconfigc.jar --sdk
> > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven --debug=true
> > > > --project
> > > >
> > > > /Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/Tou
> > > > rD
> > > > eJewel/asconfig.json
> > > >
> > > > <MXMLJSC+royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale
> > > > -m
> > > > aven/frameworks--debug=true+configname=royale--targets=JSRoyale--sou
> > > > rc
> > > > e-path+=src/main/resources--source-map=true--html-template=src/main/
> > > > e-path+re
> > > > sources/jewel-example-index-template.html--theme=${royalelib}/themes
> > > > /J
> > > > ewelTheme/src/main/resources/defaults.css-js-dynamic-access-unknown-
> > > > me mbers=true--src/main/royale/App.mxmlThe
> > > > project 'App' has been successfully compiled.12.80962843
> > > > secondsTerminal will be reused by tasks, press any key to close it.*
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > El sáb, 20 feb 2021 a las 18:16, Christofer Dutz (<
> > > > christofer.dutz@c-ware.de<ma...@c-ware.de>>)
> > > > escribió:
> > > >
> > > > > So I just did a video and posted it to the Royale slack channel ...
> > > > >
> > > > > I can't seem to reproduce the error ... perhaps if you check what
> > > > > I'm doing you can tell me if I'm doing something wrong.
> > > > > I did try to rule out that I might have not configured VSCode to
> > > > > use my distribution by intentionally changing the settings to a
> > > > > wrong
> > > location.
> > > > It
> > > > > didn't work then, and when I changed it back to the correct
> > > > > version, I could build again.
> > > > >
> > > > > Chris
> > > > >
> > > > >
> > > > > -----Ursprüngliche Nachricht-----
> > > > > Von: Carlos Rovira <ca...@apache.org>>
> > > > > Gesendet: Samstag, 20. Februar 2021 15:17
> > > > > An: Apache Royale Development <de...@royale.apache.org>>
> > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > > distribution
> > > > >
> > > > > Hi,
> > > > >
> > > > > sorry, yesterday was mostly offline for some personal things. Many
> > > > > things happen in this thread.
> > > > > I rebuild all today and check. This is what I can report trying to
> > > > > build TDJ with Maven SDK with Chris's changes.
> > > > > Setting my VSCode with AS3&MXML to the Maven SDK just generated:
> > > > >
> > > > > 1.- I can't build with CMD+SHIFT+ENTER, then "Build Debug with AS3
> > > > > Extension Tour de Jewel" (as josh said). I get :
> > > > >
> > > > > Executing task in folder TourDeJewel:
> > > > >
> > > > /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/b
> > > > in
> > > > /java
> > > > > -jar
> > > > >
> > > > >
> > > > /Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas
> > > > -1
> > > > .6.0/bin/asconfigc.jar
> > > > > --sdk /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
> > > > --debug=true
> > > > > --project
> > > > >
> > > > /Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/Tou
> > > > rD
> > > > eJewel/asconfig.json
> > > > > <
> > > > >
> > > > > Error: no se ha encontrado o cargado la clase principal
> > > > > org.apache.royale.compiler.clients.MXMLJSC
> > > > > The terminal process
> > > > >
> > > > >
> > > > "/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/
> > > > bi
> > > > n/java
> > > > > '-jar',
> > > > >
> > > > >
> > > > '/Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgena
> > > > s-
> > > > 1.6.0/bin/asconfigc.jar',
> > > > > '--sdk',
> > > > > '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven',
> > > > > '--debug=true', '--project',
> > > > >
> > > > >
> > > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/TourDeJewel/asconfig.json'"
> > > > > terminated with exit code: 1.
> > > > >
> > > > > Terminal will be reused by tasks, press any key to close it.
> > > > >
> > > > >
> > > > > 2.- I can build with CMD+ENTER. I get:
> > > > >
> > > > > Royale Compiler Shell
> > > > > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> > > > > --source-path+=src/main/resources --source-map=true
> > > > > --html-template=src/main/resources/jewel-example-index-template.ht
> > > > > ml
> > > > > --theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults
> > > > > .c ss -js-dynamic-access-unknown-members=true --
> > > > > src/main/royale/App.mxml
> > > > > fcsh: Assigned 1 as the compile target id The project 'App' has
> > > > > been successfully compiled and optimized.
> > > > > Compile status: 0
> > > > > Elapsed time: 26.925719521 seconds Feb 20, 2021 3:10:42 PM
> > > > > com.google.javascript.jscomp.LoggerErrorManager
> > > > > printSummary
> > > > > INFO: 0 error(s), 0 warning(s), 97.8% typed
> > > > > (fcsh)
> > > > >
> > > > > I don't understand fully the differences between one method and
> > > > > the other and why I get different results. I guess know what's
> > > > > happening is needed
> > > > so
> > > > > Chris can do the proper changes. probably there are paths and
> > > > > locations mixed.
> > > > >
> > > > > @Chris, one thing I did in the past was to compare maven
> > > > > distribution
> > > > with
> > > > > ant distribution so both has most of the things in the same place.
> > > > > I
> > > > think
> > > > > some files where left in more than one place (like mxmlc).
> > > > >
> > > > > If you could take a look at it, that will for sure fix the issue.
> > > > > You
> > > > have
> > > > > TDJ and the other project to test if that works and now we know
> > > > > that is better to try with CMD+SHIFT+ENTER, then "Build Debug with
> > > > > AS3 Extension Tour de Jewel"
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > El vie, 19 feb 2021 a las 18:45, Piotr Zarzycki (<
> > > > > piotrzarzycki21@gmail.com<ma...@gmail.com>>)
> > > > > escribió:
> > > > >
> > > > > > It looks like something bad has happened with my environment. I
> > > > > > changed lately Java settings a bit. You can see what is setup in
> > > > > > my
> > > > > stacktrace.
> > > > > >
> > > > > > I will get back to that over the weekend or on Monday.
> > > > > >
> > > > > > On Fri, 19 Feb 2021 at 18:24, Maria Jose Esteve
> > > > > > <mj...@iest.com>>
> > > > > wrote:
> > > > > >
> > > > > > > Hi,
> > > > > > > Piotr, I just tested your distribution with my project and the
> > > > > > compilation
> > > > > > > was successful, no errors.
> > > > > > > Running the application seems to be working fine too.
> > > > > > > (I compile the application with mvn)
> > > > > > >
> > > > > > > What do they need me to try now?
> > > > > > >
> > > > > > > Hiedra.
> > > > > > > -----Mensaje original-----
> > > > > > > De: Piotr Zarzycki <pi...@gmail.com>> Enviado el:
> > > > > > > viernes,
> > > > > > > 19 de febrero de 2021 18:11
> > > > > > > Para: Apache Royale Development <de...@royale.apache.org>>
> > > > > > > Asunto: Re: Align Maven IDE distribution with Ant IDE
> > > > > > > distribution
> > > > > > >
> > > > > > > Did you test my distribution ?
> > > > > > >
> > > > > > > pt., 19 lut 2021 o 18:00 Christofer Dutz
> > > > > > > <ch...@c-ware.de>>
> > > > > > > napisał(a):
> > > > > > >
> > > > > > > > So I did a bit more of testing.
> > > > > > > >
> > > > > > > > So after I had no issues building Carlos' example, I tried
> > > > > > > > the TourDeJewl example.
> > > > > > > > So I opened VSCode in the directory of TDJ example ...
> > > > > > > > created a settings.json with the folowing content:
> > > > > > > >
> > > > > > > > {
> > > > > > > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > > > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > > > > > > }
> > > > > > > >
> > > > > > > > Hit STRG+Enter and waited a bit ...
> > > > > > > >
> > > > > > > > Then I opened the output in Chrome and have a fully
> > > > > > > > functioning TDJ application.
> > > > > > > >
> > > > > > > > So I wouldn't consider the build broken.
> > > > > > > >
> > > > > > > > Chris
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > Von: Maria Jose Esteve <mj...@iest.com>>
> > > > > > > > Gesendet: Freitag, 19. Februar 2021 17:51
> > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Sure, that would be "expected", but like I told you: if I
> > > > > > > > change it to MXRoyaleJS.swc, the app "does nonsense".
> > > > > > > > Maybe something has gotten my way.
> > > > > > > >
> > > > > > > > I will read your messages and see if I can help with
> something.
> > > > > > > >
> > > > > > > > Hiedra.
> > > > > > > > -----Mensaje original-----
> > > > > > > > De: Christofer Dutz <ch...@c-ware.de>> Enviado el:
> > > > > > > > viernes,
> > > > > > > > 19 de febrero de 2021 14:12
> > > > > > > > Para: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Hi Hiedra,
> > > > > > > >
> > > > > > > > well I changed the distribution to make the names like in
> > > > > > > > the ANT distribution yesterday.
> > > > > > > > But you are passing in an argument telling the compiler to
> > > > > > > > use the old format and now it should be the new ...
> > > > > > > >
> > > > > > > > Try:
> > > > > > > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> > > > > > > > defaults.css; For -compiler.exclude-defaults-css-files =
> > > > > MXRoyaleJS.swc:
> > > > > > > > defaults.css;
> > > > > > > >
> > > > > > > > Instead of your variant.
> > > > > > > >
> > > > > > > > Chris
> > > > > > > >
> > > > > > > >
> > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > Von: Maria Jose Esteve <mj...@iest.com>>
> > > > > > > > Gesendet: Freitag, 19. Februar 2021 14:08
> > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Yes, until recently I also compiled only with Maven. Due to
> > > > > > > > the problem with the spark.css I started to do the double
> > > > > > > > compilation of
> > > > > > > MAVEN and ANT.
> > > > > > > >
> > > > > > > > It's funny, now, the swc's are not generated with
> > > > > > > > "xxxx-0.9.8-SNAPSHOT-js.swc" in the distribution BUT if in
> > > > > > > > the pom of my project I change in additionalCompilerOptions:
> > > > > > > > -compiler.exclude-defaults-css-files = MXRoyale - $
> > > > > > > > {royale.framework.version} -js.swc: defaults.css; For
> > > > > > > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> > > > > > > > defaults.css; My application starts to do nonsense (for
> > > > > > > > example the change of selectedContent in my
> > > > > > > > ApplicationMainContent does not display)
> > > > > > > >
> > > > > > > > Chris, thank you.
> > > > > > > > Hiedra
> > > > > > > >
> > > > > > > > -----Mensaje original-----
> > > > > > > > De: Christofer Dutz <ch...@c-ware.de>> Enviado el:
> > > > > > > > viernes,
> > > > > > > > 19 de febrero de 2021 13:09
> > > > > > > > Para: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Hi Hiedra,
> > > > > > > >
> > > > > > > > I have to admit that I've never used VSCode. Every time I do
> > > > > > > > any development I usually use one of the JetBrains IDEs.
> > > > > > > > Royale Stuff I do in IntelliJ ... with my "Flexmojos Hack"
> > > > > > > > it can be used quite well. And I always compile with Maven.
> > > > > > > >
> > > > > > > > But thanks for the explanation on why the other path is set
> > > > > > differently.
> > > > > > > >
> > > > > > > > I guess we'll have to wait till some others can tell me what
> > > > > > > > needs to be changed.
> > > > > > > >
> > > > > > > > Chris
> > > > > > > >
> > > > > > > >
> > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > Von: Maria Jose Esteve <mj...@iest.com>>
> > > > > > > > Gesendet: Freitag, 19. Februar 2021 12:48
> > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Hello Chris,
> > > > > > > > so that I can debug my changes in the SDK I need to set the
> > > > > > > > path of the "as3mxml.sdk.editor" to the asjs directory of my
> > > > > > > > fork, for this reason the path of the "
> as3mxml.sdk.framework"
> > > > > > > > points to the directory of the maven distribution and the
> > > "as3mxml.sdk.editor"
> > > > > > > > to
> > > > > > code.
> > > > > > > >
> > > > > > > > ">> I'm not getting any errors from VSCode. But well ... if
> > > > > > > > I hit
> > > > > > > > SHIFT+Enter it starts doing something where if failed prior
> > > > > > > > SHIFT+to my
> > > > > > > > >> changes this morning and is no longer complaining, but
> > > > > > > > >> it's also not
> > > > > > > > doing much (I can't see it create a "bin" directory)"
> > > > > > > >
> > > > > > > > I don't quite understand this ... possibly because of my
> > > > > > > > lack of
> > > > > > > knowledge.
> > > > > > > >
> > > > > > > > I have not tried Carlos's project but this afternoon I will
> > > > > > > > be able to do it and I will be able to give more details.
> > > > > > > >
> > > > > > > > Thx.
> > > > > > > > Hiedra.
> > > > > > > >
> > > > > > > > -----Mensaje original-----
> > > > > > > > De: Christofer Dutz <ch...@c-ware.de>> Enviado el:
> > > > > > > > viernes,
> > > > > > > > 19 de febrero de 2021 11:51
> > > > > > > > Para: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Hi Heidra,
> > > > > > > >
> > > > > > > > I just updated Carlos' example to have the same type of
> > > > > > > > setting (C:\\Temp\\RoyaleSDK is where I have my Maven build
> > > > > > > > generate the
> > > > > SDK):
> > > > > > > >
> > > > > > > > setings.js:
> > > > > > > > {
> > > > > > > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > > > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > > > > > > }
> > > > > > > >
> > > > > > > > workspace-code-workspace
> > > > > > > > {
> > > > > > > > "folders": [
> > > > > > > > {
> > > > > > > > "path": ".."
> > > > > > > > }
> > > > > > > > ],
> > > > > > > > "settings": {
> > > > > > > > "as3mxml.sdk.framework":
> "C:\\Temp\\RoyaleSDK",
> > > > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > > > > > > }
> > > > > > > > }
> > > > > > > >
> > > > > > > > I'm not getting any errors from VSCode. But well ... if I
> > > > > > > > hit
> > > > > > > > SHIFT+Enter it starts doing something where if failed prior
> > > > > > > > SHIFT+to my
> > > > > > > > changes this morning and is no longer complaining, but it's
> > > > > > > > also not doing much (I can't see it create a "bin"
> > > > > > > > directory)
> > > > > > > >
> > > > > > > > Chris
> > > > > > > >
> > > > > > > >
> > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > Von: Maria Jose Esteve <mj...@iest.com>>
> > > > > > > > Gesendet: Freitag, 19. Februar 2021 10:53
> > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > If I don't compile with ANT, the mxml extension in vsCode
> > > > > > > > IDE, it doesn't recognize the valid asjs directory for
> > > > "as3mxml.sdk.editor":
> > > > > > > > ...
> > > > > > > > "settings": {
> > > > > > > > "as3mxml.sdk.framework":
> > > > > > > > "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
> > > > > > > > "as3mxml.sdk.editor":
> > > > > > > > "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs"
> > > > > > > > <-------- [download folder repo royale-asjs]
> > > > > > > > }
> > > > > > > > }
> > > > > > > >
> > > > > > > > The error is:
> > > > > > > > " as3mxml.sdk.editor in settings does not point to a valid
> SDK.
> > > > > > > > Requires..."
> > > > > > > >
> > > > > > > > Thx.
> > > > > > > > Hiedra.
> > > > > > > >
> > > > > > > > -----Mensaje original-----
> > > > > > > > De: Piotr Zarzycki <pi...@gmail.com>> Enviado el:
> > > > > > > > viernes, 19 de febrero de 2021 10:44
> > > > > > > > Para: Apache Royale Development <de...@royale.apache.org>>
> > > > > > > > Asunto: Re: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Hi Chris,
> > > > > > > >
> > > > > > > > I just tried your changes and I have same issue. I need to
> > > > > > > > understand what has change enough significantly that it
> > > > > > > > causes compilation fail in such way. It doesn't happen with
> > > > > > > > SDK prepared
> > > > by
> > > > > ANT.
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > > Piotr
> > > > > > > >
> > > > > > > > pt., 19 lut 2021 o 10:33 Maria Jose Esteve
> > > > > > > > <mj...@iest.com>>
> > > > > > > napisał(a):
> > > > > > > >
> > > > > > > > > @Chris you're right, sorry, I didn't download your last
> > commit.
> > > > > > > > > I'm sorry.
> > > > > > > > > Hiedra.
> > > > > > > > >
> > > > > > > > > -----Mensaje original-----
> > > > > > > > > De: Christofer Dutz <ch...@c-ware.de>> Enviado
> el:
> > > > > > > > > viernes,
> > > > > > > > > 19 de febrero de 2021 10:17
> > > > > > > > > Para: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > > distribution
> > > > > > > > >
> > > > > > > > > I'll try to guess what you wanted to say here ...
> > > > > > > > >
> > > > > > > > > But I think these are exactly the changes I comitted a an
> > > > > > > > > hour ago,
> > > > > > > > right?
> > > > > > > > > At least in general I replaced all the references to names
> > > > > > > > > with versions to the changed ones.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Chris
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > Von: Maria Jose Esteve <mj...@iest.com>>
> > > > > > > > > Gesendet: Freitag, 19. Februar 2021 10:01
> > > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > > > > distribution
> > > > > > > > >
> > > > > > > > > Hi,
> > > > > > > > > Mi distribución hace referencia en el fichero
> > > > > > > > > "./frameworks/royale-config.xml" a las librerías:
> > > > > > > > >
> > > > > > > > > <js-external-library-path>
> > > > > > > > >
> > > > > > > > >
> > > > >
> <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.
> > > > > > > > > sw
> > > > > > > > > c</path-element>
> > > > > > > > >
> > > > > > > > >
> > > > > > > > <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-
> > > > > > > > ty
> > > > > > > > pede
> > > > > > > > fs.s
> > > > > > > > wc</path-element>
> > > > > > > > > </js-external-library-path>
> > > > > > > > >
> > > > > > > > > Las correctas son:
> > > > > > > > >
> > > > > > > > > <js-external-library-path>
> > > > > > > > >
> > > > > > >
> > > > > > > <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> > > > > > > > >
> > > > > > >
> > > > > > > <path-element>../js/libs/royale-typedefs-gcl.swc</path-element
> > > > > > > >
> > > > > > > > > </js-external-library-path>
> > > > > > > > >
> > > > > > > > > Hiedra
> > > > > > > > >
> > > > > > > > > -----Mensaje original-----
> > > > > > > > > De: Christofer Dutz <ch...@c-ware.de>> Enviado
> el:
> > > > > > > > > viernes,
> > > > > > > > > 19 de febrero de 2021 9:39
> > > > > > > > > Para: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > > distribution
> > > > > > > > >
> > > > > > > > > Ok,
> > > > > > > > >
> > > > > > > > > so the config xml files in the distribution were still
> > > > > > > > > pointing to the old names. I updated them all to now refer
> > > > > > > > > to
> > > the names.
> > > > > > > > > I tried things in Carlos' demo project, and I'm no-longer
> > > > > > > > > getting the errors, however compilation seems to take for
> > ever.
> > > > > > > > >
> > > > > > > > > Please try out the changes and tell me if there are any
> > > > > > > > > problems with
> > > > > > > > them.
> > > > > > > > >
> > > > > > > > > Chris
> > > > > > > > >
> > > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > Von: Christofer Dutz <ch...@c-ware.de>>
> > > > > > > > > Gesendet: Donnerstag, 18. Februar 2021 23:17
> > > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > > distribution
> > > > > > > > >
> > > > > > > > > Hi Carlos,
> > > > > > > > >
> > > > > > > > > I'll look into this tomorrow.
> > > > > > > > >
> > > > > > > > > Chris
> > > > > > > > >
> > > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > Von: Carlos Rovira <ca...@apache.org>>
> > > > > > > > > Gesendet: Donnerstag, 18. Februar 2021 17:49
> > > > > > > > > An: Apache Royale Development <de...@royale.apache.org>>
> > > > > > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > > > > > > distribution
> > > > > > > > >
> > > > > > > > > Hi, I think I talked very quickly, sorry, there seems to
> > > > > > > > > be a
> > > > > > problem.
> > > > > > > > >
> > > > > > > > > @Christofer Dutz <ch...@c-ware.de>> you can
> > > > > > > > > download this
> > > > > > > > > project:
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > https://github.com/apache/royale-asjs/files/6004363/Toggle
> > > > > > > > > Bu
> > > > > > > > > tton
> > > > > > > > > BarI
> > > > > > > > > ss
> > > > > > > > > ue.zip
> > > > > > > > >
> > > > > > > > > Then using VSCode with AS3&MXML and adding the Maven
> > > > distribution.
> > > > > > > > > Then hit CTRL+ENTER and you will get the following fail.
> > > > > > > > > Using ANT distribution is working fine.
> > > > > > > > > Can you take a look?
> > > > > > > > >
> > > > > > > > > Royale Compiler Shell
> > > > > > > > > (fcsh) mxmlc --debug=false +configname=royale
> > > > > > > > > --targets=JSRoyale --source-map=true
> > > > > > > > > --html-template=src/html/jewel-example-index-template.html
> > > > > > > > >
> > > > > > > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapph
> > > > > > > > > ir
> > > > > > > > > e-Th
> > > > > > > > > eme/
> > > > > > > > > sr
> > > > > > > > > c/main/resources/defaults.css
> > > > > > > > > --source-path+=src
> > > > > > > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyal
> > > > > > > > > --source-path+--library-path+eJ S.sw c
> > > > > > > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > > > > > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaul
> > > > > > > > > ts .css -js-dynamic-access-unknown-members=true --
> > > > > > > > > src/App.mxml
> > > > > > > > > fcsh: Assigned 1 as the compile target id The project 'App'
> > > > > > > > > has been successfully compiled and optimized.
> > > > > > > > > Compile status: 0
> > > > > > > > > Elapsed time: 14.211105399 seconds Feb 18, 2021 5:43:40 PM
> > > > > > > > > com.google.javascript.jscomp.LoggerErrorManager
> > > > > > > > > printSummary
> > > > > > > > > INFO: 0 error(s), 0 warning(s), 96.5% typed
> > > > > > > > > (fcsh) quit
> > > > > > > > > Compiler shell exited with code: 0 Royale Compiler Shell
> > > > > > > > > (fcsh) mxmlc --debug=false +configname=royale
> > > > > > > > > --targets=JSRoyale --source-map=true
> > > > > > > > > --html-template=src/html/jewel-example-index-template.html
> > > > > > > > >
> > > > > > > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapph
> > > > > > > > > ir
> > > > > > > > > e-Th
> > > > > > > > > eme/
> > > > > > > > > sr
> > > > > > > > > c/main/resources/defaults.css
> > > > > > > > > --source-path+=src
> > > > > > > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyal
> > > > > > > > > --source-path+--library-path+eJ S.sw c
> > > > > > > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > > > > > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaul
> > > > > > > > > ts .css -js-dynamic-access-unknown-members=true --
> > > > > > > > > src/App.mxml
> > > > > > > > > fcsh: Assigned 1 as the compile target id Compile status:
> > > > > > > > > 5 Elapsed
> > > > > > > time:
> > > > > > > > > 0.618407478 seconds
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > > > > > > > > col: 0 Error: unable to open
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
> > > > > > > > >
> > > > > > > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/fr
> > > > > > > > > am
> > > > > > > > > ewor
> > > > > > > > > ks/r
> > > > > > > > > oy
> > > > > > > > > ale-config.xml
> > > > > > > > > (line: 81)
> > > > > > > > >
> > > > > > > > > </js-external-library-path>
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > > > > > > > > col: 0 Error: unable to open
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
> > > > > > > > >
> > > > > > > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/fr
> > > > > > > > > am
> > > > > > > > > ewor
> > > > > > > > > ks/r
> > > > > > > > > oy
> > > > > > > > > ale-config.xml
> > > > > > > > > (line: 81)
> > > > > > > > >
> > > > > > > > > </js-external-library-path>
> > > > > > > > > (fcsh)
> > > > > > > > > Quick Compile failed. Errors in compiler output.
> > > > > > > > >
> > > > > > > > > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
> > > > > > > > > (<ca...@apache.org>>)
> > > > > > > > > escribió:
> > > > > > > > >
> > > > > > > > > > Hi,
> > > > > > > > > >
> > > > > > > > > > I rebuilt all from scratch just now and finally the
> > > > > > > > > > distribution too and tried in VSCode and all seems to
> > > > > > > > > > work fine
> > > > > for me.
> > > > > > > > > >
> > > > > > > > > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> > > > > > > > > > christofer.dutz@c-ware.de<ma...@c-ware.de>>) escribió:
> > > > > > > > > >
> > > > > > > > > >> Hi Piotr,
> > > > > > > > > >>
> > > > > > > > > >> that class is located in lib\external\flex-tool-api.jar
> > > > > > > > > >> At least in my distribution it's there and it contains
> > > > > > > > > >> the
> > > class.
> > > > > > > > > >>
> > > > > > > > > >> How are you calling the build that's failing?
> > > > > > > > > >>
> > > > > > > > > >> Chris
> > > > > > > > > >>
> > > > > > > > > >> -----Ursprüngliche Nachricht-----
> > > > > > > > > >> Von: Piotr Zarzycki <pi...@gmail.com>>
> > > > > > > > > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> > > > > > > > > >> An: Apache Royale Development <de...@royale.apache.org>>
> > > > > > > > > >> Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > > > > > > >> distribution
> > > > > > > > > >>
> > > > > > > > > >> Chris,
> > > > > > > > > >>
> > > > > > > > > >> I just checked and I'm not able build project anymore
> > > > > > > > > >> using
> > > > > > > > > distribution:
> > > > > > > > > >>
> > > > > > > > > >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
> > > > > > > > > >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
> > > > > > > > > >> -Xms356m -Xmx3000m
> > > > > > > > > >> : Error: Could not find or load main class
> > > > > > > > > >> org.apache.royale.compiler.clients.MXMLJSC
> > > > > > > > > >> : Caused by: java.lang.NoClassDefFoundError:
> > > > > > > > > >> org/apache/flex/tools/FlexTool
> > > > > > > > > >>
> > > > > > > > > >> I'm done for today, so I will answer anything tomorrow.
> > > > > > > > > >>
> > > > > > > > > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
> > > > > > > > > >> <ch...@c-ware.de>>
> > > > > > > > > >> napisał(a):
> > > > > > > > > >>
> > > > > > > > > >> > Ok ...
> > > > > > > > > >> >
> > > > > > > > > >> > so I just pushed another change. Now the distribution
> > > > > > > > > >> > should also contain an empty spark.css, just like the
> > > > > > > > > >> > Ant
> > > > one.
> > > > > > > > > >> >
> > > > > > > > > >> > Chris
> > > > > > > > > >> >
> > > > > > > > > >> >
> > > > > > > > > >> > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > Von: Christofer Dutz <ch...@c-ware.de>>
> > > > > > > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> > > > > > > > > >> > An: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > > >> > Betreff: AW: Align Maven IDE distribution with Ant
> > > > > > > > > >> > IDE distribution
> > > > > > > > > >> >
> > > > > > > > > >> > Ok,
> > > > > > > > > >> >
> > > > > > > > > >> > so that should now be fixed. Leaves the "spark.css"
> > > > > > > > > >> > Having had a look, it seems as if the Ant build
> > > > > > > > > >> > creates an empty
> > > > > > > > > >> spark.css.
> > > > > > > > > >> >
> > > > > > > > > >> > Is this all we need? If yes, then I'll have that in
> > > > > > > > > >> > ther in no
> > > > > > > time.
> > > > > > > > > >> >
> > > > > > > > > >> > Chris
> > > > > > > > > >> >
> > > > > > > > > >> > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > Von: Piotr Zarzycki <pi...@gmail.com>>
> > > > > > > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> > > > > > > > > >> > An: Apache Royale Development <de...@royale.apache.org>>
> > > > > > > > > >> > Betreff: Re: Align Maven IDE distribution with Ant
> > > > > > > > > >> > IDE distribution
> > > > > > > > > >> >
> > > > > > > > > >> > *(I assume that's in the "frameworks/js/libs"
> > > > > > > > > >> > directory? *
> > > > > > > > > >> >
> > > > > > > > > >> > Yes this is the directory.
> > > > > > > > > >> >
> > > > > > > > > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> > > > > > > > > >> > <ch...@c-ware.de>>
> > > > > > > > > >> > napisał(a):
> > > > > > > > > >> >
> > > > > > > > > >> > > Hi Piotr,
> > > > > > > > > >> > >
> > > > > > > > > >> > > Ok ... so Ant seems to be adding a "JS" to the end
> > > > > > > > > >> > > of every name (I assume that's in the
> > "frameworks/js/libs"
> > > > > directory?
> > > > > > > > > >> > >
> > > > > > > > > >> > > Also I'll try to find out where the "spark.css"
> > > > > > > > > >> > > should come from
> > > > > > > > ...
> > > > > > > > > >> > > and where it should go to.
> > > > > > > > > >> > >
> > > > > > > > > >> > > Chris
> > > > > > > > > >> > >
> > > > > > > > > >> > >
> > > > > > > > > >> > > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > > Von: Piotr Zarzycki <pi...@gmail.com>>
> > > > > > > > > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> > > > > > > > > >> > > An: Apache Royale Development
> > > > > > > > > >> > > <de...@royale.apache.org>>
> > > > > > > > > >> > > Betreff: Re: Align Maven IDE distribution with Ant
> > > > > > > > > >> > > IDE distribution
> > > > > > > > > >> > >
> > > > > > > > > >> > > Chris,
> > > > > > > > > >> > >
> > > > > > > > > >> > > Looks better but here is the comparision what I
> > > > > > > > > >> > > have in Ant distribution vs Maven distribution in
> > > > > > > > > >> > > case of
> > > names.
> > > > > > > > > >> > > On the left Ant distribution, on the right Maven.
> > > > > > > > > >> > > It is
> > > > > folder:
> > > > > > > > > >> > > frameworks\js\libs\ [1]
> > > > > > > > > >> > >
> > > > > > > > > >> > > [1] https://ibb.co/W2DzcDb
> > > > > > > > > >> > >
> > > > > > > > > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> > > > > > > > > >> > > <ch...@c-ware.de>>
> > > > > > > > > >> > > napisał(a):
> > > > > > > > > >> > >
> > > > > > > > > >> > > > And done ...
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > Now all elements in the distribution only consist
> > > > > > > > > >> > > > of their name and file-ending ... all versions
> > > > > > > > > >> > > > and classifiers have been
> > > > > > > > > removed.
> > > > > > > > > >> > > > Please provide me with feedback on if this solves
> > > > > > > > > >> > > > the
> > > > > > issues.
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > Chris
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > > > Von: Christofer Dutz <ch...@c-ware.de>>
> > > > > > > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> > > > > > > > > >> > > > An: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > > >> > > > Betreff: AW: Align Maven IDE distribution with
> > > > > > > > > >> > > > Ant IDE distribution
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > I'll probably have a fix for that in a few
> > > > > > > > > >> > > > minuntes
> > > ...
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > Chris
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > > > Von: Piotr Zarzycki <pi...@gmail.com>>
> > > > > > > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> > > > > > > > > >> > > > An: Apache Royale Development
> > > > > > > > > >> > > > <de...@royale.apache.org>>
> > > > > > > > > >> > > > Betreff: Re: Align Maven IDE distribution with
> > > > > > > > > >> > > > Ant IDE distribution
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > Chris,
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > No it's not about not picking up by IDE at all.
> > > > > > > > > >> > > > Moonshine and VSCode are able to build projects
> > > > > > > > > >> > > > using Maven distribution package! It is about
> > > > > > > > > >> > > > project which are mixed for example when user
> > > > > > > > > >> > > > wanted to use Jewel module + RemoteObject class
> > > > > > > > > >> > > > from MXRoyale module. In that case user need to
> > > > > > > > > >> > > > point explicilty as a compiler options in IDE
> > > > > > > > > >> > > > that he wanted to have SWC included and need to
> > > > > > > > > >> > > > exclude css from that swc to
> > > > > > > > > >> > > avoid problems.
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > It is happen like that:
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS
> > > > > > > > > >> > > > -js-library-path+.s
> > > > > > > > > >> > > > wc
> > > > > > > > > >> > > >
> > > > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> > > > > > > > > >> > > > cs
> > > > > > > > > >> > > > s
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > If I would like to use maven distribution user
> > > > > > > > > >> > > > need to know version for that compiler options.
> > > > > > > > > >> > > > It is even more tricky when your swc is called
> > > > > > > > > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.
> > > > > > > > > >> > > > cs
> > > > > > > > > >> > > > s
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > Thanks,
> > > > > > > > > >> > > > Piotr
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> > > > > > > > > >> > > > <ch...@c-ware.de>>
> > > > > > > > > >> > > > napisał(a):
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > > Hi Piotr,
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > And is really the version-suffix causing it to
> > > > > > > > > >> > > > > not be picked up by the IDEs?
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > Chris
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > > > > >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> > > > > > > > > >> > > > > An: dev@royale.apache.org
> > > > > > > > > >> > > > > Betreff: Re: Align Maven IDE distribution with
> > > > > > > > > >> > > > > Ant IDE distribution
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > Hi Chris,
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > This is the only thing which seems to be a
> > > > > > > > > >> > > > > constant problem
> > > > > > > > > here.
> > > > > > > > > >> > > > > I personally and some users will be much more
> > > > > > > > > >> > > > > happy having that
> > > > > > > > > >> > change.
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > Thanks,
> > > > > > > > > >> > > > > Piotr
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> > > > > > > > > >> > > > > <ch...@c-ware.de>
> > > > > > > > > >> > > > > wrote:
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > > Hi Piotr,
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > I'd be happy to help with that.
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > I did simply ask for a list of things that
> > > > > > > > > >> > > > > > need to be changed in order to get things
> > > > > > > > > >> > > > > > working, but never got said list, so I never
> > > > > > > > > >> > > > > > knew what I could do to make the Maven
> > > > > > > > > >> > > > > > distribution match up to the
> > > > > > > > > >> > > > Ant built one.
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > Chris
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > > > > > Von: Piotr Zarzycki
> > > > > > > > > >> > > > > > <pi...@gmail.com>
> > > > > > > > > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> > > > > > > > > >> > > > > > An: Apache Royale Development
> > > > > > > > > >> > > > > > <de...@royale.apache.org>
> > > > > > > > > >> > > > > > Betreff: Align Maven IDE distribution with
> > > > > > > > > >> > > > > > Ant IDE distribution
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > Hi Guys,
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > It's been couple of times when user complains
> > > > > > > > > >> > > > > > that he have problems with using Maven
> > > > > > > > > >> > > > > > distribution vs Ant distribution in IDE in a
> > > > > > > > > >> > > > > > mixed project Jewel + MX/Spark
> > > > > > > etc.
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > Can we have that resolve once for all and
> > > > > > > > > >> > > > > > adjust Maven distribution folder to produce
> > > > > > > > > >> > > > > > proper names of
> > > > > swcs ?
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > Currently when I build Maven IDE distribution
> > > > > > > > > >> > > > > > I
> > > > have:
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > When I build Ant IDE distribution I have:
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > MXRoyale-js.swc
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > Thanks,
> > > > > > > > > >> > > > > > --
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > Piotr Zarzycki
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > --
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > Piotr Zarzycki
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > --
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > Piotr Zarzycki
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> > >
> > > > > > > > > >> > > --
> > > > > > > > > >> > >
> > > > > > > > > >> > > Piotr Zarzycki
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >> >
> > > > > > > > > >> > --
> > > > > > > > > >> >
> > > > > > > > > >> > Piotr Zarzycki
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > > > >>
> > > > > > > > > >> --
> > > > > > > > > >>
> > > > > > > > > >> Piotr Zarzycki
> > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > Carlos Rovira
> > > > > > > > > > Apache Member & Apache Royale PMC *Apache Software
> > > > > > > > > > Foundation* http://about.me/carlosrovira
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > Carlos Rovira
> > > > > > > > > Apache Member & Apache Royale PMC *Apache Software
> > > > > > > > > Foundation* http://about.me/carlosrovira
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > >
> > > > > > > > Piotr Zarzycki
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > >
> > > > > > > Piotr Zarzycki
> > > > > > >
> > > > > > --
> > > > > >
> > > > > > Piotr Zarzycki
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Carlos Rovira
> > > > > Apache Member & Apache Royale PMC
> > > > > *Apache Software Foundation*
> > > > > http://about.me/carlosrovira
> > > > >
> > > >
> > > >
> > > > --
> > > > Carlos Rovira
> > > > Apache Member & Apache Royale PMC
> > > > *Apache Software Foundation*
> > > > http://about.me/carlosrovira
> > > >
> > >
> > >
> > > --
> > >
> > > Piotr Zarzycki
> > >
> >
>
--
Piotr Zarzycki
AW: Align Maven IDE distribution with Ant IDE distribution
Posted by Christofer Dutz <ch...@c-ware.de>.
Ok ...
After Carlos kindly provided me with the missing Adobe artifacts I could also try the "with-swf" build ... seems the ACE build needs some fixing ... I'm on it.
Chris
-----Ursprüngliche Nachricht-----
Von: Maria Jose Esteve <mj...@iest.com>
Gesendet: Montag, 22. Februar 2021 12:12
An: dev@royale.apache.org
Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
Flying 😝
Hiedra
-----Mensaje original-----
De: Christofer Dutz <ch...@c-ware.de>
Enviado el: lunes, 22 de febrero de 2021 12:09
Para: dev@royale.apache.org
Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
Hi all,
It seems Carlos reset the version of the compiler and updated the version in the asjs module.
So it looks as if that's good (I really hate when things are out of sync ;) ).
Anyways ... I just pushed some chaged to typedef to build the ACE typedef module
And updated the asjs module to build the ACE framework module and fine tuned the distribution to add the missing swcs (JS and SWF).
Please try out these changes.
Chris
-----Ursprüngliche Nachricht-----
Von: Piotr Zarzycki <pi...@gmail.com>>
Gesendet: Montag, 22. Februar 2021 12:05
An: Apache Royale Development <de...@royale.apache.org>>
Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
We are using again compiler 0.9.8-SNAPSHOT yes ?
pon., 22 lut 2021 o 12:01 Alina Kazi <al...@gmail.com>> napisał(a):
> Thanks Chris.
>
> On Mon, Feb 22, 2021 at 3:59 PM Maria Jose Esteve <mj...@iest.com>>
> wrote:
>
> > Thanks Chris, I'll be listening.
> >
> > Hiedra
> > -----Mensaje original-----
> > De: Christofer Dutz <ch...@c-ware.de>>
> > Enviado el: lunes, 22 de febrero de 2021 11:52
> > Para: dev@royale.apache.org<ma...@royale.apache.org>
> > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi all,
> >
> > so I had a look and it seems the distribution was missing a number of
> > libraries, which seem to have been added, since I created the
> distribution
> > in 2016 ... Some modules were added after that, but not all. It seems all
> > probelms you are reporting result from some of them missing. I added them
> > and now they are correctly added to my distributions. I also compared
> them
> > with the ANT built version ... the last missing piece is the ACE module,
> > which was disabled in Maven as the Ace typedef was not a maven module. I
> > took the liberty of creating a Maven typedef module for ace and re-added
> > the ACE module to the Maven build and to the distribution.
> >
> > I'm currently testing a few things and will commit as soon as I'm happy
> > with my changes.
> >
> >
> > Chris
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Alina Kazi <al...@gmail.com>>
> > Gesendet: Montag, 22. Februar 2021 11:26
> > An: dev@royale.apache.org<ma...@royale.apache.org>
> > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi,
> > I am also facing a problem with latest SDK.
> > when I add something new in emulation and re-build SDK. when I recompile
> > the application with the latest distribution , error in application does
> > not go away that I already fixed in previous commit.
> > It seems that the distribution does not have everything latest that it
> > should have.
> >
> > -Alina
> >
> > On Mon, Feb 22, 2021 at 3:20 PM Maria Jose Esteve <mj...@iest.com>>
> > wrote:
> >
> > > I can't work either.
> > > With no Maven, Ant combination, always error: "Error <fx: Array> This
> > > tag could not be resolved to an ActionScript class ..."
> > >
> > > Do you know what happens? I am not able to understand or fix this.
> > >
> > > Hiedra.
> > >
> > > -----Mensaje original-----
> > > De: Piotr Zarzycki <pi...@gmail.com>> Enviado el: lunes, 22
> > > de febrero de 2021 11:03
> > > Para: Apache Royale Development <de...@royale.apache.org>>
> > > Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > Hi Guys,
> > >
> > > I just tried new distribution and I'm able to build simple example.
> > > However our Royale project is not building - I'm getting following
> > > exception:
> > >
> > > : Exception in thread "main" java.lang.NoClassDefFoundError:
> > > org/apache/commons/lang/StringEscapeUtils
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.LiteralEmitter.emit(
> > > LiteralEmitter.java:225)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitLiteral(JSRoyaleEmitter.java:1040)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.visitLiteral(ASBlockWalker.java:479)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeSwitch.handle(ASNodeSwitch.java:373)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.goog.JSGoogEmitter.emit
> > > AssignedValue(JSGoogEmitter.java:965)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitAssignmen
> > > tCoercion(JSEmitter.java:917)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitAssignmentCoercion(JSRoyaleEmitter.java:1558)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
> > > sEmitter.emitContents(FunctionCallArgumentsEmitter.java:103)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
> > > sEmitter.emit(FunctionCallArgumentsEmitter.java:50)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
> > > sEmitter.emit(FunctionCallArgumentsEmitter.java:35)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitArguments
> > > (JSEmitter.java:259)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitArguments(JSRoyaleEmitter.java:986)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallEmitter.
> > > emit(FunctionCallEmitter.java:693)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitFunctionCall(JSRoyaleEmitter.java:906)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.visitFunctionCall(ASBlockWalker.java:330)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeSwitch.handle(ASNodeSwitch.java:207)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.goog.JSGoogEmitter.emit
> > > AssignedValue(JSGoogEmitter.java:965)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitAssignmen
> > > tCoercion(JSEmitter.java:917)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitAssignmentCoercion(JSRoyaleEmitter.java:1558)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.BinaryOperatorEmitte
> > > r.super_emitBinaryOperator(BinaryOperatorEmitter.java:598)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.BinaryOperatorEmitte
> > > r.emit(BinaryOperatorEmitter.java:500)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitBinaryOperator(JSRoyaleEmitter.java:1028)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.visitBinaryOperator(ASBlockWalker.java:538)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeSwitch.handle(ASNodeSwitch.java:348)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.StatementEmitter.emi
> > > t(StatementEmitter.java:40)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.StatementEmitter.emi
> > > t(StatementEmitter.java:29)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitStatement
> > > (JSEmitter.java:349)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitStatement(JSRoyaleEmitter.java:1204)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.visitBlock(ASBlockWalker.java:349)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeSwitch.handle(ASNodeSwitch.java:278)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.as.ASEmitter.emitMethodSco
> > > pe(ASEmitter.java:830)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.MethodEmitter.emit(M
> > > ethodEmitter.java:160)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitMethod(JSRoyaleEmitter.java:891)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.visitFunction(ASBlockWalker.java:290)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeSwitch.handle(ASNodeSwitch.java:152)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmit
> > > ter.emitScripts(MXMLRoyaleEmitter.java:2179)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmit
> > > ter.emitDocument(MXMLRoyaleEmitter.java:899)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleBloc
> > > kWalker.visitDocument(MXMLRoyaleBlockWalker.java:69)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle
> > > (MXMLNodeSwitch.java:89)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(
> > > MXMLBlockWalker.java:156)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleBloc
> > > kWalker.visitFile(MXMLRoyaleBlockWalker.java:61)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle
> > > (MXMLNodeSwitch.java:95)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(
> > > MXMLBlockWalker.java:156)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.visit
> > > CompilationUnit(MXMLBlockWalker.java:187)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.MXMLWriter.writeTo(MX
> > > MLWriter.java:69)
> > > : at
> > >
> > > org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale
> > > .java:411)
> > > : at
> > >
> > > org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRo
> > > yale.java:259)
> > > : at
> > >
> > > org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoy
> > > ale.java:216)
> > > : at
> > > org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:36
> > > 3)
> > > : at
> > > org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298
> > > )
> > > : at
> > >
> > > org.apache.royale.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.ja
> > > va:256)
> > > : at org.apache.royale.compiler.clients.MXMLJSC.main(MXMLJSC.java:238)
> > > : Caused by: java.lang.ClassNotFoundException:
> > > org.apache.commons.lang.StringEscapeUtils
> > > : at
> > >
> > > java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClas
> > > sLoader.java:582)
> > > : at
> > >
> > > java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Cl
> > > assLoaders.java:178)
> > > : at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
> > > : ... 67 more
> > >
> > > niedz., 21 lut 2021 o 18:57 Carlos Rovira <ca...@apache.org>>
> > > napisał(a):
> > >
> > > > Hi,
> > > >
> > > > I worked today on this and finally could solve the problem. A part
> > > > from Chris changes we need a bit more changes since all was set up
> > > > from the compiler to use the old names. So class paths need to be
> > > changed too there.
> > > > Also Google Closure compiler need to be in jar mode instead of
> > unpacked.
> > > >
> > > > Now I can use CMD (or CTRL) + SHIFT + B and select Debug or Release
> > > > option with Actionscript extension and all goes ok.
> > > > When using CMD+ENTER I think VsCode use the experimental build in
> > > > Josh extension and take the SDK in ROYALE_HOME, and since that's the
> > > > one build in the repository with ANT all seems fine, but is not
> > > > using the selected SDK, so the build is not using what you expect.
> > > >
> > > > This is my output now using the Maven Distribution SDK:
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > *> Executing task in folder TourDeJewel:
> > > > /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/b
> > > > in
> > > > /java
> > > > -jar
> > > >
> > > > /Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas
> > > > -1
> > > > .6.0/bin/asconfigc.jar --sdk
> > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven --debug=true
> > > > --project
> > > >
> > > > /Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/Tou
> > > > rD
> > > > eJewel/asconfig.json
> > > >
> > > > <MXMLJSC+royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale
> > > > -m
> > > > aven/frameworks--debug=true+configname=royale--targets=JSRoyale--sou
> > > > rc
> > > > e-path+=src/main/resources--source-map=true--html-template=src/main/
> > > > e-path+re
> > > > sources/jewel-example-index-template.html--theme=${royalelib}/themes
> > > > /J
> > > > ewelTheme/src/main/resources/defaults.css-js-dynamic-access-unknown-
> > > > me mbers=true--src/main/royale/App.mxmlThe
> > > > project 'App' has been successfully compiled.12.80962843
> > > > secondsTerminal will be reused by tasks, press any key to close it.*
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > El sáb, 20 feb 2021 a las 18:16, Christofer Dutz (<
> > > > christofer.dutz@c-ware.de<ma...@c-ware.de>>)
> > > > escribió:
> > > >
> > > > > So I just did a video and posted it to the Royale slack channel ...
> > > > >
> > > > > I can't seem to reproduce the error ... perhaps if you check what
> > > > > I'm doing you can tell me if I'm doing something wrong.
> > > > > I did try to rule out that I might have not configured VSCode to
> > > > > use my distribution by intentionally changing the settings to a
> > > > > wrong
> > > location.
> > > > It
> > > > > didn't work then, and when I changed it back to the correct
> > > > > version, I could build again.
> > > > >
> > > > > Chris
> > > > >
> > > > >
> > > > > -----Ursprüngliche Nachricht-----
> > > > > Von: Carlos Rovira <ca...@apache.org>>
> > > > > Gesendet: Samstag, 20. Februar 2021 15:17
> > > > > An: Apache Royale Development <de...@royale.apache.org>>
> > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > > distribution
> > > > >
> > > > > Hi,
> > > > >
> > > > > sorry, yesterday was mostly offline for some personal things. Many
> > > > > things happen in this thread.
> > > > > I rebuild all today and check. This is what I can report trying to
> > > > > build TDJ with Maven SDK with Chris's changes.
> > > > > Setting my VSCode with AS3&MXML to the Maven SDK just generated:
> > > > >
> > > > > 1.- I can't build with CMD+SHIFT+ENTER, then "Build Debug with AS3
> > > > > Extension Tour de Jewel" (as josh said). I get :
> > > > >
> > > > > Executing task in folder TourDeJewel:
> > > > >
> > > > /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/b
> > > > in
> > > > /java
> > > > > -jar
> > > > >
> > > > >
> > > > /Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas
> > > > -1
> > > > .6.0/bin/asconfigc.jar
> > > > > --sdk /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
> > > > --debug=true
> > > > > --project
> > > > >
> > > > /Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/Tou
> > > > rD
> > > > eJewel/asconfig.json
> > > > > <
> > > > >
> > > > > Error: no se ha encontrado o cargado la clase principal
> > > > > org.apache.royale.compiler.clients.MXMLJSC
> > > > > The terminal process
> > > > >
> > > > >
> > > > "/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/
> > > > bi
> > > > n/java
> > > > > '-jar',
> > > > >
> > > > >
> > > > '/Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgena
> > > > s-
> > > > 1.6.0/bin/asconfigc.jar',
> > > > > '--sdk',
> > > > > '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven',
> > > > > '--debug=true', '--project',
> > > > >
> > > > >
> > > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/TourDeJewel/asconfig.json'"
> > > > > terminated with exit code: 1.
> > > > >
> > > > > Terminal will be reused by tasks, press any key to close it.
> > > > >
> > > > >
> > > > > 2.- I can build with CMD+ENTER. I get:
> > > > >
> > > > > Royale Compiler Shell
> > > > > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> > > > > --source-path+=src/main/resources --source-map=true
> > > > > --html-template=src/main/resources/jewel-example-index-template.ht
> > > > > ml
> > > > > --theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults
> > > > > .c ss -js-dynamic-access-unknown-members=true --
> > > > > src/main/royale/App.mxml
> > > > > fcsh: Assigned 1 as the compile target id The project 'App' has
> > > > > been successfully compiled and optimized.
> > > > > Compile status: 0
> > > > > Elapsed time: 26.925719521 seconds Feb 20, 2021 3:10:42 PM
> > > > > com.google.javascript.jscomp.LoggerErrorManager
> > > > > printSummary
> > > > > INFO: 0 error(s), 0 warning(s), 97.8% typed
> > > > > (fcsh)
> > > > >
> > > > > I don't understand fully the differences between one method and
> > > > > the other and why I get different results. I guess know what's
> > > > > happening is needed
> > > > so
> > > > > Chris can do the proper changes. probably there are paths and
> > > > > locations mixed.
> > > > >
> > > > > @Chris, one thing I did in the past was to compare maven
> > > > > distribution
> > > > with
> > > > > ant distribution so both has most of the things in the same place.
> > > > > I
> > > > think
> > > > > some files where left in more than one place (like mxmlc).
> > > > >
> > > > > If you could take a look at it, that will for sure fix the issue.
> > > > > You
> > > > have
> > > > > TDJ and the other project to test if that works and now we know
> > > > > that is better to try with CMD+SHIFT+ENTER, then "Build Debug with
> > > > > AS3 Extension Tour de Jewel"
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > El vie, 19 feb 2021 a las 18:45, Piotr Zarzycki (<
> > > > > piotrzarzycki21@gmail.com<ma...@gmail.com>>)
> > > > > escribió:
> > > > >
> > > > > > It looks like something bad has happened with my environment. I
> > > > > > changed lately Java settings a bit. You can see what is setup in
> > > > > > my
> > > > > stacktrace.
> > > > > >
> > > > > > I will get back to that over the weekend or on Monday.
> > > > > >
> > > > > > On Fri, 19 Feb 2021 at 18:24, Maria Jose Esteve
> > > > > > <mj...@iest.com>>
> > > > > wrote:
> > > > > >
> > > > > > > Hi,
> > > > > > > Piotr, I just tested your distribution with my project and the
> > > > > > compilation
> > > > > > > was successful, no errors.
> > > > > > > Running the application seems to be working fine too.
> > > > > > > (I compile the application with mvn)
> > > > > > >
> > > > > > > What do they need me to try now?
> > > > > > >
> > > > > > > Hiedra.
> > > > > > > -----Mensaje original-----
> > > > > > > De: Piotr Zarzycki <pi...@gmail.com>> Enviado el:
> > > > > > > viernes,
> > > > > > > 19 de febrero de 2021 18:11
> > > > > > > Para: Apache Royale Development <de...@royale.apache.org>>
> > > > > > > Asunto: Re: Align Maven IDE distribution with Ant IDE
> > > > > > > distribution
> > > > > > >
> > > > > > > Did you test my distribution ?
> > > > > > >
> > > > > > > pt., 19 lut 2021 o 18:00 Christofer Dutz
> > > > > > > <ch...@c-ware.de>>
> > > > > > > napisał(a):
> > > > > > >
> > > > > > > > So I did a bit more of testing.
> > > > > > > >
> > > > > > > > So after I had no issues building Carlos' example, I tried
> > > > > > > > the TourDeJewl example.
> > > > > > > > So I opened VSCode in the directory of TDJ example ...
> > > > > > > > created a settings.json with the folowing content:
> > > > > > > >
> > > > > > > > {
> > > > > > > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > > > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > > > > > > }
> > > > > > > >
> > > > > > > > Hit STRG+Enter and waited a bit ...
> > > > > > > >
> > > > > > > > Then I opened the output in Chrome and have a fully
> > > > > > > > functioning TDJ application.
> > > > > > > >
> > > > > > > > So I wouldn't consider the build broken.
> > > > > > > >
> > > > > > > > Chris
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > Von: Maria Jose Esteve <mj...@iest.com>>
> > > > > > > > Gesendet: Freitag, 19. Februar 2021 17:51
> > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Sure, that would be "expected", but like I told you: if I
> > > > > > > > change it to MXRoyaleJS.swc, the app "does nonsense".
> > > > > > > > Maybe something has gotten my way.
> > > > > > > >
> > > > > > > > I will read your messages and see if I can help with
> something.
> > > > > > > >
> > > > > > > > Hiedra.
> > > > > > > > -----Mensaje original-----
> > > > > > > > De: Christofer Dutz <ch...@c-ware.de>> Enviado el:
> > > > > > > > viernes,
> > > > > > > > 19 de febrero de 2021 14:12
> > > > > > > > Para: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Hi Hiedra,
> > > > > > > >
> > > > > > > > well I changed the distribution to make the names like in
> > > > > > > > the ANT distribution yesterday.
> > > > > > > > But you are passing in an argument telling the compiler to
> > > > > > > > use the old format and now it should be the new ...
> > > > > > > >
> > > > > > > > Try:
> > > > > > > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> > > > > > > > defaults.css; For -compiler.exclude-defaults-css-files =
> > > > > MXRoyaleJS.swc:
> > > > > > > > defaults.css;
> > > > > > > >
> > > > > > > > Instead of your variant.
> > > > > > > >
> > > > > > > > Chris
> > > > > > > >
> > > > > > > >
> > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > Von: Maria Jose Esteve <mj...@iest.com>>
> > > > > > > > Gesendet: Freitag, 19. Februar 2021 14:08
> > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Yes, until recently I also compiled only with Maven. Due to
> > > > > > > > the problem with the spark.css I started to do the double
> > > > > > > > compilation of
> > > > > > > MAVEN and ANT.
> > > > > > > >
> > > > > > > > It's funny, now, the swc's are not generated with
> > > > > > > > "xxxx-0.9.8-SNAPSHOT-js.swc" in the distribution BUT if in
> > > > > > > > the pom of my project I change in additionalCompilerOptions:
> > > > > > > > -compiler.exclude-defaults-css-files = MXRoyale - $
> > > > > > > > {royale.framework.version} -js.swc: defaults.css; For
> > > > > > > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> > > > > > > > defaults.css; My application starts to do nonsense (for
> > > > > > > > example the change of selectedContent in my
> > > > > > > > ApplicationMainContent does not display)
> > > > > > > >
> > > > > > > > Chris, thank you.
> > > > > > > > Hiedra
> > > > > > > >
> > > > > > > > -----Mensaje original-----
> > > > > > > > De: Christofer Dutz <ch...@c-ware.de>> Enviado el:
> > > > > > > > viernes,
> > > > > > > > 19 de febrero de 2021 13:09
> > > > > > > > Para: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Hi Hiedra,
> > > > > > > >
> > > > > > > > I have to admit that I've never used VSCode. Every time I do
> > > > > > > > any development I usually use one of the JetBrains IDEs.
> > > > > > > > Royale Stuff I do in IntelliJ ... with my "Flexmojos Hack"
> > > > > > > > it can be used quite well. And I always compile with Maven.
> > > > > > > >
> > > > > > > > But thanks for the explanation on why the other path is set
> > > > > > differently.
> > > > > > > >
> > > > > > > > I guess we'll have to wait till some others can tell me what
> > > > > > > > needs to be changed.
> > > > > > > >
> > > > > > > > Chris
> > > > > > > >
> > > > > > > >
> > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > Von: Maria Jose Esteve <mj...@iest.com>>
> > > > > > > > Gesendet: Freitag, 19. Februar 2021 12:48
> > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Hello Chris,
> > > > > > > > so that I can debug my changes in the SDK I need to set the
> > > > > > > > path of the "as3mxml.sdk.editor" to the asjs directory of my
> > > > > > > > fork, for this reason the path of the "
> as3mxml.sdk.framework"
> > > > > > > > points to the directory of the maven distribution and the
> > > "as3mxml.sdk.editor"
> > > > > > > > to
> > > > > > code.
> > > > > > > >
> > > > > > > > ">> I'm not getting any errors from VSCode. But well ... if
> > > > > > > > I hit
> > > > > > > > SHIFT+Enter it starts doing something where if failed prior
> > > > > > > > SHIFT+to my
> > > > > > > > >> changes this morning and is no longer complaining, but
> > > > > > > > >> it's also not
> > > > > > > > doing much (I can't see it create a "bin" directory)"
> > > > > > > >
> > > > > > > > I don't quite understand this ... possibly because of my
> > > > > > > > lack of
> > > > > > > knowledge.
> > > > > > > >
> > > > > > > > I have not tried Carlos's project but this afternoon I will
> > > > > > > > be able to do it and I will be able to give more details.
> > > > > > > >
> > > > > > > > Thx.
> > > > > > > > Hiedra.
> > > > > > > >
> > > > > > > > -----Mensaje original-----
> > > > > > > > De: Christofer Dutz <ch...@c-ware.de>> Enviado el:
> > > > > > > > viernes,
> > > > > > > > 19 de febrero de 2021 11:51
> > > > > > > > Para: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Hi Heidra,
> > > > > > > >
> > > > > > > > I just updated Carlos' example to have the same type of
> > > > > > > > setting (C:\\Temp\\RoyaleSDK is where I have my Maven build
> > > > > > > > generate the
> > > > > SDK):
> > > > > > > >
> > > > > > > > setings.js:
> > > > > > > > {
> > > > > > > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > > > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > > > > > > }
> > > > > > > >
> > > > > > > > workspace-code-workspace
> > > > > > > > {
> > > > > > > > "folders": [
> > > > > > > > {
> > > > > > > > "path": ".."
> > > > > > > > }
> > > > > > > > ],
> > > > > > > > "settings": {
> > > > > > > > "as3mxml.sdk.framework":
> "C:\\Temp\\RoyaleSDK",
> > > > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > > > > > > }
> > > > > > > > }
> > > > > > > >
> > > > > > > > I'm not getting any errors from VSCode. But well ... if I
> > > > > > > > hit
> > > > > > > > SHIFT+Enter it starts doing something where if failed prior
> > > > > > > > SHIFT+to my
> > > > > > > > changes this morning and is no longer complaining, but it's
> > > > > > > > also not doing much (I can't see it create a "bin"
> > > > > > > > directory)
> > > > > > > >
> > > > > > > > Chris
> > > > > > > >
> > > > > > > >
> > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > Von: Maria Jose Esteve <mj...@iest.com>>
> > > > > > > > Gesendet: Freitag, 19. Februar 2021 10:53
> > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > If I don't compile with ANT, the mxml extension in vsCode
> > > > > > > > IDE, it doesn't recognize the valid asjs directory for
> > > > "as3mxml.sdk.editor":
> > > > > > > > ...
> > > > > > > > "settings": {
> > > > > > > > "as3mxml.sdk.framework":
> > > > > > > > "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
> > > > > > > > "as3mxml.sdk.editor":
> > > > > > > > "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs"
> > > > > > > > <-------- [download folder repo royale-asjs]
> > > > > > > > }
> > > > > > > > }
> > > > > > > >
> > > > > > > > The error is:
> > > > > > > > " as3mxml.sdk.editor in settings does not point to a valid
> SDK.
> > > > > > > > Requires..."
> > > > > > > >
> > > > > > > > Thx.
> > > > > > > > Hiedra.
> > > > > > > >
> > > > > > > > -----Mensaje original-----
> > > > > > > > De: Piotr Zarzycki <pi...@gmail.com>> Enviado el:
> > > > > > > > viernes, 19 de febrero de 2021 10:44
> > > > > > > > Para: Apache Royale Development <de...@royale.apache.org>>
> > > > > > > > Asunto: Re: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Hi Chris,
> > > > > > > >
> > > > > > > > I just tried your changes and I have same issue. I need to
> > > > > > > > understand what has change enough significantly that it
> > > > > > > > causes compilation fail in such way. It doesn't happen with
> > > > > > > > SDK prepared
> > > > by
> > > > > ANT.
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > > Piotr
> > > > > > > >
> > > > > > > > pt., 19 lut 2021 o 10:33 Maria Jose Esteve
> > > > > > > > <mj...@iest.com>>
> > > > > > > napisał(a):
> > > > > > > >
> > > > > > > > > @Chris you're right, sorry, I didn't download your last
> > commit.
> > > > > > > > > I'm sorry.
> > > > > > > > > Hiedra.
> > > > > > > > >
> > > > > > > > > -----Mensaje original-----
> > > > > > > > > De: Christofer Dutz <ch...@c-ware.de>> Enviado
> el:
> > > > > > > > > viernes,
> > > > > > > > > 19 de febrero de 2021 10:17
> > > > > > > > > Para: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > > distribution
> > > > > > > > >
> > > > > > > > > I'll try to guess what you wanted to say here ...
> > > > > > > > >
> > > > > > > > > But I think these are exactly the changes I comitted a an
> > > > > > > > > hour ago,
> > > > > > > > right?
> > > > > > > > > At least in general I replaced all the references to names
> > > > > > > > > with versions to the changed ones.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Chris
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > Von: Maria Jose Esteve <mj...@iest.com>>
> > > > > > > > > Gesendet: Freitag, 19. Februar 2021 10:01
> > > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > > > > distribution
> > > > > > > > >
> > > > > > > > > Hi,
> > > > > > > > > Mi distribución hace referencia en el fichero
> > > > > > > > > "./frameworks/royale-config.xml" a las librerías:
> > > > > > > > >
> > > > > > > > > <js-external-library-path>
> > > > > > > > >
> > > > > > > > >
> > > > >
> <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.
> > > > > > > > > sw
> > > > > > > > > c</path-element>
> > > > > > > > >
> > > > > > > > >
> > > > > > > > <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-
> > > > > > > > ty
> > > > > > > > pede
> > > > > > > > fs.s
> > > > > > > > wc</path-element>
> > > > > > > > > </js-external-library-path>
> > > > > > > > >
> > > > > > > > > Las correctas son:
> > > > > > > > >
> > > > > > > > > <js-external-library-path>
> > > > > > > > >
> > > > > > >
> > > > > > > <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> > > > > > > > >
> > > > > > >
> > > > > > > <path-element>../js/libs/royale-typedefs-gcl.swc</path-element
> > > > > > > >
> > > > > > > > > </js-external-library-path>
> > > > > > > > >
> > > > > > > > > Hiedra
> > > > > > > > >
> > > > > > > > > -----Mensaje original-----
> > > > > > > > > De: Christofer Dutz <ch...@c-ware.de>> Enviado
> el:
> > > > > > > > > viernes,
> > > > > > > > > 19 de febrero de 2021 9:39
> > > > > > > > > Para: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > > distribution
> > > > > > > > >
> > > > > > > > > Ok,
> > > > > > > > >
> > > > > > > > > so the config xml files in the distribution were still
> > > > > > > > > pointing to the old names. I updated them all to now refer
> > > > > > > > > to
> > > the names.
> > > > > > > > > I tried things in Carlos' demo project, and I'm no-longer
> > > > > > > > > getting the errors, however compilation seems to take for
> > ever.
> > > > > > > > >
> > > > > > > > > Please try out the changes and tell me if there are any
> > > > > > > > > problems with
> > > > > > > > them.
> > > > > > > > >
> > > > > > > > > Chris
> > > > > > > > >
> > > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > Von: Christofer Dutz <ch...@c-ware.de>>
> > > > > > > > > Gesendet: Donnerstag, 18. Februar 2021 23:17
> > > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > > distribution
> > > > > > > > >
> > > > > > > > > Hi Carlos,
> > > > > > > > >
> > > > > > > > > I'll look into this tomorrow.
> > > > > > > > >
> > > > > > > > > Chris
> > > > > > > > >
> > > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > Von: Carlos Rovira <ca...@apache.org>>
> > > > > > > > > Gesendet: Donnerstag, 18. Februar 2021 17:49
> > > > > > > > > An: Apache Royale Development <de...@royale.apache.org>>
> > > > > > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > > > > > > distribution
> > > > > > > > >
> > > > > > > > > Hi, I think I talked very quickly, sorry, there seems to
> > > > > > > > > be a
> > > > > > problem.
> > > > > > > > >
> > > > > > > > > @Christofer Dutz <ch...@c-ware.de>> you can
> > > > > > > > > download this
> > > > > > > > > project:
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > https://github.com/apache/royale-asjs/files/6004363/Toggle
> > > > > > > > > Bu
> > > > > > > > > tton
> > > > > > > > > BarI
> > > > > > > > > ss
> > > > > > > > > ue.zip
> > > > > > > > >
> > > > > > > > > Then using VSCode with AS3&MXML and adding the Maven
> > > > distribution.
> > > > > > > > > Then hit CTRL+ENTER and you will get the following fail.
> > > > > > > > > Using ANT distribution is working fine.
> > > > > > > > > Can you take a look?
> > > > > > > > >
> > > > > > > > > Royale Compiler Shell
> > > > > > > > > (fcsh) mxmlc --debug=false +configname=royale
> > > > > > > > > --targets=JSRoyale --source-map=true
> > > > > > > > > --html-template=src/html/jewel-example-index-template.html
> > > > > > > > >
> > > > > > > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapph
> > > > > > > > > ir
> > > > > > > > > e-Th
> > > > > > > > > eme/
> > > > > > > > > sr
> > > > > > > > > c/main/resources/defaults.css
> > > > > > > > > --source-path+=src
> > > > > > > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyal
> > > > > > > > > --source-path+--library-path+eJ S.sw c
> > > > > > > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > > > > > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaul
> > > > > > > > > ts .css -js-dynamic-access-unknown-members=true --
> > > > > > > > > src/App.mxml
> > > > > > > > > fcsh: Assigned 1 as the compile target id The project 'App'
> > > > > > > > > has been successfully compiled and optimized.
> > > > > > > > > Compile status: 0
> > > > > > > > > Elapsed time: 14.211105399 seconds Feb 18, 2021 5:43:40 PM
> > > > > > > > > com.google.javascript.jscomp.LoggerErrorManager
> > > > > > > > > printSummary
> > > > > > > > > INFO: 0 error(s), 0 warning(s), 96.5% typed
> > > > > > > > > (fcsh) quit
> > > > > > > > > Compiler shell exited with code: 0 Royale Compiler Shell
> > > > > > > > > (fcsh) mxmlc --debug=false +configname=royale
> > > > > > > > > --targets=JSRoyale --source-map=true
> > > > > > > > > --html-template=src/html/jewel-example-index-template.html
> > > > > > > > >
> > > > > > > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapph
> > > > > > > > > ir
> > > > > > > > > e-Th
> > > > > > > > > eme/
> > > > > > > > > sr
> > > > > > > > > c/main/resources/defaults.css
> > > > > > > > > --source-path+=src
> > > > > > > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyal
> > > > > > > > > --source-path+--library-path+eJ S.sw c
> > > > > > > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > > > > > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaul
> > > > > > > > > ts .css -js-dynamic-access-unknown-members=true --
> > > > > > > > > src/App.mxml
> > > > > > > > > fcsh: Assigned 1 as the compile target id Compile status:
> > > > > > > > > 5 Elapsed
> > > > > > > time:
> > > > > > > > > 0.618407478 seconds
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > > > > > > > > col: 0 Error: unable to open
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
> > > > > > > > >
> > > > > > > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/fr
> > > > > > > > > am
> > > > > > > > > ewor
> > > > > > > > > ks/r
> > > > > > > > > oy
> > > > > > > > > ale-config.xml
> > > > > > > > > (line: 81)
> > > > > > > > >
> > > > > > > > > </js-external-library-path>
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > > > > > > > > col: 0 Error: unable to open
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
> > > > > > > > >
> > > > > > > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/fr
> > > > > > > > > am
> > > > > > > > > ewor
> > > > > > > > > ks/r
> > > > > > > > > oy
> > > > > > > > > ale-config.xml
> > > > > > > > > (line: 81)
> > > > > > > > >
> > > > > > > > > </js-external-library-path>
> > > > > > > > > (fcsh)
> > > > > > > > > Quick Compile failed. Errors in compiler output.
> > > > > > > > >
> > > > > > > > > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
> > > > > > > > > (<ca...@apache.org>>)
> > > > > > > > > escribió:
> > > > > > > > >
> > > > > > > > > > Hi,
> > > > > > > > > >
> > > > > > > > > > I rebuilt all from scratch just now and finally the
> > > > > > > > > > distribution too and tried in VSCode and all seems to
> > > > > > > > > > work fine
> > > > > for me.
> > > > > > > > > >
> > > > > > > > > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> > > > > > > > > > christofer.dutz@c-ware.de<ma...@c-ware.de>>) escribió:
> > > > > > > > > >
> > > > > > > > > >> Hi Piotr,
> > > > > > > > > >>
> > > > > > > > > >> that class is located in lib\external\flex-tool-api.jar
> > > > > > > > > >> At least in my distribution it's there and it contains
> > > > > > > > > >> the
> > > class.
> > > > > > > > > >>
> > > > > > > > > >> How are you calling the build that's failing?
> > > > > > > > > >>
> > > > > > > > > >> Chris
> > > > > > > > > >>
> > > > > > > > > >> -----Ursprüngliche Nachricht-----
> > > > > > > > > >> Von: Piotr Zarzycki <pi...@gmail.com>>
> > > > > > > > > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> > > > > > > > > >> An: Apache Royale Development <de...@royale.apache.org>>
> > > > > > > > > >> Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > > > > > > >> distribution
> > > > > > > > > >>
> > > > > > > > > >> Chris,
> > > > > > > > > >>
> > > > > > > > > >> I just checked and I'm not able build project anymore
> > > > > > > > > >> using
> > > > > > > > > distribution:
> > > > > > > > > >>
> > > > > > > > > >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
> > > > > > > > > >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
> > > > > > > > > >> -Xms356m -Xmx3000m
> > > > > > > > > >> : Error: Could not find or load main class
> > > > > > > > > >> org.apache.royale.compiler.clients.MXMLJSC
> > > > > > > > > >> : Caused by: java.lang.NoClassDefFoundError:
> > > > > > > > > >> org/apache/flex/tools/FlexTool
> > > > > > > > > >>
> > > > > > > > > >> I'm done for today, so I will answer anything tomorrow.
> > > > > > > > > >>
> > > > > > > > > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
> > > > > > > > > >> <ch...@c-ware.de>>
> > > > > > > > > >> napisał(a):
> > > > > > > > > >>
> > > > > > > > > >> > Ok ...
> > > > > > > > > >> >
> > > > > > > > > >> > so I just pushed another change. Now the distribution
> > > > > > > > > >> > should also contain an empty spark.css, just like the
> > > > > > > > > >> > Ant
> > > > one.
> > > > > > > > > >> >
> > > > > > > > > >> > Chris
> > > > > > > > > >> >
> > > > > > > > > >> >
> > > > > > > > > >> > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > Von: Christofer Dutz <ch...@c-ware.de>>
> > > > > > > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> > > > > > > > > >> > An: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > > >> > Betreff: AW: Align Maven IDE distribution with Ant
> > > > > > > > > >> > IDE distribution
> > > > > > > > > >> >
> > > > > > > > > >> > Ok,
> > > > > > > > > >> >
> > > > > > > > > >> > so that should now be fixed. Leaves the "spark.css"
> > > > > > > > > >> > Having had a look, it seems as if the Ant build
> > > > > > > > > >> > creates an empty
> > > > > > > > > >> spark.css.
> > > > > > > > > >> >
> > > > > > > > > >> > Is this all we need? If yes, then I'll have that in
> > > > > > > > > >> > ther in no
> > > > > > > time.
> > > > > > > > > >> >
> > > > > > > > > >> > Chris
> > > > > > > > > >> >
> > > > > > > > > >> > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > Von: Piotr Zarzycki <pi...@gmail.com>>
> > > > > > > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> > > > > > > > > >> > An: Apache Royale Development <de...@royale.apache.org>>
> > > > > > > > > >> > Betreff: Re: Align Maven IDE distribution with Ant
> > > > > > > > > >> > IDE distribution
> > > > > > > > > >> >
> > > > > > > > > >> > *(I assume that's in the "frameworks/js/libs"
> > > > > > > > > >> > directory? *
> > > > > > > > > >> >
> > > > > > > > > >> > Yes this is the directory.
> > > > > > > > > >> >
> > > > > > > > > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> > > > > > > > > >> > <ch...@c-ware.de>>
> > > > > > > > > >> > napisał(a):
> > > > > > > > > >> >
> > > > > > > > > >> > > Hi Piotr,
> > > > > > > > > >> > >
> > > > > > > > > >> > > Ok ... so Ant seems to be adding a "JS" to the end
> > > > > > > > > >> > > of every name (I assume that's in the
> > "frameworks/js/libs"
> > > > > directory?
> > > > > > > > > >> > >
> > > > > > > > > >> > > Also I'll try to find out where the "spark.css"
> > > > > > > > > >> > > should come from
> > > > > > > > ...
> > > > > > > > > >> > > and where it should go to.
> > > > > > > > > >> > >
> > > > > > > > > >> > > Chris
> > > > > > > > > >> > >
> > > > > > > > > >> > >
> > > > > > > > > >> > > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > > Von: Piotr Zarzycki <pi...@gmail.com>>
> > > > > > > > > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> > > > > > > > > >> > > An: Apache Royale Development
> > > > > > > > > >> > > <de...@royale.apache.org>>
> > > > > > > > > >> > > Betreff: Re: Align Maven IDE distribution with Ant
> > > > > > > > > >> > > IDE distribution
> > > > > > > > > >> > >
> > > > > > > > > >> > > Chris,
> > > > > > > > > >> > >
> > > > > > > > > >> > > Looks better but here is the comparision what I
> > > > > > > > > >> > > have in Ant distribution vs Maven distribution in
> > > > > > > > > >> > > case of
> > > names.
> > > > > > > > > >> > > On the left Ant distribution, on the right Maven.
> > > > > > > > > >> > > It is
> > > > > folder:
> > > > > > > > > >> > > frameworks\js\libs\ [1]
> > > > > > > > > >> > >
> > > > > > > > > >> > > [1] https://ibb.co/W2DzcDb
> > > > > > > > > >> > >
> > > > > > > > > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> > > > > > > > > >> > > <ch...@c-ware.de>>
> > > > > > > > > >> > > napisał(a):
> > > > > > > > > >> > >
> > > > > > > > > >> > > > And done ...
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > Now all elements in the distribution only consist
> > > > > > > > > >> > > > of their name and file-ending ... all versions
> > > > > > > > > >> > > > and classifiers have been
> > > > > > > > > removed.
> > > > > > > > > >> > > > Please provide me with feedback on if this solves
> > > > > > > > > >> > > > the
> > > > > > issues.
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > Chris
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > > > Von: Christofer Dutz <ch...@c-ware.de>>
> > > > > > > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> > > > > > > > > >> > > > An: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > > >> > > > Betreff: AW: Align Maven IDE distribution with
> > > > > > > > > >> > > > Ant IDE distribution
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > I'll probably have a fix for that in a few
> > > > > > > > > >> > > > minuntes
> > > ...
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > Chris
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > > > Von: Piotr Zarzycki <pi...@gmail.com>>
> > > > > > > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> > > > > > > > > >> > > > An: Apache Royale Development
> > > > > > > > > >> > > > <de...@royale.apache.org>>
> > > > > > > > > >> > > > Betreff: Re: Align Maven IDE distribution with
> > > > > > > > > >> > > > Ant IDE distribution
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > Chris,
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > No it's not about not picking up by IDE at all.
> > > > > > > > > >> > > > Moonshine and VSCode are able to build projects
> > > > > > > > > >> > > > using Maven distribution package! It is about
> > > > > > > > > >> > > > project which are mixed for example when user
> > > > > > > > > >> > > > wanted to use Jewel module + RemoteObject class
> > > > > > > > > >> > > > from MXRoyale module. In that case user need to
> > > > > > > > > >> > > > point explicilty as a compiler options in IDE
> > > > > > > > > >> > > > that he wanted to have SWC included and need to
> > > > > > > > > >> > > > exclude css from that swc to
> > > > > > > > > >> > > avoid problems.
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > It is happen like that:
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS
> > > > > > > > > >> > > > -js-library-path+.s
> > > > > > > > > >> > > > wc
> > > > > > > > > >> > > >
> > > > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> > > > > > > > > >> > > > cs
> > > > > > > > > >> > > > s
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > If I would like to use maven distribution user
> > > > > > > > > >> > > > need to know version for that compiler options.
> > > > > > > > > >> > > > It is even more tricky when your swc is called
> > > > > > > > > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.
> > > > > > > > > >> > > > cs
> > > > > > > > > >> > > > s
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > Thanks,
> > > > > > > > > >> > > > Piotr
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> > > > > > > > > >> > > > <ch...@c-ware.de>>
> > > > > > > > > >> > > > napisał(a):
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > > Hi Piotr,
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > And is really the version-suffix causing it to
> > > > > > > > > >> > > > > not be picked up by the IDEs?
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > Chris
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > > > > >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> > > > > > > > > >> > > > > An: dev@royale.apache.org
> > > > > > > > > >> > > > > Betreff: Re: Align Maven IDE distribution with
> > > > > > > > > >> > > > > Ant IDE distribution
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > Hi Chris,
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > This is the only thing which seems to be a
> > > > > > > > > >> > > > > constant problem
> > > > > > > > > here.
> > > > > > > > > >> > > > > I personally and some users will be much more
> > > > > > > > > >> > > > > happy having that
> > > > > > > > > >> > change.
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > Thanks,
> > > > > > > > > >> > > > > Piotr
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> > > > > > > > > >> > > > > <ch...@c-ware.de>
> > > > > > > > > >> > > > > wrote:
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > > Hi Piotr,
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > I'd be happy to help with that.
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > I did simply ask for a list of things that
> > > > > > > > > >> > > > > > need to be changed in order to get things
> > > > > > > > > >> > > > > > working, but never got said list, so I never
> > > > > > > > > >> > > > > > knew what I could do to make the Maven
> > > > > > > > > >> > > > > > distribution match up to the
> > > > > > > > > >> > > > Ant built one.
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > Chris
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > > > > > Von: Piotr Zarzycki
> > > > > > > > > >> > > > > > <pi...@gmail.com>
> > > > > > > > > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> > > > > > > > > >> > > > > > An: Apache Royale Development
> > > > > > > > > >> > > > > > <de...@royale.apache.org>
> > > > > > > > > >> > > > > > Betreff: Align Maven IDE distribution with
> > > > > > > > > >> > > > > > Ant IDE distribution
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > Hi Guys,
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > It's been couple of times when user complains
> > > > > > > > > >> > > > > > that he have problems with using Maven
> > > > > > > > > >> > > > > > distribution vs Ant distribution in IDE in a
> > > > > > > > > >> > > > > > mixed project Jewel + MX/Spark
> > > > > > > etc.
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > Can we have that resolve once for all and
> > > > > > > > > >> > > > > > adjust Maven distribution folder to produce
> > > > > > > > > >> > > > > > proper names of
> > > > > swcs ?
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > Currently when I build Maven IDE distribution
> > > > > > > > > >> > > > > > I
> > > > have:
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > When I build Ant IDE distribution I have:
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > MXRoyale-js.swc
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > Thanks,
> > > > > > > > > >> > > > > > --
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > Piotr Zarzycki
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > --
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > Piotr Zarzycki
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > --
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > Piotr Zarzycki
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> > >
> > > > > > > > > >> > > --
> > > > > > > > > >> > >
> > > > > > > > > >> > > Piotr Zarzycki
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >> >
> > > > > > > > > >> > --
> > > > > > > > > >> >
> > > > > > > > > >> > Piotr Zarzycki
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > > > >>
> > > > > > > > > >> --
> > > > > > > > > >>
> > > > > > > > > >> Piotr Zarzycki
> > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > Carlos Rovira
> > > > > > > > > > Apache Member & Apache Royale PMC *Apache Software
> > > > > > > > > > Foundation* http://about.me/carlosrovira
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > Carlos Rovira
> > > > > > > > > Apache Member & Apache Royale PMC *Apache Software
> > > > > > > > > Foundation* http://about.me/carlosrovira
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > >
> > > > > > > > Piotr Zarzycki
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > >
> > > > > > > Piotr Zarzycki
> > > > > > >
> > > > > > --
> > > > > >
> > > > > > Piotr Zarzycki
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Carlos Rovira
> > > > > Apache Member & Apache Royale PMC
> > > > > *Apache Software Foundation*
> > > > > http://about.me/carlosrovira
> > > > >
> > > >
> > > >
> > > > --
> > > > Carlos Rovira
> > > > Apache Member & Apache Royale PMC
> > > > *Apache Software Foundation*
> > > > http://about.me/carlosrovira
> > > >
> > >
> > >
> > > --
> > >
> > > Piotr Zarzycki
> > >
> >
>
--
Piotr Zarzycki
RE: Align Maven IDE distribution with Ant IDE distribution
Posted by Maria Jose Esteve <mj...@iest.com>.
Flying 😝
Hiedra
-----Mensaje original-----
De: Christofer Dutz <ch...@c-ware.de>
Enviado el: lunes, 22 de febrero de 2021 12:09
Para: dev@royale.apache.org
Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
Hi all,
It seems Carlos reset the version of the compiler and updated the version in the asjs module.
So it looks as if that's good (I really hate when things are out of sync ;) ).
Anyways ... I just pushed some chaged to typedef to build the ACE typedef module
And updated the asjs module to build the ACE framework module and fine tuned the distribution to add the missing swcs (JS and SWF).
Please try out these changes.
Chris
-----Ursprüngliche Nachricht-----
Von: Piotr Zarzycki <pi...@gmail.com>>
Gesendet: Montag, 22. Februar 2021 12:05
An: Apache Royale Development <de...@royale.apache.org>>
Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
We are using again compiler 0.9.8-SNAPSHOT yes ?
pon., 22 lut 2021 o 12:01 Alina Kazi <al...@gmail.com>> napisał(a):
> Thanks Chris.
>
> On Mon, Feb 22, 2021 at 3:59 PM Maria Jose Esteve <mj...@iest.com>>
> wrote:
>
> > Thanks Chris, I'll be listening.
> >
> > Hiedra
> > -----Mensaje original-----
> > De: Christofer Dutz <ch...@c-ware.de>>
> > Enviado el: lunes, 22 de febrero de 2021 11:52
> > Para: dev@royale.apache.org<ma...@royale.apache.org>
> > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi all,
> >
> > so I had a look and it seems the distribution was missing a number of
> > libraries, which seem to have been added, since I created the
> distribution
> > in 2016 ... Some modules were added after that, but not all. It seems all
> > probelms you are reporting result from some of them missing. I added them
> > and now they are correctly added to my distributions. I also compared
> them
> > with the ANT built version ... the last missing piece is the ACE module,
> > which was disabled in Maven as the Ace typedef was not a maven module. I
> > took the liberty of creating a Maven typedef module for ace and re-added
> > the ACE module to the Maven build and to the distribution.
> >
> > I'm currently testing a few things and will commit as soon as I'm happy
> > with my changes.
> >
> >
> > Chris
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Alina Kazi <al...@gmail.com>>
> > Gesendet: Montag, 22. Februar 2021 11:26
> > An: dev@royale.apache.org<ma...@royale.apache.org>
> > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi,
> > I am also facing a problem with latest SDK.
> > when I add something new in emulation and re-build SDK. when I recompile
> > the application with the latest distribution , error in application does
> > not go away that I already fixed in previous commit.
> > It seems that the distribution does not have everything latest that it
> > should have.
> >
> > -Alina
> >
> > On Mon, Feb 22, 2021 at 3:20 PM Maria Jose Esteve <mj...@iest.com>>
> > wrote:
> >
> > > I can't work either.
> > > With no Maven, Ant combination, always error: "Error <fx: Array> This
> > > tag could not be resolved to an ActionScript class ..."
> > >
> > > Do you know what happens? I am not able to understand or fix this.
> > >
> > > Hiedra.
> > >
> > > -----Mensaje original-----
> > > De: Piotr Zarzycki <pi...@gmail.com>> Enviado el: lunes, 22
> > > de febrero de 2021 11:03
> > > Para: Apache Royale Development <de...@royale.apache.org>>
> > > Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > Hi Guys,
> > >
> > > I just tried new distribution and I'm able to build simple example.
> > > However our Royale project is not building - I'm getting following
> > > exception:
> > >
> > > : Exception in thread "main" java.lang.NoClassDefFoundError:
> > > org/apache/commons/lang/StringEscapeUtils
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.LiteralEmitter.emit(
> > > LiteralEmitter.java:225)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitLiteral(JSRoyaleEmitter.java:1040)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.visitLiteral(ASBlockWalker.java:479)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeSwitch.handle(ASNodeSwitch.java:373)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.goog.JSGoogEmitter.emit
> > > AssignedValue(JSGoogEmitter.java:965)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitAssignmen
> > > tCoercion(JSEmitter.java:917)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitAssignmentCoercion(JSRoyaleEmitter.java:1558)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
> > > sEmitter.emitContents(FunctionCallArgumentsEmitter.java:103)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
> > > sEmitter.emit(FunctionCallArgumentsEmitter.java:50)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
> > > sEmitter.emit(FunctionCallArgumentsEmitter.java:35)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitArguments
> > > (JSEmitter.java:259)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitArguments(JSRoyaleEmitter.java:986)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallEmitter.
> > > emit(FunctionCallEmitter.java:693)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitFunctionCall(JSRoyaleEmitter.java:906)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.visitFunctionCall(ASBlockWalker.java:330)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeSwitch.handle(ASNodeSwitch.java:207)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.goog.JSGoogEmitter.emit
> > > AssignedValue(JSGoogEmitter.java:965)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitAssignmen
> > > tCoercion(JSEmitter.java:917)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitAssignmentCoercion(JSRoyaleEmitter.java:1558)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.BinaryOperatorEmitte
> > > r.super_emitBinaryOperator(BinaryOperatorEmitter.java:598)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.BinaryOperatorEmitte
> > > r.emit(BinaryOperatorEmitter.java:500)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitBinaryOperator(JSRoyaleEmitter.java:1028)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.visitBinaryOperator(ASBlockWalker.java:538)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeSwitch.handle(ASNodeSwitch.java:348)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.StatementEmitter.emi
> > > t(StatementEmitter.java:40)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.StatementEmitter.emi
> > > t(StatementEmitter.java:29)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitStatement
> > > (JSEmitter.java:349)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitStatement(JSRoyaleEmitter.java:1204)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.visitBlock(ASBlockWalker.java:349)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeSwitch.handle(ASNodeSwitch.java:278)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.as.ASEmitter.emitMethodSco
> > > pe(ASEmitter.java:830)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.MethodEmitter.emit(M
> > > ethodEmitter.java:160)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitMethod(JSRoyaleEmitter.java:891)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.visitFunction(ASBlockWalker.java:290)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeSwitch.handle(ASNodeSwitch.java:152)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmit
> > > ter.emitScripts(MXMLRoyaleEmitter.java:2179)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmit
> > > ter.emitDocument(MXMLRoyaleEmitter.java:899)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleBloc
> > > kWalker.visitDocument(MXMLRoyaleBlockWalker.java:69)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle
> > > (MXMLNodeSwitch.java:89)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(
> > > MXMLBlockWalker.java:156)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleBloc
> > > kWalker.visitFile(MXMLRoyaleBlockWalker.java:61)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle
> > > (MXMLNodeSwitch.java:95)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(
> > > MXMLBlockWalker.java:156)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.visit
> > > CompilationUnit(MXMLBlockWalker.java:187)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.MXMLWriter.writeTo(MX
> > > MLWriter.java:69)
> > > : at
> > >
> > > org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale
> > > .java:411)
> > > : at
> > >
> > > org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRo
> > > yale.java:259)
> > > : at
> > >
> > > org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoy
> > > ale.java:216)
> > > : at
> > > org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:36
> > > 3)
> > > : at
> > > org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298
> > > )
> > > : at
> > >
> > > org.apache.royale.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.ja
> > > va:256)
> > > : at org.apache.royale.compiler.clients.MXMLJSC.main(MXMLJSC.java:238)
> > > : Caused by: java.lang.ClassNotFoundException:
> > > org.apache.commons.lang.StringEscapeUtils
> > > : at
> > >
> > > java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClas
> > > sLoader.java:582)
> > > : at
> > >
> > > java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Cl
> > > assLoaders.java:178)
> > > : at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
> > > : ... 67 more
> > >
> > > niedz., 21 lut 2021 o 18:57 Carlos Rovira <ca...@apache.org>>
> > > napisał(a):
> > >
> > > > Hi,
> > > >
> > > > I worked today on this and finally could solve the problem. A part
> > > > from Chris changes we need a bit more changes since all was set up
> > > > from the compiler to use the old names. So class paths need to be
> > > changed too there.
> > > > Also Google Closure compiler need to be in jar mode instead of
> > unpacked.
> > > >
> > > > Now I can use CMD (or CTRL) + SHIFT + B and select Debug or Release
> > > > option with Actionscript extension and all goes ok.
> > > > When using CMD+ENTER I think VsCode use the experimental build in
> > > > Josh extension and take the SDK in ROYALE_HOME, and since that's the
> > > > one build in the repository with ANT all seems fine, but is not
> > > > using the selected SDK, so the build is not using what you expect.
> > > >
> > > > This is my output now using the Maven Distribution SDK:
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > *> Executing task in folder TourDeJewel:
> > > > /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/b
> > > > in
> > > > /java
> > > > -jar
> > > >
> > > > /Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas
> > > > -1
> > > > .6.0/bin/asconfigc.jar --sdk
> > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven --debug=true
> > > > --project
> > > >
> > > > /Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/Tou
> > > > rD
> > > > eJewel/asconfig.json
> > > >
> > > > <MXMLJSC+royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale
> > > > -m
> > > > aven/frameworks--debug=true+configname=royale--targets=JSRoyale--sou
> > > > rc
> > > > e-path+=src/main/resources--source-map=true--html-template=src/main/
> > > > e-path+re
> > > > sources/jewel-example-index-template.html--theme=${royalelib}/themes
> > > > /J
> > > > ewelTheme/src/main/resources/defaults.css-js-dynamic-access-unknown-
> > > > me mbers=true--src/main/royale/App.mxmlThe
> > > > project 'App' has been successfully compiled.12.80962843
> > > > secondsTerminal will be reused by tasks, press any key to close it.*
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > El sáb, 20 feb 2021 a las 18:16, Christofer Dutz (<
> > > > christofer.dutz@c-ware.de<ma...@c-ware.de>>)
> > > > escribió:
> > > >
> > > > > So I just did a video and posted it to the Royale slack channel ...
> > > > >
> > > > > I can't seem to reproduce the error ... perhaps if you check what
> > > > > I'm doing you can tell me if I'm doing something wrong.
> > > > > I did try to rule out that I might have not configured VSCode to
> > > > > use my distribution by intentionally changing the settings to a
> > > > > wrong
> > > location.
> > > > It
> > > > > didn't work then, and when I changed it back to the correct
> > > > > version, I could build again.
> > > > >
> > > > > Chris
> > > > >
> > > > >
> > > > > -----Ursprüngliche Nachricht-----
> > > > > Von: Carlos Rovira <ca...@apache.org>>
> > > > > Gesendet: Samstag, 20. Februar 2021 15:17
> > > > > An: Apache Royale Development <de...@royale.apache.org>>
> > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > > distribution
> > > > >
> > > > > Hi,
> > > > >
> > > > > sorry, yesterday was mostly offline for some personal things. Many
> > > > > things happen in this thread.
> > > > > I rebuild all today and check. This is what I can report trying to
> > > > > build TDJ with Maven SDK with Chris's changes.
> > > > > Setting my VSCode with AS3&MXML to the Maven SDK just generated:
> > > > >
> > > > > 1.- I can't build with CMD+SHIFT+ENTER, then "Build Debug with AS3
> > > > > Extension Tour de Jewel" (as josh said). I get :
> > > > >
> > > > > Executing task in folder TourDeJewel:
> > > > >
> > > > /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/b
> > > > in
> > > > /java
> > > > > -jar
> > > > >
> > > > >
> > > > /Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas
> > > > -1
> > > > .6.0/bin/asconfigc.jar
> > > > > --sdk /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
> > > > --debug=true
> > > > > --project
> > > > >
> > > > /Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/Tou
> > > > rD
> > > > eJewel/asconfig.json
> > > > > <
> > > > >
> > > > > Error: no se ha encontrado o cargado la clase principal
> > > > > org.apache.royale.compiler.clients.MXMLJSC
> > > > > The terminal process
> > > > >
> > > > >
> > > > "/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/
> > > > bi
> > > > n/java
> > > > > '-jar',
> > > > >
> > > > >
> > > > '/Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgena
> > > > s-
> > > > 1.6.0/bin/asconfigc.jar',
> > > > > '--sdk',
> > > > > '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven',
> > > > > '--debug=true', '--project',
> > > > >
> > > > >
> > > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/TourDeJewel/asconfig.json'"
> > > > > terminated with exit code: 1.
> > > > >
> > > > > Terminal will be reused by tasks, press any key to close it.
> > > > >
> > > > >
> > > > > 2.- I can build with CMD+ENTER. I get:
> > > > >
> > > > > Royale Compiler Shell
> > > > > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> > > > > --source-path+=src/main/resources --source-map=true
> > > > > --html-template=src/main/resources/jewel-example-index-template.ht
> > > > > ml
> > > > > --theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults
> > > > > .c ss -js-dynamic-access-unknown-members=true --
> > > > > src/main/royale/App.mxml
> > > > > fcsh: Assigned 1 as the compile target id The project 'App' has
> > > > > been successfully compiled and optimized.
> > > > > Compile status: 0
> > > > > Elapsed time: 26.925719521 seconds Feb 20, 2021 3:10:42 PM
> > > > > com.google.javascript.jscomp.LoggerErrorManager
> > > > > printSummary
> > > > > INFO: 0 error(s), 0 warning(s), 97.8% typed
> > > > > (fcsh)
> > > > >
> > > > > I don't understand fully the differences between one method and
> > > > > the other and why I get different results. I guess know what's
> > > > > happening is needed
> > > > so
> > > > > Chris can do the proper changes. probably there are paths and
> > > > > locations mixed.
> > > > >
> > > > > @Chris, one thing I did in the past was to compare maven
> > > > > distribution
> > > > with
> > > > > ant distribution so both has most of the things in the same place.
> > > > > I
> > > > think
> > > > > some files where left in more than one place (like mxmlc).
> > > > >
> > > > > If you could take a look at it, that will for sure fix the issue.
> > > > > You
> > > > have
> > > > > TDJ and the other project to test if that works and now we know
> > > > > that is better to try with CMD+SHIFT+ENTER, then "Build Debug with
> > > > > AS3 Extension Tour de Jewel"
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > El vie, 19 feb 2021 a las 18:45, Piotr Zarzycki (<
> > > > > piotrzarzycki21@gmail.com<ma...@gmail.com>>)
> > > > > escribió:
> > > > >
> > > > > > It looks like something bad has happened with my environment. I
> > > > > > changed lately Java settings a bit. You can see what is setup in
> > > > > > my
> > > > > stacktrace.
> > > > > >
> > > > > > I will get back to that over the weekend or on Monday.
> > > > > >
> > > > > > On Fri, 19 Feb 2021 at 18:24, Maria Jose Esteve
> > > > > > <mj...@iest.com>>
> > > > > wrote:
> > > > > >
> > > > > > > Hi,
> > > > > > > Piotr, I just tested your distribution with my project and the
> > > > > > compilation
> > > > > > > was successful, no errors.
> > > > > > > Running the application seems to be working fine too.
> > > > > > > (I compile the application with mvn)
> > > > > > >
> > > > > > > What do they need me to try now?
> > > > > > >
> > > > > > > Hiedra.
> > > > > > > -----Mensaje original-----
> > > > > > > De: Piotr Zarzycki <pi...@gmail.com>> Enviado el:
> > > > > > > viernes,
> > > > > > > 19 de febrero de 2021 18:11
> > > > > > > Para: Apache Royale Development <de...@royale.apache.org>>
> > > > > > > Asunto: Re: Align Maven IDE distribution with Ant IDE
> > > > > > > distribution
> > > > > > >
> > > > > > > Did you test my distribution ?
> > > > > > >
> > > > > > > pt., 19 lut 2021 o 18:00 Christofer Dutz
> > > > > > > <ch...@c-ware.de>>
> > > > > > > napisał(a):
> > > > > > >
> > > > > > > > So I did a bit more of testing.
> > > > > > > >
> > > > > > > > So after I had no issues building Carlos' example, I tried
> > > > > > > > the TourDeJewl example.
> > > > > > > > So I opened VSCode in the directory of TDJ example ...
> > > > > > > > created a settings.json with the folowing content:
> > > > > > > >
> > > > > > > > {
> > > > > > > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > > > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > > > > > > }
> > > > > > > >
> > > > > > > > Hit STRG+Enter and waited a bit ...
> > > > > > > >
> > > > > > > > Then I opened the output in Chrome and have a fully
> > > > > > > > functioning TDJ application.
> > > > > > > >
> > > > > > > > So I wouldn't consider the build broken.
> > > > > > > >
> > > > > > > > Chris
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > Von: Maria Jose Esteve <mj...@iest.com>>
> > > > > > > > Gesendet: Freitag, 19. Februar 2021 17:51
> > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Sure, that would be "expected", but like I told you: if I
> > > > > > > > change it to MXRoyaleJS.swc, the app "does nonsense".
> > > > > > > > Maybe something has gotten my way.
> > > > > > > >
> > > > > > > > I will read your messages and see if I can help with
> something.
> > > > > > > >
> > > > > > > > Hiedra.
> > > > > > > > -----Mensaje original-----
> > > > > > > > De: Christofer Dutz <ch...@c-ware.de>> Enviado el:
> > > > > > > > viernes,
> > > > > > > > 19 de febrero de 2021 14:12
> > > > > > > > Para: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Hi Hiedra,
> > > > > > > >
> > > > > > > > well I changed the distribution to make the names like in
> > > > > > > > the ANT distribution yesterday.
> > > > > > > > But you are passing in an argument telling the compiler to
> > > > > > > > use the old format and now it should be the new ...
> > > > > > > >
> > > > > > > > Try:
> > > > > > > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> > > > > > > > defaults.css; For -compiler.exclude-defaults-css-files =
> > > > > MXRoyaleJS.swc:
> > > > > > > > defaults.css;
> > > > > > > >
> > > > > > > > Instead of your variant.
> > > > > > > >
> > > > > > > > Chris
> > > > > > > >
> > > > > > > >
> > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > Von: Maria Jose Esteve <mj...@iest.com>>
> > > > > > > > Gesendet: Freitag, 19. Februar 2021 14:08
> > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Yes, until recently I also compiled only with Maven. Due to
> > > > > > > > the problem with the spark.css I started to do the double
> > > > > > > > compilation of
> > > > > > > MAVEN and ANT.
> > > > > > > >
> > > > > > > > It's funny, now, the swc's are not generated with
> > > > > > > > "xxxx-0.9.8-SNAPSHOT-js.swc" in the distribution BUT if in
> > > > > > > > the pom of my project I change in additionalCompilerOptions:
> > > > > > > > -compiler.exclude-defaults-css-files = MXRoyale - $
> > > > > > > > {royale.framework.version} -js.swc: defaults.css; For
> > > > > > > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> > > > > > > > defaults.css; My application starts to do nonsense (for
> > > > > > > > example the change of selectedContent in my
> > > > > > > > ApplicationMainContent does not display)
> > > > > > > >
> > > > > > > > Chris, thank you.
> > > > > > > > Hiedra
> > > > > > > >
> > > > > > > > -----Mensaje original-----
> > > > > > > > De: Christofer Dutz <ch...@c-ware.de>> Enviado el:
> > > > > > > > viernes,
> > > > > > > > 19 de febrero de 2021 13:09
> > > > > > > > Para: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Hi Hiedra,
> > > > > > > >
> > > > > > > > I have to admit that I've never used VSCode. Every time I do
> > > > > > > > any development I usually use one of the JetBrains IDEs.
> > > > > > > > Royale Stuff I do in IntelliJ ... with my "Flexmojos Hack"
> > > > > > > > it can be used quite well. And I always compile with Maven.
> > > > > > > >
> > > > > > > > But thanks for the explanation on why the other path is set
> > > > > > differently.
> > > > > > > >
> > > > > > > > I guess we'll have to wait till some others can tell me what
> > > > > > > > needs to be changed.
> > > > > > > >
> > > > > > > > Chris
> > > > > > > >
> > > > > > > >
> > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > Von: Maria Jose Esteve <mj...@iest.com>>
> > > > > > > > Gesendet: Freitag, 19. Februar 2021 12:48
> > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Hello Chris,
> > > > > > > > so that I can debug my changes in the SDK I need to set the
> > > > > > > > path of the "as3mxml.sdk.editor" to the asjs directory of my
> > > > > > > > fork, for this reason the path of the "
> as3mxml.sdk.framework"
> > > > > > > > points to the directory of the maven distribution and the
> > > "as3mxml.sdk.editor"
> > > > > > > > to
> > > > > > code.
> > > > > > > >
> > > > > > > > ">> I'm not getting any errors from VSCode. But well ... if
> > > > > > > > I hit
> > > > > > > > SHIFT+Enter it starts doing something where if failed prior
> > > > > > > > SHIFT+to my
> > > > > > > > >> changes this morning and is no longer complaining, but
> > > > > > > > >> it's also not
> > > > > > > > doing much (I can't see it create a "bin" directory)"
> > > > > > > >
> > > > > > > > I don't quite understand this ... possibly because of my
> > > > > > > > lack of
> > > > > > > knowledge.
> > > > > > > >
> > > > > > > > I have not tried Carlos's project but this afternoon I will
> > > > > > > > be able to do it and I will be able to give more details.
> > > > > > > >
> > > > > > > > Thx.
> > > > > > > > Hiedra.
> > > > > > > >
> > > > > > > > -----Mensaje original-----
> > > > > > > > De: Christofer Dutz <ch...@c-ware.de>> Enviado el:
> > > > > > > > viernes,
> > > > > > > > 19 de febrero de 2021 11:51
> > > > > > > > Para: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Hi Heidra,
> > > > > > > >
> > > > > > > > I just updated Carlos' example to have the same type of
> > > > > > > > setting (C:\\Temp\\RoyaleSDK is where I have my Maven build
> > > > > > > > generate the
> > > > > SDK):
> > > > > > > >
> > > > > > > > setings.js:
> > > > > > > > {
> > > > > > > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > > > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > > > > > > }
> > > > > > > >
> > > > > > > > workspace-code-workspace
> > > > > > > > {
> > > > > > > > "folders": [
> > > > > > > > {
> > > > > > > > "path": ".."
> > > > > > > > }
> > > > > > > > ],
> > > > > > > > "settings": {
> > > > > > > > "as3mxml.sdk.framework":
> "C:\\Temp\\RoyaleSDK",
> > > > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > > > > > > }
> > > > > > > > }
> > > > > > > >
> > > > > > > > I'm not getting any errors from VSCode. But well ... if I
> > > > > > > > hit
> > > > > > > > SHIFT+Enter it starts doing something where if failed prior
> > > > > > > > SHIFT+to my
> > > > > > > > changes this morning and is no longer complaining, but it's
> > > > > > > > also not doing much (I can't see it create a "bin"
> > > > > > > > directory)
> > > > > > > >
> > > > > > > > Chris
> > > > > > > >
> > > > > > > >
> > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > Von: Maria Jose Esteve <mj...@iest.com>>
> > > > > > > > Gesendet: Freitag, 19. Februar 2021 10:53
> > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > If I don't compile with ANT, the mxml extension in vsCode
> > > > > > > > IDE, it doesn't recognize the valid asjs directory for
> > > > "as3mxml.sdk.editor":
> > > > > > > > ...
> > > > > > > > "settings": {
> > > > > > > > "as3mxml.sdk.framework":
> > > > > > > > "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
> > > > > > > > "as3mxml.sdk.editor":
> > > > > > > > "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs"
> > > > > > > > <-------- [download folder repo royale-asjs]
> > > > > > > > }
> > > > > > > > }
> > > > > > > >
> > > > > > > > The error is:
> > > > > > > > " as3mxml.sdk.editor in settings does not point to a valid
> SDK.
> > > > > > > > Requires..."
> > > > > > > >
> > > > > > > > Thx.
> > > > > > > > Hiedra.
> > > > > > > >
> > > > > > > > -----Mensaje original-----
> > > > > > > > De: Piotr Zarzycki <pi...@gmail.com>> Enviado el:
> > > > > > > > viernes, 19 de febrero de 2021 10:44
> > > > > > > > Para: Apache Royale Development <de...@royale.apache.org>>
> > > > > > > > Asunto: Re: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Hi Chris,
> > > > > > > >
> > > > > > > > I just tried your changes and I have same issue. I need to
> > > > > > > > understand what has change enough significantly that it
> > > > > > > > causes compilation fail in such way. It doesn't happen with
> > > > > > > > SDK prepared
> > > > by
> > > > > ANT.
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > > Piotr
> > > > > > > >
> > > > > > > > pt., 19 lut 2021 o 10:33 Maria Jose Esteve
> > > > > > > > <mj...@iest.com>>
> > > > > > > napisał(a):
> > > > > > > >
> > > > > > > > > @Chris you're right, sorry, I didn't download your last
> > commit.
> > > > > > > > > I'm sorry.
> > > > > > > > > Hiedra.
> > > > > > > > >
> > > > > > > > > -----Mensaje original-----
> > > > > > > > > De: Christofer Dutz <ch...@c-ware.de>> Enviado
> el:
> > > > > > > > > viernes,
> > > > > > > > > 19 de febrero de 2021 10:17
> > > > > > > > > Para: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > > distribution
> > > > > > > > >
> > > > > > > > > I'll try to guess what you wanted to say here ...
> > > > > > > > >
> > > > > > > > > But I think these are exactly the changes I comitted a an
> > > > > > > > > hour ago,
> > > > > > > > right?
> > > > > > > > > At least in general I replaced all the references to names
> > > > > > > > > with versions to the changed ones.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Chris
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > Von: Maria Jose Esteve <mj...@iest.com>>
> > > > > > > > > Gesendet: Freitag, 19. Februar 2021 10:01
> > > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > > > > distribution
> > > > > > > > >
> > > > > > > > > Hi,
> > > > > > > > > Mi distribución hace referencia en el fichero
> > > > > > > > > "./frameworks/royale-config.xml" a las librerías:
> > > > > > > > >
> > > > > > > > > <js-external-library-path>
> > > > > > > > >
> > > > > > > > >
> > > > >
> <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.
> > > > > > > > > sw
> > > > > > > > > c</path-element>
> > > > > > > > >
> > > > > > > > >
> > > > > > > > <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-
> > > > > > > > ty
> > > > > > > > pede
> > > > > > > > fs.s
> > > > > > > > wc</path-element>
> > > > > > > > > </js-external-library-path>
> > > > > > > > >
> > > > > > > > > Las correctas son:
> > > > > > > > >
> > > > > > > > > <js-external-library-path>
> > > > > > > > >
> > > > > > >
> > > > > > > <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> > > > > > > > >
> > > > > > >
> > > > > > > <path-element>../js/libs/royale-typedefs-gcl.swc</path-element
> > > > > > > >
> > > > > > > > > </js-external-library-path>
> > > > > > > > >
> > > > > > > > > Hiedra
> > > > > > > > >
> > > > > > > > > -----Mensaje original-----
> > > > > > > > > De: Christofer Dutz <ch...@c-ware.de>> Enviado
> el:
> > > > > > > > > viernes,
> > > > > > > > > 19 de febrero de 2021 9:39
> > > > > > > > > Para: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > > distribution
> > > > > > > > >
> > > > > > > > > Ok,
> > > > > > > > >
> > > > > > > > > so the config xml files in the distribution were still
> > > > > > > > > pointing to the old names. I updated them all to now refer
> > > > > > > > > to
> > > the names.
> > > > > > > > > I tried things in Carlos' demo project, and I'm no-longer
> > > > > > > > > getting the errors, however compilation seems to take for
> > ever.
> > > > > > > > >
> > > > > > > > > Please try out the changes and tell me if there are any
> > > > > > > > > problems with
> > > > > > > > them.
> > > > > > > > >
> > > > > > > > > Chris
> > > > > > > > >
> > > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > Von: Christofer Dutz <ch...@c-ware.de>>
> > > > > > > > > Gesendet: Donnerstag, 18. Februar 2021 23:17
> > > > > > > > > An: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > > distribution
> > > > > > > > >
> > > > > > > > > Hi Carlos,
> > > > > > > > >
> > > > > > > > > I'll look into this tomorrow.
> > > > > > > > >
> > > > > > > > > Chris
> > > > > > > > >
> > > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > Von: Carlos Rovira <ca...@apache.org>>
> > > > > > > > > Gesendet: Donnerstag, 18. Februar 2021 17:49
> > > > > > > > > An: Apache Royale Development <de...@royale.apache.org>>
> > > > > > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > > > > > > distribution
> > > > > > > > >
> > > > > > > > > Hi, I think I talked very quickly, sorry, there seems to
> > > > > > > > > be a
> > > > > > problem.
> > > > > > > > >
> > > > > > > > > @Christofer Dutz <ch...@c-ware.de>> you can
> > > > > > > > > download this
> > > > > > > > > project:
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > https://github.com/apache/royale-asjs/files/6004363/Toggle
> > > > > > > > > Bu
> > > > > > > > > tton
> > > > > > > > > BarI
> > > > > > > > > ss
> > > > > > > > > ue.zip
> > > > > > > > >
> > > > > > > > > Then using VSCode with AS3&MXML and adding the Maven
> > > > distribution.
> > > > > > > > > Then hit CTRL+ENTER and you will get the following fail.
> > > > > > > > > Using ANT distribution is working fine.
> > > > > > > > > Can you take a look?
> > > > > > > > >
> > > > > > > > > Royale Compiler Shell
> > > > > > > > > (fcsh) mxmlc --debug=false +configname=royale
> > > > > > > > > --targets=JSRoyale --source-map=true
> > > > > > > > > --html-template=src/html/jewel-example-index-template.html
> > > > > > > > >
> > > > > > > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapph
> > > > > > > > > ir
> > > > > > > > > e-Th
> > > > > > > > > eme/
> > > > > > > > > sr
> > > > > > > > > c/main/resources/defaults.css
> > > > > > > > > --source-path+=src
> > > > > > > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyal
> > > > > > > > > --source-path+--library-path+eJ S.sw c
> > > > > > > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > > > > > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaul
> > > > > > > > > ts .css -js-dynamic-access-unknown-members=true --
> > > > > > > > > src/App.mxml
> > > > > > > > > fcsh: Assigned 1 as the compile target id The project 'App'
> > > > > > > > > has been successfully compiled and optimized.
> > > > > > > > > Compile status: 0
> > > > > > > > > Elapsed time: 14.211105399 seconds Feb 18, 2021 5:43:40 PM
> > > > > > > > > com.google.javascript.jscomp.LoggerErrorManager
> > > > > > > > > printSummary
> > > > > > > > > INFO: 0 error(s), 0 warning(s), 96.5% typed
> > > > > > > > > (fcsh) quit
> > > > > > > > > Compiler shell exited with code: 0 Royale Compiler Shell
> > > > > > > > > (fcsh) mxmlc --debug=false +configname=royale
> > > > > > > > > --targets=JSRoyale --source-map=true
> > > > > > > > > --html-template=src/html/jewel-example-index-template.html
> > > > > > > > >
> > > > > > > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapph
> > > > > > > > > ir
> > > > > > > > > e-Th
> > > > > > > > > eme/
> > > > > > > > > sr
> > > > > > > > > c/main/resources/defaults.css
> > > > > > > > > --source-path+=src
> > > > > > > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyal
> > > > > > > > > --source-path+--library-path+eJ S.sw c
> > > > > > > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > > > > > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaul
> > > > > > > > > ts .css -js-dynamic-access-unknown-members=true --
> > > > > > > > > src/App.mxml
> > > > > > > > > fcsh: Assigned 1 as the compile target id Compile status:
> > > > > > > > > 5 Elapsed
> > > > > > > time:
> > > > > > > > > 0.618407478 seconds
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > > > > > > > > col: 0 Error: unable to open
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
> > > > > > > > >
> > > > > > > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/fr
> > > > > > > > > am
> > > > > > > > > ewor
> > > > > > > > > ks/r
> > > > > > > > > oy
> > > > > > > > > ale-config.xml
> > > > > > > > > (line: 81)
> > > > > > > > >
> > > > > > > > > </js-external-library-path>
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > > > > > > > > col: 0 Error: unable to open
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
> > > > > > > > >
> > > > > > > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/fr
> > > > > > > > > am
> > > > > > > > > ewor
> > > > > > > > > ks/r
> > > > > > > > > oy
> > > > > > > > > ale-config.xml
> > > > > > > > > (line: 81)
> > > > > > > > >
> > > > > > > > > </js-external-library-path>
> > > > > > > > > (fcsh)
> > > > > > > > > Quick Compile failed. Errors in compiler output.
> > > > > > > > >
> > > > > > > > > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
> > > > > > > > > (<ca...@apache.org>>)
> > > > > > > > > escribió:
> > > > > > > > >
> > > > > > > > > > Hi,
> > > > > > > > > >
> > > > > > > > > > I rebuilt all from scratch just now and finally the
> > > > > > > > > > distribution too and tried in VSCode and all seems to
> > > > > > > > > > work fine
> > > > > for me.
> > > > > > > > > >
> > > > > > > > > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> > > > > > > > > > christofer.dutz@c-ware.de<ma...@c-ware.de>>) escribió:
> > > > > > > > > >
> > > > > > > > > >> Hi Piotr,
> > > > > > > > > >>
> > > > > > > > > >> that class is located in lib\external\flex-tool-api.jar
> > > > > > > > > >> At least in my distribution it's there and it contains
> > > > > > > > > >> the
> > > class.
> > > > > > > > > >>
> > > > > > > > > >> How are you calling the build that's failing?
> > > > > > > > > >>
> > > > > > > > > >> Chris
> > > > > > > > > >>
> > > > > > > > > >> -----Ursprüngliche Nachricht-----
> > > > > > > > > >> Von: Piotr Zarzycki <pi...@gmail.com>>
> > > > > > > > > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> > > > > > > > > >> An: Apache Royale Development <de...@royale.apache.org>>
> > > > > > > > > >> Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > > > > > > >> distribution
> > > > > > > > > >>
> > > > > > > > > >> Chris,
> > > > > > > > > >>
> > > > > > > > > >> I just checked and I'm not able build project anymore
> > > > > > > > > >> using
> > > > > > > > > distribution:
> > > > > > > > > >>
> > > > > > > > > >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
> > > > > > > > > >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
> > > > > > > > > >> -Xms356m -Xmx3000m
> > > > > > > > > >> : Error: Could not find or load main class
> > > > > > > > > >> org.apache.royale.compiler.clients.MXMLJSC
> > > > > > > > > >> : Caused by: java.lang.NoClassDefFoundError:
> > > > > > > > > >> org/apache/flex/tools/FlexTool
> > > > > > > > > >>
> > > > > > > > > >> I'm done for today, so I will answer anything tomorrow.
> > > > > > > > > >>
> > > > > > > > > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
> > > > > > > > > >> <ch...@c-ware.de>>
> > > > > > > > > >> napisał(a):
> > > > > > > > > >>
> > > > > > > > > >> > Ok ...
> > > > > > > > > >> >
> > > > > > > > > >> > so I just pushed another change. Now the distribution
> > > > > > > > > >> > should also contain an empty spark.css, just like the
> > > > > > > > > >> > Ant
> > > > one.
> > > > > > > > > >> >
> > > > > > > > > >> > Chris
> > > > > > > > > >> >
> > > > > > > > > >> >
> > > > > > > > > >> > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > Von: Christofer Dutz <ch...@c-ware.de>>
> > > > > > > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> > > > > > > > > >> > An: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > > >> > Betreff: AW: Align Maven IDE distribution with Ant
> > > > > > > > > >> > IDE distribution
> > > > > > > > > >> >
> > > > > > > > > >> > Ok,
> > > > > > > > > >> >
> > > > > > > > > >> > so that should now be fixed. Leaves the "spark.css"
> > > > > > > > > >> > Having had a look, it seems as if the Ant build
> > > > > > > > > >> > creates an empty
> > > > > > > > > >> spark.css.
> > > > > > > > > >> >
> > > > > > > > > >> > Is this all we need? If yes, then I'll have that in
> > > > > > > > > >> > ther in no
> > > > > > > time.
> > > > > > > > > >> >
> > > > > > > > > >> > Chris
> > > > > > > > > >> >
> > > > > > > > > >> > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > Von: Piotr Zarzycki <pi...@gmail.com>>
> > > > > > > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> > > > > > > > > >> > An: Apache Royale Development <de...@royale.apache.org>>
> > > > > > > > > >> > Betreff: Re: Align Maven IDE distribution with Ant
> > > > > > > > > >> > IDE distribution
> > > > > > > > > >> >
> > > > > > > > > >> > *(I assume that's in the "frameworks/js/libs"
> > > > > > > > > >> > directory? *
> > > > > > > > > >> >
> > > > > > > > > >> > Yes this is the directory.
> > > > > > > > > >> >
> > > > > > > > > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> > > > > > > > > >> > <ch...@c-ware.de>>
> > > > > > > > > >> > napisał(a):
> > > > > > > > > >> >
> > > > > > > > > >> > > Hi Piotr,
> > > > > > > > > >> > >
> > > > > > > > > >> > > Ok ... so Ant seems to be adding a "JS" to the end
> > > > > > > > > >> > > of every name (I assume that's in the
> > "frameworks/js/libs"
> > > > > directory?
> > > > > > > > > >> > >
> > > > > > > > > >> > > Also I'll try to find out where the "spark.css"
> > > > > > > > > >> > > should come from
> > > > > > > > ...
> > > > > > > > > >> > > and where it should go to.
> > > > > > > > > >> > >
> > > > > > > > > >> > > Chris
> > > > > > > > > >> > >
> > > > > > > > > >> > >
> > > > > > > > > >> > > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > > Von: Piotr Zarzycki <pi...@gmail.com>>
> > > > > > > > > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> > > > > > > > > >> > > An: Apache Royale Development
> > > > > > > > > >> > > <de...@royale.apache.org>>
> > > > > > > > > >> > > Betreff: Re: Align Maven IDE distribution with Ant
> > > > > > > > > >> > > IDE distribution
> > > > > > > > > >> > >
> > > > > > > > > >> > > Chris,
> > > > > > > > > >> > >
> > > > > > > > > >> > > Looks better but here is the comparision what I
> > > > > > > > > >> > > have in Ant distribution vs Maven distribution in
> > > > > > > > > >> > > case of
> > > names.
> > > > > > > > > >> > > On the left Ant distribution, on the right Maven.
> > > > > > > > > >> > > It is
> > > > > folder:
> > > > > > > > > >> > > frameworks\js\libs\ [1]
> > > > > > > > > >> > >
> > > > > > > > > >> > > [1] https://ibb.co/W2DzcDb
> > > > > > > > > >> > >
> > > > > > > > > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> > > > > > > > > >> > > <ch...@c-ware.de>>
> > > > > > > > > >> > > napisał(a):
> > > > > > > > > >> > >
> > > > > > > > > >> > > > And done ...
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > Now all elements in the distribution only consist
> > > > > > > > > >> > > > of their name and file-ending ... all versions
> > > > > > > > > >> > > > and classifiers have been
> > > > > > > > > removed.
> > > > > > > > > >> > > > Please provide me with feedback on if this solves
> > > > > > > > > >> > > > the
> > > > > > issues.
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > Chris
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > > > Von: Christofer Dutz <ch...@c-ware.de>>
> > > > > > > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> > > > > > > > > >> > > > An: dev@royale.apache.org<ma...@royale.apache.org>
> > > > > > > > > >> > > > Betreff: AW: Align Maven IDE distribution with
> > > > > > > > > >> > > > Ant IDE distribution
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > I'll probably have a fix for that in a few
> > > > > > > > > >> > > > minuntes
> > > ...
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > Chris
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > > > Von: Piotr Zarzycki <pi...@gmail.com>>
> > > > > > > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> > > > > > > > > >> > > > An: Apache Royale Development
> > > > > > > > > >> > > > <de...@royale.apache.org>>
> > > > > > > > > >> > > > Betreff: Re: Align Maven IDE distribution with
> > > > > > > > > >> > > > Ant IDE distribution
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > Chris,
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > No it's not about not picking up by IDE at all.
> > > > > > > > > >> > > > Moonshine and VSCode are able to build projects
> > > > > > > > > >> > > > using Maven distribution package! It is about
> > > > > > > > > >> > > > project which are mixed for example when user
> > > > > > > > > >> > > > wanted to use Jewel module + RemoteObject class
> > > > > > > > > >> > > > from MXRoyale module. In that case user need to
> > > > > > > > > >> > > > point explicilty as a compiler options in IDE
> > > > > > > > > >> > > > that he wanted to have SWC included and need to
> > > > > > > > > >> > > > exclude css from that swc to
> > > > > > > > > >> > > avoid problems.
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > It is happen like that:
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS
> > > > > > > > > >> > > > -js-library-path+.s
> > > > > > > > > >> > > > wc
> > > > > > > > > >> > > >
> > > > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> > > > > > > > > >> > > > cs
> > > > > > > > > >> > > > s
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > If I would like to use maven distribution user
> > > > > > > > > >> > > > need to know version for that compiler options.
> > > > > > > > > >> > > > It is even more tricky when your swc is called
> > > > > > > > > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.
> > > > > > > > > >> > > > cs
> > > > > > > > > >> > > > s
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > Thanks,
> > > > > > > > > >> > > > Piotr
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> > > > > > > > > >> > > > <ch...@c-ware.de>>
> > > > > > > > > >> > > > napisał(a):
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > > Hi Piotr,
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > And is really the version-suffix causing it to
> > > > > > > > > >> > > > > not be picked up by the IDEs?
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > Chris
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > > > > >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> > > > > > > > > >> > > > > An: dev@royale.apache.org
> > > > > > > > > >> > > > > Betreff: Re: Align Maven IDE distribution with
> > > > > > > > > >> > > > > Ant IDE distribution
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > Hi Chris,
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > This is the only thing which seems to be a
> > > > > > > > > >> > > > > constant problem
> > > > > > > > > here.
> > > > > > > > > >> > > > > I personally and some users will be much more
> > > > > > > > > >> > > > > happy having that
> > > > > > > > > >> > change.
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > Thanks,
> > > > > > > > > >> > > > > Piotr
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> > > > > > > > > >> > > > > <ch...@c-ware.de>
> > > > > > > > > >> > > > > wrote:
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > > Hi Piotr,
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > I'd be happy to help with that.
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > I did simply ask for a list of things that
> > > > > > > > > >> > > > > > need to be changed in order to get things
> > > > > > > > > >> > > > > > working, but never got said list, so I never
> > > > > > > > > >> > > > > > knew what I could do to make the Maven
> > > > > > > > > >> > > > > > distribution match up to the
> > > > > > > > > >> > > > Ant built one.
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > Chris
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > > > > > Von: Piotr Zarzycki
> > > > > > > > > >> > > > > > <pi...@gmail.com>
> > > > > > > > > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> > > > > > > > > >> > > > > > An: Apache Royale Development
> > > > > > > > > >> > > > > > <de...@royale.apache.org>
> > > > > > > > > >> > > > > > Betreff: Align Maven IDE distribution with
> > > > > > > > > >> > > > > > Ant IDE distribution
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > Hi Guys,
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > It's been couple of times when user complains
> > > > > > > > > >> > > > > > that he have problems with using Maven
> > > > > > > > > >> > > > > > distribution vs Ant distribution in IDE in a
> > > > > > > > > >> > > > > > mixed project Jewel + MX/Spark
> > > > > > > etc.
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > Can we have that resolve once for all and
> > > > > > > > > >> > > > > > adjust Maven distribution folder to produce
> > > > > > > > > >> > > > > > proper names of
> > > > > swcs ?
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > Currently when I build Maven IDE distribution
> > > > > > > > > >> > > > > > I
> > > > have:
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > When I build Ant IDE distribution I have:
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > MXRoyale-js.swc
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > Thanks,
> > > > > > > > > >> > > > > > --
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > Piotr Zarzycki
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > --
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > Piotr Zarzycki
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > --
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > Piotr Zarzycki
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> > >
> > > > > > > > > >> > > --
> > > > > > > > > >> > >
> > > > > > > > > >> > > Piotr Zarzycki
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >> >
> > > > > > > > > >> > --
> > > > > > > > > >> >
> > > > > > > > > >> > Piotr Zarzycki
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > > > >>
> > > > > > > > > >> --
> > > > > > > > > >>
> > > > > > > > > >> Piotr Zarzycki
> > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > Carlos Rovira
> > > > > > > > > > Apache Member & Apache Royale PMC *Apache Software
> > > > > > > > > > Foundation* http://about.me/carlosrovira
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > Carlos Rovira
> > > > > > > > > Apache Member & Apache Royale PMC *Apache Software
> > > > > > > > > Foundation* http://about.me/carlosrovira
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > >
> > > > > > > > Piotr Zarzycki
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > >
> > > > > > > Piotr Zarzycki
> > > > > > >
> > > > > > --
> > > > > >
> > > > > > Piotr Zarzycki
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Carlos Rovira
> > > > > Apache Member & Apache Royale PMC
> > > > > *Apache Software Foundation*
> > > > > http://about.me/carlosrovira
> > > > >
> > > >
> > > >
> > > > --
> > > > Carlos Rovira
> > > > Apache Member & Apache Royale PMC
> > > > *Apache Software Foundation*
> > > > http://about.me/carlosrovira
> > > >
> > >
> > >
> > > --
> > >
> > > Piotr Zarzycki
> > >
> >
>
--
Piotr Zarzycki
AW: Align Maven IDE distribution with Ant IDE distribution
Posted by Christofer Dutz <ch...@c-ware.de>.
Hi all,
It seems Carlos reset the version of the compiler and updated the version in the asjs module.
So it looks as if that's good (I really hate when things are out of sync ;) ).
Anyways ... I just pushed some chaged to typedef to build the ACE typedef module
And updated the asjs module to build the ACE framework module and fine tuned the distribution to add the missing swcs (JS and SWF).
Please try out these changes.
Chris
-----Ursprüngliche Nachricht-----
Von: Piotr Zarzycki <pi...@gmail.com>
Gesendet: Montag, 22. Februar 2021 12:05
An: Apache Royale Development <de...@royale.apache.org>
Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
We are using again compiler 0.9.8-SNAPSHOT yes ?
pon., 22 lut 2021 o 12:01 Alina Kazi <al...@gmail.com> napisał(a):
> Thanks Chris.
>
> On Mon, Feb 22, 2021 at 3:59 PM Maria Jose Esteve <mj...@iest.com>
> wrote:
>
> > Thanks Chris, I'll be listening.
> >
> > Hiedra
> > -----Mensaje original-----
> > De: Christofer Dutz <ch...@c-ware.de>
> > Enviado el: lunes, 22 de febrero de 2021 11:52
> > Para: dev@royale.apache.org
> > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi all,
> >
> > so I had a look and it seems the distribution was missing a number of
> > libraries, which seem to have been added, since I created the
> distribution
> > in 2016 ... Some modules were added after that, but not all. It seems all
> > probelms you are reporting result from some of them missing. I added them
> > and now they are correctly added to my distributions. I also compared
> them
> > with the ANT built version ... the last missing piece is the ACE module,
> > which was disabled in Maven as the Ace typedef was not a maven module. I
> > took the liberty of creating a Maven typedef module for ace and re-added
> > the ACE module to the Maven build and to the distribution.
> >
> > I'm currently testing a few things and will commit as soon as I'm happy
> > with my changes.
> >
> >
> > Chris
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Alina Kazi <al...@gmail.com>
> > Gesendet: Montag, 22. Februar 2021 11:26
> > An: dev@royale.apache.org
> > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi,
> > I am also facing a problem with latest SDK.
> > when I add something new in emulation and re-build SDK. when I recompile
> > the application with the latest distribution , error in application does
> > not go away that I already fixed in previous commit.
> > It seems that the distribution does not have everything latest that it
> > should have.
> >
> > -Alina
> >
> > On Mon, Feb 22, 2021 at 3:20 PM Maria Jose Esteve <mj...@iest.com>
> > wrote:
> >
> > > I can't work either.
> > > With no Maven, Ant combination, always error: "Error <fx: Array> This
> > > tag could not be resolved to an ActionScript class ..."
> > >
> > > Do you know what happens? I am not able to understand or fix this.
> > >
> > > Hiedra.
> > >
> > > -----Mensaje original-----
> > > De: Piotr Zarzycki <pi...@gmail.com> Enviado el: lunes, 22
> > > de febrero de 2021 11:03
> > > Para: Apache Royale Development <de...@royale.apache.org>
> > > Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > Hi Guys,
> > >
> > > I just tried new distribution and I'm able to build simple example.
> > > However our Royale project is not building - I'm getting following
> > > exception:
> > >
> > > : Exception in thread "main" java.lang.NoClassDefFoundError:
> > > org/apache/commons/lang/StringEscapeUtils
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.LiteralEmitter.emit(
> > > LiteralEmitter.java:225)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitLiteral(JSRoyaleEmitter.java:1040)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.visitLiteral(ASBlockWalker.java:479)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeSwitch.handle(ASNodeSwitch.java:373)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.goog.JSGoogEmitter.emit
> > > AssignedValue(JSGoogEmitter.java:965)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitAssignmen
> > > tCoercion(JSEmitter.java:917)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitAssignmentCoercion(JSRoyaleEmitter.java:1558)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
> > > sEmitter.emitContents(FunctionCallArgumentsEmitter.java:103)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
> > > sEmitter.emit(FunctionCallArgumentsEmitter.java:50)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
> > > sEmitter.emit(FunctionCallArgumentsEmitter.java:35)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitArguments
> > > (JSEmitter.java:259)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitArguments(JSRoyaleEmitter.java:986)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallEmitter.
> > > emit(FunctionCallEmitter.java:693)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitFunctionCall(JSRoyaleEmitter.java:906)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.visitFunctionCall(ASBlockWalker.java:330)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeSwitch.handle(ASNodeSwitch.java:207)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.goog.JSGoogEmitter.emit
> > > AssignedValue(JSGoogEmitter.java:965)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitAssignmen
> > > tCoercion(JSEmitter.java:917)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitAssignmentCoercion(JSRoyaleEmitter.java:1558)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.BinaryOperatorEmitte
> > > r.super_emitBinaryOperator(BinaryOperatorEmitter.java:598)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.BinaryOperatorEmitte
> > > r.emit(BinaryOperatorEmitter.java:500)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitBinaryOperator(JSRoyaleEmitter.java:1028)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.visitBinaryOperator(ASBlockWalker.java:538)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeSwitch.handle(ASNodeSwitch.java:348)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.StatementEmitter.emi
> > > t(StatementEmitter.java:40)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.StatementEmitter.emi
> > > t(StatementEmitter.java:29)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitStatement
> > > (JSEmitter.java:349)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitStatement(JSRoyaleEmitter.java:1204)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.visitBlock(ASBlockWalker.java:349)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeSwitch.handle(ASNodeSwitch.java:278)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.as.ASEmitter.emitMethodSco
> > > pe(ASEmitter.java:830)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.MethodEmitter.emit(M
> > > ethodEmitter.java:160)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitMethod(JSRoyaleEmitter.java:891)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.visitFunction(ASBlockWalker.java:290)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeSwitch.handle(ASNodeSwitch.java:152)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmit
> > > ter.emitScripts(MXMLRoyaleEmitter.java:2179)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmit
> > > ter.emitDocument(MXMLRoyaleEmitter.java:899)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleBloc
> > > kWalker.visitDocument(MXMLRoyaleBlockWalker.java:69)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle
> > > (MXMLNodeSwitch.java:89)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(
> > > MXMLBlockWalker.java:156)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleBloc
> > > kWalker.visitFile(MXMLRoyaleBlockWalker.java:61)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle
> > > (MXMLNodeSwitch.java:95)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(
> > > MXMLBlockWalker.java:156)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.visit
> > > CompilationUnit(MXMLBlockWalker.java:187)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.MXMLWriter.writeTo(MX
> > > MLWriter.java:69)
> > > : at
> > >
> > > org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale
> > > .java:411)
> > > : at
> > >
> > > org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRo
> > > yale.java:259)
> > > : at
> > >
> > > org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoy
> > > ale.java:216)
> > > : at
> > > org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:36
> > > 3)
> > > : at
> > > org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298
> > > )
> > > : at
> > >
> > > org.apache.royale.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.ja
> > > va:256)
> > > : at org.apache.royale.compiler.clients.MXMLJSC.main(MXMLJSC.java:238)
> > > : Caused by: java.lang.ClassNotFoundException:
> > > org.apache.commons.lang.StringEscapeUtils
> > > : at
> > >
> > > java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClas
> > > sLoader.java:582)
> > > : at
> > >
> > > java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Cl
> > > assLoaders.java:178)
> > > : at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
> > > : ... 67 more
> > >
> > > niedz., 21 lut 2021 o 18:57 Carlos Rovira <ca...@apache.org>
> > > napisał(a):
> > >
> > > > Hi,
> > > >
> > > > I worked today on this and finally could solve the problem. A part
> > > > from Chris changes we need a bit more changes since all was set up
> > > > from the compiler to use the old names. So class paths need to be
> > > changed too there.
> > > > Also Google Closure compiler need to be in jar mode instead of
> > unpacked.
> > > >
> > > > Now I can use CMD (or CTRL) + SHIFT + B and select Debug or Release
> > > > option with Actionscript extension and all goes ok.
> > > > When using CMD+ENTER I think VsCode use the experimental build in
> > > > Josh extension and take the SDK in ROYALE_HOME, and since that's the
> > > > one build in the repository with ANT all seems fine, but is not
> > > > using the selected SDK, so the build is not using what you expect.
> > > >
> > > > This is my output now using the Maven Distribution SDK:
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > *> Executing task in folder TourDeJewel:
> > > > /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/b
> > > > in
> > > > /java
> > > > -jar
> > > >
> > > > /Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas
> > > > -1
> > > > .6.0/bin/asconfigc.jar --sdk
> > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven --debug=true
> > > > --project
> > > >
> > > > /Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/Tou
> > > > rD
> > > > eJewel/asconfig.json
> > > >
> > > > <MXMLJSC+royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale
> > > > -m
> > > > aven/frameworks--debug=true+configname=royale--targets=JSRoyale--sou
> > > > rc
> > > > e-path+=src/main/resources--source-map=true--html-template=src/main/
> > > > e-path+re
> > > > sources/jewel-example-index-template.html--theme=${royalelib}/themes
> > > > /J
> > > > ewelTheme/src/main/resources/defaults.css-js-dynamic-access-unknown-
> > > > me mbers=true--src/main/royale/App.mxmlThe
> > > > project 'App' has been successfully compiled.12.80962843
> > > > secondsTerminal will be reused by tasks, press any key to close it.*
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > El sáb, 20 feb 2021 a las 18:16, Christofer Dutz (<
> > > > christofer.dutz@c-ware.de>)
> > > > escribió:
> > > >
> > > > > So I just did a video and posted it to the Royale slack channel ...
> > > > >
> > > > > I can't seem to reproduce the error ... perhaps if you check what
> > > > > I'm doing you can tell me if I'm doing something wrong.
> > > > > I did try to rule out that I might have not configured VSCode to
> > > > > use my distribution by intentionally changing the settings to a
> > > > > wrong
> > > location.
> > > > It
> > > > > didn't work then, and when I changed it back to the correct
> > > > > version, I could build again.
> > > > >
> > > > > Chris
> > > > >
> > > > >
> > > > > -----Ursprüngliche Nachricht-----
> > > > > Von: Carlos Rovira <ca...@apache.org>
> > > > > Gesendet: Samstag, 20. Februar 2021 15:17
> > > > > An: Apache Royale Development <de...@royale.apache.org>
> > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > > distribution
> > > > >
> > > > > Hi,
> > > > >
> > > > > sorry, yesterday was mostly offline for some personal things. Many
> > > > > things happen in this thread.
> > > > > I rebuild all today and check. This is what I can report trying to
> > > > > build TDJ with Maven SDK with Chris's changes.
> > > > > Setting my VSCode with AS3&MXML to the Maven SDK just generated:
> > > > >
> > > > > 1.- I can't build with CMD+SHIFT+ENTER, then "Build Debug with AS3
> > > > > Extension Tour de Jewel" (as josh said). I get :
> > > > >
> > > > > Executing task in folder TourDeJewel:
> > > > >
> > > > /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/b
> > > > in
> > > > /java
> > > > > -jar
> > > > >
> > > > >
> > > > /Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas
> > > > -1
> > > > .6.0/bin/asconfigc.jar
> > > > > --sdk /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
> > > > --debug=true
> > > > > --project
> > > > >
> > > > /Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/Tou
> > > > rD
> > > > eJewel/asconfig.json
> > > > > <
> > > > >
> > > > > Error: no se ha encontrado o cargado la clase principal
> > > > > org.apache.royale.compiler.clients.MXMLJSC
> > > > > The terminal process
> > > > >
> > > > >
> > > > "/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/
> > > > bi
> > > > n/java
> > > > > '-jar',
> > > > >
> > > > >
> > > > '/Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgena
> > > > s-
> > > > 1.6.0/bin/asconfigc.jar',
> > > > > '--sdk',
> > > > > '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven',
> > > > > '--debug=true', '--project',
> > > > >
> > > > >
> > > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/TourDeJewel/asconfig.json'"
> > > > > terminated with exit code: 1.
> > > > >
> > > > > Terminal will be reused by tasks, press any key to close it.
> > > > >
> > > > >
> > > > > 2.- I can build with CMD+ENTER. I get:
> > > > >
> > > > > Royale Compiler Shell
> > > > > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> > > > > --source-path+=src/main/resources --source-map=true
> > > > > --html-template=src/main/resources/jewel-example-index-template.ht
> > > > > ml
> > > > > --theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults
> > > > > .c ss -js-dynamic-access-unknown-members=true --
> > > > > src/main/royale/App.mxml
> > > > > fcsh: Assigned 1 as the compile target id The project 'App' has
> > > > > been successfully compiled and optimized.
> > > > > Compile status: 0
> > > > > Elapsed time: 26.925719521 seconds Feb 20, 2021 3:10:42 PM
> > > > > com.google.javascript.jscomp.LoggerErrorManager
> > > > > printSummary
> > > > > INFO: 0 error(s), 0 warning(s), 97.8% typed
> > > > > (fcsh)
> > > > >
> > > > > I don't understand fully the differences between one method and
> > > > > the other and why I get different results. I guess know what's
> > > > > happening is needed
> > > > so
> > > > > Chris can do the proper changes. probably there are paths and
> > > > > locations mixed.
> > > > >
> > > > > @Chris, one thing I did in the past was to compare maven
> > > > > distribution
> > > > with
> > > > > ant distribution so both has most of the things in the same place.
> > > > > I
> > > > think
> > > > > some files where left in more than one place (like mxmlc).
> > > > >
> > > > > If you could take a look at it, that will for sure fix the issue.
> > > > > You
> > > > have
> > > > > TDJ and the other project to test if that works and now we know
> > > > > that is better to try with CMD+SHIFT+ENTER, then "Build Debug with
> > > > > AS3 Extension Tour de Jewel"
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > El vie, 19 feb 2021 a las 18:45, Piotr Zarzycki (<
> > > > > piotrzarzycki21@gmail.com>)
> > > > > escribió:
> > > > >
> > > > > > It looks like something bad has happened with my environment. I
> > > > > > changed lately Java settings a bit. You can see what is setup in
> > > > > > my
> > > > > stacktrace.
> > > > > >
> > > > > > I will get back to that over the weekend or on Monday.
> > > > > >
> > > > > > On Fri, 19 Feb 2021 at 18:24, Maria Jose Esteve
> > > > > > <mj...@iest.com>
> > > > > wrote:
> > > > > >
> > > > > > > Hi,
> > > > > > > Piotr, I just tested your distribution with my project and the
> > > > > > compilation
> > > > > > > was successful, no errors.
> > > > > > > Running the application seems to be working fine too.
> > > > > > > (I compile the application with mvn)
> > > > > > >
> > > > > > > What do they need me to try now?
> > > > > > >
> > > > > > > Hiedra.
> > > > > > > -----Mensaje original-----
> > > > > > > De: Piotr Zarzycki <pi...@gmail.com> Enviado el:
> > > > > > > viernes,
> > > > > > > 19 de febrero de 2021 18:11
> > > > > > > Para: Apache Royale Development <de...@royale.apache.org>
> > > > > > > Asunto: Re: Align Maven IDE distribution with Ant IDE
> > > > > > > distribution
> > > > > > >
> > > > > > > Did you test my distribution ?
> > > > > > >
> > > > > > > pt., 19 lut 2021 o 18:00 Christofer Dutz
> > > > > > > <ch...@c-ware.de>
> > > > > > > napisał(a):
> > > > > > >
> > > > > > > > So I did a bit more of testing.
> > > > > > > >
> > > > > > > > So after I had no issues building Carlos' example, I tried
> > > > > > > > the TourDeJewl example.
> > > > > > > > So I opened VSCode in the directory of TDJ example ...
> > > > > > > > created a settings.json with the folowing content:
> > > > > > > >
> > > > > > > > {
> > > > > > > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > > > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > > > > > > }
> > > > > > > >
> > > > > > > > Hit STRG+Enter and waited a bit ...
> > > > > > > >
> > > > > > > > Then I opened the output in Chrome and have a fully
> > > > > > > > functioning TDJ application.
> > > > > > > >
> > > > > > > > So I wouldn't consider the build broken.
> > > > > > > >
> > > > > > > > Chris
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > > > > > Gesendet: Freitag, 19. Februar 2021 17:51
> > > > > > > > An: dev@royale.apache.org
> > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Sure, that would be "expected", but like I told you: if I
> > > > > > > > change it to MXRoyaleJS.swc, the app "does nonsense".
> > > > > > > > Maybe something has gotten my way.
> > > > > > > >
> > > > > > > > I will read your messages and see if I can help with
> something.
> > > > > > > >
> > > > > > > > Hiedra.
> > > > > > > > -----Mensaje original-----
> > > > > > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > > > > > > viernes,
> > > > > > > > 19 de febrero de 2021 14:12
> > > > > > > > Para: dev@royale.apache.org
> > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Hi Hiedra,
> > > > > > > >
> > > > > > > > well I changed the distribution to make the names like in
> > > > > > > > the ANT distribution yesterday.
> > > > > > > > But you are passing in an argument telling the compiler to
> > > > > > > > use the old format and now it should be the new ...
> > > > > > > >
> > > > > > > > Try:
> > > > > > > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> > > > > > > > defaults.css; For -compiler.exclude-defaults-css-files =
> > > > > MXRoyaleJS.swc:
> > > > > > > > defaults.css;
> > > > > > > >
> > > > > > > > Instead of your variant.
> > > > > > > >
> > > > > > > > Chris
> > > > > > > >
> > > > > > > >
> > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > > > > > Gesendet: Freitag, 19. Februar 2021 14:08
> > > > > > > > An: dev@royale.apache.org
> > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Yes, until recently I also compiled only with Maven. Due to
> > > > > > > > the problem with the spark.css I started to do the double
> > > > > > > > compilation of
> > > > > > > MAVEN and ANT.
> > > > > > > >
> > > > > > > > It's funny, now, the swc's are not generated with
> > > > > > > > "xxxx-0.9.8-SNAPSHOT-js.swc" in the distribution BUT if in
> > > > > > > > the pom of my project I change in additionalCompilerOptions:
> > > > > > > > -compiler.exclude-defaults-css-files = MXRoyale - $
> > > > > > > > {royale.framework.version} -js.swc: defaults.css; For
> > > > > > > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> > > > > > > > defaults.css; My application starts to do nonsense (for
> > > > > > > > example the change of selectedContent in my
> > > > > > > > ApplicationMainContent does not display)
> > > > > > > >
> > > > > > > > Chris, thank you.
> > > > > > > > Hiedra
> > > > > > > >
> > > > > > > > -----Mensaje original-----
> > > > > > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > > > > > > viernes,
> > > > > > > > 19 de febrero de 2021 13:09
> > > > > > > > Para: dev@royale.apache.org
> > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Hi Hiedra,
> > > > > > > >
> > > > > > > > I have to admit that I've never used VSCode. Every time I do
> > > > > > > > any development I usually use one of the JetBrains IDEs.
> > > > > > > > Royale Stuff I do in IntelliJ ... with my "Flexmojos Hack"
> > > > > > > > it can be used quite well. And I always compile with Maven.
> > > > > > > >
> > > > > > > > But thanks for the explanation on why the other path is set
> > > > > > differently.
> > > > > > > >
> > > > > > > > I guess we'll have to wait till some others can tell me what
> > > > > > > > needs to be changed.
> > > > > > > >
> > > > > > > > Chris
> > > > > > > >
> > > > > > > >
> > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > > > > > Gesendet: Freitag, 19. Februar 2021 12:48
> > > > > > > > An: dev@royale.apache.org
> > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Hello Chris,
> > > > > > > > so that I can debug my changes in the SDK I need to set the
> > > > > > > > path of the "as3mxml.sdk.editor" to the asjs directory of my
> > > > > > > > fork, for this reason the path of the "
> as3mxml.sdk.framework"
> > > > > > > > points to the directory of the maven distribution and the
> > > "as3mxml.sdk.editor"
> > > > > > > > to
> > > > > > code.
> > > > > > > >
> > > > > > > > ">> I'm not getting any errors from VSCode. But well ... if
> > > > > > > > I hit
> > > > > > > > SHIFT+Enter it starts doing something where if failed prior
> > > > > > > > SHIFT+to my
> > > > > > > > >> changes this morning and is no longer complaining, but
> > > > > > > > >> it's also not
> > > > > > > > doing much (I can't see it create a "bin" directory)"
> > > > > > > >
> > > > > > > > I don't quite understand this ... possibly because of my
> > > > > > > > lack of
> > > > > > > knowledge.
> > > > > > > >
> > > > > > > > I have not tried Carlos's project but this afternoon I will
> > > > > > > > be able to do it and I will be able to give more details.
> > > > > > > >
> > > > > > > > Thx.
> > > > > > > > Hiedra.
> > > > > > > >
> > > > > > > > -----Mensaje original-----
> > > > > > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > > > > > > viernes,
> > > > > > > > 19 de febrero de 2021 11:51
> > > > > > > > Para: dev@royale.apache.org
> > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Hi Heidra,
> > > > > > > >
> > > > > > > > I just updated Carlos' example to have the same type of
> > > > > > > > setting (C:\\Temp\\RoyaleSDK is where I have my Maven build
> > > > > > > > generate the
> > > > > SDK):
> > > > > > > >
> > > > > > > > setings.js:
> > > > > > > > {
> > > > > > > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > > > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > > > > > > }
> > > > > > > >
> > > > > > > > workspace-code-workspace
> > > > > > > > {
> > > > > > > > "folders": [
> > > > > > > > {
> > > > > > > > "path": ".."
> > > > > > > > }
> > > > > > > > ],
> > > > > > > > "settings": {
> > > > > > > > "as3mxml.sdk.framework":
> "C:\\Temp\\RoyaleSDK",
> > > > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > > > > > > }
> > > > > > > > }
> > > > > > > >
> > > > > > > > I'm not getting any errors from VSCode. But well ... if I
> > > > > > > > hit
> > > > > > > > SHIFT+Enter it starts doing something where if failed prior
> > > > > > > > SHIFT+to my
> > > > > > > > changes this morning and is no longer complaining, but it's
> > > > > > > > also not doing much (I can't see it create a "bin"
> > > > > > > > directory)
> > > > > > > >
> > > > > > > > Chris
> > > > > > > >
> > > > > > > >
> > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > > > > > Gesendet: Freitag, 19. Februar 2021 10:53
> > > > > > > > An: dev@royale.apache.org
> > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > If I don't compile with ANT, the mxml extension in vsCode
> > > > > > > > IDE, it doesn't recognize the valid asjs directory for
> > > > "as3mxml.sdk.editor":
> > > > > > > > ...
> > > > > > > > "settings": {
> > > > > > > > "as3mxml.sdk.framework":
> > > > > > > > "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
> > > > > > > > "as3mxml.sdk.editor":
> > > > > > > > "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs"
> > > > > > > > <-------- [download folder repo royale-asjs]
> > > > > > > > }
> > > > > > > > }
> > > > > > > >
> > > > > > > > The error is:
> > > > > > > > " as3mxml.sdk.editor in settings does not point to a valid
> SDK.
> > > > > > > > Requires..."
> > > > > > > >
> > > > > > > > Thx.
> > > > > > > > Hiedra.
> > > > > > > >
> > > > > > > > -----Mensaje original-----
> > > > > > > > De: Piotr Zarzycki <pi...@gmail.com> Enviado el:
> > > > > > > > viernes, 19 de febrero de 2021 10:44
> > > > > > > > Para: Apache Royale Development <de...@royale.apache.org>
> > > > > > > > Asunto: Re: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Hi Chris,
> > > > > > > >
> > > > > > > > I just tried your changes and I have same issue. I need to
> > > > > > > > understand what has change enough significantly that it
> > > > > > > > causes compilation fail in such way. It doesn't happen with
> > > > > > > > SDK prepared
> > > > by
> > > > > ANT.
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > > Piotr
> > > > > > > >
> > > > > > > > pt., 19 lut 2021 o 10:33 Maria Jose Esteve
> > > > > > > > <mj...@iest.com>
> > > > > > > napisał(a):
> > > > > > > >
> > > > > > > > > @Chris you're right, sorry, I didn't download your last
> > commit.
> > > > > > > > > I'm sorry.
> > > > > > > > > Hiedra.
> > > > > > > > >
> > > > > > > > > -----Mensaje original-----
> > > > > > > > > De: Christofer Dutz <ch...@c-ware.de> Enviado
> el:
> > > > > > > > > viernes,
> > > > > > > > > 19 de febrero de 2021 10:17
> > > > > > > > > Para: dev@royale.apache.org
> > > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > > distribution
> > > > > > > > >
> > > > > > > > > I'll try to guess what you wanted to say here ...
> > > > > > > > >
> > > > > > > > > But I think these are exactly the changes I comitted a an
> > > > > > > > > hour ago,
> > > > > > > > right?
> > > > > > > > > At least in general I replaced all the references to names
> > > > > > > > > with versions to the changed ones.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Chris
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > > > > > > Gesendet: Freitag, 19. Februar 2021 10:01
> > > > > > > > > An: dev@royale.apache.org
> > > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > > > > distribution
> > > > > > > > >
> > > > > > > > > Hi,
> > > > > > > > > Mi distribución hace referencia en el fichero
> > > > > > > > > "./frameworks/royale-config.xml" a las librerías:
> > > > > > > > >
> > > > > > > > > <js-external-library-path>
> > > > > > > > >
> > > > > > > > >
> > > > >
> <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.
> > > > > > > > > sw
> > > > > > > > > c</path-element>
> > > > > > > > >
> > > > > > > > >
> > > > > > > > <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-
> > > > > > > > ty
> > > > > > > > pede
> > > > > > > > fs.s
> > > > > > > > wc</path-element>
> > > > > > > > > </js-external-library-path>
> > > > > > > > >
> > > > > > > > > Las correctas son:
> > > > > > > > >
> > > > > > > > > <js-external-library-path>
> > > > > > > > >
> > > > > > >
> > > > > > > <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> > > > > > > > >
> > > > > > >
> > > > > > > <path-element>../js/libs/royale-typedefs-gcl.swc</path-element
> > > > > > > >
> > > > > > > > > </js-external-library-path>
> > > > > > > > >
> > > > > > > > > Hiedra
> > > > > > > > >
> > > > > > > > > -----Mensaje original-----
> > > > > > > > > De: Christofer Dutz <ch...@c-ware.de> Enviado
> el:
> > > > > > > > > viernes,
> > > > > > > > > 19 de febrero de 2021 9:39
> > > > > > > > > Para: dev@royale.apache.org
> > > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > > distribution
> > > > > > > > >
> > > > > > > > > Ok,
> > > > > > > > >
> > > > > > > > > so the config xml files in the distribution were still
> > > > > > > > > pointing to the old names. I updated them all to now refer
> > > > > > > > > to
> > > the names.
> > > > > > > > > I tried things in Carlos' demo project, and I'm no-longer
> > > > > > > > > getting the errors, however compilation seems to take for
> > ever.
> > > > > > > > >
> > > > > > > > > Please try out the changes and tell me if there are any
> > > > > > > > > problems with
> > > > > > > > them.
> > > > > > > > >
> > > > > > > > > Chris
> > > > > > > > >
> > > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > Von: Christofer Dutz <ch...@c-ware.de>
> > > > > > > > > Gesendet: Donnerstag, 18. Februar 2021 23:17
> > > > > > > > > An: dev@royale.apache.org
> > > > > > > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > > distribution
> > > > > > > > >
> > > > > > > > > Hi Carlos,
> > > > > > > > >
> > > > > > > > > I'll look into this tomorrow.
> > > > > > > > >
> > > > > > > > > Chris
> > > > > > > > >
> > > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > Von: Carlos Rovira <ca...@apache.org>
> > > > > > > > > Gesendet: Donnerstag, 18. Februar 2021 17:49
> > > > > > > > > An: Apache Royale Development <de...@royale.apache.org>
> > > > > > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > > > > > > distribution
> > > > > > > > >
> > > > > > > > > Hi, I think I talked very quickly, sorry, there seems to
> > > > > > > > > be a
> > > > > > problem.
> > > > > > > > >
> > > > > > > > > @Christofer Dutz <ch...@c-ware.de> you can
> > > > > > > > > download this
> > > > > > > > > project:
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > https://github.com/apache/royale-asjs/files/6004363/Toggle
> > > > > > > > > Bu
> > > > > > > > > tton
> > > > > > > > > BarI
> > > > > > > > > ss
> > > > > > > > > ue.zip
> > > > > > > > >
> > > > > > > > > Then using VSCode with AS3&MXML and adding the Maven
> > > > distribution.
> > > > > > > > > Then hit CTRL+ENTER and you will get the following fail.
> > > > > > > > > Using ANT distribution is working fine.
> > > > > > > > > Can you take a look?
> > > > > > > > >
> > > > > > > > > Royale Compiler Shell
> > > > > > > > > (fcsh) mxmlc --debug=false +configname=royale
> > > > > > > > > --targets=JSRoyale --source-map=true
> > > > > > > > > --html-template=src/html/jewel-example-index-template.html
> > > > > > > > >
> > > > > > > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapph
> > > > > > > > > ir
> > > > > > > > > e-Th
> > > > > > > > > eme/
> > > > > > > > > sr
> > > > > > > > > c/main/resources/defaults.css
> > > > > > > > > --source-path+=src
> > > > > > > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyal
> > > > > > > > > --source-path+--library-path+eJ S.sw c
> > > > > > > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > > > > > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaul
> > > > > > > > > ts .css -js-dynamic-access-unknown-members=true --
> > > > > > > > > src/App.mxml
> > > > > > > > > fcsh: Assigned 1 as the compile target id The project 'App'
> > > > > > > > > has been successfully compiled and optimized.
> > > > > > > > > Compile status: 0
> > > > > > > > > Elapsed time: 14.211105399 seconds Feb 18, 2021 5:43:40 PM
> > > > > > > > > com.google.javascript.jscomp.LoggerErrorManager
> > > > > > > > > printSummary
> > > > > > > > > INFO: 0 error(s), 0 warning(s), 96.5% typed
> > > > > > > > > (fcsh) quit
> > > > > > > > > Compiler shell exited with code: 0 Royale Compiler Shell
> > > > > > > > > (fcsh) mxmlc --debug=false +configname=royale
> > > > > > > > > --targets=JSRoyale --source-map=true
> > > > > > > > > --html-template=src/html/jewel-example-index-template.html
> > > > > > > > >
> > > > > > > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapph
> > > > > > > > > ir
> > > > > > > > > e-Th
> > > > > > > > > eme/
> > > > > > > > > sr
> > > > > > > > > c/main/resources/defaults.css
> > > > > > > > > --source-path+=src
> > > > > > > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyal
> > > > > > > > > --source-path+--library-path+eJ S.sw c
> > > > > > > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > > > > > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaul
> > > > > > > > > ts .css -js-dynamic-access-unknown-members=true --
> > > > > > > > > src/App.mxml
> > > > > > > > > fcsh: Assigned 1 as the compile target id Compile status:
> > > > > > > > > 5 Elapsed
> > > > > > > time:
> > > > > > > > > 0.618407478 seconds
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > > > > > > > > col: 0 Error: unable to open
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
> > > > > > > > >
> > > > > > > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/fr
> > > > > > > > > am
> > > > > > > > > ewor
> > > > > > > > > ks/r
> > > > > > > > > oy
> > > > > > > > > ale-config.xml
> > > > > > > > > (line: 81)
> > > > > > > > >
> > > > > > > > > </js-external-library-path>
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > > > > > > > > col: 0 Error: unable to open
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
> > > > > > > > >
> > > > > > > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/fr
> > > > > > > > > am
> > > > > > > > > ewor
> > > > > > > > > ks/r
> > > > > > > > > oy
> > > > > > > > > ale-config.xml
> > > > > > > > > (line: 81)
> > > > > > > > >
> > > > > > > > > </js-external-library-path>
> > > > > > > > > (fcsh)
> > > > > > > > > Quick Compile failed. Errors in compiler output.
> > > > > > > > >
> > > > > > > > > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
> > > > > > > > > (<ca...@apache.org>)
> > > > > > > > > escribió:
> > > > > > > > >
> > > > > > > > > > Hi,
> > > > > > > > > >
> > > > > > > > > > I rebuilt all from scratch just now and finally the
> > > > > > > > > > distribution too and tried in VSCode and all seems to
> > > > > > > > > > work fine
> > > > > for me.
> > > > > > > > > >
> > > > > > > > > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> > > > > > > > > > christofer.dutz@c-ware.de>) escribió:
> > > > > > > > > >
> > > > > > > > > >> Hi Piotr,
> > > > > > > > > >>
> > > > > > > > > >> that class is located in lib\external\flex-tool-api.jar
> > > > > > > > > >> At least in my distribution it's there and it contains
> > > > > > > > > >> the
> > > class.
> > > > > > > > > >>
> > > > > > > > > >> How are you calling the build that's failing?
> > > > > > > > > >>
> > > > > > > > > >> Chris
> > > > > > > > > >>
> > > > > > > > > >> -----Ursprüngliche Nachricht-----
> > > > > > > > > >> Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > > > > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> > > > > > > > > >> An: Apache Royale Development <de...@royale.apache.org>
> > > > > > > > > >> Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > > > > > > >> distribution
> > > > > > > > > >>
> > > > > > > > > >> Chris,
> > > > > > > > > >>
> > > > > > > > > >> I just checked and I'm not able build project anymore
> > > > > > > > > >> using
> > > > > > > > > distribution:
> > > > > > > > > >>
> > > > > > > > > >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
> > > > > > > > > >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
> > > > > > > > > >> -Xms356m -Xmx3000m
> > > > > > > > > >> : Error: Could not find or load main class
> > > > > > > > > >> org.apache.royale.compiler.clients.MXMLJSC
> > > > > > > > > >> : Caused by: java.lang.NoClassDefFoundError:
> > > > > > > > > >> org/apache/flex/tools/FlexTool
> > > > > > > > > >>
> > > > > > > > > >> I'm done for today, so I will answer anything tomorrow.
> > > > > > > > > >>
> > > > > > > > > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
> > > > > > > > > >> <ch...@c-ware.de>
> > > > > > > > > >> napisał(a):
> > > > > > > > > >>
> > > > > > > > > >> > Ok ...
> > > > > > > > > >> >
> > > > > > > > > >> > so I just pushed another change. Now the distribution
> > > > > > > > > >> > should also contain an empty spark.css, just like the
> > > > > > > > > >> > Ant
> > > > one.
> > > > > > > > > >> >
> > > > > > > > > >> > Chris
> > > > > > > > > >> >
> > > > > > > > > >> >
> > > > > > > > > >> > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > Von: Christofer Dutz <ch...@c-ware.de>
> > > > > > > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> > > > > > > > > >> > An: dev@royale.apache.org
> > > > > > > > > >> > Betreff: AW: Align Maven IDE distribution with Ant
> > > > > > > > > >> > IDE distribution
> > > > > > > > > >> >
> > > > > > > > > >> > Ok,
> > > > > > > > > >> >
> > > > > > > > > >> > so that should now be fixed. Leaves the "spark.css"
> > > > > > > > > >> > Having had a look, it seems as if the Ant build
> > > > > > > > > >> > creates an empty
> > > > > > > > > >> spark.css.
> > > > > > > > > >> >
> > > > > > > > > >> > Is this all we need? If yes, then I'll have that in
> > > > > > > > > >> > ther in no
> > > > > > > time.
> > > > > > > > > >> >
> > > > > > > > > >> > Chris
> > > > > > > > > >> >
> > > > > > > > > >> > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> > > > > > > > > >> > An: Apache Royale Development <de...@royale.apache.org>
> > > > > > > > > >> > Betreff: Re: Align Maven IDE distribution with Ant
> > > > > > > > > >> > IDE distribution
> > > > > > > > > >> >
> > > > > > > > > >> > *(I assume that's in the "frameworks/js/libs"
> > > > > > > > > >> > directory? *
> > > > > > > > > >> >
> > > > > > > > > >> > Yes this is the directory.
> > > > > > > > > >> >
> > > > > > > > > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> > > > > > > > > >> > <ch...@c-ware.de>
> > > > > > > > > >> > napisał(a):
> > > > > > > > > >> >
> > > > > > > > > >> > > Hi Piotr,
> > > > > > > > > >> > >
> > > > > > > > > >> > > Ok ... so Ant seems to be adding a "JS" to the end
> > > > > > > > > >> > > of every name (I assume that's in the
> > "frameworks/js/libs"
> > > > > directory?
> > > > > > > > > >> > >
> > > > > > > > > >> > > Also I'll try to find out where the "spark.css"
> > > > > > > > > >> > > should come from
> > > > > > > > ...
> > > > > > > > > >> > > and where it should go to.
> > > > > > > > > >> > >
> > > > > > > > > >> > > Chris
> > > > > > > > > >> > >
> > > > > > > > > >> > >
> > > > > > > > > >> > > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > > > > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> > > > > > > > > >> > > An: Apache Royale Development
> > > > > > > > > >> > > <de...@royale.apache.org>
> > > > > > > > > >> > > Betreff: Re: Align Maven IDE distribution with Ant
> > > > > > > > > >> > > IDE distribution
> > > > > > > > > >> > >
> > > > > > > > > >> > > Chris,
> > > > > > > > > >> > >
> > > > > > > > > >> > > Looks better but here is the comparision what I
> > > > > > > > > >> > > have in Ant distribution vs Maven distribution in
> > > > > > > > > >> > > case of
> > > names.
> > > > > > > > > >> > > On the left Ant distribution, on the right Maven.
> > > > > > > > > >> > > It is
> > > > > folder:
> > > > > > > > > >> > > frameworks\js\libs\ [1]
> > > > > > > > > >> > >
> > > > > > > > > >> > > [1] https://ibb.co/W2DzcDb
> > > > > > > > > >> > >
> > > > > > > > > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> > > > > > > > > >> > > <ch...@c-ware.de>
> > > > > > > > > >> > > napisał(a):
> > > > > > > > > >> > >
> > > > > > > > > >> > > > And done ...
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > Now all elements in the distribution only consist
> > > > > > > > > >> > > > of their name and file-ending ... all versions
> > > > > > > > > >> > > > and classifiers have been
> > > > > > > > > removed.
> > > > > > > > > >> > > > Please provide me with feedback on if this solves
> > > > > > > > > >> > > > the
> > > > > > issues.
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > Chris
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > > > Von: Christofer Dutz <ch...@c-ware.de>
> > > > > > > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> > > > > > > > > >> > > > An: dev@royale.apache.org
> > > > > > > > > >> > > > Betreff: AW: Align Maven IDE distribution with
> > > > > > > > > >> > > > Ant IDE distribution
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > I'll probably have a fix for that in a few
> > > > > > > > > >> > > > minuntes
> > > ...
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > Chris
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> > > > > > > > > >> > > > An: Apache Royale Development
> > > > > > > > > >> > > > <de...@royale.apache.org>
> > > > > > > > > >> > > > Betreff: Re: Align Maven IDE distribution with
> > > > > > > > > >> > > > Ant IDE distribution
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > Chris,
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > No it's not about not picking up by IDE at all.
> > > > > > > > > >> > > > Moonshine and VSCode are able to build projects
> > > > > > > > > >> > > > using Maven distribution package! It is about
> > > > > > > > > >> > > > project which are mixed for example when user
> > > > > > > > > >> > > > wanted to use Jewel module + RemoteObject class
> > > > > > > > > >> > > > from MXRoyale module. In that case user need to
> > > > > > > > > >> > > > point explicilty as a compiler options in IDE
> > > > > > > > > >> > > > that he wanted to have SWC included and need to
> > > > > > > > > >> > > > exclude css from that swc to
> > > > > > > > > >> > > avoid problems.
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > It is happen like that:
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS
> > > > > > > > > >> > > > -js-library-path+.s
> > > > > > > > > >> > > > wc
> > > > > > > > > >> > > >
> > > > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> > > > > > > > > >> > > > cs
> > > > > > > > > >> > > > s
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > If I would like to use maven distribution user
> > > > > > > > > >> > > > need to know version for that compiler options.
> > > > > > > > > >> > > > It is even more tricky when your swc is called
> > > > > > > > > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.
> > > > > > > > > >> > > > cs
> > > > > > > > > >> > > > s
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > Thanks,
> > > > > > > > > >> > > > Piotr
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> > > > > > > > > >> > > > <ch...@c-ware.de>
> > > > > > > > > >> > > > napisał(a):
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > > Hi Piotr,
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > And is really the version-suffix causing it to
> > > > > > > > > >> > > > > not be picked up by the IDEs?
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > Chris
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > > > > >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> > > > > > > > > >> > > > > An: dev@royale.apache.org
> > > > > > > > > >> > > > > Betreff: Re: Align Maven IDE distribution with
> > > > > > > > > >> > > > > Ant IDE distribution
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > Hi Chris,
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > This is the only thing which seems to be a
> > > > > > > > > >> > > > > constant problem
> > > > > > > > > here.
> > > > > > > > > >> > > > > I personally and some users will be much more
> > > > > > > > > >> > > > > happy having that
> > > > > > > > > >> > change.
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > Thanks,
> > > > > > > > > >> > > > > Piotr
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> > > > > > > > > >> > > > > <ch...@c-ware.de>
> > > > > > > > > >> > > > > wrote:
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > > Hi Piotr,
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > I'd be happy to help with that.
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > I did simply ask for a list of things that
> > > > > > > > > >> > > > > > need to be changed in order to get things
> > > > > > > > > >> > > > > > working, but never got said list, so I never
> > > > > > > > > >> > > > > > knew what I could do to make the Maven
> > > > > > > > > >> > > > > > distribution match up to the
> > > > > > > > > >> > > > Ant built one.
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > Chris
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > > > > > Von: Piotr Zarzycki
> > > > > > > > > >> > > > > > <pi...@gmail.com>
> > > > > > > > > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> > > > > > > > > >> > > > > > An: Apache Royale Development
> > > > > > > > > >> > > > > > <de...@royale.apache.org>
> > > > > > > > > >> > > > > > Betreff: Align Maven IDE distribution with
> > > > > > > > > >> > > > > > Ant IDE distribution
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > Hi Guys,
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > It's been couple of times when user complains
> > > > > > > > > >> > > > > > that he have problems with using Maven
> > > > > > > > > >> > > > > > distribution vs Ant distribution in IDE in a
> > > > > > > > > >> > > > > > mixed project Jewel + MX/Spark
> > > > > > > etc.
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > Can we have that resolve once for all and
> > > > > > > > > >> > > > > > adjust Maven distribution folder to produce
> > > > > > > > > >> > > > > > proper names of
> > > > > swcs ?
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > Currently when I build Maven IDE distribution
> > > > > > > > > >> > > > > > I
> > > > have:
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > When I build Ant IDE distribution I have:
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > MXRoyale-js.swc
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > Thanks,
> > > > > > > > > >> > > > > > --
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > Piotr Zarzycki
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > --
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > Piotr Zarzycki
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > --
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > Piotr Zarzycki
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> > >
> > > > > > > > > >> > > --
> > > > > > > > > >> > >
> > > > > > > > > >> > > Piotr Zarzycki
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >> >
> > > > > > > > > >> > --
> > > > > > > > > >> >
> > > > > > > > > >> > Piotr Zarzycki
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > > > >>
> > > > > > > > > >> --
> > > > > > > > > >>
> > > > > > > > > >> Piotr Zarzycki
> > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > Carlos Rovira
> > > > > > > > > > Apache Member & Apache Royale PMC *Apache Software
> > > > > > > > > > Foundation* http://about.me/carlosrovira
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > Carlos Rovira
> > > > > > > > > Apache Member & Apache Royale PMC *Apache Software
> > > > > > > > > Foundation* http://about.me/carlosrovira
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > >
> > > > > > > > Piotr Zarzycki
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > >
> > > > > > > Piotr Zarzycki
> > > > > > >
> > > > > > --
> > > > > >
> > > > > > Piotr Zarzycki
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Carlos Rovira
> > > > > Apache Member & Apache Royale PMC
> > > > > *Apache Software Foundation*
> > > > > http://about.me/carlosrovira
> > > > >
> > > >
> > > >
> > > > --
> > > > Carlos Rovira
> > > > Apache Member & Apache Royale PMC
> > > > *Apache Software Foundation*
> > > > http://about.me/carlosrovira
> > > >
> > >
> > >
> > > --
> > >
> > > Piotr Zarzycki
> > >
> >
>
--
Piotr Zarzycki
RE: Align Maven IDE distribution with Ant IDE distribution
Posted by Maria Jose Esteve <mj...@iest.com>.
I think so, in one of the last commits it was reset to 0.9.8, before it was 0.9.9.
But I have compiled the sdk on February 18 and I have the same error ... I DON'T UNDERSTAND ANYTHING sure there is something pre-cached ... I don't know ..
Hiedra
-----Mensaje original-----
De: Piotr Zarzycki <pi...@gmail.com>
Enviado el: lunes, 22 de febrero de 2021 12:05
Para: Apache Royale Development <de...@royale.apache.org>
Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
We are using again compiler 0.9.8-SNAPSHOT yes ?
pon., 22 lut 2021 o 12:01 Alina Kazi <al...@gmail.com> napisał(a):
> Thanks Chris.
>
> On Mon, Feb 22, 2021 at 3:59 PM Maria Jose Esteve <mj...@iest.com>
> wrote:
>
> > Thanks Chris, I'll be listening.
> >
> > Hiedra
> > -----Mensaje original-----
> > De: Christofer Dutz <ch...@c-ware.de>
> > Enviado el: lunes, 22 de febrero de 2021 11:52
> > Para: dev@royale.apache.org
> > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi all,
> >
> > so I had a look and it seems the distribution was missing a number of
> > libraries, which seem to have been added, since I created the
> distribution
> > in 2016 ... Some modules were added after that, but not all. It seems all
> > probelms you are reporting result from some of them missing. I added them
> > and now they are correctly added to my distributions. I also compared
> them
> > with the ANT built version ... the last missing piece is the ACE module,
> > which was disabled in Maven as the Ace typedef was not a maven module. I
> > took the liberty of creating a Maven typedef module for ace and re-added
> > the ACE module to the Maven build and to the distribution.
> >
> > I'm currently testing a few things and will commit as soon as I'm happy
> > with my changes.
> >
> >
> > Chris
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Alina Kazi <al...@gmail.com>
> > Gesendet: Montag, 22. Februar 2021 11:26
> > An: dev@royale.apache.org
> > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi,
> > I am also facing a problem with latest SDK.
> > when I add something new in emulation and re-build SDK. when I recompile
> > the application with the latest distribution , error in application does
> > not go away that I already fixed in previous commit.
> > It seems that the distribution does not have everything latest that it
> > should have.
> >
> > -Alina
> >
> > On Mon, Feb 22, 2021 at 3:20 PM Maria Jose Esteve <mj...@iest.com>
> > wrote:
> >
> > > I can't work either.
> > > With no Maven, Ant combination, always error: "Error <fx: Array> This
> > > tag could not be resolved to an ActionScript class ..."
> > >
> > > Do you know what happens? I am not able to understand or fix this.
> > >
> > > Hiedra.
> > >
> > > -----Mensaje original-----
> > > De: Piotr Zarzycki <pi...@gmail.com> Enviado el: lunes, 22
> > > de febrero de 2021 11:03
> > > Para: Apache Royale Development <de...@royale.apache.org>
> > > Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > Hi Guys,
> > >
> > > I just tried new distribution and I'm able to build simple example.
> > > However our Royale project is not building - I'm getting following
> > > exception:
> > >
> > > : Exception in thread "main" java.lang.NoClassDefFoundError:
> > > org/apache/commons/lang/StringEscapeUtils
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.LiteralEmitter.emit(
> > > LiteralEmitter.java:225)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitLiteral(JSRoyaleEmitter.java:1040)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.visitLiteral(ASBlockWalker.java:479)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeSwitch.handle(ASNodeSwitch.java:373)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.goog.JSGoogEmitter.emit
> > > AssignedValue(JSGoogEmitter.java:965)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitAssignmen
> > > tCoercion(JSEmitter.java:917)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitAssignmentCoercion(JSRoyaleEmitter.java:1558)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
> > > sEmitter.emitContents(FunctionCallArgumentsEmitter.java:103)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
> > > sEmitter.emit(FunctionCallArgumentsEmitter.java:50)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
> > > sEmitter.emit(FunctionCallArgumentsEmitter.java:35)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitArguments
> > > (JSEmitter.java:259)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitArguments(JSRoyaleEmitter.java:986)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallEmitter.
> > > emit(FunctionCallEmitter.java:693)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitFunctionCall(JSRoyaleEmitter.java:906)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.visitFunctionCall(ASBlockWalker.java:330)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeSwitch.handle(ASNodeSwitch.java:207)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.goog.JSGoogEmitter.emit
> > > AssignedValue(JSGoogEmitter.java:965)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitAssignmen
> > > tCoercion(JSEmitter.java:917)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitAssignmentCoercion(JSRoyaleEmitter.java:1558)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.BinaryOperatorEmitte
> > > r.super_emitBinaryOperator(BinaryOperatorEmitter.java:598)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.BinaryOperatorEmitte
> > > r.emit(BinaryOperatorEmitter.java:500)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitBinaryOperator(JSRoyaleEmitter.java:1028)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.visitBinaryOperator(ASBlockWalker.java:538)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeSwitch.handle(ASNodeSwitch.java:348)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.StatementEmitter.emi
> > > t(StatementEmitter.java:40)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.StatementEmitter.emi
> > > t(StatementEmitter.java:29)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitStatement
> > > (JSEmitter.java:349)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitStatement(JSRoyaleEmitter.java:1204)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.visitBlock(ASBlockWalker.java:349)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeSwitch.handle(ASNodeSwitch.java:278)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.as.ASEmitter.emitMethodSco
> > > pe(ASEmitter.java:830)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.MethodEmitter.emit(M
> > > ethodEmitter.java:160)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitMethod(JSRoyaleEmitter.java:891)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.visitFunction(ASBlockWalker.java:290)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeSwitch.handle(ASNodeSwitch.java:152)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmit
> > > ter.emitScripts(MXMLRoyaleEmitter.java:2179)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmit
> > > ter.emitDocument(MXMLRoyaleEmitter.java:899)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleBloc
> > > kWalker.visitDocument(MXMLRoyaleBlockWalker.java:69)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle
> > > (MXMLNodeSwitch.java:89)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(
> > > MXMLBlockWalker.java:156)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleBloc
> > > kWalker.visitFile(MXMLRoyaleBlockWalker.java:61)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle
> > > (MXMLNodeSwitch.java:95)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(
> > > MXMLBlockWalker.java:156)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.visit
> > > CompilationUnit(MXMLBlockWalker.java:187)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.MXMLWriter.writeTo(MX
> > > MLWriter.java:69)
> > > : at
> > >
> > > org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale
> > > .java:411)
> > > : at
> > >
> > > org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRo
> > > yale.java:259)
> > > : at
> > >
> > > org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoy
> > > ale.java:216)
> > > : at
> > > org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:36
> > > 3)
> > > : at
> > > org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298
> > > )
> > > : at
> > >
> > > org.apache.royale.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.ja
> > > va:256)
> > > : at org.apache.royale.compiler.clients.MXMLJSC.main(MXMLJSC.java:238)
> > > : Caused by: java.lang.ClassNotFoundException:
> > > org.apache.commons.lang.StringEscapeUtils
> > > : at
> > >
> > > java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClas
> > > sLoader.java:582)
> > > : at
> > >
> > > java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Cl
> > > assLoaders.java:178)
> > > : at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
> > > : ... 67 more
> > >
> > > niedz., 21 lut 2021 o 18:57 Carlos Rovira <ca...@apache.org>
> > > napisał(a):
> > >
> > > > Hi,
> > > >
> > > > I worked today on this and finally could solve the problem. A part
> > > > from Chris changes we need a bit more changes since all was set up
> > > > from the compiler to use the old names. So class paths need to be
> > > changed too there.
> > > > Also Google Closure compiler need to be in jar mode instead of
> > unpacked.
> > > >
> > > > Now I can use CMD (or CTRL) + SHIFT + B and select Debug or Release
> > > > option with Actionscript extension and all goes ok.
> > > > When using CMD+ENTER I think VsCode use the experimental build in
> > > > Josh extension and take the SDK in ROYALE_HOME, and since that's the
> > > > one build in the repository with ANT all seems fine, but is not
> > > > using the selected SDK, so the build is not using what you expect.
> > > >
> > > > This is my output now using the Maven Distribution SDK:
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > *> Executing task in folder TourDeJewel:
> > > > /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/b
> > > > in
> > > > /java
> > > > -jar
> > > >
> > > > /Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas
> > > > -1
> > > > .6.0/bin/asconfigc.jar --sdk
> > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven --debug=true
> > > > --project
> > > >
> > > > /Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/Tou
> > > > rD
> > > > eJewel/asconfig.json
> > > >
> > > > <MXMLJSC+royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale
> > > > -m
> > > > aven/frameworks--debug=true+configname=royale--targets=JSRoyale--sou
> > > > rc
> > > > e-path+=src/main/resources--source-map=true--html-template=src/main/
> > > > e-path+re
> > > > sources/jewel-example-index-template.html--theme=${royalelib}/themes
> > > > /J
> > > > ewelTheme/src/main/resources/defaults.css-js-dynamic-access-unknown-
> > > > me mbers=true--src/main/royale/App.mxmlThe
> > > > project 'App' has been successfully compiled.12.80962843
> > > > secondsTerminal will be reused by tasks, press any key to close it.*
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > El sáb, 20 feb 2021 a las 18:16, Christofer Dutz (<
> > > > christofer.dutz@c-ware.de>)
> > > > escribió:
> > > >
> > > > > So I just did a video and posted it to the Royale slack channel ...
> > > > >
> > > > > I can't seem to reproduce the error ... perhaps if you check what
> > > > > I'm doing you can tell me if I'm doing something wrong.
> > > > > I did try to rule out that I might have not configured VSCode to
> > > > > use my distribution by intentionally changing the settings to a
> > > > > wrong
> > > location.
> > > > It
> > > > > didn't work then, and when I changed it back to the correct
> > > > > version, I could build again.
> > > > >
> > > > > Chris
> > > > >
> > > > >
> > > > > -----Ursprüngliche Nachricht-----
> > > > > Von: Carlos Rovira <ca...@apache.org>
> > > > > Gesendet: Samstag, 20. Februar 2021 15:17
> > > > > An: Apache Royale Development <de...@royale.apache.org>
> > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > > distribution
> > > > >
> > > > > Hi,
> > > > >
> > > > > sorry, yesterday was mostly offline for some personal things. Many
> > > > > things happen in this thread.
> > > > > I rebuild all today and check. This is what I can report trying to
> > > > > build TDJ with Maven SDK with Chris's changes.
> > > > > Setting my VSCode with AS3&MXML to the Maven SDK just generated:
> > > > >
> > > > > 1.- I can't build with CMD+SHIFT+ENTER, then "Build Debug with AS3
> > > > > Extension Tour de Jewel" (as josh said). I get :
> > > > >
> > > > > Executing task in folder TourDeJewel:
> > > > >
> > > > /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/b
> > > > in
> > > > /java
> > > > > -jar
> > > > >
> > > > >
> > > > /Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas
> > > > -1
> > > > .6.0/bin/asconfigc.jar
> > > > > --sdk /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
> > > > --debug=true
> > > > > --project
> > > > >
> > > > /Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/Tou
> > > > rD
> > > > eJewel/asconfig.json
> > > > > <
> > > > >
> > > > > Error: no se ha encontrado o cargado la clase principal
> > > > > org.apache.royale.compiler.clients.MXMLJSC
> > > > > The terminal process
> > > > >
> > > > >
> > > > "/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/
> > > > bi
> > > > n/java
> > > > > '-jar',
> > > > >
> > > > >
> > > > '/Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgena
> > > > s-
> > > > 1.6.0/bin/asconfigc.jar',
> > > > > '--sdk',
> > > > > '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven',
> > > > > '--debug=true', '--project',
> > > > >
> > > > >
> > > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/TourDeJewel/asconfig.json'"
> > > > > terminated with exit code: 1.
> > > > >
> > > > > Terminal will be reused by tasks, press any key to close it.
> > > > >
> > > > >
> > > > > 2.- I can build with CMD+ENTER. I get:
> > > > >
> > > > > Royale Compiler Shell
> > > > > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> > > > > --source-path+=src/main/resources --source-map=true
> > > > > --html-template=src/main/resources/jewel-example-index-template.ht
> > > > > ml
> > > > > --theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults
> > > > > .c ss -js-dynamic-access-unknown-members=true --
> > > > > src/main/royale/App.mxml
> > > > > fcsh: Assigned 1 as the compile target id The project 'App' has
> > > > > been successfully compiled and optimized.
> > > > > Compile status: 0
> > > > > Elapsed time: 26.925719521 seconds Feb 20, 2021 3:10:42 PM
> > > > > com.google.javascript.jscomp.LoggerErrorManager
> > > > > printSummary
> > > > > INFO: 0 error(s), 0 warning(s), 97.8% typed
> > > > > (fcsh)
> > > > >
> > > > > I don't understand fully the differences between one method and
> > > > > the other and why I get different results. I guess know what's
> > > > > happening is needed
> > > > so
> > > > > Chris can do the proper changes. probably there are paths and
> > > > > locations mixed.
> > > > >
> > > > > @Chris, one thing I did in the past was to compare maven
> > > > > distribution
> > > > with
> > > > > ant distribution so both has most of the things in the same place.
> > > > > I
> > > > think
> > > > > some files where left in more than one place (like mxmlc).
> > > > >
> > > > > If you could take a look at it, that will for sure fix the issue.
> > > > > You
> > > > have
> > > > > TDJ and the other project to test if that works and now we know
> > > > > that is better to try with CMD+SHIFT+ENTER, then "Build Debug with
> > > > > AS3 Extension Tour de Jewel"
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > El vie, 19 feb 2021 a las 18:45, Piotr Zarzycki (<
> > > > > piotrzarzycki21@gmail.com>)
> > > > > escribió:
> > > > >
> > > > > > It looks like something bad has happened with my environment. I
> > > > > > changed lately Java settings a bit. You can see what is setup in
> > > > > > my
> > > > > stacktrace.
> > > > > >
> > > > > > I will get back to that over the weekend or on Monday.
> > > > > >
> > > > > > On Fri, 19 Feb 2021 at 18:24, Maria Jose Esteve
> > > > > > <mj...@iest.com>
> > > > > wrote:
> > > > > >
> > > > > > > Hi,
> > > > > > > Piotr, I just tested your distribution with my project and the
> > > > > > compilation
> > > > > > > was successful, no errors.
> > > > > > > Running the application seems to be working fine too.
> > > > > > > (I compile the application with mvn)
> > > > > > >
> > > > > > > What do they need me to try now?
> > > > > > >
> > > > > > > Hiedra.
> > > > > > > -----Mensaje original-----
> > > > > > > De: Piotr Zarzycki <pi...@gmail.com> Enviado el:
> > > > > > > viernes,
> > > > > > > 19 de febrero de 2021 18:11
> > > > > > > Para: Apache Royale Development <de...@royale.apache.org>
> > > > > > > Asunto: Re: Align Maven IDE distribution with Ant IDE
> > > > > > > distribution
> > > > > > >
> > > > > > > Did you test my distribution ?
> > > > > > >
> > > > > > > pt., 19 lut 2021 o 18:00 Christofer Dutz
> > > > > > > <ch...@c-ware.de>
> > > > > > > napisał(a):
> > > > > > >
> > > > > > > > So I did a bit more of testing.
> > > > > > > >
> > > > > > > > So after I had no issues building Carlos' example, I tried
> > > > > > > > the TourDeJewl example.
> > > > > > > > So I opened VSCode in the directory of TDJ example ...
> > > > > > > > created a settings.json with the folowing content:
> > > > > > > >
> > > > > > > > {
> > > > > > > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > > > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > > > > > > }
> > > > > > > >
> > > > > > > > Hit STRG+Enter and waited a bit ...
> > > > > > > >
> > > > > > > > Then I opened the output in Chrome and have a fully
> > > > > > > > functioning TDJ application.
> > > > > > > >
> > > > > > > > So I wouldn't consider the build broken.
> > > > > > > >
> > > > > > > > Chris
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > > > > > Gesendet: Freitag, 19. Februar 2021 17:51
> > > > > > > > An: dev@royale.apache.org
> > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Sure, that would be "expected", but like I told you: if I
> > > > > > > > change it to MXRoyaleJS.swc, the app "does nonsense".
> > > > > > > > Maybe something has gotten my way.
> > > > > > > >
> > > > > > > > I will read your messages and see if I can help with
> something.
> > > > > > > >
> > > > > > > > Hiedra.
> > > > > > > > -----Mensaje original-----
> > > > > > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > > > > > > viernes,
> > > > > > > > 19 de febrero de 2021 14:12
> > > > > > > > Para: dev@royale.apache.org
> > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Hi Hiedra,
> > > > > > > >
> > > > > > > > well I changed the distribution to make the names like in
> > > > > > > > the ANT distribution yesterday.
> > > > > > > > But you are passing in an argument telling the compiler to
> > > > > > > > use the old format and now it should be the new ...
> > > > > > > >
> > > > > > > > Try:
> > > > > > > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> > > > > > > > defaults.css; For -compiler.exclude-defaults-css-files =
> > > > > MXRoyaleJS.swc:
> > > > > > > > defaults.css;
> > > > > > > >
> > > > > > > > Instead of your variant.
> > > > > > > >
> > > > > > > > Chris
> > > > > > > >
> > > > > > > >
> > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > > > > > Gesendet: Freitag, 19. Februar 2021 14:08
> > > > > > > > An: dev@royale.apache.org
> > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Yes, until recently I also compiled only with Maven. Due to
> > > > > > > > the problem with the spark.css I started to do the double
> > > > > > > > compilation of
> > > > > > > MAVEN and ANT.
> > > > > > > >
> > > > > > > > It's funny, now, the swc's are not generated with
> > > > > > > > "xxxx-0.9.8-SNAPSHOT-js.swc" in the distribution BUT if in
> > > > > > > > the pom of my project I change in additionalCompilerOptions:
> > > > > > > > -compiler.exclude-defaults-css-files = MXRoyale - $
> > > > > > > > {royale.framework.version} -js.swc: defaults.css; For
> > > > > > > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> > > > > > > > defaults.css; My application starts to do nonsense (for
> > > > > > > > example the change of selectedContent in my
> > > > > > > > ApplicationMainContent does not display)
> > > > > > > >
> > > > > > > > Chris, thank you.
> > > > > > > > Hiedra
> > > > > > > >
> > > > > > > > -----Mensaje original-----
> > > > > > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > > > > > > viernes,
> > > > > > > > 19 de febrero de 2021 13:09
> > > > > > > > Para: dev@royale.apache.org
> > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Hi Hiedra,
> > > > > > > >
> > > > > > > > I have to admit that I've never used VSCode. Every time I do
> > > > > > > > any development I usually use one of the JetBrains IDEs.
> > > > > > > > Royale Stuff I do in IntelliJ ... with my "Flexmojos Hack"
> > > > > > > > it can be used quite well. And I always compile with Maven.
> > > > > > > >
> > > > > > > > But thanks for the explanation on why the other path is set
> > > > > > differently.
> > > > > > > >
> > > > > > > > I guess we'll have to wait till some others can tell me what
> > > > > > > > needs to be changed.
> > > > > > > >
> > > > > > > > Chris
> > > > > > > >
> > > > > > > >
> > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > > > > > Gesendet: Freitag, 19. Februar 2021 12:48
> > > > > > > > An: dev@royale.apache.org
> > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Hello Chris,
> > > > > > > > so that I can debug my changes in the SDK I need to set the
> > > > > > > > path of the "as3mxml.sdk.editor" to the asjs directory of my
> > > > > > > > fork, for this reason the path of the "
> as3mxml.sdk.framework"
> > > > > > > > points to the directory of the maven distribution and the
> > > "as3mxml.sdk.editor"
> > > > > > > > to
> > > > > > code.
> > > > > > > >
> > > > > > > > ">> I'm not getting any errors from VSCode. But well ... if
> > > > > > > > I hit
> > > > > > > > SHIFT+Enter it starts doing something where if failed prior
> > > > > > > > SHIFT+to my
> > > > > > > > >> changes this morning and is no longer complaining, but
> > > > > > > > >> it's also not
> > > > > > > > doing much (I can't see it create a "bin" directory)"
> > > > > > > >
> > > > > > > > I don't quite understand this ... possibly because of my
> > > > > > > > lack of
> > > > > > > knowledge.
> > > > > > > >
> > > > > > > > I have not tried Carlos's project but this afternoon I will
> > > > > > > > be able to do it and I will be able to give more details.
> > > > > > > >
> > > > > > > > Thx.
> > > > > > > > Hiedra.
> > > > > > > >
> > > > > > > > -----Mensaje original-----
> > > > > > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > > > > > > viernes,
> > > > > > > > 19 de febrero de 2021 11:51
> > > > > > > > Para: dev@royale.apache.org
> > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Hi Heidra,
> > > > > > > >
> > > > > > > > I just updated Carlos' example to have the same type of
> > > > > > > > setting (C:\\Temp\\RoyaleSDK is where I have my Maven build
> > > > > > > > generate the
> > > > > SDK):
> > > > > > > >
> > > > > > > > setings.js:
> > > > > > > > {
> > > > > > > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > > > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > > > > > > }
> > > > > > > >
> > > > > > > > workspace-code-workspace
> > > > > > > > {
> > > > > > > > "folders": [
> > > > > > > > {
> > > > > > > > "path": ".."
> > > > > > > > }
> > > > > > > > ],
> > > > > > > > "settings": {
> > > > > > > > "as3mxml.sdk.framework":
> "C:\\Temp\\RoyaleSDK",
> > > > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > > > > > > }
> > > > > > > > }
> > > > > > > >
> > > > > > > > I'm not getting any errors from VSCode. But well ... if I
> > > > > > > > hit
> > > > > > > > SHIFT+Enter it starts doing something where if failed prior
> > > > > > > > SHIFT+to my
> > > > > > > > changes this morning and is no longer complaining, but it's
> > > > > > > > also not doing much (I can't see it create a "bin"
> > > > > > > > directory)
> > > > > > > >
> > > > > > > > Chris
> > > > > > > >
> > > > > > > >
> > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > > > > > Gesendet: Freitag, 19. Februar 2021 10:53
> > > > > > > > An: dev@royale.apache.org
> > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > If I don't compile with ANT, the mxml extension in vsCode
> > > > > > > > IDE, it doesn't recognize the valid asjs directory for
> > > > "as3mxml.sdk.editor":
> > > > > > > > ...
> > > > > > > > "settings": {
> > > > > > > > "as3mxml.sdk.framework":
> > > > > > > > "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
> > > > > > > > "as3mxml.sdk.editor":
> > > > > > > > "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs"
> > > > > > > > <-------- [download folder repo royale-asjs]
> > > > > > > > }
> > > > > > > > }
> > > > > > > >
> > > > > > > > The error is:
> > > > > > > > " as3mxml.sdk.editor in settings does not point to a valid
> SDK.
> > > > > > > > Requires..."
> > > > > > > >
> > > > > > > > Thx.
> > > > > > > > Hiedra.
> > > > > > > >
> > > > > > > > -----Mensaje original-----
> > > > > > > > De: Piotr Zarzycki <pi...@gmail.com> Enviado el:
> > > > > > > > viernes, 19 de febrero de 2021 10:44
> > > > > > > > Para: Apache Royale Development <de...@royale.apache.org>
> > > > > > > > Asunto: Re: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Hi Chris,
> > > > > > > >
> > > > > > > > I just tried your changes and I have same issue. I need to
> > > > > > > > understand what has change enough significantly that it
> > > > > > > > causes compilation fail in such way. It doesn't happen with
> > > > > > > > SDK prepared
> > > > by
> > > > > ANT.
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > > Piotr
> > > > > > > >
> > > > > > > > pt., 19 lut 2021 o 10:33 Maria Jose Esteve
> > > > > > > > <mj...@iest.com>
> > > > > > > napisał(a):
> > > > > > > >
> > > > > > > > > @Chris you're right, sorry, I didn't download your last
> > commit.
> > > > > > > > > I'm sorry.
> > > > > > > > > Hiedra.
> > > > > > > > >
> > > > > > > > > -----Mensaje original-----
> > > > > > > > > De: Christofer Dutz <ch...@c-ware.de> Enviado
> el:
> > > > > > > > > viernes,
> > > > > > > > > 19 de febrero de 2021 10:17
> > > > > > > > > Para: dev@royale.apache.org
> > > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > > distribution
> > > > > > > > >
> > > > > > > > > I'll try to guess what you wanted to say here ...
> > > > > > > > >
> > > > > > > > > But I think these are exactly the changes I comitted a an
> > > > > > > > > hour ago,
> > > > > > > > right?
> > > > > > > > > At least in general I replaced all the references to names
> > > > > > > > > with versions to the changed ones.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Chris
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > > > > > > Gesendet: Freitag, 19. Februar 2021 10:01
> > > > > > > > > An: dev@royale.apache.org
> > > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > > > > distribution
> > > > > > > > >
> > > > > > > > > Hi,
> > > > > > > > > Mi distribución hace referencia en el fichero
> > > > > > > > > "./frameworks/royale-config.xml" a las librerías:
> > > > > > > > >
> > > > > > > > > <js-external-library-path>
> > > > > > > > >
> > > > > > > > >
> > > > >
> <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.
> > > > > > > > > sw
> > > > > > > > > c</path-element>
> > > > > > > > >
> > > > > > > > >
> > > > > > > > <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-
> > > > > > > > ty
> > > > > > > > pede
> > > > > > > > fs.s
> > > > > > > > wc</path-element>
> > > > > > > > > </js-external-library-path>
> > > > > > > > >
> > > > > > > > > Las correctas son:
> > > > > > > > >
> > > > > > > > > <js-external-library-path>
> > > > > > > > >
> > > > > > >
> > > > > > > <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> > > > > > > > >
> > > > > > >
> > > > > > > <path-element>../js/libs/royale-typedefs-gcl.swc</path-element
> > > > > > > >
> > > > > > > > > </js-external-library-path>
> > > > > > > > >
> > > > > > > > > Hiedra
> > > > > > > > >
> > > > > > > > > -----Mensaje original-----
> > > > > > > > > De: Christofer Dutz <ch...@c-ware.de> Enviado
> el:
> > > > > > > > > viernes,
> > > > > > > > > 19 de febrero de 2021 9:39
> > > > > > > > > Para: dev@royale.apache.org
> > > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > > distribution
> > > > > > > > >
> > > > > > > > > Ok,
> > > > > > > > >
> > > > > > > > > so the config xml files in the distribution were still
> > > > > > > > > pointing to the old names. I updated them all to now refer
> > > > > > > > > to
> > > the names.
> > > > > > > > > I tried things in Carlos' demo project, and I'm no-longer
> > > > > > > > > getting the errors, however compilation seems to take for
> > ever.
> > > > > > > > >
> > > > > > > > > Please try out the changes and tell me if there are any
> > > > > > > > > problems with
> > > > > > > > them.
> > > > > > > > >
> > > > > > > > > Chris
> > > > > > > > >
> > > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > Von: Christofer Dutz <ch...@c-ware.de>
> > > > > > > > > Gesendet: Donnerstag, 18. Februar 2021 23:17
> > > > > > > > > An: dev@royale.apache.org
> > > > > > > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > > distribution
> > > > > > > > >
> > > > > > > > > Hi Carlos,
> > > > > > > > >
> > > > > > > > > I'll look into this tomorrow.
> > > > > > > > >
> > > > > > > > > Chris
> > > > > > > > >
> > > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > Von: Carlos Rovira <ca...@apache.org>
> > > > > > > > > Gesendet: Donnerstag, 18. Februar 2021 17:49
> > > > > > > > > An: Apache Royale Development <de...@royale.apache.org>
> > > > > > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > > > > > > distribution
> > > > > > > > >
> > > > > > > > > Hi, I think I talked very quickly, sorry, there seems to
> > > > > > > > > be a
> > > > > > problem.
> > > > > > > > >
> > > > > > > > > @Christofer Dutz <ch...@c-ware.de> you can
> > > > > > > > > download this
> > > > > > > > > project:
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > https://github.com/apache/royale-asjs/files/6004363/Toggle
> > > > > > > > > Bu
> > > > > > > > > tton
> > > > > > > > > BarI
> > > > > > > > > ss
> > > > > > > > > ue.zip
> > > > > > > > >
> > > > > > > > > Then using VSCode with AS3&MXML and adding the Maven
> > > > distribution.
> > > > > > > > > Then hit CTRL+ENTER and you will get the following fail.
> > > > > > > > > Using ANT distribution is working fine.
> > > > > > > > > Can you take a look?
> > > > > > > > >
> > > > > > > > > Royale Compiler Shell
> > > > > > > > > (fcsh) mxmlc --debug=false +configname=royale
> > > > > > > > > --targets=JSRoyale --source-map=true
> > > > > > > > > --html-template=src/html/jewel-example-index-template.html
> > > > > > > > >
> > > > > > > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapph
> > > > > > > > > ir
> > > > > > > > > e-Th
> > > > > > > > > eme/
> > > > > > > > > sr
> > > > > > > > > c/main/resources/defaults.css
> > > > > > > > > --source-path+=src
> > > > > > > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyal
> > > > > > > > > --source-path+--library-path+eJ S.sw c
> > > > > > > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > > > > > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaul
> > > > > > > > > ts .css -js-dynamic-access-unknown-members=true --
> > > > > > > > > src/App.mxml
> > > > > > > > > fcsh: Assigned 1 as the compile target id The project 'App'
> > > > > > > > > has been successfully compiled and optimized.
> > > > > > > > > Compile status: 0
> > > > > > > > > Elapsed time: 14.211105399 seconds Feb 18, 2021 5:43:40 PM
> > > > > > > > > com.google.javascript.jscomp.LoggerErrorManager
> > > > > > > > > printSummary
> > > > > > > > > INFO: 0 error(s), 0 warning(s), 96.5% typed
> > > > > > > > > (fcsh) quit
> > > > > > > > > Compiler shell exited with code: 0 Royale Compiler Shell
> > > > > > > > > (fcsh) mxmlc --debug=false +configname=royale
> > > > > > > > > --targets=JSRoyale --source-map=true
> > > > > > > > > --html-template=src/html/jewel-example-index-template.html
> > > > > > > > >
> > > > > > > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapph
> > > > > > > > > ir
> > > > > > > > > e-Th
> > > > > > > > > eme/
> > > > > > > > > sr
> > > > > > > > > c/main/resources/defaults.css
> > > > > > > > > --source-path+=src
> > > > > > > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyal
> > > > > > > > > --source-path+--library-path+eJ S.sw c
> > > > > > > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > > > > > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaul
> > > > > > > > > ts .css -js-dynamic-access-unknown-members=true --
> > > > > > > > > src/App.mxml
> > > > > > > > > fcsh: Assigned 1 as the compile target id Compile status:
> > > > > > > > > 5 Elapsed
> > > > > > > time:
> > > > > > > > > 0.618407478 seconds
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > > > > > > > > col: 0 Error: unable to open
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
> > > > > > > > >
> > > > > > > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/fr
> > > > > > > > > am
> > > > > > > > > ewor
> > > > > > > > > ks/r
> > > > > > > > > oy
> > > > > > > > > ale-config.xml
> > > > > > > > > (line: 81)
> > > > > > > > >
> > > > > > > > > </js-external-library-path>
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > > > > > > > > col: 0 Error: unable to open
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
> > > > > > > > >
> > > > > > > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/fr
> > > > > > > > > am
> > > > > > > > > ewor
> > > > > > > > > ks/r
> > > > > > > > > oy
> > > > > > > > > ale-config.xml
> > > > > > > > > (line: 81)
> > > > > > > > >
> > > > > > > > > </js-external-library-path>
> > > > > > > > > (fcsh)
> > > > > > > > > Quick Compile failed. Errors in compiler output.
> > > > > > > > >
> > > > > > > > > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
> > > > > > > > > (<ca...@apache.org>)
> > > > > > > > > escribió:
> > > > > > > > >
> > > > > > > > > > Hi,
> > > > > > > > > >
> > > > > > > > > > I rebuilt all from scratch just now and finally the
> > > > > > > > > > distribution too and tried in VSCode and all seems to
> > > > > > > > > > work fine
> > > > > for me.
> > > > > > > > > >
> > > > > > > > > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> > > > > > > > > > christofer.dutz@c-ware.de>) escribió:
> > > > > > > > > >
> > > > > > > > > >> Hi Piotr,
> > > > > > > > > >>
> > > > > > > > > >> that class is located in lib\external\flex-tool-api.jar
> > > > > > > > > >> At least in my distribution it's there and it contains
> > > > > > > > > >> the
> > > class.
> > > > > > > > > >>
> > > > > > > > > >> How are you calling the build that's failing?
> > > > > > > > > >>
> > > > > > > > > >> Chris
> > > > > > > > > >>
> > > > > > > > > >> -----Ursprüngliche Nachricht-----
> > > > > > > > > >> Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > > > > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> > > > > > > > > >> An: Apache Royale Development <de...@royale.apache.org>
> > > > > > > > > >> Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > > > > > > >> distribution
> > > > > > > > > >>
> > > > > > > > > >> Chris,
> > > > > > > > > >>
> > > > > > > > > >> I just checked and I'm not able build project anymore
> > > > > > > > > >> using
> > > > > > > > > distribution:
> > > > > > > > > >>
> > > > > > > > > >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
> > > > > > > > > >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
> > > > > > > > > >> -Xms356m -Xmx3000m
> > > > > > > > > >> : Error: Could not find or load main class
> > > > > > > > > >> org.apache.royale.compiler.clients.MXMLJSC
> > > > > > > > > >> : Caused by: java.lang.NoClassDefFoundError:
> > > > > > > > > >> org/apache/flex/tools/FlexTool
> > > > > > > > > >>
> > > > > > > > > >> I'm done for today, so I will answer anything tomorrow.
> > > > > > > > > >>
> > > > > > > > > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
> > > > > > > > > >> <ch...@c-ware.de>
> > > > > > > > > >> napisał(a):
> > > > > > > > > >>
> > > > > > > > > >> > Ok ...
> > > > > > > > > >> >
> > > > > > > > > >> > so I just pushed another change. Now the distribution
> > > > > > > > > >> > should also contain an empty spark.css, just like the
> > > > > > > > > >> > Ant
> > > > one.
> > > > > > > > > >> >
> > > > > > > > > >> > Chris
> > > > > > > > > >> >
> > > > > > > > > >> >
> > > > > > > > > >> > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > Von: Christofer Dutz <ch...@c-ware.de>
> > > > > > > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> > > > > > > > > >> > An: dev@royale.apache.org
> > > > > > > > > >> > Betreff: AW: Align Maven IDE distribution with Ant
> > > > > > > > > >> > IDE distribution
> > > > > > > > > >> >
> > > > > > > > > >> > Ok,
> > > > > > > > > >> >
> > > > > > > > > >> > so that should now be fixed. Leaves the "spark.css"
> > > > > > > > > >> > Having had a look, it seems as if the Ant build
> > > > > > > > > >> > creates an empty
> > > > > > > > > >> spark.css.
> > > > > > > > > >> >
> > > > > > > > > >> > Is this all we need? If yes, then I'll have that in
> > > > > > > > > >> > ther in no
> > > > > > > time.
> > > > > > > > > >> >
> > > > > > > > > >> > Chris
> > > > > > > > > >> >
> > > > > > > > > >> > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> > > > > > > > > >> > An: Apache Royale Development <de...@royale.apache.org>
> > > > > > > > > >> > Betreff: Re: Align Maven IDE distribution with Ant
> > > > > > > > > >> > IDE distribution
> > > > > > > > > >> >
> > > > > > > > > >> > *(I assume that's in the "frameworks/js/libs"
> > > > > > > > > >> > directory? *
> > > > > > > > > >> >
> > > > > > > > > >> > Yes this is the directory.
> > > > > > > > > >> >
> > > > > > > > > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> > > > > > > > > >> > <ch...@c-ware.de>
> > > > > > > > > >> > napisał(a):
> > > > > > > > > >> >
> > > > > > > > > >> > > Hi Piotr,
> > > > > > > > > >> > >
> > > > > > > > > >> > > Ok ... so Ant seems to be adding a "JS" to the end
> > > > > > > > > >> > > of every name (I assume that's in the
> > "frameworks/js/libs"
> > > > > directory?
> > > > > > > > > >> > >
> > > > > > > > > >> > > Also I'll try to find out where the "spark.css"
> > > > > > > > > >> > > should come from
> > > > > > > > ...
> > > > > > > > > >> > > and where it should go to.
> > > > > > > > > >> > >
> > > > > > > > > >> > > Chris
> > > > > > > > > >> > >
> > > > > > > > > >> > >
> > > > > > > > > >> > > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > > > > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> > > > > > > > > >> > > An: Apache Royale Development
> > > > > > > > > >> > > <de...@royale.apache.org>
> > > > > > > > > >> > > Betreff: Re: Align Maven IDE distribution with Ant
> > > > > > > > > >> > > IDE distribution
> > > > > > > > > >> > >
> > > > > > > > > >> > > Chris,
> > > > > > > > > >> > >
> > > > > > > > > >> > > Looks better but here is the comparision what I
> > > > > > > > > >> > > have in Ant distribution vs Maven distribution in
> > > > > > > > > >> > > case of
> > > names.
> > > > > > > > > >> > > On the left Ant distribution, on the right Maven.
> > > > > > > > > >> > > It is
> > > > > folder:
> > > > > > > > > >> > > frameworks\js\libs\ [1]
> > > > > > > > > >> > >
> > > > > > > > > >> > > [1] https://ibb.co/W2DzcDb
> > > > > > > > > >> > >
> > > > > > > > > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> > > > > > > > > >> > > <ch...@c-ware.de>
> > > > > > > > > >> > > napisał(a):
> > > > > > > > > >> > >
> > > > > > > > > >> > > > And done ...
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > Now all elements in the distribution only consist
> > > > > > > > > >> > > > of their name and file-ending ... all versions
> > > > > > > > > >> > > > and classifiers have been
> > > > > > > > > removed.
> > > > > > > > > >> > > > Please provide me with feedback on if this solves
> > > > > > > > > >> > > > the
> > > > > > issues.
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > Chris
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > > > Von: Christofer Dutz <ch...@c-ware.de>
> > > > > > > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> > > > > > > > > >> > > > An: dev@royale.apache.org
> > > > > > > > > >> > > > Betreff: AW: Align Maven IDE distribution with
> > > > > > > > > >> > > > Ant IDE distribution
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > I'll probably have a fix for that in a few
> > > > > > > > > >> > > > minuntes
> > > ...
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > Chris
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> > > > > > > > > >> > > > An: Apache Royale Development
> > > > > > > > > >> > > > <de...@royale.apache.org>
> > > > > > > > > >> > > > Betreff: Re: Align Maven IDE distribution with
> > > > > > > > > >> > > > Ant IDE distribution
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > Chris,
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > No it's not about not picking up by IDE at all.
> > > > > > > > > >> > > > Moonshine and VSCode are able to build projects
> > > > > > > > > >> > > > using Maven distribution package! It is about
> > > > > > > > > >> > > > project which are mixed for example when user
> > > > > > > > > >> > > > wanted to use Jewel module + RemoteObject class
> > > > > > > > > >> > > > from MXRoyale module. In that case user need to
> > > > > > > > > >> > > > point explicilty as a compiler options in IDE
> > > > > > > > > >> > > > that he wanted to have SWC included and need to
> > > > > > > > > >> > > > exclude css from that swc to
> > > > > > > > > >> > > avoid problems.
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > It is happen like that:
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS
> > > > > > > > > >> > > > -js-library-path+.s
> > > > > > > > > >> > > > wc
> > > > > > > > > >> > > >
> > > > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> > > > > > > > > >> > > > cs
> > > > > > > > > >> > > > s
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > If I would like to use maven distribution user
> > > > > > > > > >> > > > need to know version for that compiler options.
> > > > > > > > > >> > > > It is even more tricky when your swc is called
> > > > > > > > > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.
> > > > > > > > > >> > > > cs
> > > > > > > > > >> > > > s
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > Thanks,
> > > > > > > > > >> > > > Piotr
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> > > > > > > > > >> > > > <ch...@c-ware.de>
> > > > > > > > > >> > > > napisał(a):
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > > Hi Piotr,
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > And is really the version-suffix causing it to
> > > > > > > > > >> > > > > not be picked up by the IDEs?
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > Chris
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > > > > >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> > > > > > > > > >> > > > > An: dev@royale.apache.org
> > > > > > > > > >> > > > > Betreff: Re: Align Maven IDE distribution with
> > > > > > > > > >> > > > > Ant IDE distribution
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > Hi Chris,
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > This is the only thing which seems to be a
> > > > > > > > > >> > > > > constant problem
> > > > > > > > > here.
> > > > > > > > > >> > > > > I personally and some users will be much more
> > > > > > > > > >> > > > > happy having that
> > > > > > > > > >> > change.
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > Thanks,
> > > > > > > > > >> > > > > Piotr
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> > > > > > > > > >> > > > > <ch...@c-ware.de>
> > > > > > > > > >> > > > > wrote:
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > > Hi Piotr,
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > I'd be happy to help with that.
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > I did simply ask for a list of things that
> > > > > > > > > >> > > > > > need to be changed in order to get things
> > > > > > > > > >> > > > > > working, but never got said list, so I never
> > > > > > > > > >> > > > > > knew what I could do to make the Maven
> > > > > > > > > >> > > > > > distribution match up to the
> > > > > > > > > >> > > > Ant built one.
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > Chris
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > > > > > Von: Piotr Zarzycki
> > > > > > > > > >> > > > > > <pi...@gmail.com>
> > > > > > > > > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> > > > > > > > > >> > > > > > An: Apache Royale Development
> > > > > > > > > >> > > > > > <de...@royale.apache.org>
> > > > > > > > > >> > > > > > Betreff: Align Maven IDE distribution with
> > > > > > > > > >> > > > > > Ant IDE distribution
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > Hi Guys,
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > It's been couple of times when user complains
> > > > > > > > > >> > > > > > that he have problems with using Maven
> > > > > > > > > >> > > > > > distribution vs Ant distribution in IDE in a
> > > > > > > > > >> > > > > > mixed project Jewel + MX/Spark
> > > > > > > etc.
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > Can we have that resolve once for all and
> > > > > > > > > >> > > > > > adjust Maven distribution folder to produce
> > > > > > > > > >> > > > > > proper names of
> > > > > swcs ?
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > Currently when I build Maven IDE distribution
> > > > > > > > > >> > > > > > I
> > > > have:
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > When I build Ant IDE distribution I have:
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > MXRoyale-js.swc
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > Thanks,
> > > > > > > > > >> > > > > > --
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > Piotr Zarzycki
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > --
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > Piotr Zarzycki
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > --
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > Piotr Zarzycki
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> > >
> > > > > > > > > >> > > --
> > > > > > > > > >> > >
> > > > > > > > > >> > > Piotr Zarzycki
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >> >
> > > > > > > > > >> > --
> > > > > > > > > >> >
> > > > > > > > > >> > Piotr Zarzycki
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > > > >>
> > > > > > > > > >> --
> > > > > > > > > >>
> > > > > > > > > >> Piotr Zarzycki
> > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > Carlos Rovira
> > > > > > > > > > Apache Member & Apache Royale PMC *Apache Software
> > > > > > > > > > Foundation* http://about.me/carlosrovira
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > Carlos Rovira
> > > > > > > > > Apache Member & Apache Royale PMC *Apache Software
> > > > > > > > > Foundation* http://about.me/carlosrovira
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > >
> > > > > > > > Piotr Zarzycki
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > >
> > > > > > > Piotr Zarzycki
> > > > > > >
> > > > > > --
> > > > > >
> > > > > > Piotr Zarzycki
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Carlos Rovira
> > > > > Apache Member & Apache Royale PMC
> > > > > *Apache Software Foundation*
> > > > > http://about.me/carlosrovira
> > > > >
> > > >
> > > >
> > > > --
> > > > Carlos Rovira
> > > > Apache Member & Apache Royale PMC
> > > > *Apache Software Foundation*
> > > > http://about.me/carlosrovira
> > > >
> > >
> > >
> > > --
> > >
> > > Piotr Zarzycki
> > >
> >
>
--
Piotr Zarzycki
Re: Align Maven IDE distribution with Ant IDE distribution
Posted by Piotr Zarzycki <pi...@gmail.com>.
We are using again compiler 0.9.8-SNAPSHOT yes ?
pon., 22 lut 2021 o 12:01 Alina Kazi <al...@gmail.com> napisał(a):
> Thanks Chris.
>
> On Mon, Feb 22, 2021 at 3:59 PM Maria Jose Esteve <mj...@iest.com>
> wrote:
>
> > Thanks Chris, I'll be listening.
> >
> > Hiedra
> > -----Mensaje original-----
> > De: Christofer Dutz <ch...@c-ware.de>
> > Enviado el: lunes, 22 de febrero de 2021 11:52
> > Para: dev@royale.apache.org
> > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi all,
> >
> > so I had a look and it seems the distribution was missing a number of
> > libraries, which seem to have been added, since I created the
> distribution
> > in 2016 ... Some modules were added after that, but not all. It seems all
> > probelms you are reporting result from some of them missing. I added them
> > and now they are correctly added to my distributions. I also compared
> them
> > with the ANT built version ... the last missing piece is the ACE module,
> > which was disabled in Maven as the Ace typedef was not a maven module. I
> > took the liberty of creating a Maven typedef module for ace and re-added
> > the ACE module to the Maven build and to the distribution.
> >
> > I'm currently testing a few things and will commit as soon as I'm happy
> > with my changes.
> >
> >
> > Chris
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Alina Kazi <al...@gmail.com>
> > Gesendet: Montag, 22. Februar 2021 11:26
> > An: dev@royale.apache.org
> > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi,
> > I am also facing a problem with latest SDK.
> > when I add something new in emulation and re-build SDK. when I recompile
> > the application with the latest distribution , error in application does
> > not go away that I already fixed in previous commit.
> > It seems that the distribution does not have everything latest that it
> > should have.
> >
> > -Alina
> >
> > On Mon, Feb 22, 2021 at 3:20 PM Maria Jose Esteve <mj...@iest.com>
> > wrote:
> >
> > > I can't work either.
> > > With no Maven, Ant combination, always error: "Error <fx: Array> This
> > > tag could not be resolved to an ActionScript class ..."
> > >
> > > Do you know what happens? I am not able to understand or fix this.
> > >
> > > Hiedra.
> > >
> > > -----Mensaje original-----
> > > De: Piotr Zarzycki <pi...@gmail.com> Enviado el: lunes, 22
> > > de febrero de 2021 11:03
> > > Para: Apache Royale Development <de...@royale.apache.org>
> > > Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > Hi Guys,
> > >
> > > I just tried new distribution and I'm able to build simple example.
> > > However our Royale project is not building - I'm getting following
> > > exception:
> > >
> > > : Exception in thread "main" java.lang.NoClassDefFoundError:
> > > org/apache/commons/lang/StringEscapeUtils
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.LiteralEmitter.emit(
> > > LiteralEmitter.java:225)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitLiteral(JSRoyaleEmitter.java:1040)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.visitLiteral(ASBlockWalker.java:479)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeSwitch.handle(ASNodeSwitch.java:373)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.goog.JSGoogEmitter.emit
> > > AssignedValue(JSGoogEmitter.java:965)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitAssignmen
> > > tCoercion(JSEmitter.java:917)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitAssignmentCoercion(JSRoyaleEmitter.java:1558)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
> > > sEmitter.emitContents(FunctionCallArgumentsEmitter.java:103)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
> > > sEmitter.emit(FunctionCallArgumentsEmitter.java:50)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
> > > sEmitter.emit(FunctionCallArgumentsEmitter.java:35)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitArguments
> > > (JSEmitter.java:259)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitArguments(JSRoyaleEmitter.java:986)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallEmitter.
> > > emit(FunctionCallEmitter.java:693)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitFunctionCall(JSRoyaleEmitter.java:906)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.visitFunctionCall(ASBlockWalker.java:330)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeSwitch.handle(ASNodeSwitch.java:207)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.goog.JSGoogEmitter.emit
> > > AssignedValue(JSGoogEmitter.java:965)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitAssignmen
> > > tCoercion(JSEmitter.java:917)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitAssignmentCoercion(JSRoyaleEmitter.java:1558)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.BinaryOperatorEmitte
> > > r.super_emitBinaryOperator(BinaryOperatorEmitter.java:598)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.BinaryOperatorEmitte
> > > r.emit(BinaryOperatorEmitter.java:500)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitBinaryOperator(JSRoyaleEmitter.java:1028)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.visitBinaryOperator(ASBlockWalker.java:538)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeSwitch.handle(ASNodeSwitch.java:348)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.StatementEmitter.emi
> > > t(StatementEmitter.java:40)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.StatementEmitter.emi
> > > t(StatementEmitter.java:29)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitStatement
> > > (JSEmitter.java:349)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitStatement(JSRoyaleEmitter.java:1204)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.visitBlock(ASBlockWalker.java:349)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeSwitch.handle(ASNodeSwitch.java:278)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.as.ASEmitter.emitMethodSco
> > > pe(ASEmitter.java:830)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.jx.MethodEmitter.emit(M
> > > ethodEmitter.java:160)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > > emitMethod(JSRoyaleEmitter.java:891)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.visitFunction(ASBlockWalker.java:290)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeSwitch.handle(ASNodeSwitch.java:152)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .ASNodeHandler.handle(ASNodeHandler.java:85)
> > > : at
> > > org.apache.royale.compiler.internal.visitor.as
> > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> > > : at
> > > org.apache.royale.compiler.internal.codegen.as
> > > .ASBlockWalker.walk(ASBlockWalker.java:159)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmit
> > > ter.emitScripts(MXMLRoyaleEmitter.java:2179)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmit
> > > ter.emitDocument(MXMLRoyaleEmitter.java:899)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleBloc
> > > kWalker.visitDocument(MXMLRoyaleBlockWalker.java:69)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle
> > > (MXMLNodeSwitch.java:89)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(
> > > MXMLBlockWalker.java:156)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleBloc
> > > kWalker.visitFile(MXMLRoyaleBlockWalker.java:61)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle
> > > (MXMLNodeSwitch.java:95)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(
> > > MXMLBlockWalker.java:156)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.visit
> > > CompilationUnit(MXMLBlockWalker.java:187)
> > > : at
> > >
> > > org.apache.royale.compiler.internal.codegen.mxml.MXMLWriter.writeTo(MX
> > > MLWriter.java:69)
> > > : at
> > >
> > > org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale
> > > .java:411)
> > > : at
> > >
> > > org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRo
> > > yale.java:259)
> > > : at
> > >
> > > org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoy
> > > ale.java:216)
> > > : at
> > > org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:36
> > > 3)
> > > : at
> > > org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298
> > > )
> > > : at
> > >
> > > org.apache.royale.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.ja
> > > va:256)
> > > : at org.apache.royale.compiler.clients.MXMLJSC.main(MXMLJSC.java:238)
> > > : Caused by: java.lang.ClassNotFoundException:
> > > org.apache.commons.lang.StringEscapeUtils
> > > : at
> > >
> > > java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClas
> > > sLoader.java:582)
> > > : at
> > >
> > > java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Cl
> > > assLoaders.java:178)
> > > : at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
> > > : ... 67 more
> > >
> > > niedz., 21 lut 2021 o 18:57 Carlos Rovira <ca...@apache.org>
> > > napisał(a):
> > >
> > > > Hi,
> > > >
> > > > I worked today on this and finally could solve the problem. A part
> > > > from Chris changes we need a bit more changes since all was set up
> > > > from the compiler to use the old names. So class paths need to be
> > > changed too there.
> > > > Also Google Closure compiler need to be in jar mode instead of
> > unpacked.
> > > >
> > > > Now I can use CMD (or CTRL) + SHIFT + B and select Debug or Release
> > > > option with Actionscript extension and all goes ok.
> > > > When using CMD+ENTER I think VsCode use the experimental build in
> > > > Josh extension and take the SDK in ROYALE_HOME, and since that's the
> > > > one build in the repository with ANT all seems fine, but is not
> > > > using the selected SDK, so the build is not using what you expect.
> > > >
> > > > This is my output now using the Maven Distribution SDK:
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > *> Executing task in folder TourDeJewel:
> > > > /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/b
> > > > in
> > > > /java
> > > > -jar
> > > >
> > > > /Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas
> > > > -1
> > > > .6.0/bin/asconfigc.jar --sdk
> > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven --debug=true
> > > > --project
> > > >
> > > > /Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/Tou
> > > > rD
> > > > eJewel/asconfig.json
> > > >
> > > > <MXMLJSC+royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale
> > > > -m
> > > > aven/frameworks--debug=true+configname=royale--targets=JSRoyale--sou
> > > > rc
> > > > e-path+=src/main/resources--source-map=true--html-template=src/main/
> > > > e-path+re
> > > > sources/jewel-example-index-template.html--theme=${royalelib}/themes
> > > > /J
> > > > ewelTheme/src/main/resources/defaults.css-js-dynamic-access-unknown-
> > > > me mbers=true--src/main/royale/App.mxmlThe
> > > > project 'App' has been successfully compiled.12.80962843
> > > > secondsTerminal will be reused by tasks, press any key to close it.*
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > El sáb, 20 feb 2021 a las 18:16, Christofer Dutz (<
> > > > christofer.dutz@c-ware.de>)
> > > > escribió:
> > > >
> > > > > So I just did a video and posted it to the Royale slack channel ...
> > > > >
> > > > > I can't seem to reproduce the error ... perhaps if you check what
> > > > > I'm doing you can tell me if I'm doing something wrong.
> > > > > I did try to rule out that I might have not configured VSCode to
> > > > > use my distribution by intentionally changing the settings to a
> > > > > wrong
> > > location.
> > > > It
> > > > > didn't work then, and when I changed it back to the correct
> > > > > version, I could build again.
> > > > >
> > > > > Chris
> > > > >
> > > > >
> > > > > -----Ursprüngliche Nachricht-----
> > > > > Von: Carlos Rovira <ca...@apache.org>
> > > > > Gesendet: Samstag, 20. Februar 2021 15:17
> > > > > An: Apache Royale Development <de...@royale.apache.org>
> > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > > distribution
> > > > >
> > > > > Hi,
> > > > >
> > > > > sorry, yesterday was mostly offline for some personal things. Many
> > > > > things happen in this thread.
> > > > > I rebuild all today and check. This is what I can report trying to
> > > > > build TDJ with Maven SDK with Chris's changes.
> > > > > Setting my VSCode with AS3&MXML to the Maven SDK just generated:
> > > > >
> > > > > 1.- I can't build with CMD+SHIFT+ENTER, then "Build Debug with AS3
> > > > > Extension Tour de Jewel" (as josh said). I get :
> > > > >
> > > > > Executing task in folder TourDeJewel:
> > > > >
> > > > /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/b
> > > > in
> > > > /java
> > > > > -jar
> > > > >
> > > > >
> > > > /Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas
> > > > -1
> > > > .6.0/bin/asconfigc.jar
> > > > > --sdk /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
> > > > --debug=true
> > > > > --project
> > > > >
> > > > /Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/Tou
> > > > rD
> > > > eJewel/asconfig.json
> > > > > <
> > > > >
> > > > > Error: no se ha encontrado o cargado la clase principal
> > > > > org.apache.royale.compiler.clients.MXMLJSC
> > > > > The terminal process
> > > > >
> > > > >
> > > > "/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/
> > > > bi
> > > > n/java
> > > > > '-jar',
> > > > >
> > > > >
> > > > '/Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgena
> > > > s-
> > > > 1.6.0/bin/asconfigc.jar',
> > > > > '--sdk',
> > > > > '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven',
> > > > > '--debug=true', '--project',
> > > > >
> > > > >
> > > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/TourDeJewel/asconfig.json'"
> > > > > terminated with exit code: 1.
> > > > >
> > > > > Terminal will be reused by tasks, press any key to close it.
> > > > >
> > > > >
> > > > > 2.- I can build with CMD+ENTER. I get:
> > > > >
> > > > > Royale Compiler Shell
> > > > > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> > > > > --source-path+=src/main/resources --source-map=true
> > > > > --html-template=src/main/resources/jewel-example-index-template.ht
> > > > > ml
> > > > > --theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults
> > > > > .c ss -js-dynamic-access-unknown-members=true --
> > > > > src/main/royale/App.mxml
> > > > > fcsh: Assigned 1 as the compile target id The project 'App' has
> > > > > been successfully compiled and optimized.
> > > > > Compile status: 0
> > > > > Elapsed time: 26.925719521 seconds Feb 20, 2021 3:10:42 PM
> > > > > com.google.javascript.jscomp.LoggerErrorManager
> > > > > printSummary
> > > > > INFO: 0 error(s), 0 warning(s), 97.8% typed
> > > > > (fcsh)
> > > > >
> > > > > I don't understand fully the differences between one method and
> > > > > the other and why I get different results. I guess know what's
> > > > > happening is needed
> > > > so
> > > > > Chris can do the proper changes. probably there are paths and
> > > > > locations mixed.
> > > > >
> > > > > @Chris, one thing I did in the past was to compare maven
> > > > > distribution
> > > > with
> > > > > ant distribution so both has most of the things in the same place.
> > > > > I
> > > > think
> > > > > some files where left in more than one place (like mxmlc).
> > > > >
> > > > > If you could take a look at it, that will for sure fix the issue.
> > > > > You
> > > > have
> > > > > TDJ and the other project to test if that works and now we know
> > > > > that is better to try with CMD+SHIFT+ENTER, then "Build Debug with
> > > > > AS3 Extension Tour de Jewel"
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > El vie, 19 feb 2021 a las 18:45, Piotr Zarzycki (<
> > > > > piotrzarzycki21@gmail.com>)
> > > > > escribió:
> > > > >
> > > > > > It looks like something bad has happened with my environment. I
> > > > > > changed lately Java settings a bit. You can see what is setup in
> > > > > > my
> > > > > stacktrace.
> > > > > >
> > > > > > I will get back to that over the weekend or on Monday.
> > > > > >
> > > > > > On Fri, 19 Feb 2021 at 18:24, Maria Jose Esteve
> > > > > > <mj...@iest.com>
> > > > > wrote:
> > > > > >
> > > > > > > Hi,
> > > > > > > Piotr, I just tested your distribution with my project and the
> > > > > > compilation
> > > > > > > was successful, no errors.
> > > > > > > Running the application seems to be working fine too.
> > > > > > > (I compile the application with mvn)
> > > > > > >
> > > > > > > What do they need me to try now?
> > > > > > >
> > > > > > > Hiedra.
> > > > > > > -----Mensaje original-----
> > > > > > > De: Piotr Zarzycki <pi...@gmail.com> Enviado el:
> > > > > > > viernes,
> > > > > > > 19 de febrero de 2021 18:11
> > > > > > > Para: Apache Royale Development <de...@royale.apache.org>
> > > > > > > Asunto: Re: Align Maven IDE distribution with Ant IDE
> > > > > > > distribution
> > > > > > >
> > > > > > > Did you test my distribution ?
> > > > > > >
> > > > > > > pt., 19 lut 2021 o 18:00 Christofer Dutz
> > > > > > > <ch...@c-ware.de>
> > > > > > > napisał(a):
> > > > > > >
> > > > > > > > So I did a bit more of testing.
> > > > > > > >
> > > > > > > > So after I had no issues building Carlos' example, I tried
> > > > > > > > the TourDeJewl example.
> > > > > > > > So I opened VSCode in the directory of TDJ example ...
> > > > > > > > created a settings.json with the folowing content:
> > > > > > > >
> > > > > > > > {
> > > > > > > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > > > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > > > > > > }
> > > > > > > >
> > > > > > > > Hit STRG+Enter and waited a bit ...
> > > > > > > >
> > > > > > > > Then I opened the output in Chrome and have a fully
> > > > > > > > functioning TDJ application.
> > > > > > > >
> > > > > > > > So I wouldn't consider the build broken.
> > > > > > > >
> > > > > > > > Chris
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > > > > > Gesendet: Freitag, 19. Februar 2021 17:51
> > > > > > > > An: dev@royale.apache.org
> > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Sure, that would be "expected", but like I told you: if I
> > > > > > > > change it to MXRoyaleJS.swc, the app "does nonsense".
> > > > > > > > Maybe something has gotten my way.
> > > > > > > >
> > > > > > > > I will read your messages and see if I can help with
> something.
> > > > > > > >
> > > > > > > > Hiedra.
> > > > > > > > -----Mensaje original-----
> > > > > > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > > > > > > viernes,
> > > > > > > > 19 de febrero de 2021 14:12
> > > > > > > > Para: dev@royale.apache.org
> > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Hi Hiedra,
> > > > > > > >
> > > > > > > > well I changed the distribution to make the names like in
> > > > > > > > the ANT distribution yesterday.
> > > > > > > > But you are passing in an argument telling the compiler to
> > > > > > > > use the old format and now it should be the new ...
> > > > > > > >
> > > > > > > > Try:
> > > > > > > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> > > > > > > > defaults.css; For -compiler.exclude-defaults-css-files =
> > > > > MXRoyaleJS.swc:
> > > > > > > > defaults.css;
> > > > > > > >
> > > > > > > > Instead of your variant.
> > > > > > > >
> > > > > > > > Chris
> > > > > > > >
> > > > > > > >
> > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > > > > > Gesendet: Freitag, 19. Februar 2021 14:08
> > > > > > > > An: dev@royale.apache.org
> > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Yes, until recently I also compiled only with Maven. Due to
> > > > > > > > the problem with the spark.css I started to do the double
> > > > > > > > compilation of
> > > > > > > MAVEN and ANT.
> > > > > > > >
> > > > > > > > It's funny, now, the swc's are not generated with
> > > > > > > > "xxxx-0.9.8-SNAPSHOT-js.swc" in the distribution BUT if in
> > > > > > > > the pom of my project I change in additionalCompilerOptions:
> > > > > > > > -compiler.exclude-defaults-css-files = MXRoyale - $
> > > > > > > > {royale.framework.version} -js.swc: defaults.css; For
> > > > > > > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> > > > > > > > defaults.css; My application starts to do nonsense (for
> > > > > > > > example the change of selectedContent in my
> > > > > > > > ApplicationMainContent does not display)
> > > > > > > >
> > > > > > > > Chris, thank you.
> > > > > > > > Hiedra
> > > > > > > >
> > > > > > > > -----Mensaje original-----
> > > > > > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > > > > > > viernes,
> > > > > > > > 19 de febrero de 2021 13:09
> > > > > > > > Para: dev@royale.apache.org
> > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Hi Hiedra,
> > > > > > > >
> > > > > > > > I have to admit that I've never used VSCode. Every time I do
> > > > > > > > any development I usually use one of the JetBrains IDEs.
> > > > > > > > Royale Stuff I do in IntelliJ ... with my "Flexmojos Hack"
> > > > > > > > it can be used quite well. And I always compile with Maven.
> > > > > > > >
> > > > > > > > But thanks for the explanation on why the other path is set
> > > > > > differently.
> > > > > > > >
> > > > > > > > I guess we'll have to wait till some others can tell me what
> > > > > > > > needs to be changed.
> > > > > > > >
> > > > > > > > Chris
> > > > > > > >
> > > > > > > >
> > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > > > > > Gesendet: Freitag, 19. Februar 2021 12:48
> > > > > > > > An: dev@royale.apache.org
> > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Hello Chris,
> > > > > > > > so that I can debug my changes in the SDK I need to set the
> > > > > > > > path of the "as3mxml.sdk.editor" to the asjs directory of my
> > > > > > > > fork, for this reason the path of the "
> as3mxml.sdk.framework"
> > > > > > > > points to the directory of the maven distribution and the
> > > "as3mxml.sdk.editor"
> > > > > > > > to
> > > > > > code.
> > > > > > > >
> > > > > > > > ">> I'm not getting any errors from VSCode. But well ... if
> > > > > > > > I hit
> > > > > > > > SHIFT+Enter it starts doing something where if failed prior
> > > > > > > > SHIFT+to my
> > > > > > > > >> changes this morning and is no longer complaining, but
> > > > > > > > >> it's also not
> > > > > > > > doing much (I can't see it create a "bin" directory)"
> > > > > > > >
> > > > > > > > I don't quite understand this ... possibly because of my
> > > > > > > > lack of
> > > > > > > knowledge.
> > > > > > > >
> > > > > > > > I have not tried Carlos's project but this afternoon I will
> > > > > > > > be able to do it and I will be able to give more details.
> > > > > > > >
> > > > > > > > Thx.
> > > > > > > > Hiedra.
> > > > > > > >
> > > > > > > > -----Mensaje original-----
> > > > > > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > > > > > > viernes,
> > > > > > > > 19 de febrero de 2021 11:51
> > > > > > > > Para: dev@royale.apache.org
> > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Hi Heidra,
> > > > > > > >
> > > > > > > > I just updated Carlos' example to have the same type of
> > > > > > > > setting (C:\\Temp\\RoyaleSDK is where I have my Maven build
> > > > > > > > generate the
> > > > > SDK):
> > > > > > > >
> > > > > > > > setings.js:
> > > > > > > > {
> > > > > > > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > > > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > > > > > > }
> > > > > > > >
> > > > > > > > workspace-code-workspace
> > > > > > > > {
> > > > > > > > "folders": [
> > > > > > > > {
> > > > > > > > "path": ".."
> > > > > > > > }
> > > > > > > > ],
> > > > > > > > "settings": {
> > > > > > > > "as3mxml.sdk.framework":
> "C:\\Temp\\RoyaleSDK",
> > > > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > > > > > > }
> > > > > > > > }
> > > > > > > >
> > > > > > > > I'm not getting any errors from VSCode. But well ... if I
> > > > > > > > hit
> > > > > > > > SHIFT+Enter it starts doing something where if failed prior
> > > > > > > > SHIFT+to my
> > > > > > > > changes this morning and is no longer complaining, but it's
> > > > > > > > also not doing much (I can't see it create a "bin"
> > > > > > > > directory)
> > > > > > > >
> > > > > > > > Chris
> > > > > > > >
> > > > > > > >
> > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > > > > > Gesendet: Freitag, 19. Februar 2021 10:53
> > > > > > > > An: dev@royale.apache.org
> > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > If I don't compile with ANT, the mxml extension in vsCode
> > > > > > > > IDE, it doesn't recognize the valid asjs directory for
> > > > "as3mxml.sdk.editor":
> > > > > > > > ...
> > > > > > > > "settings": {
> > > > > > > > "as3mxml.sdk.framework":
> > > > > > > > "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
> > > > > > > > "as3mxml.sdk.editor":
> > > > > > > > "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs"
> > > > > > > > <-------- [download folder repo royale-asjs]
> > > > > > > > }
> > > > > > > > }
> > > > > > > >
> > > > > > > > The error is:
> > > > > > > > " as3mxml.sdk.editor in settings does not point to a valid
> SDK.
> > > > > > > > Requires..."
> > > > > > > >
> > > > > > > > Thx.
> > > > > > > > Hiedra.
> > > > > > > >
> > > > > > > > -----Mensaje original-----
> > > > > > > > De: Piotr Zarzycki <pi...@gmail.com> Enviado el:
> > > > > > > > viernes, 19 de febrero de 2021 10:44
> > > > > > > > Para: Apache Royale Development <de...@royale.apache.org>
> > > > > > > > Asunto: Re: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Hi Chris,
> > > > > > > >
> > > > > > > > I just tried your changes and I have same issue. I need to
> > > > > > > > understand what has change enough significantly that it
> > > > > > > > causes compilation fail in such way. It doesn't happen with
> > > > > > > > SDK prepared
> > > > by
> > > > > ANT.
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > > Piotr
> > > > > > > >
> > > > > > > > pt., 19 lut 2021 o 10:33 Maria Jose Esteve
> > > > > > > > <mj...@iest.com>
> > > > > > > napisał(a):
> > > > > > > >
> > > > > > > > > @Chris you're right, sorry, I didn't download your last
> > commit.
> > > > > > > > > I'm sorry.
> > > > > > > > > Hiedra.
> > > > > > > > >
> > > > > > > > > -----Mensaje original-----
> > > > > > > > > De: Christofer Dutz <ch...@c-ware.de> Enviado
> el:
> > > > > > > > > viernes,
> > > > > > > > > 19 de febrero de 2021 10:17
> > > > > > > > > Para: dev@royale.apache.org
> > > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > > distribution
> > > > > > > > >
> > > > > > > > > I'll try to guess what you wanted to say here ...
> > > > > > > > >
> > > > > > > > > But I think these are exactly the changes I comitted a an
> > > > > > > > > hour ago,
> > > > > > > > right?
> > > > > > > > > At least in general I replaced all the references to names
> > > > > > > > > with versions to the changed ones.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Chris
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > > > > > > Gesendet: Freitag, 19. Februar 2021 10:01
> > > > > > > > > An: dev@royale.apache.org
> > > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > > > > distribution
> > > > > > > > >
> > > > > > > > > Hi,
> > > > > > > > > Mi distribución hace referencia en el fichero
> > > > > > > > > "./frameworks/royale-config.xml" a las librerías:
> > > > > > > > >
> > > > > > > > > <js-external-library-path>
> > > > > > > > >
> > > > > > > > >
> > > > >
> <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.
> > > > > > > > > sw
> > > > > > > > > c</path-element>
> > > > > > > > >
> > > > > > > > >
> > > > > > > > <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-
> > > > > > > > ty
> > > > > > > > pede
> > > > > > > > fs.s
> > > > > > > > wc</path-element>
> > > > > > > > > </js-external-library-path>
> > > > > > > > >
> > > > > > > > > Las correctas son:
> > > > > > > > >
> > > > > > > > > <js-external-library-path>
> > > > > > > > >
> > > > > > >
> > > > > > > <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> > > > > > > > >
> > > > > > >
> > > > > > > <path-element>../js/libs/royale-typedefs-gcl.swc</path-element
> > > > > > > >
> > > > > > > > > </js-external-library-path>
> > > > > > > > >
> > > > > > > > > Hiedra
> > > > > > > > >
> > > > > > > > > -----Mensaje original-----
> > > > > > > > > De: Christofer Dutz <ch...@c-ware.de> Enviado
> el:
> > > > > > > > > viernes,
> > > > > > > > > 19 de febrero de 2021 9:39
> > > > > > > > > Para: dev@royale.apache.org
> > > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > > distribution
> > > > > > > > >
> > > > > > > > > Ok,
> > > > > > > > >
> > > > > > > > > so the config xml files in the distribution were still
> > > > > > > > > pointing to the old names. I updated them all to now refer
> > > > > > > > > to
> > > the names.
> > > > > > > > > I tried things in Carlos' demo project, and I'm no-longer
> > > > > > > > > getting the errors, however compilation seems to take for
> > ever.
> > > > > > > > >
> > > > > > > > > Please try out the changes and tell me if there are any
> > > > > > > > > problems with
> > > > > > > > them.
> > > > > > > > >
> > > > > > > > > Chris
> > > > > > > > >
> > > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > Von: Christofer Dutz <ch...@c-ware.de>
> > > > > > > > > Gesendet: Donnerstag, 18. Februar 2021 23:17
> > > > > > > > > An: dev@royale.apache.org
> > > > > > > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > > distribution
> > > > > > > > >
> > > > > > > > > Hi Carlos,
> > > > > > > > >
> > > > > > > > > I'll look into this tomorrow.
> > > > > > > > >
> > > > > > > > > Chris
> > > > > > > > >
> > > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > Von: Carlos Rovira <ca...@apache.org>
> > > > > > > > > Gesendet: Donnerstag, 18. Februar 2021 17:49
> > > > > > > > > An: Apache Royale Development <de...@royale.apache.org>
> > > > > > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > > > > > > distribution
> > > > > > > > >
> > > > > > > > > Hi, I think I talked very quickly, sorry, there seems to
> > > > > > > > > be a
> > > > > > problem.
> > > > > > > > >
> > > > > > > > > @Christofer Dutz <ch...@c-ware.de> you can
> > > > > > > > > download this
> > > > > > > > > project:
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > https://github.com/apache/royale-asjs/files/6004363/Toggle
> > > > > > > > > Bu
> > > > > > > > > tton
> > > > > > > > > BarI
> > > > > > > > > ss
> > > > > > > > > ue.zip
> > > > > > > > >
> > > > > > > > > Then using VSCode with AS3&MXML and adding the Maven
> > > > distribution.
> > > > > > > > > Then hit CTRL+ENTER and you will get the following fail.
> > > > > > > > > Using ANT distribution is working fine.
> > > > > > > > > Can you take a look?
> > > > > > > > >
> > > > > > > > > Royale Compiler Shell
> > > > > > > > > (fcsh) mxmlc --debug=false +configname=royale
> > > > > > > > > --targets=JSRoyale --source-map=true
> > > > > > > > > --html-template=src/html/jewel-example-index-template.html
> > > > > > > > >
> > > > > > > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapph
> > > > > > > > > ir
> > > > > > > > > e-Th
> > > > > > > > > eme/
> > > > > > > > > sr
> > > > > > > > > c/main/resources/defaults.css
> > > > > > > > > --source-path+=src
> > > > > > > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyal
> > > > > > > > > --source-path+--library-path+eJ S.sw c
> > > > > > > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > > > > > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaul
> > > > > > > > > ts .css -js-dynamic-access-unknown-members=true --
> > > > > > > > > src/App.mxml
> > > > > > > > > fcsh: Assigned 1 as the compile target id The project 'App'
> > > > > > > > > has been successfully compiled and optimized.
> > > > > > > > > Compile status: 0
> > > > > > > > > Elapsed time: 14.211105399 seconds Feb 18, 2021 5:43:40 PM
> > > > > > > > > com.google.javascript.jscomp.LoggerErrorManager
> > > > > > > > > printSummary
> > > > > > > > > INFO: 0 error(s), 0 warning(s), 96.5% typed
> > > > > > > > > (fcsh) quit
> > > > > > > > > Compiler shell exited with code: 0 Royale Compiler Shell
> > > > > > > > > (fcsh) mxmlc --debug=false +configname=royale
> > > > > > > > > --targets=JSRoyale --source-map=true
> > > > > > > > > --html-template=src/html/jewel-example-index-template.html
> > > > > > > > >
> > > > > > > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapph
> > > > > > > > > ir
> > > > > > > > > e-Th
> > > > > > > > > eme/
> > > > > > > > > sr
> > > > > > > > > c/main/resources/defaults.css
> > > > > > > > > --source-path+=src
> > > > > > > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyal
> > > > > > > > > --source-path+--library-path+eJ S.sw c
> > > > > > > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > > > > > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaul
> > > > > > > > > ts .css -js-dynamic-access-unknown-members=true --
> > > > > > > > > src/App.mxml
> > > > > > > > > fcsh: Assigned 1 as the compile target id Compile status:
> > > > > > > > > 5 Elapsed
> > > > > > > time:
> > > > > > > > > 0.618407478 seconds
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > > > > > > > > col: 0 Error: unable to open
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
> > > > > > > > >
> > > > > > > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/fr
> > > > > > > > > am
> > > > > > > > > ewor
> > > > > > > > > ks/r
> > > > > > > > > oy
> > > > > > > > > ale-config.xml
> > > > > > > > > (line: 81)
> > > > > > > > >
> > > > > > > > > </js-external-library-path>
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > > > > > > > > col: 0 Error: unable to open
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
> > > > > > > > >
> > > > > > > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/fr
> > > > > > > > > am
> > > > > > > > > ewor
> > > > > > > > > ks/r
> > > > > > > > > oy
> > > > > > > > > ale-config.xml
> > > > > > > > > (line: 81)
> > > > > > > > >
> > > > > > > > > </js-external-library-path>
> > > > > > > > > (fcsh)
> > > > > > > > > Quick Compile failed. Errors in compiler output.
> > > > > > > > >
> > > > > > > > > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
> > > > > > > > > (<ca...@apache.org>)
> > > > > > > > > escribió:
> > > > > > > > >
> > > > > > > > > > Hi,
> > > > > > > > > >
> > > > > > > > > > I rebuilt all from scratch just now and finally the
> > > > > > > > > > distribution too and tried in VSCode and all seems to
> > > > > > > > > > work fine
> > > > > for me.
> > > > > > > > > >
> > > > > > > > > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> > > > > > > > > > christofer.dutz@c-ware.de>) escribió:
> > > > > > > > > >
> > > > > > > > > >> Hi Piotr,
> > > > > > > > > >>
> > > > > > > > > >> that class is located in lib\external\flex-tool-api.jar
> > > > > > > > > >> At least in my distribution it's there and it contains
> > > > > > > > > >> the
> > > class.
> > > > > > > > > >>
> > > > > > > > > >> How are you calling the build that's failing?
> > > > > > > > > >>
> > > > > > > > > >> Chris
> > > > > > > > > >>
> > > > > > > > > >> -----Ursprüngliche Nachricht-----
> > > > > > > > > >> Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > > > > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> > > > > > > > > >> An: Apache Royale Development <de...@royale.apache.org>
> > > > > > > > > >> Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > > > > > > >> distribution
> > > > > > > > > >>
> > > > > > > > > >> Chris,
> > > > > > > > > >>
> > > > > > > > > >> I just checked and I'm not able build project anymore
> > > > > > > > > >> using
> > > > > > > > > distribution:
> > > > > > > > > >>
> > > > > > > > > >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
> > > > > > > > > >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
> > > > > > > > > >> -Xms356m -Xmx3000m
> > > > > > > > > >> : Error: Could not find or load main class
> > > > > > > > > >> org.apache.royale.compiler.clients.MXMLJSC
> > > > > > > > > >> : Caused by: java.lang.NoClassDefFoundError:
> > > > > > > > > >> org/apache/flex/tools/FlexTool
> > > > > > > > > >>
> > > > > > > > > >> I'm done for today, so I will answer anything tomorrow.
> > > > > > > > > >>
> > > > > > > > > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
> > > > > > > > > >> <ch...@c-ware.de>
> > > > > > > > > >> napisał(a):
> > > > > > > > > >>
> > > > > > > > > >> > Ok ...
> > > > > > > > > >> >
> > > > > > > > > >> > so I just pushed another change. Now the distribution
> > > > > > > > > >> > should also contain an empty spark.css, just like the
> > > > > > > > > >> > Ant
> > > > one.
> > > > > > > > > >> >
> > > > > > > > > >> > Chris
> > > > > > > > > >> >
> > > > > > > > > >> >
> > > > > > > > > >> > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > Von: Christofer Dutz <ch...@c-ware.de>
> > > > > > > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> > > > > > > > > >> > An: dev@royale.apache.org
> > > > > > > > > >> > Betreff: AW: Align Maven IDE distribution with Ant
> > > > > > > > > >> > IDE distribution
> > > > > > > > > >> >
> > > > > > > > > >> > Ok,
> > > > > > > > > >> >
> > > > > > > > > >> > so that should now be fixed. Leaves the "spark.css"
> > > > > > > > > >> > Having had a look, it seems as if the Ant build
> > > > > > > > > >> > creates an empty
> > > > > > > > > >> spark.css.
> > > > > > > > > >> >
> > > > > > > > > >> > Is this all we need? If yes, then I'll have that in
> > > > > > > > > >> > ther in no
> > > > > > > time.
> > > > > > > > > >> >
> > > > > > > > > >> > Chris
> > > > > > > > > >> >
> > > > > > > > > >> > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> > > > > > > > > >> > An: Apache Royale Development <de...@royale.apache.org>
> > > > > > > > > >> > Betreff: Re: Align Maven IDE distribution with Ant
> > > > > > > > > >> > IDE distribution
> > > > > > > > > >> >
> > > > > > > > > >> > *(I assume that's in the "frameworks/js/libs"
> > > > > > > > > >> > directory? *
> > > > > > > > > >> >
> > > > > > > > > >> > Yes this is the directory.
> > > > > > > > > >> >
> > > > > > > > > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> > > > > > > > > >> > <ch...@c-ware.de>
> > > > > > > > > >> > napisał(a):
> > > > > > > > > >> >
> > > > > > > > > >> > > Hi Piotr,
> > > > > > > > > >> > >
> > > > > > > > > >> > > Ok ... so Ant seems to be adding a "JS" to the end
> > > > > > > > > >> > > of every name (I assume that's in the
> > "frameworks/js/libs"
> > > > > directory?
> > > > > > > > > >> > >
> > > > > > > > > >> > > Also I'll try to find out where the "spark.css"
> > > > > > > > > >> > > should come from
> > > > > > > > ...
> > > > > > > > > >> > > and where it should go to.
> > > > > > > > > >> > >
> > > > > > > > > >> > > Chris
> > > > > > > > > >> > >
> > > > > > > > > >> > >
> > > > > > > > > >> > > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > > > > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> > > > > > > > > >> > > An: Apache Royale Development
> > > > > > > > > >> > > <de...@royale.apache.org>
> > > > > > > > > >> > > Betreff: Re: Align Maven IDE distribution with Ant
> > > > > > > > > >> > > IDE distribution
> > > > > > > > > >> > >
> > > > > > > > > >> > > Chris,
> > > > > > > > > >> > >
> > > > > > > > > >> > > Looks better but here is the comparision what I
> > > > > > > > > >> > > have in Ant distribution vs Maven distribution in
> > > > > > > > > >> > > case of
> > > names.
> > > > > > > > > >> > > On the left Ant distribution, on the right Maven.
> > > > > > > > > >> > > It is
> > > > > folder:
> > > > > > > > > >> > > frameworks\js\libs\ [1]
> > > > > > > > > >> > >
> > > > > > > > > >> > > [1] https://ibb.co/W2DzcDb
> > > > > > > > > >> > >
> > > > > > > > > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> > > > > > > > > >> > > <ch...@c-ware.de>
> > > > > > > > > >> > > napisał(a):
> > > > > > > > > >> > >
> > > > > > > > > >> > > > And done ...
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > Now all elements in the distribution only consist
> > > > > > > > > >> > > > of their name and file-ending ... all versions
> > > > > > > > > >> > > > and classifiers have been
> > > > > > > > > removed.
> > > > > > > > > >> > > > Please provide me with feedback on if this solves
> > > > > > > > > >> > > > the
> > > > > > issues.
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > Chris
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > > > Von: Christofer Dutz <ch...@c-ware.de>
> > > > > > > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> > > > > > > > > >> > > > An: dev@royale.apache.org
> > > > > > > > > >> > > > Betreff: AW: Align Maven IDE distribution with
> > > > > > > > > >> > > > Ant IDE distribution
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > I'll probably have a fix for that in a few
> > > > > > > > > >> > > > minuntes
> > > ...
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > Chris
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> > > > > > > > > >> > > > An: Apache Royale Development
> > > > > > > > > >> > > > <de...@royale.apache.org>
> > > > > > > > > >> > > > Betreff: Re: Align Maven IDE distribution with
> > > > > > > > > >> > > > Ant IDE distribution
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > Chris,
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > No it's not about not picking up by IDE at all.
> > > > > > > > > >> > > > Moonshine and VSCode are able to build projects
> > > > > > > > > >> > > > using Maven distribution package! It is about
> > > > > > > > > >> > > > project which are mixed for example when user
> > > > > > > > > >> > > > wanted to use Jewel module + RemoteObject class
> > > > > > > > > >> > > > from MXRoyale module. In that case user need to
> > > > > > > > > >> > > > point explicilty as a compiler options in IDE
> > > > > > > > > >> > > > that he wanted to have SWC included and need to
> > > > > > > > > >> > > > exclude css from that swc to
> > > > > > > > > >> > > avoid problems.
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > It is happen like that:
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS
> > > > > > > > > >> > > > -js-library-path+.s
> > > > > > > > > >> > > > wc
> > > > > > > > > >> > > >
> > > > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> > > > > > > > > >> > > > cs
> > > > > > > > > >> > > > s
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > If I would like to use maven distribution user
> > > > > > > > > >> > > > need to know version for that compiler options.
> > > > > > > > > >> > > > It is even more tricky when your swc is called
> > > > > > > > > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.
> > > > > > > > > >> > > > cs
> > > > > > > > > >> > > > s
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > Thanks,
> > > > > > > > > >> > > > Piotr
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> > > > > > > > > >> > > > <ch...@c-ware.de>
> > > > > > > > > >> > > > napisał(a):
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > > Hi Piotr,
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > And is really the version-suffix causing it to
> > > > > > > > > >> > > > > not be picked up by the IDEs?
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > Chris
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > > > > >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> > > > > > > > > >> > > > > An: dev@royale.apache.org
> > > > > > > > > >> > > > > Betreff: Re: Align Maven IDE distribution with
> > > > > > > > > >> > > > > Ant IDE distribution
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > Hi Chris,
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > This is the only thing which seems to be a
> > > > > > > > > >> > > > > constant problem
> > > > > > > > > here.
> > > > > > > > > >> > > > > I personally and some users will be much more
> > > > > > > > > >> > > > > happy having that
> > > > > > > > > >> > change.
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > Thanks,
> > > > > > > > > >> > > > > Piotr
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> > > > > > > > > >> > > > > <ch...@c-ware.de>
> > > > > > > > > >> > > > > wrote:
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > > Hi Piotr,
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > I'd be happy to help with that.
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > I did simply ask for a list of things that
> > > > > > > > > >> > > > > > need to be changed in order to get things
> > > > > > > > > >> > > > > > working, but never got said list, so I never
> > > > > > > > > >> > > > > > knew what I could do to make the Maven
> > > > > > > > > >> > > > > > distribution match up to the
> > > > > > > > > >> > > > Ant built one.
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > Chris
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > > >> > > > > > Von: Piotr Zarzycki
> > > > > > > > > >> > > > > > <pi...@gmail.com>
> > > > > > > > > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> > > > > > > > > >> > > > > > An: Apache Royale Development
> > > > > > > > > >> > > > > > <de...@royale.apache.org>
> > > > > > > > > >> > > > > > Betreff: Align Maven IDE distribution with
> > > > > > > > > >> > > > > > Ant IDE distribution
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > Hi Guys,
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > It's been couple of times when user complains
> > > > > > > > > >> > > > > > that he have problems with using Maven
> > > > > > > > > >> > > > > > distribution vs Ant distribution in IDE in a
> > > > > > > > > >> > > > > > mixed project Jewel + MX/Spark
> > > > > > > etc.
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > Can we have that resolve once for all and
> > > > > > > > > >> > > > > > adjust Maven distribution folder to produce
> > > > > > > > > >> > > > > > proper names of
> > > > > swcs ?
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > Currently when I build Maven IDE distribution
> > > > > > > > > >> > > > > > I
> > > > have:
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > When I build Ant IDE distribution I have:
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > MXRoyale-js.swc
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > Thanks,
> > > > > > > > > >> > > > > > --
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > > Piotr Zarzycki
> > > > > > > > > >> > > > > >
> > > > > > > > > >> > > > > --
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > > > Piotr Zarzycki
> > > > > > > > > >> > > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > --
> > > > > > > > > >> > > >
> > > > > > > > > >> > > > Piotr Zarzycki
> > > > > > > > > >> > > >
> > > > > > > > > >> > >
> > > > > > > > > >> > >
> > > > > > > > > >> > > --
> > > > > > > > > >> > >
> > > > > > > > > >> > > Piotr Zarzycki
> > > > > > > > > >> > >
> > > > > > > > > >> >
> > > > > > > > > >> >
> > > > > > > > > >> > --
> > > > > > > > > >> >
> > > > > > > > > >> > Piotr Zarzycki
> > > > > > > > > >> >
> > > > > > > > > >>
> > > > > > > > > >>
> > > > > > > > > >> --
> > > > > > > > > >>
> > > > > > > > > >> Piotr Zarzycki
> > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > Carlos Rovira
> > > > > > > > > > Apache Member & Apache Royale PMC *Apache Software
> > > > > > > > > > Foundation* http://about.me/carlosrovira
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > Carlos Rovira
> > > > > > > > > Apache Member & Apache Royale PMC *Apache Software
> > > > > > > > > Foundation* http://about.me/carlosrovira
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > >
> > > > > > > > Piotr Zarzycki
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > >
> > > > > > > Piotr Zarzycki
> > > > > > >
> > > > > > --
> > > > > >
> > > > > > Piotr Zarzycki
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Carlos Rovira
> > > > > Apache Member & Apache Royale PMC
> > > > > *Apache Software Foundation*
> > > > > http://about.me/carlosrovira
> > > > >
> > > >
> > > >
> > > > --
> > > > Carlos Rovira
> > > > Apache Member & Apache Royale PMC
> > > > *Apache Software Foundation*
> > > > http://about.me/carlosrovira
> > > >
> > >
> > >
> > > --
> > >
> > > Piotr Zarzycki
> > >
> >
>
--
Piotr Zarzycki
Re: Align Maven IDE distribution with Ant IDE distribution
Posted by Alina Kazi <al...@gmail.com>.
Thanks Chris.
On Mon, Feb 22, 2021 at 3:59 PM Maria Jose Esteve <mj...@iest.com> wrote:
> Thanks Chris, I'll be listening.
>
> Hiedra
> -----Mensaje original-----
> De: Christofer Dutz <ch...@c-ware.de>
> Enviado el: lunes, 22 de febrero de 2021 11:52
> Para: dev@royale.apache.org
> Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>
> Hi all,
>
> so I had a look and it seems the distribution was missing a number of
> libraries, which seem to have been added, since I created the distribution
> in 2016 ... Some modules were added after that, but not all. It seems all
> probelms you are reporting result from some of them missing. I added them
> and now they are correctly added to my distributions. I also compared them
> with the ANT built version ... the last missing piece is the ACE module,
> which was disabled in Maven as the Ace typedef was not a maven module. I
> took the liberty of creating a Maven typedef module for ace and re-added
> the ACE module to the Maven build and to the distribution.
>
> I'm currently testing a few things and will commit as soon as I'm happy
> with my changes.
>
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Alina Kazi <al...@gmail.com>
> Gesendet: Montag, 22. Februar 2021 11:26
> An: dev@royale.apache.org
> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>
> Hi,
> I am also facing a problem with latest SDK.
> when I add something new in emulation and re-build SDK. when I recompile
> the application with the latest distribution , error in application does
> not go away that I already fixed in previous commit.
> It seems that the distribution does not have everything latest that it
> should have.
>
> -Alina
>
> On Mon, Feb 22, 2021 at 3:20 PM Maria Jose Esteve <mj...@iest.com>
> wrote:
>
> > I can't work either.
> > With no Maven, Ant combination, always error: "Error <fx: Array> This
> > tag could not be resolved to an ActionScript class ..."
> >
> > Do you know what happens? I am not able to understand or fix this.
> >
> > Hiedra.
> >
> > -----Mensaje original-----
> > De: Piotr Zarzycki <pi...@gmail.com> Enviado el: lunes, 22
> > de febrero de 2021 11:03
> > Para: Apache Royale Development <de...@royale.apache.org>
> > Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi Guys,
> >
> > I just tried new distribution and I'm able to build simple example.
> > However our Royale project is not building - I'm getting following
> > exception:
> >
> > : Exception in thread "main" java.lang.NoClassDefFoundError:
> > org/apache/commons/lang/StringEscapeUtils
> > : at
> >
> > org.apache.royale.compiler.internal.codegen.js.jx.LiteralEmitter.emit(
> > LiteralEmitter.java:225)
> > : at
> >
> > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > emitLiteral(JSRoyaleEmitter.java:1040)
> > : at
> > org.apache.royale.compiler.internal.codegen.as
> > .ASBlockWalker.visitLiteral(ASBlockWalker.java:479)
> > : at
> > org.apache.royale.compiler.internal.visitor.as
> > .ASNodeSwitch.handle(ASNodeSwitch.java:373)
> > : at
> > org.apache.royale.compiler.internal.visitor.as
> > .ASNodeHandler.handle(ASNodeHandler.java:85)
> > : at
> > org.apache.royale.compiler.internal.visitor.as
> > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> > : at
> > org.apache.royale.compiler.internal.codegen.as
> > .ASBlockWalker.walk(ASBlockWalker.java:159)
> > : at
> >
> > org.apache.royale.compiler.internal.codegen.js.goog.JSGoogEmitter.emit
> > AssignedValue(JSGoogEmitter.java:965)
> > : at
> >
> > org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitAssignmen
> > tCoercion(JSEmitter.java:917)
> > : at
> >
> > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > emitAssignmentCoercion(JSRoyaleEmitter.java:1558)
> > : at
> >
> > org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
> > sEmitter.emitContents(FunctionCallArgumentsEmitter.java:103)
> > : at
> >
> > org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
> > sEmitter.emit(FunctionCallArgumentsEmitter.java:50)
> > : at
> >
> > org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
> > sEmitter.emit(FunctionCallArgumentsEmitter.java:35)
> > : at
> >
> > org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitArguments
> > (JSEmitter.java:259)
> > : at
> >
> > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > emitArguments(JSRoyaleEmitter.java:986)
> > : at
> >
> > org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallEmitter.
> > emit(FunctionCallEmitter.java:693)
> > : at
> >
> > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > emitFunctionCall(JSRoyaleEmitter.java:906)
> > : at
> > org.apache.royale.compiler.internal.codegen.as
> > .ASBlockWalker.visitFunctionCall(ASBlockWalker.java:330)
> > : at
> > org.apache.royale.compiler.internal.visitor.as
> > .ASNodeSwitch.handle(ASNodeSwitch.java:207)
> > : at
> > org.apache.royale.compiler.internal.visitor.as
> > .ASNodeHandler.handle(ASNodeHandler.java:85)
> > : at
> > org.apache.royale.compiler.internal.visitor.as
> > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> > : at
> > org.apache.royale.compiler.internal.codegen.as
> > .ASBlockWalker.walk(ASBlockWalker.java:159)
> > : at
> >
> > org.apache.royale.compiler.internal.codegen.js.goog.JSGoogEmitter.emit
> > AssignedValue(JSGoogEmitter.java:965)
> > : at
> >
> > org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitAssignmen
> > tCoercion(JSEmitter.java:917)
> > : at
> >
> > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > emitAssignmentCoercion(JSRoyaleEmitter.java:1558)
> > : at
> >
> > org.apache.royale.compiler.internal.codegen.js.jx.BinaryOperatorEmitte
> > r.super_emitBinaryOperator(BinaryOperatorEmitter.java:598)
> > : at
> >
> > org.apache.royale.compiler.internal.codegen.js.jx.BinaryOperatorEmitte
> > r.emit(BinaryOperatorEmitter.java:500)
> > : at
> >
> > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > emitBinaryOperator(JSRoyaleEmitter.java:1028)
> > : at
> > org.apache.royale.compiler.internal.codegen.as
> > .ASBlockWalker.visitBinaryOperator(ASBlockWalker.java:538)
> > : at
> > org.apache.royale.compiler.internal.visitor.as
> > .ASNodeSwitch.handle(ASNodeSwitch.java:348)
> > : at
> > org.apache.royale.compiler.internal.visitor.as
> > .ASNodeHandler.handle(ASNodeHandler.java:85)
> > : at
> > org.apache.royale.compiler.internal.visitor.as
> > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> > : at
> > org.apache.royale.compiler.internal.codegen.as
> > .ASBlockWalker.walk(ASBlockWalker.java:159)
> > : at
> >
> > org.apache.royale.compiler.internal.codegen.js.jx.StatementEmitter.emi
> > t(StatementEmitter.java:40)
> > : at
> >
> > org.apache.royale.compiler.internal.codegen.js.jx.StatementEmitter.emi
> > t(StatementEmitter.java:29)
> > : at
> >
> > org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitStatement
> > (JSEmitter.java:349)
> > : at
> >
> > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > emitStatement(JSRoyaleEmitter.java:1204)
> > : at
> > org.apache.royale.compiler.internal.codegen.as
> > .ASBlockWalker.visitBlock(ASBlockWalker.java:349)
> > : at
> > org.apache.royale.compiler.internal.visitor.as
> > .ASNodeSwitch.handle(ASNodeSwitch.java:278)
> > : at
> > org.apache.royale.compiler.internal.visitor.as
> > .ASNodeHandler.handle(ASNodeHandler.java:85)
> > : at
> > org.apache.royale.compiler.internal.visitor.as
> > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> > : at
> > org.apache.royale.compiler.internal.codegen.as
> > .ASBlockWalker.walk(ASBlockWalker.java:159)
> > : at
> >
> > org.apache.royale.compiler.internal.codegen.as.ASEmitter.emitMethodSco
> > pe(ASEmitter.java:830)
> > : at
> >
> > org.apache.royale.compiler.internal.codegen.js.jx.MethodEmitter.emit(M
> > ethodEmitter.java:160)
> > : at
> >
> > org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> > emitMethod(JSRoyaleEmitter.java:891)
> > : at
> > org.apache.royale.compiler.internal.codegen.as
> > .ASBlockWalker.visitFunction(ASBlockWalker.java:290)
> > : at
> > org.apache.royale.compiler.internal.visitor.as
> > .ASNodeSwitch.handle(ASNodeSwitch.java:152)
> > : at
> > org.apache.royale.compiler.internal.visitor.as
> > .ASNodeHandler.handle(ASNodeHandler.java:85)
> > : at
> > org.apache.royale.compiler.internal.visitor.as
> > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> > : at
> > org.apache.royale.compiler.internal.codegen.as
> > .ASBlockWalker.walk(ASBlockWalker.java:159)
> > : at
> >
> > org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmit
> > ter.emitScripts(MXMLRoyaleEmitter.java:2179)
> > : at
> >
> > org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmit
> > ter.emitDocument(MXMLRoyaleEmitter.java:899)
> > : at
> >
> > org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleBloc
> > kWalker.visitDocument(MXMLRoyaleBlockWalker.java:69)
> > : at
> >
> > org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle
> > (MXMLNodeSwitch.java:89)
> > : at
> >
> > org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(
> > MXMLBlockWalker.java:156)
> > : at
> >
> > org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleBloc
> > kWalker.visitFile(MXMLRoyaleBlockWalker.java:61)
> > : at
> >
> > org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle
> > (MXMLNodeSwitch.java:95)
> > : at
> >
> > org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(
> > MXMLBlockWalker.java:156)
> > : at
> >
> > org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.visit
> > CompilationUnit(MXMLBlockWalker.java:187)
> > : at
> >
> > org.apache.royale.compiler.internal.codegen.mxml.MXMLWriter.writeTo(MX
> > MLWriter.java:69)
> > : at
> >
> > org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale
> > .java:411)
> > : at
> >
> > org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRo
> > yale.java:259)
> > : at
> >
> > org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoy
> > ale.java:216)
> > : at
> > org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:36
> > 3)
> > : at
> > org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298
> > )
> > : at
> >
> > org.apache.royale.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.ja
> > va:256)
> > : at org.apache.royale.compiler.clients.MXMLJSC.main(MXMLJSC.java:238)
> > : Caused by: java.lang.ClassNotFoundException:
> > org.apache.commons.lang.StringEscapeUtils
> > : at
> >
> > java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClas
> > sLoader.java:582)
> > : at
> >
> > java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Cl
> > assLoaders.java:178)
> > : at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
> > : ... 67 more
> >
> > niedz., 21 lut 2021 o 18:57 Carlos Rovira <ca...@apache.org>
> > napisał(a):
> >
> > > Hi,
> > >
> > > I worked today on this and finally could solve the problem. A part
> > > from Chris changes we need a bit more changes since all was set up
> > > from the compiler to use the old names. So class paths need to be
> > changed too there.
> > > Also Google Closure compiler need to be in jar mode instead of
> unpacked.
> > >
> > > Now I can use CMD (or CTRL) + SHIFT + B and select Debug or Release
> > > option with Actionscript extension and all goes ok.
> > > When using CMD+ENTER I think VsCode use the experimental build in
> > > Josh extension and take the SDK in ROYALE_HOME, and since that's the
> > > one build in the repository with ANT all seems fine, but is not
> > > using the selected SDK, so the build is not using what you expect.
> > >
> > > This is my output now using the Maven Distribution SDK:
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > *> Executing task in folder TourDeJewel:
> > > /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/b
> > > in
> > > /java
> > > -jar
> > >
> > > /Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas
> > > -1
> > > .6.0/bin/asconfigc.jar --sdk
> > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven --debug=true
> > > --project
> > >
> > > /Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/Tou
> > > rD
> > > eJewel/asconfig.json
> > >
> > > <MXMLJSC+royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale
> > > -m
> > > aven/frameworks--debug=true+configname=royale--targets=JSRoyale--sou
> > > rc
> > > e-path+=src/main/resources--source-map=true--html-template=src/main/
> > > e-path+re
> > > sources/jewel-example-index-template.html--theme=${royalelib}/themes
> > > /J
> > > ewelTheme/src/main/resources/defaults.css-js-dynamic-access-unknown-
> > > me mbers=true--src/main/royale/App.mxmlThe
> > > project 'App' has been successfully compiled.12.80962843
> > > secondsTerminal will be reused by tasks, press any key to close it.*
> > >
> > >
> > >
> > >
> > >
> > >
> > > El sáb, 20 feb 2021 a las 18:16, Christofer Dutz (<
> > > christofer.dutz@c-ware.de>)
> > > escribió:
> > >
> > > > So I just did a video and posted it to the Royale slack channel ...
> > > >
> > > > I can't seem to reproduce the error ... perhaps if you check what
> > > > I'm doing you can tell me if I'm doing something wrong.
> > > > I did try to rule out that I might have not configured VSCode to
> > > > use my distribution by intentionally changing the settings to a
> > > > wrong
> > location.
> > > It
> > > > didn't work then, and when I changed it back to the correct
> > > > version, I could build again.
> > > >
> > > > Chris
> > > >
> > > >
> > > > -----Ursprüngliche Nachricht-----
> > > > Von: Carlos Rovira <ca...@apache.org>
> > > > Gesendet: Samstag, 20. Februar 2021 15:17
> > > > An: Apache Royale Development <de...@royale.apache.org>
> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > distribution
> > > >
> > > > Hi,
> > > >
> > > > sorry, yesterday was mostly offline for some personal things. Many
> > > > things happen in this thread.
> > > > I rebuild all today and check. This is what I can report trying to
> > > > build TDJ with Maven SDK with Chris's changes.
> > > > Setting my VSCode with AS3&MXML to the Maven SDK just generated:
> > > >
> > > > 1.- I can't build with CMD+SHIFT+ENTER, then "Build Debug with AS3
> > > > Extension Tour de Jewel" (as josh said). I get :
> > > >
> > > > Executing task in folder TourDeJewel:
> > > >
> > > /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/b
> > > in
> > > /java
> > > > -jar
> > > >
> > > >
> > > /Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas
> > > -1
> > > .6.0/bin/asconfigc.jar
> > > > --sdk /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
> > > --debug=true
> > > > --project
> > > >
> > > /Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/Tou
> > > rD
> > > eJewel/asconfig.json
> > > > <
> > > >
> > > > Error: no se ha encontrado o cargado la clase principal
> > > > org.apache.royale.compiler.clients.MXMLJSC
> > > > The terminal process
> > > >
> > > >
> > > "/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/
> > > bi
> > > n/java
> > > > '-jar',
> > > >
> > > >
> > > '/Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgena
> > > s-
> > > 1.6.0/bin/asconfigc.jar',
> > > > '--sdk',
> > > > '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven',
> > > > '--debug=true', '--project',
> > > >
> > > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/TourDeJewel/asconfig.json'"
> > > > terminated with exit code: 1.
> > > >
> > > > Terminal will be reused by tasks, press any key to close it.
> > > >
> > > >
> > > > 2.- I can build with CMD+ENTER. I get:
> > > >
> > > > Royale Compiler Shell
> > > > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> > > > --source-path+=src/main/resources --source-map=true
> > > > --html-template=src/main/resources/jewel-example-index-template.ht
> > > > ml
> > > > --theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults
> > > > .c ss -js-dynamic-access-unknown-members=true --
> > > > src/main/royale/App.mxml
> > > > fcsh: Assigned 1 as the compile target id The project 'App' has
> > > > been successfully compiled and optimized.
> > > > Compile status: 0
> > > > Elapsed time: 26.925719521 seconds Feb 20, 2021 3:10:42 PM
> > > > com.google.javascript.jscomp.LoggerErrorManager
> > > > printSummary
> > > > INFO: 0 error(s), 0 warning(s), 97.8% typed
> > > > (fcsh)
> > > >
> > > > I don't understand fully the differences between one method and
> > > > the other and why I get different results. I guess know what's
> > > > happening is needed
> > > so
> > > > Chris can do the proper changes. probably there are paths and
> > > > locations mixed.
> > > >
> > > > @Chris, one thing I did in the past was to compare maven
> > > > distribution
> > > with
> > > > ant distribution so both has most of the things in the same place.
> > > > I
> > > think
> > > > some files where left in more than one place (like mxmlc).
> > > >
> > > > If you could take a look at it, that will for sure fix the issue.
> > > > You
> > > have
> > > > TDJ and the other project to test if that works and now we know
> > > > that is better to try with CMD+SHIFT+ENTER, then "Build Debug with
> > > > AS3 Extension Tour de Jewel"
> > > >
> > > >
> > > >
> > > >
> > > > El vie, 19 feb 2021 a las 18:45, Piotr Zarzycki (<
> > > > piotrzarzycki21@gmail.com>)
> > > > escribió:
> > > >
> > > > > It looks like something bad has happened with my environment. I
> > > > > changed lately Java settings a bit. You can see what is setup in
> > > > > my
> > > > stacktrace.
> > > > >
> > > > > I will get back to that over the weekend or on Monday.
> > > > >
> > > > > On Fri, 19 Feb 2021 at 18:24, Maria Jose Esteve
> > > > > <mj...@iest.com>
> > > > wrote:
> > > > >
> > > > > > Hi,
> > > > > > Piotr, I just tested your distribution with my project and the
> > > > > compilation
> > > > > > was successful, no errors.
> > > > > > Running the application seems to be working fine too.
> > > > > > (I compile the application with mvn)
> > > > > >
> > > > > > What do they need me to try now?
> > > > > >
> > > > > > Hiedra.
> > > > > > -----Mensaje original-----
> > > > > > De: Piotr Zarzycki <pi...@gmail.com> Enviado el:
> > > > > > viernes,
> > > > > > 19 de febrero de 2021 18:11
> > > > > > Para: Apache Royale Development <de...@royale.apache.org>
> > > > > > Asunto: Re: Align Maven IDE distribution with Ant IDE
> > > > > > distribution
> > > > > >
> > > > > > Did you test my distribution ?
> > > > > >
> > > > > > pt., 19 lut 2021 o 18:00 Christofer Dutz
> > > > > > <ch...@c-ware.de>
> > > > > > napisał(a):
> > > > > >
> > > > > > > So I did a bit more of testing.
> > > > > > >
> > > > > > > So after I had no issues building Carlos' example, I tried
> > > > > > > the TourDeJewl example.
> > > > > > > So I opened VSCode in the directory of TDJ example ...
> > > > > > > created a settings.json with the folowing content:
> > > > > > >
> > > > > > > {
> > > > > > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > > > > > }
> > > > > > >
> > > > > > > Hit STRG+Enter and waited a bit ...
> > > > > > >
> > > > > > > Then I opened the output in Chrome and have a fully
> > > > > > > functioning TDJ application.
> > > > > > >
> > > > > > > So I wouldn't consider the build broken.
> > > > > > >
> > > > > > > Chris
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > > > > Gesendet: Freitag, 19. Februar 2021 17:51
> > > > > > > An: dev@royale.apache.org
> > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > > distribution
> > > > > > >
> > > > > > > Sure, that would be "expected", but like I told you: if I
> > > > > > > change it to MXRoyaleJS.swc, the app "does nonsense".
> > > > > > > Maybe something has gotten my way.
> > > > > > >
> > > > > > > I will read your messages and see if I can help with something.
> > > > > > >
> > > > > > > Hiedra.
> > > > > > > -----Mensaje original-----
> > > > > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > > > > > viernes,
> > > > > > > 19 de febrero de 2021 14:12
> > > > > > > Para: dev@royale.apache.org
> > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > distribution
> > > > > > >
> > > > > > > Hi Hiedra,
> > > > > > >
> > > > > > > well I changed the distribution to make the names like in
> > > > > > > the ANT distribution yesterday.
> > > > > > > But you are passing in an argument telling the compiler to
> > > > > > > use the old format and now it should be the new ...
> > > > > > >
> > > > > > > Try:
> > > > > > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> > > > > > > defaults.css; For -compiler.exclude-defaults-css-files =
> > > > MXRoyaleJS.swc:
> > > > > > > defaults.css;
> > > > > > >
> > > > > > > Instead of your variant.
> > > > > > >
> > > > > > > Chris
> > > > > > >
> > > > > > >
> > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > > > > Gesendet: Freitag, 19. Februar 2021 14:08
> > > > > > > An: dev@royale.apache.org
> > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > > distribution
> > > > > > >
> > > > > > > Yes, until recently I also compiled only with Maven. Due to
> > > > > > > the problem with the spark.css I started to do the double
> > > > > > > compilation of
> > > > > > MAVEN and ANT.
> > > > > > >
> > > > > > > It's funny, now, the swc's are not generated with
> > > > > > > "xxxx-0.9.8-SNAPSHOT-js.swc" in the distribution BUT if in
> > > > > > > the pom of my project I change in additionalCompilerOptions:
> > > > > > > -compiler.exclude-defaults-css-files = MXRoyale - $
> > > > > > > {royale.framework.version} -js.swc: defaults.css; For
> > > > > > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> > > > > > > defaults.css; My application starts to do nonsense (for
> > > > > > > example the change of selectedContent in my
> > > > > > > ApplicationMainContent does not display)
> > > > > > >
> > > > > > > Chris, thank you.
> > > > > > > Hiedra
> > > > > > >
> > > > > > > -----Mensaje original-----
> > > > > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > > > > > viernes,
> > > > > > > 19 de febrero de 2021 13:09
> > > > > > > Para: dev@royale.apache.org
> > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > distribution
> > > > > > >
> > > > > > > Hi Hiedra,
> > > > > > >
> > > > > > > I have to admit that I've never used VSCode. Every time I do
> > > > > > > any development I usually use one of the JetBrains IDEs.
> > > > > > > Royale Stuff I do in IntelliJ ... with my "Flexmojos Hack"
> > > > > > > it can be used quite well. And I always compile with Maven.
> > > > > > >
> > > > > > > But thanks for the explanation on why the other path is set
> > > > > differently.
> > > > > > >
> > > > > > > I guess we'll have to wait till some others can tell me what
> > > > > > > needs to be changed.
> > > > > > >
> > > > > > > Chris
> > > > > > >
> > > > > > >
> > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > > > > Gesendet: Freitag, 19. Februar 2021 12:48
> > > > > > > An: dev@royale.apache.org
> > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > > distribution
> > > > > > >
> > > > > > > Hello Chris,
> > > > > > > so that I can debug my changes in the SDK I need to set the
> > > > > > > path of the "as3mxml.sdk.editor" to the asjs directory of my
> > > > > > > fork, for this reason the path of the " as3mxml.sdk.framework"
> > > > > > > points to the directory of the maven distribution and the
> > "as3mxml.sdk.editor"
> > > > > > > to
> > > > > code.
> > > > > > >
> > > > > > > ">> I'm not getting any errors from VSCode. But well ... if
> > > > > > > I hit
> > > > > > > SHIFT+Enter it starts doing something where if failed prior
> > > > > > > SHIFT+to my
> > > > > > > >> changes this morning and is no longer complaining, but
> > > > > > > >> it's also not
> > > > > > > doing much (I can't see it create a "bin" directory)"
> > > > > > >
> > > > > > > I don't quite understand this ... possibly because of my
> > > > > > > lack of
> > > > > > knowledge.
> > > > > > >
> > > > > > > I have not tried Carlos's project but this afternoon I will
> > > > > > > be able to do it and I will be able to give more details.
> > > > > > >
> > > > > > > Thx.
> > > > > > > Hiedra.
> > > > > > >
> > > > > > > -----Mensaje original-----
> > > > > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > > > > > viernes,
> > > > > > > 19 de febrero de 2021 11:51
> > > > > > > Para: dev@royale.apache.org
> > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > distribution
> > > > > > >
> > > > > > > Hi Heidra,
> > > > > > >
> > > > > > > I just updated Carlos' example to have the same type of
> > > > > > > setting (C:\\Temp\\RoyaleSDK is where I have my Maven build
> > > > > > > generate the
> > > > SDK):
> > > > > > >
> > > > > > > setings.js:
> > > > > > > {
> > > > > > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > > > > > }
> > > > > > >
> > > > > > > workspace-code-workspace
> > > > > > > {
> > > > > > > "folders": [
> > > > > > > {
> > > > > > > "path": ".."
> > > > > > > }
> > > > > > > ],
> > > > > > > "settings": {
> > > > > > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > > > > > }
> > > > > > > }
> > > > > > >
> > > > > > > I'm not getting any errors from VSCode. But well ... if I
> > > > > > > hit
> > > > > > > SHIFT+Enter it starts doing something where if failed prior
> > > > > > > SHIFT+to my
> > > > > > > changes this morning and is no longer complaining, but it's
> > > > > > > also not doing much (I can't see it create a "bin"
> > > > > > > directory)
> > > > > > >
> > > > > > > Chris
> > > > > > >
> > > > > > >
> > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > > > > Gesendet: Freitag, 19. Februar 2021 10:53
> > > > > > > An: dev@royale.apache.org
> > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > > distribution
> > > > > > >
> > > > > > > If I don't compile with ANT, the mxml extension in vsCode
> > > > > > > IDE, it doesn't recognize the valid asjs directory for
> > > "as3mxml.sdk.editor":
> > > > > > > ...
> > > > > > > "settings": {
> > > > > > > "as3mxml.sdk.framework":
> > > > > > > "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
> > > > > > > "as3mxml.sdk.editor":
> > > > > > > "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs"
> > > > > > > <-------- [download folder repo royale-asjs]
> > > > > > > }
> > > > > > > }
> > > > > > >
> > > > > > > The error is:
> > > > > > > " as3mxml.sdk.editor in settings does not point to a valid SDK.
> > > > > > > Requires..."
> > > > > > >
> > > > > > > Thx.
> > > > > > > Hiedra.
> > > > > > >
> > > > > > > -----Mensaje original-----
> > > > > > > De: Piotr Zarzycki <pi...@gmail.com> Enviado el:
> > > > > > > viernes, 19 de febrero de 2021 10:44
> > > > > > > Para: Apache Royale Development <de...@royale.apache.org>
> > > > > > > Asunto: Re: Align Maven IDE distribution with Ant IDE
> > > > > > > distribution
> > > > > > >
> > > > > > > Hi Chris,
> > > > > > >
> > > > > > > I just tried your changes and I have same issue. I need to
> > > > > > > understand what has change enough significantly that it
> > > > > > > causes compilation fail in such way. It doesn't happen with
> > > > > > > SDK prepared
> > > by
> > > > ANT.
> > > > > > >
> > > > > > > Thanks,
> > > > > > > Piotr
> > > > > > >
> > > > > > > pt., 19 lut 2021 o 10:33 Maria Jose Esteve
> > > > > > > <mj...@iest.com>
> > > > > > napisał(a):
> > > > > > >
> > > > > > > > @Chris you're right, sorry, I didn't download your last
> commit.
> > > > > > > > I'm sorry.
> > > > > > > > Hiedra.
> > > > > > > >
> > > > > > > > -----Mensaje original-----
> > > > > > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > > > > > > viernes,
> > > > > > > > 19 de febrero de 2021 10:17
> > > > > > > > Para: dev@royale.apache.org
> > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > I'll try to guess what you wanted to say here ...
> > > > > > > >
> > > > > > > > But I think these are exactly the changes I comitted a an
> > > > > > > > hour ago,
> > > > > > > right?
> > > > > > > > At least in general I replaced all the references to names
> > > > > > > > with versions to the changed ones.
> > > > > > > >
> > > > > > > >
> > > > > > > > Chris
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > > > > > Gesendet: Freitag, 19. Februar 2021 10:01
> > > > > > > > An: dev@royale.apache.org
> > > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Hi,
> > > > > > > > Mi distribución hace referencia en el fichero
> > > > > > > > "./frameworks/royale-config.xml" a las librerías:
> > > > > > > >
> > > > > > > > <js-external-library-path>
> > > > > > > >
> > > > > > > >
> > > > <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.
> > > > > > > > sw
> > > > > > > > c</path-element>
> > > > > > > >
> > > > > > > >
> > > > > > > <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-
> > > > > > > ty
> > > > > > > pede
> > > > > > > fs.s
> > > > > > > wc</path-element>
> > > > > > > > </js-external-library-path>
> > > > > > > >
> > > > > > > > Las correctas son:
> > > > > > > >
> > > > > > > > <js-external-library-path>
> > > > > > > >
> > > > > >
> > > > > > <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> > > > > > > >
> > > > > >
> > > > > > <path-element>../js/libs/royale-typedefs-gcl.swc</path-element
> > > > > > >
> > > > > > > > </js-external-library-path>
> > > > > > > >
> > > > > > > > Hiedra
> > > > > > > >
> > > > > > > > -----Mensaje original-----
> > > > > > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > > > > > > viernes,
> > > > > > > > 19 de febrero de 2021 9:39
> > > > > > > > Para: dev@royale.apache.org
> > > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Ok,
> > > > > > > >
> > > > > > > > so the config xml files in the distribution were still
> > > > > > > > pointing to the old names. I updated them all to now refer
> > > > > > > > to
> > the names.
> > > > > > > > I tried things in Carlos' demo project, and I'm no-longer
> > > > > > > > getting the errors, however compilation seems to take for
> ever.
> > > > > > > >
> > > > > > > > Please try out the changes and tell me if there are any
> > > > > > > > problems with
> > > > > > > them.
> > > > > > > >
> > > > > > > > Chris
> > > > > > > >
> > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > Von: Christofer Dutz <ch...@c-ware.de>
> > > > > > > > Gesendet: Donnerstag, 18. Februar 2021 23:17
> > > > > > > > An: dev@royale.apache.org
> > > > > > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Hi Carlos,
> > > > > > > >
> > > > > > > > I'll look into this tomorrow.
> > > > > > > >
> > > > > > > > Chris
> > > > > > > >
> > > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > Von: Carlos Rovira <ca...@apache.org>
> > > > > > > > Gesendet: Donnerstag, 18. Februar 2021 17:49
> > > > > > > > An: Apache Royale Development <de...@royale.apache.org>
> > > > > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > > > > > distribution
> > > > > > > >
> > > > > > > > Hi, I think I talked very quickly, sorry, there seems to
> > > > > > > > be a
> > > > > problem.
> > > > > > > >
> > > > > > > > @Christofer Dutz <ch...@c-ware.de> you can
> > > > > > > > download this
> > > > > > > > project:
> > > > > > > >
> > > > > > > >
> > > > > > > > https://github.com/apache/royale-asjs/files/6004363/Toggle
> > > > > > > > Bu
> > > > > > > > tton
> > > > > > > > BarI
> > > > > > > > ss
> > > > > > > > ue.zip
> > > > > > > >
> > > > > > > > Then using VSCode with AS3&MXML and adding the Maven
> > > distribution.
> > > > > > > > Then hit CTRL+ENTER and you will get the following fail.
> > > > > > > > Using ANT distribution is working fine.
> > > > > > > > Can you take a look?
> > > > > > > >
> > > > > > > > Royale Compiler Shell
> > > > > > > > (fcsh) mxmlc --debug=false +configname=royale
> > > > > > > > --targets=JSRoyale --source-map=true
> > > > > > > > --html-template=src/html/jewel-example-index-template.html
> > > > > > > >
> > > > > > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapph
> > > > > > > > ir
> > > > > > > > e-Th
> > > > > > > > eme/
> > > > > > > > sr
> > > > > > > > c/main/resources/defaults.css
> > > > > > > > --source-path+=src
> > > > > > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyal
> > > > > > > > --source-path+--library-path+eJ S.sw c
> > > > > > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > > > > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaul
> > > > > > > > ts .css -js-dynamic-access-unknown-members=true --
> > > > > > > > src/App.mxml
> > > > > > > > fcsh: Assigned 1 as the compile target id The project 'App'
> > > > > > > > has been successfully compiled and optimized.
> > > > > > > > Compile status: 0
> > > > > > > > Elapsed time: 14.211105399 seconds Feb 18, 2021 5:43:40 PM
> > > > > > > > com.google.javascript.jscomp.LoggerErrorManager
> > > > > > > > printSummary
> > > > > > > > INFO: 0 error(s), 0 warning(s), 96.5% typed
> > > > > > > > (fcsh) quit
> > > > > > > > Compiler shell exited with code: 0 Royale Compiler Shell
> > > > > > > > (fcsh) mxmlc --debug=false +configname=royale
> > > > > > > > --targets=JSRoyale --source-map=true
> > > > > > > > --html-template=src/html/jewel-example-index-template.html
> > > > > > > >
> > > > > > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapph
> > > > > > > > ir
> > > > > > > > e-Th
> > > > > > > > eme/
> > > > > > > > sr
> > > > > > > > c/main/resources/defaults.css
> > > > > > > > --source-path+=src
> > > > > > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyal
> > > > > > > > --source-path+--library-path+eJ S.sw c
> > > > > > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > > > > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaul
> > > > > > > > ts .css -js-dynamic-access-unknown-members=true --
> > > > > > > > src/App.mxml
> > > > > > > > fcsh: Assigned 1 as the compile target id Compile status:
> > > > > > > > 5 Elapsed
> > > > > > time:
> > > > > > > > 0.618407478 seconds
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > > > > > > > col: 0 Error: unable to open
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
> > > > > > > >
> > > > > > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/fr
> > > > > > > > am
> > > > > > > > ewor
> > > > > > > > ks/r
> > > > > > > > oy
> > > > > > > > ale-config.xml
> > > > > > > > (line: 81)
> > > > > > > >
> > > > > > > > </js-external-library-path>
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > > > > > > > col: 0 Error: unable to open
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
> > > > > > > >
> > > > > > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/fr
> > > > > > > > am
> > > > > > > > ewor
> > > > > > > > ks/r
> > > > > > > > oy
> > > > > > > > ale-config.xml
> > > > > > > > (line: 81)
> > > > > > > >
> > > > > > > > </js-external-library-path>
> > > > > > > > (fcsh)
> > > > > > > > Quick Compile failed. Errors in compiler output.
> > > > > > > >
> > > > > > > > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
> > > > > > > > (<ca...@apache.org>)
> > > > > > > > escribió:
> > > > > > > >
> > > > > > > > > Hi,
> > > > > > > > >
> > > > > > > > > I rebuilt all from scratch just now and finally the
> > > > > > > > > distribution too and tried in VSCode and all seems to
> > > > > > > > > work fine
> > > > for me.
> > > > > > > > >
> > > > > > > > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> > > > > > > > > christofer.dutz@c-ware.de>) escribió:
> > > > > > > > >
> > > > > > > > >> Hi Piotr,
> > > > > > > > >>
> > > > > > > > >> that class is located in lib\external\flex-tool-api.jar
> > > > > > > > >> At least in my distribution it's there and it contains
> > > > > > > > >> the
> > class.
> > > > > > > > >>
> > > > > > > > >> How are you calling the build that's failing?
> > > > > > > > >>
> > > > > > > > >> Chris
> > > > > > > > >>
> > > > > > > > >> -----Ursprüngliche Nachricht-----
> > > > > > > > >> Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > > > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> > > > > > > > >> An: Apache Royale Development <de...@royale.apache.org>
> > > > > > > > >> Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > > > > > >> distribution
> > > > > > > > >>
> > > > > > > > >> Chris,
> > > > > > > > >>
> > > > > > > > >> I just checked and I'm not able build project anymore
> > > > > > > > >> using
> > > > > > > > distribution:
> > > > > > > > >>
> > > > > > > > >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
> > > > > > > > >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
> > > > > > > > >> -Xms356m -Xmx3000m
> > > > > > > > >> : Error: Could not find or load main class
> > > > > > > > >> org.apache.royale.compiler.clients.MXMLJSC
> > > > > > > > >> : Caused by: java.lang.NoClassDefFoundError:
> > > > > > > > >> org/apache/flex/tools/FlexTool
> > > > > > > > >>
> > > > > > > > >> I'm done for today, so I will answer anything tomorrow.
> > > > > > > > >>
> > > > > > > > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
> > > > > > > > >> <ch...@c-ware.de>
> > > > > > > > >> napisał(a):
> > > > > > > > >>
> > > > > > > > >> > Ok ...
> > > > > > > > >> >
> > > > > > > > >> > so I just pushed another change. Now the distribution
> > > > > > > > >> > should also contain an empty spark.css, just like the
> > > > > > > > >> > Ant
> > > one.
> > > > > > > > >> >
> > > > > > > > >> > Chris
> > > > > > > > >> >
> > > > > > > > >> >
> > > > > > > > >> > -----Ursprüngliche Nachricht-----
> > > > > > > > >> > Von: Christofer Dutz <ch...@c-ware.de>
> > > > > > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> > > > > > > > >> > An: dev@royale.apache.org
> > > > > > > > >> > Betreff: AW: Align Maven IDE distribution with Ant
> > > > > > > > >> > IDE distribution
> > > > > > > > >> >
> > > > > > > > >> > Ok,
> > > > > > > > >> >
> > > > > > > > >> > so that should now be fixed. Leaves the "spark.css"
> > > > > > > > >> > Having had a look, it seems as if the Ant build
> > > > > > > > >> > creates an empty
> > > > > > > > >> spark.css.
> > > > > > > > >> >
> > > > > > > > >> > Is this all we need? If yes, then I'll have that in
> > > > > > > > >> > ther in no
> > > > > > time.
> > > > > > > > >> >
> > > > > > > > >> > Chris
> > > > > > > > >> >
> > > > > > > > >> > -----Ursprüngliche Nachricht-----
> > > > > > > > >> > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> > > > > > > > >> > An: Apache Royale Development <de...@royale.apache.org>
> > > > > > > > >> > Betreff: Re: Align Maven IDE distribution with Ant
> > > > > > > > >> > IDE distribution
> > > > > > > > >> >
> > > > > > > > >> > *(I assume that's in the "frameworks/js/libs"
> > > > > > > > >> > directory? *
> > > > > > > > >> >
> > > > > > > > >> > Yes this is the directory.
> > > > > > > > >> >
> > > > > > > > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> > > > > > > > >> > <ch...@c-ware.de>
> > > > > > > > >> > napisał(a):
> > > > > > > > >> >
> > > > > > > > >> > > Hi Piotr,
> > > > > > > > >> > >
> > > > > > > > >> > > Ok ... so Ant seems to be adding a "JS" to the end
> > > > > > > > >> > > of every name (I assume that's in the
> "frameworks/js/libs"
> > > > directory?
> > > > > > > > >> > >
> > > > > > > > >> > > Also I'll try to find out where the "spark.css"
> > > > > > > > >> > > should come from
> > > > > > > ...
> > > > > > > > >> > > and where it should go to.
> > > > > > > > >> > >
> > > > > > > > >> > > Chris
> > > > > > > > >> > >
> > > > > > > > >> > >
> > > > > > > > >> > > -----Ursprüngliche Nachricht-----
> > > > > > > > >> > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > > > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> > > > > > > > >> > > An: Apache Royale Development
> > > > > > > > >> > > <de...@royale.apache.org>
> > > > > > > > >> > > Betreff: Re: Align Maven IDE distribution with Ant
> > > > > > > > >> > > IDE distribution
> > > > > > > > >> > >
> > > > > > > > >> > > Chris,
> > > > > > > > >> > >
> > > > > > > > >> > > Looks better but here is the comparision what I
> > > > > > > > >> > > have in Ant distribution vs Maven distribution in
> > > > > > > > >> > > case of
> > names.
> > > > > > > > >> > > On the left Ant distribution, on the right Maven.
> > > > > > > > >> > > It is
> > > > folder:
> > > > > > > > >> > > frameworks\js\libs\ [1]
> > > > > > > > >> > >
> > > > > > > > >> > > [1] https://ibb.co/W2DzcDb
> > > > > > > > >> > >
> > > > > > > > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> > > > > > > > >> > > <ch...@c-ware.de>
> > > > > > > > >> > > napisał(a):
> > > > > > > > >> > >
> > > > > > > > >> > > > And done ...
> > > > > > > > >> > > >
> > > > > > > > >> > > > Now all elements in the distribution only consist
> > > > > > > > >> > > > of their name and file-ending ... all versions
> > > > > > > > >> > > > and classifiers have been
> > > > > > > > removed.
> > > > > > > > >> > > > Please provide me with feedback on if this solves
> > > > > > > > >> > > > the
> > > > > issues.
> > > > > > > > >> > > >
> > > > > > > > >> > > > Chris
> > > > > > > > >> > > >
> > > > > > > > >> > > >
> > > > > > > > >> > > > -----Ursprüngliche Nachricht-----
> > > > > > > > >> > > > Von: Christofer Dutz <ch...@c-ware.de>
> > > > > > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> > > > > > > > >> > > > An: dev@royale.apache.org
> > > > > > > > >> > > > Betreff: AW: Align Maven IDE distribution with
> > > > > > > > >> > > > Ant IDE distribution
> > > > > > > > >> > > >
> > > > > > > > >> > > > I'll probably have a fix for that in a few
> > > > > > > > >> > > > minuntes
> > ...
> > > > > > > > >> > > >
> > > > > > > > >> > > >
> > > > > > > > >> > > > Chris
> > > > > > > > >> > > >
> > > > > > > > >> > > >
> > > > > > > > >> > > > -----Ursprüngliche Nachricht-----
> > > > > > > > >> > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> > > > > > > > >> > > > An: Apache Royale Development
> > > > > > > > >> > > > <de...@royale.apache.org>
> > > > > > > > >> > > > Betreff: Re: Align Maven IDE distribution with
> > > > > > > > >> > > > Ant IDE distribution
> > > > > > > > >> > > >
> > > > > > > > >> > > > Chris,
> > > > > > > > >> > > >
> > > > > > > > >> > > > No it's not about not picking up by IDE at all.
> > > > > > > > >> > > > Moonshine and VSCode are able to build projects
> > > > > > > > >> > > > using Maven distribution package! It is about
> > > > > > > > >> > > > project which are mixed for example when user
> > > > > > > > >> > > > wanted to use Jewel module + RemoteObject class
> > > > > > > > >> > > > from MXRoyale module. In that case user need to
> > > > > > > > >> > > > point explicilty as a compiler options in IDE
> > > > > > > > >> > > > that he wanted to have SWC included and need to
> > > > > > > > >> > > > exclude css from that swc to
> > > > > > > > >> > > avoid problems.
> > > > > > > > >> > > >
> > > > > > > > >> > > > It is happen like that:
> > > > > > > > >> > > >
> > > > > > > > >> > > >
> > > > > > > > >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS
> > > > > > > > >> > > > -js-library-path+.s
> > > > > > > > >> > > > wc
> > > > > > > > >> > > >
> > > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> > > > > > > > >> > > > cs
> > > > > > > > >> > > > s
> > > > > > > > >> > > >
> > > > > > > > >> > > > If I would like to use maven distribution user
> > > > > > > > >> > > > need to know version for that compiler options.
> > > > > > > > >> > > > It is even more tricky when your swc is called
> > > > > > > > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> > > > > > > > >> > > >
> > > > > > > > >> > > >
> > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.
> > > > > > > > >> > > > cs
> > > > > > > > >> > > > s
> > > > > > > > >> > > >
> > > > > > > > >> > > > Thanks,
> > > > > > > > >> > > > Piotr
> > > > > > > > >> > > >
> > > > > > > > >> > > >
> > > > > > > > >> > > >
> > > > > > > > >> > > >
> > > > > > > > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> > > > > > > > >> > > > <ch...@c-ware.de>
> > > > > > > > >> > > > napisał(a):
> > > > > > > > >> > > >
> > > > > > > > >> > > > > Hi Piotr,
> > > > > > > > >> > > > >
> > > > > > > > >> > > > > And is really the version-suffix causing it to
> > > > > > > > >> > > > > not be picked up by the IDEs?
> > > > > > > > >> > > > >
> > > > > > > > >> > > > > Chris
> > > > > > > > >> > > > >
> > > > > > > > >> > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > > > >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> > > > > > > > >> > > > > An: dev@royale.apache.org
> > > > > > > > >> > > > > Betreff: Re: Align Maven IDE distribution with
> > > > > > > > >> > > > > Ant IDE distribution
> > > > > > > > >> > > > >
> > > > > > > > >> > > > > Hi Chris,
> > > > > > > > >> > > > >
> > > > > > > > >> > > > > This is the only thing which seems to be a
> > > > > > > > >> > > > > constant problem
> > > > > > > > here.
> > > > > > > > >> > > > > I personally and some users will be much more
> > > > > > > > >> > > > > happy having that
> > > > > > > > >> > change.
> > > > > > > > >> > > > >
> > > > > > > > >> > > > > Thanks,
> > > > > > > > >> > > > > Piotr
> > > > > > > > >> > > > >
> > > > > > > > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> > > > > > > > >> > > > > <ch...@c-ware.de>
> > > > > > > > >> > > > > wrote:
> > > > > > > > >> > > > >
> > > > > > > > >> > > > > > Hi Piotr,
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > > > I'd be happy to help with that.
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > > > I did simply ask for a list of things that
> > > > > > > > >> > > > > > need to be changed in order to get things
> > > > > > > > >> > > > > > working, but never got said list, so I never
> > > > > > > > >> > > > > > knew what I could do to make the Maven
> > > > > > > > >> > > > > > distribution match up to the
> > > > > > > > >> > > > Ant built one.
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > > > Chris
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > > >> > > > > > Von: Piotr Zarzycki
> > > > > > > > >> > > > > > <pi...@gmail.com>
> > > > > > > > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> > > > > > > > >> > > > > > An: Apache Royale Development
> > > > > > > > >> > > > > > <de...@royale.apache.org>
> > > > > > > > >> > > > > > Betreff: Align Maven IDE distribution with
> > > > > > > > >> > > > > > Ant IDE distribution
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > > > Hi Guys,
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > > > It's been couple of times when user complains
> > > > > > > > >> > > > > > that he have problems with using Maven
> > > > > > > > >> > > > > > distribution vs Ant distribution in IDE in a
> > > > > > > > >> > > > > > mixed project Jewel + MX/Spark
> > > > > > etc.
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > > > Can we have that resolve once for all and
> > > > > > > > >> > > > > > adjust Maven distribution folder to produce
> > > > > > > > >> > > > > > proper names of
> > > > swcs ?
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > > > Currently when I build Maven IDE distribution
> > > > > > > > >> > > > > > I
> > > have:
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > > > When I build Ant IDE distribution I have:
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > > > MXRoyale-js.swc
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > > > Thanks,
> > > > > > > > >> > > > > > --
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > > > Piotr Zarzycki
> > > > > > > > >> > > > > >
> > > > > > > > >> > > > > --
> > > > > > > > >> > > > >
> > > > > > > > >> > > > > Piotr Zarzycki
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > > >
> > > > > > > > >> > > > --
> > > > > > > > >> > > >
> > > > > > > > >> > > > Piotr Zarzycki
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> > >
> > > > > > > > >> > > --
> > > > > > > > >> > >
> > > > > > > > >> > > Piotr Zarzycki
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >> >
> > > > > > > > >> > --
> > > > > > > > >> >
> > > > > > > > >> > Piotr Zarzycki
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > > > >>
> > > > > > > > >> --
> > > > > > > > >>
> > > > > > > > >> Piotr Zarzycki
> > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > Carlos Rovira
> > > > > > > > > Apache Member & Apache Royale PMC *Apache Software
> > > > > > > > > Foundation* http://about.me/carlosrovira
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Carlos Rovira
> > > > > > > > Apache Member & Apache Royale PMC *Apache Software
> > > > > > > > Foundation* http://about.me/carlosrovira
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > >
> > > > > > > Piotr Zarzycki
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > >
> > > > > > Piotr Zarzycki
> > > > > >
> > > > > --
> > > > >
> > > > > Piotr Zarzycki
> > > > >
> > > >
> > > >
> > > > --
> > > > Carlos Rovira
> > > > Apache Member & Apache Royale PMC
> > > > *Apache Software Foundation*
> > > > http://about.me/carlosrovira
> > > >
> > >
> > >
> > > --
> > > Carlos Rovira
> > > Apache Member & Apache Royale PMC
> > > *Apache Software Foundation*
> > > http://about.me/carlosrovira
> > >
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
>
RE: Align Maven IDE distribution with Ant IDE distribution
Posted by Maria Jose Esteve <mj...@iest.com>.
Thanks Chris, I'll be listening.
Hiedra
-----Mensaje original-----
De: Christofer Dutz <ch...@c-ware.de>
Enviado el: lunes, 22 de febrero de 2021 11:52
Para: dev@royale.apache.org
Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
Hi all,
so I had a look and it seems the distribution was missing a number of libraries, which seem to have been added, since I created the distribution in 2016 ... Some modules were added after that, but not all. It seems all probelms you are reporting result from some of them missing. I added them and now they are correctly added to my distributions. I also compared them with the ANT built version ... the last missing piece is the ACE module, which was disabled in Maven as the Ace typedef was not a maven module. I took the liberty of creating a Maven typedef module for ace and re-added the ACE module to the Maven build and to the distribution.
I'm currently testing a few things and will commit as soon as I'm happy with my changes.
Chris
-----Ursprüngliche Nachricht-----
Von: Alina Kazi <al...@gmail.com>
Gesendet: Montag, 22. Februar 2021 11:26
An: dev@royale.apache.org
Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
Hi,
I am also facing a problem with latest SDK.
when I add something new in emulation and re-build SDK. when I recompile the application with the latest distribution , error in application does not go away that I already fixed in previous commit.
It seems that the distribution does not have everything latest that it should have.
-Alina
On Mon, Feb 22, 2021 at 3:20 PM Maria Jose Esteve <mj...@iest.com> wrote:
> I can't work either.
> With no Maven, Ant combination, always error: "Error <fx: Array> This
> tag could not be resolved to an ActionScript class ..."
>
> Do you know what happens? I am not able to understand or fix this.
>
> Hiedra.
>
> -----Mensaje original-----
> De: Piotr Zarzycki <pi...@gmail.com> Enviado el: lunes, 22
> de febrero de 2021 11:03
> Para: Apache Royale Development <de...@royale.apache.org>
> Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
>
> Hi Guys,
>
> I just tried new distribution and I'm able to build simple example.
> However our Royale project is not building - I'm getting following
> exception:
>
> : Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/commons/lang/StringEscapeUtils
> : at
>
> org.apache.royale.compiler.internal.codegen.js.jx.LiteralEmitter.emit(
> LiteralEmitter.java:225)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> emitLiteral(JSRoyaleEmitter.java:1040)
> : at
> org.apache.royale.compiler.internal.codegen.as
> .ASBlockWalker.visitLiteral(ASBlockWalker.java:479)
> : at
> org.apache.royale.compiler.internal.visitor.as
> .ASNodeSwitch.handle(ASNodeSwitch.java:373)
> : at
> org.apache.royale.compiler.internal.visitor.as
> .ASNodeHandler.handle(ASNodeHandler.java:85)
> : at
> org.apache.royale.compiler.internal.visitor.as
> .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> : at
> org.apache.royale.compiler.internal.codegen.as
> .ASBlockWalker.walk(ASBlockWalker.java:159)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.goog.JSGoogEmitter.emit
> AssignedValue(JSGoogEmitter.java:965)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitAssignmen
> tCoercion(JSEmitter.java:917)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> emitAssignmentCoercion(JSRoyaleEmitter.java:1558)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
> sEmitter.emitContents(FunctionCallArgumentsEmitter.java:103)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
> sEmitter.emit(FunctionCallArgumentsEmitter.java:50)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
> sEmitter.emit(FunctionCallArgumentsEmitter.java:35)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitArguments
> (JSEmitter.java:259)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> emitArguments(JSRoyaleEmitter.java:986)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallEmitter.
> emit(FunctionCallEmitter.java:693)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> emitFunctionCall(JSRoyaleEmitter.java:906)
> : at
> org.apache.royale.compiler.internal.codegen.as
> .ASBlockWalker.visitFunctionCall(ASBlockWalker.java:330)
> : at
> org.apache.royale.compiler.internal.visitor.as
> .ASNodeSwitch.handle(ASNodeSwitch.java:207)
> : at
> org.apache.royale.compiler.internal.visitor.as
> .ASNodeHandler.handle(ASNodeHandler.java:85)
> : at
> org.apache.royale.compiler.internal.visitor.as
> .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> : at
> org.apache.royale.compiler.internal.codegen.as
> .ASBlockWalker.walk(ASBlockWalker.java:159)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.goog.JSGoogEmitter.emit
> AssignedValue(JSGoogEmitter.java:965)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitAssignmen
> tCoercion(JSEmitter.java:917)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> emitAssignmentCoercion(JSRoyaleEmitter.java:1558)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.jx.BinaryOperatorEmitte
> r.super_emitBinaryOperator(BinaryOperatorEmitter.java:598)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.jx.BinaryOperatorEmitte
> r.emit(BinaryOperatorEmitter.java:500)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> emitBinaryOperator(JSRoyaleEmitter.java:1028)
> : at
> org.apache.royale.compiler.internal.codegen.as
> .ASBlockWalker.visitBinaryOperator(ASBlockWalker.java:538)
> : at
> org.apache.royale.compiler.internal.visitor.as
> .ASNodeSwitch.handle(ASNodeSwitch.java:348)
> : at
> org.apache.royale.compiler.internal.visitor.as
> .ASNodeHandler.handle(ASNodeHandler.java:85)
> : at
> org.apache.royale.compiler.internal.visitor.as
> .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> : at
> org.apache.royale.compiler.internal.codegen.as
> .ASBlockWalker.walk(ASBlockWalker.java:159)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.jx.StatementEmitter.emi
> t(StatementEmitter.java:40)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.jx.StatementEmitter.emi
> t(StatementEmitter.java:29)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitStatement
> (JSEmitter.java:349)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> emitStatement(JSRoyaleEmitter.java:1204)
> : at
> org.apache.royale.compiler.internal.codegen.as
> .ASBlockWalker.visitBlock(ASBlockWalker.java:349)
> : at
> org.apache.royale.compiler.internal.visitor.as
> .ASNodeSwitch.handle(ASNodeSwitch.java:278)
> : at
> org.apache.royale.compiler.internal.visitor.as
> .ASNodeHandler.handle(ASNodeHandler.java:85)
> : at
> org.apache.royale.compiler.internal.visitor.as
> .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> : at
> org.apache.royale.compiler.internal.codegen.as
> .ASBlockWalker.walk(ASBlockWalker.java:159)
> : at
>
> org.apache.royale.compiler.internal.codegen.as.ASEmitter.emitMethodSco
> pe(ASEmitter.java:830)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.jx.MethodEmitter.emit(M
> ethodEmitter.java:160)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> emitMethod(JSRoyaleEmitter.java:891)
> : at
> org.apache.royale.compiler.internal.codegen.as
> .ASBlockWalker.visitFunction(ASBlockWalker.java:290)
> : at
> org.apache.royale.compiler.internal.visitor.as
> .ASNodeSwitch.handle(ASNodeSwitch.java:152)
> : at
> org.apache.royale.compiler.internal.visitor.as
> .ASNodeHandler.handle(ASNodeHandler.java:85)
> : at
> org.apache.royale.compiler.internal.visitor.as
> .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> : at
> org.apache.royale.compiler.internal.codegen.as
> .ASBlockWalker.walk(ASBlockWalker.java:159)
> : at
>
> org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmit
> ter.emitScripts(MXMLRoyaleEmitter.java:2179)
> : at
>
> org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmit
> ter.emitDocument(MXMLRoyaleEmitter.java:899)
> : at
>
> org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleBloc
> kWalker.visitDocument(MXMLRoyaleBlockWalker.java:69)
> : at
>
> org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle
> (MXMLNodeSwitch.java:89)
> : at
>
> org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(
> MXMLBlockWalker.java:156)
> : at
>
> org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleBloc
> kWalker.visitFile(MXMLRoyaleBlockWalker.java:61)
> : at
>
> org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle
> (MXMLNodeSwitch.java:95)
> : at
>
> org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(
> MXMLBlockWalker.java:156)
> : at
>
> org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.visit
> CompilationUnit(MXMLBlockWalker.java:187)
> : at
>
> org.apache.royale.compiler.internal.codegen.mxml.MXMLWriter.writeTo(MX
> MLWriter.java:69)
> : at
>
> org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale
> .java:411)
> : at
>
> org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRo
> yale.java:259)
> : at
>
> org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoy
> ale.java:216)
> : at
> org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:36
> 3)
> : at
> org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298
> )
> : at
>
> org.apache.royale.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.ja
> va:256)
> : at org.apache.royale.compiler.clients.MXMLJSC.main(MXMLJSC.java:238)
> : Caused by: java.lang.ClassNotFoundException:
> org.apache.commons.lang.StringEscapeUtils
> : at
>
> java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClas
> sLoader.java:582)
> : at
>
> java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Cl
> assLoaders.java:178)
> : at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
> : ... 67 more
>
> niedz., 21 lut 2021 o 18:57 Carlos Rovira <ca...@apache.org>
> napisał(a):
>
> > Hi,
> >
> > I worked today on this and finally could solve the problem. A part
> > from Chris changes we need a bit more changes since all was set up
> > from the compiler to use the old names. So class paths need to be
> changed too there.
> > Also Google Closure compiler need to be in jar mode instead of unpacked.
> >
> > Now I can use CMD (or CTRL) + SHIFT + B and select Debug or Release
> > option with Actionscript extension and all goes ok.
> > When using CMD+ENTER I think VsCode use the experimental build in
> > Josh extension and take the SDK in ROYALE_HOME, and since that's the
> > one build in the repository with ANT all seems fine, but is not
> > using the selected SDK, so the build is not using what you expect.
> >
> > This is my output now using the Maven Distribution SDK:
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > *> Executing task in folder TourDeJewel:
> > /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/b
> > in
> > /java
> > -jar
> >
> > /Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas
> > -1
> > .6.0/bin/asconfigc.jar --sdk
> > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven --debug=true
> > --project
> >
> > /Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/Tou
> > rD
> > eJewel/asconfig.json
> >
> > <MXMLJSC+royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale
> > -m
> > aven/frameworks--debug=true+configname=royale--targets=JSRoyale--sou
> > rc
> > e-path+=src/main/resources--source-map=true--html-template=src/main/
> > e-path+re
> > sources/jewel-example-index-template.html--theme=${royalelib}/themes
> > /J
> > ewelTheme/src/main/resources/defaults.css-js-dynamic-access-unknown-
> > me mbers=true--src/main/royale/App.mxmlThe
> > project 'App' has been successfully compiled.12.80962843
> > secondsTerminal will be reused by tasks, press any key to close it.*
> >
> >
> >
> >
> >
> >
> > El sáb, 20 feb 2021 a las 18:16, Christofer Dutz (<
> > christofer.dutz@c-ware.de>)
> > escribió:
> >
> > > So I just did a video and posted it to the Royale slack channel ...
> > >
> > > I can't seem to reproduce the error ... perhaps if you check what
> > > I'm doing you can tell me if I'm doing something wrong.
> > > I did try to rule out that I might have not configured VSCode to
> > > use my distribution by intentionally changing the settings to a
> > > wrong
> location.
> > It
> > > didn't work then, and when I changed it back to the correct
> > > version, I could build again.
> > >
> > > Chris
> > >
> > >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Carlos Rovira <ca...@apache.org>
> > > Gesendet: Samstag, 20. Februar 2021 15:17
> > > An: Apache Royale Development <de...@royale.apache.org>
> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > distribution
> > >
> > > Hi,
> > >
> > > sorry, yesterday was mostly offline for some personal things. Many
> > > things happen in this thread.
> > > I rebuild all today and check. This is what I can report trying to
> > > build TDJ with Maven SDK with Chris's changes.
> > > Setting my VSCode with AS3&MXML to the Maven SDK just generated:
> > >
> > > 1.- I can't build with CMD+SHIFT+ENTER, then "Build Debug with AS3
> > > Extension Tour de Jewel" (as josh said). I get :
> > >
> > > Executing task in folder TourDeJewel:
> > >
> > /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/b
> > in
> > /java
> > > -jar
> > >
> > >
> > /Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas
> > -1
> > .6.0/bin/asconfigc.jar
> > > --sdk /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
> > --debug=true
> > > --project
> > >
> > /Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/Tou
> > rD
> > eJewel/asconfig.json
> > > <
> > >
> > > Error: no se ha encontrado o cargado la clase principal
> > > org.apache.royale.compiler.clients.MXMLJSC
> > > The terminal process
> > >
> > >
> > "/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/
> > bi
> > n/java
> > > '-jar',
> > >
> > >
> > '/Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgena
> > s-
> > 1.6.0/bin/asconfigc.jar',
> > > '--sdk',
> > > '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven',
> > > '--debug=true', '--project',
> > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/TourDeJewel/asconfig.json'"
> > > terminated with exit code: 1.
> > >
> > > Terminal will be reused by tasks, press any key to close it.
> > >
> > >
> > > 2.- I can build with CMD+ENTER. I get:
> > >
> > > Royale Compiler Shell
> > > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> > > --source-path+=src/main/resources --source-map=true
> > > --html-template=src/main/resources/jewel-example-index-template.ht
> > > ml
> > > --theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults
> > > .c ss -js-dynamic-access-unknown-members=true --
> > > src/main/royale/App.mxml
> > > fcsh: Assigned 1 as the compile target id The project 'App' has
> > > been successfully compiled and optimized.
> > > Compile status: 0
> > > Elapsed time: 26.925719521 seconds Feb 20, 2021 3:10:42 PM
> > > com.google.javascript.jscomp.LoggerErrorManager
> > > printSummary
> > > INFO: 0 error(s), 0 warning(s), 97.8% typed
> > > (fcsh)
> > >
> > > I don't understand fully the differences between one method and
> > > the other and why I get different results. I guess know what's
> > > happening is needed
> > so
> > > Chris can do the proper changes. probably there are paths and
> > > locations mixed.
> > >
> > > @Chris, one thing I did in the past was to compare maven
> > > distribution
> > with
> > > ant distribution so both has most of the things in the same place.
> > > I
> > think
> > > some files where left in more than one place (like mxmlc).
> > >
> > > If you could take a look at it, that will for sure fix the issue.
> > > You
> > have
> > > TDJ and the other project to test if that works and now we know
> > > that is better to try with CMD+SHIFT+ENTER, then "Build Debug with
> > > AS3 Extension Tour de Jewel"
> > >
> > >
> > >
> > >
> > > El vie, 19 feb 2021 a las 18:45, Piotr Zarzycki (<
> > > piotrzarzycki21@gmail.com>)
> > > escribió:
> > >
> > > > It looks like something bad has happened with my environment. I
> > > > changed lately Java settings a bit. You can see what is setup in
> > > > my
> > > stacktrace.
> > > >
> > > > I will get back to that over the weekend or on Monday.
> > > >
> > > > On Fri, 19 Feb 2021 at 18:24, Maria Jose Esteve
> > > > <mj...@iest.com>
> > > wrote:
> > > >
> > > > > Hi,
> > > > > Piotr, I just tested your distribution with my project and the
> > > > compilation
> > > > > was successful, no errors.
> > > > > Running the application seems to be working fine too.
> > > > > (I compile the application with mvn)
> > > > >
> > > > > What do they need me to try now?
> > > > >
> > > > > Hiedra.
> > > > > -----Mensaje original-----
> > > > > De: Piotr Zarzycki <pi...@gmail.com> Enviado el:
> > > > > viernes,
> > > > > 19 de febrero de 2021 18:11
> > > > > Para: Apache Royale Development <de...@royale.apache.org>
> > > > > Asunto: Re: Align Maven IDE distribution with Ant IDE
> > > > > distribution
> > > > >
> > > > > Did you test my distribution ?
> > > > >
> > > > > pt., 19 lut 2021 o 18:00 Christofer Dutz
> > > > > <ch...@c-ware.de>
> > > > > napisał(a):
> > > > >
> > > > > > So I did a bit more of testing.
> > > > > >
> > > > > > So after I had no issues building Carlos' example, I tried
> > > > > > the TourDeJewl example.
> > > > > > So I opened VSCode in the directory of TDJ example ...
> > > > > > created a settings.json with the folowing content:
> > > > > >
> > > > > > {
> > > > > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > > > > }
> > > > > >
> > > > > > Hit STRG+Enter and waited a bit ...
> > > > > >
> > > > > > Then I opened the output in Chrome and have a fully
> > > > > > functioning TDJ application.
> > > > > >
> > > > > > So I wouldn't consider the build broken.
> > > > > >
> > > > > > Chris
> > > > > >
> > > > > >
> > > > > >
> > > > > > -----Ursprüngliche Nachricht-----
> > > > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > > > Gesendet: Freitag, 19. Februar 2021 17:51
> > > > > > An: dev@royale.apache.org
> > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > distribution
> > > > > >
> > > > > > Sure, that would be "expected", but like I told you: if I
> > > > > > change it to MXRoyaleJS.swc, the app "does nonsense".
> > > > > > Maybe something has gotten my way.
> > > > > >
> > > > > > I will read your messages and see if I can help with something.
> > > > > >
> > > > > > Hiedra.
> > > > > > -----Mensaje original-----
> > > > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > > > > viernes,
> > > > > > 19 de febrero de 2021 14:12
> > > > > > Para: dev@royale.apache.org
> > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > distribution
> > > > > >
> > > > > > Hi Hiedra,
> > > > > >
> > > > > > well I changed the distribution to make the names like in
> > > > > > the ANT distribution yesterday.
> > > > > > But you are passing in an argument telling the compiler to
> > > > > > use the old format and now it should be the new ...
> > > > > >
> > > > > > Try:
> > > > > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> > > > > > defaults.css; For -compiler.exclude-defaults-css-files =
> > > MXRoyaleJS.swc:
> > > > > > defaults.css;
> > > > > >
> > > > > > Instead of your variant.
> > > > > >
> > > > > > Chris
> > > > > >
> > > > > >
> > > > > > -----Ursprüngliche Nachricht-----
> > > > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > > > Gesendet: Freitag, 19. Februar 2021 14:08
> > > > > > An: dev@royale.apache.org
> > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > distribution
> > > > > >
> > > > > > Yes, until recently I also compiled only with Maven. Due to
> > > > > > the problem with the spark.css I started to do the double
> > > > > > compilation of
> > > > > MAVEN and ANT.
> > > > > >
> > > > > > It's funny, now, the swc's are not generated with
> > > > > > "xxxx-0.9.8-SNAPSHOT-js.swc" in the distribution BUT if in
> > > > > > the pom of my project I change in additionalCompilerOptions:
> > > > > > -compiler.exclude-defaults-css-files = MXRoyale - $
> > > > > > {royale.framework.version} -js.swc: defaults.css; For
> > > > > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> > > > > > defaults.css; My application starts to do nonsense (for
> > > > > > example the change of selectedContent in my
> > > > > > ApplicationMainContent does not display)
> > > > > >
> > > > > > Chris, thank you.
> > > > > > Hiedra
> > > > > >
> > > > > > -----Mensaje original-----
> > > > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > > > > viernes,
> > > > > > 19 de febrero de 2021 13:09
> > > > > > Para: dev@royale.apache.org
> > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > distribution
> > > > > >
> > > > > > Hi Hiedra,
> > > > > >
> > > > > > I have to admit that I've never used VSCode. Every time I do
> > > > > > any development I usually use one of the JetBrains IDEs.
> > > > > > Royale Stuff I do in IntelliJ ... with my "Flexmojos Hack"
> > > > > > it can be used quite well. And I always compile with Maven.
> > > > > >
> > > > > > But thanks for the explanation on why the other path is set
> > > > differently.
> > > > > >
> > > > > > I guess we'll have to wait till some others can tell me what
> > > > > > needs to be changed.
> > > > > >
> > > > > > Chris
> > > > > >
> > > > > >
> > > > > > -----Ursprüngliche Nachricht-----
> > > > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > > > Gesendet: Freitag, 19. Februar 2021 12:48
> > > > > > An: dev@royale.apache.org
> > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > distribution
> > > > > >
> > > > > > Hello Chris,
> > > > > > so that I can debug my changes in the SDK I need to set the
> > > > > > path of the "as3mxml.sdk.editor" to the asjs directory of my
> > > > > > fork, for this reason the path of the " as3mxml.sdk.framework"
> > > > > > points to the directory of the maven distribution and the
> "as3mxml.sdk.editor"
> > > > > > to
> > > > code.
> > > > > >
> > > > > > ">> I'm not getting any errors from VSCode. But well ... if
> > > > > > I hit
> > > > > > SHIFT+Enter it starts doing something where if failed prior
> > > > > > SHIFT+to my
> > > > > > >> changes this morning and is no longer complaining, but
> > > > > > >> it's also not
> > > > > > doing much (I can't see it create a "bin" directory)"
> > > > > >
> > > > > > I don't quite understand this ... possibly because of my
> > > > > > lack of
> > > > > knowledge.
> > > > > >
> > > > > > I have not tried Carlos's project but this afternoon I will
> > > > > > be able to do it and I will be able to give more details.
> > > > > >
> > > > > > Thx.
> > > > > > Hiedra.
> > > > > >
> > > > > > -----Mensaje original-----
> > > > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > > > > viernes,
> > > > > > 19 de febrero de 2021 11:51
> > > > > > Para: dev@royale.apache.org
> > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > distribution
> > > > > >
> > > > > > Hi Heidra,
> > > > > >
> > > > > > I just updated Carlos' example to have the same type of
> > > > > > setting (C:\\Temp\\RoyaleSDK is where I have my Maven build
> > > > > > generate the
> > > SDK):
> > > > > >
> > > > > > setings.js:
> > > > > > {
> > > > > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > > > > }
> > > > > >
> > > > > > workspace-code-workspace
> > > > > > {
> > > > > > "folders": [
> > > > > > {
> > > > > > "path": ".."
> > > > > > }
> > > > > > ],
> > > > > > "settings": {
> > > > > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > > > > }
> > > > > > }
> > > > > >
> > > > > > I'm not getting any errors from VSCode. But well ... if I
> > > > > > hit
> > > > > > SHIFT+Enter it starts doing something where if failed prior
> > > > > > SHIFT+to my
> > > > > > changes this morning and is no longer complaining, but it's
> > > > > > also not doing much (I can't see it create a "bin"
> > > > > > directory)
> > > > > >
> > > > > > Chris
> > > > > >
> > > > > >
> > > > > > -----Ursprüngliche Nachricht-----
> > > > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > > > Gesendet: Freitag, 19. Februar 2021 10:53
> > > > > > An: dev@royale.apache.org
> > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > distribution
> > > > > >
> > > > > > If I don't compile with ANT, the mxml extension in vsCode
> > > > > > IDE, it doesn't recognize the valid asjs directory for
> > "as3mxml.sdk.editor":
> > > > > > ...
> > > > > > "settings": {
> > > > > > "as3mxml.sdk.framework":
> > > > > > "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
> > > > > > "as3mxml.sdk.editor":
> > > > > > "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs"
> > > > > > <-------- [download folder repo royale-asjs]
> > > > > > }
> > > > > > }
> > > > > >
> > > > > > The error is:
> > > > > > " as3mxml.sdk.editor in settings does not point to a valid SDK.
> > > > > > Requires..."
> > > > > >
> > > > > > Thx.
> > > > > > Hiedra.
> > > > > >
> > > > > > -----Mensaje original-----
> > > > > > De: Piotr Zarzycki <pi...@gmail.com> Enviado el:
> > > > > > viernes, 19 de febrero de 2021 10:44
> > > > > > Para: Apache Royale Development <de...@royale.apache.org>
> > > > > > Asunto: Re: Align Maven IDE distribution with Ant IDE
> > > > > > distribution
> > > > > >
> > > > > > Hi Chris,
> > > > > >
> > > > > > I just tried your changes and I have same issue. I need to
> > > > > > understand what has change enough significantly that it
> > > > > > causes compilation fail in such way. It doesn't happen with
> > > > > > SDK prepared
> > by
> > > ANT.
> > > > > >
> > > > > > Thanks,
> > > > > > Piotr
> > > > > >
> > > > > > pt., 19 lut 2021 o 10:33 Maria Jose Esteve
> > > > > > <mj...@iest.com>
> > > > > napisał(a):
> > > > > >
> > > > > > > @Chris you're right, sorry, I didn't download your last commit.
> > > > > > > I'm sorry.
> > > > > > > Hiedra.
> > > > > > >
> > > > > > > -----Mensaje original-----
> > > > > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > > > > > viernes,
> > > > > > > 19 de febrero de 2021 10:17
> > > > > > > Para: dev@royale.apache.org
> > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > distribution
> > > > > > >
> > > > > > > I'll try to guess what you wanted to say here ...
> > > > > > >
> > > > > > > But I think these are exactly the changes I comitted a an
> > > > > > > hour ago,
> > > > > > right?
> > > > > > > At least in general I replaced all the references to names
> > > > > > > with versions to the changed ones.
> > > > > > >
> > > > > > >
> > > > > > > Chris
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > > > > Gesendet: Freitag, 19. Februar 2021 10:01
> > > > > > > An: dev@royale.apache.org
> > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > > distribution
> > > > > > >
> > > > > > > Hi,
> > > > > > > Mi distribución hace referencia en el fichero
> > > > > > > "./frameworks/royale-config.xml" a las librerías:
> > > > > > >
> > > > > > > <js-external-library-path>
> > > > > > >
> > > > > > >
> > > <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.
> > > > > > > sw
> > > > > > > c</path-element>
> > > > > > >
> > > > > > >
> > > > > > <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-
> > > > > > ty
> > > > > > pede
> > > > > > fs.s
> > > > > > wc</path-element>
> > > > > > > </js-external-library-path>
> > > > > > >
> > > > > > > Las correctas son:
> > > > > > >
> > > > > > > <js-external-library-path>
> > > > > > >
> > > > >
> > > > > <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> > > > > > >
> > > > >
> > > > > <path-element>../js/libs/royale-typedefs-gcl.swc</path-element
> > > > > >
> > > > > > > </js-external-library-path>
> > > > > > >
> > > > > > > Hiedra
> > > > > > >
> > > > > > > -----Mensaje original-----
> > > > > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > > > > > viernes,
> > > > > > > 19 de febrero de 2021 9:39
> > > > > > > Para: dev@royale.apache.org
> > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > distribution
> > > > > > >
> > > > > > > Ok,
> > > > > > >
> > > > > > > so the config xml files in the distribution were still
> > > > > > > pointing to the old names. I updated them all to now refer
> > > > > > > to
> the names.
> > > > > > > I tried things in Carlos' demo project, and I'm no-longer
> > > > > > > getting the errors, however compilation seems to take for ever.
> > > > > > >
> > > > > > > Please try out the changes and tell me if there are any
> > > > > > > problems with
> > > > > > them.
> > > > > > >
> > > > > > > Chris
> > > > > > >
> > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > Von: Christofer Dutz <ch...@c-ware.de>
> > > > > > > Gesendet: Donnerstag, 18. Februar 2021 23:17
> > > > > > > An: dev@royale.apache.org
> > > > > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > distribution
> > > > > > >
> > > > > > > Hi Carlos,
> > > > > > >
> > > > > > > I'll look into this tomorrow.
> > > > > > >
> > > > > > > Chris
> > > > > > >
> > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > Von: Carlos Rovira <ca...@apache.org>
> > > > > > > Gesendet: Donnerstag, 18. Februar 2021 17:49
> > > > > > > An: Apache Royale Development <de...@royale.apache.org>
> > > > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > > > > distribution
> > > > > > >
> > > > > > > Hi, I think I talked very quickly, sorry, there seems to
> > > > > > > be a
> > > > problem.
> > > > > > >
> > > > > > > @Christofer Dutz <ch...@c-ware.de> you can
> > > > > > > download this
> > > > > > > project:
> > > > > > >
> > > > > > >
> > > > > > > https://github.com/apache/royale-asjs/files/6004363/Toggle
> > > > > > > Bu
> > > > > > > tton
> > > > > > > BarI
> > > > > > > ss
> > > > > > > ue.zip
> > > > > > >
> > > > > > > Then using VSCode with AS3&MXML and adding the Maven
> > distribution.
> > > > > > > Then hit CTRL+ENTER and you will get the following fail.
> > > > > > > Using ANT distribution is working fine.
> > > > > > > Can you take a look?
> > > > > > >
> > > > > > > Royale Compiler Shell
> > > > > > > (fcsh) mxmlc --debug=false +configname=royale
> > > > > > > --targets=JSRoyale --source-map=true
> > > > > > > --html-template=src/html/jewel-example-index-template.html
> > > > > > >
> > > > > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapph
> > > > > > > ir
> > > > > > > e-Th
> > > > > > > eme/
> > > > > > > sr
> > > > > > > c/main/resources/defaults.css
> > > > > > > --source-path+=src
> > > > > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyal
> > > > > > > --source-path+--library-path+eJ S.sw c
> > > > > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > > > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaul
> > > > > > > ts .css -js-dynamic-access-unknown-members=true --
> > > > > > > src/App.mxml
> > > > > > > fcsh: Assigned 1 as the compile target id The project 'App'
> > > > > > > has been successfully compiled and optimized.
> > > > > > > Compile status: 0
> > > > > > > Elapsed time: 14.211105399 seconds Feb 18, 2021 5:43:40 PM
> > > > > > > com.google.javascript.jscomp.LoggerErrorManager
> > > > > > > printSummary
> > > > > > > INFO: 0 error(s), 0 warning(s), 96.5% typed
> > > > > > > (fcsh) quit
> > > > > > > Compiler shell exited with code: 0 Royale Compiler Shell
> > > > > > > (fcsh) mxmlc --debug=false +configname=royale
> > > > > > > --targets=JSRoyale --source-map=true
> > > > > > > --html-template=src/html/jewel-example-index-template.html
> > > > > > >
> > > > > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapph
> > > > > > > ir
> > > > > > > e-Th
> > > > > > > eme/
> > > > > > > sr
> > > > > > > c/main/resources/defaults.css
> > > > > > > --source-path+=src
> > > > > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyal
> > > > > > > --source-path+--library-path+eJ S.sw c
> > > > > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > > > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaul
> > > > > > > ts .css -js-dynamic-access-unknown-members=true --
> > > > > > > src/App.mxml
> > > > > > > fcsh: Assigned 1 as the compile target id Compile status:
> > > > > > > 5 Elapsed
> > > > > time:
> > > > > > > 0.618407478 seconds
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > > > > > > col: 0 Error: unable to open
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
> > > > > > >
> > > > > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/fr
> > > > > > > am
> > > > > > > ewor
> > > > > > > ks/r
> > > > > > > oy
> > > > > > > ale-config.xml
> > > > > > > (line: 81)
> > > > > > >
> > > > > > > </js-external-library-path>
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > > > > > > col: 0 Error: unable to open
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
> > > > > > >
> > > > > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/fr
> > > > > > > am
> > > > > > > ewor
> > > > > > > ks/r
> > > > > > > oy
> > > > > > > ale-config.xml
> > > > > > > (line: 81)
> > > > > > >
> > > > > > > </js-external-library-path>
> > > > > > > (fcsh)
> > > > > > > Quick Compile failed. Errors in compiler output.
> > > > > > >
> > > > > > > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
> > > > > > > (<ca...@apache.org>)
> > > > > > > escribió:
> > > > > > >
> > > > > > > > Hi,
> > > > > > > >
> > > > > > > > I rebuilt all from scratch just now and finally the
> > > > > > > > distribution too and tried in VSCode and all seems to
> > > > > > > > work fine
> > > for me.
> > > > > > > >
> > > > > > > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> > > > > > > > christofer.dutz@c-ware.de>) escribió:
> > > > > > > >
> > > > > > > >> Hi Piotr,
> > > > > > > >>
> > > > > > > >> that class is located in lib\external\flex-tool-api.jar
> > > > > > > >> At least in my distribution it's there and it contains
> > > > > > > >> the
> class.
> > > > > > > >>
> > > > > > > >> How are you calling the build that's failing?
> > > > > > > >>
> > > > > > > >> Chris
> > > > > > > >>
> > > > > > > >> -----Ursprüngliche Nachricht-----
> > > > > > > >> Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> > > > > > > >> An: Apache Royale Development <de...@royale.apache.org>
> > > > > > > >> Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > > > > >> distribution
> > > > > > > >>
> > > > > > > >> Chris,
> > > > > > > >>
> > > > > > > >> I just checked and I'm not able build project anymore
> > > > > > > >> using
> > > > > > > distribution:
> > > > > > > >>
> > > > > > > >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
> > > > > > > >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
> > > > > > > >> -Xms356m -Xmx3000m
> > > > > > > >> : Error: Could not find or load main class
> > > > > > > >> org.apache.royale.compiler.clients.MXMLJSC
> > > > > > > >> : Caused by: java.lang.NoClassDefFoundError:
> > > > > > > >> org/apache/flex/tools/FlexTool
> > > > > > > >>
> > > > > > > >> I'm done for today, so I will answer anything tomorrow.
> > > > > > > >>
> > > > > > > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
> > > > > > > >> <ch...@c-ware.de>
> > > > > > > >> napisał(a):
> > > > > > > >>
> > > > > > > >> > Ok ...
> > > > > > > >> >
> > > > > > > >> > so I just pushed another change. Now the distribution
> > > > > > > >> > should also contain an empty spark.css, just like the
> > > > > > > >> > Ant
> > one.
> > > > > > > >> >
> > > > > > > >> > Chris
> > > > > > > >> >
> > > > > > > >> >
> > > > > > > >> > -----Ursprüngliche Nachricht-----
> > > > > > > >> > Von: Christofer Dutz <ch...@c-ware.de>
> > > > > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> > > > > > > >> > An: dev@royale.apache.org
> > > > > > > >> > Betreff: AW: Align Maven IDE distribution with Ant
> > > > > > > >> > IDE distribution
> > > > > > > >> >
> > > > > > > >> > Ok,
> > > > > > > >> >
> > > > > > > >> > so that should now be fixed. Leaves the "spark.css"
> > > > > > > >> > Having had a look, it seems as if the Ant build
> > > > > > > >> > creates an empty
> > > > > > > >> spark.css.
> > > > > > > >> >
> > > > > > > >> > Is this all we need? If yes, then I'll have that in
> > > > > > > >> > ther in no
> > > > > time.
> > > > > > > >> >
> > > > > > > >> > Chris
> > > > > > > >> >
> > > > > > > >> > -----Ursprüngliche Nachricht-----
> > > > > > > >> > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> > > > > > > >> > An: Apache Royale Development <de...@royale.apache.org>
> > > > > > > >> > Betreff: Re: Align Maven IDE distribution with Ant
> > > > > > > >> > IDE distribution
> > > > > > > >> >
> > > > > > > >> > *(I assume that's in the "frameworks/js/libs"
> > > > > > > >> > directory? *
> > > > > > > >> >
> > > > > > > >> > Yes this is the directory.
> > > > > > > >> >
> > > > > > > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> > > > > > > >> > <ch...@c-ware.de>
> > > > > > > >> > napisał(a):
> > > > > > > >> >
> > > > > > > >> > > Hi Piotr,
> > > > > > > >> > >
> > > > > > > >> > > Ok ... so Ant seems to be adding a "JS" to the end
> > > > > > > >> > > of every name (I assume that's in the "frameworks/js/libs"
> > > directory?
> > > > > > > >> > >
> > > > > > > >> > > Also I'll try to find out where the "spark.css"
> > > > > > > >> > > should come from
> > > > > > ...
> > > > > > > >> > > and where it should go to.
> > > > > > > >> > >
> > > > > > > >> > > Chris
> > > > > > > >> > >
> > > > > > > >> > >
> > > > > > > >> > > -----Ursprüngliche Nachricht-----
> > > > > > > >> > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> > > > > > > >> > > An: Apache Royale Development
> > > > > > > >> > > <de...@royale.apache.org>
> > > > > > > >> > > Betreff: Re: Align Maven IDE distribution with Ant
> > > > > > > >> > > IDE distribution
> > > > > > > >> > >
> > > > > > > >> > > Chris,
> > > > > > > >> > >
> > > > > > > >> > > Looks better but here is the comparision what I
> > > > > > > >> > > have in Ant distribution vs Maven distribution in
> > > > > > > >> > > case of
> names.
> > > > > > > >> > > On the left Ant distribution, on the right Maven.
> > > > > > > >> > > It is
> > > folder:
> > > > > > > >> > > frameworks\js\libs\ [1]
> > > > > > > >> > >
> > > > > > > >> > > [1] https://ibb.co/W2DzcDb
> > > > > > > >> > >
> > > > > > > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> > > > > > > >> > > <ch...@c-ware.de>
> > > > > > > >> > > napisał(a):
> > > > > > > >> > >
> > > > > > > >> > > > And done ...
> > > > > > > >> > > >
> > > > > > > >> > > > Now all elements in the distribution only consist
> > > > > > > >> > > > of their name and file-ending ... all versions
> > > > > > > >> > > > and classifiers have been
> > > > > > > removed.
> > > > > > > >> > > > Please provide me with feedback on if this solves
> > > > > > > >> > > > the
> > > > issues.
> > > > > > > >> > > >
> > > > > > > >> > > > Chris
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > > > -----Ursprüngliche Nachricht-----
> > > > > > > >> > > > Von: Christofer Dutz <ch...@c-ware.de>
> > > > > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> > > > > > > >> > > > An: dev@royale.apache.org
> > > > > > > >> > > > Betreff: AW: Align Maven IDE distribution with
> > > > > > > >> > > > Ant IDE distribution
> > > > > > > >> > > >
> > > > > > > >> > > > I'll probably have a fix for that in a few
> > > > > > > >> > > > minuntes
> ...
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > > > Chris
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > > > -----Ursprüngliche Nachricht-----
> > > > > > > >> > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> > > > > > > >> > > > An: Apache Royale Development
> > > > > > > >> > > > <de...@royale.apache.org>
> > > > > > > >> > > > Betreff: Re: Align Maven IDE distribution with
> > > > > > > >> > > > Ant IDE distribution
> > > > > > > >> > > >
> > > > > > > >> > > > Chris,
> > > > > > > >> > > >
> > > > > > > >> > > > No it's not about not picking up by IDE at all.
> > > > > > > >> > > > Moonshine and VSCode are able to build projects
> > > > > > > >> > > > using Maven distribution package! It is about
> > > > > > > >> > > > project which are mixed for example when user
> > > > > > > >> > > > wanted to use Jewel module + RemoteObject class
> > > > > > > >> > > > from MXRoyale module. In that case user need to
> > > > > > > >> > > > point explicilty as a compiler options in IDE
> > > > > > > >> > > > that he wanted to have SWC included and need to
> > > > > > > >> > > > exclude css from that swc to
> > > > > > > >> > > avoid problems.
> > > > > > > >> > > >
> > > > > > > >> > > > It is happen like that:
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS
> > > > > > > >> > > > -js-library-path+.s
> > > > > > > >> > > > wc
> > > > > > > >> > > >
> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> > > > > > > >> > > > cs
> > > > > > > >> > > > s
> > > > > > > >> > > >
> > > > > > > >> > > > If I would like to use maven distribution user
> > > > > > > >> > > > need to know version for that compiler options.
> > > > > > > >> > > > It is even more tricky when your swc is called
> > > > > > > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.
> > > > > > > >> > > > cs
> > > > > > > >> > > > s
> > > > > > > >> > > >
> > > > > > > >> > > > Thanks,
> > > > > > > >> > > > Piotr
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> > > > > > > >> > > > <ch...@c-ware.de>
> > > > > > > >> > > > napisał(a):
> > > > > > > >> > > >
> > > > > > > >> > > > > Hi Piotr,
> > > > > > > >> > > > >
> > > > > > > >> > > > > And is really the version-suffix causing it to
> > > > > > > >> > > > > not be picked up by the IDEs?
> > > > > > > >> > > > >
> > > > > > > >> > > > > Chris
> > > > > > > >> > > > >
> > > > > > > >> > > > > -----Ursprüngliche Nachricht-----
> > > > > > > >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > > >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> > > > > > > >> > > > > An: dev@royale.apache.org
> > > > > > > >> > > > > Betreff: Re: Align Maven IDE distribution with
> > > > > > > >> > > > > Ant IDE distribution
> > > > > > > >> > > > >
> > > > > > > >> > > > > Hi Chris,
> > > > > > > >> > > > >
> > > > > > > >> > > > > This is the only thing which seems to be a
> > > > > > > >> > > > > constant problem
> > > > > > > here.
> > > > > > > >> > > > > I personally and some users will be much more
> > > > > > > >> > > > > happy having that
> > > > > > > >> > change.
> > > > > > > >> > > > >
> > > > > > > >> > > > > Thanks,
> > > > > > > >> > > > > Piotr
> > > > > > > >> > > > >
> > > > > > > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> > > > > > > >> > > > > <ch...@c-ware.de>
> > > > > > > >> > > > > wrote:
> > > > > > > >> > > > >
> > > > > > > >> > > > > > Hi Piotr,
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > I'd be happy to help with that.
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > I did simply ask for a list of things that
> > > > > > > >> > > > > > need to be changed in order to get things
> > > > > > > >> > > > > > working, but never got said list, so I never
> > > > > > > >> > > > > > knew what I could do to make the Maven
> > > > > > > >> > > > > > distribution match up to the
> > > > > > > >> > > > Ant built one.
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > Chris
> > > > > > > >> > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > >> > > > > > Von: Piotr Zarzycki
> > > > > > > >> > > > > > <pi...@gmail.com>
> > > > > > > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> > > > > > > >> > > > > > An: Apache Royale Development
> > > > > > > >> > > > > > <de...@royale.apache.org>
> > > > > > > >> > > > > > Betreff: Align Maven IDE distribution with
> > > > > > > >> > > > > > Ant IDE distribution
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > Hi Guys,
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > It's been couple of times when user complains
> > > > > > > >> > > > > > that he have problems with using Maven
> > > > > > > >> > > > > > distribution vs Ant distribution in IDE in a
> > > > > > > >> > > > > > mixed project Jewel + MX/Spark
> > > > > etc.
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > Can we have that resolve once for all and
> > > > > > > >> > > > > > adjust Maven distribution folder to produce
> > > > > > > >> > > > > > proper names of
> > > swcs ?
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > Currently when I build Maven IDE distribution
> > > > > > > >> > > > > > I
> > have:
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > When I build Ant IDE distribution I have:
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > MXRoyale-js.swc
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > Thanks,
> > > > > > > >> > > > > > --
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > Piotr Zarzycki
> > > > > > > >> > > > > >
> > > > > > > >> > > > > --
> > > > > > > >> > > > >
> > > > > > > >> > > > > Piotr Zarzycki
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > > > --
> > > > > > > >> > > >
> > > > > > > >> > > > Piotr Zarzycki
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> > >
> > > > > > > >> > > --
> > > > > > > >> > >
> > > > > > > >> > > Piotr Zarzycki
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >> >
> > > > > > > >> > --
> > > > > > > >> >
> > > > > > > >> > Piotr Zarzycki
> > > > > > > >> >
> > > > > > > >>
> > > > > > > >>
> > > > > > > >> --
> > > > > > > >>
> > > > > > > >> Piotr Zarzycki
> > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Carlos Rovira
> > > > > > > > Apache Member & Apache Royale PMC *Apache Software
> > > > > > > > Foundation* http://about.me/carlosrovira
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Carlos Rovira
> > > > > > > Apache Member & Apache Royale PMC *Apache Software
> > > > > > > Foundation* http://about.me/carlosrovira
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > >
> > > > > > Piotr Zarzycki
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > >
> > > > > Piotr Zarzycki
> > > > >
> > > > --
> > > >
> > > > Piotr Zarzycki
> > > >
> > >
> > >
> > > --
> > > Carlos Rovira
> > > Apache Member & Apache Royale PMC
> > > *Apache Software Foundation*
> > > http://about.me/carlosrovira
> > >
> >
> >
> > --
> > Carlos Rovira
> > Apache Member & Apache Royale PMC
> > *Apache Software Foundation*
> > http://about.me/carlosrovira
> >
>
>
> --
>
> Piotr Zarzycki
>
AW: Align Maven IDE distribution with Ant IDE distribution
Posted by Christofer Dutz <ch...@c-ware.de>.
Hi all,
so I had a look and it seems the distribution was missing a number of libraries, which seem to have been added, since I created the distribution in 2016 ... Some modules were added after that, but not all. It seems all probelms you are reporting result from some of them missing. I added them and now they are correctly added to my distributions. I also compared them with the ANT built version ... the last missing piece is the ACE module, which was disabled in Maven as the Ace typedef was not a maven module. I took the liberty of creating a Maven typedef module for ace and re-added the ACE module to the Maven build and to the distribution.
I'm currently testing a few things and will commit as soon as I'm happy with my changes.
Chris
-----Ursprüngliche Nachricht-----
Von: Alina Kazi <al...@gmail.com>
Gesendet: Montag, 22. Februar 2021 11:26
An: dev@royale.apache.org
Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
Hi,
I am also facing a problem with latest SDK.
when I add something new in emulation and re-build SDK. when I recompile the application with the latest distribution , error in application does not go away that I already fixed in previous commit.
It seems that the distribution does not have everything latest that it should have.
-Alina
On Mon, Feb 22, 2021 at 3:20 PM Maria Jose Esteve <mj...@iest.com> wrote:
> I can't work either.
> With no Maven, Ant combination, always error: "Error <fx: Array> This
> tag could not be resolved to an ActionScript class ..."
>
> Do you know what happens? I am not able to understand or fix this.
>
> Hiedra.
>
> -----Mensaje original-----
> De: Piotr Zarzycki <pi...@gmail.com> Enviado el: lunes, 22
> de febrero de 2021 11:03
> Para: Apache Royale Development <de...@royale.apache.org>
> Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
>
> Hi Guys,
>
> I just tried new distribution and I'm able to build simple example.
> However our Royale project is not building - I'm getting following
> exception:
>
> : Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/commons/lang/StringEscapeUtils
> : at
>
> org.apache.royale.compiler.internal.codegen.js.jx.LiteralEmitter.emit(
> LiteralEmitter.java:225)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> emitLiteral(JSRoyaleEmitter.java:1040)
> : at
> org.apache.royale.compiler.internal.codegen.as
> .ASBlockWalker.visitLiteral(ASBlockWalker.java:479)
> : at
> org.apache.royale.compiler.internal.visitor.as
> .ASNodeSwitch.handle(ASNodeSwitch.java:373)
> : at
> org.apache.royale.compiler.internal.visitor.as
> .ASNodeHandler.handle(ASNodeHandler.java:85)
> : at
> org.apache.royale.compiler.internal.visitor.as
> .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> : at
> org.apache.royale.compiler.internal.codegen.as
> .ASBlockWalker.walk(ASBlockWalker.java:159)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.goog.JSGoogEmitter.emit
> AssignedValue(JSGoogEmitter.java:965)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitAssignmen
> tCoercion(JSEmitter.java:917)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> emitAssignmentCoercion(JSRoyaleEmitter.java:1558)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
> sEmitter.emitContents(FunctionCallArgumentsEmitter.java:103)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
> sEmitter.emit(FunctionCallArgumentsEmitter.java:50)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgument
> sEmitter.emit(FunctionCallArgumentsEmitter.java:35)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitArguments
> (JSEmitter.java:259)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> emitArguments(JSRoyaleEmitter.java:986)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallEmitter.
> emit(FunctionCallEmitter.java:693)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> emitFunctionCall(JSRoyaleEmitter.java:906)
> : at
> org.apache.royale.compiler.internal.codegen.as
> .ASBlockWalker.visitFunctionCall(ASBlockWalker.java:330)
> : at
> org.apache.royale.compiler.internal.visitor.as
> .ASNodeSwitch.handle(ASNodeSwitch.java:207)
> : at
> org.apache.royale.compiler.internal.visitor.as
> .ASNodeHandler.handle(ASNodeHandler.java:85)
> : at
> org.apache.royale.compiler.internal.visitor.as
> .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> : at
> org.apache.royale.compiler.internal.codegen.as
> .ASBlockWalker.walk(ASBlockWalker.java:159)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.goog.JSGoogEmitter.emit
> AssignedValue(JSGoogEmitter.java:965)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitAssignmen
> tCoercion(JSEmitter.java:917)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> emitAssignmentCoercion(JSRoyaleEmitter.java:1558)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.jx.BinaryOperatorEmitte
> r.super_emitBinaryOperator(BinaryOperatorEmitter.java:598)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.jx.BinaryOperatorEmitte
> r.emit(BinaryOperatorEmitter.java:500)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> emitBinaryOperator(JSRoyaleEmitter.java:1028)
> : at
> org.apache.royale.compiler.internal.codegen.as
> .ASBlockWalker.visitBinaryOperator(ASBlockWalker.java:538)
> : at
> org.apache.royale.compiler.internal.visitor.as
> .ASNodeSwitch.handle(ASNodeSwitch.java:348)
> : at
> org.apache.royale.compiler.internal.visitor.as
> .ASNodeHandler.handle(ASNodeHandler.java:85)
> : at
> org.apache.royale.compiler.internal.visitor.as
> .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> : at
> org.apache.royale.compiler.internal.codegen.as
> .ASBlockWalker.walk(ASBlockWalker.java:159)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.jx.StatementEmitter.emi
> t(StatementEmitter.java:40)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.jx.StatementEmitter.emi
> t(StatementEmitter.java:29)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitStatement
> (JSEmitter.java:349)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> emitStatement(JSRoyaleEmitter.java:1204)
> : at
> org.apache.royale.compiler.internal.codegen.as
> .ASBlockWalker.visitBlock(ASBlockWalker.java:349)
> : at
> org.apache.royale.compiler.internal.visitor.as
> .ASNodeSwitch.handle(ASNodeSwitch.java:278)
> : at
> org.apache.royale.compiler.internal.visitor.as
> .ASNodeHandler.handle(ASNodeHandler.java:85)
> : at
> org.apache.royale.compiler.internal.visitor.as
> .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> : at
> org.apache.royale.compiler.internal.codegen.as
> .ASBlockWalker.walk(ASBlockWalker.java:159)
> : at
>
> org.apache.royale.compiler.internal.codegen.as.ASEmitter.emitMethodSco
> pe(ASEmitter.java:830)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.jx.MethodEmitter.emit(M
> ethodEmitter.java:160)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
> emitMethod(JSRoyaleEmitter.java:891)
> : at
> org.apache.royale.compiler.internal.codegen.as
> .ASBlockWalker.visitFunction(ASBlockWalker.java:290)
> : at
> org.apache.royale.compiler.internal.visitor.as
> .ASNodeSwitch.handle(ASNodeSwitch.java:152)
> : at
> org.apache.royale.compiler.internal.visitor.as
> .ASNodeHandler.handle(ASNodeHandler.java:85)
> : at
> org.apache.royale.compiler.internal.visitor.as
> .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> : at
> org.apache.royale.compiler.internal.codegen.as
> .ASBlockWalker.walk(ASBlockWalker.java:159)
> : at
>
> org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmit
> ter.emitScripts(MXMLRoyaleEmitter.java:2179)
> : at
>
> org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmit
> ter.emitDocument(MXMLRoyaleEmitter.java:899)
> : at
>
> org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleBloc
> kWalker.visitDocument(MXMLRoyaleBlockWalker.java:69)
> : at
>
> org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle
> (MXMLNodeSwitch.java:89)
> : at
>
> org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(
> MXMLBlockWalker.java:156)
> : at
>
> org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleBloc
> kWalker.visitFile(MXMLRoyaleBlockWalker.java:61)
> : at
>
> org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle
> (MXMLNodeSwitch.java:95)
> : at
>
> org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(
> MXMLBlockWalker.java:156)
> : at
>
> org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.visit
> CompilationUnit(MXMLBlockWalker.java:187)
> : at
>
> org.apache.royale.compiler.internal.codegen.mxml.MXMLWriter.writeTo(MX
> MLWriter.java:69)
> : at
>
> org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale
> .java:411)
> : at
>
> org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRo
> yale.java:259)
> : at
>
> org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoy
> ale.java:216)
> : at
> org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:36
> 3)
> : at
> org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298
> )
> : at
>
> org.apache.royale.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.ja
> va:256)
> : at org.apache.royale.compiler.clients.MXMLJSC.main(MXMLJSC.java:238)
> : Caused by: java.lang.ClassNotFoundException:
> org.apache.commons.lang.StringEscapeUtils
> : at
>
> java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClas
> sLoader.java:582)
> : at
>
> java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Cl
> assLoaders.java:178)
> : at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
> : ... 67 more
>
> niedz., 21 lut 2021 o 18:57 Carlos Rovira <ca...@apache.org>
> napisał(a):
>
> > Hi,
> >
> > I worked today on this and finally could solve the problem. A part
> > from Chris changes we need a bit more changes since all was set up
> > from the compiler to use the old names. So class paths need to be
> changed too there.
> > Also Google Closure compiler need to be in jar mode instead of unpacked.
> >
> > Now I can use CMD (or CTRL) + SHIFT + B and select Debug or Release
> > option with Actionscript extension and all goes ok.
> > When using CMD+ENTER I think VsCode use the experimental build in
> > Josh extension and take the SDK in ROYALE_HOME, and since that's the
> > one build in the repository with ANT all seems fine, but is not
> > using the selected SDK, so the build is not using what you expect.
> >
> > This is my output now using the Maven Distribution SDK:
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > *> Executing task in folder TourDeJewel:
> > /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/b
> > in
> > /java
> > -jar
> >
> > /Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas
> > -1
> > .6.0/bin/asconfigc.jar --sdk
> > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven --debug=true
> > --project
> >
> > /Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/Tou
> > rD
> > eJewel/asconfig.json
> >
> > <MXMLJSC+royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale
> > -m
> > aven/frameworks--debug=true+configname=royale--targets=JSRoyale--sou
> > rc
> > e-path+=src/main/resources--source-map=true--html-template=src/main/
> > e-path+re
> > sources/jewel-example-index-template.html--theme=${royalelib}/themes
> > /J
> > ewelTheme/src/main/resources/defaults.css-js-dynamic-access-unknown-
> > me mbers=true--src/main/royale/App.mxmlThe
> > project 'App' has been successfully compiled.12.80962843
> > secondsTerminal will be reused by tasks, press any key to close it.*
> >
> >
> >
> >
> >
> >
> > El sáb, 20 feb 2021 a las 18:16, Christofer Dutz (<
> > christofer.dutz@c-ware.de>)
> > escribió:
> >
> > > So I just did a video and posted it to the Royale slack channel ...
> > >
> > > I can't seem to reproduce the error ... perhaps if you check what
> > > I'm doing you can tell me if I'm doing something wrong.
> > > I did try to rule out that I might have not configured VSCode to
> > > use my distribution by intentionally changing the settings to a
> > > wrong
> location.
> > It
> > > didn't work then, and when I changed it back to the correct
> > > version, I could build again.
> > >
> > > Chris
> > >
> > >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Carlos Rovira <ca...@apache.org>
> > > Gesendet: Samstag, 20. Februar 2021 15:17
> > > An: Apache Royale Development <de...@royale.apache.org>
> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > distribution
> > >
> > > Hi,
> > >
> > > sorry, yesterday was mostly offline for some personal things. Many
> > > things happen in this thread.
> > > I rebuild all today and check. This is what I can report trying to
> > > build TDJ with Maven SDK with Chris's changes.
> > > Setting my VSCode with AS3&MXML to the Maven SDK just generated:
> > >
> > > 1.- I can't build with CMD+SHIFT+ENTER, then "Build Debug with AS3
> > > Extension Tour de Jewel" (as josh said). I get :
> > >
> > > Executing task in folder TourDeJewel:
> > >
> > /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/b
> > in
> > /java
> > > -jar
> > >
> > >
> > /Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas
> > -1
> > .6.0/bin/asconfigc.jar
> > > --sdk /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
> > --debug=true
> > > --project
> > >
> > /Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/Tou
> > rD
> > eJewel/asconfig.json
> > > <
> > >
> > > Error: no se ha encontrado o cargado la clase principal
> > > org.apache.royale.compiler.clients.MXMLJSC
> > > The terminal process
> > >
> > >
> > "/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/
> > bi
> > n/java
> > > '-jar',
> > >
> > >
> > '/Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgena
> > s-
> > 1.6.0/bin/asconfigc.jar',
> > > '--sdk',
> > > '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven',
> > > '--debug=true', '--project',
> > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/TourDeJewel/asconfig.json'"
> > > terminated with exit code: 1.
> > >
> > > Terminal will be reused by tasks, press any key to close it.
> > >
> > >
> > > 2.- I can build with CMD+ENTER. I get:
> > >
> > > Royale Compiler Shell
> > > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> > > --source-path+=src/main/resources --source-map=true
> > > --html-template=src/main/resources/jewel-example-index-template.ht
> > > ml
> > > --theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults
> > > .c ss -js-dynamic-access-unknown-members=true --
> > > src/main/royale/App.mxml
> > > fcsh: Assigned 1 as the compile target id The project 'App' has
> > > been successfully compiled and optimized.
> > > Compile status: 0
> > > Elapsed time: 26.925719521 seconds Feb 20, 2021 3:10:42 PM
> > > com.google.javascript.jscomp.LoggerErrorManager
> > > printSummary
> > > INFO: 0 error(s), 0 warning(s), 97.8% typed
> > > (fcsh)
> > >
> > > I don't understand fully the differences between one method and
> > > the other and why I get different results. I guess know what's
> > > happening is needed
> > so
> > > Chris can do the proper changes. probably there are paths and
> > > locations mixed.
> > >
> > > @Chris, one thing I did in the past was to compare maven
> > > distribution
> > with
> > > ant distribution so both has most of the things in the same place.
> > > I
> > think
> > > some files where left in more than one place (like mxmlc).
> > >
> > > If you could take a look at it, that will for sure fix the issue.
> > > You
> > have
> > > TDJ and the other project to test if that works and now we know
> > > that is better to try with CMD+SHIFT+ENTER, then "Build Debug with
> > > AS3 Extension Tour de Jewel"
> > >
> > >
> > >
> > >
> > > El vie, 19 feb 2021 a las 18:45, Piotr Zarzycki (<
> > > piotrzarzycki21@gmail.com>)
> > > escribió:
> > >
> > > > It looks like something bad has happened with my environment. I
> > > > changed lately Java settings a bit. You can see what is setup in
> > > > my
> > > stacktrace.
> > > >
> > > > I will get back to that over the weekend or on Monday.
> > > >
> > > > On Fri, 19 Feb 2021 at 18:24, Maria Jose Esteve
> > > > <mj...@iest.com>
> > > wrote:
> > > >
> > > > > Hi,
> > > > > Piotr, I just tested your distribution with my project and the
> > > > compilation
> > > > > was successful, no errors.
> > > > > Running the application seems to be working fine too.
> > > > > (I compile the application with mvn)
> > > > >
> > > > > What do they need me to try now?
> > > > >
> > > > > Hiedra.
> > > > > -----Mensaje original-----
> > > > > De: Piotr Zarzycki <pi...@gmail.com> Enviado el:
> > > > > viernes,
> > > > > 19 de febrero de 2021 18:11
> > > > > Para: Apache Royale Development <de...@royale.apache.org>
> > > > > Asunto: Re: Align Maven IDE distribution with Ant IDE
> > > > > distribution
> > > > >
> > > > > Did you test my distribution ?
> > > > >
> > > > > pt., 19 lut 2021 o 18:00 Christofer Dutz
> > > > > <ch...@c-ware.de>
> > > > > napisał(a):
> > > > >
> > > > > > So I did a bit more of testing.
> > > > > >
> > > > > > So after I had no issues building Carlos' example, I tried
> > > > > > the TourDeJewl example.
> > > > > > So I opened VSCode in the directory of TDJ example ...
> > > > > > created a settings.json with the folowing content:
> > > > > >
> > > > > > {
> > > > > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > > > > }
> > > > > >
> > > > > > Hit STRG+Enter and waited a bit ...
> > > > > >
> > > > > > Then I opened the output in Chrome and have a fully
> > > > > > functioning TDJ application.
> > > > > >
> > > > > > So I wouldn't consider the build broken.
> > > > > >
> > > > > > Chris
> > > > > >
> > > > > >
> > > > > >
> > > > > > -----Ursprüngliche Nachricht-----
> > > > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > > > Gesendet: Freitag, 19. Februar 2021 17:51
> > > > > > An: dev@royale.apache.org
> > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > distribution
> > > > > >
> > > > > > Sure, that would be "expected", but like I told you: if I
> > > > > > change it to MXRoyaleJS.swc, the app "does nonsense".
> > > > > > Maybe something has gotten my way.
> > > > > >
> > > > > > I will read your messages and see if I can help with something.
> > > > > >
> > > > > > Hiedra.
> > > > > > -----Mensaje original-----
> > > > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > > > > viernes,
> > > > > > 19 de febrero de 2021 14:12
> > > > > > Para: dev@royale.apache.org
> > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > distribution
> > > > > >
> > > > > > Hi Hiedra,
> > > > > >
> > > > > > well I changed the distribution to make the names like in
> > > > > > the ANT distribution yesterday.
> > > > > > But you are passing in an argument telling the compiler to
> > > > > > use the old format and now it should be the new ...
> > > > > >
> > > > > > Try:
> > > > > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> > > > > > defaults.css; For -compiler.exclude-defaults-css-files =
> > > MXRoyaleJS.swc:
> > > > > > defaults.css;
> > > > > >
> > > > > > Instead of your variant.
> > > > > >
> > > > > > Chris
> > > > > >
> > > > > >
> > > > > > -----Ursprüngliche Nachricht-----
> > > > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > > > Gesendet: Freitag, 19. Februar 2021 14:08
> > > > > > An: dev@royale.apache.org
> > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > distribution
> > > > > >
> > > > > > Yes, until recently I also compiled only with Maven. Due to
> > > > > > the problem with the spark.css I started to do the double
> > > > > > compilation of
> > > > > MAVEN and ANT.
> > > > > >
> > > > > > It's funny, now, the swc's are not generated with
> > > > > > "xxxx-0.9.8-SNAPSHOT-js.swc" in the distribution BUT if in
> > > > > > the pom of my project I change in additionalCompilerOptions:
> > > > > > -compiler.exclude-defaults-css-files = MXRoyale - $
> > > > > > {royale.framework.version} -js.swc: defaults.css; For
> > > > > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> > > > > > defaults.css; My application starts to do nonsense (for
> > > > > > example the change of selectedContent in my
> > > > > > ApplicationMainContent does not display)
> > > > > >
> > > > > > Chris, thank you.
> > > > > > Hiedra
> > > > > >
> > > > > > -----Mensaje original-----
> > > > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > > > > viernes,
> > > > > > 19 de febrero de 2021 13:09
> > > > > > Para: dev@royale.apache.org
> > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > distribution
> > > > > >
> > > > > > Hi Hiedra,
> > > > > >
> > > > > > I have to admit that I've never used VSCode. Every time I do
> > > > > > any development I usually use one of the JetBrains IDEs.
> > > > > > Royale Stuff I do in IntelliJ ... with my "Flexmojos Hack"
> > > > > > it can be used quite well. And I always compile with Maven.
> > > > > >
> > > > > > But thanks for the explanation on why the other path is set
> > > > differently.
> > > > > >
> > > > > > I guess we'll have to wait till some others can tell me what
> > > > > > needs to be changed.
> > > > > >
> > > > > > Chris
> > > > > >
> > > > > >
> > > > > > -----Ursprüngliche Nachricht-----
> > > > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > > > Gesendet: Freitag, 19. Februar 2021 12:48
> > > > > > An: dev@royale.apache.org
> > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > distribution
> > > > > >
> > > > > > Hello Chris,
> > > > > > so that I can debug my changes in the SDK I need to set the
> > > > > > path of the "as3mxml.sdk.editor" to the asjs directory of my
> > > > > > fork, for this reason the path of the " as3mxml.sdk.framework"
> > > > > > points to the directory of the maven distribution and the
> "as3mxml.sdk.editor"
> > > > > > to
> > > > code.
> > > > > >
> > > > > > ">> I'm not getting any errors from VSCode. But well ... if
> > > > > > I hit
> > > > > > SHIFT+Enter it starts doing something where if failed prior
> > > > > > SHIFT+to my
> > > > > > >> changes this morning and is no longer complaining, but
> > > > > > >> it's also not
> > > > > > doing much (I can't see it create a "bin" directory)"
> > > > > >
> > > > > > I don't quite understand this ... possibly because of my
> > > > > > lack of
> > > > > knowledge.
> > > > > >
> > > > > > I have not tried Carlos's project but this afternoon I will
> > > > > > be able to do it and I will be able to give more details.
> > > > > >
> > > > > > Thx.
> > > > > > Hiedra.
> > > > > >
> > > > > > -----Mensaje original-----
> > > > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > > > > viernes,
> > > > > > 19 de febrero de 2021 11:51
> > > > > > Para: dev@royale.apache.org
> > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > distribution
> > > > > >
> > > > > > Hi Heidra,
> > > > > >
> > > > > > I just updated Carlos' example to have the same type of
> > > > > > setting (C:\\Temp\\RoyaleSDK is where I have my Maven build
> > > > > > generate the
> > > SDK):
> > > > > >
> > > > > > setings.js:
> > > > > > {
> > > > > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > > > > }
> > > > > >
> > > > > > workspace-code-workspace
> > > > > > {
> > > > > > "folders": [
> > > > > > {
> > > > > > "path": ".."
> > > > > > }
> > > > > > ],
> > > > > > "settings": {
> > > > > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > > > > }
> > > > > > }
> > > > > >
> > > > > > I'm not getting any errors from VSCode. But well ... if I
> > > > > > hit
> > > > > > SHIFT+Enter it starts doing something where if failed prior
> > > > > > SHIFT+to my
> > > > > > changes this morning and is no longer complaining, but it's
> > > > > > also not doing much (I can't see it create a "bin"
> > > > > > directory)
> > > > > >
> > > > > > Chris
> > > > > >
> > > > > >
> > > > > > -----Ursprüngliche Nachricht-----
> > > > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > > > Gesendet: Freitag, 19. Februar 2021 10:53
> > > > > > An: dev@royale.apache.org
> > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > distribution
> > > > > >
> > > > > > If I don't compile with ANT, the mxml extension in vsCode
> > > > > > IDE, it doesn't recognize the valid asjs directory for
> > "as3mxml.sdk.editor":
> > > > > > ...
> > > > > > "settings": {
> > > > > > "as3mxml.sdk.framework":
> > > > > > "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
> > > > > > "as3mxml.sdk.editor":
> > > > > > "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs"
> > > > > > <-------- [download folder repo royale-asjs]
> > > > > > }
> > > > > > }
> > > > > >
> > > > > > The error is:
> > > > > > " as3mxml.sdk.editor in settings does not point to a valid SDK.
> > > > > > Requires..."
> > > > > >
> > > > > > Thx.
> > > > > > Hiedra.
> > > > > >
> > > > > > -----Mensaje original-----
> > > > > > De: Piotr Zarzycki <pi...@gmail.com> Enviado el:
> > > > > > viernes, 19 de febrero de 2021 10:44
> > > > > > Para: Apache Royale Development <de...@royale.apache.org>
> > > > > > Asunto: Re: Align Maven IDE distribution with Ant IDE
> > > > > > distribution
> > > > > >
> > > > > > Hi Chris,
> > > > > >
> > > > > > I just tried your changes and I have same issue. I need to
> > > > > > understand what has change enough significantly that it
> > > > > > causes compilation fail in such way. It doesn't happen with
> > > > > > SDK prepared
> > by
> > > ANT.
> > > > > >
> > > > > > Thanks,
> > > > > > Piotr
> > > > > >
> > > > > > pt., 19 lut 2021 o 10:33 Maria Jose Esteve
> > > > > > <mj...@iest.com>
> > > > > napisał(a):
> > > > > >
> > > > > > > @Chris you're right, sorry, I didn't download your last commit.
> > > > > > > I'm sorry.
> > > > > > > Hiedra.
> > > > > > >
> > > > > > > -----Mensaje original-----
> > > > > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > > > > > viernes,
> > > > > > > 19 de febrero de 2021 10:17
> > > > > > > Para: dev@royale.apache.org
> > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > distribution
> > > > > > >
> > > > > > > I'll try to guess what you wanted to say here ...
> > > > > > >
> > > > > > > But I think these are exactly the changes I comitted a an
> > > > > > > hour ago,
> > > > > > right?
> > > > > > > At least in general I replaced all the references to names
> > > > > > > with versions to the changed ones.
> > > > > > >
> > > > > > >
> > > > > > > Chris
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > > > > Gesendet: Freitag, 19. Februar 2021 10:01
> > > > > > > An: dev@royale.apache.org
> > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > > distribution
> > > > > > >
> > > > > > > Hi,
> > > > > > > Mi distribución hace referencia en el fichero
> > > > > > > "./frameworks/royale-config.xml" a las librerías:
> > > > > > >
> > > > > > > <js-external-library-path>
> > > > > > >
> > > > > > >
> > > <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.
> > > > > > > sw
> > > > > > > c</path-element>
> > > > > > >
> > > > > > >
> > > > > > <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-
> > > > > > ty
> > > > > > pede
> > > > > > fs.s
> > > > > > wc</path-element>
> > > > > > > </js-external-library-path>
> > > > > > >
> > > > > > > Las correctas son:
> > > > > > >
> > > > > > > <js-external-library-path>
> > > > > > >
> > > > >
> > > > > <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> > > > > > >
> > > > >
> > > > > <path-element>../js/libs/royale-typedefs-gcl.swc</path-element
> > > > > >
> > > > > > > </js-external-library-path>
> > > > > > >
> > > > > > > Hiedra
> > > > > > >
> > > > > > > -----Mensaje original-----
> > > > > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > > > > > viernes,
> > > > > > > 19 de febrero de 2021 9:39
> > > > > > > Para: dev@royale.apache.org
> > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > distribution
> > > > > > >
> > > > > > > Ok,
> > > > > > >
> > > > > > > so the config xml files in the distribution were still
> > > > > > > pointing to the old names. I updated them all to now refer
> > > > > > > to
> the names.
> > > > > > > I tried things in Carlos' demo project, and I'm no-longer
> > > > > > > getting the errors, however compilation seems to take for ever.
> > > > > > >
> > > > > > > Please try out the changes and tell me if there are any
> > > > > > > problems with
> > > > > > them.
> > > > > > >
> > > > > > > Chris
> > > > > > >
> > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > Von: Christofer Dutz <ch...@c-ware.de>
> > > > > > > Gesendet: Donnerstag, 18. Februar 2021 23:17
> > > > > > > An: dev@royale.apache.org
> > > > > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > distribution
> > > > > > >
> > > > > > > Hi Carlos,
> > > > > > >
> > > > > > > I'll look into this tomorrow.
> > > > > > >
> > > > > > > Chris
> > > > > > >
> > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > Von: Carlos Rovira <ca...@apache.org>
> > > > > > > Gesendet: Donnerstag, 18. Februar 2021 17:49
> > > > > > > An: Apache Royale Development <de...@royale.apache.org>
> > > > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > > > > distribution
> > > > > > >
> > > > > > > Hi, I think I talked very quickly, sorry, there seems to
> > > > > > > be a
> > > > problem.
> > > > > > >
> > > > > > > @Christofer Dutz <ch...@c-ware.de> you can
> > > > > > > download this
> > > > > > > project:
> > > > > > >
> > > > > > >
> > > > > > > https://github.com/apache/royale-asjs/files/6004363/Toggle
> > > > > > > Bu
> > > > > > > tton
> > > > > > > BarI
> > > > > > > ss
> > > > > > > ue.zip
> > > > > > >
> > > > > > > Then using VSCode with AS3&MXML and adding the Maven
> > distribution.
> > > > > > > Then hit CTRL+ENTER and you will get the following fail.
> > > > > > > Using ANT distribution is working fine.
> > > > > > > Can you take a look?
> > > > > > >
> > > > > > > Royale Compiler Shell
> > > > > > > (fcsh) mxmlc --debug=false +configname=royale
> > > > > > > --targets=JSRoyale --source-map=true
> > > > > > > --html-template=src/html/jewel-example-index-template.html
> > > > > > >
> > > > > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapph
> > > > > > > ir
> > > > > > > e-Th
> > > > > > > eme/
> > > > > > > sr
> > > > > > > c/main/resources/defaults.css
> > > > > > > --source-path+=src
> > > > > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyal
> > > > > > > --source-path+--library-path+eJ S.sw c
> > > > > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > > > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaul
> > > > > > > ts .css -js-dynamic-access-unknown-members=true --
> > > > > > > src/App.mxml
> > > > > > > fcsh: Assigned 1 as the compile target id The project 'App'
> > > > > > > has been successfully compiled and optimized.
> > > > > > > Compile status: 0
> > > > > > > Elapsed time: 14.211105399 seconds Feb 18, 2021 5:43:40 PM
> > > > > > > com.google.javascript.jscomp.LoggerErrorManager
> > > > > > > printSummary
> > > > > > > INFO: 0 error(s), 0 warning(s), 96.5% typed
> > > > > > > (fcsh) quit
> > > > > > > Compiler shell exited with code: 0 Royale Compiler Shell
> > > > > > > (fcsh) mxmlc --debug=false +configname=royale
> > > > > > > --targets=JSRoyale --source-map=true
> > > > > > > --html-template=src/html/jewel-example-index-template.html
> > > > > > >
> > > > > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapph
> > > > > > > ir
> > > > > > > e-Th
> > > > > > > eme/
> > > > > > > sr
> > > > > > > c/main/resources/defaults.css
> > > > > > > --source-path+=src
> > > > > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyal
> > > > > > > --source-path+--library-path+eJ S.sw c
> > > > > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > > > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaul
> > > > > > > ts .css -js-dynamic-access-unknown-members=true --
> > > > > > > src/App.mxml
> > > > > > > fcsh: Assigned 1 as the compile target id Compile status:
> > > > > > > 5 Elapsed
> > > > > time:
> > > > > > > 0.618407478 seconds
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > > > > > > col: 0 Error: unable to open
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
> > > > > > >
> > > > > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/fr
> > > > > > > am
> > > > > > > ewor
> > > > > > > ks/r
> > > > > > > oy
> > > > > > > ale-config.xml
> > > > > > > (line: 81)
> > > > > > >
> > > > > > > </js-external-library-path>
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > > > > > > col: 0 Error: unable to open
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
> > > > > > >
> > > > > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/fr
> > > > > > > am
> > > > > > > ewor
> > > > > > > ks/r
> > > > > > > oy
> > > > > > > ale-config.xml
> > > > > > > (line: 81)
> > > > > > >
> > > > > > > </js-external-library-path>
> > > > > > > (fcsh)
> > > > > > > Quick Compile failed. Errors in compiler output.
> > > > > > >
> > > > > > > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
> > > > > > > (<ca...@apache.org>)
> > > > > > > escribió:
> > > > > > >
> > > > > > > > Hi,
> > > > > > > >
> > > > > > > > I rebuilt all from scratch just now and finally the
> > > > > > > > distribution too and tried in VSCode and all seems to
> > > > > > > > work fine
> > > for me.
> > > > > > > >
> > > > > > > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> > > > > > > > christofer.dutz@c-ware.de>) escribió:
> > > > > > > >
> > > > > > > >> Hi Piotr,
> > > > > > > >>
> > > > > > > >> that class is located in lib\external\flex-tool-api.jar
> > > > > > > >> At least in my distribution it's there and it contains
> > > > > > > >> the
> class.
> > > > > > > >>
> > > > > > > >> How are you calling the build that's failing?
> > > > > > > >>
> > > > > > > >> Chris
> > > > > > > >>
> > > > > > > >> -----Ursprüngliche Nachricht-----
> > > > > > > >> Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> > > > > > > >> An: Apache Royale Development <de...@royale.apache.org>
> > > > > > > >> Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > > > > >> distribution
> > > > > > > >>
> > > > > > > >> Chris,
> > > > > > > >>
> > > > > > > >> I just checked and I'm not able build project anymore
> > > > > > > >> using
> > > > > > > distribution:
> > > > > > > >>
> > > > > > > >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
> > > > > > > >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
> > > > > > > >> -Xms356m -Xmx3000m
> > > > > > > >> : Error: Could not find or load main class
> > > > > > > >> org.apache.royale.compiler.clients.MXMLJSC
> > > > > > > >> : Caused by: java.lang.NoClassDefFoundError:
> > > > > > > >> org/apache/flex/tools/FlexTool
> > > > > > > >>
> > > > > > > >> I'm done for today, so I will answer anything tomorrow.
> > > > > > > >>
> > > > > > > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
> > > > > > > >> <ch...@c-ware.de>
> > > > > > > >> napisał(a):
> > > > > > > >>
> > > > > > > >> > Ok ...
> > > > > > > >> >
> > > > > > > >> > so I just pushed another change. Now the distribution
> > > > > > > >> > should also contain an empty spark.css, just like the
> > > > > > > >> > Ant
> > one.
> > > > > > > >> >
> > > > > > > >> > Chris
> > > > > > > >> >
> > > > > > > >> >
> > > > > > > >> > -----Ursprüngliche Nachricht-----
> > > > > > > >> > Von: Christofer Dutz <ch...@c-ware.de>
> > > > > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> > > > > > > >> > An: dev@royale.apache.org
> > > > > > > >> > Betreff: AW: Align Maven IDE distribution with Ant
> > > > > > > >> > IDE distribution
> > > > > > > >> >
> > > > > > > >> > Ok,
> > > > > > > >> >
> > > > > > > >> > so that should now be fixed. Leaves the "spark.css"
> > > > > > > >> > Having had a look, it seems as if the Ant build
> > > > > > > >> > creates an empty
> > > > > > > >> spark.css.
> > > > > > > >> >
> > > > > > > >> > Is this all we need? If yes, then I'll have that in
> > > > > > > >> > ther in no
> > > > > time.
> > > > > > > >> >
> > > > > > > >> > Chris
> > > > > > > >> >
> > > > > > > >> > -----Ursprüngliche Nachricht-----
> > > > > > > >> > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> > > > > > > >> > An: Apache Royale Development <de...@royale.apache.org>
> > > > > > > >> > Betreff: Re: Align Maven IDE distribution with Ant
> > > > > > > >> > IDE distribution
> > > > > > > >> >
> > > > > > > >> > *(I assume that's in the "frameworks/js/libs"
> > > > > > > >> > directory? *
> > > > > > > >> >
> > > > > > > >> > Yes this is the directory.
> > > > > > > >> >
> > > > > > > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> > > > > > > >> > <ch...@c-ware.de>
> > > > > > > >> > napisał(a):
> > > > > > > >> >
> > > > > > > >> > > Hi Piotr,
> > > > > > > >> > >
> > > > > > > >> > > Ok ... so Ant seems to be adding a "JS" to the end
> > > > > > > >> > > of every name (I assume that's in the "frameworks/js/libs"
> > > directory?
> > > > > > > >> > >
> > > > > > > >> > > Also I'll try to find out where the "spark.css"
> > > > > > > >> > > should come from
> > > > > > ...
> > > > > > > >> > > and where it should go to.
> > > > > > > >> > >
> > > > > > > >> > > Chris
> > > > > > > >> > >
> > > > > > > >> > >
> > > > > > > >> > > -----Ursprüngliche Nachricht-----
> > > > > > > >> > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> > > > > > > >> > > An: Apache Royale Development
> > > > > > > >> > > <de...@royale.apache.org>
> > > > > > > >> > > Betreff: Re: Align Maven IDE distribution with Ant
> > > > > > > >> > > IDE distribution
> > > > > > > >> > >
> > > > > > > >> > > Chris,
> > > > > > > >> > >
> > > > > > > >> > > Looks better but here is the comparision what I
> > > > > > > >> > > have in Ant distribution vs Maven distribution in
> > > > > > > >> > > case of
> names.
> > > > > > > >> > > On the left Ant distribution, on the right Maven.
> > > > > > > >> > > It is
> > > folder:
> > > > > > > >> > > frameworks\js\libs\ [1]
> > > > > > > >> > >
> > > > > > > >> > > [1] https://ibb.co/W2DzcDb
> > > > > > > >> > >
> > > > > > > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> > > > > > > >> > > <ch...@c-ware.de>
> > > > > > > >> > > napisał(a):
> > > > > > > >> > >
> > > > > > > >> > > > And done ...
> > > > > > > >> > > >
> > > > > > > >> > > > Now all elements in the distribution only consist
> > > > > > > >> > > > of their name and file-ending ... all versions
> > > > > > > >> > > > and classifiers have been
> > > > > > > removed.
> > > > > > > >> > > > Please provide me with feedback on if this solves
> > > > > > > >> > > > the
> > > > issues.
> > > > > > > >> > > >
> > > > > > > >> > > > Chris
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > > > -----Ursprüngliche Nachricht-----
> > > > > > > >> > > > Von: Christofer Dutz <ch...@c-ware.de>
> > > > > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> > > > > > > >> > > > An: dev@royale.apache.org
> > > > > > > >> > > > Betreff: AW: Align Maven IDE distribution with
> > > > > > > >> > > > Ant IDE distribution
> > > > > > > >> > > >
> > > > > > > >> > > > I'll probably have a fix for that in a few
> > > > > > > >> > > > minuntes
> ...
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > > > Chris
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > > > -----Ursprüngliche Nachricht-----
> > > > > > > >> > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> > > > > > > >> > > > An: Apache Royale Development
> > > > > > > >> > > > <de...@royale.apache.org>
> > > > > > > >> > > > Betreff: Re: Align Maven IDE distribution with
> > > > > > > >> > > > Ant IDE distribution
> > > > > > > >> > > >
> > > > > > > >> > > > Chris,
> > > > > > > >> > > >
> > > > > > > >> > > > No it's not about not picking up by IDE at all.
> > > > > > > >> > > > Moonshine and VSCode are able to build projects
> > > > > > > >> > > > using Maven distribution package! It is about
> > > > > > > >> > > > project which are mixed for example when user
> > > > > > > >> > > > wanted to use Jewel module + RemoteObject class
> > > > > > > >> > > > from MXRoyale module. In that case user need to
> > > > > > > >> > > > point explicilty as a compiler options in IDE
> > > > > > > >> > > > that he wanted to have SWC included and need to
> > > > > > > >> > > > exclude css from that swc to
> > > > > > > >> > > avoid problems.
> > > > > > > >> > > >
> > > > > > > >> > > > It is happen like that:
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS
> > > > > > > >> > > > -js-library-path+.s
> > > > > > > >> > > > wc
> > > > > > > >> > > >
> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> > > > > > > >> > > > cs
> > > > > > > >> > > > s
> > > > > > > >> > > >
> > > > > > > >> > > > If I would like to use maven distribution user
> > > > > > > >> > > > need to know version for that compiler options.
> > > > > > > >> > > > It is even more tricky when your swc is called
> > > > > > > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.
> > > > > > > >> > > > cs
> > > > > > > >> > > > s
> > > > > > > >> > > >
> > > > > > > >> > > > Thanks,
> > > > > > > >> > > > Piotr
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> > > > > > > >> > > > <ch...@c-ware.de>
> > > > > > > >> > > > napisał(a):
> > > > > > > >> > > >
> > > > > > > >> > > > > Hi Piotr,
> > > > > > > >> > > > >
> > > > > > > >> > > > > And is really the version-suffix causing it to
> > > > > > > >> > > > > not be picked up by the IDEs?
> > > > > > > >> > > > >
> > > > > > > >> > > > > Chris
> > > > > > > >> > > > >
> > > > > > > >> > > > > -----Ursprüngliche Nachricht-----
> > > > > > > >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > > >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> > > > > > > >> > > > > An: dev@royale.apache.org
> > > > > > > >> > > > > Betreff: Re: Align Maven IDE distribution with
> > > > > > > >> > > > > Ant IDE distribution
> > > > > > > >> > > > >
> > > > > > > >> > > > > Hi Chris,
> > > > > > > >> > > > >
> > > > > > > >> > > > > This is the only thing which seems to be a
> > > > > > > >> > > > > constant problem
> > > > > > > here.
> > > > > > > >> > > > > I personally and some users will be much more
> > > > > > > >> > > > > happy having that
> > > > > > > >> > change.
> > > > > > > >> > > > >
> > > > > > > >> > > > > Thanks,
> > > > > > > >> > > > > Piotr
> > > > > > > >> > > > >
> > > > > > > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> > > > > > > >> > > > > <ch...@c-ware.de>
> > > > > > > >> > > > > wrote:
> > > > > > > >> > > > >
> > > > > > > >> > > > > > Hi Piotr,
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > I'd be happy to help with that.
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > I did simply ask for a list of things that
> > > > > > > >> > > > > > need to be changed in order to get things
> > > > > > > >> > > > > > working, but never got said list, so I never
> > > > > > > >> > > > > > knew what I could do to make the Maven
> > > > > > > >> > > > > > distribution match up to the
> > > > > > > >> > > > Ant built one.
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > Chris
> > > > > > > >> > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > >> > > > > > Von: Piotr Zarzycki
> > > > > > > >> > > > > > <pi...@gmail.com>
> > > > > > > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> > > > > > > >> > > > > > An: Apache Royale Development
> > > > > > > >> > > > > > <de...@royale.apache.org>
> > > > > > > >> > > > > > Betreff: Align Maven IDE distribution with
> > > > > > > >> > > > > > Ant IDE distribution
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > Hi Guys,
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > It's been couple of times when user complains
> > > > > > > >> > > > > > that he have problems with using Maven
> > > > > > > >> > > > > > distribution vs Ant distribution in IDE in a
> > > > > > > >> > > > > > mixed project Jewel + MX/Spark
> > > > > etc.
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > Can we have that resolve once for all and
> > > > > > > >> > > > > > adjust Maven distribution folder to produce
> > > > > > > >> > > > > > proper names of
> > > swcs ?
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > Currently when I build Maven IDE distribution
> > > > > > > >> > > > > > I
> > have:
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > When I build Ant IDE distribution I have:
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > MXRoyale-js.swc
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > Thanks,
> > > > > > > >> > > > > > --
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > Piotr Zarzycki
> > > > > > > >> > > > > >
> > > > > > > >> > > > > --
> > > > > > > >> > > > >
> > > > > > > >> > > > > Piotr Zarzycki
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > > > --
> > > > > > > >> > > >
> > > > > > > >> > > > Piotr Zarzycki
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> > >
> > > > > > > >> > > --
> > > > > > > >> > >
> > > > > > > >> > > Piotr Zarzycki
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >> >
> > > > > > > >> > --
> > > > > > > >> >
> > > > > > > >> > Piotr Zarzycki
> > > > > > > >> >
> > > > > > > >>
> > > > > > > >>
> > > > > > > >> --
> > > > > > > >>
> > > > > > > >> Piotr Zarzycki
> > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Carlos Rovira
> > > > > > > > Apache Member & Apache Royale PMC *Apache Software
> > > > > > > > Foundation* http://about.me/carlosrovira
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Carlos Rovira
> > > > > > > Apache Member & Apache Royale PMC *Apache Software
> > > > > > > Foundation* http://about.me/carlosrovira
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > >
> > > > > > Piotr Zarzycki
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > >
> > > > > Piotr Zarzycki
> > > > >
> > > > --
> > > >
> > > > Piotr Zarzycki
> > > >
> > >
> > >
> > > --
> > > Carlos Rovira
> > > Apache Member & Apache Royale PMC
> > > *Apache Software Foundation*
> > > http://about.me/carlosrovira
> > >
> >
> >
> > --
> > Carlos Rovira
> > Apache Member & Apache Royale PMC
> > *Apache Software Foundation*
> > http://about.me/carlosrovira
> >
>
>
> --
>
> Piotr Zarzycki
>
Re: Align Maven IDE distribution with Ant IDE distribution
Posted by Alina Kazi <al...@gmail.com>.
Hi,
I am also facing a problem with latest SDK.
when I add something new in emulation and re-build SDK. when I recompile
the application with the latest distribution , error in application does
not go away that I already fixed in previous commit.
It seems that the distribution does not have everything latest that it
should have.
-Alina
On Mon, Feb 22, 2021 at 3:20 PM Maria Jose Esteve <mj...@iest.com> wrote:
> I can't work either.
> With no Maven, Ant combination, always error: "Error <fx: Array> This tag
> could not be resolved to an ActionScript class ..."
>
> Do you know what happens? I am not able to understand or fix this.
>
> Hiedra.
>
> -----Mensaje original-----
> De: Piotr Zarzycki <pi...@gmail.com>
> Enviado el: lunes, 22 de febrero de 2021 11:03
> Para: Apache Royale Development <de...@royale.apache.org>
> Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
>
> Hi Guys,
>
> I just tried new distribution and I'm able to build simple example.
> However our Royale project is not building - I'm getting following
> exception:
>
> : Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/commons/lang/StringEscapeUtils
> : at
>
> org.apache.royale.compiler.internal.codegen.js.jx.LiteralEmitter.emit(LiteralEmitter.java:225)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.emitLiteral(JSRoyaleEmitter.java:1040)
> : at
> org.apache.royale.compiler.internal.codegen.as
> .ASBlockWalker.visitLiteral(ASBlockWalker.java:479)
> : at
> org.apache.royale.compiler.internal.visitor.as
> .ASNodeSwitch.handle(ASNodeSwitch.java:373)
> : at
> org.apache.royale.compiler.internal.visitor.as
> .ASNodeHandler.handle(ASNodeHandler.java:85)
> : at
> org.apache.royale.compiler.internal.visitor.as
> .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> : at
> org.apache.royale.compiler.internal.codegen.as
> .ASBlockWalker.walk(ASBlockWalker.java:159)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.goog.JSGoogEmitter.emitAssignedValue(JSGoogEmitter.java:965)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitAssignmentCoercion(JSEmitter.java:917)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.emitAssignmentCoercion(JSRoyaleEmitter.java:1558)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgumentsEmitter.emitContents(FunctionCallArgumentsEmitter.java:103)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgumentsEmitter.emit(FunctionCallArgumentsEmitter.java:50)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgumentsEmitter.emit(FunctionCallArgumentsEmitter.java:35)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitArguments(JSEmitter.java:259)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.emitArguments(JSRoyaleEmitter.java:986)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallEmitter.emit(FunctionCallEmitter.java:693)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.emitFunctionCall(JSRoyaleEmitter.java:906)
> : at
> org.apache.royale.compiler.internal.codegen.as
> .ASBlockWalker.visitFunctionCall(ASBlockWalker.java:330)
> : at
> org.apache.royale.compiler.internal.visitor.as
> .ASNodeSwitch.handle(ASNodeSwitch.java:207)
> : at
> org.apache.royale.compiler.internal.visitor.as
> .ASNodeHandler.handle(ASNodeHandler.java:85)
> : at
> org.apache.royale.compiler.internal.visitor.as
> .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> : at
> org.apache.royale.compiler.internal.codegen.as
> .ASBlockWalker.walk(ASBlockWalker.java:159)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.goog.JSGoogEmitter.emitAssignedValue(JSGoogEmitter.java:965)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitAssignmentCoercion(JSEmitter.java:917)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.emitAssignmentCoercion(JSRoyaleEmitter.java:1558)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.jx.BinaryOperatorEmitter.super_emitBinaryOperator(BinaryOperatorEmitter.java:598)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.jx.BinaryOperatorEmitter.emit(BinaryOperatorEmitter.java:500)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.emitBinaryOperator(JSRoyaleEmitter.java:1028)
> : at
> org.apache.royale.compiler.internal.codegen.as
> .ASBlockWalker.visitBinaryOperator(ASBlockWalker.java:538)
> : at
> org.apache.royale.compiler.internal.visitor.as
> .ASNodeSwitch.handle(ASNodeSwitch.java:348)
> : at
> org.apache.royale.compiler.internal.visitor.as
> .ASNodeHandler.handle(ASNodeHandler.java:85)
> : at
> org.apache.royale.compiler.internal.visitor.as
> .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> : at
> org.apache.royale.compiler.internal.codegen.as
> .ASBlockWalker.walk(ASBlockWalker.java:159)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.jx.StatementEmitter.emit(StatementEmitter.java:40)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.jx.StatementEmitter.emit(StatementEmitter.java:29)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitStatement(JSEmitter.java:349)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.emitStatement(JSRoyaleEmitter.java:1204)
> : at
> org.apache.royale.compiler.internal.codegen.as
> .ASBlockWalker.visitBlock(ASBlockWalker.java:349)
> : at
> org.apache.royale.compiler.internal.visitor.as
> .ASNodeSwitch.handle(ASNodeSwitch.java:278)
> : at
> org.apache.royale.compiler.internal.visitor.as
> .ASNodeHandler.handle(ASNodeHandler.java:85)
> : at
> org.apache.royale.compiler.internal.visitor.as
> .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> : at
> org.apache.royale.compiler.internal.codegen.as
> .ASBlockWalker.walk(ASBlockWalker.java:159)
> : at
>
> org.apache.royale.compiler.internal.codegen.as.ASEmitter.emitMethodScope(ASEmitter.java:830)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.jx.MethodEmitter.emit(MethodEmitter.java:160)
> : at
>
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.emitMethod(JSRoyaleEmitter.java:891)
> : at
> org.apache.royale.compiler.internal.codegen.as
> .ASBlockWalker.visitFunction(ASBlockWalker.java:290)
> : at
> org.apache.royale.compiler.internal.visitor.as
> .ASNodeSwitch.handle(ASNodeSwitch.java:152)
> : at
> org.apache.royale.compiler.internal.visitor.as
> .ASNodeHandler.handle(ASNodeHandler.java:85)
> : at
> org.apache.royale.compiler.internal.visitor.as
> .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
> : at
> org.apache.royale.compiler.internal.codegen.as
> .ASBlockWalker.walk(ASBlockWalker.java:159)
> : at
>
> org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmitter.emitScripts(MXMLRoyaleEmitter.java:2179)
> : at
>
> org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmitter.emitDocument(MXMLRoyaleEmitter.java:899)
> : at
>
> org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleBlockWalker.visitDocument(MXMLRoyaleBlockWalker.java:69)
> : at
>
> org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle(MXMLNodeSwitch.java:89)
> : at
>
> org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(MXMLBlockWalker.java:156)
> : at
>
> org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleBlockWalker.visitFile(MXMLRoyaleBlockWalker.java:61)
> : at
>
> org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle(MXMLNodeSwitch.java:95)
> : at
>
> org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(MXMLBlockWalker.java:156)
> : at
>
> org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.visitCompilationUnit(MXMLBlockWalker.java:187)
> : at
>
> org.apache.royale.compiler.internal.codegen.mxml.MXMLWriter.writeTo(MXMLWriter.java:69)
> : at
>
> org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:411)
> : at
>
> org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)
> : at
>
> org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)
> : at
> org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)
> : at
> org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)
> : at
>
> org.apache.royale.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.java:256)
> : at org.apache.royale.compiler.clients.MXMLJSC.main(MXMLJSC.java:238)
> : Caused by: java.lang.ClassNotFoundException:
> org.apache.commons.lang.StringEscapeUtils
> : at
>
> java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)
> : at
>
> java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
> : at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
> : ... 67 more
>
> niedz., 21 lut 2021 o 18:57 Carlos Rovira <ca...@apache.org>
> napisał(a):
>
> > Hi,
> >
> > I worked today on this and finally could solve the problem. A part
> > from Chris changes we need a bit more changes since all was set up
> > from the compiler to use the old names. So class paths need to be
> changed too there.
> > Also Google Closure compiler need to be in jar mode instead of unpacked.
> >
> > Now I can use CMD (or CTRL) + SHIFT + B and select Debug or Release
> > option with Actionscript extension and all goes ok.
> > When using CMD+ENTER I think VsCode use the experimental build in Josh
> > extension and take the SDK in ROYALE_HOME, and since that's the one
> > build in the repository with ANT all seems fine, but is not using the
> > selected SDK, so the build is not using what you expect.
> >
> > This is my output now using the Maven Distribution SDK:
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > *> Executing task in folder TourDeJewel:
> > /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin
> > /java
> > -jar
> >
> > /Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas-1
> > .6.0/bin/asconfigc.jar --sdk
> > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven --debug=true
> > --project
> >
> > /Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/TourD
> > eJewel/asconfig.json
> >
> > <MXMLJSC+royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-m
> > aven/frameworks--debug=true+configname=royale--targets=JSRoyale--sourc
> > e-path+=src/main/resources--source-map=true--html-template=src/main/re
> > sources/jewel-example-index-template.html--theme=${royalelib}/themes/J
> > ewelTheme/src/main/resources/defaults.css-js-dynamic-access-unknown-me
> > mbers=true--src/main/royale/App.mxmlThe
> > project 'App' has been successfully compiled.12.80962843
> > secondsTerminal will be reused by tasks, press any key to close it.*
> >
> >
> >
> >
> >
> >
> > El sáb, 20 feb 2021 a las 18:16, Christofer Dutz (<
> > christofer.dutz@c-ware.de>)
> > escribió:
> >
> > > So I just did a video and posted it to the Royale slack channel ...
> > >
> > > I can't seem to reproduce the error ... perhaps if you check what
> > > I'm doing you can tell me if I'm doing something wrong.
> > > I did try to rule out that I might have not configured VSCode to use
> > > my distribution by intentionally changing the settings to a wrong
> location.
> > It
> > > didn't work then, and when I changed it back to the correct version,
> > > I could build again.
> > >
> > > Chris
> > >
> > >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Carlos Rovira <ca...@apache.org>
> > > Gesendet: Samstag, 20. Februar 2021 15:17
> > > An: Apache Royale Development <de...@royale.apache.org>
> > > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > Hi,
> > >
> > > sorry, yesterday was mostly offline for some personal things. Many
> > > things happen in this thread.
> > > I rebuild all today and check. This is what I can report trying to
> > > build TDJ with Maven SDK with Chris's changes.
> > > Setting my VSCode with AS3&MXML to the Maven SDK just generated:
> > >
> > > 1.- I can't build with CMD+SHIFT+ENTER, then "Build Debug with AS3
> > > Extension Tour de Jewel" (as josh said). I get :
> > >
> > > Executing task in folder TourDeJewel:
> > >
> > /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin
> > /java
> > > -jar
> > >
> > >
> > /Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas-1
> > .6.0/bin/asconfigc.jar
> > > --sdk /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
> > --debug=true
> > > --project
> > >
> > /Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/TourD
> > eJewel/asconfig.json
> > > <
> > >
> > > Error: no se ha encontrado o cargado la clase principal
> > > org.apache.royale.compiler.clients.MXMLJSC
> > > The terminal process
> > >
> > >
> > "/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bi
> > n/java
> > > '-jar',
> > >
> > >
> > '/Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas-
> > 1.6.0/bin/asconfigc.jar',
> > > '--sdk', '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven',
> > > '--debug=true', '--project',
> > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/TourDeJewel/asconfig.json'"
> > > terminated with exit code: 1.
> > >
> > > Terminal will be reused by tasks, press any key to close it.
> > >
> > >
> > > 2.- I can build with CMD+ENTER. I get:
> > >
> > > Royale Compiler Shell
> > > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> > > --source-path+=src/main/resources --source-map=true
> > > --html-template=src/main/resources/jewel-example-index-template.html
> > > --theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.c
> > > ss -js-dynamic-access-unknown-members=true --
> > > src/main/royale/App.mxml
> > > fcsh: Assigned 1 as the compile target id The project 'App' has been
> > > successfully compiled and optimized.
> > > Compile status: 0
> > > Elapsed time: 26.925719521 seconds
> > > Feb 20, 2021 3:10:42 PM
> > > com.google.javascript.jscomp.LoggerErrorManager
> > > printSummary
> > > INFO: 0 error(s), 0 warning(s), 97.8% typed
> > > (fcsh)
> > >
> > > I don't understand fully the differences between one method and the
> > > other and why I get different results. I guess know what's happening
> > > is needed
> > so
> > > Chris can do the proper changes. probably there are paths and
> > > locations mixed.
> > >
> > > @Chris, one thing I did in the past was to compare maven
> > > distribution
> > with
> > > ant distribution so both has most of the things in the same place. I
> > think
> > > some files where left in more than one place (like mxmlc).
> > >
> > > If you could take a look at it, that will for sure fix the issue.
> > > You
> > have
> > > TDJ and the other project to test if that works and now we know that
> > > is better to try with CMD+SHIFT+ENTER, then "Build Debug with AS3
> > > Extension Tour de Jewel"
> > >
> > >
> > >
> > >
> > > El vie, 19 feb 2021 a las 18:45, Piotr Zarzycki (<
> > > piotrzarzycki21@gmail.com>)
> > > escribió:
> > >
> > > > It looks like something bad has happened with my environment. I
> > > > changed lately Java settings a bit. You can see what is setup in
> > > > my
> > > stacktrace.
> > > >
> > > > I will get back to that over the weekend or on Monday.
> > > >
> > > > On Fri, 19 Feb 2021 at 18:24, Maria Jose Esteve
> > > > <mj...@iest.com>
> > > wrote:
> > > >
> > > > > Hi,
> > > > > Piotr, I just tested your distribution with my project and the
> > > > compilation
> > > > > was successful, no errors.
> > > > > Running the application seems to be working fine too.
> > > > > (I compile the application with mvn)
> > > > >
> > > > > What do they need me to try now?
> > > > >
> > > > > Hiedra.
> > > > > -----Mensaje original-----
> > > > > De: Piotr Zarzycki <pi...@gmail.com> Enviado el:
> > > > > viernes,
> > > > > 19 de febrero de 2021 18:11
> > > > > Para: Apache Royale Development <de...@royale.apache.org>
> > > > > Asunto: Re: Align Maven IDE distribution with Ant IDE
> > > > > distribution
> > > > >
> > > > > Did you test my distribution ?
> > > > >
> > > > > pt., 19 lut 2021 o 18:00 Christofer Dutz
> > > > > <ch...@c-ware.de>
> > > > > napisał(a):
> > > > >
> > > > > > So I did a bit more of testing.
> > > > > >
> > > > > > So after I had no issues building Carlos' example, I tried the
> > > > > > TourDeJewl example.
> > > > > > So I opened VSCode in the directory of TDJ example ... created
> > > > > > a settings.json with the folowing content:
> > > > > >
> > > > > > {
> > > > > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > > > > }
> > > > > >
> > > > > > Hit STRG+Enter and waited a bit ...
> > > > > >
> > > > > > Then I opened the output in Chrome and have a fully
> > > > > > functioning TDJ application.
> > > > > >
> > > > > > So I wouldn't consider the build broken.
> > > > > >
> > > > > > Chris
> > > > > >
> > > > > >
> > > > > >
> > > > > > -----Ursprüngliche Nachricht-----
> > > > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > > > Gesendet: Freitag, 19. Februar 2021 17:51
> > > > > > An: dev@royale.apache.org
> > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > distribution
> > > > > >
> > > > > > Sure, that would be "expected", but like I told you: if I
> > > > > > change it to MXRoyaleJS.swc, the app "does nonsense".
> > > > > > Maybe something has gotten my way.
> > > > > >
> > > > > > I will read your messages and see if I can help with something.
> > > > > >
> > > > > > Hiedra.
> > > > > > -----Mensaje original-----
> > > > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > > > > viernes,
> > > > > > 19 de febrero de 2021 14:12
> > > > > > Para: dev@royale.apache.org
> > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > distribution
> > > > > >
> > > > > > Hi Hiedra,
> > > > > >
> > > > > > well I changed the distribution to make the names like in the
> > > > > > ANT distribution yesterday.
> > > > > > But you are passing in an argument telling the compiler to use
> > > > > > the old format and now it should be the new ...
> > > > > >
> > > > > > Try:
> > > > > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> > > > > > defaults.css; For -compiler.exclude-defaults-css-files =
> > > MXRoyaleJS.swc:
> > > > > > defaults.css;
> > > > > >
> > > > > > Instead of your variant.
> > > > > >
> > > > > > Chris
> > > > > >
> > > > > >
> > > > > > -----Ursprüngliche Nachricht-----
> > > > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > > > Gesendet: Freitag, 19. Februar 2021 14:08
> > > > > > An: dev@royale.apache.org
> > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > distribution
> > > > > >
> > > > > > Yes, until recently I also compiled only with Maven. Due to
> > > > > > the problem with the spark.css I started to do the double
> > > > > > compilation of
> > > > > MAVEN and ANT.
> > > > > >
> > > > > > It's funny, now, the swc's are not generated with
> > > > > > "xxxx-0.9.8-SNAPSHOT-js.swc" in the distribution BUT if in the
> > > > > > pom of my project I change in additionalCompilerOptions:
> > > > > > -compiler.exclude-defaults-css-files = MXRoyale - $
> > > > > > {royale.framework.version} -js.swc: defaults.css; For
> > > > > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> > > > > > defaults.css; My application starts to do nonsense (for
> > > > > > example the change of selectedContent in my
> > > > > > ApplicationMainContent does not display)
> > > > > >
> > > > > > Chris, thank you.
> > > > > > Hiedra
> > > > > >
> > > > > > -----Mensaje original-----
> > > > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > > > > viernes,
> > > > > > 19 de febrero de 2021 13:09
> > > > > > Para: dev@royale.apache.org
> > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > distribution
> > > > > >
> > > > > > Hi Hiedra,
> > > > > >
> > > > > > I have to admit that I've never used VSCode. Every time I do
> > > > > > any development I usually use one of the JetBrains IDEs.
> > > > > > Royale Stuff I do in IntelliJ ... with my "Flexmojos Hack" it
> > > > > > can be used quite well. And I always compile with Maven.
> > > > > >
> > > > > > But thanks for the explanation on why the other path is set
> > > > differently.
> > > > > >
> > > > > > I guess we'll have to wait till some others can tell me what
> > > > > > needs to be changed.
> > > > > >
> > > > > > Chris
> > > > > >
> > > > > >
> > > > > > -----Ursprüngliche Nachricht-----
> > > > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > > > Gesendet: Freitag, 19. Februar 2021 12:48
> > > > > > An: dev@royale.apache.org
> > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > distribution
> > > > > >
> > > > > > Hello Chris,
> > > > > > so that I can debug my changes in the SDK I need to set the
> > > > > > path of the "as3mxml.sdk.editor" to the asjs directory of my
> > > > > > fork, for this reason the path of the " as3mxml.sdk.framework"
> > > > > > points to the directory of the maven distribution and the
> "as3mxml.sdk.editor"
> > > > > > to
> > > > code.
> > > > > >
> > > > > > ">> I'm not getting any errors from VSCode. But well ... if I
> > > > > > hit
> > > > > > SHIFT+Enter it starts doing something where if failed prior to
> > > > > > SHIFT+my
> > > > > > >> changes this morning and is no longer complaining, but it's
> > > > > > >> also not
> > > > > > doing much (I can't see it create a "bin" directory)"
> > > > > >
> > > > > > I don't quite understand this ... possibly because of my lack
> > > > > > of
> > > > > knowledge.
> > > > > >
> > > > > > I have not tried Carlos's project but this afternoon I will be
> > > > > > able to do it and I will be able to give more details.
> > > > > >
> > > > > > Thx.
> > > > > > Hiedra.
> > > > > >
> > > > > > -----Mensaje original-----
> > > > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > > > > viernes,
> > > > > > 19 de febrero de 2021 11:51
> > > > > > Para: dev@royale.apache.org
> > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > distribution
> > > > > >
> > > > > > Hi Heidra,
> > > > > >
> > > > > > I just updated Carlos' example to have the same type of
> > > > > > setting (C:\\Temp\\RoyaleSDK is where I have my Maven build
> > > > > > generate the
> > > SDK):
> > > > > >
> > > > > > setings.js:
> > > > > > {
> > > > > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > > > > }
> > > > > >
> > > > > > workspace-code-workspace
> > > > > > {
> > > > > > "folders": [
> > > > > > {
> > > > > > "path": ".."
> > > > > > }
> > > > > > ],
> > > > > > "settings": {
> > > > > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > > > > }
> > > > > > }
> > > > > >
> > > > > > I'm not getting any errors from VSCode. But well ... if I hit
> > > > > > SHIFT+Enter it starts doing something where if failed prior to
> > > > > > SHIFT+my
> > > > > > changes this morning and is no longer complaining, but it's
> > > > > > also not doing much (I can't see it create a "bin" directory)
> > > > > >
> > > > > > Chris
> > > > > >
> > > > > >
> > > > > > -----Ursprüngliche Nachricht-----
> > > > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > > > Gesendet: Freitag, 19. Februar 2021 10:53
> > > > > > An: dev@royale.apache.org
> > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > distribution
> > > > > >
> > > > > > If I don't compile with ANT, the mxml extension in vsCode IDE,
> > > > > > it doesn't recognize the valid asjs directory for
> > "as3mxml.sdk.editor":
> > > > > > ...
> > > > > > "settings": {
> > > > > > "as3mxml.sdk.framework":
> > > > > > "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
> > > > > > "as3mxml.sdk.editor":
> > > > > > "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs"
> > > > > > <-------- [download folder repo royale-asjs]
> > > > > > }
> > > > > > }
> > > > > >
> > > > > > The error is:
> > > > > > " as3mxml.sdk.editor in settings does not point to a valid SDK.
> > > > > > Requires..."
> > > > > >
> > > > > > Thx.
> > > > > > Hiedra.
> > > > > >
> > > > > > -----Mensaje original-----
> > > > > > De: Piotr Zarzycki <pi...@gmail.com> Enviado el:
> > > > > > viernes, 19 de febrero de 2021 10:44
> > > > > > Para: Apache Royale Development <de...@royale.apache.org>
> > > > > > Asunto: Re: Align Maven IDE distribution with Ant IDE
> > > > > > distribution
> > > > > >
> > > > > > Hi Chris,
> > > > > >
> > > > > > I just tried your changes and I have same issue. I need to
> > > > > > understand what has change enough significantly that it causes
> > > > > > compilation fail in such way. It doesn't happen with SDK
> > > > > > prepared
> > by
> > > ANT.
> > > > > >
> > > > > > Thanks,
> > > > > > Piotr
> > > > > >
> > > > > > pt., 19 lut 2021 o 10:33 Maria Jose Esteve <mj...@iest.com>
> > > > > napisał(a):
> > > > > >
> > > > > > > @Chris you're right, sorry, I didn't download your last commit.
> > > > > > > I'm sorry.
> > > > > > > Hiedra.
> > > > > > >
> > > > > > > -----Mensaje original-----
> > > > > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > > > > > viernes,
> > > > > > > 19 de febrero de 2021 10:17
> > > > > > > Para: dev@royale.apache.org
> > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > distribution
> > > > > > >
> > > > > > > I'll try to guess what you wanted to say here ...
> > > > > > >
> > > > > > > But I think these are exactly the changes I comitted a an
> > > > > > > hour ago,
> > > > > > right?
> > > > > > > At least in general I replaced all the references to names
> > > > > > > with versions to the changed ones.
> > > > > > >
> > > > > > >
> > > > > > > Chris
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > > > > Gesendet: Freitag, 19. Februar 2021 10:01
> > > > > > > An: dev@royale.apache.org
> > > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > > distribution
> > > > > > >
> > > > > > > Hi,
> > > > > > > Mi distribución hace referencia en el fichero
> > > > > > > "./frameworks/royale-config.xml" a las librerías:
> > > > > > >
> > > > > > > <js-external-library-path>
> > > > > > >
> > > > > > >
> > > <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.
> > > > > > > sw
> > > > > > > c</path-element>
> > > > > > >
> > > > > > >
> > > > > > <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-ty
> > > > > > pede
> > > > > > fs.s
> > > > > > wc</path-element>
> > > > > > > </js-external-library-path>
> > > > > > >
> > > > > > > Las correctas son:
> > > > > > >
> > > > > > > <js-external-library-path>
> > > > > > >
> > > > > <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> > > > > > >
> > > > > <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
> > > > > > > </js-external-library-path>
> > > > > > >
> > > > > > > Hiedra
> > > > > > >
> > > > > > > -----Mensaje original-----
> > > > > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > > > > > viernes,
> > > > > > > 19 de febrero de 2021 9:39
> > > > > > > Para: dev@royale.apache.org
> > > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > distribution
> > > > > > >
> > > > > > > Ok,
> > > > > > >
> > > > > > > so the config xml files in the distribution were still
> > > > > > > pointing to the old names. I updated them all to now refer to
> the names.
> > > > > > > I tried things in Carlos' demo project, and I'm no-longer
> > > > > > > getting the errors, however compilation seems to take for ever.
> > > > > > >
> > > > > > > Please try out the changes and tell me if there are any
> > > > > > > problems with
> > > > > > them.
> > > > > > >
> > > > > > > Chris
> > > > > > >
> > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > Von: Christofer Dutz <ch...@c-ware.de>
> > > > > > > Gesendet: Donnerstag, 18. Februar 2021 23:17
> > > > > > > An: dev@royale.apache.org
> > > > > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > distribution
> > > > > > >
> > > > > > > Hi Carlos,
> > > > > > >
> > > > > > > I'll look into this tomorrow.
> > > > > > >
> > > > > > > Chris
> > > > > > >
> > > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > Von: Carlos Rovira <ca...@apache.org>
> > > > > > > Gesendet: Donnerstag, 18. Februar 2021 17:49
> > > > > > > An: Apache Royale Development <de...@royale.apache.org>
> > > > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > > > > distribution
> > > > > > >
> > > > > > > Hi, I think I talked very quickly, sorry, there seems to be
> > > > > > > a
> > > > problem.
> > > > > > >
> > > > > > > @Christofer Dutz <ch...@c-ware.de> you can
> > > > > > > download this
> > > > > > > project:
> > > > > > >
> > > > > > >
> > > > > > > https://github.com/apache/royale-asjs/files/6004363/ToggleBu
> > > > > > > tton
> > > > > > > BarI
> > > > > > > ss
> > > > > > > ue.zip
> > > > > > >
> > > > > > > Then using VSCode with AS3&MXML and adding the Maven
> > distribution.
> > > > > > > Then hit CTRL+ENTER and you will get the following fail.
> > > > > > > Using ANT distribution is working fine.
> > > > > > > Can you take a look?
> > > > > > >
> > > > > > > Royale Compiler Shell
> > > > > > > (fcsh) mxmlc --debug=false +configname=royale
> > > > > > > --targets=JSRoyale --source-map=true
> > > > > > > --html-template=src/html/jewel-example-index-template.html
> > > > > > >
> > > > > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphir
> > > > > > > e-Th
> > > > > > > eme/
> > > > > > > sr
> > > > > > > c/main/resources/defaults.css
> > > > > > > --source-path+=src
> > > > > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJ
> > > > > > > --source-path+--library-path+S.sw c
> > > > > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > > > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults
> > > > > > > .css -js-dynamic-access-unknown-members=true -- src/App.mxml
> > > > > > > fcsh: Assigned 1 as the compile target id The project 'App'
> > > > > > > has been successfully compiled and optimized.
> > > > > > > Compile status: 0
> > > > > > > Elapsed time: 14.211105399 seconds Feb 18, 2021 5:43:40 PM
> > > > > > > com.google.javascript.jscomp.LoggerErrorManager
> > > > > > > printSummary
> > > > > > > INFO: 0 error(s), 0 warning(s), 96.5% typed
> > > > > > > (fcsh) quit
> > > > > > > Compiler shell exited with code: 0 Royale Compiler Shell
> > > > > > > (fcsh) mxmlc --debug=false +configname=royale
> > > > > > > --targets=JSRoyale --source-map=true
> > > > > > > --html-template=src/html/jewel-example-index-template.html
> > > > > > >
> > > > > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphir
> > > > > > > e-Th
> > > > > > > eme/
> > > > > > > sr
> > > > > > > c/main/resources/defaults.css
> > > > > > > --source-path+=src
> > > > > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJ
> > > > > > > --source-path+--library-path+S.sw c
> > > > > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > > > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults
> > > > > > > .css -js-dynamic-access-unknown-members=true -- src/App.mxml
> > > > > > > fcsh: Assigned 1 as the compile target id Compile status: 5
> > > > > > > Elapsed
> > > > > time:
> > > > > > > 0.618407478 seconds
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > > > > > > col: 0 Error: unable to open
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
> > > > > > >
> > > > > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/fram
> > > > > > > ewor
> > > > > > > ks/r
> > > > > > > oy
> > > > > > > ale-config.xml
> > > > > > > (line: 81)
> > > > > > >
> > > > > > > </js-external-library-path>
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > > > > > > col: 0 Error: unable to open
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
> > > > > > >
> > > > > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/fram
> > > > > > > ewor
> > > > > > > ks/r
> > > > > > > oy
> > > > > > > ale-config.xml
> > > > > > > (line: 81)
> > > > > > >
> > > > > > > </js-external-library-path>
> > > > > > > (fcsh)
> > > > > > > Quick Compile failed. Errors in compiler output.
> > > > > > >
> > > > > > > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
> > > > > > > (<ca...@apache.org>)
> > > > > > > escribió:
> > > > > > >
> > > > > > > > Hi,
> > > > > > > >
> > > > > > > > I rebuilt all from scratch just now and finally the
> > > > > > > > distribution too and tried in VSCode and all seems to work
> > > > > > > > fine
> > > for me.
> > > > > > > >
> > > > > > > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> > > > > > > > christofer.dutz@c-ware.de>) escribió:
> > > > > > > >
> > > > > > > >> Hi Piotr,
> > > > > > > >>
> > > > > > > >> that class is located in lib\external\flex-tool-api.jar
> > > > > > > >> At least in my distribution it's there and it contains the
> class.
> > > > > > > >>
> > > > > > > >> How are you calling the build that's failing?
> > > > > > > >>
> > > > > > > >> Chris
> > > > > > > >>
> > > > > > > >> -----Ursprüngliche Nachricht-----
> > > > > > > >> Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> > > > > > > >> An: Apache Royale Development <de...@royale.apache.org>
> > > > > > > >> Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > > > > >> distribution
> > > > > > > >>
> > > > > > > >> Chris,
> > > > > > > >>
> > > > > > > >> I just checked and I'm not able build project anymore
> > > > > > > >> using
> > > > > > > distribution:
> > > > > > > >>
> > > > > > > >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
> > > > > > > >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
> > > > > > > >> -Xms356m -Xmx3000m
> > > > > > > >> : Error: Could not find or load main class
> > > > > > > >> org.apache.royale.compiler.clients.MXMLJSC
> > > > > > > >> : Caused by: java.lang.NoClassDefFoundError:
> > > > > > > >> org/apache/flex/tools/FlexTool
> > > > > > > >>
> > > > > > > >> I'm done for today, so I will answer anything tomorrow.
> > > > > > > >>
> > > > > > > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
> > > > > > > >> <ch...@c-ware.de>
> > > > > > > >> napisał(a):
> > > > > > > >>
> > > > > > > >> > Ok ...
> > > > > > > >> >
> > > > > > > >> > so I just pushed another change. Now the distribution
> > > > > > > >> > should also contain an empty spark.css, just like the
> > > > > > > >> > Ant
> > one.
> > > > > > > >> >
> > > > > > > >> > Chris
> > > > > > > >> >
> > > > > > > >> >
> > > > > > > >> > -----Ursprüngliche Nachricht-----
> > > > > > > >> > Von: Christofer Dutz <ch...@c-ware.de>
> > > > > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> > > > > > > >> > An: dev@royale.apache.org
> > > > > > > >> > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > > > > > > >> > distribution
> > > > > > > >> >
> > > > > > > >> > Ok,
> > > > > > > >> >
> > > > > > > >> > so that should now be fixed. Leaves the "spark.css"
> > > > > > > >> > Having had a look, it seems as if the Ant build creates
> > > > > > > >> > an empty
> > > > > > > >> spark.css.
> > > > > > > >> >
> > > > > > > >> > Is this all we need? If yes, then I'll have that in
> > > > > > > >> > ther in no
> > > > > time.
> > > > > > > >> >
> > > > > > > >> > Chris
> > > > > > > >> >
> > > > > > > >> > -----Ursprüngliche Nachricht-----
> > > > > > > >> > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> > > > > > > >> > An: Apache Royale Development <de...@royale.apache.org>
> > > > > > > >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > > > > >> > distribution
> > > > > > > >> >
> > > > > > > >> > *(I assume that's in the "frameworks/js/libs"
> > > > > > > >> > directory? *
> > > > > > > >> >
> > > > > > > >> > Yes this is the directory.
> > > > > > > >> >
> > > > > > > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> > > > > > > >> > <ch...@c-ware.de>
> > > > > > > >> > napisał(a):
> > > > > > > >> >
> > > > > > > >> > > Hi Piotr,
> > > > > > > >> > >
> > > > > > > >> > > Ok ... so Ant seems to be adding a "JS" to the end of
> > > > > > > >> > > every name (I assume that's in the "frameworks/js/libs"
> > > directory?
> > > > > > > >> > >
> > > > > > > >> > > Also I'll try to find out where the "spark.css"
> > > > > > > >> > > should come from
> > > > > > ...
> > > > > > > >> > > and where it should go to.
> > > > > > > >> > >
> > > > > > > >> > > Chris
> > > > > > > >> > >
> > > > > > > >> > >
> > > > > > > >> > > -----Ursprüngliche Nachricht-----
> > > > > > > >> > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> > > > > > > >> > > An: Apache Royale Development <de...@royale.apache.org>
> > > > > > > >> > > Betreff: Re: Align Maven IDE distribution with Ant
> > > > > > > >> > > IDE distribution
> > > > > > > >> > >
> > > > > > > >> > > Chris,
> > > > > > > >> > >
> > > > > > > >> > > Looks better but here is the comparision what I have
> > > > > > > >> > > in Ant distribution vs Maven distribution in case of
> names.
> > > > > > > >> > > On the left Ant distribution, on the right Maven. It
> > > > > > > >> > > is
> > > folder:
> > > > > > > >> > > frameworks\js\libs\ [1]
> > > > > > > >> > >
> > > > > > > >> > > [1] https://ibb.co/W2DzcDb
> > > > > > > >> > >
> > > > > > > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> > > > > > > >> > > <ch...@c-ware.de>
> > > > > > > >> > > napisał(a):
> > > > > > > >> > >
> > > > > > > >> > > > And done ...
> > > > > > > >> > > >
> > > > > > > >> > > > Now all elements in the distribution only consist
> > > > > > > >> > > > of their name and file-ending ... all versions and
> > > > > > > >> > > > classifiers have been
> > > > > > > removed.
> > > > > > > >> > > > Please provide me with feedback on if this solves
> > > > > > > >> > > > the
> > > > issues.
> > > > > > > >> > > >
> > > > > > > >> > > > Chris
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > > > -----Ursprüngliche Nachricht-----
> > > > > > > >> > > > Von: Christofer Dutz <ch...@c-ware.de>
> > > > > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> > > > > > > >> > > > An: dev@royale.apache.org
> > > > > > > >> > > > Betreff: AW: Align Maven IDE distribution with Ant
> > > > > > > >> > > > IDE distribution
> > > > > > > >> > > >
> > > > > > > >> > > > I'll probably have a fix for that in a few minuntes
> ...
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > > > Chris
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > > > -----Ursprüngliche Nachricht-----
> > > > > > > >> > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> > > > > > > >> > > > An: Apache Royale Development
> > > > > > > >> > > > <de...@royale.apache.org>
> > > > > > > >> > > > Betreff: Re: Align Maven IDE distribution with Ant
> > > > > > > >> > > > IDE distribution
> > > > > > > >> > > >
> > > > > > > >> > > > Chris,
> > > > > > > >> > > >
> > > > > > > >> > > > No it's not about not picking up by IDE at all.
> > > > > > > >> > > > Moonshine and VSCode are able to build projects
> > > > > > > >> > > > using Maven distribution package! It is about
> > > > > > > >> > > > project which are mixed for example when user
> > > > > > > >> > > > wanted to use Jewel module + RemoteObject class
> > > > > > > >> > > > from MXRoyale module. In that case user need to
> > > > > > > >> > > > point explicilty as a compiler options in IDE that
> > > > > > > >> > > > he wanted to have SWC included and need to exclude
> > > > > > > >> > > > css from that swc to
> > > > > > > >> > > avoid problems.
> > > > > > > >> > > >
> > > > > > > >> > > > It is happen like that:
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.s
> > > > > > > >> > > > wc
> > > > > > > >> > > >
> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> > > > > > > >> > > > cs
> > > > > > > >> > > > s
> > > > > > > >> > > >
> > > > > > > >> > > > If I would like to use maven distribution user need
> > > > > > > >> > > > to know version for that compiler options. It is
> > > > > > > >> > > > even more tricky when your swc is called
> > > > > > > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.
> > > > > > > >> > > > cs
> > > > > > > >> > > > s
> > > > > > > >> > > >
> > > > > > > >> > > > Thanks,
> > > > > > > >> > > > Piotr
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> > > > > > > >> > > > <ch...@c-ware.de>
> > > > > > > >> > > > napisał(a):
> > > > > > > >> > > >
> > > > > > > >> > > > > Hi Piotr,
> > > > > > > >> > > > >
> > > > > > > >> > > > > And is really the version-suffix causing it to
> > > > > > > >> > > > > not be picked up by the IDEs?
> > > > > > > >> > > > >
> > > > > > > >> > > > > Chris
> > > > > > > >> > > > >
> > > > > > > >> > > > > -----Ursprüngliche Nachricht-----
> > > > > > > >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > > >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> > > > > > > >> > > > > An: dev@royale.apache.org
> > > > > > > >> > > > > Betreff: Re: Align Maven IDE distribution with
> > > > > > > >> > > > > Ant IDE distribution
> > > > > > > >> > > > >
> > > > > > > >> > > > > Hi Chris,
> > > > > > > >> > > > >
> > > > > > > >> > > > > This is the only thing which seems to be a
> > > > > > > >> > > > > constant problem
> > > > > > > here.
> > > > > > > >> > > > > I personally and some users will be much more
> > > > > > > >> > > > > happy having that
> > > > > > > >> > change.
> > > > > > > >> > > > >
> > > > > > > >> > > > > Thanks,
> > > > > > > >> > > > > Piotr
> > > > > > > >> > > > >
> > > > > > > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> > > > > > > >> > > > > <ch...@c-ware.de>
> > > > > > > >> > > > > wrote:
> > > > > > > >> > > > >
> > > > > > > >> > > > > > Hi Piotr,
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > I'd be happy to help with that.
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > I did simply ask for a list of things that need
> > > > > > > >> > > > > > to be changed in order to get things working,
> > > > > > > >> > > > > > but never got said list, so I never knew what I
> > > > > > > >> > > > > > could do to make the Maven distribution match
> > > > > > > >> > > > > > up to the
> > > > > > > >> > > > Ant built one.
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > Chris
> > > > > > > >> > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > -----Ursprüngliche Nachricht-----
> > > > > > > >> > > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> > > > > > > >> > > > > > An: Apache Royale Development
> > > > > > > >> > > > > > <de...@royale.apache.org>
> > > > > > > >> > > > > > Betreff: Align Maven IDE distribution with Ant
> > > > > > > >> > > > > > IDE distribution
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > Hi Guys,
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > It's been couple of times when user complains
> > > > > > > >> > > > > > that he have problems with using Maven
> > > > > > > >> > > > > > distribution vs Ant distribution in IDE in a
> > > > > > > >> > > > > > mixed project Jewel + MX/Spark
> > > > > etc.
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > Can we have that resolve once for all and
> > > > > > > >> > > > > > adjust Maven distribution folder to produce
> > > > > > > >> > > > > > proper names of
> > > swcs ?
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > Currently when I build Maven IDE distribution I
> > have:
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > When I build Ant IDE distribution I have:
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > MXRoyale-js.swc
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > Thanks,
> > > > > > > >> > > > > > --
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > Piotr Zarzycki
> > > > > > > >> > > > > >
> > > > > > > >> > > > > --
> > > > > > > >> > > > >
> > > > > > > >> > > > > Piotr Zarzycki
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > > > --
> > > > > > > >> > > >
> > > > > > > >> > > > Piotr Zarzycki
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> > >
> > > > > > > >> > > --
> > > > > > > >> > >
> > > > > > > >> > > Piotr Zarzycki
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >> >
> > > > > > > >> > --
> > > > > > > >> >
> > > > > > > >> > Piotr Zarzycki
> > > > > > > >> >
> > > > > > > >>
> > > > > > > >>
> > > > > > > >> --
> > > > > > > >>
> > > > > > > >> Piotr Zarzycki
> > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Carlos Rovira
> > > > > > > > Apache Member & Apache Royale PMC *Apache Software
> > > > > > > > Foundation* http://about.me/carlosrovira
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Carlos Rovira
> > > > > > > Apache Member & Apache Royale PMC *Apache Software
> > > > > > > Foundation* http://about.me/carlosrovira
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > >
> > > > > > Piotr Zarzycki
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > >
> > > > > Piotr Zarzycki
> > > > >
> > > > --
> > > >
> > > > Piotr Zarzycki
> > > >
> > >
> > >
> > > --
> > > Carlos Rovira
> > > Apache Member & Apache Royale PMC
> > > *Apache Software Foundation*
> > > http://about.me/carlosrovira
> > >
> >
> >
> > --
> > Carlos Rovira
> > Apache Member & Apache Royale PMC
> > *Apache Software Foundation*
> > http://about.me/carlosrovira
> >
>
>
> --
>
> Piotr Zarzycki
>
RE: Align Maven IDE distribution with Ant IDE distribution
Posted by Maria Jose Esteve <mj...@iest.com>.
I can't work either.
With no Maven, Ant combination, always error: "Error <fx: Array> This tag could not be resolved to an ActionScript class ..."
Do you know what happens? I am not able to understand or fix this.
Hiedra.
-----Mensaje original-----
De: Piotr Zarzycki <pi...@gmail.com>
Enviado el: lunes, 22 de febrero de 2021 11:03
Para: Apache Royale Development <de...@royale.apache.org>
Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
Hi Guys,
I just tried new distribution and I'm able to build simple example. However our Royale project is not building - I'm getting following exception:
: Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/commons/lang/StringEscapeUtils
: at
org.apache.royale.compiler.internal.codegen.js.jx.LiteralEmitter.emit(LiteralEmitter.java:225)
: at
org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.emitLiteral(JSRoyaleEmitter.java:1040)
: at
org.apache.royale.compiler.internal.codegen.as.ASBlockWalker.visitLiteral(ASBlockWalker.java:479)
: at
org.apache.royale.compiler.internal.visitor.as.ASNodeSwitch.handle(ASNodeSwitch.java:373)
: at
org.apache.royale.compiler.internal.visitor.as.ASNodeHandler.handle(ASNodeHandler.java:85)
: at
org.apache.royale.compiler.internal.visitor.as.BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
: at
org.apache.royale.compiler.internal.codegen.as.ASBlockWalker.walk(ASBlockWalker.java:159)
: at
org.apache.royale.compiler.internal.codegen.js.goog.JSGoogEmitter.emitAssignedValue(JSGoogEmitter.java:965)
: at
org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitAssignmentCoercion(JSEmitter.java:917)
: at
org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.emitAssignmentCoercion(JSRoyaleEmitter.java:1558)
: at
org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgumentsEmitter.emitContents(FunctionCallArgumentsEmitter.java:103)
: at
org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgumentsEmitter.emit(FunctionCallArgumentsEmitter.java:50)
: at
org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgumentsEmitter.emit(FunctionCallArgumentsEmitter.java:35)
: at
org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitArguments(JSEmitter.java:259)
: at
org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.emitArguments(JSRoyaleEmitter.java:986)
: at
org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallEmitter.emit(FunctionCallEmitter.java:693)
: at
org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.emitFunctionCall(JSRoyaleEmitter.java:906)
: at
org.apache.royale.compiler.internal.codegen.as.ASBlockWalker.visitFunctionCall(ASBlockWalker.java:330)
: at
org.apache.royale.compiler.internal.visitor.as.ASNodeSwitch.handle(ASNodeSwitch.java:207)
: at
org.apache.royale.compiler.internal.visitor.as.ASNodeHandler.handle(ASNodeHandler.java:85)
: at
org.apache.royale.compiler.internal.visitor.as.BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
: at
org.apache.royale.compiler.internal.codegen.as.ASBlockWalker.walk(ASBlockWalker.java:159)
: at
org.apache.royale.compiler.internal.codegen.js.goog.JSGoogEmitter.emitAssignedValue(JSGoogEmitter.java:965)
: at
org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitAssignmentCoercion(JSEmitter.java:917)
: at
org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.emitAssignmentCoercion(JSRoyaleEmitter.java:1558)
: at
org.apache.royale.compiler.internal.codegen.js.jx.BinaryOperatorEmitter.super_emitBinaryOperator(BinaryOperatorEmitter.java:598)
: at
org.apache.royale.compiler.internal.codegen.js.jx.BinaryOperatorEmitter.emit(BinaryOperatorEmitter.java:500)
: at
org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.emitBinaryOperator(JSRoyaleEmitter.java:1028)
: at
org.apache.royale.compiler.internal.codegen.as.ASBlockWalker.visitBinaryOperator(ASBlockWalker.java:538)
: at
org.apache.royale.compiler.internal.visitor.as.ASNodeSwitch.handle(ASNodeSwitch.java:348)
: at
org.apache.royale.compiler.internal.visitor.as.ASNodeHandler.handle(ASNodeHandler.java:85)
: at
org.apache.royale.compiler.internal.visitor.as.BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
: at
org.apache.royale.compiler.internal.codegen.as.ASBlockWalker.walk(ASBlockWalker.java:159)
: at
org.apache.royale.compiler.internal.codegen.js.jx.StatementEmitter.emit(StatementEmitter.java:40)
: at
org.apache.royale.compiler.internal.codegen.js.jx.StatementEmitter.emit(StatementEmitter.java:29)
: at
org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitStatement(JSEmitter.java:349)
: at
org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.emitStatement(JSRoyaleEmitter.java:1204)
: at
org.apache.royale.compiler.internal.codegen.as.ASBlockWalker.visitBlock(ASBlockWalker.java:349)
: at
org.apache.royale.compiler.internal.visitor.as.ASNodeSwitch.handle(ASNodeSwitch.java:278)
: at
org.apache.royale.compiler.internal.visitor.as.ASNodeHandler.handle(ASNodeHandler.java:85)
: at
org.apache.royale.compiler.internal.visitor.as.BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
: at
org.apache.royale.compiler.internal.codegen.as.ASBlockWalker.walk(ASBlockWalker.java:159)
: at
org.apache.royale.compiler.internal.codegen.as.ASEmitter.emitMethodScope(ASEmitter.java:830)
: at
org.apache.royale.compiler.internal.codegen.js.jx.MethodEmitter.emit(MethodEmitter.java:160)
: at
org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.emitMethod(JSRoyaleEmitter.java:891)
: at
org.apache.royale.compiler.internal.codegen.as.ASBlockWalker.visitFunction(ASBlockWalker.java:290)
: at
org.apache.royale.compiler.internal.visitor.as.ASNodeSwitch.handle(ASNodeSwitch.java:152)
: at
org.apache.royale.compiler.internal.visitor.as.ASNodeHandler.handle(ASNodeHandler.java:85)
: at
org.apache.royale.compiler.internal.visitor.as.BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
: at
org.apache.royale.compiler.internal.codegen.as.ASBlockWalker.walk(ASBlockWalker.java:159)
: at
org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmitter.emitScripts(MXMLRoyaleEmitter.java:2179)
: at
org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmitter.emitDocument(MXMLRoyaleEmitter.java:899)
: at
org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleBlockWalker.visitDocument(MXMLRoyaleBlockWalker.java:69)
: at
org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle(MXMLNodeSwitch.java:89)
: at
org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(MXMLBlockWalker.java:156)
: at
org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleBlockWalker.visitFile(MXMLRoyaleBlockWalker.java:61)
: at
org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle(MXMLNodeSwitch.java:95)
: at
org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(MXMLBlockWalker.java:156)
: at
org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.visitCompilationUnit(MXMLBlockWalker.java:187)
: at
org.apache.royale.compiler.internal.codegen.mxml.MXMLWriter.writeTo(MXMLWriter.java:69)
: at
org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:411)
: at
org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)
: at
org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)
: at
org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)
: at org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)
: at
org.apache.royale.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.java:256)
: at org.apache.royale.compiler.clients.MXMLJSC.main(MXMLJSC.java:238)
: Caused by: java.lang.ClassNotFoundException:
org.apache.commons.lang.StringEscapeUtils
: at
java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)
: at
java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
: at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
: ... 67 more
niedz., 21 lut 2021 o 18:57 Carlos Rovira <ca...@apache.org>
napisał(a):
> Hi,
>
> I worked today on this and finally could solve the problem. A part
> from Chris changes we need a bit more changes since all was set up
> from the compiler to use the old names. So class paths need to be changed too there.
> Also Google Closure compiler need to be in jar mode instead of unpacked.
>
> Now I can use CMD (or CTRL) + SHIFT + B and select Debug or Release
> option with Actionscript extension and all goes ok.
> When using CMD+ENTER I think VsCode use the experimental build in Josh
> extension and take the SDK in ROYALE_HOME, and since that's the one
> build in the repository with ANT all seems fine, but is not using the
> selected SDK, so the build is not using what you expect.
>
> This is my output now using the Maven Distribution SDK:
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *> Executing task in folder TourDeJewel:
> /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin
> /java
> -jar
>
> /Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas-1
> .6.0/bin/asconfigc.jar --sdk
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven --debug=true
> --project
>
> /Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/TourD
> eJewel/asconfig.json
>
> <MXMLJSC+royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-m
> aven/frameworks--debug=true+configname=royale--targets=JSRoyale--sourc
> e-path+=src/main/resources--source-map=true--html-template=src/main/re
> sources/jewel-example-index-template.html--theme=${royalelib}/themes/J
> ewelTheme/src/main/resources/defaults.css-js-dynamic-access-unknown-me
> mbers=true--src/main/royale/App.mxmlThe
> project 'App' has been successfully compiled.12.80962843
> secondsTerminal will be reused by tasks, press any key to close it.*
>
>
>
>
>
>
> El sáb, 20 feb 2021 a las 18:16, Christofer Dutz (<
> christofer.dutz@c-ware.de>)
> escribió:
>
> > So I just did a video and posted it to the Royale slack channel ...
> >
> > I can't seem to reproduce the error ... perhaps if you check what
> > I'm doing you can tell me if I'm doing something wrong.
> > I did try to rule out that I might have not configured VSCode to use
> > my distribution by intentionally changing the settings to a wrong location.
> It
> > didn't work then, and when I changed it back to the correct version,
> > I could build again.
> >
> > Chris
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Carlos Rovira <ca...@apache.org>
> > Gesendet: Samstag, 20. Februar 2021 15:17
> > An: Apache Royale Development <de...@royale.apache.org>
> > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi,
> >
> > sorry, yesterday was mostly offline for some personal things. Many
> > things happen in this thread.
> > I rebuild all today and check. This is what I can report trying to
> > build TDJ with Maven SDK with Chris's changes.
> > Setting my VSCode with AS3&MXML to the Maven SDK just generated:
> >
> > 1.- I can't build with CMD+SHIFT+ENTER, then "Build Debug with AS3
> > Extension Tour de Jewel" (as josh said). I get :
> >
> > Executing task in folder TourDeJewel:
> >
> /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin
> /java
> > -jar
> >
> >
> /Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas-1
> .6.0/bin/asconfigc.jar
> > --sdk /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
> --debug=true
> > --project
> >
> /Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/TourD
> eJewel/asconfig.json
> > <
> >
> > Error: no se ha encontrado o cargado la clase principal
> > org.apache.royale.compiler.clients.MXMLJSC
> > The terminal process
> >
> >
> "/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bi
> n/java
> > '-jar',
> >
> >
> '/Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas-
> 1.6.0/bin/asconfigc.jar',
> > '--sdk', '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven',
> > '--debug=true', '--project',
> >
> >
> '/Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/TourDeJewel/asconfig.json'"
> > terminated with exit code: 1.
> >
> > Terminal will be reused by tasks, press any key to close it.
> >
> >
> > 2.- I can build with CMD+ENTER. I get:
> >
> > Royale Compiler Shell
> > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> > --source-path+=src/main/resources --source-map=true
> > --html-template=src/main/resources/jewel-example-index-template.html
> > --theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.c
> > ss -js-dynamic-access-unknown-members=true --
> > src/main/royale/App.mxml
> > fcsh: Assigned 1 as the compile target id The project 'App' has been
> > successfully compiled and optimized.
> > Compile status: 0
> > Elapsed time: 26.925719521 seconds
> > Feb 20, 2021 3:10:42 PM
> > com.google.javascript.jscomp.LoggerErrorManager
> > printSummary
> > INFO: 0 error(s), 0 warning(s), 97.8% typed
> > (fcsh)
> >
> > I don't understand fully the differences between one method and the
> > other and why I get different results. I guess know what's happening
> > is needed
> so
> > Chris can do the proper changes. probably there are paths and
> > locations mixed.
> >
> > @Chris, one thing I did in the past was to compare maven
> > distribution
> with
> > ant distribution so both has most of the things in the same place. I
> think
> > some files where left in more than one place (like mxmlc).
> >
> > If you could take a look at it, that will for sure fix the issue.
> > You
> have
> > TDJ and the other project to test if that works and now we know that
> > is better to try with CMD+SHIFT+ENTER, then "Build Debug with AS3
> > Extension Tour de Jewel"
> >
> >
> >
> >
> > El vie, 19 feb 2021 a las 18:45, Piotr Zarzycki (<
> > piotrzarzycki21@gmail.com>)
> > escribió:
> >
> > > It looks like something bad has happened with my environment. I
> > > changed lately Java settings a bit. You can see what is setup in
> > > my
> > stacktrace.
> > >
> > > I will get back to that over the weekend or on Monday.
> > >
> > > On Fri, 19 Feb 2021 at 18:24, Maria Jose Esteve
> > > <mj...@iest.com>
> > wrote:
> > >
> > > > Hi,
> > > > Piotr, I just tested your distribution with my project and the
> > > compilation
> > > > was successful, no errors.
> > > > Running the application seems to be working fine too.
> > > > (I compile the application with mvn)
> > > >
> > > > What do they need me to try now?
> > > >
> > > > Hiedra.
> > > > -----Mensaje original-----
> > > > De: Piotr Zarzycki <pi...@gmail.com> Enviado el:
> > > > viernes,
> > > > 19 de febrero de 2021 18:11
> > > > Para: Apache Royale Development <de...@royale.apache.org>
> > > > Asunto: Re: Align Maven IDE distribution with Ant IDE
> > > > distribution
> > > >
> > > > Did you test my distribution ?
> > > >
> > > > pt., 19 lut 2021 o 18:00 Christofer Dutz
> > > > <ch...@c-ware.de>
> > > > napisał(a):
> > > >
> > > > > So I did a bit more of testing.
> > > > >
> > > > > So after I had no issues building Carlos' example, I tried the
> > > > > TourDeJewl example.
> > > > > So I opened VSCode in the directory of TDJ example ... created
> > > > > a settings.json with the folowing content:
> > > > >
> > > > > {
> > > > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > > > }
> > > > >
> > > > > Hit STRG+Enter and waited a bit ...
> > > > >
> > > > > Then I opened the output in Chrome and have a fully
> > > > > functioning TDJ application.
> > > > >
> > > > > So I wouldn't consider the build broken.
> > > > >
> > > > > Chris
> > > > >
> > > > >
> > > > >
> > > > > -----Ursprüngliche Nachricht-----
> > > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > > Gesendet: Freitag, 19. Februar 2021 17:51
> > > > > An: dev@royale.apache.org
> > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > distribution
> > > > >
> > > > > Sure, that would be "expected", but like I told you: if I
> > > > > change it to MXRoyaleJS.swc, the app "does nonsense".
> > > > > Maybe something has gotten my way.
> > > > >
> > > > > I will read your messages and see if I can help with something.
> > > > >
> > > > > Hiedra.
> > > > > -----Mensaje original-----
> > > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > > > viernes,
> > > > > 19 de febrero de 2021 14:12
> > > > > Para: dev@royale.apache.org
> > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > distribution
> > > > >
> > > > > Hi Hiedra,
> > > > >
> > > > > well I changed the distribution to make the names like in the
> > > > > ANT distribution yesterday.
> > > > > But you are passing in an argument telling the compiler to use
> > > > > the old format and now it should be the new ...
> > > > >
> > > > > Try:
> > > > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> > > > > defaults.css; For -compiler.exclude-defaults-css-files =
> > MXRoyaleJS.swc:
> > > > > defaults.css;
> > > > >
> > > > > Instead of your variant.
> > > > >
> > > > > Chris
> > > > >
> > > > >
> > > > > -----Ursprüngliche Nachricht-----
> > > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > > Gesendet: Freitag, 19. Februar 2021 14:08
> > > > > An: dev@royale.apache.org
> > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > distribution
> > > > >
> > > > > Yes, until recently I also compiled only with Maven. Due to
> > > > > the problem with the spark.css I started to do the double
> > > > > compilation of
> > > > MAVEN and ANT.
> > > > >
> > > > > It's funny, now, the swc's are not generated with
> > > > > "xxxx-0.9.8-SNAPSHOT-js.swc" in the distribution BUT if in the
> > > > > pom of my project I change in additionalCompilerOptions:
> > > > > -compiler.exclude-defaults-css-files = MXRoyale - $
> > > > > {royale.framework.version} -js.swc: defaults.css; For
> > > > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> > > > > defaults.css; My application starts to do nonsense (for
> > > > > example the change of selectedContent in my
> > > > > ApplicationMainContent does not display)
> > > > >
> > > > > Chris, thank you.
> > > > > Hiedra
> > > > >
> > > > > -----Mensaje original-----
> > > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > > > viernes,
> > > > > 19 de febrero de 2021 13:09
> > > > > Para: dev@royale.apache.org
> > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > distribution
> > > > >
> > > > > Hi Hiedra,
> > > > >
> > > > > I have to admit that I've never used VSCode. Every time I do
> > > > > any development I usually use one of the JetBrains IDEs.
> > > > > Royale Stuff I do in IntelliJ ... with my "Flexmojos Hack" it
> > > > > can be used quite well. And I always compile with Maven.
> > > > >
> > > > > But thanks for the explanation on why the other path is set
> > > differently.
> > > > >
> > > > > I guess we'll have to wait till some others can tell me what
> > > > > needs to be changed.
> > > > >
> > > > > Chris
> > > > >
> > > > >
> > > > > -----Ursprüngliche Nachricht-----
> > > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > > Gesendet: Freitag, 19. Februar 2021 12:48
> > > > > An: dev@royale.apache.org
> > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > distribution
> > > > >
> > > > > Hello Chris,
> > > > > so that I can debug my changes in the SDK I need to set the
> > > > > path of the "as3mxml.sdk.editor" to the asjs directory of my
> > > > > fork, for this reason the path of the " as3mxml.sdk.framework"
> > > > > points to the directory of the maven distribution and the "as3mxml.sdk.editor"
> > > > > to
> > > code.
> > > > >
> > > > > ">> I'm not getting any errors from VSCode. But well ... if I
> > > > > hit
> > > > > SHIFT+Enter it starts doing something where if failed prior to
> > > > > SHIFT+my
> > > > > >> changes this morning and is no longer complaining, but it's
> > > > > >> also not
> > > > > doing much (I can't see it create a "bin" directory)"
> > > > >
> > > > > I don't quite understand this ... possibly because of my lack
> > > > > of
> > > > knowledge.
> > > > >
> > > > > I have not tried Carlos's project but this afternoon I will be
> > > > > able to do it and I will be able to give more details.
> > > > >
> > > > > Thx.
> > > > > Hiedra.
> > > > >
> > > > > -----Mensaje original-----
> > > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > > > viernes,
> > > > > 19 de febrero de 2021 11:51
> > > > > Para: dev@royale.apache.org
> > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > distribution
> > > > >
> > > > > Hi Heidra,
> > > > >
> > > > > I just updated Carlos' example to have the same type of
> > > > > setting (C:\\Temp\\RoyaleSDK is where I have my Maven build
> > > > > generate the
> > SDK):
> > > > >
> > > > > setings.js:
> > > > > {
> > > > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > > > }
> > > > >
> > > > > workspace-code-workspace
> > > > > {
> > > > > "folders": [
> > > > > {
> > > > > "path": ".."
> > > > > }
> > > > > ],
> > > > > "settings": {
> > > > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > > > }
> > > > > }
> > > > >
> > > > > I'm not getting any errors from VSCode. But well ... if I hit
> > > > > SHIFT+Enter it starts doing something where if failed prior to
> > > > > SHIFT+my
> > > > > changes this morning and is no longer complaining, but it's
> > > > > also not doing much (I can't see it create a "bin" directory)
> > > > >
> > > > > Chris
> > > > >
> > > > >
> > > > > -----Ursprüngliche Nachricht-----
> > > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > > Gesendet: Freitag, 19. Februar 2021 10:53
> > > > > An: dev@royale.apache.org
> > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > distribution
> > > > >
> > > > > If I don't compile with ANT, the mxml extension in vsCode IDE,
> > > > > it doesn't recognize the valid asjs directory for
> "as3mxml.sdk.editor":
> > > > > ...
> > > > > "settings": {
> > > > > "as3mxml.sdk.framework":
> > > > > "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
> > > > > "as3mxml.sdk.editor":
> > > > > "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs"
> > > > > <-------- [download folder repo royale-asjs]
> > > > > }
> > > > > }
> > > > >
> > > > > The error is:
> > > > > " as3mxml.sdk.editor in settings does not point to a valid SDK.
> > > > > Requires..."
> > > > >
> > > > > Thx.
> > > > > Hiedra.
> > > > >
> > > > > -----Mensaje original-----
> > > > > De: Piotr Zarzycki <pi...@gmail.com> Enviado el:
> > > > > viernes, 19 de febrero de 2021 10:44
> > > > > Para: Apache Royale Development <de...@royale.apache.org>
> > > > > Asunto: Re: Align Maven IDE distribution with Ant IDE
> > > > > distribution
> > > > >
> > > > > Hi Chris,
> > > > >
> > > > > I just tried your changes and I have same issue. I need to
> > > > > understand what has change enough significantly that it causes
> > > > > compilation fail in such way. It doesn't happen with SDK
> > > > > prepared
> by
> > ANT.
> > > > >
> > > > > Thanks,
> > > > > Piotr
> > > > >
> > > > > pt., 19 lut 2021 o 10:33 Maria Jose Esteve <mj...@iest.com>
> > > > napisał(a):
> > > > >
> > > > > > @Chris you're right, sorry, I didn't download your last commit.
> > > > > > I'm sorry.
> > > > > > Hiedra.
> > > > > >
> > > > > > -----Mensaje original-----
> > > > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > > > > viernes,
> > > > > > 19 de febrero de 2021 10:17
> > > > > > Para: dev@royale.apache.org
> > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > distribution
> > > > > >
> > > > > > I'll try to guess what you wanted to say here ...
> > > > > >
> > > > > > But I think these are exactly the changes I comitted a an
> > > > > > hour ago,
> > > > > right?
> > > > > > At least in general I replaced all the references to names
> > > > > > with versions to the changed ones.
> > > > > >
> > > > > >
> > > > > > Chris
> > > > > >
> > > > > >
> > > > > >
> > > > > > -----Ursprüngliche Nachricht-----
> > > > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > > > Gesendet: Freitag, 19. Februar 2021 10:01
> > > > > > An: dev@royale.apache.org
> > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > distribution
> > > > > >
> > > > > > Hi,
> > > > > > Mi distribución hace referencia en el fichero
> > > > > > "./frameworks/royale-config.xml" a las librerías:
> > > > > >
> > > > > > <js-external-library-path>
> > > > > >
> > > > > >
> > <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.
> > > > > > sw
> > > > > > c</path-element>
> > > > > >
> > > > > >
> > > > > <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-ty
> > > > > pede
> > > > > fs.s
> > > > > wc</path-element>
> > > > > > </js-external-library-path>
> > > > > >
> > > > > > Las correctas son:
> > > > > >
> > > > > > <js-external-library-path>
> > > > > >
> > > > <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> > > > > >
> > > > <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
> > > > > > </js-external-library-path>
> > > > > >
> > > > > > Hiedra
> > > > > >
> > > > > > -----Mensaje original-----
> > > > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > > > > viernes,
> > > > > > 19 de febrero de 2021 9:39
> > > > > > Para: dev@royale.apache.org
> > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > distribution
> > > > > >
> > > > > > Ok,
> > > > > >
> > > > > > so the config xml files in the distribution were still
> > > > > > pointing to the old names. I updated them all to now refer to the names.
> > > > > > I tried things in Carlos' demo project, and I'm no-longer
> > > > > > getting the errors, however compilation seems to take for ever.
> > > > > >
> > > > > > Please try out the changes and tell me if there are any
> > > > > > problems with
> > > > > them.
> > > > > >
> > > > > > Chris
> > > > > >
> > > > > > -----Ursprüngliche Nachricht-----
> > > > > > Von: Christofer Dutz <ch...@c-ware.de>
> > > > > > Gesendet: Donnerstag, 18. Februar 2021 23:17
> > > > > > An: dev@royale.apache.org
> > > > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > > > > > distribution
> > > > > >
> > > > > > Hi Carlos,
> > > > > >
> > > > > > I'll look into this tomorrow.
> > > > > >
> > > > > > Chris
> > > > > >
> > > > > > -----Ursprüngliche Nachricht-----
> > > > > > Von: Carlos Rovira <ca...@apache.org>
> > > > > > Gesendet: Donnerstag, 18. Februar 2021 17:49
> > > > > > An: Apache Royale Development <de...@royale.apache.org>
> > > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > > > distribution
> > > > > >
> > > > > > Hi, I think I talked very quickly, sorry, there seems to be
> > > > > > a
> > > problem.
> > > > > >
> > > > > > @Christofer Dutz <ch...@c-ware.de> you can
> > > > > > download this
> > > > > > project:
> > > > > >
> > > > > >
> > > > > > https://github.com/apache/royale-asjs/files/6004363/ToggleBu
> > > > > > tton
> > > > > > BarI
> > > > > > ss
> > > > > > ue.zip
> > > > > >
> > > > > > Then using VSCode with AS3&MXML and adding the Maven
> distribution.
> > > > > > Then hit CTRL+ENTER and you will get the following fail.
> > > > > > Using ANT distribution is working fine.
> > > > > > Can you take a look?
> > > > > >
> > > > > > Royale Compiler Shell
> > > > > > (fcsh) mxmlc --debug=false +configname=royale
> > > > > > --targets=JSRoyale --source-map=true
> > > > > > --html-template=src/html/jewel-example-index-template.html
> > > > > >
> > > > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphir
> > > > > > e-Th
> > > > > > eme/
> > > > > > sr
> > > > > > c/main/resources/defaults.css
> > > > > > --source-path+=src
> > > > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJ
> > > > > > --source-path+--library-path+S.sw c
> > > > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults
> > > > > > .css -js-dynamic-access-unknown-members=true -- src/App.mxml
> > > > > > fcsh: Assigned 1 as the compile target id The project 'App'
> > > > > > has been successfully compiled and optimized.
> > > > > > Compile status: 0
> > > > > > Elapsed time: 14.211105399 seconds Feb 18, 2021 5:43:40 PM
> > > > > > com.google.javascript.jscomp.LoggerErrorManager
> > > > > > printSummary
> > > > > > INFO: 0 error(s), 0 warning(s), 96.5% typed
> > > > > > (fcsh) quit
> > > > > > Compiler shell exited with code: 0 Royale Compiler Shell
> > > > > > (fcsh) mxmlc --debug=false +configname=royale
> > > > > > --targets=JSRoyale --source-map=true
> > > > > > --html-template=src/html/jewel-example-index-template.html
> > > > > >
> > > > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphir
> > > > > > e-Th
> > > > > > eme/
> > > > > > sr
> > > > > > c/main/resources/defaults.css
> > > > > > --source-path+=src
> > > > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJ
> > > > > > --source-path+--library-path+S.sw c
> > > > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults
> > > > > > .css -js-dynamic-access-unknown-members=true -- src/App.mxml
> > > > > > fcsh: Assigned 1 as the compile target id Compile status: 5
> > > > > > Elapsed
> > > > time:
> > > > > > 0.618407478 seconds
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > > > > > col: 0 Error: unable to open
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
> > > > > >
> > > > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/fram
> > > > > > ewor
> > > > > > ks/r
> > > > > > oy
> > > > > > ale-config.xml
> > > > > > (line: 81)
> > > > > >
> > > > > > </js-external-library-path>
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > > > > > col: 0 Error: unable to open
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
> > > > > >
> > > > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/fram
> > > > > > ewor
> > > > > > ks/r
> > > > > > oy
> > > > > > ale-config.xml
> > > > > > (line: 81)
> > > > > >
> > > > > > </js-external-library-path>
> > > > > > (fcsh)
> > > > > > Quick Compile failed. Errors in compiler output.
> > > > > >
> > > > > > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
> > > > > > (<ca...@apache.org>)
> > > > > > escribió:
> > > > > >
> > > > > > > Hi,
> > > > > > >
> > > > > > > I rebuilt all from scratch just now and finally the
> > > > > > > distribution too and tried in VSCode and all seems to work
> > > > > > > fine
> > for me.
> > > > > > >
> > > > > > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> > > > > > > christofer.dutz@c-ware.de>) escribió:
> > > > > > >
> > > > > > >> Hi Piotr,
> > > > > > >>
> > > > > > >> that class is located in lib\external\flex-tool-api.jar
> > > > > > >> At least in my distribution it's there and it contains the class.
> > > > > > >>
> > > > > > >> How are you calling the build that's failing?
> > > > > > >>
> > > > > > >> Chris
> > > > > > >>
> > > > > > >> -----Ursprüngliche Nachricht-----
> > > > > > >> Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> > > > > > >> An: Apache Royale Development <de...@royale.apache.org>
> > > > > > >> Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > > > >> distribution
> > > > > > >>
> > > > > > >> Chris,
> > > > > > >>
> > > > > > >> I just checked and I'm not able build project anymore
> > > > > > >> using
> > > > > > distribution:
> > > > > > >>
> > > > > > >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
> > > > > > >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
> > > > > > >> -Xms356m -Xmx3000m
> > > > > > >> : Error: Could not find or load main class
> > > > > > >> org.apache.royale.compiler.clients.MXMLJSC
> > > > > > >> : Caused by: java.lang.NoClassDefFoundError:
> > > > > > >> org/apache/flex/tools/FlexTool
> > > > > > >>
> > > > > > >> I'm done for today, so I will answer anything tomorrow.
> > > > > > >>
> > > > > > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
> > > > > > >> <ch...@c-ware.de>
> > > > > > >> napisał(a):
> > > > > > >>
> > > > > > >> > Ok ...
> > > > > > >> >
> > > > > > >> > so I just pushed another change. Now the distribution
> > > > > > >> > should also contain an empty spark.css, just like the
> > > > > > >> > Ant
> one.
> > > > > > >> >
> > > > > > >> > Chris
> > > > > > >> >
> > > > > > >> >
> > > > > > >> > -----Ursprüngliche Nachricht-----
> > > > > > >> > Von: Christofer Dutz <ch...@c-ware.de>
> > > > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> > > > > > >> > An: dev@royale.apache.org
> > > > > > >> > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > > > > > >> > distribution
> > > > > > >> >
> > > > > > >> > Ok,
> > > > > > >> >
> > > > > > >> > so that should now be fixed. Leaves the "spark.css"
> > > > > > >> > Having had a look, it seems as if the Ant build creates
> > > > > > >> > an empty
> > > > > > >> spark.css.
> > > > > > >> >
> > > > > > >> > Is this all we need? If yes, then I'll have that in
> > > > > > >> > ther in no
> > > > time.
> > > > > > >> >
> > > > > > >> > Chris
> > > > > > >> >
> > > > > > >> > -----Ursprüngliche Nachricht-----
> > > > > > >> > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> > > > > > >> > An: Apache Royale Development <de...@royale.apache.org>
> > > > > > >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > > > >> > distribution
> > > > > > >> >
> > > > > > >> > *(I assume that's in the "frameworks/js/libs"
> > > > > > >> > directory? *
> > > > > > >> >
> > > > > > >> > Yes this is the directory.
> > > > > > >> >
> > > > > > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> > > > > > >> > <ch...@c-ware.de>
> > > > > > >> > napisał(a):
> > > > > > >> >
> > > > > > >> > > Hi Piotr,
> > > > > > >> > >
> > > > > > >> > > Ok ... so Ant seems to be adding a "JS" to the end of
> > > > > > >> > > every name (I assume that's in the "frameworks/js/libs"
> > directory?
> > > > > > >> > >
> > > > > > >> > > Also I'll try to find out where the "spark.css"
> > > > > > >> > > should come from
> > > > > ...
> > > > > > >> > > and where it should go to.
> > > > > > >> > >
> > > > > > >> > > Chris
> > > > > > >> > >
> > > > > > >> > >
> > > > > > >> > > -----Ursprüngliche Nachricht-----
> > > > > > >> > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> > > > > > >> > > An: Apache Royale Development <de...@royale.apache.org>
> > > > > > >> > > Betreff: Re: Align Maven IDE distribution with Ant
> > > > > > >> > > IDE distribution
> > > > > > >> > >
> > > > > > >> > > Chris,
> > > > > > >> > >
> > > > > > >> > > Looks better but here is the comparision what I have
> > > > > > >> > > in Ant distribution vs Maven distribution in case of names.
> > > > > > >> > > On the left Ant distribution, on the right Maven. It
> > > > > > >> > > is
> > folder:
> > > > > > >> > > frameworks\js\libs\ [1]
> > > > > > >> > >
> > > > > > >> > > [1] https://ibb.co/W2DzcDb
> > > > > > >> > >
> > > > > > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> > > > > > >> > > <ch...@c-ware.de>
> > > > > > >> > > napisał(a):
> > > > > > >> > >
> > > > > > >> > > > And done ...
> > > > > > >> > > >
> > > > > > >> > > > Now all elements in the distribution only consist
> > > > > > >> > > > of their name and file-ending ... all versions and
> > > > > > >> > > > classifiers have been
> > > > > > removed.
> > > > > > >> > > > Please provide me with feedback on if this solves
> > > > > > >> > > > the
> > > issues.
> > > > > > >> > > >
> > > > > > >> > > > Chris
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > > -----Ursprüngliche Nachricht-----
> > > > > > >> > > > Von: Christofer Dutz <ch...@c-ware.de>
> > > > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> > > > > > >> > > > An: dev@royale.apache.org
> > > > > > >> > > > Betreff: AW: Align Maven IDE distribution with Ant
> > > > > > >> > > > IDE distribution
> > > > > > >> > > >
> > > > > > >> > > > I'll probably have a fix for that in a few minuntes ...
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > > Chris
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > > -----Ursprüngliche Nachricht-----
> > > > > > >> > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> > > > > > >> > > > An: Apache Royale Development
> > > > > > >> > > > <de...@royale.apache.org>
> > > > > > >> > > > Betreff: Re: Align Maven IDE distribution with Ant
> > > > > > >> > > > IDE distribution
> > > > > > >> > > >
> > > > > > >> > > > Chris,
> > > > > > >> > > >
> > > > > > >> > > > No it's not about not picking up by IDE at all.
> > > > > > >> > > > Moonshine and VSCode are able to build projects
> > > > > > >> > > > using Maven distribution package! It is about
> > > > > > >> > > > project which are mixed for example when user
> > > > > > >> > > > wanted to use Jewel module + RemoteObject class
> > > > > > >> > > > from MXRoyale module. In that case user need to
> > > > > > >> > > > point explicilty as a compiler options in IDE that
> > > > > > >> > > > he wanted to have SWC included and need to exclude
> > > > > > >> > > > css from that swc to
> > > > > > >> > > avoid problems.
> > > > > > >> > > >
> > > > > > >> > > > It is happen like that:
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.s
> > > > > > >> > > > wc
> > > > > > >> > > >
> > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> > > > > > >> > > > cs
> > > > > > >> > > > s
> > > > > > >> > > >
> > > > > > >> > > > If I would like to use maven distribution user need
> > > > > > >> > > > to know version for that compiler options. It is
> > > > > > >> > > > even more tricky when your swc is called
> > > > > > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> > > > > > >> > > >
> > > > > > >> > > >
> > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.
> > > > > > >> > > > cs
> > > > > > >> > > > s
> > > > > > >> > > >
> > > > > > >> > > > Thanks,
> > > > > > >> > > > Piotr
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> > > > > > >> > > > <ch...@c-ware.de>
> > > > > > >> > > > napisał(a):
> > > > > > >> > > >
> > > > > > >> > > > > Hi Piotr,
> > > > > > >> > > > >
> > > > > > >> > > > > And is really the version-suffix causing it to
> > > > > > >> > > > > not be picked up by the IDEs?
> > > > > > >> > > > >
> > > > > > >> > > > > Chris
> > > > > > >> > > > >
> > > > > > >> > > > > -----Ursprüngliche Nachricht-----
> > > > > > >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> > > > > > >> > > > > An: dev@royale.apache.org
> > > > > > >> > > > > Betreff: Re: Align Maven IDE distribution with
> > > > > > >> > > > > Ant IDE distribution
> > > > > > >> > > > >
> > > > > > >> > > > > Hi Chris,
> > > > > > >> > > > >
> > > > > > >> > > > > This is the only thing which seems to be a
> > > > > > >> > > > > constant problem
> > > > > > here.
> > > > > > >> > > > > I personally and some users will be much more
> > > > > > >> > > > > happy having that
> > > > > > >> > change.
> > > > > > >> > > > >
> > > > > > >> > > > > Thanks,
> > > > > > >> > > > > Piotr
> > > > > > >> > > > >
> > > > > > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> > > > > > >> > > > > <ch...@c-ware.de>
> > > > > > >> > > > > wrote:
> > > > > > >> > > > >
> > > > > > >> > > > > > Hi Piotr,
> > > > > > >> > > > > >
> > > > > > >> > > > > > I'd be happy to help with that.
> > > > > > >> > > > > >
> > > > > > >> > > > > > I did simply ask for a list of things that need
> > > > > > >> > > > > > to be changed in order to get things working,
> > > > > > >> > > > > > but never got said list, so I never knew what I
> > > > > > >> > > > > > could do to make the Maven distribution match
> > > > > > >> > > > > > up to the
> > > > > > >> > > > Ant built one.
> > > > > > >> > > > > >
> > > > > > >> > > > > > Chris
> > > > > > >> > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > > > -----Ursprüngliche Nachricht-----
> > > > > > >> > > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> > > > > > >> > > > > > An: Apache Royale Development
> > > > > > >> > > > > > <de...@royale.apache.org>
> > > > > > >> > > > > > Betreff: Align Maven IDE distribution with Ant
> > > > > > >> > > > > > IDE distribution
> > > > > > >> > > > > >
> > > > > > >> > > > > > Hi Guys,
> > > > > > >> > > > > >
> > > > > > >> > > > > > It's been couple of times when user complains
> > > > > > >> > > > > > that he have problems with using Maven
> > > > > > >> > > > > > distribution vs Ant distribution in IDE in a
> > > > > > >> > > > > > mixed project Jewel + MX/Spark
> > > > etc.
> > > > > > >> > > > > >
> > > > > > >> > > > > > Can we have that resolve once for all and
> > > > > > >> > > > > > adjust Maven distribution folder to produce
> > > > > > >> > > > > > proper names of
> > swcs ?
> > > > > > >> > > > > >
> > > > > > >> > > > > > Currently when I build Maven IDE distribution I
> have:
> > > > > > >> > > > > >
> > > > > > >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> > > > > > >> > > > > >
> > > > > > >> > > > > > When I build Ant IDE distribution I have:
> > > > > > >> > > > > >
> > > > > > >> > > > > > MXRoyale-js.swc
> > > > > > >> > > > > >
> > > > > > >> > > > > > Thanks,
> > > > > > >> > > > > > --
> > > > > > >> > > > > >
> > > > > > >> > > > > > Piotr Zarzycki
> > > > > > >> > > > > >
> > > > > > >> > > > > --
> > > > > > >> > > > >
> > > > > > >> > > > > Piotr Zarzycki
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > > --
> > > > > > >> > > >
> > > > > > >> > > > Piotr Zarzycki
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> > >
> > > > > > >> > > --
> > > > > > >> > >
> > > > > > >> > > Piotr Zarzycki
> > > > > > >> > >
> > > > > > >> >
> > > > > > >> >
> > > > > > >> > --
> > > > > > >> >
> > > > > > >> > Piotr Zarzycki
> > > > > > >> >
> > > > > > >>
> > > > > > >>
> > > > > > >> --
> > > > > > >>
> > > > > > >> Piotr Zarzycki
> > > > > > >>
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Carlos Rovira
> > > > > > > Apache Member & Apache Royale PMC *Apache Software
> > > > > > > Foundation* http://about.me/carlosrovira
> > > > > > >
> > > > > > >
> > > > > >
> > > > > > --
> > > > > > Carlos Rovira
> > > > > > Apache Member & Apache Royale PMC *Apache Software
> > > > > > Foundation* http://about.me/carlosrovira
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > >
> > > > > Piotr Zarzycki
> > > > >
> > > >
> > > >
> > > > --
> > > >
> > > > Piotr Zarzycki
> > > >
> > > --
> > >
> > > Piotr Zarzycki
> > >
> >
> >
> > --
> > Carlos Rovira
> > Apache Member & Apache Royale PMC
> > *Apache Software Foundation*
> > http://about.me/carlosrovira
> >
>
>
> --
> Carlos Rovira
> Apache Member & Apache Royale PMC
> *Apache Software Foundation*
> http://about.me/carlosrovira
>
--
Piotr Zarzycki
Re: Align Maven IDE distribution with Ant IDE distribution
Posted by Piotr Zarzycki <pi...@gmail.com>.
Hi Guys,
I just tried new distribution and I'm able to build simple example. However
our Royale project is not building - I'm getting following exception:
: Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/commons/lang/StringEscapeUtils
: at
org.apache.royale.compiler.internal.codegen.js.jx.LiteralEmitter.emit(LiteralEmitter.java:225)
: at
org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.emitLiteral(JSRoyaleEmitter.java:1040)
: at
org.apache.royale.compiler.internal.codegen.as.ASBlockWalker.visitLiteral(ASBlockWalker.java:479)
: at
org.apache.royale.compiler.internal.visitor.as.ASNodeSwitch.handle(ASNodeSwitch.java:373)
: at
org.apache.royale.compiler.internal.visitor.as.ASNodeHandler.handle(ASNodeHandler.java:85)
: at
org.apache.royale.compiler.internal.visitor.as.BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
: at
org.apache.royale.compiler.internal.codegen.as.ASBlockWalker.walk(ASBlockWalker.java:159)
: at
org.apache.royale.compiler.internal.codegen.js.goog.JSGoogEmitter.emitAssignedValue(JSGoogEmitter.java:965)
: at
org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitAssignmentCoercion(JSEmitter.java:917)
: at
org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.emitAssignmentCoercion(JSRoyaleEmitter.java:1558)
: at
org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgumentsEmitter.emitContents(FunctionCallArgumentsEmitter.java:103)
: at
org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgumentsEmitter.emit(FunctionCallArgumentsEmitter.java:50)
: at
org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallArgumentsEmitter.emit(FunctionCallArgumentsEmitter.java:35)
: at
org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitArguments(JSEmitter.java:259)
: at
org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.emitArguments(JSRoyaleEmitter.java:986)
: at
org.apache.royale.compiler.internal.codegen.js.jx.FunctionCallEmitter.emit(FunctionCallEmitter.java:693)
: at
org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.emitFunctionCall(JSRoyaleEmitter.java:906)
: at
org.apache.royale.compiler.internal.codegen.as.ASBlockWalker.visitFunctionCall(ASBlockWalker.java:330)
: at
org.apache.royale.compiler.internal.visitor.as.ASNodeSwitch.handle(ASNodeSwitch.java:207)
: at
org.apache.royale.compiler.internal.visitor.as.ASNodeHandler.handle(ASNodeHandler.java:85)
: at
org.apache.royale.compiler.internal.visitor.as.BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
: at
org.apache.royale.compiler.internal.codegen.as.ASBlockWalker.walk(ASBlockWalker.java:159)
: at
org.apache.royale.compiler.internal.codegen.js.goog.JSGoogEmitter.emitAssignedValue(JSGoogEmitter.java:965)
: at
org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitAssignmentCoercion(JSEmitter.java:917)
: at
org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.emitAssignmentCoercion(JSRoyaleEmitter.java:1558)
: at
org.apache.royale.compiler.internal.codegen.js.jx.BinaryOperatorEmitter.super_emitBinaryOperator(BinaryOperatorEmitter.java:598)
: at
org.apache.royale.compiler.internal.codegen.js.jx.BinaryOperatorEmitter.emit(BinaryOperatorEmitter.java:500)
: at
org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.emitBinaryOperator(JSRoyaleEmitter.java:1028)
: at
org.apache.royale.compiler.internal.codegen.as.ASBlockWalker.visitBinaryOperator(ASBlockWalker.java:538)
: at
org.apache.royale.compiler.internal.visitor.as.ASNodeSwitch.handle(ASNodeSwitch.java:348)
: at
org.apache.royale.compiler.internal.visitor.as.ASNodeHandler.handle(ASNodeHandler.java:85)
: at
org.apache.royale.compiler.internal.visitor.as.BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
: at
org.apache.royale.compiler.internal.codegen.as.ASBlockWalker.walk(ASBlockWalker.java:159)
: at
org.apache.royale.compiler.internal.codegen.js.jx.StatementEmitter.emit(StatementEmitter.java:40)
: at
org.apache.royale.compiler.internal.codegen.js.jx.StatementEmitter.emit(StatementEmitter.java:29)
: at
org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitStatement(JSEmitter.java:349)
: at
org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.emitStatement(JSRoyaleEmitter.java:1204)
: at
org.apache.royale.compiler.internal.codegen.as.ASBlockWalker.visitBlock(ASBlockWalker.java:349)
: at
org.apache.royale.compiler.internal.visitor.as.ASNodeSwitch.handle(ASNodeSwitch.java:278)
: at
org.apache.royale.compiler.internal.visitor.as.ASNodeHandler.handle(ASNodeHandler.java:85)
: at
org.apache.royale.compiler.internal.visitor.as.BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
: at
org.apache.royale.compiler.internal.codegen.as.ASBlockWalker.walk(ASBlockWalker.java:159)
: at
org.apache.royale.compiler.internal.codegen.as.ASEmitter.emitMethodScope(ASEmitter.java:830)
: at
org.apache.royale.compiler.internal.codegen.js.jx.MethodEmitter.emit(MethodEmitter.java:160)
: at
org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.emitMethod(JSRoyaleEmitter.java:891)
: at
org.apache.royale.compiler.internal.codegen.as.ASBlockWalker.visitFunction(ASBlockWalker.java:290)
: at
org.apache.royale.compiler.internal.visitor.as.ASNodeSwitch.handle(ASNodeSwitch.java:152)
: at
org.apache.royale.compiler.internal.visitor.as.ASNodeHandler.handle(ASNodeHandler.java:85)
: at
org.apache.royale.compiler.internal.visitor.as.BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
: at
org.apache.royale.compiler.internal.codegen.as.ASBlockWalker.walk(ASBlockWalker.java:159)
: at
org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmitter.emitScripts(MXMLRoyaleEmitter.java:2179)
: at
org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleEmitter.emitDocument(MXMLRoyaleEmitter.java:899)
: at
org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleBlockWalker.visitDocument(MXMLRoyaleBlockWalker.java:69)
: at
org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle(MXMLNodeSwitch.java:89)
: at
org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(MXMLBlockWalker.java:156)
: at
org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyaleBlockWalker.visitFile(MXMLRoyaleBlockWalker.java:61)
: at
org.apache.royale.compiler.internal.visitor.mxml.MXMLNodeSwitch.handle(MXMLNodeSwitch.java:95)
: at
org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.walk(MXMLBlockWalker.java:156)
: at
org.apache.royale.compiler.internal.codegen.mxml.MXMLBlockWalker.visitCompilationUnit(MXMLBlockWalker.java:187)
: at
org.apache.royale.compiler.internal.codegen.mxml.MXMLWriter.writeTo(MXMLWriter.java:69)
: at
org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:411)
: at
org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)
: at
org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)
: at
org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)
: at org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)
: at
org.apache.royale.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.java:256)
: at org.apache.royale.compiler.clients.MXMLJSC.main(MXMLJSC.java:238)
: Caused by: java.lang.ClassNotFoundException:
org.apache.commons.lang.StringEscapeUtils
: at
java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)
: at
java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
: at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
: ... 67 more
niedz., 21 lut 2021 o 18:57 Carlos Rovira <ca...@apache.org>
napisał(a):
> Hi,
>
> I worked today on this and finally could solve the problem. A part from
> Chris changes we need a bit more changes since all was set up from the
> compiler to use the old names. So class paths need to be changed too there.
> Also Google Closure compiler need to be in jar mode instead of unpacked.
>
> Now I can use CMD (or CTRL) + SHIFT + B and select Debug or Release option
> with Actionscript extension and all goes ok.
> When using CMD+ENTER I think VsCode use the experimental build in Josh
> extension and take the SDK in ROYALE_HOME, and since that's the one build
> in the repository with ANT all seems fine, but is not using the selected
> SDK, so the build is not using what you expect.
>
> This is my output now using the Maven Distribution SDK:
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *> Executing task in folder TourDeJewel:
> /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin/java
> -jar
>
> /Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas-1.6.0/bin/asconfigc.jar
> --sdk /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven --debug=true
> --project
>
> /Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/TourDeJewel/asconfig.json
>
> <MXMLJSC+royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks--debug=true+configname=royale--targets=JSRoyale--source-path+=src/main/resources--source-map=true--html-template=src/main/resources/jewel-example-index-template.html--theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css-js-dynamic-access-unknown-members=true--src/main/royale/App.mxmlThe
> project 'App' has been successfully compiled.12.80962843 secondsTerminal
> will be reused by tasks, press any key to close it.*
>
>
>
>
>
>
> El sáb, 20 feb 2021 a las 18:16, Christofer Dutz (<
> christofer.dutz@c-ware.de>)
> escribió:
>
> > So I just did a video and posted it to the Royale slack channel ...
> >
> > I can't seem to reproduce the error ... perhaps if you check what I'm
> > doing you can tell me if I'm doing something wrong.
> > I did try to rule out that I might have not configured VSCode to use my
> > distribution by intentionally changing the settings to a wrong location.
> It
> > didn't work then, and when I changed it back to the correct version, I
> > could build again.
> >
> > Chris
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Carlos Rovira <ca...@apache.org>
> > Gesendet: Samstag, 20. Februar 2021 15:17
> > An: Apache Royale Development <de...@royale.apache.org>
> > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi,
> >
> > sorry, yesterday was mostly offline for some personal things. Many things
> > happen in this thread.
> > I rebuild all today and check. This is what I can report trying to build
> > TDJ with Maven SDK with Chris's changes.
> > Setting my VSCode with AS3&MXML to the Maven SDK just generated:
> >
> > 1.- I can't build with CMD+SHIFT+ENTER, then "Build Debug with AS3
> > Extension Tour de Jewel" (as josh said). I get :
> >
> > Executing task in folder TourDeJewel:
> >
> /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin/java
> > -jar
> >
> >
> /Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas-1.6.0/bin/asconfigc.jar
> > --sdk /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
> --debug=true
> > --project
> >
> /Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/TourDeJewel/asconfig.json
> > <
> >
> > Error: no se ha encontrado o cargado la clase principal
> > org.apache.royale.compiler.clients.MXMLJSC
> > The terminal process
> >
> >
> "/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin/java
> > '-jar',
> >
> >
> '/Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas-1.6.0/bin/asconfigc.jar',
> > '--sdk', '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven',
> > '--debug=true', '--project',
> >
> >
> '/Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/TourDeJewel/asconfig.json'"
> > terminated with exit code: 1.
> >
> > Terminal will be reused by tasks, press any key to close it.
> >
> >
> > 2.- I can build with CMD+ENTER. I get:
> >
> > Royale Compiler Shell
> > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> > --source-path+=src/main/resources --source-map=true
> > --html-template=src/main/resources/jewel-example-index-template.html
> > --theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css
> > -js-dynamic-access-unknown-members=true -- src/main/royale/App.mxml
> > fcsh: Assigned 1 as the compile target id The project 'App' has been
> > successfully compiled and optimized.
> > Compile status: 0
> > Elapsed time: 26.925719521 seconds
> > Feb 20, 2021 3:10:42 PM com.google.javascript.jscomp.LoggerErrorManager
> > printSummary
> > INFO: 0 error(s), 0 warning(s), 97.8% typed
> > (fcsh)
> >
> > I don't understand fully the differences between one method and the other
> > and why I get different results. I guess know what's happening is needed
> so
> > Chris can do the proper changes. probably there are paths and locations
> > mixed.
> >
> > @Chris, one thing I did in the past was to compare maven distribution
> with
> > ant distribution so both has most of the things in the same place. I
> think
> > some files where left in more than one place (like mxmlc).
> >
> > If you could take a look at it, that will for sure fix the issue. You
> have
> > TDJ and the other project to test if that works and now we know that is
> > better to try with CMD+SHIFT+ENTER, then "Build Debug with AS3 Extension
> > Tour de Jewel"
> >
> >
> >
> >
> > El vie, 19 feb 2021 a las 18:45, Piotr Zarzycki (<
> > piotrzarzycki21@gmail.com>)
> > escribió:
> >
> > > It looks like something bad has happened with my environment. I
> > > changed lately Java settings a bit. You can see what is setup in my
> > stacktrace.
> > >
> > > I will get back to that over the weekend or on Monday.
> > >
> > > On Fri, 19 Feb 2021 at 18:24, Maria Jose Esteve <mj...@iest.com>
> > wrote:
> > >
> > > > Hi,
> > > > Piotr, I just tested your distribution with my project and the
> > > compilation
> > > > was successful, no errors.
> > > > Running the application seems to be working fine too.
> > > > (I compile the application with mvn)
> > > >
> > > > What do they need me to try now?
> > > >
> > > > Hiedra.
> > > > -----Mensaje original-----
> > > > De: Piotr Zarzycki <pi...@gmail.com> Enviado el: viernes,
> > > > 19 de febrero de 2021 18:11
> > > > Para: Apache Royale Development <de...@royale.apache.org>
> > > > Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
> > > >
> > > > Did you test my distribution ?
> > > >
> > > > pt., 19 lut 2021 o 18:00 Christofer Dutz <ch...@c-ware.de>
> > > > napisał(a):
> > > >
> > > > > So I did a bit more of testing.
> > > > >
> > > > > So after I had no issues building Carlos' example, I tried the
> > > > > TourDeJewl example.
> > > > > So I opened VSCode in the directory of TDJ example ... created a
> > > > > settings.json with the folowing content:
> > > > >
> > > > > {
> > > > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > > > }
> > > > >
> > > > > Hit STRG+Enter and waited a bit ...
> > > > >
> > > > > Then I opened the output in Chrome and have a fully functioning
> > > > > TDJ application.
> > > > >
> > > > > So I wouldn't consider the build broken.
> > > > >
> > > > > Chris
> > > > >
> > > > >
> > > > >
> > > > > -----Ursprüngliche Nachricht-----
> > > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > > Gesendet: Freitag, 19. Februar 2021 17:51
> > > > > An: dev@royale.apache.org
> > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > distribution
> > > > >
> > > > > Sure, that would be "expected", but like I told you: if I change
> > > > > it to MXRoyaleJS.swc, the app "does nonsense".
> > > > > Maybe something has gotten my way.
> > > > >
> > > > > I will read your messages and see if I can help with something.
> > > > >
> > > > > Hiedra.
> > > > > -----Mensaje original-----
> > > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > > > viernes,
> > > > > 19 de febrero de 2021 14:12
> > > > > Para: dev@royale.apache.org
> > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> > > > >
> > > > > Hi Hiedra,
> > > > >
> > > > > well I changed the distribution to make the names like in the ANT
> > > > > distribution yesterday.
> > > > > But you are passing in an argument telling the compiler to use the
> > > > > old format and now it should be the new ...
> > > > >
> > > > > Try:
> > > > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> > > > > defaults.css; For -compiler.exclude-defaults-css-files =
> > MXRoyaleJS.swc:
> > > > > defaults.css;
> > > > >
> > > > > Instead of your variant.
> > > > >
> > > > > Chris
> > > > >
> > > > >
> > > > > -----Ursprüngliche Nachricht-----
> > > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > > Gesendet: Freitag, 19. Februar 2021 14:08
> > > > > An: dev@royale.apache.org
> > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > distribution
> > > > >
> > > > > Yes, until recently I also compiled only with Maven. Due to the
> > > > > problem with the spark.css I started to do the double compilation
> > > > > of
> > > > MAVEN and ANT.
> > > > >
> > > > > It's funny, now, the swc's are not generated with
> > > > > "xxxx-0.9.8-SNAPSHOT-js.swc" in the distribution BUT if in the pom
> > > > > of my project I change in additionalCompilerOptions:
> > > > > -compiler.exclude-defaults-css-files = MXRoyale - $
> > > > > {royale.framework.version} -js.swc: defaults.css; For
> > > > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> > > > > defaults.css; My application starts to do nonsense (for example
> > > > > the change of selectedContent in my ApplicationMainContent does
> > > > > not display)
> > > > >
> > > > > Chris, thank you.
> > > > > Hiedra
> > > > >
> > > > > -----Mensaje original-----
> > > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > > > viernes,
> > > > > 19 de febrero de 2021 13:09
> > > > > Para: dev@royale.apache.org
> > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> > > > >
> > > > > Hi Hiedra,
> > > > >
> > > > > I have to admit that I've never used VSCode. Every time I do any
> > > > > development I usually use one of the JetBrains IDEs.
> > > > > Royale Stuff I do in IntelliJ ... with my "Flexmojos Hack" it can
> > > > > be used quite well. And I always compile with Maven.
> > > > >
> > > > > But thanks for the explanation on why the other path is set
> > > differently.
> > > > >
> > > > > I guess we'll have to wait till some others can tell me what needs
> > > > > to be changed.
> > > > >
> > > > > Chris
> > > > >
> > > > >
> > > > > -----Ursprüngliche Nachricht-----
> > > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > > Gesendet: Freitag, 19. Februar 2021 12:48
> > > > > An: dev@royale.apache.org
> > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > distribution
> > > > >
> > > > > Hello Chris,
> > > > > so that I can debug my changes in the SDK I need to set the path
> > > > > of the "as3mxml.sdk.editor" to the asjs directory of my fork, for
> > > > > this reason the path of the " as3mxml.sdk.framework" points to the
> > > > > directory of the maven distribution and the "as3mxml.sdk.editor"
> > > > > to
> > > code.
> > > > >
> > > > > ">> I'm not getting any errors from VSCode. But well ... if I hit
> > > > > SHIFT+Enter it starts doing something where if failed prior to my
> > > > > >> changes this morning and is no longer complaining, but it's
> > > > > >> also not
> > > > > doing much (I can't see it create a "bin" directory)"
> > > > >
> > > > > I don't quite understand this ... possibly because of my lack of
> > > > knowledge.
> > > > >
> > > > > I have not tried Carlos's project but this afternoon I will be
> > > > > able to do it and I will be able to give more details.
> > > > >
> > > > > Thx.
> > > > > Hiedra.
> > > > >
> > > > > -----Mensaje original-----
> > > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > > > viernes,
> > > > > 19 de febrero de 2021 11:51
> > > > > Para: dev@royale.apache.org
> > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> > > > >
> > > > > Hi Heidra,
> > > > >
> > > > > I just updated Carlos' example to have the same type of setting
> > > > > (C:\\Temp\\RoyaleSDK is where I have my Maven build generate the
> > SDK):
> > > > >
> > > > > setings.js:
> > > > > {
> > > > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > > > }
> > > > >
> > > > > workspace-code-workspace
> > > > > {
> > > > > "folders": [
> > > > > {
> > > > > "path": ".."
> > > > > }
> > > > > ],
> > > > > "settings": {
> > > > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > > > }
> > > > > }
> > > > >
> > > > > I'm not getting any errors from VSCode. But well ... if I hit
> > > > > SHIFT+Enter it starts doing something where if failed prior to my
> > > > > changes this morning and is no longer complaining, but it's also
> > > > > not doing much (I can't see it create a "bin" directory)
> > > > >
> > > > > Chris
> > > > >
> > > > >
> > > > > -----Ursprüngliche Nachricht-----
> > > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > > Gesendet: Freitag, 19. Februar 2021 10:53
> > > > > An: dev@royale.apache.org
> > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > distribution
> > > > >
> > > > > If I don't compile with ANT, the mxml extension in vsCode IDE, it
> > > > > doesn't recognize the valid asjs directory for
> "as3mxml.sdk.editor":
> > > > > ...
> > > > > "settings": {
> > > > > "as3mxml.sdk.framework":
> > > > > "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
> > > > > "as3mxml.sdk.editor":
> > > > > "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs" <--------
> > > > > [download folder repo royale-asjs]
> > > > > }
> > > > > }
> > > > >
> > > > > The error is:
> > > > > " as3mxml.sdk.editor in settings does not point to a valid SDK.
> > > > > Requires..."
> > > > >
> > > > > Thx.
> > > > > Hiedra.
> > > > >
> > > > > -----Mensaje original-----
> > > > > De: Piotr Zarzycki <pi...@gmail.com> Enviado el:
> > > > > viernes, 19 de febrero de 2021 10:44
> > > > > Para: Apache Royale Development <de...@royale.apache.org>
> > > > > Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
> > > > >
> > > > > Hi Chris,
> > > > >
> > > > > I just tried your changes and I have same issue. I need to
> > > > > understand what has change enough significantly that it causes
> > > > > compilation fail in such way. It doesn't happen with SDK prepared
> by
> > ANT.
> > > > >
> > > > > Thanks,
> > > > > Piotr
> > > > >
> > > > > pt., 19 lut 2021 o 10:33 Maria Jose Esteve <mj...@iest.com>
> > > > napisał(a):
> > > > >
> > > > > > @Chris you're right, sorry, I didn't download your last commit.
> > > > > > I'm sorry.
> > > > > > Hiedra.
> > > > > >
> > > > > > -----Mensaje original-----
> > > > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > > > > viernes,
> > > > > > 19 de febrero de 2021 10:17
> > > > > > Para: dev@royale.apache.org
> > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > distribution
> > > > > >
> > > > > > I'll try to guess what you wanted to say here ...
> > > > > >
> > > > > > But I think these are exactly the changes I comitted a an hour
> > > > > > ago,
> > > > > right?
> > > > > > At least in general I replaced all the references to names with
> > > > > > versions to the changed ones.
> > > > > >
> > > > > >
> > > > > > Chris
> > > > > >
> > > > > >
> > > > > >
> > > > > > -----Ursprüngliche Nachricht-----
> > > > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > > > Gesendet: Freitag, 19. Februar 2021 10:01
> > > > > > An: dev@royale.apache.org
> > > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > > distribution
> > > > > >
> > > > > > Hi,
> > > > > > Mi distribución hace referencia en el fichero
> > > > > > "./frameworks/royale-config.xml" a las librerías:
> > > > > >
> > > > > > <js-external-library-path>
> > > > > >
> > > > > >
> > <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.
> > > > > > sw
> > > > > > c</path-element>
> > > > > >
> > > > > >
> > > > > <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typede
> > > > > fs.s
> > > > > wc</path-element>
> > > > > > </js-external-library-path>
> > > > > >
> > > > > > Las correctas son:
> > > > > >
> > > > > > <js-external-library-path>
> > > > > >
> > > > <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> > > > > >
> > > > <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
> > > > > > </js-external-library-path>
> > > > > >
> > > > > > Hiedra
> > > > > >
> > > > > > -----Mensaje original-----
> > > > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > > > > viernes,
> > > > > > 19 de febrero de 2021 9:39
> > > > > > Para: dev@royale.apache.org
> > > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > > distribution
> > > > > >
> > > > > > Ok,
> > > > > >
> > > > > > so the config xml files in the distribution were still pointing
> > > > > > to the old names. I updated them all to now refer to the names.
> > > > > > I tried things in Carlos' demo project, and I'm no-longer
> > > > > > getting the errors, however compilation seems to take for ever.
> > > > > >
> > > > > > Please try out the changes and tell me if there are any problems
> > > > > > with
> > > > > them.
> > > > > >
> > > > > > Chris
> > > > > >
> > > > > > -----Ursprüngliche Nachricht-----
> > > > > > Von: Christofer Dutz <ch...@c-ware.de>
> > > > > > Gesendet: Donnerstag, 18. Februar 2021 23:17
> > > > > > An: dev@royale.apache.org
> > > > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > > > > > distribution
> > > > > >
> > > > > > Hi Carlos,
> > > > > >
> > > > > > I'll look into this tomorrow.
> > > > > >
> > > > > > Chris
> > > > > >
> > > > > > -----Ursprüngliche Nachricht-----
> > > > > > Von: Carlos Rovira <ca...@apache.org>
> > > > > > Gesendet: Donnerstag, 18. Februar 2021 17:49
> > > > > > An: Apache Royale Development <de...@royale.apache.org>
> > > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > > > distribution
> > > > > >
> > > > > > Hi, I think I talked very quickly, sorry, there seems to be a
> > > problem.
> > > > > >
> > > > > > @Christofer Dutz <ch...@c-ware.de> you can download
> > > > > > this
> > > > > > project:
> > > > > >
> > > > > >
> > > > > > https://github.com/apache/royale-asjs/files/6004363/ToggleButton
> > > > > > BarI
> > > > > > ss
> > > > > > ue.zip
> > > > > >
> > > > > > Then using VSCode with AS3&MXML and adding the Maven
> distribution.
> > > > > > Then hit CTRL+ENTER and you will get the following fail. Using
> > > > > > ANT distribution is working fine.
> > > > > > Can you take a look?
> > > > > >
> > > > > > Royale Compiler Shell
> > > > > > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> > > > > > --source-map=true
> > > > > > --html-template=src/html/jewel-example-index-template.html
> > > > > >
> > > > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Th
> > > > > > eme/
> > > > > > sr
> > > > > > c/main/resources/defaults.css
> > > > > > --source-path+=src
> > > > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJS.sw
> > > > > > --source-path+--library-path+c
> > > > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> > > > > > -js-dynamic-access-unknown-members=true -- src/App.mxml
> > > > > > fcsh: Assigned 1 as the compile target id The project 'App' has
> > > > > > been successfully compiled and optimized.
> > > > > > Compile status: 0
> > > > > > Elapsed time: 14.211105399 seconds Feb 18, 2021 5:43:40 PM
> > > > > > com.google.javascript.jscomp.LoggerErrorManager
> > > > > > printSummary
> > > > > > INFO: 0 error(s), 0 warning(s), 96.5% typed
> > > > > > (fcsh) quit
> > > > > > Compiler shell exited with code: 0 Royale Compiler Shell
> > > > > > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> > > > > > --source-map=true
> > > > > > --html-template=src/html/jewel-example-index-template.html
> > > > > >
> > > > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Th
> > > > > > eme/
> > > > > > sr
> > > > > > c/main/resources/defaults.css
> > > > > > --source-path+=src
> > > > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJS.sw
> > > > > > --source-path+--library-path+c
> > > > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> > > > > > -js-dynamic-access-unknown-members=true -- src/App.mxml
> > > > > > fcsh: Assigned 1 as the compile target id Compile status: 5
> > > > > > Elapsed
> > > > time:
> > > > > > 0.618407478 seconds
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > > > > > col: 0 Error: unable to open
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
> > > > > >
> > > > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/framewor
> > > > > > ks/r
> > > > > > oy
> > > > > > ale-config.xml
> > > > > > (line: 81)
> > > > > >
> > > > > > </js-external-library-path>
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > > > > > col: 0 Error: unable to open
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
> > > > > >
> > > > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/framewor
> > > > > > ks/r
> > > > > > oy
> > > > > > ale-config.xml
> > > > > > (line: 81)
> > > > > >
> > > > > > </js-external-library-path>
> > > > > > (fcsh)
> > > > > > Quick Compile failed. Errors in compiler output.
> > > > > >
> > > > > > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
> > > > > > (<ca...@apache.org>)
> > > > > > escribió:
> > > > > >
> > > > > > > Hi,
> > > > > > >
> > > > > > > I rebuilt all from scratch just now and finally the
> > > > > > > distribution too and tried in VSCode and all seems to work fine
> > for me.
> > > > > > >
> > > > > > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> > > > > > > christofer.dutz@c-ware.de>) escribió:
> > > > > > >
> > > > > > >> Hi Piotr,
> > > > > > >>
> > > > > > >> that class is located in lib\external\flex-tool-api.jar At
> > > > > > >> least in my distribution it's there and it contains the class.
> > > > > > >>
> > > > > > >> How are you calling the build that's failing?
> > > > > > >>
> > > > > > >> Chris
> > > > > > >>
> > > > > > >> -----Ursprüngliche Nachricht-----
> > > > > > >> Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> > > > > > >> An: Apache Royale Development <de...@royale.apache.org>
> > > > > > >> Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > > > >> distribution
> > > > > > >>
> > > > > > >> Chris,
> > > > > > >>
> > > > > > >> I just checked and I'm not able build project anymore using
> > > > > > distribution:
> > > > > > >>
> > > > > > >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
> > > > > > >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m
> > > > > > >> -Xmx3000m
> > > > > > >> : Error: Could not find or load main class
> > > > > > >> org.apache.royale.compiler.clients.MXMLJSC
> > > > > > >> : Caused by: java.lang.NoClassDefFoundError:
> > > > > > >> org/apache/flex/tools/FlexTool
> > > > > > >>
> > > > > > >> I'm done for today, so I will answer anything tomorrow.
> > > > > > >>
> > > > > > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
> > > > > > >> <ch...@c-ware.de>
> > > > > > >> napisał(a):
> > > > > > >>
> > > > > > >> > Ok ...
> > > > > > >> >
> > > > > > >> > so I just pushed another change. Now the distribution
> > > > > > >> > should also contain an empty spark.css, just like the Ant
> one.
> > > > > > >> >
> > > > > > >> > Chris
> > > > > > >> >
> > > > > > >> >
> > > > > > >> > -----Ursprüngliche Nachricht-----
> > > > > > >> > Von: Christofer Dutz <ch...@c-ware.de>
> > > > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> > > > > > >> > An: dev@royale.apache.org
> > > > > > >> > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > > > > > >> > distribution
> > > > > > >> >
> > > > > > >> > Ok,
> > > > > > >> >
> > > > > > >> > so that should now be fixed. Leaves the "spark.css"
> > > > > > >> > Having had a look, it seems as if the Ant build creates an
> > > > > > >> > empty
> > > > > > >> spark.css.
> > > > > > >> >
> > > > > > >> > Is this all we need? If yes, then I'll have that in ther in
> > > > > > >> > no
> > > > time.
> > > > > > >> >
> > > > > > >> > Chris
> > > > > > >> >
> > > > > > >> > -----Ursprüngliche Nachricht-----
> > > > > > >> > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> > > > > > >> > An: Apache Royale Development <de...@royale.apache.org>
> > > > > > >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > > > >> > distribution
> > > > > > >> >
> > > > > > >> > *(I assume that's in the "frameworks/js/libs" directory? *
> > > > > > >> >
> > > > > > >> > Yes this is the directory.
> > > > > > >> >
> > > > > > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> > > > > > >> > <ch...@c-ware.de>
> > > > > > >> > napisał(a):
> > > > > > >> >
> > > > > > >> > > Hi Piotr,
> > > > > > >> > >
> > > > > > >> > > Ok ... so Ant seems to be adding a "JS" to the end of
> > > > > > >> > > every name (I assume that's in the "frameworks/js/libs"
> > directory?
> > > > > > >> > >
> > > > > > >> > > Also I'll try to find out where the "spark.css" should
> > > > > > >> > > come from
> > > > > ...
> > > > > > >> > > and where it should go to.
> > > > > > >> > >
> > > > > > >> > > Chris
> > > > > > >> > >
> > > > > > >> > >
> > > > > > >> > > -----Ursprüngliche Nachricht-----
> > > > > > >> > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> > > > > > >> > > An: Apache Royale Development <de...@royale.apache.org>
> > > > > > >> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > > > >> > > distribution
> > > > > > >> > >
> > > > > > >> > > Chris,
> > > > > > >> > >
> > > > > > >> > > Looks better but here is the comparision what I have in
> > > > > > >> > > Ant distribution vs Maven distribution in case of names.
> > > > > > >> > > On the left Ant distribution, on the right Maven. It is
> > folder:
> > > > > > >> > > frameworks\js\libs\ [1]
> > > > > > >> > >
> > > > > > >> > > [1] https://ibb.co/W2DzcDb
> > > > > > >> > >
> > > > > > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> > > > > > >> > > <ch...@c-ware.de>
> > > > > > >> > > napisał(a):
> > > > > > >> > >
> > > > > > >> > > > And done ...
> > > > > > >> > > >
> > > > > > >> > > > Now all elements in the distribution only consist of
> > > > > > >> > > > their name and file-ending ... all versions and
> > > > > > >> > > > classifiers have been
> > > > > > removed.
> > > > > > >> > > > Please provide me with feedback on if this solves the
> > > issues.
> > > > > > >> > > >
> > > > > > >> > > > Chris
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > > -----Ursprüngliche Nachricht-----
> > > > > > >> > > > Von: Christofer Dutz <ch...@c-ware.de>
> > > > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> > > > > > >> > > > An: dev@royale.apache.org
> > > > > > >> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > > > > > >> > > > distribution
> > > > > > >> > > >
> > > > > > >> > > > I'll probably have a fix for that in a few minuntes ...
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > > Chris
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > > -----Ursprüngliche Nachricht-----
> > > > > > >> > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> > > > > > >> > > > An: Apache Royale Development <de...@royale.apache.org>
> > > > > > >> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > > > >> > > > distribution
> > > > > > >> > > >
> > > > > > >> > > > Chris,
> > > > > > >> > > >
> > > > > > >> > > > No it's not about not picking up by IDE at all.
> > > > > > >> > > > Moonshine and VSCode are able to build projects using
> > > > > > >> > > > Maven distribution package! It is about project which
> > > > > > >> > > > are mixed for example when user wanted to use Jewel
> > > > > > >> > > > module + RemoteObject class from MXRoyale module. In
> > > > > > >> > > > that case user need to point explicilty as a compiler
> > > > > > >> > > > options in IDE that he wanted to have SWC included and
> > > > > > >> > > > need to exclude css from that swc to
> > > > > > >> > > avoid problems.
> > > > > > >> > > >
> > > > > > >> > > > It is happen like that:
> > > > > > >> > > >
> > > > > > >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > > > > >> > > >
> > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> > > > > > >> > > > cs
> > > > > > >> > > > s
> > > > > > >> > > >
> > > > > > >> > > > If I would like to use maven distribution user need to
> > > > > > >> > > > know version for that compiler options. It is even more
> > > > > > >> > > > tricky when your swc is called
> > > > > > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> > > > > > >> > > >
> > > > > > >> > > >
> > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.
> > > > > > >> > > > cs
> > > > > > >> > > > s
> > > > > > >> > > >
> > > > > > >> > > > Thanks,
> > > > > > >> > > > Piotr
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> > > > > > >> > > > <ch...@c-ware.de>
> > > > > > >> > > > napisał(a):
> > > > > > >> > > >
> > > > > > >> > > > > Hi Piotr,
> > > > > > >> > > > >
> > > > > > >> > > > > And is really the version-suffix causing it to not be
> > > > > > >> > > > > picked up by the IDEs?
> > > > > > >> > > > >
> > > > > > >> > > > > Chris
> > > > > > >> > > > >
> > > > > > >> > > > > -----Ursprüngliche Nachricht-----
> > > > > > >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> > > > > > >> > > > > An: dev@royale.apache.org
> > > > > > >> > > > > Betreff: Re: Align Maven IDE distribution with Ant
> > > > > > >> > > > > IDE distribution
> > > > > > >> > > > >
> > > > > > >> > > > > Hi Chris,
> > > > > > >> > > > >
> > > > > > >> > > > > This is the only thing which seems to be a constant
> > > > > > >> > > > > problem
> > > > > > here.
> > > > > > >> > > > > I personally and some users will be much more happy
> > > > > > >> > > > > having that
> > > > > > >> > change.
> > > > > > >> > > > >
> > > > > > >> > > > > Thanks,
> > > > > > >> > > > > Piotr
> > > > > > >> > > > >
> > > > > > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> > > > > > >> > > > > <ch...@c-ware.de>
> > > > > > >> > > > > wrote:
> > > > > > >> > > > >
> > > > > > >> > > > > > Hi Piotr,
> > > > > > >> > > > > >
> > > > > > >> > > > > > I'd be happy to help with that.
> > > > > > >> > > > > >
> > > > > > >> > > > > > I did simply ask for a list of things that need to
> > > > > > >> > > > > > be changed in order to get things working, but
> > > > > > >> > > > > > never got said list, so I never knew what I could
> > > > > > >> > > > > > do to make the Maven distribution match up to the
> > > > > > >> > > > Ant built one.
> > > > > > >> > > > > >
> > > > > > >> > > > > > Chris
> > > > > > >> > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > > > -----Ursprüngliche Nachricht-----
> > > > > > >> > > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> > > > > > >> > > > > > An: Apache Royale Development
> > > > > > >> > > > > > <de...@royale.apache.org>
> > > > > > >> > > > > > Betreff: Align Maven IDE distribution with Ant IDE
> > > > > > >> > > > > > distribution
> > > > > > >> > > > > >
> > > > > > >> > > > > > Hi Guys,
> > > > > > >> > > > > >
> > > > > > >> > > > > > It's been couple of times when user complains that
> > > > > > >> > > > > > he have problems with using Maven distribution vs
> > > > > > >> > > > > > Ant distribution in IDE in a mixed project Jewel +
> > > > > > >> > > > > > MX/Spark
> > > > etc.
> > > > > > >> > > > > >
> > > > > > >> > > > > > Can we have that resolve once for all and adjust
> > > > > > >> > > > > > Maven distribution folder to produce proper names of
> > swcs ?
> > > > > > >> > > > > >
> > > > > > >> > > > > > Currently when I build Maven IDE distribution I
> have:
> > > > > > >> > > > > >
> > > > > > >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> > > > > > >> > > > > >
> > > > > > >> > > > > > When I build Ant IDE distribution I have:
> > > > > > >> > > > > >
> > > > > > >> > > > > > MXRoyale-js.swc
> > > > > > >> > > > > >
> > > > > > >> > > > > > Thanks,
> > > > > > >> > > > > > --
> > > > > > >> > > > > >
> > > > > > >> > > > > > Piotr Zarzycki
> > > > > > >> > > > > >
> > > > > > >> > > > > --
> > > > > > >> > > > >
> > > > > > >> > > > > Piotr Zarzycki
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > > --
> > > > > > >> > > >
> > > > > > >> > > > Piotr Zarzycki
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> > >
> > > > > > >> > > --
> > > > > > >> > >
> > > > > > >> > > Piotr Zarzycki
> > > > > > >> > >
> > > > > > >> >
> > > > > > >> >
> > > > > > >> > --
> > > > > > >> >
> > > > > > >> > Piotr Zarzycki
> > > > > > >> >
> > > > > > >>
> > > > > > >>
> > > > > > >> --
> > > > > > >>
> > > > > > >> Piotr Zarzycki
> > > > > > >>
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Carlos Rovira
> > > > > > > Apache Member & Apache Royale PMC *Apache Software Foundation*
> > > > > > > http://about.me/carlosrovira
> > > > > > >
> > > > > > >
> > > > > >
> > > > > > --
> > > > > > Carlos Rovira
> > > > > > Apache Member & Apache Royale PMC *Apache Software Foundation*
> > > > > > http://about.me/carlosrovira
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > >
> > > > > Piotr Zarzycki
> > > > >
> > > >
> > > >
> > > > --
> > > >
> > > > Piotr Zarzycki
> > > >
> > > --
> > >
> > > Piotr Zarzycki
> > >
> >
> >
> > --
> > Carlos Rovira
> > Apache Member & Apache Royale PMC
> > *Apache Software Foundation*
> > http://about.me/carlosrovira
> >
>
>
> --
> Carlos Rovira
> Apache Member & Apache Royale PMC
> *Apache Software Foundation*
> http://about.me/carlosrovira
>
--
Piotr Zarzycki
Re: Align Maven IDE distribution with Ant IDE distribution
Posted by Carlos Rovira <ca...@apache.org>.
Hi,
I worked today on this and finally could solve the problem. A part from
Chris changes we need a bit more changes since all was set up from the
compiler to use the old names. So class paths need to be changed too there.
Also Google Closure compiler need to be in jar mode instead of unpacked.
Now I can use CMD (or CTRL) + SHIFT + B and select Debug or Release option
with Actionscript extension and all goes ok.
When using CMD+ENTER I think VsCode use the experimental build in Josh
extension and take the SDK in ROYALE_HOME, and since that's the one build
in the repository with ANT all seems fine, but is not using the selected
SDK, so the build is not using what you expect.
This is my output now using the Maven Distribution SDK:
*> Executing task in folder TourDeJewel:
/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin/java
-jar
/Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas-1.6.0/bin/asconfigc.jar
--sdk /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven --debug=true
--project
/Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/TourDeJewel/asconfig.json
<MXMLJSC+royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks--debug=true+configname=royale--targets=JSRoyale--source-path+=src/main/resources--source-map=true--html-template=src/main/resources/jewel-example-index-template.html--theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css-js-dynamic-access-unknown-members=true--src/main/royale/App.mxmlThe
project 'App' has been successfully compiled.12.80962843 secondsTerminal
will be reused by tasks, press any key to close it.*
El sáb, 20 feb 2021 a las 18:16, Christofer Dutz (<ch...@c-ware.de>)
escribió:
> So I just did a video and posted it to the Royale slack channel ...
>
> I can't seem to reproduce the error ... perhaps if you check what I'm
> doing you can tell me if I'm doing something wrong.
> I did try to rule out that I might have not configured VSCode to use my
> distribution by intentionally changing the settings to a wrong location. It
> didn't work then, and when I changed it back to the correct version, I
> could build again.
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Carlos Rovira <ca...@apache.org>
> Gesendet: Samstag, 20. Februar 2021 15:17
> An: Apache Royale Development <de...@royale.apache.org>
> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>
> Hi,
>
> sorry, yesterday was mostly offline for some personal things. Many things
> happen in this thread.
> I rebuild all today and check. This is what I can report trying to build
> TDJ with Maven SDK with Chris's changes.
> Setting my VSCode with AS3&MXML to the Maven SDK just generated:
>
> 1.- I can't build with CMD+SHIFT+ENTER, then "Build Debug with AS3
> Extension Tour de Jewel" (as josh said). I get :
>
> Executing task in folder TourDeJewel:
> /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin/java
> -jar
>
> /Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas-1.6.0/bin/asconfigc.jar
> --sdk /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven --debug=true
> --project
> /Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/TourDeJewel/asconfig.json
> <
>
> Error: no se ha encontrado o cargado la clase principal
> org.apache.royale.compiler.clients.MXMLJSC
> The terminal process
>
> "/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin/java
> '-jar',
>
> '/Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas-1.6.0/bin/asconfigc.jar',
> '--sdk', '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven',
> '--debug=true', '--project',
>
> '/Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/TourDeJewel/asconfig.json'"
> terminated with exit code: 1.
>
> Terminal will be reused by tasks, press any key to close it.
>
>
> 2.- I can build with CMD+ENTER. I get:
>
> Royale Compiler Shell
> (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> --source-path+=src/main/resources --source-map=true
> --html-template=src/main/resources/jewel-example-index-template.html
> --theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css
> -js-dynamic-access-unknown-members=true -- src/main/royale/App.mxml
> fcsh: Assigned 1 as the compile target id The project 'App' has been
> successfully compiled and optimized.
> Compile status: 0
> Elapsed time: 26.925719521 seconds
> Feb 20, 2021 3:10:42 PM com.google.javascript.jscomp.LoggerErrorManager
> printSummary
> INFO: 0 error(s), 0 warning(s), 97.8% typed
> (fcsh)
>
> I don't understand fully the differences between one method and the other
> and why I get different results. I guess know what's happening is needed so
> Chris can do the proper changes. probably there are paths and locations
> mixed.
>
> @Chris, one thing I did in the past was to compare maven distribution with
> ant distribution so both has most of the things in the same place. I think
> some files where left in more than one place (like mxmlc).
>
> If you could take a look at it, that will for sure fix the issue. You have
> TDJ and the other project to test if that works and now we know that is
> better to try with CMD+SHIFT+ENTER, then "Build Debug with AS3 Extension
> Tour de Jewel"
>
>
>
>
> El vie, 19 feb 2021 a las 18:45, Piotr Zarzycki (<
> piotrzarzycki21@gmail.com>)
> escribió:
>
> > It looks like something bad has happened with my environment. I
> > changed lately Java settings a bit. You can see what is setup in my
> stacktrace.
> >
> > I will get back to that over the weekend or on Monday.
> >
> > On Fri, 19 Feb 2021 at 18:24, Maria Jose Esteve <mj...@iest.com>
> wrote:
> >
> > > Hi,
> > > Piotr, I just tested your distribution with my project and the
> > compilation
> > > was successful, no errors.
> > > Running the application seems to be working fine too.
> > > (I compile the application with mvn)
> > >
> > > What do they need me to try now?
> > >
> > > Hiedra.
> > > -----Mensaje original-----
> > > De: Piotr Zarzycki <pi...@gmail.com> Enviado el: viernes,
> > > 19 de febrero de 2021 18:11
> > > Para: Apache Royale Development <de...@royale.apache.org>
> > > Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > Did you test my distribution ?
> > >
> > > pt., 19 lut 2021 o 18:00 Christofer Dutz <ch...@c-ware.de>
> > > napisał(a):
> > >
> > > > So I did a bit more of testing.
> > > >
> > > > So after I had no issues building Carlos' example, I tried the
> > > > TourDeJewl example.
> > > > So I opened VSCode in the directory of TDJ example ... created a
> > > > settings.json with the folowing content:
> > > >
> > > > {
> > > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > > }
> > > >
> > > > Hit STRG+Enter and waited a bit ...
> > > >
> > > > Then I opened the output in Chrome and have a fully functioning
> > > > TDJ application.
> > > >
> > > > So I wouldn't consider the build broken.
> > > >
> > > > Chris
> > > >
> > > >
> > > >
> > > > -----Ursprüngliche Nachricht-----
> > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > Gesendet: Freitag, 19. Februar 2021 17:51
> > > > An: dev@royale.apache.org
> > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > distribution
> > > >
> > > > Sure, that would be "expected", but like I told you: if I change
> > > > it to MXRoyaleJS.swc, the app "does nonsense".
> > > > Maybe something has gotten my way.
> > > >
> > > > I will read your messages and see if I can help with something.
> > > >
> > > > Hiedra.
> > > > -----Mensaje original-----
> > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > > viernes,
> > > > 19 de febrero de 2021 14:12
> > > > Para: dev@royale.apache.org
> > > > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> > > >
> > > > Hi Hiedra,
> > > >
> > > > well I changed the distribution to make the names like in the ANT
> > > > distribution yesterday.
> > > > But you are passing in an argument telling the compiler to use the
> > > > old format and now it should be the new ...
> > > >
> > > > Try:
> > > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> > > > defaults.css; For -compiler.exclude-defaults-css-files =
> MXRoyaleJS.swc:
> > > > defaults.css;
> > > >
> > > > Instead of your variant.
> > > >
> > > > Chris
> > > >
> > > >
> > > > -----Ursprüngliche Nachricht-----
> > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > Gesendet: Freitag, 19. Februar 2021 14:08
> > > > An: dev@royale.apache.org
> > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > distribution
> > > >
> > > > Yes, until recently I also compiled only with Maven. Due to the
> > > > problem with the spark.css I started to do the double compilation
> > > > of
> > > MAVEN and ANT.
> > > >
> > > > It's funny, now, the swc's are not generated with
> > > > "xxxx-0.9.8-SNAPSHOT-js.swc" in the distribution BUT if in the pom
> > > > of my project I change in additionalCompilerOptions:
> > > > -compiler.exclude-defaults-css-files = MXRoyale - $
> > > > {royale.framework.version} -js.swc: defaults.css; For
> > > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> > > > defaults.css; My application starts to do nonsense (for example
> > > > the change of selectedContent in my ApplicationMainContent does
> > > > not display)
> > > >
> > > > Chris, thank you.
> > > > Hiedra
> > > >
> > > > -----Mensaje original-----
> > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > > viernes,
> > > > 19 de febrero de 2021 13:09
> > > > Para: dev@royale.apache.org
> > > > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> > > >
> > > > Hi Hiedra,
> > > >
> > > > I have to admit that I've never used VSCode. Every time I do any
> > > > development I usually use one of the JetBrains IDEs.
> > > > Royale Stuff I do in IntelliJ ... with my "Flexmojos Hack" it can
> > > > be used quite well. And I always compile with Maven.
> > > >
> > > > But thanks for the explanation on why the other path is set
> > differently.
> > > >
> > > > I guess we'll have to wait till some others can tell me what needs
> > > > to be changed.
> > > >
> > > > Chris
> > > >
> > > >
> > > > -----Ursprüngliche Nachricht-----
> > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > Gesendet: Freitag, 19. Februar 2021 12:48
> > > > An: dev@royale.apache.org
> > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > distribution
> > > >
> > > > Hello Chris,
> > > > so that I can debug my changes in the SDK I need to set the path
> > > > of the "as3mxml.sdk.editor" to the asjs directory of my fork, for
> > > > this reason the path of the " as3mxml.sdk.framework" points to the
> > > > directory of the maven distribution and the "as3mxml.sdk.editor"
> > > > to
> > code.
> > > >
> > > > ">> I'm not getting any errors from VSCode. But well ... if I hit
> > > > SHIFT+Enter it starts doing something where if failed prior to my
> > > > >> changes this morning and is no longer complaining, but it's
> > > > >> also not
> > > > doing much (I can't see it create a "bin" directory)"
> > > >
> > > > I don't quite understand this ... possibly because of my lack of
> > > knowledge.
> > > >
> > > > I have not tried Carlos's project but this afternoon I will be
> > > > able to do it and I will be able to give more details.
> > > >
> > > > Thx.
> > > > Hiedra.
> > > >
> > > > -----Mensaje original-----
> > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > > viernes,
> > > > 19 de febrero de 2021 11:51
> > > > Para: dev@royale.apache.org
> > > > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> > > >
> > > > Hi Heidra,
> > > >
> > > > I just updated Carlos' example to have the same type of setting
> > > > (C:\\Temp\\RoyaleSDK is where I have my Maven build generate the
> SDK):
> > > >
> > > > setings.js:
> > > > {
> > > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > > }
> > > >
> > > > workspace-code-workspace
> > > > {
> > > > "folders": [
> > > > {
> > > > "path": ".."
> > > > }
> > > > ],
> > > > "settings": {
> > > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > > }
> > > > }
> > > >
> > > > I'm not getting any errors from VSCode. But well ... if I hit
> > > > SHIFT+Enter it starts doing something where if failed prior to my
> > > > changes this morning and is no longer complaining, but it's also
> > > > not doing much (I can't see it create a "bin" directory)
> > > >
> > > > Chris
> > > >
> > > >
> > > > -----Ursprüngliche Nachricht-----
> > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > Gesendet: Freitag, 19. Februar 2021 10:53
> > > > An: dev@royale.apache.org
> > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > distribution
> > > >
> > > > If I don't compile with ANT, the mxml extension in vsCode IDE, it
> > > > doesn't recognize the valid asjs directory for "as3mxml.sdk.editor":
> > > > ...
> > > > "settings": {
> > > > "as3mxml.sdk.framework":
> > > > "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
> > > > "as3mxml.sdk.editor":
> > > > "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs" <--------
> > > > [download folder repo royale-asjs]
> > > > }
> > > > }
> > > >
> > > > The error is:
> > > > " as3mxml.sdk.editor in settings does not point to a valid SDK.
> > > > Requires..."
> > > >
> > > > Thx.
> > > > Hiedra.
> > > >
> > > > -----Mensaje original-----
> > > > De: Piotr Zarzycki <pi...@gmail.com> Enviado el:
> > > > viernes, 19 de febrero de 2021 10:44
> > > > Para: Apache Royale Development <de...@royale.apache.org>
> > > > Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
> > > >
> > > > Hi Chris,
> > > >
> > > > I just tried your changes and I have same issue. I need to
> > > > understand what has change enough significantly that it causes
> > > > compilation fail in such way. It doesn't happen with SDK prepared by
> ANT.
> > > >
> > > > Thanks,
> > > > Piotr
> > > >
> > > > pt., 19 lut 2021 o 10:33 Maria Jose Esteve <mj...@iest.com>
> > > napisał(a):
> > > >
> > > > > @Chris you're right, sorry, I didn't download your last commit.
> > > > > I'm sorry.
> > > > > Hiedra.
> > > > >
> > > > > -----Mensaje original-----
> > > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > > > viernes,
> > > > > 19 de febrero de 2021 10:17
> > > > > Para: dev@royale.apache.org
> > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > distribution
> > > > >
> > > > > I'll try to guess what you wanted to say here ...
> > > > >
> > > > > But I think these are exactly the changes I comitted a an hour
> > > > > ago,
> > > > right?
> > > > > At least in general I replaced all the references to names with
> > > > > versions to the changed ones.
> > > > >
> > > > >
> > > > > Chris
> > > > >
> > > > >
> > > > >
> > > > > -----Ursprüngliche Nachricht-----
> > > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > > Gesendet: Freitag, 19. Februar 2021 10:01
> > > > > An: dev@royale.apache.org
> > > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > > distribution
> > > > >
> > > > > Hi,
> > > > > Mi distribución hace referencia en el fichero
> > > > > "./frameworks/royale-config.xml" a las librerías:
> > > > >
> > > > > <js-external-library-path>
> > > > >
> > > > >
> <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.
> > > > > sw
> > > > > c</path-element>
> > > > >
> > > > >
> > > > <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typede
> > > > fs.s
> > > > wc</path-element>
> > > > > </js-external-library-path>
> > > > >
> > > > > Las correctas son:
> > > > >
> > > > > <js-external-library-path>
> > > > >
> > > <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> > > > >
> > > <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
> > > > > </js-external-library-path>
> > > > >
> > > > > Hiedra
> > > > >
> > > > > -----Mensaje original-----
> > > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > > > viernes,
> > > > > 19 de febrero de 2021 9:39
> > > > > Para: dev@royale.apache.org
> > > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > > distribution
> > > > >
> > > > > Ok,
> > > > >
> > > > > so the config xml files in the distribution were still pointing
> > > > > to the old names. I updated them all to now refer to the names.
> > > > > I tried things in Carlos' demo project, and I'm no-longer
> > > > > getting the errors, however compilation seems to take for ever.
> > > > >
> > > > > Please try out the changes and tell me if there are any problems
> > > > > with
> > > > them.
> > > > >
> > > > > Chris
> > > > >
> > > > > -----Ursprüngliche Nachricht-----
> > > > > Von: Christofer Dutz <ch...@c-ware.de>
> > > > > Gesendet: Donnerstag, 18. Februar 2021 23:17
> > > > > An: dev@royale.apache.org
> > > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > > > > distribution
> > > > >
> > > > > Hi Carlos,
> > > > >
> > > > > I'll look into this tomorrow.
> > > > >
> > > > > Chris
> > > > >
> > > > > -----Ursprüngliche Nachricht-----
> > > > > Von: Carlos Rovira <ca...@apache.org>
> > > > > Gesendet: Donnerstag, 18. Februar 2021 17:49
> > > > > An: Apache Royale Development <de...@royale.apache.org>
> > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > > distribution
> > > > >
> > > > > Hi, I think I talked very quickly, sorry, there seems to be a
> > problem.
> > > > >
> > > > > @Christofer Dutz <ch...@c-ware.de> you can download
> > > > > this
> > > > > project:
> > > > >
> > > > >
> > > > > https://github.com/apache/royale-asjs/files/6004363/ToggleButton
> > > > > BarI
> > > > > ss
> > > > > ue.zip
> > > > >
> > > > > Then using VSCode with AS3&MXML and adding the Maven distribution.
> > > > > Then hit CTRL+ENTER and you will get the following fail. Using
> > > > > ANT distribution is working fine.
> > > > > Can you take a look?
> > > > >
> > > > > Royale Compiler Shell
> > > > > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> > > > > --source-map=true
> > > > > --html-template=src/html/jewel-example-index-template.html
> > > > >
> > > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Th
> > > > > eme/
> > > > > sr
> > > > > c/main/resources/defaults.css
> > > > > --source-path+=src
> > > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJS.sw
> > > > > --source-path+--library-path+c
> > > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> > > > > -js-dynamic-access-unknown-members=true -- src/App.mxml
> > > > > fcsh: Assigned 1 as the compile target id The project 'App' has
> > > > > been successfully compiled and optimized.
> > > > > Compile status: 0
> > > > > Elapsed time: 14.211105399 seconds Feb 18, 2021 5:43:40 PM
> > > > > com.google.javascript.jscomp.LoggerErrorManager
> > > > > printSummary
> > > > > INFO: 0 error(s), 0 warning(s), 96.5% typed
> > > > > (fcsh) quit
> > > > > Compiler shell exited with code: 0 Royale Compiler Shell
> > > > > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> > > > > --source-map=true
> > > > > --html-template=src/html/jewel-example-index-template.html
> > > > >
> > > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Th
> > > > > eme/
> > > > > sr
> > > > > c/main/resources/defaults.css
> > > > > --source-path+=src
> > > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJS.sw
> > > > > --source-path+--library-path+c
> > > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> > > > > -js-dynamic-access-unknown-members=true -- src/App.mxml
> > > > > fcsh: Assigned 1 as the compile target id Compile status: 5
> > > > > Elapsed
> > > time:
> > > > > 0.618407478 seconds
> > > > >
> > > > >
> > > >
> > >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > > > > col: 0 Error: unable to open
> > > > >
> > > > >
> > > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
> > > > >
> > > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/framewor
> > > > > ks/r
> > > > > oy
> > > > > ale-config.xml
> > > > > (line: 81)
> > > > >
> > > > > </js-external-library-path>
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > > > > col: 0 Error: unable to open
> > > > >
> > > > >
> > > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
> > > > >
> > > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/framewor
> > > > > ks/r
> > > > > oy
> > > > > ale-config.xml
> > > > > (line: 81)
> > > > >
> > > > > </js-external-library-path>
> > > > > (fcsh)
> > > > > Quick Compile failed. Errors in compiler output.
> > > > >
> > > > > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
> > > > > (<ca...@apache.org>)
> > > > > escribió:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > I rebuilt all from scratch just now and finally the
> > > > > > distribution too and tried in VSCode and all seems to work fine
> for me.
> > > > > >
> > > > > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> > > > > > christofer.dutz@c-ware.de>) escribió:
> > > > > >
> > > > > >> Hi Piotr,
> > > > > >>
> > > > > >> that class is located in lib\external\flex-tool-api.jar At
> > > > > >> least in my distribution it's there and it contains the class.
> > > > > >>
> > > > > >> How are you calling the build that's failing?
> > > > > >>
> > > > > >> Chris
> > > > > >>
> > > > > >> -----Ursprüngliche Nachricht-----
> > > > > >> Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> > > > > >> An: Apache Royale Development <de...@royale.apache.org>
> > > > > >> Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > > >> distribution
> > > > > >>
> > > > > >> Chris,
> > > > > >>
> > > > > >> I just checked and I'm not able build project anymore using
> > > > > distribution:
> > > > > >>
> > > > > >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
> > > > > >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m
> > > > > >> -Xmx3000m
> > > > > >> : Error: Could not find or load main class
> > > > > >> org.apache.royale.compiler.clients.MXMLJSC
> > > > > >> : Caused by: java.lang.NoClassDefFoundError:
> > > > > >> org/apache/flex/tools/FlexTool
> > > > > >>
> > > > > >> I'm done for today, so I will answer anything tomorrow.
> > > > > >>
> > > > > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
> > > > > >> <ch...@c-ware.de>
> > > > > >> napisał(a):
> > > > > >>
> > > > > >> > Ok ...
> > > > > >> >
> > > > > >> > so I just pushed another change. Now the distribution
> > > > > >> > should also contain an empty spark.css, just like the Ant one.
> > > > > >> >
> > > > > >> > Chris
> > > > > >> >
> > > > > >> >
> > > > > >> > -----Ursprüngliche Nachricht-----
> > > > > >> > Von: Christofer Dutz <ch...@c-ware.de>
> > > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> > > > > >> > An: dev@royale.apache.org
> > > > > >> > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > > > > >> > distribution
> > > > > >> >
> > > > > >> > Ok,
> > > > > >> >
> > > > > >> > so that should now be fixed. Leaves the "spark.css"
> > > > > >> > Having had a look, it seems as if the Ant build creates an
> > > > > >> > empty
> > > > > >> spark.css.
> > > > > >> >
> > > > > >> > Is this all we need? If yes, then I'll have that in ther in
> > > > > >> > no
> > > time.
> > > > > >> >
> > > > > >> > Chris
> > > > > >> >
> > > > > >> > -----Ursprüngliche Nachricht-----
> > > > > >> > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> > > > > >> > An: Apache Royale Development <de...@royale.apache.org>
> > > > > >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > > >> > distribution
> > > > > >> >
> > > > > >> > *(I assume that's in the "frameworks/js/libs" directory? *
> > > > > >> >
> > > > > >> > Yes this is the directory.
> > > > > >> >
> > > > > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> > > > > >> > <ch...@c-ware.de>
> > > > > >> > napisał(a):
> > > > > >> >
> > > > > >> > > Hi Piotr,
> > > > > >> > >
> > > > > >> > > Ok ... so Ant seems to be adding a "JS" to the end of
> > > > > >> > > every name (I assume that's in the "frameworks/js/libs"
> directory?
> > > > > >> > >
> > > > > >> > > Also I'll try to find out where the "spark.css" should
> > > > > >> > > come from
> > > > ...
> > > > > >> > > and where it should go to.
> > > > > >> > >
> > > > > >> > > Chris
> > > > > >> > >
> > > > > >> > >
> > > > > >> > > -----Ursprüngliche Nachricht-----
> > > > > >> > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> > > > > >> > > An: Apache Royale Development <de...@royale.apache.org>
> > > > > >> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > > >> > > distribution
> > > > > >> > >
> > > > > >> > > Chris,
> > > > > >> > >
> > > > > >> > > Looks better but here is the comparision what I have in
> > > > > >> > > Ant distribution vs Maven distribution in case of names.
> > > > > >> > > On the left Ant distribution, on the right Maven. It is
> folder:
> > > > > >> > > frameworks\js\libs\ [1]
> > > > > >> > >
> > > > > >> > > [1] https://ibb.co/W2DzcDb
> > > > > >> > >
> > > > > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> > > > > >> > > <ch...@c-ware.de>
> > > > > >> > > napisał(a):
> > > > > >> > >
> > > > > >> > > > And done ...
> > > > > >> > > >
> > > > > >> > > > Now all elements in the distribution only consist of
> > > > > >> > > > their name and file-ending ... all versions and
> > > > > >> > > > classifiers have been
> > > > > removed.
> > > > > >> > > > Please provide me with feedback on if this solves the
> > issues.
> > > > > >> > > >
> > > > > >> > > > Chris
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > > -----Ursprüngliche Nachricht-----
> > > > > >> > > > Von: Christofer Dutz <ch...@c-ware.de>
> > > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> > > > > >> > > > An: dev@royale.apache.org
> > > > > >> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > > > > >> > > > distribution
> > > > > >> > > >
> > > > > >> > > > I'll probably have a fix for that in a few minuntes ...
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > > Chris
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > > -----Ursprüngliche Nachricht-----
> > > > > >> > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> > > > > >> > > > An: Apache Royale Development <de...@royale.apache.org>
> > > > > >> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > > >> > > > distribution
> > > > > >> > > >
> > > > > >> > > > Chris,
> > > > > >> > > >
> > > > > >> > > > No it's not about not picking up by IDE at all.
> > > > > >> > > > Moonshine and VSCode are able to build projects using
> > > > > >> > > > Maven distribution package! It is about project which
> > > > > >> > > > are mixed for example when user wanted to use Jewel
> > > > > >> > > > module + RemoteObject class from MXRoyale module. In
> > > > > >> > > > that case user need to point explicilty as a compiler
> > > > > >> > > > options in IDE that he wanted to have SWC included and
> > > > > >> > > > need to exclude css from that swc to
> > > > > >> > > avoid problems.
> > > > > >> > > >
> > > > > >> > > > It is happen like that:
> > > > > >> > > >
> > > > > >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > > > >> > > >
> > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> > > > > >> > > > cs
> > > > > >> > > > s
> > > > > >> > > >
> > > > > >> > > > If I would like to use maven distribution user need to
> > > > > >> > > > know version for that compiler options. It is even more
> > > > > >> > > > tricky when your swc is called
> > > > > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> > > > > >> > > >
> > > > > >> > > >
> -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.
> > > > > >> > > > cs
> > > > > >> > > > s
> > > > > >> > > >
> > > > > >> > > > Thanks,
> > > > > >> > > > Piotr
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> > > > > >> > > > <ch...@c-ware.de>
> > > > > >> > > > napisał(a):
> > > > > >> > > >
> > > > > >> > > > > Hi Piotr,
> > > > > >> > > > >
> > > > > >> > > > > And is really the version-suffix causing it to not be
> > > > > >> > > > > picked up by the IDEs?
> > > > > >> > > > >
> > > > > >> > > > > Chris
> > > > > >> > > > >
> > > > > >> > > > > -----Ursprüngliche Nachricht-----
> > > > > >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> > > > > >> > > > > An: dev@royale.apache.org
> > > > > >> > > > > Betreff: Re: Align Maven IDE distribution with Ant
> > > > > >> > > > > IDE distribution
> > > > > >> > > > >
> > > > > >> > > > > Hi Chris,
> > > > > >> > > > >
> > > > > >> > > > > This is the only thing which seems to be a constant
> > > > > >> > > > > problem
> > > > > here.
> > > > > >> > > > > I personally and some users will be much more happy
> > > > > >> > > > > having that
> > > > > >> > change.
> > > > > >> > > > >
> > > > > >> > > > > Thanks,
> > > > > >> > > > > Piotr
> > > > > >> > > > >
> > > > > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> > > > > >> > > > > <ch...@c-ware.de>
> > > > > >> > > > > wrote:
> > > > > >> > > > >
> > > > > >> > > > > > Hi Piotr,
> > > > > >> > > > > >
> > > > > >> > > > > > I'd be happy to help with that.
> > > > > >> > > > > >
> > > > > >> > > > > > I did simply ask for a list of things that need to
> > > > > >> > > > > > be changed in order to get things working, but
> > > > > >> > > > > > never got said list, so I never knew what I could
> > > > > >> > > > > > do to make the Maven distribution match up to the
> > > > > >> > > > Ant built one.
> > > > > >> > > > > >
> > > > > >> > > > > > Chris
> > > > > >> > > > > >
> > > > > >> > > > > >
> > > > > >> > > > > > -----Ursprüngliche Nachricht-----
> > > > > >> > > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> > > > > >> > > > > > An: Apache Royale Development
> > > > > >> > > > > > <de...@royale.apache.org>
> > > > > >> > > > > > Betreff: Align Maven IDE distribution with Ant IDE
> > > > > >> > > > > > distribution
> > > > > >> > > > > >
> > > > > >> > > > > > Hi Guys,
> > > > > >> > > > > >
> > > > > >> > > > > > It's been couple of times when user complains that
> > > > > >> > > > > > he have problems with using Maven distribution vs
> > > > > >> > > > > > Ant distribution in IDE in a mixed project Jewel +
> > > > > >> > > > > > MX/Spark
> > > etc.
> > > > > >> > > > > >
> > > > > >> > > > > > Can we have that resolve once for all and adjust
> > > > > >> > > > > > Maven distribution folder to produce proper names of
> swcs ?
> > > > > >> > > > > >
> > > > > >> > > > > > Currently when I build Maven IDE distribution I have:
> > > > > >> > > > > >
> > > > > >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> > > > > >> > > > > >
> > > > > >> > > > > > When I build Ant IDE distribution I have:
> > > > > >> > > > > >
> > > > > >> > > > > > MXRoyale-js.swc
> > > > > >> > > > > >
> > > > > >> > > > > > Thanks,
> > > > > >> > > > > > --
> > > > > >> > > > > >
> > > > > >> > > > > > Piotr Zarzycki
> > > > > >> > > > > >
> > > > > >> > > > > --
> > > > > >> > > > >
> > > > > >> > > > > Piotr Zarzycki
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > > --
> > > > > >> > > >
> > > > > >> > > > Piotr Zarzycki
> > > > > >> > > >
> > > > > >> > >
> > > > > >> > >
> > > > > >> > > --
> > > > > >> > >
> > > > > >> > > Piotr Zarzycki
> > > > > >> > >
> > > > > >> >
> > > > > >> >
> > > > > >> > --
> > > > > >> >
> > > > > >> > Piotr Zarzycki
> > > > > >> >
> > > > > >>
> > > > > >>
> > > > > >> --
> > > > > >>
> > > > > >> Piotr Zarzycki
> > > > > >>
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Carlos Rovira
> > > > > > Apache Member & Apache Royale PMC *Apache Software Foundation*
> > > > > > http://about.me/carlosrovira
> > > > > >
> > > > > >
> > > > >
> > > > > --
> > > > > Carlos Rovira
> > > > > Apache Member & Apache Royale PMC *Apache Software Foundation*
> > > > > http://about.me/carlosrovira
> > > > >
> > > >
> > > >
> > > > --
> > > >
> > > > Piotr Zarzycki
> > > >
> > >
> > >
> > > --
> > >
> > > Piotr Zarzycki
> > >
> > --
> >
> > Piotr Zarzycki
> >
>
>
> --
> Carlos Rovira
> Apache Member & Apache Royale PMC
> *Apache Software Foundation*
> http://about.me/carlosrovira
>
--
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira
AW: Align Maven IDE distribution with Ant IDE distribution
Posted by Christofer Dutz <ch...@c-ware.de>.
So I just did a video and posted it to the Royale slack channel ...
I can't seem to reproduce the error ... perhaps if you check what I'm doing you can tell me if I'm doing something wrong.
I did try to rule out that I might have not configured VSCode to use my distribution by intentionally changing the settings to a wrong location. It didn't work then, and when I changed it back to the correct version, I could build again.
Chris
-----Ursprüngliche Nachricht-----
Von: Carlos Rovira <ca...@apache.org>
Gesendet: Samstag, 20. Februar 2021 15:17
An: Apache Royale Development <de...@royale.apache.org>
Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
Hi,
sorry, yesterday was mostly offline for some personal things. Many things happen in this thread.
I rebuild all today and check. This is what I can report trying to build TDJ with Maven SDK with Chris's changes.
Setting my VSCode with AS3&MXML to the Maven SDK just generated:
1.- I can't build with CMD+SHIFT+ENTER, then "Build Debug with AS3 Extension Tour de Jewel" (as josh said). I get :
Executing task in folder TourDeJewel:
/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin/java
-jar
/Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas-1.6.0/bin/asconfigc.jar
--sdk /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven --debug=true --project /Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/TourDeJewel/asconfig.json
<
Error: no se ha encontrado o cargado la clase principal org.apache.royale.compiler.clients.MXMLJSC
The terminal process
"/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin/java
'-jar',
'/Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas-1.6.0/bin/asconfigc.jar',
'--sdk', '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven',
'--debug=true', '--project',
'/Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/TourDeJewel/asconfig.json'"
terminated with exit code: 1.
Terminal will be reused by tasks, press any key to close it.
2.- I can build with CMD+ENTER. I get:
Royale Compiler Shell
(fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
--source-path+=src/main/resources --source-map=true
--html-template=src/main/resources/jewel-example-index-template.html
--theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css
-js-dynamic-access-unknown-members=true -- src/main/royale/App.mxml
fcsh: Assigned 1 as the compile target id The project 'App' has been successfully compiled and optimized.
Compile status: 0
Elapsed time: 26.925719521 seconds
Feb 20, 2021 3:10:42 PM com.google.javascript.jscomp.LoggerErrorManager
printSummary
INFO: 0 error(s), 0 warning(s), 97.8% typed
(fcsh)
I don't understand fully the differences between one method and the other and why I get different results. I guess know what's happening is needed so Chris can do the proper changes. probably there are paths and locations mixed.
@Chris, one thing I did in the past was to compare maven distribution with ant distribution so both has most of the things in the same place. I think some files where left in more than one place (like mxmlc).
If you could take a look at it, that will for sure fix the issue. You have TDJ and the other project to test if that works and now we know that is better to try with CMD+SHIFT+ENTER, then "Build Debug with AS3 Extension Tour de Jewel"
El vie, 19 feb 2021 a las 18:45, Piotr Zarzycki (<pi...@gmail.com>)
escribió:
> It looks like something bad has happened with my environment. I
> changed lately Java settings a bit. You can see what is setup in my stacktrace.
>
> I will get back to that over the weekend or on Monday.
>
> On Fri, 19 Feb 2021 at 18:24, Maria Jose Esteve <mj...@iest.com> wrote:
>
> > Hi,
> > Piotr, I just tested your distribution with my project and the
> compilation
> > was successful, no errors.
> > Running the application seems to be working fine too.
> > (I compile the application with mvn)
> >
> > What do they need me to try now?
> >
> > Hiedra.
> > -----Mensaje original-----
> > De: Piotr Zarzycki <pi...@gmail.com> Enviado el: viernes,
> > 19 de febrero de 2021 18:11
> > Para: Apache Royale Development <de...@royale.apache.org>
> > Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
> >
> > Did you test my distribution ?
> >
> > pt., 19 lut 2021 o 18:00 Christofer Dutz <ch...@c-ware.de>
> > napisał(a):
> >
> > > So I did a bit more of testing.
> > >
> > > So after I had no issues building Carlos' example, I tried the
> > > TourDeJewl example.
> > > So I opened VSCode in the directory of TDJ example ... created a
> > > settings.json with the folowing content:
> > >
> > > {
> > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > }
> > >
> > > Hit STRG+Enter and waited a bit ...
> > >
> > > Then I opened the output in Chrome and have a fully functioning
> > > TDJ application.
> > >
> > > So I wouldn't consider the build broken.
> > >
> > > Chris
> > >
> > >
> > >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Maria Jose Esteve <mj...@iest.com>
> > > Gesendet: Freitag, 19. Februar 2021 17:51
> > > An: dev@royale.apache.org
> > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > distribution
> > >
> > > Sure, that would be "expected", but like I told you: if I change
> > > it to MXRoyaleJS.swc, the app "does nonsense".
> > > Maybe something has gotten my way.
> > >
> > > I will read your messages and see if I can help with something.
> > >
> > > Hiedra.
> > > -----Mensaje original-----
> > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > viernes,
> > > 19 de febrero de 2021 14:12
> > > Para: dev@royale.apache.org
> > > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > Hi Hiedra,
> > >
> > > well I changed the distribution to make the names like in the ANT
> > > distribution yesterday.
> > > But you are passing in an argument telling the compiler to use the
> > > old format and now it should be the new ...
> > >
> > > Try:
> > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> > > defaults.css; For -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> > > defaults.css;
> > >
> > > Instead of your variant.
> > >
> > > Chris
> > >
> > >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Maria Jose Esteve <mj...@iest.com>
> > > Gesendet: Freitag, 19. Februar 2021 14:08
> > > An: dev@royale.apache.org
> > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > distribution
> > >
> > > Yes, until recently I also compiled only with Maven. Due to the
> > > problem with the spark.css I started to do the double compilation
> > > of
> > MAVEN and ANT.
> > >
> > > It's funny, now, the swc's are not generated with
> > > "xxxx-0.9.8-SNAPSHOT-js.swc" in the distribution BUT if in the pom
> > > of my project I change in additionalCompilerOptions:
> > > -compiler.exclude-defaults-css-files = MXRoyale - $
> > > {royale.framework.version} -js.swc: defaults.css; For
> > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> > > defaults.css; My application starts to do nonsense (for example
> > > the change of selectedContent in my ApplicationMainContent does
> > > not display)
> > >
> > > Chris, thank you.
> > > Hiedra
> > >
> > > -----Mensaje original-----
> > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > viernes,
> > > 19 de febrero de 2021 13:09
> > > Para: dev@royale.apache.org
> > > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > Hi Hiedra,
> > >
> > > I have to admit that I've never used VSCode. Every time I do any
> > > development I usually use one of the JetBrains IDEs.
> > > Royale Stuff I do in IntelliJ ... with my "Flexmojos Hack" it can
> > > be used quite well. And I always compile with Maven.
> > >
> > > But thanks for the explanation on why the other path is set
> differently.
> > >
> > > I guess we'll have to wait till some others can tell me what needs
> > > to be changed.
> > >
> > > Chris
> > >
> > >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Maria Jose Esteve <mj...@iest.com>
> > > Gesendet: Freitag, 19. Februar 2021 12:48
> > > An: dev@royale.apache.org
> > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > distribution
> > >
> > > Hello Chris,
> > > so that I can debug my changes in the SDK I need to set the path
> > > of the "as3mxml.sdk.editor" to the asjs directory of my fork, for
> > > this reason the path of the " as3mxml.sdk.framework" points to the
> > > directory of the maven distribution and the "as3mxml.sdk.editor"
> > > to
> code.
> > >
> > > ">> I'm not getting any errors from VSCode. But well ... if I hit
> > > SHIFT+Enter it starts doing something where if failed prior to my
> > > >> changes this morning and is no longer complaining, but it's
> > > >> also not
> > > doing much (I can't see it create a "bin" directory)"
> > >
> > > I don't quite understand this ... possibly because of my lack of
> > knowledge.
> > >
> > > I have not tried Carlos's project but this afternoon I will be
> > > able to do it and I will be able to give more details.
> > >
> > > Thx.
> > > Hiedra.
> > >
> > > -----Mensaje original-----
> > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > viernes,
> > > 19 de febrero de 2021 11:51
> > > Para: dev@royale.apache.org
> > > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > Hi Heidra,
> > >
> > > I just updated Carlos' example to have the same type of setting
> > > (C:\\Temp\\RoyaleSDK is where I have my Maven build generate the SDK):
> > >
> > > setings.js:
> > > {
> > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > }
> > >
> > > workspace-code-workspace
> > > {
> > > "folders": [
> > > {
> > > "path": ".."
> > > }
> > > ],
> > > "settings": {
> > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > }
> > > }
> > >
> > > I'm not getting any errors from VSCode. But well ... if I hit
> > > SHIFT+Enter it starts doing something where if failed prior to my
> > > changes this morning and is no longer complaining, but it's also
> > > not doing much (I can't see it create a "bin" directory)
> > >
> > > Chris
> > >
> > >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Maria Jose Esteve <mj...@iest.com>
> > > Gesendet: Freitag, 19. Februar 2021 10:53
> > > An: dev@royale.apache.org
> > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > distribution
> > >
> > > If I don't compile with ANT, the mxml extension in vsCode IDE, it
> > > doesn't recognize the valid asjs directory for "as3mxml.sdk.editor":
> > > ...
> > > "settings": {
> > > "as3mxml.sdk.framework":
> > > "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
> > > "as3mxml.sdk.editor":
> > > "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs" <--------
> > > [download folder repo royale-asjs]
> > > }
> > > }
> > >
> > > The error is:
> > > " as3mxml.sdk.editor in settings does not point to a valid SDK.
> > > Requires..."
> > >
> > > Thx.
> > > Hiedra.
> > >
> > > -----Mensaje original-----
> > > De: Piotr Zarzycki <pi...@gmail.com> Enviado el:
> > > viernes, 19 de febrero de 2021 10:44
> > > Para: Apache Royale Development <de...@royale.apache.org>
> > > Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > Hi Chris,
> > >
> > > I just tried your changes and I have same issue. I need to
> > > understand what has change enough significantly that it causes
> > > compilation fail in such way. It doesn't happen with SDK prepared by ANT.
> > >
> > > Thanks,
> > > Piotr
> > >
> > > pt., 19 lut 2021 o 10:33 Maria Jose Esteve <mj...@iest.com>
> > napisał(a):
> > >
> > > > @Chris you're right, sorry, I didn't download your last commit.
> > > > I'm sorry.
> > > > Hiedra.
> > > >
> > > > -----Mensaje original-----
> > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > > viernes,
> > > > 19 de febrero de 2021 10:17
> > > > Para: dev@royale.apache.org
> > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > distribution
> > > >
> > > > I'll try to guess what you wanted to say here ...
> > > >
> > > > But I think these are exactly the changes I comitted a an hour
> > > > ago,
> > > right?
> > > > At least in general I replaced all the references to names with
> > > > versions to the changed ones.
> > > >
> > > >
> > > > Chris
> > > >
> > > >
> > > >
> > > > -----Ursprüngliche Nachricht-----
> > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > Gesendet: Freitag, 19. Februar 2021 10:01
> > > > An: dev@royale.apache.org
> > > > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > > > distribution
> > > >
> > > > Hi,
> > > > Mi distribución hace referencia en el fichero
> > > > "./frameworks/royale-config.xml" a las librerías:
> > > >
> > > > <js-external-library-path>
> > > >
> > > > <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.
> > > > sw
> > > > c</path-element>
> > > >
> > > >
> > > <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typede
> > > fs.s
> > > wc</path-element>
> > > > </js-external-library-path>
> > > >
> > > > Las correctas son:
> > > >
> > > > <js-external-library-path>
> > > >
> > <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> > > >
> > <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
> > > > </js-external-library-path>
> > > >
> > > > Hiedra
> > > >
> > > > -----Mensaje original-----
> > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > > > viernes,
> > > > 19 de febrero de 2021 9:39
> > > > Para: dev@royale.apache.org
> > > > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > > > distribution
> > > >
> > > > Ok,
> > > >
> > > > so the config xml files in the distribution were still pointing
> > > > to the old names. I updated them all to now refer to the names.
> > > > I tried things in Carlos' demo project, and I'm no-longer
> > > > getting the errors, however compilation seems to take for ever.
> > > >
> > > > Please try out the changes and tell me if there are any problems
> > > > with
> > > them.
> > > >
> > > > Chris
> > > >
> > > > -----Ursprüngliche Nachricht-----
> > > > Von: Christofer Dutz <ch...@c-ware.de>
> > > > Gesendet: Donnerstag, 18. Februar 2021 23:17
> > > > An: dev@royale.apache.org
> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > > > distribution
> > > >
> > > > Hi Carlos,
> > > >
> > > > I'll look into this tomorrow.
> > > >
> > > > Chris
> > > >
> > > > -----Ursprüngliche Nachricht-----
> > > > Von: Carlos Rovira <ca...@apache.org>
> > > > Gesendet: Donnerstag, 18. Februar 2021 17:49
> > > > An: Apache Royale Development <de...@royale.apache.org>
> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > distribution
> > > >
> > > > Hi, I think I talked very quickly, sorry, there seems to be a
> problem.
> > > >
> > > > @Christofer Dutz <ch...@c-ware.de> you can download
> > > > this
> > > > project:
> > > >
> > > >
> > > > https://github.com/apache/royale-asjs/files/6004363/ToggleButton
> > > > BarI
> > > > ss
> > > > ue.zip
> > > >
> > > > Then using VSCode with AS3&MXML and adding the Maven distribution.
> > > > Then hit CTRL+ENTER and you will get the following fail. Using
> > > > ANT distribution is working fine.
> > > > Can you take a look?
> > > >
> > > > Royale Compiler Shell
> > > > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> > > > --source-map=true
> > > > --html-template=src/html/jewel-example-index-template.html
> > > >
> > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Th
> > > > eme/
> > > > sr
> > > > c/main/resources/defaults.css
> > > > --source-path+=src
> > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJS.sw
> > > > --source-path+--library-path+c
> > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> > > > -js-dynamic-access-unknown-members=true -- src/App.mxml
> > > > fcsh: Assigned 1 as the compile target id The project 'App' has
> > > > been successfully compiled and optimized.
> > > > Compile status: 0
> > > > Elapsed time: 14.211105399 seconds Feb 18, 2021 5:43:40 PM
> > > > com.google.javascript.jscomp.LoggerErrorManager
> > > > printSummary
> > > > INFO: 0 error(s), 0 warning(s), 96.5% typed
> > > > (fcsh) quit
> > > > Compiler shell exited with code: 0 Royale Compiler Shell
> > > > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> > > > --source-map=true
> > > > --html-template=src/html/jewel-example-index-template.html
> > > >
> > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Th
> > > > eme/
> > > > sr
> > > > c/main/resources/defaults.css
> > > > --source-path+=src
> > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJS.sw
> > > > --source-path+--library-path+c
> > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> > > > -js-dynamic-access-unknown-members=true -- src/App.mxml
> > > > fcsh: Assigned 1 as the compile target id Compile status: 5
> > > > Elapsed
> > time:
> > > > 0.618407478 seconds
> > > >
> > > >
> > >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > > > col: 0 Error: unable to open
> > > >
> > > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
> > > >
> > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/framewor
> > > > ks/r
> > > > oy
> > > > ale-config.xml
> > > > (line: 81)
> > > >
> > > > </js-external-library-path>
> > > >
> > > >
> > > >
> > > >
> > >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > > > col: 0 Error: unable to open
> > > >
> > > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
> > > >
> > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/framewor
> > > > ks/r
> > > > oy
> > > > ale-config.xml
> > > > (line: 81)
> > > >
> > > > </js-external-library-path>
> > > > (fcsh)
> > > > Quick Compile failed. Errors in compiler output.
> > > >
> > > > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
> > > > (<ca...@apache.org>)
> > > > escribió:
> > > >
> > > > > Hi,
> > > > >
> > > > > I rebuilt all from scratch just now and finally the
> > > > > distribution too and tried in VSCode and all seems to work fine for me.
> > > > >
> > > > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> > > > > christofer.dutz@c-ware.de>) escribió:
> > > > >
> > > > >> Hi Piotr,
> > > > >>
> > > > >> that class is located in lib\external\flex-tool-api.jar At
> > > > >> least in my distribution it's there and it contains the class.
> > > > >>
> > > > >> How are you calling the build that's failing?
> > > > >>
> > > > >> Chris
> > > > >>
> > > > >> -----Ursprüngliche Nachricht-----
> > > > >> Von: Piotr Zarzycki <pi...@gmail.com>
> > > > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> > > > >> An: Apache Royale Development <de...@royale.apache.org>
> > > > >> Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > >> distribution
> > > > >>
> > > > >> Chris,
> > > > >>
> > > > >> I just checked and I'm not able build project anymore using
> > > > distribution:
> > > > >>
> > > > >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
> > > > >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m
> > > > >> -Xmx3000m
> > > > >> : Error: Could not find or load main class
> > > > >> org.apache.royale.compiler.clients.MXMLJSC
> > > > >> : Caused by: java.lang.NoClassDefFoundError:
> > > > >> org/apache/flex/tools/FlexTool
> > > > >>
> > > > >> I'm done for today, so I will answer anything tomorrow.
> > > > >>
> > > > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
> > > > >> <ch...@c-ware.de>
> > > > >> napisał(a):
> > > > >>
> > > > >> > Ok ...
> > > > >> >
> > > > >> > so I just pushed another change. Now the distribution
> > > > >> > should also contain an empty spark.css, just like the Ant one.
> > > > >> >
> > > > >> > Chris
> > > > >> >
> > > > >> >
> > > > >> > -----Ursprüngliche Nachricht-----
> > > > >> > Von: Christofer Dutz <ch...@c-ware.de>
> > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> > > > >> > An: dev@royale.apache.org
> > > > >> > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > > > >> > distribution
> > > > >> >
> > > > >> > Ok,
> > > > >> >
> > > > >> > so that should now be fixed. Leaves the "spark.css"
> > > > >> > Having had a look, it seems as if the Ant build creates an
> > > > >> > empty
> > > > >> spark.css.
> > > > >> >
> > > > >> > Is this all we need? If yes, then I'll have that in ther in
> > > > >> > no
> > time.
> > > > >> >
> > > > >> > Chris
> > > > >> >
> > > > >> > -----Ursprüngliche Nachricht-----
> > > > >> > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> > > > >> > An: Apache Royale Development <de...@royale.apache.org>
> > > > >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > >> > distribution
> > > > >> >
> > > > >> > *(I assume that's in the "frameworks/js/libs" directory? *
> > > > >> >
> > > > >> > Yes this is the directory.
> > > > >> >
> > > > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> > > > >> > <ch...@c-ware.de>
> > > > >> > napisał(a):
> > > > >> >
> > > > >> > > Hi Piotr,
> > > > >> > >
> > > > >> > > Ok ... so Ant seems to be adding a "JS" to the end of
> > > > >> > > every name (I assume that's in the "frameworks/js/libs" directory?
> > > > >> > >
> > > > >> > > Also I'll try to find out where the "spark.css" should
> > > > >> > > come from
> > > ...
> > > > >> > > and where it should go to.
> > > > >> > >
> > > > >> > > Chris
> > > > >> > >
> > > > >> > >
> > > > >> > > -----Ursprüngliche Nachricht-----
> > > > >> > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> > > > >> > > An: Apache Royale Development <de...@royale.apache.org>
> > > > >> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > >> > > distribution
> > > > >> > >
> > > > >> > > Chris,
> > > > >> > >
> > > > >> > > Looks better but here is the comparision what I have in
> > > > >> > > Ant distribution vs Maven distribution in case of names.
> > > > >> > > On the left Ant distribution, on the right Maven. It is folder:
> > > > >> > > frameworks\js\libs\ [1]
> > > > >> > >
> > > > >> > > [1] https://ibb.co/W2DzcDb
> > > > >> > >
> > > > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> > > > >> > > <ch...@c-ware.de>
> > > > >> > > napisał(a):
> > > > >> > >
> > > > >> > > > And done ...
> > > > >> > > >
> > > > >> > > > Now all elements in the distribution only consist of
> > > > >> > > > their name and file-ending ... all versions and
> > > > >> > > > classifiers have been
> > > > removed.
> > > > >> > > > Please provide me with feedback on if this solves the
> issues.
> > > > >> > > >
> > > > >> > > > Chris
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > -----Ursprüngliche Nachricht-----
> > > > >> > > > Von: Christofer Dutz <ch...@c-ware.de>
> > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> > > > >> > > > An: dev@royale.apache.org
> > > > >> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > > > >> > > > distribution
> > > > >> > > >
> > > > >> > > > I'll probably have a fix for that in a few minuntes ...
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > Chris
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > -----Ursprüngliche Nachricht-----
> > > > >> > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> > > > >> > > > An: Apache Royale Development <de...@royale.apache.org>
> > > > >> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > >> > > > distribution
> > > > >> > > >
> > > > >> > > > Chris,
> > > > >> > > >
> > > > >> > > > No it's not about not picking up by IDE at all.
> > > > >> > > > Moonshine and VSCode are able to build projects using
> > > > >> > > > Maven distribution package! It is about project which
> > > > >> > > > are mixed for example when user wanted to use Jewel
> > > > >> > > > module + RemoteObject class from MXRoyale module. In
> > > > >> > > > that case user need to point explicilty as a compiler
> > > > >> > > > options in IDE that he wanted to have SWC included and
> > > > >> > > > need to exclude css from that swc to
> > > > >> > > avoid problems.
> > > > >> > > >
> > > > >> > > > It is happen like that:
> > > > >> > > >
> > > > >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > > >> > > >
> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> > > > >> > > > cs
> > > > >> > > > s
> > > > >> > > >
> > > > >> > > > If I would like to use maven distribution user need to
> > > > >> > > > know version for that compiler options. It is even more
> > > > >> > > > tricky when your swc is called
> > > > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> > > > >> > > >
> > > > >> > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.
> > > > >> > > > cs
> > > > >> > > > s
> > > > >> > > >
> > > > >> > > > Thanks,
> > > > >> > > > Piotr
> > > > >> > > >
> > > > >> > > >
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> > > > >> > > > <ch...@c-ware.de>
> > > > >> > > > napisał(a):
> > > > >> > > >
> > > > >> > > > > Hi Piotr,
> > > > >> > > > >
> > > > >> > > > > And is really the version-suffix causing it to not be
> > > > >> > > > > picked up by the IDEs?
> > > > >> > > > >
> > > > >> > > > > Chris
> > > > >> > > > >
> > > > >> > > > > -----Ursprüngliche Nachricht-----
> > > > >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> > > > >> > > > > An: dev@royale.apache.org
> > > > >> > > > > Betreff: Re: Align Maven IDE distribution with Ant
> > > > >> > > > > IDE distribution
> > > > >> > > > >
> > > > >> > > > > Hi Chris,
> > > > >> > > > >
> > > > >> > > > > This is the only thing which seems to be a constant
> > > > >> > > > > problem
> > > > here.
> > > > >> > > > > I personally and some users will be much more happy
> > > > >> > > > > having that
> > > > >> > change.
> > > > >> > > > >
> > > > >> > > > > Thanks,
> > > > >> > > > > Piotr
> > > > >> > > > >
> > > > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> > > > >> > > > > <ch...@c-ware.de>
> > > > >> > > > > wrote:
> > > > >> > > > >
> > > > >> > > > > > Hi Piotr,
> > > > >> > > > > >
> > > > >> > > > > > I'd be happy to help with that.
> > > > >> > > > > >
> > > > >> > > > > > I did simply ask for a list of things that need to
> > > > >> > > > > > be changed in order to get things working, but
> > > > >> > > > > > never got said list, so I never knew what I could
> > > > >> > > > > > do to make the Maven distribution match up to the
> > > > >> > > > Ant built one.
> > > > >> > > > > >
> > > > >> > > > > > Chris
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > > > -----Ursprüngliche Nachricht-----
> > > > >> > > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> > > > >> > > > > > An: Apache Royale Development
> > > > >> > > > > > <de...@royale.apache.org>
> > > > >> > > > > > Betreff: Align Maven IDE distribution with Ant IDE
> > > > >> > > > > > distribution
> > > > >> > > > > >
> > > > >> > > > > > Hi Guys,
> > > > >> > > > > >
> > > > >> > > > > > It's been couple of times when user complains that
> > > > >> > > > > > he have problems with using Maven distribution vs
> > > > >> > > > > > Ant distribution in IDE in a mixed project Jewel +
> > > > >> > > > > > MX/Spark
> > etc.
> > > > >> > > > > >
> > > > >> > > > > > Can we have that resolve once for all and adjust
> > > > >> > > > > > Maven distribution folder to produce proper names of swcs ?
> > > > >> > > > > >
> > > > >> > > > > > Currently when I build Maven IDE distribution I have:
> > > > >> > > > > >
> > > > >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> > > > >> > > > > >
> > > > >> > > > > > When I build Ant IDE distribution I have:
> > > > >> > > > > >
> > > > >> > > > > > MXRoyale-js.swc
> > > > >> > > > > >
> > > > >> > > > > > Thanks,
> > > > >> > > > > > --
> > > > >> > > > > >
> > > > >> > > > > > Piotr Zarzycki
> > > > >> > > > > >
> > > > >> > > > > --
> > > > >> > > > >
> > > > >> > > > > Piotr Zarzycki
> > > > >> > > > >
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > --
> > > > >> > > >
> > > > >> > > > Piotr Zarzycki
> > > > >> > > >
> > > > >> > >
> > > > >> > >
> > > > >> > > --
> > > > >> > >
> > > > >> > > Piotr Zarzycki
> > > > >> > >
> > > > >> >
> > > > >> >
> > > > >> > --
> > > > >> >
> > > > >> > Piotr Zarzycki
> > > > >> >
> > > > >>
> > > > >>
> > > > >> --
> > > > >>
> > > > >> Piotr Zarzycki
> > > > >>
> > > > >
> > > > >
> > > > > --
> > > > > Carlos Rovira
> > > > > Apache Member & Apache Royale PMC *Apache Software Foundation*
> > > > > http://about.me/carlosrovira
> > > > >
> > > > >
> > > >
> > > > --
> > > > Carlos Rovira
> > > > Apache Member & Apache Royale PMC *Apache Software Foundation*
> > > > http://about.me/carlosrovira
> > > >
> > >
> > >
> > > --
> > >
> > > Piotr Zarzycki
> > >
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
> --
>
> Piotr Zarzycki
>
--
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira
Re: Align Maven IDE distribution with Ant IDE distribution
Posted by Carlos Rovira <ca...@apache.org>.
Hi,
sorry, yesterday was mostly offline for some personal things. Many things
happen in this thread.
I rebuild all today and check. This is what I can report trying to build
TDJ with Maven SDK with Chris's changes.
Setting my VSCode with AS3&MXML to the Maven SDK just generated:
1.- I can't build with CMD+SHIFT+ENTER, then "Build Debug with AS3
Extension Tour de Jewel" (as josh said). I get :
Executing task in folder TourDeJewel:
/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin/java
-jar
/Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas-1.6.0/bin/asconfigc.jar
--sdk /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven --debug=true
--project
/Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/TourDeJewel/asconfig.json
<
Error: no se ha encontrado o cargado la clase principal
org.apache.royale.compiler.clients.MXMLJSC
The terminal process
"/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin/java
'-jar',
'/Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas-1.6.0/bin/asconfigc.jar',
'--sdk', '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven',
'--debug=true', '--project',
'/Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/TourDeJewel/asconfig.json'"
terminated with exit code: 1.
Terminal will be reused by tasks, press any key to close it.
2.- I can build with CMD+ENTER. I get:
Royale Compiler Shell
(fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
--source-path+=src/main/resources --source-map=true
--html-template=src/main/resources/jewel-example-index-template.html
--theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css
-js-dynamic-access-unknown-members=true -- src/main/royale/App.mxml
fcsh: Assigned 1 as the compile target id
The project 'App' has been successfully compiled and optimized.
Compile status: 0
Elapsed time: 26.925719521 seconds
Feb 20, 2021 3:10:42 PM com.google.javascript.jscomp.LoggerErrorManager
printSummary
INFO: 0 error(s), 0 warning(s), 97.8% typed
(fcsh)
I don't understand fully the differences between one method and the other
and why I get different results. I guess know what's happening is needed so
Chris can do the proper changes. probably there are paths and locations
mixed.
@Chris, one thing I did in the past was to compare maven distribution with
ant distribution so both has most of the things in the same place. I think
some files where left in more than one place (like mxmlc).
If you could take a look at it, that will for sure fix the issue. You have
TDJ and the other project to test if that works and now we know that is
better to try with CMD+SHIFT+ENTER, then "Build Debug with AS3 Extension
Tour de Jewel"
El vie, 19 feb 2021 a las 18:45, Piotr Zarzycki (<pi...@gmail.com>)
escribió:
> It looks like something bad has happened with my environment. I changed
> lately Java settings a bit. You can see what is setup in my stacktrace.
>
> I will get back to that over the weekend or on Monday.
>
> On Fri, 19 Feb 2021 at 18:24, Maria Jose Esteve <mj...@iest.com> wrote:
>
> > Hi,
> > Piotr, I just tested your distribution with my project and the
> compilation
> > was successful, no errors.
> > Running the application seems to be working fine too.
> > (I compile the application with mvn)
> >
> > What do they need me to try now?
> >
> > Hiedra.
> > -----Mensaje original-----
> > De: Piotr Zarzycki <pi...@gmail.com>
> > Enviado el: viernes, 19 de febrero de 2021 18:11
> > Para: Apache Royale Development <de...@royale.apache.org>
> > Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
> >
> > Did you test my distribution ?
> >
> > pt., 19 lut 2021 o 18:00 Christofer Dutz <ch...@c-ware.de>
> > napisał(a):
> >
> > > So I did a bit more of testing.
> > >
> > > So after I had no issues building Carlos' example, I tried the
> > > TourDeJewl example.
> > > So I opened VSCode in the directory of TDJ example ... created a
> > > settings.json with the folowing content:
> > >
> > > {
> > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > }
> > >
> > > Hit STRG+Enter and waited a bit ...
> > >
> > > Then I opened the output in Chrome and have a fully functioning TDJ
> > > application.
> > >
> > > So I wouldn't consider the build broken.
> > >
> > > Chris
> > >
> > >
> > >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Maria Jose Esteve <mj...@iest.com>
> > > Gesendet: Freitag, 19. Februar 2021 17:51
> > > An: dev@royale.apache.org
> > > Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > Sure, that would be "expected", but like I told you: if I change it to
> > > MXRoyaleJS.swc, the app "does nonsense".
> > > Maybe something has gotten my way.
> > >
> > > I will read your messages and see if I can help with something.
> > >
> > > Hiedra.
> > > -----Mensaje original-----
> > > De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> > > 19 de febrero de 2021 14:12
> > > Para: dev@royale.apache.org
> > > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > Hi Hiedra,
> > >
> > > well I changed the distribution to make the names like in the ANT
> > > distribution yesterday.
> > > But you are passing in an argument telling the compiler to use the old
> > > format and now it should be the new ...
> > >
> > > Try:
> > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc: defaults.css;
> > > For -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> > > defaults.css;
> > >
> > > Instead of your variant.
> > >
> > > Chris
> > >
> > >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Maria Jose Esteve <mj...@iest.com>
> > > Gesendet: Freitag, 19. Februar 2021 14:08
> > > An: dev@royale.apache.org
> > > Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > Yes, until recently I also compiled only with Maven. Due to the
> > > problem with the spark.css I started to do the double compilation of
> > MAVEN and ANT.
> > >
> > > It's funny, now, the swc's are not generated with
> > > "xxxx-0.9.8-SNAPSHOT-js.swc" in the distribution BUT if in the pom of
> > > my project I change in additionalCompilerOptions:
> > > -compiler.exclude-defaults-css-files = MXRoyale - $
> > > {royale.framework.version} -js.swc: defaults.css; For
> > > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc: defaults.css;
> > > My application starts to do nonsense (for example the change of
> > > selectedContent in my ApplicationMainContent does not display)
> > >
> > > Chris, thank you.
> > > Hiedra
> > >
> > > -----Mensaje original-----
> > > De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> > > 19 de febrero de 2021 13:09
> > > Para: dev@royale.apache.org
> > > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > Hi Hiedra,
> > >
> > > I have to admit that I've never used VSCode. Every time I do any
> > > development I usually use one of the JetBrains IDEs.
> > > Royale Stuff I do in IntelliJ ... with my "Flexmojos Hack" it can be
> > > used quite well. And I always compile with Maven.
> > >
> > > But thanks for the explanation on why the other path is set
> differently.
> > >
> > > I guess we'll have to wait till some others can tell me what needs to
> > > be changed.
> > >
> > > Chris
> > >
> > >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Maria Jose Esteve <mj...@iest.com>
> > > Gesendet: Freitag, 19. Februar 2021 12:48
> > > An: dev@royale.apache.org
> > > Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > Hello Chris,
> > > so that I can debug my changes in the SDK I need to set the path of
> > > the "as3mxml.sdk.editor" to the asjs directory of my fork, for this
> > > reason the path of the " as3mxml.sdk.framework" points to the
> > > directory of the maven distribution and the "as3mxml.sdk.editor" to
> code.
> > >
> > > ">> I'm not getting any errors from VSCode. But well ... if I hit
> > > SHIFT+Enter it starts doing something where if failed prior to my
> > > >> changes this morning and is no longer complaining, but it's also
> > > >> not
> > > doing much (I can't see it create a "bin" directory)"
> > >
> > > I don't quite understand this ... possibly because of my lack of
> > knowledge.
> > >
> > > I have not tried Carlos's project but this afternoon I will be able to
> > > do it and I will be able to give more details.
> > >
> > > Thx.
> > > Hiedra.
> > >
> > > -----Mensaje original-----
> > > De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> > > 19 de febrero de 2021 11:51
> > > Para: dev@royale.apache.org
> > > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > Hi Heidra,
> > >
> > > I just updated Carlos' example to have the same type of setting
> > > (C:\\Temp\\RoyaleSDK is where I have my Maven build generate the SDK):
> > >
> > > setings.js:
> > > {
> > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > }
> > >
> > > workspace-code-workspace
> > > {
> > > "folders": [
> > > {
> > > "path": ".."
> > > }
> > > ],
> > > "settings": {
> > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > }
> > > }
> > >
> > > I'm not getting any errors from VSCode. But well ... if I hit
> > > SHIFT+Enter it starts doing something where if failed prior to my
> > > changes this morning and is no longer complaining, but it's also not
> > > doing much (I can't see it create a "bin" directory)
> > >
> > > Chris
> > >
> > >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Maria Jose Esteve <mj...@iest.com>
> > > Gesendet: Freitag, 19. Februar 2021 10:53
> > > An: dev@royale.apache.org
> > > Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > If I don't compile with ANT, the mxml extension in vsCode IDE, it
> > > doesn't recognize the valid asjs directory for "as3mxml.sdk.editor":
> > > ...
> > > "settings": {
> > > "as3mxml.sdk.framework":
> > > "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
> > > "as3mxml.sdk.editor":
> > > "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs" <--------
> > > [download folder repo royale-asjs]
> > > }
> > > }
> > >
> > > The error is:
> > > " as3mxml.sdk.editor in settings does not point to a valid SDK.
> > > Requires..."
> > >
> > > Thx.
> > > Hiedra.
> > >
> > > -----Mensaje original-----
> > > De: Piotr Zarzycki <pi...@gmail.com> Enviado el: viernes, 19
> > > de febrero de 2021 10:44
> > > Para: Apache Royale Development <de...@royale.apache.org>
> > > Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > Hi Chris,
> > >
> > > I just tried your changes and I have same issue. I need to understand
> > > what has change enough significantly that it causes compilation fail
> > > in such way. It doesn't happen with SDK prepared by ANT.
> > >
> > > Thanks,
> > > Piotr
> > >
> > > pt., 19 lut 2021 o 10:33 Maria Jose Esteve <mj...@iest.com>
> > napisał(a):
> > >
> > > > @Chris you're right, sorry, I didn't download your last commit.
> > > > I'm sorry.
> > > > Hiedra.
> > > >
> > > > -----Mensaje original-----
> > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> > > > 19 de febrero de 2021 10:17
> > > > Para: dev@royale.apache.org
> > > > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> > > >
> > > > I'll try to guess what you wanted to say here ...
> > > >
> > > > But I think these are exactly the changes I comitted a an hour ago,
> > > right?
> > > > At least in general I replaced all the references to names with
> > > > versions to the changed ones.
> > > >
> > > >
> > > > Chris
> > > >
> > > >
> > > >
> > > > -----Ursprüngliche Nachricht-----
> > > > Von: Maria Jose Esteve <mj...@iest.com>
> > > > Gesendet: Freitag, 19. Februar 2021 10:01
> > > > An: dev@royale.apache.org
> > > > Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
> > > >
> > > > Hi,
> > > > Mi distribución hace referencia en el fichero
> > > > "./frameworks/royale-config.xml" a las librerías:
> > > >
> > > > <js-external-library-path>
> > > >
> > > > <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.
> > > > sw
> > > > c</path-element>
> > > >
> > > >
> > > <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.s
> > > wc</path-element>
> > > > </js-external-library-path>
> > > >
> > > > Las correctas son:
> > > >
> > > > <js-external-library-path>
> > > >
> > <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> > > >
> > <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
> > > > </js-external-library-path>
> > > >
> > > > Hiedra
> > > >
> > > > -----Mensaje original-----
> > > > De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> > > > 19 de febrero de 2021 9:39
> > > > Para: dev@royale.apache.org
> > > > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> > > >
> > > > Ok,
> > > >
> > > > so the config xml files in the distribution were still pointing to
> > > > the old names. I updated them all to now refer to the names.
> > > > I tried things in Carlos' demo project, and I'm no-longer getting
> > > > the errors, however compilation seems to take for ever.
> > > >
> > > > Please try out the changes and tell me if there are any problems
> > > > with
> > > them.
> > > >
> > > > Chris
> > > >
> > > > -----Ursprüngliche Nachricht-----
> > > > Von: Christofer Dutz <ch...@c-ware.de>
> > > > Gesendet: Donnerstag, 18. Februar 2021 23:17
> > > > An: dev@royale.apache.org
> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
> > > >
> > > > Hi Carlos,
> > > >
> > > > I'll look into this tomorrow.
> > > >
> > > > Chris
> > > >
> > > > -----Ursprüngliche Nachricht-----
> > > > Von: Carlos Rovira <ca...@apache.org>
> > > > Gesendet: Donnerstag, 18. Februar 2021 17:49
> > > > An: Apache Royale Development <de...@royale.apache.org>
> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> > > >
> > > > Hi, I think I talked very quickly, sorry, there seems to be a
> problem.
> > > >
> > > > @Christofer Dutz <ch...@c-ware.de> you can download this
> > > > project:
> > > >
> > > >
> > > > https://github.com/apache/royale-asjs/files/6004363/ToggleButtonBarI
> > > > ss
> > > > ue.zip
> > > >
> > > > Then using VSCode with AS3&MXML and adding the Maven distribution.
> > > > Then hit CTRL+ENTER and you will get the following fail. Using ANT
> > > > distribution is working fine.
> > > > Can you take a look?
> > > >
> > > > Royale Compiler Shell
> > > > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> > > > --source-map=true
> > > > --html-template=src/html/jewel-example-index-template.html
> > > >
> > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/
> > > > sr
> > > > c/main/resources/defaults.css
> > > > --source-path+=src
> > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> > > > -js-dynamic-access-unknown-members=true -- src/App.mxml
> > > > fcsh: Assigned 1 as the compile target id The project 'App' has been
> > > > successfully compiled and optimized.
> > > > Compile status: 0
> > > > Elapsed time: 14.211105399 seconds
> > > > Feb 18, 2021 5:43:40 PM
> > > > com.google.javascript.jscomp.LoggerErrorManager
> > > > printSummary
> > > > INFO: 0 error(s), 0 warning(s), 96.5% typed
> > > > (fcsh) quit
> > > > Compiler shell exited with code: 0
> > > > Royale Compiler Shell
> > > > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> > > > --source-map=true
> > > > --html-template=src/html/jewel-example-index-template.html
> > > >
> > > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/
> > > > sr
> > > > c/main/resources/defaults.css
> > > > --source-path+=src
> > > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> > > > -js-dynamic-access-unknown-members=true -- src/App.mxml
> > > > fcsh: Assigned 1 as the compile target id Compile status: 5 Elapsed
> > time:
> > > > 0.618407478 seconds
> > > >
> > > >
> > >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > > > col: 0 Error: unable to open
> > > >
> > > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
> > > >
> > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/r
> > > > oy
> > > > ale-config.xml
> > > > (line: 81)
> > > >
> > > > </js-external-library-path>
> > > >
> > > >
> > > >
> > > >
> > >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > > > col: 0 Error: unable to open
> > > >
> > > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
> > > >
> > > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/r
> > > > oy
> > > > ale-config.xml
> > > > (line: 81)
> > > >
> > > > </js-external-library-path>
> > > > (fcsh)
> > > > Quick Compile failed. Errors in compiler output.
> > > >
> > > > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
> > > > (<ca...@apache.org>)
> > > > escribió:
> > > >
> > > > > Hi,
> > > > >
> > > > > I rebuilt all from scratch just now and finally the distribution
> > > > > too and tried in VSCode and all seems to work fine for me.
> > > > >
> > > > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> > > > > christofer.dutz@c-ware.de>) escribió:
> > > > >
> > > > >> Hi Piotr,
> > > > >>
> > > > >> that class is located in lib\external\flex-tool-api.jar At least
> > > > >> in my distribution it's there and it contains the class.
> > > > >>
> > > > >> How are you calling the build that's failing?
> > > > >>
> > > > >> Chris
> > > > >>
> > > > >> -----Ursprüngliche Nachricht-----
> > > > >> Von: Piotr Zarzycki <pi...@gmail.com>
> > > > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> > > > >> An: Apache Royale Development <de...@royale.apache.org>
> > > > >> Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > >> distribution
> > > > >>
> > > > >> Chris,
> > > > >>
> > > > >> I just checked and I'm not able build project anymore using
> > > > distribution:
> > > > >>
> > > > >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
> > > > >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m
> > > > >> -Xmx3000m
> > > > >> : Error: Could not find or load main class
> > > > >> org.apache.royale.compiler.clients.MXMLJSC
> > > > >> : Caused by: java.lang.NoClassDefFoundError:
> > > > >> org/apache/flex/tools/FlexTool
> > > > >>
> > > > >> I'm done for today, so I will answer anything tomorrow.
> > > > >>
> > > > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
> > > > >> <ch...@c-ware.de>
> > > > >> napisał(a):
> > > > >>
> > > > >> > Ok ...
> > > > >> >
> > > > >> > so I just pushed another change. Now the distribution should
> > > > >> > also contain an empty spark.css, just like the Ant one.
> > > > >> >
> > > > >> > Chris
> > > > >> >
> > > > >> >
> > > > >> > -----Ursprüngliche Nachricht-----
> > > > >> > Von: Christofer Dutz <ch...@c-ware.de>
> > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> > > > >> > An: dev@royale.apache.org
> > > > >> > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > > > >> > distribution
> > > > >> >
> > > > >> > Ok,
> > > > >> >
> > > > >> > so that should now be fixed. Leaves the "spark.css"
> > > > >> > Having had a look, it seems as if the Ant build creates an
> > > > >> > empty
> > > > >> spark.css.
> > > > >> >
> > > > >> > Is this all we need? If yes, then I'll have that in ther in no
> > time.
> > > > >> >
> > > > >> > Chris
> > > > >> >
> > > > >> > -----Ursprüngliche Nachricht-----
> > > > >> > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> > > > >> > An: Apache Royale Development <de...@royale.apache.org>
> > > > >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > >> > distribution
> > > > >> >
> > > > >> > *(I assume that's in the "frameworks/js/libs" directory? *
> > > > >> >
> > > > >> > Yes this is the directory.
> > > > >> >
> > > > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> > > > >> > <ch...@c-ware.de>
> > > > >> > napisał(a):
> > > > >> >
> > > > >> > > Hi Piotr,
> > > > >> > >
> > > > >> > > Ok ... so Ant seems to be adding a "JS" to the end of every
> > > > >> > > name (I assume that's in the "frameworks/js/libs" directory?
> > > > >> > >
> > > > >> > > Also I'll try to find out where the "spark.css" should come
> > > > >> > > from
> > > ...
> > > > >> > > and where it should go to.
> > > > >> > >
> > > > >> > > Chris
> > > > >> > >
> > > > >> > >
> > > > >> > > -----Ursprüngliche Nachricht-----
> > > > >> > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> > > > >> > > An: Apache Royale Development <de...@royale.apache.org>
> > > > >> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > >> > > distribution
> > > > >> > >
> > > > >> > > Chris,
> > > > >> > >
> > > > >> > > Looks better but here is the comparision what I have in Ant
> > > > >> > > distribution vs Maven distribution in case of names. On the
> > > > >> > > left Ant distribution, on the right Maven. It is folder:
> > > > >> > > frameworks\js\libs\ [1]
> > > > >> > >
> > > > >> > > [1] https://ibb.co/W2DzcDb
> > > > >> > >
> > > > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> > > > >> > > <ch...@c-ware.de>
> > > > >> > > napisał(a):
> > > > >> > >
> > > > >> > > > And done ...
> > > > >> > > >
> > > > >> > > > Now all elements in the distribution only consist of their
> > > > >> > > > name and file-ending ... all versions and classifiers have
> > > > >> > > > been
> > > > removed.
> > > > >> > > > Please provide me with feedback on if this solves the
> issues.
> > > > >> > > >
> > > > >> > > > Chris
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > -----Ursprüngliche Nachricht-----
> > > > >> > > > Von: Christofer Dutz <ch...@c-ware.de>
> > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> > > > >> > > > An: dev@royale.apache.org
> > > > >> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > > > >> > > > distribution
> > > > >> > > >
> > > > >> > > > I'll probably have a fix for that in a few minuntes ...
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > Chris
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > -----Ursprüngliche Nachricht-----
> > > > >> > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> > > > >> > > > An: Apache Royale Development <de...@royale.apache.org>
> > > > >> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > >> > > > distribution
> > > > >> > > >
> > > > >> > > > Chris,
> > > > >> > > >
> > > > >> > > > No it's not about not picking up by IDE at all. Moonshine
> > > > >> > > > and VSCode are able to build projects using Maven
> > > > >> > > > distribution package! It is about project which are mixed
> > > > >> > > > for example when user wanted to use Jewel module +
> > > > >> > > > RemoteObject class from MXRoyale module. In that case user
> > > > >> > > > need to point explicilty as a compiler options in IDE that
> > > > >> > > > he wanted to have SWC included and need to exclude css from
> > > > >> > > > that swc to
> > > > >> > > avoid problems.
> > > > >> > > >
> > > > >> > > > It is happen like that:
> > > > >> > > >
> > > > >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > > >> > > >
> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> > > > >> > > > cs
> > > > >> > > > s
> > > > >> > > >
> > > > >> > > > If I would like to use maven distribution user need to know
> > > > >> > > > version for that compiler options. It is even more tricky
> > > > >> > > > when your swc is called
> > > > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> > > > >> > > >
> > > > >> > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.
> > > > >> > > > cs
> > > > >> > > > s
> > > > >> > > >
> > > > >> > > > Thanks,
> > > > >> > > > Piotr
> > > > >> > > >
> > > > >> > > >
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> > > > >> > > > <ch...@c-ware.de>
> > > > >> > > > napisał(a):
> > > > >> > > >
> > > > >> > > > > Hi Piotr,
> > > > >> > > > >
> > > > >> > > > > And is really the version-suffix causing it to not be
> > > > >> > > > > picked up by the IDEs?
> > > > >> > > > >
> > > > >> > > > > Chris
> > > > >> > > > >
> > > > >> > > > > -----Ursprüngliche Nachricht-----
> > > > >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> > > > >> > > > > An: dev@royale.apache.org
> > > > >> > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > >> > > > > distribution
> > > > >> > > > >
> > > > >> > > > > Hi Chris,
> > > > >> > > > >
> > > > >> > > > > This is the only thing which seems to be a constant
> > > > >> > > > > problem
> > > > here.
> > > > >> > > > > I personally and some users will be much more happy
> > > > >> > > > > having that
> > > > >> > change.
> > > > >> > > > >
> > > > >> > > > > Thanks,
> > > > >> > > > > Piotr
> > > > >> > > > >
> > > > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> > > > >> > > > > <ch...@c-ware.de>
> > > > >> > > > > wrote:
> > > > >> > > > >
> > > > >> > > > > > Hi Piotr,
> > > > >> > > > > >
> > > > >> > > > > > I'd be happy to help with that.
> > > > >> > > > > >
> > > > >> > > > > > I did simply ask for a list of things that need to be
> > > > >> > > > > > changed in order to get things working, but never got
> > > > >> > > > > > said list, so I never knew what I could do to make the
> > > > >> > > > > > Maven distribution match up to the
> > > > >> > > > Ant built one.
> > > > >> > > > > >
> > > > >> > > > > > Chris
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > > > -----Ursprüngliche Nachricht-----
> > > > >> > > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> > > > >> > > > > > An: Apache Royale Development <de...@royale.apache.org>
> > > > >> > > > > > Betreff: Align Maven IDE distribution with Ant IDE
> > > > >> > > > > > distribution
> > > > >> > > > > >
> > > > >> > > > > > Hi Guys,
> > > > >> > > > > >
> > > > >> > > > > > It's been couple of times when user complains that he
> > > > >> > > > > > have problems with using Maven distribution vs Ant
> > > > >> > > > > > distribution in IDE in a mixed project Jewel + MX/Spark
> > etc.
> > > > >> > > > > >
> > > > >> > > > > > Can we have that resolve once for all and adjust Maven
> > > > >> > > > > > distribution folder to produce proper names of swcs ?
> > > > >> > > > > >
> > > > >> > > > > > Currently when I build Maven IDE distribution I have:
> > > > >> > > > > >
> > > > >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> > > > >> > > > > >
> > > > >> > > > > > When I build Ant IDE distribution I have:
> > > > >> > > > > >
> > > > >> > > > > > MXRoyale-js.swc
> > > > >> > > > > >
> > > > >> > > > > > Thanks,
> > > > >> > > > > > --
> > > > >> > > > > >
> > > > >> > > > > > Piotr Zarzycki
> > > > >> > > > > >
> > > > >> > > > > --
> > > > >> > > > >
> > > > >> > > > > Piotr Zarzycki
> > > > >> > > > >
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > --
> > > > >> > > >
> > > > >> > > > Piotr Zarzycki
> > > > >> > > >
> > > > >> > >
> > > > >> > >
> > > > >> > > --
> > > > >> > >
> > > > >> > > Piotr Zarzycki
> > > > >> > >
> > > > >> >
> > > > >> >
> > > > >> > --
> > > > >> >
> > > > >> > Piotr Zarzycki
> > > > >> >
> > > > >>
> > > > >>
> > > > >> --
> > > > >>
> > > > >> Piotr Zarzycki
> > > > >>
> > > > >
> > > > >
> > > > > --
> > > > > Carlos Rovira
> > > > > Apache Member & Apache Royale PMC
> > > > > *Apache Software Foundation*
> > > > > http://about.me/carlosrovira
> > > > >
> > > > >
> > > >
> > > > --
> > > > Carlos Rovira
> > > > Apache Member & Apache Royale PMC
> > > > *Apache Software Foundation*
> > > > http://about.me/carlosrovira
> > > >
> > >
> > >
> > > --
> > >
> > > Piotr Zarzycki
> > >
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
> --
>
> Piotr Zarzycki
>
--
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira
Re: Align Maven IDE distribution with Ant IDE distribution
Posted by Piotr Zarzycki <pi...@gmail.com>.
It looks like something bad has happened with my environment. I changed
lately Java settings a bit. You can see what is setup in my stacktrace.
I will get back to that over the weekend or on Monday.
On Fri, 19 Feb 2021 at 18:24, Maria Jose Esteve <mj...@iest.com> wrote:
> Hi,
> Piotr, I just tested your distribution with my project and the compilation
> was successful, no errors.
> Running the application seems to be working fine too.
> (I compile the application with mvn)
>
> What do they need me to try now?
>
> Hiedra.
> -----Mensaje original-----
> De: Piotr Zarzycki <pi...@gmail.com>
> Enviado el: viernes, 19 de febrero de 2021 18:11
> Para: Apache Royale Development <de...@royale.apache.org>
> Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
>
> Did you test my distribution ?
>
> pt., 19 lut 2021 o 18:00 Christofer Dutz <ch...@c-ware.de>
> napisał(a):
>
> > So I did a bit more of testing.
> >
> > So after I had no issues building Carlos' example, I tried the
> > TourDeJewl example.
> > So I opened VSCode in the directory of TDJ example ... created a
> > settings.json with the folowing content:
> >
> > {
> > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > }
> >
> > Hit STRG+Enter and waited a bit ...
> >
> > Then I opened the output in Chrome and have a fully functioning TDJ
> > application.
> >
> > So I wouldn't consider the build broken.
> >
> > Chris
> >
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Maria Jose Esteve <mj...@iest.com>
> > Gesendet: Freitag, 19. Februar 2021 17:51
> > An: dev@royale.apache.org
> > Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
> >
> > Sure, that would be "expected", but like I told you: if I change it to
> > MXRoyaleJS.swc, the app "does nonsense".
> > Maybe something has gotten my way.
> >
> > I will read your messages and see if I can help with something.
> >
> > Hiedra.
> > -----Mensaje original-----
> > De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> > 19 de febrero de 2021 14:12
> > Para: dev@royale.apache.org
> > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi Hiedra,
> >
> > well I changed the distribution to make the names like in the ANT
> > distribution yesterday.
> > But you are passing in an argument telling the compiler to use the old
> > format and now it should be the new ...
> >
> > Try:
> > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc: defaults.css;
> > For -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> > defaults.css;
> >
> > Instead of your variant.
> >
> > Chris
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Maria Jose Esteve <mj...@iest.com>
> > Gesendet: Freitag, 19. Februar 2021 14:08
> > An: dev@royale.apache.org
> > Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
> >
> > Yes, until recently I also compiled only with Maven. Due to the
> > problem with the spark.css I started to do the double compilation of
> MAVEN and ANT.
> >
> > It's funny, now, the swc's are not generated with
> > "xxxx-0.9.8-SNAPSHOT-js.swc" in the distribution BUT if in the pom of
> > my project I change in additionalCompilerOptions:
> > -compiler.exclude-defaults-css-files = MXRoyale - $
> > {royale.framework.version} -js.swc: defaults.css; For
> > -compiler.exclude-defaults-css-files = MXRoyaleJS.swc: defaults.css;
> > My application starts to do nonsense (for example the change of
> > selectedContent in my ApplicationMainContent does not display)
> >
> > Chris, thank you.
> > Hiedra
> >
> > -----Mensaje original-----
> > De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> > 19 de febrero de 2021 13:09
> > Para: dev@royale.apache.org
> > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi Hiedra,
> >
> > I have to admit that I've never used VSCode. Every time I do any
> > development I usually use one of the JetBrains IDEs.
> > Royale Stuff I do in IntelliJ ... with my "Flexmojos Hack" it can be
> > used quite well. And I always compile with Maven.
> >
> > But thanks for the explanation on why the other path is set differently.
> >
> > I guess we'll have to wait till some others can tell me what needs to
> > be changed.
> >
> > Chris
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Maria Jose Esteve <mj...@iest.com>
> > Gesendet: Freitag, 19. Februar 2021 12:48
> > An: dev@royale.apache.org
> > Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hello Chris,
> > so that I can debug my changes in the SDK I need to set the path of
> > the "as3mxml.sdk.editor" to the asjs directory of my fork, for this
> > reason the path of the " as3mxml.sdk.framework" points to the
> > directory of the maven distribution and the "as3mxml.sdk.editor" to code.
> >
> > ">> I'm not getting any errors from VSCode. But well ... if I hit
> > SHIFT+Enter it starts doing something where if failed prior to my
> > >> changes this morning and is no longer complaining, but it's also
> > >> not
> > doing much (I can't see it create a "bin" directory)"
> >
> > I don't quite understand this ... possibly because of my lack of
> knowledge.
> >
> > I have not tried Carlos's project but this afternoon I will be able to
> > do it and I will be able to give more details.
> >
> > Thx.
> > Hiedra.
> >
> > -----Mensaje original-----
> > De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> > 19 de febrero de 2021 11:51
> > Para: dev@royale.apache.org
> > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi Heidra,
> >
> > I just updated Carlos' example to have the same type of setting
> > (C:\\Temp\\RoyaleSDK is where I have my Maven build generate the SDK):
> >
> > setings.js:
> > {
> > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > }
> >
> > workspace-code-workspace
> > {
> > "folders": [
> > {
> > "path": ".."
> > }
> > ],
> > "settings": {
> > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > }
> > }
> >
> > I'm not getting any errors from VSCode. But well ... if I hit
> > SHIFT+Enter it starts doing something where if failed prior to my
> > changes this morning and is no longer complaining, but it's also not
> > doing much (I can't see it create a "bin" directory)
> >
> > Chris
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Maria Jose Esteve <mj...@iest.com>
> > Gesendet: Freitag, 19. Februar 2021 10:53
> > An: dev@royale.apache.org
> > Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
> >
> > If I don't compile with ANT, the mxml extension in vsCode IDE, it
> > doesn't recognize the valid asjs directory for "as3mxml.sdk.editor":
> > ...
> > "settings": {
> > "as3mxml.sdk.framework":
> > "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
> > "as3mxml.sdk.editor":
> > "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs" <--------
> > [download folder repo royale-asjs]
> > }
> > }
> >
> > The error is:
> > " as3mxml.sdk.editor in settings does not point to a valid SDK.
> > Requires..."
> >
> > Thx.
> > Hiedra.
> >
> > -----Mensaje original-----
> > De: Piotr Zarzycki <pi...@gmail.com> Enviado el: viernes, 19
> > de febrero de 2021 10:44
> > Para: Apache Royale Development <de...@royale.apache.org>
> > Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi Chris,
> >
> > I just tried your changes and I have same issue. I need to understand
> > what has change enough significantly that it causes compilation fail
> > in such way. It doesn't happen with SDK prepared by ANT.
> >
> > Thanks,
> > Piotr
> >
> > pt., 19 lut 2021 o 10:33 Maria Jose Esteve <mj...@iest.com>
> napisał(a):
> >
> > > @Chris you're right, sorry, I didn't download your last commit.
> > > I'm sorry.
> > > Hiedra.
> > >
> > > -----Mensaje original-----
> > > De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> > > 19 de febrero de 2021 10:17
> > > Para: dev@royale.apache.org
> > > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > I'll try to guess what you wanted to say here ...
> > >
> > > But I think these are exactly the changes I comitted a an hour ago,
> > right?
> > > At least in general I replaced all the references to names with
> > > versions to the changed ones.
> > >
> > >
> > > Chris
> > >
> > >
> > >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Maria Jose Esteve <mj...@iest.com>
> > > Gesendet: Freitag, 19. Februar 2021 10:01
> > > An: dev@royale.apache.org
> > > Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > Hi,
> > > Mi distribución hace referencia en el fichero
> > > "./frameworks/royale-config.xml" a las librerías:
> > >
> > > <js-external-library-path>
> > >
> > > <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.
> > > sw
> > > c</path-element>
> > >
> > >
> > <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.s
> > wc</path-element>
> > > </js-external-library-path>
> > >
> > > Las correctas son:
> > >
> > > <js-external-library-path>
> > >
> <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> > >
> <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
> > > </js-external-library-path>
> > >
> > > Hiedra
> > >
> > > -----Mensaje original-----
> > > De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> > > 19 de febrero de 2021 9:39
> > > Para: dev@royale.apache.org
> > > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > Ok,
> > >
> > > so the config xml files in the distribution were still pointing to
> > > the old names. I updated them all to now refer to the names.
> > > I tried things in Carlos' demo project, and I'm no-longer getting
> > > the errors, however compilation seems to take for ever.
> > >
> > > Please try out the changes and tell me if there are any problems
> > > with
> > them.
> > >
> > > Chris
> > >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Christofer Dutz <ch...@c-ware.de>
> > > Gesendet: Donnerstag, 18. Februar 2021 23:17
> > > An: dev@royale.apache.org
> > > Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > Hi Carlos,
> > >
> > > I'll look into this tomorrow.
> > >
> > > Chris
> > >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Carlos Rovira <ca...@apache.org>
> > > Gesendet: Donnerstag, 18. Februar 2021 17:49
> > > An: Apache Royale Development <de...@royale.apache.org>
> > > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > Hi, I think I talked very quickly, sorry, there seems to be a problem.
> > >
> > > @Christofer Dutz <ch...@c-ware.de> you can download this
> > > project:
> > >
> > >
> > > https://github.com/apache/royale-asjs/files/6004363/ToggleButtonBarI
> > > ss
> > > ue.zip
> > >
> > > Then using VSCode with AS3&MXML and adding the Maven distribution.
> > > Then hit CTRL+ENTER and you will get the following fail. Using ANT
> > > distribution is working fine.
> > > Can you take a look?
> > >
> > > Royale Compiler Shell
> > > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> > > --source-map=true
> > > --html-template=src/html/jewel-example-index-template.html
> > >
> > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/
> > > sr
> > > c/main/resources/defaults.css
> > > --source-path+=src
> > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> > > -js-dynamic-access-unknown-members=true -- src/App.mxml
> > > fcsh: Assigned 1 as the compile target id The project 'App' has been
> > > successfully compiled and optimized.
> > > Compile status: 0
> > > Elapsed time: 14.211105399 seconds
> > > Feb 18, 2021 5:43:40 PM
> > > com.google.javascript.jscomp.LoggerErrorManager
> > > printSummary
> > > INFO: 0 error(s), 0 warning(s), 96.5% typed
> > > (fcsh) quit
> > > Compiler shell exited with code: 0
> > > Royale Compiler Shell
> > > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> > > --source-map=true
> > > --html-template=src/html/jewel-example-index-template.html
> > >
> > > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/
> > > sr
> > > c/main/resources/defaults.css
> > > --source-path+=src
> > > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> > > -js-dynamic-access-unknown-members=true -- src/App.mxml
> > > fcsh: Assigned 1 as the compile target id Compile status: 5 Elapsed
> time:
> > > 0.618407478 seconds
> > >
> > >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > > col: 0 Error: unable to open
> > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
> > >
> > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/r
> > > oy
> > > ale-config.xml
> > > (line: 81)
> > >
> > > </js-external-library-path>
> > >
> > >
> > >
> > >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > > col: 0 Error: unable to open
> > >
> > >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
> > >
> > > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/r
> > > oy
> > > ale-config.xml
> > > (line: 81)
> > >
> > > </js-external-library-path>
> > > (fcsh)
> > > Quick Compile failed. Errors in compiler output.
> > >
> > > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
> > > (<ca...@apache.org>)
> > > escribió:
> > >
> > > > Hi,
> > > >
> > > > I rebuilt all from scratch just now and finally the distribution
> > > > too and tried in VSCode and all seems to work fine for me.
> > > >
> > > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> > > > christofer.dutz@c-ware.de>) escribió:
> > > >
> > > >> Hi Piotr,
> > > >>
> > > >> that class is located in lib\external\flex-tool-api.jar At least
> > > >> in my distribution it's there and it contains the class.
> > > >>
> > > >> How are you calling the build that's failing?
> > > >>
> > > >> Chris
> > > >>
> > > >> -----Ursprüngliche Nachricht-----
> > > >> Von: Piotr Zarzycki <pi...@gmail.com>
> > > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> > > >> An: Apache Royale Development <de...@royale.apache.org>
> > > >> Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > >> distribution
> > > >>
> > > >> Chris,
> > > >>
> > > >> I just checked and I'm not able build project anymore using
> > > distribution:
> > > >>
> > > >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
> > > >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m
> > > >> -Xmx3000m
> > > >> : Error: Could not find or load main class
> > > >> org.apache.royale.compiler.clients.MXMLJSC
> > > >> : Caused by: java.lang.NoClassDefFoundError:
> > > >> org/apache/flex/tools/FlexTool
> > > >>
> > > >> I'm done for today, so I will answer anything tomorrow.
> > > >>
> > > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
> > > >> <ch...@c-ware.de>
> > > >> napisał(a):
> > > >>
> > > >> > Ok ...
> > > >> >
> > > >> > so I just pushed another change. Now the distribution should
> > > >> > also contain an empty spark.css, just like the Ant one.
> > > >> >
> > > >> > Chris
> > > >> >
> > > >> >
> > > >> > -----Ursprüngliche Nachricht-----
> > > >> > Von: Christofer Dutz <ch...@c-ware.de>
> > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> > > >> > An: dev@royale.apache.org
> > > >> > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > > >> > distribution
> > > >> >
> > > >> > Ok,
> > > >> >
> > > >> > so that should now be fixed. Leaves the "spark.css"
> > > >> > Having had a look, it seems as if the Ant build creates an
> > > >> > empty
> > > >> spark.css.
> > > >> >
> > > >> > Is this all we need? If yes, then I'll have that in ther in no
> time.
> > > >> >
> > > >> > Chris
> > > >> >
> > > >> > -----Ursprüngliche Nachricht-----
> > > >> > Von: Piotr Zarzycki <pi...@gmail.com>
> > > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> > > >> > An: Apache Royale Development <de...@royale.apache.org>
> > > >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > >> > distribution
> > > >> >
> > > >> > *(I assume that's in the "frameworks/js/libs" directory? *
> > > >> >
> > > >> > Yes this is the directory.
> > > >> >
> > > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> > > >> > <ch...@c-ware.de>
> > > >> > napisał(a):
> > > >> >
> > > >> > > Hi Piotr,
> > > >> > >
> > > >> > > Ok ... so Ant seems to be adding a "JS" to the end of every
> > > >> > > name (I assume that's in the "frameworks/js/libs" directory?
> > > >> > >
> > > >> > > Also I'll try to find out where the "spark.css" should come
> > > >> > > from
> > ...
> > > >> > > and where it should go to.
> > > >> > >
> > > >> > > Chris
> > > >> > >
> > > >> > >
> > > >> > > -----Ursprüngliche Nachricht-----
> > > >> > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> > > >> > > An: Apache Royale Development <de...@royale.apache.org>
> > > >> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > >> > > distribution
> > > >> > >
> > > >> > > Chris,
> > > >> > >
> > > >> > > Looks better but here is the comparision what I have in Ant
> > > >> > > distribution vs Maven distribution in case of names. On the
> > > >> > > left Ant distribution, on the right Maven. It is folder:
> > > >> > > frameworks\js\libs\ [1]
> > > >> > >
> > > >> > > [1] https://ibb.co/W2DzcDb
> > > >> > >
> > > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> > > >> > > <ch...@c-ware.de>
> > > >> > > napisał(a):
> > > >> > >
> > > >> > > > And done ...
> > > >> > > >
> > > >> > > > Now all elements in the distribution only consist of their
> > > >> > > > name and file-ending ... all versions and classifiers have
> > > >> > > > been
> > > removed.
> > > >> > > > Please provide me with feedback on if this solves the issues.
> > > >> > > >
> > > >> > > > Chris
> > > >> > > >
> > > >> > > >
> > > >> > > > -----Ursprüngliche Nachricht-----
> > > >> > > > Von: Christofer Dutz <ch...@c-ware.de>
> > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> > > >> > > > An: dev@royale.apache.org
> > > >> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > > >> > > > distribution
> > > >> > > >
> > > >> > > > I'll probably have a fix for that in a few minuntes ...
> > > >> > > >
> > > >> > > >
> > > >> > > > Chris
> > > >> > > >
> > > >> > > >
> > > >> > > > -----Ursprüngliche Nachricht-----
> > > >> > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> > > >> > > > An: Apache Royale Development <de...@royale.apache.org>
> > > >> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > >> > > > distribution
> > > >> > > >
> > > >> > > > Chris,
> > > >> > > >
> > > >> > > > No it's not about not picking up by IDE at all. Moonshine
> > > >> > > > and VSCode are able to build projects using Maven
> > > >> > > > distribution package! It is about project which are mixed
> > > >> > > > for example when user wanted to use Jewel module +
> > > >> > > > RemoteObject class from MXRoyale module. In that case user
> > > >> > > > need to point explicilty as a compiler options in IDE that
> > > >> > > > he wanted to have SWC included and need to exclude css from
> > > >> > > > that swc to
> > > >> > > avoid problems.
> > > >> > > >
> > > >> > > > It is happen like that:
> > > >> > > >
> > > >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > >> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> > > >> > > > cs
> > > >> > > > s
> > > >> > > >
> > > >> > > > If I would like to use maven distribution user need to know
> > > >> > > > version for that compiler options. It is even more tricky
> > > >> > > > when your swc is called
> > > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> > > >> > > >
> > > >> > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.
> > > >> > > > cs
> > > >> > > > s
> > > >> > > >
> > > >> > > > Thanks,
> > > >> > > > Piotr
> > > >> > > >
> > > >> > > >
> > > >> > > >
> > > >> > > >
> > > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> > > >> > > > <ch...@c-ware.de>
> > > >> > > > napisał(a):
> > > >> > > >
> > > >> > > > > Hi Piotr,
> > > >> > > > >
> > > >> > > > > And is really the version-suffix causing it to not be
> > > >> > > > > picked up by the IDEs?
> > > >> > > > >
> > > >> > > > > Chris
> > > >> > > > >
> > > >> > > > > -----Ursprüngliche Nachricht-----
> > > >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> > > >> > > > > An: dev@royale.apache.org
> > > >> > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > >> > > > > distribution
> > > >> > > > >
> > > >> > > > > Hi Chris,
> > > >> > > > >
> > > >> > > > > This is the only thing which seems to be a constant
> > > >> > > > > problem
> > > here.
> > > >> > > > > I personally and some users will be much more happy
> > > >> > > > > having that
> > > >> > change.
> > > >> > > > >
> > > >> > > > > Thanks,
> > > >> > > > > Piotr
> > > >> > > > >
> > > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> > > >> > > > > <ch...@c-ware.de>
> > > >> > > > > wrote:
> > > >> > > > >
> > > >> > > > > > Hi Piotr,
> > > >> > > > > >
> > > >> > > > > > I'd be happy to help with that.
> > > >> > > > > >
> > > >> > > > > > I did simply ask for a list of things that need to be
> > > >> > > > > > changed in order to get things working, but never got
> > > >> > > > > > said list, so I never knew what I could do to make the
> > > >> > > > > > Maven distribution match up to the
> > > >> > > > Ant built one.
> > > >> > > > > >
> > > >> > > > > > Chris
> > > >> > > > > >
> > > >> > > > > >
> > > >> > > > > > -----Ursprüngliche Nachricht-----
> > > >> > > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> > > >> > > > > > An: Apache Royale Development <de...@royale.apache.org>
> > > >> > > > > > Betreff: Align Maven IDE distribution with Ant IDE
> > > >> > > > > > distribution
> > > >> > > > > >
> > > >> > > > > > Hi Guys,
> > > >> > > > > >
> > > >> > > > > > It's been couple of times when user complains that he
> > > >> > > > > > have problems with using Maven distribution vs Ant
> > > >> > > > > > distribution in IDE in a mixed project Jewel + MX/Spark
> etc.
> > > >> > > > > >
> > > >> > > > > > Can we have that resolve once for all and adjust Maven
> > > >> > > > > > distribution folder to produce proper names of swcs ?
> > > >> > > > > >
> > > >> > > > > > Currently when I build Maven IDE distribution I have:
> > > >> > > > > >
> > > >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> > > >> > > > > >
> > > >> > > > > > When I build Ant IDE distribution I have:
> > > >> > > > > >
> > > >> > > > > > MXRoyale-js.swc
> > > >> > > > > >
> > > >> > > > > > Thanks,
> > > >> > > > > > --
> > > >> > > > > >
> > > >> > > > > > Piotr Zarzycki
> > > >> > > > > >
> > > >> > > > > --
> > > >> > > > >
> > > >> > > > > Piotr Zarzycki
> > > >> > > > >
> > > >> > > >
> > > >> > > >
> > > >> > > > --
> > > >> > > >
> > > >> > > > Piotr Zarzycki
> > > >> > > >
> > > >> > >
> > > >> > >
> > > >> > > --
> > > >> > >
> > > >> > > Piotr Zarzycki
> > > >> > >
> > > >> >
> > > >> >
> > > >> > --
> > > >> >
> > > >> > Piotr Zarzycki
> > > >> >
> > > >>
> > > >>
> > > >> --
> > > >>
> > > >> Piotr Zarzycki
> > > >>
> > > >
> > > >
> > > > --
> > > > Carlos Rovira
> > > > Apache Member & Apache Royale PMC
> > > > *Apache Software Foundation*
> > > > http://about.me/carlosrovira
> > > >
> > > >
> > >
> > > --
> > > Carlos Rovira
> > > Apache Member & Apache Royale PMC
> > > *Apache Software Foundation*
> > > http://about.me/carlosrovira
> > >
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
>
>
> --
>
> Piotr Zarzycki
>
--
Piotr Zarzycki
RE: Align Maven IDE distribution with Ant IDE distribution
Posted by Maria Jose Esteve <mj...@iest.com>.
Hi,
Piotr, I just tested your distribution with my project and the compilation was successful, no errors.
Running the application seems to be working fine too.
(I compile the application with mvn)
What do they need me to try now?
Hiedra.
-----Mensaje original-----
De: Piotr Zarzycki <pi...@gmail.com>
Enviado el: viernes, 19 de febrero de 2021 18:11
Para: Apache Royale Development <de...@royale.apache.org>
Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
Did you test my distribution ?
pt., 19 lut 2021 o 18:00 Christofer Dutz <ch...@c-ware.de>
napisał(a):
> So I did a bit more of testing.
>
> So after I had no issues building Carlos' example, I tried the
> TourDeJewl example.
> So I opened VSCode in the directory of TDJ example ... created a
> settings.json with the folowing content:
>
> {
> "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> }
>
> Hit STRG+Enter and waited a bit ...
>
> Then I opened the output in Chrome and have a fully functioning TDJ
> application.
>
> So I wouldn't consider the build broken.
>
> Chris
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Maria Jose Esteve <mj...@iest.com>
> Gesendet: Freitag, 19. Februar 2021 17:51
> An: dev@royale.apache.org
> Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
>
> Sure, that would be "expected", but like I told you: if I change it to
> MXRoyaleJS.swc, the app "does nonsense".
> Maybe something has gotten my way.
>
> I will read your messages and see if I can help with something.
>
> Hiedra.
> -----Mensaje original-----
> De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> 19 de febrero de 2021 14:12
> Para: dev@royale.apache.org
> Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>
> Hi Hiedra,
>
> well I changed the distribution to make the names like in the ANT
> distribution yesterday.
> But you are passing in an argument telling the compiler to use the old
> format and now it should be the new ...
>
> Try:
> -compiler.exclude-defaults-css-files = MXRoyaleJS.swc: defaults.css;
> For -compiler.exclude-defaults-css-files = MXRoyaleJS.swc:
> defaults.css;
>
> Instead of your variant.
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Maria Jose Esteve <mj...@iest.com>
> Gesendet: Freitag, 19. Februar 2021 14:08
> An: dev@royale.apache.org
> Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
>
> Yes, until recently I also compiled only with Maven. Due to the
> problem with the spark.css I started to do the double compilation of MAVEN and ANT.
>
> It's funny, now, the swc's are not generated with
> "xxxx-0.9.8-SNAPSHOT-js.swc" in the distribution BUT if in the pom of
> my project I change in additionalCompilerOptions:
> -compiler.exclude-defaults-css-files = MXRoyale - $
> {royale.framework.version} -js.swc: defaults.css; For
> -compiler.exclude-defaults-css-files = MXRoyaleJS.swc: defaults.css;
> My application starts to do nonsense (for example the change of
> selectedContent in my ApplicationMainContent does not display)
>
> Chris, thank you.
> Hiedra
>
> -----Mensaje original-----
> De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> 19 de febrero de 2021 13:09
> Para: dev@royale.apache.org
> Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>
> Hi Hiedra,
>
> I have to admit that I've never used VSCode. Every time I do any
> development I usually use one of the JetBrains IDEs.
> Royale Stuff I do in IntelliJ ... with my "Flexmojos Hack" it can be
> used quite well. And I always compile with Maven.
>
> But thanks for the explanation on why the other path is set differently.
>
> I guess we'll have to wait till some others can tell me what needs to
> be changed.
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Maria Jose Esteve <mj...@iest.com>
> Gesendet: Freitag, 19. Februar 2021 12:48
> An: dev@royale.apache.org
> Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
>
> Hello Chris,
> so that I can debug my changes in the SDK I need to set the path of
> the "as3mxml.sdk.editor" to the asjs directory of my fork, for this
> reason the path of the " as3mxml.sdk.framework" points to the
> directory of the maven distribution and the "as3mxml.sdk.editor" to code.
>
> ">> I'm not getting any errors from VSCode. But well ... if I hit
> SHIFT+Enter it starts doing something where if failed prior to my
> >> changes this morning and is no longer complaining, but it's also
> >> not
> doing much (I can't see it create a "bin" directory)"
>
> I don't quite understand this ... possibly because of my lack of knowledge.
>
> I have not tried Carlos's project but this afternoon I will be able to
> do it and I will be able to give more details.
>
> Thx.
> Hiedra.
>
> -----Mensaje original-----
> De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> 19 de febrero de 2021 11:51
> Para: dev@royale.apache.org
> Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>
> Hi Heidra,
>
> I just updated Carlos' example to have the same type of setting
> (C:\\Temp\\RoyaleSDK is where I have my Maven build generate the SDK):
>
> setings.js:
> {
> "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> }
>
> workspace-code-workspace
> {
> "folders": [
> {
> "path": ".."
> }
> ],
> "settings": {
> "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> }
> }
>
> I'm not getting any errors from VSCode. But well ... if I hit
> SHIFT+Enter it starts doing something where if failed prior to my
> changes this morning and is no longer complaining, but it's also not
> doing much (I can't see it create a "bin" directory)
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Maria Jose Esteve <mj...@iest.com>
> Gesendet: Freitag, 19. Februar 2021 10:53
> An: dev@royale.apache.org
> Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
>
> If I don't compile with ANT, the mxml extension in vsCode IDE, it
> doesn't recognize the valid asjs directory for "as3mxml.sdk.editor":
> ...
> "settings": {
> "as3mxml.sdk.framework":
> "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
> "as3mxml.sdk.editor":
> "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs" <--------
> [download folder repo royale-asjs]
> }
> }
>
> The error is:
> " as3mxml.sdk.editor in settings does not point to a valid SDK.
> Requires..."
>
> Thx.
> Hiedra.
>
> -----Mensaje original-----
> De: Piotr Zarzycki <pi...@gmail.com> Enviado el: viernes, 19
> de febrero de 2021 10:44
> Para: Apache Royale Development <de...@royale.apache.org>
> Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
>
> Hi Chris,
>
> I just tried your changes and I have same issue. I need to understand
> what has change enough significantly that it causes compilation fail
> in such way. It doesn't happen with SDK prepared by ANT.
>
> Thanks,
> Piotr
>
> pt., 19 lut 2021 o 10:33 Maria Jose Esteve <mj...@iest.com> napisał(a):
>
> > @Chris you're right, sorry, I didn't download your last commit.
> > I'm sorry.
> > Hiedra.
> >
> > -----Mensaje original-----
> > De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> > 19 de febrero de 2021 10:17
> > Para: dev@royale.apache.org
> > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > I'll try to guess what you wanted to say here ...
> >
> > But I think these are exactly the changes I comitted a an hour ago,
> right?
> > At least in general I replaced all the references to names with
> > versions to the changed ones.
> >
> >
> > Chris
> >
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Maria Jose Esteve <mj...@iest.com>
> > Gesendet: Freitag, 19. Februar 2021 10:01
> > An: dev@royale.apache.org
> > Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi,
> > Mi distribución hace referencia en el fichero
> > "./frameworks/royale-config.xml" a las librerías:
> >
> > <js-external-library-path>
> >
> > <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.
> > sw
> > c</path-element>
> >
> >
> <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.s
> wc</path-element>
> > </js-external-library-path>
> >
> > Las correctas son:
> >
> > <js-external-library-path>
> > <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> > <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
> > </js-external-library-path>
> >
> > Hiedra
> >
> > -----Mensaje original-----
> > De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> > 19 de febrero de 2021 9:39
> > Para: dev@royale.apache.org
> > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > Ok,
> >
> > so the config xml files in the distribution were still pointing to
> > the old names. I updated them all to now refer to the names.
> > I tried things in Carlos' demo project, and I'm no-longer getting
> > the errors, however compilation seems to take for ever.
> >
> > Please try out the changes and tell me if there are any problems
> > with
> them.
> >
> > Chris
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Christofer Dutz <ch...@c-ware.de>
> > Gesendet: Donnerstag, 18. Februar 2021 23:17
> > An: dev@royale.apache.org
> > Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi Carlos,
> >
> > I'll look into this tomorrow.
> >
> > Chris
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Carlos Rovira <ca...@apache.org>
> > Gesendet: Donnerstag, 18. Februar 2021 17:49
> > An: Apache Royale Development <de...@royale.apache.org>
> > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi, I think I talked very quickly, sorry, there seems to be a problem.
> >
> > @Christofer Dutz <ch...@c-ware.de> you can download this
> > project:
> >
> >
> > https://github.com/apache/royale-asjs/files/6004363/ToggleButtonBarI
> > ss
> > ue.zip
> >
> > Then using VSCode with AS3&MXML and adding the Maven distribution.
> > Then hit CTRL+ENTER and you will get the following fail. Using ANT
> > distribution is working fine.
> > Can you take a look?
> >
> > Royale Compiler Shell
> > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> > --source-map=true
> > --html-template=src/html/jewel-example-index-template.html
> >
> > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/
> > sr
> > c/main/resources/defaults.css
> > --source-path+=src
> > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> > -js-dynamic-access-unknown-members=true -- src/App.mxml
> > fcsh: Assigned 1 as the compile target id The project 'App' has been
> > successfully compiled and optimized.
> > Compile status: 0
> > Elapsed time: 14.211105399 seconds
> > Feb 18, 2021 5:43:40 PM
> > com.google.javascript.jscomp.LoggerErrorManager
> > printSummary
> > INFO: 0 error(s), 0 warning(s), 96.5% typed
> > (fcsh) quit
> > Compiler shell exited with code: 0
> > Royale Compiler Shell
> > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> > --source-map=true
> > --html-template=src/html/jewel-example-index-template.html
> >
> > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/
> > sr
> > c/main/resources/defaults.css
> > --source-path+=src
> > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> > -js-dynamic-access-unknown-members=true -- src/App.mxml
> > fcsh: Assigned 1 as the compile target id Compile status: 5 Elapsed time:
> > 0.618407478 seconds
> >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > col: 0 Error: unable to open
> >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
> >
> > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/r
> > oy
> > ale-config.xml
> > (line: 81)
> >
> > </js-external-library-path>
> >
> >
> >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > col: 0 Error: unable to open
> >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
> >
> > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/r
> > oy
> > ale-config.xml
> > (line: 81)
> >
> > </js-external-library-path>
> > (fcsh)
> > Quick Compile failed. Errors in compiler output.
> >
> > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
> > (<ca...@apache.org>)
> > escribió:
> >
> > > Hi,
> > >
> > > I rebuilt all from scratch just now and finally the distribution
> > > too and tried in VSCode and all seems to work fine for me.
> > >
> > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> > > christofer.dutz@c-ware.de>) escribió:
> > >
> > >> Hi Piotr,
> > >>
> > >> that class is located in lib\external\flex-tool-api.jar At least
> > >> in my distribution it's there and it contains the class.
> > >>
> > >> How are you calling the build that's failing?
> > >>
> > >> Chris
> > >>
> > >> -----Ursprüngliche Nachricht-----
> > >> Von: Piotr Zarzycki <pi...@gmail.com>
> > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> > >> An: Apache Royale Development <de...@royale.apache.org>
> > >> Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> distribution
> > >>
> > >> Chris,
> > >>
> > >> I just checked and I'm not able build project anymore using
> > distribution:
> > >>
> > >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
> > >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m
> > >> -Xmx3000m
> > >> : Error: Could not find or load main class
> > >> org.apache.royale.compiler.clients.MXMLJSC
> > >> : Caused by: java.lang.NoClassDefFoundError:
> > >> org/apache/flex/tools/FlexTool
> > >>
> > >> I'm done for today, so I will answer anything tomorrow.
> > >>
> > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
> > >> <ch...@c-ware.de>
> > >> napisał(a):
> > >>
> > >> > Ok ...
> > >> >
> > >> > so I just pushed another change. Now the distribution should
> > >> > also contain an empty spark.css, just like the Ant one.
> > >> >
> > >> > Chris
> > >> >
> > >> >
> > >> > -----Ursprüngliche Nachricht-----
> > >> > Von: Christofer Dutz <ch...@c-ware.de>
> > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> > >> > An: dev@royale.apache.org
> > >> > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > >> > distribution
> > >> >
> > >> > Ok,
> > >> >
> > >> > so that should now be fixed. Leaves the "spark.css"
> > >> > Having had a look, it seems as if the Ant build creates an
> > >> > empty
> > >> spark.css.
> > >> >
> > >> > Is this all we need? If yes, then I'll have that in ther in no time.
> > >> >
> > >> > Chris
> > >> >
> > >> > -----Ursprüngliche Nachricht-----
> > >> > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> > >> > An: Apache Royale Development <de...@royale.apache.org>
> > >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > distribution
> > >> >
> > >> > *(I assume that's in the "frameworks/js/libs" directory? *
> > >> >
> > >> > Yes this is the directory.
> > >> >
> > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> > >> > <ch...@c-ware.de>
> > >> > napisał(a):
> > >> >
> > >> > > Hi Piotr,
> > >> > >
> > >> > > Ok ... so Ant seems to be adding a "JS" to the end of every
> > >> > > name (I assume that's in the "frameworks/js/libs" directory?
> > >> > >
> > >> > > Also I'll try to find out where the "spark.css" should come
> > >> > > from
> ...
> > >> > > and where it should go to.
> > >> > >
> > >> > > Chris
> > >> > >
> > >> > >
> > >> > > -----Ursprüngliche Nachricht-----
> > >> > > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> > >> > > An: Apache Royale Development <de...@royale.apache.org>
> > >> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > > distribution
> > >> > >
> > >> > > Chris,
> > >> > >
> > >> > > Looks better but here is the comparision what I have in Ant
> > >> > > distribution vs Maven distribution in case of names. On the
> > >> > > left Ant distribution, on the right Maven. It is folder:
> > >> > > frameworks\js\libs\ [1]
> > >> > >
> > >> > > [1] https://ibb.co/W2DzcDb
> > >> > >
> > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> > >> > > <ch...@c-ware.de>
> > >> > > napisał(a):
> > >> > >
> > >> > > > And done ...
> > >> > > >
> > >> > > > Now all elements in the distribution only consist of their
> > >> > > > name and file-ending ... all versions and classifiers have
> > >> > > > been
> > removed.
> > >> > > > Please provide me with feedback on if this solves the issues.
> > >> > > >
> > >> > > > Chris
> > >> > > >
> > >> > > >
> > >> > > > -----Ursprüngliche Nachricht-----
> > >> > > > Von: Christofer Dutz <ch...@c-ware.de>
> > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> > >> > > > An: dev@royale.apache.org
> > >> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > >> > > > distribution
> > >> > > >
> > >> > > > I'll probably have a fix for that in a few minuntes ...
> > >> > > >
> > >> > > >
> > >> > > > Chris
> > >> > > >
> > >> > > >
> > >> > > > -----Ursprüngliche Nachricht-----
> > >> > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> > >> > > > An: Apache Royale Development <de...@royale.apache.org>
> > >> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > > > distribution
> > >> > > >
> > >> > > > Chris,
> > >> > > >
> > >> > > > No it's not about not picking up by IDE at all. Moonshine
> > >> > > > and VSCode are able to build projects using Maven
> > >> > > > distribution package! It is about project which are mixed
> > >> > > > for example when user wanted to use Jewel module +
> > >> > > > RemoteObject class from MXRoyale module. In that case user
> > >> > > > need to point explicilty as a compiler options in IDE that
> > >> > > > he wanted to have SWC included and need to exclude css from
> > >> > > > that swc to
> > >> > > avoid problems.
> > >> > > >
> > >> > > > It is happen like that:
> > >> > > >
> > >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > >> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> > >> > > > cs
> > >> > > > s
> > >> > > >
> > >> > > > If I would like to use maven distribution user need to know
> > >> > > > version for that compiler options. It is even more tricky
> > >> > > > when your swc is called
> > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> > >> > > >
> > >> > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.
> > >> > > > cs
> > >> > > > s
> > >> > > >
> > >> > > > Thanks,
> > >> > > > Piotr
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> > >> > > > <ch...@c-ware.de>
> > >> > > > napisał(a):
> > >> > > >
> > >> > > > > Hi Piotr,
> > >> > > > >
> > >> > > > > And is really the version-suffix causing it to not be
> > >> > > > > picked up by the IDEs?
> > >> > > > >
> > >> > > > > Chris
> > >> > > > >
> > >> > > > > -----Ursprüngliche Nachricht-----
> > >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> > >> > > > > An: dev@royale.apache.org
> > >> > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > > > > distribution
> > >> > > > >
> > >> > > > > Hi Chris,
> > >> > > > >
> > >> > > > > This is the only thing which seems to be a constant
> > >> > > > > problem
> > here.
> > >> > > > > I personally and some users will be much more happy
> > >> > > > > having that
> > >> > change.
> > >> > > > >
> > >> > > > > Thanks,
> > >> > > > > Piotr
> > >> > > > >
> > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> > >> > > > > <ch...@c-ware.de>
> > >> > > > > wrote:
> > >> > > > >
> > >> > > > > > Hi Piotr,
> > >> > > > > >
> > >> > > > > > I'd be happy to help with that.
> > >> > > > > >
> > >> > > > > > I did simply ask for a list of things that need to be
> > >> > > > > > changed in order to get things working, but never got
> > >> > > > > > said list, so I never knew what I could do to make the
> > >> > > > > > Maven distribution match up to the
> > >> > > > Ant built one.
> > >> > > > > >
> > >> > > > > > Chris
> > >> > > > > >
> > >> > > > > >
> > >> > > > > > -----Ursprüngliche Nachricht-----
> > >> > > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> > >> > > > > > An: Apache Royale Development <de...@royale.apache.org>
> > >> > > > > > Betreff: Align Maven IDE distribution with Ant IDE
> > >> > > > > > distribution
> > >> > > > > >
> > >> > > > > > Hi Guys,
> > >> > > > > >
> > >> > > > > > It's been couple of times when user complains that he
> > >> > > > > > have problems with using Maven distribution vs Ant
> > >> > > > > > distribution in IDE in a mixed project Jewel + MX/Spark etc.
> > >> > > > > >
> > >> > > > > > Can we have that resolve once for all and adjust Maven
> > >> > > > > > distribution folder to produce proper names of swcs ?
> > >> > > > > >
> > >> > > > > > Currently when I build Maven IDE distribution I have:
> > >> > > > > >
> > >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> > >> > > > > >
> > >> > > > > > When I build Ant IDE distribution I have:
> > >> > > > > >
> > >> > > > > > MXRoyale-js.swc
> > >> > > > > >
> > >> > > > > > Thanks,
> > >> > > > > > --
> > >> > > > > >
> > >> > > > > > Piotr Zarzycki
> > >> > > > > >
> > >> > > > > --
> > >> > > > >
> > >> > > > > Piotr Zarzycki
> > >> > > > >
> > >> > > >
> > >> > > >
> > >> > > > --
> > >> > > >
> > >> > > > Piotr Zarzycki
> > >> > > >
> > >> > >
> > >> > >
> > >> > > --
> > >> > >
> > >> > > Piotr Zarzycki
> > >> > >
> > >> >
> > >> >
> > >> > --
> > >> >
> > >> > Piotr Zarzycki
> > >> >
> > >>
> > >>
> > >> --
> > >>
> > >> Piotr Zarzycki
> > >>
> > >
> > >
> > > --
> > > Carlos Rovira
> > > Apache Member & Apache Royale PMC
> > > *Apache Software Foundation*
> > > http://about.me/carlosrovira
> > >
> > >
> >
> > --
> > Carlos Rovira
> > Apache Member & Apache Royale PMC
> > *Apache Software Foundation*
> > http://about.me/carlosrovira
> >
>
>
> --
>
> Piotr Zarzycki
>
--
Piotr Zarzycki
Re: Align Maven IDE distribution with Ant IDE distribution
Posted by Piotr Zarzycki <pi...@gmail.com>.
Did you test my distribution ?
pt., 19 lut 2021 o 18:00 Christofer Dutz <ch...@c-ware.de>
napisał(a):
> So I did a bit more of testing.
>
> So after I had no issues building Carlos' example, I tried the TourDeJewl
> example.
> So I opened VSCode in the directory of TDJ example ... created a
> settings.json with the folowing content:
>
> {
> "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> }
>
> Hit STRG+Enter and waited a bit ...
>
> Then I opened the output in Chrome and have a fully functioning TDJ
> application.
>
> So I wouldn't consider the build broken.
>
> Chris
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Maria Jose Esteve <mj...@iest.com>
> Gesendet: Freitag, 19. Februar 2021 17:51
> An: dev@royale.apache.org
> Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
>
> Sure, that would be "expected", but like I told you: if I change it to
> MXRoyaleJS.swc, the app "does nonsense".
> Maybe something has gotten my way.
>
> I will read your messages and see if I can help with something.
>
> Hiedra.
> -----Mensaje original-----
> De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes, 19
> de febrero de 2021 14:12
> Para: dev@royale.apache.org
> Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>
> Hi Hiedra,
>
> well I changed the distribution to make the names like in the ANT
> distribution yesterday.
> But you are passing in an argument telling the compiler to use the old
> format and now it should be the new ...
>
> Try:
> -compiler.exclude-defaults-css-files = MXRoyaleJS.swc: defaults.css; For
> -compiler.exclude-defaults-css-files = MXRoyaleJS.swc: defaults.css;
>
> Instead of your variant.
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Maria Jose Esteve <mj...@iest.com>
> Gesendet: Freitag, 19. Februar 2021 14:08
> An: dev@royale.apache.org
> Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
>
> Yes, until recently I also compiled only with Maven. Due to the problem
> with the spark.css I started to do the double compilation of MAVEN and ANT.
>
> It's funny, now, the swc's are not generated with
> "xxxx-0.9.8-SNAPSHOT-js.swc" in the distribution BUT if in the pom of my
> project I change in additionalCompilerOptions:
> -compiler.exclude-defaults-css-files = MXRoyale - $
> {royale.framework.version} -js.swc: defaults.css; For
> -compiler.exclude-defaults-css-files = MXRoyaleJS.swc: defaults.css; My
> application starts to do nonsense (for example the change of
> selectedContent in my ApplicationMainContent does not display)
>
> Chris, thank you.
> Hiedra
>
> -----Mensaje original-----
> De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes, 19
> de febrero de 2021 13:09
> Para: dev@royale.apache.org
> Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>
> Hi Hiedra,
>
> I have to admit that I've never used VSCode. Every time I do any
> development I usually use one of the JetBrains IDEs.
> Royale Stuff I do in IntelliJ ... with my "Flexmojos Hack" it can be used
> quite well. And I always compile with Maven.
>
> But thanks for the explanation on why the other path is set differently.
>
> I guess we'll have to wait till some others can tell me what needs to be
> changed.
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Maria Jose Esteve <mj...@iest.com>
> Gesendet: Freitag, 19. Februar 2021 12:48
> An: dev@royale.apache.org
> Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
>
> Hello Chris,
> so that I can debug my changes in the SDK I need to set the path of the
> "as3mxml.sdk.editor" to the asjs directory of my fork, for this reason the
> path of the " as3mxml.sdk.framework" points to the directory of the maven
> distribution and the "as3mxml.sdk.editor" to code.
>
> ">> I'm not getting any errors from VSCode. But well ... if I hit
> SHIFT+Enter it starts doing something where if failed prior to my
> >> changes this morning and is no longer complaining, but it's also not
> doing much (I can't see it create a "bin" directory)"
>
> I don't quite understand this ... possibly because of my lack of knowledge.
>
> I have not tried Carlos's project but this afternoon I will be able to do
> it and I will be able to give more details.
>
> Thx.
> Hiedra.
>
> -----Mensaje original-----
> De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes, 19
> de febrero de 2021 11:51
> Para: dev@royale.apache.org
> Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>
> Hi Heidra,
>
> I just updated Carlos' example to have the same type of setting
> (C:\\Temp\\RoyaleSDK is where I have my Maven build generate the SDK):
>
> setings.js:
> {
> "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> }
>
> workspace-code-workspace
> {
> "folders": [
> {
> "path": ".."
> }
> ],
> "settings": {
> "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> }
> }
>
> I'm not getting any errors from VSCode. But well ... if I hit SHIFT+Enter
> it starts doing something where if failed prior to my changes this morning
> and is no longer complaining, but it's also not doing much (I can't see it
> create a "bin" directory)
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Maria Jose Esteve <mj...@iest.com>
> Gesendet: Freitag, 19. Februar 2021 10:53
> An: dev@royale.apache.org
> Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
>
> If I don't compile with ANT, the mxml extension in vsCode IDE, it doesn't
> recognize the valid asjs directory for "as3mxml.sdk.editor":
> ...
> "settings": {
> "as3mxml.sdk.framework":
> "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
> "as3mxml.sdk.editor":
> "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs" <-------- [download
> folder repo royale-asjs]
> }
> }
>
> The error is:
> " as3mxml.sdk.editor in settings does not point to a valid SDK.
> Requires..."
>
> Thx.
> Hiedra.
>
> -----Mensaje original-----
> De: Piotr Zarzycki <pi...@gmail.com> Enviado el: viernes, 19 de
> febrero de 2021 10:44
> Para: Apache Royale Development <de...@royale.apache.org>
> Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
>
> Hi Chris,
>
> I just tried your changes and I have same issue. I need to understand what
> has change enough significantly that it causes compilation fail in such
> way. It doesn't happen with SDK prepared by ANT.
>
> Thanks,
> Piotr
>
> pt., 19 lut 2021 o 10:33 Maria Jose Esteve <mj...@iest.com> napisał(a):
>
> > @Chris you're right, sorry, I didn't download your last commit.
> > I'm sorry.
> > Hiedra.
> >
> > -----Mensaje original-----
> > De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> > 19 de febrero de 2021 10:17
> > Para: dev@royale.apache.org
> > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > I'll try to guess what you wanted to say here ...
> >
> > But I think these are exactly the changes I comitted a an hour ago,
> right?
> > At least in general I replaced all the references to names with
> > versions to the changed ones.
> >
> >
> > Chris
> >
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Maria Jose Esteve <mj...@iest.com>
> > Gesendet: Freitag, 19. Februar 2021 10:01
> > An: dev@royale.apache.org
> > Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi,
> > Mi distribución hace referencia en el fichero
> > "./frameworks/royale-config.xml" a las librerías:
> >
> > <js-external-library-path>
> >
> > <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.sw
> > c</path-element>
> >
> >
> <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc</path-element>
> > </js-external-library-path>
> >
> > Las correctas son:
> >
> > <js-external-library-path>
> > <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> > <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
> > </js-external-library-path>
> >
> > Hiedra
> >
> > -----Mensaje original-----
> > De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> > 19 de febrero de 2021 9:39
> > Para: dev@royale.apache.org
> > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > Ok,
> >
> > so the config xml files in the distribution were still pointing to the
> > old names. I updated them all to now refer to the names.
> > I tried things in Carlos' demo project, and I'm no-longer getting the
> > errors, however compilation seems to take for ever.
> >
> > Please try out the changes and tell me if there are any problems with
> them.
> >
> > Chris
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Christofer Dutz <ch...@c-ware.de>
> > Gesendet: Donnerstag, 18. Februar 2021 23:17
> > An: dev@royale.apache.org
> > Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi Carlos,
> >
> > I'll look into this tomorrow.
> >
> > Chris
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Carlos Rovira <ca...@apache.org>
> > Gesendet: Donnerstag, 18. Februar 2021 17:49
> > An: Apache Royale Development <de...@royale.apache.org>
> > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi, I think I talked very quickly, sorry, there seems to be a problem.
> >
> > @Christofer Dutz <ch...@c-ware.de> you can download this
> > project:
> >
> >
> > https://github.com/apache/royale-asjs/files/6004363/ToggleButtonBarIss
> > ue.zip
> >
> > Then using VSCode with AS3&MXML and adding the Maven distribution.
> > Then hit CTRL+ENTER and you will get the following fail. Using ANT
> > distribution is working fine.
> > Can you take a look?
> >
> > Royale Compiler Shell
> > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> > --source-map=true
> > --html-template=src/html/jewel-example-index-template.html
> >
> > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/sr
> > c/main/resources/defaults.css
> > --source-path+=src --library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> > -js-dynamic-access-unknown-members=true -- src/App.mxml
> > fcsh: Assigned 1 as the compile target id The project 'App' has been
> > successfully compiled and optimized.
> > Compile status: 0
> > Elapsed time: 14.211105399 seconds
> > Feb 18, 2021 5:43:40 PM
> > com.google.javascript.jscomp.LoggerErrorManager
> > printSummary
> > INFO: 0 error(s), 0 warning(s), 96.5% typed
> > (fcsh) quit
> > Compiler shell exited with code: 0
> > Royale Compiler Shell
> > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> > --source-map=true
> > --html-template=src/html/jewel-example-index-template.html
> >
> > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/sr
> > c/main/resources/defaults.css
> > --source-path+=src --library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> > -js-dynamic-access-unknown-members=true -- src/App.mxml
> > fcsh: Assigned 1 as the compile target id Compile status: 5 Elapsed time:
> > 0.618407478 seconds
> >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > col: 0 Error: unable to open
> >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
> >
> > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/roy
> > ale-config.xml
> > (line: 81)
> >
> > </js-external-library-path>
> >
> >
> >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > col: 0 Error: unable to open
> >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
> >
> > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/roy
> > ale-config.xml
> > (line: 81)
> >
> > </js-external-library-path>
> > (fcsh)
> > Quick Compile failed. Errors in compiler output.
> >
> > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
> > (<ca...@apache.org>)
> > escribió:
> >
> > > Hi,
> > >
> > > I rebuilt all from scratch just now and finally the distribution too
> > > and tried in VSCode and all seems to work fine for me.
> > >
> > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> > > christofer.dutz@c-ware.de>) escribió:
> > >
> > >> Hi Piotr,
> > >>
> > >> that class is located in lib\external\flex-tool-api.jar At least in
> > >> my distribution it's there and it contains the class.
> > >>
> > >> How are you calling the build that's failing?
> > >>
> > >> Chris
> > >>
> > >> -----Ursprüngliche Nachricht-----
> > >> Von: Piotr Zarzycki <pi...@gmail.com>
> > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> > >> An: Apache Royale Development <de...@royale.apache.org>
> > >> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> > >>
> > >> Chris,
> > >>
> > >> I just checked and I'm not able build project anymore using
> > distribution:
> > >>
> > >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
> > >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m
> > >> -Xmx3000m
> > >> : Error: Could not find or load main class
> > >> org.apache.royale.compiler.clients.MXMLJSC
> > >> : Caused by: java.lang.NoClassDefFoundError:
> > >> org/apache/flex/tools/FlexTool
> > >>
> > >> I'm done for today, so I will answer anything tomorrow.
> > >>
> > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
> > >> <ch...@c-ware.de>
> > >> napisał(a):
> > >>
> > >> > Ok ...
> > >> >
> > >> > so I just pushed another change. Now the distribution should also
> > >> > contain an empty spark.css, just like the Ant one.
> > >> >
> > >> > Chris
> > >> >
> > >> >
> > >> > -----Ursprüngliche Nachricht-----
> > >> > Von: Christofer Dutz <ch...@c-ware.de>
> > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> > >> > An: dev@royale.apache.org
> > >> > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > >> > distribution
> > >> >
> > >> > Ok,
> > >> >
> > >> > so that should now be fixed. Leaves the "spark.css"
> > >> > Having had a look, it seems as if the Ant build creates an empty
> > >> spark.css.
> > >> >
> > >> > Is this all we need? If yes, then I'll have that in ther in no time.
> > >> >
> > >> > Chris
> > >> >
> > >> > -----Ursprüngliche Nachricht-----
> > >> > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> > >> > An: Apache Royale Development <de...@royale.apache.org>
> > >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > distribution
> > >> >
> > >> > *(I assume that's in the "frameworks/js/libs" directory? *
> > >> >
> > >> > Yes this is the directory.
> > >> >
> > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> > >> > <ch...@c-ware.de>
> > >> > napisał(a):
> > >> >
> > >> > > Hi Piotr,
> > >> > >
> > >> > > Ok ... so Ant seems to be adding a "JS" to the end of every
> > >> > > name (I assume that's in the "frameworks/js/libs" directory?
> > >> > >
> > >> > > Also I'll try to find out where the "spark.css" should come from
> ...
> > >> > > and where it should go to.
> > >> > >
> > >> > > Chris
> > >> > >
> > >> > >
> > >> > > -----Ursprüngliche Nachricht-----
> > >> > > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> > >> > > An: Apache Royale Development <de...@royale.apache.org>
> > >> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > > distribution
> > >> > >
> > >> > > Chris,
> > >> > >
> > >> > > Looks better but here is the comparision what I have in Ant
> > >> > > distribution vs Maven distribution in case of names. On the
> > >> > > left Ant distribution, on the right Maven. It is folder:
> > >> > > frameworks\js\libs\ [1]
> > >> > >
> > >> > > [1] https://ibb.co/W2DzcDb
> > >> > >
> > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> > >> > > <ch...@c-ware.de>
> > >> > > napisał(a):
> > >> > >
> > >> > > > And done ...
> > >> > > >
> > >> > > > Now all elements in the distribution only consist of their
> > >> > > > name and file-ending ... all versions and classifiers have
> > >> > > > been
> > removed.
> > >> > > > Please provide me with feedback on if this solves the issues.
> > >> > > >
> > >> > > > Chris
> > >> > > >
> > >> > > >
> > >> > > > -----Ursprüngliche Nachricht-----
> > >> > > > Von: Christofer Dutz <ch...@c-ware.de>
> > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> > >> > > > An: dev@royale.apache.org
> > >> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > >> > > > distribution
> > >> > > >
> > >> > > > I'll probably have a fix for that in a few minuntes ...
> > >> > > >
> > >> > > >
> > >> > > > Chris
> > >> > > >
> > >> > > >
> > >> > > > -----Ursprüngliche Nachricht-----
> > >> > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> > >> > > > An: Apache Royale Development <de...@royale.apache.org>
> > >> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > > > distribution
> > >> > > >
> > >> > > > Chris,
> > >> > > >
> > >> > > > No it's not about not picking up by IDE at all. Moonshine and
> > >> > > > VSCode are able to build projects using Maven distribution
> > >> > > > package! It is about project which are mixed for example when
> > >> > > > user wanted to use Jewel module + RemoteObject class from
> > >> > > > MXRoyale module. In that case user need to point explicilty
> > >> > > > as a compiler options in IDE that he wanted to have SWC
> > >> > > > included and need to exclude css from that swc to
> > >> > > avoid problems.
> > >> > > >
> > >> > > > It is happen like that:
> > >> > > >
> > >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > >> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> > >> > > > cs
> > >> > > > s
> > >> > > >
> > >> > > > If I would like to use maven distribution user need to know
> > >> > > > version for that compiler options. It is even more tricky
> > >> > > > when your swc is called
> > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> > >> > > >
> > >> > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.cs
> > >> > > > s
> > >> > > >
> > >> > > > Thanks,
> > >> > > > Piotr
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> > >> > > > <ch...@c-ware.de>
> > >> > > > napisał(a):
> > >> > > >
> > >> > > > > Hi Piotr,
> > >> > > > >
> > >> > > > > And is really the version-suffix causing it to not be
> > >> > > > > picked up by the IDEs?
> > >> > > > >
> > >> > > > > Chris
> > >> > > > >
> > >> > > > > -----Ursprüngliche Nachricht-----
> > >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> > >> > > > > An: dev@royale.apache.org
> > >> > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > > > > distribution
> > >> > > > >
> > >> > > > > Hi Chris,
> > >> > > > >
> > >> > > > > This is the only thing which seems to be a constant problem
> > here.
> > >> > > > > I personally and some users will be much more happy having
> > >> > > > > that
> > >> > change.
> > >> > > > >
> > >> > > > > Thanks,
> > >> > > > > Piotr
> > >> > > > >
> > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> > >> > > > > <ch...@c-ware.de>
> > >> > > > > wrote:
> > >> > > > >
> > >> > > > > > Hi Piotr,
> > >> > > > > >
> > >> > > > > > I'd be happy to help with that.
> > >> > > > > >
> > >> > > > > > I did simply ask for a list of things that need to be
> > >> > > > > > changed in order to get things working, but never got
> > >> > > > > > said list, so I never knew what I could do to make the
> > >> > > > > > Maven distribution match up to the
> > >> > > > Ant built one.
> > >> > > > > >
> > >> > > > > > Chris
> > >> > > > > >
> > >> > > > > >
> > >> > > > > > -----Ursprüngliche Nachricht-----
> > >> > > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> > >> > > > > > An: Apache Royale Development <de...@royale.apache.org>
> > >> > > > > > Betreff: Align Maven IDE distribution with Ant IDE
> > >> > > > > > distribution
> > >> > > > > >
> > >> > > > > > Hi Guys,
> > >> > > > > >
> > >> > > > > > It's been couple of times when user complains that he
> > >> > > > > > have problems with using Maven distribution vs Ant
> > >> > > > > > distribution in IDE in a mixed project Jewel + MX/Spark etc.
> > >> > > > > >
> > >> > > > > > Can we have that resolve once for all and adjust Maven
> > >> > > > > > distribution folder to produce proper names of swcs ?
> > >> > > > > >
> > >> > > > > > Currently when I build Maven IDE distribution I have:
> > >> > > > > >
> > >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> > >> > > > > >
> > >> > > > > > When I build Ant IDE distribution I have:
> > >> > > > > >
> > >> > > > > > MXRoyale-js.swc
> > >> > > > > >
> > >> > > > > > Thanks,
> > >> > > > > > --
> > >> > > > > >
> > >> > > > > > Piotr Zarzycki
> > >> > > > > >
> > >> > > > > --
> > >> > > > >
> > >> > > > > Piotr Zarzycki
> > >> > > > >
> > >> > > >
> > >> > > >
> > >> > > > --
> > >> > > >
> > >> > > > Piotr Zarzycki
> > >> > > >
> > >> > >
> > >> > >
> > >> > > --
> > >> > >
> > >> > > Piotr Zarzycki
> > >> > >
> > >> >
> > >> >
> > >> > --
> > >> >
> > >> > Piotr Zarzycki
> > >> >
> > >>
> > >>
> > >> --
> > >>
> > >> Piotr Zarzycki
> > >>
> > >
> > >
> > > --
> > > Carlos Rovira
> > > Apache Member & Apache Royale PMC
> > > *Apache Software Foundation*
> > > http://about.me/carlosrovira
> > >
> > >
> >
> > --
> > Carlos Rovira
> > Apache Member & Apache Royale PMC
> > *Apache Software Foundation*
> > http://about.me/carlosrovira
> >
>
>
> --
>
> Piotr Zarzycki
>
--
Piotr Zarzycki
AW: Align Maven IDE distribution with Ant IDE distribution
Posted by Christofer Dutz <ch...@c-ware.de>.
So I did a bit more of testing.
So after I had no issues building Carlos' example, I tried the TourDeJewl example.
So I opened VSCode in the directory of TDJ example ... created a settings.json with the folowing content:
{
"as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
"as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
}
Hit STRG+Enter and waited a bit ...
Then I opened the output in Chrome and have a fully functioning TDJ application.
So I wouldn't consider the build broken.
Chris
-----Ursprüngliche Nachricht-----
Von: Maria Jose Esteve <mj...@iest.com>
Gesendet: Freitag, 19. Februar 2021 17:51
An: dev@royale.apache.org
Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
Sure, that would be "expected", but like I told you: if I change it to MXRoyaleJS.swc, the app "does nonsense".
Maybe something has gotten my way.
I will read your messages and see if I can help with something.
Hiedra.
-----Mensaje original-----
De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes, 19 de febrero de 2021 14:12
Para: dev@royale.apache.org
Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
Hi Hiedra,
well I changed the distribution to make the names like in the ANT distribution yesterday.
But you are passing in an argument telling the compiler to use the old format and now it should be the new ...
Try:
-compiler.exclude-defaults-css-files = MXRoyaleJS.swc: defaults.css; For -compiler.exclude-defaults-css-files = MXRoyaleJS.swc: defaults.css;
Instead of your variant.
Chris
-----Ursprüngliche Nachricht-----
Von: Maria Jose Esteve <mj...@iest.com>
Gesendet: Freitag, 19. Februar 2021 14:08
An: dev@royale.apache.org
Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
Yes, until recently I also compiled only with Maven. Due to the problem with the spark.css I started to do the double compilation of MAVEN and ANT.
It's funny, now, the swc's are not generated with "xxxx-0.9.8-SNAPSHOT-js.swc" in the distribution BUT if in the pom of my project I change in additionalCompilerOptions:
-compiler.exclude-defaults-css-files = MXRoyale - $ {royale.framework.version} -js.swc: defaults.css; For -compiler.exclude-defaults-css-files = MXRoyaleJS.swc: defaults.css; My application starts to do nonsense (for example the change of selectedContent in my ApplicationMainContent does not display)
Chris, thank you.
Hiedra
-----Mensaje original-----
De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes, 19 de febrero de 2021 13:09
Para: dev@royale.apache.org
Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
Hi Hiedra,
I have to admit that I've never used VSCode. Every time I do any development I usually use one of the JetBrains IDEs.
Royale Stuff I do in IntelliJ ... with my "Flexmojos Hack" it can be used quite well. And I always compile with Maven.
But thanks for the explanation on why the other path is set differently.
I guess we'll have to wait till some others can tell me what needs to be changed.
Chris
-----Ursprüngliche Nachricht-----
Von: Maria Jose Esteve <mj...@iest.com>
Gesendet: Freitag, 19. Februar 2021 12:48
An: dev@royale.apache.org
Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
Hello Chris,
so that I can debug my changes in the SDK I need to set the path of the "as3mxml.sdk.editor" to the asjs directory of my fork, for this reason the path of the " as3mxml.sdk.framework" points to the directory of the maven distribution and the "as3mxml.sdk.editor" to code.
">> I'm not getting any errors from VSCode. But well ... if I hit SHIFT+Enter it starts doing something where if failed prior to my
>> changes this morning and is no longer complaining, but it's also not doing much (I can't see it create a "bin" directory)"
I don't quite understand this ... possibly because of my lack of knowledge.
I have not tried Carlos's project but this afternoon I will be able to do it and I will be able to give more details.
Thx.
Hiedra.
-----Mensaje original-----
De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes, 19 de febrero de 2021 11:51
Para: dev@royale.apache.org
Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
Hi Heidra,
I just updated Carlos' example to have the same type of setting (C:\\Temp\\RoyaleSDK is where I have my Maven build generate the SDK):
setings.js:
{
"as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
"as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
}
workspace-code-workspace
{
"folders": [
{
"path": ".."
}
],
"settings": {
"as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
"as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
}
}
I'm not getting any errors from VSCode. But well ... if I hit SHIFT+Enter it starts doing something where if failed prior to my changes this morning and is no longer complaining, but it's also not doing much (I can't see it create a "bin" directory)
Chris
-----Ursprüngliche Nachricht-----
Von: Maria Jose Esteve <mj...@iest.com>
Gesendet: Freitag, 19. Februar 2021 10:53
An: dev@royale.apache.org
Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
If I don't compile with ANT, the mxml extension in vsCode IDE, it doesn't recognize the valid asjs directory for "as3mxml.sdk.editor":
...
"settings": {
"as3mxml.sdk.framework": "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
"as3mxml.sdk.editor": "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs" <-------- [download folder repo royale-asjs]
}
}
The error is:
" as3mxml.sdk.editor in settings does not point to a valid SDK. Requires..."
Thx.
Hiedra.
-----Mensaje original-----
De: Piotr Zarzycki <pi...@gmail.com> Enviado el: viernes, 19 de febrero de 2021 10:44
Para: Apache Royale Development <de...@royale.apache.org>
Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
Hi Chris,
I just tried your changes and I have same issue. I need to understand what has change enough significantly that it causes compilation fail in such way. It doesn't happen with SDK prepared by ANT.
Thanks,
Piotr
pt., 19 lut 2021 o 10:33 Maria Jose Esteve <mj...@iest.com> napisał(a):
> @Chris you're right, sorry, I didn't download your last commit.
> I'm sorry.
> Hiedra.
>
> -----Mensaje original-----
> De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> 19 de febrero de 2021 10:17
> Para: dev@royale.apache.org
> Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>
> I'll try to guess what you wanted to say here ...
>
> But I think these are exactly the changes I comitted a an hour ago, right?
> At least in general I replaced all the references to names with
> versions to the changed ones.
>
>
> Chris
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Maria Jose Esteve <mj...@iest.com>
> Gesendet: Freitag, 19. Februar 2021 10:01
> An: dev@royale.apache.org
> Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
>
> Hi,
> Mi distribución hace referencia en el fichero
> "./frameworks/royale-config.xml" a las librerías:
>
> <js-external-library-path>
>
> <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.sw
> c</path-element>
>
> <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc</path-element>
> </js-external-library-path>
>
> Las correctas son:
>
> <js-external-library-path>
> <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
> </js-external-library-path>
>
> Hiedra
>
> -----Mensaje original-----
> De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> 19 de febrero de 2021 9:39
> Para: dev@royale.apache.org
> Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>
> Ok,
>
> so the config xml files in the distribution were still pointing to the
> old names. I updated them all to now refer to the names.
> I tried things in Carlos' demo project, and I'm no-longer getting the
> errors, however compilation seems to take for ever.
>
> Please try out the changes and tell me if there are any problems with them.
>
> Chris
>
> -----Ursprüngliche Nachricht-----
> Von: Christofer Dutz <ch...@c-ware.de>
> Gesendet: Donnerstag, 18. Februar 2021 23:17
> An: dev@royale.apache.org
> Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
>
> Hi Carlos,
>
> I'll look into this tomorrow.
>
> Chris
>
> -----Ursprüngliche Nachricht-----
> Von: Carlos Rovira <ca...@apache.org>
> Gesendet: Donnerstag, 18. Februar 2021 17:49
> An: Apache Royale Development <de...@royale.apache.org>
> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>
> Hi, I think I talked very quickly, sorry, there seems to be a problem.
>
> @Christofer Dutz <ch...@c-ware.de> you can download this
> project:
>
>
> https://github.com/apache/royale-asjs/files/6004363/ToggleButtonBarIss
> ue.zip
>
> Then using VSCode with AS3&MXML and adding the Maven distribution.
> Then hit CTRL+ENTER and you will get the following fail. Using ANT
> distribution is working fine.
> Can you take a look?
>
> Royale Compiler Shell
> (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> --source-map=true
> --html-template=src/html/jewel-example-index-template.html
>
> --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/sr
> c/main/resources/defaults.css
> --source-path+=src --library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> -js-dynamic-access-unknown-members=true -- src/App.mxml
> fcsh: Assigned 1 as the compile target id The project 'App' has been
> successfully compiled and optimized.
> Compile status: 0
> Elapsed time: 14.211105399 seconds
> Feb 18, 2021 5:43:40 PM
> com.google.javascript.jscomp.LoggerErrorManager
> printSummary
> INFO: 0 error(s), 0 warning(s), 96.5% typed
> (fcsh) quit
> Compiler shell exited with code: 0
> Royale Compiler Shell
> (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> --source-map=true
> --html-template=src/html/jewel-example-index-template.html
>
> --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/sr
> c/main/resources/defaults.css
> --source-path+=src --library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> -js-dynamic-access-unknown-members=true -- src/App.mxml
> fcsh: Assigned 1 as the compile target id Compile status: 5 Elapsed time:
> 0.618407478 seconds
>
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> col: 0 Error: unable to open
>
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
>
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/roy
> ale-config.xml
> (line: 81)
>
> </js-external-library-path>
>
>
>
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> col: 0 Error: unable to open
>
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
>
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/roy
> ale-config.xml
> (line: 81)
>
> </js-external-library-path>
> (fcsh)
> Quick Compile failed. Errors in compiler output.
>
> El jue, 18 feb 2021 a las 17:26, Carlos Rovira
> (<ca...@apache.org>)
> escribió:
>
> > Hi,
> >
> > I rebuilt all from scratch just now and finally the distribution too
> > and tried in VSCode and all seems to work fine for me.
> >
> > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> > christofer.dutz@c-ware.de>) escribió:
> >
> >> Hi Piotr,
> >>
> >> that class is located in lib\external\flex-tool-api.jar At least in
> >> my distribution it's there and it contains the class.
> >>
> >> How are you calling the build that's failing?
> >>
> >> Chris
> >>
> >> -----Ursprüngliche Nachricht-----
> >> Von: Piotr Zarzycki <pi...@gmail.com>
> >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> >> An: Apache Royale Development <de...@royale.apache.org>
> >> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> >>
> >> Chris,
> >>
> >> I just checked and I'm not able build project anymore using
> distribution:
> >>
> >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
> >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m
> >> -Xmx3000m
> >> : Error: Could not find or load main class
> >> org.apache.royale.compiler.clients.MXMLJSC
> >> : Caused by: java.lang.NoClassDefFoundError:
> >> org/apache/flex/tools/FlexTool
> >>
> >> I'm done for today, so I will answer anything tomorrow.
> >>
> >> czw., 18 lut 2021 o 16:05 Christofer Dutz
> >> <ch...@c-ware.de>
> >> napisał(a):
> >>
> >> > Ok ...
> >> >
> >> > so I just pushed another change. Now the distribution should also
> >> > contain an empty spark.css, just like the Ant one.
> >> >
> >> > Chris
> >> >
> >> >
> >> > -----Ursprüngliche Nachricht-----
> >> > Von: Christofer Dutz <ch...@c-ware.de>
> >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> >> > An: dev@royale.apache.org
> >> > Betreff: AW: Align Maven IDE distribution with Ant IDE
> >> > distribution
> >> >
> >> > Ok,
> >> >
> >> > so that should now be fixed. Leaves the "spark.css"
> >> > Having had a look, it seems as if the Ant build creates an empty
> >> spark.css.
> >> >
> >> > Is this all we need? If yes, then I'll have that in ther in no time.
> >> >
> >> > Chris
> >> >
> >> > -----Ursprüngliche Nachricht-----
> >> > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> >> > An: Apache Royale Development <de...@royale.apache.org>
> >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > distribution
> >> >
> >> > *(I assume that's in the "frameworks/js/libs" directory? *
> >> >
> >> > Yes this is the directory.
> >> >
> >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> >> > <ch...@c-ware.de>
> >> > napisał(a):
> >> >
> >> > > Hi Piotr,
> >> > >
> >> > > Ok ... so Ant seems to be adding a "JS" to the end of every
> >> > > name (I assume that's in the "frameworks/js/libs" directory?
> >> > >
> >> > > Also I'll try to find out where the "spark.css" should come from ...
> >> > > and where it should go to.
> >> > >
> >> > > Chris
> >> > >
> >> > >
> >> > > -----Ursprüngliche Nachricht-----
> >> > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> >> > > An: Apache Royale Development <de...@royale.apache.org>
> >> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > > distribution
> >> > >
> >> > > Chris,
> >> > >
> >> > > Looks better but here is the comparision what I have in Ant
> >> > > distribution vs Maven distribution in case of names. On the
> >> > > left Ant distribution, on the right Maven. It is folder:
> >> > > frameworks\js\libs\ [1]
> >> > >
> >> > > [1] https://ibb.co/W2DzcDb
> >> > >
> >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> >> > > <ch...@c-ware.de>
> >> > > napisał(a):
> >> > >
> >> > > > And done ...
> >> > > >
> >> > > > Now all elements in the distribution only consist of their
> >> > > > name and file-ending ... all versions and classifiers have
> >> > > > been
> removed.
> >> > > > Please provide me with feedback on if this solves the issues.
> >> > > >
> >> > > > Chris
> >> > > >
> >> > > >
> >> > > > -----Ursprüngliche Nachricht-----
> >> > > > Von: Christofer Dutz <ch...@c-ware.de>
> >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> >> > > > An: dev@royale.apache.org
> >> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> >> > > > distribution
> >> > > >
> >> > > > I'll probably have a fix for that in a few minuntes ...
> >> > > >
> >> > > >
> >> > > > Chris
> >> > > >
> >> > > >
> >> > > > -----Ursprüngliche Nachricht-----
> >> > > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> >> > > > An: Apache Royale Development <de...@royale.apache.org>
> >> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > > > distribution
> >> > > >
> >> > > > Chris,
> >> > > >
> >> > > > No it's not about not picking up by IDE at all. Moonshine and
> >> > > > VSCode are able to build projects using Maven distribution
> >> > > > package! It is about project which are mixed for example when
> >> > > > user wanted to use Jewel module + RemoteObject class from
> >> > > > MXRoyale module. In that case user need to point explicilty
> >> > > > as a compiler options in IDE that he wanted to have SWC
> >> > > > included and need to exclude css from that swc to
> >> > > avoid problems.
> >> > > >
> >> > > > It is happen like that:
> >> > > >
> >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> >> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> >> > > > cs
> >> > > > s
> >> > > >
> >> > > > If I would like to use maven distribution user need to know
> >> > > > version for that compiler options. It is even more tricky
> >> > > > when your swc is called
> >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> >> > > >
> >> > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.cs
> >> > > > s
> >> > > >
> >> > > > Thanks,
> >> > > > Piotr
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> >> > > > <ch...@c-ware.de>
> >> > > > napisał(a):
> >> > > >
> >> > > > > Hi Piotr,
> >> > > > >
> >> > > > > And is really the version-suffix causing it to not be
> >> > > > > picked up by the IDEs?
> >> > > > >
> >> > > > > Chris
> >> > > > >
> >> > > > > -----Ursprüngliche Nachricht-----
> >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> >> > > > > An: dev@royale.apache.org
> >> > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > > > > distribution
> >> > > > >
> >> > > > > Hi Chris,
> >> > > > >
> >> > > > > This is the only thing which seems to be a constant problem
> here.
> >> > > > > I personally and some users will be much more happy having
> >> > > > > that
> >> > change.
> >> > > > >
> >> > > > > Thanks,
> >> > > > > Piotr
> >> > > > >
> >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> >> > > > > <ch...@c-ware.de>
> >> > > > > wrote:
> >> > > > >
> >> > > > > > Hi Piotr,
> >> > > > > >
> >> > > > > > I'd be happy to help with that.
> >> > > > > >
> >> > > > > > I did simply ask for a list of things that need to be
> >> > > > > > changed in order to get things working, but never got
> >> > > > > > said list, so I never knew what I could do to make the
> >> > > > > > Maven distribution match up to the
> >> > > > Ant built one.
> >> > > > > >
> >> > > > > > Chris
> >> > > > > >
> >> > > > > >
> >> > > > > > -----Ursprüngliche Nachricht-----
> >> > > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> >> > > > > > An: Apache Royale Development <de...@royale.apache.org>
> >> > > > > > Betreff: Align Maven IDE distribution with Ant IDE
> >> > > > > > distribution
> >> > > > > >
> >> > > > > > Hi Guys,
> >> > > > > >
> >> > > > > > It's been couple of times when user complains that he
> >> > > > > > have problems with using Maven distribution vs Ant
> >> > > > > > distribution in IDE in a mixed project Jewel + MX/Spark etc.
> >> > > > > >
> >> > > > > > Can we have that resolve once for all and adjust Maven
> >> > > > > > distribution folder to produce proper names of swcs ?
> >> > > > > >
> >> > > > > > Currently when I build Maven IDE distribution I have:
> >> > > > > >
> >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> >> > > > > >
> >> > > > > > When I build Ant IDE distribution I have:
> >> > > > > >
> >> > > > > > MXRoyale-js.swc
> >> > > > > >
> >> > > > > > Thanks,
> >> > > > > > --
> >> > > > > >
> >> > > > > > Piotr Zarzycki
> >> > > > > >
> >> > > > > --
> >> > > > >
> >> > > > > Piotr Zarzycki
> >> > > > >
> >> > > >
> >> > > >
> >> > > > --
> >> > > >
> >> > > > Piotr Zarzycki
> >> > > >
> >> > >
> >> > >
> >> > > --
> >> > >
> >> > > Piotr Zarzycki
> >> > >
> >> >
> >> >
> >> > --
> >> >
> >> > Piotr Zarzycki
> >> >
> >>
> >>
> >> --
> >>
> >> Piotr Zarzycki
> >>
> >
> >
> > --
> > Carlos Rovira
> > Apache Member & Apache Royale PMC
> > *Apache Software Foundation*
> > http://about.me/carlosrovira
> >
> >
>
> --
> Carlos Rovira
> Apache Member & Apache Royale PMC
> *Apache Software Foundation*
> http://about.me/carlosrovira
>
--
Piotr Zarzycki
RE: Align Maven IDE distribution with Ant IDE distribution
Posted by Maria Jose Esteve <mj...@iest.com>.
Sure, that would be "expected", but like I told you: if I change it to MXRoyaleJS.swc, the app "does nonsense".
Maybe something has gotten my way.
I will read your messages and see if I can help with something.
Hiedra.
-----Mensaje original-----
De: Christofer Dutz <ch...@c-ware.de>
Enviado el: viernes, 19 de febrero de 2021 14:12
Para: dev@royale.apache.org
Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
Hi Hiedra,
well I changed the distribution to make the names like in the ANT distribution yesterday.
But you are passing in an argument telling the compiler to use the old format and now it should be the new ...
Try:
-compiler.exclude-defaults-css-files = MXRoyaleJS.swc: defaults.css; For -compiler.exclude-defaults-css-files = MXRoyaleJS.swc: defaults.css;
Instead of your variant.
Chris
-----Ursprüngliche Nachricht-----
Von: Maria Jose Esteve <mj...@iest.com>
Gesendet: Freitag, 19. Februar 2021 14:08
An: dev@royale.apache.org
Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
Yes, until recently I also compiled only with Maven. Due to the problem with the spark.css I started to do the double compilation of MAVEN and ANT.
It's funny, now, the swc's are not generated with "xxxx-0.9.8-SNAPSHOT-js.swc" in the distribution BUT if in the pom of my project I change in additionalCompilerOptions:
-compiler.exclude-defaults-css-files = MXRoyale - $ {royale.framework.version} -js.swc: defaults.css; For -compiler.exclude-defaults-css-files = MXRoyaleJS.swc: defaults.css; My application starts to do nonsense (for example the change of selectedContent in my ApplicationMainContent does not display)
Chris, thank you.
Hiedra
-----Mensaje original-----
De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes, 19 de febrero de 2021 13:09
Para: dev@royale.apache.org
Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
Hi Hiedra,
I have to admit that I've never used VSCode. Every time I do any development I usually use one of the JetBrains IDEs.
Royale Stuff I do in IntelliJ ... with my "Flexmojos Hack" it can be used quite well. And I always compile with Maven.
But thanks for the explanation on why the other path is set differently.
I guess we'll have to wait till some others can tell me what needs to be changed.
Chris
-----Ursprüngliche Nachricht-----
Von: Maria Jose Esteve <mj...@iest.com>
Gesendet: Freitag, 19. Februar 2021 12:48
An: dev@royale.apache.org
Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
Hello Chris,
so that I can debug my changes in the SDK I need to set the path of the "as3mxml.sdk.editor" to the asjs directory of my fork, for this reason the path of the " as3mxml.sdk.framework" points to the directory of the maven distribution and the "as3mxml.sdk.editor" to code.
">> I'm not getting any errors from VSCode. But well ... if I hit SHIFT+Enter it starts doing something where if failed prior to my
>> changes this morning and is no longer complaining, but it's also not doing much (I can't see it create a "bin" directory)"
I don't quite understand this ... possibly because of my lack of knowledge.
I have not tried Carlos's project but this afternoon I will be able to do it and I will be able to give more details.
Thx.
Hiedra.
-----Mensaje original-----
De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes, 19 de febrero de 2021 11:51
Para: dev@royale.apache.org
Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
Hi Heidra,
I just updated Carlos' example to have the same type of setting (C:\\Temp\\RoyaleSDK is where I have my Maven build generate the SDK):
setings.js:
{
"as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
"as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
}
workspace-code-workspace
{
"folders": [
{
"path": ".."
}
],
"settings": {
"as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
"as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
}
}
I'm not getting any errors from VSCode. But well ... if I hit SHIFT+Enter it starts doing something where if failed prior to my changes this morning and is no longer complaining, but it's also not doing much (I can't see it create a "bin" directory)
Chris
-----Ursprüngliche Nachricht-----
Von: Maria Jose Esteve <mj...@iest.com>
Gesendet: Freitag, 19. Februar 2021 10:53
An: dev@royale.apache.org
Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
If I don't compile with ANT, the mxml extension in vsCode IDE, it doesn't recognize the valid asjs directory for "as3mxml.sdk.editor":
...
"settings": {
"as3mxml.sdk.framework": "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
"as3mxml.sdk.editor": "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs" <-------- [download folder repo royale-asjs]
}
}
The error is:
" as3mxml.sdk.editor in settings does not point to a valid SDK. Requires..."
Thx.
Hiedra.
-----Mensaje original-----
De: Piotr Zarzycki <pi...@gmail.com> Enviado el: viernes, 19 de febrero de 2021 10:44
Para: Apache Royale Development <de...@royale.apache.org>
Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
Hi Chris,
I just tried your changes and I have same issue. I need to understand what has change enough significantly that it causes compilation fail in such way. It doesn't happen with SDK prepared by ANT.
Thanks,
Piotr
pt., 19 lut 2021 o 10:33 Maria Jose Esteve <mj...@iest.com> napisał(a):
> @Chris you're right, sorry, I didn't download your last commit.
> I'm sorry.
> Hiedra.
>
> -----Mensaje original-----
> De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> 19 de febrero de 2021 10:17
> Para: dev@royale.apache.org
> Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>
> I'll try to guess what you wanted to say here ...
>
> But I think these are exactly the changes I comitted a an hour ago, right?
> At least in general I replaced all the references to names with
> versions to the changed ones.
>
>
> Chris
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Maria Jose Esteve <mj...@iest.com>
> Gesendet: Freitag, 19. Februar 2021 10:01
> An: dev@royale.apache.org
> Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
>
> Hi,
> Mi distribución hace referencia en el fichero
> "./frameworks/royale-config.xml" a las librerías:
>
> <js-external-library-path>
>
> <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.sw
> c</path-element>
>
> <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc</path-element>
> </js-external-library-path>
>
> Las correctas son:
>
> <js-external-library-path>
> <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
> </js-external-library-path>
>
> Hiedra
>
> -----Mensaje original-----
> De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> 19 de febrero de 2021 9:39
> Para: dev@royale.apache.org
> Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>
> Ok,
>
> so the config xml files in the distribution were still pointing to the
> old names. I updated them all to now refer to the names.
> I tried things in Carlos' demo project, and I'm no-longer getting the
> errors, however compilation seems to take for ever.
>
> Please try out the changes and tell me if there are any problems with them.
>
> Chris
>
> -----Ursprüngliche Nachricht-----
> Von: Christofer Dutz <ch...@c-ware.de>
> Gesendet: Donnerstag, 18. Februar 2021 23:17
> An: dev@royale.apache.org
> Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
>
> Hi Carlos,
>
> I'll look into this tomorrow.
>
> Chris
>
> -----Ursprüngliche Nachricht-----
> Von: Carlos Rovira <ca...@apache.org>
> Gesendet: Donnerstag, 18. Februar 2021 17:49
> An: Apache Royale Development <de...@royale.apache.org>
> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>
> Hi, I think I talked very quickly, sorry, there seems to be a problem.
>
> @Christofer Dutz <ch...@c-ware.de> you can download this
> project:
>
>
> https://github.com/apache/royale-asjs/files/6004363/ToggleButtonBarIss
> ue.zip
>
> Then using VSCode with AS3&MXML and adding the Maven distribution.
> Then hit CTRL+ENTER and you will get the following fail. Using ANT
> distribution is working fine.
> Can you take a look?
>
> Royale Compiler Shell
> (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> --source-map=true
> --html-template=src/html/jewel-example-index-template.html
>
> --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/sr
> c/main/resources/defaults.css
> --source-path+=src --library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> -js-dynamic-access-unknown-members=true -- src/App.mxml
> fcsh: Assigned 1 as the compile target id The project 'App' has been
> successfully compiled and optimized.
> Compile status: 0
> Elapsed time: 14.211105399 seconds
> Feb 18, 2021 5:43:40 PM
> com.google.javascript.jscomp.LoggerErrorManager
> printSummary
> INFO: 0 error(s), 0 warning(s), 96.5% typed
> (fcsh) quit
> Compiler shell exited with code: 0
> Royale Compiler Shell
> (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> --source-map=true
> --html-template=src/html/jewel-example-index-template.html
>
> --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/sr
> c/main/resources/defaults.css
> --source-path+=src --library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> -js-dynamic-access-unknown-members=true -- src/App.mxml
> fcsh: Assigned 1 as the compile target id Compile status: 5 Elapsed time:
> 0.618407478 seconds
>
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> col: 0 Error: unable to open
>
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
>
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/roy
> ale-config.xml
> (line: 81)
>
> </js-external-library-path>
>
>
>
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> col: 0 Error: unable to open
>
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
>
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/roy
> ale-config.xml
> (line: 81)
>
> </js-external-library-path>
> (fcsh)
> Quick Compile failed. Errors in compiler output.
>
> El jue, 18 feb 2021 a las 17:26, Carlos Rovira
> (<ca...@apache.org>)
> escribió:
>
> > Hi,
> >
> > I rebuilt all from scratch just now and finally the distribution too
> > and tried in VSCode and all seems to work fine for me.
> >
> > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> > christofer.dutz@c-ware.de>) escribió:
> >
> >> Hi Piotr,
> >>
> >> that class is located in lib\external\flex-tool-api.jar At least in
> >> my distribution it's there and it contains the class.
> >>
> >> How are you calling the build that's failing?
> >>
> >> Chris
> >>
> >> -----Ursprüngliche Nachricht-----
> >> Von: Piotr Zarzycki <pi...@gmail.com>
> >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> >> An: Apache Royale Development <de...@royale.apache.org>
> >> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> >>
> >> Chris,
> >>
> >> I just checked and I'm not able build project anymore using
> distribution:
> >>
> >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
> >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m
> >> -Xmx3000m
> >> : Error: Could not find or load main class
> >> org.apache.royale.compiler.clients.MXMLJSC
> >> : Caused by: java.lang.NoClassDefFoundError:
> >> org/apache/flex/tools/FlexTool
> >>
> >> I'm done for today, so I will answer anything tomorrow.
> >>
> >> czw., 18 lut 2021 o 16:05 Christofer Dutz
> >> <ch...@c-ware.de>
> >> napisał(a):
> >>
> >> > Ok ...
> >> >
> >> > so I just pushed another change. Now the distribution should also
> >> > contain an empty spark.css, just like the Ant one.
> >> >
> >> > Chris
> >> >
> >> >
> >> > -----Ursprüngliche Nachricht-----
> >> > Von: Christofer Dutz <ch...@c-ware.de>
> >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> >> > An: dev@royale.apache.org
> >> > Betreff: AW: Align Maven IDE distribution with Ant IDE
> >> > distribution
> >> >
> >> > Ok,
> >> >
> >> > so that should now be fixed. Leaves the "spark.css"
> >> > Having had a look, it seems as if the Ant build creates an empty
> >> spark.css.
> >> >
> >> > Is this all we need? If yes, then I'll have that in ther in no time.
> >> >
> >> > Chris
> >> >
> >> > -----Ursprüngliche Nachricht-----
> >> > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> >> > An: Apache Royale Development <de...@royale.apache.org>
> >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > distribution
> >> >
> >> > *(I assume that's in the "frameworks/js/libs" directory? *
> >> >
> >> > Yes this is the directory.
> >> >
> >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> >> > <ch...@c-ware.de>
> >> > napisał(a):
> >> >
> >> > > Hi Piotr,
> >> > >
> >> > > Ok ... so Ant seems to be adding a "JS" to the end of every
> >> > > name (I assume that's in the "frameworks/js/libs" directory?
> >> > >
> >> > > Also I'll try to find out where the "spark.css" should come from ...
> >> > > and where it should go to.
> >> > >
> >> > > Chris
> >> > >
> >> > >
> >> > > -----Ursprüngliche Nachricht-----
> >> > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> >> > > An: Apache Royale Development <de...@royale.apache.org>
> >> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > > distribution
> >> > >
> >> > > Chris,
> >> > >
> >> > > Looks better but here is the comparision what I have in Ant
> >> > > distribution vs Maven distribution in case of names. On the
> >> > > left Ant distribution, on the right Maven. It is folder:
> >> > > frameworks\js\libs\ [1]
> >> > >
> >> > > [1] https://ibb.co/W2DzcDb
> >> > >
> >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> >> > > <ch...@c-ware.de>
> >> > > napisał(a):
> >> > >
> >> > > > And done ...
> >> > > >
> >> > > > Now all elements in the distribution only consist of their
> >> > > > name and file-ending ... all versions and classifiers have
> >> > > > been
> removed.
> >> > > > Please provide me with feedback on if this solves the issues.
> >> > > >
> >> > > > Chris
> >> > > >
> >> > > >
> >> > > > -----Ursprüngliche Nachricht-----
> >> > > > Von: Christofer Dutz <ch...@c-ware.de>
> >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> >> > > > An: dev@royale.apache.org
> >> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> >> > > > distribution
> >> > > >
> >> > > > I'll probably have a fix for that in a few minuntes ...
> >> > > >
> >> > > >
> >> > > > Chris
> >> > > >
> >> > > >
> >> > > > -----Ursprüngliche Nachricht-----
> >> > > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> >> > > > An: Apache Royale Development <de...@royale.apache.org>
> >> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > > > distribution
> >> > > >
> >> > > > Chris,
> >> > > >
> >> > > > No it's not about not picking up by IDE at all. Moonshine and
> >> > > > VSCode are able to build projects using Maven distribution
> >> > > > package! It is about project which are mixed for example when
> >> > > > user wanted to use Jewel module + RemoteObject class from
> >> > > > MXRoyale module. In that case user need to point explicilty
> >> > > > as a compiler options in IDE that he wanted to have SWC
> >> > > > included and need to exclude css from that swc to
> >> > > avoid problems.
> >> > > >
> >> > > > It is happen like that:
> >> > > >
> >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> >> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> >> > > > cs
> >> > > > s
> >> > > >
> >> > > > If I would like to use maven distribution user need to know
> >> > > > version for that compiler options. It is even more tricky
> >> > > > when your swc is called
> >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> >> > > >
> >> > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.cs
> >> > > > s
> >> > > >
> >> > > > Thanks,
> >> > > > Piotr
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> >> > > > <ch...@c-ware.de>
> >> > > > napisał(a):
> >> > > >
> >> > > > > Hi Piotr,
> >> > > > >
> >> > > > > And is really the version-suffix causing it to not be
> >> > > > > picked up by the IDEs?
> >> > > > >
> >> > > > > Chris
> >> > > > >
> >> > > > > -----Ursprüngliche Nachricht-----
> >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> >> > > > > An: dev@royale.apache.org
> >> > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > > > > distribution
> >> > > > >
> >> > > > > Hi Chris,
> >> > > > >
> >> > > > > This is the only thing which seems to be a constant problem
> here.
> >> > > > > I personally and some users will be much more happy having
> >> > > > > that
> >> > change.
> >> > > > >
> >> > > > > Thanks,
> >> > > > > Piotr
> >> > > > >
> >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> >> > > > > <ch...@c-ware.de>
> >> > > > > wrote:
> >> > > > >
> >> > > > > > Hi Piotr,
> >> > > > > >
> >> > > > > > I'd be happy to help with that.
> >> > > > > >
> >> > > > > > I did simply ask for a list of things that need to be
> >> > > > > > changed in order to get things working, but never got
> >> > > > > > said list, so I never knew what I could do to make the
> >> > > > > > Maven distribution match up to the
> >> > > > Ant built one.
> >> > > > > >
> >> > > > > > Chris
> >> > > > > >
> >> > > > > >
> >> > > > > > -----Ursprüngliche Nachricht-----
> >> > > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> >> > > > > > An: Apache Royale Development <de...@royale.apache.org>
> >> > > > > > Betreff: Align Maven IDE distribution with Ant IDE
> >> > > > > > distribution
> >> > > > > >
> >> > > > > > Hi Guys,
> >> > > > > >
> >> > > > > > It's been couple of times when user complains that he
> >> > > > > > have problems with using Maven distribution vs Ant
> >> > > > > > distribution in IDE in a mixed project Jewel + MX/Spark etc.
> >> > > > > >
> >> > > > > > Can we have that resolve once for all and adjust Maven
> >> > > > > > distribution folder to produce proper names of swcs ?
> >> > > > > >
> >> > > > > > Currently when I build Maven IDE distribution I have:
> >> > > > > >
> >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> >> > > > > >
> >> > > > > > When I build Ant IDE distribution I have:
> >> > > > > >
> >> > > > > > MXRoyale-js.swc
> >> > > > > >
> >> > > > > > Thanks,
> >> > > > > > --
> >> > > > > >
> >> > > > > > Piotr Zarzycki
> >> > > > > >
> >> > > > > --
> >> > > > >
> >> > > > > Piotr Zarzycki
> >> > > > >
> >> > > >
> >> > > >
> >> > > > --
> >> > > >
> >> > > > Piotr Zarzycki
> >> > > >
> >> > >
> >> > >
> >> > > --
> >> > >
> >> > > Piotr Zarzycki
> >> > >
> >> >
> >> >
> >> > --
> >> >
> >> > Piotr Zarzycki
> >> >
> >>
> >>
> >> --
> >>
> >> Piotr Zarzycki
> >>
> >
> >
> > --
> > Carlos Rovira
> > Apache Member & Apache Royale PMC
> > *Apache Software Foundation*
> > http://about.me/carlosrovira
> >
> >
>
> --
> Carlos Rovira
> Apache Member & Apache Royale PMC
> *Apache Software Foundation*
> http://about.me/carlosrovira
>
--
Piotr Zarzycki
AW: Align Maven IDE distribution with Ant IDE distribution
Posted by Christofer Dutz <ch...@c-ware.de>.
Hi Hiedra,
well I changed the distribution to make the names like in the ANT distribution yesterday.
But you are passing in an argument telling the compiler to use the old format and now it should be the new ...
Try:
-compiler.exclude-defaults-css-files = MXRoyaleJS.swc: defaults.css; For -compiler.exclude-defaults-css-files = MXRoyaleJS.swc: defaults.css;
Instead of your variant.
Chris
-----Ursprüngliche Nachricht-----
Von: Maria Jose Esteve <mj...@iest.com>
Gesendet: Freitag, 19. Februar 2021 14:08
An: dev@royale.apache.org
Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
Yes, until recently I also compiled only with Maven. Due to the problem with the spark.css I started to do the double compilation of MAVEN and ANT.
It's funny, now, the swc's are not generated with "xxxx-0.9.8-SNAPSHOT-js.swc" in the distribution BUT if in the pom of my project I change in additionalCompilerOptions:
-compiler.exclude-defaults-css-files = MXRoyale - $ {royale.framework.version} -js.swc: defaults.css; For -compiler.exclude-defaults-css-files = MXRoyaleJS.swc: defaults.css; My application starts to do nonsense (for example the change of selectedContent in my ApplicationMainContent does not display)
Chris, thank you.
Hiedra
-----Mensaje original-----
De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes, 19 de febrero de 2021 13:09
Para: dev@royale.apache.org
Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
Hi Hiedra,
I have to admit that I've never used VSCode. Every time I do any development I usually use one of the JetBrains IDEs.
Royale Stuff I do in IntelliJ ... with my "Flexmojos Hack" it can be used quite well. And I always compile with Maven.
But thanks for the explanation on why the other path is set differently.
I guess we'll have to wait till some others can tell me what needs to be changed.
Chris
-----Ursprüngliche Nachricht-----
Von: Maria Jose Esteve <mj...@iest.com>
Gesendet: Freitag, 19. Februar 2021 12:48
An: dev@royale.apache.org
Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
Hello Chris,
so that I can debug my changes in the SDK I need to set the path of the "as3mxml.sdk.editor" to the asjs directory of my fork, for this reason the path of the " as3mxml.sdk.framework" points to the directory of the maven distribution and the "as3mxml.sdk.editor" to code.
">> I'm not getting any errors from VSCode. But well ... if I hit SHIFT+Enter it starts doing something where if failed prior to my
>> changes this morning and is no longer complaining, but it's also not doing much (I can't see it create a "bin" directory)"
I don't quite understand this ... possibly because of my lack of knowledge.
I have not tried Carlos's project but this afternoon I will be able to do it and I will be able to give more details.
Thx.
Hiedra.
-----Mensaje original-----
De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes, 19 de febrero de 2021 11:51
Para: dev@royale.apache.org
Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
Hi Heidra,
I just updated Carlos' example to have the same type of setting (C:\\Temp\\RoyaleSDK is where I have my Maven build generate the SDK):
setings.js:
{
"as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
"as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
}
workspace-code-workspace
{
"folders": [
{
"path": ".."
}
],
"settings": {
"as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
"as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
}
}
I'm not getting any errors from VSCode. But well ... if I hit SHIFT+Enter it starts doing something where if failed prior to my changes this morning and is no longer complaining, but it's also not doing much (I can't see it create a "bin" directory)
Chris
-----Ursprüngliche Nachricht-----
Von: Maria Jose Esteve <mj...@iest.com>
Gesendet: Freitag, 19. Februar 2021 10:53
An: dev@royale.apache.org
Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
If I don't compile with ANT, the mxml extension in vsCode IDE, it doesn't recognize the valid asjs directory for "as3mxml.sdk.editor":
...
"settings": {
"as3mxml.sdk.framework": "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
"as3mxml.sdk.editor": "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs" <-------- [download folder repo royale-asjs]
}
}
The error is:
" as3mxml.sdk.editor in settings does not point to a valid SDK. Requires..."
Thx.
Hiedra.
-----Mensaje original-----
De: Piotr Zarzycki <pi...@gmail.com> Enviado el: viernes, 19 de febrero de 2021 10:44
Para: Apache Royale Development <de...@royale.apache.org>
Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
Hi Chris,
I just tried your changes and I have same issue. I need to understand what has change enough significantly that it causes compilation fail in such way. It doesn't happen with SDK prepared by ANT.
Thanks,
Piotr
pt., 19 lut 2021 o 10:33 Maria Jose Esteve <mj...@iest.com> napisał(a):
> @Chris you're right, sorry, I didn't download your last commit.
> I'm sorry.
> Hiedra.
>
> -----Mensaje original-----
> De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> 19 de febrero de 2021 10:17
> Para: dev@royale.apache.org
> Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>
> I'll try to guess what you wanted to say here ...
>
> But I think these are exactly the changes I comitted a an hour ago, right?
> At least in general I replaced all the references to names with
> versions to the changed ones.
>
>
> Chris
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Maria Jose Esteve <mj...@iest.com>
> Gesendet: Freitag, 19. Februar 2021 10:01
> An: dev@royale.apache.org
> Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
>
> Hi,
> Mi distribución hace referencia en el fichero
> "./frameworks/royale-config.xml" a las librerías:
>
> <js-external-library-path>
>
> <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.sw
> c</path-element>
>
> <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc</path-element>
> </js-external-library-path>
>
> Las correctas son:
>
> <js-external-library-path>
> <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
> </js-external-library-path>
>
> Hiedra
>
> -----Mensaje original-----
> De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> 19 de febrero de 2021 9:39
> Para: dev@royale.apache.org
> Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>
> Ok,
>
> so the config xml files in the distribution were still pointing to the
> old names. I updated them all to now refer to the names.
> I tried things in Carlos' demo project, and I'm no-longer getting the
> errors, however compilation seems to take for ever.
>
> Please try out the changes and tell me if there are any problems with them.
>
> Chris
>
> -----Ursprüngliche Nachricht-----
> Von: Christofer Dutz <ch...@c-ware.de>
> Gesendet: Donnerstag, 18. Februar 2021 23:17
> An: dev@royale.apache.org
> Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
>
> Hi Carlos,
>
> I'll look into this tomorrow.
>
> Chris
>
> -----Ursprüngliche Nachricht-----
> Von: Carlos Rovira <ca...@apache.org>
> Gesendet: Donnerstag, 18. Februar 2021 17:49
> An: Apache Royale Development <de...@royale.apache.org>
> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>
> Hi, I think I talked very quickly, sorry, there seems to be a problem.
>
> @Christofer Dutz <ch...@c-ware.de> you can download this
> project:
>
>
> https://github.com/apache/royale-asjs/files/6004363/ToggleButtonBarIss
> ue.zip
>
> Then using VSCode with AS3&MXML and adding the Maven distribution.
> Then hit CTRL+ENTER and you will get the following fail. Using ANT
> distribution is working fine.
> Can you take a look?
>
> Royale Compiler Shell
> (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> --source-map=true
> --html-template=src/html/jewel-example-index-template.html
>
> --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/sr
> c/main/resources/defaults.css
> --source-path+=src --library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> -js-dynamic-access-unknown-members=true -- src/App.mxml
> fcsh: Assigned 1 as the compile target id The project 'App' has been
> successfully compiled and optimized.
> Compile status: 0
> Elapsed time: 14.211105399 seconds
> Feb 18, 2021 5:43:40 PM
> com.google.javascript.jscomp.LoggerErrorManager
> printSummary
> INFO: 0 error(s), 0 warning(s), 96.5% typed
> (fcsh) quit
> Compiler shell exited with code: 0
> Royale Compiler Shell
> (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> --source-map=true
> --html-template=src/html/jewel-example-index-template.html
>
> --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/sr
> c/main/resources/defaults.css
> --source-path+=src --library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> -js-dynamic-access-unknown-members=true -- src/App.mxml
> fcsh: Assigned 1 as the compile target id Compile status: 5 Elapsed time:
> 0.618407478 seconds
>
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> col: 0 Error: unable to open
>
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
>
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/roy
> ale-config.xml
> (line: 81)
>
> </js-external-library-path>
>
>
>
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> col: 0 Error: unable to open
>
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
>
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/roy
> ale-config.xml
> (line: 81)
>
> </js-external-library-path>
> (fcsh)
> Quick Compile failed. Errors in compiler output.
>
> El jue, 18 feb 2021 a las 17:26, Carlos Rovira
> (<ca...@apache.org>)
> escribió:
>
> > Hi,
> >
> > I rebuilt all from scratch just now and finally the distribution too
> > and tried in VSCode and all seems to work fine for me.
> >
> > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> > christofer.dutz@c-ware.de>) escribió:
> >
> >> Hi Piotr,
> >>
> >> that class is located in lib\external\flex-tool-api.jar At least in
> >> my distribution it's there and it contains the class.
> >>
> >> How are you calling the build that's failing?
> >>
> >> Chris
> >>
> >> -----Ursprüngliche Nachricht-----
> >> Von: Piotr Zarzycki <pi...@gmail.com>
> >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> >> An: Apache Royale Development <de...@royale.apache.org>
> >> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> >>
> >> Chris,
> >>
> >> I just checked and I'm not able build project anymore using
> distribution:
> >>
> >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
> >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m
> >> -Xmx3000m
> >> : Error: Could not find or load main class
> >> org.apache.royale.compiler.clients.MXMLJSC
> >> : Caused by: java.lang.NoClassDefFoundError:
> >> org/apache/flex/tools/FlexTool
> >>
> >> I'm done for today, so I will answer anything tomorrow.
> >>
> >> czw., 18 lut 2021 o 16:05 Christofer Dutz
> >> <ch...@c-ware.de>
> >> napisał(a):
> >>
> >> > Ok ...
> >> >
> >> > so I just pushed another change. Now the distribution should also
> >> > contain an empty spark.css, just like the Ant one.
> >> >
> >> > Chris
> >> >
> >> >
> >> > -----Ursprüngliche Nachricht-----
> >> > Von: Christofer Dutz <ch...@c-ware.de>
> >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> >> > An: dev@royale.apache.org
> >> > Betreff: AW: Align Maven IDE distribution with Ant IDE
> >> > distribution
> >> >
> >> > Ok,
> >> >
> >> > so that should now be fixed. Leaves the "spark.css"
> >> > Having had a look, it seems as if the Ant build creates an empty
> >> spark.css.
> >> >
> >> > Is this all we need? If yes, then I'll have that in ther in no time.
> >> >
> >> > Chris
> >> >
> >> > -----Ursprüngliche Nachricht-----
> >> > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> >> > An: Apache Royale Development <de...@royale.apache.org>
> >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > distribution
> >> >
> >> > *(I assume that's in the "frameworks/js/libs" directory? *
> >> >
> >> > Yes this is the directory.
> >> >
> >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> >> > <ch...@c-ware.de>
> >> > napisał(a):
> >> >
> >> > > Hi Piotr,
> >> > >
> >> > > Ok ... so Ant seems to be adding a "JS" to the end of every
> >> > > name (I assume that's in the "frameworks/js/libs" directory?
> >> > >
> >> > > Also I'll try to find out where the "spark.css" should come from ...
> >> > > and where it should go to.
> >> > >
> >> > > Chris
> >> > >
> >> > >
> >> > > -----Ursprüngliche Nachricht-----
> >> > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> >> > > An: Apache Royale Development <de...@royale.apache.org>
> >> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > > distribution
> >> > >
> >> > > Chris,
> >> > >
> >> > > Looks better but here is the comparision what I have in Ant
> >> > > distribution vs Maven distribution in case of names. On the
> >> > > left Ant distribution, on the right Maven. It is folder:
> >> > > frameworks\js\libs\ [1]
> >> > >
> >> > > [1] https://ibb.co/W2DzcDb
> >> > >
> >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> >> > > <ch...@c-ware.de>
> >> > > napisał(a):
> >> > >
> >> > > > And done ...
> >> > > >
> >> > > > Now all elements in the distribution only consist of their
> >> > > > name and file-ending ... all versions and classifiers have
> >> > > > been
> removed.
> >> > > > Please provide me with feedback on if this solves the issues.
> >> > > >
> >> > > > Chris
> >> > > >
> >> > > >
> >> > > > -----Ursprüngliche Nachricht-----
> >> > > > Von: Christofer Dutz <ch...@c-ware.de>
> >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> >> > > > An: dev@royale.apache.org
> >> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> >> > > > distribution
> >> > > >
> >> > > > I'll probably have a fix for that in a few minuntes ...
> >> > > >
> >> > > >
> >> > > > Chris
> >> > > >
> >> > > >
> >> > > > -----Ursprüngliche Nachricht-----
> >> > > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> >> > > > An: Apache Royale Development <de...@royale.apache.org>
> >> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > > > distribution
> >> > > >
> >> > > > Chris,
> >> > > >
> >> > > > No it's not about not picking up by IDE at all. Moonshine and
> >> > > > VSCode are able to build projects using Maven distribution
> >> > > > package! It is about project which are mixed for example when
> >> > > > user wanted to use Jewel module + RemoteObject class from
> >> > > > MXRoyale module. In that case user need to point explicilty
> >> > > > as a compiler options in IDE that he wanted to have SWC
> >> > > > included and need to exclude css from that swc to
> >> > > avoid problems.
> >> > > >
> >> > > > It is happen like that:
> >> > > >
> >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> >> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> >> > > > cs
> >> > > > s
> >> > > >
> >> > > > If I would like to use maven distribution user need to know
> >> > > > version for that compiler options. It is even more tricky
> >> > > > when your swc is called
> >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> >> > > >
> >> > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.cs
> >> > > > s
> >> > > >
> >> > > > Thanks,
> >> > > > Piotr
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> >> > > > <ch...@c-ware.de>
> >> > > > napisał(a):
> >> > > >
> >> > > > > Hi Piotr,
> >> > > > >
> >> > > > > And is really the version-suffix causing it to not be
> >> > > > > picked up by the IDEs?
> >> > > > >
> >> > > > > Chris
> >> > > > >
> >> > > > > -----Ursprüngliche Nachricht-----
> >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> >> > > > > An: dev@royale.apache.org
> >> > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > > > > distribution
> >> > > > >
> >> > > > > Hi Chris,
> >> > > > >
> >> > > > > This is the only thing which seems to be a constant problem
> here.
> >> > > > > I personally and some users will be much more happy having
> >> > > > > that
> >> > change.
> >> > > > >
> >> > > > > Thanks,
> >> > > > > Piotr
> >> > > > >
> >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> >> > > > > <ch...@c-ware.de>
> >> > > > > wrote:
> >> > > > >
> >> > > > > > Hi Piotr,
> >> > > > > >
> >> > > > > > I'd be happy to help with that.
> >> > > > > >
> >> > > > > > I did simply ask for a list of things that need to be
> >> > > > > > changed in order to get things working, but never got
> >> > > > > > said list, so I never knew what I could do to make the
> >> > > > > > Maven distribution match up to the
> >> > > > Ant built one.
> >> > > > > >
> >> > > > > > Chris
> >> > > > > >
> >> > > > > >
> >> > > > > > -----Ursprüngliche Nachricht-----
> >> > > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> >> > > > > > An: Apache Royale Development <de...@royale.apache.org>
> >> > > > > > Betreff: Align Maven IDE distribution with Ant IDE
> >> > > > > > distribution
> >> > > > > >
> >> > > > > > Hi Guys,
> >> > > > > >
> >> > > > > > It's been couple of times when user complains that he
> >> > > > > > have problems with using Maven distribution vs Ant
> >> > > > > > distribution in IDE in a mixed project Jewel + MX/Spark etc.
> >> > > > > >
> >> > > > > > Can we have that resolve once for all and adjust Maven
> >> > > > > > distribution folder to produce proper names of swcs ?
> >> > > > > >
> >> > > > > > Currently when I build Maven IDE distribution I have:
> >> > > > > >
> >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> >> > > > > >
> >> > > > > > When I build Ant IDE distribution I have:
> >> > > > > >
> >> > > > > > MXRoyale-js.swc
> >> > > > > >
> >> > > > > > Thanks,
> >> > > > > > --
> >> > > > > >
> >> > > > > > Piotr Zarzycki
> >> > > > > >
> >> > > > > --
> >> > > > >
> >> > > > > Piotr Zarzycki
> >> > > > >
> >> > > >
> >> > > >
> >> > > > --
> >> > > >
> >> > > > Piotr Zarzycki
> >> > > >
> >> > >
> >> > >
> >> > > --
> >> > >
> >> > > Piotr Zarzycki
> >> > >
> >> >
> >> >
> >> > --
> >> >
> >> > Piotr Zarzycki
> >> >
> >>
> >>
> >> --
> >>
> >> Piotr Zarzycki
> >>
> >
> >
> > --
> > Carlos Rovira
> > Apache Member & Apache Royale PMC
> > *Apache Software Foundation*
> > http://about.me/carlosrovira
> >
> >
>
> --
> Carlos Rovira
> Apache Member & Apache Royale PMC
> *Apache Software Foundation*
> http://about.me/carlosrovira
>
--
Piotr Zarzycki
RE: Align Maven IDE distribution with Ant IDE distribution
Posted by Maria Jose Esteve <mj...@iest.com>.
Yes, until recently I also compiled only with Maven. Due to the problem with the spark.css I started to do the double compilation of MAVEN and ANT.
It's funny, now, the swc's are not generated with "xxxx-0.9.8-SNAPSHOT-js.swc" in the distribution BUT if in the pom of my project I change in additionalCompilerOptions:
-compiler.exclude-defaults-css-files = MXRoyale - $ {royale.framework.version} -js.swc: defaults.css;
For
-compiler.exclude-defaults-css-files = MXRoyaleJS.swc: defaults.css;
My application starts to do nonsense (for example the change of selectedContent in my ApplicationMainContent does not display)
Chris, thank you.
Hiedra
-----Mensaje original-----
De: Christofer Dutz <ch...@c-ware.de>
Enviado el: viernes, 19 de febrero de 2021 13:09
Para: dev@royale.apache.org
Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
Hi Hiedra,
I have to admit that I've never used VSCode. Every time I do any development I usually use one of the JetBrains IDEs.
Royale Stuff I do in IntelliJ ... with my "Flexmojos Hack" it can be used quite well. And I always compile with Maven.
But thanks for the explanation on why the other path is set differently.
I guess we'll have to wait till some others can tell me what needs to be changed.
Chris
-----Ursprüngliche Nachricht-----
Von: Maria Jose Esteve <mj...@iest.com>
Gesendet: Freitag, 19. Februar 2021 12:48
An: dev@royale.apache.org
Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
Hello Chris,
so that I can debug my changes in the SDK I need to set the path of the "as3mxml.sdk.editor" to the asjs directory of my fork, for this reason the path of the " as3mxml.sdk.framework" points to the directory of the maven distribution and the "as3mxml.sdk.editor" to code.
">> I'm not getting any errors from VSCode. But well ... if I hit SHIFT+Enter it starts doing something where if failed prior to my
>> changes this morning and is no longer complaining, but it's also not doing much (I can't see it create a "bin" directory)"
I don't quite understand this ... possibly because of my lack of knowledge.
I have not tried Carlos's project but this afternoon I will be able to do it and I will be able to give more details.
Thx.
Hiedra.
-----Mensaje original-----
De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes, 19 de febrero de 2021 11:51
Para: dev@royale.apache.org
Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
Hi Heidra,
I just updated Carlos' example to have the same type of setting (C:\\Temp\\RoyaleSDK is where I have my Maven build generate the SDK):
setings.js:
{
"as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
"as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
}
workspace-code-workspace
{
"folders": [
{
"path": ".."
}
],
"settings": {
"as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
"as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
}
}
I'm not getting any errors from VSCode. But well ... if I hit SHIFT+Enter it starts doing something where if failed prior to my changes this morning and is no longer complaining, but it's also not doing much (I can't see it create a "bin" directory)
Chris
-----Ursprüngliche Nachricht-----
Von: Maria Jose Esteve <mj...@iest.com>
Gesendet: Freitag, 19. Februar 2021 10:53
An: dev@royale.apache.org
Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
If I don't compile with ANT, the mxml extension in vsCode IDE, it doesn't recognize the valid asjs directory for "as3mxml.sdk.editor":
...
"settings": {
"as3mxml.sdk.framework": "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
"as3mxml.sdk.editor": "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs" <-------- [download folder repo royale-asjs]
}
}
The error is:
" as3mxml.sdk.editor in settings does not point to a valid SDK. Requires..."
Thx.
Hiedra.
-----Mensaje original-----
De: Piotr Zarzycki <pi...@gmail.com> Enviado el: viernes, 19 de febrero de 2021 10:44
Para: Apache Royale Development <de...@royale.apache.org>
Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
Hi Chris,
I just tried your changes and I have same issue. I need to understand what has change enough significantly that it causes compilation fail in such way. It doesn't happen with SDK prepared by ANT.
Thanks,
Piotr
pt., 19 lut 2021 o 10:33 Maria Jose Esteve <mj...@iest.com> napisał(a):
> @Chris you're right, sorry, I didn't download your last commit.
> I'm sorry.
> Hiedra.
>
> -----Mensaje original-----
> De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> 19 de febrero de 2021 10:17
> Para: dev@royale.apache.org
> Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>
> I'll try to guess what you wanted to say here ...
>
> But I think these are exactly the changes I comitted a an hour ago, right?
> At least in general I replaced all the references to names with
> versions to the changed ones.
>
>
> Chris
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Maria Jose Esteve <mj...@iest.com>
> Gesendet: Freitag, 19. Februar 2021 10:01
> An: dev@royale.apache.org
> Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
>
> Hi,
> Mi distribución hace referencia en el fichero
> "./frameworks/royale-config.xml" a las librerías:
>
> <js-external-library-path>
>
> <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.sw
> c</path-element>
>
> <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc</path-element>
> </js-external-library-path>
>
> Las correctas son:
>
> <js-external-library-path>
> <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
> </js-external-library-path>
>
> Hiedra
>
> -----Mensaje original-----
> De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> 19 de febrero de 2021 9:39
> Para: dev@royale.apache.org
> Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>
> Ok,
>
> so the config xml files in the distribution were still pointing to the
> old names. I updated them all to now refer to the names.
> I tried things in Carlos' demo project, and I'm no-longer getting the
> errors, however compilation seems to take for ever.
>
> Please try out the changes and tell me if there are any problems with them.
>
> Chris
>
> -----Ursprüngliche Nachricht-----
> Von: Christofer Dutz <ch...@c-ware.de>
> Gesendet: Donnerstag, 18. Februar 2021 23:17
> An: dev@royale.apache.org
> Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
>
> Hi Carlos,
>
> I'll look into this tomorrow.
>
> Chris
>
> -----Ursprüngliche Nachricht-----
> Von: Carlos Rovira <ca...@apache.org>
> Gesendet: Donnerstag, 18. Februar 2021 17:49
> An: Apache Royale Development <de...@royale.apache.org>
> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>
> Hi, I think I talked very quickly, sorry, there seems to be a problem.
>
> @Christofer Dutz <ch...@c-ware.de> you can download this
> project:
>
>
> https://github.com/apache/royale-asjs/files/6004363/ToggleButtonBarIss
> ue.zip
>
> Then using VSCode with AS3&MXML and adding the Maven distribution.
> Then hit CTRL+ENTER and you will get the following fail. Using ANT
> distribution is working fine.
> Can you take a look?
>
> Royale Compiler Shell
> (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> --source-map=true
> --html-template=src/html/jewel-example-index-template.html
>
> --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/sr
> c/main/resources/defaults.css
> --source-path+=src --library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> -js-dynamic-access-unknown-members=true -- src/App.mxml
> fcsh: Assigned 1 as the compile target id The project 'App' has been
> successfully compiled and optimized.
> Compile status: 0
> Elapsed time: 14.211105399 seconds
> Feb 18, 2021 5:43:40 PM
> com.google.javascript.jscomp.LoggerErrorManager
> printSummary
> INFO: 0 error(s), 0 warning(s), 96.5% typed
> (fcsh) quit
> Compiler shell exited with code: 0
> Royale Compiler Shell
> (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> --source-map=true
> --html-template=src/html/jewel-example-index-template.html
>
> --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/sr
> c/main/resources/defaults.css
> --source-path+=src --library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> -js-dynamic-access-unknown-members=true -- src/App.mxml
> fcsh: Assigned 1 as the compile target id Compile status: 5 Elapsed time:
> 0.618407478 seconds
>
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> col: 0 Error: unable to open
>
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
>
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/roy
> ale-config.xml
> (line: 81)
>
> </js-external-library-path>
>
>
>
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> col: 0 Error: unable to open
>
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
>
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/roy
> ale-config.xml
> (line: 81)
>
> </js-external-library-path>
> (fcsh)
> Quick Compile failed. Errors in compiler output.
>
> El jue, 18 feb 2021 a las 17:26, Carlos Rovira
> (<ca...@apache.org>)
> escribió:
>
> > Hi,
> >
> > I rebuilt all from scratch just now and finally the distribution too
> > and tried in VSCode and all seems to work fine for me.
> >
> > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> > christofer.dutz@c-ware.de>) escribió:
> >
> >> Hi Piotr,
> >>
> >> that class is located in lib\external\flex-tool-api.jar At least in
> >> my distribution it's there and it contains the class.
> >>
> >> How are you calling the build that's failing?
> >>
> >> Chris
> >>
> >> -----Ursprüngliche Nachricht-----
> >> Von: Piotr Zarzycki <pi...@gmail.com>
> >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> >> An: Apache Royale Development <de...@royale.apache.org>
> >> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> >>
> >> Chris,
> >>
> >> I just checked and I'm not able build project anymore using
> distribution:
> >>
> >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
> >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m
> >> -Xmx3000m
> >> : Error: Could not find or load main class
> >> org.apache.royale.compiler.clients.MXMLJSC
> >> : Caused by: java.lang.NoClassDefFoundError:
> >> org/apache/flex/tools/FlexTool
> >>
> >> I'm done for today, so I will answer anything tomorrow.
> >>
> >> czw., 18 lut 2021 o 16:05 Christofer Dutz
> >> <ch...@c-ware.de>
> >> napisał(a):
> >>
> >> > Ok ...
> >> >
> >> > so I just pushed another change. Now the distribution should also
> >> > contain an empty spark.css, just like the Ant one.
> >> >
> >> > Chris
> >> >
> >> >
> >> > -----Ursprüngliche Nachricht-----
> >> > Von: Christofer Dutz <ch...@c-ware.de>
> >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> >> > An: dev@royale.apache.org
> >> > Betreff: AW: Align Maven IDE distribution with Ant IDE
> >> > distribution
> >> >
> >> > Ok,
> >> >
> >> > so that should now be fixed. Leaves the "spark.css"
> >> > Having had a look, it seems as if the Ant build creates an empty
> >> spark.css.
> >> >
> >> > Is this all we need? If yes, then I'll have that in ther in no time.
> >> >
> >> > Chris
> >> >
> >> > -----Ursprüngliche Nachricht-----
> >> > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> >> > An: Apache Royale Development <de...@royale.apache.org>
> >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > distribution
> >> >
> >> > *(I assume that's in the "frameworks/js/libs" directory? *
> >> >
> >> > Yes this is the directory.
> >> >
> >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> >> > <ch...@c-ware.de>
> >> > napisał(a):
> >> >
> >> > > Hi Piotr,
> >> > >
> >> > > Ok ... so Ant seems to be adding a "JS" to the end of every
> >> > > name (I assume that's in the "frameworks/js/libs" directory?
> >> > >
> >> > > Also I'll try to find out where the "spark.css" should come from ...
> >> > > and where it should go to.
> >> > >
> >> > > Chris
> >> > >
> >> > >
> >> > > -----Ursprüngliche Nachricht-----
> >> > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> >> > > An: Apache Royale Development <de...@royale.apache.org>
> >> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > > distribution
> >> > >
> >> > > Chris,
> >> > >
> >> > > Looks better but here is the comparision what I have in Ant
> >> > > distribution vs Maven distribution in case of names. On the
> >> > > left Ant distribution, on the right Maven. It is folder:
> >> > > frameworks\js\libs\ [1]
> >> > >
> >> > > [1] https://ibb.co/W2DzcDb
> >> > >
> >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> >> > > <ch...@c-ware.de>
> >> > > napisał(a):
> >> > >
> >> > > > And done ...
> >> > > >
> >> > > > Now all elements in the distribution only consist of their
> >> > > > name and file-ending ... all versions and classifiers have
> >> > > > been
> removed.
> >> > > > Please provide me with feedback on if this solves the issues.
> >> > > >
> >> > > > Chris
> >> > > >
> >> > > >
> >> > > > -----Ursprüngliche Nachricht-----
> >> > > > Von: Christofer Dutz <ch...@c-ware.de>
> >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> >> > > > An: dev@royale.apache.org
> >> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> >> > > > distribution
> >> > > >
> >> > > > I'll probably have a fix for that in a few minuntes ...
> >> > > >
> >> > > >
> >> > > > Chris
> >> > > >
> >> > > >
> >> > > > -----Ursprüngliche Nachricht-----
> >> > > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> >> > > > An: Apache Royale Development <de...@royale.apache.org>
> >> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > > > distribution
> >> > > >
> >> > > > Chris,
> >> > > >
> >> > > > No it's not about not picking up by IDE at all. Moonshine and
> >> > > > VSCode are able to build projects using Maven distribution
> >> > > > package! It is about project which are mixed for example when
> >> > > > user wanted to use Jewel module + RemoteObject class from
> >> > > > MXRoyale module. In that case user need to point explicilty
> >> > > > as a compiler options in IDE that he wanted to have SWC
> >> > > > included and need to exclude css from that swc to
> >> > > avoid problems.
> >> > > >
> >> > > > It is happen like that:
> >> > > >
> >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> >> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> >> > > > cs
> >> > > > s
> >> > > >
> >> > > > If I would like to use maven distribution user need to know
> >> > > > version for that compiler options. It is even more tricky
> >> > > > when your swc is called
> >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> >> > > >
> >> > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.cs
> >> > > > s
> >> > > >
> >> > > > Thanks,
> >> > > > Piotr
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> >> > > > <ch...@c-ware.de>
> >> > > > napisał(a):
> >> > > >
> >> > > > > Hi Piotr,
> >> > > > >
> >> > > > > And is really the version-suffix causing it to not be
> >> > > > > picked up by the IDEs?
> >> > > > >
> >> > > > > Chris
> >> > > > >
> >> > > > > -----Ursprüngliche Nachricht-----
> >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> >> > > > > An: dev@royale.apache.org
> >> > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > > > > distribution
> >> > > > >
> >> > > > > Hi Chris,
> >> > > > >
> >> > > > > This is the only thing which seems to be a constant problem
> here.
> >> > > > > I personally and some users will be much more happy having
> >> > > > > that
> >> > change.
> >> > > > >
> >> > > > > Thanks,
> >> > > > > Piotr
> >> > > > >
> >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> >> > > > > <ch...@c-ware.de>
> >> > > > > wrote:
> >> > > > >
> >> > > > > > Hi Piotr,
> >> > > > > >
> >> > > > > > I'd be happy to help with that.
> >> > > > > >
> >> > > > > > I did simply ask for a list of things that need to be
> >> > > > > > changed in order to get things working, but never got
> >> > > > > > said list, so I never knew what I could do to make the
> >> > > > > > Maven distribution match up to the
> >> > > > Ant built one.
> >> > > > > >
> >> > > > > > Chris
> >> > > > > >
> >> > > > > >
> >> > > > > > -----Ursprüngliche Nachricht-----
> >> > > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> >> > > > > > An: Apache Royale Development <de...@royale.apache.org>
> >> > > > > > Betreff: Align Maven IDE distribution with Ant IDE
> >> > > > > > distribution
> >> > > > > >
> >> > > > > > Hi Guys,
> >> > > > > >
> >> > > > > > It's been couple of times when user complains that he
> >> > > > > > have problems with using Maven distribution vs Ant
> >> > > > > > distribution in IDE in a mixed project Jewel + MX/Spark etc.
> >> > > > > >
> >> > > > > > Can we have that resolve once for all and adjust Maven
> >> > > > > > distribution folder to produce proper names of swcs ?
> >> > > > > >
> >> > > > > > Currently when I build Maven IDE distribution I have:
> >> > > > > >
> >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> >> > > > > >
> >> > > > > > When I build Ant IDE distribution I have:
> >> > > > > >
> >> > > > > > MXRoyale-js.swc
> >> > > > > >
> >> > > > > > Thanks,
> >> > > > > > --
> >> > > > > >
> >> > > > > > Piotr Zarzycki
> >> > > > > >
> >> > > > > --
> >> > > > >
> >> > > > > Piotr Zarzycki
> >> > > > >
> >> > > >
> >> > > >
> >> > > > --
> >> > > >
> >> > > > Piotr Zarzycki
> >> > > >
> >> > >
> >> > >
> >> > > --
> >> > >
> >> > > Piotr Zarzycki
> >> > >
> >> >
> >> >
> >> > --
> >> >
> >> > Piotr Zarzycki
> >> >
> >>
> >>
> >> --
> >>
> >> Piotr Zarzycki
> >>
> >
> >
> > --
> > Carlos Rovira
> > Apache Member & Apache Royale PMC
> > *Apache Software Foundation*
> > http://about.me/carlosrovira
> >
> >
>
> --
> Carlos Rovira
> Apache Member & Apache Royale PMC
> *Apache Software Foundation*
> http://about.me/carlosrovira
>
--
Piotr Zarzycki
AW: Align Maven IDE distribution with Ant IDE distribution
Posted by Christofer Dutz <ch...@c-ware.de>.
Hi Hiedra,
I have to admit that I've never used VSCode. Every time I do any development I usually use one of the JetBrains IDEs.
Royale Stuff I do in IntelliJ ... with my "Flexmojos Hack" it can be used quite well. And I always compile with Maven.
But thanks for the explanation on why the other path is set differently.
I guess we'll have to wait till some others can tell me what needs to be changed.
Chris
-----Ursprüngliche Nachricht-----
Von: Maria Jose Esteve <mj...@iest.com>
Gesendet: Freitag, 19. Februar 2021 12:48
An: dev@royale.apache.org
Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
Hello Chris,
so that I can debug my changes in the SDK I need to set the path of the "as3mxml.sdk.editor" to the asjs directory of my fork, for this reason the path of the " as3mxml.sdk.framework" points to the directory of the maven distribution and the "as3mxml.sdk.editor" to code.
">> I'm not getting any errors from VSCode. But well ... if I hit SHIFT+Enter it starts doing something where if failed prior to my
>> changes this morning and is no longer complaining, but it's also not doing much (I can't see it create a "bin" directory)"
I don't quite understand this ... possibly because of my lack of knowledge.
I have not tried Carlos's project but this afternoon I will be able to do it and I will be able to give more details.
Thx.
Hiedra.
-----Mensaje original-----
De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes, 19 de febrero de 2021 11:51
Para: dev@royale.apache.org
Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
Hi Heidra,
I just updated Carlos' example to have the same type of setting (C:\\Temp\\RoyaleSDK is where I have my Maven build generate the SDK):
setings.js:
{
"as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
"as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
}
workspace-code-workspace
{
"folders": [
{
"path": ".."
}
],
"settings": {
"as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
"as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
}
}
I'm not getting any errors from VSCode. But well ... if I hit SHIFT+Enter it starts doing something where if failed prior to my changes this morning and is no longer complaining, but it's also not doing much (I can't see it create a "bin" directory)
Chris
-----Ursprüngliche Nachricht-----
Von: Maria Jose Esteve <mj...@iest.com>
Gesendet: Freitag, 19. Februar 2021 10:53
An: dev@royale.apache.org
Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
If I don't compile with ANT, the mxml extension in vsCode IDE, it doesn't recognize the valid asjs directory for "as3mxml.sdk.editor":
...
"settings": {
"as3mxml.sdk.framework": "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
"as3mxml.sdk.editor": "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs" <-------- [download folder repo royale-asjs]
}
}
The error is:
" as3mxml.sdk.editor in settings does not point to a valid SDK. Requires..."
Thx.
Hiedra.
-----Mensaje original-----
De: Piotr Zarzycki <pi...@gmail.com> Enviado el: viernes, 19 de febrero de 2021 10:44
Para: Apache Royale Development <de...@royale.apache.org>
Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
Hi Chris,
I just tried your changes and I have same issue. I need to understand what has change enough significantly that it causes compilation fail in such way. It doesn't happen with SDK prepared by ANT.
Thanks,
Piotr
pt., 19 lut 2021 o 10:33 Maria Jose Esteve <mj...@iest.com> napisał(a):
> @Chris you're right, sorry, I didn't download your last commit.
> I'm sorry.
> Hiedra.
>
> -----Mensaje original-----
> De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> 19 de febrero de 2021 10:17
> Para: dev@royale.apache.org
> Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>
> I'll try to guess what you wanted to say here ...
>
> But I think these are exactly the changes I comitted a an hour ago, right?
> At least in general I replaced all the references to names with
> versions to the changed ones.
>
>
> Chris
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Maria Jose Esteve <mj...@iest.com>
> Gesendet: Freitag, 19. Februar 2021 10:01
> An: dev@royale.apache.org
> Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
>
> Hi,
> Mi distribución hace referencia en el fichero
> "./frameworks/royale-config.xml" a las librerías:
>
> <js-external-library-path>
>
> <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.sw
> c</path-element>
>
> <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc</path-element>
> </js-external-library-path>
>
> Las correctas son:
>
> <js-external-library-path>
> <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
> </js-external-library-path>
>
> Hiedra
>
> -----Mensaje original-----
> De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> 19 de febrero de 2021 9:39
> Para: dev@royale.apache.org
> Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>
> Ok,
>
> so the config xml files in the distribution were still pointing to the
> old names. I updated them all to now refer to the names.
> I tried things in Carlos' demo project, and I'm no-longer getting the
> errors, however compilation seems to take for ever.
>
> Please try out the changes and tell me if there are any problems with them.
>
> Chris
>
> -----Ursprüngliche Nachricht-----
> Von: Christofer Dutz <ch...@c-ware.de>
> Gesendet: Donnerstag, 18. Februar 2021 23:17
> An: dev@royale.apache.org
> Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
>
> Hi Carlos,
>
> I'll look into this tomorrow.
>
> Chris
>
> -----Ursprüngliche Nachricht-----
> Von: Carlos Rovira <ca...@apache.org>
> Gesendet: Donnerstag, 18. Februar 2021 17:49
> An: Apache Royale Development <de...@royale.apache.org>
> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>
> Hi, I think I talked very quickly, sorry, there seems to be a problem.
>
> @Christofer Dutz <ch...@c-ware.de> you can download this
> project:
>
>
> https://github.com/apache/royale-asjs/files/6004363/ToggleButtonBarIss
> ue.zip
>
> Then using VSCode with AS3&MXML and adding the Maven distribution.
> Then hit CTRL+ENTER and you will get the following fail. Using ANT
> distribution is working fine.
> Can you take a look?
>
> Royale Compiler Shell
> (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> --source-map=true
> --html-template=src/html/jewel-example-index-template.html
>
> --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/sr
> c/main/resources/defaults.css
> --source-path+=src --library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> -js-dynamic-access-unknown-members=true -- src/App.mxml
> fcsh: Assigned 1 as the compile target id The project 'App' has been
> successfully compiled and optimized.
> Compile status: 0
> Elapsed time: 14.211105399 seconds
> Feb 18, 2021 5:43:40 PM
> com.google.javascript.jscomp.LoggerErrorManager
> printSummary
> INFO: 0 error(s), 0 warning(s), 96.5% typed
> (fcsh) quit
> Compiler shell exited with code: 0
> Royale Compiler Shell
> (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> --source-map=true
> --html-template=src/html/jewel-example-index-template.html
>
> --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/sr
> c/main/resources/defaults.css
> --source-path+=src --library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> -js-dynamic-access-unknown-members=true -- src/App.mxml
> fcsh: Assigned 1 as the compile target id Compile status: 5 Elapsed time:
> 0.618407478 seconds
>
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> col: 0 Error: unable to open
>
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
>
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/roy
> ale-config.xml
> (line: 81)
>
> </js-external-library-path>
>
>
>
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> col: 0 Error: unable to open
>
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
>
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/roy
> ale-config.xml
> (line: 81)
>
> </js-external-library-path>
> (fcsh)
> Quick Compile failed. Errors in compiler output.
>
> El jue, 18 feb 2021 a las 17:26, Carlos Rovira
> (<ca...@apache.org>)
> escribió:
>
> > Hi,
> >
> > I rebuilt all from scratch just now and finally the distribution too
> > and tried in VSCode and all seems to work fine for me.
> >
> > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> > christofer.dutz@c-ware.de>) escribió:
> >
> >> Hi Piotr,
> >>
> >> that class is located in lib\external\flex-tool-api.jar At least in
> >> my distribution it's there and it contains the class.
> >>
> >> How are you calling the build that's failing?
> >>
> >> Chris
> >>
> >> -----Ursprüngliche Nachricht-----
> >> Von: Piotr Zarzycki <pi...@gmail.com>
> >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> >> An: Apache Royale Development <de...@royale.apache.org>
> >> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> >>
> >> Chris,
> >>
> >> I just checked and I'm not able build project anymore using
> distribution:
> >>
> >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
> >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m
> >> -Xmx3000m
> >> : Error: Could not find or load main class
> >> org.apache.royale.compiler.clients.MXMLJSC
> >> : Caused by: java.lang.NoClassDefFoundError:
> >> org/apache/flex/tools/FlexTool
> >>
> >> I'm done for today, so I will answer anything tomorrow.
> >>
> >> czw., 18 lut 2021 o 16:05 Christofer Dutz
> >> <ch...@c-ware.de>
> >> napisał(a):
> >>
> >> > Ok ...
> >> >
> >> > so I just pushed another change. Now the distribution should also
> >> > contain an empty spark.css, just like the Ant one.
> >> >
> >> > Chris
> >> >
> >> >
> >> > -----Ursprüngliche Nachricht-----
> >> > Von: Christofer Dutz <ch...@c-ware.de>
> >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> >> > An: dev@royale.apache.org
> >> > Betreff: AW: Align Maven IDE distribution with Ant IDE
> >> > distribution
> >> >
> >> > Ok,
> >> >
> >> > so that should now be fixed. Leaves the "spark.css"
> >> > Having had a look, it seems as if the Ant build creates an empty
> >> spark.css.
> >> >
> >> > Is this all we need? If yes, then I'll have that in ther in no time.
> >> >
> >> > Chris
> >> >
> >> > -----Ursprüngliche Nachricht-----
> >> > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> >> > An: Apache Royale Development <de...@royale.apache.org>
> >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > distribution
> >> >
> >> > *(I assume that's in the "frameworks/js/libs" directory? *
> >> >
> >> > Yes this is the directory.
> >> >
> >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> >> > <ch...@c-ware.de>
> >> > napisał(a):
> >> >
> >> > > Hi Piotr,
> >> > >
> >> > > Ok ... so Ant seems to be adding a "JS" to the end of every
> >> > > name (I assume that's in the "frameworks/js/libs" directory?
> >> > >
> >> > > Also I'll try to find out where the "spark.css" should come from ...
> >> > > and where it should go to.
> >> > >
> >> > > Chris
> >> > >
> >> > >
> >> > > -----Ursprüngliche Nachricht-----
> >> > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> >> > > An: Apache Royale Development <de...@royale.apache.org>
> >> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > > distribution
> >> > >
> >> > > Chris,
> >> > >
> >> > > Looks better but here is the comparision what I have in Ant
> >> > > distribution vs Maven distribution in case of names. On the
> >> > > left Ant distribution, on the right Maven. It is folder:
> >> > > frameworks\js\libs\ [1]
> >> > >
> >> > > [1] https://ibb.co/W2DzcDb
> >> > >
> >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> >> > > <ch...@c-ware.de>
> >> > > napisał(a):
> >> > >
> >> > > > And done ...
> >> > > >
> >> > > > Now all elements in the distribution only consist of their
> >> > > > name and file-ending ... all versions and classifiers have
> >> > > > been
> removed.
> >> > > > Please provide me with feedback on if this solves the issues.
> >> > > >
> >> > > > Chris
> >> > > >
> >> > > >
> >> > > > -----Ursprüngliche Nachricht-----
> >> > > > Von: Christofer Dutz <ch...@c-ware.de>
> >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> >> > > > An: dev@royale.apache.org
> >> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> >> > > > distribution
> >> > > >
> >> > > > I'll probably have a fix for that in a few minuntes ...
> >> > > >
> >> > > >
> >> > > > Chris
> >> > > >
> >> > > >
> >> > > > -----Ursprüngliche Nachricht-----
> >> > > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> >> > > > An: Apache Royale Development <de...@royale.apache.org>
> >> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > > > distribution
> >> > > >
> >> > > > Chris,
> >> > > >
> >> > > > No it's not about not picking up by IDE at all. Moonshine and
> >> > > > VSCode are able to build projects using Maven distribution
> >> > > > package! It is about project which are mixed for example when
> >> > > > user wanted to use Jewel module + RemoteObject class from
> >> > > > MXRoyale module. In that case user need to point explicilty
> >> > > > as a compiler options in IDE that he wanted to have SWC
> >> > > > included and need to exclude css from that swc to
> >> > > avoid problems.
> >> > > >
> >> > > > It is happen like that:
> >> > > >
> >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> >> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> >> > > > cs
> >> > > > s
> >> > > >
> >> > > > If I would like to use maven distribution user need to know
> >> > > > version for that compiler options. It is even more tricky
> >> > > > when your swc is called
> >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> >> > > >
> >> > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.cs
> >> > > > s
> >> > > >
> >> > > > Thanks,
> >> > > > Piotr
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> >> > > > <ch...@c-ware.de>
> >> > > > napisał(a):
> >> > > >
> >> > > > > Hi Piotr,
> >> > > > >
> >> > > > > And is really the version-suffix causing it to not be
> >> > > > > picked up by the IDEs?
> >> > > > >
> >> > > > > Chris
> >> > > > >
> >> > > > > -----Ursprüngliche Nachricht-----
> >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> >> > > > > An: dev@royale.apache.org
> >> > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > > > > distribution
> >> > > > >
> >> > > > > Hi Chris,
> >> > > > >
> >> > > > > This is the only thing which seems to be a constant problem
> here.
> >> > > > > I personally and some users will be much more happy having
> >> > > > > that
> >> > change.
> >> > > > >
> >> > > > > Thanks,
> >> > > > > Piotr
> >> > > > >
> >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> >> > > > > <ch...@c-ware.de>
> >> > > > > wrote:
> >> > > > >
> >> > > > > > Hi Piotr,
> >> > > > > >
> >> > > > > > I'd be happy to help with that.
> >> > > > > >
> >> > > > > > I did simply ask for a list of things that need to be
> >> > > > > > changed in order to get things working, but never got
> >> > > > > > said list, so I never knew what I could do to make the
> >> > > > > > Maven distribution match up to the
> >> > > > Ant built one.
> >> > > > > >
> >> > > > > > Chris
> >> > > > > >
> >> > > > > >
> >> > > > > > -----Ursprüngliche Nachricht-----
> >> > > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> >> > > > > > An: Apache Royale Development <de...@royale.apache.org>
> >> > > > > > Betreff: Align Maven IDE distribution with Ant IDE
> >> > > > > > distribution
> >> > > > > >
> >> > > > > > Hi Guys,
> >> > > > > >
> >> > > > > > It's been couple of times when user complains that he
> >> > > > > > have problems with using Maven distribution vs Ant
> >> > > > > > distribution in IDE in a mixed project Jewel + MX/Spark etc.
> >> > > > > >
> >> > > > > > Can we have that resolve once for all and adjust Maven
> >> > > > > > distribution folder to produce proper names of swcs ?
> >> > > > > >
> >> > > > > > Currently when I build Maven IDE distribution I have:
> >> > > > > >
> >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> >> > > > > >
> >> > > > > > When I build Ant IDE distribution I have:
> >> > > > > >
> >> > > > > > MXRoyale-js.swc
> >> > > > > >
> >> > > > > > Thanks,
> >> > > > > > --
> >> > > > > >
> >> > > > > > Piotr Zarzycki
> >> > > > > >
> >> > > > > --
> >> > > > >
> >> > > > > Piotr Zarzycki
> >> > > > >
> >> > > >
> >> > > >
> >> > > > --
> >> > > >
> >> > > > Piotr Zarzycki
> >> > > >
> >> > >
> >> > >
> >> > > --
> >> > >
> >> > > Piotr Zarzycki
> >> > >
> >> >
> >> >
> >> > --
> >> >
> >> > Piotr Zarzycki
> >> >
> >>
> >>
> >> --
> >>
> >> Piotr Zarzycki
> >>
> >
> >
> > --
> > Carlos Rovira
> > Apache Member & Apache Royale PMC
> > *Apache Software Foundation*
> > http://about.me/carlosrovira
> >
> >
>
> --
> Carlos Rovira
> Apache Member & Apache Royale PMC
> *Apache Software Foundation*
> http://about.me/carlosrovira
>
--
Piotr Zarzycki
RE: Align Maven IDE distribution with Ant IDE distribution
Posted by Maria Jose Esteve <mj...@iest.com>.
Hahahaha,
I do not "consciously" execute those feelings. If I could get them out of a log tell me and I'll look at it for you.
Hiedra.
-----Mensaje original-----
De: Piotr Zarzycki <pi...@gmail.com>
Enviado el: viernes, 19 de febrero de 2021 13:52
Para: Apache Royale Development <de...@royale.apache.org>
Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
Thanks Maria, but it is Maven compilation of a whole sdk - I'm interested in command line for distribution only.
pt., 19 lut 2021 o 13:49 Maria Jose Esteve <mj...@iest.com> napisał(a):
> Piotr this is an excerpt from the MAVEN compilation of the last bat
> that I have released:
>
> set SDK_FOLDER=D:\Apache\apache-royale-0.9.8-iest
> set ROYALE_ASJS_HOME=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs
>
> set MAVEN_OPTS=-Xms256m -Xmx1536m
> set JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8 -Xmx1024m cd
> %ROYALE_ASJS_HOME% call mvn clean install -P with-distribution
> -DdistributionTargetFolder="%SDK_FOLDER%"
>
> Hiedra
>
> -----Mensaje original-----
> De: Piotr Zarzycki <pi...@gmail.com> Enviado el: viernes, 19
> de febrero de 2021 13:21
> Para: Apache Royale Development <de...@royale.apache.org>
> Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
>
> How do you guys build distributions? What is the commandline in your case ?
>
> pt., 19 lut 2021 o 13:10 Piotr Zarzycki <pi...@gmail.com>
> napisał(a):
>
> > I just tried generated distribution in VSCode to build TourDeJewel
> > and I have the same results!
> >
> > > Executing task: c:\Program Files\Java\jdk-11\bin\java.exe -jar
> > c:\Users\piotr\.vscode\extensions\bowlerhatllc.vscode-nextgenas-1.6.
> > 0\ bin\asconfigc.jar --sdk d:\Work\royale_ide\distribution
> > --debug=true --project
> > d:\Work\royale-sources\royale-asjs\examples\jewel\TourDeJewel\asconf
> > ig
> > .json
> > <
> >
> > Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m
> > -Xmx3000m Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
> > -Xms356m -Xmx3000m
> > Error: Could not find or load main class
> > org.apache.royale.compiler.clients.MXMLJSC
> > Caused by: java.lang.NoClassDefFoundError:
> > org/apache/flex/tools/FlexTool The terminal process "c:\Program
> > Files\Java\jdk-11\bin\java.exe '-jar',
> > 'c:\Users\piotr\.vscode\extensions\bowlerhatllc.vscode-nextgenas-1.6
> > .0 \bin\asconfigc.jar', '--sdk', 'd:\Work\royale_ide\distribution',
> > '--debug=true', '--project',
> >
> 'd:\Work\royale-sources\royale-asjs\examples\jewel\TourDeJewel\asconfig.json'"
> > terminated with exit code: 1.
> >
> > What could be wrong with generation of that distribution? Carlos
> > doesn't have such problems...
> >
> >
> > pt., 19 lut 2021 o 12:48 Maria Jose Esteve <mj...@iest.com>
> napisał(a):
> >
> >> Hello Chris,
> >> so that I can debug my changes in the SDK I need to set the path of
> >> the "as3mxml.sdk.editor" to the asjs directory of my fork, for this
> >> reason the path of the " as3mxml.sdk.framework" points to the
> >> directory of the maven distribution and the "as3mxml.sdk.editor" to
> code.
> >>
> >> ">> I'm not getting any errors from VSCode. But well ... if I hit
> >> SHIFT+Enter it starts doing something where if failed prior to my
> >> >> changes this morning and is no longer complaining, but it's also
> >> >> not
> >> doing much (I can't see it create a "bin" directory)"
> >>
> >> I don't quite understand this ... possibly because of my lack of
> >> knowledge.
> >>
> >> I have not tried Carlos's project but this afternoon I will be able
> >> to do it and I will be able to give more details.
> >>
> >> Thx.
> >> Hiedra.
> >>
> >> -----Mensaje original-----
> >> De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> >> viernes,
> >> 19 de febrero de 2021 11:51
> >> Para: dev@royale.apache.org
> >> Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> >>
> >> Hi Heidra,
> >>
> >> I just updated Carlos' example to have the same type of setting
> >> (C:\\Temp\\RoyaleSDK is where I have my Maven build generate the SDK):
> >>
> >> setings.js:
> >> {
> >> "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> >> "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> >> }
> >>
> >> workspace-code-workspace
> >> {
> >> "folders": [
> >> {
> >> "path": ".."
> >> }
> >> ],
> >> "settings": {
> >> "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> >> "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> >> }
> >> }
> >>
> >> I'm not getting any errors from VSCode. But well ... if I hit
> >> SHIFT+Enter it starts doing something where if failed prior to my
> >> changes this morning and is no longer complaining, but it's also
> >> not doing much (I can't see it create a "bin" directory)
> >>
> >> Chris
> >>
> >>
> >> -----Ursprüngliche Nachricht-----
> >> Von: Maria Jose Esteve <mj...@iest.com>
> >> Gesendet: Freitag, 19. Februar 2021 10:53
> >> An: dev@royale.apache.org
> >> Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
> >>
> >> If I don't compile with ANT, the mxml extension in vsCode IDE, it
> >> doesn't recognize the valid asjs directory for "as3mxml.sdk.editor":
> >> ...
> >> "settings": {
> >> "as3mxml.sdk.framework":
> >> "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
> >> "as3mxml.sdk.editor":
> >> "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs" <--------
> >> [download folder repo royale-asjs]
> >> }
> >> }
> >>
> >> The error is:
> >> " as3mxml.sdk.editor in settings does not point to a valid SDK.
> >> Requires..."
> >>
> >> Thx.
> >> Hiedra.
> >>
> >> -----Mensaje original-----
> >> De: Piotr Zarzycki <pi...@gmail.com> Enviado el: viernes,
> >> 19 de febrero de 2021 10:44
> >> Para: Apache Royale Development <de...@royale.apache.org>
> >> Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
> >>
> >> Hi Chris,
> >>
> >> I just tried your changes and I have same issue. I need to
> >> understand what has change enough significantly that it causes
> >> compilation fail in such way. It doesn't happen with SDK prepared by ANT.
> >>
> >> Thanks,
> >> Piotr
> >>
> >> pt., 19 lut 2021 o 10:33 Maria Jose Esteve <mj...@iest.com>
> >> napisał(a):
> >>
> >> > @Chris you're right, sorry, I didn't download your last commit.
> >> > I'm sorry.
> >> > Hiedra.
> >> >
> >> > -----Mensaje original-----
> >> > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> >> > viernes,
> >> > 19 de febrero de 2021 10:17
> >> > Para: dev@royale.apache.org
> >> > Asunto: AW: Align Maven IDE distribution with Ant IDE
> >> > distribution
> >> >
> >> > I'll try to guess what you wanted to say here ...
> >> >
> >> > But I think these are exactly the changes I comitted a an hour
> >> > ago,
> >> right?
> >> > At least in general I replaced all the references to names with
> >> > versions to the changed ones.
> >> >
> >> >
> >> > Chris
> >> >
> >> >
> >> >
> >> > -----Ursprüngliche Nachricht-----
> >> > Von: Maria Jose Esteve <mj...@iest.com>
> >> > Gesendet: Freitag, 19. Februar 2021 10:01
> >> > An: dev@royale.apache.org
> >> > Betreff: RE: Align Maven IDE distribution with Ant IDE
> >> > distribution
> >> >
> >> > Hi,
> >> > Mi distribución hace referencia en el fichero
> >> > "./frameworks/royale-config.xml" a las librerías:
> >> >
> >> > <js-external-library-path>
> >> >
> >> > <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typede
> >> > fs
> >> > .sw
> >> > c</path-element>
> >> >
> >> >
> >> <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.
> >> swc</path-element>
> >> > </js-external-library-path>
> >> >
> >> > Las correctas son:
> >> >
> >> > <js-external-library-path>
> >> >
> >> > <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> >> >
> >> <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
> >> > </js-external-library-path>
> >> >
> >> > Hiedra
> >> >
> >> > -----Mensaje original-----
> >> > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> >> > viernes,
> >> > 19 de febrero de 2021 9:39
> >> > Para: dev@royale.apache.org
> >> > Asunto: AW: Align Maven IDE distribution with Ant IDE
> >> > distribution
> >> >
> >> > Ok,
> >> >
> >> > so the config xml files in the distribution were still pointing
> >> > to the old names. I updated them all to now refer to the names.
> >> > I tried things in Carlos' demo project, and I'm no-longer getting
> >> > the errors, however compilation seems to take for ever.
> >> >
> >> > Please try out the changes and tell me if there are any problems
> >> > with
> >> them.
> >> >
> >> > Chris
> >> >
> >> > -----Ursprüngliche Nachricht-----
> >> > Von: Christofer Dutz <ch...@c-ware.de>
> >> > Gesendet: Donnerstag, 18. Februar 2021 23:17
> >> > An: dev@royale.apache.org
> >> > Betreff: AW: Align Maven IDE distribution with Ant IDE
> >> > distribution
> >> >
> >> > Hi Carlos,
> >> >
> >> > I'll look into this tomorrow.
> >> >
> >> > Chris
> >> >
> >> > -----Ursprüngliche Nachricht-----
> >> > Von: Carlos Rovira <ca...@apache.org>
> >> > Gesendet: Donnerstag, 18. Februar 2021 17:49
> >> > An: Apache Royale Development <de...@royale.apache.org>
> >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > distribution
> >> >
> >> > Hi, I think I talked very quickly, sorry, there seems to be a problem.
> >> >
> >> > @Christofer Dutz <ch...@c-ware.de> you can download
> >> > this
> >> > project:
> >> >
> >> >
> >> > https://github.com/apache/royale-asjs/files/6004363/ToggleButtonB
> >> > ar
> >> > Iss
> >> > ue.zip
> >> >
> >> > Then using VSCode with AS3&MXML and adding the Maven distribution.
> >> > Then hit CTRL+ENTER and you will get the following fail. Using
> >> > ANT distribution is working fine.
> >> > Can you take a look?
> >> >
> >> > Royale Compiler Shell
> >> > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> >> > --source-map=true
> >> > --html-template=src/html/jewel-example-index-template.html
> >> >
> >> > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-The
> >> > me
> >> > /sr
> >> > c/main/resources/defaults.css
> >> > --source-path+=src
> >> > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> >> > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> >> > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> >> > -js-dynamic-access-unknown-members=true -- src/App.mxml
> >> > fcsh: Assigned 1 as the compile target id The project 'App' has
> >> > been successfully compiled and optimized.
> >> > Compile status: 0
> >> > Elapsed time: 14.211105399 seconds Feb 18, 2021 5:43:40 PM
> >> > com.google.javascript.jscomp.LoggerErrorManager
> >> > printSummary
> >> > INFO: 0 error(s), 0 warning(s), 96.5% typed
> >> > (fcsh) quit
> >> > Compiler shell exited with code: 0 Royale Compiler Shell
> >> > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> >> > --source-map=true
> >> > --html-template=src/html/jewel-example-index-template.html
> >> >
> >> > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-The
> >> > me
> >> > /sr
> >> > c/main/resources/defaults.css
> >> > --source-path+=src
> >> > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> >> > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> >> > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> >> > -js-dynamic-access-unknown-members=true -- src/App.mxml
> >> > fcsh: Assigned 1 as the compile target id Compile status: 5
> >> > Elapsed
> >> time:
> >> > 0.618407478 seconds
> >> >
> >> >
> >>
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> >> > col: 0 Error: unable to open
> >> >
> >> >
> >>
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
> >> >
> >> > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/framework
> >> > s/
> >> > roy
> >> > ale-config.xml
> >> > (line: 81)
> >> >
> >> > </js-external-library-path>
> >> >
> >> >
> >> >
> >> >
> >>
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> >> > col: 0 Error: unable to open
> >> >
> >> >
> >>
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
> >> >
> >> > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/framework
> >> > s/
> >> > roy
> >> > ale-config.xml
> >> > (line: 81)
> >> >
> >> > </js-external-library-path>
> >> > (fcsh)
> >> > Quick Compile failed. Errors in compiler output.
> >> >
> >> > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
> >> > (<ca...@apache.org>)
> >> > escribió:
> >> >
> >> > > Hi,
> >> > >
> >> > > I rebuilt all from scratch just now and finally the
> >> > > distribution too and tried in VSCode and all seems to work fine for me.
> >> > >
> >> > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> >> > > christofer.dutz@c-ware.de>) escribió:
> >> > >
> >> > >> Hi Piotr,
> >> > >>
> >> > >> that class is located in lib\external\flex-tool-api.jar At
> >> > >> least in my distribution it's there and it contains the class.
> >> > >>
> >> > >> How are you calling the build that's failing?
> >> > >>
> >> > >> Chris
> >> > >>
> >> > >> -----Ursprüngliche Nachricht-----
> >> > >> Von: Piotr Zarzycki <pi...@gmail.com>
> >> > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> >> > >> An: Apache Royale Development <de...@royale.apache.org>
> >> > >> Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > >> distribution
> >> > >>
> >> > >> Chris,
> >> > >>
> >> > >> I just checked and I'm not able build project anymore using
> >> > distribution:
> >> > >>
> >> > >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
> >> > >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m
> >> > >> -Xmx3000m
> >> > >> : Error: Could not find or load main class
> >> > >> org.apache.royale.compiler.clients.MXMLJSC
> >> > >> : Caused by: java.lang.NoClassDefFoundError:
> >> > >> org/apache/flex/tools/FlexTool
> >> > >>
> >> > >> I'm done for today, so I will answer anything tomorrow.
> >> > >>
> >> > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
> >> > >> <ch...@c-ware.de>
> >> > >> napisał(a):
> >> > >>
> >> > >> > Ok ...
> >> > >> >
> >> > >> > so I just pushed another change. Now the distribution should
> >> > >> > also contain an empty spark.css, just like the Ant one.
> >> > >> >
> >> > >> > Chris
> >> > >> >
> >> > >> >
> >> > >> > -----Ursprüngliche Nachricht-----
> >> > >> > Von: Christofer Dutz <ch...@c-ware.de>
> >> > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> >> > >> > An: dev@royale.apache.org
> >> > >> > Betreff: AW: Align Maven IDE distribution with Ant IDE
> >> > >> > distribution
> >> > >> >
> >> > >> > Ok,
> >> > >> >
> >> > >> > so that should now be fixed. Leaves the "spark.css"
> >> > >> > Having had a look, it seems as if the Ant build creates an
> >> > >> > empty
> >> > >> spark.css.
> >> > >> >
> >> > >> > Is this all we need? If yes, then I'll have that in ther in
> >> > >> > no
> >> time.
> >> > >> >
> >> > >> > Chris
> >> > >> >
> >> > >> > -----Ursprüngliche Nachricht-----
> >> > >> > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> >> > >> > An: Apache Royale Development <de...@royale.apache.org>
> >> > >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > >> > distribution
> >> > >> >
> >> > >> > *(I assume that's in the "frameworks/js/libs" directory? *
> >> > >> >
> >> > >> > Yes this is the directory.
> >> > >> >
> >> > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> >> > >> > <ch...@c-ware.de>
> >> > >> > napisał(a):
> >> > >> >
> >> > >> > > Hi Piotr,
> >> > >> > >
> >> > >> > > Ok ... so Ant seems to be adding a "JS" to the end of
> >> > >> > > every name (I assume that's in the "frameworks/js/libs" directory?
> >> > >> > >
> >> > >> > > Also I'll try to find out where the "spark.css" should
> >> > >> > > come from
> >> ...
> >> > >> > > and where it should go to.
> >> > >> > >
> >> > >> > > Chris
> >> > >> > >
> >> > >> > >
> >> > >> > > -----Ursprüngliche Nachricht-----
> >> > >> > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> >> > >> > > An: Apache Royale Development <de...@royale.apache.org>
> >> > >> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > >> > > distribution
> >> > >> > >
> >> > >> > > Chris,
> >> > >> > >
> >> > >> > > Looks better but here is the comparision what I have in
> >> > >> > > Ant distribution vs Maven distribution in case of names.
> >> > >> > > On the left Ant distribution, on the right Maven. It is folder:
> >> > >> > > frameworks\js\libs\ [1]
> >> > >> > >
> >> > >> > > [1] https://ibb.co/W2DzcDb
> >> > >> > >
> >> > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> >> > >> > > <ch...@c-ware.de>
> >> > >> > > napisał(a):
> >> > >> > >
> >> > >> > > > And done ...
> >> > >> > > >
> >> > >> > > > Now all elements in the distribution only consist of
> >> > >> > > > their name and file-ending ... all versions and
> >> > >> > > > classifiers have been
> >> > removed.
> >> > >> > > > Please provide me with feedback on if this solves the issues.
> >> > >> > > >
> >> > >> > > > Chris
> >> > >> > > >
> >> > >> > > >
> >> > >> > > > -----Ursprüngliche Nachricht-----
> >> > >> > > > Von: Christofer Dutz <ch...@c-ware.de>
> >> > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> >> > >> > > > An: dev@royale.apache.org
> >> > >> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> >> > >> > > > distribution
> >> > >> > > >
> >> > >> > > > I'll probably have a fix for that in a few minuntes ...
> >> > >> > > >
> >> > >> > > >
> >> > >> > > > Chris
> >> > >> > > >
> >> > >> > > >
> >> > >> > > > -----Ursprüngliche Nachricht-----
> >> > >> > > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> >> > >> > > > An: Apache Royale Development <de...@royale.apache.org>
> >> > >> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > >> > > > distribution
> >> > >> > > >
> >> > >> > > > Chris,
> >> > >> > > >
> >> > >> > > > No it's not about not picking up by IDE at all.
> >> > >> > > > Moonshine and VSCode are able to build projects using
> >> > >> > > > Maven distribution package! It is about project which
> >> > >> > > > are mixed for example when user wanted to use Jewel
> >> > >> > > > module + RemoteObject class from MXRoyale module. In
> >> > >> > > > that case user need to point explicilty as a compiler
> >> > >> > > > options in IDE that he wanted to have SWC included and
> >> > >> > > > need to exclude css from that swc to
> >> > >> > > avoid problems.
> >> > >> > > >
> >> > >> > > > It is happen like that:
> >> > >> > > >
> >> > >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> >> > >> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> >> > >> > > > cs
> >> > >> > > > s
> >> > >> > > >
> >> > >> > > > If I would like to use maven distribution user need to
> >> > >> > > > know version for that compiler options. It is even more
> >> > >> > > > tricky when your swc is called
> >> > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> >> > >> > > >
> >> > >> > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaul
> >> > >> > > > ts
> >> > >> > > > .cs
> >> > >> > > > s
> >> > >> > > >
> >> > >> > > > Thanks,
> >> > >> > > > Piotr
> >> > >> > > >
> >> > >> > > >
> >> > >> > > >
> >> > >> > > >
> >> > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> >> > >> > > > <ch...@c-ware.de>
> >> > >> > > > napisał(a):
> >> > >> > > >
> >> > >> > > > > Hi Piotr,
> >> > >> > > > >
> >> > >> > > > > And is really the version-suffix causing it to not be
> >> > >> > > > > picked up by the IDEs?
> >> > >> > > > >
> >> > >> > > > > Chris
> >> > >> > > > >
> >> > >> > > > > -----Ursprüngliche Nachricht-----
> >> > >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> >> > >> > > > > An: dev@royale.apache.org
> >> > >> > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > >> > > > > distribution
> >> > >> > > > >
> >> > >> > > > > Hi Chris,
> >> > >> > > > >
> >> > >> > > > > This is the only thing which seems to be a constant
> >> > >> > > > > problem
> >> > here.
> >> > >> > > > > I personally and some users will be much more happy
> >> > >> > > > > having that
> >> > >> > change.
> >> > >> > > > >
> >> > >> > > > > Thanks,
> >> > >> > > > > Piotr
> >> > >> > > > >
> >> > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> >> > >> > > > > <ch...@c-ware.de>
> >> > >> > > > > wrote:
> >> > >> > > > >
> >> > >> > > > > > Hi Piotr,
> >> > >> > > > > >
> >> > >> > > > > > I'd be happy to help with that.
> >> > >> > > > > >
> >> > >> > > > > > I did simply ask for a list of things that need to
> >> > >> > > > > > be changed in order to get things working, but never
> >> > >> > > > > > got said list, so I never knew what I could do to
> >> > >> > > > > > make the Maven distribution match up to the
> >> > >> > > > Ant built one.
> >> > >> > > > > >
> >> > >> > > > > > Chris
> >> > >> > > > > >
> >> > >> > > > > >
> >> > >> > > > > > -----Ursprüngliche Nachricht-----
> >> > >> > > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> >> > >> > > > > > An: Apache Royale Development
> >> > >> > > > > > <de...@royale.apache.org>
> >> > >> > > > > > Betreff: Align Maven IDE distribution with Ant IDE
> >> > >> > > > > > distribution
> >> > >> > > > > >
> >> > >> > > > > > Hi Guys,
> >> > >> > > > > >
> >> > >> > > > > > It's been couple of times when user complains that
> >> > >> > > > > > he have problems with using Maven distribution vs
> >> > >> > > > > > Ant distribution in IDE in a mixed project Jewel +
> >> > >> > > > > > MX/Spark
> >> etc.
> >> > >> > > > > >
> >> > >> > > > > > Can we have that resolve once for all and adjust
> >> > >> > > > > > Maven distribution folder to produce proper names of swcs ?
> >> > >> > > > > >
> >> > >> > > > > > Currently when I build Maven IDE distribution I have:
> >> > >> > > > > >
> >> > >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> >> > >> > > > > >
> >> > >> > > > > > When I build Ant IDE distribution I have:
> >> > >> > > > > >
> >> > >> > > > > > MXRoyale-js.swc
> >> > >> > > > > >
> >> > >> > > > > > Thanks,
> >> > >> > > > > > --
> >> > >> > > > > >
> >> > >> > > > > > Piotr Zarzycki
> >> > >> > > > > >
> >> > >> > > > > --
> >> > >> > > > >
> >> > >> > > > > Piotr Zarzycki
> >> > >> > > > >
> >> > >> > > >
> >> > >> > > >
> >> > >> > > > --
> >> > >> > > >
> >> > >> > > > Piotr Zarzycki
> >> > >> > > >
> >> > >> > >
> >> > >> > >
> >> > >> > > --
> >> > >> > >
> >> > >> > > Piotr Zarzycki
> >> > >> > >
> >> > >> >
> >> > >> >
> >> > >> > --
> >> > >> >
> >> > >> > Piotr Zarzycki
> >> > >> >
> >> > >>
> >> > >>
> >> > >> --
> >> > >>
> >> > >> Piotr Zarzycki
> >> > >>
> >> > >
> >> > >
> >> > > --
> >> > > Carlos Rovira
> >> > > Apache Member & Apache Royale PMC *Apache Software Foundation*
> >> > > http://about.me/carlosrovira
> >> > >
> >> > >
> >> >
> >> > --
> >> > Carlos Rovira
> >> > Apache Member & Apache Royale PMC *Apache Software Foundation*
> >> > http://about.me/carlosrovira
> >> >
> >>
> >>
> >> --
> >>
> >> Piotr Zarzycki
> >>
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
>
>
> --
>
> Piotr Zarzycki
>
--
Piotr Zarzycki
AW: Align Maven IDE distribution with Ant IDE distribution
Posted by Christofer Dutz <ch...@c-ware.de>.
Hi Piotr,
It will use the one defined in the parent pom (framework) ... That's currently set to:
<royale.build-tools.version>1.1.0</royale.build-tools.version>
<royale.compiler.version>0.9.9-SNAPSHOT</royale.compiler.version>
<royale.typedefs.version>0.9.8-SNAPSHOT</royale.typedefs.version>
Hope that helps.
Chris
-----Ursprüngliche Nachricht-----
Von: Piotr Zarzycki <pi...@gmail.com>
Gesendet: Freitag, 19. Februar 2021 13:58
An: Apache Royale Development <de...@royale.apache.org>
Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
Chris If I do this -> mvn package in distribution directory - what compiler version will be used 0.9.8-SNAPSHOT or 0.9.9-SNAPSHOT ?
pt., 19 lut 2021 o 13:57 Christofer Dutz <ch...@c-ware.de>
napisał(a):
> Hi Piotr,
>
> if you want the build to create the zip, simply cange into the
> distribution directory and tun "mvn package" ... that should be enough.
> If you want the build to create an exploded installation in a given
> directory, simply set a environment variable named
> "distributionTargetFolder" to the path you want it created to and then
> run "mvn package" ... or "mvn clean package" if you want to make sure
> any previous distribution is cleaned up before deploying the new one there.
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Piotr Zarzycki <pi...@gmail.com>
> Gesendet: Freitag, 19. Februar 2021 13:52
> An: Apache Royale Development <de...@royale.apache.org>
> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>
> Thanks Maria, but it is Maven compilation of a whole sdk - I'm
> interested in command line for distribution only.
>
> pt., 19 lut 2021 o 13:49 Maria Jose Esteve <mj...@iest.com> napisał(a):
>
> > Piotr this is an excerpt from the MAVEN compilation of the last bat
> > that I have released:
> >
> > set SDK_FOLDER=D:\Apache\apache-royale-0.9.8-iest
> > set
> > ROYALE_ASJS_HOME=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs
> >
> > set MAVEN_OPTS=-Xms256m -Xmx1536m
> > set JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8 -Xmx1024m cd
> > %ROYALE_ASJS_HOME% call mvn clean install -P with-distribution
> > -DdistributionTargetFolder="%SDK_FOLDER%"
> >
> > Hiedra
> >
> > -----Mensaje original-----
> > De: Piotr Zarzycki <pi...@gmail.com> Enviado el: viernes,
> > 19 de febrero de 2021 13:21
> > Para: Apache Royale Development <de...@royale.apache.org>
> > Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
> >
> > How do you guys build distributions? What is the commandline in your
> case ?
> >
> > pt., 19 lut 2021 o 13:10 Piotr Zarzycki <pi...@gmail.com>
> > napisał(a):
> >
> > > I just tried generated distribution in VSCode to build TourDeJewel
> > > and I have the same results!
> > >
> > > > Executing task: c:\Program Files\Java\jdk-11\bin\java.exe -jar
> > > c:\Users\piotr\.vscode\extensions\bowlerhatllc.vscode-nextgenas-1.6.
> > > 0\ bin\asconfigc.jar --sdk d:\Work\royale_ide\distribution
> > > --debug=true --project
> > > d:\Work\royale-sources\royale-asjs\examples\jewel\TourDeJewel\asco
> > > nf
> > > ig
> > > .json
> > > <
> > >
> > > Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m
> > > -Xmx3000m Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
> > > -Xms356m -Xmx3000m
> > > Error: Could not find or load main class
> > > org.apache.royale.compiler.clients.MXMLJSC
> > > Caused by: java.lang.NoClassDefFoundError:
> > > org/apache/flex/tools/FlexTool The terminal process "c:\Program
> > > Files\Java\jdk-11\bin\java.exe '-jar',
> > > 'c:\Users\piotr\.vscode\extensions\bowlerhatllc.vscode-nextgenas-1
> > > .6
> > > .0 \bin\asconfigc.jar', '--sdk',
> > > 'd:\Work\royale_ide\distribution',
> > > '--debug=true', '--project',
> > >
> >
> 'd:\Work\royale-sources\royale-asjs\examples\jewel\TourDeJewel\asconfig.json'"
> > > terminated with exit code: 1.
> > >
> > > What could be wrong with generation of that distribution? Carlos
> > > doesn't have such problems...
> > >
> > >
> > > pt., 19 lut 2021 o 12:48 Maria Jose Esteve <mj...@iest.com>
> > napisał(a):
> > >
> > >> Hello Chris,
> > >> so that I can debug my changes in the SDK I need to set the path
> > >> of the "as3mxml.sdk.editor" to the asjs directory of my fork, for
> > >> this reason the path of the " as3mxml.sdk.framework" points to
> > >> the directory of the maven distribution and the
> > >> "as3mxml.sdk.editor" to
> > code.
> > >>
> > >> ">> I'm not getting any errors from VSCode. But well ... if I hit
> > >> SHIFT+Enter it starts doing something where if failed prior to my
> > >> >> changes this morning and is no longer complaining, but it's
> > >> >> also not
> > >> doing much (I can't see it create a "bin" directory)"
> > >>
> > >> I don't quite understand this ... possibly because of my lack of
> > >> knowledge.
> > >>
> > >> I have not tried Carlos's project but this afternoon I will be
> > >> able to do it and I will be able to give more details.
> > >>
> > >> Thx.
> > >> Hiedra.
> > >>
> > >> -----Mensaje original-----
> > >> De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > >> viernes,
> > >> 19 de febrero de 2021 11:51
> > >> Para: dev@royale.apache.org
> > >> Asunto: AW: Align Maven IDE distribution with Ant IDE
> > >> distribution
> > >>
> > >> Hi Heidra,
> > >>
> > >> I just updated Carlos' example to have the same type of setting
> > >> (C:\\Temp\\RoyaleSDK is where I have my Maven build generate the SDK):
> > >>
> > >> setings.js:
> > >> {
> > >> "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > >> "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > >> }
> > >>
> > >> workspace-code-workspace
> > >> {
> > >> "folders": [
> > >> {
> > >> "path": ".."
> > >> }
> > >> ],
> > >> "settings": {
> > >> "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > >> "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > >> }
> > >> }
> > >>
> > >> I'm not getting any errors from VSCode. But well ... if I hit
> > >> SHIFT+Enter it starts doing something where if failed prior to my
> > >> changes this morning and is no longer complaining, but it's also
> > >> not doing much (I can't see it create a "bin" directory)
> > >>
> > >> Chris
> > >>
> > >>
> > >> -----Ursprüngliche Nachricht-----
> > >> Von: Maria Jose Esteve <mj...@iest.com>
> > >> Gesendet: Freitag, 19. Februar 2021 10:53
> > >> An: dev@royale.apache.org
> > >> Betreff: RE: Align Maven IDE distribution with Ant IDE
> > >> distribution
> > >>
> > >> If I don't compile with ANT, the mxml extension in vsCode IDE, it
> > >> doesn't recognize the valid asjs directory for "as3mxml.sdk.editor":
> > >> ...
> > >> "settings": {
> > >> "as3mxml.sdk.framework":
> > >> "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
> > >> "as3mxml.sdk.editor":
> > >> "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs" <--------
> > >> [download folder repo royale-asjs]
> > >> }
> > >> }
> > >>
> > >> The error is:
> > >> " as3mxml.sdk.editor in settings does not point to a valid SDK.
> > >> Requires..."
> > >>
> > >> Thx.
> > >> Hiedra.
> > >>
> > >> -----Mensaje original-----
> > >> De: Piotr Zarzycki <pi...@gmail.com> Enviado el:
> > >> viernes,
> > >> 19 de febrero de 2021 10:44
> > >> Para: Apache Royale Development <de...@royale.apache.org>
> > >> Asunto: Re: Align Maven IDE distribution with Ant IDE
> > >> distribution
> > >>
> > >> Hi Chris,
> > >>
> > >> I just tried your changes and I have same issue. I need to
> > >> understand what has change enough significantly that it causes
> > >> compilation fail in such way. It doesn't happen with SDK prepared
> > >> by
> ANT.
> > >>
> > >> Thanks,
> > >> Piotr
> > >>
> > >> pt., 19 lut 2021 o 10:33 Maria Jose Esteve <mj...@iest.com>
> > >> napisał(a):
> > >>
> > >> > @Chris you're right, sorry, I didn't download your last commit.
> > >> > I'm sorry.
> > >> > Hiedra.
> > >> >
> > >> > -----Mensaje original-----
> > >> > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > >> > viernes,
> > >> > 19 de febrero de 2021 10:17
> > >> > Para: dev@royale.apache.org
> > >> > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > >> > distribution
> > >> >
> > >> > I'll try to guess what you wanted to say here ...
> > >> >
> > >> > But I think these are exactly the changes I comitted a an hour
> > >> > ago,
> > >> right?
> > >> > At least in general I replaced all the references to names with
> > >> > versions to the changed ones.
> > >> >
> > >> >
> > >> > Chris
> > >> >
> > >> >
> > >> >
> > >> > -----Ursprüngliche Nachricht-----
> > >> > Von: Maria Jose Esteve <mj...@iest.com>
> > >> > Gesendet: Freitag, 19. Februar 2021 10:01
> > >> > An: dev@royale.apache.org
> > >> > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > >> > distribution
> > >> >
> > >> > Hi,
> > >> > Mi distribución hace referencia en el fichero
> > >> > "./frameworks/royale-config.xml" a las librerías:
> > >> >
> > >> > <js-external-library-path>
> > >> >
> > >> > <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-type
> > >> > de
> > >> > fs
> > >> > .sw
> > >> > c</path-element>
> > >> >
> > >> >
> > >> <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.
> > >> swc</path-element>
> > >> > </js-external-library-path>
> > >> >
> > >> > Las correctas son:
> > >> >
> > >> > <js-external-library-path>
> > >> >
> > >> > <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> > >> >
> > >> <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
> > >> > </js-external-library-path>
> > >> >
> > >> > Hiedra
> > >> >
> > >> > -----Mensaje original-----
> > >> > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > >> > viernes,
> > >> > 19 de febrero de 2021 9:39
> > >> > Para: dev@royale.apache.org
> > >> > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > >> > distribution
> > >> >
> > >> > Ok,
> > >> >
> > >> > so the config xml files in the distribution were still pointing
> > >> > to the old names. I updated them all to now refer to the names.
> > >> > I tried things in Carlos' demo project, and I'm no-longer
> > >> > getting the errors, however compilation seems to take for ever.
> > >> >
> > >> > Please try out the changes and tell me if there are any
> > >> > problems with
> > >> them.
> > >> >
> > >> > Chris
> > >> >
> > >> > -----Ursprüngliche Nachricht-----
> > >> > Von: Christofer Dutz <ch...@c-ware.de>
> > >> > Gesendet: Donnerstag, 18. Februar 2021 23:17
> > >> > An: dev@royale.apache.org
> > >> > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > >> > distribution
> > >> >
> > >> > Hi Carlos,
> > >> >
> > >> > I'll look into this tomorrow.
> > >> >
> > >> > Chris
> > >> >
> > >> > -----Ursprüngliche Nachricht-----
> > >> > Von: Carlos Rovira <ca...@apache.org>
> > >> > Gesendet: Donnerstag, 18. Februar 2021 17:49
> > >> > An: Apache Royale Development <de...@royale.apache.org>
> > >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > distribution
> > >> >
> > >> > Hi, I think I talked very quickly, sorry, there seems to be a
> problem.
> > >> >
> > >> > @Christofer Dutz <ch...@c-ware.de> you can download
> > >> > this
> > >> > project:
> > >> >
> > >> >
> > >> > https://github.com/apache/royale-asjs/files/6004363/ToggleButto
> > >> > nB
> > >> > ar
> > >> > Iss
> > >> > ue.zip
> > >> >
> > >> > Then using VSCode with AS3&MXML and adding the Maven distribution.
> > >> > Then hit CTRL+ENTER and you will get the following fail. Using
> > >> > ANT distribution is working fine.
> > >> > Can you take a look?
> > >> >
> > >> > Royale Compiler Shell
> > >> > (fcsh) mxmlc --debug=false +configname=royale
> > >> > --targets=JSRoyale --source-map=true
> > >> > --html-template=src/html/jewel-example-index-template.html
> > >> >
> > >> > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-T
> > >> > he
> > >> > me
> > >> > /sr
> > >> > c/main/resources/defaults.css
> > >> > --source-path+=src
> > >> > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJS.s
> > >> > --source-path+--library-path+wc
> > >> > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > >> > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.cs
> > >> > s -js-dynamic-access-unknown-members=true -- src/App.mxml
> > >> > fcsh: Assigned 1 as the compile target id The project 'App' has
> > >> > been successfully compiled and optimized.
> > >> > Compile status: 0
> > >> > Elapsed time: 14.211105399 seconds Feb 18, 2021 5:43:40 PM
> > >> > com.google.javascript.jscomp.LoggerErrorManager
> > >> > printSummary
> > >> > INFO: 0 error(s), 0 warning(s), 96.5% typed
> > >> > (fcsh) quit
> > >> > Compiler shell exited with code: 0 Royale Compiler Shell
> > >> > (fcsh) mxmlc --debug=false +configname=royale
> > >> > --targets=JSRoyale --source-map=true
> > >> > --html-template=src/html/jewel-example-index-template.html
> > >> >
> > >> > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-T
> > >> > he
> > >> > me
> > >> > /sr
> > >> > c/main/resources/defaults.css
> > >> > --source-path+=src
> > >> > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJS.s
> > >> > --source-path+--library-path+wc
> > >> > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > >> > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.cs
> > >> > s -js-dynamic-access-unknown-members=true -- src/App.mxml
> > >> > fcsh: Assigned 1 as the compile target id Compile status: 5
> > >> > Elapsed
> > >> time:
> > >> > 0.618407478 seconds
> > >> >
> > >> >
> > >>
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > >> > col: 0 Error: unable to open
> > >> >
> > >> >
> > >>
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
> > >> >
> > >> > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/framewo
> > >> > rk
> > >> > s/
> > >> > roy
> > >> > ale-config.xml
> > >> > (line: 81)
> > >> >
> > >> > </js-external-library-path>
> > >> >
> > >> >
> > >> >
> > >> >
> > >>
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > >> > col: 0 Error: unable to open
> > >> >
> > >> >
> > >>
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
> > >> >
> > >> > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/framewo
> > >> > rk
> > >> > s/
> > >> > roy
> > >> > ale-config.xml
> > >> > (line: 81)
> > >> >
> > >> > </js-external-library-path>
> > >> > (fcsh)
> > >> > Quick Compile failed. Errors in compiler output.
> > >> >
> > >> > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
> > >> > (<ca...@apache.org>)
> > >> > escribió:
> > >> >
> > >> > > Hi,
> > >> > >
> > >> > > I rebuilt all from scratch just now and finally the
> > >> > > distribution too and tried in VSCode and all seems to work
> > >> > > fine
> for me.
> > >> > >
> > >> > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> > >> > > christofer.dutz@c-ware.de>) escribió:
> > >> > >
> > >> > >> Hi Piotr,
> > >> > >>
> > >> > >> that class is located in lib\external\flex-tool-api.jar At
> > >> > >> least in my distribution it's there and it contains the class.
> > >> > >>
> > >> > >> How are you calling the build that's failing?
> > >> > >>
> > >> > >> Chris
> > >> > >>
> > >> > >> -----Ursprüngliche Nachricht-----
> > >> > >> Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> > >> > >> An: Apache Royale Development <de...@royale.apache.org>
> > >> > >> Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > >> distribution
> > >> > >>
> > >> > >> Chris,
> > >> > >>
> > >> > >> I just checked and I'm not able build project anymore using
> > >> > distribution:
> > >> > >>
> > >> > >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
> > >> > >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
> > >> > >> -Xms356m -Xmx3000m
> > >> > >> : Error: Could not find or load main class
> > >> > >> org.apache.royale.compiler.clients.MXMLJSC
> > >> > >> : Caused by: java.lang.NoClassDefFoundError:
> > >> > >> org/apache/flex/tools/FlexTool
> > >> > >>
> > >> > >> I'm done for today, so I will answer anything tomorrow.
> > >> > >>
> > >> > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
> > >> > >> <ch...@c-ware.de>
> > >> > >> napisał(a):
> > >> > >>
> > >> > >> > Ok ...
> > >> > >> >
> > >> > >> > so I just pushed another change. Now the distribution
> > >> > >> > should also contain an empty spark.css, just like the Ant one.
> > >> > >> >
> > >> > >> > Chris
> > >> > >> >
> > >> > >> >
> > >> > >> > -----Ursprüngliche Nachricht-----
> > >> > >> > Von: Christofer Dutz <ch...@c-ware.de>
> > >> > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> > >> > >> > An: dev@royale.apache.org
> > >> > >> > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > >> > >> > distribution
> > >> > >> >
> > >> > >> > Ok,
> > >> > >> >
> > >> > >> > so that should now be fixed. Leaves the "spark.css"
> > >> > >> > Having had a look, it seems as if the Ant build creates an
> > >> > >> > empty
> > >> > >> spark.css.
> > >> > >> >
> > >> > >> > Is this all we need? If yes, then I'll have that in ther
> > >> > >> > in no
> > >> time.
> > >> > >> >
> > >> > >> > Chris
> > >> > >> >
> > >> > >> > -----Ursprüngliche Nachricht-----
> > >> > >> > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> > >> > >> > An: Apache Royale Development <de...@royale.apache.org>
> > >> > >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > >> > distribution
> > >> > >> >
> > >> > >> > *(I assume that's in the "frameworks/js/libs" directory? *
> > >> > >> >
> > >> > >> > Yes this is the directory.
> > >> > >> >
> > >> > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> > >> > >> > <ch...@c-ware.de>
> > >> > >> > napisał(a):
> > >> > >> >
> > >> > >> > > Hi Piotr,
> > >> > >> > >
> > >> > >> > > Ok ... so Ant seems to be adding a "JS" to the end of
> > >> > >> > > every name (I assume that's in the "frameworks/js/libs"
> directory?
> > >> > >> > >
> > >> > >> > > Also I'll try to find out where the "spark.css" should
> > >> > >> > > come from
> > >> ...
> > >> > >> > > and where it should go to.
> > >> > >> > >
> > >> > >> > > Chris
> > >> > >> > >
> > >> > >> > >
> > >> > >> > > -----Ursprüngliche Nachricht-----
> > >> > >> > > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> > >> > >> > > An: Apache Royale Development <de...@royale.apache.org>
> > >> > >> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > >> > > distribution
> > >> > >> > >
> > >> > >> > > Chris,
> > >> > >> > >
> > >> > >> > > Looks better but here is the comparision what I have in
> > >> > >> > > Ant distribution vs Maven distribution in case of names.
> > >> > >> > > On the left Ant distribution, on the right Maven. It is
> folder:
> > >> > >> > > frameworks\js\libs\ [1]
> > >> > >> > >
> > >> > >> > > [1] https://ibb.co/W2DzcDb
> > >> > >> > >
> > >> > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> > >> > >> > > <ch...@c-ware.de>
> > >> > >> > > napisał(a):
> > >> > >> > >
> > >> > >> > > > And done ...
> > >> > >> > > >
> > >> > >> > > > Now all elements in the distribution only consist of
> > >> > >> > > > their name and file-ending ... all versions and
> > >> > >> > > > classifiers have been
> > >> > removed.
> > >> > >> > > > Please provide me with feedback on if this solves the
> issues.
> > >> > >> > > >
> > >> > >> > > > Chris
> > >> > >> > > >
> > >> > >> > > >
> > >> > >> > > > -----Ursprüngliche Nachricht-----
> > >> > >> > > > Von: Christofer Dutz <ch...@c-ware.de>
> > >> > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> > >> > >> > > > An: dev@royale.apache.org
> > >> > >> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > >> > >> > > > distribution
> > >> > >> > > >
> > >> > >> > > > I'll probably have a fix for that in a few minuntes ...
> > >> > >> > > >
> > >> > >> > > >
> > >> > >> > > > Chris
> > >> > >> > > >
> > >> > >> > > >
> > >> > >> > > > -----Ursprüngliche Nachricht-----
> > >> > >> > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> > >> > >> > > > An: Apache Royale Development <de...@royale.apache.org>
> > >> > >> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > >> > > > distribution
> > >> > >> > > >
> > >> > >> > > > Chris,
> > >> > >> > > >
> > >> > >> > > > No it's not about not picking up by IDE at all.
> > >> > >> > > > Moonshine and VSCode are able to build projects using
> > >> > >> > > > Maven distribution package! It is about project which
> > >> > >> > > > are mixed for example when user wanted to use Jewel
> > >> > >> > > > module + RemoteObject class from MXRoyale module. In
> > >> > >> > > > that case user need to point explicilty as a compiler
> > >> > >> > > > options in IDE that he wanted to have SWC included and
> > >> > >> > > > need to exclude css from that swc to
> > >> > >> > > avoid problems.
> > >> > >> > > >
> > >> > >> > > > It is happen like that:
> > >> > >> > > >
> > >> > >> > > >
> > >> > >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > >> > >> > > >
> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> > >> > >> > > > cs
> > >> > >> > > > s
> > >> > >> > > >
> > >> > >> > > > If I would like to use maven distribution user need to
> > >> > >> > > > know version for that compiler options. It is even
> > >> > >> > > > more tricky when your swc is called
> > >> > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> > >> > >> > > >
> > >> > >> > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defa
> > >> > >> > > > ul
> > >> > >> > > > ts
> > >> > >> > > > .cs
> > >> > >> > > > s
> > >> > >> > > >
> > >> > >> > > > Thanks,
> > >> > >> > > > Piotr
> > >> > >> > > >
> > >> > >> > > >
> > >> > >> > > >
> > >> > >> > > >
> > >> > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> > >> > >> > > > <ch...@c-ware.de>
> > >> > >> > > > napisał(a):
> > >> > >> > > >
> > >> > >> > > > > Hi Piotr,
> > >> > >> > > > >
> > >> > >> > > > > And is really the version-suffix causing it to not
> > >> > >> > > > > be picked up by the IDEs?
> > >> > >> > > > >
> > >> > >> > > > > Chris
> > >> > >> > > > >
> > >> > >> > > > > -----Ursprüngliche Nachricht-----
> > >> > >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> > >> > >> > > > > An: dev@royale.apache.org
> > >> > >> > > > > Betreff: Re: Align Maven IDE distribution with Ant
> > >> > >> > > > > IDE distribution
> > >> > >> > > > >
> > >> > >> > > > > Hi Chris,
> > >> > >> > > > >
> > >> > >> > > > > This is the only thing which seems to be a constant
> > >> > >> > > > > problem
> > >> > here.
> > >> > >> > > > > I personally and some users will be much more happy
> > >> > >> > > > > having that
> > >> > >> > change.
> > >> > >> > > > >
> > >> > >> > > > > Thanks,
> > >> > >> > > > > Piotr
> > >> > >> > > > >
> > >> > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> > >> > >> > > > > <ch...@c-ware.de>
> > >> > >> > > > > wrote:
> > >> > >> > > > >
> > >> > >> > > > > > Hi Piotr,
> > >> > >> > > > > >
> > >> > >> > > > > > I'd be happy to help with that.
> > >> > >> > > > > >
> > >> > >> > > > > > I did simply ask for a list of things that need to
> > >> > >> > > > > > be changed in order to get things working, but
> > >> > >> > > > > > never got said list, so I never knew what I could
> > >> > >> > > > > > do to make the Maven distribution match up to the
> > >> > >> > > > Ant built one.
> > >> > >> > > > > >
> > >> > >> > > > > > Chris
> > >> > >> > > > > >
> > >> > >> > > > > >
> > >> > >> > > > > > -----Ursprüngliche Nachricht-----
> > >> > >> > > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> > >> > >> > > > > > An: Apache Royale Development
> > >> > >> > > > > > <de...@royale.apache.org>
> > >> > >> > > > > > Betreff: Align Maven IDE distribution with Ant IDE
> > >> > >> > > > > > distribution
> > >> > >> > > > > >
> > >> > >> > > > > > Hi Guys,
> > >> > >> > > > > >
> > >> > >> > > > > > It's been couple of times when user complains that
> > >> > >> > > > > > he have problems with using Maven distribution vs
> > >> > >> > > > > > Ant distribution in IDE in a mixed project Jewel +
> > >> > >> > > > > > MX/Spark
> > >> etc.
> > >> > >> > > > > >
> > >> > >> > > > > > Can we have that resolve once for all and adjust
> > >> > >> > > > > > Maven distribution folder to produce proper names
> > >> > >> > > > > > of
> swcs ?
> > >> > >> > > > > >
> > >> > >> > > > > > Currently when I build Maven IDE distribution I have:
> > >> > >> > > > > >
> > >> > >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> > >> > >> > > > > >
> > >> > >> > > > > > When I build Ant IDE distribution I have:
> > >> > >> > > > > >
> > >> > >> > > > > > MXRoyale-js.swc
> > >> > >> > > > > >
> > >> > >> > > > > > Thanks,
> > >> > >> > > > > > --
> > >> > >> > > > > >
> > >> > >> > > > > > Piotr Zarzycki
> > >> > >> > > > > >
> > >> > >> > > > > --
> > >> > >> > > > >
> > >> > >> > > > > Piotr Zarzycki
> > >> > >> > > > >
> > >> > >> > > >
> > >> > >> > > >
> > >> > >> > > > --
> > >> > >> > > >
> > >> > >> > > > Piotr Zarzycki
> > >> > >> > > >
> > >> > >> > >
> > >> > >> > >
> > >> > >> > > --
> > >> > >> > >
> > >> > >> > > Piotr Zarzycki
> > >> > >> > >
> > >> > >> >
> > >> > >> >
> > >> > >> > --
> > >> > >> >
> > >> > >> > Piotr Zarzycki
> > >> > >> >
> > >> > >>
> > >> > >>
> > >> > >> --
> > >> > >>
> > >> > >> Piotr Zarzycki
> > >> > >>
> > >> > >
> > >> > >
> > >> > > --
> > >> > > Carlos Rovira
> > >> > > Apache Member & Apache Royale PMC *Apache Software
> > >> > > Foundation* http://about.me/carlosrovira
> > >> > >
> > >> > >
> > >> >
> > >> > --
> > >> > Carlos Rovira
> > >> > Apache Member & Apache Royale PMC *Apache Software Foundation*
> > >> > http://about.me/carlosrovira
> > >> >
> > >>
> > >>
> > >> --
> > >>
> > >> Piotr Zarzycki
> > >>
> > >
> > >
> > > --
> > >
> > > Piotr Zarzycki
> > >
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
>
>
> --
>
> Piotr Zarzycki
>
--
Piotr Zarzycki
Re: Align Maven IDE distribution with Ant IDE distribution
Posted by Piotr Zarzycki <pi...@gmail.com>.
Chris If I do this -> mvn package in distribution directory - what
compiler version will be used 0.9.8-SNAPSHOT or 0.9.9-SNAPSHOT ?
pt., 19 lut 2021 o 13:57 Christofer Dutz <ch...@c-ware.de>
napisał(a):
> Hi Piotr,
>
> if you want the build to create the zip, simply cange into the
> distribution directory and tun "mvn package" ... that should be enough.
> If you want the build to create an exploded installation in a given
> directory, simply set a environment variable named
> "distributionTargetFolder" to the path you want it created to and then run
> "mvn package" ... or "mvn clean package" if you want to make sure any
> previous distribution is cleaned up before deploying the new one there.
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Piotr Zarzycki <pi...@gmail.com>
> Gesendet: Freitag, 19. Februar 2021 13:52
> An: Apache Royale Development <de...@royale.apache.org>
> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>
> Thanks Maria, but it is Maven compilation of a whole sdk - I'm interested
> in command line for distribution only.
>
> pt., 19 lut 2021 o 13:49 Maria Jose Esteve <mj...@iest.com> napisał(a):
>
> > Piotr this is an excerpt from the MAVEN compilation of the last bat
> > that I have released:
> >
> > set SDK_FOLDER=D:\Apache\apache-royale-0.9.8-iest
> > set ROYALE_ASJS_HOME=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs
> >
> > set MAVEN_OPTS=-Xms256m -Xmx1536m
> > set JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8 -Xmx1024m cd
> > %ROYALE_ASJS_HOME% call mvn clean install -P with-distribution
> > -DdistributionTargetFolder="%SDK_FOLDER%"
> >
> > Hiedra
> >
> > -----Mensaje original-----
> > De: Piotr Zarzycki <pi...@gmail.com> Enviado el: viernes, 19
> > de febrero de 2021 13:21
> > Para: Apache Royale Development <de...@royale.apache.org>
> > Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
> >
> > How do you guys build distributions? What is the commandline in your
> case ?
> >
> > pt., 19 lut 2021 o 13:10 Piotr Zarzycki <pi...@gmail.com>
> > napisał(a):
> >
> > > I just tried generated distribution in VSCode to build TourDeJewel
> > > and I have the same results!
> > >
> > > > Executing task: c:\Program Files\Java\jdk-11\bin\java.exe -jar
> > > c:\Users\piotr\.vscode\extensions\bowlerhatllc.vscode-nextgenas-1.6.
> > > 0\ bin\asconfigc.jar --sdk d:\Work\royale_ide\distribution
> > > --debug=true --project
> > > d:\Work\royale-sources\royale-asjs\examples\jewel\TourDeJewel\asconf
> > > ig
> > > .json
> > > <
> > >
> > > Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m
> > > -Xmx3000m Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
> > > -Xms356m -Xmx3000m
> > > Error: Could not find or load main class
> > > org.apache.royale.compiler.clients.MXMLJSC
> > > Caused by: java.lang.NoClassDefFoundError:
> > > org/apache/flex/tools/FlexTool The terminal process "c:\Program
> > > Files\Java\jdk-11\bin\java.exe '-jar',
> > > 'c:\Users\piotr\.vscode\extensions\bowlerhatllc.vscode-nextgenas-1.6
> > > .0 \bin\asconfigc.jar', '--sdk', 'd:\Work\royale_ide\distribution',
> > > '--debug=true', '--project',
> > >
> >
> 'd:\Work\royale-sources\royale-asjs\examples\jewel\TourDeJewel\asconfig.json'"
> > > terminated with exit code: 1.
> > >
> > > What could be wrong with generation of that distribution? Carlos
> > > doesn't have such problems...
> > >
> > >
> > > pt., 19 lut 2021 o 12:48 Maria Jose Esteve <mj...@iest.com>
> > napisał(a):
> > >
> > >> Hello Chris,
> > >> so that I can debug my changes in the SDK I need to set the path of
> > >> the "as3mxml.sdk.editor" to the asjs directory of my fork, for this
> > >> reason the path of the " as3mxml.sdk.framework" points to the
> > >> directory of the maven distribution and the "as3mxml.sdk.editor" to
> > code.
> > >>
> > >> ">> I'm not getting any errors from VSCode. But well ... if I hit
> > >> SHIFT+Enter it starts doing something where if failed prior to my
> > >> >> changes this morning and is no longer complaining, but it's also
> > >> >> not
> > >> doing much (I can't see it create a "bin" directory)"
> > >>
> > >> I don't quite understand this ... possibly because of my lack of
> > >> knowledge.
> > >>
> > >> I have not tried Carlos's project but this afternoon I will be able
> > >> to do it and I will be able to give more details.
> > >>
> > >> Thx.
> > >> Hiedra.
> > >>
> > >> -----Mensaje original-----
> > >> De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > >> viernes,
> > >> 19 de febrero de 2021 11:51
> > >> Para: dev@royale.apache.org
> > >> Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> > >>
> > >> Hi Heidra,
> > >>
> > >> I just updated Carlos' example to have the same type of setting
> > >> (C:\\Temp\\RoyaleSDK is where I have my Maven build generate the SDK):
> > >>
> > >> setings.js:
> > >> {
> > >> "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > >> "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > >> }
> > >>
> > >> workspace-code-workspace
> > >> {
> > >> "folders": [
> > >> {
> > >> "path": ".."
> > >> }
> > >> ],
> > >> "settings": {
> > >> "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > >> "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > >> }
> > >> }
> > >>
> > >> I'm not getting any errors from VSCode. But well ... if I hit
> > >> SHIFT+Enter it starts doing something where if failed prior to my
> > >> changes this morning and is no longer complaining, but it's also
> > >> not doing much (I can't see it create a "bin" directory)
> > >>
> > >> Chris
> > >>
> > >>
> > >> -----Ursprüngliche Nachricht-----
> > >> Von: Maria Jose Esteve <mj...@iest.com>
> > >> Gesendet: Freitag, 19. Februar 2021 10:53
> > >> An: dev@royale.apache.org
> > >> Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
> > >>
> > >> If I don't compile with ANT, the mxml extension in vsCode IDE, it
> > >> doesn't recognize the valid asjs directory for "as3mxml.sdk.editor":
> > >> ...
> > >> "settings": {
> > >> "as3mxml.sdk.framework":
> > >> "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
> > >> "as3mxml.sdk.editor":
> > >> "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs" <--------
> > >> [download folder repo royale-asjs]
> > >> }
> > >> }
> > >>
> > >> The error is:
> > >> " as3mxml.sdk.editor in settings does not point to a valid SDK.
> > >> Requires..."
> > >>
> > >> Thx.
> > >> Hiedra.
> > >>
> > >> -----Mensaje original-----
> > >> De: Piotr Zarzycki <pi...@gmail.com> Enviado el: viernes,
> > >> 19 de febrero de 2021 10:44
> > >> Para: Apache Royale Development <de...@royale.apache.org>
> > >> Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
> > >>
> > >> Hi Chris,
> > >>
> > >> I just tried your changes and I have same issue. I need to
> > >> understand what has change enough significantly that it causes
> > >> compilation fail in such way. It doesn't happen with SDK prepared by
> ANT.
> > >>
> > >> Thanks,
> > >> Piotr
> > >>
> > >> pt., 19 lut 2021 o 10:33 Maria Jose Esteve <mj...@iest.com>
> > >> napisał(a):
> > >>
> > >> > @Chris you're right, sorry, I didn't download your last commit.
> > >> > I'm sorry.
> > >> > Hiedra.
> > >> >
> > >> > -----Mensaje original-----
> > >> > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > >> > viernes,
> > >> > 19 de febrero de 2021 10:17
> > >> > Para: dev@royale.apache.org
> > >> > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > >> > distribution
> > >> >
> > >> > I'll try to guess what you wanted to say here ...
> > >> >
> > >> > But I think these are exactly the changes I comitted a an hour
> > >> > ago,
> > >> right?
> > >> > At least in general I replaced all the references to names with
> > >> > versions to the changed ones.
> > >> >
> > >> >
> > >> > Chris
> > >> >
> > >> >
> > >> >
> > >> > -----Ursprüngliche Nachricht-----
> > >> > Von: Maria Jose Esteve <mj...@iest.com>
> > >> > Gesendet: Freitag, 19. Februar 2021 10:01
> > >> > An: dev@royale.apache.org
> > >> > Betreff: RE: Align Maven IDE distribution with Ant IDE
> > >> > distribution
> > >> >
> > >> > Hi,
> > >> > Mi distribución hace referencia en el fichero
> > >> > "./frameworks/royale-config.xml" a las librerías:
> > >> >
> > >> > <js-external-library-path>
> > >> >
> > >> > <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typede
> > >> > fs
> > >> > .sw
> > >> > c</path-element>
> > >> >
> > >> >
> > >> <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.
> > >> swc</path-element>
> > >> > </js-external-library-path>
> > >> >
> > >> > Las correctas son:
> > >> >
> > >> > <js-external-library-path>
> > >> >
> > >> > <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> > >> >
> > >> <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
> > >> > </js-external-library-path>
> > >> >
> > >> > Hiedra
> > >> >
> > >> > -----Mensaje original-----
> > >> > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> > >> > viernes,
> > >> > 19 de febrero de 2021 9:39
> > >> > Para: dev@royale.apache.org
> > >> > Asunto: AW: Align Maven IDE distribution with Ant IDE
> > >> > distribution
> > >> >
> > >> > Ok,
> > >> >
> > >> > so the config xml files in the distribution were still pointing
> > >> > to the old names. I updated them all to now refer to the names.
> > >> > I tried things in Carlos' demo project, and I'm no-longer getting
> > >> > the errors, however compilation seems to take for ever.
> > >> >
> > >> > Please try out the changes and tell me if there are any problems
> > >> > with
> > >> them.
> > >> >
> > >> > Chris
> > >> >
> > >> > -----Ursprüngliche Nachricht-----
> > >> > Von: Christofer Dutz <ch...@c-ware.de>
> > >> > Gesendet: Donnerstag, 18. Februar 2021 23:17
> > >> > An: dev@royale.apache.org
> > >> > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > >> > distribution
> > >> >
> > >> > Hi Carlos,
> > >> >
> > >> > I'll look into this tomorrow.
> > >> >
> > >> > Chris
> > >> >
> > >> > -----Ursprüngliche Nachricht-----
> > >> > Von: Carlos Rovira <ca...@apache.org>
> > >> > Gesendet: Donnerstag, 18. Februar 2021 17:49
> > >> > An: Apache Royale Development <de...@royale.apache.org>
> > >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > distribution
> > >> >
> > >> > Hi, I think I talked very quickly, sorry, there seems to be a
> problem.
> > >> >
> > >> > @Christofer Dutz <ch...@c-ware.de> you can download
> > >> > this
> > >> > project:
> > >> >
> > >> >
> > >> > https://github.com/apache/royale-asjs/files/6004363/ToggleButtonB
> > >> > ar
> > >> > Iss
> > >> > ue.zip
> > >> >
> > >> > Then using VSCode with AS3&MXML and adding the Maven distribution.
> > >> > Then hit CTRL+ENTER and you will get the following fail. Using
> > >> > ANT distribution is working fine.
> > >> > Can you take a look?
> > >> >
> > >> > Royale Compiler Shell
> > >> > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> > >> > --source-map=true
> > >> > --html-template=src/html/jewel-example-index-template.html
> > >> >
> > >> > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-The
> > >> > me
> > >> > /sr
> > >> > c/main/resources/defaults.css
> > >> > --source-path+=src
> > >> > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > >> > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > >> > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> > >> > -js-dynamic-access-unknown-members=true -- src/App.mxml
> > >> > fcsh: Assigned 1 as the compile target id The project 'App' has
> > >> > been successfully compiled and optimized.
> > >> > Compile status: 0
> > >> > Elapsed time: 14.211105399 seconds Feb 18, 2021 5:43:40 PM
> > >> > com.google.javascript.jscomp.LoggerErrorManager
> > >> > printSummary
> > >> > INFO: 0 error(s), 0 warning(s), 96.5% typed
> > >> > (fcsh) quit
> > >> > Compiler shell exited with code: 0 Royale Compiler Shell
> > >> > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> > >> > --source-map=true
> > >> > --html-template=src/html/jewel-example-index-template.html
> > >> >
> > >> > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-The
> > >> > me
> > >> > /sr
> > >> > c/main/resources/defaults.css
> > >> > --source-path+=src
> > >> > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > >> > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > >> > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> > >> > -js-dynamic-access-unknown-members=true -- src/App.mxml
> > >> > fcsh: Assigned 1 as the compile target id Compile status: 5
> > >> > Elapsed
> > >> time:
> > >> > 0.618407478 seconds
> > >> >
> > >> >
> > >>
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > >> > col: 0 Error: unable to open
> > >> >
> > >> >
> > >>
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
> > >> >
> > >> > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/framework
> > >> > s/
> > >> > roy
> > >> > ale-config.xml
> > >> > (line: 81)
> > >> >
> > >> > </js-external-library-path>
> > >> >
> > >> >
> > >> >
> > >> >
> > >>
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > >> > col: 0 Error: unable to open
> > >> >
> > >> >
> > >>
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
> > >> >
> > >> > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/framework
> > >> > s/
> > >> > roy
> > >> > ale-config.xml
> > >> > (line: 81)
> > >> >
> > >> > </js-external-library-path>
> > >> > (fcsh)
> > >> > Quick Compile failed. Errors in compiler output.
> > >> >
> > >> > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
> > >> > (<ca...@apache.org>)
> > >> > escribió:
> > >> >
> > >> > > Hi,
> > >> > >
> > >> > > I rebuilt all from scratch just now and finally the
> > >> > > distribution too and tried in VSCode and all seems to work fine
> for me.
> > >> > >
> > >> > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> > >> > > christofer.dutz@c-ware.de>) escribió:
> > >> > >
> > >> > >> Hi Piotr,
> > >> > >>
> > >> > >> that class is located in lib\external\flex-tool-api.jar At
> > >> > >> least in my distribution it's there and it contains the class.
> > >> > >>
> > >> > >> How are you calling the build that's failing?
> > >> > >>
> > >> > >> Chris
> > >> > >>
> > >> > >> -----Ursprüngliche Nachricht-----
> > >> > >> Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> > >> > >> An: Apache Royale Development <de...@royale.apache.org>
> > >> > >> Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > >> distribution
> > >> > >>
> > >> > >> Chris,
> > >> > >>
> > >> > >> I just checked and I'm not able build project anymore using
> > >> > distribution:
> > >> > >>
> > >> > >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
> > >> > >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m
> > >> > >> -Xmx3000m
> > >> > >> : Error: Could not find or load main class
> > >> > >> org.apache.royale.compiler.clients.MXMLJSC
> > >> > >> : Caused by: java.lang.NoClassDefFoundError:
> > >> > >> org/apache/flex/tools/FlexTool
> > >> > >>
> > >> > >> I'm done for today, so I will answer anything tomorrow.
> > >> > >>
> > >> > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
> > >> > >> <ch...@c-ware.de>
> > >> > >> napisał(a):
> > >> > >>
> > >> > >> > Ok ...
> > >> > >> >
> > >> > >> > so I just pushed another change. Now the distribution should
> > >> > >> > also contain an empty spark.css, just like the Ant one.
> > >> > >> >
> > >> > >> > Chris
> > >> > >> >
> > >> > >> >
> > >> > >> > -----Ursprüngliche Nachricht-----
> > >> > >> > Von: Christofer Dutz <ch...@c-ware.de>
> > >> > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> > >> > >> > An: dev@royale.apache.org
> > >> > >> > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > >> > >> > distribution
> > >> > >> >
> > >> > >> > Ok,
> > >> > >> >
> > >> > >> > so that should now be fixed. Leaves the "spark.css"
> > >> > >> > Having had a look, it seems as if the Ant build creates an
> > >> > >> > empty
> > >> > >> spark.css.
> > >> > >> >
> > >> > >> > Is this all we need? If yes, then I'll have that in ther in
> > >> > >> > no
> > >> time.
> > >> > >> >
> > >> > >> > Chris
> > >> > >> >
> > >> > >> > -----Ursprüngliche Nachricht-----
> > >> > >> > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> > >> > >> > An: Apache Royale Development <de...@royale.apache.org>
> > >> > >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > >> > distribution
> > >> > >> >
> > >> > >> > *(I assume that's in the "frameworks/js/libs" directory? *
> > >> > >> >
> > >> > >> > Yes this is the directory.
> > >> > >> >
> > >> > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> > >> > >> > <ch...@c-ware.de>
> > >> > >> > napisał(a):
> > >> > >> >
> > >> > >> > > Hi Piotr,
> > >> > >> > >
> > >> > >> > > Ok ... so Ant seems to be adding a "JS" to the end of
> > >> > >> > > every name (I assume that's in the "frameworks/js/libs"
> directory?
> > >> > >> > >
> > >> > >> > > Also I'll try to find out where the "spark.css" should
> > >> > >> > > come from
> > >> ...
> > >> > >> > > and where it should go to.
> > >> > >> > >
> > >> > >> > > Chris
> > >> > >> > >
> > >> > >> > >
> > >> > >> > > -----Ursprüngliche Nachricht-----
> > >> > >> > > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> > >> > >> > > An: Apache Royale Development <de...@royale.apache.org>
> > >> > >> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > >> > > distribution
> > >> > >> > >
> > >> > >> > > Chris,
> > >> > >> > >
> > >> > >> > > Looks better but here is the comparision what I have in
> > >> > >> > > Ant distribution vs Maven distribution in case of names.
> > >> > >> > > On the left Ant distribution, on the right Maven. It is
> folder:
> > >> > >> > > frameworks\js\libs\ [1]
> > >> > >> > >
> > >> > >> > > [1] https://ibb.co/W2DzcDb
> > >> > >> > >
> > >> > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> > >> > >> > > <ch...@c-ware.de>
> > >> > >> > > napisał(a):
> > >> > >> > >
> > >> > >> > > > And done ...
> > >> > >> > > >
> > >> > >> > > > Now all elements in the distribution only consist of
> > >> > >> > > > their name and file-ending ... all versions and
> > >> > >> > > > classifiers have been
> > >> > removed.
> > >> > >> > > > Please provide me with feedback on if this solves the
> issues.
> > >> > >> > > >
> > >> > >> > > > Chris
> > >> > >> > > >
> > >> > >> > > >
> > >> > >> > > > -----Ursprüngliche Nachricht-----
> > >> > >> > > > Von: Christofer Dutz <ch...@c-ware.de>
> > >> > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> > >> > >> > > > An: dev@royale.apache.org
> > >> > >> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > >> > >> > > > distribution
> > >> > >> > > >
> > >> > >> > > > I'll probably have a fix for that in a few minuntes ...
> > >> > >> > > >
> > >> > >> > > >
> > >> > >> > > > Chris
> > >> > >> > > >
> > >> > >> > > >
> > >> > >> > > > -----Ursprüngliche Nachricht-----
> > >> > >> > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> > >> > >> > > > An: Apache Royale Development <de...@royale.apache.org>
> > >> > >> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > >> > > > distribution
> > >> > >> > > >
> > >> > >> > > > Chris,
> > >> > >> > > >
> > >> > >> > > > No it's not about not picking up by IDE at all.
> > >> > >> > > > Moonshine and VSCode are able to build projects using
> > >> > >> > > > Maven distribution package! It is about project which
> > >> > >> > > > are mixed for example when user wanted to use Jewel
> > >> > >> > > > module + RemoteObject class from MXRoyale module. In
> > >> > >> > > > that case user need to point explicilty as a compiler
> > >> > >> > > > options in IDE that he wanted to have SWC included and
> > >> > >> > > > need to exclude css from that swc to
> > >> > >> > > avoid problems.
> > >> > >> > > >
> > >> > >> > > > It is happen like that:
> > >> > >> > > >
> > >> > >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > >> > >> > > >
> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> > >> > >> > > > cs
> > >> > >> > > > s
> > >> > >> > > >
> > >> > >> > > > If I would like to use maven distribution user need to
> > >> > >> > > > know version for that compiler options. It is even more
> > >> > >> > > > tricky when your swc is called
> > >> > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> > >> > >> > > >
> > >> > >> > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaul
> > >> > >> > > > ts
> > >> > >> > > > .cs
> > >> > >> > > > s
> > >> > >> > > >
> > >> > >> > > > Thanks,
> > >> > >> > > > Piotr
> > >> > >> > > >
> > >> > >> > > >
> > >> > >> > > >
> > >> > >> > > >
> > >> > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> > >> > >> > > > <ch...@c-ware.de>
> > >> > >> > > > napisał(a):
> > >> > >> > > >
> > >> > >> > > > > Hi Piotr,
> > >> > >> > > > >
> > >> > >> > > > > And is really the version-suffix causing it to not be
> > >> > >> > > > > picked up by the IDEs?
> > >> > >> > > > >
> > >> > >> > > > > Chris
> > >> > >> > > > >
> > >> > >> > > > > -----Ursprüngliche Nachricht-----
> > >> > >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> > >> > >> > > > > An: dev@royale.apache.org
> > >> > >> > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > >> > > > > distribution
> > >> > >> > > > >
> > >> > >> > > > > Hi Chris,
> > >> > >> > > > >
> > >> > >> > > > > This is the only thing which seems to be a constant
> > >> > >> > > > > problem
> > >> > here.
> > >> > >> > > > > I personally and some users will be much more happy
> > >> > >> > > > > having that
> > >> > >> > change.
> > >> > >> > > > >
> > >> > >> > > > > Thanks,
> > >> > >> > > > > Piotr
> > >> > >> > > > >
> > >> > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> > >> > >> > > > > <ch...@c-ware.de>
> > >> > >> > > > > wrote:
> > >> > >> > > > >
> > >> > >> > > > > > Hi Piotr,
> > >> > >> > > > > >
> > >> > >> > > > > > I'd be happy to help with that.
> > >> > >> > > > > >
> > >> > >> > > > > > I did simply ask for a list of things that need to
> > >> > >> > > > > > be changed in order to get things working, but never
> > >> > >> > > > > > got said list, so I never knew what I could do to
> > >> > >> > > > > > make the Maven distribution match up to the
> > >> > >> > > > Ant built one.
> > >> > >> > > > > >
> > >> > >> > > > > > Chris
> > >> > >> > > > > >
> > >> > >> > > > > >
> > >> > >> > > > > > -----Ursprüngliche Nachricht-----
> > >> > >> > > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> > >> > >> > > > > > An: Apache Royale Development
> > >> > >> > > > > > <de...@royale.apache.org>
> > >> > >> > > > > > Betreff: Align Maven IDE distribution with Ant IDE
> > >> > >> > > > > > distribution
> > >> > >> > > > > >
> > >> > >> > > > > > Hi Guys,
> > >> > >> > > > > >
> > >> > >> > > > > > It's been couple of times when user complains that
> > >> > >> > > > > > he have problems with using Maven distribution vs
> > >> > >> > > > > > Ant distribution in IDE in a mixed project Jewel +
> > >> > >> > > > > > MX/Spark
> > >> etc.
> > >> > >> > > > > >
> > >> > >> > > > > > Can we have that resolve once for all and adjust
> > >> > >> > > > > > Maven distribution folder to produce proper names of
> swcs ?
> > >> > >> > > > > >
> > >> > >> > > > > > Currently when I build Maven IDE distribution I have:
> > >> > >> > > > > >
> > >> > >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> > >> > >> > > > > >
> > >> > >> > > > > > When I build Ant IDE distribution I have:
> > >> > >> > > > > >
> > >> > >> > > > > > MXRoyale-js.swc
> > >> > >> > > > > >
> > >> > >> > > > > > Thanks,
> > >> > >> > > > > > --
> > >> > >> > > > > >
> > >> > >> > > > > > Piotr Zarzycki
> > >> > >> > > > > >
> > >> > >> > > > > --
> > >> > >> > > > >
> > >> > >> > > > > Piotr Zarzycki
> > >> > >> > > > >
> > >> > >> > > >
> > >> > >> > > >
> > >> > >> > > > --
> > >> > >> > > >
> > >> > >> > > > Piotr Zarzycki
> > >> > >> > > >
> > >> > >> > >
> > >> > >> > >
> > >> > >> > > --
> > >> > >> > >
> > >> > >> > > Piotr Zarzycki
> > >> > >> > >
> > >> > >> >
> > >> > >> >
> > >> > >> > --
> > >> > >> >
> > >> > >> > Piotr Zarzycki
> > >> > >> >
> > >> > >>
> > >> > >>
> > >> > >> --
> > >> > >>
> > >> > >> Piotr Zarzycki
> > >> > >>
> > >> > >
> > >> > >
> > >> > > --
> > >> > > Carlos Rovira
> > >> > > Apache Member & Apache Royale PMC *Apache Software Foundation*
> > >> > > http://about.me/carlosrovira
> > >> > >
> > >> > >
> > >> >
> > >> > --
> > >> > Carlos Rovira
> > >> > Apache Member & Apache Royale PMC *Apache Software Foundation*
> > >> > http://about.me/carlosrovira
> > >> >
> > >>
> > >>
> > >> --
> > >>
> > >> Piotr Zarzycki
> > >>
> > >
> > >
> > > --
> > >
> > > Piotr Zarzycki
> > >
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
>
>
> --
>
> Piotr Zarzycki
>
--
Piotr Zarzycki
AW: Align Maven IDE distribution with Ant IDE distribution
Posted by Christofer Dutz <ch...@c-ware.de>.
Hi Piotr,
if you want the build to create the zip, simply cange into the distribution directory and tun "mvn package" ... that should be enough.
If you want the build to create an exploded installation in a given directory, simply set a environment variable named "distributionTargetFolder" to the path you want it created to and then run "mvn package" ... or "mvn clean package" if you want to make sure any previous distribution is cleaned up before deploying the new one there.
Chris
-----Ursprüngliche Nachricht-----
Von: Piotr Zarzycki <pi...@gmail.com>
Gesendet: Freitag, 19. Februar 2021 13:52
An: Apache Royale Development <de...@royale.apache.org>
Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
Thanks Maria, but it is Maven compilation of a whole sdk - I'm interested in command line for distribution only.
pt., 19 lut 2021 o 13:49 Maria Jose Esteve <mj...@iest.com> napisał(a):
> Piotr this is an excerpt from the MAVEN compilation of the last bat
> that I have released:
>
> set SDK_FOLDER=D:\Apache\apache-royale-0.9.8-iest
> set ROYALE_ASJS_HOME=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs
>
> set MAVEN_OPTS=-Xms256m -Xmx1536m
> set JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8 -Xmx1024m cd
> %ROYALE_ASJS_HOME% call mvn clean install -P with-distribution
> -DdistributionTargetFolder="%SDK_FOLDER%"
>
> Hiedra
>
> -----Mensaje original-----
> De: Piotr Zarzycki <pi...@gmail.com> Enviado el: viernes, 19
> de febrero de 2021 13:21
> Para: Apache Royale Development <de...@royale.apache.org>
> Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
>
> How do you guys build distributions? What is the commandline in your case ?
>
> pt., 19 lut 2021 o 13:10 Piotr Zarzycki <pi...@gmail.com>
> napisał(a):
>
> > I just tried generated distribution in VSCode to build TourDeJewel
> > and I have the same results!
> >
> > > Executing task: c:\Program Files\Java\jdk-11\bin\java.exe -jar
> > c:\Users\piotr\.vscode\extensions\bowlerhatllc.vscode-nextgenas-1.6.
> > 0\ bin\asconfigc.jar --sdk d:\Work\royale_ide\distribution
> > --debug=true --project
> > d:\Work\royale-sources\royale-asjs\examples\jewel\TourDeJewel\asconf
> > ig
> > .json
> > <
> >
> > Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m
> > -Xmx3000m Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
> > -Xms356m -Xmx3000m
> > Error: Could not find or load main class
> > org.apache.royale.compiler.clients.MXMLJSC
> > Caused by: java.lang.NoClassDefFoundError:
> > org/apache/flex/tools/FlexTool The terminal process "c:\Program
> > Files\Java\jdk-11\bin\java.exe '-jar',
> > 'c:\Users\piotr\.vscode\extensions\bowlerhatllc.vscode-nextgenas-1.6
> > .0 \bin\asconfigc.jar', '--sdk', 'd:\Work\royale_ide\distribution',
> > '--debug=true', '--project',
> >
> 'd:\Work\royale-sources\royale-asjs\examples\jewel\TourDeJewel\asconfig.json'"
> > terminated with exit code: 1.
> >
> > What could be wrong with generation of that distribution? Carlos
> > doesn't have such problems...
> >
> >
> > pt., 19 lut 2021 o 12:48 Maria Jose Esteve <mj...@iest.com>
> napisał(a):
> >
> >> Hello Chris,
> >> so that I can debug my changes in the SDK I need to set the path of
> >> the "as3mxml.sdk.editor" to the asjs directory of my fork, for this
> >> reason the path of the " as3mxml.sdk.framework" points to the
> >> directory of the maven distribution and the "as3mxml.sdk.editor" to
> code.
> >>
> >> ">> I'm not getting any errors from VSCode. But well ... if I hit
> >> SHIFT+Enter it starts doing something where if failed prior to my
> >> >> changes this morning and is no longer complaining, but it's also
> >> >> not
> >> doing much (I can't see it create a "bin" directory)"
> >>
> >> I don't quite understand this ... possibly because of my lack of
> >> knowledge.
> >>
> >> I have not tried Carlos's project but this afternoon I will be able
> >> to do it and I will be able to give more details.
> >>
> >> Thx.
> >> Hiedra.
> >>
> >> -----Mensaje original-----
> >> De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> >> viernes,
> >> 19 de febrero de 2021 11:51
> >> Para: dev@royale.apache.org
> >> Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> >>
> >> Hi Heidra,
> >>
> >> I just updated Carlos' example to have the same type of setting
> >> (C:\\Temp\\RoyaleSDK is where I have my Maven build generate the SDK):
> >>
> >> setings.js:
> >> {
> >> "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> >> "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> >> }
> >>
> >> workspace-code-workspace
> >> {
> >> "folders": [
> >> {
> >> "path": ".."
> >> }
> >> ],
> >> "settings": {
> >> "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> >> "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> >> }
> >> }
> >>
> >> I'm not getting any errors from VSCode. But well ... if I hit
> >> SHIFT+Enter it starts doing something where if failed prior to my
> >> changes this morning and is no longer complaining, but it's also
> >> not doing much (I can't see it create a "bin" directory)
> >>
> >> Chris
> >>
> >>
> >> -----Ursprüngliche Nachricht-----
> >> Von: Maria Jose Esteve <mj...@iest.com>
> >> Gesendet: Freitag, 19. Februar 2021 10:53
> >> An: dev@royale.apache.org
> >> Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
> >>
> >> If I don't compile with ANT, the mxml extension in vsCode IDE, it
> >> doesn't recognize the valid asjs directory for "as3mxml.sdk.editor":
> >> ...
> >> "settings": {
> >> "as3mxml.sdk.framework":
> >> "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
> >> "as3mxml.sdk.editor":
> >> "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs" <--------
> >> [download folder repo royale-asjs]
> >> }
> >> }
> >>
> >> The error is:
> >> " as3mxml.sdk.editor in settings does not point to a valid SDK.
> >> Requires..."
> >>
> >> Thx.
> >> Hiedra.
> >>
> >> -----Mensaje original-----
> >> De: Piotr Zarzycki <pi...@gmail.com> Enviado el: viernes,
> >> 19 de febrero de 2021 10:44
> >> Para: Apache Royale Development <de...@royale.apache.org>
> >> Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
> >>
> >> Hi Chris,
> >>
> >> I just tried your changes and I have same issue. I need to
> >> understand what has change enough significantly that it causes
> >> compilation fail in such way. It doesn't happen with SDK prepared by ANT.
> >>
> >> Thanks,
> >> Piotr
> >>
> >> pt., 19 lut 2021 o 10:33 Maria Jose Esteve <mj...@iest.com>
> >> napisał(a):
> >>
> >> > @Chris you're right, sorry, I didn't download your last commit.
> >> > I'm sorry.
> >> > Hiedra.
> >> >
> >> > -----Mensaje original-----
> >> > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> >> > viernes,
> >> > 19 de febrero de 2021 10:17
> >> > Para: dev@royale.apache.org
> >> > Asunto: AW: Align Maven IDE distribution with Ant IDE
> >> > distribution
> >> >
> >> > I'll try to guess what you wanted to say here ...
> >> >
> >> > But I think these are exactly the changes I comitted a an hour
> >> > ago,
> >> right?
> >> > At least in general I replaced all the references to names with
> >> > versions to the changed ones.
> >> >
> >> >
> >> > Chris
> >> >
> >> >
> >> >
> >> > -----Ursprüngliche Nachricht-----
> >> > Von: Maria Jose Esteve <mj...@iest.com>
> >> > Gesendet: Freitag, 19. Februar 2021 10:01
> >> > An: dev@royale.apache.org
> >> > Betreff: RE: Align Maven IDE distribution with Ant IDE
> >> > distribution
> >> >
> >> > Hi,
> >> > Mi distribución hace referencia en el fichero
> >> > "./frameworks/royale-config.xml" a las librerías:
> >> >
> >> > <js-external-library-path>
> >> >
> >> > <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typede
> >> > fs
> >> > .sw
> >> > c</path-element>
> >> >
> >> >
> >> <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.
> >> swc</path-element>
> >> > </js-external-library-path>
> >> >
> >> > Las correctas son:
> >> >
> >> > <js-external-library-path>
> >> >
> >> > <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> >> >
> >> <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
> >> > </js-external-library-path>
> >> >
> >> > Hiedra
> >> >
> >> > -----Mensaje original-----
> >> > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> >> > viernes,
> >> > 19 de febrero de 2021 9:39
> >> > Para: dev@royale.apache.org
> >> > Asunto: AW: Align Maven IDE distribution with Ant IDE
> >> > distribution
> >> >
> >> > Ok,
> >> >
> >> > so the config xml files in the distribution were still pointing
> >> > to the old names. I updated them all to now refer to the names.
> >> > I tried things in Carlos' demo project, and I'm no-longer getting
> >> > the errors, however compilation seems to take for ever.
> >> >
> >> > Please try out the changes and tell me if there are any problems
> >> > with
> >> them.
> >> >
> >> > Chris
> >> >
> >> > -----Ursprüngliche Nachricht-----
> >> > Von: Christofer Dutz <ch...@c-ware.de>
> >> > Gesendet: Donnerstag, 18. Februar 2021 23:17
> >> > An: dev@royale.apache.org
> >> > Betreff: AW: Align Maven IDE distribution with Ant IDE
> >> > distribution
> >> >
> >> > Hi Carlos,
> >> >
> >> > I'll look into this tomorrow.
> >> >
> >> > Chris
> >> >
> >> > -----Ursprüngliche Nachricht-----
> >> > Von: Carlos Rovira <ca...@apache.org>
> >> > Gesendet: Donnerstag, 18. Februar 2021 17:49
> >> > An: Apache Royale Development <de...@royale.apache.org>
> >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > distribution
> >> >
> >> > Hi, I think I talked very quickly, sorry, there seems to be a problem.
> >> >
> >> > @Christofer Dutz <ch...@c-ware.de> you can download
> >> > this
> >> > project:
> >> >
> >> >
> >> > https://github.com/apache/royale-asjs/files/6004363/ToggleButtonB
> >> > ar
> >> > Iss
> >> > ue.zip
> >> >
> >> > Then using VSCode with AS3&MXML and adding the Maven distribution.
> >> > Then hit CTRL+ENTER and you will get the following fail. Using
> >> > ANT distribution is working fine.
> >> > Can you take a look?
> >> >
> >> > Royale Compiler Shell
> >> > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> >> > --source-map=true
> >> > --html-template=src/html/jewel-example-index-template.html
> >> >
> >> > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-The
> >> > me
> >> > /sr
> >> > c/main/resources/defaults.css
> >> > --source-path+=src
> >> > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> >> > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> >> > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> >> > -js-dynamic-access-unknown-members=true -- src/App.mxml
> >> > fcsh: Assigned 1 as the compile target id The project 'App' has
> >> > been successfully compiled and optimized.
> >> > Compile status: 0
> >> > Elapsed time: 14.211105399 seconds Feb 18, 2021 5:43:40 PM
> >> > com.google.javascript.jscomp.LoggerErrorManager
> >> > printSummary
> >> > INFO: 0 error(s), 0 warning(s), 96.5% typed
> >> > (fcsh) quit
> >> > Compiler shell exited with code: 0 Royale Compiler Shell
> >> > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> >> > --source-map=true
> >> > --html-template=src/html/jewel-example-index-template.html
> >> >
> >> > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-The
> >> > me
> >> > /sr
> >> > c/main/resources/defaults.css
> >> > --source-path+=src
> >> > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> >> > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> >> > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> >> > -js-dynamic-access-unknown-members=true -- src/App.mxml
> >> > fcsh: Assigned 1 as the compile target id Compile status: 5
> >> > Elapsed
> >> time:
> >> > 0.618407478 seconds
> >> >
> >> >
> >>
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> >> > col: 0 Error: unable to open
> >> >
> >> >
> >>
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
> >> >
> >> > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/framework
> >> > s/
> >> > roy
> >> > ale-config.xml
> >> > (line: 81)
> >> >
> >> > </js-external-library-path>
> >> >
> >> >
> >> >
> >> >
> >>
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> >> > col: 0 Error: unable to open
> >> >
> >> >
> >>
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
> >> >
> >> > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/framework
> >> > s/
> >> > roy
> >> > ale-config.xml
> >> > (line: 81)
> >> >
> >> > </js-external-library-path>
> >> > (fcsh)
> >> > Quick Compile failed. Errors in compiler output.
> >> >
> >> > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
> >> > (<ca...@apache.org>)
> >> > escribió:
> >> >
> >> > > Hi,
> >> > >
> >> > > I rebuilt all from scratch just now and finally the
> >> > > distribution too and tried in VSCode and all seems to work fine for me.
> >> > >
> >> > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> >> > > christofer.dutz@c-ware.de>) escribió:
> >> > >
> >> > >> Hi Piotr,
> >> > >>
> >> > >> that class is located in lib\external\flex-tool-api.jar At
> >> > >> least in my distribution it's there and it contains the class.
> >> > >>
> >> > >> How are you calling the build that's failing?
> >> > >>
> >> > >> Chris
> >> > >>
> >> > >> -----Ursprüngliche Nachricht-----
> >> > >> Von: Piotr Zarzycki <pi...@gmail.com>
> >> > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> >> > >> An: Apache Royale Development <de...@royale.apache.org>
> >> > >> Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > >> distribution
> >> > >>
> >> > >> Chris,
> >> > >>
> >> > >> I just checked and I'm not able build project anymore using
> >> > distribution:
> >> > >>
> >> > >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
> >> > >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m
> >> > >> -Xmx3000m
> >> > >> : Error: Could not find or load main class
> >> > >> org.apache.royale.compiler.clients.MXMLJSC
> >> > >> : Caused by: java.lang.NoClassDefFoundError:
> >> > >> org/apache/flex/tools/FlexTool
> >> > >>
> >> > >> I'm done for today, so I will answer anything tomorrow.
> >> > >>
> >> > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
> >> > >> <ch...@c-ware.de>
> >> > >> napisał(a):
> >> > >>
> >> > >> > Ok ...
> >> > >> >
> >> > >> > so I just pushed another change. Now the distribution should
> >> > >> > also contain an empty spark.css, just like the Ant one.
> >> > >> >
> >> > >> > Chris
> >> > >> >
> >> > >> >
> >> > >> > -----Ursprüngliche Nachricht-----
> >> > >> > Von: Christofer Dutz <ch...@c-ware.de>
> >> > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> >> > >> > An: dev@royale.apache.org
> >> > >> > Betreff: AW: Align Maven IDE distribution with Ant IDE
> >> > >> > distribution
> >> > >> >
> >> > >> > Ok,
> >> > >> >
> >> > >> > so that should now be fixed. Leaves the "spark.css"
> >> > >> > Having had a look, it seems as if the Ant build creates an
> >> > >> > empty
> >> > >> spark.css.
> >> > >> >
> >> > >> > Is this all we need? If yes, then I'll have that in ther in
> >> > >> > no
> >> time.
> >> > >> >
> >> > >> > Chris
> >> > >> >
> >> > >> > -----Ursprüngliche Nachricht-----
> >> > >> > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> >> > >> > An: Apache Royale Development <de...@royale.apache.org>
> >> > >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > >> > distribution
> >> > >> >
> >> > >> > *(I assume that's in the "frameworks/js/libs" directory? *
> >> > >> >
> >> > >> > Yes this is the directory.
> >> > >> >
> >> > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> >> > >> > <ch...@c-ware.de>
> >> > >> > napisał(a):
> >> > >> >
> >> > >> > > Hi Piotr,
> >> > >> > >
> >> > >> > > Ok ... so Ant seems to be adding a "JS" to the end of
> >> > >> > > every name (I assume that's in the "frameworks/js/libs" directory?
> >> > >> > >
> >> > >> > > Also I'll try to find out where the "spark.css" should
> >> > >> > > come from
> >> ...
> >> > >> > > and where it should go to.
> >> > >> > >
> >> > >> > > Chris
> >> > >> > >
> >> > >> > >
> >> > >> > > -----Ursprüngliche Nachricht-----
> >> > >> > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> >> > >> > > An: Apache Royale Development <de...@royale.apache.org>
> >> > >> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > >> > > distribution
> >> > >> > >
> >> > >> > > Chris,
> >> > >> > >
> >> > >> > > Looks better but here is the comparision what I have in
> >> > >> > > Ant distribution vs Maven distribution in case of names.
> >> > >> > > On the left Ant distribution, on the right Maven. It is folder:
> >> > >> > > frameworks\js\libs\ [1]
> >> > >> > >
> >> > >> > > [1] https://ibb.co/W2DzcDb
> >> > >> > >
> >> > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> >> > >> > > <ch...@c-ware.de>
> >> > >> > > napisał(a):
> >> > >> > >
> >> > >> > > > And done ...
> >> > >> > > >
> >> > >> > > > Now all elements in the distribution only consist of
> >> > >> > > > their name and file-ending ... all versions and
> >> > >> > > > classifiers have been
> >> > removed.
> >> > >> > > > Please provide me with feedback on if this solves the issues.
> >> > >> > > >
> >> > >> > > > Chris
> >> > >> > > >
> >> > >> > > >
> >> > >> > > > -----Ursprüngliche Nachricht-----
> >> > >> > > > Von: Christofer Dutz <ch...@c-ware.de>
> >> > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> >> > >> > > > An: dev@royale.apache.org
> >> > >> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> >> > >> > > > distribution
> >> > >> > > >
> >> > >> > > > I'll probably have a fix for that in a few minuntes ...
> >> > >> > > >
> >> > >> > > >
> >> > >> > > > Chris
> >> > >> > > >
> >> > >> > > >
> >> > >> > > > -----Ursprüngliche Nachricht-----
> >> > >> > > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> >> > >> > > > An: Apache Royale Development <de...@royale.apache.org>
> >> > >> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > >> > > > distribution
> >> > >> > > >
> >> > >> > > > Chris,
> >> > >> > > >
> >> > >> > > > No it's not about not picking up by IDE at all.
> >> > >> > > > Moonshine and VSCode are able to build projects using
> >> > >> > > > Maven distribution package! It is about project which
> >> > >> > > > are mixed for example when user wanted to use Jewel
> >> > >> > > > module + RemoteObject class from MXRoyale module. In
> >> > >> > > > that case user need to point explicilty as a compiler
> >> > >> > > > options in IDE that he wanted to have SWC included and
> >> > >> > > > need to exclude css from that swc to
> >> > >> > > avoid problems.
> >> > >> > > >
> >> > >> > > > It is happen like that:
> >> > >> > > >
> >> > >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> >> > >> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> >> > >> > > > cs
> >> > >> > > > s
> >> > >> > > >
> >> > >> > > > If I would like to use maven distribution user need to
> >> > >> > > > know version for that compiler options. It is even more
> >> > >> > > > tricky when your swc is called
> >> > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> >> > >> > > >
> >> > >> > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaul
> >> > >> > > > ts
> >> > >> > > > .cs
> >> > >> > > > s
> >> > >> > > >
> >> > >> > > > Thanks,
> >> > >> > > > Piotr
> >> > >> > > >
> >> > >> > > >
> >> > >> > > >
> >> > >> > > >
> >> > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> >> > >> > > > <ch...@c-ware.de>
> >> > >> > > > napisał(a):
> >> > >> > > >
> >> > >> > > > > Hi Piotr,
> >> > >> > > > >
> >> > >> > > > > And is really the version-suffix causing it to not be
> >> > >> > > > > picked up by the IDEs?
> >> > >> > > > >
> >> > >> > > > > Chris
> >> > >> > > > >
> >> > >> > > > > -----Ursprüngliche Nachricht-----
> >> > >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> >> > >> > > > > An: dev@royale.apache.org
> >> > >> > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > >> > > > > distribution
> >> > >> > > > >
> >> > >> > > > > Hi Chris,
> >> > >> > > > >
> >> > >> > > > > This is the only thing which seems to be a constant
> >> > >> > > > > problem
> >> > here.
> >> > >> > > > > I personally and some users will be much more happy
> >> > >> > > > > having that
> >> > >> > change.
> >> > >> > > > >
> >> > >> > > > > Thanks,
> >> > >> > > > > Piotr
> >> > >> > > > >
> >> > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> >> > >> > > > > <ch...@c-ware.de>
> >> > >> > > > > wrote:
> >> > >> > > > >
> >> > >> > > > > > Hi Piotr,
> >> > >> > > > > >
> >> > >> > > > > > I'd be happy to help with that.
> >> > >> > > > > >
> >> > >> > > > > > I did simply ask for a list of things that need to
> >> > >> > > > > > be changed in order to get things working, but never
> >> > >> > > > > > got said list, so I never knew what I could do to
> >> > >> > > > > > make the Maven distribution match up to the
> >> > >> > > > Ant built one.
> >> > >> > > > > >
> >> > >> > > > > > Chris
> >> > >> > > > > >
> >> > >> > > > > >
> >> > >> > > > > > -----Ursprüngliche Nachricht-----
> >> > >> > > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> >> > >> > > > > > An: Apache Royale Development
> >> > >> > > > > > <de...@royale.apache.org>
> >> > >> > > > > > Betreff: Align Maven IDE distribution with Ant IDE
> >> > >> > > > > > distribution
> >> > >> > > > > >
> >> > >> > > > > > Hi Guys,
> >> > >> > > > > >
> >> > >> > > > > > It's been couple of times when user complains that
> >> > >> > > > > > he have problems with using Maven distribution vs
> >> > >> > > > > > Ant distribution in IDE in a mixed project Jewel +
> >> > >> > > > > > MX/Spark
> >> etc.
> >> > >> > > > > >
> >> > >> > > > > > Can we have that resolve once for all and adjust
> >> > >> > > > > > Maven distribution folder to produce proper names of swcs ?
> >> > >> > > > > >
> >> > >> > > > > > Currently when I build Maven IDE distribution I have:
> >> > >> > > > > >
> >> > >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> >> > >> > > > > >
> >> > >> > > > > > When I build Ant IDE distribution I have:
> >> > >> > > > > >
> >> > >> > > > > > MXRoyale-js.swc
> >> > >> > > > > >
> >> > >> > > > > > Thanks,
> >> > >> > > > > > --
> >> > >> > > > > >
> >> > >> > > > > > Piotr Zarzycki
> >> > >> > > > > >
> >> > >> > > > > --
> >> > >> > > > >
> >> > >> > > > > Piotr Zarzycki
> >> > >> > > > >
> >> > >> > > >
> >> > >> > > >
> >> > >> > > > --
> >> > >> > > >
> >> > >> > > > Piotr Zarzycki
> >> > >> > > >
> >> > >> > >
> >> > >> > >
> >> > >> > > --
> >> > >> > >
> >> > >> > > Piotr Zarzycki
> >> > >> > >
> >> > >> >
> >> > >> >
> >> > >> > --
> >> > >> >
> >> > >> > Piotr Zarzycki
> >> > >> >
> >> > >>
> >> > >>
> >> > >> --
> >> > >>
> >> > >> Piotr Zarzycki
> >> > >>
> >> > >
> >> > >
> >> > > --
> >> > > Carlos Rovira
> >> > > Apache Member & Apache Royale PMC *Apache Software Foundation*
> >> > > http://about.me/carlosrovira
> >> > >
> >> > >
> >> >
> >> > --
> >> > Carlos Rovira
> >> > Apache Member & Apache Royale PMC *Apache Software Foundation*
> >> > http://about.me/carlosrovira
> >> >
> >>
> >>
> >> --
> >>
> >> Piotr Zarzycki
> >>
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
>
>
> --
>
> Piotr Zarzycki
>
--
Piotr Zarzycki
Re: Align Maven IDE distribution with Ant IDE distribution
Posted by Piotr Zarzycki <pi...@gmail.com>.
Thanks Maria, but it is Maven compilation of a whole sdk - I'm interested
in command line for distribution only.
pt., 19 lut 2021 o 13:49 Maria Jose Esteve <mj...@iest.com> napisał(a):
> Piotr this is an excerpt from the MAVEN compilation of the last bat that I
> have released:
>
> set SDK_FOLDER=D:\Apache\apache-royale-0.9.8-iest
> set ROYALE_ASJS_HOME=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs
>
> set MAVEN_OPTS=-Xms256m -Xmx1536m
> set JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8 -Xmx1024m
> cd %ROYALE_ASJS_HOME%
> call mvn clean install -P with-distribution
> -DdistributionTargetFolder="%SDK_FOLDER%"
>
> Hiedra
>
> -----Mensaje original-----
> De: Piotr Zarzycki <pi...@gmail.com>
> Enviado el: viernes, 19 de febrero de 2021 13:21
> Para: Apache Royale Development <de...@royale.apache.org>
> Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
>
> How do you guys build distributions? What is the commandline in your case ?
>
> pt., 19 lut 2021 o 13:10 Piotr Zarzycki <pi...@gmail.com>
> napisał(a):
>
> > I just tried generated distribution in VSCode to build TourDeJewel and
> > I have the same results!
> >
> > > Executing task: c:\Program Files\Java\jdk-11\bin\java.exe -jar
> > c:\Users\piotr\.vscode\extensions\bowlerhatllc.vscode-nextgenas-1.6.0\
> > bin\asconfigc.jar --sdk d:\Work\royale_ide\distribution --debug=true
> > --project
> > d:\Work\royale-sources\royale-asjs\examples\jewel\TourDeJewel\asconfig
> > .json
> > <
> >
> > Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m -Xmx3000m
> > Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m -Xmx3000m
> > Error: Could not find or load main class
> > org.apache.royale.compiler.clients.MXMLJSC
> > Caused by: java.lang.NoClassDefFoundError:
> > org/apache/flex/tools/FlexTool The terminal process "c:\Program
> > Files\Java\jdk-11\bin\java.exe '-jar',
> > 'c:\Users\piotr\.vscode\extensions\bowlerhatllc.vscode-nextgenas-1.6.0
> > \bin\asconfigc.jar', '--sdk', 'd:\Work\royale_ide\distribution',
> > '--debug=true', '--project',
> >
> 'd:\Work\royale-sources\royale-asjs\examples\jewel\TourDeJewel\asconfig.json'"
> > terminated with exit code: 1.
> >
> > What could be wrong with generation of that distribution? Carlos
> > doesn't have such problems...
> >
> >
> > pt., 19 lut 2021 o 12:48 Maria Jose Esteve <mj...@iest.com>
> napisał(a):
> >
> >> Hello Chris,
> >> so that I can debug my changes in the SDK I need to set the path of
> >> the "as3mxml.sdk.editor" to the asjs directory of my fork, for this
> >> reason the path of the " as3mxml.sdk.framework" points to the
> >> directory of the maven distribution and the "as3mxml.sdk.editor" to
> code.
> >>
> >> ">> I'm not getting any errors from VSCode. But well ... if I hit
> >> SHIFT+Enter it starts doing something where if failed prior to my
> >> >> changes this morning and is no longer complaining, but it's also
> >> >> not
> >> doing much (I can't see it create a "bin" directory)"
> >>
> >> I don't quite understand this ... possibly because of my lack of
> >> knowledge.
> >>
> >> I have not tried Carlos's project but this afternoon I will be able
> >> to do it and I will be able to give more details.
> >>
> >> Thx.
> >> Hiedra.
> >>
> >> -----Mensaje original-----
> >> De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> >> 19 de febrero de 2021 11:51
> >> Para: dev@royale.apache.org
> >> Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> >>
> >> Hi Heidra,
> >>
> >> I just updated Carlos' example to have the same type of setting
> >> (C:\\Temp\\RoyaleSDK is where I have my Maven build generate the SDK):
> >>
> >> setings.js:
> >> {
> >> "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> >> "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> >> }
> >>
> >> workspace-code-workspace
> >> {
> >> "folders": [
> >> {
> >> "path": ".."
> >> }
> >> ],
> >> "settings": {
> >> "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> >> "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> >> }
> >> }
> >>
> >> I'm not getting any errors from VSCode. But well ... if I hit
> >> SHIFT+Enter it starts doing something where if failed prior to my
> >> changes this morning and is no longer complaining, but it's also not
> >> doing much (I can't see it create a "bin" directory)
> >>
> >> Chris
> >>
> >>
> >> -----Ursprüngliche Nachricht-----
> >> Von: Maria Jose Esteve <mj...@iest.com>
> >> Gesendet: Freitag, 19. Februar 2021 10:53
> >> An: dev@royale.apache.org
> >> Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
> >>
> >> If I don't compile with ANT, the mxml extension in vsCode IDE, it
> >> doesn't recognize the valid asjs directory for "as3mxml.sdk.editor":
> >> ...
> >> "settings": {
> >> "as3mxml.sdk.framework":
> >> "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
> >> "as3mxml.sdk.editor":
> >> "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs" <--------
> >> [download folder repo royale-asjs]
> >> }
> >> }
> >>
> >> The error is:
> >> " as3mxml.sdk.editor in settings does not point to a valid SDK.
> >> Requires..."
> >>
> >> Thx.
> >> Hiedra.
> >>
> >> -----Mensaje original-----
> >> De: Piotr Zarzycki <pi...@gmail.com> Enviado el: viernes,
> >> 19 de febrero de 2021 10:44
> >> Para: Apache Royale Development <de...@royale.apache.org>
> >> Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
> >>
> >> Hi Chris,
> >>
> >> I just tried your changes and I have same issue. I need to understand
> >> what has change enough significantly that it causes compilation fail
> >> in such way. It doesn't happen with SDK prepared by ANT.
> >>
> >> Thanks,
> >> Piotr
> >>
> >> pt., 19 lut 2021 o 10:33 Maria Jose Esteve <mj...@iest.com>
> >> napisał(a):
> >>
> >> > @Chris you're right, sorry, I didn't download your last commit.
> >> > I'm sorry.
> >> > Hiedra.
> >> >
> >> > -----Mensaje original-----
> >> > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> >> > viernes,
> >> > 19 de febrero de 2021 10:17
> >> > Para: dev@royale.apache.org
> >> > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> >> >
> >> > I'll try to guess what you wanted to say here ...
> >> >
> >> > But I think these are exactly the changes I comitted a an hour ago,
> >> right?
> >> > At least in general I replaced all the references to names with
> >> > versions to the changed ones.
> >> >
> >> >
> >> > Chris
> >> >
> >> >
> >> >
> >> > -----Ursprüngliche Nachricht-----
> >> > Von: Maria Jose Esteve <mj...@iest.com>
> >> > Gesendet: Freitag, 19. Februar 2021 10:01
> >> > An: dev@royale.apache.org
> >> > Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
> >> >
> >> > Hi,
> >> > Mi distribución hace referencia en el fichero
> >> > "./frameworks/royale-config.xml" a las librerías:
> >> >
> >> > <js-external-library-path>
> >> >
> >> > <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs
> >> > .sw
> >> > c</path-element>
> >> >
> >> >
> >> <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.
> >> swc</path-element>
> >> > </js-external-library-path>
> >> >
> >> > Las correctas son:
> >> >
> >> > <js-external-library-path>
> >> >
> >> > <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> >> >
> >> <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
> >> > </js-external-library-path>
> >> >
> >> > Hiedra
> >> >
> >> > -----Mensaje original-----
> >> > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
> >> > viernes,
> >> > 19 de febrero de 2021 9:39
> >> > Para: dev@royale.apache.org
> >> > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> >> >
> >> > Ok,
> >> >
> >> > so the config xml files in the distribution were still pointing to
> >> > the old names. I updated them all to now refer to the names.
> >> > I tried things in Carlos' demo project, and I'm no-longer getting
> >> > the errors, however compilation seems to take for ever.
> >> >
> >> > Please try out the changes and tell me if there are any problems
> >> > with
> >> them.
> >> >
> >> > Chris
> >> >
> >> > -----Ursprüngliche Nachricht-----
> >> > Von: Christofer Dutz <ch...@c-ware.de>
> >> > Gesendet: Donnerstag, 18. Februar 2021 23:17
> >> > An: dev@royale.apache.org
> >> > Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
> >> >
> >> > Hi Carlos,
> >> >
> >> > I'll look into this tomorrow.
> >> >
> >> > Chris
> >> >
> >> > -----Ursprüngliche Nachricht-----
> >> > Von: Carlos Rovira <ca...@apache.org>
> >> > Gesendet: Donnerstag, 18. Februar 2021 17:49
> >> > An: Apache Royale Development <de...@royale.apache.org>
> >> > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> >> >
> >> > Hi, I think I talked very quickly, sorry, there seems to be a problem.
> >> >
> >> > @Christofer Dutz <ch...@c-ware.de> you can download this
> >> > project:
> >> >
> >> >
> >> > https://github.com/apache/royale-asjs/files/6004363/ToggleButtonBar
> >> > Iss
> >> > ue.zip
> >> >
> >> > Then using VSCode with AS3&MXML and adding the Maven distribution.
> >> > Then hit CTRL+ENTER and you will get the following fail. Using ANT
> >> > distribution is working fine.
> >> > Can you take a look?
> >> >
> >> > Royale Compiler Shell
> >> > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> >> > --source-map=true
> >> > --html-template=src/html/jewel-example-index-template.html
> >> >
> >> > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme
> >> > /sr
> >> > c/main/resources/defaults.css
> >> > --source-path+=src
> >> > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> >> > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> >> > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> >> > -js-dynamic-access-unknown-members=true -- src/App.mxml
> >> > fcsh: Assigned 1 as the compile target id The project 'App' has
> >> > been successfully compiled and optimized.
> >> > Compile status: 0
> >> > Elapsed time: 14.211105399 seconds
> >> > Feb 18, 2021 5:43:40 PM
> >> > com.google.javascript.jscomp.LoggerErrorManager
> >> > printSummary
> >> > INFO: 0 error(s), 0 warning(s), 96.5% typed
> >> > (fcsh) quit
> >> > Compiler shell exited with code: 0
> >> > Royale Compiler Shell
> >> > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> >> > --source-map=true
> >> > --html-template=src/html/jewel-example-index-template.html
> >> >
> >> > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme
> >> > /sr
> >> > c/main/resources/defaults.css
> >> > --source-path+=src
> >> > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> >> > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> >> > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> >> > -js-dynamic-access-unknown-members=true -- src/App.mxml
> >> > fcsh: Assigned 1 as the compile target id Compile status: 5 Elapsed
> >> time:
> >> > 0.618407478 seconds
> >> >
> >> >
> >>
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> >> > col: 0 Error: unable to open
> >> >
> >> >
> >>
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
> >> >
> >> > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/
> >> > roy
> >> > ale-config.xml
> >> > (line: 81)
> >> >
> >> > </js-external-library-path>
> >> >
> >> >
> >> >
> >> >
> >>
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> >> > col: 0 Error: unable to open
> >> >
> >> >
> >>
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
> >> >
> >> > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/
> >> > roy
> >> > ale-config.xml
> >> > (line: 81)
> >> >
> >> > </js-external-library-path>
> >> > (fcsh)
> >> > Quick Compile failed. Errors in compiler output.
> >> >
> >> > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
> >> > (<ca...@apache.org>)
> >> > escribió:
> >> >
> >> > > Hi,
> >> > >
> >> > > I rebuilt all from scratch just now and finally the distribution
> >> > > too and tried in VSCode and all seems to work fine for me.
> >> > >
> >> > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> >> > > christofer.dutz@c-ware.de>) escribió:
> >> > >
> >> > >> Hi Piotr,
> >> > >>
> >> > >> that class is located in lib\external\flex-tool-api.jar At least
> >> > >> in my distribution it's there and it contains the class.
> >> > >>
> >> > >> How are you calling the build that's failing?
> >> > >>
> >> > >> Chris
> >> > >>
> >> > >> -----Ursprüngliche Nachricht-----
> >> > >> Von: Piotr Zarzycki <pi...@gmail.com>
> >> > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> >> > >> An: Apache Royale Development <de...@royale.apache.org>
> >> > >> Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > >> distribution
> >> > >>
> >> > >> Chris,
> >> > >>
> >> > >> I just checked and I'm not able build project anymore using
> >> > distribution:
> >> > >>
> >> > >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
> >> > >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m
> >> > >> -Xmx3000m
> >> > >> : Error: Could not find or load main class
> >> > >> org.apache.royale.compiler.clients.MXMLJSC
> >> > >> : Caused by: java.lang.NoClassDefFoundError:
> >> > >> org/apache/flex/tools/FlexTool
> >> > >>
> >> > >> I'm done for today, so I will answer anything tomorrow.
> >> > >>
> >> > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
> >> > >> <ch...@c-ware.de>
> >> > >> napisał(a):
> >> > >>
> >> > >> > Ok ...
> >> > >> >
> >> > >> > so I just pushed another change. Now the distribution should
> >> > >> > also contain an empty spark.css, just like the Ant one.
> >> > >> >
> >> > >> > Chris
> >> > >> >
> >> > >> >
> >> > >> > -----Ursprüngliche Nachricht-----
> >> > >> > Von: Christofer Dutz <ch...@c-ware.de>
> >> > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> >> > >> > An: dev@royale.apache.org
> >> > >> > Betreff: AW: Align Maven IDE distribution with Ant IDE
> >> > >> > distribution
> >> > >> >
> >> > >> > Ok,
> >> > >> >
> >> > >> > so that should now be fixed. Leaves the "spark.css"
> >> > >> > Having had a look, it seems as if the Ant build creates an
> >> > >> > empty
> >> > >> spark.css.
> >> > >> >
> >> > >> > Is this all we need? If yes, then I'll have that in ther in no
> >> time.
> >> > >> >
> >> > >> > Chris
> >> > >> >
> >> > >> > -----Ursprüngliche Nachricht-----
> >> > >> > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> >> > >> > An: Apache Royale Development <de...@royale.apache.org>
> >> > >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > >> > distribution
> >> > >> >
> >> > >> > *(I assume that's in the "frameworks/js/libs" directory? *
> >> > >> >
> >> > >> > Yes this is the directory.
> >> > >> >
> >> > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> >> > >> > <ch...@c-ware.de>
> >> > >> > napisał(a):
> >> > >> >
> >> > >> > > Hi Piotr,
> >> > >> > >
> >> > >> > > Ok ... so Ant seems to be adding a "JS" to the end of every
> >> > >> > > name (I assume that's in the "frameworks/js/libs" directory?
> >> > >> > >
> >> > >> > > Also I'll try to find out where the "spark.css" should come
> >> > >> > > from
> >> ...
> >> > >> > > and where it should go to.
> >> > >> > >
> >> > >> > > Chris
> >> > >> > >
> >> > >> > >
> >> > >> > > -----Ursprüngliche Nachricht-----
> >> > >> > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> >> > >> > > An: Apache Royale Development <de...@royale.apache.org>
> >> > >> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > >> > > distribution
> >> > >> > >
> >> > >> > > Chris,
> >> > >> > >
> >> > >> > > Looks better but here is the comparision what I have in Ant
> >> > >> > > distribution vs Maven distribution in case of names. On the
> >> > >> > > left Ant distribution, on the right Maven. It is folder:
> >> > >> > > frameworks\js\libs\ [1]
> >> > >> > >
> >> > >> > > [1] https://ibb.co/W2DzcDb
> >> > >> > >
> >> > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> >> > >> > > <ch...@c-ware.de>
> >> > >> > > napisał(a):
> >> > >> > >
> >> > >> > > > And done ...
> >> > >> > > >
> >> > >> > > > Now all elements in the distribution only consist of their
> >> > >> > > > name and file-ending ... all versions and classifiers have
> >> > >> > > > been
> >> > removed.
> >> > >> > > > Please provide me with feedback on if this solves the issues.
> >> > >> > > >
> >> > >> > > > Chris
> >> > >> > > >
> >> > >> > > >
> >> > >> > > > -----Ursprüngliche Nachricht-----
> >> > >> > > > Von: Christofer Dutz <ch...@c-ware.de>
> >> > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> >> > >> > > > An: dev@royale.apache.org
> >> > >> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> >> > >> > > > distribution
> >> > >> > > >
> >> > >> > > > I'll probably have a fix for that in a few minuntes ...
> >> > >> > > >
> >> > >> > > >
> >> > >> > > > Chris
> >> > >> > > >
> >> > >> > > >
> >> > >> > > > -----Ursprüngliche Nachricht-----
> >> > >> > > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> >> > >> > > > An: Apache Royale Development <de...@royale.apache.org>
> >> > >> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > >> > > > distribution
> >> > >> > > >
> >> > >> > > > Chris,
> >> > >> > > >
> >> > >> > > > No it's not about not picking up by IDE at all. Moonshine
> >> > >> > > > and VSCode are able to build projects using Maven
> >> > >> > > > distribution package! It is about project which are mixed
> >> > >> > > > for example when user wanted to use Jewel module +
> >> > >> > > > RemoteObject class from MXRoyale module. In that case user
> >> > >> > > > need to point explicilty as a compiler options in IDE that
> >> > >> > > > he wanted to have SWC included and need to exclude css
> >> > >> > > > from that swc to
> >> > >> > > avoid problems.
> >> > >> > > >
> >> > >> > > > It is happen like that:
> >> > >> > > >
> >> > >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> >> > >> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> >> > >> > > > cs
> >> > >> > > > s
> >> > >> > > >
> >> > >> > > > If I would like to use maven distribution user need to
> >> > >> > > > know version for that compiler options. It is even more
> >> > >> > > > tricky when your swc is called
> >> > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> >> > >> > > >
> >> > >> > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults
> >> > >> > > > .cs
> >> > >> > > > s
> >> > >> > > >
> >> > >> > > > Thanks,
> >> > >> > > > Piotr
> >> > >> > > >
> >> > >> > > >
> >> > >> > > >
> >> > >> > > >
> >> > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> >> > >> > > > <ch...@c-ware.de>
> >> > >> > > > napisał(a):
> >> > >> > > >
> >> > >> > > > > Hi Piotr,
> >> > >> > > > >
> >> > >> > > > > And is really the version-suffix causing it to not be
> >> > >> > > > > picked up by the IDEs?
> >> > >> > > > >
> >> > >> > > > > Chris
> >> > >> > > > >
> >> > >> > > > > -----Ursprüngliche Nachricht-----
> >> > >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> >> > >> > > > > An: dev@royale.apache.org
> >> > >> > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > >> > > > > distribution
> >> > >> > > > >
> >> > >> > > > > Hi Chris,
> >> > >> > > > >
> >> > >> > > > > This is the only thing which seems to be a constant
> >> > >> > > > > problem
> >> > here.
> >> > >> > > > > I personally and some users will be much more happy
> >> > >> > > > > having that
> >> > >> > change.
> >> > >> > > > >
> >> > >> > > > > Thanks,
> >> > >> > > > > Piotr
> >> > >> > > > >
> >> > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> >> > >> > > > > <ch...@c-ware.de>
> >> > >> > > > > wrote:
> >> > >> > > > >
> >> > >> > > > > > Hi Piotr,
> >> > >> > > > > >
> >> > >> > > > > > I'd be happy to help with that.
> >> > >> > > > > >
> >> > >> > > > > > I did simply ask for a list of things that need to be
> >> > >> > > > > > changed in order to get things working, but never got
> >> > >> > > > > > said list, so I never knew what I could do to make the
> >> > >> > > > > > Maven distribution match up to the
> >> > >> > > > Ant built one.
> >> > >> > > > > >
> >> > >> > > > > > Chris
> >> > >> > > > > >
> >> > >> > > > > >
> >> > >> > > > > > -----Ursprüngliche Nachricht-----
> >> > >> > > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> >> > >> > > > > > An: Apache Royale Development <de...@royale.apache.org>
> >> > >> > > > > > Betreff: Align Maven IDE distribution with Ant IDE
> >> > >> > > > > > distribution
> >> > >> > > > > >
> >> > >> > > > > > Hi Guys,
> >> > >> > > > > >
> >> > >> > > > > > It's been couple of times when user complains that he
> >> > >> > > > > > have problems with using Maven distribution vs Ant
> >> > >> > > > > > distribution in IDE in a mixed project Jewel +
> >> > >> > > > > > MX/Spark
> >> etc.
> >> > >> > > > > >
> >> > >> > > > > > Can we have that resolve once for all and adjust Maven
> >> > >> > > > > > distribution folder to produce proper names of swcs ?
> >> > >> > > > > >
> >> > >> > > > > > Currently when I build Maven IDE distribution I have:
> >> > >> > > > > >
> >> > >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> >> > >> > > > > >
> >> > >> > > > > > When I build Ant IDE distribution I have:
> >> > >> > > > > >
> >> > >> > > > > > MXRoyale-js.swc
> >> > >> > > > > >
> >> > >> > > > > > Thanks,
> >> > >> > > > > > --
> >> > >> > > > > >
> >> > >> > > > > > Piotr Zarzycki
> >> > >> > > > > >
> >> > >> > > > > --
> >> > >> > > > >
> >> > >> > > > > Piotr Zarzycki
> >> > >> > > > >
> >> > >> > > >
> >> > >> > > >
> >> > >> > > > --
> >> > >> > > >
> >> > >> > > > Piotr Zarzycki
> >> > >> > > >
> >> > >> > >
> >> > >> > >
> >> > >> > > --
> >> > >> > >
> >> > >> > > Piotr Zarzycki
> >> > >> > >
> >> > >> >
> >> > >> >
> >> > >> > --
> >> > >> >
> >> > >> > Piotr Zarzycki
> >> > >> >
> >> > >>
> >> > >>
> >> > >> --
> >> > >>
> >> > >> Piotr Zarzycki
> >> > >>
> >> > >
> >> > >
> >> > > --
> >> > > Carlos Rovira
> >> > > Apache Member & Apache Royale PMC *Apache Software Foundation*
> >> > > http://about.me/carlosrovira
> >> > >
> >> > >
> >> >
> >> > --
> >> > Carlos Rovira
> >> > Apache Member & Apache Royale PMC
> >> > *Apache Software Foundation*
> >> > http://about.me/carlosrovira
> >> >
> >>
> >>
> >> --
> >>
> >> Piotr Zarzycki
> >>
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
>
>
> --
>
> Piotr Zarzycki
>
--
Piotr Zarzycki
RE: Align Maven IDE distribution with Ant IDE distribution
Posted by Maria Jose Esteve <mj...@iest.com>.
Piotr this is an excerpt from the MAVEN compilation of the last bat that I have released:
set SDK_FOLDER=D:\Apache\apache-royale-0.9.8-iest
set ROYALE_ASJS_HOME=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs
set MAVEN_OPTS=-Xms256m -Xmx1536m
set JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8 -Xmx1024m
cd %ROYALE_ASJS_HOME%
call mvn clean install -P with-distribution -DdistributionTargetFolder="%SDK_FOLDER%"
Hiedra
-----Mensaje original-----
De: Piotr Zarzycki <pi...@gmail.com>
Enviado el: viernes, 19 de febrero de 2021 13:21
Para: Apache Royale Development <de...@royale.apache.org>
Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
How do you guys build distributions? What is the commandline in your case ?
pt., 19 lut 2021 o 13:10 Piotr Zarzycki <pi...@gmail.com>
napisał(a):
> I just tried generated distribution in VSCode to build TourDeJewel and
> I have the same results!
>
> > Executing task: c:\Program Files\Java\jdk-11\bin\java.exe -jar
> c:\Users\piotr\.vscode\extensions\bowlerhatllc.vscode-nextgenas-1.6.0\
> bin\asconfigc.jar --sdk d:\Work\royale_ide\distribution --debug=true
> --project
> d:\Work\royale-sources\royale-asjs\examples\jewel\TourDeJewel\asconfig
> .json
> <
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m -Xmx3000m
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m -Xmx3000m
> Error: Could not find or load main class
> org.apache.royale.compiler.clients.MXMLJSC
> Caused by: java.lang.NoClassDefFoundError:
> org/apache/flex/tools/FlexTool The terminal process "c:\Program
> Files\Java\jdk-11\bin\java.exe '-jar',
> 'c:\Users\piotr\.vscode\extensions\bowlerhatllc.vscode-nextgenas-1.6.0
> \bin\asconfigc.jar', '--sdk', 'd:\Work\royale_ide\distribution',
> '--debug=true', '--project',
> 'd:\Work\royale-sources\royale-asjs\examples\jewel\TourDeJewel\asconfig.json'"
> terminated with exit code: 1.
>
> What could be wrong with generation of that distribution? Carlos
> doesn't have such problems...
>
>
> pt., 19 lut 2021 o 12:48 Maria Jose Esteve <mj...@iest.com> napisał(a):
>
>> Hello Chris,
>> so that I can debug my changes in the SDK I need to set the path of
>> the "as3mxml.sdk.editor" to the asjs directory of my fork, for this
>> reason the path of the " as3mxml.sdk.framework" points to the
>> directory of the maven distribution and the "as3mxml.sdk.editor" to code.
>>
>> ">> I'm not getting any errors from VSCode. But well ... if I hit
>> SHIFT+Enter it starts doing something where if failed prior to my
>> >> changes this morning and is no longer complaining, but it's also
>> >> not
>> doing much (I can't see it create a "bin" directory)"
>>
>> I don't quite understand this ... possibly because of my lack of
>> knowledge.
>>
>> I have not tried Carlos's project but this afternoon I will be able
>> to do it and I will be able to give more details.
>>
>> Thx.
>> Hiedra.
>>
>> -----Mensaje original-----
>> De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
>> 19 de febrero de 2021 11:51
>> Para: dev@royale.apache.org
>> Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>>
>> Hi Heidra,
>>
>> I just updated Carlos' example to have the same type of setting
>> (C:\\Temp\\RoyaleSDK is where I have my Maven build generate the SDK):
>>
>> setings.js:
>> {
>> "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
>> "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
>> }
>>
>> workspace-code-workspace
>> {
>> "folders": [
>> {
>> "path": ".."
>> }
>> ],
>> "settings": {
>> "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
>> "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
>> }
>> }
>>
>> I'm not getting any errors from VSCode. But well ... if I hit
>> SHIFT+Enter it starts doing something where if failed prior to my
>> changes this morning and is no longer complaining, but it's also not
>> doing much (I can't see it create a "bin" directory)
>>
>> Chris
>>
>>
>> -----Ursprüngliche Nachricht-----
>> Von: Maria Jose Esteve <mj...@iest.com>
>> Gesendet: Freitag, 19. Februar 2021 10:53
>> An: dev@royale.apache.org
>> Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
>>
>> If I don't compile with ANT, the mxml extension in vsCode IDE, it
>> doesn't recognize the valid asjs directory for "as3mxml.sdk.editor":
>> ...
>> "settings": {
>> "as3mxml.sdk.framework":
>> "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
>> "as3mxml.sdk.editor":
>> "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs" <--------
>> [download folder repo royale-asjs]
>> }
>> }
>>
>> The error is:
>> " as3mxml.sdk.editor in settings does not point to a valid SDK.
>> Requires..."
>>
>> Thx.
>> Hiedra.
>>
>> -----Mensaje original-----
>> De: Piotr Zarzycki <pi...@gmail.com> Enviado el: viernes,
>> 19 de febrero de 2021 10:44
>> Para: Apache Royale Development <de...@royale.apache.org>
>> Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
>>
>> Hi Chris,
>>
>> I just tried your changes and I have same issue. I need to understand
>> what has change enough significantly that it causes compilation fail
>> in such way. It doesn't happen with SDK prepared by ANT.
>>
>> Thanks,
>> Piotr
>>
>> pt., 19 lut 2021 o 10:33 Maria Jose Esteve <mj...@iest.com>
>> napisał(a):
>>
>> > @Chris you're right, sorry, I didn't download your last commit.
>> > I'm sorry.
>> > Hiedra.
>> >
>> > -----Mensaje original-----
>> > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
>> > viernes,
>> > 19 de febrero de 2021 10:17
>> > Para: dev@royale.apache.org
>> > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>> >
>> > I'll try to guess what you wanted to say here ...
>> >
>> > But I think these are exactly the changes I comitted a an hour ago,
>> right?
>> > At least in general I replaced all the references to names with
>> > versions to the changed ones.
>> >
>> >
>> > Chris
>> >
>> >
>> >
>> > -----Ursprüngliche Nachricht-----
>> > Von: Maria Jose Esteve <mj...@iest.com>
>> > Gesendet: Freitag, 19. Februar 2021 10:01
>> > An: dev@royale.apache.org
>> > Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
>> >
>> > Hi,
>> > Mi distribución hace referencia en el fichero
>> > "./frameworks/royale-config.xml" a las librerías:
>> >
>> > <js-external-library-path>
>> >
>> > <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs
>> > .sw
>> > c</path-element>
>> >
>> >
>> <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.
>> swc</path-element>
>> > </js-external-library-path>
>> >
>> > Las correctas son:
>> >
>> > <js-external-library-path>
>> >
>> > <path-element>../js/libs/royale-typedefs-js.swc</path-element>
>> >
>> <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
>> > </js-external-library-path>
>> >
>> > Hiedra
>> >
>> > -----Mensaje original-----
>> > De: Christofer Dutz <ch...@c-ware.de> Enviado el:
>> > viernes,
>> > 19 de febrero de 2021 9:39
>> > Para: dev@royale.apache.org
>> > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>> >
>> > Ok,
>> >
>> > so the config xml files in the distribution were still pointing to
>> > the old names. I updated them all to now refer to the names.
>> > I tried things in Carlos' demo project, and I'm no-longer getting
>> > the errors, however compilation seems to take for ever.
>> >
>> > Please try out the changes and tell me if there are any problems
>> > with
>> them.
>> >
>> > Chris
>> >
>> > -----Ursprüngliche Nachricht-----
>> > Von: Christofer Dutz <ch...@c-ware.de>
>> > Gesendet: Donnerstag, 18. Februar 2021 23:17
>> > An: dev@royale.apache.org
>> > Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
>> >
>> > Hi Carlos,
>> >
>> > I'll look into this tomorrow.
>> >
>> > Chris
>> >
>> > -----Ursprüngliche Nachricht-----
>> > Von: Carlos Rovira <ca...@apache.org>
>> > Gesendet: Donnerstag, 18. Februar 2021 17:49
>> > An: Apache Royale Development <de...@royale.apache.org>
>> > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>> >
>> > Hi, I think I talked very quickly, sorry, there seems to be a problem.
>> >
>> > @Christofer Dutz <ch...@c-ware.de> you can download this
>> > project:
>> >
>> >
>> > https://github.com/apache/royale-asjs/files/6004363/ToggleButtonBar
>> > Iss
>> > ue.zip
>> >
>> > Then using VSCode with AS3&MXML and adding the Maven distribution.
>> > Then hit CTRL+ENTER and you will get the following fail. Using ANT
>> > distribution is working fine.
>> > Can you take a look?
>> >
>> > Royale Compiler Shell
>> > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
>> > --source-map=true
>> > --html-template=src/html/jewel-example-index-template.html
>> >
>> > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme
>> > /sr
>> > c/main/resources/defaults.css
>> > --source-path+=src
>> > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>> > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>> > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
>> > -js-dynamic-access-unknown-members=true -- src/App.mxml
>> > fcsh: Assigned 1 as the compile target id The project 'App' has
>> > been successfully compiled and optimized.
>> > Compile status: 0
>> > Elapsed time: 14.211105399 seconds
>> > Feb 18, 2021 5:43:40 PM
>> > com.google.javascript.jscomp.LoggerErrorManager
>> > printSummary
>> > INFO: 0 error(s), 0 warning(s), 96.5% typed
>> > (fcsh) quit
>> > Compiler shell exited with code: 0
>> > Royale Compiler Shell
>> > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
>> > --source-map=true
>> > --html-template=src/html/jewel-example-index-template.html
>> >
>> > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme
>> > /sr
>> > c/main/resources/defaults.css
>> > --source-path+=src
>> > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>> > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>> > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
>> > -js-dynamic-access-unknown-members=true -- src/App.mxml
>> > fcsh: Assigned 1 as the compile target id Compile status: 5 Elapsed
>> time:
>> > 0.618407478 seconds
>> >
>> >
>> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
>> > col: 0 Error: unable to open
>> >
>> >
>> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
>> >
>> > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/
>> > roy
>> > ale-config.xml
>> > (line: 81)
>> >
>> > </js-external-library-path>
>> >
>> >
>> >
>> >
>> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
>> > col: 0 Error: unable to open
>> >
>> >
>> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
>> >
>> > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/
>> > roy
>> > ale-config.xml
>> > (line: 81)
>> >
>> > </js-external-library-path>
>> > (fcsh)
>> > Quick Compile failed. Errors in compiler output.
>> >
>> > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
>> > (<ca...@apache.org>)
>> > escribió:
>> >
>> > > Hi,
>> > >
>> > > I rebuilt all from scratch just now and finally the distribution
>> > > too and tried in VSCode and all seems to work fine for me.
>> > >
>> > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
>> > > christofer.dutz@c-ware.de>) escribió:
>> > >
>> > >> Hi Piotr,
>> > >>
>> > >> that class is located in lib\external\flex-tool-api.jar At least
>> > >> in my distribution it's there and it contains the class.
>> > >>
>> > >> How are you calling the build that's failing?
>> > >>
>> > >> Chris
>> > >>
>> > >> -----Ursprüngliche Nachricht-----
>> > >> Von: Piotr Zarzycki <pi...@gmail.com>
>> > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
>> > >> An: Apache Royale Development <de...@royale.apache.org>
>> > >> Betreff: Re: Align Maven IDE distribution with Ant IDE
>> > >> distribution
>> > >>
>> > >> Chris,
>> > >>
>> > >> I just checked and I'm not able build project anymore using
>> > distribution:
>> > >>
>> > >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
>> > >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m
>> > >> -Xmx3000m
>> > >> : Error: Could not find or load main class
>> > >> org.apache.royale.compiler.clients.MXMLJSC
>> > >> : Caused by: java.lang.NoClassDefFoundError:
>> > >> org/apache/flex/tools/FlexTool
>> > >>
>> > >> I'm done for today, so I will answer anything tomorrow.
>> > >>
>> > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
>> > >> <ch...@c-ware.de>
>> > >> napisał(a):
>> > >>
>> > >> > Ok ...
>> > >> >
>> > >> > so I just pushed another change. Now the distribution should
>> > >> > also contain an empty spark.css, just like the Ant one.
>> > >> >
>> > >> > Chris
>> > >> >
>> > >> >
>> > >> > -----Ursprüngliche Nachricht-----
>> > >> > Von: Christofer Dutz <ch...@c-ware.de>
>> > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
>> > >> > An: dev@royale.apache.org
>> > >> > Betreff: AW: Align Maven IDE distribution with Ant IDE
>> > >> > distribution
>> > >> >
>> > >> > Ok,
>> > >> >
>> > >> > so that should now be fixed. Leaves the "spark.css"
>> > >> > Having had a look, it seems as if the Ant build creates an
>> > >> > empty
>> > >> spark.css.
>> > >> >
>> > >> > Is this all we need? If yes, then I'll have that in ther in no
>> time.
>> > >> >
>> > >> > Chris
>> > >> >
>> > >> > -----Ursprüngliche Nachricht-----
>> > >> > Von: Piotr Zarzycki <pi...@gmail.com>
>> > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
>> > >> > An: Apache Royale Development <de...@royale.apache.org>
>> > >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
>> > >> > distribution
>> > >> >
>> > >> > *(I assume that's in the "frameworks/js/libs" directory? *
>> > >> >
>> > >> > Yes this is the directory.
>> > >> >
>> > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
>> > >> > <ch...@c-ware.de>
>> > >> > napisał(a):
>> > >> >
>> > >> > > Hi Piotr,
>> > >> > >
>> > >> > > Ok ... so Ant seems to be adding a "JS" to the end of every
>> > >> > > name (I assume that's in the "frameworks/js/libs" directory?
>> > >> > >
>> > >> > > Also I'll try to find out where the "spark.css" should come
>> > >> > > from
>> ...
>> > >> > > and where it should go to.
>> > >> > >
>> > >> > > Chris
>> > >> > >
>> > >> > >
>> > >> > > -----Ursprüngliche Nachricht-----
>> > >> > > Von: Piotr Zarzycki <pi...@gmail.com>
>> > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
>> > >> > > An: Apache Royale Development <de...@royale.apache.org>
>> > >> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
>> > >> > > distribution
>> > >> > >
>> > >> > > Chris,
>> > >> > >
>> > >> > > Looks better but here is the comparision what I have in Ant
>> > >> > > distribution vs Maven distribution in case of names. On the
>> > >> > > left Ant distribution, on the right Maven. It is folder:
>> > >> > > frameworks\js\libs\ [1]
>> > >> > >
>> > >> > > [1] https://ibb.co/W2DzcDb
>> > >> > >
>> > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
>> > >> > > <ch...@c-ware.de>
>> > >> > > napisał(a):
>> > >> > >
>> > >> > > > And done ...
>> > >> > > >
>> > >> > > > Now all elements in the distribution only consist of their
>> > >> > > > name and file-ending ... all versions and classifiers have
>> > >> > > > been
>> > removed.
>> > >> > > > Please provide me with feedback on if this solves the issues.
>> > >> > > >
>> > >> > > > Chris
>> > >> > > >
>> > >> > > >
>> > >> > > > -----Ursprüngliche Nachricht-----
>> > >> > > > Von: Christofer Dutz <ch...@c-ware.de>
>> > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
>> > >> > > > An: dev@royale.apache.org
>> > >> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
>> > >> > > > distribution
>> > >> > > >
>> > >> > > > I'll probably have a fix for that in a few minuntes ...
>> > >> > > >
>> > >> > > >
>> > >> > > > Chris
>> > >> > > >
>> > >> > > >
>> > >> > > > -----Ursprüngliche Nachricht-----
>> > >> > > > Von: Piotr Zarzycki <pi...@gmail.com>
>> > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
>> > >> > > > An: Apache Royale Development <de...@royale.apache.org>
>> > >> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
>> > >> > > > distribution
>> > >> > > >
>> > >> > > > Chris,
>> > >> > > >
>> > >> > > > No it's not about not picking up by IDE at all. Moonshine
>> > >> > > > and VSCode are able to build projects using Maven
>> > >> > > > distribution package! It is about project which are mixed
>> > >> > > > for example when user wanted to use Jewel module +
>> > >> > > > RemoteObject class from MXRoyale module. In that case user
>> > >> > > > need to point explicilty as a compiler options in IDE that
>> > >> > > > he wanted to have SWC included and need to exclude css
>> > >> > > > from that swc to
>> > >> > > avoid problems.
>> > >> > > >
>> > >> > > > It is happen like that:
>> > >> > > >
>> > >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>> > >> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
>> > >> > > > cs
>> > >> > > > s
>> > >> > > >
>> > >> > > > If I would like to use maven distribution user need to
>> > >> > > > know version for that compiler options. It is even more
>> > >> > > > tricky when your swc is called
>> > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
>> > >> > > >
>> > >> > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults
>> > >> > > > .cs
>> > >> > > > s
>> > >> > > >
>> > >> > > > Thanks,
>> > >> > > > Piotr
>> > >> > > >
>> > >> > > >
>> > >> > > >
>> > >> > > >
>> > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
>> > >> > > > <ch...@c-ware.de>
>> > >> > > > napisał(a):
>> > >> > > >
>> > >> > > > > Hi Piotr,
>> > >> > > > >
>> > >> > > > > And is really the version-suffix causing it to not be
>> > >> > > > > picked up by the IDEs?
>> > >> > > > >
>> > >> > > > > Chris
>> > >> > > > >
>> > >> > > > > -----Ursprüngliche Nachricht-----
>> > >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
>> > >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
>> > >> > > > > An: dev@royale.apache.org
>> > >> > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
>> > >> > > > > distribution
>> > >> > > > >
>> > >> > > > > Hi Chris,
>> > >> > > > >
>> > >> > > > > This is the only thing which seems to be a constant
>> > >> > > > > problem
>> > here.
>> > >> > > > > I personally and some users will be much more happy
>> > >> > > > > having that
>> > >> > change.
>> > >> > > > >
>> > >> > > > > Thanks,
>> > >> > > > > Piotr
>> > >> > > > >
>> > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
>> > >> > > > > <ch...@c-ware.de>
>> > >> > > > > wrote:
>> > >> > > > >
>> > >> > > > > > Hi Piotr,
>> > >> > > > > >
>> > >> > > > > > I'd be happy to help with that.
>> > >> > > > > >
>> > >> > > > > > I did simply ask for a list of things that need to be
>> > >> > > > > > changed in order to get things working, but never got
>> > >> > > > > > said list, so I never knew what I could do to make the
>> > >> > > > > > Maven distribution match up to the
>> > >> > > > Ant built one.
>> > >> > > > > >
>> > >> > > > > > Chris
>> > >> > > > > >
>> > >> > > > > >
>> > >> > > > > > -----Ursprüngliche Nachricht-----
>> > >> > > > > > Von: Piotr Zarzycki <pi...@gmail.com>
>> > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
>> > >> > > > > > An: Apache Royale Development <de...@royale.apache.org>
>> > >> > > > > > Betreff: Align Maven IDE distribution with Ant IDE
>> > >> > > > > > distribution
>> > >> > > > > >
>> > >> > > > > > Hi Guys,
>> > >> > > > > >
>> > >> > > > > > It's been couple of times when user complains that he
>> > >> > > > > > have problems with using Maven distribution vs Ant
>> > >> > > > > > distribution in IDE in a mixed project Jewel +
>> > >> > > > > > MX/Spark
>> etc.
>> > >> > > > > >
>> > >> > > > > > Can we have that resolve once for all and adjust Maven
>> > >> > > > > > distribution folder to produce proper names of swcs ?
>> > >> > > > > >
>> > >> > > > > > Currently when I build Maven IDE distribution I have:
>> > >> > > > > >
>> > >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
>> > >> > > > > >
>> > >> > > > > > When I build Ant IDE distribution I have:
>> > >> > > > > >
>> > >> > > > > > MXRoyale-js.swc
>> > >> > > > > >
>> > >> > > > > > Thanks,
>> > >> > > > > > --
>> > >> > > > > >
>> > >> > > > > > Piotr Zarzycki
>> > >> > > > > >
>> > >> > > > > --
>> > >> > > > >
>> > >> > > > > Piotr Zarzycki
>> > >> > > > >
>> > >> > > >
>> > >> > > >
>> > >> > > > --
>> > >> > > >
>> > >> > > > Piotr Zarzycki
>> > >> > > >
>> > >> > >
>> > >> > >
>> > >> > > --
>> > >> > >
>> > >> > > Piotr Zarzycki
>> > >> > >
>> > >> >
>> > >> >
>> > >> > --
>> > >> >
>> > >> > Piotr Zarzycki
>> > >> >
>> > >>
>> > >>
>> > >> --
>> > >>
>> > >> Piotr Zarzycki
>> > >>
>> > >
>> > >
>> > > --
>> > > Carlos Rovira
>> > > Apache Member & Apache Royale PMC *Apache Software Foundation*
>> > > http://about.me/carlosrovira
>> > >
>> > >
>> >
>> > --
>> > Carlos Rovira
>> > Apache Member & Apache Royale PMC
>> > *Apache Software Foundation*
>> > http://about.me/carlosrovira
>> >
>>
>>
>> --
>>
>> Piotr Zarzycki
>>
>
>
> --
>
> Piotr Zarzycki
>
--
Piotr Zarzycki
Re: Align Maven IDE distribution with Ant IDE distribution
Posted by Piotr Zarzycki <pi...@gmail.com>.
How do you guys build distributions? What is the commandline in your case ?
pt., 19 lut 2021 o 13:10 Piotr Zarzycki <pi...@gmail.com>
napisał(a):
> I just tried generated distribution in VSCode to build TourDeJewel and I
> have the same results!
>
> > Executing task: c:\Program Files\Java\jdk-11\bin\java.exe -jar
> c:\Users\piotr\.vscode\extensions\bowlerhatllc.vscode-nextgenas-1.6.0\bin\asconfigc.jar
> --sdk d:\Work\royale_ide\distribution --debug=true --project
> d:\Work\royale-sources\royale-asjs\examples\jewel\TourDeJewel\asconfig.json
> <
>
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m -Xmx3000m
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m -Xmx3000m
> Error: Could not find or load main class
> org.apache.royale.compiler.clients.MXMLJSC
> Caused by: java.lang.NoClassDefFoundError: org/apache/flex/tools/FlexTool
> The terminal process "c:\Program Files\Java\jdk-11\bin\java.exe '-jar',
> 'c:\Users\piotr\.vscode\extensions\bowlerhatllc.vscode-nextgenas-1.6.0\bin\asconfigc.jar',
> '--sdk', 'd:\Work\royale_ide\distribution', '--debug=true', '--project',
> 'd:\Work\royale-sources\royale-asjs\examples\jewel\TourDeJewel\asconfig.json'"
> terminated with exit code: 1.
>
> What could be wrong with generation of that distribution? Carlos doesn't
> have such problems...
>
>
> pt., 19 lut 2021 o 12:48 Maria Jose Esteve <mj...@iest.com> napisał(a):
>
>> Hello Chris,
>> so that I can debug my changes in the SDK I need to set the path of the
>> "as3mxml.sdk.editor" to the asjs directory of my fork, for this reason the
>> path of the " as3mxml.sdk.framework" points to the directory of the maven
>> distribution and the "as3mxml.sdk.editor" to code.
>>
>> ">> I'm not getting any errors from VSCode. But well ... if I hit
>> SHIFT+Enter it starts doing something where if failed prior to my
>> >> changes this morning and is no longer complaining, but it's also not
>> doing much (I can't see it create a "bin" directory)"
>>
>> I don't quite understand this ... possibly because of my lack of
>> knowledge.
>>
>> I have not tried Carlos's project but this afternoon I will be able to do
>> it and I will be able to give more details.
>>
>> Thx.
>> Hiedra.
>>
>> -----Mensaje original-----
>> De: Christofer Dutz <ch...@c-ware.de>
>> Enviado el: viernes, 19 de febrero de 2021 11:51
>> Para: dev@royale.apache.org
>> Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>>
>> Hi Heidra,
>>
>> I just updated Carlos' example to have the same type of setting
>> (C:\\Temp\\RoyaleSDK is where I have my Maven build generate the SDK):
>>
>> setings.js:
>> {
>> "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
>> "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
>> }
>>
>> workspace-code-workspace
>> {
>> "folders": [
>> {
>> "path": ".."
>> }
>> ],
>> "settings": {
>> "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
>> "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
>> }
>> }
>>
>> I'm not getting any errors from VSCode. But well ... if I hit SHIFT+Enter
>> it starts doing something where if failed prior to my changes this morning
>> and is no longer complaining, but it's also not doing much (I can't see it
>> create a "bin" directory)
>>
>> Chris
>>
>>
>> -----Ursprüngliche Nachricht-----
>> Von: Maria Jose Esteve <mj...@iest.com>
>> Gesendet: Freitag, 19. Februar 2021 10:53
>> An: dev@royale.apache.org
>> Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
>>
>> If I don't compile with ANT, the mxml extension in vsCode IDE, it doesn't
>> recognize the valid asjs directory for "as3mxml.sdk.editor":
>> ...
>> "settings": {
>> "as3mxml.sdk.framework":
>> "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
>> "as3mxml.sdk.editor":
>> "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs" <-------- [download
>> folder repo royale-asjs]
>> }
>> }
>>
>> The error is:
>> " as3mxml.sdk.editor in settings does not point to a valid SDK.
>> Requires..."
>>
>> Thx.
>> Hiedra.
>>
>> -----Mensaje original-----
>> De: Piotr Zarzycki <pi...@gmail.com> Enviado el: viernes, 19
>> de febrero de 2021 10:44
>> Para: Apache Royale Development <de...@royale.apache.org>
>> Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
>>
>> Hi Chris,
>>
>> I just tried your changes and I have same issue. I need to understand
>> what has change enough significantly that it causes compilation fail in
>> such way. It doesn't happen with SDK prepared by ANT.
>>
>> Thanks,
>> Piotr
>>
>> pt., 19 lut 2021 o 10:33 Maria Jose Esteve <mj...@iest.com>
>> napisał(a):
>>
>> > @Chris you're right, sorry, I didn't download your last commit.
>> > I'm sorry.
>> > Hiedra.
>> >
>> > -----Mensaje original-----
>> > De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
>> > 19 de febrero de 2021 10:17
>> > Para: dev@royale.apache.org
>> > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>> >
>> > I'll try to guess what you wanted to say here ...
>> >
>> > But I think these are exactly the changes I comitted a an hour ago,
>> right?
>> > At least in general I replaced all the references to names with
>> > versions to the changed ones.
>> >
>> >
>> > Chris
>> >
>> >
>> >
>> > -----Ursprüngliche Nachricht-----
>> > Von: Maria Jose Esteve <mj...@iest.com>
>> > Gesendet: Freitag, 19. Februar 2021 10:01
>> > An: dev@royale.apache.org
>> > Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
>> >
>> > Hi,
>> > Mi distribución hace referencia en el fichero
>> > "./frameworks/royale-config.xml" a las librerías:
>> >
>> > <js-external-library-path>
>> >
>> > <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.sw
>> > c</path-element>
>> >
>> >
>> <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc</path-element>
>> > </js-external-library-path>
>> >
>> > Las correctas son:
>> >
>> > <js-external-library-path>
>> > <path-element>../js/libs/royale-typedefs-js.swc</path-element>
>> >
>> <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
>> > </js-external-library-path>
>> >
>> > Hiedra
>> >
>> > -----Mensaje original-----
>> > De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
>> > 19 de febrero de 2021 9:39
>> > Para: dev@royale.apache.org
>> > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>> >
>> > Ok,
>> >
>> > so the config xml files in the distribution were still pointing to the
>> > old names. I updated them all to now refer to the names.
>> > I tried things in Carlos' demo project, and I'm no-longer getting the
>> > errors, however compilation seems to take for ever.
>> >
>> > Please try out the changes and tell me if there are any problems with
>> them.
>> >
>> > Chris
>> >
>> > -----Ursprüngliche Nachricht-----
>> > Von: Christofer Dutz <ch...@c-ware.de>
>> > Gesendet: Donnerstag, 18. Februar 2021 23:17
>> > An: dev@royale.apache.org
>> > Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
>> >
>> > Hi Carlos,
>> >
>> > I'll look into this tomorrow.
>> >
>> > Chris
>> >
>> > -----Ursprüngliche Nachricht-----
>> > Von: Carlos Rovira <ca...@apache.org>
>> > Gesendet: Donnerstag, 18. Februar 2021 17:49
>> > An: Apache Royale Development <de...@royale.apache.org>
>> > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>> >
>> > Hi, I think I talked very quickly, sorry, there seems to be a problem.
>> >
>> > @Christofer Dutz <ch...@c-ware.de> you can download this
>> > project:
>> >
>> >
>> > https://github.com/apache/royale-asjs/files/6004363/ToggleButtonBarIss
>> > ue.zip
>> >
>> > Then using VSCode with AS3&MXML and adding the Maven distribution.
>> > Then hit CTRL+ENTER and you will get the following fail. Using ANT
>> > distribution is working fine.
>> > Can you take a look?
>> >
>> > Royale Compiler Shell
>> > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
>> > --source-map=true
>> > --html-template=src/html/jewel-example-index-template.html
>> >
>> > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/sr
>> > c/main/resources/defaults.css
>> > --source-path+=src --library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>> > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>> > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
>> > -js-dynamic-access-unknown-members=true -- src/App.mxml
>> > fcsh: Assigned 1 as the compile target id The project 'App' has been
>> > successfully compiled and optimized.
>> > Compile status: 0
>> > Elapsed time: 14.211105399 seconds
>> > Feb 18, 2021 5:43:40 PM
>> > com.google.javascript.jscomp.LoggerErrorManager
>> > printSummary
>> > INFO: 0 error(s), 0 warning(s), 96.5% typed
>> > (fcsh) quit
>> > Compiler shell exited with code: 0
>> > Royale Compiler Shell
>> > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
>> > --source-map=true
>> > --html-template=src/html/jewel-example-index-template.html
>> >
>> > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/sr
>> > c/main/resources/defaults.css
>> > --source-path+=src --library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>> > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>> > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
>> > -js-dynamic-access-unknown-members=true -- src/App.mxml
>> > fcsh: Assigned 1 as the compile target id Compile status: 5 Elapsed
>> time:
>> > 0.618407478 seconds
>> >
>> >
>> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
>> > col: 0 Error: unable to open
>> >
>> >
>> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
>> >
>> > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/roy
>> > ale-config.xml
>> > (line: 81)
>> >
>> > </js-external-library-path>
>> >
>> >
>> >
>> >
>> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
>> > col: 0 Error: unable to open
>> >
>> >
>> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
>> >
>> > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/roy
>> > ale-config.xml
>> > (line: 81)
>> >
>> > </js-external-library-path>
>> > (fcsh)
>> > Quick Compile failed. Errors in compiler output.
>> >
>> > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
>> > (<ca...@apache.org>)
>> > escribió:
>> >
>> > > Hi,
>> > >
>> > > I rebuilt all from scratch just now and finally the distribution too
>> > > and tried in VSCode and all seems to work fine for me.
>> > >
>> > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
>> > > christofer.dutz@c-ware.de>) escribió:
>> > >
>> > >> Hi Piotr,
>> > >>
>> > >> that class is located in lib\external\flex-tool-api.jar At least in
>> > >> my distribution it's there and it contains the class.
>> > >>
>> > >> How are you calling the build that's failing?
>> > >>
>> > >> Chris
>> > >>
>> > >> -----Ursprüngliche Nachricht-----
>> > >> Von: Piotr Zarzycki <pi...@gmail.com>
>> > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
>> > >> An: Apache Royale Development <de...@royale.apache.org>
>> > >> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>> > >>
>> > >> Chris,
>> > >>
>> > >> I just checked and I'm not able build project anymore using
>> > distribution:
>> > >>
>> > >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
>> > >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m
>> > >> -Xmx3000m
>> > >> : Error: Could not find or load main class
>> > >> org.apache.royale.compiler.clients.MXMLJSC
>> > >> : Caused by: java.lang.NoClassDefFoundError:
>> > >> org/apache/flex/tools/FlexTool
>> > >>
>> > >> I'm done for today, so I will answer anything tomorrow.
>> > >>
>> > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
>> > >> <ch...@c-ware.de>
>> > >> napisał(a):
>> > >>
>> > >> > Ok ...
>> > >> >
>> > >> > so I just pushed another change. Now the distribution should also
>> > >> > contain an empty spark.css, just like the Ant one.
>> > >> >
>> > >> > Chris
>> > >> >
>> > >> >
>> > >> > -----Ursprüngliche Nachricht-----
>> > >> > Von: Christofer Dutz <ch...@c-ware.de>
>> > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
>> > >> > An: dev@royale.apache.org
>> > >> > Betreff: AW: Align Maven IDE distribution with Ant IDE
>> > >> > distribution
>> > >> >
>> > >> > Ok,
>> > >> >
>> > >> > so that should now be fixed. Leaves the "spark.css"
>> > >> > Having had a look, it seems as if the Ant build creates an empty
>> > >> spark.css.
>> > >> >
>> > >> > Is this all we need? If yes, then I'll have that in ther in no
>> time.
>> > >> >
>> > >> > Chris
>> > >> >
>> > >> > -----Ursprüngliche Nachricht-----
>> > >> > Von: Piotr Zarzycki <pi...@gmail.com>
>> > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
>> > >> > An: Apache Royale Development <de...@royale.apache.org>
>> > >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
>> > >> > distribution
>> > >> >
>> > >> > *(I assume that's in the "frameworks/js/libs" directory? *
>> > >> >
>> > >> > Yes this is the directory.
>> > >> >
>> > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
>> > >> > <ch...@c-ware.de>
>> > >> > napisał(a):
>> > >> >
>> > >> > > Hi Piotr,
>> > >> > >
>> > >> > > Ok ... so Ant seems to be adding a "JS" to the end of every
>> > >> > > name (I assume that's in the "frameworks/js/libs" directory?
>> > >> > >
>> > >> > > Also I'll try to find out where the "spark.css" should come from
>> ...
>> > >> > > and where it should go to.
>> > >> > >
>> > >> > > Chris
>> > >> > >
>> > >> > >
>> > >> > > -----Ursprüngliche Nachricht-----
>> > >> > > Von: Piotr Zarzycki <pi...@gmail.com>
>> > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
>> > >> > > An: Apache Royale Development <de...@royale.apache.org>
>> > >> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
>> > >> > > distribution
>> > >> > >
>> > >> > > Chris,
>> > >> > >
>> > >> > > Looks better but here is the comparision what I have in Ant
>> > >> > > distribution vs Maven distribution in case of names. On the
>> > >> > > left Ant distribution, on the right Maven. It is folder:
>> > >> > > frameworks\js\libs\ [1]
>> > >> > >
>> > >> > > [1] https://ibb.co/W2DzcDb
>> > >> > >
>> > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
>> > >> > > <ch...@c-ware.de>
>> > >> > > napisał(a):
>> > >> > >
>> > >> > > > And done ...
>> > >> > > >
>> > >> > > > Now all elements in the distribution only consist of their
>> > >> > > > name and file-ending ... all versions and classifiers have
>> > >> > > > been
>> > removed.
>> > >> > > > Please provide me with feedback on if this solves the issues.
>> > >> > > >
>> > >> > > > Chris
>> > >> > > >
>> > >> > > >
>> > >> > > > -----Ursprüngliche Nachricht-----
>> > >> > > > Von: Christofer Dutz <ch...@c-ware.de>
>> > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
>> > >> > > > An: dev@royale.apache.org
>> > >> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
>> > >> > > > distribution
>> > >> > > >
>> > >> > > > I'll probably have a fix for that in a few minuntes ...
>> > >> > > >
>> > >> > > >
>> > >> > > > Chris
>> > >> > > >
>> > >> > > >
>> > >> > > > -----Ursprüngliche Nachricht-----
>> > >> > > > Von: Piotr Zarzycki <pi...@gmail.com>
>> > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
>> > >> > > > An: Apache Royale Development <de...@royale.apache.org>
>> > >> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
>> > >> > > > distribution
>> > >> > > >
>> > >> > > > Chris,
>> > >> > > >
>> > >> > > > No it's not about not picking up by IDE at all. Moonshine and
>> > >> > > > VSCode are able to build projects using Maven distribution
>> > >> > > > package! It is about project which are mixed for example when
>> > >> > > > user wanted to use Jewel module + RemoteObject class from
>> > >> > > > MXRoyale module. In that case user need to point explicilty
>> > >> > > > as a compiler options in IDE that he wanted to have SWC
>> > >> > > > included and need to exclude css from that swc to
>> > >> > > avoid problems.
>> > >> > > >
>> > >> > > > It is happen like that:
>> > >> > > >
>> > >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>> > >> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
>> > >> > > > cs
>> > >> > > > s
>> > >> > > >
>> > >> > > > If I would like to use maven distribution user need to know
>> > >> > > > version for that compiler options. It is even more tricky
>> > >> > > > when your swc is called
>> > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
>> > >> > > >
>> > >> > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.cs
>> > >> > > > s
>> > >> > > >
>> > >> > > > Thanks,
>> > >> > > > Piotr
>> > >> > > >
>> > >> > > >
>> > >> > > >
>> > >> > > >
>> > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
>> > >> > > > <ch...@c-ware.de>
>> > >> > > > napisał(a):
>> > >> > > >
>> > >> > > > > Hi Piotr,
>> > >> > > > >
>> > >> > > > > And is really the version-suffix causing it to not be
>> > >> > > > > picked up by the IDEs?
>> > >> > > > >
>> > >> > > > > Chris
>> > >> > > > >
>> > >> > > > > -----Ursprüngliche Nachricht-----
>> > >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
>> > >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
>> > >> > > > > An: dev@royale.apache.org
>> > >> > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
>> > >> > > > > distribution
>> > >> > > > >
>> > >> > > > > Hi Chris,
>> > >> > > > >
>> > >> > > > > This is the only thing which seems to be a constant problem
>> > here.
>> > >> > > > > I personally and some users will be much more happy having
>> > >> > > > > that
>> > >> > change.
>> > >> > > > >
>> > >> > > > > Thanks,
>> > >> > > > > Piotr
>> > >> > > > >
>> > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
>> > >> > > > > <ch...@c-ware.de>
>> > >> > > > > wrote:
>> > >> > > > >
>> > >> > > > > > Hi Piotr,
>> > >> > > > > >
>> > >> > > > > > I'd be happy to help with that.
>> > >> > > > > >
>> > >> > > > > > I did simply ask for a list of things that need to be
>> > >> > > > > > changed in order to get things working, but never got
>> > >> > > > > > said list, so I never knew what I could do to make the
>> > >> > > > > > Maven distribution match up to the
>> > >> > > > Ant built one.
>> > >> > > > > >
>> > >> > > > > > Chris
>> > >> > > > > >
>> > >> > > > > >
>> > >> > > > > > -----Ursprüngliche Nachricht-----
>> > >> > > > > > Von: Piotr Zarzycki <pi...@gmail.com>
>> > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
>> > >> > > > > > An: Apache Royale Development <de...@royale.apache.org>
>> > >> > > > > > Betreff: Align Maven IDE distribution with Ant IDE
>> > >> > > > > > distribution
>> > >> > > > > >
>> > >> > > > > > Hi Guys,
>> > >> > > > > >
>> > >> > > > > > It's been couple of times when user complains that he
>> > >> > > > > > have problems with using Maven distribution vs Ant
>> > >> > > > > > distribution in IDE in a mixed project Jewel + MX/Spark
>> etc.
>> > >> > > > > >
>> > >> > > > > > Can we have that resolve once for all and adjust Maven
>> > >> > > > > > distribution folder to produce proper names of swcs ?
>> > >> > > > > >
>> > >> > > > > > Currently when I build Maven IDE distribution I have:
>> > >> > > > > >
>> > >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
>> > >> > > > > >
>> > >> > > > > > When I build Ant IDE distribution I have:
>> > >> > > > > >
>> > >> > > > > > MXRoyale-js.swc
>> > >> > > > > >
>> > >> > > > > > Thanks,
>> > >> > > > > > --
>> > >> > > > > >
>> > >> > > > > > Piotr Zarzycki
>> > >> > > > > >
>> > >> > > > > --
>> > >> > > > >
>> > >> > > > > Piotr Zarzycki
>> > >> > > > >
>> > >> > > >
>> > >> > > >
>> > >> > > > --
>> > >> > > >
>> > >> > > > Piotr Zarzycki
>> > >> > > >
>> > >> > >
>> > >> > >
>> > >> > > --
>> > >> > >
>> > >> > > Piotr Zarzycki
>> > >> > >
>> > >> >
>> > >> >
>> > >> > --
>> > >> >
>> > >> > Piotr Zarzycki
>> > >> >
>> > >>
>> > >>
>> > >> --
>> > >>
>> > >> Piotr Zarzycki
>> > >>
>> > >
>> > >
>> > > --
>> > > Carlos Rovira
>> > > Apache Member & Apache Royale PMC
>> > > *Apache Software Foundation*
>> > > http://about.me/carlosrovira
>> > >
>> > >
>> >
>> > --
>> > Carlos Rovira
>> > Apache Member & Apache Royale PMC
>> > *Apache Software Foundation*
>> > http://about.me/carlosrovira
>> >
>>
>>
>> --
>>
>> Piotr Zarzycki
>>
>
>
> --
>
> Piotr Zarzycki
>
--
Piotr Zarzycki
AW: Align Maven IDE distribution with Ant IDE distribution
Posted by Christofer Dutz <ch...@c-ware.de>.
I think I might have found out what's going on.
When simply calling a jar it will have the current jar in it's classpath and anything mentioned in the "META-INF/MANIFEST.MF" ... it seems that the repackaged Jars we create as part of the distribution build reference all jars correctly, however some of them are in the same directory and some are in the "external" subdirectory.
I think I have to find a way to update the MANIFEST.MF to add the "external" to the paths of the dependencies.
Chris
-----Ursprüngliche Nachricht-----
Von: Piotr Zarzycki <pi...@gmail.com>
Gesendet: Freitag, 19. Februar 2021 13:11
An: Apache Royale Development <de...@royale.apache.org>
Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
I just tried generated distribution in VSCode to build TourDeJewel and I have the same results!
> Executing task: c:\Program Files\Java\jdk-11\bin\java.exe -jar
c:\Users\piotr\.vscode\extensions\bowlerhatllc.vscode-nextgenas-1.6.0\bin\asconfigc.jar
--sdk d:\Work\royale_ide\distribution --debug=true --project d:\Work\royale-sources\royale-asjs\examples\jewel\TourDeJewel\asconfig.json
<
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m -Xmx3000m Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m -Xmx3000m
Error: Could not find or load main class org.apache.royale.compiler.clients.MXMLJSC
Caused by: java.lang.NoClassDefFoundError: org/apache/flex/tools/FlexTool The terminal process "c:\Program Files\Java\jdk-11\bin\java.exe '-jar', 'c:\Users\piotr\.vscode\extensions\bowlerhatllc.vscode-nextgenas-1.6.0\bin\asconfigc.jar',
'--sdk', 'd:\Work\royale_ide\distribution', '--debug=true', '--project', 'd:\Work\royale-sources\royale-asjs\examples\jewel\TourDeJewel\asconfig.json'"
terminated with exit code: 1.
What could be wrong with generation of that distribution? Carlos doesn't have such problems...
pt., 19 lut 2021 o 12:48 Maria Jose Esteve <mj...@iest.com> napisał(a):
> Hello Chris,
> so that I can debug my changes in the SDK I need to set the path of
> the "as3mxml.sdk.editor" to the asjs directory of my fork, for this
> reason the path of the " as3mxml.sdk.framework" points to the
> directory of the maven distribution and the "as3mxml.sdk.editor" to code.
>
> ">> I'm not getting any errors from VSCode. But well ... if I hit
> SHIFT+Enter it starts doing something where if failed prior to my
> >> changes this morning and is no longer complaining, but it's also
> >> not
> doing much (I can't see it create a "bin" directory)"
>
> I don't quite understand this ... possibly because of my lack of knowledge.
>
> I have not tried Carlos's project but this afternoon I will be able to
> do it and I will be able to give more details.
>
> Thx.
> Hiedra.
>
> -----Mensaje original-----
> De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> 19 de febrero de 2021 11:51
> Para: dev@royale.apache.org
> Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>
> Hi Heidra,
>
> I just updated Carlos' example to have the same type of setting
> (C:\\Temp\\RoyaleSDK is where I have my Maven build generate the SDK):
>
> setings.js:
> {
> "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> }
>
> workspace-code-workspace
> {
> "folders": [
> {
> "path": ".."
> }
> ],
> "settings": {
> "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> }
> }
>
> I'm not getting any errors from VSCode. But well ... if I hit
> SHIFT+Enter it starts doing something where if failed prior to my
> changes this morning and is no longer complaining, but it's also not
> doing much (I can't see it create a "bin" directory)
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Maria Jose Esteve <mj...@iest.com>
> Gesendet: Freitag, 19. Februar 2021 10:53
> An: dev@royale.apache.org
> Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
>
> If I don't compile with ANT, the mxml extension in vsCode IDE, it
> doesn't recognize the valid asjs directory for "as3mxml.sdk.editor":
> ...
> "settings": {
> "as3mxml.sdk.framework":
> "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
> "as3mxml.sdk.editor":
> "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs" <--------
> [download folder repo royale-asjs]
> }
> }
>
> The error is:
> " as3mxml.sdk.editor in settings does not point to a valid SDK.
> Requires..."
>
> Thx.
> Hiedra.
>
> -----Mensaje original-----
> De: Piotr Zarzycki <pi...@gmail.com> Enviado el: viernes, 19
> de febrero de 2021 10:44
> Para: Apache Royale Development <de...@royale.apache.org>
> Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
>
> Hi Chris,
>
> I just tried your changes and I have same issue. I need to understand
> what has change enough significantly that it causes compilation fail
> in such way. It doesn't happen with SDK prepared by ANT.
>
> Thanks,
> Piotr
>
> pt., 19 lut 2021 o 10:33 Maria Jose Esteve <mj...@iest.com> napisał(a):
>
> > @Chris you're right, sorry, I didn't download your last commit.
> > I'm sorry.
> > Hiedra.
> >
> > -----Mensaje original-----
> > De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> > 19 de febrero de 2021 10:17
> > Para: dev@royale.apache.org
> > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > I'll try to guess what you wanted to say here ...
> >
> > But I think these are exactly the changes I comitted a an hour ago,
> right?
> > At least in general I replaced all the references to names with
> > versions to the changed ones.
> >
> >
> > Chris
> >
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Maria Jose Esteve <mj...@iest.com>
> > Gesendet: Freitag, 19. Februar 2021 10:01
> > An: dev@royale.apache.org
> > Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi,
> > Mi distribución hace referencia en el fichero
> > "./frameworks/royale-config.xml" a las librerías:
> >
> > <js-external-library-path>
> >
> > <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.
> > sw
> > c</path-element>
> >
> >
> <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.s
> wc</path-element>
> > </js-external-library-path>
> >
> > Las correctas son:
> >
> > <js-external-library-path>
> > <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> > <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
> > </js-external-library-path>
> >
> > Hiedra
> >
> > -----Mensaje original-----
> > De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> > 19 de febrero de 2021 9:39
> > Para: dev@royale.apache.org
> > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > Ok,
> >
> > so the config xml files in the distribution were still pointing to
> > the old names. I updated them all to now refer to the names.
> > I tried things in Carlos' demo project, and I'm no-longer getting
> > the errors, however compilation seems to take for ever.
> >
> > Please try out the changes and tell me if there are any problems
> > with
> them.
> >
> > Chris
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Christofer Dutz <ch...@c-ware.de>
> > Gesendet: Donnerstag, 18. Februar 2021 23:17
> > An: dev@royale.apache.org
> > Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi Carlos,
> >
> > I'll look into this tomorrow.
> >
> > Chris
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Carlos Rovira <ca...@apache.org>
> > Gesendet: Donnerstag, 18. Februar 2021 17:49
> > An: Apache Royale Development <de...@royale.apache.org>
> > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi, I think I talked very quickly, sorry, there seems to be a problem.
> >
> > @Christofer Dutz <ch...@c-ware.de> you can download this
> > project:
> >
> >
> > https://github.com/apache/royale-asjs/files/6004363/ToggleButtonBarI
> > ss
> > ue.zip
> >
> > Then using VSCode with AS3&MXML and adding the Maven distribution.
> > Then hit CTRL+ENTER and you will get the following fail. Using ANT
> > distribution is working fine.
> > Can you take a look?
> >
> > Royale Compiler Shell
> > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> > --source-map=true
> > --html-template=src/html/jewel-example-index-template.html
> >
> > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/
> > sr
> > c/main/resources/defaults.css
> > --source-path+=src
> > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> > -js-dynamic-access-unknown-members=true -- src/App.mxml
> > fcsh: Assigned 1 as the compile target id The project 'App' has been
> > successfully compiled and optimized.
> > Compile status: 0
> > Elapsed time: 14.211105399 seconds
> > Feb 18, 2021 5:43:40 PM
> > com.google.javascript.jscomp.LoggerErrorManager
> > printSummary
> > INFO: 0 error(s), 0 warning(s), 96.5% typed
> > (fcsh) quit
> > Compiler shell exited with code: 0
> > Royale Compiler Shell
> > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> > --source-map=true
> > --html-template=src/html/jewel-example-index-template.html
> >
> > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/
> > sr
> > c/main/resources/defaults.css
> > --source-path+=src
> > --source-path+--library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> > -js-dynamic-access-unknown-members=true -- src/App.mxml
> > fcsh: Assigned 1 as the compile target id Compile status: 5 Elapsed time:
> > 0.618407478 seconds
> >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > col: 0 Error: unable to open
> >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
> >
> > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/r
> > oy
> > ale-config.xml
> > (line: 81)
> >
> > </js-external-library-path>
> >
> >
> >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > col: 0 Error: unable to open
> >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
> >
> > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/r
> > oy
> > ale-config.xml
> > (line: 81)
> >
> > </js-external-library-path>
> > (fcsh)
> > Quick Compile failed. Errors in compiler output.
> >
> > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
> > (<ca...@apache.org>)
> > escribió:
> >
> > > Hi,
> > >
> > > I rebuilt all from scratch just now and finally the distribution
> > > too and tried in VSCode and all seems to work fine for me.
> > >
> > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> > > christofer.dutz@c-ware.de>) escribió:
> > >
> > >> Hi Piotr,
> > >>
> > >> that class is located in lib\external\flex-tool-api.jar At least
> > >> in my distribution it's there and it contains the class.
> > >>
> > >> How are you calling the build that's failing?
> > >>
> > >> Chris
> > >>
> > >> -----Ursprüngliche Nachricht-----
> > >> Von: Piotr Zarzycki <pi...@gmail.com>
> > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> > >> An: Apache Royale Development <de...@royale.apache.org>
> > >> Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> distribution
> > >>
> > >> Chris,
> > >>
> > >> I just checked and I'm not able build project anymore using
> > distribution:
> > >>
> > >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
> > >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m
> > >> -Xmx3000m
> > >> : Error: Could not find or load main class
> > >> org.apache.royale.compiler.clients.MXMLJSC
> > >> : Caused by: java.lang.NoClassDefFoundError:
> > >> org/apache/flex/tools/FlexTool
> > >>
> > >> I'm done for today, so I will answer anything tomorrow.
> > >>
> > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
> > >> <ch...@c-ware.de>
> > >> napisał(a):
> > >>
> > >> > Ok ...
> > >> >
> > >> > so I just pushed another change. Now the distribution should
> > >> > also contain an empty spark.css, just like the Ant one.
> > >> >
> > >> > Chris
> > >> >
> > >> >
> > >> > -----Ursprüngliche Nachricht-----
> > >> > Von: Christofer Dutz <ch...@c-ware.de>
> > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> > >> > An: dev@royale.apache.org
> > >> > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > >> > distribution
> > >> >
> > >> > Ok,
> > >> >
> > >> > so that should now be fixed. Leaves the "spark.css"
> > >> > Having had a look, it seems as if the Ant build creates an
> > >> > empty
> > >> spark.css.
> > >> >
> > >> > Is this all we need? If yes, then I'll have that in ther in no time.
> > >> >
> > >> > Chris
> > >> >
> > >> > -----Ursprüngliche Nachricht-----
> > >> > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> > >> > An: Apache Royale Development <de...@royale.apache.org>
> > >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > distribution
> > >> >
> > >> > *(I assume that's in the "frameworks/js/libs" directory? *
> > >> >
> > >> > Yes this is the directory.
> > >> >
> > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> > >> > <ch...@c-ware.de>
> > >> > napisał(a):
> > >> >
> > >> > > Hi Piotr,
> > >> > >
> > >> > > Ok ... so Ant seems to be adding a "JS" to the end of every
> > >> > > name (I assume that's in the "frameworks/js/libs" directory?
> > >> > >
> > >> > > Also I'll try to find out where the "spark.css" should come
> > >> > > from
> ...
> > >> > > and where it should go to.
> > >> > >
> > >> > > Chris
> > >> > >
> > >> > >
> > >> > > -----Ursprüngliche Nachricht-----
> > >> > > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> > >> > > An: Apache Royale Development <de...@royale.apache.org>
> > >> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > > distribution
> > >> > >
> > >> > > Chris,
> > >> > >
> > >> > > Looks better but here is the comparision what I have in Ant
> > >> > > distribution vs Maven distribution in case of names. On the
> > >> > > left Ant distribution, on the right Maven. It is folder:
> > >> > > frameworks\js\libs\ [1]
> > >> > >
> > >> > > [1] https://ibb.co/W2DzcDb
> > >> > >
> > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> > >> > > <ch...@c-ware.de>
> > >> > > napisał(a):
> > >> > >
> > >> > > > And done ...
> > >> > > >
> > >> > > > Now all elements in the distribution only consist of their
> > >> > > > name and file-ending ... all versions and classifiers have
> > >> > > > been
> > removed.
> > >> > > > Please provide me with feedback on if this solves the issues.
> > >> > > >
> > >> > > > Chris
> > >> > > >
> > >> > > >
> > >> > > > -----Ursprüngliche Nachricht-----
> > >> > > > Von: Christofer Dutz <ch...@c-ware.de>
> > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> > >> > > > An: dev@royale.apache.org
> > >> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > >> > > > distribution
> > >> > > >
> > >> > > > I'll probably have a fix for that in a few minuntes ...
> > >> > > >
> > >> > > >
> > >> > > > Chris
> > >> > > >
> > >> > > >
> > >> > > > -----Ursprüngliche Nachricht-----
> > >> > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> > >> > > > An: Apache Royale Development <de...@royale.apache.org>
> > >> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > > > distribution
> > >> > > >
> > >> > > > Chris,
> > >> > > >
> > >> > > > No it's not about not picking up by IDE at all. Moonshine
> > >> > > > and VSCode are able to build projects using Maven
> > >> > > > distribution package! It is about project which are mixed
> > >> > > > for example when user wanted to use Jewel module +
> > >> > > > RemoteObject class from MXRoyale module. In that case user
> > >> > > > need to point explicilty as a compiler options in IDE that
> > >> > > > he wanted to have SWC included and need to exclude css from
> > >> > > > that swc to
> > >> > > avoid problems.
> > >> > > >
> > >> > > > It is happen like that:
> > >> > > >
> > >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > >> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> > >> > > > cs
> > >> > > > s
> > >> > > >
> > >> > > > If I would like to use maven distribution user need to know
> > >> > > > version for that compiler options. It is even more tricky
> > >> > > > when your swc is called
> > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> > >> > > >
> > >> > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.
> > >> > > > cs
> > >> > > > s
> > >> > > >
> > >> > > > Thanks,
> > >> > > > Piotr
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> > >> > > > <ch...@c-ware.de>
> > >> > > > napisał(a):
> > >> > > >
> > >> > > > > Hi Piotr,
> > >> > > > >
> > >> > > > > And is really the version-suffix causing it to not be
> > >> > > > > picked up by the IDEs?
> > >> > > > >
> > >> > > > > Chris
> > >> > > > >
> > >> > > > > -----Ursprüngliche Nachricht-----
> > >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> > >> > > > > An: dev@royale.apache.org
> > >> > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > > > > distribution
> > >> > > > >
> > >> > > > > Hi Chris,
> > >> > > > >
> > >> > > > > This is the only thing which seems to be a constant
> > >> > > > > problem
> > here.
> > >> > > > > I personally and some users will be much more happy
> > >> > > > > having that
> > >> > change.
> > >> > > > >
> > >> > > > > Thanks,
> > >> > > > > Piotr
> > >> > > > >
> > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> > >> > > > > <ch...@c-ware.de>
> > >> > > > > wrote:
> > >> > > > >
> > >> > > > > > Hi Piotr,
> > >> > > > > >
> > >> > > > > > I'd be happy to help with that.
> > >> > > > > >
> > >> > > > > > I did simply ask for a list of things that need to be
> > >> > > > > > changed in order to get things working, but never got
> > >> > > > > > said list, so I never knew what I could do to make the
> > >> > > > > > Maven distribution match up to the
> > >> > > > Ant built one.
> > >> > > > > >
> > >> > > > > > Chris
> > >> > > > > >
> > >> > > > > >
> > >> > > > > > -----Ursprüngliche Nachricht-----
> > >> > > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> > >> > > > > > An: Apache Royale Development <de...@royale.apache.org>
> > >> > > > > > Betreff: Align Maven IDE distribution with Ant IDE
> > >> > > > > > distribution
> > >> > > > > >
> > >> > > > > > Hi Guys,
> > >> > > > > >
> > >> > > > > > It's been couple of times when user complains that he
> > >> > > > > > have problems with using Maven distribution vs Ant
> > >> > > > > > distribution in IDE in a mixed project Jewel + MX/Spark etc.
> > >> > > > > >
> > >> > > > > > Can we have that resolve once for all and adjust Maven
> > >> > > > > > distribution folder to produce proper names of swcs ?
> > >> > > > > >
> > >> > > > > > Currently when I build Maven IDE distribution I have:
> > >> > > > > >
> > >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> > >> > > > > >
> > >> > > > > > When I build Ant IDE distribution I have:
> > >> > > > > >
> > >> > > > > > MXRoyale-js.swc
> > >> > > > > >
> > >> > > > > > Thanks,
> > >> > > > > > --
> > >> > > > > >
> > >> > > > > > Piotr Zarzycki
> > >> > > > > >
> > >> > > > > --
> > >> > > > >
> > >> > > > > Piotr Zarzycki
> > >> > > > >
> > >> > > >
> > >> > > >
> > >> > > > --
> > >> > > >
> > >> > > > Piotr Zarzycki
> > >> > > >
> > >> > >
> > >> > >
> > >> > > --
> > >> > >
> > >> > > Piotr Zarzycki
> > >> > >
> > >> >
> > >> >
> > >> > --
> > >> >
> > >> > Piotr Zarzycki
> > >> >
> > >>
> > >>
> > >> --
> > >>
> > >> Piotr Zarzycki
> > >>
> > >
> > >
> > > --
> > > Carlos Rovira
> > > Apache Member & Apache Royale PMC
> > > *Apache Software Foundation*
> > > http://about.me/carlosrovira
> > >
> > >
> >
> > --
> > Carlos Rovira
> > Apache Member & Apache Royale PMC
> > *Apache Software Foundation*
> > http://about.me/carlosrovira
> >
>
>
> --
>
> Piotr Zarzycki
>
--
Piotr Zarzycki
Re: Align Maven IDE distribution with Ant IDE distribution
Posted by Piotr Zarzycki <pi...@gmail.com>.
I just tried generated distribution in VSCode to build TourDeJewel and I
have the same results!
> Executing task: c:\Program Files\Java\jdk-11\bin\java.exe -jar
c:\Users\piotr\.vscode\extensions\bowlerhatllc.vscode-nextgenas-1.6.0\bin\asconfigc.jar
--sdk d:\Work\royale_ide\distribution --debug=true --project
d:\Work\royale-sources\royale-asjs\examples\jewel\TourDeJewel\asconfig.json
<
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m -Xmx3000m
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m -Xmx3000m
Error: Could not find or load main class
org.apache.royale.compiler.clients.MXMLJSC
Caused by: java.lang.NoClassDefFoundError: org/apache/flex/tools/FlexTool
The terminal process "c:\Program Files\Java\jdk-11\bin\java.exe '-jar',
'c:\Users\piotr\.vscode\extensions\bowlerhatllc.vscode-nextgenas-1.6.0\bin\asconfigc.jar',
'--sdk', 'd:\Work\royale_ide\distribution', '--debug=true', '--project',
'd:\Work\royale-sources\royale-asjs\examples\jewel\TourDeJewel\asconfig.json'"
terminated with exit code: 1.
What could be wrong with generation of that distribution? Carlos doesn't
have such problems...
pt., 19 lut 2021 o 12:48 Maria Jose Esteve <mj...@iest.com> napisał(a):
> Hello Chris,
> so that I can debug my changes in the SDK I need to set the path of the
> "as3mxml.sdk.editor" to the asjs directory of my fork, for this reason the
> path of the " as3mxml.sdk.framework" points to the directory of the maven
> distribution and the "as3mxml.sdk.editor" to code.
>
> ">> I'm not getting any errors from VSCode. But well ... if I hit
> SHIFT+Enter it starts doing something where if failed prior to my
> >> changes this morning and is no longer complaining, but it's also not
> doing much (I can't see it create a "bin" directory)"
>
> I don't quite understand this ... possibly because of my lack of knowledge.
>
> I have not tried Carlos's project but this afternoon I will be able to do
> it and I will be able to give more details.
>
> Thx.
> Hiedra.
>
> -----Mensaje original-----
> De: Christofer Dutz <ch...@c-ware.de>
> Enviado el: viernes, 19 de febrero de 2021 11:51
> Para: dev@royale.apache.org
> Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>
> Hi Heidra,
>
> I just updated Carlos' example to have the same type of setting
> (C:\\Temp\\RoyaleSDK is where I have my Maven build generate the SDK):
>
> setings.js:
> {
> "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> }
>
> workspace-code-workspace
> {
> "folders": [
> {
> "path": ".."
> }
> ],
> "settings": {
> "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> }
> }
>
> I'm not getting any errors from VSCode. But well ... if I hit SHIFT+Enter
> it starts doing something where if failed prior to my changes this morning
> and is no longer complaining, but it's also not doing much (I can't see it
> create a "bin" directory)
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Maria Jose Esteve <mj...@iest.com>
> Gesendet: Freitag, 19. Februar 2021 10:53
> An: dev@royale.apache.org
> Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
>
> If I don't compile with ANT, the mxml extension in vsCode IDE, it doesn't
> recognize the valid asjs directory for "as3mxml.sdk.editor":
> ...
> "settings": {
> "as3mxml.sdk.framework":
> "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
> "as3mxml.sdk.editor":
> "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs" <-------- [download
> folder repo royale-asjs]
> }
> }
>
> The error is:
> " as3mxml.sdk.editor in settings does not point to a valid SDK.
> Requires..."
>
> Thx.
> Hiedra.
>
> -----Mensaje original-----
> De: Piotr Zarzycki <pi...@gmail.com> Enviado el: viernes, 19 de
> febrero de 2021 10:44
> Para: Apache Royale Development <de...@royale.apache.org>
> Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
>
> Hi Chris,
>
> I just tried your changes and I have same issue. I need to understand what
> has change enough significantly that it causes compilation fail in such
> way. It doesn't happen with SDK prepared by ANT.
>
> Thanks,
> Piotr
>
> pt., 19 lut 2021 o 10:33 Maria Jose Esteve <mj...@iest.com> napisał(a):
>
> > @Chris you're right, sorry, I didn't download your last commit.
> > I'm sorry.
> > Hiedra.
> >
> > -----Mensaje original-----
> > De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> > 19 de febrero de 2021 10:17
> > Para: dev@royale.apache.org
> > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > I'll try to guess what you wanted to say here ...
> >
> > But I think these are exactly the changes I comitted a an hour ago,
> right?
> > At least in general I replaced all the references to names with
> > versions to the changed ones.
> >
> >
> > Chris
> >
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Maria Jose Esteve <mj...@iest.com>
> > Gesendet: Freitag, 19. Februar 2021 10:01
> > An: dev@royale.apache.org
> > Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi,
> > Mi distribución hace referencia en el fichero
> > "./frameworks/royale-config.xml" a las librerías:
> >
> > <js-external-library-path>
> >
> > <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.sw
> > c</path-element>
> >
> >
> <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc</path-element>
> > </js-external-library-path>
> >
> > Las correctas son:
> >
> > <js-external-library-path>
> > <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> > <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
> > </js-external-library-path>
> >
> > Hiedra
> >
> > -----Mensaje original-----
> > De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> > 19 de febrero de 2021 9:39
> > Para: dev@royale.apache.org
> > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > Ok,
> >
> > so the config xml files in the distribution were still pointing to the
> > old names. I updated them all to now refer to the names.
> > I tried things in Carlos' demo project, and I'm no-longer getting the
> > errors, however compilation seems to take for ever.
> >
> > Please try out the changes and tell me if there are any problems with
> them.
> >
> > Chris
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Christofer Dutz <ch...@c-ware.de>
> > Gesendet: Donnerstag, 18. Februar 2021 23:17
> > An: dev@royale.apache.org
> > Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi Carlos,
> >
> > I'll look into this tomorrow.
> >
> > Chris
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Carlos Rovira <ca...@apache.org>
> > Gesendet: Donnerstag, 18. Februar 2021 17:49
> > An: Apache Royale Development <de...@royale.apache.org>
> > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi, I think I talked very quickly, sorry, there seems to be a problem.
> >
> > @Christofer Dutz <ch...@c-ware.de> you can download this
> > project:
> >
> >
> > https://github.com/apache/royale-asjs/files/6004363/ToggleButtonBarIss
> > ue.zip
> >
> > Then using VSCode with AS3&MXML and adding the Maven distribution.
> > Then hit CTRL+ENTER and you will get the following fail. Using ANT
> > distribution is working fine.
> > Can you take a look?
> >
> > Royale Compiler Shell
> > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> > --source-map=true
> > --html-template=src/html/jewel-example-index-template.html
> >
> > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/sr
> > c/main/resources/defaults.css
> > --source-path+=src --library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> > -js-dynamic-access-unknown-members=true -- src/App.mxml
> > fcsh: Assigned 1 as the compile target id The project 'App' has been
> > successfully compiled and optimized.
> > Compile status: 0
> > Elapsed time: 14.211105399 seconds
> > Feb 18, 2021 5:43:40 PM
> > com.google.javascript.jscomp.LoggerErrorManager
> > printSummary
> > INFO: 0 error(s), 0 warning(s), 96.5% typed
> > (fcsh) quit
> > Compiler shell exited with code: 0
> > Royale Compiler Shell
> > (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> > --source-map=true
> > --html-template=src/html/jewel-example-index-template.html
> >
> > --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/sr
> > c/main/resources/defaults.css
> > --source-path+=src --library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> > -js-dynamic-access-unknown-members=true -- src/App.mxml
> > fcsh: Assigned 1 as the compile target id Compile status: 5 Elapsed time:
> > 0.618407478 seconds
> >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > col: 0 Error: unable to open
> >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
> >
> > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/roy
> > ale-config.xml
> > (line: 81)
> >
> > </js-external-library-path>
> >
> >
> >
> >
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> > col: 0 Error: unable to open
> >
> >
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
> >
> > /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/roy
> > ale-config.xml
> > (line: 81)
> >
> > </js-external-library-path>
> > (fcsh)
> > Quick Compile failed. Errors in compiler output.
> >
> > El jue, 18 feb 2021 a las 17:26, Carlos Rovira
> > (<ca...@apache.org>)
> > escribió:
> >
> > > Hi,
> > >
> > > I rebuilt all from scratch just now and finally the distribution too
> > > and tried in VSCode and all seems to work fine for me.
> > >
> > > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> > > christofer.dutz@c-ware.de>) escribió:
> > >
> > >> Hi Piotr,
> > >>
> > >> that class is located in lib\external\flex-tool-api.jar At least in
> > >> my distribution it's there and it contains the class.
> > >>
> > >> How are you calling the build that's failing?
> > >>
> > >> Chris
> > >>
> > >> -----Ursprüngliche Nachricht-----
> > >> Von: Piotr Zarzycki <pi...@gmail.com>
> > >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> > >> An: Apache Royale Development <de...@royale.apache.org>
> > >> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> > >>
> > >> Chris,
> > >>
> > >> I just checked and I'm not able build project anymore using
> > distribution:
> > >>
> > >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
> > >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m
> > >> -Xmx3000m
> > >> : Error: Could not find or load main class
> > >> org.apache.royale.compiler.clients.MXMLJSC
> > >> : Caused by: java.lang.NoClassDefFoundError:
> > >> org/apache/flex/tools/FlexTool
> > >>
> > >> I'm done for today, so I will answer anything tomorrow.
> > >>
> > >> czw., 18 lut 2021 o 16:05 Christofer Dutz
> > >> <ch...@c-ware.de>
> > >> napisał(a):
> > >>
> > >> > Ok ...
> > >> >
> > >> > so I just pushed another change. Now the distribution should also
> > >> > contain an empty spark.css, just like the Ant one.
> > >> >
> > >> > Chris
> > >> >
> > >> >
> > >> > -----Ursprüngliche Nachricht-----
> > >> > Von: Christofer Dutz <ch...@c-ware.de>
> > >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> > >> > An: dev@royale.apache.org
> > >> > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > >> > distribution
> > >> >
> > >> > Ok,
> > >> >
> > >> > so that should now be fixed. Leaves the "spark.css"
> > >> > Having had a look, it seems as if the Ant build creates an empty
> > >> spark.css.
> > >> >
> > >> > Is this all we need? If yes, then I'll have that in ther in no time.
> > >> >
> > >> > Chris
> > >> >
> > >> > -----Ursprüngliche Nachricht-----
> > >> > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> > >> > An: Apache Royale Development <de...@royale.apache.org>
> > >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > distribution
> > >> >
> > >> > *(I assume that's in the "frameworks/js/libs" directory? *
> > >> >
> > >> > Yes this is the directory.
> > >> >
> > >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> > >> > <ch...@c-ware.de>
> > >> > napisał(a):
> > >> >
> > >> > > Hi Piotr,
> > >> > >
> > >> > > Ok ... so Ant seems to be adding a "JS" to the end of every
> > >> > > name (I assume that's in the "frameworks/js/libs" directory?
> > >> > >
> > >> > > Also I'll try to find out where the "spark.css" should come from
> ...
> > >> > > and where it should go to.
> > >> > >
> > >> > > Chris
> > >> > >
> > >> > >
> > >> > > -----Ursprüngliche Nachricht-----
> > >> > > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> > >> > > An: Apache Royale Development <de...@royale.apache.org>
> > >> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > > distribution
> > >> > >
> > >> > > Chris,
> > >> > >
> > >> > > Looks better but here is the comparision what I have in Ant
> > >> > > distribution vs Maven distribution in case of names. On the
> > >> > > left Ant distribution, on the right Maven. It is folder:
> > >> > > frameworks\js\libs\ [1]
> > >> > >
> > >> > > [1] https://ibb.co/W2DzcDb
> > >> > >
> > >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> > >> > > <ch...@c-ware.de>
> > >> > > napisał(a):
> > >> > >
> > >> > > > And done ...
> > >> > > >
> > >> > > > Now all elements in the distribution only consist of their
> > >> > > > name and file-ending ... all versions and classifiers have
> > >> > > > been
> > removed.
> > >> > > > Please provide me with feedback on if this solves the issues.
> > >> > > >
> > >> > > > Chris
> > >> > > >
> > >> > > >
> > >> > > > -----Ursprüngliche Nachricht-----
> > >> > > > Von: Christofer Dutz <ch...@c-ware.de>
> > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> > >> > > > An: dev@royale.apache.org
> > >> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > >> > > > distribution
> > >> > > >
> > >> > > > I'll probably have a fix for that in a few minuntes ...
> > >> > > >
> > >> > > >
> > >> > > > Chris
> > >> > > >
> > >> > > >
> > >> > > > -----Ursprüngliche Nachricht-----
> > >> > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> > >> > > > An: Apache Royale Development <de...@royale.apache.org>
> > >> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > > > distribution
> > >> > > >
> > >> > > > Chris,
> > >> > > >
> > >> > > > No it's not about not picking up by IDE at all. Moonshine and
> > >> > > > VSCode are able to build projects using Maven distribution
> > >> > > > package! It is about project which are mixed for example when
> > >> > > > user wanted to use Jewel module + RemoteObject class from
> > >> > > > MXRoyale module. In that case user need to point explicilty
> > >> > > > as a compiler options in IDE that he wanted to have SWC
> > >> > > > included and need to exclude css from that swc to
> > >> > > avoid problems.
> > >> > > >
> > >> > > > It is happen like that:
> > >> > > >
> > >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > >> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> > >> > > > cs
> > >> > > > s
> > >> > > >
> > >> > > > If I would like to use maven distribution user need to know
> > >> > > > version for that compiler options. It is even more tricky
> > >> > > > when your swc is called
> > >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> > >> > > >
> > >> > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.cs
> > >> > > > s
> > >> > > >
> > >> > > > Thanks,
> > >> > > > Piotr
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> > >> > > > <ch...@c-ware.de>
> > >> > > > napisał(a):
> > >> > > >
> > >> > > > > Hi Piotr,
> > >> > > > >
> > >> > > > > And is really the version-suffix causing it to not be
> > >> > > > > picked up by the IDEs?
> > >> > > > >
> > >> > > > > Chris
> > >> > > > >
> > >> > > > > -----Ursprüngliche Nachricht-----
> > >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> > >> > > > > An: dev@royale.apache.org
> > >> > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > >> > > > > distribution
> > >> > > > >
> > >> > > > > Hi Chris,
> > >> > > > >
> > >> > > > > This is the only thing which seems to be a constant problem
> > here.
> > >> > > > > I personally and some users will be much more happy having
> > >> > > > > that
> > >> > change.
> > >> > > > >
> > >> > > > > Thanks,
> > >> > > > > Piotr
> > >> > > > >
> > >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> > >> > > > > <ch...@c-ware.de>
> > >> > > > > wrote:
> > >> > > > >
> > >> > > > > > Hi Piotr,
> > >> > > > > >
> > >> > > > > > I'd be happy to help with that.
> > >> > > > > >
> > >> > > > > > I did simply ask for a list of things that need to be
> > >> > > > > > changed in order to get things working, but never got
> > >> > > > > > said list, so I never knew what I could do to make the
> > >> > > > > > Maven distribution match up to the
> > >> > > > Ant built one.
> > >> > > > > >
> > >> > > > > > Chris
> > >> > > > > >
> > >> > > > > >
> > >> > > > > > -----Ursprüngliche Nachricht-----
> > >> > > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> > >> > > > > > An: Apache Royale Development <de...@royale.apache.org>
> > >> > > > > > Betreff: Align Maven IDE distribution with Ant IDE
> > >> > > > > > distribution
> > >> > > > > >
> > >> > > > > > Hi Guys,
> > >> > > > > >
> > >> > > > > > It's been couple of times when user complains that he
> > >> > > > > > have problems with using Maven distribution vs Ant
> > >> > > > > > distribution in IDE in a mixed project Jewel + MX/Spark etc.
> > >> > > > > >
> > >> > > > > > Can we have that resolve once for all and adjust Maven
> > >> > > > > > distribution folder to produce proper names of swcs ?
> > >> > > > > >
> > >> > > > > > Currently when I build Maven IDE distribution I have:
> > >> > > > > >
> > >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> > >> > > > > >
> > >> > > > > > When I build Ant IDE distribution I have:
> > >> > > > > >
> > >> > > > > > MXRoyale-js.swc
> > >> > > > > >
> > >> > > > > > Thanks,
> > >> > > > > > --
> > >> > > > > >
> > >> > > > > > Piotr Zarzycki
> > >> > > > > >
> > >> > > > > --
> > >> > > > >
> > >> > > > > Piotr Zarzycki
> > >> > > > >
> > >> > > >
> > >> > > >
> > >> > > > --
> > >> > > >
> > >> > > > Piotr Zarzycki
> > >> > > >
> > >> > >
> > >> > >
> > >> > > --
> > >> > >
> > >> > > Piotr Zarzycki
> > >> > >
> > >> >
> > >> >
> > >> > --
> > >> >
> > >> > Piotr Zarzycki
> > >> >
> > >>
> > >>
> > >> --
> > >>
> > >> Piotr Zarzycki
> > >>
> > >
> > >
> > > --
> > > Carlos Rovira
> > > Apache Member & Apache Royale PMC
> > > *Apache Software Foundation*
> > > http://about.me/carlosrovira
> > >
> > >
> >
> > --
> > Carlos Rovira
> > Apache Member & Apache Royale PMC
> > *Apache Software Foundation*
> > http://about.me/carlosrovira
> >
>
>
> --
>
> Piotr Zarzycki
>
--
Piotr Zarzycki
RE: Align Maven IDE distribution with Ant IDE distribution
Posted by Maria Jose Esteve <mj...@iest.com>.
Hello Chris,
so that I can debug my changes in the SDK I need to set the path of the "as3mxml.sdk.editor" to the asjs directory of my fork, for this reason the path of the " as3mxml.sdk.framework" points to the directory of the maven distribution and the "as3mxml.sdk.editor" to code.
">> I'm not getting any errors from VSCode. But well ... if I hit SHIFT+Enter it starts doing something where if failed prior to my
>> changes this morning and is no longer complaining, but it's also not doing much (I can't see it create a "bin" directory)"
I don't quite understand this ... possibly because of my lack of knowledge.
I have not tried Carlos's project but this afternoon I will be able to do it and I will be able to give more details.
Thx.
Hiedra.
-----Mensaje original-----
De: Christofer Dutz <ch...@c-ware.de>
Enviado el: viernes, 19 de febrero de 2021 11:51
Para: dev@royale.apache.org
Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
Hi Heidra,
I just updated Carlos' example to have the same type of setting (C:\\Temp\\RoyaleSDK is where I have my Maven build generate the SDK):
setings.js:
{
"as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
"as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
}
workspace-code-workspace
{
"folders": [
{
"path": ".."
}
],
"settings": {
"as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
"as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
}
}
I'm not getting any errors from VSCode. But well ... if I hit SHIFT+Enter it starts doing something where if failed prior to my changes this morning and is no longer complaining, but it's also not doing much (I can't see it create a "bin" directory)
Chris
-----Ursprüngliche Nachricht-----
Von: Maria Jose Esteve <mj...@iest.com>
Gesendet: Freitag, 19. Februar 2021 10:53
An: dev@royale.apache.org
Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
If I don't compile with ANT, the mxml extension in vsCode IDE, it doesn't recognize the valid asjs directory for "as3mxml.sdk.editor":
...
"settings": {
"as3mxml.sdk.framework": "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
"as3mxml.sdk.editor": "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs" <-------- [download folder repo royale-asjs]
}
}
The error is:
" as3mxml.sdk.editor in settings does not point to a valid SDK. Requires..."
Thx.
Hiedra.
-----Mensaje original-----
De: Piotr Zarzycki <pi...@gmail.com> Enviado el: viernes, 19 de febrero de 2021 10:44
Para: Apache Royale Development <de...@royale.apache.org>
Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
Hi Chris,
I just tried your changes and I have same issue. I need to understand what has change enough significantly that it causes compilation fail in such way. It doesn't happen with SDK prepared by ANT.
Thanks,
Piotr
pt., 19 lut 2021 o 10:33 Maria Jose Esteve <mj...@iest.com> napisał(a):
> @Chris you're right, sorry, I didn't download your last commit.
> I'm sorry.
> Hiedra.
>
> -----Mensaje original-----
> De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> 19 de febrero de 2021 10:17
> Para: dev@royale.apache.org
> Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>
> I'll try to guess what you wanted to say here ...
>
> But I think these are exactly the changes I comitted a an hour ago, right?
> At least in general I replaced all the references to names with
> versions to the changed ones.
>
>
> Chris
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Maria Jose Esteve <mj...@iest.com>
> Gesendet: Freitag, 19. Februar 2021 10:01
> An: dev@royale.apache.org
> Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
>
> Hi,
> Mi distribución hace referencia en el fichero
> "./frameworks/royale-config.xml" a las librerías:
>
> <js-external-library-path>
>
> <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.sw
> c</path-element>
>
> <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc</path-element>
> </js-external-library-path>
>
> Las correctas son:
>
> <js-external-library-path>
> <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
> </js-external-library-path>
>
> Hiedra
>
> -----Mensaje original-----
> De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> 19 de febrero de 2021 9:39
> Para: dev@royale.apache.org
> Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>
> Ok,
>
> so the config xml files in the distribution were still pointing to the
> old names. I updated them all to now refer to the names.
> I tried things in Carlos' demo project, and I'm no-longer getting the
> errors, however compilation seems to take for ever.
>
> Please try out the changes and tell me if there are any problems with them.
>
> Chris
>
> -----Ursprüngliche Nachricht-----
> Von: Christofer Dutz <ch...@c-ware.de>
> Gesendet: Donnerstag, 18. Februar 2021 23:17
> An: dev@royale.apache.org
> Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
>
> Hi Carlos,
>
> I'll look into this tomorrow.
>
> Chris
>
> -----Ursprüngliche Nachricht-----
> Von: Carlos Rovira <ca...@apache.org>
> Gesendet: Donnerstag, 18. Februar 2021 17:49
> An: Apache Royale Development <de...@royale.apache.org>
> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>
> Hi, I think I talked very quickly, sorry, there seems to be a problem.
>
> @Christofer Dutz <ch...@c-ware.de> you can download this
> project:
>
>
> https://github.com/apache/royale-asjs/files/6004363/ToggleButtonBarIss
> ue.zip
>
> Then using VSCode with AS3&MXML and adding the Maven distribution.
> Then hit CTRL+ENTER and you will get the following fail. Using ANT
> distribution is working fine.
> Can you take a look?
>
> Royale Compiler Shell
> (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> --source-map=true
> --html-template=src/html/jewel-example-index-template.html
>
> --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/sr
> c/main/resources/defaults.css
> --source-path+=src --library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> -js-dynamic-access-unknown-members=true -- src/App.mxml
> fcsh: Assigned 1 as the compile target id The project 'App' has been
> successfully compiled and optimized.
> Compile status: 0
> Elapsed time: 14.211105399 seconds
> Feb 18, 2021 5:43:40 PM
> com.google.javascript.jscomp.LoggerErrorManager
> printSummary
> INFO: 0 error(s), 0 warning(s), 96.5% typed
> (fcsh) quit
> Compiler shell exited with code: 0
> Royale Compiler Shell
> (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> --source-map=true
> --html-template=src/html/jewel-example-index-template.html
>
> --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/sr
> c/main/resources/defaults.css
> --source-path+=src --library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> -js-dynamic-access-unknown-members=true -- src/App.mxml
> fcsh: Assigned 1 as the compile target id Compile status: 5 Elapsed time:
> 0.618407478 seconds
>
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> col: 0 Error: unable to open
>
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
>
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/roy
> ale-config.xml
> (line: 81)
>
> </js-external-library-path>
>
>
>
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> col: 0 Error: unable to open
>
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
>
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/roy
> ale-config.xml
> (line: 81)
>
> </js-external-library-path>
> (fcsh)
> Quick Compile failed. Errors in compiler output.
>
> El jue, 18 feb 2021 a las 17:26, Carlos Rovira
> (<ca...@apache.org>)
> escribió:
>
> > Hi,
> >
> > I rebuilt all from scratch just now and finally the distribution too
> > and tried in VSCode and all seems to work fine for me.
> >
> > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> > christofer.dutz@c-ware.de>) escribió:
> >
> >> Hi Piotr,
> >>
> >> that class is located in lib\external\flex-tool-api.jar At least in
> >> my distribution it's there and it contains the class.
> >>
> >> How are you calling the build that's failing?
> >>
> >> Chris
> >>
> >> -----Ursprüngliche Nachricht-----
> >> Von: Piotr Zarzycki <pi...@gmail.com>
> >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> >> An: Apache Royale Development <de...@royale.apache.org>
> >> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> >>
> >> Chris,
> >>
> >> I just checked and I'm not able build project anymore using
> distribution:
> >>
> >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
> >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m
> >> -Xmx3000m
> >> : Error: Could not find or load main class
> >> org.apache.royale.compiler.clients.MXMLJSC
> >> : Caused by: java.lang.NoClassDefFoundError:
> >> org/apache/flex/tools/FlexTool
> >>
> >> I'm done for today, so I will answer anything tomorrow.
> >>
> >> czw., 18 lut 2021 o 16:05 Christofer Dutz
> >> <ch...@c-ware.de>
> >> napisał(a):
> >>
> >> > Ok ...
> >> >
> >> > so I just pushed another change. Now the distribution should also
> >> > contain an empty spark.css, just like the Ant one.
> >> >
> >> > Chris
> >> >
> >> >
> >> > -----Ursprüngliche Nachricht-----
> >> > Von: Christofer Dutz <ch...@c-ware.de>
> >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> >> > An: dev@royale.apache.org
> >> > Betreff: AW: Align Maven IDE distribution with Ant IDE
> >> > distribution
> >> >
> >> > Ok,
> >> >
> >> > so that should now be fixed. Leaves the "spark.css"
> >> > Having had a look, it seems as if the Ant build creates an empty
> >> spark.css.
> >> >
> >> > Is this all we need? If yes, then I'll have that in ther in no time.
> >> >
> >> > Chris
> >> >
> >> > -----Ursprüngliche Nachricht-----
> >> > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> >> > An: Apache Royale Development <de...@royale.apache.org>
> >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > distribution
> >> >
> >> > *(I assume that's in the "frameworks/js/libs" directory? *
> >> >
> >> > Yes this is the directory.
> >> >
> >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> >> > <ch...@c-ware.de>
> >> > napisał(a):
> >> >
> >> > > Hi Piotr,
> >> > >
> >> > > Ok ... so Ant seems to be adding a "JS" to the end of every
> >> > > name (I assume that's in the "frameworks/js/libs" directory?
> >> > >
> >> > > Also I'll try to find out where the "spark.css" should come from ...
> >> > > and where it should go to.
> >> > >
> >> > > Chris
> >> > >
> >> > >
> >> > > -----Ursprüngliche Nachricht-----
> >> > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> >> > > An: Apache Royale Development <de...@royale.apache.org>
> >> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > > distribution
> >> > >
> >> > > Chris,
> >> > >
> >> > > Looks better but here is the comparision what I have in Ant
> >> > > distribution vs Maven distribution in case of names. On the
> >> > > left Ant distribution, on the right Maven. It is folder:
> >> > > frameworks\js\libs\ [1]
> >> > >
> >> > > [1] https://ibb.co/W2DzcDb
> >> > >
> >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> >> > > <ch...@c-ware.de>
> >> > > napisał(a):
> >> > >
> >> > > > And done ...
> >> > > >
> >> > > > Now all elements in the distribution only consist of their
> >> > > > name and file-ending ... all versions and classifiers have
> >> > > > been
> removed.
> >> > > > Please provide me with feedback on if this solves the issues.
> >> > > >
> >> > > > Chris
> >> > > >
> >> > > >
> >> > > > -----Ursprüngliche Nachricht-----
> >> > > > Von: Christofer Dutz <ch...@c-ware.de>
> >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> >> > > > An: dev@royale.apache.org
> >> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> >> > > > distribution
> >> > > >
> >> > > > I'll probably have a fix for that in a few minuntes ...
> >> > > >
> >> > > >
> >> > > > Chris
> >> > > >
> >> > > >
> >> > > > -----Ursprüngliche Nachricht-----
> >> > > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> >> > > > An: Apache Royale Development <de...@royale.apache.org>
> >> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > > > distribution
> >> > > >
> >> > > > Chris,
> >> > > >
> >> > > > No it's not about not picking up by IDE at all. Moonshine and
> >> > > > VSCode are able to build projects using Maven distribution
> >> > > > package! It is about project which are mixed for example when
> >> > > > user wanted to use Jewel module + RemoteObject class from
> >> > > > MXRoyale module. In that case user need to point explicilty
> >> > > > as a compiler options in IDE that he wanted to have SWC
> >> > > > included and need to exclude css from that swc to
> >> > > avoid problems.
> >> > > >
> >> > > > It is happen like that:
> >> > > >
> >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> >> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> >> > > > cs
> >> > > > s
> >> > > >
> >> > > > If I would like to use maven distribution user need to know
> >> > > > version for that compiler options. It is even more tricky
> >> > > > when your swc is called
> >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> >> > > >
> >> > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.cs
> >> > > > s
> >> > > >
> >> > > > Thanks,
> >> > > > Piotr
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> >> > > > <ch...@c-ware.de>
> >> > > > napisał(a):
> >> > > >
> >> > > > > Hi Piotr,
> >> > > > >
> >> > > > > And is really the version-suffix causing it to not be
> >> > > > > picked up by the IDEs?
> >> > > > >
> >> > > > > Chris
> >> > > > >
> >> > > > > -----Ursprüngliche Nachricht-----
> >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> >> > > > > An: dev@royale.apache.org
> >> > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > > > > distribution
> >> > > > >
> >> > > > > Hi Chris,
> >> > > > >
> >> > > > > This is the only thing which seems to be a constant problem
> here.
> >> > > > > I personally and some users will be much more happy having
> >> > > > > that
> >> > change.
> >> > > > >
> >> > > > > Thanks,
> >> > > > > Piotr
> >> > > > >
> >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> >> > > > > <ch...@c-ware.de>
> >> > > > > wrote:
> >> > > > >
> >> > > > > > Hi Piotr,
> >> > > > > >
> >> > > > > > I'd be happy to help with that.
> >> > > > > >
> >> > > > > > I did simply ask for a list of things that need to be
> >> > > > > > changed in order to get things working, but never got
> >> > > > > > said list, so I never knew what I could do to make the
> >> > > > > > Maven distribution match up to the
> >> > > > Ant built one.
> >> > > > > >
> >> > > > > > Chris
> >> > > > > >
> >> > > > > >
> >> > > > > > -----Ursprüngliche Nachricht-----
> >> > > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> >> > > > > > An: Apache Royale Development <de...@royale.apache.org>
> >> > > > > > Betreff: Align Maven IDE distribution with Ant IDE
> >> > > > > > distribution
> >> > > > > >
> >> > > > > > Hi Guys,
> >> > > > > >
> >> > > > > > It's been couple of times when user complains that he
> >> > > > > > have problems with using Maven distribution vs Ant
> >> > > > > > distribution in IDE in a mixed project Jewel + MX/Spark etc.
> >> > > > > >
> >> > > > > > Can we have that resolve once for all and adjust Maven
> >> > > > > > distribution folder to produce proper names of swcs ?
> >> > > > > >
> >> > > > > > Currently when I build Maven IDE distribution I have:
> >> > > > > >
> >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> >> > > > > >
> >> > > > > > When I build Ant IDE distribution I have:
> >> > > > > >
> >> > > > > > MXRoyale-js.swc
> >> > > > > >
> >> > > > > > Thanks,
> >> > > > > > --
> >> > > > > >
> >> > > > > > Piotr Zarzycki
> >> > > > > >
> >> > > > > --
> >> > > > >
> >> > > > > Piotr Zarzycki
> >> > > > >
> >> > > >
> >> > > >
> >> > > > --
> >> > > >
> >> > > > Piotr Zarzycki
> >> > > >
> >> > >
> >> > >
> >> > > --
> >> > >
> >> > > Piotr Zarzycki
> >> > >
> >> >
> >> >
> >> > --
> >> >
> >> > Piotr Zarzycki
> >> >
> >>
> >>
> >> --
> >>
> >> Piotr Zarzycki
> >>
> >
> >
> > --
> > Carlos Rovira
> > Apache Member & Apache Royale PMC
> > *Apache Software Foundation*
> > http://about.me/carlosrovira
> >
> >
>
> --
> Carlos Rovira
> Apache Member & Apache Royale PMC
> *Apache Software Foundation*
> http://about.me/carlosrovira
>
--
Piotr Zarzycki
AW: Align Maven IDE distribution with Ant IDE distribution
Posted by Christofer Dutz <ch...@c-ware.de>.
Hi Heidra,
I just updated Carlos' example to have the same type of setting (C:\\Temp\\RoyaleSDK is where I have my Maven build generate the SDK):
setings.js:
{
"as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
"as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
}
workspace-code-workspace
{
"folders": [
{
"path": ".."
}
],
"settings": {
"as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
"as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
}
}
I'm not getting any errors from VSCode. But well ... if I hit SHIFT+Enter it starts doing something where if failed prior to my changes this morning and is no longer complaining, but it's also not doing much (I can't see it create a "bin" directory)
Chris
-----Ursprüngliche Nachricht-----
Von: Maria Jose Esteve <mj...@iest.com>
Gesendet: Freitag, 19. Februar 2021 10:53
An: dev@royale.apache.org
Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
If I don't compile with ANT, the mxml extension in vsCode IDE, it doesn't recognize the valid asjs directory for "as3mxml.sdk.editor":
...
"settings": {
"as3mxml.sdk.framework": "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
"as3mxml.sdk.editor": "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs" <-------- [download folder repo royale-asjs]
}
}
The error is:
" as3mxml.sdk.editor in settings does not point to a valid SDK. Requires..."
Thx.
Hiedra.
-----Mensaje original-----
De: Piotr Zarzycki <pi...@gmail.com> Enviado el: viernes, 19 de febrero de 2021 10:44
Para: Apache Royale Development <de...@royale.apache.org>
Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
Hi Chris,
I just tried your changes and I have same issue. I need to understand what has change enough significantly that it causes compilation fail in such way. It doesn't happen with SDK prepared by ANT.
Thanks,
Piotr
pt., 19 lut 2021 o 10:33 Maria Jose Esteve <mj...@iest.com> napisał(a):
> @Chris you're right, sorry, I didn't download your last commit.
> I'm sorry.
> Hiedra.
>
> -----Mensaje original-----
> De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> 19 de febrero de 2021 10:17
> Para: dev@royale.apache.org
> Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>
> I'll try to guess what you wanted to say here ...
>
> But I think these are exactly the changes I comitted a an hour ago, right?
> At least in general I replaced all the references to names with
> versions to the changed ones.
>
>
> Chris
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Maria Jose Esteve <mj...@iest.com>
> Gesendet: Freitag, 19. Februar 2021 10:01
> An: dev@royale.apache.org
> Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
>
> Hi,
> Mi distribución hace referencia en el fichero
> "./frameworks/royale-config.xml" a las librerías:
>
> <js-external-library-path>
>
> <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.sw
> c</path-element>
>
> <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc</path-element>
> </js-external-library-path>
>
> Las correctas son:
>
> <js-external-library-path>
> <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
> </js-external-library-path>
>
> Hiedra
>
> -----Mensaje original-----
> De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> 19 de febrero de 2021 9:39
> Para: dev@royale.apache.org
> Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>
> Ok,
>
> so the config xml files in the distribution were still pointing to the
> old names. I updated them all to now refer to the names.
> I tried things in Carlos' demo project, and I'm no-longer getting the
> errors, however compilation seems to take for ever.
>
> Please try out the changes and tell me if there are any problems with them.
>
> Chris
>
> -----Ursprüngliche Nachricht-----
> Von: Christofer Dutz <ch...@c-ware.de>
> Gesendet: Donnerstag, 18. Februar 2021 23:17
> An: dev@royale.apache.org
> Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
>
> Hi Carlos,
>
> I'll look into this tomorrow.
>
> Chris
>
> -----Ursprüngliche Nachricht-----
> Von: Carlos Rovira <ca...@apache.org>
> Gesendet: Donnerstag, 18. Februar 2021 17:49
> An: Apache Royale Development <de...@royale.apache.org>
> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>
> Hi, I think I talked very quickly, sorry, there seems to be a problem.
>
> @Christofer Dutz <ch...@c-ware.de> you can download this
> project:
>
>
> https://github.com/apache/royale-asjs/files/6004363/ToggleButtonBarIss
> ue.zip
>
> Then using VSCode with AS3&MXML and adding the Maven distribution.
> Then hit CTRL+ENTER and you will get the following fail. Using ANT
> distribution is working fine.
> Can you take a look?
>
> Royale Compiler Shell
> (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> --source-map=true
> --html-template=src/html/jewel-example-index-template.html
>
> --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/sr
> c/main/resources/defaults.css
> --source-path+=src --library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> -js-dynamic-access-unknown-members=true -- src/App.mxml
> fcsh: Assigned 1 as the compile target id The project 'App' has been
> successfully compiled and optimized.
> Compile status: 0
> Elapsed time: 14.211105399 seconds
> Feb 18, 2021 5:43:40 PM
> com.google.javascript.jscomp.LoggerErrorManager
> printSummary
> INFO: 0 error(s), 0 warning(s), 96.5% typed
> (fcsh) quit
> Compiler shell exited with code: 0
> Royale Compiler Shell
> (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> --source-map=true
> --html-template=src/html/jewel-example-index-template.html
>
> --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/sr
> c/main/resources/defaults.css
> --source-path+=src --library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> -js-dynamic-access-unknown-members=true -- src/App.mxml
> fcsh: Assigned 1 as the compile target id Compile status: 5 Elapsed time:
> 0.618407478 seconds
>
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> col: 0 Error: unable to open
>
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
>
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/roy
> ale-config.xml
> (line: 81)
>
> </js-external-library-path>
>
>
>
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> col: 0 Error: unable to open
>
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
>
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/roy
> ale-config.xml
> (line: 81)
>
> </js-external-library-path>
> (fcsh)
> Quick Compile failed. Errors in compiler output.
>
> El jue, 18 feb 2021 a las 17:26, Carlos Rovira
> (<ca...@apache.org>)
> escribió:
>
> > Hi,
> >
> > I rebuilt all from scratch just now and finally the distribution too
> > and tried in VSCode and all seems to work fine for me.
> >
> > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> > christofer.dutz@c-ware.de>) escribió:
> >
> >> Hi Piotr,
> >>
> >> that class is located in lib\external\flex-tool-api.jar At least in
> >> my distribution it's there and it contains the class.
> >>
> >> How are you calling the build that's failing?
> >>
> >> Chris
> >>
> >> -----Ursprüngliche Nachricht-----
> >> Von: Piotr Zarzycki <pi...@gmail.com>
> >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> >> An: Apache Royale Development <de...@royale.apache.org>
> >> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> >>
> >> Chris,
> >>
> >> I just checked and I'm not able build project anymore using
> distribution:
> >>
> >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
> >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m
> >> -Xmx3000m
> >> : Error: Could not find or load main class
> >> org.apache.royale.compiler.clients.MXMLJSC
> >> : Caused by: java.lang.NoClassDefFoundError:
> >> org/apache/flex/tools/FlexTool
> >>
> >> I'm done for today, so I will answer anything tomorrow.
> >>
> >> czw., 18 lut 2021 o 16:05 Christofer Dutz
> >> <ch...@c-ware.de>
> >> napisał(a):
> >>
> >> > Ok ...
> >> >
> >> > so I just pushed another change. Now the distribution should also
> >> > contain an empty spark.css, just like the Ant one.
> >> >
> >> > Chris
> >> >
> >> >
> >> > -----Ursprüngliche Nachricht-----
> >> > Von: Christofer Dutz <ch...@c-ware.de>
> >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> >> > An: dev@royale.apache.org
> >> > Betreff: AW: Align Maven IDE distribution with Ant IDE
> >> > distribution
> >> >
> >> > Ok,
> >> >
> >> > so that should now be fixed. Leaves the "spark.css"
> >> > Having had a look, it seems as if the Ant build creates an empty
> >> spark.css.
> >> >
> >> > Is this all we need? If yes, then I'll have that in ther in no time.
> >> >
> >> > Chris
> >> >
> >> > -----Ursprüngliche Nachricht-----
> >> > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> >> > An: Apache Royale Development <de...@royale.apache.org>
> >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > distribution
> >> >
> >> > *(I assume that's in the "frameworks/js/libs" directory? *
> >> >
> >> > Yes this is the directory.
> >> >
> >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> >> > <ch...@c-ware.de>
> >> > napisał(a):
> >> >
> >> > > Hi Piotr,
> >> > >
> >> > > Ok ... so Ant seems to be adding a "JS" to the end of every
> >> > > name (I assume that's in the "frameworks/js/libs" directory?
> >> > >
> >> > > Also I'll try to find out where the "spark.css" should come from ...
> >> > > and where it should go to.
> >> > >
> >> > > Chris
> >> > >
> >> > >
> >> > > -----Ursprüngliche Nachricht-----
> >> > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> >> > > An: Apache Royale Development <de...@royale.apache.org>
> >> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > > distribution
> >> > >
> >> > > Chris,
> >> > >
> >> > > Looks better but here is the comparision what I have in Ant
> >> > > distribution vs Maven distribution in case of names. On the
> >> > > left Ant distribution, on the right Maven. It is folder:
> >> > > frameworks\js\libs\ [1]
> >> > >
> >> > > [1] https://ibb.co/W2DzcDb
> >> > >
> >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> >> > > <ch...@c-ware.de>
> >> > > napisał(a):
> >> > >
> >> > > > And done ...
> >> > > >
> >> > > > Now all elements in the distribution only consist of their
> >> > > > name and file-ending ... all versions and classifiers have
> >> > > > been
> removed.
> >> > > > Please provide me with feedback on if this solves the issues.
> >> > > >
> >> > > > Chris
> >> > > >
> >> > > >
> >> > > > -----Ursprüngliche Nachricht-----
> >> > > > Von: Christofer Dutz <ch...@c-ware.de>
> >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> >> > > > An: dev@royale.apache.org
> >> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> >> > > > distribution
> >> > > >
> >> > > > I'll probably have a fix for that in a few minuntes ...
> >> > > >
> >> > > >
> >> > > > Chris
> >> > > >
> >> > > >
> >> > > > -----Ursprüngliche Nachricht-----
> >> > > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> >> > > > An: Apache Royale Development <de...@royale.apache.org>
> >> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > > > distribution
> >> > > >
> >> > > > Chris,
> >> > > >
> >> > > > No it's not about not picking up by IDE at all. Moonshine and
> >> > > > VSCode are able to build projects using Maven distribution
> >> > > > package! It is about project which are mixed for example when
> >> > > > user wanted to use Jewel module + RemoteObject class from
> >> > > > MXRoyale module. In that case user need to point explicilty
> >> > > > as a compiler options in IDE that he wanted to have SWC
> >> > > > included and need to exclude css from that swc to
> >> > > avoid problems.
> >> > > >
> >> > > > It is happen like that:
> >> > > >
> >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> >> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> >> > > > cs
> >> > > > s
> >> > > >
> >> > > > If I would like to use maven distribution user need to know
> >> > > > version for that compiler options. It is even more tricky
> >> > > > when your swc is called
> >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> >> > > >
> >> > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.cs
> >> > > > s
> >> > > >
> >> > > > Thanks,
> >> > > > Piotr
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> >> > > > <ch...@c-ware.de>
> >> > > > napisał(a):
> >> > > >
> >> > > > > Hi Piotr,
> >> > > > >
> >> > > > > And is really the version-suffix causing it to not be
> >> > > > > picked up by the IDEs?
> >> > > > >
> >> > > > > Chris
> >> > > > >
> >> > > > > -----Ursprüngliche Nachricht-----
> >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> >> > > > > An: dev@royale.apache.org
> >> > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > > > > distribution
> >> > > > >
> >> > > > > Hi Chris,
> >> > > > >
> >> > > > > This is the only thing which seems to be a constant problem
> here.
> >> > > > > I personally and some users will be much more happy having
> >> > > > > that
> >> > change.
> >> > > > >
> >> > > > > Thanks,
> >> > > > > Piotr
> >> > > > >
> >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> >> > > > > <ch...@c-ware.de>
> >> > > > > wrote:
> >> > > > >
> >> > > > > > Hi Piotr,
> >> > > > > >
> >> > > > > > I'd be happy to help with that.
> >> > > > > >
> >> > > > > > I did simply ask for a list of things that need to be
> >> > > > > > changed in order to get things working, but never got
> >> > > > > > said list, so I never knew what I could do to make the
> >> > > > > > Maven distribution match up to the
> >> > > > Ant built one.
> >> > > > > >
> >> > > > > > Chris
> >> > > > > >
> >> > > > > >
> >> > > > > > -----Ursprüngliche Nachricht-----
> >> > > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> >> > > > > > An: Apache Royale Development <de...@royale.apache.org>
> >> > > > > > Betreff: Align Maven IDE distribution with Ant IDE
> >> > > > > > distribution
> >> > > > > >
> >> > > > > > Hi Guys,
> >> > > > > >
> >> > > > > > It's been couple of times when user complains that he
> >> > > > > > have problems with using Maven distribution vs Ant
> >> > > > > > distribution in IDE in a mixed project Jewel + MX/Spark etc.
> >> > > > > >
> >> > > > > > Can we have that resolve once for all and adjust Maven
> >> > > > > > distribution folder to produce proper names of swcs ?
> >> > > > > >
> >> > > > > > Currently when I build Maven IDE distribution I have:
> >> > > > > >
> >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> >> > > > > >
> >> > > > > > When I build Ant IDE distribution I have:
> >> > > > > >
> >> > > > > > MXRoyale-js.swc
> >> > > > > >
> >> > > > > > Thanks,
> >> > > > > > --
> >> > > > > >
> >> > > > > > Piotr Zarzycki
> >> > > > > >
> >> > > > > --
> >> > > > >
> >> > > > > Piotr Zarzycki
> >> > > > >
> >> > > >
> >> > > >
> >> > > > --
> >> > > >
> >> > > > Piotr Zarzycki
> >> > > >
> >> > >
> >> > >
> >> > > --
> >> > >
> >> > > Piotr Zarzycki
> >> > >
> >> >
> >> >
> >> > --
> >> >
> >> > Piotr Zarzycki
> >> >
> >>
> >>
> >> --
> >>
> >> Piotr Zarzycki
> >>
> >
> >
> > --
> > Carlos Rovira
> > Apache Member & Apache Royale PMC
> > *Apache Software Foundation*
> > http://about.me/carlosrovira
> >
> >
>
> --
> Carlos Rovira
> Apache Member & Apache Royale PMC
> *Apache Software Foundation*
> http://about.me/carlosrovira
>
--
Piotr Zarzycki
RE: Align Maven IDE distribution with Ant IDE distribution
Posted by Maria Jose Esteve <mj...@iest.com>.
If I don't compile with ANT, the mxml extension in vsCode IDE, it doesn't recognize the valid asjs directory for "as3mxml.sdk.editor":
...
"settings": {
"as3mxml.sdk.framework": "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
"as3mxml.sdk.editor": "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs" <-------- [download folder repo royale-asjs]
}
}
The error is:
" as3mxml.sdk.editor in settings does not point to a valid SDK. Requires..."
Thx.
Hiedra.
-----Mensaje original-----
De: Piotr Zarzycki <pi...@gmail.com>
Enviado el: viernes, 19 de febrero de 2021 10:44
Para: Apache Royale Development <de...@royale.apache.org>
Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
Hi Chris,
I just tried your changes and I have same issue. I need to understand what has change enough significantly that it causes compilation fail in such way. It doesn't happen with SDK prepared by ANT.
Thanks,
Piotr
pt., 19 lut 2021 o 10:33 Maria Jose Esteve <mj...@iest.com> napisał(a):
> @Chris you're right, sorry, I didn't download your last commit.
> I'm sorry.
> Hiedra.
>
> -----Mensaje original-----
> De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> 19 de febrero de 2021 10:17
> Para: dev@royale.apache.org
> Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>
> I'll try to guess what you wanted to say here ...
>
> But I think these are exactly the changes I comitted a an hour ago, right?
> At least in general I replaced all the references to names with
> versions to the changed ones.
>
>
> Chris
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Maria Jose Esteve <mj...@iest.com>
> Gesendet: Freitag, 19. Februar 2021 10:01
> An: dev@royale.apache.org
> Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
>
> Hi,
> Mi distribución hace referencia en el fichero
> "./frameworks/royale-config.xml" a las librerías:
>
> <js-external-library-path>
>
> <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.sw
> c</path-element>
>
> <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc</path-element>
> </js-external-library-path>
>
> Las correctas son:
>
> <js-external-library-path>
> <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
> </js-external-library-path>
>
> Hiedra
>
> -----Mensaje original-----
> De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes,
> 19 de febrero de 2021 9:39
> Para: dev@royale.apache.org
> Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>
> Ok,
>
> so the config xml files in the distribution were still pointing to the
> old names. I updated them all to now refer to the names.
> I tried things in Carlos' demo project, and I'm no-longer getting the
> errors, however compilation seems to take for ever.
>
> Please try out the changes and tell me if there are any problems with them.
>
> Chris
>
> -----Ursprüngliche Nachricht-----
> Von: Christofer Dutz <ch...@c-ware.de>
> Gesendet: Donnerstag, 18. Februar 2021 23:17
> An: dev@royale.apache.org
> Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
>
> Hi Carlos,
>
> I'll look into this tomorrow.
>
> Chris
>
> -----Ursprüngliche Nachricht-----
> Von: Carlos Rovira <ca...@apache.org>
> Gesendet: Donnerstag, 18. Februar 2021 17:49
> An: Apache Royale Development <de...@royale.apache.org>
> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>
> Hi, I think I talked very quickly, sorry, there seems to be a problem.
>
> @Christofer Dutz <ch...@c-ware.de> you can download this
> project:
>
>
> https://github.com/apache/royale-asjs/files/6004363/ToggleButtonBarIss
> ue.zip
>
> Then using VSCode with AS3&MXML and adding the Maven distribution.
> Then hit CTRL+ENTER and you will get the following fail. Using ANT
> distribution is working fine.
> Can you take a look?
>
> Royale Compiler Shell
> (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> --source-map=true
> --html-template=src/html/jewel-example-index-template.html
>
> --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/sr
> c/main/resources/defaults.css
> --source-path+=src --library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> -js-dynamic-access-unknown-members=true -- src/App.mxml
> fcsh: Assigned 1 as the compile target id The project 'App' has been
> successfully compiled and optimized.
> Compile status: 0
> Elapsed time: 14.211105399 seconds
> Feb 18, 2021 5:43:40 PM
> com.google.javascript.jscomp.LoggerErrorManager
> printSummary
> INFO: 0 error(s), 0 warning(s), 96.5% typed
> (fcsh) quit
> Compiler shell exited with code: 0
> Royale Compiler Shell
> (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> --source-map=true
> --html-template=src/html/jewel-example-index-template.html
>
> --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/sr
> c/main/resources/defaults.css
> --source-path+=src --library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> -js-dynamic-access-unknown-members=true -- src/App.mxml
> fcsh: Assigned 1 as the compile target id Compile status: 5 Elapsed time:
> 0.618407478 seconds
>
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> col: 0 Error: unable to open
>
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
>
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/roy
> ale-config.xml
> (line: 81)
>
> </js-external-library-path>
>
>
>
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> col: 0 Error: unable to open
>
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
>
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/roy
> ale-config.xml
> (line: 81)
>
> </js-external-library-path>
> (fcsh)
> Quick Compile failed. Errors in compiler output.
>
> El jue, 18 feb 2021 a las 17:26, Carlos Rovira
> (<ca...@apache.org>)
> escribió:
>
> > Hi,
> >
> > I rebuilt all from scratch just now and finally the distribution too
> > and tried in VSCode and all seems to work fine for me.
> >
> > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> > christofer.dutz@c-ware.de>) escribió:
> >
> >> Hi Piotr,
> >>
> >> that class is located in lib\external\flex-tool-api.jar At least in
> >> my distribution it's there and it contains the class.
> >>
> >> How are you calling the build that's failing?
> >>
> >> Chris
> >>
> >> -----Ursprüngliche Nachricht-----
> >> Von: Piotr Zarzycki <pi...@gmail.com>
> >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> >> An: Apache Royale Development <de...@royale.apache.org>
> >> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> >>
> >> Chris,
> >>
> >> I just checked and I'm not able build project anymore using
> distribution:
> >>
> >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
> >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m
> >> -Xmx3000m
> >> : Error: Could not find or load main class
> >> org.apache.royale.compiler.clients.MXMLJSC
> >> : Caused by: java.lang.NoClassDefFoundError:
> >> org/apache/flex/tools/FlexTool
> >>
> >> I'm done for today, so I will answer anything tomorrow.
> >>
> >> czw., 18 lut 2021 o 16:05 Christofer Dutz
> >> <ch...@c-ware.de>
> >> napisał(a):
> >>
> >> > Ok ...
> >> >
> >> > so I just pushed another change. Now the distribution should also
> >> > contain an empty spark.css, just like the Ant one.
> >> >
> >> > Chris
> >> >
> >> >
> >> > -----Ursprüngliche Nachricht-----
> >> > Von: Christofer Dutz <ch...@c-ware.de>
> >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> >> > An: dev@royale.apache.org
> >> > Betreff: AW: Align Maven IDE distribution with Ant IDE
> >> > distribution
> >> >
> >> > Ok,
> >> >
> >> > so that should now be fixed. Leaves the "spark.css"
> >> > Having had a look, it seems as if the Ant build creates an empty
> >> spark.css.
> >> >
> >> > Is this all we need? If yes, then I'll have that in ther in no time.
> >> >
> >> > Chris
> >> >
> >> > -----Ursprüngliche Nachricht-----
> >> > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> >> > An: Apache Royale Development <de...@royale.apache.org>
> >> > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > distribution
> >> >
> >> > *(I assume that's in the "frameworks/js/libs" directory? *
> >> >
> >> > Yes this is the directory.
> >> >
> >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> >> > <ch...@c-ware.de>
> >> > napisał(a):
> >> >
> >> > > Hi Piotr,
> >> > >
> >> > > Ok ... so Ant seems to be adding a "JS" to the end of every
> >> > > name (I assume that's in the "frameworks/js/libs" directory?
> >> > >
> >> > > Also I'll try to find out where the "spark.css" should come from ...
> >> > > and where it should go to.
> >> > >
> >> > > Chris
> >> > >
> >> > >
> >> > > -----Ursprüngliche Nachricht-----
> >> > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> >> > > An: Apache Royale Development <de...@royale.apache.org>
> >> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > > distribution
> >> > >
> >> > > Chris,
> >> > >
> >> > > Looks better but here is the comparision what I have in Ant
> >> > > distribution vs Maven distribution in case of names. On the
> >> > > left Ant distribution, on the right Maven. It is folder:
> >> > > frameworks\js\libs\ [1]
> >> > >
> >> > > [1] https://ibb.co/W2DzcDb
> >> > >
> >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> >> > > <ch...@c-ware.de>
> >> > > napisał(a):
> >> > >
> >> > > > And done ...
> >> > > >
> >> > > > Now all elements in the distribution only consist of their
> >> > > > name and file-ending ... all versions and classifiers have
> >> > > > been
> removed.
> >> > > > Please provide me with feedback on if this solves the issues.
> >> > > >
> >> > > > Chris
> >> > > >
> >> > > >
> >> > > > -----Ursprüngliche Nachricht-----
> >> > > > Von: Christofer Dutz <ch...@c-ware.de>
> >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> >> > > > An: dev@royale.apache.org
> >> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> >> > > > distribution
> >> > > >
> >> > > > I'll probably have a fix for that in a few minuntes ...
> >> > > >
> >> > > >
> >> > > > Chris
> >> > > >
> >> > > >
> >> > > > -----Ursprüngliche Nachricht-----
> >> > > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> >> > > > An: Apache Royale Development <de...@royale.apache.org>
> >> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > > > distribution
> >> > > >
> >> > > > Chris,
> >> > > >
> >> > > > No it's not about not picking up by IDE at all. Moonshine and
> >> > > > VSCode are able to build projects using Maven distribution
> >> > > > package! It is about project which are mixed for example when
> >> > > > user wanted to use Jewel module + RemoteObject class from
> >> > > > MXRoyale module. In that case user need to point explicilty
> >> > > > as a compiler options in IDE that he wanted to have SWC
> >> > > > included and need to exclude css from that swc to
> >> > > avoid problems.
> >> > > >
> >> > > > It is happen like that:
> >> > > >
> >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> >> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.
> >> > > > cs
> >> > > > s
> >> > > >
> >> > > > If I would like to use maven distribution user need to know
> >> > > > version for that compiler options. It is even more tricky
> >> > > > when your swc is called
> >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> >> > > >
> >> > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.cs
> >> > > > s
> >> > > >
> >> > > > Thanks,
> >> > > > Piotr
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> >> > > > <ch...@c-ware.de>
> >> > > > napisał(a):
> >> > > >
> >> > > > > Hi Piotr,
> >> > > > >
> >> > > > > And is really the version-suffix causing it to not be
> >> > > > > picked up by the IDEs?
> >> > > > >
> >> > > > > Chris
> >> > > > >
> >> > > > > -----Ursprüngliche Nachricht-----
> >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> >> > > > > An: dev@royale.apache.org
> >> > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > > > > distribution
> >> > > > >
> >> > > > > Hi Chris,
> >> > > > >
> >> > > > > This is the only thing which seems to be a constant problem
> here.
> >> > > > > I personally and some users will be much more happy having
> >> > > > > that
> >> > change.
> >> > > > >
> >> > > > > Thanks,
> >> > > > > Piotr
> >> > > > >
> >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> >> > > > > <ch...@c-ware.de>
> >> > > > > wrote:
> >> > > > >
> >> > > > > > Hi Piotr,
> >> > > > > >
> >> > > > > > I'd be happy to help with that.
> >> > > > > >
> >> > > > > > I did simply ask for a list of things that need to be
> >> > > > > > changed in order to get things working, but never got
> >> > > > > > said list, so I never knew what I could do to make the
> >> > > > > > Maven distribution match up to the
> >> > > > Ant built one.
> >> > > > > >
> >> > > > > > Chris
> >> > > > > >
> >> > > > > >
> >> > > > > > -----Ursprüngliche Nachricht-----
> >> > > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> >> > > > > > An: Apache Royale Development <de...@royale.apache.org>
> >> > > > > > Betreff: Align Maven IDE distribution with Ant IDE
> >> > > > > > distribution
> >> > > > > >
> >> > > > > > Hi Guys,
> >> > > > > >
> >> > > > > > It's been couple of times when user complains that he
> >> > > > > > have problems with using Maven distribution vs Ant
> >> > > > > > distribution in IDE in a mixed project Jewel + MX/Spark etc.
> >> > > > > >
> >> > > > > > Can we have that resolve once for all and adjust Maven
> >> > > > > > distribution folder to produce proper names of swcs ?
> >> > > > > >
> >> > > > > > Currently when I build Maven IDE distribution I have:
> >> > > > > >
> >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> >> > > > > >
> >> > > > > > When I build Ant IDE distribution I have:
> >> > > > > >
> >> > > > > > MXRoyale-js.swc
> >> > > > > >
> >> > > > > > Thanks,
> >> > > > > > --
> >> > > > > >
> >> > > > > > Piotr Zarzycki
> >> > > > > >
> >> > > > > --
> >> > > > >
> >> > > > > Piotr Zarzycki
> >> > > > >
> >> > > >
> >> > > >
> >> > > > --
> >> > > >
> >> > > > Piotr Zarzycki
> >> > > >
> >> > >
> >> > >
> >> > > --
> >> > >
> >> > > Piotr Zarzycki
> >> > >
> >> >
> >> >
> >> > --
> >> >
> >> > Piotr Zarzycki
> >> >
> >>
> >>
> >> --
> >>
> >> Piotr Zarzycki
> >>
> >
> >
> > --
> > Carlos Rovira
> > Apache Member & Apache Royale PMC
> > *Apache Software Foundation*
> > http://about.me/carlosrovira
> >
> >
>
> --
> Carlos Rovira
> Apache Member & Apache Royale PMC
> *Apache Software Foundation*
> http://about.me/carlosrovira
>
--
Piotr Zarzycki
Re: Align Maven IDE distribution with Ant IDE distribution
Posted by Piotr Zarzycki <pi...@gmail.com>.
Hi Chris,
I just tried your changes and I have same issue. I need to understand what
has change enough significantly that it causes compilation fail in such
way. It doesn't happen with SDK prepared by ANT.
Thanks,
Piotr
pt., 19 lut 2021 o 10:33 Maria Jose Esteve <mj...@iest.com> napisał(a):
> @Chris you're right, sorry, I didn't download your last commit.
> I'm sorry.
> Hiedra.
>
> -----Mensaje original-----
> De: Christofer Dutz <ch...@c-ware.de>
> Enviado el: viernes, 19 de febrero de 2021 10:17
> Para: dev@royale.apache.org
> Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>
> I'll try to guess what you wanted to say here ...
>
> But I think these are exactly the changes I comitted a an hour ago, right?
> At least in general I replaced all the references to names with versions
> to the changed ones.
>
>
> Chris
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Maria Jose Esteve <mj...@iest.com>
> Gesendet: Freitag, 19. Februar 2021 10:01
> An: dev@royale.apache.org
> Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
>
> Hi,
> Mi distribución hace referencia en el fichero
> "./frameworks/royale-config.xml" a las librerías:
>
> <js-external-library-path>
>
> <path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc</path-element>
>
> <path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc</path-element>
> </js-external-library-path>
>
> Las correctas son:
>
> <js-external-library-path>
> <path-element>../js/libs/royale-typedefs-js.swc</path-element>
> <path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
> </js-external-library-path>
>
> Hiedra
>
> -----Mensaje original-----
> De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes, 19
> de febrero de 2021 9:39
> Para: dev@royale.apache.org
> Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
>
> Ok,
>
> so the config xml files in the distribution were still pointing to the old
> names. I updated them all to now refer to the names.
> I tried things in Carlos' demo project, and I'm no-longer getting the
> errors, however compilation seems to take for ever.
>
> Please try out the changes and tell me if there are any problems with them.
>
> Chris
>
> -----Ursprüngliche Nachricht-----
> Von: Christofer Dutz <ch...@c-ware.de>
> Gesendet: Donnerstag, 18. Februar 2021 23:17
> An: dev@royale.apache.org
> Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
>
> Hi Carlos,
>
> I'll look into this tomorrow.
>
> Chris
>
> -----Ursprüngliche Nachricht-----
> Von: Carlos Rovira <ca...@apache.org>
> Gesendet: Donnerstag, 18. Februar 2021 17:49
> An: Apache Royale Development <de...@royale.apache.org>
> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>
> Hi, I think I talked very quickly, sorry, there seems to be a problem.
>
> @Christofer Dutz <ch...@c-ware.de> you can download this
> project:
>
>
> https://github.com/apache/royale-asjs/files/6004363/ToggleButtonBarIssue.zip
>
> Then using VSCode with AS3&MXML and adding the Maven distribution.
> Then hit CTRL+ENTER and you will get the following fail. Using ANT
> distribution is working fine.
> Can you take a look?
>
> Royale Compiler Shell
> (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> --source-map=true --html-template=src/html/jewel-example-index-template.html
>
> --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/src/main/resources/defaults.css
> --source-path+=src --library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> -js-dynamic-access-unknown-members=true -- src/App.mxml
> fcsh: Assigned 1 as the compile target id The project 'App' has been
> successfully compiled and optimized.
> Compile status: 0
> Elapsed time: 14.211105399 seconds
> Feb 18, 2021 5:43:40 PM com.google.javascript.jscomp.LoggerErrorManager
> printSummary
> INFO: 0 error(s), 0 warning(s), 96.5% typed
> (fcsh) quit
> Compiler shell exited with code: 0
> Royale Compiler Shell
> (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> --source-map=true --html-template=src/html/jewel-example-index-template.html
>
> --theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/src/main/resources/defaults.css
> --source-path+=src --library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> -js-dynamic-access-unknown-members=true -- src/App.mxml
> fcsh: Assigned 1 as the compile target id Compile status: 5 Elapsed time:
> 0.618407478 seconds
>
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> col: 0 Error: unable to open
>
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
>
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml
> (line: 81)
>
> </js-external-library-path>
>
>
>
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
> col: 0 Error: unable to open
>
> '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
>
> /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml
> (line: 81)
>
> </js-external-library-path>
> (fcsh)
> Quick Compile failed. Errors in compiler output.
>
> El jue, 18 feb 2021 a las 17:26, Carlos Rovira (<ca...@apache.org>)
> escribió:
>
> > Hi,
> >
> > I rebuilt all from scratch just now and finally the distribution too
> > and tried in VSCode and all seems to work fine for me.
> >
> > El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> > christofer.dutz@c-ware.de>) escribió:
> >
> >> Hi Piotr,
> >>
> >> that class is located in lib\external\flex-tool-api.jar At least in
> >> my distribution it's there and it contains the class.
> >>
> >> How are you calling the build that's failing?
> >>
> >> Chris
> >>
> >> -----Ursprüngliche Nachricht-----
> >> Von: Piotr Zarzycki <pi...@gmail.com>
> >> Gesendet: Donnerstag, 18. Februar 2021 16:22
> >> An: Apache Royale Development <de...@royale.apache.org>
> >> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> >>
> >> Chris,
> >>
> >> I just checked and I'm not able build project anymore using
> distribution:
> >>
> >> : Using Royale SDK: "D:\Work\royale_ide\distribution"
> >> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m
> >> -Xmx3000m
> >> : Error: Could not find or load main class
> >> org.apache.royale.compiler.clients.MXMLJSC
> >> : Caused by: java.lang.NoClassDefFoundError:
> >> org/apache/flex/tools/FlexTool
> >>
> >> I'm done for today, so I will answer anything tomorrow.
> >>
> >> czw., 18 lut 2021 o 16:05 Christofer Dutz <ch...@c-ware.de>
> >> napisał(a):
> >>
> >> > Ok ...
> >> >
> >> > so I just pushed another change. Now the distribution should also
> >> > contain an empty spark.css, just like the Ant one.
> >> >
> >> > Chris
> >> >
> >> >
> >> > -----Ursprüngliche Nachricht-----
> >> > Von: Christofer Dutz <ch...@c-ware.de>
> >> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> >> > An: dev@royale.apache.org
> >> > Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
> >> >
> >> > Ok,
> >> >
> >> > so that should now be fixed. Leaves the "spark.css"
> >> > Having had a look, it seems as if the Ant build creates an empty
> >> spark.css.
> >> >
> >> > Is this all we need? If yes, then I'll have that in ther in no time.
> >> >
> >> > Chris
> >> >
> >> > -----Ursprüngliche Nachricht-----
> >> > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> >> > An: Apache Royale Development <de...@royale.apache.org>
> >> > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> >> >
> >> > *(I assume that's in the "frameworks/js/libs" directory? *
> >> >
> >> > Yes this is the directory.
> >> >
> >> > czw., 18 lut 2021 o 15:51 Christofer Dutz
> >> > <ch...@c-ware.de>
> >> > napisał(a):
> >> >
> >> > > Hi Piotr,
> >> > >
> >> > > Ok ... so Ant seems to be adding a "JS" to the end of every name
> >> > > (I assume that's in the "frameworks/js/libs" directory?
> >> > >
> >> > > Also I'll try to find out where the "spark.css" should come from ...
> >> > > and where it should go to.
> >> > >
> >> > > Chris
> >> > >
> >> > >
> >> > > -----Ursprüngliche Nachricht-----
> >> > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> >> > > An: Apache Royale Development <de...@royale.apache.org>
> >> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > > distribution
> >> > >
> >> > > Chris,
> >> > >
> >> > > Looks better but here is the comparision what I have in Ant
> >> > > distribution vs Maven distribution in case of names. On the left
> >> > > Ant distribution, on the right Maven. It is folder:
> >> > > frameworks\js\libs\ [1]
> >> > >
> >> > > [1] https://ibb.co/W2DzcDb
> >> > >
> >> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> >> > > <ch...@c-ware.de>
> >> > > napisał(a):
> >> > >
> >> > > > And done ...
> >> > > >
> >> > > > Now all elements in the distribution only consist of their name
> >> > > > and file-ending ... all versions and classifiers have been
> removed.
> >> > > > Please provide me with feedback on if this solves the issues.
> >> > > >
> >> > > > Chris
> >> > > >
> >> > > >
> >> > > > -----Ursprüngliche Nachricht-----
> >> > > > Von: Christofer Dutz <ch...@c-ware.de>
> >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> >> > > > An: dev@royale.apache.org
> >> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> >> > > > distribution
> >> > > >
> >> > > > I'll probably have a fix for that in a few minuntes ...
> >> > > >
> >> > > >
> >> > > > Chris
> >> > > >
> >> > > >
> >> > > > -----Ursprüngliche Nachricht-----
> >> > > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> >> > > > An: Apache Royale Development <de...@royale.apache.org>
> >> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > > > distribution
> >> > > >
> >> > > > Chris,
> >> > > >
> >> > > > No it's not about not picking up by IDE at all. Moonshine and
> >> > > > VSCode are able to build projects using Maven distribution
> >> > > > package! It is about project which are mixed for example when
> >> > > > user wanted to use Jewel module + RemoteObject class from
> >> > > > MXRoyale module. In that case user need to point explicilty as
> >> > > > a compiler options in IDE that he wanted to have SWC included
> >> > > > and need to exclude css from that swc to
> >> > > avoid problems.
> >> > > >
> >> > > > It is happen like that:
> >> > > >
> >> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> >> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.cs
> >> > > > s
> >> > > >
> >> > > > If I would like to use maven distribution user need to know
> >> > > > version for that compiler options. It is even more tricky when
> >> > > > your swc is called
> >> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> >> > > >
> >> > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.css
> >> > > >
> >> > > > Thanks,
> >> > > > Piotr
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> >> > > > <ch...@c-ware.de>
> >> > > > napisał(a):
> >> > > >
> >> > > > > Hi Piotr,
> >> > > > >
> >> > > > > And is really the version-suffix causing it to not be picked
> >> > > > > up by the IDEs?
> >> > > > >
> >> > > > > Chris
> >> > > > >
> >> > > > > -----Ursprüngliche Nachricht-----
> >> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> >> > > > > An: dev@royale.apache.org
> >> > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> >> > > > > distribution
> >> > > > >
> >> > > > > Hi Chris,
> >> > > > >
> >> > > > > This is the only thing which seems to be a constant problem
> here.
> >> > > > > I personally and some users will be much more happy having
> >> > > > > that
> >> > change.
> >> > > > >
> >> > > > > Thanks,
> >> > > > > Piotr
> >> > > > >
> >> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> >> > > > > <ch...@c-ware.de>
> >> > > > > wrote:
> >> > > > >
> >> > > > > > Hi Piotr,
> >> > > > > >
> >> > > > > > I'd be happy to help with that.
> >> > > > > >
> >> > > > > > I did simply ask for a list of things that need to be
> >> > > > > > changed in order to get things working, but never got said
> >> > > > > > list, so I never knew what I could do to make the Maven
> >> > > > > > distribution match up to the
> >> > > > Ant built one.
> >> > > > > >
> >> > > > > > Chris
> >> > > > > >
> >> > > > > >
> >> > > > > > -----Ursprüngliche Nachricht-----
> >> > > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> >> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> >> > > > > > An: Apache Royale Development <de...@royale.apache.org>
> >> > > > > > Betreff: Align Maven IDE distribution with Ant IDE
> >> > > > > > distribution
> >> > > > > >
> >> > > > > > Hi Guys,
> >> > > > > >
> >> > > > > > It's been couple of times when user complains that he have
> >> > > > > > problems with using Maven distribution vs Ant distribution
> >> > > > > > in IDE in a mixed project Jewel + MX/Spark etc.
> >> > > > > >
> >> > > > > > Can we have that resolve once for all and adjust Maven
> >> > > > > > distribution folder to produce proper names of swcs ?
> >> > > > > >
> >> > > > > > Currently when I build Maven IDE distribution I have:
> >> > > > > >
> >> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> >> > > > > >
> >> > > > > > When I build Ant IDE distribution I have:
> >> > > > > >
> >> > > > > > MXRoyale-js.swc
> >> > > > > >
> >> > > > > > Thanks,
> >> > > > > > --
> >> > > > > >
> >> > > > > > Piotr Zarzycki
> >> > > > > >
> >> > > > > --
> >> > > > >
> >> > > > > Piotr Zarzycki
> >> > > > >
> >> > > >
> >> > > >
> >> > > > --
> >> > > >
> >> > > > Piotr Zarzycki
> >> > > >
> >> > >
> >> > >
> >> > > --
> >> > >
> >> > > Piotr Zarzycki
> >> > >
> >> >
> >> >
> >> > --
> >> >
> >> > Piotr Zarzycki
> >> >
> >>
> >>
> >> --
> >>
> >> Piotr Zarzycki
> >>
> >
> >
> > --
> > Carlos Rovira
> > Apache Member & Apache Royale PMC
> > *Apache Software Foundation*
> > http://about.me/carlosrovira
> >
> >
>
> --
> Carlos Rovira
> Apache Member & Apache Royale PMC
> *Apache Software Foundation*
> http://about.me/carlosrovira
>
--
Piotr Zarzycki
RE: Align Maven IDE distribution with Ant IDE distribution
Posted by Maria Jose Esteve <mj...@iest.com>.
@Chris you're right, sorry, I didn't download your last commit.
I'm sorry.
Hiedra.
-----Mensaje original-----
De: Christofer Dutz <ch...@c-ware.de>
Enviado el: viernes, 19 de febrero de 2021 10:17
Para: dev@royale.apache.org
Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
I'll try to guess what you wanted to say here ...
But I think these are exactly the changes I comitted a an hour ago, right?
At least in general I replaced all the references to names with versions to the changed ones.
Chris
-----Ursprüngliche Nachricht-----
Von: Maria Jose Esteve <mj...@iest.com>
Gesendet: Freitag, 19. Februar 2021 10:01
An: dev@royale.apache.org
Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
Hi,
Mi distribución hace referencia en el fichero "./frameworks/royale-config.xml" a las librerías:
<js-external-library-path>
<path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc</path-element>
<path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc</path-element>
</js-external-library-path>
Las correctas son:
<js-external-library-path>
<path-element>../js/libs/royale-typedefs-js.swc</path-element>
<path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
</js-external-library-path>
Hiedra
-----Mensaje original-----
De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes, 19 de febrero de 2021 9:39
Para: dev@royale.apache.org
Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
Ok,
so the config xml files in the distribution were still pointing to the old names. I updated them all to now refer to the names.
I tried things in Carlos' demo project, and I'm no-longer getting the errors, however compilation seems to take for ever.
Please try out the changes and tell me if there are any problems with them.
Chris
-----Ursprüngliche Nachricht-----
Von: Christofer Dutz <ch...@c-ware.de>
Gesendet: Donnerstag, 18. Februar 2021 23:17
An: dev@royale.apache.org
Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
Hi Carlos,
I'll look into this tomorrow.
Chris
-----Ursprüngliche Nachricht-----
Von: Carlos Rovira <ca...@apache.org>
Gesendet: Donnerstag, 18. Februar 2021 17:49
An: Apache Royale Development <de...@royale.apache.org>
Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
Hi, I think I talked very quickly, sorry, there seems to be a problem.
@Christofer Dutz <ch...@c-ware.de> you can download this project:
https://github.com/apache/royale-asjs/files/6004363/ToggleButtonBarIssue.zip
Then using VSCode with AS3&MXML and adding the Maven distribution.
Then hit CTRL+ENTER and you will get the following fail. Using ANT distribution is working fine.
Can you take a look?
Royale Compiler Shell
(fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale --source-map=true --html-template=src/html/jewel-example-index-template.html
--theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/src/main/resources/defaults.css
--source-path+=src --library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
--js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
-compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
-js-dynamic-access-unknown-members=true -- src/App.mxml
fcsh: Assigned 1 as the compile target id The project 'App' has been successfully compiled and optimized.
Compile status: 0
Elapsed time: 14.211105399 seconds
Feb 18, 2021 5:43:40 PM com.google.javascript.jscomp.LoggerErrorManager
printSummary
INFO: 0 error(s), 0 warning(s), 96.5% typed
(fcsh) quit
Compiler shell exited with code: 0
Royale Compiler Shell
(fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale --source-map=true --html-template=src/html/jewel-example-index-template.html
--theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/src/main/resources/defaults.css
--source-path+=src --library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
--js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
-compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
-js-dynamic-access-unknown-members=true -- src/App.mxml
fcsh: Assigned 1 as the compile target id Compile status: 5 Elapsed time: 0.618407478 seconds
/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
col: 0 Error: unable to open
'/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml
(line: 81)
</js-external-library-path>
/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
col: 0 Error: unable to open
'/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml
(line: 81)
</js-external-library-path>
(fcsh)
Quick Compile failed. Errors in compiler output.
El jue, 18 feb 2021 a las 17:26, Carlos Rovira (<ca...@apache.org>)
escribió:
> Hi,
>
> I rebuilt all from scratch just now and finally the distribution too
> and tried in VSCode and all seems to work fine for me.
>
> El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> christofer.dutz@c-ware.de>) escribió:
>
>> Hi Piotr,
>>
>> that class is located in lib\external\flex-tool-api.jar At least in
>> my distribution it's there and it contains the class.
>>
>> How are you calling the build that's failing?
>>
>> Chris
>>
>> -----Ursprüngliche Nachricht-----
>> Von: Piotr Zarzycki <pi...@gmail.com>
>> Gesendet: Donnerstag, 18. Februar 2021 16:22
>> An: Apache Royale Development <de...@royale.apache.org>
>> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>>
>> Chris,
>>
>> I just checked and I'm not able build project anymore using distribution:
>>
>> : Using Royale SDK: "D:\Work\royale_ide\distribution"
>> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m
>> -Xmx3000m
>> : Error: Could not find or load main class
>> org.apache.royale.compiler.clients.MXMLJSC
>> : Caused by: java.lang.NoClassDefFoundError:
>> org/apache/flex/tools/FlexTool
>>
>> I'm done for today, so I will answer anything tomorrow.
>>
>> czw., 18 lut 2021 o 16:05 Christofer Dutz <ch...@c-ware.de>
>> napisał(a):
>>
>> > Ok ...
>> >
>> > so I just pushed another change. Now the distribution should also
>> > contain an empty spark.css, just like the Ant one.
>> >
>> > Chris
>> >
>> >
>> > -----Ursprüngliche Nachricht-----
>> > Von: Christofer Dutz <ch...@c-ware.de>
>> > Gesendet: Donnerstag, 18. Februar 2021 15:58
>> > An: dev@royale.apache.org
>> > Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
>> >
>> > Ok,
>> >
>> > so that should now be fixed. Leaves the "spark.css"
>> > Having had a look, it seems as if the Ant build creates an empty
>> spark.css.
>> >
>> > Is this all we need? If yes, then I'll have that in ther in no time.
>> >
>> > Chris
>> >
>> > -----Ursprüngliche Nachricht-----
>> > Von: Piotr Zarzycki <pi...@gmail.com>
>> > Gesendet: Donnerstag, 18. Februar 2021 15:54
>> > An: Apache Royale Development <de...@royale.apache.org>
>> > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>> >
>> > *(I assume that's in the "frameworks/js/libs" directory? *
>> >
>> > Yes this is the directory.
>> >
>> > czw., 18 lut 2021 o 15:51 Christofer Dutz
>> > <ch...@c-ware.de>
>> > napisał(a):
>> >
>> > > Hi Piotr,
>> > >
>> > > Ok ... so Ant seems to be adding a "JS" to the end of every name
>> > > (I assume that's in the "frameworks/js/libs" directory?
>> > >
>> > > Also I'll try to find out where the "spark.css" should come from ...
>> > > and where it should go to.
>> > >
>> > > Chris
>> > >
>> > >
>> > > -----Ursprüngliche Nachricht-----
>> > > Von: Piotr Zarzycki <pi...@gmail.com>
>> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
>> > > An: Apache Royale Development <de...@royale.apache.org>
>> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
>> > > distribution
>> > >
>> > > Chris,
>> > >
>> > > Looks better but here is the comparision what I have in Ant
>> > > distribution vs Maven distribution in case of names. On the left
>> > > Ant distribution, on the right Maven. It is folder:
>> > > frameworks\js\libs\ [1]
>> > >
>> > > [1] https://ibb.co/W2DzcDb
>> > >
>> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
>> > > <ch...@c-ware.de>
>> > > napisał(a):
>> > >
>> > > > And done ...
>> > > >
>> > > > Now all elements in the distribution only consist of their name
>> > > > and file-ending ... all versions and classifiers have been removed.
>> > > > Please provide me with feedback on if this solves the issues.
>> > > >
>> > > > Chris
>> > > >
>> > > >
>> > > > -----Ursprüngliche Nachricht-----
>> > > > Von: Christofer Dutz <ch...@c-ware.de>
>> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
>> > > > An: dev@royale.apache.org
>> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
>> > > > distribution
>> > > >
>> > > > I'll probably have a fix for that in a few minuntes ...
>> > > >
>> > > >
>> > > > Chris
>> > > >
>> > > >
>> > > > -----Ursprüngliche Nachricht-----
>> > > > Von: Piotr Zarzycki <pi...@gmail.com>
>> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
>> > > > An: Apache Royale Development <de...@royale.apache.org>
>> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
>> > > > distribution
>> > > >
>> > > > Chris,
>> > > >
>> > > > No it's not about not picking up by IDE at all. Moonshine and
>> > > > VSCode are able to build projects using Maven distribution
>> > > > package! It is about project which are mixed for example when
>> > > > user wanted to use Jewel module + RemoteObject class from
>> > > > MXRoyale module. In that case user need to point explicilty as
>> > > > a compiler options in IDE that he wanted to have SWC included
>> > > > and need to exclude css from that swc to
>> > > avoid problems.
>> > > >
>> > > > It is happen like that:
>> > > >
>> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.cs
>> > > > s
>> > > >
>> > > > If I would like to use maven distribution user need to know
>> > > > version for that compiler options. It is even more tricky when
>> > > > your swc is called
>> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
>> > > >
>> > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.css
>> > > >
>> > > > Thanks,
>> > > > Piotr
>> > > >
>> > > >
>> > > >
>> > > >
>> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
>> > > > <ch...@c-ware.de>
>> > > > napisał(a):
>> > > >
>> > > > > Hi Piotr,
>> > > > >
>> > > > > And is really the version-suffix causing it to not be picked
>> > > > > up by the IDEs?
>> > > > >
>> > > > > Chris
>> > > > >
>> > > > > -----Ursprüngliche Nachricht-----
>> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
>> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
>> > > > > An: dev@royale.apache.org
>> > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
>> > > > > distribution
>> > > > >
>> > > > > Hi Chris,
>> > > > >
>> > > > > This is the only thing which seems to be a constant problem here.
>> > > > > I personally and some users will be much more happy having
>> > > > > that
>> > change.
>> > > > >
>> > > > > Thanks,
>> > > > > Piotr
>> > > > >
>> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
>> > > > > <ch...@c-ware.de>
>> > > > > wrote:
>> > > > >
>> > > > > > Hi Piotr,
>> > > > > >
>> > > > > > I'd be happy to help with that.
>> > > > > >
>> > > > > > I did simply ask for a list of things that need to be
>> > > > > > changed in order to get things working, but never got said
>> > > > > > list, so I never knew what I could do to make the Maven
>> > > > > > distribution match up to the
>> > > > Ant built one.
>> > > > > >
>> > > > > > Chris
>> > > > > >
>> > > > > >
>> > > > > > -----Ursprüngliche Nachricht-----
>> > > > > > Von: Piotr Zarzycki <pi...@gmail.com>
>> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
>> > > > > > An: Apache Royale Development <de...@royale.apache.org>
>> > > > > > Betreff: Align Maven IDE distribution with Ant IDE
>> > > > > > distribution
>> > > > > >
>> > > > > > Hi Guys,
>> > > > > >
>> > > > > > It's been couple of times when user complains that he have
>> > > > > > problems with using Maven distribution vs Ant distribution
>> > > > > > in IDE in a mixed project Jewel + MX/Spark etc.
>> > > > > >
>> > > > > > Can we have that resolve once for all and adjust Maven
>> > > > > > distribution folder to produce proper names of swcs ?
>> > > > > >
>> > > > > > Currently when I build Maven IDE distribution I have:
>> > > > > >
>> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
>> > > > > >
>> > > > > > When I build Ant IDE distribution I have:
>> > > > > >
>> > > > > > MXRoyale-js.swc
>> > > > > >
>> > > > > > Thanks,
>> > > > > > --
>> > > > > >
>> > > > > > Piotr Zarzycki
>> > > > > >
>> > > > > --
>> > > > >
>> > > > > Piotr Zarzycki
>> > > > >
>> > > >
>> > > >
>> > > > --
>> > > >
>> > > > Piotr Zarzycki
>> > > >
>> > >
>> > >
>> > > --
>> > >
>> > > Piotr Zarzycki
>> > >
>> >
>> >
>> > --
>> >
>> > Piotr Zarzycki
>> >
>>
>>
>> --
>>
>> Piotr Zarzycki
>>
>
>
> --
> Carlos Rovira
> Apache Member & Apache Royale PMC
> *Apache Software Foundation*
> http://about.me/carlosrovira
>
>
--
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira
AW: Align Maven IDE distribution with Ant IDE distribution
Posted by Christofer Dutz <ch...@c-ware.de>.
I'll try to guess what you wanted to say here ...
But I think these are exactly the changes I comitted a an hour ago, right?
At least in general I replaced all the references to names with versions to the changed ones.
Chris
-----Ursprüngliche Nachricht-----
Von: Maria Jose Esteve <mj...@iest.com>
Gesendet: Freitag, 19. Februar 2021 10:01
An: dev@royale.apache.org
Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
Hi,
Mi distribución hace referencia en el fichero "./frameworks/royale-config.xml" a las librerías:
<js-external-library-path>
<path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc</path-element>
<path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc</path-element>
</js-external-library-path>
Las correctas son:
<js-external-library-path>
<path-element>../js/libs/royale-typedefs-js.swc</path-element>
<path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
</js-external-library-path>
Hiedra
-----Mensaje original-----
De: Christofer Dutz <ch...@c-ware.de> Enviado el: viernes, 19 de febrero de 2021 9:39
Para: dev@royale.apache.org
Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
Ok,
so the config xml files in the distribution were still pointing to the old names. I updated them all to now refer to the names.
I tried things in Carlos' demo project, and I'm no-longer getting the errors, however compilation seems to take for ever.
Please try out the changes and tell me if there are any problems with them.
Chris
-----Ursprüngliche Nachricht-----
Von: Christofer Dutz <ch...@c-ware.de>
Gesendet: Donnerstag, 18. Februar 2021 23:17
An: dev@royale.apache.org
Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
Hi Carlos,
I'll look into this tomorrow.
Chris
-----Ursprüngliche Nachricht-----
Von: Carlos Rovira <ca...@apache.org>
Gesendet: Donnerstag, 18. Februar 2021 17:49
An: Apache Royale Development <de...@royale.apache.org>
Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
Hi, I think I talked very quickly, sorry, there seems to be a problem.
@Christofer Dutz <ch...@c-ware.de> you can download this project:
https://github.com/apache/royale-asjs/files/6004363/ToggleButtonBarIssue.zip
Then using VSCode with AS3&MXML and adding the Maven distribution.
Then hit CTRL+ENTER and you will get the following fail. Using ANT distribution is working fine.
Can you take a look?
Royale Compiler Shell
(fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale --source-map=true --html-template=src/html/jewel-example-index-template.html
--theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/src/main/resources/defaults.css
--source-path+=src --library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
--js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
-compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
-js-dynamic-access-unknown-members=true -- src/App.mxml
fcsh: Assigned 1 as the compile target id The project 'App' has been successfully compiled and optimized.
Compile status: 0
Elapsed time: 14.211105399 seconds
Feb 18, 2021 5:43:40 PM com.google.javascript.jscomp.LoggerErrorManager
printSummary
INFO: 0 error(s), 0 warning(s), 96.5% typed
(fcsh) quit
Compiler shell exited with code: 0
Royale Compiler Shell
(fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale --source-map=true --html-template=src/html/jewel-example-index-template.html
--theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/src/main/resources/defaults.css
--source-path+=src --library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
--js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
-compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
-js-dynamic-access-unknown-members=true -- src/App.mxml
fcsh: Assigned 1 as the compile target id Compile status: 5 Elapsed time: 0.618407478 seconds
/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
col: 0 Error: unable to open
'/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml
(line: 81)
</js-external-library-path>
/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
col: 0 Error: unable to open
'/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml
(line: 81)
</js-external-library-path>
(fcsh)
Quick Compile failed. Errors in compiler output.
El jue, 18 feb 2021 a las 17:26, Carlos Rovira (<ca...@apache.org>)
escribió:
> Hi,
>
> I rebuilt all from scratch just now and finally the distribution too
> and tried in VSCode and all seems to work fine for me.
>
> El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> christofer.dutz@c-ware.de>) escribió:
>
>> Hi Piotr,
>>
>> that class is located in lib\external\flex-tool-api.jar At least in
>> my distribution it's there and it contains the class.
>>
>> How are you calling the build that's failing?
>>
>> Chris
>>
>> -----Ursprüngliche Nachricht-----
>> Von: Piotr Zarzycki <pi...@gmail.com>
>> Gesendet: Donnerstag, 18. Februar 2021 16:22
>> An: Apache Royale Development <de...@royale.apache.org>
>> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>>
>> Chris,
>>
>> I just checked and I'm not able build project anymore using distribution:
>>
>> : Using Royale SDK: "D:\Work\royale_ide\distribution"
>> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m
>> -Xmx3000m
>> : Error: Could not find or load main class
>> org.apache.royale.compiler.clients.MXMLJSC
>> : Caused by: java.lang.NoClassDefFoundError:
>> org/apache/flex/tools/FlexTool
>>
>> I'm done for today, so I will answer anything tomorrow.
>>
>> czw., 18 lut 2021 o 16:05 Christofer Dutz <ch...@c-ware.de>
>> napisał(a):
>>
>> > Ok ...
>> >
>> > so I just pushed another change. Now the distribution should also
>> > contain an empty spark.css, just like the Ant one.
>> >
>> > Chris
>> >
>> >
>> > -----Ursprüngliche Nachricht-----
>> > Von: Christofer Dutz <ch...@c-ware.de>
>> > Gesendet: Donnerstag, 18. Februar 2021 15:58
>> > An: dev@royale.apache.org
>> > Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
>> >
>> > Ok,
>> >
>> > so that should now be fixed. Leaves the "spark.css"
>> > Having had a look, it seems as if the Ant build creates an empty
>> spark.css.
>> >
>> > Is this all we need? If yes, then I'll have that in ther in no time.
>> >
>> > Chris
>> >
>> > -----Ursprüngliche Nachricht-----
>> > Von: Piotr Zarzycki <pi...@gmail.com>
>> > Gesendet: Donnerstag, 18. Februar 2021 15:54
>> > An: Apache Royale Development <de...@royale.apache.org>
>> > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>> >
>> > *(I assume that's in the "frameworks/js/libs" directory? *
>> >
>> > Yes this is the directory.
>> >
>> > czw., 18 lut 2021 o 15:51 Christofer Dutz
>> > <ch...@c-ware.de>
>> > napisał(a):
>> >
>> > > Hi Piotr,
>> > >
>> > > Ok ... so Ant seems to be adding a "JS" to the end of every name
>> > > (I assume that's in the "frameworks/js/libs" directory?
>> > >
>> > > Also I'll try to find out where the "spark.css" should come from ...
>> > > and where it should go to.
>> > >
>> > > Chris
>> > >
>> > >
>> > > -----Ursprüngliche Nachricht-----
>> > > Von: Piotr Zarzycki <pi...@gmail.com>
>> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
>> > > An: Apache Royale Development <de...@royale.apache.org>
>> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
>> > > distribution
>> > >
>> > > Chris,
>> > >
>> > > Looks better but here is the comparision what I have in Ant
>> > > distribution vs Maven distribution in case of names. On the left
>> > > Ant distribution, on the right Maven. It is folder:
>> > > frameworks\js\libs\ [1]
>> > >
>> > > [1] https://ibb.co/W2DzcDb
>> > >
>> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
>> > > <ch...@c-ware.de>
>> > > napisał(a):
>> > >
>> > > > And done ...
>> > > >
>> > > > Now all elements in the distribution only consist of their name
>> > > > and file-ending ... all versions and classifiers have been removed.
>> > > > Please provide me with feedback on if this solves the issues.
>> > > >
>> > > > Chris
>> > > >
>> > > >
>> > > > -----Ursprüngliche Nachricht-----
>> > > > Von: Christofer Dutz <ch...@c-ware.de>
>> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
>> > > > An: dev@royale.apache.org
>> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
>> > > > distribution
>> > > >
>> > > > I'll probably have a fix for that in a few minuntes ...
>> > > >
>> > > >
>> > > > Chris
>> > > >
>> > > >
>> > > > -----Ursprüngliche Nachricht-----
>> > > > Von: Piotr Zarzycki <pi...@gmail.com>
>> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
>> > > > An: Apache Royale Development <de...@royale.apache.org>
>> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
>> > > > distribution
>> > > >
>> > > > Chris,
>> > > >
>> > > > No it's not about not picking up by IDE at all. Moonshine and
>> > > > VSCode are able to build projects using Maven distribution
>> > > > package! It is about project which are mixed for example when
>> > > > user wanted to use Jewel module + RemoteObject class from
>> > > > MXRoyale module. In that case user need to point explicilty as
>> > > > a compiler options in IDE that he wanted to have SWC included
>> > > > and need to exclude css from that swc to
>> > > avoid problems.
>> > > >
>> > > > It is happen like that:
>> > > >
>> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.cs
>> > > > s
>> > > >
>> > > > If I would like to use maven distribution user need to know
>> > > > version for that compiler options. It is even more tricky when
>> > > > your swc is called
>> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
>> > > >
>> > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.css
>> > > >
>> > > > Thanks,
>> > > > Piotr
>> > > >
>> > > >
>> > > >
>> > > >
>> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
>> > > > <ch...@c-ware.de>
>> > > > napisał(a):
>> > > >
>> > > > > Hi Piotr,
>> > > > >
>> > > > > And is really the version-suffix causing it to not be picked
>> > > > > up by the IDEs?
>> > > > >
>> > > > > Chris
>> > > > >
>> > > > > -----Ursprüngliche Nachricht-----
>> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
>> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
>> > > > > An: dev@royale.apache.org
>> > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
>> > > > > distribution
>> > > > >
>> > > > > Hi Chris,
>> > > > >
>> > > > > This is the only thing which seems to be a constant problem here.
>> > > > > I personally and some users will be much more happy having
>> > > > > that
>> > change.
>> > > > >
>> > > > > Thanks,
>> > > > > Piotr
>> > > > >
>> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
>> > > > > <ch...@c-ware.de>
>> > > > > wrote:
>> > > > >
>> > > > > > Hi Piotr,
>> > > > > >
>> > > > > > I'd be happy to help with that.
>> > > > > >
>> > > > > > I did simply ask for a list of things that need to be
>> > > > > > changed in order to get things working, but never got said
>> > > > > > list, so I never knew what I could do to make the Maven
>> > > > > > distribution match up to the
>> > > > Ant built one.
>> > > > > >
>> > > > > > Chris
>> > > > > >
>> > > > > >
>> > > > > > -----Ursprüngliche Nachricht-----
>> > > > > > Von: Piotr Zarzycki <pi...@gmail.com>
>> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
>> > > > > > An: Apache Royale Development <de...@royale.apache.org>
>> > > > > > Betreff: Align Maven IDE distribution with Ant IDE
>> > > > > > distribution
>> > > > > >
>> > > > > > Hi Guys,
>> > > > > >
>> > > > > > It's been couple of times when user complains that he have
>> > > > > > problems with using Maven distribution vs Ant distribution
>> > > > > > in IDE in a mixed project Jewel + MX/Spark etc.
>> > > > > >
>> > > > > > Can we have that resolve once for all and adjust Maven
>> > > > > > distribution folder to produce proper names of swcs ?
>> > > > > >
>> > > > > > Currently when I build Maven IDE distribution I have:
>> > > > > >
>> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
>> > > > > >
>> > > > > > When I build Ant IDE distribution I have:
>> > > > > >
>> > > > > > MXRoyale-js.swc
>> > > > > >
>> > > > > > Thanks,
>> > > > > > --
>> > > > > >
>> > > > > > Piotr Zarzycki
>> > > > > >
>> > > > > --
>> > > > >
>> > > > > Piotr Zarzycki
>> > > > >
>> > > >
>> > > >
>> > > > --
>> > > >
>> > > > Piotr Zarzycki
>> > > >
>> > >
>> > >
>> > > --
>> > >
>> > > Piotr Zarzycki
>> > >
>> >
>> >
>> > --
>> >
>> > Piotr Zarzycki
>> >
>>
>>
>> --
>>
>> Piotr Zarzycki
>>
>
>
> --
> Carlos Rovira
> Apache Member & Apache Royale PMC
> *Apache Software Foundation*
> http://about.me/carlosrovira
>
>
--
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira
RE: Align Maven IDE distribution with Ant IDE distribution
Posted by Maria Jose Esteve <mj...@iest.com>.
Hi,
Mi distribución hace referencia en el fichero "./frameworks/royale-config.xml" a las librerías:
<js-external-library-path>
<path-element>../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc</path-element>
<path-element>../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc</path-element>
</js-external-library-path>
Las correctas son:
<js-external-library-path>
<path-element>../js/libs/royale-typedefs-js.swc</path-element>
<path-element>../js/libs/royale-typedefs-gcl.swc</path-element>
</js-external-library-path>
Hiedra
-----Mensaje original-----
De: Christofer Dutz <ch...@c-ware.de>
Enviado el: viernes, 19 de febrero de 2021 9:39
Para: dev@royale.apache.org
Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
Ok,
so the config xml files in the distribution were still pointing to the old names. I updated them all to now refer to the names.
I tried things in Carlos' demo project, and I'm no-longer getting the errors, however compilation seems to take for ever.
Please try out the changes and tell me if there are any problems with them.
Chris
-----Ursprüngliche Nachricht-----
Von: Christofer Dutz <ch...@c-ware.de>
Gesendet: Donnerstag, 18. Februar 2021 23:17
An: dev@royale.apache.org
Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
Hi Carlos,
I'll look into this tomorrow.
Chris
-----Ursprüngliche Nachricht-----
Von: Carlos Rovira <ca...@apache.org>
Gesendet: Donnerstag, 18. Februar 2021 17:49
An: Apache Royale Development <de...@royale.apache.org>
Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
Hi, I think I talked very quickly, sorry, there seems to be a problem.
@Christofer Dutz <ch...@c-ware.de> you can download this project:
https://github.com/apache/royale-asjs/files/6004363/ToggleButtonBarIssue.zip
Then using VSCode with AS3&MXML and adding the Maven distribution.
Then hit CTRL+ENTER and you will get the following fail. Using ANT distribution is working fine.
Can you take a look?
Royale Compiler Shell
(fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale --source-map=true --html-template=src/html/jewel-example-index-template.html
--theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/src/main/resources/defaults.css
--source-path+=src --library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
--js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
-compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
-js-dynamic-access-unknown-members=true -- src/App.mxml
fcsh: Assigned 1 as the compile target id The project 'App' has been successfully compiled and optimized.
Compile status: 0
Elapsed time: 14.211105399 seconds
Feb 18, 2021 5:43:40 PM com.google.javascript.jscomp.LoggerErrorManager
printSummary
INFO: 0 error(s), 0 warning(s), 96.5% typed
(fcsh) quit
Compiler shell exited with code: 0
Royale Compiler Shell
(fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale --source-map=true --html-template=src/html/jewel-example-index-template.html
--theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/src/main/resources/defaults.css
--source-path+=src --library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
--js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
-compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
-js-dynamic-access-unknown-members=true -- src/App.mxml
fcsh: Assigned 1 as the compile target id Compile status: 5 Elapsed time: 0.618407478 seconds
/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
col: 0 Error: unable to open
'/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml
(line: 81)
</js-external-library-path>
/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
col: 0 Error: unable to open
'/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml
(line: 81)
</js-external-library-path>
(fcsh)
Quick Compile failed. Errors in compiler output.
El jue, 18 feb 2021 a las 17:26, Carlos Rovira (<ca...@apache.org>)
escribió:
> Hi,
>
> I rebuilt all from scratch just now and finally the distribution too
> and tried in VSCode and all seems to work fine for me.
>
> El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> christofer.dutz@c-ware.de>) escribió:
>
>> Hi Piotr,
>>
>> that class is located in lib\external\flex-tool-api.jar At least in
>> my distribution it's there and it contains the class.
>>
>> How are you calling the build that's failing?
>>
>> Chris
>>
>> -----Ursprüngliche Nachricht-----
>> Von: Piotr Zarzycki <pi...@gmail.com>
>> Gesendet: Donnerstag, 18. Februar 2021 16:22
>> An: Apache Royale Development <de...@royale.apache.org>
>> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>>
>> Chris,
>>
>> I just checked and I'm not able build project anymore using distribution:
>>
>> : Using Royale SDK: "D:\Work\royale_ide\distribution"
>> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m
>> -Xmx3000m
>> : Error: Could not find or load main class
>> org.apache.royale.compiler.clients.MXMLJSC
>> : Caused by: java.lang.NoClassDefFoundError:
>> org/apache/flex/tools/FlexTool
>>
>> I'm done for today, so I will answer anything tomorrow.
>>
>> czw., 18 lut 2021 o 16:05 Christofer Dutz <ch...@c-ware.de>
>> napisał(a):
>>
>> > Ok ...
>> >
>> > so I just pushed another change. Now the distribution should also
>> > contain an empty spark.css, just like the Ant one.
>> >
>> > Chris
>> >
>> >
>> > -----Ursprüngliche Nachricht-----
>> > Von: Christofer Dutz <ch...@c-ware.de>
>> > Gesendet: Donnerstag, 18. Februar 2021 15:58
>> > An: dev@royale.apache.org
>> > Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
>> >
>> > Ok,
>> >
>> > so that should now be fixed. Leaves the "spark.css"
>> > Having had a look, it seems as if the Ant build creates an empty
>> spark.css.
>> >
>> > Is this all we need? If yes, then I'll have that in ther in no time.
>> >
>> > Chris
>> >
>> > -----Ursprüngliche Nachricht-----
>> > Von: Piotr Zarzycki <pi...@gmail.com>
>> > Gesendet: Donnerstag, 18. Februar 2021 15:54
>> > An: Apache Royale Development <de...@royale.apache.org>
>> > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>> >
>> > *(I assume that's in the "frameworks/js/libs" directory? *
>> >
>> > Yes this is the directory.
>> >
>> > czw., 18 lut 2021 o 15:51 Christofer Dutz
>> > <ch...@c-ware.de>
>> > napisał(a):
>> >
>> > > Hi Piotr,
>> > >
>> > > Ok ... so Ant seems to be adding a "JS" to the end of every name
>> > > (I assume that's in the "frameworks/js/libs" directory?
>> > >
>> > > Also I'll try to find out where the "spark.css" should come from ...
>> > > and where it should go to.
>> > >
>> > > Chris
>> > >
>> > >
>> > > -----Ursprüngliche Nachricht-----
>> > > Von: Piotr Zarzycki <pi...@gmail.com>
>> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
>> > > An: Apache Royale Development <de...@royale.apache.org>
>> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
>> > > distribution
>> > >
>> > > Chris,
>> > >
>> > > Looks better but here is the comparision what I have in Ant
>> > > distribution vs Maven distribution in case of names. On the left
>> > > Ant distribution, on the right Maven. It is folder:
>> > > frameworks\js\libs\ [1]
>> > >
>> > > [1] https://ibb.co/W2DzcDb
>> > >
>> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
>> > > <ch...@c-ware.de>
>> > > napisał(a):
>> > >
>> > > > And done ...
>> > > >
>> > > > Now all elements in the distribution only consist of their name
>> > > > and file-ending ... all versions and classifiers have been removed.
>> > > > Please provide me with feedback on if this solves the issues.
>> > > >
>> > > > Chris
>> > > >
>> > > >
>> > > > -----Ursprüngliche Nachricht-----
>> > > > Von: Christofer Dutz <ch...@c-ware.de>
>> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
>> > > > An: dev@royale.apache.org
>> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
>> > > > distribution
>> > > >
>> > > > I'll probably have a fix for that in a few minuntes ...
>> > > >
>> > > >
>> > > > Chris
>> > > >
>> > > >
>> > > > -----Ursprüngliche Nachricht-----
>> > > > Von: Piotr Zarzycki <pi...@gmail.com>
>> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
>> > > > An: Apache Royale Development <de...@royale.apache.org>
>> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
>> > > > distribution
>> > > >
>> > > > Chris,
>> > > >
>> > > > No it's not about not picking up by IDE at all. Moonshine and
>> > > > VSCode are able to build projects using Maven distribution
>> > > > package! It is about project which are mixed for example when
>> > > > user wanted to use Jewel module + RemoteObject class from
>> > > > MXRoyale module. In that case user need to point explicilty as
>> > > > a compiler options in IDE that he wanted to have SWC included
>> > > > and need to exclude css from that swc to
>> > > avoid problems.
>> > > >
>> > > > It is happen like that:
>> > > >
>> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.cs
>> > > > s
>> > > >
>> > > > If I would like to use maven distribution user need to know
>> > > > version for that compiler options. It is even more tricky when
>> > > > your swc is called
>> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
>> > > >
>> > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.css
>> > > >
>> > > > Thanks,
>> > > > Piotr
>> > > >
>> > > >
>> > > >
>> > > >
>> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
>> > > > <ch...@c-ware.de>
>> > > > napisał(a):
>> > > >
>> > > > > Hi Piotr,
>> > > > >
>> > > > > And is really the version-suffix causing it to not be picked
>> > > > > up by the IDEs?
>> > > > >
>> > > > > Chris
>> > > > >
>> > > > > -----Ursprüngliche Nachricht-----
>> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
>> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
>> > > > > An: dev@royale.apache.org
>> > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
>> > > > > distribution
>> > > > >
>> > > > > Hi Chris,
>> > > > >
>> > > > > This is the only thing which seems to be a constant problem here.
>> > > > > I personally and some users will be much more happy having
>> > > > > that
>> > change.
>> > > > >
>> > > > > Thanks,
>> > > > > Piotr
>> > > > >
>> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
>> > > > > <ch...@c-ware.de>
>> > > > > wrote:
>> > > > >
>> > > > > > Hi Piotr,
>> > > > > >
>> > > > > > I'd be happy to help with that.
>> > > > > >
>> > > > > > I did simply ask for a list of things that need to be
>> > > > > > changed in order to get things working, but never got said
>> > > > > > list, so I never knew what I could do to make the Maven
>> > > > > > distribution match up to the
>> > > > Ant built one.
>> > > > > >
>> > > > > > Chris
>> > > > > >
>> > > > > >
>> > > > > > -----Ursprüngliche Nachricht-----
>> > > > > > Von: Piotr Zarzycki <pi...@gmail.com>
>> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
>> > > > > > An: Apache Royale Development <de...@royale.apache.org>
>> > > > > > Betreff: Align Maven IDE distribution with Ant IDE
>> > > > > > distribution
>> > > > > >
>> > > > > > Hi Guys,
>> > > > > >
>> > > > > > It's been couple of times when user complains that he have
>> > > > > > problems with using Maven distribution vs Ant distribution
>> > > > > > in IDE in a mixed project Jewel + MX/Spark etc.
>> > > > > >
>> > > > > > Can we have that resolve once for all and adjust Maven
>> > > > > > distribution folder to produce proper names of swcs ?
>> > > > > >
>> > > > > > Currently when I build Maven IDE distribution I have:
>> > > > > >
>> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
>> > > > > >
>> > > > > > When I build Ant IDE distribution I have:
>> > > > > >
>> > > > > > MXRoyale-js.swc
>> > > > > >
>> > > > > > Thanks,
>> > > > > > --
>> > > > > >
>> > > > > > Piotr Zarzycki
>> > > > > >
>> > > > > --
>> > > > >
>> > > > > Piotr Zarzycki
>> > > > >
>> > > >
>> > > >
>> > > > --
>> > > >
>> > > > Piotr Zarzycki
>> > > >
>> > >
>> > >
>> > > --
>> > >
>> > > Piotr Zarzycki
>> > >
>> >
>> >
>> > --
>> >
>> > Piotr Zarzycki
>> >
>>
>>
>> --
>>
>> Piotr Zarzycki
>>
>
>
> --
> Carlos Rovira
> Apache Member & Apache Royale PMC
> *Apache Software Foundation*
> http://about.me/carlosrovira
>
>
--
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira
AW: Align Maven IDE distribution with Ant IDE distribution
Posted by Christofer Dutz <ch...@c-ware.de>.
Ok,
so the config xml files in the distribution were still pointing to the old names. I updated them all to now refer to the names.
I tried things in Carlos' demo project, and I'm no-longer getting the errors, however compilation seems to take for ever.
Please try out the changes and tell me if there are any problems with them.
Chris
-----Ursprüngliche Nachricht-----
Von: Christofer Dutz <ch...@c-ware.de>
Gesendet: Donnerstag, 18. Februar 2021 23:17
An: dev@royale.apache.org
Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
Hi Carlos,
I'll look into this tomorrow.
Chris
-----Ursprüngliche Nachricht-----
Von: Carlos Rovira <ca...@apache.org>
Gesendet: Donnerstag, 18. Februar 2021 17:49
An: Apache Royale Development <de...@royale.apache.org>
Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
Hi, I think I talked very quickly, sorry, there seems to be a problem.
@Christofer Dutz <ch...@c-ware.de> you can download this project:
https://github.com/apache/royale-asjs/files/6004363/ToggleButtonBarIssue.zip
Then using VSCode with AS3&MXML and adding the Maven distribution.
Then hit CTRL+ENTER and you will get the following fail. Using ANT distribution is working fine.
Can you take a look?
Royale Compiler Shell
(fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale --source-map=true --html-template=src/html/jewel-example-index-template.html
--theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/src/main/resources/defaults.css
--source-path+=src --library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
--js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
-compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
-js-dynamic-access-unknown-members=true -- src/App.mxml
fcsh: Assigned 1 as the compile target id The project 'App' has been successfully compiled and optimized.
Compile status: 0
Elapsed time: 14.211105399 seconds
Feb 18, 2021 5:43:40 PM com.google.javascript.jscomp.LoggerErrorManager
printSummary
INFO: 0 error(s), 0 warning(s), 96.5% typed
(fcsh) quit
Compiler shell exited with code: 0
Royale Compiler Shell
(fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale --source-map=true --html-template=src/html/jewel-example-index-template.html
--theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/src/main/resources/defaults.css
--source-path+=src --library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
--js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
-compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
-js-dynamic-access-unknown-members=true -- src/App.mxml
fcsh: Assigned 1 as the compile target id Compile status: 5 Elapsed time: 0.618407478 seconds
/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
col: 0 Error: unable to open
'/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml
(line: 81)
</js-external-library-path>
/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
col: 0 Error: unable to open
'/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml
(line: 81)
</js-external-library-path>
(fcsh)
Quick Compile failed. Errors in compiler output.
El jue, 18 feb 2021 a las 17:26, Carlos Rovira (<ca...@apache.org>)
escribió:
> Hi,
>
> I rebuilt all from scratch just now and finally the distribution too
> and tried in VSCode and all seems to work fine for me.
>
> El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> christofer.dutz@c-ware.de>) escribió:
>
>> Hi Piotr,
>>
>> that class is located in lib\external\flex-tool-api.jar At least in
>> my distribution it's there and it contains the class.
>>
>> How are you calling the build that's failing?
>>
>> Chris
>>
>> -----Ursprüngliche Nachricht-----
>> Von: Piotr Zarzycki <pi...@gmail.com>
>> Gesendet: Donnerstag, 18. Februar 2021 16:22
>> An: Apache Royale Development <de...@royale.apache.org>
>> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>>
>> Chris,
>>
>> I just checked and I'm not able build project anymore using distribution:
>>
>> : Using Royale SDK: "D:\Work\royale_ide\distribution"
>> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m
>> -Xmx3000m
>> : Error: Could not find or load main class
>> org.apache.royale.compiler.clients.MXMLJSC
>> : Caused by: java.lang.NoClassDefFoundError:
>> org/apache/flex/tools/FlexTool
>>
>> I'm done for today, so I will answer anything tomorrow.
>>
>> czw., 18 lut 2021 o 16:05 Christofer Dutz <ch...@c-ware.de>
>> napisał(a):
>>
>> > Ok ...
>> >
>> > so I just pushed another change. Now the distribution should also
>> > contain an empty spark.css, just like the Ant one.
>> >
>> > Chris
>> >
>> >
>> > -----Ursprüngliche Nachricht-----
>> > Von: Christofer Dutz <ch...@c-ware.de>
>> > Gesendet: Donnerstag, 18. Februar 2021 15:58
>> > An: dev@royale.apache.org
>> > Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
>> >
>> > Ok,
>> >
>> > so that should now be fixed. Leaves the "spark.css"
>> > Having had a look, it seems as if the Ant build creates an empty
>> spark.css.
>> >
>> > Is this all we need? If yes, then I'll have that in ther in no time.
>> >
>> > Chris
>> >
>> > -----Ursprüngliche Nachricht-----
>> > Von: Piotr Zarzycki <pi...@gmail.com>
>> > Gesendet: Donnerstag, 18. Februar 2021 15:54
>> > An: Apache Royale Development <de...@royale.apache.org>
>> > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>> >
>> > *(I assume that's in the "frameworks/js/libs" directory? *
>> >
>> > Yes this is the directory.
>> >
>> > czw., 18 lut 2021 o 15:51 Christofer Dutz
>> > <ch...@c-ware.de>
>> > napisał(a):
>> >
>> > > Hi Piotr,
>> > >
>> > > Ok ... so Ant seems to be adding a "JS" to the end of every name
>> > > (I assume that's in the "frameworks/js/libs" directory?
>> > >
>> > > Also I'll try to find out where the "spark.css" should come from ...
>> > > and where it should go to.
>> > >
>> > > Chris
>> > >
>> > >
>> > > -----Ursprüngliche Nachricht-----
>> > > Von: Piotr Zarzycki <pi...@gmail.com>
>> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
>> > > An: Apache Royale Development <de...@royale.apache.org>
>> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
>> > > distribution
>> > >
>> > > Chris,
>> > >
>> > > Looks better but here is the comparision what I have in Ant
>> > > distribution vs Maven distribution in case of names. On the left
>> > > Ant distribution, on the right Maven. It is folder:
>> > > frameworks\js\libs\ [1]
>> > >
>> > > [1] https://ibb.co/W2DzcDb
>> > >
>> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
>> > > <ch...@c-ware.de>
>> > > napisał(a):
>> > >
>> > > > And done ...
>> > > >
>> > > > Now all elements in the distribution only consist of their name
>> > > > and file-ending ... all versions and classifiers have been removed.
>> > > > Please provide me with feedback on if this solves the issues.
>> > > >
>> > > > Chris
>> > > >
>> > > >
>> > > > -----Ursprüngliche Nachricht-----
>> > > > Von: Christofer Dutz <ch...@c-ware.de>
>> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
>> > > > An: dev@royale.apache.org
>> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
>> > > > distribution
>> > > >
>> > > > I'll probably have a fix for that in a few minuntes ...
>> > > >
>> > > >
>> > > > Chris
>> > > >
>> > > >
>> > > > -----Ursprüngliche Nachricht-----
>> > > > Von: Piotr Zarzycki <pi...@gmail.com>
>> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
>> > > > An: Apache Royale Development <de...@royale.apache.org>
>> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
>> > > > distribution
>> > > >
>> > > > Chris,
>> > > >
>> > > > No it's not about not picking up by IDE at all. Moonshine and
>> > > > VSCode are able to build projects using Maven distribution
>> > > > package! It is about project which are mixed for example when
>> > > > user wanted to use Jewel module + RemoteObject class from
>> > > > MXRoyale module. In that case user need to point explicilty as
>> > > > a compiler options in IDE that he wanted to have SWC included
>> > > > and need to exclude css from that swc to
>> > > avoid problems.
>> > > >
>> > > > It is happen like that:
>> > > >
>> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.cs
>> > > > s
>> > > >
>> > > > If I would like to use maven distribution user need to know
>> > > > version for that compiler options. It is even more tricky when
>> > > > your swc is called
>> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
>> > > >
>> > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.css
>> > > >
>> > > > Thanks,
>> > > > Piotr
>> > > >
>> > > >
>> > > >
>> > > >
>> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
>> > > > <ch...@c-ware.de>
>> > > > napisał(a):
>> > > >
>> > > > > Hi Piotr,
>> > > > >
>> > > > > And is really the version-suffix causing it to not be picked
>> > > > > up by the IDEs?
>> > > > >
>> > > > > Chris
>> > > > >
>> > > > > -----Ursprüngliche Nachricht-----
>> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
>> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
>> > > > > An: dev@royale.apache.org
>> > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
>> > > > > distribution
>> > > > >
>> > > > > Hi Chris,
>> > > > >
>> > > > > This is the only thing which seems to be a constant problem here.
>> > > > > I personally and some users will be much more happy having
>> > > > > that
>> > change.
>> > > > >
>> > > > > Thanks,
>> > > > > Piotr
>> > > > >
>> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
>> > > > > <ch...@c-ware.de>
>> > > > > wrote:
>> > > > >
>> > > > > > Hi Piotr,
>> > > > > >
>> > > > > > I'd be happy to help with that.
>> > > > > >
>> > > > > > I did simply ask for a list of things that need to be
>> > > > > > changed in order to get things working, but never got said
>> > > > > > list, so I never knew what I could do to make the Maven
>> > > > > > distribution match up to the
>> > > > Ant built one.
>> > > > > >
>> > > > > > Chris
>> > > > > >
>> > > > > >
>> > > > > > -----Ursprüngliche Nachricht-----
>> > > > > > Von: Piotr Zarzycki <pi...@gmail.com>
>> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
>> > > > > > An: Apache Royale Development <de...@royale.apache.org>
>> > > > > > Betreff: Align Maven IDE distribution with Ant IDE
>> > > > > > distribution
>> > > > > >
>> > > > > > Hi Guys,
>> > > > > >
>> > > > > > It's been couple of times when user complains that he have
>> > > > > > problems with using Maven distribution vs Ant distribution
>> > > > > > in IDE in a mixed project Jewel + MX/Spark etc.
>> > > > > >
>> > > > > > Can we have that resolve once for all and adjust Maven
>> > > > > > distribution folder to produce proper names of swcs ?
>> > > > > >
>> > > > > > Currently when I build Maven IDE distribution I have:
>> > > > > >
>> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
>> > > > > >
>> > > > > > When I build Ant IDE distribution I have:
>> > > > > >
>> > > > > > MXRoyale-js.swc
>> > > > > >
>> > > > > > Thanks,
>> > > > > > --
>> > > > > >
>> > > > > > Piotr Zarzycki
>> > > > > >
>> > > > > --
>> > > > >
>> > > > > Piotr Zarzycki
>> > > > >
>> > > >
>> > > >
>> > > > --
>> > > >
>> > > > Piotr Zarzycki
>> > > >
>> > >
>> > >
>> > > --
>> > >
>> > > Piotr Zarzycki
>> > >
>> >
>> >
>> > --
>> >
>> > Piotr Zarzycki
>> >
>>
>>
>> --
>>
>> Piotr Zarzycki
>>
>
>
> --
> Carlos Rovira
> Apache Member & Apache Royale PMC
> *Apache Software Foundation*
> http://about.me/carlosrovira
>
>
--
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira
AW: Align Maven IDE distribution with Ant IDE distribution
Posted by Christofer Dutz <ch...@c-ware.de>.
Hi Carlos,
I'll look into this tomorrow.
Chris
-----Ursprüngliche Nachricht-----
Von: Carlos Rovira <ca...@apache.org>
Gesendet: Donnerstag, 18. Februar 2021 17:49
An: Apache Royale Development <de...@royale.apache.org>
Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
Hi, I think I talked very quickly, sorry, there seems to be a problem.
@Christofer Dutz <ch...@c-ware.de> you can download this project:
https://github.com/apache/royale-asjs/files/6004363/ToggleButtonBarIssue.zip
Then using VSCode with AS3&MXML and adding the Maven distribution.
Then hit CTRL+ENTER and you will get the following fail. Using ANT distribution is working fine.
Can you take a look?
Royale Compiler Shell
(fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale --source-map=true --html-template=src/html/jewel-example-index-template.html
--theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/src/main/resources/defaults.css
--source-path+=src --library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
--js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
-compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
-js-dynamic-access-unknown-members=true -- src/App.mxml
fcsh: Assigned 1 as the compile target id The project 'App' has been successfully compiled and optimized.
Compile status: 0
Elapsed time: 14.211105399 seconds
Feb 18, 2021 5:43:40 PM com.google.javascript.jscomp.LoggerErrorManager
printSummary
INFO: 0 error(s), 0 warning(s), 96.5% typed
(fcsh) quit
Compiler shell exited with code: 0
Royale Compiler Shell
(fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale --source-map=true --html-template=src/html/jewel-example-index-template.html
--theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/src/main/resources/defaults.css
--source-path+=src --library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
--js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
-compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
-js-dynamic-access-unknown-members=true -- src/App.mxml
fcsh: Assigned 1 as the compile target id Compile status: 5 Elapsed time: 0.618407478 seconds
/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
col: 0 Error: unable to open
'/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml
(line: 81)
</js-external-library-path>
/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
col: 0 Error: unable to open
'/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml
(line: 81)
</js-external-library-path>
(fcsh)
Quick Compile failed. Errors in compiler output.
El jue, 18 feb 2021 a las 17:26, Carlos Rovira (<ca...@apache.org>)
escribió:
> Hi,
>
> I rebuilt all from scratch just now and finally the distribution too
> and tried in VSCode and all seems to work fine for me.
>
> El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> christofer.dutz@c-ware.de>) escribió:
>
>> Hi Piotr,
>>
>> that class is located in lib\external\flex-tool-api.jar At least in
>> my distribution it's there and it contains the class.
>>
>> How are you calling the build that's failing?
>>
>> Chris
>>
>> -----Ursprüngliche Nachricht-----
>> Von: Piotr Zarzycki <pi...@gmail.com>
>> Gesendet: Donnerstag, 18. Februar 2021 16:22
>> An: Apache Royale Development <de...@royale.apache.org>
>> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>>
>> Chris,
>>
>> I just checked and I'm not able build project anymore using distribution:
>>
>> : Using Royale SDK: "D:\Work\royale_ide\distribution"
>> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m
>> -Xmx3000m
>> : Error: Could not find or load main class
>> org.apache.royale.compiler.clients.MXMLJSC
>> : Caused by: java.lang.NoClassDefFoundError:
>> org/apache/flex/tools/FlexTool
>>
>> I'm done for today, so I will answer anything tomorrow.
>>
>> czw., 18 lut 2021 o 16:05 Christofer Dutz <ch...@c-ware.de>
>> napisał(a):
>>
>> > Ok ...
>> >
>> > so I just pushed another change. Now the distribution should also
>> > contain an empty spark.css, just like the Ant one.
>> >
>> > Chris
>> >
>> >
>> > -----Ursprüngliche Nachricht-----
>> > Von: Christofer Dutz <ch...@c-ware.de>
>> > Gesendet: Donnerstag, 18. Februar 2021 15:58
>> > An: dev@royale.apache.org
>> > Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
>> >
>> > Ok,
>> >
>> > so that should now be fixed. Leaves the "spark.css"
>> > Having had a look, it seems as if the Ant build creates an empty
>> spark.css.
>> >
>> > Is this all we need? If yes, then I'll have that in ther in no time.
>> >
>> > Chris
>> >
>> > -----Ursprüngliche Nachricht-----
>> > Von: Piotr Zarzycki <pi...@gmail.com>
>> > Gesendet: Donnerstag, 18. Februar 2021 15:54
>> > An: Apache Royale Development <de...@royale.apache.org>
>> > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>> >
>> > *(I assume that's in the "frameworks/js/libs" directory? *
>> >
>> > Yes this is the directory.
>> >
>> > czw., 18 lut 2021 o 15:51 Christofer Dutz
>> > <ch...@c-ware.de>
>> > napisał(a):
>> >
>> > > Hi Piotr,
>> > >
>> > > Ok ... so Ant seems to be adding a "JS" to the end of every name
>> > > (I assume that's in the "frameworks/js/libs" directory?
>> > >
>> > > Also I'll try to find out where the "spark.css" should come from ...
>> > > and where it should go to.
>> > >
>> > > Chris
>> > >
>> > >
>> > > -----Ursprüngliche Nachricht-----
>> > > Von: Piotr Zarzycki <pi...@gmail.com>
>> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
>> > > An: Apache Royale Development <de...@royale.apache.org>
>> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
>> > > distribution
>> > >
>> > > Chris,
>> > >
>> > > Looks better but here is the comparision what I have in Ant
>> > > distribution vs Maven distribution in case of names. On the left
>> > > Ant distribution, on the right Maven. It is folder:
>> > > frameworks\js\libs\ [1]
>> > >
>> > > [1] https://ibb.co/W2DzcDb
>> > >
>> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
>> > > <ch...@c-ware.de>
>> > > napisał(a):
>> > >
>> > > > And done ...
>> > > >
>> > > > Now all elements in the distribution only consist of their name
>> > > > and file-ending ... all versions and classifiers have been removed.
>> > > > Please provide me with feedback on if this solves the issues.
>> > > >
>> > > > Chris
>> > > >
>> > > >
>> > > > -----Ursprüngliche Nachricht-----
>> > > > Von: Christofer Dutz <ch...@c-ware.de>
>> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
>> > > > An: dev@royale.apache.org
>> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
>> > > > distribution
>> > > >
>> > > > I'll probably have a fix for that in a few minuntes ...
>> > > >
>> > > >
>> > > > Chris
>> > > >
>> > > >
>> > > > -----Ursprüngliche Nachricht-----
>> > > > Von: Piotr Zarzycki <pi...@gmail.com>
>> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
>> > > > An: Apache Royale Development <de...@royale.apache.org>
>> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
>> > > > distribution
>> > > >
>> > > > Chris,
>> > > >
>> > > > No it's not about not picking up by IDE at all. Moonshine and
>> > > > VSCode are able to build projects using Maven distribution
>> > > > package! It is about project which are mixed for example when
>> > > > user wanted to use Jewel module + RemoteObject class from
>> > > > MXRoyale module. In that case user need to point explicilty as
>> > > > a compiler options in IDE that he wanted to have SWC included
>> > > > and need to exclude css from that swc to
>> > > avoid problems.
>> > > >
>> > > > It is happen like that:
>> > > >
>> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.cs
>> > > > s
>> > > >
>> > > > If I would like to use maven distribution user need to know
>> > > > version for that compiler options. It is even more tricky when
>> > > > your swc is called
>> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
>> > > >
>> > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.css
>> > > >
>> > > > Thanks,
>> > > > Piotr
>> > > >
>> > > >
>> > > >
>> > > >
>> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
>> > > > <ch...@c-ware.de>
>> > > > napisał(a):
>> > > >
>> > > > > Hi Piotr,
>> > > > >
>> > > > > And is really the version-suffix causing it to not be picked
>> > > > > up by the IDEs?
>> > > > >
>> > > > > Chris
>> > > > >
>> > > > > -----Ursprüngliche Nachricht-----
>> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
>> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
>> > > > > An: dev@royale.apache.org
>> > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
>> > > > > distribution
>> > > > >
>> > > > > Hi Chris,
>> > > > >
>> > > > > This is the only thing which seems to be a constant problem here.
>> > > > > I personally and some users will be much more happy having
>> > > > > that
>> > change.
>> > > > >
>> > > > > Thanks,
>> > > > > Piotr
>> > > > >
>> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
>> > > > > <ch...@c-ware.de>
>> > > > > wrote:
>> > > > >
>> > > > > > Hi Piotr,
>> > > > > >
>> > > > > > I'd be happy to help with that.
>> > > > > >
>> > > > > > I did simply ask for a list of things that need to be
>> > > > > > changed in order to get things working, but never got said
>> > > > > > list, so I never knew what I could do to make the Maven
>> > > > > > distribution match up to the
>> > > > Ant built one.
>> > > > > >
>> > > > > > Chris
>> > > > > >
>> > > > > >
>> > > > > > -----Ursprüngliche Nachricht-----
>> > > > > > Von: Piotr Zarzycki <pi...@gmail.com>
>> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
>> > > > > > An: Apache Royale Development <de...@royale.apache.org>
>> > > > > > Betreff: Align Maven IDE distribution with Ant IDE
>> > > > > > distribution
>> > > > > >
>> > > > > > Hi Guys,
>> > > > > >
>> > > > > > It's been couple of times when user complains that he have
>> > > > > > problems with using Maven distribution vs Ant distribution
>> > > > > > in IDE in a mixed project Jewel + MX/Spark etc.
>> > > > > >
>> > > > > > Can we have that resolve once for all and adjust Maven
>> > > > > > distribution folder to produce proper names of swcs ?
>> > > > > >
>> > > > > > Currently when I build Maven IDE distribution I have:
>> > > > > >
>> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
>> > > > > >
>> > > > > > When I build Ant IDE distribution I have:
>> > > > > >
>> > > > > > MXRoyale-js.swc
>> > > > > >
>> > > > > > Thanks,
>> > > > > > --
>> > > > > >
>> > > > > > Piotr Zarzycki
>> > > > > >
>> > > > > --
>> > > > >
>> > > > > Piotr Zarzycki
>> > > > >
>> > > >
>> > > >
>> > > > --
>> > > >
>> > > > Piotr Zarzycki
>> > > >
>> > >
>> > >
>> > > --
>> > >
>> > > Piotr Zarzycki
>> > >
>> >
>> >
>> > --
>> >
>> > Piotr Zarzycki
>> >
>>
>>
>> --
>>
>> Piotr Zarzycki
>>
>
>
> --
> Carlos Rovira
> Apache Member & Apache Royale PMC
> *Apache Software Foundation*
> http://about.me/carlosrovira
>
>
--
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira
Re: Align Maven IDE distribution with Ant IDE distribution
Posted by Carlos Rovira <ca...@apache.org>.
Hi, I think I talked very quickly, sorry, there seems to be a problem.
@Christofer Dutz <ch...@c-ware.de> you can download this project:
https://github.com/apache/royale-asjs/files/6004363/ToggleButtonBarIssue.zip
Then using VSCode with AS3&MXML and adding the Maven distribution.
Then hit CTRL+ENTER and you will get the following fail. Using ANT
distribution is working fine.
Can you take a look?
Royale Compiler Shell
(fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
--source-map=true
--html-template=src/html/jewel-example-index-template.html
--theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/src/main/resources/defaults.css
--source-path+=src --library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
--js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
-compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
-js-dynamic-access-unknown-members=true -- src/App.mxml
fcsh: Assigned 1 as the compile target id
The project 'App' has been successfully compiled and optimized.
Compile status: 0
Elapsed time: 14.211105399 seconds
Feb 18, 2021 5:43:40 PM com.google.javascript.jscomp.LoggerErrorManager
printSummary
INFO: 0 error(s), 0 warning(s), 96.5% typed
(fcsh) quit
Compiler shell exited with code: 0
Royale Compiler Shell
(fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
--source-map=true
--html-template=src/html/jewel-example-index-template.html
--theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/src/main/resources/defaults.css
--source-path+=src --library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
--js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
-compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
-js-dynamic-access-unknown-members=true -- src/App.mxml
fcsh: Assigned 1 as the compile target id
Compile status: 5
Elapsed time: 0.618407478 seconds
/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
col: 0 Error: unable to open
'/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml
(line: 81)
</js-external-library-path>
/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
col: 0 Error: unable to open
'/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml
(line: 81)
</js-external-library-path>
(fcsh)
Quick Compile failed. Errors in compiler output.
El jue, 18 feb 2021 a las 17:26, Carlos Rovira (<ca...@apache.org>)
escribió:
> Hi,
>
> I rebuilt all from scratch just now and finally the distribution too and
> tried in VSCode and all seems to work fine for me.
>
> El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> christofer.dutz@c-ware.de>) escribió:
>
>> Hi Piotr,
>>
>> that class is located in lib\external\flex-tool-api.jar
>> At least in my distribution it's there and it contains the class.
>>
>> How are you calling the build that's failing?
>>
>> Chris
>>
>> -----Ursprüngliche Nachricht-----
>> Von: Piotr Zarzycki <pi...@gmail.com>
>> Gesendet: Donnerstag, 18. Februar 2021 16:22
>> An: Apache Royale Development <de...@royale.apache.org>
>> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>>
>> Chris,
>>
>> I just checked and I'm not able build project anymore using distribution:
>>
>> : Using Royale SDK: "D:\Work\royale_ide\distribution"
>> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m -Xmx3000m
>> : Error: Could not find or load main class
>> org.apache.royale.compiler.clients.MXMLJSC
>> : Caused by: java.lang.NoClassDefFoundError:
>> org/apache/flex/tools/FlexTool
>>
>> I'm done for today, so I will answer anything tomorrow.
>>
>> czw., 18 lut 2021 o 16:05 Christofer Dutz <ch...@c-ware.de>
>> napisał(a):
>>
>> > Ok ...
>> >
>> > so I just pushed another change. Now the distribution should also
>> > contain an empty spark.css, just like the Ant one.
>> >
>> > Chris
>> >
>> >
>> > -----Ursprüngliche Nachricht-----
>> > Von: Christofer Dutz <ch...@c-ware.de>
>> > Gesendet: Donnerstag, 18. Februar 2021 15:58
>> > An: dev@royale.apache.org
>> > Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
>> >
>> > Ok,
>> >
>> > so that should now be fixed. Leaves the "spark.css"
>> > Having had a look, it seems as if the Ant build creates an empty
>> spark.css.
>> >
>> > Is this all we need? If yes, then I'll have that in ther in no time.
>> >
>> > Chris
>> >
>> > -----Ursprüngliche Nachricht-----
>> > Von: Piotr Zarzycki <pi...@gmail.com>
>> > Gesendet: Donnerstag, 18. Februar 2021 15:54
>> > An: Apache Royale Development <de...@royale.apache.org>
>> > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>> >
>> > *(I assume that's in the "frameworks/js/libs" directory? *
>> >
>> > Yes this is the directory.
>> >
>> > czw., 18 lut 2021 o 15:51 Christofer Dutz <ch...@c-ware.de>
>> > napisał(a):
>> >
>> > > Hi Piotr,
>> > >
>> > > Ok ... so Ant seems to be adding a "JS" to the end of every name (I
>> > > assume that's in the "frameworks/js/libs" directory?
>> > >
>> > > Also I'll try to find out where the "spark.css" should come from ...
>> > > and where it should go to.
>> > >
>> > > Chris
>> > >
>> > >
>> > > -----Ursprüngliche Nachricht-----
>> > > Von: Piotr Zarzycki <pi...@gmail.com>
>> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
>> > > An: Apache Royale Development <de...@royale.apache.org>
>> > > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>> > >
>> > > Chris,
>> > >
>> > > Looks better but here is the comparision what I have in Ant
>> > > distribution vs Maven distribution in case of names. On the left Ant
>> > > distribution, on the right Maven. It is folder: frameworks\js\libs\
>> > > [1]
>> > >
>> > > [1] https://ibb.co/W2DzcDb
>> > >
>> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
>> > > <ch...@c-ware.de>
>> > > napisał(a):
>> > >
>> > > > And done ...
>> > > >
>> > > > Now all elements in the distribution only consist of their name
>> > > > and file-ending ... all versions and classifiers have been removed.
>> > > > Please provide me with feedback on if this solves the issues.
>> > > >
>> > > > Chris
>> > > >
>> > > >
>> > > > -----Ursprüngliche Nachricht-----
>> > > > Von: Christofer Dutz <ch...@c-ware.de>
>> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
>> > > > An: dev@royale.apache.org
>> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
>> > > > distribution
>> > > >
>> > > > I'll probably have a fix for that in a few minuntes ...
>> > > >
>> > > >
>> > > > Chris
>> > > >
>> > > >
>> > > > -----Ursprüngliche Nachricht-----
>> > > > Von: Piotr Zarzycki <pi...@gmail.com>
>> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
>> > > > An: Apache Royale Development <de...@royale.apache.org>
>> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
>> > > > distribution
>> > > >
>> > > > Chris,
>> > > >
>> > > > No it's not about not picking up by IDE at all. Moonshine and
>> > > > VSCode are able to build projects using Maven distribution
>> > > > package! It is about project which are mixed for example when user
>> > > > wanted to use Jewel module + RemoteObject class from MXRoyale
>> > > > module. In that case user need to point explicilty as a compiler
>> > > > options in IDE that he wanted to have SWC included and need to
>> > > > exclude css from that swc to
>> > > avoid problems.
>> > > >
>> > > > It is happen like that:
>> > > >
>> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
>> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
>> > > >
>> > > > If I would like to use maven distribution user need to know
>> > > > version for that compiler options. It is even more tricky when
>> > > > your swc is called
>> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
>> > > >
>> > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.css
>> > > >
>> > > > Thanks,
>> > > > Piotr
>> > > >
>> > > >
>> > > >
>> > > >
>> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
>> > > > <ch...@c-ware.de>
>> > > > napisał(a):
>> > > >
>> > > > > Hi Piotr,
>> > > > >
>> > > > > And is really the version-suffix causing it to not be picked up
>> > > > > by the IDEs?
>> > > > >
>> > > > > Chris
>> > > > >
>> > > > > -----Ursprüngliche Nachricht-----
>> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
>> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
>> > > > > An: dev@royale.apache.org
>> > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
>> > > > > distribution
>> > > > >
>> > > > > Hi Chris,
>> > > > >
>> > > > > This is the only thing which seems to be a constant problem here.
>> > > > > I personally and some users will be much more happy having that
>> > change.
>> > > > >
>> > > > > Thanks,
>> > > > > Piotr
>> > > > >
>> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
>> > > > > <ch...@c-ware.de>
>> > > > > wrote:
>> > > > >
>> > > > > > Hi Piotr,
>> > > > > >
>> > > > > > I'd be happy to help with that.
>> > > > > >
>> > > > > > I did simply ask for a list of things that need to be changed
>> > > > > > in order to get things working, but never got said list, so I
>> > > > > > never knew what I could do to make the Maven distribution
>> > > > > > match up to the
>> > > > Ant built one.
>> > > > > >
>> > > > > > Chris
>> > > > > >
>> > > > > >
>> > > > > > -----Ursprüngliche Nachricht-----
>> > > > > > Von: Piotr Zarzycki <pi...@gmail.com>
>> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
>> > > > > > An: Apache Royale Development <de...@royale.apache.org>
>> > > > > > Betreff: Align Maven IDE distribution with Ant IDE
>> > > > > > distribution
>> > > > > >
>> > > > > > Hi Guys,
>> > > > > >
>> > > > > > It's been couple of times when user complains that he have
>> > > > > > problems with using Maven distribution vs Ant distribution in
>> > > > > > IDE in a mixed project Jewel + MX/Spark etc.
>> > > > > >
>> > > > > > Can we have that resolve once for all and adjust Maven
>> > > > > > distribution folder to produce proper names of swcs ?
>> > > > > >
>> > > > > > Currently when I build Maven IDE distribution I have:
>> > > > > >
>> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
>> > > > > >
>> > > > > > When I build Ant IDE distribution I have:
>> > > > > >
>> > > > > > MXRoyale-js.swc
>> > > > > >
>> > > > > > Thanks,
>> > > > > > --
>> > > > > >
>> > > > > > Piotr Zarzycki
>> > > > > >
>> > > > > --
>> > > > >
>> > > > > Piotr Zarzycki
>> > > > >
>> > > >
>> > > >
>> > > > --
>> > > >
>> > > > Piotr Zarzycki
>> > > >
>> > >
>> > >
>> > > --
>> > >
>> > > Piotr Zarzycki
>> > >
>> >
>> >
>> > --
>> >
>> > Piotr Zarzycki
>> >
>>
>>
>> --
>>
>> Piotr Zarzycki
>>
>
>
> --
> Carlos Rovira
> Apache Member & Apache Royale PMC
> *Apache Software Foundation*
> http://about.me/carlosrovira
>
>
--
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira
Re: Align Maven IDE distribution with Ant IDE distribution
Posted by Carlos Rovira <ca...@apache.org>.
Hi,
I rebuilt all from scratch just now and finally the distribution too and
tried in VSCode and all seems to work fine for me.
El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<ch...@c-ware.de>)
escribió:
> Hi Piotr,
>
> that class is located in lib\external\flex-tool-api.jar
> At least in my distribution it's there and it contains the class.
>
> How are you calling the build that's failing?
>
> Chris
>
> -----Ursprüngliche Nachricht-----
> Von: Piotr Zarzycki <pi...@gmail.com>
> Gesendet: Donnerstag, 18. Februar 2021 16:22
> An: Apache Royale Development <de...@royale.apache.org>
> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>
> Chris,
>
> I just checked and I'm not able build project anymore using distribution:
>
> : Using Royale SDK: "D:\Work\royale_ide\distribution"
> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m -Xmx3000m
> : Error: Could not find or load main class
> org.apache.royale.compiler.clients.MXMLJSC
> : Caused by: java.lang.NoClassDefFoundError: org/apache/flex/tools/FlexTool
>
> I'm done for today, so I will answer anything tomorrow.
>
> czw., 18 lut 2021 o 16:05 Christofer Dutz <ch...@c-ware.de>
> napisał(a):
>
> > Ok ...
> >
> > so I just pushed another change. Now the distribution should also
> > contain an empty spark.css, just like the Ant one.
> >
> > Chris
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Christofer Dutz <ch...@c-ware.de>
> > Gesendet: Donnerstag, 18. Februar 2021 15:58
> > An: dev@royale.apache.org
> > Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > Ok,
> >
> > so that should now be fixed. Leaves the "spark.css"
> > Having had a look, it seems as if the Ant build creates an empty
> spark.css.
> >
> > Is this all we need? If yes, then I'll have that in ther in no time.
> >
> > Chris
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Piotr Zarzycki <pi...@gmail.com>
> > Gesendet: Donnerstag, 18. Februar 2021 15:54
> > An: Apache Royale Development <de...@royale.apache.org>
> > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> >
> > *(I assume that's in the "frameworks/js/libs" directory? *
> >
> > Yes this is the directory.
> >
> > czw., 18 lut 2021 o 15:51 Christofer Dutz <ch...@c-ware.de>
> > napisał(a):
> >
> > > Hi Piotr,
> > >
> > > Ok ... so Ant seems to be adding a "JS" to the end of every name (I
> > > assume that's in the "frameworks/js/libs" directory?
> > >
> > > Also I'll try to find out where the "spark.css" should come from ...
> > > and where it should go to.
> > >
> > > Chris
> > >
> > >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > Gesendet: Donnerstag, 18. Februar 2021 15:47
> > > An: Apache Royale Development <de...@royale.apache.org>
> > > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > Chris,
> > >
> > > Looks better but here is the comparision what I have in Ant
> > > distribution vs Maven distribution in case of names. On the left Ant
> > > distribution, on the right Maven. It is folder: frameworks\js\libs\
> > > [1]
> > >
> > > [1] https://ibb.co/W2DzcDb
> > >
> > > czw., 18 lut 2021 o 15:22 Christofer Dutz
> > > <ch...@c-ware.de>
> > > napisał(a):
> > >
> > > > And done ...
> > > >
> > > > Now all elements in the distribution only consist of their name
> > > > and file-ending ... all versions and classifiers have been removed.
> > > > Please provide me with feedback on if this solves the issues.
> > > >
> > > > Chris
> > > >
> > > >
> > > > -----Ursprüngliche Nachricht-----
> > > > Von: Christofer Dutz <ch...@c-ware.de>
> > > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> > > > An: dev@royale.apache.org
> > > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > > > distribution
> > > >
> > > > I'll probably have a fix for that in a few minuntes ...
> > > >
> > > >
> > > > Chris
> > > >
> > > >
> > > > -----Ursprüngliche Nachricht-----
> > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> > > > An: Apache Royale Development <de...@royale.apache.org>
> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > distribution
> > > >
> > > > Chris,
> > > >
> > > > No it's not about not picking up by IDE at all. Moonshine and
> > > > VSCode are able to build projects using Maven distribution
> > > > package! It is about project which are mixed for example when user
> > > > wanted to use Jewel module + RemoteObject class from MXRoyale
> > > > module. In that case user need to point explicilty as a compiler
> > > > options in IDE that he wanted to have SWC included and need to
> > > > exclude css from that swc to
> > > avoid problems.
> > > >
> > > > It is happen like that:
> > > >
> > > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> > > >
> > > > If I would like to use maven distribution user need to know
> > > > version for that compiler options. It is even more tricky when
> > > > your swc is called
> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> > > >
> > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.css
> > > >
> > > > Thanks,
> > > > Piotr
> > > >
> > > >
> > > >
> > > >
> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> > > > <ch...@c-ware.de>
> > > > napisał(a):
> > > >
> > > > > Hi Piotr,
> > > > >
> > > > > And is really the version-suffix causing it to not be picked up
> > > > > by the IDEs?
> > > > >
> > > > > Chris
> > > > >
> > > > > -----Ursprüngliche Nachricht-----
> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> > > > > An: dev@royale.apache.org
> > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > > distribution
> > > > >
> > > > > Hi Chris,
> > > > >
> > > > > This is the only thing which seems to be a constant problem here.
> > > > > I personally and some users will be much more happy having that
> > change.
> > > > >
> > > > > Thanks,
> > > > > Piotr
> > > > >
> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> > > > > <ch...@c-ware.de>
> > > > > wrote:
> > > > >
> > > > > > Hi Piotr,
> > > > > >
> > > > > > I'd be happy to help with that.
> > > > > >
> > > > > > I did simply ask for a list of things that need to be changed
> > > > > > in order to get things working, but never got said list, so I
> > > > > > never knew what I could do to make the Maven distribution
> > > > > > match up to the
> > > > Ant built one.
> > > > > >
> > > > > > Chris
> > > > > >
> > > > > >
> > > > > > -----Ursprüngliche Nachricht-----
> > > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> > > > > > An: Apache Royale Development <de...@royale.apache.org>
> > > > > > Betreff: Align Maven IDE distribution with Ant IDE
> > > > > > distribution
> > > > > >
> > > > > > Hi Guys,
> > > > > >
> > > > > > It's been couple of times when user complains that he have
> > > > > > problems with using Maven distribution vs Ant distribution in
> > > > > > IDE in a mixed project Jewel + MX/Spark etc.
> > > > > >
> > > > > > Can we have that resolve once for all and adjust Maven
> > > > > > distribution folder to produce proper names of swcs ?
> > > > > >
> > > > > > Currently when I build Maven IDE distribution I have:
> > > > > >
> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> > > > > >
> > > > > > When I build Ant IDE distribution I have:
> > > > > >
> > > > > > MXRoyale-js.swc
> > > > > >
> > > > > > Thanks,
> > > > > > --
> > > > > >
> > > > > > Piotr Zarzycki
> > > > > >
> > > > > --
> > > > >
> > > > > Piotr Zarzycki
> > > > >
> > > >
> > > >
> > > > --
> > > >
> > > > Piotr Zarzycki
> > > >
> > >
> > >
> > > --
> > >
> > > Piotr Zarzycki
> > >
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
>
>
> --
>
> Piotr Zarzycki
>
--
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira
AW: Align Maven IDE distribution with Ant IDE distribution
Posted by Christofer Dutz <ch...@c-ware.de>.
Hi Piotr,
that class is located in lib\external\flex-tool-api.jar
At least in my distribution it's there and it contains the class.
How are you calling the build that's failing?
Chris
-----Ursprüngliche Nachricht-----
Von: Piotr Zarzycki <pi...@gmail.com>
Gesendet: Donnerstag, 18. Februar 2021 16:22
An: Apache Royale Development <de...@royale.apache.org>
Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
Chris,
I just checked and I'm not able build project anymore using distribution:
: Using Royale SDK: "D:\Work\royale_ide\distribution"
: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m -Xmx3000m
: Error: Could not find or load main class org.apache.royale.compiler.clients.MXMLJSC
: Caused by: java.lang.NoClassDefFoundError: org/apache/flex/tools/FlexTool
I'm done for today, so I will answer anything tomorrow.
czw., 18 lut 2021 o 16:05 Christofer Dutz <ch...@c-ware.de>
napisał(a):
> Ok ...
>
> so I just pushed another change. Now the distribution should also
> contain an empty spark.css, just like the Ant one.
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Christofer Dutz <ch...@c-ware.de>
> Gesendet: Donnerstag, 18. Februar 2021 15:58
> An: dev@royale.apache.org
> Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
>
> Ok,
>
> so that should now be fixed. Leaves the "spark.css"
> Having had a look, it seems as if the Ant build creates an empty spark.css.
>
> Is this all we need? If yes, then I'll have that in ther in no time.
>
> Chris
>
> -----Ursprüngliche Nachricht-----
> Von: Piotr Zarzycki <pi...@gmail.com>
> Gesendet: Donnerstag, 18. Februar 2021 15:54
> An: Apache Royale Development <de...@royale.apache.org>
> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>
> *(I assume that's in the "frameworks/js/libs" directory? *
>
> Yes this is the directory.
>
> czw., 18 lut 2021 o 15:51 Christofer Dutz <ch...@c-ware.de>
> napisał(a):
>
> > Hi Piotr,
> >
> > Ok ... so Ant seems to be adding a "JS" to the end of every name (I
> > assume that's in the "frameworks/js/libs" directory?
> >
> > Also I'll try to find out where the "spark.css" should come from ...
> > and where it should go to.
> >
> > Chris
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Piotr Zarzycki <pi...@gmail.com>
> > Gesendet: Donnerstag, 18. Februar 2021 15:47
> > An: Apache Royale Development <de...@royale.apache.org>
> > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> >
> > Chris,
> >
> > Looks better but here is the comparision what I have in Ant
> > distribution vs Maven distribution in case of names. On the left Ant
> > distribution, on the right Maven. It is folder: frameworks\js\libs\
> > [1]
> >
> > [1] https://ibb.co/W2DzcDb
> >
> > czw., 18 lut 2021 o 15:22 Christofer Dutz
> > <ch...@c-ware.de>
> > napisał(a):
> >
> > > And done ...
> > >
> > > Now all elements in the distribution only consist of their name
> > > and file-ending ... all versions and classifiers have been removed.
> > > Please provide me with feedback on if this solves the issues.
> > >
> > > Chris
> > >
> > >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Christofer Dutz <ch...@c-ware.de>
> > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> > > An: dev@royale.apache.org
> > > Betreff: AW: Align Maven IDE distribution with Ant IDE
> > > distribution
> > >
> > > I'll probably have a fix for that in a few minuntes ...
> > >
> > >
> > > Chris
> > >
> > >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> > > An: Apache Royale Development <de...@royale.apache.org>
> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > distribution
> > >
> > > Chris,
> > >
> > > No it's not about not picking up by IDE at all. Moonshine and
> > > VSCode are able to build projects using Maven distribution
> > > package! It is about project which are mixed for example when user
> > > wanted to use Jewel module + RemoteObject class from MXRoyale
> > > module. In that case user need to point explicilty as a compiler
> > > options in IDE that he wanted to have SWC included and need to
> > > exclude css from that swc to
> > avoid problems.
> > >
> > > It is happen like that:
> > >
> > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> > >
> > > If I would like to use maven distribution user need to know
> > > version for that compiler options. It is even more tricky when
> > > your swc is called
> > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> > >
> > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.css
> > >
> > > Thanks,
> > > Piotr
> > >
> > >
> > >
> > >
> > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> > > <ch...@c-ware.de>
> > > napisał(a):
> > >
> > > > Hi Piotr,
> > > >
> > > > And is really the version-suffix causing it to not be picked up
> > > > by the IDEs?
> > > >
> > > > Chris
> > > >
> > > > -----Ursprüngliche Nachricht-----
> > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> > > > An: dev@royale.apache.org
> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > distribution
> > > >
> > > > Hi Chris,
> > > >
> > > > This is the only thing which seems to be a constant problem here.
> > > > I personally and some users will be much more happy having that
> change.
> > > >
> > > > Thanks,
> > > > Piotr
> > > >
> > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> > > > <ch...@c-ware.de>
> > > > wrote:
> > > >
> > > > > Hi Piotr,
> > > > >
> > > > > I'd be happy to help with that.
> > > > >
> > > > > I did simply ask for a list of things that need to be changed
> > > > > in order to get things working, but never got said list, so I
> > > > > never knew what I could do to make the Maven distribution
> > > > > match up to the
> > > Ant built one.
> > > > >
> > > > > Chris
> > > > >
> > > > >
> > > > > -----Ursprüngliche Nachricht-----
> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> > > > > An: Apache Royale Development <de...@royale.apache.org>
> > > > > Betreff: Align Maven IDE distribution with Ant IDE
> > > > > distribution
> > > > >
> > > > > Hi Guys,
> > > > >
> > > > > It's been couple of times when user complains that he have
> > > > > problems with using Maven distribution vs Ant distribution in
> > > > > IDE in a mixed project Jewel + MX/Spark etc.
> > > > >
> > > > > Can we have that resolve once for all and adjust Maven
> > > > > distribution folder to produce proper names of swcs ?
> > > > >
> > > > > Currently when I build Maven IDE distribution I have:
> > > > >
> > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> > > > >
> > > > > When I build Ant IDE distribution I have:
> > > > >
> > > > > MXRoyale-js.swc
> > > > >
> > > > > Thanks,
> > > > > --
> > > > >
> > > > > Piotr Zarzycki
> > > > >
> > > > --
> > > >
> > > > Piotr Zarzycki
> > > >
> > >
> > >
> > > --
> > >
> > > Piotr Zarzycki
> > >
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
>
>
> --
>
> Piotr Zarzycki
>
--
Piotr Zarzycki
Re: Align Maven IDE distribution with Ant IDE distribution
Posted by Piotr Zarzycki <pi...@gmail.com>.
Chris,
I just checked and I'm not able build project anymore using distribution:
: Using Royale SDK: "D:\Work\royale_ide\distribution"
: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m -Xmx3000m
: Error: Could not find or load main class
org.apache.royale.compiler.clients.MXMLJSC
: Caused by: java.lang.NoClassDefFoundError: org/apache/flex/tools/FlexTool
I'm done for today, so I will answer anything tomorrow.
czw., 18 lut 2021 o 16:05 Christofer Dutz <ch...@c-ware.de>
napisał(a):
> Ok ...
>
> so I just pushed another change. Now the distribution should also contain
> an empty spark.css, just like the Ant one.
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Christofer Dutz <ch...@c-ware.de>
> Gesendet: Donnerstag, 18. Februar 2021 15:58
> An: dev@royale.apache.org
> Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
>
> Ok,
>
> so that should now be fixed. Leaves the "spark.css"
> Having had a look, it seems as if the Ant build creates an empty spark.css.
>
> Is this all we need? If yes, then I'll have that in ther in no time.
>
> Chris
>
> -----Ursprüngliche Nachricht-----
> Von: Piotr Zarzycki <pi...@gmail.com>
> Gesendet: Donnerstag, 18. Februar 2021 15:54
> An: Apache Royale Development <de...@royale.apache.org>
> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>
> *(I assume that's in the "frameworks/js/libs" directory? *
>
> Yes this is the directory.
>
> czw., 18 lut 2021 o 15:51 Christofer Dutz <ch...@c-ware.de>
> napisał(a):
>
> > Hi Piotr,
> >
> > Ok ... so Ant seems to be adding a "JS" to the end of every name (I
> > assume that's in the "frameworks/js/libs" directory?
> >
> > Also I'll try to find out where the "spark.css" should come from ...
> > and where it should go to.
> >
> > Chris
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Piotr Zarzycki <pi...@gmail.com>
> > Gesendet: Donnerstag, 18. Februar 2021 15:47
> > An: Apache Royale Development <de...@royale.apache.org>
> > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> >
> > Chris,
> >
> > Looks better but here is the comparision what I have in Ant
> > distribution vs Maven distribution in case of names. On the left Ant
> > distribution, on the right Maven. It is folder: frameworks\js\libs\
> > [1]
> >
> > [1] https://ibb.co/W2DzcDb
> >
> > czw., 18 lut 2021 o 15:22 Christofer Dutz <ch...@c-ware.de>
> > napisał(a):
> >
> > > And done ...
> > >
> > > Now all elements in the distribution only consist of their name and
> > > file-ending ... all versions and classifiers have been removed.
> > > Please provide me with feedback on if this solves the issues.
> > >
> > > Chris
> > >
> > >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Christofer Dutz <ch...@c-ware.de>
> > > Gesendet: Donnerstag, 18. Februar 2021 15:08
> > > An: dev@royale.apache.org
> > > Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > I'll probably have a fix for that in a few minuntes ...
> > >
> > >
> > > Chris
> > >
> > >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> > > An: Apache Royale Development <de...@royale.apache.org>
> > > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > Chris,
> > >
> > > No it's not about not picking up by IDE at all. Moonshine and VSCode
> > > are able to build projects using Maven distribution package! It is
> > > about project which are mixed for example when user wanted to use
> > > Jewel module + RemoteObject class from MXRoyale module. In that case
> > > user need to point explicilty as a compiler options in IDE that he
> > > wanted to have SWC included and need to exclude css from that swc to
> > avoid problems.
> > >
> > > It is happen like that:
> > >
> > > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> > >
> > > If I would like to use maven distribution user need to know version
> > > for that compiler options. It is even more tricky when your swc is
> > > called
> > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> > >
> > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.css
> > >
> > > Thanks,
> > > Piotr
> > >
> > >
> > >
> > >
> > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> > > <ch...@c-ware.de>
> > > napisał(a):
> > >
> > > > Hi Piotr,
> > > >
> > > > And is really the version-suffix causing it to not be picked up by
> > > > the IDEs?
> > > >
> > > > Chris
> > > >
> > > > -----Ursprüngliche Nachricht-----
> > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> > > > An: dev@royale.apache.org
> > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > distribution
> > > >
> > > > Hi Chris,
> > > >
> > > > This is the only thing which seems to be a constant problem here.
> > > > I personally and some users will be much more happy having that
> change.
> > > >
> > > > Thanks,
> > > > Piotr
> > > >
> > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> > > > <ch...@c-ware.de>
> > > > wrote:
> > > >
> > > > > Hi Piotr,
> > > > >
> > > > > I'd be happy to help with that.
> > > > >
> > > > > I did simply ask for a list of things that need to be changed in
> > > > > order to get things working, but never got said list, so I never
> > > > > knew what I could do to make the Maven distribution match up to
> > > > > the
> > > Ant built one.
> > > > >
> > > > > Chris
> > > > >
> > > > >
> > > > > -----Ursprüngliche Nachricht-----
> > > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> > > > > An: Apache Royale Development <de...@royale.apache.org>
> > > > > Betreff: Align Maven IDE distribution with Ant IDE distribution
> > > > >
> > > > > Hi Guys,
> > > > >
> > > > > It's been couple of times when user complains that he have
> > > > > problems with using Maven distribution vs Ant distribution in
> > > > > IDE in a mixed project Jewel + MX/Spark etc.
> > > > >
> > > > > Can we have that resolve once for all and adjust Maven
> > > > > distribution folder to produce proper names of swcs ?
> > > > >
> > > > > Currently when I build Maven IDE distribution I have:
> > > > >
> > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> > > > >
> > > > > When I build Ant IDE distribution I have:
> > > > >
> > > > > MXRoyale-js.swc
> > > > >
> > > > > Thanks,
> > > > > --
> > > > >
> > > > > Piotr Zarzycki
> > > > >
> > > > --
> > > >
> > > > Piotr Zarzycki
> > > >
> > >
> > >
> > > --
> > >
> > > Piotr Zarzycki
> > >
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
>
>
> --
>
> Piotr Zarzycki
>
--
Piotr Zarzycki
AW: Align Maven IDE distribution with Ant IDE distribution
Posted by Christofer Dutz <ch...@c-ware.de>.
Ok ...
so I just pushed another change. Now the distribution should also contain an empty spark.css, just like the Ant one.
Chris
-----Ursprüngliche Nachricht-----
Von: Christofer Dutz <ch...@c-ware.de>
Gesendet: Donnerstag, 18. Februar 2021 15:58
An: dev@royale.apache.org
Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
Ok,
so that should now be fixed. Leaves the "spark.css"
Having had a look, it seems as if the Ant build creates an empty spark.css.
Is this all we need? If yes, then I'll have that in ther in no time.
Chris
-----Ursprüngliche Nachricht-----
Von: Piotr Zarzycki <pi...@gmail.com>
Gesendet: Donnerstag, 18. Februar 2021 15:54
An: Apache Royale Development <de...@royale.apache.org>
Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
*(I assume that's in the "frameworks/js/libs" directory? *
Yes this is the directory.
czw., 18 lut 2021 o 15:51 Christofer Dutz <ch...@c-ware.de>
napisał(a):
> Hi Piotr,
>
> Ok ... so Ant seems to be adding a "JS" to the end of every name (I
> assume that's in the "frameworks/js/libs" directory?
>
> Also I'll try to find out where the "spark.css" should come from ...
> and where it should go to.
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Piotr Zarzycki <pi...@gmail.com>
> Gesendet: Donnerstag, 18. Februar 2021 15:47
> An: Apache Royale Development <de...@royale.apache.org>
> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>
> Chris,
>
> Looks better but here is the comparision what I have in Ant
> distribution vs Maven distribution in case of names. On the left Ant
> distribution, on the right Maven. It is folder: frameworks\js\libs\
> [1]
>
> [1] https://ibb.co/W2DzcDb
>
> czw., 18 lut 2021 o 15:22 Christofer Dutz <ch...@c-ware.de>
> napisał(a):
>
> > And done ...
> >
> > Now all elements in the distribution only consist of their name and
> > file-ending ... all versions and classifiers have been removed.
> > Please provide me with feedback on if this solves the issues.
> >
> > Chris
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Christofer Dutz <ch...@c-ware.de>
> > Gesendet: Donnerstag, 18. Februar 2021 15:08
> > An: dev@royale.apache.org
> > Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > I'll probably have a fix for that in a few minuntes ...
> >
> >
> > Chris
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Piotr Zarzycki <pi...@gmail.com>
> > Gesendet: Donnerstag, 18. Februar 2021 15:00
> > An: Apache Royale Development <de...@royale.apache.org>
> > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> >
> > Chris,
> >
> > No it's not about not picking up by IDE at all. Moonshine and VSCode
> > are able to build projects using Maven distribution package! It is
> > about project which are mixed for example when user wanted to use
> > Jewel module + RemoteObject class from MXRoyale module. In that case
> > user need to point explicilty as a compiler options in IDE that he
> > wanted to have SWC included and need to exclude css from that swc to
> avoid problems.
> >
> > It is happen like that:
> >
> > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> >
> > If I would like to use maven distribution user need to know version
> > for that compiler options. It is even more tricky when your swc is
> > called
> > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> >
> > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.css
> >
> > Thanks,
> > Piotr
> >
> >
> >
> >
> > czw., 18 lut 2021 o 14:47 Christofer Dutz
> > <ch...@c-ware.de>
> > napisał(a):
> >
> > > Hi Piotr,
> > >
> > > And is really the version-suffix causing it to not be picked up by
> > > the IDEs?
> > >
> > > Chris
> > >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> > > An: dev@royale.apache.org
> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > distribution
> > >
> > > Hi Chris,
> > >
> > > This is the only thing which seems to be a constant problem here.
> > > I personally and some users will be much more happy having that change.
> > >
> > > Thanks,
> > > Piotr
> > >
> > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> > > <ch...@c-ware.de>
> > > wrote:
> > >
> > > > Hi Piotr,
> > > >
> > > > I'd be happy to help with that.
> > > >
> > > > I did simply ask for a list of things that need to be changed in
> > > > order to get things working, but never got said list, so I never
> > > > knew what I could do to make the Maven distribution match up to
> > > > the
> > Ant built one.
> > > >
> > > > Chris
> > > >
> > > >
> > > > -----Ursprüngliche Nachricht-----
> > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> > > > An: Apache Royale Development <de...@royale.apache.org>
> > > > Betreff: Align Maven IDE distribution with Ant IDE distribution
> > > >
> > > > Hi Guys,
> > > >
> > > > It's been couple of times when user complains that he have
> > > > problems with using Maven distribution vs Ant distribution in
> > > > IDE in a mixed project Jewel + MX/Spark etc.
> > > >
> > > > Can we have that resolve once for all and adjust Maven
> > > > distribution folder to produce proper names of swcs ?
> > > >
> > > > Currently when I build Maven IDE distribution I have:
> > > >
> > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> > > >
> > > > When I build Ant IDE distribution I have:
> > > >
> > > > MXRoyale-js.swc
> > > >
> > > > Thanks,
> > > > --
> > > >
> > > > Piotr Zarzycki
> > > >
> > > --
> > >
> > > Piotr Zarzycki
> > >
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
>
>
> --
>
> Piotr Zarzycki
>
--
Piotr Zarzycki
AW: Align Maven IDE distribution with Ant IDE distribution
Posted by Christofer Dutz <ch...@c-ware.de>.
Ok,
so that should now be fixed. Leaves the "spark.css"
Having had a look, it seems as if the Ant build creates an empty spark.css.
Is this all we need? If yes, then I'll have that in ther in no time.
Chris
-----Ursprüngliche Nachricht-----
Von: Piotr Zarzycki <pi...@gmail.com>
Gesendet: Donnerstag, 18. Februar 2021 15:54
An: Apache Royale Development <de...@royale.apache.org>
Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
*(I assume that's in the "frameworks/js/libs" directory? *
Yes this is the directory.
czw., 18 lut 2021 o 15:51 Christofer Dutz <ch...@c-ware.de>
napisał(a):
> Hi Piotr,
>
> Ok ... so Ant seems to be adding a "JS" to the end of every name (I
> assume that's in the "frameworks/js/libs" directory?
>
> Also I'll try to find out where the "spark.css" should come from ...
> and where it should go to.
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Piotr Zarzycki <pi...@gmail.com>
> Gesendet: Donnerstag, 18. Februar 2021 15:47
> An: Apache Royale Development <de...@royale.apache.org>
> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>
> Chris,
>
> Looks better but here is the comparision what I have in Ant
> distribution vs Maven distribution in case of names. On the left Ant
> distribution, on the right Maven. It is folder: frameworks\js\libs\
> [1]
>
> [1] https://ibb.co/W2DzcDb
>
> czw., 18 lut 2021 o 15:22 Christofer Dutz <ch...@c-ware.de>
> napisał(a):
>
> > And done ...
> >
> > Now all elements in the distribution only consist of their name and
> > file-ending ... all versions and classifiers have been removed.
> > Please provide me with feedback on if this solves the issues.
> >
> > Chris
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Christofer Dutz <ch...@c-ware.de>
> > Gesendet: Donnerstag, 18. Februar 2021 15:08
> > An: dev@royale.apache.org
> > Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > I'll probably have a fix for that in a few minuntes ...
> >
> >
> > Chris
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Piotr Zarzycki <pi...@gmail.com>
> > Gesendet: Donnerstag, 18. Februar 2021 15:00
> > An: Apache Royale Development <de...@royale.apache.org>
> > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> >
> > Chris,
> >
> > No it's not about not picking up by IDE at all. Moonshine and VSCode
> > are able to build projects using Maven distribution package! It is
> > about project which are mixed for example when user wanted to use
> > Jewel module + RemoteObject class from MXRoyale module. In that case
> > user need to point explicilty as a compiler options in IDE that he
> > wanted to have SWC included and need to exclude css from that swc to
> avoid problems.
> >
> > It is happen like that:
> >
> > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> >
> > If I would like to use maven distribution user need to know version
> > for that compiler options. It is even more tricky when your swc is
> > called
> > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> >
> > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.css
> >
> > Thanks,
> > Piotr
> >
> >
> >
> >
> > czw., 18 lut 2021 o 14:47 Christofer Dutz
> > <ch...@c-ware.de>
> > napisał(a):
> >
> > > Hi Piotr,
> > >
> > > And is really the version-suffix causing it to not be picked up by
> > > the IDEs?
> > >
> > > Chris
> > >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> > > An: dev@royale.apache.org
> > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > distribution
> > >
> > > Hi Chris,
> > >
> > > This is the only thing which seems to be a constant problem here.
> > > I personally and some users will be much more happy having that change.
> > >
> > > Thanks,
> > > Piotr
> > >
> > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> > > <ch...@c-ware.de>
> > > wrote:
> > >
> > > > Hi Piotr,
> > > >
> > > > I'd be happy to help with that.
> > > >
> > > > I did simply ask for a list of things that need to be changed in
> > > > order to get things working, but never got said list, so I never
> > > > knew what I could do to make the Maven distribution match up to
> > > > the
> > Ant built one.
> > > >
> > > > Chris
> > > >
> > > >
> > > > -----Ursprüngliche Nachricht-----
> > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> > > > An: Apache Royale Development <de...@royale.apache.org>
> > > > Betreff: Align Maven IDE distribution with Ant IDE distribution
> > > >
> > > > Hi Guys,
> > > >
> > > > It's been couple of times when user complains that he have
> > > > problems with using Maven distribution vs Ant distribution in
> > > > IDE in a mixed project Jewel + MX/Spark etc.
> > > >
> > > > Can we have that resolve once for all and adjust Maven
> > > > distribution folder to produce proper names of swcs ?
> > > >
> > > > Currently when I build Maven IDE distribution I have:
> > > >
> > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> > > >
> > > > When I build Ant IDE distribution I have:
> > > >
> > > > MXRoyale-js.swc
> > > >
> > > > Thanks,
> > > > --
> > > >
> > > > Piotr Zarzycki
> > > >
> > > --
> > >
> > > Piotr Zarzycki
> > >
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
>
>
> --
>
> Piotr Zarzycki
>
--
Piotr Zarzycki
Re: Align Maven IDE distribution with Ant IDE distribution
Posted by Piotr Zarzycki <pi...@gmail.com>.
*(I assume that's in the "frameworks/js/libs" directory? *
Yes this is the directory.
czw., 18 lut 2021 o 15:51 Christofer Dutz <ch...@c-ware.de>
napisał(a):
> Hi Piotr,
>
> Ok ... so Ant seems to be adding a "JS" to the end of every name (I assume
> that's in the "frameworks/js/libs" directory?
>
> Also I'll try to find out where the "spark.css" should come from ... and
> where it should go to.
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Piotr Zarzycki <pi...@gmail.com>
> Gesendet: Donnerstag, 18. Februar 2021 15:47
> An: Apache Royale Development <de...@royale.apache.org>
> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>
> Chris,
>
> Looks better but here is the comparision what I have in Ant distribution
> vs Maven distribution in case of names. On the left Ant distribution, on
> the right Maven. It is folder: frameworks\js\libs\ [1]
>
> [1] https://ibb.co/W2DzcDb
>
> czw., 18 lut 2021 o 15:22 Christofer Dutz <ch...@c-ware.de>
> napisał(a):
>
> > And done ...
> >
> > Now all elements in the distribution only consist of their name and
> > file-ending ... all versions and classifiers have been removed.
> > Please provide me with feedback on if this solves the issues.
> >
> > Chris
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Christofer Dutz <ch...@c-ware.de>
> > Gesendet: Donnerstag, 18. Februar 2021 15:08
> > An: dev@royale.apache.org
> > Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > I'll probably have a fix for that in a few minuntes ...
> >
> >
> > Chris
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Piotr Zarzycki <pi...@gmail.com>
> > Gesendet: Donnerstag, 18. Februar 2021 15:00
> > An: Apache Royale Development <de...@royale.apache.org>
> > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> >
> > Chris,
> >
> > No it's not about not picking up by IDE at all. Moonshine and VSCode
> > are able to build projects using Maven distribution package! It is
> > about project which are mixed for example when user wanted to use
> > Jewel module + RemoteObject class from MXRoyale module. In that case
> > user need to point explicilty as a compiler options in IDE that he
> > wanted to have SWC included and need to exclude css from that swc to
> avoid problems.
> >
> > It is happen like that:
> >
> > -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> >
> > If I would like to use maven distribution user need to know version
> > for that compiler options. It is even more tricky when your swc is
> > called
> > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> >
> > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.css
> >
> > Thanks,
> > Piotr
> >
> >
> >
> >
> > czw., 18 lut 2021 o 14:47 Christofer Dutz <ch...@c-ware.de>
> > napisał(a):
> >
> > > Hi Piotr,
> > >
> > > And is really the version-suffix causing it to not be picked up by
> > > the IDEs?
> > >
> > > Chris
> > >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> > > An: dev@royale.apache.org
> > > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > Hi Chris,
> > >
> > > This is the only thing which seems to be a constant problem here. I
> > > personally and some users will be much more happy having that change.
> > >
> > > Thanks,
> > > Piotr
> > >
> > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> > > <ch...@c-ware.de>
> > > wrote:
> > >
> > > > Hi Piotr,
> > > >
> > > > I'd be happy to help with that.
> > > >
> > > > I did simply ask for a list of things that need to be changed in
> > > > order to get things working, but never got said list, so I never
> > > > knew what I could do to make the Maven distribution match up to
> > > > the
> > Ant built one.
> > > >
> > > > Chris
> > > >
> > > >
> > > > -----Ursprüngliche Nachricht-----
> > > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> > > > An: Apache Royale Development <de...@royale.apache.org>
> > > > Betreff: Align Maven IDE distribution with Ant IDE distribution
> > > >
> > > > Hi Guys,
> > > >
> > > > It's been couple of times when user complains that he have
> > > > problems with using Maven distribution vs Ant distribution in IDE
> > > > in a mixed project Jewel + MX/Spark etc.
> > > >
> > > > Can we have that resolve once for all and adjust Maven
> > > > distribution folder to produce proper names of swcs ?
> > > >
> > > > Currently when I build Maven IDE distribution I have:
> > > >
> > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> > > >
> > > > When I build Ant IDE distribution I have:
> > > >
> > > > MXRoyale-js.swc
> > > >
> > > > Thanks,
> > > > --
> > > >
> > > > Piotr Zarzycki
> > > >
> > > --
> > >
> > > Piotr Zarzycki
> > >
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
>
>
> --
>
> Piotr Zarzycki
>
--
Piotr Zarzycki
AW: Align Maven IDE distribution with Ant IDE distribution
Posted by Christofer Dutz <ch...@c-ware.de>.
Hi Piotr,
Ok ... so Ant seems to be adding a "JS" to the end of every name (I assume that's in the "frameworks/js/libs" directory?
Also I'll try to find out where the "spark.css" should come from ... and where it should go to.
Chris
-----Ursprüngliche Nachricht-----
Von: Piotr Zarzycki <pi...@gmail.com>
Gesendet: Donnerstag, 18. Februar 2021 15:47
An: Apache Royale Development <de...@royale.apache.org>
Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
Chris,
Looks better but here is the comparision what I have in Ant distribution vs Maven distribution in case of names. On the left Ant distribution, on the right Maven. It is folder: frameworks\js\libs\ [1]
[1] https://ibb.co/W2DzcDb
czw., 18 lut 2021 o 15:22 Christofer Dutz <ch...@c-ware.de>
napisał(a):
> And done ...
>
> Now all elements in the distribution only consist of their name and
> file-ending ... all versions and classifiers have been removed.
> Please provide me with feedback on if this solves the issues.
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Christofer Dutz <ch...@c-ware.de>
> Gesendet: Donnerstag, 18. Februar 2021 15:08
> An: dev@royale.apache.org
> Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
>
> I'll probably have a fix for that in a few minuntes ...
>
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Piotr Zarzycki <pi...@gmail.com>
> Gesendet: Donnerstag, 18. Februar 2021 15:00
> An: Apache Royale Development <de...@royale.apache.org>
> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>
> Chris,
>
> No it's not about not picking up by IDE at all. Moonshine and VSCode
> are able to build projects using Maven distribution package! It is
> about project which are mixed for example when user wanted to use
> Jewel module + RemoteObject class from MXRoyale module. In that case
> user need to point explicilty as a compiler options in IDE that he
> wanted to have SWC included and need to exclude css from that swc to avoid problems.
>
> It is happen like that:
>
> -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
>
> If I would like to use maven distribution user need to know version
> for that compiler options. It is even more tricky when your swc is
> called
> -> MXRoyale-0.9.8-20210217.181012-913-js.swc
>
> -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.css
>
> Thanks,
> Piotr
>
>
>
>
> czw., 18 lut 2021 o 14:47 Christofer Dutz <ch...@c-ware.de>
> napisał(a):
>
> > Hi Piotr,
> >
> > And is really the version-suffix causing it to not be picked up by
> > the IDEs?
> >
> > Chris
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Piotr Zarzycki <pi...@gmail.com>
> > Gesendet: Donnerstag, 18. Februar 2021 11:42
> > An: dev@royale.apache.org
> > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi Chris,
> >
> > This is the only thing which seems to be a constant problem here. I
> > personally and some users will be much more happy having that change.
> >
> > Thanks,
> > Piotr
> >
> > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> > <ch...@c-ware.de>
> > wrote:
> >
> > > Hi Piotr,
> > >
> > > I'd be happy to help with that.
> > >
> > > I did simply ask for a list of things that need to be changed in
> > > order to get things working, but never got said list, so I never
> > > knew what I could do to make the Maven distribution match up to
> > > the
> Ant built one.
> > >
> > > Chris
> > >
> > >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> > > An: Apache Royale Development <de...@royale.apache.org>
> > > Betreff: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > Hi Guys,
> > >
> > > It's been couple of times when user complains that he have
> > > problems with using Maven distribution vs Ant distribution in IDE
> > > in a mixed project Jewel + MX/Spark etc.
> > >
> > > Can we have that resolve once for all and adjust Maven
> > > distribution folder to produce proper names of swcs ?
> > >
> > > Currently when I build Maven IDE distribution I have:
> > >
> > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> > >
> > > When I build Ant IDE distribution I have:
> > >
> > > MXRoyale-js.swc
> > >
> > > Thanks,
> > > --
> > >
> > > Piotr Zarzycki
> > >
> > --
> >
> > Piotr Zarzycki
> >
>
>
> --
>
> Piotr Zarzycki
>
--
Piotr Zarzycki
Re: Align Maven IDE distribution with Ant IDE distribution
Posted by Piotr Zarzycki <pi...@gmail.com>.
Chris,
Looks better but here is the comparision what I have in Ant distribution vs
Maven distribution in case of names. On the left Ant distribution, on the
right Maven. It is folder: frameworks\js\libs\ [1]
[1] https://ibb.co/W2DzcDb
czw., 18 lut 2021 o 15:22 Christofer Dutz <ch...@c-ware.de>
napisał(a):
> And done ...
>
> Now all elements in the distribution only consist of their name and
> file-ending ... all versions and classifiers have been removed.
> Please provide me with feedback on if this solves the issues.
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Christofer Dutz <ch...@c-ware.de>
> Gesendet: Donnerstag, 18. Februar 2021 15:08
> An: dev@royale.apache.org
> Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
>
> I'll probably have a fix for that in a few minuntes ...
>
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Piotr Zarzycki <pi...@gmail.com>
> Gesendet: Donnerstag, 18. Februar 2021 15:00
> An: Apache Royale Development <de...@royale.apache.org>
> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>
> Chris,
>
> No it's not about not picking up by IDE at all. Moonshine and VSCode are
> able to build projects using Maven distribution package! It is about
> project which are mixed for example when user wanted to use Jewel module +
> RemoteObject class from MXRoyale module. In that case user need to point
> explicilty as a compiler options in IDE that he wanted to have SWC included
> and need to exclude css from that swc to avoid problems.
>
> It is happen like that:
>
> -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
>
> If I would like to use maven distribution user need to know version for
> that compiler options. It is even more tricky when your swc is called
> -> MXRoyale-0.9.8-20210217.181012-913-js.swc
>
> -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.css
>
> Thanks,
> Piotr
>
>
>
>
> czw., 18 lut 2021 o 14:47 Christofer Dutz <ch...@c-ware.de>
> napisał(a):
>
> > Hi Piotr,
> >
> > And is really the version-suffix causing it to not be picked up by the
> > IDEs?
> >
> > Chris
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Piotr Zarzycki <pi...@gmail.com>
> > Gesendet: Donnerstag, 18. Februar 2021 11:42
> > An: dev@royale.apache.org
> > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi Chris,
> >
> > This is the only thing which seems to be a constant problem here. I
> > personally and some users will be much more happy having that change.
> >
> > Thanks,
> > Piotr
> >
> > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> > <ch...@c-ware.de>
> > wrote:
> >
> > > Hi Piotr,
> > >
> > > I'd be happy to help with that.
> > >
> > > I did simply ask for a list of things that need to be changed in
> > > order to get things working, but never got said list, so I never
> > > knew what I could do to make the Maven distribution match up to the
> Ant built one.
> > >
> > > Chris
> > >
> > >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Piotr Zarzycki <pi...@gmail.com>
> > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> > > An: Apache Royale Development <de...@royale.apache.org>
> > > Betreff: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > Hi Guys,
> > >
> > > It's been couple of times when user complains that he have problems
> > > with using Maven distribution vs Ant distribution in IDE in a mixed
> > > project Jewel + MX/Spark etc.
> > >
> > > Can we have that resolve once for all and adjust Maven distribution
> > > folder to produce proper names of swcs ?
> > >
> > > Currently when I build Maven IDE distribution I have:
> > >
> > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> > >
> > > When I build Ant IDE distribution I have:
> > >
> > > MXRoyale-js.swc
> > >
> > > Thanks,
> > > --
> > >
> > > Piotr Zarzycki
> > >
> > --
> >
> > Piotr Zarzycki
> >
>
>
> --
>
> Piotr Zarzycki
>
--
Piotr Zarzycki
AW: Align Maven IDE distribution with Ant IDE distribution
Posted by Christofer Dutz <ch...@c-ware.de>.
And done ...
Now all elements in the distribution only consist of their name and file-ending ... all versions and classifiers have been removed.
Please provide me with feedback on if this solves the issues.
Chris
-----Ursprüngliche Nachricht-----
Von: Christofer Dutz <ch...@c-ware.de>
Gesendet: Donnerstag, 18. Februar 2021 15:08
An: dev@royale.apache.org
Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
I'll probably have a fix for that in a few minuntes ...
Chris
-----Ursprüngliche Nachricht-----
Von: Piotr Zarzycki <pi...@gmail.com>
Gesendet: Donnerstag, 18. Februar 2021 15:00
An: Apache Royale Development <de...@royale.apache.org>
Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
Chris,
No it's not about not picking up by IDE at all. Moonshine and VSCode are able to build projects using Maven distribution package! It is about project which are mixed for example when user wanted to use Jewel module + RemoteObject class from MXRoyale module. In that case user need to point explicilty as a compiler options in IDE that he wanted to have SWC included and need to exclude css from that swc to avoid problems.
It is happen like that:
-js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
-compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
If I would like to use maven distribution user need to know version for that compiler options. It is even more tricky when your swc is called
-> MXRoyale-0.9.8-20210217.181012-913-js.swc
-exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.css
Thanks,
Piotr
czw., 18 lut 2021 o 14:47 Christofer Dutz <ch...@c-ware.de>
napisał(a):
> Hi Piotr,
>
> And is really the version-suffix causing it to not be picked up by the
> IDEs?
>
> Chris
>
> -----Ursprüngliche Nachricht-----
> Von: Piotr Zarzycki <pi...@gmail.com>
> Gesendet: Donnerstag, 18. Februar 2021 11:42
> An: dev@royale.apache.org
> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>
> Hi Chris,
>
> This is the only thing which seems to be a constant problem here. I
> personally and some users will be much more happy having that change.
>
> Thanks,
> Piotr
>
> On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> <ch...@c-ware.de>
> wrote:
>
> > Hi Piotr,
> >
> > I'd be happy to help with that.
> >
> > I did simply ask for a list of things that need to be changed in
> > order to get things working, but never got said list, so I never
> > knew what I could do to make the Maven distribution match up to the Ant built one.
> >
> > Chris
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Piotr Zarzycki <pi...@gmail.com>
> > Gesendet: Donnerstag, 18. Februar 2021 11:01
> > An: Apache Royale Development <de...@royale.apache.org>
> > Betreff: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi Guys,
> >
> > It's been couple of times when user complains that he have problems
> > with using Maven distribution vs Ant distribution in IDE in a mixed
> > project Jewel + MX/Spark etc.
> >
> > Can we have that resolve once for all and adjust Maven distribution
> > folder to produce proper names of swcs ?
> >
> > Currently when I build Maven IDE distribution I have:
> >
> > MXRoyale-0.9.8-20210215.234230-908-js.swc
> >
> > When I build Ant IDE distribution I have:
> >
> > MXRoyale-js.swc
> >
> > Thanks,
> > --
> >
> > Piotr Zarzycki
> >
> --
>
> Piotr Zarzycki
>
--
Piotr Zarzycki
AW: Align Maven IDE distribution with Ant IDE distribution
Posted by Christofer Dutz <ch...@c-ware.de>.
I'll probably have a fix for that in a few minuntes ...
Chris
-----Ursprüngliche Nachricht-----
Von: Piotr Zarzycki <pi...@gmail.com>
Gesendet: Donnerstag, 18. Februar 2021 15:00
An: Apache Royale Development <de...@royale.apache.org>
Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
Chris,
No it's not about not picking up by IDE at all. Moonshine and VSCode are able to build projects using Maven distribution package! It is about project which are mixed for example when user wanted to use Jewel module + RemoteObject class from MXRoyale module. In that case user need to point explicilty as a compiler options in IDE that he wanted to have SWC included and need to exclude css from that swc to avoid problems.
It is happen like that:
-js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
-compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
If I would like to use maven distribution user need to know version for that compiler options. It is even more tricky when your swc is called
-> MXRoyale-0.9.8-20210217.181012-913-js.swc
-exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.css
Thanks,
Piotr
czw., 18 lut 2021 o 14:47 Christofer Dutz <ch...@c-ware.de>
napisał(a):
> Hi Piotr,
>
> And is really the version-suffix causing it to not be picked up by the
> IDEs?
>
> Chris
>
> -----Ursprüngliche Nachricht-----
> Von: Piotr Zarzycki <pi...@gmail.com>
> Gesendet: Donnerstag, 18. Februar 2021 11:42
> An: dev@royale.apache.org
> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>
> Hi Chris,
>
> This is the only thing which seems to be a constant problem here. I
> personally and some users will be much more happy having that change.
>
> Thanks,
> Piotr
>
> On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> <ch...@c-ware.de>
> wrote:
>
> > Hi Piotr,
> >
> > I'd be happy to help with that.
> >
> > I did simply ask for a list of things that need to be changed in
> > order to get things working, but never got said list, so I never
> > knew what I could do to make the Maven distribution match up to the Ant built one.
> >
> > Chris
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Piotr Zarzycki <pi...@gmail.com>
> > Gesendet: Donnerstag, 18. Februar 2021 11:01
> > An: Apache Royale Development <de...@royale.apache.org>
> > Betreff: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi Guys,
> >
> > It's been couple of times when user complains that he have problems
> > with using Maven distribution vs Ant distribution in IDE in a mixed
> > project Jewel + MX/Spark etc.
> >
> > Can we have that resolve once for all and adjust Maven distribution
> > folder to produce proper names of swcs ?
> >
> > Currently when I build Maven IDE distribution I have:
> >
> > MXRoyale-0.9.8-20210215.234230-908-js.swc
> >
> > When I build Ant IDE distribution I have:
> >
> > MXRoyale-js.swc
> >
> > Thanks,
> > --
> >
> > Piotr Zarzycki
> >
> --
>
> Piotr Zarzycki
>
--
Piotr Zarzycki
Re: Align Maven IDE distribution with Ant IDE distribution
Posted by Piotr Zarzycki <pi...@gmail.com>.
Chris,
No it's not about not picking up by IDE at all. Moonshine and VSCode are
able to build projects using Maven distribution package! It is about
project which are mixed for example when user wanted to use Jewel module +
RemoteObject class from MXRoyale module. In that case user need to point
explicilty as a compiler options in IDE that he wanted to have SWC included
and need to exclude css from that swc to avoid problems.
It is happen like that:
-js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
-compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
If I would like to use maven distribution user need to know version for
that compiler options. It is even more tricky when your swc is called
-> MXRoyale-0.9.8-20210217.181012-913-js.swc
-exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.css
Thanks,
Piotr
czw., 18 lut 2021 o 14:47 Christofer Dutz <ch...@c-ware.de>
napisał(a):
> Hi Piotr,
>
> And is really the version-suffix causing it to not be picked up by the
> IDEs?
>
> Chris
>
> -----Ursprüngliche Nachricht-----
> Von: Piotr Zarzycki <pi...@gmail.com>
> Gesendet: Donnerstag, 18. Februar 2021 11:42
> An: dev@royale.apache.org
> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>
> Hi Chris,
>
> This is the only thing which seems to be a constant problem here. I
> personally and some users will be much more happy having that change.
>
> Thanks,
> Piotr
>
> On Thu, 18 Feb 2021 at 11:03, Christofer Dutz <ch...@c-ware.de>
> wrote:
>
> > Hi Piotr,
> >
> > I'd be happy to help with that.
> >
> > I did simply ask for a list of things that need to be changed in order
> > to get things working, but never got said list, so I never knew what I
> > could do to make the Maven distribution match up to the Ant built one.
> >
> > Chris
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Piotr Zarzycki <pi...@gmail.com>
> > Gesendet: Donnerstag, 18. Februar 2021 11:01
> > An: Apache Royale Development <de...@royale.apache.org>
> > Betreff: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi Guys,
> >
> > It's been couple of times when user complains that he have problems
> > with using Maven distribution vs Ant distribution in IDE in a mixed
> > project Jewel + MX/Spark etc.
> >
> > Can we have that resolve once for all and adjust Maven distribution
> > folder to produce proper names of swcs ?
> >
> > Currently when I build Maven IDE distribution I have:
> >
> > MXRoyale-0.9.8-20210215.234230-908-js.swc
> >
> > When I build Ant IDE distribution I have:
> >
> > MXRoyale-js.swc
> >
> > Thanks,
> > --
> >
> > Piotr Zarzycki
> >
> --
>
> Piotr Zarzycki
>
--
Piotr Zarzycki
AW: Align Maven IDE distribution with Ant IDE distribution
Posted by Christofer Dutz <ch...@c-ware.de>.
Hi Piotr,
And is really the version-suffix causing it to not be picked up by the IDEs?
Chris
-----Ursprüngliche Nachricht-----
Von: Piotr Zarzycki <pi...@gmail.com>
Gesendet: Donnerstag, 18. Februar 2021 11:42
An: dev@royale.apache.org
Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
Hi Chris,
This is the only thing which seems to be a constant problem here. I personally and some users will be much more happy having that change.
Thanks,
Piotr
On Thu, 18 Feb 2021 at 11:03, Christofer Dutz <ch...@c-ware.de>
wrote:
> Hi Piotr,
>
> I'd be happy to help with that.
>
> I did simply ask for a list of things that need to be changed in order
> to get things working, but never got said list, so I never knew what I
> could do to make the Maven distribution match up to the Ant built one.
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Piotr Zarzycki <pi...@gmail.com>
> Gesendet: Donnerstag, 18. Februar 2021 11:01
> An: Apache Royale Development <de...@royale.apache.org>
> Betreff: Align Maven IDE distribution with Ant IDE distribution
>
> Hi Guys,
>
> It's been couple of times when user complains that he have problems
> with using Maven distribution vs Ant distribution in IDE in a mixed
> project Jewel + MX/Spark etc.
>
> Can we have that resolve once for all and adjust Maven distribution
> folder to produce proper names of swcs ?
>
> Currently when I build Maven IDE distribution I have:
>
> MXRoyale-0.9.8-20210215.234230-908-js.swc
>
> When I build Ant IDE distribution I have:
>
> MXRoyale-js.swc
>
> Thanks,
> --
>
> Piotr Zarzycki
>
--
Piotr Zarzycki
Re: Align Maven IDE distribution with Ant IDE distribution
Posted by Piotr Zarzycki <pi...@gmail.com>.
Hi Chris,
This is the only thing which seems to be a constant problem here. I
personally and some users will be much more happy having that change.
Thanks,
Piotr
On Thu, 18 Feb 2021 at 11:03, Christofer Dutz <ch...@c-ware.de>
wrote:
> Hi Piotr,
>
> I'd be happy to help with that.
>
> I did simply ask for a list of things that need to be changed in order to
> get things working, but never got said list, so I never knew what I could
> do to make the Maven distribution match up to the Ant built one.
>
> Chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: Piotr Zarzycki <pi...@gmail.com>
> Gesendet: Donnerstag, 18. Februar 2021 11:01
> An: Apache Royale Development <de...@royale.apache.org>
> Betreff: Align Maven IDE distribution with Ant IDE distribution
>
> Hi Guys,
>
> It's been couple of times when user complains that he have problems with
> using Maven distribution vs Ant distribution in IDE in a mixed project
> Jewel + MX/Spark etc.
>
> Can we have that resolve once for all and adjust Maven distribution folder
> to produce proper names of swcs ?
>
> Currently when I build Maven IDE distribution I have:
>
> MXRoyale-0.9.8-20210215.234230-908-js.swc
>
> When I build Ant IDE distribution I have:
>
> MXRoyale-js.swc
>
> Thanks,
> --
>
> Piotr Zarzycki
>
--
Piotr Zarzycki
AW: Align Maven IDE distribution with Ant IDE distribution
Posted by Christofer Dutz <ch...@c-ware.de>.
Hi Piotr,
I'd be happy to help with that.
I did simply ask for a list of things that need to be changed in order to get things working, but never got said list, so I never knew what I could do to make the Maven distribution match up to the Ant built one.
Chris
-----Ursprüngliche Nachricht-----
Von: Piotr Zarzycki <pi...@gmail.com>
Gesendet: Donnerstag, 18. Februar 2021 11:01
An: Apache Royale Development <de...@royale.apache.org>
Betreff: Align Maven IDE distribution with Ant IDE distribution
Hi Guys,
It's been couple of times when user complains that he have problems with using Maven distribution vs Ant distribution in IDE in a mixed project Jewel + MX/Spark etc.
Can we have that resolve once for all and adjust Maven distribution folder to produce proper names of swcs ?
Currently when I build Maven IDE distribution I have:
MXRoyale-0.9.8-20210215.234230-908-js.swc
When I build Ant IDE distribution I have:
MXRoyale-js.swc
Thanks,
--
Piotr Zarzycki