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  |
Eclipse User |
|
|
|
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   |
Eclipse User |
|
|
|
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.
|
|
| | |
Goto Forum:
Current Time: Wed Jul 23 19:28:10 EDT 2025
Powered by FUDForum. Page generated in 0.23726 seconds
|