You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2001/02/03 09:19:54 UTC

[Bug 88] New - Batch files containing Unix style EOL fail to run BugRat Report#63

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=88

*** shadow/88	Sat Feb  3 00:19:54 2001
--- shadow/88.tmp.22673	Sat Feb  3 00:19:54 2001
***************
*** 0 ****
--- 1,29 ----
+ +============================================================================+
+ | Batch files containing Unix style EOL fail to run BugRat Report#63         |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 88                          Product: Tomcat 3                |
+ |       Status: RESOLVED                    Version: Nightly Build           |
+ |   Resolution: LATER                      Platform: PC                      |
+ |     Severity: Enhancement              OS/Version: All                     |
+ |     Priority: Low                       Component: Config                  |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: bugzilla@apache.org                                          |
+ |  Reported By: anonymous-bug@cortexity.com                                  |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ 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).
+ 
+ Regards,
+ Jean-Noel Gadreau (jngadreau@activcard.com)
+ 
+ ------- Additional Comments From cmanolache@yahoo.com  2001-02-03 00:19 -------
+ Probably we need something like that.