tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BugRat Mail System <>
Subject BugRat Report #63 - Batch files containing Unix style EOL fail to run
Date Wed, 03 Jan 2001 20:19:39 GMT
----- Sender's Comment -----
Do we still have this problem in 4.0?
----- End Of Sender's Comment ---------------------------
Report URL: <>

Report #63 Details

Project: Tomcat
Category: Bug Report
SubCategory: New Bug Report
Class: swbug
State: received
Priority: high
Severity: critical
Confidence: public
   Release: 3.2beta3
   JVM Release: jdk1.2.2
   Operating System: Win98SE
   OS Release: Win98SE
   Platform: PC

Batch files containing Unix style EOL fail to run

I was trying to use tomcat on my win98SE box and I got the following problem:

When I try to run the startup.bat scripts (or even tomcat.bat), it returns an error (I think
the message is Bad command name or something like this).

When you open the .bat file under notepad, you can see that the end of line is in Unix-style
(I think it is \n instead of \r\n). I changed all the end-of-line manually (in several .bat
files) and that fixed the problem.

This is a painful thing to do and I think it should be pretty easy to add a task in the build.xml
to do this conversion (I did not have the time to submit this patch).

Jean-Noel Gadreau (

View raw message