Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Can Eclipse Installer be run from command line?
Can Eclipse Installer be run from command line? [message #1779938] Mon, 15 January 2018 21:52 Go to next message
Ge Strait is currently offline Ge StraitFriend
Messages: 43
Registered: September 2017
Member
We would like to run Eclipse Installer in a continuoes integration environment.

Doing so would require running Eclipse Installer from the command line and specifying all a user would enter in the Eclipse Installer GUI (product catalog, JRE location, installation path...) via some sort of input file or command line parameters.

Is this possible?

Thanks.
Re: Can Eclipse Installer be run from command line? [message #1779948 is a reply to message #1779938] Tue, 16 January 2018 05:14 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33145
Registered: July 2009
Senior Member
It's possible in principle now with the support for Configurations:

https://wiki.eclipse.org/Eclipse_Oomph_Authoring#Automation_and_Specialization_with_Configurations

This way it's possible to specify the Project Version (and Project Streams) to install as well as to fully specify the values for all prompted variables. What's missing is a headless application to process it. Perhaps someone will be interested in funding/developing that...

This is the topic of https://bugs.eclipse.org/bugs/show_bug.cgi?id=487626 where there was some effort invested, but not taking the best design approach. I.e., I really don't want something with a large/endless set of command line parameters.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Can Eclipse Installer be run from command line? [message #1856512 is a reply to message #1779948] Tue, 13 December 2022 20:34 Go to previous messageGo to next message
Alexey Langer is currently offline Alexey LangerFriend
Messages: 7
Registered: August 2022
Junior Member
For those still looking for an answer:

This task can be solved using the console version of the oomph installer https://github.com/a-langer/eclipse-oomph-console. It allows you to install Eclipse in headless mode (from command line) with a set of required plugins.
Re: Can Eclipse Installer be run from command line? [message #1857129 is a reply to message #1856512] Wed, 18 January 2023 23:25 Go to previous messageGo to next message
Manuel Malagon is currently offline Manuel MalagonFriend
Messages: 81
Registered: December 2011
Member
Alexey,

Thanks for helping with this. It is what I'm looking for. I just have one question. How can I specify what version to install? I need the 2022-03 but I don't know how to specify it on the command.
Re: Can Eclipse Installer be run from command line? [message #1857394 is a reply to message #1857129] Fri, 03 February 2023 13:24 Go to previous message
Alexey Langer is currently offline Alexey LangerFriend
Messages: 7
Registered: August 2022
Junior Member
You can specify a specific version through a colon:
./eclipse-inst -nosplash -application org.eclipse.oomph.console.application -vmargs \
  -Doomph.installation.location="$PWD/ide" \
  -Doomph.product.id="epp.package.java:2022-03"

This information can be found in the instructions https://github.com/a-langer/eclipse-oomph-console.
Previous Topic:Project name template and name conflict in maven import task
Next Topic:Eclipse IDE installer asks "do you trust these signers" - validity date: expired
Goto Forum:
  


Current Time: Tue May 07 12:45:00 GMT 2024

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

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

Back to the top