User Tools

Site Tools


basics:intro

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
basics:intro [2007/02/23 13:57]
bdefrain
basics:intro [2021/02/05 13:49] (current)
Line 1: Line 1:
 +[[basics:intro|Intro]]
 +[[basics:ex1|Ex1]]
 +[[basics:ex2|Ex2]]
 +[[basics:ex3|Ex3]]
 +[[basics:ex4|Ex4]]
 +[[basics:ex5|Ex5]]
 +[[basics:ex6|Ex6]]
 +[[basics:ex7|Ex7]]
 ====== The Basics: Intro ====== ====== The Basics: Intro ======
  
Line 7: Line 15:
   - Create a **new AspectJ Project** in Eclipse   - Create a **new AspectJ Project** in Eclipse
   - Create a **new class** ''Application'' containing the code given below.   - Create a **new class** ''Application'' containing the code given below.
-  - **Run** the code. Right-click the ''Application'' class and select **Run as...** -> **AspectJ/Java Appliction**+  - **Run** the code. Right-click the ''Application'' class and select **Run as...** -> **AspectJ/Java Application**
  
 <code aspectj> <code aspectj>
Line 26: Line 34:
   }   }
  
-  @Override public String toString() {+  public String toString() {
     return "Application go: " + go;     return "Application go: " + go;
   }   }
Line 41: Line 49:
 </code> </code>
  
-You should see the following output on the **Console** view:+You should see the following output on the **Console** view (which you can open through **Window** -> **Show View** -> **Console**):
  
 <code> <code>
Line 54: Line 62:
 In the following steps, you can use Eclipse's Run button (or the shortcut CTRL+F11) to quickly rerun the application using the last run configuration. In the following steps, you can use Eclipse's Run button (or the shortcut CTRL+F11) to quickly rerun the application using the last run configuration.
 </note> </note>
 +
 +----
 +
 +Start the Basics track at [[basics:ex1|Exercise 1]].
 +
basics/intro.1172235455.txt.gz ยท Last modified: 2007/02/23 13:57 by bdefrain