Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » How is Oomph packaged into a single file?(How to turn an eclipse RCP product into a single .exe?)
icon5.gif  How is Oomph packaged into a single file? [message #1702510] Wed, 22 July 2015 18:56 Go to next message
Nate Jones is currently offline Nate JonesFriend
Messages: 5
Registered: December 2014
Junior Member
I am writing a custom RCP application for my organization. We're planning to host a P2 server locally to distribute updates. I'd like to package a custom version of the Oomph installer that could be downloaded and ran in order to install our tool. Basically a web installer for our tool.

I've read over the information here https://wiki.eclipse.org/Eclipse_Oomph_Authoring#Hosting_your_own_index_.2F_catalogs and it seems fairly trivial to redirect oomph toward a custom index. And I understand how to edit the ini. What I don't follow is how is oomph being packaged into the single file .exe? I have downloaded the source code and successfully built it, but all I get is a typical eclipse product in a regular zip file. How is the self extracting executable being created?

Thanks all! Oomph is awesome and I've been learning a lot about eclipse development looking over this project.
Re: How is Oomph packaged into a single file? [message #1702685 is a reply to message #1702510] Fri, 24 July 2015 06:46 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6692
Registered: July 2009
Senior Member
Am 22.07.2015 um 20:56 schrieb Nate Jones:
> I am writing a custom RCP application for my organization. We're planning to host a P2 server locally to distribute
> updates. I'd like to package a custom version of the Oomph installer that could be downloaded and ran in order to
> install our tool. Basically a web installer for our tool.
>
> I've read over the information here
> https://wiki.eclipse.org/Eclipse_Oomph_Authoring#Hosting_your_own_index_.2F_catalogs and it seems fairly trivial to
> redirect oomph toward a custom index. And I understand how to edit the ini. What I don't follow is how is oomph
> being packaged into the single file .exe? I have downloaded the source code and successfully built it, but all I get
> is a typical eclipse product in a regular zip file. How is the self extracting executable being created?
That's quite a complicated process and I don't have the time to explain it in depth. But the pieces are all in our Git
repo and you should be able to get the idea by looking at the C code in org.eclipse.oomph.extractor project and the
repackage.sh script in the org.eclipse.oomph.releng project.

> Thanks all! Oomph is awesome and I've been learning a lot about eclipse development looking over this project.
Thanks. Our pleasure ;-)

Cheers
/Eike

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


Re: How is Oomph packaged into a single file? [message #1702985 is a reply to message #1702685] Mon, 27 July 2015 17:23 Go to previous messageGo to next message
Nate Jones is currently offline Nate JonesFriend
Messages: 5
Registered: December 2014
Junior Member
Thanks, Eike. I looked through those files and followed most of what you guys are doing. Definitely complex, but I think I followed most of it. Was there a reason that you guys decided to go that route rather than using a program like 7-zip or winrar to build your sfx file?
Re: How is Oomph packaged into a single file? [message #1702986 is a reply to message #1702985] Mon, 27 July 2015 17:29 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6692
Registered: July 2009
Senior Member
Am 27.07.2015 um 19:23 schrieb Nate Jones:
> Thanks, Eike. I looked through those files and followed most of what you guys are doing. Definitely complex, but I
> think I followed most of it.
Very good ;-)

> Was there a reason that you guys decided to go that route rather than using a program like 7-zip or winrar to build
> your sfx file?
I'm not familiar with those. re they and their results EPL-compatible? Would they run on our Linux Hudson server?

Cheers
/Eike

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


Re: How is Oomph packaged into a single file? [message #1703005 is a reply to message #1702986] Mon, 27 July 2015 20:55 Go to previous message
Nate Jones is currently offline Nate JonesFriend
Messages: 5
Registered: December 2014
Junior Member
I don't think that WinRAR would be. 7-zip is open source and has a gnu LGPL license. Not sure how that matches up with EPL. I know there is a linux port of 7zip but I'm not really familiar with it. Not sure if it would be worth the time to research since you guys already have a working portable solution up and running.
Previous Topic:Order of git checkout and resource copy
Next Topic:Problem in building an Eclipse installation with oomph
Goto Forum:
  


Current Time: Sun Dec 08 23:00:46 GMT 2024

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

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

Back to the top