RE: Using Java 11 for Royale jobs on ci-builds.apache.org

2022-11-29 Thread Yishay Weiss
Thanks for handling that. The Jenkins instance I created is running JDK 17 for 
that reason.

From: Josh Tynjala
Sent: Tuesday, November 29, 2022 11:56 PM
To: Apache Royale Development
Subject: Using Java 11 for Royale jobs on ci-builds.apache.org

Hey team,

I just wanted to mention that I did a little maintenance to our Royale jobs
that run on ci-builds.apache.org today. In particular, I updated the jobs
to run using Java 11 instead of Java 8.

The reason I changed this is because Jenkins seems to require Java 11 as
the minimum version now, as mentioned in this blog post from earlier this
year:

https://www.jenkins.io/blog/2022/06/28/require-java-11/

I discovered the new minimum requirement after I noticed that some of our
builds were failing intermittently with the following message:

java.lang.UnsupportedClassVersionError: hudson/remoting/Launcher has been
compiled by a more recent version of the Java Runtime (class file version
55.0), this version of the Java Runtime only recognizes class file versions
up to 52.0

Class file version 55.0 is used by Java 11 and class file version 52.0 is
used by Java 8.

To be clear, this change only affects ci-builds.apache.org, and Royale can
still be built with Java 8 in other environments.

--
Josh Tynjala
Bowler Hat LLC 



RE: Error compiling the SDK

2022-11-29 Thread Maria Jose Esteve
Ok all.
Thx Josh

Hiedra

-Mensaje original-
De: Josh Tynjala  
Enviado el: martes, 29 de noviembre de 2022 22:43
Para: dev@royale.apache.org
Asunto: Re: Error compiling the SDK

My latest commits should fix the build issue. Please let me know if you run 
into any further problems.

--
Josh Tynjala
Bowler Hat LLC 


On Tue, Nov 29, 2022 at 8:52 AM Maria Jose Esteve  wrote:

> Hello,
> with the latest unit tests the compilation ends with error.
> The error occurs when compiling royale-asjs with ant.
>
> In my case I compile first with maven and then with ant:
>
> call ant clean
> call ant super-clean
> call mvn clean install -DskipTests -P
> option-with-sass-compile,option-with-swf -Drat.skip=true call ant all 
> -Dbuild.noprompt=true -Drelease.target=true -Dskip-tests=true
>
> Hiedra
>
>


Using Java 11 for Royale jobs on ci-builds.apache.org

2022-11-29 Thread Josh Tynjala
Hey team,

I just wanted to mention that I did a little maintenance to our Royale jobs
that run on ci-builds.apache.org today. In particular, I updated the jobs
to run using Java 11 instead of Java 8.

The reason I changed this is because Jenkins seems to require Java 11 as
the minimum version now, as mentioned in this blog post from earlier this
year:

https://www.jenkins.io/blog/2022/06/28/require-java-11/

I discovered the new minimum requirement after I noticed that some of our
builds were failing intermittently with the following message:

java.lang.UnsupportedClassVersionError: hudson/remoting/Launcher has been
compiled by a more recent version of the Java Runtime (class file version
55.0), this version of the Java Runtime only recognizes class file versions
up to 52.0

Class file version 55.0 is used by Java 11 and class file version 52.0 is
used by Java 8.

To be clear, this change only affects ci-builds.apache.org, and Royale can
still be built with Java 8 in other environments.

--
Josh Tynjala
Bowler Hat LLC 


Re: Error compiling the SDK

2022-11-29 Thread Josh Tynjala
My latest commits should fix the build issue. Please let me know if you run
into any further problems.

--
Josh Tynjala
Bowler Hat LLC 


On Tue, Nov 29, 2022 at 8:52 AM Maria Jose Esteve  wrote:

> Hello,
> with the latest unit tests the compilation ends with error.
> The error occurs when compiling royale-asjs with ant.
>
> In my case I compile first with maven and then with ant:
>
> call ant clean
> call ant super-clean
> call mvn clean install -DskipTests -P
> option-with-sass-compile,option-with-swf -Drat.skip=true
> call ant all -Dbuild.noprompt=true -Drelease.target=true -Dskip-tests=true
>
> Hiedra
>
>


RE: Error compiling the SDK

2022-11-29 Thread Maria Jose Esteve
Would the build log help? [1]

[1] 
https://drive.google.com/file/d/1DbTPrIUlJ67WRWMMqdOuYaArFAVVEyJH/view?usp=sharing

Hiedra

-Mensaje original-
De: Josh Tynjala  
Enviado el: martes, 29 de noviembre de 2022 18:01
Para: dev@royale.apache.org
Asunto: Re: Error compiling the SDK

I am working on fixing the compiler tests. I'm not sure how to reproduce it on 
my machine yet.

--
Josh Tynjala
Bowler Hat LLC 


On Tue, Nov 29, 2022 at 8:52 AM Maria Jose Esteve  wrote:

> Hello,
> with the latest unit tests the compilation ends with error.
> The error occurs when compiling royale-asjs with ant.
>
> In my case I compile first with maven and then with ant:
>
> call ant clean
> call ant super-clean
> call mvn clean install -DskipTests -P
> option-with-sass-compile,option-with-swf -Drat.skip=true call ant all 
> -Dbuild.noprompt=true -Drelease.target=true -Dskip-tests=true
>
> Hiedra
>
>


Re: Error compiling the SDK

2022-11-29 Thread Josh Tynjala
I am working on fixing the compiler tests. I'm not sure how to reproduce it
on my machine yet.

--
Josh Tynjala
Bowler Hat LLC 


On Tue, Nov 29, 2022 at 8:52 AM Maria Jose Esteve  wrote:

> Hello,
> with the latest unit tests the compilation ends with error.
> The error occurs when compiling royale-asjs with ant.
>
> In my case I compile first with maven and then with ant:
>
> call ant clean
> call ant super-clean
> call mvn clean install -DskipTests -P
> option-with-sass-compile,option-with-swf -Drat.skip=true
> call ant all -Dbuild.noprompt=true -Drelease.target=true -Dskip-tests=true
>
> Hiedra
>
>


Error compiling the SDK

2022-11-29 Thread Maria Jose Esteve
Hello,
with the latest unit tests the compilation ends with error.
The error occurs when compiling royale-asjs with ant.

In my case I compile first with maven and then with ant:

call ant clean
call ant super-clean
call mvn clean install -DskipTests -P option-with-sass-compile,option-with-swf 
-Drat.skip=true
call ant all -Dbuild.noprompt=true -Drelease.target=true -Dskip-tests=true

Hiedra