Return-Path: Delivered-To: apmail-commons-commits-archive@locus.apache.org Received: (qmail 99017 invoked from network); 12 Jan 2008 06:35:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Jan 2008 06:35:24 -0000 Received: (qmail 95214 invoked by uid 500); 12 Jan 2008 06:35:12 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 95152 invoked by uid 500); 12 Jan 2008 06:35:12 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 95143 invoked by uid 99); 12 Jan 2008 06:35:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jan 2008 22:35:12 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Jan 2008 06:35:07 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id B0E791A9832; Fri, 11 Jan 2008 22:34:58 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r611375 - in /commons/proper/io/trunk: RELEASE-NOTES.txt xdocs/building.xml xdocs/index.xml xdocs/upgradeto1_4.xml Date: Sat, 12 Jan 2008 06:34:58 -0000 To: commits@commons.apache.org From: niallp@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080112063458.B0E791A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: niallp Date: Fri Jan 11 22:34:57 2008 New Revision: 611375 URL: http://svn.apache.org/viewvc?rev=611375&view=rev Log: Update docs and release notes for IO 1.4 Modified: commons/proper/io/trunk/RELEASE-NOTES.txt commons/proper/io/trunk/xdocs/building.xml commons/proper/io/trunk/xdocs/index.xml commons/proper/io/trunk/xdocs/upgradeto1_4.xml Modified: commons/proper/io/trunk/RELEASE-NOTES.txt URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/RELEASE-NOTES.txt?rev=611375&r1=611374&r2=611375&view=diff ============================================================================== --- commons/proper/io/trunk/RELEASE-NOTES.txt (original) +++ commons/proper/io/trunk/RELEASE-NOTES.txt Fri Jan 11 22:34:57 2008 @@ -12,7 +12,7 @@ reuse as to justify existence in java.io. Commons IO contains utility classes, stream implementations, file filters, -and endian transformation classes. +file comparators and endian transformation classes. Compatibility with 1.3.2 @@ -30,6 +30,11 @@ those implementations, can be used with JDK 1.3 (see IO IO-127). +Deprecations from 1.3.2 +----------------------- +- FileCleaner deprecated in favour of FileCleaningTracker [see IO-116] + + Bug fixes from 1.3.2 -------------------- - FileUtils @@ -42,6 +47,7 @@ - HexDump - HexDump's use of static StringBuffers isn't thread-safe [IO-136] + Enhancements from 1.3.2 ----------------------- - FileUtils @@ -82,10 +88,10 @@ - Add Singleton Constants to several stream classes [IO-143] - PrefixFileFilter [IO-126] - - Add faciltiy to specify case sensitivty on prefix matching + - Add faciltiy to specify case sensitivity on prefix matching - SuffixFileFilter [IO-126] - - Add faciltiy to specify case sensitivty on suffix matching + - Add faciltiy to specify case sensitivity on suffix matching - RegexFileFilter [IO-74] - Add new regular expression file filter implementation Modified: commons/proper/io/trunk/xdocs/building.xml URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/xdocs/building.xml?rev=611375&r1=611374&r2=611375&view=diff ============================================================================== --- commons/proper/io/trunk/xdocs/building.xml (original) +++ commons/proper/io/trunk/xdocs/building.xml Fri Jan 11 22:34:57 2008 @@ -24,11 +24,13 @@

- Commons IO uses Maven or + Commons IO uses Maven 1, + Maven 2 or Ant as a build system.

You may also be interested in the upgrade notes:
+ Upgrade from 1.3.2 to 1.4
Upgrade from 1.3, or 1.3.1 to 1.3.2
Upgrade from 1.3 to 1.3.1
Upgrade from 1.2 to 1.3
@@ -36,8 +38,21 @@ Upgrade from 1.0 to 1.1

+
+

+ The following Maven 2 commands can be used to build validator: +

+
    +
  • mvn clean - clean up
  • +
  • mvn test - compile and run the unit tests
  • +
  • mvn site - create io documentation
  • +
  • mvn package - build the jar
  • +
  • mvn install - build the jar and install in local maven repository
  • +
  • mvn site assembly:assembly - Create the source and binary distributions
  • +
+
-
+

To build a jar file, change into IO's root directory and run "maven jar". The result will be in the "target" subdirectory. Modified: commons/proper/io/trunk/xdocs/index.xml URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/xdocs/index.xml?rev=611375&r1=611374&r2=611375&view=diff ============================================================================== --- commons/proper/io/trunk/xdocs/index.xml (original) +++ commons/proper/io/trunk/xdocs/index.xml Fri Jan 11 22:34:57 2008 @@ -27,10 +27,11 @@ Commons IO is a library of utilities to assist with developing IO functionality.

-There are three main areas included: +There are four main areas included:

  • Utility classes - with static methods to perform common tasks
  • Filters - various implementations of file filters
  • +
  • Comparators - various implementations of java.util.Comparator for files
  • Streams - useful stream, reader and writer implementations

@@ -46,7 +47,8 @@ The JavaDoc API documents are available online:

    -
  • The current release 1.3.2
  • +
  • The current release 1.4
  • +
  • The previous version 1.3.2
  • The previous version 1.3.1
  • The previous version 1.3
  • The previous version 1.2
  • @@ -61,9 +63,9 @@

    -The latest version is v1.3.2. - +The latest version is v1.4. - Download now!
    -The upgrade notes are also available. +The upgrade notes are also available.

    Modified: commons/proper/io/trunk/xdocs/upgradeto1_4.xml URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/xdocs/upgradeto1_4.xml?rev=611375&r1=611374&r2=611375&view=diff ============================================================================== --- commons/proper/io/trunk/xdocs/upgradeto1_4.xml (original) +++ commons/proper/io/trunk/xdocs/upgradeto1_4.xml Fri Jan 11 22:34:57 2008 @@ -17,7 +17,7 @@ --> - Upgrade from 1.3 to 1.4 + Upgrade from 1.3.2 to 1.4 Commons Documentation Team @@ -25,18 +25,18 @@

    These are the release notes and advice for upgrading Commons-IO from -version 1.3 to version 1.4. +version 1.3.2 to version 1.4. 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, -and endian transformation classes. +file comparators and endian transformation classes. -Compatibility with 1.3 ----------------------- +Compatibility with 1.3.2 +------------------------ Binary compatible - Yes Source compatible - Yes @@ -44,19 +44,96 @@ Semantic compatible - Yes Check the bug fixes section for semantic bug fixes +Commons IO 1.4 introduces four new implementations which depend on JDK 1.4 features +(CharSequenceReader, FileWriterWithEncoding, IOExceptionWithCause and RegexFileFilter). +It has been built with the JDK source and target options set to JDK 1.3 and, except for +those implementations, can be used with JDK 1.3 (see IO IO-127). -Deprecations from 1.3 ---------------------- -- FileCleaner deprecated, replaced by FileCleaningTracker - - the old class allowed static use only. - - instances of the new class may be put into arbitrary scope. +Deprecations from 1.3.2 +----------------------- +- FileCleaner deprecated in favour of FileCleaningTracker [see IO-116] -Bug fixes from 1.2 ------------------- -Enhancements from 1.2 ---------------------- +Bug fixes from 1.3.2 +-------------------- +- FileUtils + - forceDelete of orphaned Softlinks does not work [IO-147] + - Infinite loop on FileUtils.copyDirectory when the destination directory is within + the source directory [IO-141] + - Add a copyDirectory() method that makes use of FileFilter [IO-105] + - Add moveDirectory() and moveFile() methods [IO-77] + +- HexDump + - HexDump's use of static StringBuffers isn't thread-safe [IO-136] + + +Enhancements from 1.3.2 +----------------------- +- FileUtils + - Add a deleteQuietly method [IO-135] + +- FilenameUtils + - Add file name extension separator constants[IO-149] + +- IOExceptionWithCause [IO-148] + - Add a new IOException implementation with constructors which take a cause + +- TeeInputStream [IO-129] + - Add new Tee input stream implementation + +- FileWriterWithEncoding [IO-153] + - Add new File Writer implementation that accepts an encoding + +- CharSequenceReader [IO-138] + - Add new Reader implementation that handles any CharSequence (String, + StringBuffer, StringBuilder or CharBuffer) + +- ThesholdingOuputStream [IO-121] + - Add a reset() method which sets the count of the bytes written back to zero. + +- DeferredFileOutputStream [IO-130] + - Add support for temporary files + +- ByteArrayOutputStream + - Add a new write(InputStream) method [IO-152] + +- New Closed Input/Output stream implementations [IO-122] + - AutoCloseInputStream - automatically closes and discards the underlying input stream + - ClosedInputStream - returns -1 for any read attempts + - ClosedOutputStream - throws an IOException for any write attempts + - CloseShieldInputStream - prevents the underlying input stream from being closed. + - CloseShieldOutputStream - prevents the underlying output stream from being closed. + +- Add Singleton Constants to several stream classes [IO-143] + +- PrefixFileFilter [IO-126] + - Add faciltiy to specify case sensitivity on prefix matching + +- SuffixFileFilter [IO-126] + - Add faciltiy to specify case sensitivity on suffix matching + +- RegexFileFilter [IO-74] + - Add new regular expression file filter implementation + +- Make IOFileFilter implementations Serializable [IO-131] + +- Improve IOFileFilter toString() methods [IO-120] + +- Make fields final so classes are immutable/threadsafe [IO-133] + - changes to Age, Delegate, Name, Not, Prefix, Regex, Size, Suffix and Wildcard IOFileFilter + implementations. + +- IOCase + - Add a compare method to IOCase [IO-144] + +- Add a package of java.util.Comparator implementations for files [IO-145] + - DefaultFileComparator - compare files using the default File.compareTo(File) method. + - ExtensionFileComparator - compares files using file name extensions. + - LastModifiedFileComparator - compares files using the last modified date/time. + - NameFileComparator - compares files using file names. + - PathFileComparator - compares files using file paths. + - SizeFileComparator - compares files using file sizes.