packages that contain only aspects remain invisible [message #579735] |
Wed, 19 May 2004 15:27 |
Michael Moser Messages: 914 Registered: July 2009 |
Senior Member |
|
|
I just noticed, that packages, that contain *only* aspects remain
invisble for eclipse's Java mode and consequently, the aspects in such
a package don't get compiled.
E.g. I just wanted to create a couple of policy aspects (essentially
compile time check re. e.g. the usage of System.out and System.err
instead of proper logging, etc.).
That package (called foo.bar.policies) contained only aspects (i.e.
..aj files). To my surprise none of those aspects signaled any error.
Investigating further I found that the aspects were not compiled and
worse - neither the directory (in Explorer-view) nor the package (in
Package Explorer view) were displayed (I had the option "hide empty
packages" enabled).
Only when I added an empty class "Dummy" to that package the aspects
were detected and compiled (and displayed tons of warnings... :-) ).
It seems, that some file-filter needs to be tweaked so that it also
recognizes aspects-only packages/directories and includes them into
the build process.
Michael
|
|
|
Powered by
FUDForum. Page generated in 0.01808 seconds