Skip to content

Commit

Permalink
Fix eclipse-tycho#652 - Nested target feature needs to support window…
Browse files Browse the repository at this point in the history
…s path in

project_loc expansion

Signed-off-by: Christoph Läubrich <laeubi@laeubi-soft.de>
  • Loading branch information
laeubi committed Feb 15, 2022
1 parent fc18fa8 commit cfeb4d0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,8 @@ TargetDefinitionContent resolveContentWithExceptions(TargetDefinition definition
String resolvePath = resolvePath(referenceLocation.getUri(), definition);
URI resolvedUri;
try {
resolvedUri = new URI(resolvePath);
//We need to convert windows path separators here...
resolvedUri = new URI(resolvePath.replace('\\', '/'));
} catch (URISyntaxException e) {
throw new ResolverException("Invalid URI " + resolvePath + ": " + e.getMessage(), e);
}
Expand Down

0 comments on commit cfeb4d0

Please sign in to comment.