mirror of
https://github.com/sigmasternchen/xtext-core
synced 2025-03-16 08:48:55 +00:00
[smap] install path information into SMAP, not just a simple file name
This commit is contained in:
parent
dcdd52a09a
commit
525dc13b67
1 changed files with 4 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue