| Index: editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/actions/CleanFoldersAction.java
|
| ===================================================================
|
| --- editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/actions/CleanFoldersAction.java (revision 44832)
|
| +++ editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/actions/CleanFoldersAction.java (working copy)
|
| @@ -56,12 +56,14 @@
|
|
|
| if (!selection.isEmpty()) {
|
| List<IProject> projects = new ArrayList<IProject>();
|
| + List<String> projectLoc = new ArrayList<String>();
|
| for (Object sel : selection.toArray()) {
|
| projects.add((IProject) sel);
|
| + projectLoc.add(((IProject) sel).getLocation().toOSString());
|
| }
|
|
|
| if (DartCoreDebug.ENABLE_ANALYSIS_SERVER) {
|
| - DartCore.getAnalysisServer().analysis_reanalyze(null);
|
| + DartCore.getAnalysisServer().analysis_reanalyze(projectLoc);
|
| } else {
|
| CleanLibrariesJob job = new CleanLibrariesJob(projects);
|
| job.schedule();
|
|
|