Mailing list threading improvements

2023-08-17 Thread Christofer Dutz
TL;DR: We’re updating how auto-generated email from Github will be
threaded on your mailing lists. If you want to keep the old defaults,
details are below.

We’re pleased to let you know that we’re tweaking the way that auto-
generated email from Github will appear on your mailing lists. This
will lead to more human-readable subject lines, and the ability of most
modern mail clients to correctly thread discussions originating on
Github.

Background: Many project mailing lists receive email auto-generated by
Github. The way that the subject lines are crafted leads to messages
from the same topic not being threaded together by most mail clients.
We’re fixing that.

The way that these messages are threaded is defined by a file -
.asf.yml - in your git repositories. We’re changing the way that it
will work by default if you don’t choose settings. If you’re happy for
us to make this change, don’t do anything - the change will happen on
October the 1st 2023.

Details of the current default, as well as the proposed changes, are on
the following page, along with instructions on how to keep your current
settings, if you prefer:

https://community.apache.org/contributors/mailing-lists.html#configuring-the-subject-lines-of-the-emails-being-sent

Please copy d...@community.apache.org
on any feedback.

Chris, on behalf of the Comdev PMC


So long and thanks for the fish ...

2021-03-21 Thread Christofer Dutz
Hi all,

So, I am now considering my Job on the Maven part of the Royale build done.

You should now:

  *   Have a fully working Maven build including tooling for easy onboarding
  *   Have a fully working Jenkins Setup on Apache Infra that should not stop 
working regularly because of exceeded resource-credits 
(https://ci-builds.apache.org/job/Royale/)
  *   Have a fully working distribution built with Maven
  *   Have nightly distributions available on https://nightlies.apache.org 
which could be used in the installer 
(https://nightlies.apache.org/Royale/Royale-asjs/)
  *   Have a working Maven release-build, which could be used to do Maven-based 
releases (If you stick to typical Maven release requirements and not the ones 
the project decided on ... I can't say which of these might not be satisfied, 
but I would like you to challenge, if they are really needed)
  *   Have a tutorial Video I did, explaining how to release Apache Royale with 
Maven, here: 
https://drive.google.com/drive/folders/1BDKG-zPW3CoWLI0KQJDO5PGyEJQtKRb4?usp=sharing

I'm going to leave the discussion on what to do with this up to you.

I consider my work on the Maven part of Royale done, which I strangely still 
felt responsible for, even after being kicked out of the project some years ago.

You should now be able to continue on your own.

Good luck,
  Chris


[APACHE JENKINS] Just updated the config and what I'll be adding to it in a few minutes

2021-03-21 Thread Christofer Dutz
Hi all,

when checking my latest changes on Apache's Jenkins I noticed that it was 
randomly failing in the past.
A quick look showed me that it was generally due to the unavailability of 
playerglobal and airglobal on Adobe's servers.

The reason for it randomly failing is simply, that some of the Windows nodes 
have the artifact in their local repo from older builds and some don't.
So, the build-success generally depends on which node it's run on.

To get a deterministic build behavior back, I disabled the "with-swf" profile 
on the Jenkins job. This can be added back again as soon as the playerglobal 
replacement is ready.

I also stated updating the ASJS build configuration to also build the 
distribution and I'll add a configuration block that makes the distribution 
artifacts available here:
https://nightlies.apache.org/

In general, that would be the perfect place to download the nightlies from 
instead of the current AWS hosted CI server.

But a decision on that will be up to you folks.

I just want to prepare this so I can generally mark this task as "done" for me 
personally.

Chris


AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

2021-03-21 Thread Christofer Dutz
Hi all,

So, in cases like this, I usually pull all latest changes from develop into the 
feature-branch. Run a full build there, push my changes. 
Then I switch back to develop and pull my changes of the feature-branch back 
into develop. This time I had to merge instead of my usual rebase as the Apache 
repo wasn't accepting it otherwise.

But ... now all changes should be back in develop and now the Maven 
distribution should be a lot better than before.

Hope all went well. I'm going to have an eye on the Apache CI.

Have a great Sunday,
  Chris


-Ursprüngliche Nachricht-
Von: Christofer Dutz  
Gesendet: Sonntag, 21. März 2021 11:21
An: dev@royale.apache.org
Betreff: AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

Hi Piotr,

So, I just updated all of my branches with the latest changes from develop ... 
currently running a full build. 
As soon as that's successful, I'll merge the changes back to develop.

I do agree that the changes should be merged before a RC is cut.

Chris


-Ursprüngliche Nachricht-
Von: Piotr Zarzycki 
Gesendet: Sonntag, 21. März 2021 10:06
An: dev@royale.apache.org
Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

Hi Chris,

I think those changes are good to be merg. Yishay is going to start release 
maybe it’s worth to do this before.

Thanks,
Piotr

On Wed, 17 Mar 2021 at 10:36, Maria Jose Esteve  wrote:

> Chris, I just compiled your last change and everything is ok.
>
> Hiedra
>
> -Mensaje original-
> De: Christofer Dutz  Enviado el: miércoles,
> 17 de marzo de 2021 10:14
> Para: dev@royale.apache.org
> Asunto: AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
>
> Hi all,
>
> Ok .. so, I stripped down the Maven distribution to only contain the 
> jars the Ant version uses. Before that I could see most dependencies 
> related to the royale-maven-plugin pulling in all sorts of Maven 
> dependencies, which clearly aren't needed in the distribution (You 
> don't ship Maven plugins in a distribution ... that just doesn't make
> sense)
>
> I also validated we weren't including stripped-down versions in the 
> maven distribution (Like in the case of Antlr)
>
> I did however notice, the Ant version includes commons-lang3 ... we 
> don't have any code (except 2 classes in the compiler tests) that need 
> this library. I didn't force usage of it in the Maven distribution (It 
> could probably also be removed from the Ant distribution ... but no 
> real harm
> done)
>
> Right now, I can't think of anything else needing to be done. So I 
> guess it's up to you folks to test, test, test and start using it.
>
> Chris
>
>
> -Ursprüngliche Nachricht-
> Von: Christofer Dutz 
> Gesendet: Mittwoch, 17. März 2021 09:46
> An: dev@royale.apache.org
> Betreff: AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
>
> Hi all,
>
> So, I guess the last optimization I know I could do, would be to 
> exclude unneeded jars.
> I know the number of jars in the ANT build's "external" directory is a 
> lot less than the Maven version.
> I guess Maven just adds all transitive dependencies, no matter if the 
> used code-paths actually use them.
> This would even reduce the size of the SDK.
>
> Chris
>
> -Ursprüngliche Nachricht-
> Von: Maria Jose Esteve 
> Gesendet: Dienstag, 16. März 2021 18:23
> An: dev@royale.apache.org
> Betreff: RE: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
>
> Well, I already have it clear ...
> The errors that I am receiving do not have to do with the distribution 
> but with the modifications that I have had to make due to the  Array> error, the inclusion of  true  and the
> elimination of the folder ". m2 / com / ... myproject / .. "on the PC 
> where I am testing the distribution generate dependency errors because 
> before the arqs were generated. Swf.swc and js.swc and not now.
> What a mess right? LOL
>
> As the errors have to do with the issue "" I will detail it 
> there so as not to create more confusion.
>
> @Chris, I think I need to do a test: modify the sdk and see if the 
> changes take me, I remember that I also had problems with this ...
> I tell you things.
>
> Hiedra.
>
> -Mensaje original-
> De: Maria Jose Esteve
> Enviado el: martes, 16 de marzo de 2021 17:11
> Para: dev@royale.apache.org
> Asunto: RE: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
>
> Hahahaha, I haven't detailed anything because I haven't seen them in 
> depth yet and I don't want to waste your time.
> Although I know that the errors have to do with the distribution, 
> since they do not occur with the normal compilation, I am not sure if 
> they originate from this. Soon I will tell

AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

2021-03-21 Thread Christofer Dutz
Hi Piotr,

So, I just updated all of my branches with the latest changes from develop ... 
currently running a full build. 
As soon as that's successful, I'll merge the changes back to develop.

I do agree that the changes should be merged before a RC is cut.

Chris


-Ursprüngliche Nachricht-
Von: Piotr Zarzycki  
Gesendet: Sonntag, 21. März 2021 10:06
An: dev@royale.apache.org
Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

Hi Chris,

I think those changes are good to be merg. Yishay is going to start release 
maybe it’s worth to do this before.

Thanks,
Piotr

On Wed, 17 Mar 2021 at 10:36, Maria Jose Esteve  wrote:

> Chris, I just compiled your last change and everything is ok.
>
> Hiedra
>
> -Mensaje original-
> De: Christofer Dutz  Enviado el: miércoles, 
> 17 de marzo de 2021 10:14
> Para: dev@royale.apache.org
> Asunto: AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
>
> Hi all,
>
> Ok .. so, I stripped down the Maven distribution to only contain the 
> jars the Ant version uses. Before that I could see most dependencies 
> related to the royale-maven-plugin pulling in all sorts of Maven 
> dependencies, which clearly aren't needed in the distribution (You 
> don't ship Maven plugins in a distribution ... that just doesn't make 
> sense)
>
> I also validated we weren't including stripped-down versions in the 
> maven distribution (Like in the case of Antlr)
>
> I did however notice, the Ant version includes commons-lang3 ... we 
> don't have any code (except 2 classes in the compiler tests) that need 
> this library. I didn't force usage of it in the Maven distribution (It 
> could probably also be removed from the Ant distribution ... but no 
> real harm
> done)
>
> Right now, I can't think of anything else needing to be done. So I 
> guess it's up to you folks to test, test, test and start using it.
>
> Chris
>
>
> -Ursprüngliche Nachricht-
> Von: Christofer Dutz 
> Gesendet: Mittwoch, 17. März 2021 09:46
> An: dev@royale.apache.org
> Betreff: AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
>
> Hi all,
>
> So, I guess the last optimization I know I could do, would be to 
> exclude unneeded jars.
> I know the number of jars in the ANT build's "external" directory is a 
> lot less than the Maven version.
> I guess Maven just adds all transitive dependencies, no matter if the 
> used code-paths actually use them.
> This would even reduce the size of the SDK.
>
> Chris
>
> -Ursprüngliche Nachricht-
> Von: Maria Jose Esteve 
> Gesendet: Dienstag, 16. März 2021 18:23
> An: dev@royale.apache.org
> Betreff: RE: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
>
> Well, I already have it clear ...
> The errors that I am receiving do not have to do with the distribution 
> but with the modifications that I have had to make due to the  Array> error, the inclusion of  true  and the 
> elimination of the folder ". m2 / com / ... myproject / .. "on the PC 
> where I am testing the distribution generate dependency errors because 
> before the arqs were generated. Swf.swc and js.swc and not now.
> What a mess right? LOL
>
> As the errors have to do with the issue "" I will detail it 
> there so as not to create more confusion.
>
> @Chris, I think I need to do a test: modify the sdk and see if the 
> changes take me, I remember that I also had problems with this ...
> I tell you things.
>
> Hiedra.
>
> -Mensaje original-
> De: Maria Jose Esteve
> Enviado el: martes, 16 de marzo de 2021 17:11
> Para: dev@royale.apache.org
> Asunto: RE: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
>
> Hahahaha, I haven't detailed anything because I haven't seen them in 
> depth yet and I don't want to waste your time.
> Although I know that the errors have to do with the distribution, 
> since they do not occur with the normal compilation, I am not sure if 
> they originate from this. Soon I will tell you more things.
>
> Hiedra.
>
> -Mensaje original-
> De: Christofer Dutz  Enviado el: martes, 16 
> de marzo de 2021 17:03
> Para: dev@royale.apache.org
> Asunto: AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
>
> Hi Hiedra,
>
> could you please explain what's not working for that project? I can't 
> quite see in your email that it's not working.
>
> Chris
>
>
> -Ursprüngliche Nachricht-
> Von: Maria Jose Esteve 
> Gesendet: Dienstag, 16. März 2021 16:58
> An: dev@royale.apache.org
> Betreff: RE: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
>
> I'm glad too  hahahaha. Thank you for your work.
>
>
>
> "I still do not giv

AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

2021-03-16 Thread Christofer Dutz
Hi Hiedra,

could you please explain what's not working for that project? I can't quite see 
in your email that it's not working.

Chris


-Ursprüngliche Nachricht-
Von: Maria Jose Esteve  
Gesendet: Dienstag, 16. März 2021 16:58
An: dev@royale.apache.org
Betreff: RE: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

I'm glad too  hahahaha. Thank you for your work.



"I still do not give you 100%  because the large project does not compile with 
the distribution" and yes with the compilation without distribution ...

Surely there is something that I have to put differently ...

I'll keep you informed.



Hiedra



-Mensaje original-
De: Christofer Dutz  Enviado el: martes, 16 de marzo 
de 2021 16:36
Para: dev@royale.apache.org
Asunto: AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned



Hi Hiedra,



happy that it worked for you ... in general people were complaining that the 
Maven distribution wasn't "working" for them.

This was in various situations and IDEs ... so what I did, was to try to change 
the maven distribution to me more like the one produced by Ant, generally 
allowing us to use the Maven-built distribution for download.



Chris



-Ursprüngliche Nachricht-

Von: Maria Jose Esteve mailto:mjest...@iest.com>>

Gesendet: Dienstag, 16. März 2021 16:08

An: dev@royale.apache.org<mailto:dev@royale.apache.org>

Betreff: RE: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned



Hi, I have had a difficult few weeks with work, I feel the silence.







First I wanted to remember that my environment and routines I think are a 
little different from Piotr's, maybe someone is in the same situation:



- IDE: vsCode



- Maven royale-compiler, royale-typedefs and royale-asjs compilation, js only.



- I compile the projects with maven: mvn clean install 
-Droyalelib=${env:ROYALE_HOME}\\frameworks



Env:ROYALE_HOME --> sdk distribution folder



In the pom.xml / 
-compiler.exclude-defaults-css-files=MXRoyale-0.9.8-SNAPSHOT-js.swc:defaults.css;



- Test projects: Jewel application.



Project Ex. 1: Royale-Echarts [1] - targets: JSRoyale



Project Ex. 2: AppWithLib [2] && Simplelib [3] - targets: 
JSRoyale



Project Ex. 3: Custom app.



   - Jewel application



   - crux and mx.rpc.remoting.RemoteObject



   - project consisting of an app project (views) 
and an external library - JSRoyale (classes, controllers, models and delegates)







Project Ex. 4: Custom app.



   - Jewel application



   - crux and mx.rpc.remoting.RemoteObject



- This project is not my belief, the framework 
was created by some external collaborators.



   It is made up of a royale-app and a royale-libs 
composed of several interconnected libraries and of these with the royale-app.



   In royale-app as expected, the views, and in 
royale-libs all the rest of the code (general classes, custom components, 
echarts [1], controllers, models and delegates)



   The application is compiled with the JSRoyale 
target and the libraries are compiled in js and swf (I can't understand this 
because the target is also JSRoyale)







[1] https://github.com/mjesteve/Royale-ECharts/tree/develop_v5



[2] 
https://github.com/mjesteve/royale-asjs/tree/Example_AppWithLib/examples/crux/AppWithLib



[3] 
https://github.com/mjesteve/royale-asjs/tree/Example_AppWithLib/examples/crux/SampleLib







@Chris, I have generated the distribution to the second , had always used "-P 
with-distribution" (with white space between the "-P" and the "w") but now it 
does not recognize me. Yes I was recognized by "-Pwith-distribution" --> Ok all







Although I do not use the mvn swf-js distribution, I have also compiled it and 
generated it correctly.



I don't know what should be generated with the distribution to be considered 
"aligned with the ant distribution" but in the "themes" folder, of the swf-js 
distribution, the "Halo" folder is missing and I don't know if anything else is 
there? should it be generated?







The IDE perfectly recognizes both distributions.



Successful mvn compilation of "Project Ex. 1", "Project Ex. 2" and "Project Ex. 
3" but with "Project Ex. 4" I get errors that I am debugging right now and that 
I will share with you in a bit.



I have to say that all "Projects Ex." compile without errors if I use the 
compiled SDK "no distribution"







Hiedra







-Mensaje original-

De: Piotr Zarzycki 
mailto:piotrzarzyck...@gmail.com>&

AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

2021-03-16 Thread Christofer Dutz
Hi Hiedra,

happy that it worked for you ... in general people were complaining that the 
Maven distribution wasn't "working" for them. 
This was in various situations and IDEs ... so what I did, was to try to change 
the maven distribution to me more like the one produced by Ant, generally 
allowing us to use the Maven-built distribution for download. 

Chris

-Ursprüngliche Nachricht-
Von: Maria Jose Esteve  
Gesendet: Dienstag, 16. März 2021 16:08
An: dev@royale.apache.org
Betreff: RE: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

Hi, I have had a difficult few weeks with work, I feel the silence.



First I wanted to remember that my environment and routines I think are a 
little different from Piotr's, maybe someone is in the same situation:

- IDE: vsCode

- Maven royale-compiler, royale-typedefs and royale-asjs compilation, js only.

- I compile the projects with maven: mvn clean install 
-Droyalelib=${env:ROYALE_HOME}\\frameworks

Env:ROYALE_HOME --> sdk distribution folder

In the pom.xml / 
-compiler.exclude-defaults-css-files=MXRoyale-0.9.8-SNAPSHOT-js.swc:defaults.css;

- Test projects: Jewel application.

Project Ex. 1: Royale-Echarts [1] - targets: JSRoyale

Project Ex. 2: AppWithLib [2] && Simplelib [3] - targets: 
JSRoyale

Project Ex. 3: Custom app.

   - Jewel application

   - crux and mx.rpc.remoting.RemoteObject

   - project consisting of an app project (views) 
and an external library - JSRoyale (classes, controllers, models and delegates)



Project Ex. 4: Custom app.

   - Jewel application

   - crux and mx.rpc.remoting.RemoteObject

- This project is not my belief, the framework 
was created by some external collaborators.

   It is made up of a royale-app and a royale-libs 
composed of several interconnected libraries and of these with the royale-app.

   In royale-app as expected, the views, and in 
royale-libs all the rest of the code (general classes, custom components, 
echarts [1], controllers, models and delegates)

   The application is compiled with the JSRoyale 
target and the libraries are compiled in js and swf (I can't understand this 
because the target is also JSRoyale)



[1] https://github.com/mjesteve/Royale-ECharts/tree/develop_v5

[2] 
https://github.com/mjesteve/royale-asjs/tree/Example_AppWithLib/examples/crux/AppWithLib

[3] 
https://github.com/mjesteve/royale-asjs/tree/Example_AppWithLib/examples/crux/SampleLib



@Chris, I have generated the distribution to the second , had always used "-P 
with-distribution" (with white space between the "-P" and the "w") but now it 
does not recognize me. Yes I was recognized by "-Pwith-distribution" --> Ok all



Although I do not use the mvn swf-js distribution, I have also compiled it and 
generated it correctly.

I don't know what should be generated with the distribution to be considered 
"aligned with the ant distribution" but in the "themes" folder, of the swf-js 
distribution, the "Halo" folder is missing and I don't know if anything else is 
there? should it be generated?



The IDE perfectly recognizes both distributions.

Successful mvn compilation of "Project Ex. 1", "Project Ex. 2" and "Project Ex. 
3" but with "Project Ex. 4" I get errors that I am debugging right now and that 
I will share with you in a bit.

I have to say that all "Projects Ex." compile without errors if I use the 
compiled SDK "no distribution"



Hiedra



-Mensaje original-
De: Piotr Zarzycki  Enviado el: lunes, 15 de marzo 
de 2021 13:39
Para: Apache Royale Development 
Asunto: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned



Hi Chris,



I have tested your changes and finally I'm able build project using

generated distribution. I would like to test it for couple of days to see

if I won't have any problems with Josh's language server and we should be

good here.



Thanks,

Piotr



sob., 13 mar 2021 o 15:10 Christofer Dutz 
mailto:christofer.d...@c-ware.de>>

napisał(a):



> Hi Piotr,

>

> ok ... that was easily fixable.

> In one of my last commits I had removed the class path entry to

> antlr-runtime.jar as the Ant one didn't have this.

> But the missing class you reported is in this jar.

>

> So, I compared the antlr.jar in the Ant and Maven distribution. They 
> were

> greatly different in size (Ant:2,4MB vs Maven 0.4MB)

> I therefore re-added the antlr-rutime.jar back to the class path of 
> the

> Maven distribution.

>

> This error should now disappear.

>

> Chris

>…


AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

2021-03-13 Thread Christofer Dutz
lassLoader.loadClass(ClassLoader.java:521)
: ... 19 more

pt., 12 mar 2021 o 11:27 Christofer Dutz 
napisał(a):

> So:
>
> The Ant version:
>
> Doesn't seem to be having the following libs in the "libs" directory:
> - compiler-compjsc.jar
> - compiler-externc.jar
> - compiler-jburg-types.jar
> - compiler-mxmljsc.jar
> - compiler-playerglobal.jar
> - royale-ant-tasks
>
> In compiler-swfdump the MANIFEST refers to commons-io.jar which however
> should be external/commons-io.jar ... so effectively it's a useless
> addition.
>
> In the Maven versions:
>
> - I changed all compiler artifacts to no longer generate the manifest
> classpath automatically, but I defined it manually and verified the jars
> exist and have the right name.
> - There was a HUGE difference on where some of the jars in js/libs were
> located, so I've updated the distribution to match that of Ant.
> - I noticed that it seems there is no Maven build for asdoc.jar ... all I
> can see is an Ant build file.
> - The content of the js/lib/google directory greatly differs ... will
> investigate this as soon as I can find some time.
>
> So, I just pushed some updates, but I guess I'll have to continue my work
> on this as soon as I find some time ... would be awesome if anyone could
> actively help on this.
>
> Right now, I'm just creating diffs between the two and trying to get the
> Maven distribution to match this.
>
>  Chris
>
>
> -Ursprüngliche Nachricht-
> Von: Christofer Dutz 
> Gesendet: Freitag, 12. März 2021 09:18
> An: dev@royale.apache.org
> Betreff: AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
>
> Oh gee ... I was hoping not having to do this ... but I'll now compare the
> libs also inside.
>
> Will keep you posted ...
>
>
> Chris
>
>
>
> -Ursprüngliche Nachricht-
> Von: Piotr Zarzycki 
> Gesendet: Freitag, 12. März 2021 00:06
> An: Apache Royale Development 
> Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
>
> Hey Chris,
>
> Unfortunately I cannot share with you code of that project, unless by
> library you mean distribution which I have generated using your branches.
>
> I will have to double check, but I'm sure that I have rebuild everything
> using your branches.
>
> Thanks,
> Piotr
>
> czw., 11 mar 2021 o 21:47 Christofer Dutz 
> napisał(a):
>
> > Hi Poitr,
> >
> > You re-built the compiler and then the framework (both in my branch and
> > including distribution)?
> >
> > Would you be able to share the library so I could try on my side?
> >
> > Chris
> >
> > -Ursprüngliche Nachricht-
> > Von: Piotr Zarzycki 
> > Gesendet: Donnerstag, 11. März 2021 15:43
> > An: Apache Royale Development 
> > Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
> >
> > Hi Chris,
> >
> > I have tested it with your changes and I'm getting same issue:
> >
> > 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.a

AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

2021-03-12 Thread Christofer Dutz
So:

The Ant version:

Doesn't seem to be having the following libs in the "libs" directory:
- compiler-compjsc.jar
- compiler-externc.jar
- compiler-jburg-types.jar
- compiler-mxmljsc.jar
- compiler-playerglobal.jar
- royale-ant-tasks

In compiler-swfdump the MANIFEST refers to commons-io.jar which however should 
be external/commons-io.jar ... so effectively it's a useless addition.

In the Maven versions:

- I changed all compiler artifacts to no longer generate the manifest classpath 
automatically, but I defined it manually and verified the jars exist and have 
the right name.
- There was a HUGE difference on where some of the jars in js/libs were 
located, so I've updated the distribution to match that of Ant.
- I noticed that it seems there is no Maven build for asdoc.jar ... all I can 
see is an Ant build file.
- The content of the js/lib/google directory greatly differs ... will 
investigate this as soon as I can find some time.

So, I just pushed some updates, but I guess I'll have to continue my work on 
this as soon as I find some time ... would be awesome if anyone could actively 
help on this.

Right now, I'm just creating diffs between the two and trying to get the Maven 
distribution to match this. 

 Chris


-Ursprüngliche Nachricht-
Von: Christofer Dutz  
Gesendet: Freitag, 12. März 2021 09:18
An: dev@royale.apache.org
Betreff: AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

Oh gee ... I was hoping not having to do this ... but I'll now compare the libs 
also inside.

Will keep you posted ...


Chris



-Ursprüngliche Nachricht-
Von: Piotr Zarzycki  
Gesendet: Freitag, 12. März 2021 00:06
An: Apache Royale Development 
Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

Hey Chris,

Unfortunately I cannot share with you code of that project, unless by
library you mean distribution which I have generated using your branches.

I will have to double check, but I'm sure that I have rebuild everything
using your branches.

Thanks,
Piotr

czw., 11 mar 2021 o 21:47 Christofer Dutz 
napisał(a):

> Hi Poitr,
>
> You re-built the compiler and then the framework (both in my branch and
> including distribution)?
>
> Would you be able to share the library so I could try on my side?
>
> Chris
>
> -Ursprüngliche Nachricht-
> Von: Piotr Zarzycki 
> Gesendet: Donnerstag, 11. März 2021 15:43
> An: Apache Royale Development 
> Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
>
> Hi Chris,
>
> I have tested it with your changes and I'm getting same issue:
>
> 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
> .ASBlockWalk

AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

2021-03-12 Thread Christofer Dutz
Oh gee ... I was hoping not having to do this ... but I'll now compare the libs 
also inside.

Will keep you posted ...


Chris



-Ursprüngliche Nachricht-
Von: Piotr Zarzycki  
Gesendet: Freitag, 12. März 2021 00:06
An: Apache Royale Development 
Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

Hey Chris,

Unfortunately I cannot share with you code of that project, unless by
library you mean distribution which I have generated using your branches.

I will have to double check, but I'm sure that I have rebuild everything
using your branches.

Thanks,
Piotr

czw., 11 mar 2021 o 21:47 Christofer Dutz 
napisał(a):

> Hi Poitr,
>
> You re-built the compiler and then the framework (both in my branch and
> including distribution)?
>
> Would you be able to share the library so I could try on my side?
>
> Chris
>
> -Ursprüngliche Nachricht-
> Von: Piotr Zarzycki 
> Gesendet: Donnerstag, 11. März 2021 15:43
> An: Apache Royale Development 
> Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
>
> Hi Chris,
>
> I have tested it with your changes and I'm getting same issue:
>
> 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(ASBloc

AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

2021-03-11 Thread Christofer Dutz
y.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

wt., 9 mar 2021 o 16:55 Piotr Zarzycki 
napisał(a):

> Thanks Chris. I will try to give it a try tomorrow.
>
> Piotr
>
> wt., 9 mar 2021 o 16:41 Christofer Dutz 
> napisał(a):
>
>> Hehe ...
>>
>> Murphy's definitely not a nice guy :-/
>>
>> Turns out all libraries in the Ant distribution have no version number
>> ... all except:
>>
>> - commons-compress-1.10.jar
>> - commons-lang-2.6.jar
>> - commons-lang3-3.4.jar
>>
>> The missing class is in commons-lang-2.6.jar
>>
>> I found the invalid classpath entry in compiler-jx which was looking for
>> commons-lang-2.6.jar while it should have been commons-lang.jar. So that
>> issue should be fixed now.
>>
>> You should update compiler and re-build that (mvn clean install) and then
>> re-build the ASJS distribution and give it another try?
>>
>> Chris
>>
>>
>>
>> -Ursprüngliche Nachricht-
>> Von: Piotr Zarzycki 
>> Gesendet: Dienstag, 9. März 2021 15:22
>> An: Apache Royale Development 
>> Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
>>
>> Hi Chris,
>>
>> So I had some time today and build whole SDK with your latest changes.
>> Distribution has been prepared without the problem. I didn't check yet
>> building only distribution, but I will. I moved to test produced
>> distribution with small example and Moonshine - It builds without the
>> problems.
>>
>> I have tried next build our big Royale project with distribution and I'm
>> keep getting following error. Note that I'm able to build this project
>> with
>> ANT distribution.
>>
>> : Exception in thread "main" java.lang.NoClassDefFoundError:
>> org/apache/commons/lang/StringEscapeUtils
>> : at
>>
>> org.apache.royale.compiler.internal.codegen.js.jx.LiteralEmitter.emit(LiteralEmitte

AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

2021-03-09 Thread Christofer Dutz
r.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

Thanks,
Piotr



czw., 4 mar 2021 o 18:46 Piotr Zarzycki 
napisał(a):

> Chris,
>
> I don't know yet. I will check tomorrow or on Monday.
>
> Thanks,
> Piotr
>
> czw., 4 mar 2021 o 18:36 Christofer Dutz 
> napisał(a):
>
>> Hi Piotr,
>>
>> Do things work with "mvn install"?
>>
>> (you could also use "package", just anything "package" or beyond that)
>>
>> Chris
>>
>>
>>
>> -Ursprüngliche Nachricht-
>> Von: Christofer Dutz 
>> Gesendet: Donnerstag, 4. März 2021 11:25
>> An: dev@royale.apache.org
>> Betreff: AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
>>
>> Aaahhh ... I think I know what's going on.
>>
>> I did say "mvn clean install" now multiple times, didn't I?
>> I would like to lay emphasis on the "install" (Not "compile")
>>
>> You are running mvn "compile" ... this is a phase of maven that comes
>> before the "packaging" phase.
>> All the assembly stuff comes in the "packaging" phase.
>>
>> So, everything we do after the compile phase will not be execu

AW: Merge the compiler-pr for distribution alignment?

2021-03-07 Thread Christofer Dutz
Ok ... here goes:

I thought I had been clear with what I wanted to do, but it seems I haven't 
been clear enough:
To build the new distribution, you need to checkout my feature branch in the 
asjs repo (feature/distribution-allignment)

However, for this to work, you need a tiny change I have in the compiler repo, 
which creates an additional jar in the compiler's "compiler" module, that 
contains all the scripts in the bin directory. I need this so I can put the 
content in the distribution.

I was proposing to only merge that change as it doesn't have any effect on the 
build of the other artifacts, but the CI server would start building the new 
artifact and make it possible for people to test my changes without having to 
checkout the changes in the compiler and building the compiler manually.

As soon as we have the distribution in a form that it produces correct 
distributions ... then ... and only then, do I think we should merge these 
changes (all of them in the asjs repo) to develop, because then we would be 
able to technically do releases with Maven.

And I'm not rushing the second merge (the one in asjs) ... This should take as 
long as it takes till the distribution is perfect. 
I just want the other one in as this simplifies things for others, that want to 
test the changes (which we clearly need)

Chris



-Ursprüngliche Nachricht-
Von: Christofer Dutz  
Gesendet: Sonntag, 7. März 2021 18:58
An: dev@royale.apache.org
Betreff: AW: Merge the compiler-pr for distribution alignment?

Hi Piotr,

Well, I'm not referring to my changes on asjs ... I'm referring to the changes 
on the compiler.
All this does is create a new artifact. If you managed to build the compiler in 
my branch, then all that should have worked, worked.

Chris


-Ursprüngliche Nachricht-
Von: Piotr Zarzycki 
Gesendet: Sonntag, 7. März 2021 16:25
An: dev@royale.apache.org
Betreff: Re: Merge the compiler-pr for distribution alignment?

When it will work for me I will be +1 for merge. When I tested on Friday it 
didn’t work, so I do see reason why it should be on dev.

On Sun, 7 Mar 2021 at 16:07, Christofer Dutz 
wrote:

> It's not a hurry,
>
> But it's a side-effect free merge and if there are others wanting to 
> join in (Especially Ant folks will probably be interested) I thought 
> this would simplify things for these non-Maven-natives.
>
> Chris
>
> -Ursprüngliche Nachricht-
> Von: Piotr Zarzycki 
> Gesendet: Sonntag, 7. März 2021 15:29
> An: dev@royale.apache.org
> Betreff: Re: Merge the compiler-pr for distribution alignment?
>
> Chris,
>
> I personally don’t have any problems with testing when it’s on branch.
> Not sure what’s the hurry with that?
>
> I should have time to make another test after your commit on 
> Monday/Tuesday.
>
> Thanks,
> Piotr
>
> On Sun, 7 Mar 2021 at 14:43, Christofer Dutz 
> 
> wrote:
>
> > Hi all,
> >
> > it would simplify testing the distribution stuff a lot, if this PR 
> > would be merged:
> > Feature/distribution allignment by chrisdutz * Pull Request #180 * 
> > apache/royale-compiler (github.com)< 
> > https://github.com/apache/royale-compiler/pull/180>
> >
> > It simply packs all scripts in the compiler bin directory into an 
> > additional jar which can then be downloaded by maven.
> >
> > With this people wanting to test-drive the distribution changes 
> > don't also have to checkout and build the compiler.
> >
> > It shouldn't have any other side-effects.
> >
> > Chris
> >
> --
>
> Piotr Zarzycki
>
-- 

Piotr Zarzycki


AW: Merge the compiler-pr for distribution alignment?

2021-03-07 Thread Christofer Dutz
Hi Piotr,

Well, I'm not referring to my changes on asjs ... I'm referring to the changes 
on the compiler.
All this does is create a new artifact. If you managed to build the compiler in 
my branch, then all that should have worked, worked.

Chris


-Ursprüngliche Nachricht-
Von: Piotr Zarzycki  
Gesendet: Sonntag, 7. März 2021 16:25
An: dev@royale.apache.org
Betreff: Re: Merge the compiler-pr for distribution alignment?

When it will work for me I will be +1 for merge. When I tested on Friday it 
didn’t work, so I do see reason why it should be on dev.

On Sun, 7 Mar 2021 at 16:07, Christofer Dutz 
wrote:

> It's not a hurry,
>
> But it's a side-effect free merge and if there are others wanting to 
> join in (Especially Ant folks will probably be interested) I thought 
> this would simplify things for these non-Maven-natives.
>
> Chris
>
> -Ursprüngliche Nachricht-
> Von: Piotr Zarzycki 
> Gesendet: Sonntag, 7. März 2021 15:29
> An: dev@royale.apache.org
> Betreff: Re: Merge the compiler-pr for distribution alignment?
>
> Chris,
>
> I personally don’t have any problems with testing when it’s on branch.
> Not sure what’s the hurry with that?
>
> I should have time to make another test after your commit on 
> Monday/Tuesday.
>
> Thanks,
> Piotr
>
> On Sun, 7 Mar 2021 at 14:43, Christofer Dutz 
> 
> wrote:
>
> > Hi all,
> >
> > it would simplify testing the distribution stuff a lot, if this PR 
> > would be merged:
> > Feature/distribution allignment by chrisdutz * Pull Request #180 * 
> > apache/royale-compiler (github.com)< 
> > https://github.com/apache/royale-compiler/pull/180>
> >
> > It simply packs all scripts in the compiler bin directory into an 
> > additional jar which can then be downloaded by maven.
> >
> > With this people wanting to test-drive the distribution changes 
> > don't also have to checkout and build the compiler.
> >
> > It shouldn't have any other side-effects.
> >
> > Chris
> >
> --
>
> Piotr Zarzycki
>
-- 

Piotr Zarzycki


AW: Merge the compiler-pr for distribution alignment?

2021-03-07 Thread Christofer Dutz
It's not a hurry,

But it's a side-effect free merge and if there are others wanting to join in 
(Especially Ant folks will probably be interested)
I thought this would simplify things for these non-Maven-natives.

Chris

-Ursprüngliche Nachricht-
Von: Piotr Zarzycki  
Gesendet: Sonntag, 7. März 2021 15:29
An: dev@royale.apache.org
Betreff: Re: Merge the compiler-pr for distribution alignment?

Chris,

I personally don’t have any problems with testing when it’s on branch.
Not sure what’s the hurry with that?

I should have time to make another test after your commit on Monday/Tuesday.

Thanks,
Piotr

On Sun, 7 Mar 2021 at 14:43, Christofer Dutz 
wrote:

> Hi all,
>
> it would simplify testing the distribution stuff a lot, if this PR 
> would be merged:
> Feature/distribution allignment by chrisdutz * Pull Request #180 * 
> apache/royale-compiler (github.com)< 
> https://github.com/apache/royale-compiler/pull/180>
>
> It simply packs all scripts in the compiler bin directory into an 
> additional jar which can then be downloaded by maven.
>
> With this people wanting to test-drive the distribution changes don't 
> also have to checkout and build the compiler.
>
> It shouldn't have any other side-effects.
>
> Chris
>
-- 

Piotr Zarzycki


Merge the compiler-pr for distribution alignment?

2021-03-07 Thread Christofer Dutz
Hi all,

it would simplify testing the distribution stuff a lot, if this PR would be 
merged:
Feature/distribution allignment by chrisdutz * Pull Request #180 * 
apache/royale-compiler 
(github.com)

It simply packs all scripts in the compiler bin directory into an additional 
jar which can then be downloaded by maven.

With this people wanting to test-drive the distribution changes don't also have 
to checkout and build the compiler.

It shouldn't have any other side-effects.

Chris


AW: PRs ready for distribution alignment

2021-03-07 Thread Christofer Dutz
Hi Piotr,

if you don't enable the "option-with-swf" it's the JS-only version.
The reason for setting things up that way 5 years ago, was that we then knew 
that SWF was going to be fading out and JS to be the new standard.
So, we chose the default to work without having to accept Adobe License 
Agreements and build the JS-only version per default.

So, in order to build the full thing including SWF support, run this instead:

mvn clean install -DdistributionTargetFolder=d:\Work\royale_ide\distribution 
-Poption-with-swf

Chris

-Ursprüngliche Nachricht-
Von: Piotr Zarzycki  
Gesendet: Sonntag, 7. März 2021 13:13
An: dev@royale.apache.org
Betreff: Re: PRs ready for distribution alignment

Chris,

I have used on Friday version which has been build with following command:

mvn clean install -DdistributionTargetFolder=d:\Work\royale_ide\distribution

Which one is that ?

If this command build swf version - I think default should be ja only.

Thanks,
Piotr

On Sun, 7 Mar 2021 at 13:03, Christofer Dutz 
wrote:

> Hi all,
>
> I just pushed some changes handing the "without-swf" version.
> I now create the dummy files the FlashBuilder seems to require.
> Also does the build now clean out the "library-path" for the 
> without-swf version.
>
> So, it should now be more aligned with the Ant build.
>
> @Piotr ... Are you still using the "without-swf/JS-only" distribution 
> or the one with swf?
>
> Chris
>
> -Ursprüngliche Nachricht-
> Von: Piotr Zarzycki 
> Gesendet: Sonntag, 7. März 2021 12:46
> An: dev@royale.apache.org
> Betreff: Re: PRs ready for distribution alignment
>
> Yep it doesn’t, but I can build my project with that sdk and cannot 
> with maven distribution, so some configs has changed.
>
> On Sun, 7 Mar 2021 at 11:56, Christofer Dutz 
> 
> wrote:
>
> > Hi Piotr,
> >
> > So, I just downloaded the js-only version and that seems to be quite 
> > empty too.
> >
> > It does seem to contain airglobal and playerglobal, JewelTheme and a 
> > quite big lib called KeepsFBFromHanging.swc ... but in general this 
> > directory doesn't contain any of the Project swcs.
> >
> > Chris
> >
> >
> > -Ursprüngliche Nachricht-
> > Von: Christofer Dutz 
> > Gesendet: Freitag, 5. März 2021 18:07
> > An: dev@royale.apache.org
> > Betreff: AW: PRs ready for distribution alignment
> >
> > Hi Piotr,
> >
> > Guess I should have gotten the no-swf Ant version ... but I thought, 
> > if you do a JS compile it uses the js/libs and if it's a SWF, it 
> > uses
> "libs".
> > So right now, in case of the no-swf build, it doesn't add any of the 
> > swc's ... but I'll investigate the no-swf ANT version and work on 
> > that this weekend.
> >
> > So, for now it might make more sense to compare the "with-swf" versions.
> >
> > Chris
> >
> >
> > -Ursprüngliche Nachricht-
> > Von: Piotr Zarzycki 
> > Gesendet: Freitag, 5. März 2021 17:39
> > An: Apache Royale Development 
> > Betreff: Re: PRs ready for distribution alignment
> >
> > Just an observation. In Ant distribution frameworks/libs does 
> > exists, but it doesn't contains all those swc which you are seeing 
> > in stacktrace. It means that Maven distribution is somehow "telling"
> > trough maybe some configs that I should use frameworks/libs swc 
> > instead
> frameworks/js/libs...
> >
> > pt., 5 mar 2021 o 17:32 Christofer Dutz 
> > napisał(a):
> >
> > > Hi Piotr,
> > >
> > > It should work in both.
> > >
> > > Chris
> > >
> > >
> > > -Ursprüngliche Nachricht-
> > > Von: Piotr Zarzycki 
> > > Gesendet: Freitag, 5. März 2021 17:04
> > > An: Apache Royale Development 
> > > Betreff: Re: PRs ready for distribution alignment
> > >
> > > That options is working whether I build distribution in root 
> > > folder of sdk and "distribution" folder as well ?
> > >
> > > pt., 5 mar 2021 o 17:00 Christofer Dutz 
> > > 
> > > napisał(a):
> > >
> > > > Hi Piotr,
> > > >
> > > > If you don't explicitly define the profile "option-with-swf" 
> > > > it's the JS-only version.
> > > >
> > > > Chris
> > > >
> > > > -Ursprüngliche Nachricht-
> > > > Von: Piotr Zarzycki 
> > > > Gesendet: Freitag, 5. März 2021 16:11
> > > > An: Apache Royale Development 
> > > > Betreff: Re: PRs r

AW: PRs ready for distribution alignment

2021-03-07 Thread Christofer Dutz
Hi all,

I just pushed some changes handing the "without-swf" version.
I now create the dummy files the FlashBuilder seems to require.
Also does the build now clean out the "library-path" for the without-swf 
version.

So, it should now be more aligned with the Ant build.

@Piotr ... Are you still using the "without-swf/JS-only" distribution or the 
one with swf?

Chris

-Ursprüngliche Nachricht-
Von: Piotr Zarzycki  
Gesendet: Sonntag, 7. März 2021 12:46
An: dev@royale.apache.org
Betreff: Re: PRs ready for distribution alignment

Yep it doesn’t, but I can build my project with that sdk and cannot with maven 
distribution, so some configs has changed.

On Sun, 7 Mar 2021 at 11:56, Christofer Dutz 
wrote:

> Hi Piotr,
>
> So, I just downloaded the js-only version and that seems to be quite 
> empty too.
>
> It does seem to contain airglobal and playerglobal, JewelTheme and a 
> quite big lib called KeepsFBFromHanging.swc ... but in general this 
> directory doesn't contain any of the Project swcs.
>
> Chris
>
>
> -Ursprüngliche Nachricht-
> Von: Christofer Dutz 
> Gesendet: Freitag, 5. März 2021 18:07
> An: dev@royale.apache.org
> Betreff: AW: PRs ready for distribution alignment
>
> Hi Piotr,
>
> Guess I should have gotten the no-swf Ant version ... but I thought, 
> if you do a JS compile it uses the js/libs and if it's a SWF, it uses "libs".
> So right now, in case of the no-swf build, it doesn't add any of the 
> swc's ... but I'll investigate the no-swf ANT version and work on that 
> this weekend.
>
> So, for now it might make more sense to compare the "with-swf" versions.
>
> Chris
>
>
> -Ursprüngliche Nachricht-
> Von: Piotr Zarzycki 
> Gesendet: Freitag, 5. März 2021 17:39
> An: Apache Royale Development 
> Betreff: Re: PRs ready for distribution alignment
>
> Just an observation. In Ant distribution frameworks/libs does exists, 
> but it doesn't contains all those swc which you are seeing in 
> stacktrace. It means that Maven distribution is somehow "telling" 
> trough maybe some configs that I should use frameworks/libs swc instead 
> frameworks/js/libs...
>
> pt., 5 mar 2021 o 17:32 Christofer Dutz 
> napisał(a):
>
> > Hi Piotr,
> >
> > It should work in both.
> >
> > Chris
> >
> >
> > -Ursprüngliche Nachricht-
> > Von: Piotr Zarzycki 
> > Gesendet: Freitag, 5. März 2021 17:04
> > An: Apache Royale Development 
> > Betreff: Re: PRs ready for distribution alignment
> >
> > That options is working whether I build distribution in root folder 
> > of sdk and "distribution" folder as well ?
> >
> > pt., 5 mar 2021 o 17:00 Christofer Dutz 
> > napisał(a):
> >
> > > Hi Piotr,
> > >
> > > If you don't explicitly define the profile "option-with-swf" it's 
> > > the JS-only version.
> > >
> > > Chris
> > >
> > > -Ursprüngliche Nachricht-
> > > Von: Piotr Zarzycki 
> > > Gesendet: Freitag, 5. März 2021 16:11
> > > An: Apache Royale Development 
> > > Betreff: Re: PRs ready for distribution alignment
> > >
> > > Chris,
> > >
> > > frameworks/libs doesn't exists at all.
> > >
> > > What occurs to me that I actually don't know what kind of 
> > > distribution package I'm building. Is it js-only distribution or 
> > > is it js-swf distribution ?
> > >
> > > Thanks,
> > > Piotr
> > >
> > > pt., 5 mar 2021 o 15:41 Christofer Dutz 
> > > 
> > > napisał(a):
> > >
> > > > Hi Piotr,
> > > >
> > > > this is strange ... from the log output it seems as if the 
> > > > "frameworks/libs" doesn't contain any of the libraries.
> > > > Could you please confirm if the directory really doesn't contain
> them?
> > > >
> > > > Chris
> > > >
> > > >
> > > >
> > > > -Ursprüngliche Nachricht-
> > > > Von: Piotr Zarzycki 
> > > > Gesendet: Freitag, 5. März 2021 12:19
> > > > An: Apache Royale Development 
> > > > Betreff: Re: PRs ready for distribution alignment
> > > >
> > > > Hi Chris,
> > > >
> > > > Thanks for all work. After rebuilding whole framework I just 
> > > > tried produce distribution by going to the folder of it and do:
> > > >
> > > > mvn clean install
> > > > -DdistributionTargetFolder=d:\Work\royale_ide\dist

AW: PRs ready for distribution alignment

2021-03-07 Thread Christofer Dutz
Hi Piotr,

So, I just downloaded the js-only version and that seems to be quite empty too.

It does seem to contain airglobal and playerglobal, JewelTheme and a quite big 
lib called KeepsFBFromHanging.swc ... but in general this directory doesn't 
contain any of the Project swcs.

Chris


-Ursprüngliche Nachricht-
Von: Christofer Dutz  
Gesendet: Freitag, 5. März 2021 18:07
An: dev@royale.apache.org
Betreff: AW: PRs ready for distribution alignment

Hi Piotr,

Guess I should have gotten the no-swf Ant version ... but I thought, if you do 
a JS compile it uses the js/libs and if it's a SWF, it uses "libs". So right 
now, in case of the no-swf build, it doesn't add any of the swc's ... but I'll 
investigate the no-swf ANT version and work on that this weekend. 

So, for now it might make more sense to compare the "with-swf" versions.

Chris


-Ursprüngliche Nachricht-
Von: Piotr Zarzycki 
Gesendet: Freitag, 5. März 2021 17:39
An: Apache Royale Development 
Betreff: Re: PRs ready for distribution alignment

Just an observation. In Ant distribution frameworks/libs does exists, but it 
doesn't contains all those swc which you are seeing in stacktrace. It means 
that Maven distribution is somehow "telling" trough maybe some configs that I 
should use frameworks/libs swc instead frameworks/js/libs...

pt., 5 mar 2021 o 17:32 Christofer Dutz 
napisał(a):

> Hi Piotr,
>
> It should work in both.
>
> Chris
>
>
> -Ursprüngliche Nachricht-
> Von: Piotr Zarzycki 
> Gesendet: Freitag, 5. März 2021 17:04
> An: Apache Royale Development 
> Betreff: Re: PRs ready for distribution alignment
>
> That options is working whether I build distribution in root folder of 
> sdk and "distribution" folder as well ?
>
> pt., 5 mar 2021 o 17:00 Christofer Dutz 
> napisał(a):
>
> > Hi Piotr,
> >
> > If you don't explicitly define the profile "option-with-swf" it's 
> > the JS-only version.
> >
> > Chris
> >
> > -Ursprüngliche Nachricht-
> > Von: Piotr Zarzycki 
> > Gesendet: Freitag, 5. März 2021 16:11
> > An: Apache Royale Development 
> > Betreff: Re: PRs ready for distribution alignment
> >
> > Chris,
> >
> > frameworks/libs doesn't exists at all.
> >
> > What occurs to me that I actually don't know what kind of 
> > distribution package I'm building. Is it js-only distribution or is 
> > it js-swf distribution ?
> >
> > Thanks,
> > Piotr
> >
> > pt., 5 mar 2021 o 15:41 Christofer Dutz 
> > napisał(a):
> >
> > > Hi Piotr,
> > >
> > > this is strange ... from the log output it seems as if the 
> > > "frameworks/libs" doesn't contain any of the libraries.
> > > Could you please confirm if the directory really doesn't contain them?
> > >
> > > Chris
> > >
> > >
> > >
> > > -Ursprüngliche Nachricht-
> > > Von: Piotr Zarzycki 
> > > Gesendet: Freitag, 5. März 2021 12:19
> > > An: Apache Royale Development 
> > > Betreff: Re: PRs ready for distribution alignment
> > >
> > > Hi Chris,
> > >
> > > Thanks for all work. After rebuilding whole framework I just tried 
> > > produce distribution by going to the folder of it and do:
> > >
> > > mvn clean install
> > > -DdistributionTargetFolder=d:\Work\royale_ide\distribution
> > >
> > > It works without doing set
> > > distributionTargetFolder=d:\Work\royale_ide\distribution.
> > >
> > > I went to Moonshine and tried to build with produced distribution 
> > > our project and I got following errors - I won't post here full 
> > > stacktrace [1]
> > >
> > > [1] https://paste.apache.org/c2qv1
> > >
> > > Thanks,
> > > Piotr
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > pt., 5 mar 2021 o 10:10 Christofer Dutz 
> > > 
> > > napisał(a):
> > >
> > > > Hi all,
> > > >
> > > > I have, as far as I know, finished the work on aligning the 
> > > > Maven built and the Ant built distribution.
> > > > A few things have changed in the Maven distribution compared to 
> > > > the earlier ones:
> > > >
> > > >
> > > >   *   All scripts (in the bin and js/bin) directory are now identical
> > to
> > > > the ones in the Ant distribution.
> > > >   *   The manifests are no longer contained in a "manifests"
> directory
> > &

AW: PRs ready for distribution alignment

2021-03-05 Thread Christofer Dutz
Hi Piotr,

Guess I should have gotten the no-swf Ant version ... but I thought, if you do 
a JS compile it uses the js/libs and if it's a SWF, it uses "libs". So right 
now, in case of the no-swf build, it doesn't add any of the swc's ... but I'll 
investigate the no-swf ANT version and work on that this weekend. 

So, for now it might make more sense to compare the "with-swf" versions.

Chris


-Ursprüngliche Nachricht-
Von: Piotr Zarzycki  
Gesendet: Freitag, 5. März 2021 17:39
An: Apache Royale Development 
Betreff: Re: PRs ready for distribution alignment

Just an observation. In Ant distribution frameworks/libs does exists, but it 
doesn't contains all those swc which you are seeing in stacktrace. It means 
that Maven distribution is somehow "telling" trough maybe some configs that I 
should use frameworks/libs swc instead frameworks/js/libs...

pt., 5 mar 2021 o 17:32 Christofer Dutz 
napisał(a):

> Hi Piotr,
>
> It should work in both.
>
> Chris
>
>
> -Ursprüngliche Nachricht-
> Von: Piotr Zarzycki 
> Gesendet: Freitag, 5. März 2021 17:04
> An: Apache Royale Development 
> Betreff: Re: PRs ready for distribution alignment
>
> That options is working whether I build distribution in root folder of 
> sdk and "distribution" folder as well ?
>
> pt., 5 mar 2021 o 17:00 Christofer Dutz 
> napisał(a):
>
> > Hi Piotr,
> >
> > If you don't explicitly define the profile "option-with-swf" it's 
> > the JS-only version.
> >
> > Chris
> >
> > -Ursprüngliche Nachricht-
> > Von: Piotr Zarzycki 
> > Gesendet: Freitag, 5. März 2021 16:11
> > An: Apache Royale Development 
> > Betreff: Re: PRs ready for distribution alignment
> >
> > Chris,
> >
> > frameworks/libs doesn't exists at all.
> >
> > What occurs to me that I actually don't know what kind of 
> > distribution package I'm building. Is it js-only distribution or is 
> > it js-swf distribution ?
> >
> > Thanks,
> > Piotr
> >
> > pt., 5 mar 2021 o 15:41 Christofer Dutz 
> > napisał(a):
> >
> > > Hi Piotr,
> > >
> > > this is strange ... from the log output it seems as if the 
> > > "frameworks/libs" doesn't contain any of the libraries.
> > > Could you please confirm if the directory really doesn't contain them?
> > >
> > > Chris
> > >
> > >
> > >
> > > -Ursprüngliche Nachricht-
> > > Von: Piotr Zarzycki 
> > > Gesendet: Freitag, 5. März 2021 12:19
> > > An: Apache Royale Development 
> > > Betreff: Re: PRs ready for distribution alignment
> > >
> > > Hi Chris,
> > >
> > > Thanks for all work. After rebuilding whole framework I just tried 
> > > produce distribution by going to the folder of it and do:
> > >
> > > mvn clean install
> > > -DdistributionTargetFolder=d:\Work\royale_ide\distribution
> > >
> > > It works without doing set
> > > distributionTargetFolder=d:\Work\royale_ide\distribution.
> > >
> > > I went to Moonshine and tried to build with produced distribution 
> > > our project and I got following errors - I won't post here full 
> > > stacktrace [1]
> > >
> > > [1] https://paste.apache.org/c2qv1
> > >
> > > Thanks,
> > > Piotr
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > pt., 5 mar 2021 o 10:10 Christofer Dutz 
> > > 
> > > napisał(a):
> > >
> > > > Hi all,
> > > >
> > > > I have, as far as I know, finished the work on aligning the 
> > > > Maven built and the Ant built distribution.
> > > > A few things have changed in the Maven distribution compared to 
> > > > the earlier ones:
> > > >
> > > >
> > > >   *   All scripts (in the bin and js/bin) directory are now identical
> > to
> > > > the ones in the Ant distribution.
> > > >   *   The manifests are no longer contained in a "manifests"
> directory
> > > but
> > > > are in the same location as they are for the Ant build.
> > > >   *   I now include the sources of the projects, which should
> simplify
> > > > debugging.
> > > >
> > > > The probably most important change is that I no longer have 
> > > > copies of the scripts and main manifests in the distribution resources.
> > > > These resources now only contain the em

AW: PRs ready for distribution alignment

2021-03-05 Thread Christofer Dutz
Hi Piotr,

It should work in both.

Chris


-Ursprüngliche Nachricht-
Von: Piotr Zarzycki  
Gesendet: Freitag, 5. März 2021 17:04
An: Apache Royale Development 
Betreff: Re: PRs ready for distribution alignment

That options is working whether I build distribution in root folder of sdk and 
"distribution" folder as well ?

pt., 5 mar 2021 o 17:00 Christofer Dutz 
napisał(a):

> Hi Piotr,
>
> If you don't explicitly define the profile "option-with-swf" it's the 
> JS-only version.
>
> Chris
>
> -Ursprüngliche Nachricht-
> Von: Piotr Zarzycki 
> Gesendet: Freitag, 5. März 2021 16:11
> An: Apache Royale Development 
> Betreff: Re: PRs ready for distribution alignment
>
> Chris,
>
> frameworks/libs doesn't exists at all.
>
> What occurs to me that I actually don't know what kind of distribution 
> package I'm building. Is it js-only distribution or is it js-swf 
> distribution ?
>
> Thanks,
> Piotr
>
> pt., 5 mar 2021 o 15:41 Christofer Dutz 
> napisał(a):
>
> > Hi Piotr,
> >
> > this is strange ... from the log output it seems as if the 
> > "frameworks/libs" doesn't contain any of the libraries.
> > Could you please confirm if the directory really doesn't contain them?
> >
> > Chris
> >
> >
> >
> > -Ursprüngliche Nachricht-
> > Von: Piotr Zarzycki 
> > Gesendet: Freitag, 5. März 2021 12:19
> > An: Apache Royale Development 
> > Betreff: Re: PRs ready for distribution alignment
> >
> > Hi Chris,
> >
> > Thanks for all work. After rebuilding whole framework I just tried 
> > produce distribution by going to the folder of it and do:
> >
> > mvn clean install
> > -DdistributionTargetFolder=d:\Work\royale_ide\distribution
> >
> > It works without doing set
> > distributionTargetFolder=d:\Work\royale_ide\distribution.
> >
> > I went to Moonshine and tried to build with produced distribution 
> > our project and I got following errors - I won't post here full 
> > stacktrace [1]
> >
> > [1] https://paste.apache.org/c2qv1
> >
> > Thanks,
> > Piotr
> >
> >
> >
> >
> >
> >
> >
> >
> > pt., 5 mar 2021 o 10:10 Christofer Dutz 
> > napisał(a):
> >
> > > Hi all,
> > >
> > > I have, as far as I know, finished the work on aligning the Maven 
> > > built and the Ant built distribution.
> > > A few things have changed in the Maven distribution compared to 
> > > the earlier ones:
> > >
> > >
> > >   *   All scripts (in the bin and js/bin) directory are now identical
> to
> > > the ones in the Ant distribution.
> > >   *   The manifests are no longer contained in a "manifests" directory
> > but
> > > are in the same location as they are for the Ant build.
> > >   *   I now include the sources of the projects, which should simplify
> > > debugging.
> > >
> > > The probably most important change is that I no longer have copies 
> > > of the scripts and main manifests in the distribution resources.
> > > These resources now only contain the empty dummy files needed by 
> > > FlashBuilder. It seems these were updated in the project, but the 
> > > copies weren't. Therefore, the scripts as well as the manifests 
> > > weren't identical in Ant and Maven distributions. I solved that 
> > > problem by now taking the exact same files and copying them in the 
> > > assembly. The manifests needed minor tweaking which I am now doing 
> > > via
> > an XSLT in the build.
> > >
> > > Also did I refactor everything just needed for FlashBuilder 
> > > support out into a separate assembly file. This way we have all 
> > > the stuff that doesn't seem to make sense in one place and if we 
> > > should decide to drop FB support, we just need to remove that assembly 
> > > descriptor.
> > >
> > > Would be cool if you could give the changes a try.
> > >
> > > Please note that you need to checkout the feature branch 
> > > "feature/distribution" in both the compiler as well as the asjs 
> > > repo (For some reason my addition of the ACE typedef seems to have 
> > > gone to the develop branch of the typedef repo, so it should 
> > > already be
> > available.
> > >
> > > Hope you like the changes and hope they work for you the same way 
> > > they do for me (I think Carlos also reported that he was 
> > > successfully able to compile every example he tried in VSCode with
> > > it)
> > >
> > > The two PRs needing merging after review are:
> > > Feature/distribution allignment by chrisdutz * Pull Request #180 * 
> > > apache/royale-compiler (github.com)< 
> > > https://github.com/apache/royale-compiler/pull/180>
> > > Feature/distribution allignment by chrisdutz * Pull Request #1087 
> > > * apache/royale-asjs (github.com)< 
> > > https://github.com/apache/royale-asjs/pull/1087>
> > >
> > >
> > > Chris
> > >
> > >
> >
> > --
> >
> > Piotr Zarzycki
> >
>
>
> --
>
> Piotr Zarzycki
>


-- 

Piotr Zarzycki


AW: PRs ready for distribution alignment

2021-03-05 Thread Christofer Dutz
Hi Piotr,

If you don't explicitly define the profile "option-with-swf" it's the JS-only 
version.

Chris

-Ursprüngliche Nachricht-
Von: Piotr Zarzycki  
Gesendet: Freitag, 5. März 2021 16:11
An: Apache Royale Development 
Betreff: Re: PRs ready for distribution alignment

Chris,

frameworks/libs doesn't exists at all.

What occurs to me that I actually don't know what kind of distribution package 
I'm building. Is it js-only distribution or is it js-swf distribution ?

Thanks,
Piotr

pt., 5 mar 2021 o 15:41 Christofer Dutz 
napisał(a):

> Hi Piotr,
>
> this is strange ... from the log output it seems as if the 
> "frameworks/libs" doesn't contain any of the libraries.
> Could you please confirm if the directory really doesn't contain them?
>
> Chris
>
>
>
> -Ursprüngliche Nachricht-
> Von: Piotr Zarzycki 
> Gesendet: Freitag, 5. März 2021 12:19
> An: Apache Royale Development 
> Betreff: Re: PRs ready for distribution alignment
>
> Hi Chris,
>
> Thanks for all work. After rebuilding whole framework I just tried 
> produce distribution by going to the folder of it and do:
>
> mvn clean install
> -DdistributionTargetFolder=d:\Work\royale_ide\distribution
>
> It works without doing set
> distributionTargetFolder=d:\Work\royale_ide\distribution.
>
> I went to Moonshine and tried to build with produced distribution our 
> project and I got following errors - I won't post here full stacktrace 
> [1]
>
> [1] https://paste.apache.org/c2qv1
>
> Thanks,
> Piotr
>
>
>
>
>
>
>
>
> pt., 5 mar 2021 o 10:10 Christofer Dutz 
> napisał(a):
>
> > Hi all,
> >
> > I have, as far as I know, finished the work on aligning the Maven 
> > built and the Ant built distribution.
> > A few things have changed in the Maven distribution compared to the 
> > earlier ones:
> >
> >
> >   *   All scripts (in the bin and js/bin) directory are now identical to
> > the ones in the Ant distribution.
> >   *   The manifests are no longer contained in a "manifests" directory
> but
> > are in the same location as they are for the Ant build.
> >   *   I now include the sources of the projects, which should simplify
> > debugging.
> >
> > The probably most important change is that I no longer have copies 
> > of the scripts and main manifests in the distribution resources. 
> > These resources now only contain the empty dummy files needed by 
> > FlashBuilder. It seems these were updated in the project, but the 
> > copies weren't. Therefore, the scripts as well as the manifests 
> > weren't identical in Ant and Maven distributions. I solved that 
> > problem by now taking the exact same files and copying them in the 
> > assembly. The manifests needed minor tweaking which I am now doing 
> > via
> an XSLT in the build.
> >
> > Also did I refactor everything just needed for FlashBuilder support 
> > out into a separate assembly file. This way we have all the stuff 
> > that doesn't seem to make sense in one place and if we should decide 
> > to drop FB support, we just need to remove that assembly descriptor.
> >
> > Would be cool if you could give the changes a try.
> >
> > Please note that you need to checkout the feature branch 
> > "feature/distribution" in both the compiler as well as the asjs repo 
> > (For some reason my addition of the ACE typedef seems to have gone 
> > to the develop branch of the typedef repo, so it should already be
> available.
> >
> > Hope you like the changes and hope they work for you the same way 
> > they do for me (I think Carlos also reported that he was 
> > successfully able to compile every example he tried in VSCode with 
> > it)
> >
> > The two PRs needing merging after review are:
> > Feature/distribution allignment by chrisdutz * Pull Request #180 * 
> > apache/royale-compiler (github.com)< 
> > https://github.com/apache/royale-compiler/pull/180>
> > Feature/distribution allignment by chrisdutz * Pull Request #1087 * 
> > apache/royale-asjs (github.com)< 
> > https://github.com/apache/royale-asjs/pull/1087>
> >
> >
> > Chris
> >
> >
>
> --
>
> Piotr Zarzycki
>


-- 

Piotr Zarzycki


AW: PRs ready for distribution alignment

2021-03-05 Thread Christofer Dutz
Hi Piotr,

this is strange ... from the log output it seems as if the "frameworks/libs" 
doesn't contain any of the libraries.
Could you please confirm if the directory really doesn't contain them?

Chris



-Ursprüngliche Nachricht-
Von: Piotr Zarzycki  
Gesendet: Freitag, 5. März 2021 12:19
An: Apache Royale Development 
Betreff: Re: PRs ready for distribution alignment

Hi Chris,

Thanks for all work. After rebuilding whole framework I just tried produce 
distribution by going to the folder of it and do:

mvn clean install -DdistributionTargetFolder=d:\Work\royale_ide\distribution

It works without doing set
distributionTargetFolder=d:\Work\royale_ide\distribution.

I went to Moonshine and tried to build with produced distribution our project 
and I got following errors - I won't post here full stacktrace [1]

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

Thanks,
Piotr








pt., 5 mar 2021 o 10:10 Christofer Dutz 
napisał(a):

> Hi all,
>
> I have, as far as I know, finished the work on aligning the Maven 
> built and the Ant built distribution.
> A few things have changed in the Maven distribution compared to the 
> earlier ones:
>
>
>   *   All scripts (in the bin and js/bin) directory are now identical to
> the ones in the Ant distribution.
>   *   The manifests are no longer contained in a "manifests" directory but
> are in the same location as they are for the Ant build.
>   *   I now include the sources of the projects, which should simplify
> debugging.
>
> The probably most important change is that I no longer have copies of 
> the scripts and main manifests in the distribution resources. These 
> resources now only contain the empty dummy files needed by 
> FlashBuilder. It seems these were updated in the project, but the 
> copies weren't. Therefore, the scripts as well as the manifests 
> weren't identical in Ant and Maven distributions. I solved that 
> problem by now taking the exact same files and copying them in the 
> assembly. The manifests needed minor tweaking which I am now doing via an 
> XSLT in the build.
>
> Also did I refactor everything just needed for FlashBuilder support 
> out into a separate assembly file. This way we have all the stuff that 
> doesn't seem to make sense in one place and if we should decide to 
> drop FB support, we just need to remove that assembly descriptor.
>
> Would be cool if you could give the changes a try.
>
> Please note that you need to checkout the feature branch 
> "feature/distribution" in both the compiler as well as the asjs repo 
> (For some reason my addition of the ACE typedef seems to have gone to 
> the develop branch of the typedef repo, so it should already be available.
>
> Hope you like the changes and hope they work for you the same way they 
> do for me (I think Carlos also reported that he was successfully able 
> to compile every example he tried in VSCode with it)
>
> The two PRs needing merging after review are:
> Feature/distribution allignment by chrisdutz * Pull Request #180 * 
> apache/royale-compiler (github.com)< 
> https://github.com/apache/royale-compiler/pull/180>
> Feature/distribution allignment by chrisdutz * Pull Request #1087 * 
> apache/royale-asjs (github.com)< 
> https://github.com/apache/royale-asjs/pull/1087>
>
>
> Chris
>
>

-- 

Piotr Zarzycki


PRs ready for distribution alignment

2021-03-05 Thread Christofer Dutz
Hi all,

I have, as far as I know, finished the work on aligning the Maven built and the 
Ant built distribution.
A few things have changed in the Maven distribution compared to the earlier 
ones:


  *   All scripts (in the bin and js/bin) directory are now identical to the 
ones in the Ant distribution.
  *   The manifests are no longer contained in a "manifests" directory but are 
in the same location as they are for the Ant build.
  *   I now include the sources of the projects, which should simplify 
debugging.

The probably most important change is that I no longer have copies of the 
scripts and main manifests in the distribution resources. These resources now 
only contain the empty dummy files needed by FlashBuilder. It seems these were 
updated in the project, but the copies weren't. Therefore, the scripts as well 
as the manifests weren't identical in Ant and Maven distributions. I solved 
that problem by now taking the exact same files and copying them in the 
assembly. The manifests needed minor tweaking which I am now doing via an XSLT 
in the build.

Also did I refactor everything just needed for FlashBuilder support out into a 
separate assembly file. This way we have all the stuff that doesn't seem to 
make sense in one place and if we should decide to drop FB support, we just 
need to remove that assembly descriptor.

Would be cool if you could give the changes a try.

Please note that you need to checkout the feature branch "feature/distribution" 
in both the compiler as well as the asjs repo (For some reason my addition of 
the ACE typedef seems to have gone to the develop branch of the typedef repo, 
so it should already be available.

Hope you like the changes and hope they work for you the same way they do for 
me (I think Carlos also reported that he was successfully able to compile every 
example he tried in VSCode with it)

The two PRs needing merging after review are:
Feature/distribution allignment by chrisdutz * Pull Request #180 * 
apache/royale-compiler 
(github.com)
Feature/distribution allignment by chrisdutz * Pull Request #1087 * 
apache/royale-asjs (github.com)


Chris



AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

2021-03-04 Thread Christofer Dutz
Hi Piotr,

Do things work with "mvn install"?

(you could also use "package", just anything "package" or beyond that)

Chris



-Ursprüngliche Nachricht-
Von: Christofer Dutz  
Gesendet: Donnerstag, 4. März 2021 11:25
An: dev@royale.apache.org
Betreff: AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

Aaahhh ... I think I know what's going on.

I did say "mvn clean install" now multiple times, didn't I?
I would like to lay emphasis on the "install" (Not "compile")

You are running mvn "compile" ... this is a phase of maven that comes before 
the "packaging" phase. 
All the assembly stuff comes in the "packaging" phase.

So, everything we do after the compile phase will not be executed -> Therefore 
nothing is created in your case.


Chris



-Ursprüngliche Nachricht-
Von: Piotr Zarzycki 
Gesendet: Donnerstag, 4. März 2021 10:59
An: Apache Royale Development 
Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

Hi Chris,

It doesn't work for me when I do in distribution folder:
set distributionTargetFolder= d:\Work\royale_ide\distribution

mvn clean compile

I will send you off the list logs from my attempt.

Thanks,
Piotr


śr., 3 mar 2021 o 19:26 Piotr Zarzycki 
napisał(a):

> Chris,
>
> Building whole framework with with-distribution - works - I didn't 
> test yet created distribution for any project - I will do that soon.
>
> I didn't try yet set distributionTargetFolder= 
> d:\Work\royale_ide\distribution - I will try tomorrow.
>
> śr., 3 mar 2021 o 16:19 Piotr Zarzycki 
> napisał(a):
>
>> Good that you have explained it maybe someone benefit from it.
>>
>> I'm not sure why this stopped work with -DdistributionTargetFolder 
>> and it's working when I'm building whole framework... That is very confusing.
>>
>> śr., 3 mar 2021 o 16:02 Christofer Dutz 
>> napisał(a):
>>
>>> That should have been two lines:
>>>
>>> set distributionTargetFolder= d:\Work\royale_ide\distribution
>>>
>>> mvn clean compile
>>>
>>> Chris
>>>
>>>
>>> -Ursprüngliche Nachricht-
>>> Von: Christofer Dutz 
>>> Gesendet: Mittwoch, 3. März 2021 15:59
>>> An: dev@royale.apache.org
>>> Betreff: AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
>>>
>>> Hi Piotr,
>>>
>>> you remember that I said you have to set a SYSTEM-property?
>>> Cause I thought you can't use maven properties to activate maven 
>>> profiles.
>>>
>>> The strange thing was that after you reported that it worked with 
>>> maven properties, I gave it a try and it worked (Which confused me a
>>> bit) I thought perhaps things changed in newer Maven versions. Now 
>>> looking again for a solution to this problem I again found the info 
>>> that it has to be a
>>> SYSTEM-property:
>>>
>>> http://maven.40175.n5.nabble.com/Activating-a-profile-in-settings-xm
>>> l-based-on-a-property-set-in-pom-xml-td512562.html
>>>
>>> So please set the distributionTargetFolder property this way:
>>>
>>> set distributionTargetFolder= d:\Work\royale_ide\distribution mvn 
>>> clean compile
>>>
>>> And I only explained things in detail because from what you wrote I 
>>> had the impression that you didn't really understand what's going on 
>>> and I wanted to provide more background information.
>>>
>>> Chris
>>>
>>>
>>> -----Ursprüngliche Nachricht-
>>> Von: Piotr Zarzycki 
>>> Gesendet: Mittwoch, 3. März 2021 15:45
>>> An: Apache Royale Development 
>>> Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
>>>
>>> *Comments inline.*
>>>
>>> śr., 3 mar 2021 o 15:42 Piotr Zarzycki 
>>> napisał(a):
>>>
>>> > >  Maven central only serves released stuff. We get SNAPSHOT stuff 
>>> > > from
>>> > the Apache Maven repo.
>>> >
>>> > True saying Maven central I meant Apache Maven repo or whatever 
>>> > place this is stored.
>>> >
>>> > śr., 3 mar 2021 o 15:41 Christofer Dutz 
>>> > 
>>> > napisał(a):
>>> >
>>> >> Hi Piotr,
>>> >>
>>> >> SNAPSHOT stuff is never downloaded from Maven central.
>>> >>
>>> >> Maven central only serves released stuff. We get SNAPSHOT stuff 
>>> >> from the Apache Maven repo.
>>> >>
>>>

AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

2021-03-04 Thread Christofer Dutz
Aaahhh ... I think I know what's going on.

I did say "mvn clean install" now multiple times, didn't I?
I would like to lay emphasis on the "install" (Not "compile")

You are running mvn "compile" ... this is a phase of maven that comes before 
the "packaging" phase. 
All the assembly stuff comes in the "packaging" phase.

So, everything we do after the compile phase will not be executed -> Therefore 
nothing is created in your case.


Chris



-Ursprüngliche Nachricht-
Von: Piotr Zarzycki  
Gesendet: Donnerstag, 4. März 2021 10:59
An: Apache Royale Development 
Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

Hi Chris,

It doesn't work for me when I do in distribution folder:
set distributionTargetFolder= d:\Work\royale_ide\distribution

mvn clean compile

I will send you off the list logs from my attempt.

Thanks,
Piotr


śr., 3 mar 2021 o 19:26 Piotr Zarzycki 
napisał(a):

> Chris,
>
> Building whole framework with with-distribution - works - I didn't 
> test yet created distribution for any project - I will do that soon.
>
> I didn't try yet set distributionTargetFolder= 
> d:\Work\royale_ide\distribution - I will try tomorrow.
>
> śr., 3 mar 2021 o 16:19 Piotr Zarzycki 
> napisał(a):
>
>> Good that you have explained it maybe someone benefit from it.
>>
>> I'm not sure why this stopped work with -DdistributionTargetFolder 
>> and it's working when I'm building whole framework... That is very confusing.
>>
>> śr., 3 mar 2021 o 16:02 Christofer Dutz 
>> napisał(a):
>>
>>> That should have been two lines:
>>>
>>> set distributionTargetFolder= d:\Work\royale_ide\distribution
>>>
>>> mvn clean compile
>>>
>>> Chris
>>>
>>>
>>> -Ursprüngliche Nachricht-
>>> Von: Christofer Dutz 
>>> Gesendet: Mittwoch, 3. März 2021 15:59
>>> An: dev@royale.apache.org
>>> Betreff: AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
>>>
>>> Hi Piotr,
>>>
>>> you remember that I said you have to set a SYSTEM-property?
>>> Cause I thought you can't use maven properties to activate maven 
>>> profiles.
>>>
>>> The strange thing was that after you reported that it worked with 
>>> maven properties, I gave it a try and it worked (Which confused me a 
>>> bit) I thought perhaps things changed in newer Maven versions. Now 
>>> looking again for a solution to this problem I again found the info 
>>> that it has to be a
>>> SYSTEM-property:
>>>
>>> http://maven.40175.n5.nabble.com/Activating-a-profile-in-settings-xm
>>> l-based-on-a-property-set-in-pom-xml-td512562.html
>>>
>>> So please set the distributionTargetFolder property this way:
>>>
>>> set distributionTargetFolder= d:\Work\royale_ide\distribution mvn 
>>> clean compile
>>>
>>> And I only explained things in detail because from what you wrote I 
>>> had the impression that you didn't really understand what's going on 
>>> and I wanted to provide more background information.
>>>
>>> Chris
>>>
>>>
>>> -Ursprüngliche Nachricht-----
>>> Von: Piotr Zarzycki 
>>> Gesendet: Mittwoch, 3. März 2021 15:45
>>> An: Apache Royale Development 
>>> Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
>>>
>>> *Comments inline.*
>>>
>>> śr., 3 mar 2021 o 15:42 Piotr Zarzycki 
>>> napisał(a):
>>>
>>> > >  Maven central only serves released stuff. We get SNAPSHOT stuff 
>>> > > from
>>> > the Apache Maven repo.
>>> >
>>> > True saying Maven central I meant Apache Maven repo or whatever 
>>> > place this is stored.
>>> >
>>> > śr., 3 mar 2021 o 15:41 Christofer Dutz 
>>> > 
>>> > napisał(a):
>>> >
>>> >> Hi Piotr,
>>> >>
>>> >> SNAPSHOT stuff is never downloaded from Maven central.
>>> >>
>>> >> Maven central only serves released stuff. We get SNAPSHOT stuff 
>>> >> from the Apache Maven repo.
>>> >>
>>> >> BUT ... we only deploy snapshots for stuff on develop. Otherwise, 
>>> >> the versions of feature branches would keep on overwriting the 
>>> >> develop artifacts and we would have a non-deterministic behavior. 
>>> >> So ... if we merged my changes in compiler and typedefs to 
>>> >> devel

AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

2021-03-03 Thread Christofer Dutz
That should have been two lines:

set distributionTargetFolder= d:\Work\royale_ide\distribution 

mvn clean compile

Chris


-Ursprüngliche Nachricht-
Von: Christofer Dutz  
Gesendet: Mittwoch, 3. März 2021 15:59
An: dev@royale.apache.org
Betreff: AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

Hi Piotr,

you remember that I said you have to set a SYSTEM-property?
Cause I thought you can't use maven properties to activate maven profiles. 

The strange thing was that after you reported that it worked with maven 
properties, I gave it a try and it worked (Which confused me a bit) I thought 
perhaps things changed in newer Maven versions. Now looking again for a 
solution to this problem I again found the info that it has to be a 
SYSTEM-property:
http://maven.40175.n5.nabble.com/Activating-a-profile-in-settings-xml-based-on-a-property-set-in-pom-xml-td512562.html

So please set the distributionTargetFolder property this way:

set distributionTargetFolder= d:\Work\royale_ide\distribution mvn clean compile

And I only explained things in detail because from what you wrote I had the 
impression that you didn't really understand what's going on and I wanted to 
provide more background information. 

Chris


-Ursprüngliche Nachricht-
Von: Piotr Zarzycki 
Gesendet: Mittwoch, 3. März 2021 15:45
An: Apache Royale Development 
Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

*Comments inline.*

śr., 3 mar 2021 o 15:42 Piotr Zarzycki 
napisał(a):

> >  Maven central only serves released stuff. We get SNAPSHOT stuff 
> > from
> the Apache Maven repo.
>
> True saying Maven central I meant Apache Maven repo or whatever place 
> this is stored.
>
> śr., 3 mar 2021 o 15:41 Christofer Dutz 
> napisał(a):
>
>> Hi Piotr,
>>
>> SNAPSHOT stuff is never downloaded from Maven central.
>>
>> Maven central only serves released stuff. We get SNAPSHOT stuff from 
>> the Apache Maven repo.
>>
>> BUT ... we only deploy snapshots for stuff on develop. Otherwise, the 
>> versions of feature branches would keep on overwriting the develop 
>> artifacts and we would have a non-deterministic behavior. So ... if 
>> we merged my changes in compiler and typedefs to develop, then the 
>> artifacts would be available in Apache's maven repo, otherwise you 
>> have to build them yourself.
>>
>>
*I do understand how it is working and before I reported you an issue I have 
build whole framework compiler, typedefs and asjs - next I went to distribution 
folder and run:* *mvn clean compile 
-DdistributionTargetFolder=d:\Work\royale_ide\distribution *

*Distribution wasn't created. *


> So, assuming my changes were merged to develop, then you could do it 
> as
>> you describe.
>>
>> Hope that explains things.
>>
>> Chris
>>
>> -Ursprüngliche Nachricht-
>> Von: Piotr Zarzycki 
>> Gesendet: Mittwoch, 3. März 2021 15:30
>> An: Apache Royale Development 
>> Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
>>
>> Chris,
>>
>> I'm reporting you how I used to create distribution and how I 
>> expected to be working. If I remember correctly If I run my command 
>> pom from distribution should take care of compiler/royale version - 
>> if the freshest stuff doesn't exists locally it should download from 
>> Maven central - where is the problem ? What has been changed that 
>> this doesn't work like that anymore ?
>>
>> In general preparing distribution should take max 5 minutes - I don't 
>> have to build whole framework at all.
>>
>> Thanks,
>> Piotr
>>
>> śr., 3 mar 2021 o 14:53 Christofer Dutz 
>> napisał(a):
>>
>> > Hi Piotr,
>> >
>> > Well, that's something completely different. So, you want to create 
>> > a distribution from what was already released?
>> > That's not how the maven-assembly-plugin works. You can't think of 
>> > the distribution as some tooling you can apply to something else.
>> > It's more a facet of the current build.
>> >
>> > Theoretically you should be able to do that if we also had a "
>> > royale.framework.version" property and would use that in the
>> distribution.
>> > Then you could override the 4 properties:
>> >
>> > 1.2.1
>> > 0.9.8-SNAPSHOT
>> > 0.9.8-SNAPSHOT
>> > 0.9.8-SNAPSHOT> > framework.version>
>> >
>> > But even that wouldn't work as we would still be missing 2 
>> > artifacts for the older versions.
>> > (I now zip up the shell scripts of the compiler module as one 
>> > artifact and the ACE t

AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

2021-03-03 Thread Christofer Dutz
Hi Piotr,

you remember that I said you have to set a SYSTEM-property?
Cause I thought you can't use maven properties to activate maven profiles. 

The strange thing was that after you reported that it worked with maven 
properties, I gave it a try and it worked (Which confused me a bit)
I thought perhaps things changed in newer Maven versions. Now looking again for 
a solution to this problem I again found the info that it has to be a 
SYSTEM-property:
http://maven.40175.n5.nabble.com/Activating-a-profile-in-settings-xml-based-on-a-property-set-in-pom-xml-td512562.html

So please set the distributionTargetFolder property this way:

set distributionTargetFolder= d:\Work\royale_ide\distribution
mvn clean compile

And I only explained things in detail because from what you wrote I had the 
impression that you didn't really understand what's going on and I wanted to 
provide more background information. 

Chris


-Ursprüngliche Nachricht-
Von: Piotr Zarzycki  
Gesendet: Mittwoch, 3. März 2021 15:45
An: Apache Royale Development 
Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

*Comments inline.*

śr., 3 mar 2021 o 15:42 Piotr Zarzycki 
napisał(a):

> >  Maven central only serves released stuff. We get SNAPSHOT stuff 
> > from
> the Apache Maven repo.
>
> True saying Maven central I meant Apache Maven repo or whatever place 
> this is stored.
>
> śr., 3 mar 2021 o 15:41 Christofer Dutz 
> napisał(a):
>
>> Hi Piotr,
>>
>> SNAPSHOT stuff is never downloaded from Maven central.
>>
>> Maven central only serves released stuff. We get SNAPSHOT stuff from 
>> the Apache Maven repo.
>>
>> BUT ... we only deploy snapshots for stuff on develop. Otherwise, the 
>> versions of feature branches would keep on overwriting the develop 
>> artifacts and we would have a non-deterministic behavior. So ... if 
>> we merged my changes in compiler and typedefs to develop, then the 
>> artifacts would be available in Apache's maven repo, otherwise you 
>> have to build them yourself.
>>
>>
*I do understand how it is working and before I reported you an issue I have 
build whole framework compiler, typedefs and asjs - next I went to distribution 
folder and run:* *mvn clean compile 
-DdistributionTargetFolder=d:\Work\royale_ide\distribution *

*Distribution wasn't created. *


> So, assuming my changes were merged to develop, then you could do it 
> as
>> you describe.
>>
>> Hope that explains things.
>>
>> Chris
>>
>> -Ursprüngliche Nachricht-
>> Von: Piotr Zarzycki 
>> Gesendet: Mittwoch, 3. März 2021 15:30
>> An: Apache Royale Development 
>> Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
>>
>> Chris,
>>
>> I'm reporting you how I used to create distribution and how I 
>> expected to be working. If I remember correctly If I run my command 
>> pom from distribution should take care of compiler/royale version - 
>> if the freshest stuff doesn't exists locally it should download from 
>> Maven central - where is the problem ? What has been changed that 
>> this doesn't work like that anymore ?
>>
>> In general preparing distribution should take max 5 minutes - I don't 
>> have to build whole framework at all.
>>
>> Thanks,
>> Piotr
>>
>> śr., 3 mar 2021 o 14:53 Christofer Dutz 
>> napisał(a):
>>
>> > Hi Piotr,
>> >
>> > Well, that's something completely different. So, you want to create 
>> > a distribution from what was already released?
>> > That's not how the maven-assembly-plugin works. You can't think of 
>> > the distribution as some tooling you can apply to something else.
>> > It's more a facet of the current build.
>> >
>> > Theoretically you should be able to do that if we also had a "
>> > royale.framework.version" property and would use that in the
>> distribution.
>> > Then you could override the 4 properties:
>> >
>> > 1.2.1
>> > 0.9.8-SNAPSHOT
>> > 0.9.8-SNAPSHOT
>> > 0.9.8-SNAPSHOT> > framework.version>
>> >
>> > But even that wouldn't work as we would still be missing 2 
>> > artifacts for the older versions.
>> > (I now zip up the shell scripts of the compiler module as one 
>> > artifact and the ACE typedef as a second artifact)
>> >
>> > If the distribution built from the current state works, we can 
>> > start shipping Maven-built distributions starting now, but not for 
>> > earlier versions.
>> >
>> > Chris
>> >
>> >
>>

AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

2021-03-03 Thread Christofer Dutz
Hi Piotr,

SNAPSHOT stuff is never downloaded from Maven central.
 
Maven central only serves released stuff. We get SNAPSHOT stuff from the Apache 
Maven repo.

BUT ... we only deploy snapshots for stuff on develop. Otherwise, the versions 
of feature branches would keep on overwriting the develop artifacts and we 
would have a non-deterministic behavior. So ... if we merged my changes in 
compiler and typedefs to develop, then the artifacts would be available in 
Apache's maven repo, otherwise you have to build them yourself.

So, assuming my changes were merged to develop, then you could do it as you 
describe. 

Hope that explains things.

Chris

-Ursprüngliche Nachricht-
Von: Piotr Zarzycki  
Gesendet: Mittwoch, 3. März 2021 15:30
An: Apache Royale Development 
Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

Chris,

I'm reporting you how I used to create distribution and how I expected to be 
working. If I remember correctly If I run my command pom from distribution 
should take care of compiler/royale version - if the freshest stuff doesn't 
exists locally it should download from Maven central - where is the problem ? 
What has been changed that this doesn't work like that anymore ?

In general preparing distribution should take max 5 minutes - I don't have to 
build whole framework at all.

Thanks,
Piotr

śr., 3 mar 2021 o 14:53 Christofer Dutz 
napisał(a):

> Hi Piotr,
>
> Well, that's something completely different. So, you want to create a 
> distribution from what was already released?
> That's not how the maven-assembly-plugin works. You can't think of the 
> distribution as some tooling you can apply to something else.
> It's more a facet of the current build.
>
> Theoretically you should be able to do that if we also had a "
> royale.framework.version" property and would use that in the distribution.
> Then you could override the 4 properties:
>
> 1.2.1
> 0.9.8-SNAPSHOT
> 0.9.8-SNAPSHOT
> 0.9.8-SNAPSHOT framework.version>
>
> But even that wouldn't work as we would still be missing 2 artifacts 
> for the older versions.
> (I now zip up the shell scripts of the compiler module as one artifact 
> and the ACE typedef as a second artifact)
>
> If the distribution built from the current state works, we can start 
> shipping Maven-built distributions starting now, but not for earlier 
> versions.
>
> Chris
>
>
>
> -Ursprüngliche Nachricht-
> Von: Piotr Zarzycki 
> Gesendet: Mittwoch, 3. März 2021 14:36
> An: Apache Royale Development 
> Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
>
> Chris,
>
> What you are showing me is running and building SDK with distribution 
> - that is ok - this is one option, but If I already build whole SDK or 
> I would like to based my distribution on what I have in maven central 
> - I should be able to go to directory royale-asjs\distribution\ and run 
> command:
>
> mvn clean compile
> -DdistributionTargetFolder=d:\Work\royale_ide\distribution
>
> I don't have to be forced to build SDK in order to prepare distribution.
>
>
> śr., 3 mar 2021 o 14:30 Piotr Zarzycki 
> napisał(a):
>
> > You are running in what directory ?
> >
> > śr., 3 mar 2021 o 14:27 Christofer Dutz 
> > napisał(a):
> >
> >> So I'm running:
> >>
> >> mvn  -DskipTests=true clean install 
> >> -DdistributionTargetFolder=C:\Temp\RoyaleSDK-with-swf -P 
> >> with-distribution,option-with-swf
> >>
> >> And It's working nicely .. same as
> >>
> >> mvn -DskipTests=true clean install
> >> -DdistributionTargetFolder=C:\Temp\RoyaleSDK-with-swf -P 
> >> with-distribution
> >>
> >>
> >> Chris
> >>
> >>
> >> -Ursprüngliche Nachricht-
> >> Von: Piotr Zarzycki 
> >> Gesendet: Mittwoch, 3. März 2021 13:59
> >> An: Apache Royale Development 
> >> Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
> >>
> >> Unfortunately it didn't work. After build in distribution I have 
> >> empty folder. Whole build of distribution took 36 seconds, which 
> >> definitely is not good:
> >>
> >> [INFO] Reactor Summary for Apache Royale: Distribution 0.9.8-SNAPSHOT:
> >> [INFO]
> >> [INFO] compc .. SUCCESS 
> >> [
> >>  8.952 s]
> >> [INFO] compiler-asc ... SUCCESS 
> >> [
> >>  1.559 s]
> >> [INFO] compiler-compc . SUCCESS 
> >> [
> >>  1.567 s]
> >> [INFO] compiler-compjsc .

AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

2021-03-03 Thread Christofer Dutz
Hi Piotr,

Well, that's something completely different. So, you want to create a 
distribution from what was already released?
That's not how the maven-assembly-plugin works. You can't think of the 
distribution as some tooling you can apply to something else.
It's more a facet of the current build.

Theoretically you should be able to do that if we also had a " 
royale.framework.version" property and would use that in the distribution. Then 
you could override the 4 properties:

1.2.1
0.9.8-SNAPSHOT
0.9.8-SNAPSHOT
0.9.8-SNAPSHOT

But even that wouldn't work as we would still be missing 2 artifacts for the 
older versions.
(I now zip up the shell scripts of the compiler module as one artifact and the 
ACE typedef as a second artifact)

If the distribution built from the current state works, we can start shipping 
Maven-built distributions starting now, but not for earlier versions.

Chris



-Ursprüngliche Nachricht-
Von: Piotr Zarzycki  
Gesendet: Mittwoch, 3. März 2021 14:36
An: Apache Royale Development 
Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

Chris,

What you are showing me is running and building SDK with distribution - that is 
ok - this is one option, but If I already build whole SDK or I would like to 
based my distribution on what I have in maven central - I should be able to go 
to directory royale-asjs\distribution\ and run command:

mvn clean compile -DdistributionTargetFolder=d:\Work\royale_ide\distribution

I don't have to be forced to build SDK in order to prepare distribution.


śr., 3 mar 2021 o 14:30 Piotr Zarzycki 
napisał(a):

> You are running in what directory ?
>
> śr., 3 mar 2021 o 14:27 Christofer Dutz 
> napisał(a):
>
>> So I'm running:
>>
>> mvn  -DskipTests=true clean install
>> -DdistributionTargetFolder=C:\Temp\RoyaleSDK-with-swf -P 
>> with-distribution,option-with-swf
>>
>> And It's working nicely .. same as
>>
>> mvn -DskipTests=true clean install
>> -DdistributionTargetFolder=C:\Temp\RoyaleSDK-with-swf -P 
>> with-distribution
>>
>>
>> Chris
>>
>>
>> -Ursprüngliche Nachricht-
>> Von: Piotr Zarzycki 
>> Gesendet: Mittwoch, 3. März 2021 13:59
>> An: Apache Royale Development 
>> Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
>>
>> Unfortunately it didn't work. After build in distribution I have 
>> empty folder. Whole build of distribution took 36 seconds, which 
>> definitely is not good:
>>
>> [INFO] Reactor Summary for Apache Royale: Distribution 0.9.8-SNAPSHOT:
>> [INFO]
>> [INFO] compc .. SUCCESS [
>>  8.952 s]
>> [INFO] compiler-asc ... SUCCESS [
>>  1.559 s]
>> [INFO] compiler-compc . SUCCESS [
>>  1.567 s]
>> [INFO] compiler-compjsc ... SUCCESS [
>>  1.284 s]
>> [INFO] compiler-mxmlc . SUCCESS [
>>  1.347 s]
>> [INFO] compiler-mxmljsc ... SUCCESS [
>>  1.683 s]
>> [INFO] compiler-optimizer . SUCCESS [
>>  1.675 s]
>> [INFO] compiler-swfdump ... SUCCESS [
>>  1.295 s]
>> [INFO] mxmlc .. SUCCESS [
>>  1.305 s]
>> [INFO] Apache Royale: Distribution  SUCCESS [
>> 14.948 s]
>> [INFO]
>> -
>> ---
>> [INFO] BUILD SUCCESS
>> [INFO]
>> ---------
>> ---
>> [INFO] Total time:  36.807 s
>> [INFO] Finished at: 2021-03-03T13:55:54+01:00 [INFO]
>> -
>> ---
>>
>> D:\Work\royale-sources\royale-asjs\distribution>
>>
>> I'm not sure what is happening.
>>
>> śr., 3 mar 2021 o 13:32 Christofer Dutz 
>> napisał(a):
>>
>> > Hi Piotr,
>> >
>> > sorry for the confusion earlier ... guess that was something that 
>> > changed in Maven ...
>> > What you did should work and be all you need.
>> > But be sure to check-out all 3 repos in the feature-branch and run 
>> > a mvn install on them as they need one new artifact from compiler 
>> > and one new artifact from typedefs.
>> >
>> > Chris
>> >
>> >
>> > -Ursprüngliche Nachricht-
>> > Von: Piotr Zarzycki 
>> > Gesendet: Mittwoch, 3. März 2021 12:09
>

AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

2021-03-03 Thread Christofer Dutz
In the distribution directory, but it should work the same way in the root.

Chris

-Ursprüngliche Nachricht-
Von: Piotr Zarzycki  
Gesendet: Mittwoch, 3. März 2021 14:31
An: Apache Royale Development 
Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

You are running in what directory ?

śr., 3 mar 2021 o 14:27 Christofer Dutz 
napisał(a):

> So I'm running:
>
> mvn  -DskipTests=true clean install
> -DdistributionTargetFolder=C:\Temp\RoyaleSDK-with-swf -P 
> with-distribution,option-with-swf
>
> And It's working nicely .. same as
>
> mvn -DskipTests=true clean install
> -DdistributionTargetFolder=C:\Temp\RoyaleSDK-with-swf -P 
> with-distribution
>
>
> Chris
>
>
> -Ursprüngliche Nachricht-
> Von: Piotr Zarzycki 
> Gesendet: Mittwoch, 3. März 2021 13:59
> An: Apache Royale Development 
> Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
>
> Unfortunately it didn't work. After build in distribution I have empty 
> folder. Whole build of distribution took 36 seconds, which definitely 
> is not good:
>
> [INFO] Reactor Summary for Apache Royale: Distribution 0.9.8-SNAPSHOT:
> [INFO]
> [INFO] compc .. SUCCESS [
>  8.952 s]
> [INFO] compiler-asc ... SUCCESS [
>  1.559 s]
> [INFO] compiler-compc . SUCCESS [
>  1.567 s]
> [INFO] compiler-compjsc ... SUCCESS [
>  1.284 s]
> [INFO] compiler-mxmlc . SUCCESS [
>  1.347 s]
> [INFO] compiler-mxmljsc ... SUCCESS [
>  1.683 s]
> [INFO] compiler-optimizer . SUCCESS [
>  1.675 s]
> [INFO] compiler-swfdump ... SUCCESS [
>  1.295 s]
> [INFO] mxmlc .. SUCCESS [
>  1.305 s]
> [INFO] Apache Royale: Distribution  SUCCESS [
> 14.948 s]
> [INFO]
> --
> --
> [INFO] BUILD SUCCESS
> [INFO]
> --
> --
> [INFO] Total time:  36.807 s
> [INFO] Finished at: 2021-03-03T13:55:54+01:00 [INFO]
> ------
> --
>
> D:\Work\royale-sources\royale-asjs\distribution>
>
> I'm not sure what is happening.
>
> śr., 3 mar 2021 o 13:32 Christofer Dutz 
> napisał(a):
>
> > Hi Piotr,
> >
> > sorry for the confusion earlier ... guess that was something that 
> > changed in Maven ...
> > What you did should work and be all you need.
> > But be sure to check-out all 3 repos in the feature-branch and run a 
> > mvn install on them as they need one new artifact from compiler and 
> > one new artifact from typedefs.
> >
> > Chris
> >
> >
> > -Ursprüngliche Nachricht-
> > Von: Piotr Zarzycki 
> > Gesendet: Mittwoch, 3. März 2021 12:09
> > An: Apache Royale Development 
> > Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
> >
> > Cool. I have switched to your branch. How do I generate distribution 
> > now using Maven ? I did that previously by:
> >
> > royale-asjs\distribution\ mvn clean compile 
> > -DdistributionTargetFolder=d:\Work\royale_ide\distribution\
> >
> > śr., 3 mar 2021 o 11:43 Christofer Dutz 
> > napisał(a):
> >
> > > Ok ...
> > >
> > > you don't need to switch all 3 to my "ranch" but to my "branch" - 
> > > Mainly because I don't have a ranch.
> > >
> > > But I think I've addressed everything I found ... would be cool if 
> > > you folks could mass-test it.
> > >
> > > Chris
> > >
> > > -Ursprüngliche Nachricht-
> > > Von: Christofer Dutz 
> > > Gesendet: Mittwoch, 3. März 2021 00:09
> > > An: dev@royale.apache.org
> > > Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven 
> > > aligned
> > >
> > > And regarding that Halo.swc,
> > >
> > > I would use a different one, as using the js typedef really feels 
> > > a bit random.
> > > But that's something for tomorrow... Signing off for today.
> > >
> > > Chris
> > >
> > > Holen Sie sich Outlook für Android<https://aka.ms/ghei36>
> > >
> > > 
> > > From: Christofer Dutz 
> > > Sent: Wednesday, March 3, 2021 12:06:32 AM
> > >

AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

2021-03-03 Thread Christofer Dutz
So I'm running:

mvn  -DskipTests=true clean install 
-DdistributionTargetFolder=C:\Temp\RoyaleSDK-with-swf -P 
with-distribution,option-with-swf

And It's working nicely .. same as 

mvn -DskipTests=true clean install 
-DdistributionTargetFolder=C:\Temp\RoyaleSDK-with-swf -P with-distribution


Chris


-Ursprüngliche Nachricht-
Von: Piotr Zarzycki  
Gesendet: Mittwoch, 3. März 2021 13:59
An: Apache Royale Development 
Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

Unfortunately it didn't work. After build in distribution I have empty folder. 
Whole build of distribution took 36 seconds, which definitely is not good:

[INFO] Reactor Summary for Apache Royale: Distribution 0.9.8-SNAPSHOT:
[INFO]
[INFO] compc .. SUCCESS [
 8.952 s]
[INFO] compiler-asc ... SUCCESS [
 1.559 s]
[INFO] compiler-compc . SUCCESS [
 1.567 s]
[INFO] compiler-compjsc ... SUCCESS [
 1.284 s]
[INFO] compiler-mxmlc . SUCCESS [
 1.347 s]
[INFO] compiler-mxmljsc ... SUCCESS [
 1.683 s]
[INFO] compiler-optimizer . SUCCESS [
 1.675 s]
[INFO] compiler-swfdump ... SUCCESS [
 1.295 s]
[INFO] mxmlc .. SUCCESS [
 1.305 s]
[INFO] Apache Royale: Distribution  SUCCESS [
14.948 s]
[INFO]

[INFO] BUILD SUCCESS
[INFO]

[INFO] Total time:  36.807 s
[INFO] Finished at: 2021-03-03T13:55:54+01:00 [INFO]


D:\Work\royale-sources\royale-asjs\distribution>

I'm not sure what is happening.

śr., 3 mar 2021 o 13:32 Christofer Dutz 
napisał(a):

> Hi Piotr,
>
> sorry for the confusion earlier ... guess that was something that 
> changed in Maven ...
> What you did should work and be all you need.
> But be sure to check-out all 3 repos in the feature-branch and run a 
> mvn install on them as they need one new artifact from compiler and 
> one new artifact from typedefs.
>
> Chris
>
>
> -Ursprüngliche Nachricht-
> Von: Piotr Zarzycki 
> Gesendet: Mittwoch, 3. März 2021 12:09
> An: Apache Royale Development 
> Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
>
> Cool. I have switched to your branch. How do I generate distribution 
> now using Maven ? I did that previously by:
>
> royale-asjs\distribution\ mvn clean compile 
> -DdistributionTargetFolder=d:\Work\royale_ide\distribution\
>
> śr., 3 mar 2021 o 11:43 Christofer Dutz 
> napisał(a):
>
> > Ok ...
> >
> > you don't need to switch all 3 to my "ranch" but to my "branch" - 
> > Mainly because I don't have a ranch.
> >
> > But I think I've addressed everything I found ... would be cool if 
> > you folks could mass-test it.
> >
> > Chris
> >
> > -Ursprüngliche Nachricht-
> > Von: Christofer Dutz 
> > Gesendet: Mittwoch, 3. März 2021 00:09
> > An: dev@royale.apache.org
> > Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
> >
> > And regarding that Halo.swc,
> >
> > I would use a different one, as using the js typedef really feels a 
> > bit random.
> > But that's something for tomorrow... Signing off for today.
> >
> > Chris
> >
> > Holen Sie sich Outlook für Android<https://aka.ms/ghei36>
> >
> > 
> > From: Christofer Dutz 
> > Sent: Wednesday, March 3, 2021 12:06:32 AM
> > To: dev@royale.apache.org 
> > Subject: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
> >
> > No,
> >
> > Unfortunately you need to switch all 3 to my ranch and build all of 
> > them, cause it produces one more artifact in compiler and in the typedef.
> >
> > Chris
> >
> > Holen Sie sich Outlook für Android<https://aka.ms/ghei36>
> >
> > 
> > From: Josh Tynjala 
> > Sent: Tuesday, March 2, 2021 11:14:19 PM
> > To: Apache Royale Development 
> > Subject: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
> >
> > I'm guessing that Flash Builder expects 
> > frameworks/themes/Halo/Halo.swc to exist, and it must be a valid 
> > .swc file. So, the person who set that up probably just copied one 
> > of the
> existing .swc files.
> >
> > --
> > Josh Tynjala
> > Bowler Hat LLC <htt

AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

2021-03-03 Thread Christofer Dutz
Hi Piotr,

sorry for the confusion earlier ... guess that was something that changed in 
Maven ... 
What you did should work and be all you need. 
But be sure to check-out all 3 repos in the feature-branch and run a mvn 
install on them as they need one new artifact from compiler and one new 
artifact from typedefs.

Chris


-Ursprüngliche Nachricht-
Von: Piotr Zarzycki  
Gesendet: Mittwoch, 3. März 2021 12:09
An: Apache Royale Development 
Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

Cool. I have switched to your branch. How do I generate distribution now using 
Maven ? I did that previously by:

royale-asjs\distribution\ mvn clean compile 
-DdistributionTargetFolder=d:\Work\royale_ide\distribution\

śr., 3 mar 2021 o 11:43 Christofer Dutz 
napisał(a):

> Ok ...
>
> you don't need to switch all 3 to my "ranch" but to my "branch" - 
> Mainly because I don't have a ranch.
>
> But I think I've addressed everything I found ... would be cool if you 
> folks could mass-test it.
>
> Chris
>
> -----Ursprüngliche Nachricht-
> Von: Christofer Dutz 
> Gesendet: Mittwoch, 3. März 2021 00:09
> An: dev@royale.apache.org
> Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
>
> And regarding that Halo.swc,
>
> I would use a different one, as using the js typedef really feels a 
> bit random.
> But that's something for tomorrow... Signing off for today.
>
> Chris
>
> Holen Sie sich Outlook für Android<https://aka.ms/ghei36>
>
> 
> From: Christofer Dutz 
> Sent: Wednesday, March 3, 2021 12:06:32 AM
> To: dev@royale.apache.org 
> Subject: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
>
> No,
>
> Unfortunately you need to switch all 3 to my ranch and build all of 
> them, cause it produces one more artifact in compiler and in the typedef.
>
> Chris
>
> Holen Sie sich Outlook für Android<https://aka.ms/ghei36>
>
> 
> From: Josh Tynjala 
> Sent: Tuesday, March 2, 2021 11:14:19 PM
> To: Apache Royale Development 
> Subject: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
>
> I'm guessing that Flash Builder expects 
> frameworks/themes/Halo/Halo.swc to exist, and it must be a valid .swc 
> file. So, the person who set that up probably just copied one of the existing 
> .swc files.
>
> --
> Josh Tynjala
> Bowler Hat LLC <https://bowlerhat.dev>
>
>
> On Tue, Mar 2, 2021 at 2:01 PM Christofer Dutz 
> 
> wrote:
>
> > Hi Josh,
> >
> > Well it would probably take me 10 seconds to add them ... I just 
> > didn't want to add stuff we don't need.
> > So I'll leave them away and if someone complains - I'll add them ;-)
> >
> > However the comment in the Ant script says:
> >
> > 
> >
> > So I already had all the other dummy files in there, so I now just 
> > added these.
> >
> > In this block there is however this command which sort of seems 
> > pretty strange ... can anyone explain what it's required for?
> >
> >  > tofile="${ROYALE_HOME}/frameworks/themes/Halo/Halo.swc" />
> >
> > It looks like just providing some random SWC file in a location the 
> > FlashBuilder might be looking for.
> >
> > Perhaps it would make sense to refactor my descriptors to have a 
> > "flashbuilder-support-assembly.xml" which we could one day simply remove.
> >
> > Chris
> >
> > -Ursprüngliche Nachricht-
> > Von: Josh Tynjala 
> > Gesendet: Dienstag, 2. März 2021 22:47
> > An: Apache Royale Development 
> > Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
> >
> > > Can anyone tell me what the localfonts.ser, macfonts.ser and 
> > > winfonts.ser
> > files are needed for?
> >
> > It's something related to SWF font embedding. I would assume that 
> > Flash Builder expects those files to exist, but if the Flash Builder 
> > integration document doesn't mention them, then I don't know.
> >
> > --
> > Josh Tynjala
> > Bowler Hat LLC <https://bowlerhat.dev>
> >
> >
> > On Tue, Mar 2, 2021 at 1:42 PM Christofer Dutz 
> > 
> > wrote:
> >
> > > Hi Josh,
> > >
> > > Ok ... so that's done and looks a lot nicer now :-)
> > >
> > > I also finished the config-sanitazion and the config files used in 
> > > the Maven distribution should now match the file names in the
> distribution.
> > >
> > > Can anyone tell me what the localfonts.ser, macfonts.ser and 
> > 

AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

2021-03-03 Thread Christofer Dutz
Ok ... 

you don't need to switch all 3 to my "ranch" but to my "branch" - Mainly 
because I don't have a ranch.

But I think I've addressed everything I found ... would be cool if you folks 
could mass-test it.

Chris

-Ursprüngliche Nachricht-----
Von: Christofer Dutz  
Gesendet: Mittwoch, 3. März 2021 00:09
An: dev@royale.apache.org
Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

And regarding that Halo.swc,

I would use a different one, as using the js typedef really feels a bit random.
But that's something for tomorrow... Signing off for today.

Chris

Holen Sie sich Outlook für Android<https://aka.ms/ghei36>

____
From: Christofer Dutz 
Sent: Wednesday, March 3, 2021 12:06:32 AM
To: dev@royale.apache.org 
Subject: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

No,

Unfortunately you need to switch all 3 to my ranch and build all of them, cause 
it produces one more artifact in compiler and in the typedef.

Chris

Holen Sie sich Outlook für Android<https://aka.ms/ghei36>


From: Josh Tynjala 
Sent: Tuesday, March 2, 2021 11:14:19 PM
To: Apache Royale Development 
Subject: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

I'm guessing that Flash Builder expects frameworks/themes/Halo/Halo.swc to 
exist, and it must be a valid .swc file. So, the person who set that up 
probably just copied one of the existing .swc files.

--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>


On Tue, Mar 2, 2021 at 2:01 PM Christofer Dutz 
wrote:

> Hi Josh,
>
> Well it would probably take me 10 seconds to add them ... I just 
> didn't want to add stuff we don't need.
> So I'll leave them away and if someone complains - I'll add them ;-)
>
> However the comment in the Ant script says:
>
> 
>
> So I already had all the other dummy files in there, so I now just 
> added these.
>
> In this block there is however this command which sort of seems pretty 
> strange ... can anyone explain what it's required for?
>
>  tofile="${ROYALE_HOME}/frameworks/themes/Halo/Halo.swc" />
>
> It looks like just providing some random SWC file in a location the 
> FlashBuilder might be looking for.
>
> Perhaps it would make sense to refactor my descriptors to have a 
> "flashbuilder-support-assembly.xml" which we could one day simply remove.
>
> Chris
>
> -Ursprüngliche Nachricht-
> Von: Josh Tynjala 
> Gesendet: Dienstag, 2. März 2021 22:47
> An: Apache Royale Development 
> Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
>
> > Can anyone tell me what the localfonts.ser, macfonts.ser and 
> > winfonts.ser
> files are needed for?
>
> It's something related to SWF font embedding. I would assume that 
> Flash Builder expects those files to exist, but if the Flash Builder 
> integration document doesn't mention them, then I don't know.
>
> --
> Josh Tynjala
> Bowler Hat LLC <https://bowlerhat.dev>
>
>
> On Tue, Mar 2, 2021 at 1:42 PM Christofer Dutz 
> 
> wrote:
>
> > Hi Josh,
> >
> > Ok ... so that's done and looks a lot nicer now :-)
> >
> > I also finished the config-sanitazion and the config files used in 
> > the Maven distribution should now match the file names in the distribution.
> >
> > Can anyone tell me what the localfonts.ser, macfonts.ser and 
> > winfonts.ser files are needed for? They are simply completely empty 
> > filed the Ant build createates via "touch" commant. I could add them 
> > to the Maven distribution, but only want to add stuff that's needed.
> >
> > But in it's current state I'm quite happy with the new distribution.
> > It looks pretty clean, everything needed is in there and in the same 
> > location as with the Ant build, but I left away things I tought are 
> > probably not required in the distribution and are results of simply 
> > packing the entire project up.
> >
> > I tested it with a number of example projects ant it worked with all 
> > of them (Haven't tried all of them though)
> >
> > Would be cool if you could try it out and give me some feedback on it.
> >
> > Chris
> >
> >
> > -Ursprüngliche Nachricht-
> > Von: Josh Tynjala 
> > Gesendet: Dienstag, 2. März 2021 22:35
> > An: Apache Royale Development 
> > Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
> >
> > The src directory is probably enough for a good IDE experience while 
> > developing a Royale app.
> >
> > --
> > Josh Tynjala
> > Bowler Hat LLC <https://bowlerhat.dev>
> >
> >
&g

Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

2021-03-02 Thread Christofer Dutz
And regarding that Halo.swc,

I would use a different one, as using the js typedef really feels a bit random.
But that's something for tomorrow... Signing off for today.

Chris

Holen Sie sich Outlook für Android<https://aka.ms/ghei36>


From: Christofer Dutz 
Sent: Wednesday, March 3, 2021 12:06:32 AM
To: dev@royale.apache.org 
Subject: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

No,

Unfortunately you need to switch all 3 to my ranch and build all of them, cause 
it produces one more artifact in compiler and in the typedef.

Chris

Holen Sie sich Outlook für Android<https://aka.ms/ghei36>


From: Josh Tynjala 
Sent: Tuesday, March 2, 2021 11:14:19 PM
To: Apache Royale Development 
Subject: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

I'm guessing that Flash Builder expects frameworks/themes/Halo/Halo.swc to
exist, and it must be a valid .swc file. So, the person who set that up
probably just copied one of the existing .swc files.

--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>


On Tue, Mar 2, 2021 at 2:01 PM Christofer Dutz 
wrote:

> Hi Josh,
>
> Well it would probably take me 10 seconds to add them ... I just didn't
> want to add stuff we don't need.
> So I'll leave them away and if someone complains - I'll add them ;-)
>
> However the comment in the Ant script says:
>
> 
>
> So I already had all the other dummy files in there, so I now just added
> these.
>
> In this block there is however this command which sort of seems pretty
> strange ... can anyone explain what it's required for?
>
>  tofile="${ROYALE_HOME}/frameworks/themes/Halo/Halo.swc" />
>
> It looks like just providing some random SWC file in a location the
> FlashBuilder might be looking for.
>
> Perhaps it would make sense to refactor my descriptors to have a
> "flashbuilder-support-assembly.xml" which we could one day simply remove.
>
> Chris
>
> -Ursprüngliche Nachricht-
> Von: Josh Tynjala 
> Gesendet: Dienstag, 2. März 2021 22:47
> An: Apache Royale Development 
> Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
>
> > Can anyone tell me what the localfonts.ser, macfonts.ser and
> > winfonts.ser
> files are needed for?
>
> It's something related to SWF font embedding. I would assume that Flash
> Builder expects those files to exist, but if the Flash Builder integration
> document doesn't mention them, then I don't know.
>
> --
> Josh Tynjala
> Bowler Hat LLC <https://bowlerhat.dev>
>
>
> On Tue, Mar 2, 2021 at 1:42 PM Christofer Dutz 
> wrote:
>
> > Hi Josh,
> >
> > Ok ... so that's done and looks a lot nicer now :-)
> >
> > I also finished the config-sanitazion and the config files used in the
> > Maven distribution should now match the file names in the distribution.
> >
> > Can anyone tell me what the localfonts.ser, macfonts.ser and
> > winfonts.ser files are needed for? They are simply completely empty
> > filed the Ant build createates via "touch" commant. I could add them
> > to the Maven distribution, but only want to add stuff that's needed.
> >
> > But in it's current state I'm quite happy with the new distribution.
> > It looks pretty clean, everything needed is in there and in the same
> > location as with the Ant build, but I left away things I tought are
> > probably not required in the distribution and are results of simply
> > packing the entire project up.
> >
> > I tested it with a number of example projects ant it worked with all
> > of them (Haven't tried all of them though)
> >
> > Would be cool if you could try it out and give me some feedback on it.
> >
> > Chris
> >
> >
> > -Ursprüngliche Nachricht-
> > Von: Josh Tynjala 
> > Gesendet: Dienstag, 2. März 2021 22:35
> > An: Apache Royale Development 
> > Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
> >
> > The src directory is probably enough for a good IDE experience while
> > developing a Royale app.
> >
> > --
> > Josh Tynjala
> > Bowler Hat LLC <https://bowlerhat.dev>
> >
> >
> > On Tue, Mar 2, 2021 at 1:27 PM Christofer Dutz
> > 
> > wrote:
> >
> > > Hi all,
> > >
> > > one question: Is it enough to package up the src directories of all
> > > modules in the "projects" directory to allow the code-insights?
> > >
> > > I'm asking, cause I'm only packing up the essential parts of the "asjs"
> > > project and don't want to 

Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

2021-03-02 Thread Christofer Dutz
No,

Unfortunately you need to switch all 3 to my ranch and build all of them, cause 
it produces one more artifact in compiler and in the typedef.

Chris

Holen Sie sich Outlook für Android<https://aka.ms/ghei36>


From: Josh Tynjala 
Sent: Tuesday, March 2, 2021 11:14:19 PM
To: Apache Royale Development 
Subject: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

I'm guessing that Flash Builder expects frameworks/themes/Halo/Halo.swc to
exist, and it must be a valid .swc file. So, the person who set that up
probably just copied one of the existing .swc files.

--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>


On Tue, Mar 2, 2021 at 2:01 PM Christofer Dutz 
wrote:

> Hi Josh,
>
> Well it would probably take me 10 seconds to add them ... I just didn't
> want to add stuff we don't need.
> So I'll leave them away and if someone complains - I'll add them ;-)
>
> However the comment in the Ant script says:
>
> 
>
> So I already had all the other dummy files in there, so I now just added
> these.
>
> In this block there is however this command which sort of seems pretty
> strange ... can anyone explain what it's required for?
>
>  tofile="${ROYALE_HOME}/frameworks/themes/Halo/Halo.swc" />
>
> It looks like just providing some random SWC file in a location the
> FlashBuilder might be looking for.
>
> Perhaps it would make sense to refactor my descriptors to have a
> "flashbuilder-support-assembly.xml" which we could one day simply remove.
>
> Chris
>
> -Ursprüngliche Nachricht-
> Von: Josh Tynjala 
> Gesendet: Dienstag, 2. März 2021 22:47
> An: Apache Royale Development 
> Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
>
> > Can anyone tell me what the localfonts.ser, macfonts.ser and
> > winfonts.ser
> files are needed for?
>
> It's something related to SWF font embedding. I would assume that Flash
> Builder expects those files to exist, but if the Flash Builder integration
> document doesn't mention them, then I don't know.
>
> --
> Josh Tynjala
> Bowler Hat LLC <https://bowlerhat.dev>
>
>
> On Tue, Mar 2, 2021 at 1:42 PM Christofer Dutz 
> wrote:
>
> > Hi Josh,
> >
> > Ok ... so that's done and looks a lot nicer now :-)
> >
> > I also finished the config-sanitazion and the config files used in the
> > Maven distribution should now match the file names in the distribution.
> >
> > Can anyone tell me what the localfonts.ser, macfonts.ser and
> > winfonts.ser files are needed for? They are simply completely empty
> > filed the Ant build createates via "touch" commant. I could add them
> > to the Maven distribution, but only want to add stuff that's needed.
> >
> > But in it's current state I'm quite happy with the new distribution.
> > It looks pretty clean, everything needed is in there and in the same
> > location as with the Ant build, but I left away things I tought are
> > probably not required in the distribution and are results of simply
> > packing the entire project up.
> >
> > I tested it with a number of example projects ant it worked with all
> > of them (Haven't tried all of them though)
> >
> > Would be cool if you could try it out and give me some feedback on it.
> >
> > Chris
> >
> >
> > -Ursprüngliche Nachricht-
> > Von: Josh Tynjala 
> > Gesendet: Dienstag, 2. März 2021 22:35
> > An: Apache Royale Development 
> > Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
> >
> > The src directory is probably enough for a good IDE experience while
> > developing a Royale app.
> >
> > --
> > Josh Tynjala
> > Bowler Hat LLC <https://bowlerhat.dev>
> >
> >
> > On Tue, Mar 2, 2021 at 1:27 PM Christofer Dutz
> > 
> > wrote:
> >
> > > Hi all,
> > >
> > > one question: Is it enough to package up the src directories of all
> > > modules in the "projects" directory to allow the code-insights?
> > >
> > > I'm asking, cause I'm only packing up the essential parts of the "asjs"
> > > project and don't want to have a half build system included.
> > >
> > > Chris
> > >
> > > -Ursprüngliche Nachricht-
> > > Von: Christofer Dutz 
> > > Gesendet: Montag, 1. März 2021 23:18
> > > An: dev@royale.apache.org
> > > Betreff: AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
> > >
> > > Ah ... ok ... thanks for the explanation.
> > >

AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

2021-03-02 Thread Christofer Dutz
Hi Josh,

Well it would probably take me 10 seconds to add them ... I just didn't want to 
add stuff we don't need.
So I'll leave them away and if someone complains - I'll add them ;-)

However the comment in the Ant script says:



So I already had all the other dummy files in there, so I now just added these. 

In this block there is however this command which sort of seems pretty strange 
... can anyone explain what it's required for?



It looks like just providing some random SWC file in a location the 
FlashBuilder might be looking for.

Perhaps it would make sense to refactor my descriptors to have a 
"flashbuilder-support-assembly.xml" which we could one day simply remove.

Chris

-Ursprüngliche Nachricht-
Von: Josh Tynjala  
Gesendet: Dienstag, 2. März 2021 22:47
An: Apache Royale Development 
Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

> Can anyone tell me what the localfonts.ser, macfonts.ser and 
> winfonts.ser
files are needed for?

It's something related to SWF font embedding. I would assume that Flash Builder 
expects those files to exist, but if the Flash Builder integration document 
doesn't mention them, then I don't know.

--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>


On Tue, Mar 2, 2021 at 1:42 PM Christofer Dutz 
wrote:

> Hi Josh,
>
> Ok ... so that's done and looks a lot nicer now :-)
>
> I also finished the config-sanitazion and the config files used in the 
> Maven distribution should now match the file names in the distribution.
>
> Can anyone tell me what the localfonts.ser, macfonts.ser and 
> winfonts.ser files are needed for? They are simply completely empty 
> filed the Ant build createates via "touch" commant. I could add them 
> to the Maven distribution, but only want to add stuff that's needed.
>
> But in it's current state I'm quite happy with the new distribution. 
> It looks pretty clean, everything needed is in there and in the same 
> location as with the Ant build, but I left away things I tought are 
> probably not required in the distribution and are results of simply 
> packing the entire project up.
>
> I tested it with a number of example projects ant it worked with all 
> of them (Haven't tried all of them though)
>
> Would be cool if you could try it out and give me some feedback on it.
>
> Chris
>
>
> -Ursprüngliche Nachricht-
> Von: Josh Tynjala 
> Gesendet: Dienstag, 2. März 2021 22:35
> An: Apache Royale Development 
> Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
>
> The src directory is probably enough for a good IDE experience while 
> developing a Royale app.
>
> --
> Josh Tynjala
> Bowler Hat LLC <https://bowlerhat.dev>
>
>
> On Tue, Mar 2, 2021 at 1:27 PM Christofer Dutz 
> 
> wrote:
>
> > Hi all,
> >
> > one question: Is it enough to package up the src directories of all 
> > modules in the "projects" directory to allow the code-insights?
> >
> > I'm asking, cause I'm only packing up the essential parts of the "asjs"
> > project and don't want to have a half build system included.
> >
> > Chris
> >
> > -Ursprüngliche Nachricht-
> > Von: Christofer Dutz 
> > Gesendet: Montag, 1. März 2021 23:18
> > An: dev@royale.apache.org
> > Betreff: AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
> >
> > Ah ... ok ... thanks for the explanation.
> >
> > That does make sense ... guess I just never completely understood 
> > the typedef stuff ;)
> >
> > ... so I'll have to find a way to streamline the names of the 
> > typedef libraries in all of these 2 (Well actually probably just 2)
> > - external-library-path
> > - js-external-library-path
> >
> > But that will be a thing for tomorrow ... calling it a day and 
> > signing off for today.
> >
> > I just pushed my changes from today ... so if you folks want to 
> > check what I'm doing ... now you have something to look at :.)
> >
> > Chris
> >
> >
> > -Ursprüngliche Nachricht-
> > Von: Josh Tynjala 
> > Gesendet: Montag, 1. März 2021 23:13
> > An: Apache Royale Development 
> > Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
> >
> > As you've seen, there are three different external-library-path options:
> > external-library-path, js-external-library-path and 
> > swf-external-library-path.
> >
> > By default, external-library-path is used by both JS and SWF 
> > targets, but you can use js-external-library-path or 
> > swf-external-library-path to override the external-library-path for a 
> > spe

AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

2021-03-02 Thread Christofer Dutz
Hi Josh,

Ok ... so that's done and looks a lot nicer now :-)

I also finished the config-sanitazion and the config files used in the Maven 
distribution should now match the file names in the distribution.

Can anyone tell me what the localfonts.ser, macfonts.ser and winfonts.ser files 
are needed for? They are simply completely empty filed the Ant build createates 
via "touch" commant. I could add them to the Maven distribution, but only want 
to add stuff that's needed.

But in it's current state I'm quite happy with the new distribution. It looks 
pretty clean, everything needed is in there and in the same location as with 
the Ant build, but I left away things I tought are probably not required in the 
distribution and are results of simply packing the entire project up.

I tested it with a number of example projects ant it worked with all of them 
(Haven't tried all of them though)

Would be cool if you could try it out and give me some feedback on it.

Chris


-Ursprüngliche Nachricht-
Von: Josh Tynjala  
Gesendet: Dienstag, 2. März 2021 22:35
An: Apache Royale Development 
Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

The src directory is probably enough for a good IDE experience while developing 
a Royale app.

--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>


On Tue, Mar 2, 2021 at 1:27 PM Christofer Dutz 
wrote:

> Hi all,
>
> one question: Is it enough to package up the src directories of all 
> modules in the "projects" directory to allow the code-insights?
>
> I'm asking, cause I'm only packing up the essential parts of the "asjs"
> project and don't want to have a half build system included.
>
> Chris
>
> -Ursprüngliche Nachricht-
> Von: Christofer Dutz 
> Gesendet: Montag, 1. März 2021 23:18
> An: dev@royale.apache.org
> Betreff: AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
>
> Ah ... ok ... thanks for the explanation.
>
> That does make sense ... guess I just never completely understood the 
> typedef stuff ;)
>
> ... so I'll have to find a way to streamline the names of the typedef 
> libraries in all of these 2 (Well actually probably just 2)
> - external-library-path
> - js-external-library-path
>
> But that will be a thing for tomorrow ... calling it a day and signing 
> off for today.
>
> I just pushed my changes from today ... so if you folks want to check 
> what I'm doing ... now you have something to look at :.)
>
> Chris
>
>
> -Ursprüngliche Nachricht-
> Von: Josh Tynjala 
> Gesendet: Montag, 1. März 2021 23:13
> An: Apache Royale Development 
> Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
>
> As you've seen, there are three different external-library-path options:
> external-library-path, js-external-library-path and 
> swf-external-library-path.
>
> By default, external-library-path is used by both JS and SWF targets, 
> but you can use js-external-library-path or swf-external-library-path 
> to override the external-library-path for a specific target.
>
> In other words, if js-external-library-path is defined:
>
> - the JS target will use js-external-library-path, and it will ignore 
> external-library-path
> - the SWF target will still use external-library-path
>
> Similarly, if swf-external-library-path is defined:
>
> - the SWF target will use swf-external-library-path, and it will 
> ignore external-library-path
> - the JS target will still use external-library-path
>
>  If both js-external-library-path and swf-external-library-path are
> defined:
>
> - the JS target will use js-external-library-path, and it will ignore 
> external-library-path
> - the SWF target will use swf-external-library-path, and it will 
> ignore external-library-path
>
> The air-config.xml, flex-config.xml, and royale-config.xml configs are 
> all expected to be used for both JS and SWF targets. Different 
> libraries are needed for each target, so we're using 
> js-external-library-path to override which libraries are used for the 
> JS target. The SWF target will use external-library-path.
>
> The other -config.xml files are configs that are expected to be used 
> with JS only. Basically, these ones can use external-library-path 
> directly because they don't need to target SWF. If we wanted, we could 
> change them to use js-external-library-path instead, and they should still 
> work.
>
> In theory, we could always use js-external-library-path and 
> swf-external-library-path, and never use external-library-path. 
> However, I do not recall if there was some legacy reason (like Flash 
> Builder support) for why we defaulted to playerglobal.swc on the 
> external-library-path for the SWF target instead of usin

AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

2021-03-02 Thread Christofer Dutz
Hi all,

one question: Is it enough to package up the src directories of all modules in 
the "projects" directory to allow the code-insights?

I'm asking, cause I'm only packing up the essential parts of the "asjs" project 
and don't want to have a half build system included. 

Chris

-Ursprüngliche Nachricht-----
Von: Christofer Dutz  
Gesendet: Montag, 1. März 2021 23:18
An: dev@royale.apache.org
Betreff: AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

Ah ... ok ... thanks for the explanation.

That does make sense ... guess I just never completely understood the typedef 
stuff ;)

... so I'll have to find a way to streamline the names of the typedef libraries 
in all of these 2 (Well actually probably just 2)
- external-library-path
- js-external-library-path

But that will be a thing for tomorrow ... calling it a day and signing off for 
today.

I just pushed my changes from today ... so if you folks want to check what I'm 
doing ... now you have something to look at :.)

Chris


-Ursprüngliche Nachricht-
Von: Josh Tynjala 
Gesendet: Montag, 1. März 2021 23:13
An: Apache Royale Development 
Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

As you've seen, there are three different external-library-path options:
external-library-path, js-external-library-path and swf-external-library-path.

By default, external-library-path is used by both JS and SWF targets, but you 
can use js-external-library-path or swf-external-library-path to override the 
external-library-path for a specific target.

In other words, if js-external-library-path is defined:

- the JS target will use js-external-library-path, and it will ignore 
external-library-path
- the SWF target will still use external-library-path

Similarly, if swf-external-library-path is defined:

- the SWF target will use swf-external-library-path, and it will ignore 
external-library-path
- the JS target will still use external-library-path

 If both js-external-library-path and swf-external-library-path are defined:

- the JS target will use js-external-library-path, and it will ignore 
external-library-path
- the SWF target will use swf-external-library-path, and it will ignore 
external-library-path

The air-config.xml, flex-config.xml, and royale-config.xml configs are all 
expected to be used for both JS and SWF targets. Different libraries are needed 
for each target, so we're using js-external-library-path to override which 
libraries are used for the JS target. The SWF target will use 
external-library-path.

The other -config.xml files are configs that are expected to be used with JS 
only. Basically, these ones can use external-library-path directly because they 
don't need to target SWF. If we wanted, we could change them to use 
js-external-library-path instead, and they should still work.

In theory, we could always use js-external-library-path and 
swf-external-library-path, and never use external-library-path. However, I do 
not recall if there was some legacy reason (like Flash Builder support) for why 
we defaulted to playerglobal.swc on the external-library-path for the SWF 
target instead of using swf-external-library-path. I think that 
js-external-library-path or swf-external-library-path were introduced before I 
started working on the compiler, so I can only guess.

--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>


On Mon, Mar 1, 2021 at 1:45 PM Christofer Dutz 
wrote:

> Hi Josh,
>
> While comparing the results I noticed there are some inconsistencies 
> in the config files and I'm currently not quite sure to which is the 
> correct
> version:
>
> In:
> - ace-config.xml
> - create-js-config.xml
> - jquery-config.xml
> - js-config.xml
> - node-config.xml
> The typedefs are defined in an element called: external-library-path
>
> In:
> - air-config.xml
> - flex-config.xml
> - royale-config.xml
> The typedefs are defined in an element called: 
> js-external-library-path
>
> Which is the correct version?
>
> Also are the target-player and swf-version defined as properties in 
> all configs except:
> - asdoc-config.xml (player 11.1 swf: 14)
>
> Probably it would make sense to process the asdoc-config.xml the same 
> way as all the others.
> Right now I'd just keep it the way it is. Just thought I'd point it out.
>
> Chris
>
>
> -Ursprüngliche Nachricht-
> Von: Josh Tynjala 
> Gesendet: Montag, 1. März 2021 19:29
> An: Apache Royale Development 
> Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
>
> Hi Chris,
>
> Yes, that looks to me to be what the Ant build is doing too, so I 
> think you are correct.
>
> --
> Josh Tynjala
> Bowler Hat LLC <https://bowlerhat.dev>
>
>
> On Mon, Mar 1, 2021 at 10:21 AM Christofer Dutz 
>  >
> wrote:
>
> > Hi Josh
> >

AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

2021-03-01 Thread Christofer Dutz
Ah ... ok ... thanks for the explanation.

That does make sense ... guess I just never completely understood the typedef 
stuff ;)

... so I'll have to find a way to streamline the names of the typedef libraries 
in all of these 2 (Well actually probably just 2)
- external-library-path 
- js-external-library-path

But that will be a thing for tomorrow ... calling it a day and signing off for 
today.

I just pushed my changes from today ... so if you folks want to check what I'm 
doing ... now you have something to look at :.)

Chris


-Ursprüngliche Nachricht-
Von: Josh Tynjala  
Gesendet: Montag, 1. März 2021 23:13
An: Apache Royale Development 
Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

As you've seen, there are three different external-library-path options:
external-library-path, js-external-library-path and swf-external-library-path.

By default, external-library-path is used by both JS and SWF targets, but you 
can use js-external-library-path or swf-external-library-path to override the 
external-library-path for a specific target.

In other words, if js-external-library-path is defined:

- the JS target will use js-external-library-path, and it will ignore 
external-library-path
- the SWF target will still use external-library-path

Similarly, if swf-external-library-path is defined:

- the SWF target will use swf-external-library-path, and it will ignore 
external-library-path
- the JS target will still use external-library-path

 If both js-external-library-path and swf-external-library-path are defined:

- the JS target will use js-external-library-path, and it will ignore 
external-library-path
- the SWF target will use swf-external-library-path, and it will ignore 
external-library-path

The air-config.xml, flex-config.xml, and royale-config.xml configs are all 
expected to be used for both JS and SWF targets. Different libraries are needed 
for each target, so we're using js-external-library-path to override which 
libraries are used for the JS target. The SWF target will use 
external-library-path.

The other -config.xml files are configs that are expected to be used with JS 
only. Basically, these ones can use external-library-path directly because they 
don't need to target SWF. If we wanted, we could change them to use 
js-external-library-path instead, and they should still work.

In theory, we could always use js-external-library-path and 
swf-external-library-path, and never use external-library-path. However, I do 
not recall if there was some legacy reason (like Flash Builder support) for why 
we defaulted to playerglobal.swc on the external-library-path for the SWF 
target instead of using swf-external-library-path. I think that 
js-external-library-path or swf-external-library-path were introduced before I 
started working on the compiler, so I can only guess.

--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>


On Mon, Mar 1, 2021 at 1:45 PM Christofer Dutz 
wrote:

> Hi Josh,
>
> While comparing the results I noticed there are some inconsistencies 
> in the config files and I'm currently not quite sure to which is the 
> correct
> version:
>
> In:
> - ace-config.xml
> - create-js-config.xml
> - jquery-config.xml
> - js-config.xml
> - node-config.xml
> The typedefs are defined in an element called: external-library-path
>
> In:
> - air-config.xml
> - flex-config.xml
> - royale-config.xml
> The typedefs are defined in an element called: 
> js-external-library-path
>
> Which is the correct version?
>
> Also are the target-player and swf-version defined as properties in 
> all configs except:
> - asdoc-config.xml (player 11.1 swf: 14)
>
> Probably it would make sense to process the asdoc-config.xml the same 
> way as all the others.
> Right now I'd just keep it the way it is. Just thought I'd point it out.
>
> Chris
>
>
> -Ursprüngliche Nachricht-
> Von: Josh Tynjala 
> Gesendet: Montag, 1. März 2021 19:29
> An: Apache Royale Development 
> Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
>
> Hi Chris,
>
> Yes, that looks to me to be what the Ant build is doing too, so I 
> think you are correct.
>
> --
> Josh Tynjala
> Bowler Hat LLC <https://bowlerhat.dev>
>
>
> On Mon, Mar 1, 2021 at 10:21 AM Christofer Dutz 
>  >
> wrote:
>
> > Hi Josh
> >
> > Yeah .. I saw in the commit history, that they sort of were creatd 
> > shortly after the big-bang ;-) ...
> >
> > That's why I decided to take these as basis.
> >
> > What I'm now doing is generate a config from each by:
> >
> > 1. Replacing the playerversion
> > 2. Replacing the swfversion
> > 3. Replacing the locale
> > 4. In case of a no-swf distribution filtering out the references to 
> > playerglobal
>

AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

2021-03-01 Thread Christofer Dutz
Hi Josh,

While comparing the results I noticed there are some inconsistencies in the 
config files and I'm currently not quite sure to which is the correct version:

In:
- ace-config.xml
- create-js-config.xml
- jquery-config.xml
- js-config.xml
- node-config.xml
The typedefs are defined in an element called: external-library-path

In: 
- air-config.xml
- flex-config.xml
- royale-config.xml
The typedefs are defined in an element called: js-external-library-path

Which is the correct version?

Also are the target-player and swf-version defined as properties in all configs 
except:
- asdoc-config.xml (player 11.1 swf: 14)

Probably it would make sense to process the asdoc-config.xml the same way as 
all the others.
Right now I'd just keep it the way it is. Just thought I'd point it out.

Chris


-Ursprüngliche Nachricht-
Von: Josh Tynjala  
Gesendet: Montag, 1. März 2021 19:29
An: Apache Royale Development 
Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

Hi Chris,

Yes, that looks to me to be what the Ant build is doing too, so I think you are 
correct.

--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>


On Mon, Mar 1, 2021 at 10:21 AM Christofer Dutz 
wrote:

> Hi Josh
>
> Yeah .. I saw in the commit history, that they sort of were creatd 
> shortly after the big-bang ;-) ...
>
> That's why I decided to take these as basis.
>
> What I'm now doing is generate a config from each by:
>
> 1. Replacing the playerversion
> 2. Replacing the swfversion
> 3. Replacing the locale
> 4. In case of a no-swf distribution filtering out the references to 
> playerglobal
>
> I hope I got things right ... but I'm only including the output in the 
> distribution and not the templates, as I assume they are not needed.
>
> Is that corect?
>
> Chris
>
> -Ursprüngliche Nachricht-
> Von: Josh Tynjala 
> Gesendet: Montag, 1. März 2021 18:46
> An: Apache Royale Development 
> Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
>
> I can tell you that the template config files have existed since the 
> Flex days. The "create-config" task in frameworks/build.xml replaces 
> certain tokens in the template based on the Ant build's current configuration.
>
> Traditionally, a distribution would include all of the Ant build.xml 
> files to allow users to manually rebuild the framework with local 
> changes. If this still holds true, then the config templates are probably 
> required.
>
> --
> Josh Tynjala
> Bowler Hat LLC <https://bowlerhat.dev>
>
>
> On Sun, Feb 28, 2021 at 1:07 PM Christofer Dutz 
>  >
> wrote:
>
> > Hi Carlos,
> >
> > no ... the templates weren't created by me ... they always were in 
> > the frameworks dir ... I think the ANT build takes the templates and 
> > inserts variables to generate the real versions. I think I'll try to 
> > use these to do the same with maven ... unfortunately the files have 
> > gotten pretty out of sync.
> >
> > But can anyone here tell me if the "template" files need to be in 
> > the distribution? Are they needed for anything? Cause I would just 
> > add the generated versions.
> >
> > Chris
> >
> >
> > -Ursprüngliche Nachricht-
> > Von: Carlos Rovira 
> > Gesendet: Sonntag, 28. Februar 2021 16:53
> > An: Apache Royale Development 
> > Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
> >
> > Hi Chris,
> >
> > >
> > >
> > > I do have some questions:
> > > - the "framework" directory contains a log of tupples:
> > > xyz-config-template.xml and xyz-config.xml: Where does the 
> > > xyz-config.xml get generated from the template in the ANT build? 
> > > (I assume it generates them from the templates as part of the build)...
> > > could we possibly omit the "templates"? It seems as if they are 
> > > only needed to generate the configs for a given set of configured 
> > > properties. If that's the case, we don't need them in the distribution.
> > >
> >
> > I always though the template was created by you when you created the 
> > maven build for Royale. So if you think you can remove templates, I 
> > think it would be good to reduce files if they are not used at all.
> >
> >
> > > - The root element of the flex-config.xml was named "roayale-config"
> > > in the Maven distribution and "flex-config" in the Ant 
> > > distribution and it contained a reference to the 
> > > mxml-2009-manifest.xml. Also did the Ant version contain a lot 
> > > more implicit imports as well as a fxg-base-c

AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

2021-03-01 Thread Christofer Dutz
Hi Josh

Yeah .. I saw in the commit history, that they sort of were creatd shortly 
after the big-bang ;-) ...

That's why I decided to take these as basis. 

What I'm now doing is generate a config from each by:

1. Replacing the playerversion
2. Replacing the swfversion
3. Replacing the locale
4. In case of a no-swf distribution filtering out the references to playerglobal

I hope I got things right ... but I'm only including the output in the 
distribution and not the templates, as I assume they are not needed. 

Is that corect?

Chris

-Ursprüngliche Nachricht-
Von: Josh Tynjala  
Gesendet: Montag, 1. März 2021 18:46
An: Apache Royale Development 
Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

I can tell you that the template config files have existed since the Flex days. 
The "create-config" task in frameworks/build.xml replaces certain tokens in the 
template based on the Ant build's current configuration.

Traditionally, a distribution would include all of the Ant build.xml files to 
allow users to manually rebuild the framework with local changes. If this still 
holds true, then the config templates are probably required.

--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>


On Sun, Feb 28, 2021 at 1:07 PM Christofer Dutz 
wrote:

> Hi Carlos,
>
> no ... the templates weren't created by me ... they always were in the 
> frameworks dir ... I think the ANT build takes the templates and 
> inserts variables to generate the real versions. I think I'll try to 
> use these to do the same with maven ... unfortunately the files have 
> gotten pretty out of sync.
>
> But can anyone here tell me if the "template" files need to be in the 
> distribution? Are they needed for anything? Cause I would just add the 
> generated versions.
>
> Chris
>
>
> -Ursprüngliche Nachricht-
> Von: Carlos Rovira 
> Gesendet: Sonntag, 28. Februar 2021 16:53
> An: Apache Royale Development 
> Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
>
> Hi Chris,
>
> >
> >
> > I do have some questions:
> > - the "framework" directory contains a log of tupples:
> > xyz-config-template.xml and xyz-config.xml: Where does the 
> > xyz-config.xml get generated from the template in the ANT build? (I 
> > assume it generates them from the templates as part of the build)...
> > could we possibly omit the "templates"? It seems as if they are only 
> > needed to generate the configs for a given set of configured 
> > properties. If that's the case, we don't need them in the distribution.
> >
>
> I always though the template was created by you when you created the 
> maven build for Royale. So if you think you can remove templates, I 
> think it would be good to reduce files if they are not used at all.
>
>
> > - The root element of the flex-config.xml was named "roayale-config"
> > in the Maven distribution and "flex-config" in the Ant distribution 
> > and it contained a reference to the mxml-2009-manifest.xml. Also did 
> > the Ant version contain a lot more implicit imports as well as a 
> > fxg-base-class element
> >
> >
> maybe this could be the problem we're facing with fx:Array
>
>
> > So far the changes I found ... I updated the distribution in the 
> > "features/distribution-allignment" branch.
> >
>
> Great!
>
>
> >
> > But I guess I'll keep working on this and try to get the maven 
> > distribution to have the same directory structure as the Ant one 
> > (but excluding all the unnecessary stuff).
> >
>
> Chris, let us know when is safe to test, and I'll do a try.
>
> Thanks for working on this!
>
>
> >
> > Chris
> >
> >
> >
> > -Ursprüngliche Nachricht-
> > Von: Christofer Dutz 
> > Gesendet: Sonntag, 28. Februar 2021 12:28
> > An: dev@royale.apache.org
> > Betreff: AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
> >
> > Ok ... regarding the Array problem ...
> >
> > I have found the "Array.as" file in "compiler-externc" and 
> > "royale-typedefs/js" ... both are identical ...
> > I'm not quite sure which one is used (I'm a bit rusty regarding how 
> > all of these externs and stuff work together)
> >
> > I did check and the royale-config.xml lists the 
> > mxml-2009-manifest.xml (in both the non-swf as well as the with-swf 
> > version) so not quite sure why adding that to the configuration changes 
> > anything.
> >
> > Chris
> >
> >
> >
> > -Ursprüngliche Nachricht-
> > Von: Christofer Dutz 
&g

AW: About removing ${royale.framework.version} in pom.xml to refer to MXRoyale CSS in todomvc example

2021-03-01 Thread Christofer Dutz
Sure

-Ursprüngliche Nachricht-
Von: Carlos Rovira  
Gesendet: Montag, 1. März 2021 16:42
An: Apache Royale Development 
Betreff: Re: About removing ${royale.framework.version} in pom.xml to refer to 
MXRoyale CSS in todomvc example

Hi Chris,

ok, just want to confirm with you. I think this is not related to distro, so I 
can put it back, unless you say is not ok to do it, so don't need to worry 
about it and continue with your task

thanks


El lun, 1 mar 2021 a las 13:36, Christofer Dutz ()
escribió:

> Aaahh ... ok .. that one.
>
> I renamed the artifacts in the distribution ... ok ... I think right 
> now it perhaps doesn't make much sense to figgure out these little 
> details and perhaps I should concentrate on the big refactoring. We 
> can then put out the little fires there.
>
> You agree?
>
> Chris
>
>
> -Ursprüngliche Nachricht-
> Von: Carlos Rovira 
> Gesendet: Montag, 1. März 2021 13:33
> An: Apache Royale Development 
> Betreff: Re: About removing ${royale.framework.version} in pom.xml to 
> refer to MXRoyale CSS in todomvc example
>
> Hi Chris,
>
> this commit: "- Updated the config.xmls to refer to the SWCs with the 
> updated Ant-names"
>
> (sha: 70a06fb43714ddc937b985b44595e297b5cd6376)
>
> has the changes I refer. There's some changes in pom.xml examples, but 
> I think since are poms and not distribution are ok
>
>
>
> El dom, 28 feb 2021 a las 21:10, Christofer Dutz (<
> christofer.d...@c-ware.de>)
> escribió:
>
> > Hi Carlos,
> >
> > I can't even recall having changed anything in any of the pom.xml files.
> > I'm currently working on the deistribution.
> >
> > Chris
> >
> >
> > -Ursprüngliche Nachricht-
> > Von: Carlos Rovira 
> > Gesendet: Sonntag, 28. Februar 2021 20:19
> > An: Apache Royale Development 
> > Betreff: About removing ${royale.framework.version} in pom.xml to 
> > refer to MXRoyale CSS in todomvc example
> >
> > Hi Chris,
> >
> > this change in pom.xml:
> >
> >
> > -compiler.exclude-defaults-css-files=MXRoyale-${royale.framework.ver
> > si
> > on}-js.swc:defaults.css;
> >
> > to this:
> >
> > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css;
> >
> > is not working right.
> >
> > If I build todomvc-jewel-crux (for example) with the later, I get 
> > MXRoyale styles mixed in the example.
> >
> > For example the main title gets bigger and bolder.
> >
> > If I return to the older, it works ok.
> >
> > I'm building with Maven, so it seems ok to left as before, while in 
> > asconfigc, I think it will be ok not having version in the name 
> > since SDK doesn't have
> >
> > make that sense?
> >
> > Thanks
> >
> > --
> > 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: About removing ${royale.framework.version} in pom.xml to refer to MXRoyale CSS in todomvc example

2021-03-01 Thread Christofer Dutz
Aaahh ... ok .. that one.

I renamed the artifacts in the distribution ... ok ... I think right now it 
perhaps doesn't make much sense to figgure out these little details and perhaps 
I should concentrate on the big refactoring. We can then put out the little 
fires there.

You agree?

Chris


-Ursprüngliche Nachricht-
Von: Carlos Rovira  
Gesendet: Montag, 1. März 2021 13:33
An: Apache Royale Development 
Betreff: Re: About removing ${royale.framework.version} in pom.xml to refer to 
MXRoyale CSS in todomvc example

Hi Chris,

this commit: "- Updated the config.xmls to refer to the SWCs with the updated 
Ant-names"

(sha: 70a06fb43714ddc937b985b44595e297b5cd6376)

has the changes I refer. There's some changes in pom.xml examples, but I think 
since are poms and not distribution are ok



El dom, 28 feb 2021 a las 21:10, Christofer Dutz ()
escribió:

> Hi Carlos,
>
> I can't even recall having changed anything in any of the pom.xml files.
> I'm currently working on the deistribution.
>
> Chris
>
>
> -Ursprüngliche Nachricht-
> Von: Carlos Rovira 
> Gesendet: Sonntag, 28. Februar 2021 20:19
> An: Apache Royale Development 
> Betreff: About removing ${royale.framework.version} in pom.xml to 
> refer to MXRoyale CSS in todomvc example
>
> Hi Chris,
>
> this change in pom.xml:
>
>
> -compiler.exclude-defaults-css-files=MXRoyale-${royale.framework.versi
> on}-js.swc:defaults.css;
>
> to this:
>
> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css;
>
> is not working right.
>
> If I build todomvc-jewel-crux (for example) with the later, I get 
> MXRoyale styles mixed in the example.
>
> For example the main title gets bigger and bolder.
>
> If I return to the older, it works ok.
>
> I'm building with Maven, so it seems ok to left as before, while in 
> asconfigc, I think it will be ok not having version in the name since 
> SDK doesn't have
>
> make that sense?
>
> Thanks
>
> --
> 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: Library compilation with asconfigc produces an error

2021-03-01 Thread Christofer Dutz
If you are referring to the "asconfigc" start script ... this is one of the 
files that has diverged between the Ant and the Maven distribution.
Actuall allmost all scripts have diverged a bit.

Chris

-Ursprüngliche Nachricht-
Von: Carlos Rovira  
Gesendet: Montag, 1. März 2021 13:30
An: Apache Royale Development 
Betreff: Re: Library compilation with asconfigc produces an error

Hi MJ,

It's strange, since crux is not working for me in that project. maybe something 
is stale...don't know. I'll try to wipe it all and build from scratch. If not 
I'll try to overlay other working example and start from it.

El dom, 28 feb 2021 a las 21:12, Maria Jose Esteve ()
escribió:

> I have tried your changes in the pom, in one of my work projects and 
> it does not really work.
> The libraries compile but something strange happens in the Application 
> (which already happened to me with the namespace patch): in the mxml 
> tags where the "currentState" is referred to, they don't work, for example:
>
>  hasFooterBar="true"
> className="mainbg1"
> className.loggedOut="mainbg2"
> className.loginSelModulo="mainbg2"
> className.loginSelPerfil="mainbg2">
>
> This had worked very well for us so far.
> Or this other:
>
>  visible.loginSelModulo="false"
> visible.loginSelPerfil="false"/>
>
> Crux works well for me.
> What is not working for you?
>
> Hiedra
>
> -Mensaje original-
> De: Carlos Rovira  Enviado el: domingo, 28 de 
> febrero de 2021 20:08
> Para: Apache Royale Development 
> Asunto: Re: Library compilation with asconfigc produces an error
>
> Yes, it compiles, but something is wrong with Crux and I still can get 
> it working right.
> So I think the example is not ok. I'm comparing with other working 
> examples but still can't find what's going wrong, all seems ok
>
> El dom, 28 feb 2021 a las 18:39, Maria Jose Esteve 
> ()
> escribió:
>
> > Hi Carlos, your changes in the pom work for me, I have been able to 
> > compile SimpleLib successfully.
> > Now I'm going to try to access ServiceConfig from AppWithLib.mxml 
> > and I'll tell you.
> >
> > Hiedra
> >
> > -Mensaje original-
> > De: Carlos Rovira  Enviado el: domingo, 28 
> > de febrero de 2021 17:07
> > Para: Apache Royale Development 
> > Asunto: Re: Library compilation with asconfigc produces an error
> >
> > Hi Maria Jose,
> >
> > I finally fixed the issue and I'm able to compile fx:Array in library.
> > I committed the fix in SampleLib.
> > I think it is just a compiler configuration problem. Please take a 
> > look at my changes and let me know what you think
> >
> >
> >
> > El dom, 28 feb 2021 a las 16:37, Carlos Rovira
> > ()
> > escribió:
> >
> > > Hi  Maria Jose,
> > >
> > > I can reproduce the bean:crux problem I'll try to see what's going 
> > > on, since that's not really the problem we want to solve I'll see 
> > > If I can fix it to go to the real one (fx:Array)
> > >
> > > Thanks!
> > >
> > > El dom, 28 feb 2021 a las 2:04, Maria Jose Esteve
> > > ()
> > > escribió:
> > >
> > >> Hi, I have made a small change in the library: add crux:
> > >> BeanProvider and compilation with Maven fails:
> > >>
> > >>
> >
> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\examples\crux\SampleLib\src\main\royale\org\apache\royale\examples\config\ServiceConfig.mxml(19):
> > >> col: 1 This tag could not be resolved to an ActionScript class. 
> > >> It will be ignored.
> > >>
> > >>  > >> ^
> > >>
> > >> I have created a debug document [1] where the development 
> > >> environment, the changes and the most relevant results of the 
> > >> compilations [1] are detailed.
> > >> I have not done a PR, but you can see the changes of my fork [2]
> > >>
> > >> [1]
> > >> https://docs.google.com/document/d/1P8V9Qu0rwcusBVlIMWvjmCSlerIxG
> > >> gi
> > >> Uq
> > >> 9zWZpvz3Zw/edit?usp=sharing [2]
> > >> https://github.com/mjesteve/royale-asjs/tree/Example_AppWithLib
> > >>
> > >> I'm going to check the dependencies and keep document [1] updated 
> > >> so you can see the progress.
> > >>
> > >> Hiedra.
> > >>
> > >> -Mensaje original-
> > >> De: Carlos Rovira  Enviado el: sábado, 
> > >> 27 de febrero de 2021 18:00
> > >> Para: Apache Royale Development 
> > >> Asunto: Re: Library compilation with asconfigc produces an error
> > >>
> > >> Hi Maria Jose,
> > >>
> > >> I added to examples/crux two projects:
> > >>
> > >> - AppWithLib
> > >> - SampleLib
> > >>
> > >> So we can reproduce problems in libraries like the one with 
> > >> fx:Array
> > >>
> > >> Right now SampleLib doesn't have that code to make it fail. So if 
> > >> you want you can add it and make a PR to make it fail.
> > >> If not I'll continue other day and will add it
> > >>
> > >> I'll stop for today
> > >>
> > >> Thanks
> > >>
> > >>
> > >>
> > >> El vie, 26 feb 2021 a las 18:08, Maria Jose Esteve
> > >> ()
> > >> escribió:
> > >>
> > >> > Ok, "I'm ready" for whatever you need me (Friday afternoon I 
> > >> > have free at
> > >> > work)
> 

AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

2021-03-01 Thread Christofer Dutz
Hi Carlos,

So in the branch I'm currently working on changing the distribution build to 
ensure the config files are created based on the templates in the 
asjs/frameworks directory. It is my goal that we have only one place to update 
as probably in most cases the Maven version would be forgotten and the content 
would diverge (I saw the config files and bin scripts in the maven distribution 
already greatly diverged) ... as soon as I'm done with the changes, it should 
be in-sync automatically.

It's quite a bit of work as it effectively is like creating the maven 
distribution from scratch and trying to find out what the ANT build does.

I hope I'll be finished soon, but I have to continue this in my free time (I 
already invested allmost the entire last weekend).

Also I'll try to move things to the same location as with the ANT build and 
hopefully include the sources so debugging should work. 

Chris

-Ursprüngliche Nachricht-
Von: Carlos Rovira  
Gesendet: Montag, 1. März 2021 10:13
An: Apache Royale Development 
Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

Hi Chris,

Thanks Chris, I don't think templates should be in distribution SDK. I think 
only generated ones. In ANT since it's overlying the repo we can find both, but 
an IDE using the SDK should not need it, just the generated versions.

El dom, 28 feb 2021 a las 22:08, Christofer Dutz ()
escribió:

> Hi Carlos,
>
> no ... the templates weren't created by me ... they always were in the 
> frameworks dir ... I think the ANT build takes the templates and 
> inserts variables to generate the real versions. I think I'll try to 
> use these to do the same with maven ... unfortunately the files have 
> gotten pretty out of sync.
>
> But can anyone here tell me if the "template" files need to be in the 
> distribution? Are they needed for anything? Cause I would just add the 
> generated versions.
>
> Chris
>
>
> -Ursprüngliche Nachricht-
> Von: Carlos Rovira 
> Gesendet: Sonntag, 28. Februar 2021 16:53
> An: Apache Royale Development 
> Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
>
> Hi Chris,
>
> >
> >
> > I do have some questions:
> > - the "framework" directory contains a log of tupples:
> > xyz-config-template.xml and xyz-config.xml: Where does the 
> > xyz-config.xml get generated from the template in the ANT build? (I 
> > assume it generates them from the templates as part of the build)...
> > could we possibly omit the "templates"? It seems as if they are only 
> > needed to generate the configs for a given set of configured 
> > properties. If that's the case, we don't need them in the distribution.
> >
>
> I always though the template was created by you when you created the 
> maven build for Royale. So if you think you can remove templates, I 
> think it would be good to reduce files if they are not used at all.
>
>
> > - The root element of the flex-config.xml was named "roayale-config"
> > in the Maven distribution and "flex-config" in the Ant distribution 
> > and it contained a reference to the mxml-2009-manifest.xml. Also did 
> > the Ant version contain a lot more implicit imports as well as a 
> > fxg-base-class element
> >
> >
> maybe this could be the problem we're facing with fx:Array
>
>
> > So far the changes I found ... I updated the distribution in the 
> > "features/distribution-allignment" branch.
> >
>
> Great!
>
>
> >
> > But I guess I'll keep working on this and try to get the maven 
> > distribution to have the same directory structure as the Ant one 
> > (but excluding all the unnecessary stuff).
> >
>
> Chris, let us know when is safe to test, and I'll do a try.
>
> Thanks for working on this!
>
>
> >
> > Chris
> >
> >
> >
> > -Ursprüngliche Nachricht-
> > Von: Christofer Dutz 
> > Gesendet: Sonntag, 28. Februar 2021 12:28
> > An: dev@royale.apache.org
> > Betreff: AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
> >
> > Ok ... regarding the Array problem ...
> >
> > I have found the "Array.as" file in "compiler-externc" and 
> > "royale-typedefs/js" ... both are identical ...
> > I'm not quite sure which one is used (I'm a bit rusty regarding how 
> > all of these externs and stuff work together)
> >
> > I did check and the royale-config.xml lists the 
> > mxml-2009-manifest.xml (in both the non-swf as well as the with-swf 
> > version) so not quite sure why adding that to the configuration changes 
> > anything.
> >
> > Chris

AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

2021-02-28 Thread Christofer Dutz
Hi Carlos,

no ... the templates weren't created by me ... they always were in the 
frameworks dir ... I think the ANT build takes the templates and inserts 
variables to generate the real versions. I think I'll try to use these to do 
the same with maven ... unfortunately the files have gotten pretty out of sync. 

But can anyone here tell me if the "template" files need to be in the 
distribution? Are they needed for anything? Cause I would just add the 
generated versions. 

Chris


-Ursprüngliche Nachricht-
Von: Carlos Rovira  
Gesendet: Sonntag, 28. Februar 2021 16:53
An: Apache Royale Development 
Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

Hi Chris,

>
>
> I do have some questions:
> - the "framework" directory contains a log of tupples:
> xyz-config-template.xml and xyz-config.xml: Where does the 
> xyz-config.xml get generated from the template in the ANT build? (I 
> assume it generates them from the templates as part of the build)... 
> could we possibly omit the "templates"? It seems as if they are only 
> needed to generate the configs for a given set of configured 
> properties. If that's the case, we don't need them in the distribution.
>

I always though the template was created by you when you created the maven 
build for Royale. So if you think you can remove templates, I think it would be 
good to reduce files if they are not used at all.


> - The root element of the flex-config.xml was named "roayale-config" 
> in the Maven distribution and "flex-config" in the Ant distribution 
> and it contained a reference to the mxml-2009-manifest.xml. Also did 
> the Ant version contain a lot more implicit imports as well as a 
> fxg-base-class element
>
>
maybe this could be the problem we're facing with fx:Array


> So far the changes I found ... I updated the distribution in the 
> "features/distribution-allignment" branch.
>

Great!


>
> But I guess I'll keep working on this and try to get the maven 
> distribution to have the same directory structure as the Ant one (but 
> excluding all the unnecessary stuff).
>

Chris, let us know when is safe to test, and I'll do a try.

Thanks for working on this!


>
> Chris
>
>
>
> -Ursprüngliche Nachricht-
> Von: Christofer Dutz 
> Gesendet: Sonntag, 28. Februar 2021 12:28
> An: dev@royale.apache.org
> Betreff: AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
>
> Ok ... regarding the Array problem ...
>
> I have found the "Array.as" file in "compiler-externc" and 
> "royale-typedefs/js" ... both are identical ...
> I'm not quite sure which one is used (I'm a bit rusty regarding how 
> all of these externs and stuff work together)
>
> I did check and the royale-config.xml lists the mxml-2009-manifest.xml 
> (in both the non-swf as well as the with-swf version) so not quite 
> sure why adding that to the configuration changes anything.
>
> Chris
>
>
>
> -Ursprüngliche Nachricht-
> Von: Christofer Dutz 
> Gesendet: Sonntag, 28. Februar 2021 12:08
> An: dev@royale.apache.org
> Betreff: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
>
> Hi all,
>
> so thankfully Carlos re-sent me this link:
> flex-sdk/README_integration_with_Adobe_FlashBuilder.txt at master * 
> apache/flex-sdk (github.com)< 
> https://github.com/apache/flex-sdk/blob/master/ide/flashbuilder/README
> _integration_with_Adobe_FlashBuilder.txt
> >
>
> So it seems as if we don't have a 
> ide/flashbuilder/flashbuilder-config.xml
> with a "express-install-swf" element in it (we don't have the entire 
> file) ... do we need this?
>
> Besides that, it seems all is setup as expected.
>
> Will continue looking into other things that could be wrong.
>
> Chris
>


--
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


AW: About removing ${royale.framework.version} in pom.xml to refer to MXRoyale CSS in todomvc example

2021-02-28 Thread Christofer Dutz
Hi Carlos,

I can't even recall having changed anything in any of the pom.xml files. I'm 
currently working on the deistribution.

Chris


-Ursprüngliche Nachricht-
Von: Carlos Rovira  
Gesendet: Sonntag, 28. Februar 2021 20:19
An: Apache Royale Development 
Betreff: About removing ${royale.framework.version} in pom.xml to refer to 
MXRoyale CSS in todomvc example

Hi Chris,

this change in pom.xml:

-compiler.exclude-defaults-css-files=MXRoyale-${royale.framework.version}-js.swc:defaults.css;

to this:

-compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css;

is not working right.

If I build todomvc-jewel-crux (for example) with the later, I get MXRoyale 
styles mixed in the example.

For example the main title gets bigger and bolder.

If I return to the older, it works ok.

I'm building with Maven, so it seems ok to left as before, while in asconfigc, 
I think it will be ok not having version in the name since SDK doesn't have

make that sense?

Thanks

--
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

2021-02-28 Thread Christofer Dutz
You can just checkout the branch and give it a try

Chris

Holen Sie sich Outlook für Android<https://aka.ms/ghei36>


From: Maria Jose Esteve 
Sent: Sunday, February 28, 2021 2:33:55 PM
To: dev@royale.apache.org 
Subject: RE: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

Hi Chris, do you want me to try some compilation or could I help you with 
something?

Hiedra

-Mensaje original-
De: Christofer Dutz 
Enviado el: domingo, 28 de febrero de 2021 14:09
Para: dev@royale.apache.org
Asunto: AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

So I'm currently comparing the Maven and the Ant distributions and looking for 
differences.

I do have some questions:
- the "framework" directory contains a log of tupples: xyz-config-template.xml 
and xyz-config.xml: Where does the xyz-config.xml get generated from the 
template in the ANT build? (I assume it generates them from the templates as 
part of the build)... could we possibly omit the "templates"? It seems as if 
they are only needed to generate the configs for a given set of configured 
properties. If that's the case, we don't need them in the distribution.

- I noticed the externs seem to have completely different names (in js/libs) 
(royale-typedefs-js.swc in Maven and js.swc in Ant) ... unfortunately the case 
seems to be sort of random: js for the js extern, but GCL for the gcl one)

- I noticed in the maven version the tag is called "swf-external-library-path" 
and in the Ant version it's "external-library-path". Same with swf-libary-path, 
which is called "library-path" in the Ant version.

- The Ant version seems to be missing a number of manifests which the Maven 
version has:
- manifests/svg-manifest-graphics.xml
- manifests/html-manifest.xml
- manifests/mdl-manifest.xml
- manifests/express-manifest.xml
- manifests/fa-manifest.xml
- manifests/jewel-manifest.xml
- manifests/crux-manifest.xml
- manifests/icons-manifest.xml

- The Maven version was missing an entry in "theme" which points to 
themes/Basic/src/basic.css in the Ant version

- In the most xyz-config.xml files the library path references the JS version 
instead of the SWF version of Languages lib.

- The root element of the flex-config.xml was named "roayale-config" in the 
Maven distribution and "flex-config" in the Ant distribution and it contained a 
reference to the mxml-2009-manifest.xml. Also did the Ant version contain a lot 
more implicit imports as well as a fxg-base-class element

- The Maven version of the royale-config.xml adds a path entry to the 
library-path and js-library-path while the Ant version adds each file manually.

So far the changes I found ... I updated the distribution in the 
"features/distribution-allignment" branch.

But I guess I'll keep working on this and try to get the maven distribution to 
have the same directory structure as the Ant one (but excluding all the 
unnecessary stuff).

Chris



-Ursprüngliche Nachricht-
Von: Christofer Dutz 
Gesendet: Sonntag, 28. Februar 2021 12:28
An: dev@royale.apache.org
Betreff: AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

Ok ... regarding the Array problem ...

I have found the "Array.as" file in "compiler-externc" and "royale-typedefs/js" 
... both are identical ...
I'm not quite sure which one is used (I'm a bit rusty regarding how all of 
these externs and stuff work together)

I did check and the royale-config.xml lists the mxml-2009-manifest.xml (in both 
the non-swf as well as the with-swf version) so not quite sure why adding that 
to the configuration changes anything.

Chris



-Ursprüngliche Nachricht-
Von: Christofer Dutz 
Gesendet: Sonntag, 28. Februar 2021 12:08
An: dev@royale.apache.org
Betreff: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

Hi all,

so thankfully Carlos re-sent me this link:
flex-sdk/README_integration_with_Adobe_FlashBuilder.txt at master * 
apache/flex-sdk 
(github.com)<https://github.com/apache/flex-sdk/blob/master/ide/flashbuilder/README_integration_with_Adobe_FlashBuilder.txt>

So it seems as if we don't have a ide/flashbuilder/flashbuilder-config.xml with 
a "express-install-swf" element in it (we don't have the entire file) ... do we 
need this?

Besides that, it seems all is setup as expected.

Will continue looking into other things that could be wrong.

Chris


Integration-Test failures in the compiler module

2021-02-28 Thread Christofer Dutz
Hi all,

as I'm currently working on the maven distribution, I just wanted to re-build 
the compiler with all changes and I'm getting errors in the compiler module:

[ERROR] Failures:
[ERROR]   MXMLClassNodeTests.MXMLClassNode_empty1:56 getValue() shouldn't be 
getting called on a non-expression MXMLClassNode
[ERROR]   MXMLClassNodeTests.MXMLClassNode_empty2:68 getValue() shouldn't be 
getting called on a non-expression MXMLClassNode
[ERROR]   MXMLClassNodeTests.MXMLClassNode_empty3:80 getValue() shouldn't be 
getting called on a non-expression MXMLClassNode
[ERROR]   MXMLFunctionNodeTests.MXMLFunctionNode_empty1:57 getValue() shouldn't 
be getting called on a non-expression MXMLFunctionNode
[ERROR]   MXMLFunctionNodeTests.MXMLFunctionNode_empty2:69 getValue() shouldn't 
be getting called on a non-expression MXMLFunctionNode
[ERROR]   MXMLFunctionNodeTests.MXMLFunctionNode_empty3:81 getValue() shouldn't 
be getting called on a non-expression MXMLFunctionNode

Any ideas what's wrong?

Chris




AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

2021-02-28 Thread Christofer Dutz
So I'm currently comparing the Maven and the Ant distributions and looking for 
differences.

I do have some questions:
- the "framework" directory contains a log of tupples: xyz-config-template.xml 
and xyz-config.xml: Where does the xyz-config.xml get generated from the 
template in the ANT build? (I assume it generates them from the templates as 
part of the build)... could we possibly omit the "templates"? It seems as if 
they are only needed to generate the configs for a given set of configured 
properties. If that's the case, we don't need them in the distribution.

- I noticed the externs seem to have completely different names (in js/libs) 
(royale-typedefs-js.swc in Maven and js.swc in Ant) ... unfortunately the case 
seems to be sort of random: js for the js extern, but GCL for the gcl one)

- I noticed in the maven version the tag is called "swf-external-library-path" 
and in the Ant version it's "external-library-path". Same with swf-libary-path, 
which is called "library-path" in the Ant version.

- The Ant version seems to be missing a number of manifests which the Maven 
version has: 
- manifests/svg-manifest-graphics.xml
- manifests/html-manifest.xml
- manifests/mdl-manifest.xml
- manifests/express-manifest.xml
- manifests/fa-manifest.xml
- manifests/jewel-manifest.xml
- manifests/crux-manifest.xml
- manifests/icons-manifest.xml

- The Maven version was missing an entry in "theme" which points to 
themes/Basic/src/basic.css in the Ant version

- In the most xyz-config.xml files the library path references the JS version 
instead of the SWF version of Languages lib.

- The root element of the flex-config.xml was named "roayale-config" in the 
Maven distribution and "flex-config" in the Ant distribution and it contained a 
reference to the mxml-2009-manifest.xml. Also did the Ant version contain a lot 
more implicit imports as well as a fxg-base-class element

- The Maven version of the royale-config.xml adds a path entry to the 
library-path and js-library-path while the Ant version adds each file manually.

So far the changes I found ... I updated the distribution in the 
"features/distribution-allignment" branch.

But I guess I'll keep working on this and try to get the maven distribution to 
have the same directory structure as the Ant one (but excluding all the 
unnecessary stuff).

Chris



-Ursprüngliche Nachricht-
Von: Christofer Dutz  
Gesendet: Sonntag, 28. Februar 2021 12:28
An: dev@royale.apache.org
Betreff: AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

Ok ... regarding the Array problem ...

I have found the "Array.as" file in "compiler-externc" and "royale-typedefs/js" 
... both are identical ...
I'm not quite sure which one is used (I'm a bit rusty regarding how all of 
these externs and stuff work together)

I did check and the royale-config.xml lists the mxml-2009-manifest.xml (in both 
the non-swf as well as the with-swf version) so not quite sure why adding that 
to the configuration changes anything.

Chris



-Ursprüngliche Nachricht-
Von: Christofer Dutz  
Gesendet: Sonntag, 28. Februar 2021 12:08
An: dev@royale.apache.org
Betreff: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

Hi all,

so thankfully Carlos re-sent me this link:
flex-sdk/README_integration_with_Adobe_FlashBuilder.txt at master * 
apache/flex-sdk 
(github.com)<https://github.com/apache/flex-sdk/blob/master/ide/flashbuilder/README_integration_with_Adobe_FlashBuilder.txt>

So it seems as if we don't have a ide/flashbuilder/flashbuilder-config.xml with 
a "express-install-swf" element in it (we don't have the entire file) ... do we 
need this?

Besides that, it seems all is setup as expected.

Will continue looking into other things that could be wrong.

Chris


AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

2021-02-28 Thread Christofer Dutz
Ok ... regarding the Array problem ...

I have found the "Array.as" file in "compiler-externc" and "royale-typedefs/js" 
... both are identical ...
I'm not quite sure which one is used (I'm a bit rusty regarding how all of 
these externs and stuff work together)

I did check and the royale-config.xml lists the mxml-2009-manifest.xml (in both 
the non-swf as well as the with-swf version) so not quite sure why adding that 
to the configuration changes anything.

Chris



-Ursprüngliche Nachricht-
Von: Christofer Dutz  
Gesendet: Sonntag, 28. Februar 2021 12:08
An: dev@royale.apache.org
Betreff: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

Hi all,

so thankfully Carlos re-sent me this link:
flex-sdk/README_integration_with_Adobe_FlashBuilder.txt at master * 
apache/flex-sdk 
(github.com)<https://github.com/apache/flex-sdk/blob/master/ide/flashbuilder/README_integration_with_Adobe_FlashBuilder.txt>

So it seems as if we don't have a ide/flashbuilder/flashbuilder-config.xml with 
a "express-install-swf" element in it (we don't have the entire file) ... do we 
need this?

Besides that, it seems all is setup as expected.

Will continue looking into other things that could be wrong.

Chris


[MAVEN DISTRIBUTION] getting the Ant and Maven aligned

2021-02-28 Thread Christofer Dutz
Hi all,

so thankfully Carlos re-sent me this link:
flex-sdk/README_integration_with_Adobe_FlashBuilder.txt at master * 
apache/flex-sdk 
(github.com)

So it seems as if we don't have a ide/flashbuilder/flashbuilder-config.xml with 
a "express-install-swf" element in it (we don't have the entire file) ... do we 
need this?

Besides that, it seems all is setup as expected.

Will continue looking into other things that could be wrong.

Chris


Re: [Discuss] What to do with SWF target now that Adobe removed Flash Player in 2021 (Re: How to build from now on?)

2021-02-25 Thread Christofer Dutz
t;> write a parser to get all of the data we need to generate AS3 stub
>>> classes
>>>> and build a SWC from that.
>>>>
>>>> --
>>>> Josh Tynjala
>>>> Bowler Hat LLC <https://bowlerhat.dev>
>>>>
>>>>
>>>> On Sun, Jan 3, 2021 at 11:07 AM Harbs  wrote:
>>>>
>>>>> Let’s wait and see whether we are dealing with real issues or not. If
>>>> it’s
>>>>> an issue we can debate solutions.
>>>>>
>>>>> I’m happy to ask my Adobe contacts what the plan is.
>>>>>
>>>>>> On Jan 3, 2021, at 8:52 PM, Carlos Rovira 
>>>>> wrote:
>>>>>>
>>>>>> Hi Harbs,
>>>>>>
>>>>>> the problem here's that I think we are on Apache, and using a piece
>>> of
>>>>>> software that is under a clear license use will be against the
>>>> foundation
>>>>>> rules. So although you or I can host the files, that's not seem to
>>> me
>>>>> like
>>>>>> a solution to the real problem.
>>>>>>
>>>>>> I'm for go step by step and first try to talk with Adobe
>>>> representatives
>>>>> to
>>>>>> get the permission for Apache to host the player files only for our
>>>> flex
>>>>>> and royale use cases. I think we could continue discussion after we
>>>> know
>>>>>> the solution to this request
>>>>>>
>>>>>> Can you, Alex or others do this request? or if you want I can do it,
>>>> but
>>>>>> need someone to provide me the contact at adobe.
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>>
>>>>>>
>>>>>> El dom, 3 ene 2021 a las 15:59, Harbs ()
>>>>> escribió:
>>>>>>
>>>>>>> There’s no license agreement when downloading playerglobal or the
>>>>> content
>>>>>>> debugger.
>>>>>>>
>>>>>>> I’m willing to take the risk to personally host these files if
>>>>> necessary.
>>>>>>>
>>>>>>>> On Jan 3, 2021, at 4:47 PM, Christofer Dutz <
>>>> christofer.d...@c-ware.de
>>>>>>
>>>>>>> wrote:
>>>>>>>>
>>>>>>>> And I doubt we would be allowed to simply upload Adobe stuff to
>>> any
>>>>>>> other server wirhout explicit conset from them. The license
>>> agreement
>>>>> you
>>>>>>> agreed to when downloading explicitly forbids that (at least it
>>> did,
>>>>> wenn
>>>>>>> we were working on the Flex Mavenizer and I doubt things changed)
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> --
>>>>>> 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: Current state of the distributions alligning?

2021-02-24 Thread Christofer Dutz
Hi all,

But having seen that some of you setup two properties to allow code-navigation 
... 
one to the maven sistribuition and one to the checkout ... this seems 
inconvenient.

Perhaps it's time I found out which parts of the ANT distribution are actually 
needed and to make the distributions structurally more similar (Of course in a 
branch)

Chris


-Ursprüngliche Nachricht-
Von: Christofer Dutz  
Gesendet: Mittwoch, 24. Februar 2021 10:39
An: dev@royale.apache.org
Betreff: AW: Current state of the distributions alligning?

Hi Piotr,

the structure is unfortunately not identical so it's difficult to compare.
So I was hoping on some reports on what's not working.

I have seen that the ANT version contains all the project sources.
The Maven version simply adds a "manifests" directory that contains all the 
manifest files.

Chris


-Ursprüngliche Nachricht-
Von: Piotr Zarzycki 
Gesendet: Mittwoch, 24. Februar 2021 10:33
An: Apache Royale Development 
Betreff: Re: Current state of the distributions alligning?

Hi Chris,

Did you check as a comparison ANT distribution vs Maven ? I think this is the 
way to go. I hope to have some time and check the state of distribution today.

Thanks,
Piotr

śr., 24 lut 2021 o 10:24 Christofer Dutz 
napisał(a):

> Hi all,
>
> after the discussions have calmed down in multiple threads, I would 
> like to merge the discussion beck to one thread and continue making 
> the Maven distribution as perfect as possible.
>
> What's the current state from a user perspective? What still needs fixing?
> Is anything missing?
>
> I know that currently not all manifests are listed in the 
> royale-config.xml ... anything else?
>
>
> Chris
>


-- 

Piotr Zarzycki


AW: Current state of the distributions alligning?

2021-02-24 Thread Christofer Dutz
Hi Piotr,

the structure is unfortunately not identical so it's difficult to compare.
So I was hoping on some reports on what's not working.

I have seen that the ANT version contains all the project sources.
The Maven version simply adds a "manifests" directory that contains all the 
manifest files.

Chris


-Ursprüngliche Nachricht-
Von: Piotr Zarzycki  
Gesendet: Mittwoch, 24. Februar 2021 10:33
An: Apache Royale Development 
Betreff: Re: Current state of the distributions alligning?

Hi Chris,

Did you check as a comparison ANT distribution vs Maven ? I think this is the 
way to go. I hope to have some time and check the state of distribution today.

Thanks,
Piotr

śr., 24 lut 2021 o 10:24 Christofer Dutz 
napisał(a):

> Hi all,
>
> after the discussions have calmed down in multiple threads, I would 
> like to merge the discussion beck to one thread and continue making 
> the Maven distribution as perfect as possible.
>
> What's the current state from a user perspective? What still needs fixing?
> Is anything missing?
>
> I know that currently not all manifests are listed in the 
> royale-config.xml ... anything else?
>
>
> Chris
>


-- 

Piotr Zarzycki


Current state of the distributions alligning?

2021-02-24 Thread Christofer Dutz
Hi all,

after the discussions have calmed down in multiple threads, I would like to 
merge the discussion beck to one thread and continue making the Maven 
distribution as perfect as possible.

What's the current state from a user perspective? What still needs fixing? Is 
anything missing?

I know that currently not all manifests are listed in the royale-config.xml ... 
anything else?


Chris


AW: [DISCUSS] jQuery or JQuery ... that is the question

2021-02-23 Thread Christofer Dutz
Hi Harbs,

I agree ... it's definitely not a big deal. It's just something we need to 
communicate.

But the more I think of it ... are there 3rd party libararies outside which use 
the (j/J)Query module?

If mainly applications use it, that should really be changing of one letter in 
the pom.xml

If it's however used in libraries we might have a problem:
Cause if we change to "jQuery" and there is a library using "JQuery-0.9.7" this 
might actually become a problem, as Maven would include the JQuery-0.9.7 and 
our jQuery-0.9.8 as it's technically two different artifacts. If we leave it at 
JQuery and release a new version, maven would know these are different versions 
of the same artifact and resolve the version problematic automatically. If we 
change the name, maven will treat them as different artifacts.

The more I think of it, the more I think we should use "JQuery" ...

But I think you folks probably have way more experience with how likely the one 
or the other scenario is.

Chris



-Ursprüngliche Nachricht-
Von: Harbs  
Gesendet: Dienstag, 23. Februar 2021 10:49
An: Apache Royale Development 
Betreff: Re: [DISCUSS] jQuery or JQuery ... that is the question

“jQuery” is technically more “correct” as that’s the official name.

Also, the type in Actionscript is “jQuery” and not “JQuery”.

For users of ANT or asconfigc, the capitalization should not matter because in 
normal use, the library SWC is not referenced directly.

My understanding from you is that changing the capitalization will break things 
for users of Maven.

That seems to me like an argument to change it to “JQuery” for all builds, 
although making a change in a pom for users who have the dependency is probably 
not a big deal. Making it capital would make the swc file name and the type 
name not match.

I don’t have a strong opinion one way or the other, but those seem to be the 
sides of the question to me. It does make sense to me that all builds should 
have matching file names and capitalizations. If I was forced to pick one, I’d 
probably pick “jQuery”, but like I said I don’t care very much.

My $0.02,
Harbs

> On Feb 23, 2021, at 10:48 AM, Christofer Dutz  
> wrote:
> 
> Hi all,
> 
> while working on making both the ANT and Maven distributions as similar as 
> possible, we noticed that in the Ant build the jQuery Library is called 
> "jQuery" (with a lower-case J) and in Maven all libaries are capitalized.
> 
> I think we should streamline this that it's equal in both.
> 
> The question is which one to change?
> 
> Changing the Maven one will have very clear implications: Except that every 
> dependency to the artifact will have to be changed to the lower-case version, 
> there are no side-effecty. I would however consider this a breaking change as 
> if you use jQuery you can't just bump the Royale version and get things 
> working. So if we go down this path, we should mention this in the 
> RELEASE_NOTES as breaking change.
> 
> If we change the ANT version, we would have all libs follow the same pattern 
> (just an esthetic advantage in my opinion ... but it does pop my eye 
> everytime I see it). But I can't say which implications this would have to 
> the backward compatibility. I would however expect this not to be a breaking 
> change. As I have learned in the past few weeks, when working with ANT people 
> usually rely on the manifests and catalogs of the SDK. These would be updated 
> by us and simply building against a newer SDK would use upsted catalogs and 
> manifests and therefore shouldn't have any effect. But I'm no expert on this 
> form of build.
> 
> If I had a vote, I would probably vote for having capital letters for all 
> libs.
> 
> Chris
> 
> 
> 



AW: Library compilation with asconfigc produces an error

2021-02-23 Thread Christofer Dutz
Hmmm ... actually all changes I did recently should have only had effects on 
the Maven build SDK.

So if you are using maven to build, we should probably dig deeper, but I 
wouldn't assume that the issues are related to that work.

But reading your email in more detail ... you are building the distribution 
with maven and using it in VSCode or alike?

Chris

-Ursprüngliche Nachricht-
Von: Maria Jose Esteve  
Gesendet: Dienstag, 23. Februar 2021 10:01
An: dev@royale.apache.org
Betreff: Library compilation with asconfigc produces an error

Hello, let's see if someone can give me a clue ...
I always compile my app projects and libraries with mvn.
In the last few days, with all this from the sdk, I am getting a very strange 
error when compiling my libraries ... it does not recognize the tag "".
I wanted to do a test: compile with asconfigc but I get a different error:

> Executing task in folder royale-library: asconfigc 
> --sdk=D:\Apache\apache-royale-0.9.8-maven <

args:
+royalelib=D:\Apache\apache-royale-0.9.8-maven\frameworks
+configname=royale
--debug=true
--targets=JSRoyale
--source-path+=src/main/royale
--include-namespaces+=library://ns.mjesteve.com/royalecharting/library
--namespace+=library://ns.mjesteve.com/royalecharting/library,src/main/resources/library-manifest.xml
--include-classes=LibraryClasses.as
--include-sources+=src/main/royale
--library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
--js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
--define+=COMPILE::JS,true
--define+=COMPILE::SWF,false
--source-map=true
--output=target/royale-library-1.0-SNAPSHOT-js.swc
-remove-circulars
-js-output-optimization=skipAsCoercions
target:JSRoyale
COMPCJSCRoyale
Could not find source for class LibraryClasses.as.

This is my asconfig.json file:

 {
"config": "royale",
"type": "lib",
"compilerOptions": {
"debug": true,
"targets": [
"JSRoyale"
],
"source-path": [
"src/main/royale"
],
"include-namespaces": [
"library://ns.mjesteve.com/royalecharting/library"
],
"namespace": [
{
"uri": "library://ns.mjesteve.com/royalecharting/library",
"manifest": "src/main/resources/library-manifest.xml"
}
],
"include-classes": [
"LibraryClasses.as"
],
"include-sources": [
"src/main/royale"
],
"library-path": [
"${royalelib}/js/libs/MXRoyaleJS.swc"
],
"js-library-path": [
"${royalelib}/js/libs/MXRoyaleJS.swc"
],
"define": [
{
"name": "COMPILE::JS",
"value": true
},
{
"name": "COMPILE::SWF",
"value": false
}
],
"source-map": true,
"output": "target/royale-library-1.0-SNAPSHOT-js.swc"
}
}

Any clues to the "Could not find source for class LibraryClasses.as" error?

Thank you all.
Hiedra


[DISCUSS] jQuery or JQuery ... that is the question

2021-02-23 Thread Christofer Dutz
Hi all,

while working on making both the ANT and Maven distributions as similar as 
possible, we noticed that in the Ant build the jQuery Library is called 
"jQuery" (with a lower-case J) and in Maven all libaries are capitalized.

I think we should streamline this that it's equal in both.

The question is which one to change?

Changing the Maven one will have very clear implications: Except that every 
dependency to the artifact will have to be changed to the lower-case version, 
there are no side-effecty. I would however consider this a breaking change as 
if you use jQuery you can't just bump the Royale version and get things 
working. So if we go down this path, we should mention this in the 
RELEASE_NOTES as breaking change.

If we change the ANT version, we would have all libs follow the same pattern 
(just an esthetic advantage in my opinion ... but it does pop my eye everytime 
I see it). But I can't say which implications this would have to the backward 
compatibility. I would however expect this not to be a breaking change. As I 
have learned in the past few weeks, when working with ANT people usually rely 
on the manifests and catalogs of the SDK. These would be updated by us and 
simply building against a newer SDK would use upsted catalogs and manifests and 
therefore shouldn't have any effect. But I'm no expert on this form of build.

If I had a vote, I would probably vote for having capital letters for all libs.

Chris





AW: Align Maven IDE distribution with Ant IDE distribution

2021-02-22 Thread Christofer Dutz
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  
Gesendet: Montag, 22. Februar 2021 19:10
An: Apache Royale Development 
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 ()
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 
> 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 
> Gesendet: Montag, 22. Februar 2021 13:17
> An: Apache Royale Development 
> 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.d...@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 
> > 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  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\pro

AW: Align Maven IDE distribution with Ant IDE distribution

2021-02-22 Thread Christofer Dutz
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  
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  
Gesendet: Montag, 22. Februar 2021 13:17
An: Apache Royale Development 
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 ()
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 
> 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  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:

AW: Align Maven IDE distribution with Ant IDE distribution

2021-02-22 Thread Christofer Dutz
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  
Gesendet: Montag, 22. Februar 2021 13:17
An: Apache Royale Development 
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 ()
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 
> 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  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 
> 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 

AW: Align Maven IDE distribution with Ant IDE distribution

2021-02-22 Thread Christofer Dutz
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  
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  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  
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  
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 
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 
mailto:piotrzarzyck...@gmail.com>>

Gesendet: Montag, 22. Februar 2021 12:05

An: Apache Royale Development 
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 
mailto:alinakazi1...@gmail.com>> napisał(a

AW: Align Maven IDE distribution with Ant IDE distribution

2021-02-22 Thread Christofer Dutz
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  
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  
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 
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 
mailto:piotrzarzyck...@gmail.com>>

Gesendet: Montag, 22. Februar 2021 12:05

An: Apache Royale Development 
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 
mailto:alinakazi1...@gmail.com>> napisał(a):



> Thanks Chris.

>

> On Mon, Feb 22, 2021 at 3:59 PM Maria Jose Esteve 
> mailto:mjest...@iest.com>>

> wrote:

>

> > Thanks Chris, I'll be listening.

> >

> > Hiedra

> > -Mensaje original-

> > De: Christofer Dutz 
> > mailto:christofer.d...@c-ware.de>>

> > Enviado el: lunes, 22 de febrero de 2021 11:52

> > Para: dev@royale.apache.org<mailto: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 mailto:alinakazi1...@gmail.com>>

> > Gesendet: Montag, 22. Februar 2021 11:26

> > An: dev@royale.apache.org<mailto: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 
> > mailto:mjest...@iest.com>>

> > wrote:

> >

> > > I can't work either.

> > > With no Maven, Ant combination, always error: "Error  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 
> > > mailto:piotrzarzyck...@gmail.com>> Enviado el: 
> > > lunes, 22

> > > de febrero de 2021 11:03

> > > Para: Apache Royale Development 
> > > mailto:dev@royale.ap

AW: Align Maven IDE distribution with Ant IDE distribution

2021-02-22 Thread Christofer Dutz
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  
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 
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 
mailto:piotrzarzyck...@gmail.com>>

Gesendet: Montag, 22. Februar 2021 12:05

An: Apache Royale Development 
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 
mailto:alinakazi1...@gmail.com>> napisał(a):



> Thanks Chris.

>

> On Mon, Feb 22, 2021 at 3:59 PM Maria Jose Esteve 
> mailto:mjest...@iest.com>>

> wrote:

>

> > Thanks Chris, I'll be listening.

> >

> > Hiedra

> > -Mensaje original-

> > De: Christofer Dutz 
> > mailto:christofer.d...@c-ware.de>>

> > Enviado el: lunes, 22 de febrero de 2021 11:52

> > Para: dev@royale.apache.org<mailto: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 mailto:alinakazi1...@gmail.com>>

> > Gesendet: Montag, 22. Februar 2021 11:26

> > An: dev@royale.apache.org<mailto: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 
> > mailto:mjest...@iest.com>>

> > wrote:

> >

> > > I can't work either.

> > > With no Maven, Ant combination, always error: "Error  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 
> > > mailto:piotrzarzyck...@gmail.com>> Enviado el: 
> > > lunes, 22

> > > de febrero de 2021 11:03

> > > Para: Apache Royale Development 
> > > 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:

> > >

> > > : 

AW: Align Maven IDE distribution with Ant IDE distribution

2021-02-22 Thread Christofer Dutz
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  
Gesendet: Montag, 22. Februar 2021 12:05
An: Apache Royale Development 
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  napisał(a):

> Thanks Chris.
>
> On Mon, Feb 22, 2021 at 3:59 PM Maria Jose Esteve 
> wrote:
>
> > Thanks Chris, I'll be listening.
> >
> > Hiedra
> > -Mensaje original-
> > De: Christofer Dutz 
> > 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 
> > 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 
> > wrote:
> >
> > > I can't work either.
> > > With no Maven, Ant combination, always error: "Error  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  Enviado el: lunes, 22
> > > de febrero de 2021 11:03
> > > Para: Apache Royale Development 
> > > 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)
&

AW: Align Maven IDE distribution with Ant IDE distribution

2021-02-22 Thread Christofer Dutz
oyale.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 
> 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
> >
> >  > -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.d...@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 
> > > Gesendet: Samstag, 20. Februar 2021 15:17
> > > An: Apache Royale Development 
> > > 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 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/Con

AW: Align Maven IDE distribution with Ant IDE distribution

2021-02-20 Thread Christofer Dutz
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  
Gesendet: Samstag, 20. Februar 2021 15:17
An: Apache Royale Development 
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 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 ()
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  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  Enviado el: viernes, 
> > 19 de febrero de 2021 18:11
> > Para: Apache Royale Development 
> > Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
> >
> > Did you test my distribution ?
> >
> > pt., 19 lut 2021 o 18:00 Christofer Dutz 
> > 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": &

Re: Royale nightly server down again

2021-02-20 Thread Christofer Dutz
Well the builds I had setup quite some time ago. Will have a look at what's 
missing.

Chris

Holen Sie sich Outlook für Android<https://aka.ms/ghei36>


From: Carlos Rovira 
Sent: Saturday, February 20, 2021 2:52:25 PM
To: Apache Royale Development 
Subject: Re: Royale nightly server down again

Hi Chris,

thanks, I was thinking we need infra's hand here to sete up agents.
Yes, please go ahead with this task. I think for sure that you're the best
qualified in the team and with all knowledge to make this in few time.

Many thanks! :)

El jue, 18 feb 2021 a las 23:16, Christofer Dutz ()
escribió:

> Hi all,
>
> There's nothing we need to have them setup for us (I think)
>
> Only if we insist on them installing the Flashplayer ... then we might
> need help.
>
> We already have a Space (But I should probably double check cause I don't
> know if all spaces have been migrated to the new Jenkins)
> Unfortunately today of all days was one where there seem to have been huge
> issues. Hopefully they'll have service back up and running soon.
>
> If you want, I would volunteer to take care of this.
>
> Chris
>
>
> -Ursprüngliche Nachricht-
> Von: Carlos Rovira 
> Gesendet: Donnerstag, 18. Februar 2021 17:32
> An: Apache Royale Development 
> Betreff: Re: Royale nightly server down again
>
> Hi Harbs,
>
> I think the best is to open a ticket in infra to request the needs so they
> setup for us. The important thing here is that all things we want to use
> are behind Apache systems to ensure we have infra supporting us. Then once
> we have the resources we can plan the set up.
>
> What do you think?
>
>
>
>
> El jue, 18 feb 2021 a las 16:53, Harbs () escribió:
>
> > Sounds cool.
> >
> > What I would love to be able to do is:
> > 1. have a build machine (I think Windows is still a requirement as
> > long as we’re using SWF).
> > 2. Push the nightly builds to something like S3 to make downloads
> > faster and easier (and not require a load on the build server.
> > 3. Extra credit if we can get it to work with Cloudfront or something
> > for cdn downloads of the nightlies.
> >
> > I’d also like to be able to setup multiple servers to be able to test
> > reproducible builds.
> >
> > > On Feb 18, 2021, at 5:41 PM, Carlos Rovira 
> > wrote:
> > >
> > > Hi Andrew,
> > >
> > > if Apache infra supports AWS out-of-the-box, that will be amazing
> > > and a solution for our problem! :)
> > >
> > >
> > >
> > > El jue, 18 feb 2021 a las 16:35, Andrew Wetmore
> > > ()
> > > escribió:
> > >
> > >> Infra has some Apache-dedicated AWS space available, I believe. If
> > Royale
> > >> starts a Jira ticket aimed at INFRA, they can talk us through what
> > >> is involved.
> > >>
> > >> I will ask at today's team meeting.
> > >>
> > >> Andrew
> > >>
> > >> On Thu, Feb 18, 2021 at 11:30 AM Carlos Rovira
> > >>  > >
> > >> wrote:
> > >>
> > >>> Hi,
> > >>>
> > >>> my motivation behind of the use of Apache machines is to be "as
> > >> compliant"
> > >>> as possible with Apache, since we are an apache project. We use
> > >>> AWS and love it, but setting up another machine that is tied to
> > >>> one of us
> > >> wouldn't
> > >>> be the same problem in the end? I mean, if we rely on apache
> > >>> infrastructure, we always can get the help of Apache infra...but
> > >>> if we
> > do
> > >>> things on our own that means we depend on us to be accessible to
> > >>> avoid
> > >> the
> > >>> rest of the project to be on a halt.
> > >>>
> > >>> That doesn't mean that we shouldn't use AWS... but just one to
> > >>> make a
> > >> point
> > >>> so you put in the balance, and if finally you want to go that
> > >>> route is because we consider it too.
> > >>>
> > >>> thanks
> > >>>
> > >>>
> > >>>
> > >>> El jue, 18 feb 2021 a las 11:15, Harbs ()
> > >> escribió:
> > >>>
> > >>>> Let’s connect early next week on this?
> > >>>>
> > >>>>> On Feb 18, 2021, at 12:04 PM, Christofer Dutz <
> > >>> christofer.d...@c-ware.de>
> > >>>>

AW: Align Maven IDE distribution with Ant IDE distribution

2021-02-19 Thread Christofer Dutz
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  
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  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 
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 "-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  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 
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  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

AW: Align Maven IDE distribution with Ant IDE distribution

2021-02-19 Thread Christofer Dutz
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  
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 
Gesendet: Freitag, 19. Februar 2021 15:52
An: Apache Royale Development 
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 
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 
> Gesendet: Freitag, 19. Februar 2021 15:49
> An: Apache Royale Development 
> 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 
> 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 
> > 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 
> > 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 
> > Gesendet: Freitag, 19. Februar 2021 15:06
> > An: Apache Royale Development 
> > 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 
> > 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 a

AW: Align Maven IDE distribution with Ant IDE distribution

2021-02-19 Thread Christofer Dutz
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  
Gesendet: Freitag, 19. Februar 2021 15:52
An: Apache Royale Development 
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 
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 
> Gesendet: Freitag, 19. Februar 2021 15:49
> An: Apache Royale Development 
> 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 
> 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 
> > 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 
> > 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 
> > Gesendet: Freitag, 19. Februar 2021 15:06
> > An: Apache Royale Development 
> > 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 
> > 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 
> > > 
> > > 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 
> > >> Gesendet: Freitag, 19. Februar 2021 1

AW: Align Maven IDE distribution with Ant IDE distribution

2021-02-19 Thread Christofer Dutz
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  
Gesendet: Freitag, 19. Februar 2021 15:49
An: Apache Royale Development 
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 
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 
> 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 
> 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 
> Gesendet: Freitag, 19. Februar 2021 15:06
> An: Apache Royale Development 
> 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 
> 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 
> > 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 
> >> Gesendet: Freitag, 19. Februar 2021 14:50
> >> An: Apache Royale Development 
> >> 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 
> >> 
> >> 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 
> >> > Gesendet: Freitag, 19. Februar 2021 14:41
> >> > An: Apache Royale Development 
> >> > Betreff: Re: Align Maven IDE distribution with Ant IDE 
> >> > distribution
> >> >
> >> > I have executed something like tha

AW: Align Maven IDE distribution with Ant IDE distribution

2021-02-19 Thread Christofer Dutz
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  
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 
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 
Gesendet: Freitag, 19. Februar 2021 15:06
An: Apache Royale Development 
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 
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 
> 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 
>> Gesendet: Freitag, 19. Februar 2021 14:50
>> An: Apache Royale Development 
>> 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 
>> 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 
>> > Gesendet: Freitag, 19. Februar 2021 14:41
>> > An: Apache Royale Development 
>> > 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 
>> > 
>> > 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 
>> > > Gesendet: Freitag, 19. Februar 2021 14:12
>> > > An: dev@royale.apache.org
>> > > Betreff: AW: Align Maven IDE distribution with Ant IDE 
>> > > distribution
>> > >
>> > > Hi Hiedra,
>

AW: Align Maven IDE distribution with Ant IDE distribution

2021-02-19 Thread Christofer Dutz
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  
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 
Gesendet: Freitag, 19. Februar 2021 15:06
An: Apache Royale Development 
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 
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 
> 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 
>> Gesendet: Freitag, 19. Februar 2021 14:50
>> An: Apache Royale Development 
>> 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 
>> 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 
>> > Gesendet: Freitag, 19. Februar 2021 14:41
>> > An: Apache Royale Development 
>> > 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 
>> > 
>> > 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 
>> > > 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
>> > >
>> > >
>> > 

AW: Align Maven IDE distribution with Ant IDE distribution

2021-02-19 Thread Christofer Dutz
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  
Gesendet: Freitag, 19. Februar 2021 15:06
An: Apache Royale Development 
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 
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 
> 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 
>> Gesendet: Freitag, 19. Februar 2021 14:50
>> An: Apache Royale Development 
>> 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 
>> 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 
>> > Gesendet: Freitag, 19. Februar 2021 14:41
>> > An: Apache Royale Development 
>> > 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 
>> > 
>> > 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 
>> > > 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 
>> > > 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 

AW: Align Maven IDE distribution with Ant IDE distribution

2021-02-19 Thread Christofer Dutz
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  
Gesendet: Freitag, 19. Februar 2021 14:50
An: Apache Royale Development 
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 
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 
> Gesendet: Freitag, 19. Februar 2021 14:41
> An: Apache Royale Development 
> 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 
> 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 
> > 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 
> > 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 
> > "-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  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 
> > 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 "as3

AW: Align Maven IDE distribution with Ant IDE distribution

2021-02-19 Thread Christofer Dutz
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  
Gesendet: Freitag, 19. Februar 2021 14:41
An: Apache Royale Development 
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 
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 
> 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 
> 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 
> "-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  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 
> 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  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.

AW: Align Maven IDE distribution with Ant IDE distribution

2021-02-19 Thread Christofer Dutz
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  
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 
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 "-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  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 
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  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 
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&qu

AW: Align Maven IDE distribution with Ant IDE distribution

2021-02-19 Thread Christofer Dutz
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  
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 "-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  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 
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  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 
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  Enviado el: viernes, 19 de 
febrero de 2021 10:44
Para: Apache Royale Development 
Asunto: Re: Align Maven IDE distribution with Ant IDE

AW: Align Maven IDE distribution with Ant IDE distribution

2021-02-19 Thread Christofer Dutz
Hi Piotr,

It will use the one defined in the parent pom (framework) ... That's currently 
set to:

1.1.0
0.9.9-SNAPSHOT
0.9.8-SNAPSHOT

Hope that helps.

Chris

-Ursprüngliche Nachricht-
Von: Piotr Zarzycki  
Gesendet: Freitag, 19. Februar 2021 13:58
An: Apache Royale Development 
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 
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 
> Gesendet: Freitag, 19. Februar 2021 13:52
> An: Apache Royale Development 
> 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  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  Enviado el: viernes, 
> > 19 de febrero de 2021 13:21
> > Para: Apache Royale Development 
> > 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 
> > 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 
> > 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 t

AW: Align Maven IDE distribution with Ant IDE distribution

2021-02-19 Thread Christofer Dutz
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  
Gesendet: Freitag, 19. Februar 2021 13:11
An: Apache Royale Development 
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  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  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 
> 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 no

AW: Align Maven IDE distribution with Ant IDE distribution

2021-02-19 Thread Christofer Dutz
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  
Gesendet: Freitag, 19. Februar 2021 13:52
An: Apache Royale Development 
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  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  Enviado el: viernes, 19 
> de febrero de 2021 13:21
> Para: Apache Royale Development 
> 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 
> 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 
> 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  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:
> >>

AW: Align Maven IDE distribution with Ant IDE distribution

2021-02-19 Thread Christofer Dutz
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  
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  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 
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  Enviado el: viernes, 19 de 
febrero de 2021 10:44
Para: Apache Royale Development 
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  napisał(a):

> @Chris you're right, sorry, I didn't download your last commit.
> I'm sorry.
> Hiedra.
>
> -Mensaje original-
> De: Christofer Dutz  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 
> 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/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.sw
> c
>
> ../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc
>   
>
> Las correc

AW: Align Maven IDE distribution with Ant IDE distribution

2021-02-19 Thread Christofer Dutz
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  
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  Enviado el: viernes, 19 de 
febrero de 2021 10:44
Para: Apache Royale Development 
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  napisał(a):

> @Chris you're right, sorry, I didn't download your last commit.
> I'm sorry.
> Hiedra.
>
> -Mensaje original-
> De: Christofer Dutz  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 
> 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/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.sw
> c
>
> ../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc
>   
>
> Las correctas son:
>
>   
>   ../js/libs/royale-typedefs-js.swc
>   ../js/libs/royale-typedefs-gcl.swc
>   
>
> Hiedra
>
> -Mensaje original-
> De: Christofer Dutz  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 
> 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 
> Gesendet: Donnerstag, 18. Februar 2021 17:49
> An: Apache Royale Development 
> 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  you can download this
> project:
>
>
> https://github.com/apache/royale-asjs/files/6004363/ToggleButtonBarIss
> ue.zip
>
> Then using VSCode with AS3 and adding the Maven distribution.
> Then hit CTRL+ENTER and y

AW: Align Maven IDE distribution with Ant IDE distribution

2021-02-19 Thread Christofer Dutz
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  
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/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc
  
../js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc
  

Las correctas son:

  
  ../js/libs/royale-typedefs-js.swc
  ../js/libs/royale-typedefs-gcl.swc
  

Hiedra

-Mensaje original-
De: Christofer Dutz  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 
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 
Gesendet: Donnerstag, 18. Februar 2021 17:49
An: Apache Royale Development 
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  you can download this project:

https://github.com/apache/royale-asjs/files/6004363/ToggleButtonBarIssue.zip

Then using VSCode with AS3 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)




/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)


(fcsh)
Quick Compile failed. Errors in compiler output.

El jue, 18 feb 2021 a las 17:26, Carlos Rovira ()
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.d...@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 Nachric

AW: Align Maven IDE distribution with Ant IDE distribution

2021-02-19 Thread Christofer Dutz
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  
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 
Gesendet: Donnerstag, 18. Februar 2021 17:49
An: Apache Royale Development 
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  you can download this project:

https://github.com/apache/royale-asjs/files/6004363/ToggleButtonBarIssue.zip

Then using VSCode with AS3 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)




/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)


(fcsh)
Quick Compile failed. Errors in compiler output.

El jue, 18 feb 2021 a las 17:26, Carlos Rovira ()
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.d...@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 
>> Gesendet: Donnerstag, 18. Februar 2021 16:22
>> An: Apache Royale Development 
>> 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 
>> napisał(a):
>>
>> > Ok ...
>> >
>> > so I just pushed another change. Now the distribution should also 
>> > contain an empty spark.css, 

AW: Align Maven IDE distribution with Ant IDE distribution

2021-02-18 Thread Christofer Dutz
Hi Carlos,

I'll look into this tomorrow.

Chris

-Ursprüngliche Nachricht-
Von: Carlos Rovira  
Gesendet: Donnerstag, 18. Februar 2021 17:49
An: Apache Royale Development 
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  you can download this project:

https://github.com/apache/royale-asjs/files/6004363/ToggleButtonBarIssue.zip

Then using VSCode with AS3 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)




/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)


(fcsh)
Quick Compile failed. Errors in compiler output.

El jue, 18 feb 2021 a las 17:26, Carlos Rovira ()
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.d...@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 
>> Gesendet: Donnerstag, 18. Februar 2021 16:22
>> An: Apache Royale Development 
>> 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 
>> 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 
>> > 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 creat

AW: Royale nightly server down again

2021-02-18 Thread Christofer Dutz
Hi all,

There's nothing we need to have them setup for us (I think) 

Only if we insist on them installing the Flashplayer ... then we might need 
help.

We already have a Space (But I should probably double check cause I don't know 
if all spaces have been migrated to the new Jenkins)
Unfortunately today of all days was one where there seem to have been huge 
issues. Hopefully they'll have service back up and running soon.

If you want, I would volunteer to take care of this.

Chris


-Ursprüngliche Nachricht-
Von: Carlos Rovira  
Gesendet: Donnerstag, 18. Februar 2021 17:32
An: Apache Royale Development 
Betreff: Re: Royale nightly server down again

Hi Harbs,

I think the best is to open a ticket in infra to request the needs so they 
setup for us. The important thing here is that all things we want to use are 
behind Apache systems to ensure we have infra supporting us. Then once we have 
the resources we can plan the set up.

What do you think?




El jue, 18 feb 2021 a las 16:53, Harbs () escribió:

> Sounds cool.
>
> What I would love to be able to do is:
> 1. have a build machine (I think Windows is still a requirement as 
> long as we’re using SWF).
> 2. Push the nightly builds to something like S3 to make downloads 
> faster and easier (and not require a load on the build server.
> 3. Extra credit if we can get it to work with Cloudfront or something 
> for cdn downloads of the nightlies.
>
> I’d also like to be able to setup multiple servers to be able to test 
> reproducible builds.
>
> > On Feb 18, 2021, at 5:41 PM, Carlos Rovira 
> wrote:
> >
> > Hi Andrew,
> >
> > if Apache infra supports AWS out-of-the-box, that will be amazing 
> > and a solution for our problem! :)
> >
> >
> >
> > El jue, 18 feb 2021 a las 16:35, Andrew Wetmore 
> > ()
> > escribió:
> >
> >> Infra has some Apache-dedicated AWS space available, I believe. If
> Royale
> >> starts a Jira ticket aimed at INFRA, they can talk us through what 
> >> is involved.
> >>
> >> I will ask at today's team meeting.
> >>
> >> Andrew
> >>
> >> On Thu, Feb 18, 2021 at 11:30 AM Carlos Rovira 
> >>  >
> >> wrote:
> >>
> >>> Hi,
> >>>
> >>> my motivation behind of the use of Apache machines is to be "as
> >> compliant"
> >>> as possible with Apache, since we are an apache project. We use 
> >>> AWS and love it, but setting up another machine that is tied to 
> >>> one of us
> >> wouldn't
> >>> be the same problem in the end? I mean, if we rely on apache 
> >>> infrastructure, we always can get the help of Apache infra...but 
> >>> if we
> do
> >>> things on our own that means we depend on us to be accessible to 
> >>> avoid
> >> the
> >>> rest of the project to be on a halt.
> >>>
> >>> That doesn't mean that we shouldn't use AWS... but just one to 
> >>> make a
> >> point
> >>> so you put in the balance, and if finally you want to go that 
> >>> route is because we consider it too.
> >>>
> >>> thanks
> >>>
> >>>
> >>>
> >>> El jue, 18 feb 2021 a las 11:15, Harbs ()
> >> escribió:
> >>>
> >>>> Let’s connect early next week on this?
> >>>>
> >>>>> On Feb 18, 2021, at 12:04 PM, Christofer Dutz <
> >>> christofer.d...@c-ware.de>
> >>>> wrote:
> >>>>>
> >>>>> I could definitely help with that.
> >>>>>
> >>>>> Guess I've sort of grown on Apache's infrastructure over the years.
> >>>>>
> >>>>> Chris
> >>>>>
> >>>>> -Ursprüngliche Nachricht-
> >>>>> Von: Harbs 
> >>>>> Gesendet: Donnerstag, 18. Februar 2021 11:03
> >>>>> An: Apache Royale Development 
> >>>>> Betreff: Re: Royale nightly server down again
> >>>>>
> >>>>> I’m not sure what would be involved in getting it working on 
> >>>>> Apache
> >>>> hardware.
> >>>>>
> >>>>> I can try and setup a AWS server to replace the Azure one which 
> >>>>> will
> >>> not
> >>>> run out of credits.
> >>>>>
> >>>>> (The reason I’m suggesting AWS is because I’m more familiar with
> >> that.)
> >>>>>
> >>>&

AW: Align Maven IDE distribution with Ant IDE distribution

2021-02-18 Thread Christofer Dutz
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  
Gesendet: Donnerstag, 18. Februar 2021 16:22
An: Apache Royale Development 
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 
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 
> 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 
> Gesendet: Donnerstag, 18. Februar 2021 15:54
> An: Apache Royale Development 
> 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 
> 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 
> > Gesendet: Donnerstag, 18. Februar 2021 15:47
> > An: Apache Royale Development 
> > 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 
> > 
> > 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 
> > > 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 
> > > Gesendet: Donnerstag, 18. Februar 2021 15:00
> > > An: Apache Royale Development 
> > > 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 

AW: Align Maven IDE distribution with Ant IDE distribution

2021-02-18 Thread Christofer Dutz
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  
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 
Gesendet: Donnerstag, 18. Februar 2021 15:54
An: Apache Royale Development 
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 
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 
> Gesendet: Donnerstag, 18. Februar 2021 15:47
> An: Apache Royale Development 
> 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 
> 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 
> > 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 
> > Gesendet: Donnerstag, 18. Februar 2021 15:00
> > An: Apache Royale Development 
> > 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 
> > 
> > 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 
> > > 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 
> > > 
> > > wrote:
> > >
> > > > Hi Piotr,
> > > >
> > > > I'd be happy to help with that.
> > > >
>

AW: Align Maven IDE distribution with Ant IDE distribution

2021-02-18 Thread Christofer Dutz
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  
Gesendet: Donnerstag, 18. Februar 2021 15:54
An: Apache Royale Development 
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 
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 
> Gesendet: Donnerstag, 18. Februar 2021 15:47
> An: Apache Royale Development 
> 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 
> 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 
> > 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 
> > Gesendet: Donnerstag, 18. Februar 2021 15:00
> > An: Apache Royale Development 
> > 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 
> > 
> > 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 
> > > 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 
> > > 
> > > 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.
> > > >
>

AW: Align Maven IDE distribution with Ant IDE distribution

2021-02-18 Thread Christofer Dutz
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  
Gesendet: Donnerstag, 18. Februar 2021 15:47
An: Apache Royale Development 
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 
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 
> 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 
> Gesendet: Donnerstag, 18. Februar 2021 15:00
> An: Apache Royale Development 
> 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 
> 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 
> > 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 
> > 
> > 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 
> > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> > > An: Apache Royale Development 
> > > 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: Creating a linux agent on Apache infra

2021-02-18 Thread Christofer Dutz
Hi Carlos,

Well we also have Windows agents for building. It's just that they tend to get 
clogged up every now and then.
Also has the setup of Flashplayer etc. proven to be a bit fragile. 

So my suggestion would be: To setup the builds on Apache's Jenkins again. There 
we can configure the job to deploy the Distribution to a download-area. As 
carlos mentioned, the down-side would be that we wouldn't run the SWF tests ... 
we can run the SWF build without any problems, it's just the UI tests, that 
wouldn't work.

Chris


-Ursprüngliche Nachricht-
Von: Carlos Rovira  
Gesendet: Donnerstag, 18. Februar 2021 15:24
An: Apache Royale Development 
Betreff: Creating a linux agent on Apache infra

Hi,

I was talking with Chris about what options we have to get builds on Apache.

It seems that we can get a linux agent to run the builds and he's happy to help 
there.
He can set up this in almost no time, so we can have this done very soon.

The downside is that running SWF tests probably will not be possible as well as 
set up with ANT. In this case that should be just Maven.

I know this could be a problem for some of you, but I think that shouldn't stop 
us from setting up that agent, so we can rely on official apache infrastructure.

In summary, that will mean in the end that SWF will still be served from Alex's 
Azure server while JS can be served from our official Apache agent.
For me, a significant step forward. So moving forward at least the JS build 
will make our builds more reliable and supported, and that's a good thing for 
Royale and for all the users.

In the end, the real impact will be that the link for JS builds in our site 
will change and point to the url of our official apache build agent, while the 
SWF remains unchanged.

If nobody opposes, I'll ask Chris to request the apache build agente and set it 
up.

Thoughts?

--
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


AW: Align Maven IDE distribution with Ant IDE distribution

2021-02-18 Thread Christofer Dutz
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  
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 
Gesendet: Donnerstag, 18. Februar 2021 15:00
An: Apache Royale Development 
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 
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 
> 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 
> 
> 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 
> > Gesendet: Donnerstag, 18. Februar 2021 11:01
> > An: Apache Royale Development 
> > 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

2021-02-18 Thread Christofer Dutz
I'll probably have a fix for that in a few minuntes ...


Chris


-Ursprüngliche Nachricht-
Von: Piotr Zarzycki  
Gesendet: Donnerstag, 18. Februar 2021 15:00
An: Apache Royale Development 
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 
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 
> 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 
> 
> 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 
> > Gesendet: Donnerstag, 18. Februar 2021 11:01
> > An: Apache Royale Development 
> > 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

2021-02-18 Thread Christofer Dutz
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  
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 
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 
> Gesendet: Donnerstag, 18. Februar 2021 11:01
> An: Apache Royale Development 
> 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: Royale nightly server down again

2021-02-18 Thread Christofer Dutz
I could definitely help with that.

Guess I've sort of grown on Apache's infrastructure over the years.

Chris

-Ursprüngliche Nachricht-
Von: Harbs  
Gesendet: Donnerstag, 18. Februar 2021 11:03
An: Apache Royale Development 
Betreff: Re: Royale nightly server down again

I’m not sure what would be involved in getting it working on Apache hardware.

I can try and setup a AWS server to replace the Azure one which will not run 
out of credits.

(The reason I’m suggesting AWS is because I’m more familiar with that.)

> On Feb 18, 2021, at 10:16 AM, Carlos Rovira  wrote:
> 
> Hi,
> 
> just report nightlies are on again. I think at 18th of each month 
> azure credits are setup on Alex's account and for this reason is on again.
> 
> El mar, 16 feb 2021 a las 20:01, Maria Jose Esteve 
> ()
> escribió:
> 
>> Yes, it falls out often, I had not detected it in a couple of weeks, 
>> but the weekend is usually inaccessible.
>> 
>> Hiedra.
>> 
>> -Mensaje original-
>> De: Carlos Rovira  Enviado el: martes, 16 de 
>> febrero de 2021 13:18
>> Para: Apache Royale Development 
>> Asunto: Re: Royale nightly server down again
>> 
>> Hi folks,
>> 
>> the nightly build server is still down. Can someone take a look?
>> thanks in advance for any help you can provide
>> 
>> 
>> El lun, 15 feb 2021 a las 17:43, Carlos Rovira 
>> ()
>> escribió:
>> 
>>> Hi,
>>> 
>>> It seems that the server for nightly builds is down again.
>>> 
>>> 
>>> http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-as
>>> js
>>> /lastSuccessfulBuild/artifact/out/
>>> 
>>> http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-as
>>> js _jsonly/lastSuccessfulBuild/artifact/out/
>>> 
>>> This problem is happening from time to time and seems a bit cumbersome.
>>> 
>>> I still can't understand why we can't rely on Apache infrastructure 
>>> for this...since we are an Apache project, we shouldn't need to have 
>>> this kind of extra build server.
>>> 
>>> 
>>> --
>>> 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

2021-02-18 Thread Christofer Dutz
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  
Gesendet: Donnerstag, 18. Februar 2021 11:01
An: Apache Royale Development 
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


  1   2   3   4   5   >