I’m not quite clear on this question.

> While running i have to choose the main function

Do you mean when you right click on your project and choose RunAs? There can be 
problems in AJDT finding the right class with a main entry point, in those 
cases define the launch configuration manually. i.e. create a launch 
configuration and enter the class containing the main yourself directly.

If the sources you have imported have no main entry point then you’ll have to 
find the jar containing the entry point and use that. Just ensure your project 
compiled code is ahead of the real hadoop code when you run it and your 
modified classes would be picked up.

cheers
Andy

On Oct 14, 2014, at 4:54 AM, mufc_fan <rajeshkumarit8...@gmail.com> wrote:

> 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

_______________________________________________
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

Reply via email to