Transitive / recursive import [message #901506] |
Mon, 13 August 2012 04:05  |
Eclipse User |
|
|
|
In the language I am working with if a file includes another file, it also inherits all the includes from that other file.
I have this working with a single step. I search my include path and create a SelectableBasedScope.
I'm wondering if there's a good place to attach some information to the Resource that I can use later when I build my scope to also go find those other includes recursively.
One approach I can think of is to subclass DefaultResourceDescriptionStrategy to return some special resource descriptions that I can scan for later.
Does that seem like a good idea, or is there a smarter approach?
|
|
|
|
Powered by
FUDForum. Page generated in 0.03921 seconds