[smap] install path information into SMAP, not just a simple file name

This commit is contained in:
Moritz Eysholdt 2013-02-20 18:28:44 +01:00 committed by Gerrit Code Review @ Eclipse.org
parent dcdd52a09a
commit 525dc13b67

View file

@ -38,6 +38,9 @@ public class TraceAsSmapInstaller implements ITraceToBytecodeInstaller {
@Inject
private IResourceServiceProvider.Registry serviceProviderRegistry;
@Inject
private ITraceURIConverter traceURIConverter;
protected String smap;
@ -50,7 +53,7 @@ public class TraceAsSmapInstaller implements ITraceToBytecodeInstaller {
}
protected String getPath(URI path) {
return path.lastSegment();
return traceURIConverter.getURIForTrace(path).toString();
}
protected String getStratumName(final URI path) {