[daisy] [JIRA] Updated: (DSY-328) Repository data cannot be stored in a directory that contains spaces (Windows)

Andreas Deininger (JIRA) issues at cocoondev.org
Sun Aug 20 13:41:08 CDT 2006


     [ http://issues.cocoondev.org//browse/DSY-328?page=all ]

Andreas Deininger updated DSY-328:
----------------------------------

    Attachment: data_dir_whitespace.patch

> Could you give this a try? A tripple encoded space should be one of these:
>
>%252B
>%252520

The latter one works, indeed. Thanks for looking into that. I just confirmed that the attached patch actually cures the problem. The patch also adds quoting to the linux version of the repository startup script, even though this might be rarely needed (also tested).

> Repository data cannot be stored in a directory that contains spaces (Windows)
> ------------------------------------------------------------------------------
>
>          Key: DSY-328
>          URL: http://issues.cocoondev.org//browse/DSY-328
>      Project: Daisy
>         Type: Bug
>   Components: Repository
>     Versions: public - 2.0
>  Environment: Daisy 2.0
>     Reporter: Andreas Deininger
>     Priority: Minor
>  Attachments: data_dir_whitespace.patch, data_dir_whitespace.patches.tar, data_dir_whitespace_1_5.patch, data_dir_whitespace_2_0.patch
>
> Even with DSY-319 applied, daisy's repository data still cannot be stored in a directory that contains spaces.
> Reason: The line
>  <property name="java.naming.provider.url" value="vm://DaisyJMS?brokerConfig=xbean:file:${daisy.datadir}/conf/activemq-conf.xml"/>
> in myconfig.xml is causing that trouble.
> Even if you encode the file: URL, it does not work.
> As a workaround, paul suggested to use a relative path, which then means that you have to place "cd <daisy_data>/conf" in the startup script.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.cocoondev.org//secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



More information about the daisy mailing list