Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Hudson » Is it OK to build Hudson plugins for Java SE 7?
Is it OK to build Hudson plugins for Java SE 7? [message #1708656] Fri, 18 September 2015 12:54 Go to next message
Kaz Nishimura is currently offline Kaz NishimuraFriend
Messages: 89
Registered: December 2014
Member
It is getting harder these days to build Java programs for Java SE 6 as it is phasing out. Even with the -source 1.6 and -target 1.6 options, it is not completely compatible to Java SE 6 unless Java SE 6 runtime is specified as the boot class path for Java SE 7 (or later) javac or compiled by Java SE 6 javac itself.

So is it now OK to build Hudson plugins for Java SE 7, then? In other words, how long should plugins support Java SE 6?


Kaz Nishimura
Re: Is it OK to build Hudson plugins for Java SE 7? [message #1708673 is a reply to message #1708656] Fri, 18 September 2015 14:39 Go to previous messageGo to next message
Winston Prakash is currently offline Winston PrakashFriend
Messages: 534
Registered: August 2011
Location: Fremont, CA USA
Senior Member
JDK 6 is not officially supported any more, it has security holes. That is the reason we mandated JDK 7 for Hudson 3.3.0. So it make sense to use JDK 7+ in new plugins meant for 3.3.0 and above.

Winston Prakash
Eclipse Hudson team
Re: Is it OK to build Hudson plugins for Java SE 7? [message #1708677 is a reply to message #1708673] Fri, 18 September 2015 15:23 Go to previous messageGo to next message
Kaz Nishimura is currently offline Kaz NishimuraFriend
Messages: 89
Registered: December 2014
Member
How about new versions of existing plugins?

Winston Prakash wrote on Fri, 18 September 2015 23:39
JDK 6 is not officially supported any more, it has security holes. That is the reason we mandated JDK 7 for Hudson 3.3.0. So it make sense to use JDK 7+ in new plugins meant for 3.3.0 and above.



Kaz Nishimura
Re: Is it OK to build Hudson plugins for Java SE 7? [message #1708679 is a reply to message #1708677] Fri, 18 September 2015 16:08 Go to previous messageGo to next message
Winston Prakash is currently offline Winston PrakashFriend
Messages: 534
Registered: August 2011
Location: Fremont, CA USA
Senior Member
It depends on which version of Hudson you want to release it. As you can see here

http://hudson-ci.org/PluginCentral/

we have different update center for 2.x, 3.x, 3.2.x & 3.3.x. If you are releasing the plugin for 3.3.x then you can use JDK 7.x


Winston Prakash
Eclipse Hudson team
Re: Is it OK to build Hudson plugins for Java SE 7? [message #1708682 is a reply to message #1708679] Fri, 18 September 2015 16:32 Go to previous messageGo to next message
Kaz Nishimura is currently offline Kaz NishimuraFriend
Messages: 89
Registered: December 2014
Member
As i already wrote, I have a problem in building Maven projects using Java SE 6 on Hudson 3.3.0. Do I need Hudson 3.2.x to build projects using Java SE 6?

Winston Prakash wrote on Sat, 19 September 2015 01:08
It depends on which version of Hudson you want to release it. As you can see here

http://hudson-ci.org/PluginCentral/

we have different update center for 2.x, 3.x, 3.2.x & 3.3.x. If you are releasing the plugin for 3.3.x then you can use JDK 7.x



Kaz Nishimura
Re: Is it OK to build Hudson plugins for Java SE 7? [message #1708683 is a reply to message #1708682] Fri, 18 September 2015 16:50 Go to previous messageGo to next message
Winston Prakash is currently offline Winston PrakashFriend
Messages: 534
Registered: August 2011
Location: Fremont, CA USA
Senior Member
You need JDK 7.x to run Hudson 3.3.0. Building your project using JDK 6.x should not be a problem, else it is a bug.

Winston Prakash
Eclipse Hudson team
Re: Is it OK to build Hudson plugins for Java SE 7? [message #1708688 is a reply to message #1708683] Fri, 18 September 2015 17:16 Go to previous message
Kaz Nishimura is currently offline Kaz NishimuraFriend
Messages: 89
Registered: December 2014
Member
Filed https://bugs.eclipse.org/bugs/show_bug.cgi?id=477839

Kaz Nishimura
Previous Topic:Hudson 3.3.0 no longer supports Maven builds with Java 6?
Next Topic:Tool property not saved?
Goto Forum:
  


Current Time: Tue Mar 19 05:47:11 GMT 2024

Powered by FUDForum. Page generated in 0.02190 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top