Oops!  Ok, I'll read the subject line next time.  Well, we've
established that your ant environment is broken.  Sorry I can't be much
help from here.

Peter

Gregor N. Purdy wrote:

 > It was hung, so the time is the time I let it stay hung until
 > Ctrl+C.
 >
 >
 > On 22 Jul 2001 09:39:54 +1000, Peter B. West wrote:
 >
 >>Gregor,
 >>
 >>I don't know ant all that well, but here is what happens when I do it:
 >>
 >>/tmp  9:35$ ant
 >>Buildfile: build.xml
 >>
 >>testCRLF:
 >>
 >>BUILD SUCCESSFUL
 >>
 >>Total time: 1 second
 >>/tmp  9:35$
 >>
 >>I don't know whether there are properties you can have set which
 >>suppress the normal output of ant, but I suspect you should be seeing
 >>the same sort of output.
 >>
 >>Is that "real" time real?
 >>
 >>Change the value of "cr" from "remove" to "add" and see if the file is
 >>modified.
 >>
 >>Peter
 >>
 >>Gregor N. Purdy wrote:
 >>
 >>
 >>>On 20 Jul 2001 12:56:29 +1000, Peter B. West wrote:
 >>>
 >>>
 >>>>If you haven't written one already, you might try the attached
 >>>>build.xml.  Drop it in /tmp, copy some text file over as
 >>>>/tmp/YourTextFile (or edit the "includes" value in build.xml, and run
 >>>>ant.  The text file will be modified in place.
 >>>>
 >>>>
 >>>>---------------------------------------------------------------------
 >>>>To unsubscribe, e-mail: [EMAIL PROTECTED]
 >>>>
 >>>>
 >>>--
 >>>
 >>>I've attached a typescript file of an attempt.
 >>>------------------------------------------------------------------------
 >>>
 >>>Script started on Fri Jul 20 09:21:06 2001
 >>>[gregor@sarek ant-test]$ cat build.xml
 >>><?xml version="1.0"?>
 >>>
 >>><project default="testCRLF" basedir=".">
 >>>  <taskdef name="fixcrlf"
 >>>           classname="org.apache.tools.ant.taskdefs.FixCRLF"/>
 >>>  <target name="testCRLF">
 >>>    <fixcrlf srcdir="."
 >>> 
           includes="YourTextFile"
 >>> 
           tab="remove"
 >>>         cr="remove"
 >>> 
           eof="remove"
 >>> 
           />
 >>>  </target>
 >>>
 >>></project>
 >>>
 >>>[gregor@sarek ant-test]$ cat YourTextFile
 >>><?xml version="1.0"?>
 >>>
 >>><project default="testCRLF" basedir=".">
 >>>  <taskdef name="fixcrlf"
 >>>           classname="org.apache.tools.ant.taskdefs.FixCRLF"/>
 >>>  <target name="testCRLF">
 >>>    <fixcrlf srcdir="."
 >>> 
           includes="YourTextFile"
 >>> 
           tab="remove"
 >>>         cr="remove"
 >>> 
           eof="remove"
 >>> 
           />
 >>>  </target>
 >>>
 >>></project>
 >>>
 >>>[gregor@sarek ant-test]$ time ant
 >>>
 >>>
 >>>real        37m19.108s
 >>>user        0m0.270s
 >>>sys 0m0.120s
 >>>[gregor@sarek ant-test]$ ls
 >>>build.xml  typescript  YourTextFile
 >>>[gregor@sarek ant-test]$ exit
 >>>exit
 >>>
 >>>Script done on Fri Jul 20 09:58:45 2001
 >>>
 >>>typescript
 >>>
 >>>Content-Type:
 >>>
 >>>text/plain
 >>>Content-Encoding:
 >>>
 >>>7bit
 >>>
 >>>
 >>>
 >>
 >>--
 >>Peter B. West  [EMAIL PROTECTED]  http://powerup.com.au/~pbwest
 >>"Lord, to whom shall we go?"
 >>
 >>
 >>
 > --
 >
 >
 > Regards,
 >
 > -- Gregor
 >  _____________________________________________________________________
 > /                                                                     \
 >    Gregor N. Purdy                          [EMAIL PROTECTED]
 >    Focus Research, Inc.                http://www.focusresearch.com/
 >    8080 Beckett Center Drive #203                   513-860-3570 vox
 >    West Chester, OH 45069                           513-860-3579 fax
 > \_____________________________________________________________________/
 >
 >
 >
 >


-- 
Peter B. West  [EMAIL PROTECTED]  http://powerup.com.au/~pbwest
"Lord, to whom shall we go?"


-- 
Peter B. West  [EMAIL PROTECTED]  http://powerup.com.au/~pbwest
"Lord, to whom shall we go?"


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to