Re: Emma errors in Hudson

2010-03-25 Thread qq_nn
The issue was resolved. I cleaned the view and try again. it works fine. Thank you all. qq_nn wrote: > > Hi, > > I am running Emma in Hudson to get the code coverage. but unfortunately I > got following errors: > emma-instr: > >[delete] Deleting directory c:\jobs\workspace\MYJOB\RPT\emma

Re: Emma errors in Hudson

2010-03-25 Thread qq_nn
The warnning message about emma.lib is coming out each time when I am ok to use it in the past. but I don't know why it is failed now even I did not change anything. the emma.lib is set to ANT_HOME\lib which I am using. qq_nn wrote: > > Hi, > > I am running Emma in Hudson to get the code cove

AW: AW: http request handling

2010-03-25 Thread Jan.Materne
> you can use to block for data; getting the values > in depends > on the format. Me, I have servlets that push out .properties files > > > http://localhost/myapp/index.html"/> > Ok, so you are not reading the http request 'directly' ... - start the http server: - wait for him unti

AW: Replace filter + strip quotes

2010-03-25 Thread Jan.Materne
If you dont need the quotes, just delete them. Otherwise the easiest way is using a second property withouth the quotes and use that: # Quotes are invalid in the generated files, so provide a value without them my.property.value=XYZ Software Company # Original value refering to the other for DRY

AW: Emma errors in Hudson

2010-03-25 Thread Jan.Materne
The error message points to a reference "emma.lib". Have a look where this is in your buildfile - where to you use it - where to you set it Jan > -Ursprüngliche Nachricht- > Von: qq_nn [mailto:smile_...@163.com] > Gesendet: Freitag, 26. März 2010 03:41 > An: user@ant.apache.org > Betre

Emma errors in Hudson

2010-03-25 Thread qq_nn
Hi, I am running Emma in Hudson to get the code coverage. but unfortunately I got following errors: emma-instr: [delete] Deleting directory c:\jobs\workspace\MYJOB\RPT\emma [delete] Deleting directory c:\jobs\workspace\MYJOB\RPT\junit [mkdir] Created dir: c:\jobs\workspace\MYJOB\RPT\

Replace filter + strip quotes

2010-03-25 Thread Daniel Becroft
Hi, I am trying to use and to generate a html page from a template, based on certain properties for the build (version number, etc). However, one of the properties I am trying to replace contains quotes, as it has spaces in it. e.g. build.properties my.property="XYZ Software Company" When this

Re: Rename a dir

2010-03-25 Thread Antoine Levy Lambert
try using the todir attribute instead of tofile. I am not sure what the end result will be but this might be faster. Regards, Antoine Knuplesch, Juergen wrote: Hello, I want to rename a dir and used the following: But this moved all the files inside dirbase2 to dirbase2.new:

Re: Perforce Tasks P4Integrate fails for "nocopytargetfiles"

2010-03-25 Thread Antoine Levy Lambert
Hi, can you check the line 304 of p4integrate.java it reads P4CmdOpts = P4CmdOpts + "-v"; I guess it should be P4CmdOpts = P4CmdOpts + " -v"; with a space before the " -v". If you are able to rebuild ant from source, could you try this and see whether this addresses yo

Rename a dir

2010-03-25 Thread Knuplesch, Juergen
Hello, I want to rename a dir and used the following: But this moved all the files inside dirbase2 to dirbase2.new: [echo] finally message [move] Moving 14406 files to ... I just want to rename the dirname! I use ANT with Windows XP and this is a network path. Is a way

Re: AW: http request handling

2010-03-25 Thread Steve Loughran
On 25/03/2010 05:27, jan.mate...@rzf.fin-nrw.de wrote: Ant is a buildtool. Letting the build waiting for incoming HTTP requests will slow down the build and I dont see any reason why. So could you please elaborate about your use case? - who will create the http request - what kind of request is

Re: Perforce Tasks P4Integrate fails for "nocopytargetfiles"

2010-03-25 Thread jhoomsharabi
Thanks for quick reply, but when I use nocopynewtargetfiles="true" I am getting the following error: error: Usage: integrate [ -c changelist# -d -D -f -h -i -o -n -r -s from -t ] [ -b branch to... | from to ] error: Invalid option: --v. Any idea what going wrong with my target. -Or

Re: Perforce Tasks P4Integrate fails for "nocopytargetfiles"

2010-03-25 Thread Antoine Levy Lambert
Hi, it looks like the real attribute name to use is "nocopynewtargetfiles" and not "nocopytargetfiles". This is a bug in the documentation of the p4integrate task. Regards, Antoine jhoomshar...@netscape.net wrote: Hi All, I am trying to use “P4Integrate” task in ant from Perforce task, so I

Perforce Tasks P4Integrate fails for "nocopytargetfiles"

2010-03-25 Thread jhoomsharabi
Hi All, I am trying to use “P4Integrate” task in ant from Perforce task, so I am using “nocopytargetfiles” attribute in this task like this: But when I execute this “inte-new” target I am getting following error: p4integrate doesn't support the "nocopytargetfiles" att