I assume what we are voting on is the tars / zips in the Nexus repo.
I could not get the tests to run on Mac OSX (10.9.1). The Ant build
fails with
[junit] Testcase: testExecute took 0.013 sec
[junit] Caused an ERROR
[junit] Cannot run program
"/Users/psteitz/exec-rc/commons-exec-1.2-src/src/test/scripts/test.sh"
(in directory "."): error=13, Permission denied
[junit] java.io.IOException: Cannot run program
"/Users/psteitz/exec-rc/commons-exec-1.2-src/src/test/scripts/test.sh"
(in directory "."): error=13, Permission denied
The maven build hangs on DefaultExecutorTest. The relevant bit of
the thread dump appears to be:
"main" prio=5 tid=0x00007fcbea810000 nid=0x1903 in Object.wait()
[0x000000010db52000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000007d5bb8b98> (a
org.apache.commons.exec.ExecuteWatchdog)
at java.lang.Object.wait(Object.java:503)
at
org.apache.commons.exec.ExecuteWatchdog.ensureStarted(ExecuteWatchdog.java:227)
at
org.apache.commons.exec.ExecuteWatchdog.isWatching(ExecuteWatchdog.java:194)
- locked <0x00000007d5bb8b98> (a
org.apache.commons.exec.ExecuteWatchdog)
at
org.apache.commons.exec.DefaultExecutorTest.testExecuteAsyncWithTimelyUserTermination(DefaultExecutorTest.java:219)
This is with
Apache Maven 2.2.1 (r801777; 2009-08-06 12:16:01-0700)
Java version: 1.7.0_45
I also noticed that the copyright date in the NOTICE file is still
2011. That should be fixed.
Phil
On 12/30/13, 7:34 AM, Gary Gregory wrote:
> Hello All:
>
> This is a VOTE to release Commons Exec 1.2-RC1
>
> Feature and fix release. Requires a minimum of Java 1.3.
>
> The Apache Commons Exec team is pleased to announce the Apache
> commons-exec-1.2 release!
>
> Apache Commons Exec is a library to reliably execute external processes
> from within the JVM.
>
> Changes in this version include:
>
> New features:
>
> o Set names for started threads. Issue: EXEC-55. Thanks to Dominik
> Stadler.
>
> Fixed Bugs:
>
> o Issue: EXEC-68.
> Watchdog kills process immediately if timeout is too large.
> Thanks to Joel McCance.
>
> o Issue: EXEC-57.
> Applied the patch from Nickolay Martinov but the timeout disguises the
> fact that the process might be still running.
> Therefore added a sanity check in order to throw an exception if the the
> timeout for join() was exceeded.
> Thanks to Nickolay Martinov.
>
> o Issue: EXEC-60.
> Fixed dead lock by calling the timeout observers outside of the
> synchronized block thereby removing on pre-requisite of a deadlock.
> Also added a test case to demonstrate that this problem is fixed (which
> of course can not guarantee the absence of a dead lock).
> Thanks to Peter Kofler.
>
> o Issue: EXEC-52.
> Tests fail on HP-UX, because it uses a different syntax for the ping
> command.
> Thanks to Nickolay Martinov.
>
> o Issue: EXEC-49.
> "Write dead end" IOException when using Piped streams w/PumpStreamHandler.
> When encountering a PipedOutputStream we will automatically close it to
> avoid the exception.
> Thanks to Kevin Telford.
>
> o Issue: EXEC-34.
> Race condition prevent watchdog working using ExecuteStreamHandler.
> Patch submittd by Kristian Rosenvold.
> Thanks to Marco Ferrante.
>
> This VOTE is open for at least 72 hours until December 23 2013 at 11:30 PM
> EST.
>
> The files:
>
> https://repository.apache.org/content/repositories/orgapachecommons-031/
>
> The tag:
>
> https://svn.apache.org/repos/asf/commons/proper/exec/tags/1.2-RC1
>
> The site:
>
> https://people.apache.org/~ggregory/commons-exec/1.2-RC1/site/
>
> Links to versions of sites and Javadocs will be live when deployed.
>
> Thank you,
> Gary Gregory
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]