Re: Starting to move Gump to using Java 11

2021-08-23 Thread Stefan Bodewig
On 2021-08-23, Mark Thomas wrote:

> On 20/08/2021 17:53, Mark Thomas wrote:
>> On 20/08/2021 09:06, Stefan Bodewig wrote:

> 

>>> I've already added the jar and changed the descriptors. Unfortunately I
>>> did so before realizing that my ssh key is unknown to the current vmgump
>>> and so I've not been able to update the working copy of packages.

>> Tx. I've just done the update. I'll look into your ssh access as well.

> With some off-list co-ordination this has been fixed.

Yes, thanks.

> Finally, looking at projects that have no dependees, I see ant-contrib
> and xalan-pom. Can these be removed?

I don't recall why xalan-pom existed, likely to override a real POM with
something more Gump friendly. If nothing depends on ant-contrib you can
safely remove it, this project has been dead for more than ten years
now.

Stefan

-
To unsubscribe, e-mail: general-unsubscr...@gump.apache.org
For additional commands, e-mail: general-h...@gump.apache.org



Re: Starting to move Gump to using Java 11

2021-08-23 Thread Mark Thomas

On 20/08/2021 17:53, Mark Thomas wrote:

On 20/08/2021 09:06, Stefan Bodewig wrote:





I've already added the jar and changed the descriptors. Unfortunately I
did so before realizing that my ssh key is unknown to the current vmgump
and so I've not been able to update the working copy of packages.


Tx. I've just done the update. I'll look into your ssh access as well.


With some off-list co-ordination this has been fixed.

Thanks again for your help in getting the update to building with Java 
11 completed.


The last run was completely successful which is great.

We are seeing intermittent failures for some Tomcat tests (the tests 
themselves aren't completely reliable and looking at those is on my TODO 
list).


The apache-httpd-make job is failing intermittently as well. I think it 
is something to do with openssl creating .../dest-20210823/lib64 rather 
than .../dest-20210823/lib

I'm not sure what triggered this or how to fix it.

Finally, looking at projects that have no dependees, I see ant-contrib 
and xalan-pom. Can these be removed?


Mark

-
To unsubscribe, e-mail: general-unsubscr...@gump.apache.org
For additional commands, e-mail: general-h...@gump.apache.org



Re: Starting to move Gump to using Java 11

2021-08-20 Thread Mark Thomas

On 20/08/2021 09:06, Stefan Bodewig wrote:

On 2021-08-19, Mark Thomas wrote:


On 19/08/2021 17:53, Stefan Bodewig wrote:



Tomcat transitvely inherits antlr4*.jar but this jar doesn't seem to
contain the "runtime" package. I believe you also want
https://mvnrepository.com/artifact/org.antlr/antlr4-runtime and make
that a runtime dependency of checkstyle (not that I knew much about
antlr).



Ack. Thanks for the hint. I'm just finishing up some changes in the
latest Tomcat and then I should have some time for this.


I've already added the jar and changed the descriptors. Unfortunately I
did so before realizing that my ssh key is unknown to the current vmgump
and so I've not been able to update the working copy of packages.


Tx. I've just done the update. I'll look into your ssh access as well.

Mark

-
To unsubscribe, e-mail: general-unsubscr...@gump.apache.org
For additional commands, e-mail: general-h...@gump.apache.org



Re: Starting to move Gump to using Java 11

2021-08-20 Thread Stefan Bodewig
On 2021-08-19, Mark Thomas wrote:

> On 19/08/2021 17:53, Stefan Bodewig wrote:

>> Tomcat transitvely inherits antlr4*.jar but this jar doesn't seem to
>> contain the "runtime" package. I believe you also want
>> https://mvnrepository.com/artifact/org.antlr/antlr4-runtime and make
>> that a runtime dependency of checkstyle (not that I knew much about
>> antlr).

> Ack. Thanks for the hint. I'm just finishing up some changes in the
> latest Tomcat and then I should have some time for this.

I've already added the jar and changed the descriptors. Unfortunately I
did so before realizing that my ssh key is unknown to the current vmgump
and so I've not been able to update the working copy of packages.

Stefan

-
To unsubscribe, e-mail: general-unsubscr...@gump.apache.org
For additional commands, e-mail: general-h...@gump.apache.org



Re: Starting to move Gump to using Java 11

2021-08-19 Thread Mark Thomas

On 19/08/2021 17:53, Stefan Bodewig wrote:

On 2021-08-19, Mark Thomas wrote:


Many thanks for cleaning up the mess I created.


You didn't create a mess here, you just uncovered an undetected bug.

The -bootclasspath/p problems of xml-apis and xml-resolver are probably
not really fixable. We cannot create a "patch module" easily, I'm
afraid. I think we can remove xml-apis completely and build xml-resolver
without any boot-type dependencies. We are no longer interested in
building Xerces or Xalan against a JAXP version other than the one of
the JDK anyway.


+1

I had similar thoughts about removing xml-apis.


It looks like Checkstyle may still have an issue and then I'll have
some genuine Tomcat issues to fix.


Tomcat transitvely inherits antlr4*.jar but this jar doesn't seem to
contain the "runtime" package. I believe you also want
https://mvnrepository.com/artifact/org.antlr/antlr4-runtime and make
that a runtime dependency of checkstyle (not that I knew much about
antlr).


Ack. Thanks for the hint. I'm just finishing up some changes in the 
latest Tomcat and then I should have some time for this.


Mark

-
To unsubscribe, e-mail: general-unsubscr...@gump.apache.org
For additional commands, e-mail: general-h...@gump.apache.org



Re: Starting to move Gump to using Java 11

2021-08-19 Thread Stefan Bodewig
On 2021-08-19, Mark Thomas wrote:

> Many thanks for cleaning up the mess I created.

You didn't create a mess here, you just uncovered an undetected bug.

The -bootclasspath/p problems of xml-apis and xml-resolver are probably
not really fixable. We cannot create a "patch module" easily, I'm
afraid. I think we can remove xml-apis completely and build xml-resolver
without any boot-type dependencies. We are no longer interested in
building Xerces or Xalan against a JAXP version other than the one of
the JDK anyway.

> It looks like Checkstyle may still have an issue and then I'll have
> some genuine Tomcat issues to fix.

Tomcat transitvely inherits antlr4*.jar but this jar doesn't seem to
contain the "runtime" package. I believe you also want
https://mvnrepository.com/artifact/org.antlr/antlr4-runtime and make
that a runtime dependency of checkstyle (not that I knew much about
antlr).

Stefan

-
To unsubscribe, e-mail: general-unsubscr...@gump.apache.org
For additional commands, e-mail: general-h...@gump.apache.org



Re: Starting to move Gump to using Java 11

2021-08-19 Thread Mark Thomas

On 19/08/2021 13:39, Stefan Bodewig wrote:

On 2021-08-19, Stefan Bodewig wrote:


It looks as if you may have uncovered a bug in Ant's build,


no, the Gump descriptor has been broken before.

While compiling the tests Ant didn't see the main classes it had just
compiled. It could only see those of the bootstrap-ant project.

The only explanation of why it has worked before I have is that
bootstrap-ant has contained the classes that depend on jakarta-regexp
before and now no longer does. And as Xalan contains the regex classes
(I think the build has used the "unbundled" Xalan jar which does not
contain regexp because of this, may be wrong) the classes and tests
would be compiled now.

Anyway, the "ant" project has just been built successfully. Let's see
what breaks next.


Many thanks for cleaning up the mess I created. Things are looking a lot 
better now.


It looks like Checkstyle may still have an issue and then I'll have some 
genuine Tomcat issues to fix.


Cheers,

Mark

-
To unsubscribe, e-mail: general-unsubscr...@gump.apache.org
For additional commands, e-mail: general-h...@gump.apache.org



Re: Starting to move Gump to using Java 11

2021-08-19 Thread Stefan Bodewig
On 2021-08-19, Stefan Bodewig wrote:

> It looks as if you may have uncovered a bug in Ant's build,

no, the Gump descriptor has been broken before.

While compiling the tests Ant didn't see the main classes it had just
compiled. It could only see those of the bootstrap-ant project.

The only explanation of why it has worked before I have is that
bootstrap-ant has contained the classes that depend on jakarta-regexp
before and now no longer does. And as Xalan contains the regex classes
(I think the build has used the "unbundled" Xalan jar which does not
contain regexp because of this, may be wrong) the classes and tests
would be compiled now.

Anyway, the "ant" project has just been built successfully. Let's see
what breaks next.

Stefan

-
To unsubscribe, e-mail: general-unsubscr...@gump.apache.org
For additional commands, e-mail: general-h...@gump.apache.org



Re: Starting to move Gump to using Java 11

2021-08-19 Thread Stefan Bodewig
On 2021-08-12, Mark Thomas wrote:

> It looks like I have broken the Ant build somehow. I can't see what I
> have done wrong. No rush, but some help on this from someone more
> familiar with the Ant build than I would be helpful.

It looks as if you may have uncovered a bug in Ant's build, but I'm
unable to reproduce it locally, so I've turned on debug logging in
Gump.

Currently it fails because the tests for the old Jakarate Regex support
in Ant are compiled but the classes implementing it are not - which is
more than just a bit strange as they share the same Ant selectors.

Even though the original jakarta-regexp package is not there as a
dependency in Gump, Xalan could be contributing it. At least the
"official" Xalan 2.7.2 contains a copy of jakarta-regexp.

If I remove Xalan and jakarta-regexp locally, the build doesn't try to
compile the tests, so we'll have to wait for the debug output.

Stefan

-
To unsubscribe, e-mail: general-unsubscr...@gump.apache.org
For additional commands, e-mail: general-h...@gump.apache.org



Re: Starting to move Gump to using Java 11

2021-08-12 Thread Mark Thomas
It looks like I have broken the Ant build somehow. I can't see what I 
have done wrong. No rush, but some help on this from someone more 
familiar with the Ant build than I would be helpful.


Mark


On 12/08/2021 10:57, Mark Thomas wrote:



On 12/08/2021 10:46, Stefan Bodewig wrote:

Many thank for doing this, Mark

On 2021-08-10, Mark Thomas wrote:


Is there a way in Gump to get just some projects to build with a
different JAVA_HOME? Switching just the Tomcat 10.1.x builds to Java
11 is the minimum requirement. We can then take a harder look at the
dependency chains and see what we can do to update versions / trim
things down.


I think it should be possible to allow JAVA_HOME to be overridden on a
project by project basis but I doubt anybody is less rusty WRT Gump's
Python code base than Adam :-)

If the short term solution is to make some Tomcat builds use a different
version of Java then we'd only need to modify the Ant builder. This one
uses self.run.getEnvironment().getJavaCommand() which is what JAVA_HOME
points at. We could add a "java_home" property or something similar to
the model for  (BaseAnt) and calculate the Java command inside of
the Ant builder if this attribute is set. Making a configurable
JAVA_HOME work for Gradle and Maven as well would require a bit more of
work.

I can try to carve out some time for this next week, but I'm afraid you
want a solution more quickly.


Thanks for the offer. Things have moved on a bit and I think we are OK 
running with Java 11 everywhere. There are still a few things to clean 
up but it looks doable at this point.


I'm going to chip away at the remaining issues as I get the time. As 
always, help welcome. I'm expecting this is going to take a few more 
weeks to sort out. I think there are also some genuine failures in the 
Tomcat test runs so Java 11 may not be responsible for all the current 
issues.


Cheers,

Mark

-
To unsubscribe, e-mail: general-unsubscr...@gump.apache.org
For additional commands, e-mail: general-h...@gump.apache.org



-
To unsubscribe, e-mail: general-unsubscr...@gump.apache.org
For additional commands, e-mail: general-h...@gump.apache.org



Re: Starting to move Gump to using Java 11

2021-08-12 Thread Mark Thomas




On 12/08/2021 10:46, Stefan Bodewig wrote:

Many thank for doing this, Mark

On 2021-08-10, Mark Thomas wrote:


Is there a way in Gump to get just some projects to build with a
different JAVA_HOME? Switching just the Tomcat 10.1.x builds to Java
11 is the minimum requirement. We can then take a harder look at the
dependency chains and see what we can do to update versions / trim
things down.


I think it should be possible to allow JAVA_HOME to be overridden on a
project by project basis but I doubt anybody is less rusty WRT Gump's
Python code base than Adam :-)

If the short term solution is to make some Tomcat builds use a different
version of Java then we'd only need to modify the Ant builder. This one
uses self.run.getEnvironment().getJavaCommand() which is what JAVA_HOME
points at. We could add a "java_home" property or something similar to
the model for  (BaseAnt) and calculate the Java command inside of
the Ant builder if this attribute is set. Making a configurable
JAVA_HOME work for Gradle and Maven as well would require a bit more of
work.

I can try to carve out some time for this next week, but I'm afraid you
want a solution more quickly.


Thanks for the offer. Things have moved on a bit and I think we are OK 
running with Java 11 everywhere. There are still a few things to clean 
up but it looks doable at this point.


I'm going to chip away at the remaining issues as I get the time. As 
always, help welcome. I'm expecting this is going to take a few more 
weeks to sort out. I think there are also some genuine failures in the 
Tomcat test runs so Java 11 may not be responsible for all the current 
issues.


Cheers,

Mark

-
To unsubscribe, e-mail: general-unsubscr...@gump.apache.org
For additional commands, e-mail: general-h...@gump.apache.org



Re: Starting to move Gump to using Java 11

2021-08-12 Thread Stefan Bodewig
Many thank for doing this, Mark

On 2021-08-10, Mark Thomas wrote:

> Is there a way in Gump to get just some projects to build with a
> different JAVA_HOME? Switching just the Tomcat 10.1.x builds to Java
> 11 is the minimum requirement. We can then take a harder look at the
> dependency chains and see what we can do to update versions / trim
> things down.

I think it should be possible to allow JAVA_HOME to be overridden on a
project by project basis but I doubt anybody is less rusty WRT Gump's
Python code base than Adam :-)

If the short term solution is to make some Tomcat builds use a different
version of Java then we'd only need to modify the Ant builder. This one
uses self.run.getEnvironment().getJavaCommand() which is what JAVA_HOME
points at. We could add a "java_home" property or something similar to
the model for  (BaseAnt) and calculate the Java command inside of
the Ant builder if this attribute is set. Making a configurable
JAVA_HOME work for Gradle and Maven as well would require a bit more of
work.

I can try to carve out some time for this next week, but I'm afraid you
want a solution more quickly.

Stefan

-
To unsubscribe, e-mail: general-unsubscr...@gump.apache.org
For additional commands, e-mail: general-h...@gump.apache.org



Re: Starting to move Gump to using Java 11

2021-08-11 Thread Mark Thomas

On 11/08/2021 10:46, Mark Thomas wrote:

On 11/08/2021 09:06, Adam Jack wrote:
I am traveling home from abroad right now but I can look into things 
when I
get settled back. That said, I am sure others are far less rusty than 
me on

this. That said, from my rusty/simplistic perspective:

Would the best case be that the whole stack be built with one
compiler/language version, the newest supported, so we uncover any build
issues and then mail them to teams? Would that be helpful to getting 
those
build issues resolved, or are such notifications going unanswered? 
Meaning
do we change the Java version and then wait, rather than work around 
things?


Sorry if that is missing something obvious (I haven’t touched Java in 
well

over a decade.)


Thanks. Additional eyes on this would be good.

I agree that in an ideal world, everything would build with the latest 
version of Java. Switching from Java 8 to Java 11 was a step in that 
direction.


The complicating factor is that the chain of dependencies leads back to 
(branches of) projects that are no longer maintained and don't build 
with Java >8. In some cases, updating the dependencies to newer branches 
is an option. I managed to remove Commons Lang 2.x from the dependency 
chain that way. However, there are some dependency chains where that 
does not appear to be an option. Maybe the right answer is that we 
should just provide JARs for such projects rather than trying to build 
them.


Also, there are potentially some dependencies where we aren't building 
from source and perhaps should be such as the Eclipse JDT JAR.


Given that Tomcat is the only project really using Gump right now, I 
think I am going to start there and work backwards checking dependencies 
as I suspect some of those may be rather out of date. It might be that 
the problem will turn out to be a lot simpler than it appears, once the 
dependencies are tidied up.


Packaging log4j 1.2.x and removing a number of the old XML dependencies 
has improved things quite a bit. I think there has been sufficient 
progress to continue running with Java 11 and fix the remaining issues 
as they arise.


As part of the clean-up / simplification I am currently planning on 
pruning various optional dependencies unless the Tomcat builds require 
them. Please speak up if there are any objections to doing this.


Mark


-
To unsubscribe, e-mail: general-unsubscr...@gump.apache.org
For additional commands, e-mail: general-h...@gump.apache.org



Re: Starting to move Gump to using Java 11

2021-08-11 Thread Mark Thomas

On 11/08/2021 09:06, Adam Jack wrote:

I am traveling home from abroad right now but I can look into things when I
get settled back. That said, I am sure others are far less rusty than me on
this. That said, from my rusty/simplistic perspective:

Would the best case be that the whole stack be built with one
compiler/language version, the newest supported, so we uncover any build
issues and then mail them to teams? Would that be helpful to getting those
build issues resolved, or are such notifications going unanswered? Meaning
do we change the Java version and then wait, rather than work around things?

Sorry if that is missing something obvious (I haven’t touched Java in well
over a decade.)


Thanks. Additional eyes on this would be good.

I agree that in an ideal world, everything would build with the latest 
version of Java. Switching from Java 8 to Java 11 was a step in that 
direction.


The complicating factor is that the chain of dependencies leads back to 
(branches of) projects that are no longer maintained and don't build 
with Java >8. In some cases, updating the dependencies to newer branches 
is an option. I managed to remove Commons Lang 2.x from the dependency 
chain that way. However, there are some dependency chains where that 
does not appear to be an option. Maybe the right answer is that we 
should just provide JARs for such projects rather than trying to build them.


Also, there are potentially some dependencies where we aren't building 
from source and perhaps should be such as the Eclipse JDT JAR.


Given that Tomcat is the only project really using Gump right now, I 
think I am going to start there and work backwards checking dependencies 
as I suspect some of those may be rather out of date. It might be that 
the problem will turn out to be a lot simpler than it appears, once the 
dependencies are tidied up.


Mark



Regards,

Adam

On Tue, Aug 10, 2021 at 11:15 PM Mark Thomas  wrote:


On 10/08/2021 21:38, Mark Thomas wrote:

On 10/08/2021 21:17, Adam Jack wrote:

Thanks for the update. Good luck.


Thanks. I think I am going to need it. This is going to be *far* from
simple.

There is lots of code currently being built by Gump that needs changes
to build with Java 9+.

You will have seen I started to try and hack around the issues with
Commons Lang 2.4 (it was using source=1.4) but forcing source to 1.6
(the minimum Java 11 supports) just creates a different problem - the
source using "enum" as an identifier but it is a reserved word from Java
5 onwards.

I don't see a simple or quick solution for this.

Is there a way in Gump to get just some projects to build with a
different JAVA_HOME? Switching just the Tomcat 10.1.x builds to Java 11
is the minimum requirement. We can then take a harder look at the
dependency chains and see what we can do to update versions / trim
things down.


On the topic of dependency chains, log4j 1.2.x is currently blocking
progress.

I need to set the source and target to 1.6 (local testing on vmgump
suggests this will then work) but I don't know how to do that.

I see "POM overrides" in a few places But I can't figure out how to use
them. Is there a way to copy the log4j POM, store it somewhere in Gump
and then tweak it (essentially change "1.4" to "1.6")?

Mark




Mark





Adam

On Tue, Aug 10, 2021, 15:57 Mark Thomas  wrote:


All,

Since Tomcat's main development branch now requires Java 11, I have
started the process of moving Gump over to Java 11.

So far, I have added Java 11 to the packages installed by Puppet.

I want to confirm that Java 11 has been installed, then I'll switch
JAVA_HOME to point to Java 11 rather than Java 8. In theory that should
'just work'. When it doesn't (optimistic soul that I am), we'll have to
see what fails and figure out the best way to deal with each issue.

Once everything is running smoothly on Java 11, then I'll remove Java

8.


Mark

-
To unsubscribe, e-mail: general-unsubscr...@gump.apache.org
For additional commands, e-mail: general-h...@gump.apache.org






-
To unsubscribe, e-mail: general-unsubscr...@gump.apache.org
For additional commands, e-mail: general-h...@gump.apache.org



-
To unsubscribe, e-mail: general-unsubscr...@gump.apache.org
For additional commands, e-mail: general-h...@gump.apache.org

--

Sent from Mobile



-
To unsubscribe, e-mail: general-unsubscr...@gump.apache.org
For additional commands, e-mail: general-h...@gump.apache.org



Re: Starting to move Gump to using Java 11

2021-08-11 Thread Adam Jack
I am traveling home from abroad right now but I can look into things when I
get settled back. That said, I am sure others are far less rusty than me on
this. That said, from my rusty/simplistic perspective:

Would the best case be that the whole stack be built with one
compiler/language version, the newest supported, so we uncover any build
issues and then mail them to teams? Would that be helpful to getting those
build issues resolved, or are such notifications going unanswered? Meaning
do we change the Java version and then wait, rather than work around things?

Sorry if that is missing something obvious (I haven’t touched Java in well
over a decade.)

Regards,

Adam

On Tue, Aug 10, 2021 at 11:15 PM Mark Thomas  wrote:

> On 10/08/2021 21:38, Mark Thomas wrote:
> > On 10/08/2021 21:17, Adam Jack wrote:
> >> Thanks for the update. Good luck.
> >
> > Thanks. I think I am going to need it. This is going to be *far* from
> > simple.
> >
> > There is lots of code currently being built by Gump that needs changes
> > to build with Java 9+.
> >
> > You will have seen I started to try and hack around the issues with
> > Commons Lang 2.4 (it was using source=1.4) but forcing source to 1.6
> > (the minimum Java 11 supports) just creates a different problem - the
> > source using "enum" as an identifier but it is a reserved word from Java
> > 5 onwards.
> >
> > I don't see a simple or quick solution for this.
> >
> > Is there a way in Gump to get just some projects to build with a
> > different JAVA_HOME? Switching just the Tomcat 10.1.x builds to Java 11
> > is the minimum requirement. We can then take a harder look at the
> > dependency chains and see what we can do to update versions / trim
> > things down.
>
> On the topic of dependency chains, log4j 1.2.x is currently blocking
> progress.
>
> I need to set the source and target to 1.6 (local testing on vmgump
> suggests this will then work) but I don't know how to do that.
>
> I see "POM overrides" in a few places But I can't figure out how to use
> them. Is there a way to copy the log4j POM, store it somewhere in Gump
> and then tweak it (essentially change "1.4" to "1.6")?
>
> Mark
>
>
> >
> > Mark
> >
> >
> >
> >>
> >> Adam
> >>
> >> On Tue, Aug 10, 2021, 15:57 Mark Thomas  wrote:
> >>
> >>> All,
> >>>
> >>> Since Tomcat's main development branch now requires Java 11, I have
> >>> started the process of moving Gump over to Java 11.
> >>>
> >>> So far, I have added Java 11 to the packages installed by Puppet.
> >>>
> >>> I want to confirm that Java 11 has been installed, then I'll switch
> >>> JAVA_HOME to point to Java 11 rather than Java 8. In theory that should
> >>> 'just work'. When it doesn't (optimistic soul that I am), we'll have to
> >>> see what fails and figure out the best way to deal with each issue.
> >>>
> >>> Once everything is running smoothly on Java 11, then I'll remove Java
> 8.
> >>>
> >>> Mark
> >>>
> >>> -
> >>> To unsubscribe, e-mail: general-unsubscr...@gump.apache.org
> >>> For additional commands, e-mail: general-h...@gump.apache.org
> >>>
> >>>
> >>
> >
> > -
> > To unsubscribe, e-mail: general-unsubscr...@gump.apache.org
> > For additional commands, e-mail: general-h...@gump.apache.org
> >
>
> -
> To unsubscribe, e-mail: general-unsubscr...@gump.apache.org
> For additional commands, e-mail: general-h...@gump.apache.org
>
> --
Sent from Mobile


Re: Starting to move Gump to using Java 11

2021-08-10 Thread Mark Thomas

On 10/08/2021 21:38, Mark Thomas wrote:

On 10/08/2021 21:17, Adam Jack wrote:

Thanks for the update. Good luck.


Thanks. I think I am going to need it. This is going to be *far* from 
simple.


There is lots of code currently being built by Gump that needs changes 
to build with Java 9+.


You will have seen I started to try and hack around the issues with 
Commons Lang 2.4 (it was using source=1.4) but forcing source to 1.6 
(the minimum Java 11 supports) just creates a different problem - the 
source using "enum" as an identifier but it is a reserved word from Java 
5 onwards.


I don't see a simple or quick solution for this.

Is there a way in Gump to get just some projects to build with a 
different JAVA_HOME? Switching just the Tomcat 10.1.x builds to Java 11 
is the minimum requirement. We can then take a harder look at the 
dependency chains and see what we can do to update versions / trim 
things down.


On the topic of dependency chains, log4j 1.2.x is currently blocking 
progress.


I need to set the source and target to 1.6 (local testing on vmgump 
suggests this will then work) but I don't know how to do that.


I see "POM overrides" in a few places But I can't figure out how to use 
them. Is there a way to copy the log4j POM, store it somewhere in Gump 
and then tweak it (essentially change "1.4" to "1.6")?


Mark




Mark





Adam

On Tue, Aug 10, 2021, 15:57 Mark Thomas  wrote:


All,

Since Tomcat's main development branch now requires Java 11, I have
started the process of moving Gump over to Java 11.

So far, I have added Java 11 to the packages installed by Puppet.

I want to confirm that Java 11 has been installed, then I'll switch
JAVA_HOME to point to Java 11 rather than Java 8. In theory that should
'just work'. When it doesn't (optimistic soul that I am), we'll have to
see what fails and figure out the best way to deal with each issue.

Once everything is running smoothly on Java 11, then I'll remove Java 8.

Mark

-
To unsubscribe, e-mail: general-unsubscr...@gump.apache.org
For additional commands, e-mail: general-h...@gump.apache.org






-
To unsubscribe, e-mail: general-unsubscr...@gump.apache.org
For additional commands, e-mail: general-h...@gump.apache.org



-
To unsubscribe, e-mail: general-unsubscr...@gump.apache.org
For additional commands, e-mail: general-h...@gump.apache.org



Re: Starting to move Gump to using Java 11

2021-08-10 Thread Adam Jack
Thanks for the update. Good luck.

Adam

On Tue, Aug 10, 2021, 15:57 Mark Thomas  wrote:

> All,
>
> Since Tomcat's main development branch now requires Java 11, I have
> started the process of moving Gump over to Java 11.
>
> So far, I have added Java 11 to the packages installed by Puppet.
>
> I want to confirm that Java 11 has been installed, then I'll switch
> JAVA_HOME to point to Java 11 rather than Java 8. In theory that should
> 'just work'. When it doesn't (optimistic soul that I am), we'll have to
> see what fails and figure out the best way to deal with each issue.
>
> Once everything is running smoothly on Java 11, then I'll remove Java 8.
>
> Mark
>
> -
> To unsubscribe, e-mail: general-unsubscr...@gump.apache.org
> For additional commands, e-mail: general-h...@gump.apache.org
>
>