Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Package not available for reloading of model
Package not available for reloading of model [message #630917] Tue, 05 October 2010 14:53 Go to next message
J.-P. Pellet is currently offline J.-P. PelletFriend
Messages: 71
Registered: July 2009
Member
Hi,

Today, I tried to reload my model from my annotated Java files in my
root package, as usual, but all of a sudden, my package didn't show up
in the list of available root packages. What could be causing this?

I have just switched to Eclipse and EMF 3.6.1, but I was able to reload
the model a couple of times before this happened. Switching back to
3.5.x doesn't help.

Any ideas?

TIA,
J.-P.
Re: Package not available for reloading of model [message #630966 is a reply to message #630917] Tue, 05 October 2010 16:16 Go to previous messageGo to next message
J.-P. Pellet is currently offline J.-P. PelletFriend
Messages: 71
Registered: July 2009
Member
Found it. A syntax error in one of the implementation files was
preventing the package from showing up.

I understand why the generator fails when there is a problem with the
implementation files, but how is it relevant to the process of reloading
the model from the Java interfaces?

> Hi,
>
> Today, I tried to reload my model from my annotated Java files in my
> root package, as usual, but all of a sudden, my package didn't show up
> in the list of available root packages. What could be causing this?
>
> I have just switched to Eclipse and EMF 3.6.1, but I was able to reload
> the model a couple of times before this happened. Switching back to
> 3.5.x doesn't help.
>
> Any ideas?
>
> TIA,
> J.-P.
Re: Package not available for reloading of model [message #630971 is a reply to message #630966] Tue, 05 October 2010 16:40 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
J.-P.,

I think all the source files are examined for @model annotations. It
sounds like a case where failure should be handled more gracefully
rather than aborting all the other valid processing...


J.-P. Pellet wrote:
> Found it. A syntax error in one of the implementation files was
> preventing the package from showing up.
>
> I understand why the generator fails when there is a problem with the
> implementation files, but how is it relevant to the process of
> reloading the model from the Java interfaces?
>
>> Hi,
>>
>> Today, I tried to reload my model from my annotated Java files in my
>> root package, as usual, but all of a sudden, my package didn't show
>> up in the list of available root packages. What could be causing this?
>>
>> I have just switched to Eclipse and EMF 3.6.1, but I was able to
>> reload the model a couple of times before this happened. Switching
>> back to 3.5.x doesn't help.
>>
>> Any ideas?
>>
>> TIA,
>> J.-P.


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Implementing a DSL with Classes, Instances and Function Calls
Next Topic:[GWT] How to load existing resources..
Goto Forum:
  


Current Time: Fri Apr 19 22:15:24 GMT 2024

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

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

Back to the top