ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg McDermott <gr...@bea.com>
Subject Re: error when using ant 1.4
Date Fri, 14 Sep 2001 21:20:00 GMT
Hi all,

So problem was that the INBUFLEN declared in FixCRLF.java was 8192.
The html files I was fixcrlf'ing are generated by javadoc, I'm not sure but 
maybe some of the lines
are greater than 8192, I'm checking to see, but I increased INBUFLEN to 
16384 to fix the problem.
Anyone see a problem with increasing INBUFLEN?

thanks
Greg

At 12:08 PM 9/14/2001, Greg McDermott wrote:
>Hi all,
>
>This next line worked fine with ant 1.3:
>
>  <fixcrlf srcdir="${UNIX_STAGEDIR}" cr="remove" 
> eof="remove"  includes="**/*.html" />
>
>I changed it to use the new attrs for ant 1.4:
>
><fixcrlf srcdir="${UNIX_STAGEDIR}" eol="lf" includes="**/*.html" />
>
>and encountered this error when using ant version 1.4:
>
>BUILD FAILED
>
>C:\weblogic\dev\src\release\build.xml:691: java.io.IOException: Mark invalid
>         at 
> org.apache.tools.ant.taskdefs.FixCRLF$OneLiner.nextLine(FixCRLF.java:909)
>         at 
> org.apache.tools.ant.taskdefs.FixCRLF$OneLiner.nextElement(FixCRLF.java:938)
>         at 
> org.apache.tools.ant.taskdefs.FixCRLF.processFile(FixCRLF.java:431)
>         at org.apache.tools.ant.taskdefs.FixCRLF.execute(FixCRLF.java:347)
>         at org.apache.tools.ant.Task.perform(Task.java:217)
>         at org.apache.tools.ant.Target.execute(Target.java:164)
>         at org.apache.tools.ant.Target.performTasks(Target.java:182)
>         at org.apache.tools.ant.Project.executeTarget(Project.java:601)
>         at org.apache.tools.ant.Project.executeTargets(Project.java:560)
>         at org.apache.tools.ant.Main.runBuild(Main.java:454)
>         at org.apache.tools.ant.Main.start(Main.java:153)
>         at org.apache.tools.ant.Main.main(Main.java:176)
>--- Nested Exception ---
>java.io.IOException: Mark invalid
>         at java.io.BufferedReader.reset(BufferedReader.java:485)
>         at 
> org.apache.tools.ant.taskdefs.FixCRLF$OneLiner.nextLine(FixCRLF.java:857)
>         at 
> org.apache.tools.ant.taskdefs.FixCRLF$OneLiner.nextElement(FixCRLF.java:938)
>         at 
> org.apache.tools.ant.taskdefs.FixCRLF.processFile(FixCRLF.java:431)
>         at org.apache.tools.ant.taskdefs.FixCRLF.execute(FixCRLF.java:347)
>         at org.apache.tools.ant.Task.perform(Task.java:217)
>         at org.apache.tools.ant.Target.execute(Target.java:164)
>         at org.apache.tools.ant.Target.performTasks(Target.java:182)
>         at org.apache.tools.ant.Project.executeTarget(Project.java:601)
>         at org.apache.tools.ant.Project.executeTargets(Project.java:560)
>         at org.apache.tools.ant.Main.runBuild(Main.java:454)
>         at org.apache.tools.ant.Main.start(Main.java:153)
>         at org.apache.tools.ant.Main.main(Main.java:176)
>
>I also tried the depreciated syntax with ant 1.4 but encountered the same 
>error above.
>
>Any ideas?
>
>thanks
>Greg
>


Mime
View raw message