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/24 01:16:53 UTC

[jira] Closed: (MAVEN-956) Install_repo.bat does not work on Win98

Message:

   The following issue has been closed.

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

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-956
    Summary: Install_repo.bat does not work on Win98
       Type: Bug

     Status: Closed
   Priority: Minor
 Resolution: FIXED

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             core
   Fix Fors:
             1.0-rc3
   Versions:
             1.0-rc1

   Assignee: Brett Porter
   Reporter: Dale King

    Created: Tue, 21 Oct 2003 11:30 AM
    Updated: Tue, 23 Mar 2004 7:15 PM
Environment: Windows 98SE

Description:
The install_repo.bat script tries to create directories in lines like the following:

if not exist %REPO_DIR%\dom4j\jars mkdir %REPO_DIR%\dom4j\jars

That is attempting to create the dom4j and jars directories in one fell swoop. But that does not work under Windoze 98 (DOS really). You can only create a single directory at a time.

Invoking mkdir /? under Windoze 2000 it looks like it is not guaranteed on NT based Windoze either. It says that it is only enabled if "command extensions" are enabled (whatever that means).

Here is the output of mkdir /?

Creates a directory.

MKDIR [drive:]path
MD [drive:]path

If Command Extensions are enabled MKDIR changes as follows:

MKDIR creates any intermediate directories in the path, if needed.
For example, assume \a does not exist then:

    mkdir \a\b\c\d

is the same as:

    mkdir \a
    chdir \a
    mkdir b
    chdir b
    mkdir c
    chdir c
    mkdir d

which is what you would have to type if extensions were disabled.


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