You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Antoine Toulme (JIRA)" <ji...@apache.org> on 2016/09/17 05:13:21 UTC
[jira] [Updated] (BUILDR-723) JavaTestFilter is unable to parse
paths containing %2F
[ https://issues.apache.org/jira/browse/BUILDR-723?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antoine Toulme updated BUILDR-723:
----------------------------------
Assignee: Antoine Toulme
Fix Version/s: 1.5
Summary: JavaTestFilter is unable to parse paths containing %2F (was: buildr test failed with JavaTestFilter: Unable to load class to determine testing ability)
Thanks for your bug report, looking into this.
> JavaTestFilter is unable to parse paths containing %2F
> ------------------------------------------------------
>
> Key: BUILDR-723
> URL: https://issues.apache.org/jira/browse/BUILDR-723
> Project: Buildr
> Issue Type: Bug
> Affects Versions: 1.4.24
> Reporter: Gerald Fiedler
> Assignee: Antoine Toulme
> Fix For: 1.5
>
>
> When the current working dir path contains special chars used for URL encoding like "%2F" then buildr test fails with
> gfiedler:~/workspace/foo%2Fbar> buildr test
> (in /home/gfiedler/workspace/foo%2Fbar, development)
> JavaTestFilter: Unable to load class dependency.InvocationTargetFieldMock to determine testing ability
> ClassNotFoundException: dependency.InvocationTargetFieldMock
> Buildr aborted!
> RuntimeError : java.lang.ClassNotFoundException: dependency.InvocationTargetFieldMock
> A fix would be to replace file.toURL() by file.toURI().toURL() in JavaTestFilter.java.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)