Re: AW: Creating a file programmaticaly

2006-04-13 Thread Rakesh Patel
thanks Matt, works great! Matt Benson wrote: You talk about keeping your file indented correctly... I wouldn't consider that necessary anyway... In any event, the attached buildfile shows how to use concat or echo, sacrificing formatting, then using a task per line. -Matt --- Rakesh Patel <[E

Re: AW: Creating a file programmaticaly

2006-04-13 Thread Matt Benson
You talk about keeping your file indented correctly... I wouldn't consider that necessary anyway... In any event, the attached buildfile shows how to use concat or echo, sacrificing formatting, then using a task per line. -Matt --- Rakesh Patel <[EMAIL PROTECTED]> wrote: > Hi Matt, > > can you

Re: AW: Creating a file programmaticaly

2006-04-13 Thread Rakesh Patel
Hi Matt, can you give me an example of using ? I am already using fixlastline=true with no result. Thanks Rakesh Matt Benson wrote: --- Rakesh Patel <[EMAIL PROTECTED]> wrote: Hi, almost there with the concat task but am having problems with keeping my build.xml file formatted corre

Re: AW: Creating a file programmaticaly

2006-04-13 Thread Matt Benson
--- Rakesh Patel <[EMAIL PROTECTED]> wrote: > Hi, > > almost there with the concat task but am having > problems with keeping my > build.xml file formatted correctly and giving the > text to pass in ie if > each line is indented, the indents go into the file. > > I tried individual staements b

Re: AW: Creating a file programmaticaly

2006-04-13 Thread Rakesh Patel
Hi, almost there with the concat task but am having problems with keeping my build.xml file formatted correctly and giving the text to pass in ie if each line is indented, the indents go into the file. I tried individual staements but i can't seem to generate a new line. Here's what i have s

AW: Creating a file programmaticaly

2006-04-13 Thread Jan.Materne
user scott tiger put *.war quit or with use of properties user ${db.user} ${db.pwd} put *.war quit Jan >that seems to only produce name value pairs. Unfortunately, >the file i want to create looks more like this: > >user >scott >tiger >put *.war >quit ---

Re: Creating a file programmaticaly

2006-04-13 Thread Rakesh Patel
that seems to only produce name value pairs. Unfortunately, the file i want to create looks more like this: user scott tiger put *.war quit Cheers Rakesh Steve Loughran wrote: Rakesh Patel wrote: Hi, looking at the core ant tasks, i couldn't see any obvious way to create a text file on

Re: Creating a file programmaticaly

2006-04-13 Thread Steve Loughran
Rakesh Patel wrote: Hi, looking at the core ant tasks, i couldn't see any obvious way to create a text file on the fly and put text in it. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMA

Creating a file programmaticaly

2006-04-13 Thread Rakesh Patel
Hi, looking at the core ant tasks, i couldn't see any obvious way to create a text file on the fly and put text in it. Any ideas? Cheers Rakesh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [E