| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| <html> |
| <head> |
| <title> |
| Running your programs |
| </title> |
| <link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css"> |
| <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
| <meta http-equiv="Content-Style-Type" content="text/css"> |
| </head> |
| <body> |
| <h1> |
| Running your programs |
| </h1> |
| <p> In this section, you will learn more about running AspectJ programs in the workbench. |
| </p> |
| <ol> |
| <li> Right click on Hello.java in the Package Explorer and select |
| <strong>Java Application</strong> from the cascading <strong>Run</strong> |
| menu. This will launch the selected class as a local Java application. |
| Note that unless you need to run a main method that is in an aspect or use an aspectpath |
| you do not need to use the <strong>Run > AspectJ/Java Application</strong> option. |
| </li> |
| <li> Notice that the program has finished running and the following message has |
| appeared in the console: |
| <p><img src="../images/console.png" alt="Console output"> </p> |
| </li> |
| </ol> |
| <p> <img src="../images/ngrelt.gif" width=159 height=27 alt="Related tasks" border="0"> |
| </p> |
| <p> |
| <a href="../tasks/runninganddebugging.htm">Running and debugging</a><br> |
| <a href="../tasks/addaspectpath.htm">Adding an aspectpath</a> |
| </p> |
| |
| </body> |
| </html> |
| |