| OLD | NEW |
| 1 Notes about Dart Editor workspace setup, development, build, and deploy. | 1 Notes about Dart Editor workspace setup, development, build, and deploy. |
| 2 | 2 |
| 3 ==================================== | 3 ==================================== |
| 4 Installation | 4 Installation |
| 5 ==================================== | 5 ==================================== |
| 6 | 6 |
| 7 * Install Eclipse 3.7 "Eclipse for RCP and RAP Developers" ("Classic" should wo
rk as well) | 7 * Install Eclipse 3.7 "Eclipse for RCP and RAP Developers" ("Classic" should wo
rk as well) |
| 8 http://eclipse.org/downloads/ | 8 http://eclipse.org/downloads/ |
| 9 | 9 |
| 10 * Install SVN support into Eclipse 3.7 | 10 * Install SVN support into Eclipse 3.7 |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 | 169 |
| 170 ==================================== | 170 ==================================== |
| 171 Importing the Eclipse projects | 171 Importing the Eclipse projects |
| 172 ==================================== | 172 ==================================== |
| 173 | 173 |
| 174 File -> Import -> General -> Existing Projects into Workspace | 174 File -> Import -> General -> Existing Projects into Workspace |
| 175 | 175 |
| 176 Import the existing projects in <DART_TRUNK>/editor | 176 Import the existing projects in <DART_TRUNK>/editor |
| 177 including the "docs" project containing this README.txt file | 177 including the "docs" project containing this README.txt file |
| 178 | 178 |
| 179 Import the project in <DART_TRUNK>/third_party/closure_compiler_src | |
| 180 | |
| 181 ==================================== | |
| 182 Building Closure | |
| 183 ==================================== | |
| 184 | |
| 185 We require the closure compiler to build dartc. To build it, right click on clos
ure-compiler/build.xml | |
| 186 and choose Run As > Ant Build (the default option, not the Ant Build... option).
This will create | |
| 187 the closure-compiler/build/compiler.jar library, which will be picked up by the | |
| 188 com.google.dart.compiler.js project. | |
| 189 | |
| 190 Alternatively, run ant from the third_party/closure_compiler directory. | |
| 191 | |
| 192 Refresh the closure-compiler and com.google.dart.compiler.js projects for Eclips
e to see the new | |
| 193 files. | |
| 194 | |
| 195 ==================================== | 179 ==================================== |
| 196 Building Dart Libraries | 180 Building Dart Libraries |
| 197 ==================================== | 181 ==================================== |
| 198 | 182 |
| 199 For development, we require that the Eclipse installation directory have a "libr
aries" directory | 183 For development, we require that the Eclipse installation directory have a "libr
aries" directory |
| 200 containing the bundled dart:<name> libraries (e.g. dart:core). To build this dir
ectory... | 184 containing the bundled dart:<name> libraries (e.g. dart:core). To build this dir
ectory... |
| 201 | 185 |
| 202 1) Setup and run the RCP build locally using the directions at dart/editor/build
/README.txt. | 186 1) Setup and run the RCP build locally using the directions at dart/editor/build
/README.txt. |
| 203 2) In Eclipse, right click on editor/build/build_rcp.xml | 187 2) In Eclipse, right click on editor/build/build_rcp.xml |
| 204 3) Select "Run As > Ant Build..." | 188 3) Select "Run As > Ant Build..." |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 Click on "Main" tab | 266 Click on "Main" tab |
| 283 In "Run a product:" select "com.google.dart.tools.deploy.product" | 267 In "Run a product:" select "com.google.dart.tools.deploy.product" |
| 284 Click on "Arguments" tab | 268 Click on "Arguments" tab |
| 285 Change "VM Arguments" to "-Xms128m -Xmx1024m" | 269 Change "VM Arguments" to "-Xms128m -Xmx1024m" |
| 286 Click on "Plugins" tab | 270 Click on "Plugins" tab |
| 287 Change "Launch with" to "Plugins selected below only" | 271 Change "Launch with" to "Plugins selected below only" |
| 288 Uncheck all "Target Platform" plugins | 272 Uncheck all "Target Platform" plugins |
| 289 Check the workspace com...swtbot_test plugin only | 273 Check the workspace com...swtbot_test plugin only |
| 290 Click "Add required plugins" | 274 Click "Add required plugins" |
| 291 Click Run | 275 Click Run |
| OLD | NEW |