最近在我的开发环境中完成了xtext迁移。迁移到版本2.9.2后,资源URI列表会反转。我正在使用org.eclipse.xtext.ui.resource.IStorage2UriMapper类从项目中获取特定的文件扩展名资源。
迁移前:org.eclipse.xtext.ui_2.6.0.v201405210727.jar
迁移后:org.eclipse.xtext.ui_2.9.2.v201603040440.jar
输出前:
/resource/example/root/B.txt
/resource/example/root/A.txt
/resource/example/enum/enum.txt
/resource/example/data/datatype.txt
迁移后的输出:
/resource/example/data/datatype.txt
/resource/example/enum/enum.txt
/resource/example/root/A.txt
/resource/example/root/B.txt
请告诉我如何解决此问题。