You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2011/03/21 16:00:06 UTC

[jira] [Resolved] (OWB-524) OWB classpath scanning of non-jars doesn't work if the classpath contains spaces

     [ https://issues.apache.org/jira/browse/OWB-524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Struberg resolved OWB-524.
-------------------------------

    Resolution: Fixed

fixed in AnnotationDB, r1083814

> 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