Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » Multi-dirrectory output
Multi-dirrectory output [message #62424] Fri, 03 March 2006 13:22 Go to next message
Eclipse UserFriend
Originally posted by: a.shneyderman.gmail.com

In my project I have two source folders main/java & test/java. When I
write an abstract object that only needs a pointcut in its concrete
implementation, I would write it inlined in my test. This means that the
test directory does have an aspect but I do not want to package it. While
main/java source' output is the one I want to take and package.

AJDT (and I suppose it is an ajc fault) has a problem with outputing
compiled code to 2 separate output directories, therefore does output
classes into the default directory, which cause me a lot of pain.

Is there a work around this limitation or maybe a solution that I
overlooked?

Thanks,
alex.
Re: Multi-dirrectory output [message #62448 is a reply to message #62424] Fri, 03 March 2006 18:21 Go to previous message
Matt Chapman is currently offline Matt ChapmanFriend
Messages: 429
Registered: July 2009
Senior Member
Alex Shneyderman wrote:
> In my project I have two source folders main/java & test/java. When I
> write an abstract object that only needs a pointcut in its concrete
> implementation, I would write it inlined in my test. This means that the
> test directory does have an aspect but I do not want to package it. While
> main/java source' output is the one I want to take and package.

> AJDT (and I suppose it is an ajc fault) has a problem with outputing
> compiled code to 2 separate output directories, therefore does output
> classes into the default directory, which cause me a lot of pain.

> Is there a work around this limitation or maybe a solution that I
> overlooked?

Yes, the limitation is covered by bug 101983.

Could you move your test folder out into a separate project?

Regards,

Matt.
Re: Multi-dirrectory output [message #592424 is a reply to message #62424] Fri, 03 March 2006 18:21 Go to previous message
Matt Chapman is currently offline Matt ChapmanFriend
Messages: 429
Registered: July 2009
Senior Member
Alex Shneyderman wrote:
> In my project I have two source folders main/java & test/java. When I
> write an abstract object that only needs a pointcut in its concrete
> implementation, I would write it inlined in my test. This means that the
> test directory does have an aspect but I do not want to package it. While
> main/java source' output is the one I want to take and package.

> AJDT (and I suppose it is an ajc fault) has a problem with outputing
> compiled code to 2 separate output directories, therefore does output
> classes into the default directory, which cause me a lot of pain.

> Is there a work around this limitation or maybe a solution that I
> overlooked?

Yes, the limitation is covered by bug 101983.

Could you move your test folder out into a separate project?

Regards,

Matt.
Previous Topic:Multi-dirrectory output
Next Topic:J2ME
Goto Forum:
  


Current Time: Tue Apr 23 15:25:35 GMT 2024

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

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

Back to the top