I got the answer
--
View this message in context:
http://old.nabble.com/how-to-detect-a-file-while-looping-thru-a-list-of-directories-tp27775656p27798444.
In response to Greg Roodt :
> Ah, good suggestion Stefan. That makes sense.
>
> I personally have had no issues capturing STDOUT, but I use the xml
> formatter to generate JUnit reports on Hudson. Also, this looks like a
> particularly nasty little problem if the test times out or runs out of sta
Ah, good suggestion Stefan. That makes sense.
I personally have had no issues capturing STDOUT, but I use the xml
formatter to generate JUnit reports on Hudson. Also, this looks like a
particularly nasty little problem if the test times out or runs out of stack
in a different environment.
Cheers
On 2010-03-05, Bill Moran wrote:
>
> timeout="1" maxmemory="512m" haltonfailure="no"
> tempdir="/tmp" failureProperty="test.failure">
> Unfortunately, this doesn't give me any output anywhere.
withOutAndErr should give you the output in most cases.
Since yo
In response to Greg Roodt :
> Ant normally captures stdout. Have you tried the xml formatter?
Not yet. If you have reason to believe that it will more accurately
report the output, my answer is that the other formatter should be
reported as broken. But I'll give it a go and see if I have more
s
Hello, I cannot make ivy publish an artifact with overwrite="true" on
solaris.
Exactly same project can be published on windows, on solaris it doesn't fail
but does not overwrite the artifact either.
I use ivy 2.1.0 and ant 1.7.1 on both platforms.
This is the target I use in build.xml:
Ant normally captures stdout. Have you tried the xml formatter?
It looks like your test is failing because its timing out, does it pass if
you remove the timeout?
Also, is there a reason you are using sysout rather than a logging framework
like log4J?
Cheers
Greg
On Fri, Mar 5, 2010 at 2:35 P
Hello all.
I'm fairly new to ant, we've been working with it a few weeks for our
Java excursions and most things are rolling along pretty well.
We've also been building a lot of tests using JUnit, and we're trying
to get them configured in ant so we can automatically run them nightly
on a dedica
Hi,
I have the following task:
import org.apache.tools.ant.Task;
import javax.xml.parsers.SAXParserFactory;
public class FooTask extends Task {
public void execute() {
System.setProperty("javax.xml.parsers.SAXParserFactory",
getClass().getCanonicalName());
SAXParserFactory f
Hello Kaushal,
the easiest is to install ant on the remote host and kick off ant
remotely, maybe from another ant process.
ant can do all what you want (backing up, copying, deleting, ...). Just
open the manual.
Maybe develop/test your deployment script on the server where tomcat is
runnin
10 matches
Mail list logo