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 12:01 |
Ben Tenne Messages: 50 Registered: October 2009 |
Member |
|
|
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 14:21 |
Ed Merks Messages: 33142 Registered: July 2009 |
Senior Member |
|
|
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.
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
| | |
Goto Forum:
Current Time: Sat Apr 27 02:59:56 GMT 2024
Powered by FUDForum. Page generated in 0.03131 seconds
|