|
Re: Dev vs Prod aspects? [message #479434 is a reply to message #479405] |
Tue, 11 August 2009 03:35 |
Andrew Eisenberg Messages: 77 Registered: July 2009 |
Member |
|
|
There's no specific documentation on this. However, you may want to take a
look at Ramnivas Laddad's AspectJ in Action (I think 2nd edition is already
out, or will be soon).
I does seem to me that if you keep your aspects in their own directory, it
is simple to include the directory in compilation in test builds, but not in
production builds.
Or, a simpler way would be to use the Java compiler for prod builds and AJC
for test builds.
On 10/08/09 2:53 PM, in article
c694788cf98e41da85df886347f4aebe$1@www.eclipse.org, "Michael Giroux"
<michael_giroux@choicehotels.com> wrote:
> Can someone point me to documentation that describes how to enable aspects
> for different types of build? For example, I need to apply an aspect to a
> method in development mode, but for production, we cannot have the aspect
> applied.
>
> Is there a convenient way to do this?
>
> BTW, our production build is accomplished using standalone ANT if this
> helps.
>
> Thanks
> Michael
>
|
|
|
|
Re: Dev vs Prod aspects? [message #600481 is a reply to message #479405] |
Tue, 11 August 2009 03:35 |
Andrew Eisenberg Messages: 77 Registered: July 2009 |
Member |
|
|
There's no specific documentation on this. However, you may want to take a
look at Ramnivas Laddad's AspectJ in Action (I think 2nd edition is already
out, or will be soon).
I does seem to me that if you keep your aspects in their own directory, it
is simple to include the directory in compilation in test builds, but not in
production builds.
Or, a simpler way would be to use the Java compiler for prod builds and AJC
for test builds.
On 10/08/09 2:53 PM, in article
c694788cf98e41da85df886347f4aebe$1@www.eclipse.org, "Michael Giroux"
<michael_giroux@choicehotels.com> wrote:
> Can someone point me to documentation that describes how to enable aspects
> for different types of build? For example, I need to apply an aspect to a
> method in development mode, but for production, we cannot have the aspect
> applied.
>
> Is there a convenient way to do this?
>
> BTW, our production build is accomplished using standalone ANT if this
> helps.
>
> Thanks
> Michael
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.05422 seconds