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

Unified Diff: editor/tools/plugins/com.google.dart.eclipse.core/src/com/google/dart/eclipse/core/build/DartBuildParticipant.java

Issue 1050143002: use the new reanalyze sources server api (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 9 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
« no previous file with comments | « no previous file | editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/internal/remote/RemoteAnalysisServerImpl.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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()));
}
}
}
« no previous file with comments | « no previous file | editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/internal/remote/RemoteAnalysisServerImpl.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698