$ gclient sync ... ... ... ******************************************************************************* * WARNING: Can't download DumpRenderTree! This is required to test client apps. * You need to do a one-time configuration step to access Google Storage. * Please run this command and follow the instructions: * third_party/gsutil/20110627/gsutil config * * NOTE: When prompted you can leave "project-id" blank. Just hit enter. ******************************************************************************* Error: Command /usr/bin/python dart/tools/get_drt.py runhooks returned non-zero exit status 1 in /Developer/SDKs/dart
案の定エラーが出ました。 ひとまず、WARNINGの言うとおりに gsutil を実行。
1 2 3 4 5 6 7 8 9
$ dart/third_party/gsutil/20110627/gsutil config This script will create a boto config file at /Users/administrator/.boto containing your credentials, based on your responses to the following questions. Please navigate your browser to the following URL: https://accounts.google.com/o/oauth2/auth?scope=https%3A%2F%2Fwww...(略) In your browser you should see a page that requests you to authorize gsutil to access Google Storage on your behalf. After you approve, an authorization code will be displayed. Enter the authorization code:
Please navigate your browser to http://code.google.com/apis/console, then click "Services" on the left side panel and ensure you have Storage activated, then click "Storage" on the left side panel and find the "x-goog-project-id" on that page. What is your project-id?
WARNINGの指示通りにブランクでエンター!
1 2 3 4
No default project ID entered. You will need to edit the default_project_id value in your boto config file before using "gsutil ls gs://" or "mb" commandswith the default API version 2. Boto config file "/Users/administrator/.boto" created. If you need to use a proxy to access the Internet please see the instructions in that file.
dartc [<options>] <dart-script> [script-arguments] Available options: --batch (-batch) : Batch mode (for unit testing) --check-only (-check-only) : Do not generate output, only analyze --disable-type-optimizations : Turn off type optimizations (for debugging) --documentation-lib (-documentation-li : Only generate docs for the b) VAL : given library --documentation-out (-documentation-ou : Directory to write documentation t) VAL : --enable_type_checks : Generate runtime type checks --fatal-type-errors (-fatal-type-error : Treat type errors as fatal s) : --fatal-warnings (-Werror) : Treat non-type warnings as fatal --generate-documentation (-generate-do : Generate docs from source cumentation) : --generate-isolate-stubs (-generate-is : Classes to generate stubs olate-stubs) VAL : (comma-separated list) --help (-?, -help) : Prints this help message --human-readable-output : Write human readable javascript --ignore-unrecognized-flags : Ignore unrecognized command line flags --isolate-stub-out (-isolate-stub-out) : File to receive generated stub output VAL : --jvm-metrics : Print jvm metrics at end of compile --jvm-metrics-detail VAL : Display summary (default) or verbose metrics --jvm-metrics-format VAL : Output metrics in tabular (default) or pretty format --jvm-metrics-type VAL : Comma-separated list to display: all: (default) all stat types gc: show garbage collection stats mem: show memory stats jit: show jit stats --metrics : Print compilation metrics --noincremental (-noincremental) : Disable incremental compilation --optimize (-optimize) : Produce optimized code --out FILE : Write generated JavaSccript to a file --warn_no_such_type : Treat some type checks as warnings instead of fatal errors --work (-out) FILE : Directory to receive compiler output for future incremental builds