Aspect-Oriented Software Development (AOSD) Additional Material Start Writing in AspectJ.
-
date post
20-Dec-2015 -
Category
Documents
-
view
230 -
download
5
Transcript of Aspect-Oriented Software Development (AOSD) Additional Material Start Writing in AspectJ.
Aspect-Oriented Software Development (AOSD)
Additional Material
Start Writing in AspectJ
Aspect-Oriented Software Development (236608)
2
Open Eclipse
Close the “Welcome” screen
Aspect-Oriented Software Development (236608)
3
Open Base System Project - 1
choose “Import” from the “File” menu
Aspect-Oriented Software Development (236608)
4
Open Base System Project - 2 choose “Existing Projects
into Workspace”
Press the “Next” button
Aspect-Oriented Software Development (236608)
5
Open Base System Project - 3
enter the full path to the “rationalExample”
folderthe project is automatically selected
Press the “Finish” button
Aspect-Oriented Software Development (236608)
6
Convert Project from Java to AspectJ
choose “AspectJ Tools -> Convert to AspectJ
Project” from the menu
Right-click the project name
Aspect-Oriented Software Development (236608)
7
Write a new Aspect - 1Right-click the
“src” folder
choose “New -> Aspect” from the
menu
Aspect-Oriented Software Development (236608)
8
Write a new Aspect - 2enter the desired
package name (for example, “aspects”)
enter the aspect class name
Press the “Finish” button
Aspect-Oriented Software Development (236608)
9
Write a new Aspect - 3
write the aspect here