Author: ggregory
Date: Wed Sep 28 17:41:28 2011
New Revision: 1176978
URL: http://svn.apache.org/viewvc?rev=1176978&view=rev
Log:
Prepare for 2.1 release.
Added:
commons/proper/io/trunk/src/site/xdoc/upgradeto2_1.xml
Modified:
commons/proper/io/trunk/pom.xml
commons/proper/io/trunk/src/site/site.xml
commons/proper/io/trunk/src/site/xdoc/index.xml
Modified: commons/proper/io/trunk/pom.xml
URL:
http://svn.apache.org/viewvc/commons/proper/io/trunk/pom.xml?rev=1176978&r1=1176977&r2=1176978&view=diff
==============================================================================
--- commons/proper/io/trunk/pom.xml (original)
+++ commons/proper/io/trunk/pom.xml Wed Sep 28 17:41:28 2011
@@ -24,7 +24,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
- <version>2.1-SNAPSHOT</version>
+ <version>2.1</version>
<name>Commons IO</name>
<inceptionYear>2002</inceptionYear>
Modified: commons/proper/io/trunk/src/site/site.xml
URL:
http://svn.apache.org/viewvc/commons/proper/io/trunk/src/site/site.xml?rev=1176978&r1=1176977&r2=1176978&view=diff
==============================================================================
--- commons/proper/io/trunk/src/site/site.xml (original)
+++ commons/proper/io/trunk/src/site/site.xml Wed Sep 28 17:41:28 2011
@@ -28,7 +28,9 @@
<item name="Download"
href="http://commons.apache.org/io/download_io.cgi"/>
<item name="User guide" href="/description.html"/>
<item name="Best practices" href="/bestpractices.html"/>
- <item name="Javadoc (2.0.1)"
href="api-release/index.html"/>
+ <item name="Javadoc (2.1)"
href="api-release/index.html"/>
+ <item name="Javadoc (2.0.1)" href="api-2.0.1/index.html"/>
+ <item name="Javadoc (2.0)" href="api-2.0/index.html"/>
<item name="Javadoc (1.4)" href="api-1.4/index.html"/>
</menu>
Modified: commons/proper/io/trunk/src/site/xdoc/index.xml
URL:
http://svn.apache.org/viewvc/commons/proper/io/trunk/src/site/xdoc/index.xml?rev=1176978&r1=1176977&r2=1176978&view=diff
==============================================================================
--- commons/proper/io/trunk/src/site/xdoc/index.xml (original)
+++ commons/proper/io/trunk/src/site/xdoc/index.xml Wed Sep 28 17:41:28 2011
@@ -47,17 +47,27 @@ There are six main areas included:
<!-- ================================================== -->
<section name="Releases">
-<subsection name="Commons IO 2.0.1 (requires JDK 1.5+)">
+<subsection name="Commons IO 2.1 (requires JDK 1.5+)">
<p>
-Commons IO 2.0.1 is the latest version and requires a minimum of JDK 1.5 -
+Commons IO 2.1 is the latest version and requires a minimum of JDK 1.5 -
<a href="http://commons.apache.org/io/download_io.cgi">Download now!</a>
</p>
<p>
-View the <a href="upgradeto2_0_1.html">Release Notes</a> and
+View the <a href="upgradeto2_1.html">Release Notes</a> and
<a href="api-release/index.html">JavaDoc API documents</a>
</p>
</subsection>
+<subsection name="Commons IO 2.0.1 (requires JDK 1.5+)">
+<p>
+Commons IO 2.0.1 is a bug fix version and requires a minimum of JDK 1.5.
+</p>
+<p>
+View the <a href="upgradeto2_0_1.html">Release Notes</a> and
+<a href="api-2.0.1/index.html">JavaDoc API documents</a>
+</p>
+</subsection>
+
<subsection name="Commons IO 2.0 (requires JDK 1.5+)">
<p>
Commons IO 2.0 was the first release that required a minimum of JDK 1.5.
Added: commons/proper/io/trunk/src/site/xdoc/upgradeto2_1.xml
URL:
http://svn.apache.org/viewvc/commons/proper/io/trunk/src/site/xdoc/upgradeto2_1.xml?rev=1176978&view=auto
==============================================================================
--- commons/proper/io/trunk/src/site/xdoc/upgradeto2_1.xml (added)
+++ commons/proper/io/trunk/src/site/xdoc/upgradeto2_1.xml Wed Sep 28 17:41:28
2011
@@ -0,0 +1,82 @@
+<?xml version="1.0"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<document>
+ <properties>
+ <title>Upgrade from 2.0.1 to 2.1</title>
+ <author email="[email protected]">Commons Documentation Team</author>
+ </properties>
+<body>
+
+<section name="Upgrade">
+<p>
+These are the release notes and advice for upgrading Commons-IO from
+version 2.0.1 to version 2.1
+<source>
+Commons IO is a package of Java utility classes for java.io's hierarchy.
+Classes in this package are considered to be so standard and of such high
+reuse as to justify existence in java.io.
+
+Commons IO contains utility classes, stream implementations, file filters,
+file comparators and endian transformation classes.
+
+Compatibility with 2.0.1 and 1.4
+--------------------------------
+
+Binary compatible - Yes
+
+Source compatible - Yes
+
+Semantic compatible - Yes
+ Check the bug fixes section for semantic bug fixes
+
+Commons IO 2.1 requires a minimum of JDK 1.5
+ (Commons IO 1.4 had a minimum of JDK 1.3)
+
+
+New features since 2.0.1
+------------------------
+
+o Use standard Maven directory layout Issue: IO-285. Thanks to ggregory.
+o Add IOUtils API toString for URL and URI to get contents Issue: IO-284.
Thanks to ggregory.
+o Add API FileUtils.copyFile(File input, OutputStream output) Issue: IO-282.
Thanks to ggregory.
+o FileAlterationObserver has no getter for FileFilter Issue: IO-262.
+o Add FileUtils.getFile API with varargs parameter Issue: IO-261.
+o Add new APPEND parameter for writing string into files Issue: IO-182.
+o Add new read method "toByteArray" to handle InputStream with known size.
Issue: IO-251. Thanks to Marco Albini.
+
+Fixed Bugs since 2.0.1
+----------------------
+
+o Dubious use of mkdirs() return code Issue: IO-280. Thanks to sebb.
+o ReaderInputStream enters infinite loop when it encounters an unmappable
character Issue: IO-277.
+o FileUtils.moveFile() JavaDoc should specify FileExistsException thrown
Issue: IO-264.
+o ClassLoaderObjectInputStream does not handle Proxy classes Issue: IO-260.
+o Tailer returning partial lines when reaching EOF before EOL Issue: IO-274.
Thanks to Frank Grimes.
+o FileUtils.copyFile() throws IOException when copying large files to a shared
directory (on Windows) Issue: IO-266. Thanks to Igor Smereka.
+o FileSystemUtils.freeSpaceKb throws exception for Windows volumes with no
visible files.
+ Improve coverage by also looking for hidden files. Issue: IO-263.
Thanks to Gil Adam.
+
+Changes since 2.0.1
+-------------------
+o FileAlterationMonitor.stop(boolean allowIntervalToFinish) Issue: IO-259.
+</source>
+</p>
+</section>
+
+</body>
+</document>