----- Original Message -----
From: "Magesh Umasankar" <[EMAIL PROTECTED]>
To: "Ant Developers List" <[EMAIL PROTECTED]>
Sent: Friday, February 01, 2002 15:02
Subject: Re: cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs
LoadFile.java


> From: <[EMAIL PROTECTED]>
>
> >   +    protected String stripLineBreaks(String source) {
> >   +        //Linebreaks. What do to on funny IBM mainframes with odd
line
> endings?
> >   +        String linebreaks="\r\n";
>
> Why are you not using System.getProperty("line.separator")
> instead?  Or do you want \r stripped no matter
> what platform the file is under?

exactly. I want to be able to pull things like a file that comes off a <get>
request into a property and then act on it. But I could add that line
separator property too;

-steve


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

Reply via email to