Author: vyemialyanchyk
Date: 2011-01-21 08:37:32 -0500 (Fri, 21 Jan 2011)
New Revision: 28469
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/utils/OpenMappingUtils.java
Log:
https://issues.jboss.org/browse/JBIDE-8116 - fixed
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/utils/OpenMappingUtils.java
===================================================================
---
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/utils/OpenMappingUtils.java 2011-01-21
07:29:17 UTC (rev 28468)
+++
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/utils/OpenMappingUtils.java 2011-01-21
13:37:32 UTC (rev 28469)
@@ -477,7 +477,7 @@
if (resourceAttr == null) {
continue;
}
- IPath path = paths.get(i).append(resourceAttr.getValue());
+ IPath path = paths.get(i).append(resourceAttr.getValue().trim());
file = ResourcesPlugin.getWorkspace().getRoot().getFile(path);
if (file == null || !file.exists()) {
file = ResourcesPlugin.getWorkspace().getRoot().getFileForLocation(path);