mirror of
https://github.com/dart-lang/sdk
synced 2024-10-04 07:19:52 +00:00
4e62db0de3
Also, GoogleCodeStyle.xml is missng. Review URL: https://chromereviews.googleplex.com/3539014 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@387 260f80e4-7a28-3924-810f-c04153c831b5 |
||
---|---|---|
.. | ||
dartc | ||
tests | ||
README.txt |
This is an Eclipse workspace for Helios Service Release 2. HOW TO 1. When you open Eclipse the first time, it will ask you to create a workspace or select an existing one. You can use this directory as workspace, or you can choose a different one. 2. If you're already using Eclipse, you can either switch to a new workspace (File > Switch Workspace) or use your current workspace. 3. Add the following "Path Variable" to your workspace: (Open Preferences... > General > Workspace > Linked Resources) DART_TRUNK: point to the root of your checkout D8_EXEC: for example DART_TRUNK/compiler/out/Debug_dartc/d8 or on a mac DART_TRUNK/compiler/xcodebuild/Debug_dashc/d8 4. Add a "Classpath Variable" to your workspace called DART_TRUNK that points to the same directory as your DART_TRUNK path variable. (Open Preferences... > Java > Build Path > Classpath Variables). 5. Regardless if you're using this directory as a workspace, you have to import the projects (File > Import... > General > Existing Projects into Workspace). 6. Click "Next >" 7. Select root directory. Browse to: compiler/eclipse.workspace. 8. It should find and select two projects (dartc and tests). 9. Click Finish. (At this point Eclipse may get stuck, if so, exit Eclipse by right-clicking on the dock icon, and restart). 10. Repeat steps 5-9, to import the project in third_party/closure-compiler-src 11. Open the "build.xml" file in the "closure-compiler-src" project. 12. In the Outline view, right-click on the "jar [default]" target, and select "Run as..." > "Ant Build". (This will build its version of Rhino and JarJar it). 13. Open Preferences... > Java > Compiler > Errors/Warnings > Potential programming problems. Change "Serializable class without serialVersionUID" to "Ignore". 14. Import the launch configuration (File > Import... > Run/Debug > Launch Configurations). 15. Click "Next >" 16. In SVN, browse to: compiler/eclipse.workspace/tests. 17. Select "tests". 18. Click Finish. 19. Try running the tests: Run > Run History > dartc test suites.