Skip to main content



      Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Howto setup EMFstore to only use my production server
Howto setup EMFstore to only use my production server [message #1403604] Thu, 24 July 2014 10:44 Go to next message
Eclipse UserFriend
Hi,

I have created a rap application which uses ECP and the Model Repositories view.
Now I want to get rid of the default "Local EMFstore" entry in the Model Repositories view and replace it by my production server (a manually configured EMF server).

This does not seem to work for several reasons:

1. If I delete the "serverInfos" entry which creates the "Local EMFstore" in the file <userhome>.emfstore\client\profiles\default\workspace.ucw it is automatically re-created when I start the client.

2. If I add another "serverInfos" entry to the file it is ignored (does not show up in the Model Repositories view)

3. If I try to add another repository using the UI I can not select a certificate as the select-button does nothing except deleting the name of the default cert. I checked the source code and found that there are important parts of the method selectCertificate() of the class EMFStoreUIProvider commented out. This may be due to the fact that I had to check out the latest development version however ...

Actually I do not need the GUI I just want to be able to set my production server as the only entry in the view. How can I achieve this?

Thx,

chris

[Updated on: Thu, 24 July 2014 10:44] by Moderator

Re: Howto setup EMFstore to only use my production server [message #1403675 is a reply to message #1403604] Fri, 25 July 2014 04:50 Go to previous message
Eclipse UserFriend
Hi,

comments inline...

Am 24.07.2014 16:44, schrieb Christian Reuter:
> Hi,
>
> I have created a rap application which uses ECP and the Model
> Repositories view.
> Now I want to get rid of the default "Local EMFstore" entry in the Model
> Repositories view and replace it by my production server (a manually
> configured EMF server).
>
> This does not seem to work for several reasons:
>
> 1. If I delete the "serverInfos" entry which creates the "Local
> EMFstore" in the file
> <userhome>.emfstore\client\profiles\default\workspace.ucw it is
> automatically re-created when I start the clinet.

The localhost entry is contributed by the bundle
org.eclipse.emf.ecp.emfstore.ui (as an extension)
So there is actually no good way of getting rid of it, if you still want
to use the default UI. I think the local entry should be moved to a new
bundle org.eclipse.emf.ecp.emfstore.localserver.ui to make it possible
to remove it from a product.
Could you open a BR for this?

> 2. If I add another "serverInfos" entry to the file it is ignored (does
> not show up in the Model Repositories view)

Have you restarted in between? I have never tried to manually modify the
file. Probably this is not relevant, if 3 works, right?


>
> 3. If I try to add another repository using the UI I can not select a
> certificate as the select-button does nothing except deleting the name
> of the default cert. I checked the source code and found that there are
> important parts of the method selectCertificate() of the class
> EMFStoreUIProvider commented out. This may be due to the fact that I had
> to check out the latest development version however ...
That sounds like a Bug, could you open a BR?

Cheers

Jonas

>
> Actually I do not need the GUI I just want to be able to set my
> production server as the only entry in the view. How can I achieve this?
>
> Thx,
>
> chris
Previous Topic:EMF Forms on Web
Next Topic:[Texo] Use resource as GMF input
Goto Forum:
  


Current Time: Mon Jul 28 16:37:36 EDT 2025

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

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

Back to the top