You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2009/09/14 08:59:12 UTC
[jira] Resolved: (CAMEL-1974) Package scanning cannot be used for
folders containing special characters
[ https://issues.apache.org/activemq/browse/CAMEL-1974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-1974.
--------------------------------
Resolution: Fixed
Thanks Fabio for reporting and showing how to fix it.
trunk: 814499.
> Package scanning cannot be used for folders containing special characters
> -------------------------------------------------------------------------
>
> Key: CAMEL-1974
> URL: https://issues.apache.org/activemq/browse/CAMEL-1974
> Project: Apache Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 2.0.0
> Environment: macbook pro, osx leopard
> Reporter: Fabio Marinelli
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 2.1.0
>
> Attachments: DefaultPackageScanClassResolverTest.diff, package+scan+test.jar
>
>
> I found out this problem developing a test case with cargo on my macbook. Temporary directory on leopard is something like (/private/var/folders/is/ispMf0ylEtCIOP8skg0va++++TI/-Tmp-) and cargo deploys the embedded container there.
> Problem happens when camel tries to find converters by using DefaultPackageScanClassResolver class; it converts the temporary path, using URLDecoder, in the invalid path "/private/var/folders/is/ispMf0ylEtCIOP8skg0va TI/-Tmp-"
> You can reproduce this bug by patching the DefaultPackageScanClassResolverTest and adding the following resource file, that I'm going to attach to this issue.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.