OWB classpath scanning of non-jars doesn't work if the classpath contains spaces
--------------------------------------------------------------------------------
Key: OWB-524
URL: https://issues.apache.org/jira/browse/OWB-524
Project: OpenWebBeans
Issue Type: Bug
Components: Core
Affects Versions: 1.0.0
Reporter: Mark Struberg
Assignee: Mark Struberg
Fix For: 1.1.0
If a CDI application gets hosted in a directory which contains spaces, our
ScannerService will not find any classes.
This is caused by a subsequent bug in scannotation.
new File("/home/msx/tmp/CODI test/trunk/core/impl/target/classes/").exists()
returns true but the url.getPath() used in
org.scannotation.archiveiterator.FileProtocolIteratorFactory returns
/home/msx/tmp/CODI%20test/trunk/core/impl/target/classes/
and uses this value to create a new File to check for f.isDirectory()
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira