Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » [Oomph] Can we limit the JRE versions to choose in the Installer?
[Oomph] Can we limit the JRE versions to choose in the Installer? [message #1700123] Tue, 30 June 2015 10:00 Go to next message
Silvestre Martins is currently offline Silvestre MartinsFriend
Messages: 84
Registered: July 2009
Member
I would like to enforce the same JVM version in the installation for all developers, regardless the versions the developer may have installed in his machine.

Is this possible with Oomph?
Re: [Oomph] Can we limit the JRE versions to choose in the Installer? [message #1700133 is a reply to message #1700123] Tue, 30 June 2015 10:58 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6692
Registered: July 2009
Senior Member
Am 30.06.2015 um 12:00 schrieb Silvestre Martins:
> I would like to enforce the same JVM version in the installation for all developers, regardless the versions the
> developer may have installed in his machine.
>
> Is this possible with Oomph?
>
In Oomph's setup we specify a JRETask like this:

<?xml version="1.0" encoding="UTF-8"?>
<jdt:JRETask
xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jdt="http://www.eclipse.org/oomph/setup/jdt/1.0"
xsi:schemaLocation="http://www.eclipse.org/oomph/setup/jdt/1.0
http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/JDT.ecore"
version="J2SE-1.5"
location="${jre.location-1.5}"/>

IIRC., higher JREs are considered valid substitutes.

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Re: [Oomph] Can we limit the JRE versions to choose in the Installer? [message #1700134 is a reply to message #1700133] Tue, 30 June 2015 11:04 Go to previous messageGo to next message
Silvestre Martins is currently offline Silvestre MartinsFriend
Messages: 84
Registered: July 2009
Member
Eike Stepper wrote on Tue, 30 June 2015 06:58
Am 30.06.2015 um 12:00 schrieb Silvestre Martins:
> I would like to enforce the same JVM version in the installation for all developers, regardless the versions the
> developer may have installed in his machine.
>
> Is this possible with Oomph?
>
In Oomph's setup we specify a JRETask like this:

<?xml version="1.0" encoding="UTF-8"?>
<jdt:JRETask
xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jdt="http://www.eclipse.org/oomph/setup/jdt/1.0"
xsi:schemaLocation="http://www.eclipse.org/oomph/setup/jdt/1.0
http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/JDT.ecore"
version="J2SE-1.5"
location="${jre.location-1.5}"/>

IIRC., higher JREs are considered valid substitutes.

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper



So I imagine that we are not able to block an higher JRE from being selected.

Another solution would be to allow to provision a JDK/JRE from the Oomph itself. I don't know if this makes sense at all.
Re: [Oomph] Can we limit the JRE versions to choose in the Installer? [message #1700136 is a reply to message #1700134] Tue, 30 June 2015 11:17 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6692
Registered: July 2009
Senior Member
Am 30.06.2015 um 13:04 schrieb Silvestre Martins:
> So I imagine that we are not able to block an higher JRE from being selected.
Correct.

> Another solution would be to allow to provision a JDK/JRE from the Oomph itself. I don't know if this makes sense at all.
Hard to say. Maybe you elaborate a little what you're imagining ;-)

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Re: [Oomph] Can we limit the JRE versions to choose in the Installer? [message #1700140 is a reply to message #1700136] Tue, 30 June 2015 11:30 Go to previous messageGo to next message
Silvestre Martins is currently offline Silvestre MartinsFriend
Messages: 84
Registered: July 2009
Member
I want to enforce that all developers uses exactly the same setup for a given stream development, such as the version of Eclipse IDE, the Target Platform and other preferences. With Oomph this becomes very easy to implement and maintain.
However, with the current approach I cannot do the same for the JRE. Though the JRE is suppose to be fully compatible with previous versions, our product is tested for a given JRE version and shipped with that JRE, so I would like to restrict the version during installation. This would also ease the installation because the developer wouldn't need to install the JDK previously.
Re: [Oomph] Can we limit the JRE versions to choose in the Installer? [message #1700144 is a reply to message #1700140] Tue, 30 June 2015 11:53 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6692
Registered: July 2009
Senior Member
Am 30.06.2015 um 13:30 schrieb Silvestre Martins:
> I want to enforce that all developers uses exactly the same setup for a given stream development, such as the version
> of Eclipse IDE, the Target Platform and other preferences. With Oomph this becomes very easy to implement and maintain.
> However, with the current approach I cannot do the same for the JRE. Though the JRE is suppose to be fully compatible
> with previous versions, our product is tested for a given JRE version and shipped with that JRE, so I would like to
> restrict the version during installation. This would also ease the installation because the developer wouldn't need to
> install the JDK previously.
I'd like to discuss this topic with Ed but he's currently on travel. Can you please open an enhancement request as a
reminder?

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Re: [Oomph] Can we limit the JRE versions to choose in the Installer? [message #1700184 is a reply to message #1700144] Tue, 30 June 2015 14:03 Go to previous message
Silvestre Martins is currently offline Silvestre MartinsFriend
Messages: 84
Registered: July 2009
Member
Ok, done:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=471448

Thx
Previous Topic:Added as GitHub Project
Next Topic:Importing project set from SVN fails
Goto Forum:
  


Current Time: Sat Dec 07 18:03:41 GMT 2024

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

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

Back to the top