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

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 for

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

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 fi

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

Re: Help with ftp

2006-04-12 Thread Rakesh Patel
Hi guys, you are not going to believe this! At the moment my war file is 5mb that i wish to ftp to the server. Using the recommended library (Common-net) the upload took almost a minute. This is quite poor. My colleague then told me he can transfer the file using Absolute FTP (a free windows

Help with ftp

2006-04-12 Thread Rakesh Patel
Hi, i am writing a ftp task using the common-net library as recommended. It does work but i am surpised at its performance. I am uploading a 5mb file and it takes almost a minute. When i use a dedicated Windows ftp client (AbsoluteFTP) the transfer takes a quarter of the time. Is there som

Re: Writing files

2005-11-29 Thread Rakesh Patel
I saw this the other day and was impressed. The task was creating a log4j.properties file and putting in the correct properties. Is there anything similar for xml files?(I prefer to use log4j.xml). Thanks RP Jon Skeet wrote: Does any body know how to create a property file and write some pr

RE: Specifying build properties

2005-10-24 Thread Rakesh Patel
ying build properties Rakesh Patel wrote: > Hi, > > Is there a way to specify which build file to use within a target? > > I use my local machine for building the war for the development > environment and the production one. The properties are picked up from > build.prope

Specifying build properties

2005-10-24 Thread Rakesh Patel
Hi, Is there a way to specify which build file to use within a target? I use my local machine for building the war for the development environment and the production one. The properties are picked up from build.properties but I have to change this file each time depending on where I am going to d

RE: Help with choosing build property file

2005-10-07 Thread Rakesh Patel
Help with choosing build property file > -Original Message- > From: Rakesh Patel [mailto:[EMAIL PROTECTED] > Sent: Friday, October 07, 2005 8:43 AM > To: Ant Users List > Subject: RE: Help with choosing build property file > > > Hi James, > > Both your lin

RE: Help with choosing build property file

2005-10-07 Thread Rakesh Patel
Windows 2K -Original Message- From: Shatzer, Larry [mailto:[EMAIL PROTECTED] Sent: 07 October 2005 16:51 To: 'Ant Users List' Subject: RE: Help with choosing build property file > -Original Message- > From: Rakesh Patel [mailto:[EMAIL PROTECTED] > Sent: Frida

RE: Help with choosing build property file

2005-10-07 Thread Rakesh Patel
t; Phone: 719-265-5962 > Cell: 719-640-6488 > > -Original Message- > From: Rakesh Patel [mailto:[EMAIL PROTECTED] > Sent: Friday, October 07, 2005 9:16 AM > To: Ant Users List > Subject: RE: Help with choosing build property file > > Hi Jan, > > That looks promisi

RE: Help with choosing build property file

2005-10-07 Thread Rakesh Patel
variable: Jan >-Ursprüngliche Nachricht- >Von: Rakesh Patel [mailto:[EMAIL PROTECTED] >Gesendet: Freitag, 7. Oktober 2005 16:40 >An: user@ant.apache.org >Betreff: Help with choosing build property file > >Hi, > >I would like to enhance my current Ant setup a

Help with choosing build property file

2005-10-07 Thread Rakesh Patel
Hi, I would like to enhance my current Ant setup and was looking for advice. At the moment, Ant picks up the build.properties file in the root directory and uses that: However, what I would like to do is this: 1. Ant gets the machine name/IP address of the machine it is running on. 2. Based o