Open GoogleCodeExporter opened 9 years ago
Through debugging: SyncWizard.getSourceFile(IResource source) is using a
deprecated function IPathManager.resolvePath(rawPath) which for some reasons
does not resolve well linked files while working fine with linked folders.
Using the newer api seems to resolve the issue, and even simplify the code:
<code>
protected File getSourceFile(IResource source) {
// linked resources will be resolved here!
URI uri = source.getLocationURI();
return uri == null ? null : new File(uri);
}
</code>
Original comment by fmjrey
on 25 Aug 2010 at 1:52
Committed fix into a clone:
http://code.google.com/a/eclipselabs.org/r/fmjrey-pathvars-rse/source/detail?r=2
5145f658993b97ee338b3937c191b58f057871e
Original comment by fmjrey
on 26 Aug 2010 at 8:49
Original issue reported on code.google.com by
fmjrey
on 24 Aug 2010 at 8:48