Re: [aspectj-users] Aspectj in weaving a jar file

2014-10-14 Thread mufc_fan
can you share a link or any other on how to create a configuration
manually...also is it mandatory to mention the main class in the
configuration?



--
View this message in context: 
http://aspectj.2085585.n4.nabble.com/Aspectj-in-weaving-a-jar-file-tp4651584p4651607.html
Sent from the AspectJ - users mailing list archive at Nabble.com.
___
aspectj-users mailing list
aspectj-users@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/aspectj-users


Re: [aspectj-users] Aspectj in weaving a jar file

2014-10-14 Thread mufc_fan
I have one more doubt... I am adding aspects to hadoop source code and I
imported one of the package and created aspect aj file but while running I
have to choose main function but it seems no class of this package have main
function...What I have to do?...Plz help me...



--
View this message in context: 
http://aspectj.2085585.n4.nabble.com/Aspectj-in-weaving-a-jar-file-tp4651584p4651605.html
Sent from the AspectJ - users mailing list archive at Nabble.com.
___
aspectj-users mailing list
aspectj-users@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/aspectj-users


Re: [aspectj-users] Aspectj in weaving a jar file

2014-10-13 Thread mufc_fan
I have one more doubt...If I had done compile-time weaving then I export the
aj file and java file as jar and I referred function by running java in
command prompt...Is advice run?




--
View this message in context: 
http://aspectj.2085585.n4.nabble.com/Aspectj-in-weaving-a-jar-file-tp4651584p4651602.html
Sent from the AspectJ - users mailing list archive at Nabble.com.
___
aspectj-users mailing list
aspectj-users@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/aspectj-users


Re: [aspectj-users] Aspectj in weaving a jar file

2014-10-13 Thread mufc_fan
Hi Andy

Thank u for ur reply...After creating a jar file(combining aspectj file and
java file) whether I can import it into a normal java project and If i
refer(calll) any function for which advice is written whether advice runs or
not?



--
View this message in context: 
http://aspectj.2085585.n4.nabble.com/Aspectj-in-weaving-a-jar-file-tp4651584p4651597.html
Sent from the AspectJ - users mailing list archive at Nabble.com.
___
aspectj-users mailing list
aspectj-users@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/aspectj-users


Re: [aspectj-users] Aspectj in weaving a jar file

2014-10-13 Thread mufc_fan
Hi Andy   
   
   Thank u...I have created aspect aj file for a java class file and then I
exported it as a jar file and I imported it in another Aspectj project and
called the function for which the advice had written and it runs normally.
But when I import it in java project, the advice never runs when the
function for which the advice is written...can u tell me why?



--
View this message in context: 
http://aspectj.2085585.n4.nabble.com/Aspectj-in-weaving-a-jar-file-tp4651584p4651593.html
Sent from the AspectJ - users mailing list archive at Nabble.com.
___
aspectj-users mailing list
aspectj-users@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/aspectj-users


[aspectj-users] Compiling aspectj file

2014-10-12 Thread mufc_fan
Hi...I have written an aspect.aj file for my java class and I got the entry
points of the functions involved in the class. Now, I have to create a jar
file by combining .aj file and java file. can any one tell me how to achieve
this..



--
View this message in context: 
http://aspectj.2085585.n4.nabble.com/Compiling-aspectj-file-tp4651590.html
Sent from the AspectJ - users mailing list archive at Nabble.com.
___
aspectj-users mailing list
aspectj-users@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/aspectj-users


Re: [aspectj-users] Aspectj in weaving a jar file

2014-10-12 Thread mufc_fan
Hi Andy

   Thank you...for your reply...I had one doubt...I want to get the entry
point of functions(value of parameters passed to that function) in a
package(contains 10 class files)... while writing aspects I have to mention
the exact function name and parameters for each function in a class or is
there any other way to include all the functions and its parameters...



--
View this message in context: 
http://aspectj.2085585.n4.nabble.com/Aspectj-in-weaving-a-jar-file-tp4651584p4651589.html
Sent from the AspectJ - users mailing list archive at Nabble.com.
___
aspectj-users mailing list
aspectj-users@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/aspectj-users


Re: [aspectj-users] Aspectj in debugging third party library in eclipse

2014-10-12 Thread mufc_fan
Hi Alex

   Sorry for the way in which I asked the question. My requirement is to
debug hadoop source code using aspectj in eclipse. As you said I googled it
but I can't find something related. So I asked the question generally. 



--
View this message in context: 
http://aspectj.2085585.n4.nabble.com/Aspectj-in-debugging-third-party-library-in-eclipse-tp4651586p4651588.html
Sent from the AspectJ - users mailing list archive at Nabble.com.
___
aspectj-users mailing list
aspectj-users@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/aspectj-users


[aspectj-users] Aspectj in debugging third party library in eclipse

2014-10-09 Thread mufc_fan
Hi ...I am new to Aspectj... I want to know how to debug the third party
libraries using aspectj in eclipse with simple steps.. Like method entry and
exit points in the library..can any one share their knowledge



--
View this message in context: 
http://aspectj.2085585.n4.nabble.com/Aspectj-in-debugging-third-party-library-in-eclipse-tp4651586.html
Sent from the AspectJ - users mailing list archive at Nabble.com.
___
aspectj-users mailing list
aspectj-users@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/aspectj-users


[aspectj-users] Aspectj in weaving a jar file

2014-10-09 Thread mufc_fan
Hi I am new to aspectj. I have a jar in which function named add exists which
calls another function display. I imported it into the aspectj aj file and
wrote pointcut for the function display but it never works. But it works for
the function add. Can any one share their knowledge...
Thanks...



--
View this message in context: 
http://aspectj.2085585.n4.nabble.com/Aspectj-in-weaving-a-jar-file-tp4651584.html
Sent from the AspectJ - users mailing list archive at Nabble.com.
___
aspectj-users mailing list
aspectj-users@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/aspectj-users