Index: editor/tools/plugins/com.google.dart.eclipse.core/src/com/google/dart/eclipse/core/build/DartBuildParticipant.java |
=================================================================== |
--- editor/tools/plugins/com.google.dart.eclipse.core/src/com/google/dart/eclipse/core/build/DartBuildParticipant.java (revision 44832) |
+++ editor/tools/plugins/com.google.dart.eclipse.core/src/com/google/dart/eclipse/core/build/DartBuildParticipant.java (working copy) |
@@ -22,6 +22,8 @@ |
import org.eclipse.core.runtime.CoreException; |
import org.eclipse.core.runtime.IProgressMonitor; |
+import java.util.Arrays; |
+ |
/** |
* Performs a reanalyze sources for clean build |
*/ |
@@ -35,7 +37,8 @@ |
@Override |
public void clean(CleanEvent event, IProgressMonitor monitor) throws CoreException { |
if (DartCoreDebug.ENABLE_ANALYSIS_SERVER) { |
- DartCore.getAnalysisServer().analysis_reanalyze(null); |
+ DartCore.getAnalysisServer().analysis_reanalyze( |
+ Arrays.asList(event.getProject().getLocation().toOSString())); |
} |
} |
} |