[ANN] AntXtras 2.0.0 (and sub-projects) released.

2009-12-08 Thread Wascally Wabbit
ANNOUNCEMENT: The 2.0.0 release of AntXtras and its major sub-projects has been posted to SourceForge.net for download. Location: http://sf.net/projects/antxtras/ The 2.0.0 release includes a full refresh of all User Guides and improved online documentation. See each project's WHATSNEW file for

ANT Property substutition in log4j.properties

2009-12-08 Thread Jim Garrison
When using ANT_ARGS="-lib $LOG4J -Dwork.dir=somepath -listener org.apache.tools.ant.listener.Log4jListener" where $LOG4J points to a directory containing log4j.jar, with a log4j.properties including: log4j.appender.LogFile.file=${work.dir}/build.log On Windows ${work.dir} in log4j.pro

RE: Custom Task using Groovy

2009-12-08 Thread Murray, Mike
I usually use ScriptDefs, but I needed to extend an abstract task that another custom task extends, to handle a set of nested data elements that I need to pass to it. I also found, contrary to my earlier post, that I didn't need to explicitly code the property setters. Thanks, Mike -Original

Re: returns true thought there is no listener

2009-12-08 Thread Stephan Schröder
Wei Feng Niu wrote: > > ...Thoug there is no any server on 39001 started, after a while the target > will return with "server has started successfully". It is very strange. > Seems the task makes a listener on 39001 and detect it... I have the same problem just with XP and port 80 and 8080. Th

Re: Could not find xml-commons-apis Java extension for this JVM Error on running ant on CentOS

2009-12-08 Thread Antoine Levy Lambert
Hello Harry, ant is shipping with its own xml-apis.jar. Read the /usr/bin/build-classpath script - I do not know what this is ? maybe some company specific java build script ? Regards, Antoine Harry_ wrote: Hi, I have to run some jmeter scripts on ant. But I am getting the following error

Script task not working

2009-12-08 Thread Harry_
Hi, I have created following Script task and it is not working on Ant version 1.6.5 but is working on 1.7.1. I added js.lib specified as library dependency for this task on 1.6.5 but it is still not working.

Re: Custom Task using Groovy

2009-12-08 Thread Antoine Levy Lambert
Hello Mike, you could define your task using scriptdef. See http://ant.apache.org/manual/OptionalTasks/scriptdef.html Then your groovy class does not need to extend Task. Regards, Antoine Murray, Mike wrote: I've created a groovy class that (indirectly) extends Task, and I'm calling it fro

Re: Error in Junit whennI amn testing My Application in Selenium Server

2009-12-08 Thread Antoine Levy Lambert
No idea. Maybe you should post to a forum of OpenQA ? Regards, Antoine Ronyk45 wrote: com.thoughtworks.selenium.SeleniumException: ERROR: Element USERNAME not found at com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrError(HttpCommandProcessor.java:97)

Re: Frequent java.lang.OutOfMemoryError: Java heap space error

2009-12-08 Thread Antoine Levy Lambert
Hello Vino, how is base.path defined in your script ? Do you have a blurb somewhere looking like It looks like base.path is replaced at runtime literally with "" Regards, Antoine vinothofindia wrote: Hi, I have been encountering same issue. I got "java.lang.OutOfMemoryErr