Problems with optional tasks

2005-09-19 Thread Pete Cain
Hi, I've written an ant script that successfully uses scp. However I'm finding that script does not work on all the boxes I needed it to. I've successfully used the scp task with ant-1.6.2 installed from jpackage.org on 2 different machines (RH9 and FC3). However installing the binary version f

RE: Problem concerning classpath priority (I think)

2005-09-19 Thread Rainer Noack
Hi, did you try with includeAntRuntime="false" ? Rainer > -Original Message- > From: Michael Böckling [mailto:[EMAIL PROTECTED] > Sent: Monday, September 19, 2005 3:20 PM > To: user@ant.apache.org > Subject: Problem concerning classpath priority (I think) > > > Hello! > > I have a s

Junit timeout attribute

2005-09-19 Thread RPearse
Does anybody know If I set the "timeout" attribute on the junit task to zero, will the timeout value be infinite? Thanks, Robert

Re: and failifexecutionfails

2005-09-19 Thread Nicolas Vervelle
Hi again, I found how to overcome this problem : I first try to run xgettext2 with task and with only one arg (--help) abd with attributes failifexecutionfails="false" resultproperty="xxx" just to check for xgettext2 existence. Then I can use if xgettext2 exists. To me, it really seems to b

and failifexecutionfails

2005-09-19 Thread Nicolas Vervelle
Hi, I want to run an executable during the build only if the executable is available. How can I prevent the build from failing if the executable is not here ? I tried the failifexecutionfails attribute : I thought that

Re: Execute task throws IllegalThreadStateException

2005-09-19 Thread Steve Loughran
Martin Burger wrote: Hello, I'm using the Execute task (Ant 1.6.5) to start a Java program programmatically. Sometimes, the method "Execute.execute(Execute.java:490)" throws an IllegalThreadStateException: Exception in thread "DDchange-RMIJUnitTesterLauncherThread" java.lang.IllegalThreadSt

Execute task throws IllegalThreadStateException

2005-09-19 Thread Martin Burger
Hello, I'm using the Execute task (Ant 1.6.5) to start a Java program programmatically. Sometimes, the method "Execute.execute(Execute.java:490)" throws an IllegalThreadStateException: Exception in thread "DDchange-RMIJUnitTesterLauncherThread" java.lang.IllegalThreadStateException a

Problem concerning classpath priority (I think)

2005-09-19 Thread Michael Böckling
Hello! I have a strange problem when compiling a project using an ANT task that doesn't show up when compiling directly in Eclipse. To build our projects, we have a standardized building system that consists of many XML files and did its job (afaik) well in the past. Now I have a project uses

'Exception in thread "main"' for java after Ant upgrade to 1.6.5

2005-09-19 Thread Felix Seeger
Hi, I have a ant task used to precompile jsps. This is java command: -- -- With Ant 1.6.2 there was not problem at all, but now with 1.6.5 I only get: -- [java] Exception in thread "main" BUILD FAILED The following error occurred while executing this line: Java returned: 1 -- If I sta