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

Unified Diff: editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/AnalysisServer.java

Issue 896513002: Specify mapUri for directories (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address more cases Created 5 years, 11 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 | pkg/analysis_server/doc/api.html » ('j') | pkg/analysis_server/tool/spec/spec_input.html » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/AnalysisServer.java
diff --git a/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/AnalysisServer.java b/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/AnalysisServer.java
index fe0c918e773ad121a782943295dad407a1c0d29f..dea6bf7822ddbbb7e060ee67d0ee009fad96e41e 100644
--- a/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/AnalysisServer.java
+++ b/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/AnalysisServer.java
@@ -360,6 +360,18 @@ public interface AnalysisServer {
*
* Exactly one of the file and uri fields must be provided.
*
+ * If the file field is provided and the value is not the path of a file (either the file does not
+ * exist or the path references something other than a file), then an error of type
+ * MAP_URI_INVALID_FILE will be generated.
+ *
+ * If the uri field is provided and the value is not a valid URI or if the URI references something
+ * that is not a file (either a file that does not exist or something other than a file), then an
+ * error of type MAP_URI_INVALID_URI will be generated.
+ *
+ * If the contextRoot used to create the execution context is not a file (either the file does not
+ * exist or the path references something other than a file), then an error of type
+ * INVALID_EXECUTION_CONTEXT will be generated.
+ *
* @param id The identifier of the execution context in which the URI is to be mapped.
* @param file The path of the file to be mapped into a URI.
* @param uri The URI to be mapped into a file path.
« no previous file with comments | « no previous file | pkg/analysis_server/doc/api.html » ('j') | pkg/analysis_server/tool/spec/spec_input.html » ('J')

Powered by Google App Engine
This is Rietveld 408576698