Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [oomph] let users open custom setup file
[oomph] let users open custom setup file [message #1282428] Wed, 02 April 2014 09:36 Go to next message
Moritz Eysholdt is currently offline Moritz EysholdtFriend
Messages: 161
Registered: July 2009
Location: Kiel, Germany
Senior Member
Hi,

I've a project hosted at Github that I would like to use Oomph for. So I would create a .setup file in the git repository at github.

What's the easiest way for users to consume that .setup file?
Initially I had in mind that users would download the setup tool, launch it and point it to the URL of the the .setup file. However, there seems to be no UI for this.

In the wiki section about authoring .setup files I discovered that .setup files can be placed in the setup tools directory structure. That is a task I could do (as having the role of a release engineer). I would not want users of the setup tool (potential contributors) having to do this sep. Consequently, I would have to provide my own download of the setup tool, pre-packaged with my setup file and one download per operating system/architecture and with ~60MB for each download.

Did I miss a UI feature to select custom .setup files or are you planning to support such an UI feature?
Re: [oomph] let users open custom setup file [message #1282513 is a reply to message #1282428] Wed, 02 April 2014 12:05 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Am 02.04.2014 11:36, schrieb Moritz Eysholdt:
> Hi,
>
> I've a project hosted at Github that I would like to use Oomph for. So I would create a .setup file in the git
> repository at github.
>
> What's the easiest way for users to consume that .setup file?
> Initially I had in mind that users would download the setup tool, launch it and point it to the URL of the the .setup
> file. However, there seems to be no UI for this.
> In the wiki section about authoring .setup files I discovered that .setup files can be placed in the setup tools
> directory structure. That is a task I could do (as having the role of a release engineer). I would not want users of
> the setup tool (potential contributors) having to do this sep. Consequently, I would have to provide my own download
> of the setup tool, pre-packaged with my setup file and one download per operating system/architecture and with ~60MB
> for each download.
> Did I miss a UI feature to select custom .setup files or are you planning to support such an UI feature?
Somehow the Oomph installer must be able to find your project model. Typically it finds these models through the project
*index* that we maintain at Eclipse.org. Of course this index contains only Eclipse.org projects. Oomph already has
initial support for additional project indexes through a *meta index* that we maintain at Eclipse.org. "Initial" means
that it is not much used/tested, yet. We can certainly link your custom index model into our meta-index and from there
you can link your own project models. The only requirement is the projects in your index are all hosted at GitHub.

Until we've clarified how best and when to present the meta index information in the installer dialog you'll have to
execute your installer with -Dsetup.uri=<uri of your index file>, so that probably means repackage with modified
setup-eclipse.ini anyway.

Cheers
/Eike

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


Re: [oomph] let users open custom setup file [message #1283447 is a reply to message #1282513] Thu, 03 April 2014 12:30 Go to previous messageGo to next message
Moritz Eysholdt is currently offline Moritz EysholdtFriend
Messages: 161
Registered: July 2009
Location: Kiel, Germany
Senior Member
Hi Eike,

as much as I like the idea of an index (a very convenient starting point for new users), It leaves questions open about projects that
- the Oomph developers consider too insignificant to be accepted into the index
- don't seek publicity or are in fact internal/in-house/proprietary projects.

For these projects it would be really helpful if one could easily point the setup tool to a .setup's URL.


Besides indexes, did you consider doing automated searches?

For examples, the following query returns a list of all .setup files that contain the string "http://www.eclipse.org/CDO/releng/setup/1.0" (the namespace URI used in .setup files).

https://github.com/search?q=%22http%3A%2F%2Fwww.eclipse.org%2FCDO%2Freleng%2Fsetup%2F1.0%22+extension%3Asetup&type=Code&ref=searchresults

The same query can be run by google, too:
https://www.google.de/?gfe_rd=cr&ei=o1E9U7zXE4aI8Qe-t4DIBA#q=intext%3A%22http%3A%2F%2Fwww.eclipse.org%2FCDO%2Freleng%2Fsetup%2F1.0%22+filetype%3Asetup

If this query could be run via API, you could provide a list of all projects on github that have a .setup available. Compared to an index, this would make more projects visible and decrease your maintenance effort.


cheers,
Moritz
Re: [oomph] let users open custom setup file [message #1284278 is a reply to message #1283447] Fri, 04 April 2014 09:42 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Am 03.04.2014 14:30, schrieb Moritz Eysholdt:
> Hi Eike,
> as much as I like the idea of an index (a very convenient starting point for new users), It leaves questions open
> about projects that
> - the Oomph developers consider too insignificant to be accepted into the index
> - don't seek publicity or are in fact internal/in-house/proprietary projects.
> For these projects it would be really helpful if one could easily point the setup tool to a .setup's URL.
That's possible with -Dexample.uri=http://... and has the same effect as placing the setup file in the installer's root
folder.

Cheers
/Eike

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



> Besides indexes, did you consider doing automated searches?
>
> For examples, the following query returns a list of all .setup files that contain the string
> "http://www.eclipse.org/CDO/releng/setup/1.0" (the namespace URI used in .setup files).
>
> https://github.com/search?q=%22http%3A%2F%2Fwww.eclipse.org%2FCDO%2Freleng%2Fsetup%2F1.0%22+extension%3Asetup&type=Code&ref=searchresults
>
>
> The same query can be run by google, too:
> https://www.google.de/?gfe_rd=cr&ei=o1E9U7zXE4aI8Qe-t4DIBA#q=intext%3A%22http%3A%2F%2Fwww.eclipse.org%2FCDO%2Freleng%2Fsetup%2F1.0%22+filetype%3Asetup
>
>
> If this query could be run via API, you could provide a list of all projects on github that have a .setup available.
> Compared to an index, this would make more projects visible and decrease your maintenance effort.
>
>
> cheers,
> Moritz


Previous Topic:[EMF] retrieve cross-model-referenced object
Next Topic:Considering eSuperTypes of an EClass
Goto Forum:
  


Current Time: Tue Apr 23 12:52:34 GMT 2024

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

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

Back to the top