| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| <html> |
| <head> |
| <title> |
| Adding an aspectpath |
| </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> |
| Adding an aspectpath |
| </h1> |
| <p> |
| The AspectJ aspectpath setting enables weaving aspects from the aspectpath |
| into the project and writing the results to the normal output location. |
| </p> |
| <p> To set the aspectpath: </p><p> |
| <ol> |
| <li>Select the AspectJ project in the Package Explorer</li> |
| <li>Right click and select <b>AspectJ Tools > Configure AspectJ Build Path...</b></li> |
| <li>Select the <b>Aspect Path</b> tab</li> |
| <li>Use the buttons on the right hand side to add class folders and/or |
| JAR files to the aspectpath.</li> |
| <li>Click <strong>OK</strong> to finish. If automatic building is switched on |
| the project will rebuild.</li> |
| </ol> |
| </p> |
| |
| <p> |
| Shortcuts are available by right clicking on a local JAR file, to add or |
| remove that file from the project's aspectpath. |
| </p> |
| |
| <p> |
| <img src="../images/ngrelc.gif" alt="Related concepts" border="0" height="27" width="159"> <br> |
| |
| <a href="../concepts/projects.htm">AspectJ projects</a><br> |
| <a href="../concepts/aspects.htm">Aspects</a><br> |
| <a href="../concepts/builder.htm">AspectJ builder</a> |
| </p> |
| <p> |
| <img src="../images/ngrelt.gif" alt="Related tasks" border="0" height="27" width="159"> |
| <br> |
| <a href="addoutjar.htm">Adding an outjar</a><br> |
| <a href="addinpath.htm">Adding an inpath</a><br> |
| <a href="compilersettings.htm">Changing compiler settings</a><br> |
| <a href="setups.htm">Using a multi-project setup</a> |
| </p> |
| |
| </body> |
| </html> |
| |