Export to GitHub

protobuf-dt - issue #196

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


Posted on Jan 30, 2012 by Grumpy Cat

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.

Comment #1

Posted on Jan 31, 2012 by Grumpy Cat

ra16417a62a49

Comment #2

Posted on Jan 31, 2012 by Grumpy Cat

Comment deleted

Comment #3

Posted on Jan 31, 2012 by Grumpy Cat

rb2d46d0cef58

Comment #4

Posted on Jan 31, 2012 by Grumpy Cat

r3848b1018340

Status: Fixed

Labels:
Type-Defect Priority-Critical Milestone-Release-1.2.2