You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Tom Switzer (JIRA)" <de...@db.apache.org> on 2006/10/11 20:29:35 UTC

[jira] Created: (DERBY-1955) Unquoted path in .bat files may cause errors (Win)

Unquoted path in .bat files may cause errors (Win)
--------------------------------------------------

                 Key: DERBY-1955
                 URL: http://issues.apache.org/jira/browse/DERBY-1955
             Project: Derby
          Issue Type: Bug
          Components: Demos/Scripts
    Affects Versions: 10.2.1.6
         Environment: Windows 2000 (SP4), x86
            Reporter: Tom Switzer
            Priority: Trivial


The "CALL %~dp0derby_common.bat %*" command in the .bat files in the bin/ directory are unquoted. So, if the path the scripts live in contains a space, running them will either result in CALL failing or producing an undesired effect.

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

        

[jira] Commented: (DERBY-1955) Unquoted path in .bat files may cause errors (Win)

Posted by "Andrew McIntyre (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-1955?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462158 ] 

Andrew McIntyre commented on DERBY-1955:
----------------------------------------

Attaching patch which adds quotes around the calls to derby_common.bat. Resolves the issue with spaces in the installation path when using the batch scripts in /bin on Windows.

> Unquoted path in .bat files may cause errors (Win)
> --------------------------------------------------
>
>                 Key: DERBY-1955
>                 URL: https://issues.apache.org/jira/browse/DERBY-1955
>             Project: Derby
>          Issue Type: Bug
>          Components: Demos/Scripts
>    Affects Versions: 10.2.1.6
>         Environment: Windows 2000 (SP4), x86
>            Reporter: Tom Switzer
>         Assigned To: Andrew McIntyre
>            Priority: Trivial
>         Attachments: derby-1955-v1.diff
>
>
> The "CALL %~dp0derby_common.bat %*" command in the .bat files in the bin/ directory are unquoted. So, if the path the scripts live in contains a space, running them will either result in CALL failing or producing an undesired effect.

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

        

[jira] Assigned: (DERBY-1955) Unquoted path in .bat files may cause errors (Win)

Posted by "Andrew McIntyre (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-1955?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew McIntyre reassigned DERBY-1955:
--------------------------------------

    Assignee: Andrew McIntyre

> Unquoted path in .bat files may cause errors (Win)
> --------------------------------------------------
>
>                 Key: DERBY-1955
>                 URL: https://issues.apache.org/jira/browse/DERBY-1955
>             Project: Derby
>          Issue Type: Bug
>          Components: Demos/Scripts
>    Affects Versions: 10.2.1.6
>         Environment: Windows 2000 (SP4), x86
>            Reporter: Tom Switzer
>         Assigned To: Andrew McIntyre
>            Priority: Trivial
>         Attachments: derby-1955-v1.diff
>
>
> The "CALL %~dp0derby_common.bat %*" command in the .bat files in the bin/ directory are unquoted. So, if the path the scripts live in contains a space, running them will either result in CALL failing or producing an undesired effect.

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

        

[jira] Closed: (DERBY-1955) Unquoted path in .bat files may cause errors (Win)

Posted by "Dyre Tjeldvoll (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-1955?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dyre Tjeldvoll closed DERBY-1955.
---------------------------------


> Unquoted path in .bat files may cause errors (Win)
> --------------------------------------------------
>
>                 Key: DERBY-1955
>                 URL: https://issues.apache.org/jira/browse/DERBY-1955
>             Project: Derby
>          Issue Type: Bug
>          Components: Demos/Scripts
>    Affects Versions: 10.2.1.6
>         Environment: Windows 2000 (SP4), x86
>            Reporter: Tom Switzer
>            Assignee: Andrew McIntyre
>            Priority: Trivial
>             Fix For: 10.2.2.1, 10.3.1.4
>
>         Attachments: derby-1955-v1.diff
>
>
> The "CALL %~dp0derby_common.bat %*" command in the .bat files in the bin/ directory are unquoted. So, if the path the scripts live in contains a space, running them will either result in CALL failing or producing an undesired effect.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DERBY-1955) Unquoted path in .bat files may cause errors (Win)

Posted by "Andrew McIntyre (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-1955?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew McIntyre updated DERBY-1955:
-----------------------------------

    Attachment: derby-1955-v1.diff

> Unquoted path in .bat files may cause errors (Win)
> --------------------------------------------------
>
>                 Key: DERBY-1955
>                 URL: https://issues.apache.org/jira/browse/DERBY-1955
>             Project: Derby
>          Issue Type: Bug
>          Components: Demos/Scripts
>    Affects Versions: 10.2.1.6
>         Environment: Windows 2000 (SP4), x86
>            Reporter: Tom Switzer
>         Assigned To: Andrew McIntyre
>            Priority: Trivial
>         Attachments: derby-1955-v1.diff
>
>
> The "CALL %~dp0derby_common.bat %*" command in the .bat files in the bin/ directory are unquoted. So, if the path the scripts live in contains a space, running them will either result in CALL failing or producing an undesired effect.

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

        

[jira] Resolved: (DERBY-1955) Unquoted path in .bat files may cause errors (Win)

Posted by "Andrew McIntyre (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-1955?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew McIntyre resolved DERBY-1955.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 10.3.0.0
                   10.2.2.1

Committed to trunk with revision 492930 and 10.2 with revision 492931.

> Unquoted path in .bat files may cause errors (Win)
> --------------------------------------------------
>
>                 Key: DERBY-1955
>                 URL: https://issues.apache.org/jira/browse/DERBY-1955
>             Project: Derby
>          Issue Type: Bug
>          Components: Demos/Scripts
>    Affects Versions: 10.2.1.6
>         Environment: Windows 2000 (SP4), x86
>            Reporter: Tom Switzer
>         Assigned To: Andrew McIntyre
>            Priority: Trivial
>             Fix For: 10.2.2.1, 10.3.0.0
>
>         Attachments: derby-1955-v1.diff
>
>
> The "CALL %~dp0derby_common.bat %*" command in the .bat files in the bin/ directory are unquoted. So, if the path the scripts live in contains a space, running them will either result in CALL failing or producing an undesired effect.

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