You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Harry Mantheakis <ha...@mantheakis.freeserve.co.uk> on 2001/05/21 22:06:55 UTC

Re: Editing server.xml with text editor

Beau

Thanks for that. I tried CodeWarrior and it worked :-)

> Don't know about OS X, but all the earlier Mac OSs use \r (0x0D) as the
> line terminator ... and do not see the Unix \n (0x0A).  Probably the file
> that appears correctly has \r\n pairs -- likely 'cause it came from a
> DOS/Windows box.
> 
> If you use BBEdit, I believe you can tell it that the file is from a Unix
> machine, and it will then understand the line terminators.

>> I am using Tomcat 4 b5 on a Mac OS X.
>> I can edit web.xml with my text editor, but not server.xml.
>> If I open server.xml in my text editor I get the following:
>> 
>> "         usersa password driverClassName org.hsql.jdbcDriver driverName
>> jdbc:HypersonicSQL:database  mail.smtp.host localhost    "
>> 
>> If I use pico in tcsh then I can see everything and I can edit the file
>> normally.
>> I have downloaded T4 twice (b3 and b5) but the problem remains.
>> Does anyone know why I cannot use my text editor to edit server.xml?