Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [GWT] How to load existing resources..
[GWT] How to load existing resources.. [message #630795] Tue, 05 October 2010 04:02 Go to next message
Miles Parker is currently offline Miles ParkerFriend
Messages: 1341
Registered: July 2009
Senior Member
Congratulations on GWT! It's great to have all of the editing support built in and I'm especially happy to see all of the application setup logic taken care of.. I know this is going to enable a bunch of really cool stuff. Right now I'm trying to figure out how to take my Eclispe hosted stuff and create versions for GWT but that's likely to be an interesting challenge as I know next to nothing about GWT..so I don't even know what it a GMF issue and what EMF is supposed to handle.

My first question has to do with resources. How can we load existing resources into the deployed app engine and/or application. I tried simply creating a resource and using the file:// pattern for the URL but that just adds a reference to the file as a node in the resource set, it doesn't get the actual resource data.

cheers,

Miles
Re: [GWT] How to load existing resources.. [message #630916 is a reply to message #630795] Tue, 05 October 2010 14:43 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Miles,

Comments below.

Miles Parker wrote:
> Congratulations on GWT! It's great to have all of the editing support
> built in and I'm especially happy to see all of the application setup
> logic taken care of..
Yes, the difficult mysterious stuff...
> I know this is going to enable a bunch of really cool stuff. Right now
> I'm trying to figure out how to take my Eclispe hosted stuff and
> create versions for GWT but that's likely to be an interesting
> challenge as I know next to nothing about GWT..so I don't even know
> what it a GMF issue and what EMF is supposed to handle.
>
> My first question has to do with resources. How can we load existing
> resources into the deployed app engine and/or application. I tried
> simply creating a resource and using the file:// pattern for the URL
> but that just adds a reference to the file as a node in the resource
> set, it doesn't get the actual resource data.
No, the server is designed to run on App Engine and that will not have
access to a file system. You have to use datastore: as in the generated
example...
>
> cheers,
>
> Miles


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: [GWT] How to load existing resources.. [message #631026 is a reply to message #630916] Tue, 05 October 2010 21:08 Go to previous messageGo to next message
Miles Parker is currently offline Miles ParkerFriend
Messages: 1341
Registered: July 2009
Senior Member
Ed Merks wrote on Tue, 05 October 2010 10:43

> built in and I'm especially happy to see all of the application setup
> logic taken care of..
Yes, the difficult mysterious stuff...



Right, better you than me Very Happy .. which I guess is in a nutshell is the ultimate measure of software value.

Quote:

No, the server is designed to run on App Engine and that will not have
access to a file system. You have to use datastore: as in the generated
example...


Perhaps I should have been clearer about what I needed to do. Say I already have a model in a file system. Is there a way to get the darn thing into the datastore? I don't need the whole resource, just the contained objects. Or does that fall into the "difficult mysterious GWT stuff" category?

cheers,

Miles
Re: [GWT] How to load existing resources.. [message #631053 is a reply to message #631026] Tue, 05 October 2010 23:40 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Miles,

Comments below.

Miles Parker wrote:
> Ed Merks wrote on Tue, 05 October 2010 10:43
>> > built in and I'm especially happy to see all of the application
>> setup > logic taken care of..
>> Yes, the difficult mysterious stuff...
>
>
> Right, better you than me :d .. which I guess is in a nutshell is the
> ultimate measure of software value.
>
> Quote:
>> No, the server is designed to run on App Engine and that will not
>> have access to a file system. You have to use datastore: as in the
>> generated example...
>
>
> Perhaps I should have been clearer about what I needed to do. Say I
> already have a model in a file system. Is there a way to get the darn
> thing into the datastore?
Not yet.
> I don't need the whole resource, just the contained objects. Or does
> that fall into the "difficult mysterious GWT stuff" category?
The problem is the client can't do it and App Engine can't either. We'd
need some type of other server container that's more fully capable.
>
> cheers,
>
> Miles


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: [GWT] How to load existing resources.. [message #631055 is a reply to message #631053] Wed, 06 October 2010 01:11 Go to previous message
Miles Parker is currently offline Miles ParkerFriend
Messages: 1341
Registered: July 2009
Senior Member
Hi Ed,

That's sort of what I was beginning to suspect -- was thinking that the App Engine has to have some way to get data in and out other than through front-end client. I suppose worst case one could build an automated entry script for the entire model tree. Surprised

thanks,

Miles

Ed Merks wrote on Tue, 05 October 2010 19:40

The problem is the client can't do it and App Engine can't either. We'd need some type of other server container that's more fully capable.


Previous Topic:Package not available for reloading of model
Next Topic:save&load two packages in one file
Goto Forum:
  


Current Time: Wed Apr 24 15:05:22 GMT 2024

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

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

Back to the top