90 likes | 101 Views
Aspect-Oriented Software Development (AOSD) Additional Material. Start Writing in AspectJ. Open Eclipse. Close the “Welcome” screen. Open Base System Project - 1. choose “Import” from the “File” menu. Open Base System Project - 2. choose “Existing Projects into Workspace”.
E N D
Aspect-Oriented Software Development (AOSD)Additional Material Start Writing in AspectJ
Open Eclipse Close the “Welcome” screen Aspect-Oriented Software Development (236608)
Open Base System Project - 1 choose “Import” from the “File” menu Aspect-Oriented Software Development (236608)
Open Base System Project - 2 choose “Existing Projects into Workspace” Press the “Next” button Aspect-Oriented Software Development (236608)
Open Base System Project - 3 enter the full path to the “rationalExample” folder the project is automatically selected Press the “Finish” button Aspect-Oriented Software Development (236608)
Convert Project from Java to AspectJ Right-click the project name choose “AspectJ Tools -> Convert to AspectJ Project” from the menu Aspect-Oriented Software Development (236608)
Write a new Aspect - 1 Right-click the “src” folder choose “New -> Aspect” from the menu Aspect-Oriented Software Development (236608)
Write a new Aspect - 2 enter the desired package name (for example, “aspects”) enter the aspect class name Press the “Finish” button Aspect-Oriented Software Development (236608)
Write a new Aspect - 3 write the aspect here Aspect-Oriented Software Development (236608)