| OLD | NEW |
| (Empty) |
| 1 This is an Eclipse workspace for Helios Service Release 2. | |
| 2 | |
| 3 HOW TO | |
| 4 | |
| 5 1. When you open Eclipse the first time, it will ask you to create a | |
| 6 workspace or select an existing one. You can use this directory as | |
| 7 workspace, or you can choose a different one. | |
| 8 | |
| 9 2. If you're already using Eclipse, you can either switch to a new | |
| 10 workspace (File > Switch Workspace) or use your current workspace. | |
| 11 | |
| 12 3. Add the following "Path Variable" to your workspace: | |
| 13 (Open Preferences... > General > Workspace > Linked Resources) | |
| 14 DART_TRUNK: point to the root of your checkout | |
| 15 | |
| 16 | |
| 17 4. Add a "Classpath Variable" to your workspace called DART_TRUNK | |
| 18 that points to the same directory as your DART_TRUNK path variable. | |
| 19 (Open Preferences... > Java > Build Path > Classpath Variables). | |
| 20 | |
| 21 5. Regardless if you're using this directory as a workspace, you have | |
| 22 to import the projects (File > Import... > General > Existing | |
| 23 Projects into Workspace). | |
| 24 | |
| 25 6. Click "Next >" | |
| 26 | |
| 27 7. Select root directory. Browse to: compiler/eclipse.workspace. | |
| 28 | |
| 29 8. It should find and select two projects (dartc and tests). | |
| 30 | |
| 31 9. Click Finish. (At this point Eclipse may get stuck, if so, exit | |
| 32 Eclipse by right-clicking on the dock icon, and restart). | |
| 33 | |
| 34 10. Open Preferences... > Java > Compiler > Errors/Warnings > Potential | |
| 35 programming problems. Change "Serializable class without | |
| 36 serialVersionUID" to "Ignore". | |
| 37 | |
| 38 11. Import the launch configuration (File > Import... > Run/Debug > | |
| 39 Launch Configurations). | |
| 40 | |
| 41 12. Click "Next >" | |
| 42 | |
| 43 13. In SVN, browse to: compiler/eclipse.workspace/tests. | |
| 44 | |
| 45 14. Select "tests". | |
| 46 | |
| 47 15. Click Finish. | |
| 48 | |
| 49 16. Try running the tests: Run > Run History > dartc test suites. | |
| OLD | NEW |