Re: Need help!! Ant find duplicate files

2009-11-11 Thread cvsusr
use the groovy ant task to do something like this > > http://groovy.codehaus.org/The+groovy+Ant+Task > > > Thanks > > Adam > > On Wed, 2009-11-11 at 02:13 -0800, cvsusr wrote: >> Is there any Ant experts who can provide a solutions for t

Need help!! Ant find duplicate files

2009-11-11 Thread cvsusr
Is there any Ant experts who can provide a solutions for this scenario... ?? Thanks in advance.. cvsusr wrote: > > Hi > > In my ant build, > > I need to find duplicate files under set of dirs and if found, copy it to > the temp directory. > > say in my curre

Re: Running parallel targets in Ant loop

2009-11-11 Thread cvsusr
you can use task.. Harry_ wrote: > > Hi, > > I need to run multiple target in Ant's loop. How can I achieve this. I am > able to make antcall in sequential way as described below. > > > > > > >

Re: behavior on properties... is it a bug? or by design?

2009-11-10 Thread cvsusr
Did you loop through targets using for loop?? If so, please let me know some example. Thanks. Melih Onvural wrote: > > Thanks a bunch for that! > > -- > Melih > > On Sep 25, 2009, at 8:44 PM, Dominique Devienne wrote: > >> On Fri, Sep 25, 2009 at 9:24 PM, Melih Onvural > > wrote: >>> I noti

Re: Loop through build targets

2009-11-10 Thread cvsusr
error when i do this.. cvsusr wrote: > > Hi > > I have a requirement where I need to build for each jobname provided. > > I am taking the jobnames from cvs update and storing it in a text file.. > "job.txt" > >

Re: Ant find duplicate files

2009-11-10 Thread cvsusr
its task not preset.. cvsusr wrote: > > Hi > > Can anyone help me in this.. im trying various ways but not able to > achieve a solution.. > > I used working fine when we know the target dir to compare and only when we need > to compare two dirs.. > > In m

Re: Ant find duplicate files

2009-11-10 Thread cvsusr
gt; to achieve this scenario.. i splitted m tasks and my first part is to find > the duplicate or repeated file list and store it in a temp dir and then go > on to next steps.. > > can you pls.. let me know a solution for this.. > > thanks > sri > > > > > >

dynamic build.properties

2009-11-09 Thread cvsusr
Hi I have a requirement where I need to build for each jobname provided. I am taking the jobnames from cvs update and storing it in a text file.. "job.txt" As of now i gave a variable name in build.properties as jobname=job1 when it is one jobname there wont be issue.. when there are many j

Re: How do you sort and remove duplicates lines from a file ?

2009-11-09 Thread cvsusr
oh thanks.. its working exactly to my requirement.. thanks a lot Matt Benson-2 wrote: > > Assuming yourfile.txt: > >>>>> >>>>> >>>>> >>>>> > >>>>> >>>>&g

Re: How do you sort and remove duplicates lines from a file ?

2009-11-09 Thread cvsusr
On Nov 9, 2009, at 9:41 AM, cvsusr wrote: > >> >> Is there any way to remove the duplicate line in a file?? I gone >> through this >> post, but didnt find a solution in ant. Please let me know. >> >> thanks >> >> >> Scot P. Floess wr

RE: How do you sort and remove duplicates lines from a file ?

2009-11-09 Thread cvsusr
Is there any way to remove the duplicate line in a file?? I gone through this post, but didnt find a solution in ant. Please let me know. thanks Scot P. Floess wrote: > > I hate to admit this...I have never used the concat target...I have > completely overlooked it in the past :( > > > On T

Ant task to remove the repeated string or line in a file

2009-11-09 Thread cvsusr
Hi, I wanted to delete the repeated strings or lines in a text file.. is there any task available for that. My file.txt contains one one two three three four six I need to delete the repeated one and three entries.. Thanks Sri -- View this message in context: http://old.nabble.com/Ant-tas

Re: Ant find duplicate files

2009-11-07 Thread cvsusr
t1 and t2.. this is the whole idea.. hope its clear.. to achieve this scenario.. i splitted m tasks and my first part is to find the duplicate or repeated file list and store it in a temp dir and then go on to next steps.. can you pls.. let me know a solution for this.. thanks sri cv

Re: Ant find duplicate files

2009-11-07 Thread cvsusr
s scenario.. i splitted m tasks and my first part is to find the duplicate or repeated file list and store it in a temp dir and then go on to next steps.. can you pls.. let me know a solution for this.. thanks sri cvsusr wrote: > > Hi > > In my ant build, > > I need t

Re: task not accepting relative path

2009-10-31 Thread cvsusr
path. But its not getting resolved.. Is there any way to do that? Thanks Scot P. Floess-2 wrote: > > > Why don't you use some of the built-in path functionality? > > > > > > > On Sat, 31 Oct 2009, cvsusr wrote: > >> >> Hi >>

task not accepting relative path

2009-10-31 Thread cvsusr
Hi I need to find the folder named "capital" under the basedir and prepare filelist with extension *.txt under capital folder. For this I used task and gave like following, but its not accepting the relative path. This path varies according the base folder name we set in properties.. so what

RE: Alternative for taks to check a pattern of file existence

2009-10-29 Thread cvsusr
Hi Gilbert, Thanks.. I replace the code with this.. its working fine.. Thanks for correcting me.. Regards Sri Rebhan, Gilbert wrote: > > > > -Original Message----- > From: cvsusr [mailto:sp...@rediffmail.com] > Sent: Thursday, October 29, 2009 3:34 PM > To

Re: Alternative for taks to check a pattern of file existence

2009-10-29 Thread cvsusr
fine. file list::: @{file} true Thanks a lot again for helping. Regards Sri Francis Galiegue-4 wrote: > > On Thu, Oct 29, 2009 at 13:00, cvsusr wrote: >> >> I tried this.. this is printing the *.txt file that exist in

Re: Alternative for taks to check a pattern of file existence

2009-10-29 Thread cvsusr
12:00, cvsusr wrote: >> >> Hi, >> >> I need to check for existence of files with some extension say *.txt in a >> folder and if present execute a target.. >> >> I found only task which checks for the existence of single >> file >> only when th

Re: Alternative for taks to check a pattern of file existence

2009-10-29 Thread cvsusr
Hi, Thanks for your reply.. I know to use Fileset.. but how to check with forloop.. if possible, Can you please give me an example? Im new to this concept and hence requesting your help.. Thanks Francis Galiegue-4 wrote: > > On Thu, Oct 29, 2009 at 12:00, cvsusr wrote: >> &g

Alternative for taks to check a pattern of file existence

2009-10-29 Thread cvsusr
Hi, I need to check for existence of files with some extension say *.txt in a folder and if present execute a target.. I found only task which checks for the existence of single file only when the name of the file known. I wanted to check whether *.txt is present or not.. if present execute a t