Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Portable JAVA+DSL installer with ecoretools diagram editor(Problem getting ecoretools deiagram editor into Oomph)
Portable JAVA+DSL installer with ecoretools diagram editor [message #1871814] Sat, 12 October 2024 06:18 Go to next message
Eclipse UserFriend
The basic need is to make a portable installation (for Linux PC's without internet connection) which include the Java+DSL distribution and the ecoretools diagram editor. The editor is needed for drawing class diagrams of the ecore in my xtext DSL project.

I hit 3 barriers trying in different ways to solve this.

1) I have a working Linux installation based on the 2024 JAVA+DSL installer and installation of ecore tools (the diagram editor). However, 2024 installer uses.p2, and fiddling to make a an identical installation in a single directory seems to be difficult and I would need instructions on how to move files and which configuration files to update (and how).

Copying a working installation with the exact same versions of everything would be my priority 1 solution. It may have drawbacks compared to making an Oomph installer, but it is also has advantages.

2) just plain install of the ecore tool diagram editor that works without updating old versions is not trivial. I cant find it in "all sites" in the installer, and when installing from http://download.eclipse.org/ecoretools/updates/releases/3.4.0/2021-06 I need to go though installation and an update after the installation because 3.4 and its sirius is not compatible with the 2024 java+DSL installation. After this installation I export the installation (only diagram editor listed here. typed in from the non-internet connected pc)

<p2f version= "1.0">
<ius size="1">
<iu id="org.eclipse.emf.ecoretools.design.feature.group" name="Ecore Diagram Editor" version="3.5.1.202404261351">
<repositories size="2">
<repository location="https://download.eclipse.org/releases.latest"/>
<repository location="https://download.eclipse.org/releases.2024-09"/>
...


To try to make an install, that did not need an update, I downloaded the completee https://download.eclipse.org/releases.2024-09 site using https://stackoverflow.com/questions/1371176/downloading-eclipse-plug-in-update-sites-for-offline-installation based on XML information. 1.2 GB downloaded, but the diagram editor did not show when pointing the eclipse->help> install new software to the downloaded folders.

I believe that getting this step 2) to work is a prerequisite for making 3) work: An Oomph based installer for JAVA, DSL and Ecore Diagram Editor.

3) I went the right way about it and tried to set up an Oomph based installer with the eclipse Java- DSL-installer as basis. Java and DSL alone worked fine, but trying to add the diagram editor, the system failed.
First it failed with:
Adding metadata repository http://eclipse-cs.sourceforge.net/update/
ERROR: org.eclipse.equinox.p2.metadata.repository code=1000 No repository found at http://mbarbero.github.io/fr.obeo.releng.targetplatform/p2/.
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.fail(AbstractRepositoryManager.java:417)


Apparently because mbarbero.github.io has been taken over by https://github.com/jonahgraham/f?
First, I dont know if this is true (that the new site is equivalent to the old one), Second, I prefer to get SW from eclipse and not github and third, I failed to identify where to modify the Oomph files to get this from another source. (I also don't know if it could be skipped. It doesn't sound much like "diagram editor".
I don't know if this is just the first problem when trying to make the Oomph installer.

So, Making the Oomph installer solution sounds most "correct", but is it possible to get everything to work at the same time and materialize in an installer that I can just copy to the non-internet connected target computer?
I can post in the Oomph forum, but then I need 2) solved first ;-)


Re: Portable JAVA+DSL installer with ecoretools diagram editor [message #1871817 is a reply to message #1871814] Sat, 12 October 2024 07:20 Go to previous messageGo to next message
Eclipse UserFriend
Am not sure if the Xtext forum is the correct place to ask
But in general: are you aware of the p2 director eg how we use it here
https://github.com/xtext/xtext-apidiff/blob/8c14c9009452a481e8330683113be893c841e17d/create-api-diff.sh#L70
You might be able to use this to programmatically install additional features into your eclipse
Re: Portable JAVA+DSL installer with ecoretools diagram editor [message #1872303 is a reply to message #1871817] Mon, 28 October 2024 03:08 Go to previous message
Eclipse UserFriend
Thanks Christian,
After quite a bit of research and following your advice, I am still not able to make a portable installer that make the tool chain work without internet access.
I have improved the question to focus on that and asked it on the Oomph forum, https://www.eclipse.org/forums/index.php/t/1116564/where at least the installer part belongs.
I will address the problem of the ecore diagram editor to the ecore tools project.https://www.eclipse.org/forums/index.php?t=thread&frm_id=165

/Anders

Previous Topic:Xtext 2.37.0.M1 is out
Next Topic:Resolving proxies across different projects
Goto Forum:
  


Current Time: Sat Mar 22 08:38:32 EDT 2025

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

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

Back to the top