sorry .. 
i forgot to add the aspect source .. 

public aspect LoggerAspect {


        pointcut traceMethods() : execution(* *.*(..));


        before() : traceMethods() {

    Signature sig =
thisJoinPointStaticPart.getSignature();

    System.out.println(sig.getName()+" reached");
  }

this aspect should touch any possible method during
the compilation process


--- thorsten maus <[EMAIL PROTECTED]> wrote:

> hi there .. 
> running into a problem i cannot see any way out .. 
> 
> short description:
> 
> setup a multiproject with the following directories
> 
> common-jar
> sample-ejb
> foo-ear
> 
> the common-jar contains the aspectj (.aj) files in a
> separated directory as well
> 
> the foo-ear has dependencies to common-jar and
> sample-ejb. the common-jar dependency contains
> "weaveWith" whereas the sample-ejb contains
> "weaveInto".
> 
> 
> the building process looks quite ok .. but i cannot
> see any sign that aspectj is weaving files ... 
> 
> the following snipplet reveals, that aspectj is
> properly working:
> 
> warning couldn't find aspectjrt.jar on classpath,
> checked: 
> java:prepare-filesystem:
> java:compile:
> aspectj:init:
> aspectj:compile:
>     [echo] Compiling to
> _path_to_project/common-jar/target/classes
> 
> 
> any help would be appreciated
> 
> 
>       
>               
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - 100MB free storage!
> http://promotions.yahoo.com/new_mail 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 



                
_______________________________
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to