How to build the modelserver? #68
Replies: 12 comments
-
[Martin Fleck] Hi @x21L ! |
Beta Was this translation helpful? Give feedback.
-
[Lukas] @martin-fleck(martin-fleck) Thank you Martin for your fast response. The
The -Pp2 build is working with the above result and -Pm2 gives the following error message:
Thank you very much for your help. |
Beta Was this translation helpful? Give feedback.
-
[Lukas] I am now able to run the jar file and the server seems to work, but I cannot run it with |
Beta Was this translation helpful? Give feedback.
-
[Lukas] Is there a server down maybe, which is providing the dependency? I get the following error messages when I try to install the p2 stuff via
|
Beta Was this translation helpful? Give feedback.
-
[Martin Fleck] @x21L(x21l) Very interesting! In theory everything should be available but we are currently working on the build so I'll double check if something got broken and come back to you. Do you use any specific update site or just the snapshot (https://download.eclipse.org/emfcloud/modelserver/p2/nightly/)? |
Beta Was this translation helpful? Give feedback.
-
[Lukas] I used just the snapshot |
Beta Was this translation helpful? Give feedback.
-
[Martin Fleck] Hi @x21L(x21l) , I just double checked and everything seems to be working on our end. However, we do not produce a composite update site so you would need to make sure that in your Eclipse installation you have the update site of our dependencies as well so that p2 can properly resolve the missing artifacts. For instance, we consume |
Beta Was this translation helpful? Give feedback.
-
[Lukas] Yes this resolved my issue thank you very much for your help. I really appreciate it. |
Beta Was this translation helpful? Give feedback.
-
[Joerg Holtmann] Hi all, I am also currently having problems with building the model server in the IDE, but in this case this is due to the fact that the emfjson-jackson p2 update site returns a 404. Does anyone know something about this? (Although I got the model server standalone jar and the other jars built and running, it would be far better for me to run it directly from the IDE to understand the concepts.) Best, |
Beta Was this translation helpful? Give feedback.
-
[Martin Fleck] @joerg-holtmann(joerg-holtmann) Hmm... I am not sure I can reproduce the issue. When entering the URL in the browser I also get the 404 but when referencing it from a target file or simply adding it in Eclipse as an update site, the resolution still works. I also tried to clear the p2 cache and have the update site reload and it still works. Does the problem still persist for you? I know that the https://github.com/emfjson/emfjson-jackson repository was recently archived so that might have taken the GitHub pages down as well. |
Beta Was this translation helpful? Give feedback.
-
[Lukas] Have your tried reloading the target platform? The file is located here |
Beta Was this translation helpful? Give feedback.
-
[Joerg Holtmann] Sorry guys and thank you very much for all your replies @martin-fleck and @x21L ---I was too slow to give you an update after today's lunch, and you just gave me the hints that I accidentally tried this morning. ;-) Indeed, after realizing that only Github wants an index.html and otherwise throws a 404 (and not shows like Eclipse pages a sign that I have a p2 update site at hand), I put the p2 update site into Eclipse and it worked. Afterward, I used the target definition and it worked even more the way I wanted to with the source code of the model server. The only further thing that I encountered is that on trying to load the Model Server via an update site, it fails due to other dependencies that couldn't be loaded. I probably confused it with the EMF-JSON-Jackson update site 'issue'. However, this is no showstopper anymore for me, but might be of interest for others. |
Beta Was this translation helpful? Give feedback.
-
Hey! I am having trouble with building the model server. Some dependencies are always missing... Guice and Jackson for example.
I tried it with the modeling version of eclipse and over the command line. I cloned the repo and tried mvn clean install
Are there any additional steps I need to do? I am talking about this https://github.com/eclipse-emfcloud/emfcloud-modelserver repo.
Thank you very much in advance.
original thread by Lukas
Beta Was this translation helpful? Give feedback.
All reactions