Re: AW: Compile only if files have changed

2009-07-26 Thread ArvindSaraswat
can you be more specific about the below part of the code? What is ? Jan.Materne wrote: > >>I have two directories: >>a) latest-code: contains the latest code from VSS >>b) backup-code: before I get latest from VSS, I will backup >>the entore code >>here. >> >>The ANT scri

AW: Compile only if files have changed

2009-07-26 Thread Jan.Materne
>I have two directories: >a) latest-code: contains the latest code from VSS >b) backup-code: before I get latest from VSS, I will backup >the entore code >here. > >The ANT script is like below: >1. delete old backup-code >2. create backup from latest-code to backup-code >3. get latest from

RE: tap2junit query

2009-07-26 Thread Martin Gainty
somewhere in the build.xml your junit definition should contain the testcase name in your case you have fu!^@&bar as a name which doesnt appear to be valid character data i would correct this in your generated .xml or possibly change the actual filenames used in in

tap2junit query

2009-07-26 Thread Tennis Smith
Hi Graham, I'm using your excellent tap2junit tool to try and convert some test output. I'm using ant (version 1.7.1) and running 'junitreport' on the converted output. I'm hoping you can understand why junitreport says this: [junitreport] the file /opt/cruisecontrol/projects/itinerator/results/

Re: help to find not replaced variables

2009-07-26 Thread David Weintraub
Ecilpse comes with an OLDER version of Ant (Ant 1.6 or maybe Ant 1.5?). The build file I sent you only works with Ant 1.7 (which has been out for two years now). What you can do is go into Eclipse and change the location of your Ant directory. Right now, it's taking it from the Ant installation in

Re: help to find not replaced variables

2009-07-26 Thread Júlio Cesar Bueno Cotta
I got one thing here. I was testing the last David script on windows into a eclipse 3.3 and so I got that error..but in my linux desktop that worked well. I guess the ant version into eclipse is old. I will keep studying Ant. Thanks a lot. 2009/7/24 Júlio Cesar Bueno Cotta > Thanks again! :D > T

Re: Help On delimiter attribute in for task...

2009-07-26 Thread Scot P. Floess
And yes - I see what you mean about the two characters... I was wrong about that one :) So, curious... I see you perform loadfile first, then fixcrlf... Is that the correct order, or fixcrlf then loadfile? On Sun, 26 Jul 2009, Raagu wrote: No.. If we write "\r\n" , then it will take b

Re: Help On delimiter attribute in for task...

2009-07-26 Thread Scot P. Floess
Again, I haven't tested this but based on the online docs for the "for" and "foreach" I read this: "The delimiter characters that separates the values in the "list" attribute. Each character in the supplied string can act as a delimiter. This follows the semantics of the StringTokenizer clas

Re: Help On delimiter attribute in for task...

2009-07-26 Thread Raagu
No.. If we write "\r\n" , then it will take both 'r' and 'n' as delimiters .. So it cant distinguish end of line.. In @{letter} I am getting whole file content.. Btw In project properties file , the output of "dir /b" will be there That is all d directories in that directory will be there..

Re: Help On delimiter attribute in for task...

2009-07-26 Thread Scot P. Floess
Not that I've tested this... But what about a \n as the delimiter? Or maybe \r\n ??? On Sun, 26 Jul 2009, Raagu wrote: Hello I have an ant script which reads from file "project.properties" The code snippet is below @{letter} I want to read line by line. I am not getting what sh

Help On delimiter attribute in for task...

2009-07-26 Thread Raagu
Hello I have an ant script which reads from file "project.properties" The code snippet is below @{letter} I want to read line by line. I am not getting what should I give in the delititer attribute of for task.. pls tel me the delimiter attribute value so that for each loop @{letter}