aboutsummaryrefslogtreecommitdiffstats
path: root/eclipse/plugins
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2013-07-24 09:11:10 -0700
committerXavier Ducrohet <xav@android.com>2013-07-24 09:11:10 -0700
commit88d652df8c8de56e60ce20736d63229f3850f202 (patch)
tree0b3d30f7915d005e7bfd86d92df5c158d223c0bc /eclipse/plugins
parent77ba389d87d691d834be910ece683576a90aa893 (diff)
downloadsdk-88d652df8c8de56e60ce20736d63229f3850f202.zip
sdk-88d652df8c8de56e60ce20736d63229f3850f202.tar.gz
sdk-88d652df8c8de56e60ce20736d63229f3850f202.tar.bz2
Fix gradle export on windows.
Change-Id: I9166dafe997f4d9e7988e7f123759952fdea4ba4
Diffstat (limited to 'eclipse/plugins')
-rw-r--r--eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/exportgradle/ProjectSetupBuilder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/exportgradle/ProjectSetupBuilder.java b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/exportgradle/ProjectSetupBuilder.java
index 0df28ea..1fd6b74 100644
--- a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/exportgradle/ProjectSetupBuilder.java
+++ b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/exportgradle/ProjectSetupBuilder.java
@@ -324,7 +324,7 @@ public class ProjectSetupBuilder {
@NonNull
private static IPath findCommonRoot(@NonNull IPath path1, @NonNull IPath path2)
throws InternalException {
- if (path1.getDevice() != null && path1.getDevice().equals(path2.getDevice())) {
+ if (path1.getDevice() != null && !path1.getDevice().equals(path2.getDevice())) {
throw new InternalException(
"Different modules have been detected on different drives.\n" +
"This prevents finding a common root to all modules.");