You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/03/03 16:23:24 UTC

[jira] Updated: (MAVEN-1185) The Maven CLI breaks with JDK 1.5 and Cygwyn

The following issue has been updated:

    Updater: Berin Loritsch (mailto:bloritsch@apache.org)
       Date: Wed, 3 Mar 2004 10:21 AM
    Comment:
Updated run script that works with JDK 1.5 on Cygwin
    Changes:
             Attachment changed to maven
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-1185&page=history

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-1185

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-1185
    Summary: The Maven CLI breaks with JDK 1.5 and Cygwyn
       Type: Bug

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             cli
   Versions:
             1.0-rc1

   Assignee: 
   Reporter: Berin Loritsch

    Created: Wed, 3 Mar 2004 10:21 AM
    Updated: Wed, 3 Mar 2004 10:21 AM
Environment: Windows, Cygwin, JDK 1.5

Description:
Thanks to the new JDK 1.5 installer, the default location to install both the runtime and the developer kit is within the %PROGRAM_FILES% directory.  That means a space is in the path to the "java" command no matter how you slice it.

The current "maven" script for Cygwin compatibility does not properly handle this arrangement--because it never had to until now.  The proper way to solve the issue is to add surrounding quotes to the $JAVACMD that starts up maven.  Enclosed is a script that works.



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

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

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org