svn commit: r608032 - /commons/proper/discovery/trunk/build.xml

2008-01-01 Thread bayard
Author: bayard
Date: Tue Jan  1 23:39:36 2008
New Revision: 608032

URL: http://svn.apache.org/viewvc?rev=608032&view=rev
Log:
Applying Petteri Raty's build.xml patch so there is a jar target

Modified:
commons/proper/discovery/trunk/build.xml

Modified: commons/proper/discovery/trunk/build.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/discovery/trunk/build.xml?rev=608032&r1=608031&r2=608032&view=diff
==
--- commons/proper/discovery/trunk/build.xml (original)
+++ commons/proper/discovery/trunk/build.xml Tue Jan  1 23:39:36 2008
@@ -175,23 +175,26 @@
 
   
 
+  
+
+
+
+
+
+  
 
-  
 
-
 
 
-
-
-
-
   
 
 




svn commit: r608030 - /commons/proper/collections/trunk/src/java/org/apache/commons/collections/map/AbstractLinkedMap.java

2008-01-01 Thread bayard
Author: bayard
Date: Tue Jan  1 23:23:14 2008
New Revision: 608030

URL: http://svn.apache.org/viewvc?rev=608030&view=rev
Log:
Updating javadoc as per COLLECTIONS-262 - the firstKey and lastKey javadoc 
methods were back to front for parts of their description

Modified:

commons/proper/collections/trunk/src/java/org/apache/commons/collections/map/AbstractLinkedMap.java

Modified: 
commons/proper/collections/trunk/src/java/org/apache/commons/collections/map/AbstractLinkedMap.java
URL: 
http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/java/org/apache/commons/collections/map/AbstractLinkedMap.java?rev=608030&r1=608029&r2=608030&view=diff
==
--- 
commons/proper/collections/trunk/src/java/org/apache/commons/collections/map/AbstractLinkedMap.java
 (original)
+++ 
commons/proper/collections/trunk/src/java/org/apache/commons/collections/map/AbstractLinkedMap.java
 Tue Jan  1 23:23:14 2008
@@ -168,9 +168,9 @@
 
 //---
 /**
- * Gets the first key in the map, which is the most recently inserted.
+ * Gets the first key in the map, which is the first inserted.
  * 
- * @return the most recently inserted key
+ * @return the eldest key
  */
 public Object firstKey() {
 if (size == 0) {
@@ -180,9 +180,9 @@
 }
 
 /**
- * Gets the last key in the map, which is the first inserted.
+ * Gets the last key in the map, which is the most recently inserted.
  * 
- * @return the eldest key
+ * @return the most recently inserted key
  */
 public Object lastKey() {
 if (size == 0) {




svn commit: r608028 - /commons/sandbox/performance/trunk/config-pool.xml

2008-01-01 Thread psteitz
Author: psteitz
Date: Tue Jan  1 23:06:23 2008
New Revision: 608028

URL: http://svn.apache.org/viewvc?rev=608028&view=rev
Log:
Removed extraneous comment.

Modified:
commons/sandbox/performance/trunk/config-pool.xml

Modified: commons/sandbox/performance/trunk/config-pool.xml
URL: 
http://svn.apache.org/viewvc/commons/sandbox/performance/trunk/config-pool.xml?rev=608028&r1=608027&r2=608028&view=diff
==
--- commons/sandbox/performance/trunk/config-pool.xml (original)
+++ commons/sandbox/performance/trunk/config-pool.xml Tue Jan  1 23:06:23 2008
@@ -55,7 +55,6 @@
   
   
   
-
 100
 50
 250




svn commit: r608027 - /commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/PropertyUtilsBean.java

2008-01-01 Thread bayard
Author: bayard
Date: Tue Jan  1 22:43:16 2008
New Revision: 608027

URL: http://svn.apache.org/viewvc?rev=608027&view=rev
Log:
Applying Stefan Wohlgemuth's patch to provide a performance improvement (see: 
BEANUTILS-295) by not creating a new empty array every time

Modified:

commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/PropertyUtilsBean.java

Modified: 
commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/PropertyUtilsBean.java
URL: 
http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/PropertyUtilsBean.java?rev=608027&r1=608026&r2=608027&view=diff
==
--- 
commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/PropertyUtilsBean.java
 (original)
+++ 
commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/PropertyUtilsBean.java
 Tue Jan  1 22:43:16 2008
@@ -125,6 +125,9 @@
 private static final Class[] EMPTY_CLASS_PARAMETERS = new Class[0];
 private static final Class[] LIST_CLASS_PARAMETER = new Class[] 
{java.util.List.class};
 
+/** An empty object array */
+private static final Object[] EMPTY_OBJECT_ARRAY = new Object[0];
+
 /** Log instance */
 private Log log = LogFactory.getLog(PropertyUtils.class);
 
@@ -498,7 +501,7 @@
 }
 
 // Call the property getter and return the value
-Object value = invokeMethod(readMethod, bean, new Object[0]);
+Object value = invokeMethod(readMethod, bean, EMPTY_OBJECT_ARRAY);
 if (!value.getClass().isArray()) {
 if (!(value instanceof java.util.List)) {
 throw new IllegalArgumentException("Property '" + name +
@@ -640,7 +643,7 @@
   /* means that the result has to be retrieved from a map */
   Method readMethod = getReadMethod(descriptor);
   if (readMethod != null) {
-Object invokeResult = invokeMethod(readMethod, bean, new 
Object[0]);
+Object invokeResult = invokeMethod(readMethod, bean, 
EMPTY_OBJECT_ARRAY);
 /* test and fetch from the map */
 if (invokeResult instanceof java.util.Map) {
   result = ((java.util.Map)invokeResult).get(key);
@@ -1295,7 +1298,7 @@
 }
 
 // Call the property getter and return the value
-Object value = invokeMethod(readMethod, bean, new Object[0]);
+Object value = invokeMethod(readMethod, bean, EMPTY_OBJECT_ARRAY);
 return (value);
 
 }
@@ -1614,7 +1617,7 @@
 }
 
 // Call the property getter to get the array or list
-Object array = invokeMethod(readMethod, bean, new Object[0]);
+Object array = invokeMethod(readMethod, bean, EMPTY_OBJECT_ARRAY);
 if (!array.getClass().isArray()) {
 if (array instanceof List) {
 // Modify the specified value in the List
@@ -1768,7 +1771,7 @@
   /* means that the result has to be retrieved from a map */
   Method readMethod = getReadMethod(descriptor);
   if (readMethod != null) {
-Object invokeResult = invokeMethod(readMethod, bean, new 
Object[0]);
+Object invokeResult = invokeMethod(readMethod, bean, 
EMPTY_OBJECT_ARRAY);
 /* test and fetch from the map */
 if (invokeResult instanceof java.util.Map) {
   ((java.util.Map)invokeResult).put(key, value);




svn commit: r608021 - in /commons/sandbox/performance/trunk: build.properties build.properties.sample

2008-01-01 Thread psteitz
Author: psteitz
Date: Tue Jan  1 22:18:09 2008
New Revision: 608021

URL: http://svn.apache.org/viewvc?rev=608021&view=rev
Log:
Fixed incorrect name.

Added:
commons/sandbox/performance/trunk/build.properties.sample
  - copied unchanged from r608020, 
commons/sandbox/performance/trunk/build.properties
Removed:
commons/sandbox/performance/trunk/build.properties



svn commit: r608020 - in /commons/sandbox/performance/trunk: build-dbcp.xml build-pool.xml build.properties logging.properties

2008-01-01 Thread psteitz
Author: psteitz
Date: Tue Jan  1 22:17:01 2008
New Revision: 608020

URL: http://svn.apache.org/viewvc?rev=608020&view=rev
Log:
Added missing httpclient deps, made some defaults more reasonable.

Modified:
commons/sandbox/performance/trunk/build-dbcp.xml
commons/sandbox/performance/trunk/build-pool.xml
commons/sandbox/performance/trunk/build.properties
commons/sandbox/performance/trunk/logging.properties

Modified: commons/sandbox/performance/trunk/build-dbcp.xml
URL: 
http://svn.apache.org/viewvc/commons/sandbox/performance/trunk/build-dbcp.xml?rev=608020&r1=608019&r2=608020&view=diff
==
--- commons/sandbox/performance/trunk/build-dbcp.xml (original)
+++ commons/sandbox/performance/trunk/build-dbcp.xml Tue Jan  1 22:17:01 2008
@@ -83,9 +83,16 @@
 dest="${lib}/commons-logging-1.0.4.jar"
 usetimestamp="true"/>
   
+
+  
+
+  
  
   
+  
depends="get-collections,get-beanutils,get-digester,get-math,get-logging,get-httpclient">
   
 
   

Modified: commons/sandbox/performance/trunk/build-pool.xml
URL: 
http://svn.apache.org/viewvc/commons/sandbox/performance/trunk/build-pool.xml?rev=608020&r1=608019&r2=608020&view=diff
==
--- commons/sandbox/performance/trunk/build-pool.xml (original)
+++ commons/sandbox/performance/trunk/build-pool.xml Tue Jan  1 22:17:01 2008
@@ -82,8 +82,15 @@
 usetimestamp="true"/>
   

+   
+ 
+   
+   
   
+  
depends="get-collections,get-beanutils,get-digester,get-math,get-logging,get-httpclient">
   
 
   

Modified: commons/sandbox/performance/trunk/build.properties
URL: 
http://svn.apache.org/viewvc/commons/sandbox/performance/trunk/build.properties?rev=608020&r1=608019&r2=608020&view=diff
==
--- commons/sandbox/performance/trunk/build.properties (original)
+++ commons/sandbox/performance/trunk/build.properties Tue Jan  1 22:17:01 2008
@@ -23,6 +23,6 @@
 jdbc-jar=../../mysql/mysql-connector-java-5.0.2.jar
 
 # Replace with full path to versions of pool, dbcp jars you want to test with
-pool-jar=../../commons-pool-1.2/commons-pool-1.2.jar
+pool-jar=../../.m2/repository/commons-pool/commons-pool/1.3/commons-pool-1.3.jar
 
dbcp-jar=../../.m2/repository/commons-dbcp/commons-dbcp/1.2.2/commons-dbcp-1.2.2.jar
 

Modified: commons/sandbox/performance/trunk/logging.properties
URL: 
http://svn.apache.org/viewvc/commons/sandbox/performance/trunk/logging.properties?rev=608020&r1=608019&r2=608020&view=diff
==
--- commons/sandbox/performance/trunk/logging.properties (original)
+++ commons/sandbox/performance/trunk/logging.properties Tue Jan  1 22:17:01 
2008
@@ -29,7 +29,7 @@
 java.util.logging.FileHandler.level=FINE
 java.util.logging.FileHandler.formatter=java.util.logging.SimpleFormatter
 
-java.util.logging.FileHandler.pattern=%h/dbcpTest/dbcpSoak%u.log
+java.util.logging.FileHandler.pattern=%h/performance%u.log
 
 java.util.logging.FileHandler.limit=100
 




svn commit: r607940 - /commons/sandbox/exec/trunk/src/site/apt/tutorial.apt

2008-01-01 Thread sgoeschl
Author: sgoeschl
Date: Tue Jan  1 14:55:53 2008
New Revision: 607940

URL: http://svn.apache.org/viewvc?rev=607940&view=rev
Log:
First cut of a tutorial before I accidently delete it

Added:
commons/sandbox/exec/trunk/src/site/apt/tutorial.apt

Added: commons/sandbox/exec/trunk/src/site/apt/tutorial.apt
URL: 
http://svn.apache.org/viewvc/commons/sandbox/exec/trunk/src/site/apt/tutorial.apt?rev=607940&view=auto
==
--- commons/sandbox/exec/trunk/src/site/apt/tutorial.apt (added)
+++ commons/sandbox/exec/trunk/src/site/apt/tutorial.apt Tue Jan  1 14:55:53 
2008
@@ -0,0 +1,60 @@
+ 
+Jakarta Commons Exec Tutorial
+ 
+ 
+14 December 2007
+ 
+
+Jakarta Commons Exec
+
+* The First Encounter
+
+  At this point we can safely assume that you would like to start some stuff 
from withing your 
+  Java application and you spent some time here to do it properly. You look at 
Commons Exec and think
+  "Wow - calling Runtime.exec() is a piece of cake and the Apache folks are 
wasting their and my time 
+  with tons of code".
+  
+  Well, we learned it the hard way (in my case more than once) that using 
plain Runtime.exec() can be 
+  a painful experience. Therefore you are invited to delve into commons-exec 
and having a look at the
+  hard lessons the easy way ...
+  
+* Taming Your Process
+
+  Assume you are forced start Acrobat Reader 8.x from your Java server to 
print a PDF document. The
+  very first question is - would you like to wait for the print process to 
finish (synchronous 
+  execution) or do you run it independent from your process (asnynchrounous 
execution).q  
+  
+  You write
+  a tests, everything works but in production the server box crashes. A closer 
look reveals that you 
+  succeeded in starting the print process but it somehow never terminated. The 
first lesson learned is
+  that you need to ensure that your print job terminates after a while - you 
need a watchdog. Luckily
+  commons-exec provides such a thing
+
+  Reliably executing external processes can also require knowledge of the 
environment variables before or after the
+  command is executed. In J2SE 1.1-1.4 there is not support for this, since 
the method, <<>>, for
+  retriving environment variables is deprecated.
+
+  The are currently several different libraries that for their own purposes 
has implemented frameworks around
+  <<>> to handle the various issue outlined above. The 
proposed project should aim at coordinating and
+  learning from these initatives to create and maintain a simple, reusable and 
well-tested package. Since some of the
+  more problematic platforms are not readily available, it is my hope that the 
broad Apache community can be a
+  great help.
+
+* Scope of the package
+
+  The package shall create and maintain a process execution package written in 
the Java language to be distributed
+  under the ASF license. The Java code might also be complemented with scripts 
(e.g. Perl scripts) to fully enable
+  execution on some operating systems. The package should aim for supporting a 
wide range of operating systems while
+  still having a consistent API for all platforms.
+
+* Identify the initial source for the package
+
+  Several implementations exists and should be researched before finalizing 
the design:
+
+ * Ant 1.X contains probably the most mature code within the exec task. This 
code has been stripped of the
+   Ant specifics and cleaned up by Niklas Gustavsson and can be donated under 
the ASF license.
+
+ * Ideas from {{{http://ant.apache.org/ant2/actionlist.html#exec} Ant2}}
+
+ * plexus-utils has a similar but slimmer BSD-licensed implementation than Ant 
that can be reused
+




svn commit: r607939 - /commons/sandbox/exec/trunk/src/main/java/org/apache/commons/exec/environment/DefaultProcessingEnvironment.java

2008-01-01 Thread sgoeschl
Author: sgoeschl
Date: Tue Jan  1 14:55:09 2008
New Revision: 607939

URL: http://svn.apache.org/viewvc?rev=607939&view=rev
Log:
Removed unused import statement

Modified:

commons/sandbox/exec/trunk/src/main/java/org/apache/commons/exec/environment/DefaultProcessingEnvironment.java

Modified: 
commons/sandbox/exec/trunk/src/main/java/org/apache/commons/exec/environment/DefaultProcessingEnvironment.java
URL: 
http://svn.apache.org/viewvc/commons/sandbox/exec/trunk/src/main/java/org/apache/commons/exec/environment/DefaultProcessingEnvironment.java?rev=607939&r1=607938&r2=607939&view=diff
==
--- 
commons/sandbox/exec/trunk/src/main/java/org/apache/commons/exec/environment/DefaultProcessingEnvironment.java
 (original)
+++ 
commons/sandbox/exec/trunk/src/main/java/org/apache/commons/exec/environment/DefaultProcessingEnvironment.java
 Tue Jan  1 14:55:09 2008
@@ -26,7 +26,6 @@
 import java.lang.reflect.Method;
 import java.util.HashMap;
 import java.util.Map;
-import java.util.Iterator;
 
 import org.apache.commons.exec.CommandLine;
 import org.apache.commons.exec.DefaultExecutor;




svn commit: r607936 - in /commons/sandbox/exec/trunk/src: changes/ main/java/org/apache/commons/exec/ test/java/org/apache/commons/exec/

2008-01-01 Thread sgoeschl
Author: sgoeschl
Date: Tue Jan  1 14:50:59 2008
New Revision: 607936

URL: http://svn.apache.org/viewvc?rev=607936&view=rev
Log:
SANDBOX-107 - Make ProcessDestroyer optional and pluggable

Modified:
commons/sandbox/exec/trunk/src/changes/changes.xml

commons/sandbox/exec/trunk/src/main/java/org/apache/commons/exec/DefaultExecutor.java

commons/sandbox/exec/trunk/src/main/java/org/apache/commons/exec/Executor.java

commons/sandbox/exec/trunk/src/main/java/org/apache/commons/exec/ProcessDestroyer.java

commons/sandbox/exec/trunk/src/main/java/org/apache/commons/exec/ShutdownHookProcessDestroyer.java

commons/sandbox/exec/trunk/src/test/java/org/apache/commons/exec/DefaultExecutorTest.java

Modified: commons/sandbox/exec/trunk/src/changes/changes.xml
URL: 
http://svn.apache.org/viewvc/commons/sandbox/exec/trunk/src/changes/changes.xml?rev=607936&r1=607935&r2=607936&view=diff
==
--- commons/sandbox/exec/trunk/src/changes/changes.xml (original)
+++ commons/sandbox/exec/trunk/src/changes/changes.xml Tue Jan  1 14:50:59 2008
@@ -6,6 +6,9 @@
   
   
 
+  
+Made ProcessDestroyer optional and pluggable when using Executor.
+  
   
 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}"

Modified: 
commons/sandbox/exec/trunk/src/main/java/org/apache/commons/exec/DefaultExecutor.java
URL: 
http://svn.apache.org/viewvc/commons/sandbox/exec/trunk/src/main/java/org/apache/commons/exec/DefaultExecutor.java?rev=607936&r1=607935&r2=607936&view=diff
==
--- 
commons/sandbox/exec/trunk/src/main/java/org/apache/commons/exec/DefaultExecutor.java
 (original)
+++ 
commons/sandbox/exec/trunk/src/main/java/org/apache/commons/exec/DefaultExecutor.java
 Tue Jan  1 14:50:59 2008
@@ -40,9 +40,12 @@
 /** the exit values considerd to be successful */
 private int[] exitValues;
 
-// TODO replace with generic launcher
+/** launches the command in a new process */
 private CommandLauncher launcher;
 
+/** optional cleanup of started processes */ 
+private ProcessDestroyer processDestroyer;
+
 /**
  * Default Constrctor
  */
@@ -81,6 +84,20 @@
 }
 
 /**
+ * @see org.apache.commons.exec.Executor#getProcessDestroyer()
+ */
+public ProcessDestroyer getProcessDestroyer() {
+  return this.processDestroyer;
+}
+
+/**
+ * @see 
org.apache.commons.exec.Executor#setProcessDestroyer(ProcessDestroyer)
+ */
+public void setProcessDestroyer(ProcessDestroyer processDestroyer) {
+  this.processDestroyer = processDestroyer;
+}
+
+/**
  * @see org.apache.commons.exec.Executor#getWorkingDirectory()
  */
 public File getWorkingDirectory() {
@@ -131,13 +148,14 @@
  */
 public void execute(final CommandLine command, final Map environment,
 final ExecuteResultHandler handler) throws ExecuteException, 
IOException {
+
 if (workingDirectory != null && !workingDirectory.exists()) {
 throw new IOException(workingDirectory + " doesn't exist.");
 }
 
 new Thread() {
 
-/* (non-Javadoc)
+/**
  * @see java.lang.Thread#run()
  */
 public void run() {
@@ -152,11 +170,6 @@
 handler.onProcessFailed(e);
 } catch(Exception e) {
 handler.onProcessFailed(new ExecuteException("Execution 
failed", exitValue, e));
-} finally {
-// remove the process to the list of those to destroy if 
the VM
-// exits
-//
-// processDestroyer.remove(process);
 }
 }
 }.start();
@@ -271,12 +284,14 @@
 process.destroy();
 throw e;
 }
+
 streams.start();
 
 try {
 // add the process to the list of those to destroy if the VM exits
-//
-// processDestroyer.add(process);
+if(this.getProcessDestroyer() != null) {
+  this.getProcessDestroyer().add(process);
+}
 
 if (watchdog != null) {
 watchdog.start(process);
@@ -301,7 +316,6 @@
 // TODO: include cause
 throw new IOException(e.getMessage());
 }
-
 }
 
 if(!this.isSuccess(exitValue)) {
@@ -310,10 +324,10 @@
 
 return exitValue;
 } finally {
-// remove the process to the list of those to destroy if the VM
-// exits
-//
-// processDestroyer.remove(process);
+// remove the process to the list of those to destroy if the VM 
exits
+if(t

svn commit: r607935 - /commons/sandbox/exec/trunk/src/main/java/org/apache/commons/exec/ExecuteException.java

2008-01-01 Thread sgoeschl
Author: sgoeschl
Date: Tue Jan  1 14:48:50 2008
New Revision: 607935

URL: http://svn.apache.org/viewvc?rev=607935&view=rev
Log:
Fixed formatting issue

Modified:

commons/sandbox/exec/trunk/src/main/java/org/apache/commons/exec/ExecuteException.java

Modified: 
commons/sandbox/exec/trunk/src/main/java/org/apache/commons/exec/ExecuteException.java
URL: 
http://svn.apache.org/viewvc/commons/sandbox/exec/trunk/src/main/java/org/apache/commons/exec/ExecuteException.java?rev=607935&r1=607934&r2=607935&view=diff
==
--- 
commons/sandbox/exec/trunk/src/main/java/org/apache/commons/exec/ExecuteException.java
 (original)
+++ 
commons/sandbox/exec/trunk/src/main/java/org/apache/commons/exec/ExecuteException.java
 Tue Jan  1 14:48:50 2008
@@ -22,10 +22,10 @@
 
 public class ExecuteException extends IOException {
 
-/**
- * Comment for serialVersionUID.
- */
-private static final long serialVersionUID = 3256443620654331699L;
+  /**
+   * Comment for serialVersionUID.
+   */
+  private static final long serialVersionUID = 3256443620654331699L;
 
/**
 * The underlying cause of this exception.




svn commit: r607922 - /commons/proper/pool/branches/1_4_RELEASE_BRANCH/checkstyle.xml

2008-01-01 Thread psteitz
Author: psteitz
Date: Tue Jan  1 13:38:05 2008
New Revision: 607922

URL: http://svn.apache.org/viewvc?rev=607922&view=rev
Log:
Eliminated license header test (obsoleted by RAT).

Modified:
commons/proper/pool/branches/1_4_RELEASE_BRANCH/checkstyle.xml

Modified: commons/proper/pool/branches/1_4_RELEASE_BRANCH/checkstyle.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/pool/branches/1_4_RELEASE_BRANCH/checkstyle.xml?rev=607922&r1=607921&r2=607922&view=diff
==
--- commons/proper/pool/branches/1_4_RELEASE_BRANCH/checkstyle.xml (original)
+++ commons/proper/pool/branches/1_4_RELEASE_BRANCH/checkstyle.xml Tue Jan  1 
13:38:05 2008
@@ -44,10 +44,6 @@
 
 
 
-
-
-
-
 
 
   




svn commit: r607921 - /commons/sandbox/exec/trunk/src/main/java/org/apache/commons/exec/ExecuteWatchdog.java

2008-01-01 Thread sgoeschl
Author: sgoeschl
Date: Tue Jan  1 13:29:57 2008
New Revision: 607921

URL: http://svn.apache.org/viewvc?rev=607921&view=rev
Log:
SANDBOX-204 Fixed javadocs

Modified:

commons/sandbox/exec/trunk/src/main/java/org/apache/commons/exec/ExecuteWatchdog.java

Modified: 
commons/sandbox/exec/trunk/src/main/java/org/apache/commons/exec/ExecuteWatchdog.java
URL: 
http://svn.apache.org/viewvc/commons/sandbox/exec/trunk/src/main/java/org/apache/commons/exec/ExecuteWatchdog.java?rev=607921&r1=607920&r2=607921&view=diff
==
--- 
commons/sandbox/exec/trunk/src/main/java/org/apache/commons/exec/ExecuteWatchdog.java
 (original)
+++ 
commons/sandbox/exec/trunk/src/main/java/org/apache/commons/exec/ExecuteWatchdog.java
 Tue Jan  1 13:29:57 2008
@@ -139,7 +139,7 @@
  * been terminated either by 'error', timeout or manual intervention.
  * Information will be discarded once a new process is ran.
  * 
- * @throws IOException
+ * @throws Exception
  * a wrapped exception over the one that was silently swallowed
  * and stored during the process run.
  */




svn commit: r607914 - in /commons/proper/fileupload/branches/b_1_2_1: pom.xml project.xml

2008-01-01 Thread jochen
Author: jochen
Date: Tue Jan  1 13:06:21 2008
New Revision: 607914

URL: http://svn.apache.org/viewvc?rev=607914&view=rev
Log:
The pom of commons-io 1.3.2 was deployed under org.apache.commons, but had the 
groupId commons-io.

Modified:
commons/proper/fileupload/branches/b_1_2_1/pom.xml
commons/proper/fileupload/branches/b_1_2_1/project.xml

Modified: commons/proper/fileupload/branches/b_1_2_1/pom.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/fileupload/branches/b_1_2_1/pom.xml?rev=607914&r1=607913&r2=607914&view=diff
==
--- commons/proper/fileupload/branches/b_1_2_1/pom.xml (original)
+++ commons/proper/fileupload/branches/b_1_2_1/pom.xml Tue Jan  1 13:06:21 2008
@@ -165,7 +165,7 @@
   provided
 
 
-  org.apache.commons
+  commons-io
   commons-io
   1.3.2
   true

Modified: commons/proper/fileupload/branches/b_1_2_1/project.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/fileupload/branches/b_1_2_1/project.xml?rev=607914&r1=607913&r2=607914&view=diff
==
--- commons/proper/fileupload/branches/b_1_2_1/project.xml (original)
+++ commons/proper/fileupload/branches/b_1_2_1/project.xml Tue Jan  1 13:06:21 
2008
@@ -177,7 +177,7 @@
   
   
 
-  org.apache.commons
+  commons-io
   commons-io
   1.3.2
   http://commons.apache.org/io/




svn commit: r607905 - /commons/proper/pool/branches/1_4_RELEASE_BRANCH/release-notes.jsl

2008-01-01 Thread psteitz
Author: psteitz
Date: Tue Jan  1 12:13:13 2008
New Revision: 607905

URL: http://svn.apache.org/viewvc?rev=607905&view=rev
Log:
Improved formatting, removed some extraneous elements.

Modified:
commons/proper/pool/branches/1_4_RELEASE_BRANCH/release-notes.jsl

Modified: commons/proper/pool/branches/1_4_RELEASE_BRANCH/release-notes.jsl
URL: 
http://svn.apache.org/viewvc/commons/proper/pool/branches/1_4_RELEASE_BRANCH/release-notes.jsl?rev=607905&r1=607904&r2=607905&view=diff
==
--- commons/proper/pool/branches/1_4_RELEASE_BRANCH/release-notes.jsl (original)
+++ commons/proper/pool/branches/1_4_RELEASE_BRANCH/release-notes.jsl Tue Jan  
1 12:13:13 2008
@@ -23,11 +23,7 @@
 
 
 
 
 
   
-Commons POOL Version ${version} 
- RELEASE NOTES
-
+ Commons POOL Version ${version} 
+ RELEASE NOTES
   
 
-  
+
 
-  
+
 
 
-${line}
-
+
+${line}
 
-For more information on Commons Pool, see
-${pom.url}
   
-Changes in this version include:
+  
+ SUMMARY OF CHANGES
 
   
 
@@ -78,7 +72,7 @@
 
 
 
-  Fixed bugs:
+BUG FIXES
 
 
   
@@ -88,12 +82,15 @@
 
 
 
-  Changes:
+BEHAVIOR CHANGES
 
 
   
 
   
+
+For more information on Commons Pool, see
+${pom.url}
   
 
 
@@ -104,17 +101,10 @@
   
 
   
-
-  
-  
- 
-
-  

 
   
 
-
   
   
   
@@ -144,8 +134,6 @@
   
 
   
-
   
-
   
 




svn commit: r607902 - /commons/proper/fileupload/tags/commons-fileupload-1.2.1rc2/

2008-01-01 Thread jochen
Author: jochen
Date: Tue Jan  1 11:59:02 2008
New Revision: 607902

URL: http://svn.apache.org/viewvc?rev=607902&view=rev
Log: (empty)

Added:
commons/proper/fileupload/tags/commons-fileupload-1.2.1rc2/
  - copied from r607901, commons/proper/fileupload/branches/b_1_2_1/



svn commit: r607901 - /commons/proper/fileupload/tags/commons-fileupload-1.2.1rc2/

2008-01-01 Thread jochen
Author: jochen
Date: Tue Jan  1 11:57:55 2008
New Revision: 607901

URL: http://svn.apache.org/viewvc?rev=607901&view=rev
Log: (empty)

Removed:
commons/proper/fileupload/tags/commons-fileupload-1.2.1rc2/



svn commit: r607900 - in /commons/proper/fileupload/branches/b_1_2_1: pom.xml project.xml

2008-01-01 Thread jochen
Author: jochen
Date: Tue Jan  1 11:56:26 2008
New Revision: 607900

URL: http://svn.apache.org/viewvc?rev=607900&view=rev
Log:
Fixed the groupId of commons-io

Modified:
commons/proper/fileupload/branches/b_1_2_1/pom.xml
commons/proper/fileupload/branches/b_1_2_1/project.xml

Modified: commons/proper/fileupload/branches/b_1_2_1/pom.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/fileupload/branches/b_1_2_1/pom.xml?rev=607900&r1=607899&r2=607900&view=diff
==
--- commons/proper/fileupload/branches/b_1_2_1/pom.xml (original)
+++ commons/proper/fileupload/branches/b_1_2_1/pom.xml Tue Jan  1 11:56:26 2008
@@ -165,7 +165,7 @@
   provided
 
 
-  commons-io
+  org.apache.commons
   commons-io
   1.3.2
   true

Modified: commons/proper/fileupload/branches/b_1_2_1/project.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/fileupload/branches/b_1_2_1/project.xml?rev=607900&r1=607899&r2=607900&view=diff
==
--- commons/proper/fileupload/branches/b_1_2_1/project.xml (original)
+++ commons/proper/fileupload/branches/b_1_2_1/project.xml Tue Jan  1 11:56:26 
2008
@@ -177,7 +177,7 @@
   
   
 
-  commons-io
+  org.apache.commons
   commons-io
   1.3.2
   http://commons.apache.org/io/




svn commit: r607897 - /commons/proper/fileupload/tags/commons-fileupload-1.2.1rc2/

2008-01-01 Thread jochen
Author: jochen
Date: Tue Jan  1 11:40:05 2008
New Revision: 607897

URL: http://svn.apache.org/viewvc?rev=607897&view=rev
Log:
Creating 1.2.1rc2

Added:
commons/proper/fileupload/tags/commons-fileupload-1.2.1rc2/
  - copied from r607896, commons/proper/fileupload/branches/b_1_2_1/



svn commit: r607896 - /commons/proper/fileupload/tags/commons-fileupload-1.2.1rc1/b_1_2_1/

2008-01-01 Thread jochen
Author: jochen
Date: Tue Jan  1 11:38:18 2008
New Revision: 607896

URL: http://svn.apache.org/viewvc?rev=607896&view=rev
Log: (empty)

Added:
commons/proper/fileupload/tags/commons-fileupload-1.2.1rc1/b_1_2_1/
  - copied from r607895, commons/proper/fileupload/branches/b_1_2_1/



svn commit: r607894 - /commons/proper/pool/branches/1_4_RELEASE_BRANCH/NOTICE.txt

2008-01-01 Thread psteitz
Author: psteitz
Date: Tue Jan  1 10:56:04 2008
New Revision: 607894

URL: http://svn.apache.org/viewvc?rev=607894&view=rev
Log:
Updated copyright date range.

Modified:
commons/proper/pool/branches/1_4_RELEASE_BRANCH/NOTICE.txt

Modified: commons/proper/pool/branches/1_4_RELEASE_BRANCH/NOTICE.txt
URL: 
http://svn.apache.org/viewvc/commons/proper/pool/branches/1_4_RELEASE_BRANCH/NOTICE.txt?rev=607894&r1=607893&r2=607894&view=diff
==
--- commons/proper/pool/branches/1_4_RELEASE_BRANCH/NOTICE.txt (original)
+++ commons/proper/pool/branches/1_4_RELEASE_BRANCH/NOTICE.txt Tue Jan  1 
10:56:04 2008
@@ -1,5 +1,5 @@
 Apache Commons Pool
-Copyright 1999-2007 The Apache Software Foundation
+Copyright 1999-2008 The Apache Software Foundation
 
 This product includes software developed by
 The Apache Software Foundation (http://www.apache.org/).




svn commit: r607870 - /commons/proper/fileupload/branches/b_1_2_1/pom.xml

2008-01-01 Thread jochen
Author: jochen
Date: Tue Jan  1 08:48:49 2008
New Revision: 607870

URL: http://svn.apache.org/viewvc?rev=607870&view=rev
Log:
Preparing second RC of 1.2.1

Modified:
commons/proper/fileupload/branches/b_1_2_1/pom.xml

Modified: commons/proper/fileupload/branches/b_1_2_1/pom.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/fileupload/branches/b_1_2_1/pom.xml?rev=607870&r1=607869&r2=607870&view=diff
==
--- commons/proper/fileupload/branches/b_1_2_1/pom.xml (original)
+++ commons/proper/fileupload/branches/b_1_2_1/pom.xml Tue Jan  1 08:48:49 2008
@@ -27,7 +27,7 @@
   4.0.0
   org.apache.commons.fileupload
   commons-fileupload
-  1.3-SNAPSHOT
+  1.2.1
   Commons FileUpload
   
 The FileUpload component provides a simple yet flexible means of adding 
support for multipart
@@ -167,7 +167,7 @@
 
   commons-io
   commons-io
-  1.4-SNAPSHOT
+  1.3.2
   true
 
   




svn commit: r607869 - in /commons/proper/fileupload/branches/b_1_2_1: ./ src/changes/ src/checkstyle/ src/java/org/apache/commons/fileupload/ src/java/org/apache/commons/fileupload/disk/ src/java/org/

2008-01-01 Thread jochen
Author: jochen
Date: Tue Jan  1 08:42:17 2008
New Revision: 607869

URL: http://svn.apache.org/viewvc?rev=607869&view=rev
Log:
commons-fileupload release 1.2.1rc2

Modified:
commons/proper/fileupload/branches/b_1_2_1/build.xml
commons/proper/fileupload/branches/b_1_2_1/pom.xml
commons/proper/fileupload/branches/b_1_2_1/project.xml
commons/proper/fileupload/branches/b_1_2_1/src/changes/changes.xml

commons/proper/fileupload/branches/b_1_2_1/src/checkstyle/fileupload_checks.xml

commons/proper/fileupload/branches/b_1_2_1/src/java/org/apache/commons/fileupload/FileUploadBase.java

commons/proper/fileupload/branches/b_1_2_1/src/java/org/apache/commons/fileupload/MultipartStream.java

commons/proper/fileupload/branches/b_1_2_1/src/java/org/apache/commons/fileupload/ParameterParser.java

commons/proper/fileupload/branches/b_1_2_1/src/java/org/apache/commons/fileupload/disk/DiskFileItem.java

commons/proper/fileupload/branches/b_1_2_1/src/java/org/apache/commons/fileupload/disk/DiskFileItemFactory.java

commons/proper/fileupload/branches/b_1_2_1/src/java/org/apache/commons/fileupload/servlet/FileCleanerCleanup.java

commons/proper/fileupload/branches/b_1_2_1/src/java/org/apache/commons/fileupload/util/FileItemHeadersImpl.java
commons/proper/fileupload/branches/b_1_2_1/xdocs/index.xml

Modified: commons/proper/fileupload/branches/b_1_2_1/build.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/fileupload/branches/b_1_2_1/build.xml?rev=607869&r1=607868&r2=607869&view=diff
==
--- commons/proper/fileupload/branches/b_1_2_1/build.xml (original)
+++ commons/proper/fileupload/branches/b_1_2_1/build.xml Tue Jan  1 08:42:17 
2008
@@ -1,6 +1,6 @@
 
 
-
 
 
@@ -26,7 +26,7 @@
   
   
   
-  
+  
   
   
   
@@ -37,7 +37,7 @@
   
   
   
-
+
 
 
 
@@ -180,7 +180,7 @@
 
 
 
-
+
 
 
   
@@ -192,15 +192,15 @@
   
 
 
-http://repo1.maven.org/maven/commons-io/jars/commons-io-1.4-SNAPSHOT.jar";>
+http://repo1.maven.org/maven/commons-io/jars/commons-io-1.3.2.jar";>
 
-http://people.apache.org/repo/m1-snapshot-repository/commons-io/jars/commons-io-1.4-SNAPSHOT.jar";>
+http://people.apache.org/repo/m1-snapshot-repository/commons-io/jars/commons-io-1.3.2.jar";>
 
   
   
 
 
-
+
 
   
   

Modified: commons/proper/fileupload/branches/b_1_2_1/pom.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/fileupload/branches/b_1_2_1/pom.xml?rev=607869&r1=607868&r2=607869&view=diff
==
--- commons/proper/fileupload/branches/b_1_2_1/pom.xml (original)
+++ commons/proper/fileupload/branches/b_1_2_1/pom.xml Tue Jan  1 08:42:17 2008
@@ -1,4 +1,8 @@
 
+http://maven.apache.org/POM/4.0.0";
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
 
-http://maven.apache.org/POM/4.0.0";
-xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
-xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
   
 org.apache.commons
 commons-parent

Modified: commons/proper/fileupload/branches/b_1_2_1/project.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/fileupload/branches/b_1_2_1/project.xml?rev=607869&r1=607868&r2=607869&view=diff
==
--- commons/proper/fileupload/branches/b_1_2_1/project.xml (original)
+++ commons/proper/fileupload/branches/b_1_2_1/project.xml Tue Jan  1 08:42:17 
2008
@@ -22,7 +22,7 @@
   FileUpload
   org.apache.commons.fileupload
   commons-fileupload
-  1.3-SNAPSHOT
+  1.2.1
   2002
   File upload component for Java servlets
   
@@ -78,6 +78,11 @@
 
   
 
+  1.2.1
+  1.2.1
+  commons-fileupload-1.2.1
+
+
   1.2
   1.2
   commons-fileupload-1.2
@@ -174,7 +179,7 @@
 
   commons-io
   commons-io
-  1.4-SNAPSHOT
+  1.3.2
   http://commons.apache.org/io/
 
 

Modified: commons/proper/fileupload/branches/b_1_2_1/src/changes/changes.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/fileupload/branches/b_1_2_1/src/changes/changes.xml?rev=607869&r1=607868&r2=607869&view=diff
==
--- commons/proper/fileupload/branches/b_1_2_1/src/changes/changes.xml 
(original)
+++ commons/proper/fileupload/branches/b_1_2_1/src/changes/changes.xml Tue Jan  
1 08:42:17 2008
@@ -41,7 +41,7 @@
   
 
   
-
+
   
 Upgrade to commons-io-1.4-SNAPSHOT, in order to use the new
 FileCleaningTracker and fix issues with FileCleaner.

Modified: 
commons/proper/fileupload/branches/b_1_2_1/src/checkstyle/fileupload_checks.xml
URL: 
http://svn.apache.org/viewvc/c