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

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

Issue 366873005: Version 1.5.2 (Closed) Base URL: http://dart.googlecode.com/svn/branches/1.5/
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
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 37934)
+++ 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);

Powered by Google App Engine
This is Rietveld 408576698