You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Siegfried Goeschl <sg...@gmx.at> on 2009/01/14 17:25:31 UTC
[Fwd: Re: [EXEC] test error]
FYI
-------- Original Message --------
Subject: Re: [EXEC] test error
Date: Wed, 14 Jan 2009 17:23:49 +0100
From: Siegfried Goeschl <sg...@gmx.at>
Reply-To: sgoeschl@gmx.at
To: sebb <se...@gmail.com>
References: <25...@mail.gmail.com>
Hi Sebastian,
I know - I'm chasing an EXEC bug and was too tired to write/test the
redirect.bat ... will be fixed by tomorrow. BTW, would you be able to
contribute the redirct.dcl?
Cheers,
Siegfried Goeschl
sebb wrote:
> Just tried building trunk and got the following error on WinXP - looks
> like the file redirect.bat is missing?
>
> -------------------------------------------------------------------------------
> Test set: org.apache.commons.exec.DefaultExecutorTest
> -------------------------------------------------------------------------------
> Tests run: 20, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
> 140.328 sec <<< FAILURE!
> testExecuteWithRedirectedStreams(org.apache.commons.exec.DefaultExecutorTest)
> Time elapsed: 0 sec <<< ERROR!
> java.io.IOException: CreateProcess:
> D:\eclipseworkspaces\main\commons-exec\src\test\scripts\redirect.bat
> error=2
> at java.lang.Win32Process.create(Native Method)
> at java.lang.Win32Process.<init>(Win32Process.java:68)
> at java.lang.Runtime.execInternal(Native Method)
> at java.lang.Runtime.exec(Runtime.java:566)
> at org.apache.commons.exec.launcher.Java13CommandLauncher.exec(Java13CommandLauncher.java:58)
> at org.apache.commons.exec.DefaultExecutor.launch(DefaultExecutor.java:246)
> at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:302)
> at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:149)
> at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:136)
> at org.apache.commons.exec.DefaultExecutorTest.testExecuteWithRedirectedStreams(DefaultExecutorTest.java:365)
>
>
>
> On 13/01/2009, sgoeschl@apache.org <sg...@apache.org> wrote:
>
>> Author: sgoeschl
>> Date: Tue Jan 13 15:32:03 2009
>> New Revision: 734274
>>
>> URL: http://svn.apache.org/viewvc?rev=734274&view=rev
>> Log:
>> Preparing the next release candidate ....
>>
>> Modified:
>> commons/proper/exec/trunk/pom.xml
>>
>> Modified: commons/proper/exec/trunk/pom.xml
>> URL: http://svn.apache.org/viewvc/commons/proper/exec/trunk/pom.xml?rev=734274&r1=734273&r2=734274&view=diff
>> ==============================================================================
>> --- commons/proper/exec/trunk/pom.xml (original)
>> +++ commons/proper/exec/trunk/pom.xml Tue Jan 13 15:32:03 2009
>> @@ -27,7 +27,7 @@
>> <name>Commons Exec</name>
>> <groupId>org.apache.commons</groupId>
>> <artifactId>commons-exec</artifactId>
>> - <version>1.0.1-SNAPSHOT</version>
>> + <version>1.0.0-SNAPSHOT</version>
>> <description>A library to reliably execute external processes from within the JVM</description>
>> <url>http://commons.apache.org/exec/</url>
>>
>> @@ -174,4 +174,4 @@
>> <commons.rc.version>RC3</commons.rc.version>
>> </properties>
>>
>> -</project>
>> \ No newline at end of file
>> +</project>
>>
>>
>>
>>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org