invariant:intro
                Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| invariant:intro [2007/02/25 17:41] – bdefrain | invariant:intro [2021/02/05 13:53] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Invariants: Intro ====== | + | [[invariant: | 
| + | [[invariant: | ||
| + | [[invariant: | ||
| + | [[invariant: | ||
| + | [[invariant: | ||
| + | [[invariant: | ||
| In the following exercises, we will demonstrate the use of AspectJ to check both static and dynamic invariants in the context of a graphical figure editor. | In the following exercises, we will demonstrate the use of AspectJ to check both static and dynamic invariants in the context of a graphical figure editor. | ||
| Line 6: | Line 11: | ||
| - Create a **new AspectJ Project** in Eclipse | - Create a **new AspectJ Project** in Eclipse | ||
| - |   - Download the source of the figure editor.  | + |   - Download the source of the figure editor: {{invariant: | 
| - In Eclipse, select **File** -> **Import...**. Choose to import files from an **Archive File** and point to the file you just downloaded. | - In Eclipse, select **File** -> **Import...**. Choose to import files from an **Archive File** and point to the file you just downloaded. | ||
| - | - To resolve the build errors for the included tests, right-click your new project, select **Build Path** -> **Add Libraries...**. Click **JUnit** and select version **3.8.1**. | + | - To resolve the build errors for the included tests, right-click your new project, select **Build Path** -> **Add Libraries...**. Click **JUnit** and select version **3.x**. | 
| ===== Running the Figure Editor ===== | ===== Running the Figure Editor ===== | ||
invariant/intro.1172421698.txt.gz · Last modified:  by bdefrain
                
                