viewcvs or ant?

2003-07-18 Thread Euan Guttridge
ant 1.5.3.1 running a changelog task produces the html report with clickable links to my viewcvs server. some of the links work, some give me the ie dialog box asking if I want to open or save the file. examples below. is this an ant or viewcvs or browser problem? good: http://10.1.1.26/viewcvs-cg

RE: (newbie) how insert content of one file into middle of another one

2003-07-18 Thread peter reilly
On Fri, 2003-07-18 at 13:33, [EMAIL PROTECTED] wrote: > > Maybe could do the job. > http://ant.apache.org/manual/OptionalTasks/replaceregexp.html > > Something like > > > file="theFile" > match="(.*)(textafterthis)(.*)" > replace="\1\2$text\3" > /> > You do not need the .*

RE: (newbie) how insert content of one file into middle of another one

2003-07-18 Thread Ilja Preuss
[EMAIL PROTECTED] wrote: >> Unfortunately I can't use line number count to find the insertion >> position in the first file. I have a certain string in this file >> which is my marker where the insertion should occur. > > > > Maybe could do the job. > http://ant.apache.org/manual/OptionalTasks

RE: (newbie) how insert content of one file into middle of another one

2003-07-18 Thread Jan . Materne
> Subject: Re: (newbie) how insert content of one file into middle of > another one > > > --- Antoine Levy-Lambert wrote: > > Hi Monika, > > I would recommend that you download ant1.6alpha. > > In this version, there are some > can be > > used inside or > > > > Here an example in the doc of a

RE: (newbie) how insert content of one file into middle of another one

2003-07-18 Thread Jan . Materne
Sure: You can invoke other programs with and And you can write your own tasks. http://ant.apache.org/manual/develop.html#writingowntask For quick things you can use

RE: Bug with property/propertyfile ?

2003-07-18 Thread Jan . Materne
> Hi all, > > I am not really sure if this is a bug actually. > > I used to write to a file, and then read from > that file using > , > and write again, then read again, etc. > > However, after writing to the file and reading from it, > the value that is read is still the original value sometim

Re: (newbie) how insert content of one file into middle of another one

2003-07-18 Thread Monika Adamczyk
--- Martin Gainty <[EMAIL PROTECTED]> wrote: > Why not write a quick and dirty java app to accomplish the task using > java.io.RandomAccessFile ? > Martin The insertion is part of the build process. Can I invoke java program from Ant? Monika __ Do you Yahoo!? S

Re: (newbie) how insert content of one file into middle of another one

2003-07-18 Thread Monika Adamczyk
--- Antoine Levy-Lambert wrote: > Hi Monika, > I would recommend that you download ant1.6alpha. > In this version, there are some can be > used inside or > > Here an example in the doc of ant 1.6 > > > > This stores the first 15 lines, skipping the first 2 lines, of the > supplied

Bug with property/propertyfile ?

2003-07-18 Thread Daniel Joshua
Hi all, I am not really sure if this is a bug actually. I used to write to a file, and then read from that file using , and write again, then read again, etc. However, after writing to the file and reading from it, the value that is read is still the original value sometimes, and not the recent