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

Unified Diff: dart/editor/tools/plugins/com.google.dart.tools.update.core/src/com/google/dart/tools/update/core/internal/jobs/InstallUpdateAction.java

Issue 363593005: Version 1.6.0-dev.0.1 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | dart/sdk/lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/editor/tools/plugins/com.google.dart.tools.update.core/src/com/google/dart/tools/update/core/internal/jobs/InstallUpdateAction.java
===================================================================
--- dart/editor/tools/plugins/com.google.dart.tools.update.core/src/com/google/dart/tools/update/core/internal/jobs/InstallUpdateAction.java (revision 37845)
+++ dart/editor/tools/plugins/com.google.dart.tools.update.core/src/com/google/dart/tools/update/core/internal/jobs/InstallUpdateAction.java (working copy)
@@ -292,7 +292,11 @@
File sdkDir = new File(installTarget, "dart-sdk"); //$NON-NLS-1$
UpdateUtils.deleteDirectory(sdkDir, mon.newChild(4));
UpdateUtils.deleteDirectory(new File(installTarget, "samples"), mon.newChild(4)); //$NON-NLS-1$
-
+ // TODO(keertip): check can be removed after all installs are on version with android dir
+ File androidDir = new File(installTarget, "android");
+ if (androidDir.exists()) {
+ UpdateUtils.deleteDirectory(androidDir, mon.newChild(4));
+ }
terminateRunningDartLaunches();
File dartium = DartSdkManager.getManager().getSdk().getDartiumWorkingDirectory(installTarget);
« no previous file with comments | « no previous file | dart/sdk/lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698