Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Using EMFStore Navigator with model that has been modified programmatically(Using EMFStore Navigator with model that has been modified programmatically)
Using EMFStore Navigator with model that has been modified programmatically [message #1037431] Tue, 09 April 2013 14:51 Go to next message
Bruce Trask is currently offline Bruce Trask
Messages: 14
Registered: July 2009
Junior Member
Hello,

I running something very much like the hello world example with the following addition: I leave a programmatic change to the model uncommited, then I bring up the EMFStore navigator and view the project. It does not immediately show the project to have the change but will if I double click on the model and then the project within the Navigator, then the black asterisk appears. My real question is what I do next. I right click and attempt to commit the change of the now dirty project into the repo.
I get a login dialog and enter the user name and password, it fails and repeats the login dialog and then fails with the dialog that says "Session unknown to connection manager, log in first!". I am already logged in. I have been stepping through the code and see that at some point the sessionid of the usersession is null.

So I just wanted to check to make sure what I am doing is ok.

I modify the model programmatically and leave the change uncommited since I want the user to commit via the navigator. But there seems to be some issue with the session id. Any ideas?

I am using 0.9.3.


Thanks in advance,
Bruce

[Updated on: Tue, 09 April 2013 14:51]

Report message to a moderator

Re: Using EMFStore Navigator with model that has been modified programmatically [message #1037971 is a reply to message #1037431] Wed, 10 April 2013 08:34 Go to previous message
Jonas Helming is currently offline Jonas Helming
Messages: 427
Registered: July 2009
Senior Member
Hi Bruce,
what you do is OK and should actually work.
The navigator you have mentioned is part of the EMF Client Platform, not
of EMFStore itself.
How have you created the project and the model instance? Have you used
the navigator or did you create both programmatically?

If you just get started, I would recommend to use version 1.0.0 RC1 of
EMFStore and EMF Client Platform (the framework delivering the
navigator). The new version might already fix your problem. Also, 1.0.0
defines a cleaner API, although we are not finished to update the tutorials.

Regards
Jonas

Am 09.04.2013 16:51, schrieb Bruce Trask:
> Hello,
>
> I running something very much like the hello world example with the
> following addition: I leave a programmatic change to the model
> uncommited, then I bring up the EMFStore navigator and view the
> project. It does not immediately show the project to have the change
> but will if I double click on the model and then the project within the
> Navigator, then the black asterisk appears. My real question is what I
> do next. I right click and attempt to commit the change of the now
> dirty project into the repo.
> I get a login dialog and enter the user name and password, it fails and
> repeats the login dialog and then fails with the dialog that says
> "Session unknown to connection manager, log in first!". I am already
> logged in. I have been stepping through the code and see that at some
> point the sessionid of the usersession is null.
>
> So I just wanted to check to make sure what I am doing is ok.
>
> I modify the model programmatically and leave the change uncommited
> since I want the user to commit via the navigator. But there seems to
> be some issue with the session id. Any ideas?
>
> I am using 0.9.3.
>
>
> Thanks in advance,
> Bruce
Previous Topic:[EEF] Generated MDForms Field
Next Topic:Edapt issues when ecores extend one another
Goto Forum:
  


Current Time: Thu Sep 18 13:41:32 GMT 2014

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

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