Skip to main content



      Home
Home » Modeling » EMF » 'src' folder appears empty in Package Explorer view after EMF Java generation
'src' folder appears empty in Package Explorer view after EMF Java generation [message #664071] Thu, 07 April 2011 08:01 Go to next message
Eclipse UserFriend
I've seen some intermittent behaviour, therefore making it difficult to specify steps to reproduce it. This is with EMF 2.4.2...

Sometimes, after programmatically generating an EMF project (from XSD), I am left with a project that appears to have an empty 'src' folder. This, of course, is immediately noticeable, as an error marker appears on MANIFEST.MF, complaining that it declares Export-Package for packages that don't exist.

The interesting thing is, opening the Navigator view shows that the src folder DOES contain the source files, they're just not visible in the Package Explorer view. No amount of File>Refresh on the project resolves it, but closing and then opening the project does (via the UI, that is - I've tried adding a close/open at the end of my code and that makes no difference).

My environment is not vanilla EMF by any means: we have all sorts of tinkering throughout. However, I'd be interested to hear if these symptoms resemble any known issues.

Thanks,
Ben.
Re: 'src' folder appears empty in Package Explorer view after EMF Java generation [message #664129 is a reply to message #664071] Thu, 07 April 2011 10:21 Go to previous messageGo to next message
Eclipse UserFriend
Ben,

Maybe you have Mint installed and it's filtering out resources that are
purely generated, i.e., that have no methods/classes without @generated
on them...


Ben Tenne wrote:
> I've seen some intermittent behaviour, therefore making it difficult
> to specify steps to reproduce it. This is with EMF 2.4.2...
>
> Sometimes, after programmatically generating an EMF project (from
> XSD), I am left with a project that appears to have an empty 'src'
> folder. This, of course, is immediately noticeable, as an error
> marker appears on MANIFEST.MF, complaining that it declares
> Export-Package for packages that don't exist.
>
> The interesting thing is, opening the Navigator view shows that the
> src folder DOES contain the source files, they're just not visible in
> the Package Explorer view. No amount of File>Refresh on the project
> resolves it, but closing and then opening the project does (via the
> UI, that is - I've tried adding a close/open at the end of my code and
> that makes no difference).
>
> My environment is not vanilla EMF by any means: we have all sorts of
> tinkering throughout. However, I'd be interested to hear if these
> symptoms resemble any known issues.
>
> Thanks,
> Ben.
Re: 'src' folder appears empty in Package Explorer view after EMF Java generation [message #664164 is a reply to message #664129] Thu, 07 April 2011 13:07 Go to previous messageGo to next message
Eclipse UserFriend
Ed Merks wrote on Thu, 07 April 2011 10:21
Ben,

Maybe you have Mint installed and it's filtering out resources that are
purely generated, i.e., that have no methods/classes without @generated
on them...



That wouldn't explain it being intermittent though, would it?

Thanks,
Ben.

Re: 'src' folder appears empty in Package Explorer view after EMF Java generation [message #664205 is a reply to message #664164] Thu, 07 April 2011 15:55 Go to previous message
Eclipse UserFriend
Ben,

Nothing seems to explain it being intermittent...

Ben Tenne wrote:
> Ed Merks wrote on Thu, 07 April 2011 10:21
>> Ben,
>>
>> Maybe you have Mint installed and it's filtering out resources that
>> are purely generated, i.e., that have no methods/classes without
>> @generated on them...
>
>
> That wouldn't explain it being intermittent though, would it?
>
> Thanks,
> Ben.
>
>
Previous Topic:Global EMF Registry
Next Topic:Invalid entry feature exception from DelegatingFeatureMap.validate when switching to EStore
Goto Forum:
  


Current Time: Wed Jul 23 19:28:10 EDT 2025

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

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

Back to the top