Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Oomph executable installer
Oomph executable installer [message #1859993] Sat, 08 July 2023 22:04 Go to next message
Egor Baykov is currently offline Egor BaykovFriend
Messages: 5
Registered: July 2023
Junior Member
Hello,
I'm learning Oomph and stack on build step how can I build the executable .exe (for now Windows only) which can be used to install my EclipseIDE-based application using Oomph installer.

I.e. something similar to Eclipse installer for Advanced mode (eclipse-inst.exe)
But some simple example, as a start point.

I'm trying Oomph incubator (https://github.com/eclipse-oomph/oomph.incubator), trying to build installer for it, based on OomphIncubator.setup
Could you please teach me how can I build the installer executable for this OomphIncubator project?

In case if it is not possible to build an installer executable for OomphIncubator may be you can point me to another working example which I can use to see how such installer executable might be built?
Thanks!

-Egor
Re: Oomph executable installer [message #1859994 is a reply to message #1859993] Sun, 09 July 2023 07:01 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33145
Registered: July 2009
Senior Member
The build is reproducible locally in your Oomph development environment via Run -> External Tools -> Build * launchers.

Ed Merks
Professional Support: https://www.macromodeling.com/

[Updated on: Sun, 09 July 2023 07:03]

Report message to a moderator

Re: Oomph executable installer [message #1859998 is a reply to message #1859994] Mon, 10 July 2023 03:41 Go to previous messageGo to next message
Egor Baykov is currently offline Egor BaykovFriend
Messages: 5
Registered: July 2023
Junior Member
Hi Ed,

thanks a lot for the quick response!

Could you please clarify what do you mean by "Oomph development environment"?
I'm using the latest Eclipse IDE for Java with all the "Oomph *" software components installed for it.
Can it be considered as a valid Oomph Dev env?

Also - I can not find any "Build * launchers" for Oomph.Incubator project
I'm able to successfully run maven.launch (https://github.com/eclipse-oomph/oomph.incubator/blob/master/maven/Maven.launch) but seems, it is not building any executables.

I'm trying to use Win64 Build Launcher from Oomp project (https://github.com/eclipse-oomph/oomph/blob/master/releng/org.eclipse.oomph.releng/Build%20Windows%2064bit.launch) for Oomph.Incubator prj, but no luck.
This Build launcher is failing on this command:
'ssh.exe genie.oomph@projects-storage.eclipse.org mkdir -p /home/data/httpd/download.eclipse.org/oomph/simrel-maven'
'genie.oomph@projects-storage.eclipse.org' requires authentication I can not ssh to it.
Plus I'm not quite sure this is a good idea trying to reuse build launcher "as is" from another prj.

I will really appreciate if you could help me one more time to push with this Build Launcher task for the Oomph.Incubator prj.

Thanks a lot!

-Egor

Re: Oomph executable installer [message #1859999 is a reply to message #1859998] Mon, 10 July 2023 05:50 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6683
Registered: July 2009
Senior Member
Hi Egor,

You can set up your Oomph development environment with the Eclipse Installer, as described here: https://wiki.eclipse.org/Oomph_Contribution_Guide#Getting_the_source


Re: Oomph executable installer [message #1860000 is a reply to message #1859998] Mon, 10 July 2023 06:04 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33145
Registered: July 2009
Senior Member
This page has a link for setting up Oomph's development environment:

https://ci.eclipse.org/oomph/

The oomph.incubator Git repository is not related to the other parts of Oomph in the oomph Git repository. So it's not relevant and I suggest you treat it as if it doesn't exist. Better to look at how the Oomph Installer executable is created by the build.

The details in this POM are relevant, including the bash scripts that it calls that are also in the product folder:

/org.eclipse.oomph.setup.installer.product/pom.xml

You'll need to have gitbash installed for the build scripts to work on Windows.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Oomph executable installer [message #1860010 is a reply to message #1860000] Mon, 10 July 2023 13:35 Go to previous messageGo to next message
Egor Baykov is currently offline Egor BaykovFriend
Messages: 5
Registered: July 2023
Junior Member
Ed, Eike,
Thanks a lot for your feedbacks!

May I please ask you to check my generic understanding for Oomph installer workflow:
- create new Eclipse based RCP application (Eclipse IDE for RCP and RAP Developers)
- implement the new business logic on top of "blank" Eclipse RCP app
- setup Oomph development env as you mentioned above
- create .setup file using Oomph Project Setup Model
- build installer executable for that new Eclipse RCP App using the "Build * Launcher" build scripts
- job is done
Is it correct understanding for the way how can I create my own Oomph-based installer?
Thanks a lot, I really appreciate your time helping me with that basics of Oomph!
-Egor
Re: Oomph executable installer [message #1860012 is a reply to message #1860010] Mon, 10 July 2023 14:30 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33145
Registered: July 2009
Senior Member
You don't generally need to create your own installer in order to install your own specialized setups. In the most extreme case you can host your own index or your own catalogs, still reusing the existing installer.

https://wiki.eclipse.org/Eclipse_Oomph_Authoring#Hosting_your_own_index_.2F_catalogs

For project setups, you can add them to the user extensions of the existing project catalogs.

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

This is a useful mechanism to automate choices of products and projects in the installer:

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


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:oomph configuration in eclipse.ini useful?
Next Topic:IllegalStateException: Profile <some profile> is not current. Expected timestamp 0 but was 0.
Goto Forum:
  


Current Time: Tue May 07 08:52:26 GMT 2024

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

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

Back to the top