Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 14:44 Go to next message
Christian Reuter is currently offline Christian ReuterFriend
Messages: 34
Registered: October 2010
Member
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 14:44]

Report message to a moderator

Re: Howto setup EMFstore to only use my production server [message #1403675 is a reply to message #1403604] Fri, 25 July 2014 08:50 Go to previous message
Jonas Helming is currently offline Jonas HelmingFriend
Messages: 699
Registered: July 2009
Senior Member
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: Fri Apr 26 05:51:04 GMT 2024

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

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

Back to the top