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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 and choose Run As > Ant Build (the default option, not the Ant Build... option).
This will create | 176 and choose Run As > Ant Build (the default option, not the Ant Build... option).
This will create |
177 the closure-compiler/build/compiler.jar library, which will be picked up by the | 177 the closure-compiler/build/compiler.jar library, which will be picked up by the |
178 com.google.dart.compiler.js project. | 178 com.google.dart.compiler.js project. |
179 | 179 |
180 Alternatively, run ant from the third_party/closure_compiler directory. | 180 Alternatively, run ant from the third_party/closure_compiler directory. |
181 | 181 |
182 Refresh the closure-compiler and com.google.dart.compiler.js projects for Eclips
e to see the new | 182 Refresh the closure-compiler and com.google.dart.compiler.js projects for Eclips
e to see the new |
183 files. | 183 files. |
184 | 184 |
185 ==================================== | 185 ==================================== |
| 186 Building Dart Libraries |
| 187 ==================================== |
| 188 |
| 189 For development, we require that the Eclipse installation directory have a "libr
aries" directory |
| 190 containing the bundled dart:<name> libraries (e.g. dart:core). To build this dir
ectory... |
| 191 |
| 192 1) Right click on editor/build/build_rcp.xml |
| 193 2) Select "Run As > Ant Build..." |
| 194 3) Click the "Targets" tab and make sure only the "setupDevWorkspace" target is
checked |
| 195 4) Click the "JRE" tab and select "Run in the same JRE as the workspace" |
| 196 5) Click "Run" |
| 197 |
| 198 Alternately, you can run the Ant script outside Eclipse |
| 199 by defining the "eclipse.home" property to point to your Eclipse installation |
| 200 |
| 201 ==================================== |
186 Launching the Dart Editor | 202 Launching the Dart Editor |
187 ==================================== | 203 ==================================== |
188 | 204 |
189 Once your projects have been imported, go to the Package Explorer and open the | 205 Once your projects have been imported, go to the Package Explorer and open the |
190 dart_feature.product file in the com.google.dart.tools.deploy project. Under the | 206 dart_feature.product file in the com.google.dart.tools.deploy project. Under the |
191 Testing section, click on the 'Launch an Eclipse Application' link. Another inst
ance of | 207 Testing section, click on the 'Launch an Eclipse Application' link. Another inst
ance of |
192 Eclipse should launch, running the Dart Editor! | 208 Eclipse should launch, running the Dart Editor! |
193 | 209 |
194 ==================================== | 210 ==================================== |
195 Building the Dart Editor | 211 Building the Dart Editor |
196 ==================================== | 212 ==================================== |
197 | 213 |
198 See the dart/editor/build/README.txt file for build instructions. | 214 See the dart/editor/build/README.txt file for build instructions. |
OLD | NEW |