[
https://issues.jboss.org/browse/WELD-834?page=com.atlassian.jira.plugin.s...
]
Emond Papegaaij edited comment on WELD-834 at 8/25/11 8:23 AM:
---------------------------------------------------------------
The fix in this issue can cause double-escaped paths, which causes errors like: Error
handling file
/var/lib/jenkins/jobs/Wicket%2520Weld/workspace/wicket-cdi-examples/target/classes
https://github.com/papegaaij/wicket-cdi demonstrates the problem, clone the project in a
directory with a space in the name, and run 'mvn install
-Dwicket.version=1.5-RC5.1'
I've opend WELD-954 to track this.
was (Author: papegaaij):
The fix in this issue can cause double-escaped paths, which causes errors like: Error
handling file
/var/lib/jenkins/jobs/Wicket%2520Weld/workspace/wicket-cdi-examples/target/classes
https://github.com/papegaaij/wicket-cdi demonstrates the problem, clone the project in a
directory with a space in the name, and run 'mvn install
-Dwicket.version=1.5-RC5.1'
URLScanner can not handle paths containing spaces
-------------------------------------------------
Key: WELD-834
URL:
https://issues.jboss.org/browse/WELD-834
Project: Weld
Issue Type: Bug
Components: Bootstrap and Metamodel API
Affects Versions: 1.1.0.Final
Environment: Windows, Jetty 7.2.2
Reporter: Štěpán Mík
Assignee: Ales Justin
Fix For: 1.1.2.Final
When actual classpath includes folder that contains spaces, URLScanner throws an
exception (java.io.FileNotFoundException). Problem is at line 93 where string holding URL
is "converted" to path just by stripping URL scheme prefix. Unfortunately,
spaces in URL are expressed either by plus sing or %20 escape sequence, which remains in
file path instead of proper URL decoding. For example "file:/C:/with%20space" is
converted to "/C:/with%20space" instead of "C:/with space".
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira