[OS-JIRA] Created: (CAY-99) modeler.bat file doesn't handle file paths with spaces

From: jir..bjectstyle.org
Date: Thu Feb 19 2004 - 12:08:13 EST

  • Next message: Andrus Adamchik: "Next release preview - String expressions, Modeler Query support, etc."

    Message:

      A new issue has been created in JIRA.

    ---------------------------------------------------------------------
    View the issue:

      http://objectstyle.org/jira/secure/ViewIssue.jspa?key=CAY-99

    Here is an overview of the issue:
    ---------------------------------------------------------------------
            Key: CAY-99
        Summary: modeler.bat file doesn't handle file paths with spaces
           Type: Bug

         Status: Assigned
       Priority: Minor

        Project: Cayenne
     Components:
                 CayenneModeler GUI

       Assignee: Andrus Adamchik
       Reporter: Mike Kienenberger

        Created: Thu, 19 Feb 2004 12:07 PM
        Updated: Thu, 19 Feb 2004 12:07 PM
    Environment: Windows

    Description:
    Using a %JAVA_HOME% with a space in the path (ie, "program files") breaks modeler.bat.

    Quoting the %JAVACMD% parameter, and adding a quoted window title as the first parameter of the start command will solve this problem.

    start "modeler" "%JAVACMD%" -cp "%CLASSPATH%;%DEFAULT_CLASSPATH%"
    %MAIN_CLASS% %*

    ---------------------------------------------------------------------
    JIRA INFORMATION:
    This message is automatically generated by JIRA.

    If you think it was sent incorrectly contact one of the administrators:
       http://objectstyle.org/jira/secure/Administrators.jspa

    If you want more information on JIRA, or have a bug to report see:
       http://www.atlassian.com/software/jira



    This archive was generated by hypermail 2.0.0 : Thu Feb 19 2004 - 12:08:17 EST