[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Online weaving Ant task

2004-10-25 Thread Bill Burke
Andre, thanks for your patience  If you have any further bug fixes or enhancement 
ideas, please don't hesitate to post on the forum!

Thanks again,

Bill

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852572#3852572

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852572


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Online weaving Ant task

2004-10-25 Thread ad-rocha
It's working now. Thank you

AndrÃ

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852568#3852568

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852568


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Online weaving Ant task

2004-10-25 Thread kabkhan
Got the files, and you need to set fork=true in the javac task:


  | 
  | 
  | 
  | 
  | 
  | 
  | 

Otherwise, it executes as part of the java process executing ant, effetively ignoring 
the java.system.class.loader property, since that is only checked on the first call to 
java.lang.ClassLoader.getSystemClassLoader().

It works for me now, sorry I overlooked this :-)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852562#3852562

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852562


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Online weaving Ant task

2004-10-25 Thread kabkhan
For verbose mode set the system property jboss.aop.verbose to true, i.e




You can send them to me at kabir.khan a jboss.org

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852552#3852552

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852552


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Online weaving Ant task

2004-10-24 Thread ad-rocha
Still not working (again)...

Is there a verbose mode?
Is there a way to send to you the files?

Thanks,

AndrÃ

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852495#3852495

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852495


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Online weaving Ant task

2004-10-24 Thread kabkhan
Note the pakage names:

  | 
  | 
  |   
  | 
  |   
  | 
  | 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852493#3852493

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852493


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Online weaving Ant task

2004-10-24 Thread ad-rocha
Thanks, but still not working...

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852492#3852492

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852492


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Online weaving Ant task

2004-10-24 Thread kabkhan
Try:

  | 
  | 
  | 
  | 
  | 
  | 

If that doesn't work, try renaming the teste.xml to teste-aop.xml

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852491#3852491

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852491


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Online weaving Ant task

2004-10-24 Thread ad-rocha
AOP xml:

  | 
  |   
  | 
  |   
  | 


Ant:

  |   
  |  
  |  
  | 
  |  
  |
  |   
  |   
  |   
  |   
  |   
  |   
  |
  | 
  |   
  | 
  |   
  |   
  | 
  |   
  | 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852490#3852490

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852490


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Online weaving Ant task

2004-10-24 Thread ad-rocha
Class:

package teste;
public class HelloAOP {
  public void callMe() {
System.out.println("AOP!");
  }

  public static void main(String args[]) {
new HelloAOP().callMe();
  }
}


Aspect:
package teste;
import org.jboss.aop.advice.Interceptor;
import org.jboss.aop.joinpoint.Invocation;

public class HelloAOPInterceptor implements Interceptor {
  public String getName() {
return "HelloAOPInterceptor";
  }

  public Object invoke(Invocation invocation) throws Throwable {
System.out.print("Hello, ");
return invocation.invokeNext();
  }
}


AOP xml:








Ant:

  
 
 

 
   

  
  
  
  
   
   



  
   

  


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852489#3852489

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852489


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Online weaving Ant task

2004-10-24 Thread kabkhan
Post some more info

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852487#3852487

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852487


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Online weaving Ant task

2004-10-24 Thread ad-rocha
Hi,

I'm trying the reference guide example, and create a Ant project to do loadtime 
weaving (I don't want to precompile). It's not working... the result is "AOP!" (not 
"Hello, AOP!")

Any ideas?

Thanks,

AndrÃ




  
 
 

 
   

  
  
  
  
   
   



  
   

  


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852484#3852484

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852484


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Online weaving Ant task

2004-10-24 Thread kabkhan
Hi,

depending on which loadtime method you want to use

http://docs.jboss.org/aop/aspect-framework/reference/en/html/running.html

you basically just  pass in a system property/jvm argument. The examples shown are for 
running off the command line, but you do exactly the same for the ant task.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852461#3852461

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852461


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Online weaving Ant task

2004-10-23 Thread ad-rocha
Sorry... not aspectwerks.bat

I'm looking for a Ant task to make Loadtime instrumentation. Precompiled 
instrumentation is shown in:

http://docs.jboss.org/aop/aspect-framework/reference/en/html/compiling.html

But there is no information about Loadtime...

Thanks,

AndrÃÂ

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852449#3852449

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852449


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development