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/06/10 18:56:59 UTC

[jira] Created: (MAVEN-1317) install_repo.bat doesn't work as documented

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MAVEN-1317

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-1317
    Summary: install_repo.bat doesn't work as documented
       Type: Bug

     Status: Unassigned
   Priority: Minor

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             documentation
             installer
   Versions:
             1.0-rc3

   Assignee: 
   Reporter: Charles Crouch

    Created: Thu, 10 Jun 2004 12:55 PM
    Updated: Thu, 10 Jun 2004 12:55 PM
Environment: Windows XP SP1

Description:
According to http://maven.apache.org/start/install.html you should be able to issue the following command after unzipping maven and setting the appropriate environment variables.

%MAVEN_HOME%\bin\install_repo.bat %HOMEDRIVE%%HOMEPATH%\.maven\repository

[I'm using %HOMEDRIVE%%HOMEPATH%, as per the instructions, because %HOME% is not defined]

Unfortunately when I issue the command a new folder called C:\documents\ is created and all of the folders and jars created by install_repo get put in there, rather than C:\documents and settings\MYUSERNAME\.maven\repository\.
This seems very much like a problem with spaces in the %HOMEPATH%. 

This is only a minor problem because the workaround is obviously to go to C:\documents and settings\MYUSERNAME\.maven\repository\ and then run:
install_repo.bat .

There seems to be two possibilities:
1) Fix the documentation to describe how to call install_repo.bat so that it works when there is a space in the %HOMEPATH%.
2) Fix install_repo.bat so it works as documented when there is a space in the %HOMEPATH%.

Thanks
Charles



---------------------------------------------------------------------
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


[jira] Closed: (MAVEN-1317) install_repo.bat doesn't work as documented

Posted by ji...@codehaus.org.
Message:

   The following issue has been closed.

   Resolver: Brett Porter
       Date: Fri, 11 Jun 2004 9:04 PM

fixed. Please test on Win98 if anyone has it...
---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MAVEN-1317

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-1317
    Summary: install_repo.bat doesn't work as documented
       Type: Bug

     Status: Closed
   Priority: Minor
 Resolution: FIXED

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             documentation
             installer
   Fix Fors:
             1.0
   Versions:
             1.0-rc3

   Assignee: Brett Porter
   Reporter: Charles Crouch

    Created: Thu, 10 Jun 2004 12:55 PM
    Updated: Fri, 11 Jun 2004 9:04 PM
Environment: Windows XP SP1

Description:
According to http://maven.apache.org/start/install.html you should be able to issue the following command after unzipping maven and setting the appropriate environment variables.

%MAVEN_HOME%\bin\install_repo.bat %HOMEDRIVE%%HOMEPATH%\.maven\repository

[I'm using %HOMEDRIVE%%HOMEPATH%, as per the instructions, because %HOME% is not defined]

Unfortunately when I issue the command a new folder called C:\documents\ is created and all of the folders and jars created by install_repo get put in there, rather than C:\documents and settings\MYUSERNAME\.maven\repository\.
This seems very much like a problem with spaces in the %HOMEPATH%. 

This is only a minor problem because the workaround is obviously to go to C:\documents and settings\MYUSERNAME\.maven\repository\ and then run:
install_repo.bat .

There seems to be two possibilities:
1) Fix the documentation to describe how to call install_repo.bat so that it works when there is a space in the %HOMEPATH%.
2) Fix install_repo.bat so it works as documented when there is a space in the %HOMEPATH%.

Thanks
Charles



---------------------------------------------------------------------
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