Index: editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/internal/remote/RemoteAnalysisServerImpl.java |
diff --git a/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/internal/remote/RemoteAnalysisServerImpl.java b/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/internal/remote/RemoteAnalysisServerImpl.java |
index 6fe9b4a71d318bc936987e064a099478961c63c2..495d52d715854162a3740b3750dd33fd8b0ac3a2 100644 |
--- a/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/internal/remote/RemoteAnalysisServerImpl.java |
+++ b/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/internal/remote/RemoteAnalysisServerImpl.java |
@@ -240,7 +240,8 @@ public class RemoteAnalysisServerImpl implements AnalysisServer { |
} |
@Override |
- public void analysis_setAnalysisRoots(List<String> includedPaths, List<String> excludedPaths) { |
+ public void analysis_setAnalysisRoots(List<String> includedPaths, List<String> excludedPaths, |
+ Map<String, String> packageRoots) { |
String id = generateUniqueId(); |
if (includedPaths == null) { |
includedPaths = EMPTY_STR_LIST; |
@@ -248,9 +249,11 @@ public class RemoteAnalysisServerImpl implements AnalysisServer { |
if (excludedPaths == null) { |
excludedPaths = EMPTY_STR_LIST; |
} |
- sendRequestToServer( |
+ sendRequestToServer(id, RequestUtilities.generateAnalysisSetAnalysisRoots( |
id, |
- RequestUtilities.generateAnalysisSetAnalysisRoots(id, includedPaths, excludedPaths)); |
+ includedPaths, |
+ excludedPaths, |
+ packageRoots)); |
} |
@Override |