Copyright © 2004 Eclipse.org. All Rights Reserved

Running an AspectJ Program

 

Select your AspectJ project in the Package Explorer. Drop-down the “run” icon on the toolbar and click “Run…” Select “Java Application” in the left-hand tab and click “New.”

 

Name this configuration “HelloWorld” and then click “Search” to find the main class. Select “HelloWorld”.

 

 

Click “Apply” and then “Run”.

 

You should see the output of the HelloWorld class and the World aspect in the console.

 

 

To run this configuration again, just click on the “run” icon on the toolbar.