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 2019/08/10 22:38:27 UTC

[commons-vfs] branch release updated (eca7f1a -> eabdee3)

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a change to branch release
in repository https://gitbox.apache.org/repos/asf/commons-vfs.git.


    from eca7f1a  Fix download links.
     add 14993fd  Tweak RNs.
     add cb3dccf  Add missing -bin.
     add 496e633  Merge remote-tracking branch 'origin/release'
     add 4a58c53  Fix the site's source repository link.
     add 562406f  Ensure -bin is used for binary builds
     add 396392e  Create slot for next release.
     add fda7227  [VFS-725][Local] org.apache.commons.vfs2.FileContent.getLastModifiedTime() is losing milliseconds (always ends in 000).
     add a8cd5b8  [VFS-724] FileContent#getByteArray() throws IllegalArgumentException: Buffer size <= 0 when file size is 0.
     add 8112273  Set BC version to 2.4.
     add 61130e5  checkstyle 8.22 -> 8.23.
     add 4a6de55  Next version will be 2.4.1.
     add 1ffa1df  Javadoc fixes.
     add f4efd34  Escape XML reserved char.
     new aade3ca  Preparing for next release.
     new f9eeb69  Preparing for next release.
     new 7a1fa01  Preparing for next release.
     new 4200907  Preparing for next release.
     new eabdee3  Preparing for next release.

The 5 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 README.md                                          |  4 +-
 RELEASE-NOTES.txt                                  | 45 ++++++++++--
 commons-vfs2-distribution/pom.xml                  |  4 +-
 commons-vfs2-examples/pom.xml                      |  4 +-
 commons-vfs2-sandbox/pom.xml                       |  4 +-
 commons-vfs2/pom.xml                               |  9 ++-
 .../java/org/apache/commons/vfs2/FileContent.java  |  3 -
 .../java/org/apache/commons/vfs2/FilesCache.java   |  6 +-
 .../commons/vfs2/impl/VirtualFileSystem.java       |  2 +-
 .../commons/vfs2/provider/DefaultFileContent.java  | 12 ++--
 .../vfs2/provider/LayeredFileNameParser.java       |  6 +-
 .../vfs2/provider/bzip2/Bzip2FileObject.java       |  2 +-
 .../commons/vfs2/provider/gzip/GzipFileObject.java |  2 +-
 .../commons/vfs2/provider/local/LocalFile.java     |  8 ++-
 .../vfs2/provider/url/UrlFileNameParser.java       |  2 +-
 .../commons/vfs2/tasks/AbstractSyncTask.java       |  2 +-
 .../apache/commons/vfs2/util/FileObjectUtils.java  |  2 +-
 .../vfs2/provider/DefaultFileContentTest.java      | 84 +++++++++++++++++-----
 .../{read-tests/empty.txt => size-0-file.bin}      |  0
 pom.xml                                            | 16 +++--
 src/changes/changes.xml                            | 13 +++-
 src/site/xdoc/download_vfs.xml                     | 26 +++----
 src/site/xdoc/index.xml                            |  5 +-
 src/site/xdoc/mail-lists.xml                       |  2 +-
 24 files changed, 186 insertions(+), 77 deletions(-)
 copy commons-vfs2/src/test/resources/test-data/{read-tests/empty.txt => size-0-file.bin} (100%)


[commons-vfs] 03/05: Preparing for next release.

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch release
in repository https://gitbox.apache.org/repos/asf/commons-vfs.git

commit 7a1fa0197f10cc33bb06a5acfea6a0e34846774e
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Aug 10 18:34:01 2019 -0400

    Preparing for next release.
---
 README.md                      |  4 ++--
 src/site/xdoc/download_vfs.xml | 26 +++++++++++++-------------
 2 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/README.md b/README.md
index 2afade9..83e22b5 100644
--- a/README.md
+++ b/README.md
@@ -46,7 +46,7 @@ Apache Commons VFS Project
 [![Build Status](https://travis-ci.org/apache/commons-vfs.svg)](https://travis-ci.org/apache/commons-vfs)
 [![Coverage Status](https://coveralls.io/repos/apache/commons-vfs/badge.svg)](https://coveralls.io/r/apache/commons-vfs)
 [![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.apache.commons/commons-vfs2/badge.svg)](https://maven-badges.herokuapp.com/maven-central/org.apache.commons/commons-vfs2/)
-[![Javadocs](https://javadoc.io/badge/org.apache.commons/commons-vfs2/2.4.svg)](https://javadoc.io/doc/org.apache.commons/commons-vfs2/2.4)
+[![Javadocs](https://javadoc.io/badge/org.apache.commons/commons-vfs2/2.4.1.svg)](https://javadoc.io/doc/org.apache.commons/commons-vfs2/2.4.1)
 
 Apache Commons VFS is a Virtual File System library.
 
@@ -67,7 +67,7 @@ Alternatively you can pull it from the central Maven repositories:
 <dependency>
   <groupId>org.apache.commons</groupId>
   <artifactId>commons-vfs2</artifactId>
-  <version>2.4</version>
+  <version>2.4.1</version>
 </dependency>
 ```
 
diff --git a/src/site/xdoc/download_vfs.xml b/src/site/xdoc/download_vfs.xml
index 3374dca..493c4d0 100644
--- a/src/site/xdoc/download_vfs.xml
+++ b/src/site/xdoc/download_vfs.xml
@@ -113,32 +113,32 @@ limitations under the License.
       </p>
     </subsection>
     </section>
-    <section name="Apache Commons VFS Project 2.4 (requires Java 8)">
+    <section name="Apache Commons VFS Project 2.4.1 (requires Java 8)">
       <subsection name="Binaries">
         <table>
           <tr>
-              <td><a href="[preferred]/commons/vfs/binaries/commons-vfs-2.4-bin.tar.gz">commons-vfs-2.4-bin.tar.gz</a></td>
-              <td><a href="https://www.apache.org/dist/commons/vfs/binaries/commons-vfs-2.4-bin.tar.gz.sha512">sha512</a></td>
-              <td><a href="https://www.apache.org/dist/commons/vfs/binaries/commons-vfs-2.4-bin.tar.gz.asc">pgp</a></td>
+              <td><a href="[preferred]/commons/vfs/binaries/commons-vfs-2.4.1-bin.tar.gz">commons-vfs-2.4.1-bin.tar.gz</a></td>
+              <td><a href="https://www.apache.org/dist/commons/vfs/binaries/commons-vfs-2.4.1-bin.tar.gz.sha512">sha512</a></td>
+              <td><a href="https://www.apache.org/dist/commons/vfs/binaries/commons-vfs-2.4.1-bin.tar.gz.asc">pgp</a></td>
           </tr>
           <tr>
-              <td><a href="[preferred]/commons/vfs/binaries/commons-vfs-2.4-bin.zip">commons-vfs-2.4-bin.zip</a></td>
-              <td><a href="https://www.apache.org/dist/commons/vfs/binaries/commons-vfs-2.4-bin.zip.sha512">sha512</a></td>
-              <td><a href="https://www.apache.org/dist/commons/vfs/binaries/commons-vfs-2.4-bin.zip.asc">pgp</a></td>
+              <td><a href="[preferred]/commons/vfs/binaries/commons-vfs-2.4.1-bin.zip">commons-vfs-2.4.1-bin.zip</a></td>
+              <td><a href="https://www.apache.org/dist/commons/vfs/binaries/commons-vfs-2.4.1-bin.zip.sha512">sha512</a></td>
+              <td><a href="https://www.apache.org/dist/commons/vfs/binaries/commons-vfs-2.4.1-bin.zip.asc">pgp</a></td>
           </tr>
         </table>
       </subsection>
       <subsection name="Source">
         <table>
           <tr>
-              <td><a href="[preferred]/commons/vfs/source/commons-vfs-2.4-src.tar.gz">commons-vfs-2.4-src.tar.gz</a></td>
-              <td><a href="https://www.apache.org/dist/commons/vfs/source/commons-vfs-2.4-src.tar.gz.sha512">sha512</a></td>
-              <td><a href="https://www.apache.org/dist/commons/vfs/source/commons-vfs-2.4-src.tar.gz.asc">pgp</a></td>
+              <td><a href="[preferred]/commons/vfs/source/commons-vfs-2.4.1-src.tar.gz">commons-vfs-2.4.1-src.tar.gz</a></td>
+              <td><a href="https://www.apache.org/dist/commons/vfs/source/commons-vfs-2.4.1-src.tar.gz.sha512">sha512</a></td>
+              <td><a href="https://www.apache.org/dist/commons/vfs/source/commons-vfs-2.4.1-src.tar.gz.asc">pgp</a></td>
           </tr>
           <tr>
-              <td><a href="[preferred]/commons/vfs/source/commons-vfs-2.4-src.zip">commons-vfs-2.4-src.zip</a></td>
-              <td><a href="https://www.apache.org/dist/commons/vfs/source/commons-vfs-2.4-src.zip.sha512">sha512</a></td>
-              <td><a href="https://www.apache.org/dist/commons/vfs/source/commons-vfs-2.4-src.zip.asc">pgp</a></td>
+              <td><a href="[preferred]/commons/vfs/source/commons-vfs-2.4.1-src.zip">commons-vfs-2.4.1-src.zip</a></td>
+              <td><a href="https://www.apache.org/dist/commons/vfs/source/commons-vfs-2.4.1-src.zip.sha512">sha512</a></td>
+              <td><a href="https://www.apache.org/dist/commons/vfs/source/commons-vfs-2.4.1-src.zip.asc">pgp</a></td>
           </tr>
         </table>
       </subsection>


[commons-vfs] 02/05: Preparing for next release.

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch release
in repository https://gitbox.apache.org/repos/asf/commons-vfs.git

commit f9eeb69707240a37207805c25a5787606d3df4ce
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Aug 10 18:32:16 2019 -0400

    Preparing for next release.
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index cae1b2a..aa51dba 100644
--- a/pom.xml
+++ b/pom.xml
@@ -158,7 +158,7 @@
     <commons.siteOutputDirectory>${basedir}/../target/site</commons.siteOutputDirectory>
     <commons.releaseNotesLocation>${basedir}/../RELEASE-NOTES.txt</commons.releaseNotesLocation>
     <commons.distSvnStagingUrl>scm:svn:https://dist.apache.org/repos/dist/dev/commons/${commons.componentid}</commons.distSvnStagingUrl>
-    <commons.release.version>2.4</commons.release.version>
+    <commons.release.version>2.4.1</commons.release.version>
     <!-- Commons Release Plugin -->
     <commons.bc.version>2.4</commons.bc.version>
     <commons.releaseManagerName>Gary Gregory</commons.releaseManagerName>    


[commons-vfs] 05/05: Preparing for next release.

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch release
in repository https://gitbox.apache.org/repos/asf/commons-vfs.git

commit eabdee306d5b0a73859a0aa841a5c0ccfe8b337a
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Aug 10 18:37:49 2019 -0400

    Preparing for next release.
---
 commons-vfs2-distribution/pom.xml | 4 ++--
 commons-vfs2-examples/pom.xml     | 4 ++--
 commons-vfs2-sandbox/pom.xml      | 4 ++--
 commons-vfs2/pom.xml              | 4 ++--
 pom.xml                           | 2 +-
 5 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/commons-vfs2-distribution/pom.xml b/commons-vfs2-distribution/pom.xml
index df24cba..0e84b6f 100644
--- a/commons-vfs2-distribution/pom.xml
+++ b/commons-vfs2-distribution/pom.xml
@@ -23,14 +23,14 @@ limitations under the License.
   <name>Apache Commons VFS Distribution</name>
   <groupId>org.apache.commons</groupId>
   <artifactId>commons-vfs2-distribution</artifactId>
-  <version>2.4.1-SNAPSHOT</version>
+  <version>2.4.1</version>
   <packaging>pom</packaging>
   <description>Apache Commons VFS is a Virtual File System library - Distribution archives.</description>
 
   <parent>
     <groupId>org.apache.commons</groupId>
     <artifactId>commons-vfs2-project</artifactId>
-    <version>2.4.1-SNAPSHOT</version>
+    <version>2.4.1</version>
     <relativePath>../</relativePath>
   </parent>
 
diff --git a/commons-vfs2-examples/pom.xml b/commons-vfs2-examples/pom.xml
index c6ae5c0..d30ea8b 100644
--- a/commons-vfs2-examples/pom.xml
+++ b/commons-vfs2-examples/pom.xml
@@ -24,13 +24,13 @@
   <name>Apache Commons VFS Examples</name>
   <groupId>org.apache.commons</groupId>
   <artifactId>commons-vfs2-examples</artifactId>
-  <version>2.4.1-SNAPSHOT</version>
+  <version>2.4.1</version>
   <description>Apache Commons VFS is a Virtual File System library - Examples.</description>
 
   <parent>
     <groupId>org.apache.commons</groupId>
     <artifactId>commons-vfs2-project</artifactId>
-    <version>2.4.1-SNAPSHOT</version>
+    <version>2.4.1</version>
     <relativePath>../</relativePath>
   </parent>
 
diff --git a/commons-vfs2-sandbox/pom.xml b/commons-vfs2-sandbox/pom.xml
index 75f59aa..73670f4 100644
--- a/commons-vfs2-sandbox/pom.xml
+++ b/commons-vfs2-sandbox/pom.xml
@@ -24,13 +24,13 @@
   <name>Apache Commons VFS Sandbox</name>
   <groupId>org.apache.commons</groupId>
   <artifactId>commons-vfs2-sandbox</artifactId>
-  <version>2.4.1-SNAPSHOT</version>
+  <version>2.4.1</version>
   <description>Apache Commons VFS is a Virtual File System library - Sandbox.</description>
 
   <parent>
     <groupId>org.apache.commons</groupId>
     <artifactId>commons-vfs2-project</artifactId>
-    <version>2.4.1-SNAPSHOT</version>
+    <version>2.4.1</version>
     <relativePath>../</relativePath>
   </parent>
 
diff --git a/commons-vfs2/pom.xml b/commons-vfs2/pom.xml
index 1d7ef19..f0bcfde 100644
--- a/commons-vfs2/pom.xml
+++ b/commons-vfs2/pom.xml
@@ -23,14 +23,14 @@
 
   <name>Apache Commons VFS</name>
   <artifactId>commons-vfs2</artifactId>
-  <version>2.4.1-SNAPSHOT</version>
+  <version>2.4.1</version>
   <description>Apache Commons VFS is a Virtual File System library.</description>
   <url>http://commons.apache.org/proper/commons-vfs/</url>
 
   <parent>
     <groupId>org.apache.commons</groupId>
     <artifactId>commons-vfs2-project</artifactId>
-    <version>2.4.1-SNAPSHOT</version>
+    <version>2.4.1</version>
     <relativePath>../</relativePath>
   </parent>
 
diff --git a/pom.xml b/pom.xml
index aa51dba..9294060 100644
--- a/pom.xml
+++ b/pom.xml
@@ -29,7 +29,7 @@
   <name>Apache Commons VFS Project</name>
   <description>Apache Commons VFS is a Virtual File System library.</description>
   <packaging>pom</packaging>
-  <version>2.4.1-SNAPSHOT</version>
+  <version>2.4.1</version>
 
   <url>http://commons.apache.org/proper/commons-vfs/</url>
   <inceptionYear>2002</inceptionYear>


[commons-vfs] 04/05: Preparing for next release.

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch release
in repository https://gitbox.apache.org/repos/asf/commons-vfs.git

commit 4200907ab92dadbe68671641c9823523269166b7
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Aug 10 18:35:37 2019 -0400

    Preparing for next release.
---
 RELEASE-NOTES.txt | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt
index 6df5490..764c823 100644
--- a/RELEASE-NOTES.txt
+++ b/RELEASE-NOTES.txt
@@ -1,3 +1,32 @@
+              Apache Commons VFS Project 2.4.1
+              RELEASE NOTES
+              2019-08-10    
+
+The Apache Commons VFS Project team is pleased to announce the release of Apache Commons VFS Project 2.4.1-SNAPSHOT
+
+Apache Commons VFS is a Virtual File System library.
+
+New features and bug fix release.
+
+Changes in this version include:
+
+Fixed Bugs:
+o VFS-725:  [Local] org.apache.commons.vfs2.FileContent.getLastModifiedTime() is losing milliseconds (always ends in 000). Thanks to Gary Gregory.
+o VFS-724:  FileContent#getByteArray() throws IllegalArgumentException: Buffer size <= 0 when file size is 0. Thanks to William R, Gary Gregory.
+o           Javadoc fixes. Thanks to Gary Gregory.
+
+
+Historical list of changes: http://commons.apache.org/proper/commons-vfs/changes-report.html
+
+For complete information on Apache Commons VFS Project, including instructions on how to submit bug reports,
+patches, or suggestions for improvement, see the Apache Apache Commons VFS Project website:
+
+Visit http://commons.apache.org/proper/commons-vfs/
+
+Download it from http://commons.apache.org/proper/commons-vfs/download_vfs.cgi
+
+-----------------------------------------------------------------------------
+
               Apache Commons VFS Project 2.4
                   RELEASE NOTES
 


[commons-vfs] 01/05: Preparing for next release.

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch release
in repository https://gitbox.apache.org/repos/asf/commons-vfs.git

commit aade3ca0cd44feff1d0b90b0221e0d1d436ad55b
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Aug 10 18:31:26 2019 -0400

    Preparing for next release.
---
 src/changes/changes.xml | 2 +-
 src/site/xdoc/index.xml | 5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index f8f8407..dce1d7b 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -45,7 +45,7 @@ The <action> type attribute can be add,update,fix,remove.
   </properties>
 
   <body>
-    <release version="2.4.1" date="2019-MM-DD" description="New features and bug fix release.">
+    <release version="2.4.1" date="2019-08-10" description="New features and bug fix release.">
 <!--       <action issue="VFS-443" dev="ggregory" type="update" due-to="nickallen"> -->
 <!--        [Local] Need an easy way to convert from a FileObject to a File. -->
 <!--       </action> -->
diff --git a/src/site/xdoc/index.xml b/src/site/xdoc/index.xml
index b7404f1..e2f8481 100644
--- a/src/site/xdoc/index.xml
+++ b/src/site/xdoc/index.xml
@@ -71,7 +71,7 @@
             dependencies.
           </p>
           <p>
-           Apache Commons VFS 2.3 and 2.4 requires Java 8.
+           Apache Commons VFS 2.3 and 2.4.x require Java 8.
           </p>
           <p>
            Apache Commons VFS 2.2 requires Java 7.
@@ -86,6 +86,9 @@
 
         <section name="News">
           <p>
+            Apache Commons VFS 2.4.1 is a bug fix release.
+          </p>
+          <p>
             Apache Commons VFS 2.4 is a new features and bug fix release.
           </p>
           <p>