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/04/06 13:45:24 UTC
[jira] Commented: (MAVEN-956) Install_repo.bat does not work on Win98
The following comment has been added to this issue:
Author: Pierrick Brihaye
Created: Tue, 6 Apr 2004 7:45 AM
Body:
Hi,
Juste downloaded 1.0-rc2 and tried to see what's wrong in Windows 98 support.
A few hints :
There is a workaround to check if a directory exists : just check the existence of a "NUL" file in it, i.e. :
if not exist %REPO_DIR%\dom4j\NUL mkdir %REPO_DIR%\dom4j
Creating intermediate directories is impossible. Use :
if not exist %REPO_DIR%\dom4j\NUL mkdir %REPO_DIR%\dom4j
if not exist %REPO_DIR%\dom4j\jars\NUL mkdir %REPO_DIR%\dom4j\jars
instead of just :
if not exist %REPO_DIR%\dom4j\jars mkdir %REPO_DIR%\dom4j\jars
It looks like some files are missing :
Tentative de tÚlÚchargement de commons-jelly-tags-velocity-20030303.205659.jar.
Tentative de tÚlÚchargement de velocity-1.3.jar.
Unfortunately, I am behing a proxy. So I get the following (normal) messages :
Error retrieving artifact from [http://www.ibiblio.org/maven//commons-jelly/jars
/commons-jelly-tags-velocity-20030303.205659.jar]: java.net.ConnectException: Connection timed out: connect
Error retrieving artifact from [http://www.geotools.org/gt2modules/extbin/common
s-jelly/jars/commons-jelly-tags-velocity-20030303.205659.jar]: java.net.ConnectException: Connection timed out: connect
Normally, adding to MAVEN_OPTS the following entries : proxyHost=xxxx proxyPort=yyyy would do the trick. Unfortunately the syntax :
SET A_VARIABLE=aKey=aValue
...is invalid on windows 98. However, I have a workaround for this if you like :-)
Hope this helps : Maven should definitely work on Windows 98.
p.b.
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-956&page=comments#action_18232
---------------------------------------------------------------------
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, 6 Apr 2004 7:45 AM
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