ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <anto...@gmx.de>
Subject Re: FixCRLF task: Does it work?
Date Fri, 30 Jun 2006 19:12:11 GMT
Hello Alex,

I have no clue concerning this.

If you enter your problem as a bug report on bugzilla, maybe one of us ant committers will
have a look at it.

In this case be sure to attach a source file allowing to reproduce the problem.

Regards,

Antoine
-------- Original-Nachricht --------
Datum: Thu, 29 Jun 2006 16:55:55 -0700
Von: Alex Egg <eggie5@gmail.com>
An: user@ant.apache.org
Betreff: FixCRLF task: Does it work?

> All,
> 
> Do any of you have experience using the FixCRLF class in the ant API?
> 
> I'm doing a concat using the Concat class and that works fine, but then I
> go
> to set the setEol property of Concat and it doesn't seem to be doing
> anything.
> 
>        Concat concat..........
>         concat.setDestfile(new File(theFile));
>         concat.setAppend(true);
> 
>         FixCRLF.CrLf crlf=new FixCRLF.CrLf();
>         crlf.setValue("crlf");
> 
>          concat.addText(theText); //associate it to Concat
> 
>         concat.setEol(crlf);
> 
>          concat.execute();
> 
> 
> This is doing the concat fine, but it just uses LF for line breaks!!! What
> am I doing wrong, I want to set it to CRLFs.
> 
> Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message