Skip to content

Commit

Permalink
Fixing issue on Windows when there are spaces in the path of the SRE
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandrelombard committed Nov 4, 2019
1 parent 02b97db commit 2d3d519
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -151,7 +151,8 @@ public static IClasspathEntry[][] readFileEntriesWithException(String projectNam
Map<IPath, UnknownXmlElements> unknownElements)
throws CoreException, IOException, ClasspathEntry.AssertionFailedException, URISyntaxException {

final URL rscFile = new URL(projectRootAbsoluteFullPath.toExternalForm().concat(JavaProject.CLASSPATH_FILENAME));
final URL rscFile = new URL(
projectRootAbsoluteFullPath.toExternalForm().concat(JavaProject.CLASSPATH_FILENAME).replace(" ", "%20")); //$NON-NLS-1$ //$NON-NLS-2$
byte[] bytes;

// when a project is imported, we get a first delta for the addition of the .project, but the .classpath is not accessible
Expand Down

0 comments on commit 2d3d519

Please sign in to comment.