camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Fix for CAMEL-1974 seems to cause problem on Windows
Date Wed, 16 Sep 2009 14:48:19 GMT
Hi

BTW I have committed a new fix. Can you test it on your windows system again?

On Wed, Sep 16, 2009 at 8:14 AM, Claus Ibsen <claus.ibsen@gmail.com> wrote:
> Hi
>
> Thanks for reporting.
> The issue is that you have spaces in the path which windows file IO is
> really handling badly.
>
> Could you create a ticket and/or post on CAMEL-1974 with this issue.
> Then I will take a look how we can support both worlds.
>
>
> On Tue, Sep 15, 2009 at 7:13 PM, taylorj <jtt77777@gmail.com> wrote:
>>
>> Hi All,
>>
>> Windows XP sp2
>> sun jdk 1.6.0_11
>> 2.1-SNAPSHOT from trunk
>>
>> The fix for CAMEL-1974  (Package scanning cannot be used for folders
>> containing special characters ) seems to cause a problem on my Windows
>> machine (XP).
>> This is a trace from a default camel-archetype-java  project ran using
>> camel:run
>>
>>  classloader: java.net.URLClassLoader@189acb5
>> [pache.camel.spring.Main.main()] efaultPackageScanClassResolver TRACE URL
>> from classloader: jar:file:/C:/Documents and Settings/TaylorJohn.
>> GS/.m2/repository/org/apache/camel/camel-core/2.1-SNAPSHOT/camel-core-2.1-SNAPSHOT.jar!/org/apache/camel/component/file/
>> [pache.camel.spring.Main.main()] efaultPackageScanClassResolver TRACE
>> Decoded urlPath: file:/C:/Documents and Settings/TaylorJohn.SGS/.m2/r
>> pository/org/apache/camel/camel-core/2.1-SNAPSHOT/camel-core-2.1-SNAPSHOT.jar!/org/apache/camel/component/file/
>> [pache.camel.spring.Main.main()] efaultPackageScanClassResolver WARN  Could
>> not read entries in url: jar:file:/C:/Documents and Settings/Ta
>> lorJohn.SGS/.m2/repository/org/apache/camel/camel-core/2.1-SNAPSHOT/camel-core-2.1-SNAPSHOT.jar!/org/apache/camel/component/file/
>> java.net.URISyntaxException: Illegal character in path at index 18:
>> file:/C:/Documents and Settings/TaylorJohn.SGS/.m2/repository/org/apach
>> /camel/camel-core/2.1-SNAPSHOT/camel-core-2.1-SNAPSHOT.jar!/org/apache/camel/component/file/
>>        at java.net.URI$Parser.fail(URI.java:2809)
>>        at java.net.URI$Parser.checkChars(URI.java:2982)
>>        at java.net.URI$Parser.parseHierarchical(URI.java:3066)
>>        at java.net.URI$Parser.parse(URI.java:3014)
>>        at java.net.URI.<init>(URI.java:578)
>>        at
>> org.apache.camel.impl.DefaultPackageScanClassResolver.find(DefaultPackageScanClassResolver.java:222)
>>        at
>> org.apache.camel.impl.DefaultPackageScanClassResolver.find(DefaultPackageScanClassResolver.java:180)
>>        at
>> org.apache.camel.impl.DefaultPackageScanClassResolver.findAnnotated(DefaultPackageScanClassResolver.java:100)
>>        at
>> org.apache.camel.impl.converter.AnnotationTypeConverterLoader.load(AnnotationTypeConverterLoader.java:62)
>>        at
>> org.apache.camel.impl.converter.DefaultTypeConverter.checkLoaded(DefaultTypeConverter.java:359)
>>        at
>> org.apache.camel.impl.converter.DefaultTypeConverter.doConvertTo(DefaultTypeConverter.java:153)
>>
>> Backing it out fixes it for me.
>>
>> Regards,
>> -John
>> --
>> View this message in context: http://www.nabble.com/Fix-for-CAMEL-1974-seems-to-cause-problem-on-Windows-tp25458041p25458041.html
>> Sent from the Camel Development mailing list archive at Nabble.com.
>>
>>
>
>
>
> --
> Claus Ibsen
> Apache Camel Committer
>
> Open Source Integration: http://fusesource.com
> Blog: http://davsclaus.blogspot.com/
> Twitter: http://twitter.com/davsclaus
>



-- 
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Mime
View raw message