Discussion:
[DISCUSS] Set minimum JDK version to 1.5 for Cocoon 2.1
Francesco Chicchiriccò
2016-10-07 09:46:25 UTC
Permalink
Hi all,
as recently noticed during the (unfortunately rejected) patch for
COCOON-2354 [1], it might make sense to upgrade the current minimum JDK
requirement for Cocoon 2.1 from 1.4 to 1.5, mainly to ease some upgrades
and help Cocoon 2.1 living in the modern world.

Besides 3rd part library updates, some work could be needed to upgrade
our Java code, so help would be appreciated.

WDYT?
Regards.

[1]
https://lists.apache.org/thread.html/c03a2390ddd45b801a25e9946a492766936528700000f4f4fbe732d8@%3Cdev.cocoon.apache.org%3E
--
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Member at The Apache Software Foundation
Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
http://home.apache.org/~ilgrosso/
Nathaniel, Alfred
2016-10-07 16:41:08 UTC
Permalink
+1 but I would go straight to 6, 7, or even 8.
Past experience is that it is a real nuisance trying to support an ancient JDK no developer is actually using anymore.

Cheers, Alfred.

-----Original Message-----
From: Francesco Chicchiriccò [mailto:***@apache.org]
Sent: Freitag, 7. Oktober 2016 11:46
To: ***@cocoon.apache.org
Subject: [DISCUSS] Set minimum JDK version to 1.5 for Cocoon 2.1

Hi all,
as recently noticed during the (unfortunately rejected) patch for
COCOON-2354 [1], it might make sense to upgrade the current minimum JDK
requirement for Cocoon 2.1 from 1.4 to 1.5, mainly to ease some upgrades
and help Cocoon 2.1 living in the modern world.

Besides 3rd part library updates, some work could be needed to upgrade
our Java code, so help would be appreciated.

WDYT?
Regards.

[1]
https://lists.apache.org/thread.html/c03a2390ddd45b801a25e9946a492766936528700000f4f4fbe732d8@%3Cdev.cocoon.apache.org%3E

--
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Member at The Apache Software Foundation
Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
http://home.apache.org/~ilgrosso/


The content of this e-mail is intended only for the confidential use of the person addressed.
If you are not the intended recipient, please notify the sender and delete this email immedi
Insight 49
2016-10-07 16:58:53 UTC
Permalink
+1, and I strongly agree with Alfred.

Cocoon 2.1 is a good stable platform, but doesn't encourage new
participation, partly I suspect, because many people and businesses
run Java 8 or 7 (as you know, you get all kinds of build errors when
trying to build cocoon using those Java versions).

If we can upgrade the code, classes and supporting jars, I'd recommend
Java version 7 or 8.

As an example, the very successful Apache Solr search uses Java 8!

"You will need the Java Runtime Environment (JRE) version 1.8 or higher."
https://cwiki.apache.org/confluence/display/solr/Installing+Solr

Dan
Post by Nathaniel, Alfred
+1 but I would go straight to 6, 7, or even 8.
Past experience is that it is a real nuisance trying to support an ancient
JDK no developer is actually using anymore.
Cheers, Alfred.
-----Original Message-----
Sent: Freitag, 7. Oktober 2016 11:46
Subject: [DISCUSS] Set minimum JDK version to 1.5 for Cocoon 2.1
Hi all,
as recently noticed during the (unfortunately rejected) patch for
COCOON-2354 [1], it might make sense to upgrade the current minimum JDK
requirement for Cocoon 2.1 from 1.4 to 1.5, mainly to ease some upgrades
and help Cocoon 2.1 living in the modern world.
Besides 3rd part library updates, some work could be needed to upgrade
our Java code, so help would be appreciated.
David Crossley
2016-10-08 04:43:06 UTC
Permalink
I agree. It should also enable better participation at both Cocoon
and at Apache Forrest. There were also many supporting products
that could then be updated. Lets go to 8.

-David
Post by Insight 49
+1, and I strongly agree with Alfred.
Cocoon 2.1 is a good stable platform, but doesn't encourage new
participation, partly I suspect, because many people and businesses
run Java 8 or 7 (as you know, you get all kinds of build errors when
trying to build cocoon using those Java versions).
If we can upgrade the code, classes and supporting jars, I'd recommend
Java version 7 or 8.
As an example, the very successful Apache Solr search uses Java 8!
"You will need the Java Runtime Environment (JRE) version 1.8 or higher."
https://cwiki.apache.org/confluence/display/solr/Installing+Solr
Dan
Post by Nathaniel, Alfred
+1 but I would go straight to 6, 7, or even 8.
Past experience is that it is a real nuisance trying to support an ancient
JDK no developer is actually using anymore.
Cheers, Alfred.
-----Original Message-----
Sent: Freitag, 7. Oktober 2016 11:46
Subject: [DISCUSS] Set minimum JDK version to 1.5 for Cocoon 2.1
Hi all,
as recently noticed during the (unfortunately rejected) patch for
COCOON-2354 [1], it might make sense to upgrade the current minimum JDK
requirement for Cocoon 2.1 from 1.4 to 1.5, mainly to ease some upgrades
and help Cocoon 2.1 living in the modern world.
Besides 3rd part library updates, some work could be needed to upgrade
our Java code, so help would be appreciated.
Francesco Chicchiriccò
2016-10-08 11:14:46 UTC
Permalink
Wow, did not expect this...
To be clear, are you proposing to move to 1.8 the binary AND source compatibility?

Even wilder: how would you see moving the 2_1_X branch to GIT with github integration, thus allowing us accepting pull requests?

We'll definitely need some help here...
Regards.
Post by David Crossley
I agree. It should also enable better participation at both Cocoon
and at Apache Forrest. There were also many supporting products
that could then be updated. Lets go to 8.
-David
Post by Insight 49
+1, and I strongly agree with Alfred.
Cocoon 2.1 is a good stable platform, but doesn't encourage new
participation, partly I suspect, because many people and businesses
run Java 8 or 7 (as you know, you get all kinds of build errors when
trying to build cocoon using those Java versions).
If we can upgrade the code, classes and supporting jars, I'd
recommend
Post by Insight 49
Java version 7 or 8.
As an example, the very successful Apache Solr search uses Java 8!
"You will need the Java Runtime Environment (JRE) version 1.8 or
higher."
Post by Insight 49
https://cwiki.apache.org/confluence/display/solr/Installing+Solr
Dan
Post by Nathaniel, Alfred
+1 but I would go straight to 6, 7, or even 8.
Past experience is that it is a real nuisance trying to support an
ancient
Post by Insight 49
Post by Nathaniel, Alfred
JDK no developer is actually using anymore.
Cheers, Alfred.
-----Original Message-----
Sent: Freitag, 7. Oktober 2016 11:46
Subject: [DISCUSS] Set minimum JDK version to 1.5 for Cocoon 2.1
Hi all,
as recently noticed during the (unfortunately rejected) patch for
COCOON-2354 [1], it might make sense to upgrade the current minimum
JDK
Post by Insight 49
Post by Nathaniel, Alfred
requirement for Cocoon 2.1 from 1.4 to 1.5, mainly to ease some
upgrades
Post by Insight 49
Post by Nathaniel, Alfred
and help Cocoon 2.1 living in the modern world.
Besides 3rd part library updates, some work could be needed to
upgrade
Post by Insight 49
Post by Nathaniel, Alfred
our Java code, so help would be appreciated.
--
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Member at The Apache Software Foundation Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
http://home.apache.org/~ilgrosso/
Francesco Chicchiriccò
2016-10-10 08:27:45 UTC
Permalink
FYI,
another applied patch that we should reject instead, because it requires
1.5:

https://builds.apache.org/job/Cocoon%202.1.X/111/console
Post by Francesco Chicchiriccò
Wow, did not expect this...
To be clear, are you proposing to move to 1.8 the binary AND source compatibility?
Even wilder: how would you see moving the 2_1_X branch to GIT with github integration, thus allowing us accepting pull requests?
We'll definitely need some help here...
Regards.
Post by David Crossley
I agree. It should also enable better participation at both Cocoon
and at Apache Forrest. There were also many supporting products
that could then be updated. Lets go to 8.
-David
Post by Insight 49
+1, and I strongly agree with Alfred.
Cocoon 2.1 is a good stable platform, but doesn't encourage new
participation, partly I suspect, because many people and businesses
run Java 8 or 7 (as you know, you get all kinds of build errors when
trying to build cocoon using those Java versions).
If we can upgrade the code, classes and supporting jars, I'd
recommend
Post by Insight 49
Java version 7 or 8.
As an example, the very successful Apache Solr search uses Java 8!
"You will need the Java Runtime Environment (JRE) version 1.8 or
higher."
Post by Insight 49
https://cwiki.apache.org/confluence/display/solr/Installing+Solr
Dan
Post by Nathaniel, Alfred
+1 but I would go straight to 6, 7, or even 8.
Past experience is that it is a real nuisance trying to support an
ancient
Post by Insight 49
Post by Nathaniel, Alfred
JDK no developer is actually using anymore.
Cheers, Alfred.
-----Original Message-----
Sent: Freitag, 7. Oktober 2016 11:46
Subject: [DISCUSS] Set minimum JDK version to 1.5 for Cocoon 2.1
Hi all,
as recently noticed during the (unfortunately rejected) patch for
COCOON-2354 [1], it might make sense to upgrade the current minimum
JDK
Post by Insight 49
Post by Nathaniel, Alfred
requirement for Cocoon 2.1 from 1.4 to 1.5, mainly to ease some
upgrades
Post by Insight 49
Post by Nathaniel, Alfred
and help Cocoon 2.1 living in the modern world.
Besides 3rd part library updates, some work could be needed to
upgrade
Post by Insight 49
Post by Nathaniel, Alfred
our Java code, so help would be appreciated.
--
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Member at The Apache Software Foundation
Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
http://home.apache.org/~ilgrosso/
Antonio Gallardo
2016-10-10 17:28:08 UTC
Permalink
Hi folks,

+1 for 1.5.

If in the future we have the need to move to a more recent version (ie:
because a patch), then we should discuss it.

Best Regards,

Antonio Gallardo.
Post by Francesco Chicchiriccò
Hi all,
as recently noticed during the (unfortunately rejected) patch for
COCOON-2354 [1], it might make sense to upgrade the current minimum
JDK requirement for Cocoon 2.1 from 1.4 to 1.5, mainly to ease some
upgrades and help Cocoon 2.1 living in the modern world.
Besides 3rd part library updates, some work could be needed to upgrade
our Java code, so help would be appreciated.
WDYT?
Regards.
[1]
Francesco Chicchiriccò
2016-10-11 06:39:31 UTC
Permalink
Post by Antonio Gallardo
Hi folks,
+1 for 1.5.
because a patch), then we should discuss it.
Hi,
we *are* discussing exactly that.

At the moment we have a couple of patches on hold, for COCOON-2354 and
COCOON-2352.

Since it seems to me that there is enough consensus to move on, I will
open a new issue for setting the compatibility to JDK 1.5 (at least for
the moment) so that we can move on and accept the two patches above.

Regards.
Post by Antonio Gallardo
Post by Francesco Chicchiriccò
Hi all,
as recently noticed during the (unfortunately rejected) patch for
COCOON-2354 [1], it might make sense to upgrade the current minimum
JDK requirement for Cocoon 2.1 from 1.4 to 1.5, mainly to ease some
upgrades and help Cocoon 2.1 living in the modern world.
Besides 3rd part library updates, some work could be needed to upgrade
our Java code, so help would be appreciated.
WDYT?
Regards.
--
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Member at The Apache Software Foundation
Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
http://home.apache.org/~ilgrosso/
Loading...