spearway / protobuf-dt

Automatically exported from code.google.com/p/protobuf-dt
0 stars 1 forks source link

Imports of files outside the workspace should perform lookup in same directory #196

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This is a particular use case. Given a proto file, opened via the "Search" 
dialog, that it is not in the workspace. Trying to resolved its imports will 
fail since there is no project to read import resolution preferences from. The 
solution is to reuse the SingleDirectoryFileResolver strategy to find the 
imported file using the URI of the file declaring the import as the starting 
point.

Original issue reported on code.google.com by alr...@google.com on 30 Jan 2012 at 10:43

GoogleCodeExporter commented 9 years ago
ra16417a62a49

Original comment by alr...@google.com on 31 Jan 2012 at 12:50

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
rb2d46d0cef58

Original comment by alr...@google.com on 31 Jan 2012 at 1:30

GoogleCodeExporter commented 9 years ago
r3848b1018340

Original comment by alr...@google.com on 31 Jan 2012 at 10:27