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

Unified Diff: pkg/analysis_server/tool/spec/spec_input.html

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 | « pkg/analysis_server/test/integration/integration_test_methods.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/tool/spec/spec_input.html
diff --git a/pkg/analysis_server/tool/spec/spec_input.html b/pkg/analysis_server/tool/spec/spec_input.html
index 562b853e3ee57ac15039f3fb5a23220943ee5fad..e3a869e88d54faa5494908395f57b3245877bee6 100644
--- a/pkg/analysis_server/tool/spec/spec_input.html
+++ b/pkg/analysis_server/tool/spec/spec_input.html
@@ -394,8 +394,8 @@
</value>
</map>
<p>
- A mapping from context source roots to package maps which map
- package names to source directories for use in client-side
+ A mapping from context source roots to package maps which map
+ package names to source directories for use in client-side
package URI resolution.
</p>
</field>
@@ -1657,6 +1657,24 @@
<p>
Exactly one of the file and uri fields must be provided.
</p>
+ <p>
+ 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 <tt>MAP_URI_INVALID_FILE</tt> will
+ be generated.
+ </p>
+ <p>
+ 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
+ <tt>MAP_URI_INVALID_URI</tt> will be generated.
+ </p>
+ <p>
+ 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 <tt>INVALID_EXECUTION_CONTEXT</tt>
+ will be generated.
scheglov 2015/02/02 20:35:43 Why not generate this error in response to executi
Brian Wilkerson 2015/02/02 20:44:03 The presence or absence of the resource, as well a
scheglov 2015/02/02 20:47:04 Right. Thank you for explaining this!
+ </p>
<params>
<field name="id">
<ref>ExecutionContextId</ref>
« no previous file with comments | « pkg/analysis_server/test/integration/integration_test_methods.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698