The following comment has been added to this issue:

     Author: Dale King
    Created: Wed, 22 Oct 2003 10:51 AM
       Body:
My Windows 98SE also does not like the the fact that the line endings are just 
linefeeds. I see there are several attempts to correct this in the revision history, 
but it is still LF only on the tip. I believe the issue is that to force the line 
endings to be CR-LF it must be declared as binary in CVS. I see that it was changed 
from binary to ASCII 7 months ago (twice in fact).

I propose that some sort of test be added to the maven build process that checks that 
maven.bat has the correct line endings and the build fails if it does not.

If it is desired to keep it as text in CVS, then some step in the build process needs 
to convert it to CR-LF.


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

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-942


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-942
    Summary: running maven on windows 98
       Type: Bug

     Status: Unassigned
   Priority: Minor

 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
   Fix Fors:
             1.0-rc2
   Versions:
             1.0-rc1

   Assignee: 
   Reporter: anita kulshreshtha

    Created: Thu, 16 Oct 2003 9:14 PM
    Updated: Tue, 21 Oct 2003 8:32 AM
Environment: windows 98 second edition

Description:
   It appears from maven.bat file that maven intends to support
windows 98 based systems. The following changes are needed to make it
run on windows 98 second edition ----------

file maven.bat ---

L57 : %MAVEN_COMMAND_COM% /C DIR "%JAVA_HOME%" 2>&1 | %MAVEN_FIND_EXE% /I /C 
"%JAVA_HOME%" >nul
L79 : %MAVEN_COMMAND_COM% /C DIR "%MAVEN_HOME%" 2>&1 | %MAVEN_FIND_EXE% /I /C 
"%MAVEN_HOME%" >nul
    L57 and L79 give "Too many parameters -2" error on windows 98. These will have to 
be rewritten.
 
L125 : SET 
MAVEN_ENDORSED="-Djava.endorsed.dirs=%JAVA_HOME%\lib\endorsed;%MAVEN_HOME%\lib\endorsed"
   On windows 98 SET ... = "...=..." gives Syntax error. The following changes work -
1. change L125 to --
   SET MAVEN_ENDORSED="%JAVA_HOME%\lib\endorsed;%MAVEN_HOME%\lib\endorsed"
2. Replace %MAVEN_ENDORSED% by -Djava.endorsed.dirs=%MAVEN_ENDORSED% in lines
   L129, L130, L135 and L136.
3. SystemRoot is not defined. It should be mentioned along with MAVEN_HOME
   and JAVA_HOME. 


---------------------------------------------------------------------
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to