You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2014/01/08 19:06:54 UTC
svn commit: r4064 - in /release/commons/exec: ./ binaries/ source/
Author: ggregory
Date: Wed Jan 8 18:06:51 2014
New Revision: 4064
Log:
Replace Apache Commons Codec 1.1 with 1.2
Added:
release/commons/exec/binaries/commons-exec-1.2-bin.tar.gz (with props)
release/commons/exec/binaries/commons-exec-1.2-bin.tar.gz.asc (with props)
release/commons/exec/binaries/commons-exec-1.2-bin.tar.gz.md5
release/commons/exec/binaries/commons-exec-1.2-bin.tar.gz.sha1
release/commons/exec/binaries/commons-exec-1.2-bin.zip (with props)
release/commons/exec/binaries/commons-exec-1.2-bin.zip.asc (with props)
release/commons/exec/binaries/commons-exec-1.2-bin.zip.md5
release/commons/exec/binaries/commons-exec-1.2-bin.zip.sha1
release/commons/exec/source/commons-exec-1.2-src.tar.gz (with props)
release/commons/exec/source/commons-exec-1.2-src.tar.gz.asc (with props)
release/commons/exec/source/commons-exec-1.2-src.tar.gz.md5
release/commons/exec/source/commons-exec-1.2-src.tar.gz.sha1
release/commons/exec/source/commons-exec-1.2-src.zip (with props)
release/commons/exec/source/commons-exec-1.2-src.zip.asc (with props)
release/commons/exec/source/commons-exec-1.2-src.zip.md5
release/commons/exec/source/commons-exec-1.2-src.zip.sha1
Removed:
release/commons/exec/binaries/commons-exec-1.1-bin.tar.gz
release/commons/exec/binaries/commons-exec-1.1-bin.tar.gz.asc
release/commons/exec/binaries/commons-exec-1.1-bin.tar.gz.md5
release/commons/exec/binaries/commons-exec-1.1-bin.tar.gz.sha1
release/commons/exec/binaries/commons-exec-1.1-bin.zip
release/commons/exec/binaries/commons-exec-1.1-bin.zip.asc
release/commons/exec/binaries/commons-exec-1.1-bin.zip.md5
release/commons/exec/binaries/commons-exec-1.1-bin.zip.sha1
release/commons/exec/source/commons-exec-1.1-src.tar.gz
release/commons/exec/source/commons-exec-1.1-src.tar.gz.asc
release/commons/exec/source/commons-exec-1.1-src.tar.gz.md5
release/commons/exec/source/commons-exec-1.1-src.tar.gz.sha1
release/commons/exec/source/commons-exec-1.1-src.zip
release/commons/exec/source/commons-exec-1.1-src.zip.asc
release/commons/exec/source/commons-exec-1.1-src.zip.md5
release/commons/exec/source/commons-exec-1.1-src.zip.sha1
Modified:
release/commons/exec/RELEASE-NOTES.txt
Modified: release/commons/exec/RELEASE-NOTES.txt
==============================================================================
--- release/commons/exec/RELEASE-NOTES.txt (original)
+++ release/commons/exec/RELEASE-NOTES.txt Wed Jan 8 18:06:51 2014
@@ -1,84 +1,52 @@
-The commons-exec-team is pleased to announce the commons-exec-1.0 release!
+ Apache Commons Exec 1.2 RELEASE NOTES
-A library to reliably execute external processes from within the JVM
+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.
+
+Feature and fix release. Requires a minimum of Java 1.3.
Changes in this version include:
New features:
------------------------------------------------------------------------------
-o Added one additional test : DefaultExecutorTest.testExecuteWithFancyArg
- Issue: EXEC-26. Thanks to Benjamin Bentmann.
-o Added convinience method to add two parameters to the CommandLine
- using one method invocation.
-o Added test scripts for OpenVMS - he seems to be the last human having
- access to an OpenVMS box ... :-)
-o With the help of the Apache Commons community I added the first results
- of cross-OS testing. Thanks to Simone Gianni, Bindul Bhowmik,
- Niall Pemberton, Sebastian Bazley.
-o The regression tests now also works on Windows - so it should
- work now on Linux, Windows and Mac OS X
-o Added DebugUtils to improve cross-platform testing.
-o Made DefaultExecutor.launch() protected to enable mocking.
- Issue: SANDBOX-62. Thanks to Jeremy Lacoste.
-o Made ProcessDestroyer optional and pluggable when using Executor.
- Issue: SANDBOX-107. Thanks to Niklas Gustavsson.
-o CommandLine can now expand the given command line by a user-suppied
- map. This allows to execute something like "${JAVA_HOME}/bin/java -jar ${myapp}"
-o Added methods to provide pre-quoted arguments.
- Issue: SANDBOX-192. Thanks to Reinhold Fuereder.
-o Exposing a ExecuteWatchdog.destroy() to kill an asynchrounous process
- manually. This formalizes a workaround described in the JIRA
- Issue: SANDBOX-193. Thanks to Reinhold Fuereder.
-o Extending exit value handling to support applications returning an error
- code. Issue: SANDBOX-203.
-o Added a few regression tests for the watchdog since they were missing.
- Issue: SANDBOX-204.
+o Set names for started threads. Issue: EXEC-55. Thanks to Dominik Stadler.
Fixed Bugs:
------------------------------------------------------------------------------
-o Removed useless synchronized statement in
- OpenVmsProcessingEnvironment.createProcEnvironment
- Issue: EXEC-37. Thanks to Sebastien Bazley.
-o Using System.in for child process will actually hang your application -
- see JIRA for more details. Since there is no easy fix an
- IllegalRuntimeException is thrown when System.in is passed.
- Issue: EXEC-33.
-o Fixing a few findbugs issues. Issue: EXEC-35. Thanks to Luc Maisonobe.
-o Handle null streams consistently. Issue: EXEC-32. Thanks to Marco Ferrante.
-o After a long discussion we decided to stick to following groupId
- "org.apache.commons" instead of "commons-exec".
-o The Ant build now works even when junit is not on the classpath
- Thanks to Kevin Jackson.
-o Fixed broken "groupId" from "org.apache.commons" to "commons-exec"
-o Renamed EnvironmentUtil to EnvironmentUtils to align with other classes
- in this project and commons in general. Please note that this change
- could break existing clients (but would be rather unlikely).
- Issue: EXEC-27. Thanks to Benjamin Bentmann.
-o Make environment variables respect casing rules of platforms. Under Windows
- "PATH", "Path" and "path" would access the same environment variable whereas
- the real name is "Path". Issue: EXEC-30. Thanks to Benjamin Bentmann.
-o Invoking DefaultExecutor.execute(CommandLine command, Map environment) using
-a 'null' Map results in inheriting all environment variables of the current
- process while passing an empty map implies starting the new process with no
- environment variables. In short 'null' is not the same as an empty map.
- Issue: EXEC-31. Thanks to Benjamin Bentmann.
-o Using variable substitution within CommandLine broke the regression tests
- under Windows. Found also another bug when calling CommandLine.getExecutable()
- the result was not substituted at all. As a general rule we do variable
- substitution and file separator fixing on the command line executable and
- variable substitution but NO file separator fixing for the command line
- arguments. Issue: EXEC-25.
-o Implemented better regression test for OpenVMS affecting also
- the Executor and CommandLauncher interface.
-o Cleaned up the source code to get rid of javadoc errors and
- unused imports. Issue: SANDBOX-204.
+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 deadlock by calling the timeout observers outside of the synchronized block thereby removing a prerequisite 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.
+
+For complete information on Apache Commons Exec, including instructions on how to submit bug reports, patches, or suggestions for improvement, see the Apache Commons Exec website:
+http://commons.apache.org/proper/commons-exec/
-Removed:
-o Removed commons-logging integration
Have fun!
--commons-exec-team
+-Apache Commons Exec team
Added: release/commons/exec/binaries/commons-exec-1.2-bin.tar.gz
==============================================================================
Binary file - no diff available.
Propchange: release/commons/exec/binaries/commons-exec-1.2-bin.tar.gz
------------------------------------------------------------------------------
svn:mime-type = application/x-gzip
Added: release/commons/exec/binaries/commons-exec-1.2-bin.tar.gz.asc
==============================================================================
Binary file - no diff available.
Propchange: release/commons/exec/binaries/commons-exec-1.2-bin.tar.gz.asc
------------------------------------------------------------------------------
svn:mime-type = application/pgp-signature
Added: release/commons/exec/binaries/commons-exec-1.2-bin.tar.gz.md5
==============================================================================
--- release/commons/exec/binaries/commons-exec-1.2-bin.tar.gz.md5 (added)
+++ release/commons/exec/binaries/commons-exec-1.2-bin.tar.gz.md5 Wed Jan 8 18:06:51 2014
@@ -0,0 +1 @@
+093b8f24ea4fe6235d25df5fff08a2b9
\ No newline at end of file
Added: release/commons/exec/binaries/commons-exec-1.2-bin.tar.gz.sha1
==============================================================================
--- release/commons/exec/binaries/commons-exec-1.2-bin.tar.gz.sha1 (added)
+++ release/commons/exec/binaries/commons-exec-1.2-bin.tar.gz.sha1 Wed Jan 8 18:06:51 2014
@@ -0,0 +1 @@
+3e274f64a0cc79fc54e3af8f1d4b05f326d531be
\ No newline at end of file
Added: release/commons/exec/binaries/commons-exec-1.2-bin.zip
==============================================================================
Binary file - no diff available.
Propchange: release/commons/exec/binaries/commons-exec-1.2-bin.zip
------------------------------------------------------------------------------
svn:mime-type = application/zip
Added: release/commons/exec/binaries/commons-exec-1.2-bin.zip.asc
==============================================================================
Binary file - no diff available.
Propchange: release/commons/exec/binaries/commons-exec-1.2-bin.zip.asc
------------------------------------------------------------------------------
svn:mime-type = application/pgp-signature
Added: release/commons/exec/binaries/commons-exec-1.2-bin.zip.md5
==============================================================================
--- release/commons/exec/binaries/commons-exec-1.2-bin.zip.md5 (added)
+++ release/commons/exec/binaries/commons-exec-1.2-bin.zip.md5 Wed Jan 8 18:06:51 2014
@@ -0,0 +1 @@
+832b99be9daac655d9118e1301eddb43
\ No newline at end of file
Added: release/commons/exec/binaries/commons-exec-1.2-bin.zip.sha1
==============================================================================
--- release/commons/exec/binaries/commons-exec-1.2-bin.zip.sha1 (added)
+++ release/commons/exec/binaries/commons-exec-1.2-bin.zip.sha1 Wed Jan 8 18:06:51 2014
@@ -0,0 +1 @@
+7a1291f7fe4a505b1537b9f57c6fa066d73e87a5
\ No newline at end of file
Added: release/commons/exec/source/commons-exec-1.2-src.tar.gz
==============================================================================
Binary file - no diff available.
Propchange: release/commons/exec/source/commons-exec-1.2-src.tar.gz
------------------------------------------------------------------------------
svn:mime-type = application/x-gzip
Added: release/commons/exec/source/commons-exec-1.2-src.tar.gz.asc
==============================================================================
Binary file - no diff available.
Propchange: release/commons/exec/source/commons-exec-1.2-src.tar.gz.asc
------------------------------------------------------------------------------
svn:mime-type = application/pgp-signature
Added: release/commons/exec/source/commons-exec-1.2-src.tar.gz.md5
==============================================================================
--- release/commons/exec/source/commons-exec-1.2-src.tar.gz.md5 (added)
+++ release/commons/exec/source/commons-exec-1.2-src.tar.gz.md5 Wed Jan 8 18:06:51 2014
@@ -0,0 +1 @@
+c423f7268f3bd03c4602dc7fd12b5d4c
\ No newline at end of file
Added: release/commons/exec/source/commons-exec-1.2-src.tar.gz.sha1
==============================================================================
--- release/commons/exec/source/commons-exec-1.2-src.tar.gz.sha1 (added)
+++ release/commons/exec/source/commons-exec-1.2-src.tar.gz.sha1 Wed Jan 8 18:06:51 2014
@@ -0,0 +1 @@
+a5d2a61113c491e4101c3ac9fb981dca69b2862c
\ No newline at end of file
Added: release/commons/exec/source/commons-exec-1.2-src.zip
==============================================================================
Binary file - no diff available.
Propchange: release/commons/exec/source/commons-exec-1.2-src.zip
------------------------------------------------------------------------------
svn:mime-type = application/zip
Added: release/commons/exec/source/commons-exec-1.2-src.zip.asc
==============================================================================
Binary file - no diff available.
Propchange: release/commons/exec/source/commons-exec-1.2-src.zip.asc
------------------------------------------------------------------------------
svn:mime-type = application/pgp-signature
Added: release/commons/exec/source/commons-exec-1.2-src.zip.md5
==============================================================================
--- release/commons/exec/source/commons-exec-1.2-src.zip.md5 (added)
+++ release/commons/exec/source/commons-exec-1.2-src.zip.md5 Wed Jan 8 18:06:51 2014
@@ -0,0 +1 @@
+380ce341babfd7f688aae8cc5727463f
\ No newline at end of file
Added: release/commons/exec/source/commons-exec-1.2-src.zip.sha1
==============================================================================
--- release/commons/exec/source/commons-exec-1.2-src.zip.sha1 (added)
+++ release/commons/exec/source/commons-exec-1.2-src.zip.sha1 Wed Jan 8 18:06:51 2014
@@ -0,0 +1 @@
+052aece87fa434c21d6f036291094089cabaad70
\ No newline at end of file