Re: Setting Property to a path containing Space

2009-10-22 Thread Rohit P
Tel. +49 711 806098-275 > Sophienstraße 40 > D-70178 Stuttgart Fax. +49 711 806098-299 > > Geschäftsführer: Uwe Seltmann > HRB Stuttgart 17655 > USt-IdNr.: DE 811944121 > -Ursprüngliche Nachricht- > Von: Rohit P [mailto:rohitmp@gmail.com] >

Setting Property to a path containing Space

2009-10-22 Thread Rohit P
Hi, I have a requirement to execute a program that uses a path as an argument. The path argument is set using task. SpaceVar = ${SpaceVar} After execution of the above snippet i am getting the below error: E:\Scripts>ant -f

Re: Invoking remote batch file using ANT

2009-01-15 Thread Rohit P
Hi Steve, Can you point me to any examples of SSHExec and telnet? Thanks a ton. On Mon, Jan 5, 2009 at 7:45 PM, Steve Loughran wrote: > Rohit P wrote: > >> Hi, >> I have to write a build script that will invoke a batch file on remote m/c >> > > if it runs SSH

Ant accessing xls tasks

2009-01-15 Thread Rohit P
Hi, Is there any way of accessing an excel sheet [rows, columns, sheet etc. in an .xls] using Ant ? Please point me if there exists any. Thanks Rohit

Invoking remote batch file using ANT

2009-01-05 Thread Rohit P
Hi, I have to write a build script that will invoke a batch file on remote m/c [i have mapped using network drives on local m/c to one of the drives of remote machine]. This batch file uses resources on remote m/c and generates an executable file. I have to then copy that executable for local m/c.

Re: Verifying existence of files under a directory

2008-11-18 Thread Rohit P
lease check if this information is updated in ant1.7 manual? Thanks once again Regards Rohit On Tue, Nov 18, 2008 at 3:34 PM, Rebhan, Gilbert < [EMAIL PROTECTED]> wrote: > -Original Message- > From: Rohit P [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 18, 2008 10:16

Verifying existence of files under a directory

2008-11-18 Thread Rohit P
Hi, As part of my build script i need to 'concat' set of files [with similar extension] under a directory into a .csv file. ... ... ... ... ... ... But before i do the 'concat' action i need to verify if there are files under ${REPORTS_DIR}. Can you let me

Examples of ant's Task

2008-11-04 Thread Rohit P
Hi, I just now had a chance to look into ant task. I would definitely start working on it and make good use of it in my time-consuming build scripts. To know it still better wanted to have a look into few examples that use this task. I guess most of them have come over this ant task and also used

Re: Under a parent directory delete only 4 out of 6 child directories [non-empty]

2008-11-04 Thread Rohit P
Thanks Gilbert. I could use your solution and achieve the logic i was looking for. Thanks A Ton Rohit On Tue, Nov 4, 2008 at 2:00 PM, Rebhan, Gilbert < [EMAIL PROTECTED]> wrote: > > -Original Message----- > From: Rohit P [mailto:[EMAIL PROTECTED] > Sent: Tuesday, Novembe

Re: Under a parent directory delete only 4 out of 6 child directories [non-empty]

2008-11-03 Thread Rohit P
; > That will also delete any directory that is actually empty once the > files are deleted. > > You can also try instead of . > > -- > David Weintraub > [EMAIL PROTECTED] > > > > On Mon, Nov 3, 2008 at 6:45 AM, Rohit P <[EMAIL PROTECTED]> wrote: > >

Under a parent directory delete only 4 out of 6 child directories [non-empty]

2008-11-03 Thread Rohit P
Hi, I have a directory "Parent" containing 6 "child" directories with files.I have a task of deleting only 4 "child" directories with their files. I tried 2 approaches in getting this done. But couldn't accomplish. Approach 1: Result: This action delet