basics:intro
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| basics:intro [2007/02/23 10:32] – bdefrain | basics:intro [2021/02/05 13:49] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | [[basics: | ||
| + | [[basics: | ||
| + | [[basics: | ||
| + | [[basics: | ||
| + | [[basics: | ||
| + | [[basics: | ||
| + | [[basics: | ||
| + | [[basics: | ||
| ====== The Basics: Intro ====== | ====== The Basics: Intro ====== | ||
| Line 6: | Line 14: | ||
| - Create a **new AspectJ Project** in Eclipse | - Create a **new AspectJ Project** in Eclipse | ||
| - | - Create | + | - Create |
| - | - Create | + | - **Run** |
| - | < | + | < |
| public class Application { | public class Application { | ||
| public int go = 10; | public int go = 10; | ||
| Line 26: | Line 34: | ||
| } | } | ||
| - | | + | public String toString() { |
| return " | return " | ||
| } | } | ||
| - | public static void main(String[] | + | public static void main(String[] |
| Application t = new Application(); | Application t = new Application(); | ||
| System.out.println(t); | System.out.println(t); | ||
| Line 40: | Line 48: | ||
| } | } | ||
| </ | </ | ||
| + | |||
| + | You should see the following output on the **Console** view (which you can open through **Window** -> **Show View** -> **Console**): | ||
| + | |||
| + | < | ||
| + | Application go: 10 | ||
| + | Starting | ||
| + | Stopping | ||
| + | Stopping | ||
| + | java.lang.Exception: | ||
| + | </ | ||
| + | |||
| + | <note tip> | ||
| + | In the following steps, you can use Eclipse' | ||
| + | </ | ||
| + | |||
| + | ---- | ||
| + | |||
| + | Start the Basics track at [[basics: | ||
basics/intro.1172223160.txt.gz · Last modified: by bdefrain
