Skip to main content



      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 16:52 Go to next message
Eclipse UserFriend
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 00:14 Go to previous messageGo to next message
Eclipse UserFriend
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.
Re: Can Eclipse Installer be run from command line? [message #1856512 is a reply to message #1779948] Tue, 13 December 2022 15:34 Go to previous messageGo to next message
Eclipse UserFriend
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 18:25 Go to previous messageGo to next message
Eclipse UserFriend
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 08:24 Go to previous message
Eclipse UserFriend
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 20 21:22:18 EDT 2025

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

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

Back to the top