Since [EMAIL PROTECTED] is using vi anyway, it can be cleaned up in vi 
using the substitution command

   %s/<ctrl-v><ctrl-m>//g



At 01:50 am 29-08-2002, you wrote:
>dos2unix is not always available. You can also ftp the offending file in 
>text mode and then update the WAR file on the Unix box.
>
>--Kevin
>
>-----Original Message-----
>From: Desjardins, Nicolas [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, August 28, 2002 1:36 PM
>To: 'Struts Users Mailing List'
>Subject: RE: struts-config windows 2 unix?
>
>
>To convert a windows file into a unix format you can use the "dos2unix"
>command under unix.
>It will get rid of all the ^M caracters that you see under vi.
>
>Nicolas
>
>-----Original Message-----
>From: Kevin A. Smith [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, August 28, 2002 1:27 PM
>To: Struts Users Mailing List
>Subject: RE: struts-config windows 2 unix?
>
>
>DOS (aka Windows) and Unix use different line-termination sequences. In
>Microsoft land, lines are terminated with a CR/LF pair. In Unix land, lines
>are terminated with LF. When you view a Windows created file on Unix, the
>extra CR displays as a control character.
>
>--Kevin
>
>P.S. CR == carriage return, LF == line feed
>
>-----Original Message-----
>From: slickdev [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, August 28, 2002 12:56 PM
>To: Struts Users Mailing List
>Subject: struts-config windows 2 unix?
>
>
>Is it common to find xml validation errors, when editing struts-config.xml
>on window$, then trying to deploy the app on unix?
>With vi, I notice the extra control char's in the file.  On unix, the
>database source mapping appears to work, but my app can't find its action
>classes in the WEB-INF/classes dir.  Returns error 500: no action instance
>for <myclassname>.

-- 
John Yu                       Scioworks Technologies
e: [EMAIL PROTECTED]         w: +(65) 873 5989
w: http://www.scioworks.com   m: +(65) 9782 9610

Scioworks Camino - "Don't develop Struts Apps without it!"


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to