1 Dec 2004 13:10
Re: AW: Ant <script> tag query
Alex Feseto <alex <at> smoothwall.net>
2004-12-01 12:10:55 GMT
2004-12-01 12:10:55 GMT
Oh man, schoolboy error! Couldn't see the wood for the trees even when I stripped it down to that simple example! Thanks people, amazingly quick responses(Continue reading)Jan.Materne <at> rzf.fin-nrw.de wrote: > A valid close() would also do a flush(). > Problem was that he didnt close the stream (and therefore didnt flushed). > > Jan > > >>-----Ursprüngliche Nachricht----- >>Von: Ivan Ivanov [mailto:rambiusparkisanius <at> yahoo.com] >>Gesendet am: Mittwoch, 1. Dezember 2004 13:06 >>An: Ant Users List >>Betreff: Re: Ant <script> tag query >> >>Alex, flush the outfile, the follwing should works: >><project name="MyProject" basedir="." default="main"> >> <target name="main"> >> <script language="javascript"> <![CDATA[ >> >> importPackage(java.io); >> var outfile = new PrintWriter(new >>FileWriter("test.txt")); >> >> outfile.println("Testing1");
Jan.Materne <at> rzf.fin-nrw.de wrote:
> A valid close() would also do a flush().
> Problem was that he didnt close the stream (and therefore didnt flushed).
>
> Jan
>
>
>>-----Ursprüngliche Nachricht-----
>>Von: Ivan Ivanov [mailto:rambiusparkisanius <at> yahoo.com]
>>Gesendet am: Mittwoch, 1. Dezember 2004 13:06
>>An: Ant Users List
>>Betreff: Re: Ant <script> tag query
>>
>>Alex, flush the outfile, the follwing should works:
>><project name="MyProject" basedir="." default="main">
>> <target name="main">
>> <script language="javascript"> <![CDATA[
>>
>> importPackage(java.io);
>> var outfile = new PrintWriter(new
>>FileWriter("test.txt"));
>>
>> outfile.println("Testing1");
RSS Feed