Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Side by Side Diff: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/pub/PubBuildParticipant.java

Issue 12887006: Version 0.4.3.3 . (Closed) Base URL: http://dart.googlecode.com/svn/trunk/dart/
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | runtime/vm/raw_object_snapshot.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012, the Dart project authors. 2 * Copyright (c) 2012, the Dart project authors.
3 * 3 *
4 * Licensed under the Eclipse Public License v1.0 (the "License"); you may not u se this file except 4 * Licensed under the Eclipse Public License v1.0 (the "License"); you may not u se this file except
5 * in compliance with the License. You may obtain a copy of the License at 5 * in compliance with the License. You may obtain a copy of the License at
6 * 6 *
7 * http://www.eclipse.org/legal/epl-v10.html 7 * http://www.eclipse.org/legal/epl-v10.html
8 * 8 *
9 * Unless required by applicable law or agreed to in writing, software distribut ed under the License 9 * Unless required by applicable law or agreed to in writing, software distribut ed under the License
10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY K IND, either express 10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY K IND, either express
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 165
166 /** 166 /**
167 * Execute the pub operation. This is overridden when testing this class to re cord the intent to 167 * Execute the pub operation. This is overridden when testing this class to re cord the intent to
168 * run pub but prevent actually running pub. 168 * run pub but prevent actually running pub.
169 * 169 *
170 * @param container the working directory in which pub should be run (not <cod e>null</code>) 170 * @param container the working directory in which pub should be run (not <cod e>null</code>)
171 * @param monitor the progress monitor (not <code>null</code>) 171 * @param monitor the progress monitor (not <code>null</code>)
172 */ 172 */
173 protected void runPub(IContainer container, final IProgressMonitor monitor) { 173 protected void runPub(IContainer container, final IProgressMonitor monitor) {
174 if (DartCore.getPlugin().isAutoRunPubEnabled()) { 174 if (DartCore.getPlugin().isAutoRunPubEnabled()) {
175 new RunPubJob(container, RunPubJob.INSTALL_COMMAND).schedule(); 175 new RunPubJob(container, RunPubJob.INSTALL_COMMAND).run(monitor);
176 } else { 176 } else {
177 MessageConsole console = DartCore.getConsole(); 177 MessageConsole console = DartCore.getConsole();
178 console.printSeparator(""); 178 console.printSeparator("");
179 console.println("Run Tools > Pub Install to install packages"); 179 console.println("Run Tools > Pub Install to install packages");
180 } 180 }
181 } 181 }
182 } 182 }
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/raw_object_snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698