-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
qulice-maven-plugin 0.8: Build failure with URISyntaxException #243
Comments
Seems like the error exists in Also see senny/emacs-eclim#115, which may be related. |
I was able to find the problem, it's with the public Collection<String> classpath() {
final Collection<String> paths = new LinkedList<String>();
try {
for (final String name
: this.iproject.getRuntimeClasspathElements()) {
paths.add(name); // Bug! Did NOT replace file separator with '/'
}
for (final Artifact artifact
: this.iproject.getDependencyArtifacts()) {
paths.add(
artifact.getFile().getAbsolutePath()
.replace(File.separatorChar, '/') // Correct, replaced file separator here
);
}
} catch (final DependencyResolutionRequiredException ex) {
throw new IllegalStateException("Failed to read classpath", ex);
}
return paths;
} Ironically we originally replaced File with String in #205 in order to avoid file separator issues. However,
In other words reverting #205 will fix this bug. However, the We should fix it ASAP so that our team's Windows developers don't get blocked. |
I'm aware of the task, give me some time to find a developer... |
@carlosmiranda thanks for this report, I added 15 mins to your account, in transaction 39266321 |
@longtimeago can you please help? Keep in mind this. If you have any technical questions, don't hesitate to ask right here |
@longtimeago This task's budget is 30 mins. This is exactly how much will be paid when the problem explained above is solved. See this for more information |
Issue #243 DefaultMavenEnvironment.classloader() hotfix
@carlosmiranda Please, close the issue. Thank you! |
@longtimeago thanks! @yegor256 can we have a bugfix release for this? |
@carlosmiranda sure, version 0.8.2 released to Maven Central |
@longtimeago Thanks for your contribution, 30 mins was added to your account, payment ID is |
See log below. It may be a Windows-specific bug since it complains about the path URI, though I'm not sure. This does not happen when I revert the build to version 0.5.1.
The text was updated successfully, but these errors were encountered: