|
Re: Saving models into individual XMLResources? [message #1700429 is a reply to message #1700272] |
Thu, 02 July 2015 14:26 |
Edgar Mueller Messages: 89 Registered: March 2011 |
Member |
|
|
Hi Ravikanth,
currently this is not supported. When adding elements to a project that
are contained in another resource, the expected behaviour is that these
elements will be moved to the project's resource (although, as you
already pointed out in the other thread, a problem with cross-resource
containments seems to exist, see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=471703).
Do your models depend on each other? Maybe it would be feasible to
create multiple projects if they don't?
Cheers,
Edgar
Am 01.07.2015 um 13:46 schrieb Ravikanth Somayaji:
> As far as I can understand, all the models in an application need to be
> added into the localProject.getModels() so that they can be pushed into
> the EMFStore.
>
> I was wondering if it is possible, that an individual file on my file
> system can be managed as individual XML Resources and be accessed via
> the localProject object?
> The reason I ask is because I'm trying to retrofit a current
> design(individual file per model) into EMFStore and am finding it a bit
> messy to mash up all the existing models into one localProject model.
>
> Also, the saving/commiting of models would may not be differentiated as
> the commit saves the entire project. Every application may not need to
> save the entire resource on the change of an individual model.
>
> Any thoughts/ideas/explanations will be well appreciated.
>
> Thanks
--
Edgar Mueller
Get Professional Eclipse Support:
http://eclipsesource.com/en/services/developer-support/
|
|
|
Powered by
FUDForum. Page generated in 0.03788 seconds