Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » packages that contain only aspects remain invisible
packages that contain only aspects remain invisible [message #35923] Wed, 19 May 2004 15:27 Go to next message
Michael Moser is currently offline Michael MoserFriend
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
Re: packages that contain only aspects remain invisible [message #35957 is a reply to message #35923] Fri, 21 May 2004 09:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: luzius.meisser.uk.ibm.com

Hi Michael,

Thanks for mentioning that. I have just solved this problem and the next
version of AJDT will hopefully :) work correctly regarding the package
icons.

Luzius
Re: packages that contain only aspects remain invisible [message #36132 is a reply to message #35957] Mon, 24 May 2004 15:20 Go to previous message
Michael Moser is currently offline Michael MoserFriend
Messages: 914
Registered: July 2009
Senior Member
"Luzius Meisser" <luzius.meisser@uk.ibm.com> wrote in message
news:c8kjo0$u61$1@eclipse.org...
> Hi Michael,
>
> Thanks for mentioning that. I have just solved this problem and the
next
> version of AJDT will hopefully :) work correctly regarding the
package
> icons.

My pleasure to have been able to be of some help!

Michael
Re: packages that contain only aspects remain invisible [message #579770 is a reply to message #35923] Fri, 21 May 2004 09:56 Go to previous message
Luzius Meisser is currently offline Luzius MeisserFriend
Messages: 5
Registered: July 2009
Junior Member
Hi Michael,

Thanks for mentioning that. I have just solved this problem and the next
version of AJDT will hopefully :) work correctly regarding the package
icons.

Luzius
Re: packages that contain only aspects remain invisible [message #579909 is a reply to message #35957] Mon, 24 May 2004 15:20 Go to previous message
Michael Moser is currently offline Michael MoserFriend
Messages: 914
Registered: July 2009
Senior Member
"Luzius Meisser" <luzius.meisser@uk.ibm.com> wrote in message
news:c8kjo0$u61$1@eclipse.org...
> Hi Michael,
>
> Thanks for mentioning that. I have just solved this problem and the
next
> version of AJDT will hopefully :) work correctly regarding the
package
> icons.

My pleasure to have been able to be of some help!

Michael
Previous Topic:is M9 supported by ajdt ?
Next Topic:Timeline for Lancaster release?
Goto Forum:
  


Current Time: Tue Mar 19 09:33:28 GMT 2024

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

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

Back to the top