Code like EclipseResourceUtils.getJavaProjectSrcLocations is an example that ignores the possibility of classpath variables etc.
Need to check if that is done in other places of xmodel/jbosstools.