Re: Error message while using ant-contrib.jar - "taskdef A class needed by class net.sf.antcontrib.platform.ShellScriptTask cannot be found: ExecTask"

2010-03-23 Thread Ritu Ritu
Thanks to everyone who extended help on this issue! May be ant-contrib-1.0b2-src has bugs in it. I downloaded ant-contrib-0.6.src and on using this version all the issues went away (thanks Ferosh!). Best, Ritu - Original Message - From: "Ritu Ritu" To: "Ant Users List" Sent: Tuesday,

RE: Detect command line properties

2010-03-23 Thread Shawn Castrianni
I finally have time to try this out. One issue that I have found is that the ant-contrib Variable task uses the "user" property set to perform its magic of providing mutable ant properties. The problem with this is that the builtin="commandline" propertyset just returns the "user" properties.

Re: Error message while using ant-contrib.jar - "taskdef A class needed by class net.sf.antcontrib.platform.ShellScriptTask cannot be found: ExecTask"

2010-03-23 Thread Ritu Ritu
Thanks a lot Srikanth! No luck even after specifying the taskdef in this manner as well...sighs! Regards, Ritu - Original Message - From: "Srikanth Chakravarthy" To: "Ant Users List" Sent: Tuesday, March 23, 2010 4:14:11 AM Subject: RE: Error message while using ant-contrib.jar - "tas

Re: Clover - Ant integration

2010-03-23 Thread David Weintraub
There are Ant tasks for Clover. I've never used the tool, so I can't say too much. However, if it is like a lot of the coverage tools, it's pretty simple. 1). Instal Clover, so Ant has access to it and configure a task in your build.xml to run Clover. 2). When you run the Clover task, it'll produ

Clover - Ant integration

2010-03-23 Thread Irfan Sayed
Hi All, I am using Ant build tool to build the java project. Now i need to use the clover ( code coverage tool ) tool. can somebody please let me know the step by step procedure to configure the same. I am using hudson as web based continuous integration tool. once clover is configured , i have

RE: Error message while using ant-contrib.jar - "taskdef A class needed by class net.sf.antcontrib.platform.ShellScriptTask cannot be found: ExecTask"

2010-03-23 Thread Chakravarthy, Srikanth
Hi Ritu, This is how I have defined the taskdef for "for". The ant-contrib.jar is in the ANT_HOME\lib folder. I run it through my IDE and this is all the settings required for it. This is on Windows. You might have to replace the same with "ExecTask" as in Regards, Srikanth -Or

Re: Error message while using ant-contrib.jar - "taskdef A class needed by class net.sf.antcontrib.platform.ShellScriptTask cannot be found: ExecTask"

2010-03-23 Thread Ritu Ritu
Hi Christoph, Thanks a lot for the reply! Yes, I have tried specifying the complete path as well. I copied and pasted the that you mailed but that too didn't work for me. I get the same error message as before. Any more pointers on this one? Thanks again, Ritu ***code

Re: Error message while using ant-contrib.jar - "taskdef A class needed by class net.sf.antcontrib.platform.ShellScriptTask cannot be found: ExecTask"

2010-03-23 Thread christoph . grothaus
> P.S. I have already tried the following: > > 1) copying ant-contrib.jar in the \apache-ant-1.8.0\lib folder > > 2) removing the namespace xmlns:ac="antlib:net.sf.antcontrib" and > specifying "for" instead of "ac:for" > > 3) specifying the complete path for "resource" in the "typedef" tag. >