Re: junitreport error: ClassNotFoundException: redirect

2006-05-03 Thread Ivan \"Rambius\" Ivanov
Hello, Can you post the relevant parts of your build script mainly the part with task? Regards Ivan --- Dave Rathnow <[EMAIL PROTECTED]> wrote: > Hi, > > > > I've searched the archives and Googled this error > but I can't find the > solution. > > > > I'm using Ant 1.6.5, Java 1.4.1 and

AW: TimeStamp

2006-05-03 Thread Jan.Materne
AFIK there is none in Ant or AC - maybe there is an external task. But you could use scripting for that. I modified an old example for getting the filesize: date of buildfile is ${buildfile.date} Jan >-Ursprüngliche Nachricht- >Von:

TimeStamp

2006-05-03 Thread ankur1 . a
hi , can anyone tell me how can i get the timestamp of a file in a property..i am not getting the task for it. Ankur Agarwal Tata Consultancy Services Limited Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com Notice: The information contained in this e-mail message and/or attachments to

RE: How to initialize the value of a boolean property based on the output from Custom Java ANT task?

2006-05-03 Thread Jeffrey E Care
The if & unless attrs. on targets only care about property existence - the value doesn't matter. Jeffrey E. (Jeff) Care [EMAIL PROTECTED] IBM WebSphere Application Server Development WAS Pyxis L

RE: How to initialize the value of a boolean property based on the output from Custom Java ANT task?

2006-05-03 Thread Guttula, Mohan
As per Dominiques's suggestion, I have used setNewProperty("isLabelFrozen", String.valueOf(isLabelFrozen)) and I got the correct value of the property inside the checkout task, but having issues with if/unless attributes. I have tried if/unless in or in task (which is inside checkout) and got t

junitreport error: ClassNotFoundException: redirect

2006-05-03 Thread Dave Rathnow
Hi, I've searched the archives and Googled this error but I can't find the solution. I'm using Ant 1.6.5, Java 1.4.1 and Xalan 2.7.0 and have xercesImpl.jar, xml-apis.jar, and serializer.jar all in the $ANT_HOME/lib directory. When I try to run the junitreport task, I'm getting the followin

Re: Am I completely misunderstanding the fail/unless task?

2006-05-03 Thread Trent Ohannessian
Perfect. Thanks! On 5/3/06, Robert Clark <[EMAIL PROTECTED]> wrote: On Wednesday May 3, 2006 15:31, "Trent Ohannessian" <[EMAIL PROTECTED]> wrote: > > > BUILD FAILED > D:\Open Source Projects\Canoo Web Test\my_tests\webtest.xml:3: > Missing environment parameter. > > Here is en

Re: Qustion about property prefix...

2006-05-03 Thread Dominique Devienne
On 5/3/06, Trent Ohannessian <[EMAIL PROTECTED]> wrote: Thank you all for your replies. This Ant script is actually running Canoo WebTest. It's testing the small GUI portion of our application. The entire application uses several properties files, but there is just one file per subsystem and th

Re: Am I completely misunderstanding the fail/unless task?

2006-05-03 Thread Robert Clark
On Wednesday May 3, 2006 15:31, "Trent Ohannessian" <[EMAIL PROTECTED]> wrote: > > > BUILD FAILED > D:\Open Source Projects\Canoo Web Test\my_tests\webtest.xml:3: > Missing environment parameter. > > Here is env: dev > > Usage: > webtest -buildfile webtest.xm

Am I completely misunderstanding the fail/unless task?

2006-05-03 Thread Trent Ohannessian
Hey all, I'm trying to error the build if a command line parameter isn't passed in. This seems simple enough but it's not working as I anticipated and I still don't get why this isn't working after reading through several docs. Here is the command line call: webtest -Denv=dev -buildfile webtest

Re: Qustion about property prefix...

2006-05-03 Thread Trent Ohannessian
Thank you all for your replies. This Ant script is actually running Canoo WebTest. It's testing the small GUI portion of our application. The entire application uses several properties files, but there is just one file per subsystem and the server designations are made by adding a localhost.what

Re: How to initialize the value of a boolean property based on the output from Custom Java ANT task?

2006-05-03 Thread Dominique Devienne
this.getProject().setProperty(outputproperty, isLabelFrozen); Please prefer setNewProperty. If I remember right, setProperty is deprecated, and would override any existing property value, if any, which is clearly a violation of Ant's "properties are immutable" law, and might be surprising to you

Re: How to initialize the value of a boolean property based on the output from Custom Java ANT task?

2006-05-03 Thread Scott Hebert
Here's what I do: 1) in your label task, add an attribute called 'outputproperty'. 2) in the label task's execute method, add this: if (outputproperty != null) { log("Setting output property to be: " + isLabelFrozen); this.getProj

AW: Asking for new feature: Self-Discovery of service to make Ant a real extensible system

2006-05-03 Thread Jan.Materne
>> As a simple example, when ant is >> integrated in Groovy using the AntBuilder, we can seamlessly invoke >> any Ant tasks and datatypes by using simple method call such as: >> >> ant.echo("Hello World") >> >> > > >I dont know what we can do to make groovy's life easier. Withou