[VFS] RAM Provider review and questions

2013-08-07 Thread Bernd Eckenfels
Hello, I had a look at the VFS2 RAM Provider in 2.0 and have some questions comments: RamFileData.java #52 byte[] buffer - this is the actual content of the file, I would name it that way. Buffer sounds transient #62 CollectionRamFileData - this keeps references to all

Re: [VFS] RAM Provider review and questions

2013-08-07 Thread Bernd Eckenfels
Am 08.08.2013, 03:49 Uhr, schrieb Gary Gregory garydgreg...@gmail.com: https://issues.apache.org/jira/browse/VFS-483 to track all of this. See the link for updates and status. Very cool thanks, I would also have files some, after discussion where a change makes sense. I filed this one here

Re: [CSV] Creating CSVParser instances

2013-08-08 Thread Bernd Eckenfels
Am 08.08.2013, 16:09 Uhr, schrieb Emmanuel Bourg ebo...@apache.org: Le 08/08/2013 15:40, Gary Gregory a écrit : Sans type names: parse(File, CSVFormat) parse(String, Charset, ClassLoader, CSVFormat) parse(String, Charset, CSVFormat) [parse(String)] parse(String, CSVFormat) parse(URL, Charset,

[VFS] Multiple OutputStreams spec vs. DefaultFileContent implementation

2013-08-08 Thread Bernd Eckenfels
Hello, I was trying to understand the concurrency semantics of VFS2, and I found some comments which contradict each other and all of them also contradict the implementation: The current implementation allows multiple input streams and multiple random access and a single outputstream PER

Re: [VFS] Code Review Tool?

2013-08-08 Thread Bernd Eckenfels
Am 08.08.2013, 20:03 Uhr, schrieb Mark Fortner phidia...@gmail.com: Recently Bernd posted a code review of a few of the RAM provider classes. That kind of feedback is very useful, and it made me wonder if there was a standard way within commons to do code reviews? I know that apache makes

Re: [VFS] Multiple OutputStreams spec vs. DefaultFileContent implementation

2013-08-08 Thread Bernd Eckenfels
that there are no open stream (input or output) for * this file when this method is called. Greetings Bernd Am 08.08.2013, 18:12 Uhr, schrieb Bernd Eckenfels bernd-2...@eckenfels.net: Hello, I was trying to understand the concurrency semantics of VFS2, and I found some comments

[VFS] Rename write-open file?

2013-08-10 Thread Bernd Eckenfels
Hello, I am currently implementing a database Blob provider, and while writing some unit tests I noticed that VFS is not catching the case that a file is (still) open. It will happily call doRename(). Afterwards both source and target file objects are isContentOpen==false. Is this the

[VFS] How to inject reference (DataSource) to Provider

2013-08-12 Thread Bernd Eckenfels
Hello, here is my first draft of a VFS2 Provider which allows you to store files as Blobs in a Database. I have the problem here, that I need to set the actual database connection. I decided to only support the DataSource interface. I tried to set it via the FS-Options, so you can have

[VFS] Skipped Tests and missing test-data while implementing own provider

2013-08-12 Thread Bernd Eckenfels
Hello, in my new VFS2 Providers I managed to use the abstract testing framework from the org.apache.commons:commons-vfs2:tests package. However I have two problems with that. First of all, I am not sure how to provide the local test-data directory based on the Apache JAR file. Right now

[VFS] canCreateFileSystem(directory.jar/)

2013-08-16 Thread Bernd Eckenfels
Hello, I want to use the VFSClassLoader on JAR files and Directories (to provide resources). My problem is, that some directories are exploded archives and have a name with a .jar extension. The addFileObjects() of the VFSClassLoader uses canCreateFileSystem() to detect, if for a given

Re: [VFS] canCreateFileSystem(directory.jar/)

2013-08-16 Thread Bernd Eckenfels
16.08.2013, 23:31 Uhr, schrieb Bernd Eckenfels e...@zusammenkunft.net: I want to use the VFSClassLoader on JAR files and Directories (to provide resources). My problem is, that some directories are exploded archives and have a name with a .jar extension. The addFileObjects() of the VFSClassLoader

Re: Need for an alternatives to the main line of code.

2013-08-21 Thread Bernd Eckenfels
Hello, but those who propose it must be ready to perform a _committer_ work I wonder if this is correct, this is after all (a somewhat annoyingly broad) discussion list. If somebody suggest a new API/Structure and backs it up even with some working proof of concept code (which better explains

Re: [VFS] Support for File System Roots?

2013-08-27 Thread Bernd Eckenfels
Am 28.08.2013, 00:36 Uhr, schrieb Roger L. Whitcomb roger.whitc...@actian.com: The reason I think this is necessary is that, in order to do browsing of all the files in a system, you need to be able to get to all the relevant top-level locations. And for Samba (for a non-obvious example),

Re: svn commit: r1519540 - /commons/sandbox/monitoring/trunk/siteDeploy.sh

2013-09-02 Thread Bernd Eckenfels
Am 03.09.2013, 07:11 Uhr, schrieb Olivier Lamy ol...@apache.org: +mvn clean site site:stage $@ Generic way, yes those command line can be generic especially for multi modules build. BTW: with $@ shell quoting, this works with spaces as well (but I wonder if this is not more lika a task for

[VFS] Atomic Renames

2013-09-06 Thread Bernd Eckenfels
Hello, while implementing my Database Blob VFS2 Provider I noticed, that with the current AbstractFileObject a moveTo() which is delegated to deRename() cannot be implemented in a atomic way. The renameTo method will call destFile.delete() and then doRename(). In my JDBC Provider I want

Re: Future of Transaction subproject

2013-09-09 Thread Bernd Eckenfels
Am 09.09.2013, 23:01 Uhr, schrieb TylsBurt a475...@drdrb.com: I am incredulous that nobody wants to know *why* the main target of the project (file atomic transactions) cannot be achieved.. Some file operations on some file systems/OS can be atomic (or even transactional) - but a lot of them

[VFS] DelegateFileObject does not prevent NullPointerExceptions

2013-09-13 Thread Bernd Eckenfels
Hello, while working with VirtualFileSystemProvider (which seems to be the only user of DelegateFileObject) I noticed that if a delegated file is created without a backing file some methods (like doCreateFolder()) do not properly catch this condition. It produces a rather ugly NPE. Some

[VFS] Re: [SITE] Updating to fluido

2013-09-14 Thread Bernd Eckenfels
Hello Benedikt, I do miss [VFS] on GitHub (or in Git), as I am currently working with it. I wonder what Infrastructure you use to keep the other projects on Github up-to-date and if VFS can be added without introducing too much effort. Bernd Am 14.09.2013 um 14:17 schrieb Benedikt Ritter

Re: [VFS] Re: [SITE] Updating to fluido

2013-09-15 Thread Bernd Eckenfels
mobile device Am 14.09.2013 um 15:25 schrieb Bernd Eckenfels e...@zusammenkunft.net: Hello Benedikt, I do miss [VFS] on GitHub (or in Git), as I am currently working with it. I wonder what Infrastructure you use to keep the other projects on Github up-to-date and if VFS can be added

[VFS-490] Re: canCreateFileSystem(directory.jar/)

2013-09-18 Thread Bernd Eckenfels
actually keep it there. Greetings Bernd PS: my pull request did not create a dev@commoins mail, I filed a Jira for that as well: https://issues.apache.org/jira/browse/INFRA-6764 Am 16.08.2013, 23:31 Uhr, schrieb Bernd Eckenfels e...@zusammenkunft.net: Hello, I want to use

[VFS] code comment cleanups (GitHub Pull#1)

2013-09-18 Thread Bernd Eckenfels
Hello, all over the VFS core and providers there are many places where code is commented out. Most of the time it looks like it is old code, but sometimes it also looks like suggested new implementations or even TODO style of things. I started to remove some of the places, especially

Re: [email] Problem reading filename from inline email

2013-09-21 Thread Bernd Eckenfels
Hello Olaf, I havent been able to reproduce your situation as Outlook does not write .eml Files and I dont think anybody uses Outlook Express anymore. Anyway, can you please post the Mime headers of the mail in question? I strongly suspect there is no disposition name in there, and

[VFS] Additional read tests (EOF at input stream) GitHub Pull#3

2013-09-25 Thread Bernd Eckenfels
Hello, on GitHub I sent a pull request which adds two new read tests. While implementing my provider which does verify message digest of read files I had the bug that it did not deal with multiple reads at the end of the stream. I therefore added the two tests and guess they can be used

Re: [VFS] code comment cleanups (GitHub Pull#1)

2013-09-25 Thread Bernd Eckenfels
Hello, I rebased Pull#1 against trunk and made a fixup of the commits into one. https://github.com/apache/commons-vfs/pull/1 Do I need to file it on Jira? Greetings Bernd Am 18.09.2013, 22:00 Uhr, schrieb Bernd Eckenfels e...@zusammenkunft.net: all over the VFS core and providers

Re: [VFS] code comment cleanups (GitHub Pull#1)

2013-09-28 Thread Bernd Eckenfels
at 7:57 PM, Bernd Eckenfels e...@zusammenkunft.netwrote: Hello, I rebased Pull#1 against trunk and made a fixup of the commits into one. https://github.com/apache/**commons-vfs/pull/1https://github.com/apache/commons-vfs/pull/1 Do I need to file it on Jira? Greetings Bernd Am

Re: [compress] Do we want 7z Archive*Stream-like classes

2013-09-30 Thread Bernd Eckenfels
Hello, I think it is not related to java, but a general problem of some file formats in regards to streaming access. If a format needs seeking/random-access there are basically three options (with the Java classes but also other languages). The first is having a random access file (which

[INFRA][VFS][DISCUSS] Git pull notification mails to dev@

2013-10-08 Thread Bernd Eckenfels
Hello, while we are at the topic of helping future commiters, including Git and workflow I would like to ask/remind about this JIRA: https://issues.apache.org/jira/browse/INFRA-6764 It is about enabling pull notification mails for [VFS] and havent seen much activity yet. (Maybe I should

[VFS] developer ping - future direction

2013-10-09 Thread Bernd Eckenfels
Dear [VFS] Developer and Contributors, Please excuse the spam (bcc to all emails mentioned as developers (8) or contributors (6) in the project pom). The project is currently a bit in sleeping state. I raised a few concerns and questions on the commons-dev mailinglist and wanted to direct

Re: [compress] Do we want 7z Archive*Stream-like classes

2013-10-09 Thread Bernd Eckenfels
Hello, just wanted to point out, that TrueVFS/TrueZIP has a NIO.2 SeekableByteChannel implementation. Thats the same thing as would be needed vor [compress]: https://truezip.java.net/ Bernd - To unsubscribe, e-mail:

Re: [Collections] A better TreeList?

2013-10-09 Thread Bernd Eckenfels
Am 09.10.2013, 11:24 Uhr, schrieb Rodion Efremov rodio...@cs.helsinki.fi: My buggy experiments show that it makes sense to produce a TreeList-like structure, that doesn't use an entire AVLNode for storing each god damned element, but rather stores, say, 128 elements in a node. In such a

Re: [VFS] .jar named directories VFS-490

2013-10-09 Thread Bernd Eckenfels
Am 09.10.2013, 21:53 Uhr, schrieb Mark Fortner phidia...@gmail.com: In your previous posting about VFS-490 you mentioned not wanting to browse JAR files as though they were directories. It would be nice if that was configurable -- I actually use that functionality and find it pretty

Re: [VFS] developer ping - future direction

2013-10-09 Thread Bernd Eckenfels
Am 09.10.2013, 21:53 Uhr, schrieb Mark Fortner phidia...@gmail.com: Hi Bernd, I'm a user rather than a developer of VFS. I have a weekend project to create a file browser in JavaFX. Prior to that I wrote an NFS provider for a company I was working for. Thats nice, is it available

Re: [SCXML] Proposal - drop Ant build support

2013-10-14 Thread Bernd Eckenfels
Am 14.10.2013, 23:22 Uhr, schrieb Emmanuel Bourg ebo...@apache.org: I did say the Ant build was used for some Debian packages, but scxml isn't in Debian yet and I'm updating the packages to use Maven instead. So go for it. Do you use a deb-builder script or similiar to package those or do you

Re: [CHALLENGE] Move All of Commons to the Dormant

2013-10-15 Thread Bernd Eckenfels
I am not happy about the challange, but if you have the file open can you please add me as active contributor to VFS2? Thanks. Am 15.10.2013 um 06:14 schrieb Phil Steitz phil.ste...@gmail.com: On 10/14/13 8:55 PM, Henri Yandell wrote: I contend that all of the Commons components are

Re: svn commit: r1534322 - in /commons/proper/imaging/trunk/src: changes/changes.xml main/java/org/apache/commons/imaging/formats/jpeg/JpegImageParser.java main/java/org/apache/commons/imaging/formats

2013-10-22 Thread Bernd Eckenfels
You could wrap it in a Java NIO read only ByteBuffer, but for small data this might not safe much as it is an additional object instance and You need to keep the backing Array unmodified. Greetings Bernd Am 22.10.2013 um 06:49 schrieb Damjan Jovanovic dam...@apache.org: On Tue, Oct 22,

Re: [imaging] Closing stream

2013-10-23 Thread Bernd Eckenfels
Am 24.10.2013, 02:16 Uhr, schrieb Gary Gregory garydgreg...@gmail.com: try { if (outputStream != null) { outputStream.close(); } } catch (final Exception e) { Debug.debug(e); } this calls

[VFS] [VFS-496] minor spelling fixes to resources. (#4)

2013-10-24 Thread Bernd Eckenfels
Hello, might be a more general point, so I move this discussion from the (closed) Github pull request to dev@: Am 25.10.2013, 02:33 Uhr, schrieb Gary Gregory notificati...@github.com: I'm sorry I must have missed something. What .error suffix? I was refering to the points frim VFS-496

Re: [VOTE] Release Apache Commons Pool 2.0 RC3 as 2.0

2013-11-03 Thread Bernd Eckenfels
Hello, I dont think it is a critical thing for OSGi for two reasons: a) typically dependencies are no longer on the bundle name but on packages b) there is no need to change the coordinates at all, as the major version differs Greetings Bernd Am 04.11.2013, 00:43 Uhr, schrieb Phil Steitz

Re: [math] Multithreaded performances

2013-11-04 Thread Bernd Eckenfels
Am 05.11.2013, 00:44 Uhr, schrieb Ted Dunning ted.dunn...@gmail.com: The thread leak problem can be more serious. What Thread Leak problem? TLS is cited to have that leak since ages, I am not sure I ever have seen one triggered. So, who has details on that? Even the JCL uses (more) thread

Re: [SCXML] What's the SCXML spec draft(s) supported in the current commons-scxml?

2013-11-15 Thread Bernd Eckenfels
The Stopwatch usecase link on that wiki page is broken. Can somebody please remove the /sandbox/ part? (And I would be happy if somebody tells me what can I do to get some more permissions in the Wiki) Gruss Bernd Am 15.11.2013, 20:58 Uhr, schrieb Woonsan Ko woon_...@yahoo.com: [1]

Re: [SCXML] What's the SCXML spec draft(s) supported in the current commons-scxml?

2013-11-22 Thread Bernd Eckenfels
Am 18.11.2013, 13:45 Uhr, schrieb Benedikt Ritter benerit...@gmail.com: Sebb can do the trick. Not sure if ther comitters/PMC members also have the necessary priviliges. My Wiki Login in the /commons wiki is BerndEckenfels. Thanks Bernd

[SCXML] wiki updated, links on site broken

2013-11-22 Thread Bernd Eckenfels
Am 23.11.2013, 00:24 Uhr, schrieb Woonsan Ko woon_...@yahoo.com: I've just corrected all the broken links in the the FAQ [1] wiki page. I noticed, got a conflict warning :) The Wiki is adjusted, but the project sitze has quite some broken links. It expects versioned sites (for javadoc) and

Re: [lang] Suggested alternatives for escape functions

2013-12-10 Thread Bernd Eckenfels
Hello, it depends on what you want to escape, a single Unicode character could be 2 codepoints (UTF-16 codepoints can only cover the BMP). So having a String typed needle can be helpfull. But of course all the usual things are single-codepoint characters (...). Having said that, any reason

Re: [all] simplifying releases: dist vs. maven repo

2013-12-13 Thread Bernd Eckenfels
Am 13.12.2013, 07:29 Uhr, schrieb Emmanuel Bourg ebo...@apache.org: I don't think the -src and -bin files should be in Maven, that's not its purpose. I find it very usefull when the IDE will automatically download javadocs and sources for a given dependency so I can browse into. For this to

Commons Codec (archived) site - broken javadoc links

2013-12-21 Thread Bernd Eckenfels
BTW: I noticed that on the homepage there is a 1.9 link which leads to 404 page. I then used the 1.8 link (http://commons.apache.org/proper/commons-codec/archives/1.8/index.html) since I was looking for JavaDoc, and there is a JavaDoc 1.7 link in the menu (but points to 1.8 url - but

[VFS] VFSClassLoader and JAR Files with no Manifest

2014-02-03 Thread Bernd Eckenfels
When I use the VFSClassLoader on a URL which points to a JAR file which has no Manifest, then loading classes will create a IllegalStateException. This seems to be caused by the Fact that the JarFileSystem is caching attributes but not certificates of the entries. When the certificates for an

Re: [VFS] Fix up pom so it works with Commons release profile

2014-02-04 Thread Bernd Eckenfels
Am Tue, 21 Jan 2014 16:10:35 + schrieb sebb seb...@gmail.com: I have done some work on this.I can fix up the poms so that the Commons release profile works. And it looks like the distribution module is not really needed. The assembly plugin can be run from the top level pom. (sorry for

Re: commons-lang pull request: add isNull and isNotNull methods

2014-02-04 Thread Bernd Eckenfels
Hello, I agree, for a simple isNull(Object) predicate, this is really an anti pattern. I can understand validate() methods which throw a application specific cleaned up exception and do some logging and stuff. But this is nothing for a external dependency. This is different from isEmpty(String)

Re: [VFS] Fix up pom so it works with Commons release profile

2014-02-04 Thread Bernd Eckenfels
Am Tue, 04 Feb 2014 21:53:24 +0100 schrieb Jörg Schaible joerg.schai...@gmx.de: We could move the compiler and jar plugin into an own profile of the parent, that is automatically activated if src/main/java exists. That, however, enforces Maven 3 and standard layout for all Java projects.

Re: [VFS] Fix up pom so it works with Commons release profile

2014-02-04 Thread Bernd Eckenfels
Am Tue, 04 Feb 2014 23:20:45 +0100 schrieb Jörg Schaible joerg.schai...@gmx.de: This is a good thing to have. What about OSGi bundle plugin? I am not sure if we need the pluginManagement preconfiguration at all. Does it harm? At least I dont get it to work in the VFS POM. A Stand-alone

Re: [VFS] Fix up pom so it works with Commons release profile

2014-02-08 Thread Bernd Eckenfels
Hello, Am Wed, 5 Feb 2014 09:55:18 + schrieb sebb seb...@gmail.com: On 4 February 2014 20:25, Bernd Eckenfels e...@zusammenkunft.net wrote: Am Tue, 21 Jan 2014 16:10:35 + schrieb sebb seb...@gmail.com: I have done some work on this.I can fix up the poms so that the Commons

Re: [VFS] Fix up pom so it works with Commons release profile

2014-02-08 Thread Bernd Eckenfels
Am Tue, 4 Feb 2014 22:55:57 + schrieb sebb seb...@gmail.com: Is the multi-module VFS pom really needed? I think the project could be restructured to produce the examples and make the distribution in a single module. However I personally like the separation, especially as there are so many

[VFS] $ID$ and $Date$ Variables (git vs. svn)

2014-02-08 Thread Bernd Eckenfels
Hello, while playing around with the git mirror (I compared the git clone with the SVN checkout) I noticed that a minority of SVN files (mostly javadoc comments in tests but also one constant in a sample) have an $ID$ comment which expands differently. Ironically there is also a rule about not

Re: [VFS] $ID$ and $Date$ Variables (git vs. svn)

2014-02-08 Thread Bernd Eckenfels
haven't really reached consensus about this. I don't know whether git will make keywords obsolete, since a tag in git is immutable... HTH, Benedikt [1] http://wiki.apache.org/commons/CodeStyle 2014-02-08 Bernd Eckenfels e...@zusammenkunft.net: Hello, while playing around

Re: [VOTE] Release Apache Commons Weaver 1.0 based on RC1

2014-02-13 Thread Bernd Eckenfels
Am Fri, 14 Feb 2014 00:42:48 + schrieb sebb seb...@gmail.com: I have checked the RAT multi-module build [1] and that is able to run clean and compile quite happily. I guess the problem with the Weaver parent POM is the dependency of the checkstyle plugin to the waver buildtools (just

[VFS] trailing space cleanup (was: svn commit: r1568471 - /commons/proper/vfs/trunk/pom.xml)

2014-02-14 Thread Bernd Eckenfels
Hello, quick question, while doing my first commit I noticed that Eclipse wanted to clean up a number of trailing blanks in that POM file. I decided to not commit those unrelated changes. What is your preference - should I do an additional cleanup commit, leave the blanks untouched or accept a

[site] tags in developer checkout URL

2014-02-14 Thread Bernd Eckenfels
Hello, I noticed that the published site of [VFS] has a example developer URL for SVN which contains the tag. This might be OK for a read only URL, but at least for the Developer URL I would rather document to check out trunk. If I understood it correctly thats a common problem with SVN. I

Re: svn commit: r1568678 - in /commons/proper/fileupload/trunk/src: changes/changes.xml main/java/org/apache/commons/fileupload/disk/DiskFileItem.java

2014-02-15 Thread Bernd Eckenfels
Am Sat, 15 Feb 2014 21:18:43 - schrieb s...@apache.org: Author: sebb Date: Sat Feb 15 21:18:42 2014 New Revision: 1568678 URL: http://svn.apache.org/r1568678 Log: FILEUPLOAD-245 DiskFileItem.get() may not fully read the data Modified:

Re: svn commit: r1568683 - in /commons/proper/fileupload/trunk/src: changes/changes.xml main/java/org/apache/commons/fileupload/disk/DiskFileItem.java

2014-02-15 Thread Bernd Eckenfels
Am Sat, 15 Feb 2014 21:30:48 - schrieb s...@apache.org: Author: sebb Date: Sat Feb 15 21:30:47 2014 New Revision: 1568683 URL: http://svn.apache.org/r1568683 Log: FILEUPLOAD-246 FileUpload should use IOUtils.closeQuietly where relevant Modified:

Re: svn commit: r1568683 - in /commons/proper/fileupload/trunk/src: changes/changes.xml main/java/org/apache/commons/fileupload/disk/DiskFileItem.java

2014-02-15 Thread Bernd Eckenfels
Hello, I also think you can replace the whole code block at http://svn.apache.org/viewvc/commons/proper/fileupload/trunk/src/main/java/org/apache/commons/fileupload/disk/DiskFileItem.java?annotate=1568683diff_format=lpathrev=1568683#l405 with IOUtils.moveFile:

Re: svn commit: r1568678 - in /commons/proper/fileupload/trunk/src: changes/changes.xml main/java/org/apache/commons/fileupload/disk/DiskFileItem.java

2014-02-15 Thread Bernd Eckenfels
Hello, (pruning conversation) Am Sat, 15 Feb 2014 21:43:36 + schrieb sebb seb...@gmail.com: On 15 February 2014 21:29, Bernd Eckenfels e...@zusammenkunft.net I also wonder if this is really a good idea to read the data fully into memory, only to stream it then to somewhere else

Re: [ANNOUCE] Please welcome Bernd Eckenfels as our newest committer

2014-02-15 Thread Bernd Eckenfels
schrieb Gary Gregory ggreg...@apache.org: Hello all, Let's give Bernd Eckenfels a warm welcome as our newest committer! Gary Gregory - Apache Commons PMC Chair. - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org

[IO][IO-429] optimized IOUtils.toByteArray(InputStream)?

2014-03-12 Thread Bernd Eckenfels
Hello, just a small pointer, after a Twitter discussion on IOUtils.toByteArray(InputStream) (not) dealing with streams larger than 2GB (because the Java byte array limit would be exceeded) Florian opened a Bug and there are some discussions around it. https://issues.apache.org/jira/browse/IO-429

Re: [IO][IO-429] optimized IOUtils.toByteArray(InputStream)?

2014-03-12 Thread Bernd Eckenfels
Pardon me, its Fabian, not Florian. Am Wed, 12 Mar 2014 22:03:54 +0100 schrieb Bernd Eckenfels e...@zusammenkunft.net: just a small pointer, after a Twitter discussion on IOUtils.toByteArray(InputStream) (not) dealing with streams larger than 2GB (because the Java byte array limit would

[CODEC] char[] decoding base64 variant

2014-04-04 Thread Bernd Eckenfels
Hello, with great delight I have seen that Java8 Base64 (JEP135) decoder offers a method for decoding with String argument, but it does not funtion as a Writer(). There is a quite common case that you want to decode base64 encoded data in char[] chunks. With a OutputStream implementation one

[Misc] how get NVD's CPE Entries managed by ASF

2014-04-15 Thread Bernd Eckenfels
Hello, can somebody tell me how CPE Entries (Product Dictionary, Common Platform Enumeration) for Apache (Commons) products get populated in the NVD. Is there somewhere an mapping from component to productname stored? And is there an option or plan to specify things like maven coordinates or

Re: Apache Commons ApacheCon Europe 2014 ... [VFS]

2014-04-17 Thread Bernd Eckenfels
Hello, Am Thu, 17 Apr 2014 08:02:36 -0600 schrieb Siegfried Goeschl siegfried.goes...@it20one.com: * Who would volunteer for presenting his/her Apache Commons component? As a new committer I would really join you crowd, so I am currently planning to visit the Europe Con and have some holiday

Re: Apache Commons ApacheCon Europe 2014 ... [VFS]

2014-04-17 Thread Bernd Eckenfels
? Unfortunately, I won't be able to make it to ApacheCon. Cheers, Mark On Thu, Apr 17, 2014 at 12:27 PM, Bernd Eckenfels e...@zusammenkunft.netwrote: Hello, Am Thu, 17 Apr 2014 08:02:36 -0600 schrieb Siegfried Goeschl siegfried.goes...@it20one.com: * Who would volunteer

Re: [DBCP] Performance vs BoneCP

2014-04-18 Thread Bernd Eckenfels
Am Fri, 18 Apr 2014 18:16:26 -0700 schrieb Phil Steitz phil.ste...@gmail.com: On 4/18/14, 5:32 PM, Niall Pemberton wrote: Thought this might be of interest: http://jolbox.com/benchmarks.html I wonder what version of DBCP they were using. Guess you have to dig into the source to figure

Re: [VFS] Next release date

2014-04-23 Thread Bernd Eckenfels
Hello, I can do some preparation work like reviewing the open issue, verifying the completeness of the changelog, maybe writing some release/upgrade notes and checking the dependency versions. I dont feel fit in doing the actual release, maybe you can assist me with that gary. What else would

JDK8 compatible javadoc

2014-04-29 Thread Bernd Eckenfels
Hello, while running javadoc on VFS2 I get quite a few errors, especially about self-closing p/ (I can fix those) and br/ (I am not sure how to fix those). Is there any (ASF) JavaDoc guidelines which is recent enough to explain the JDK8 absudities? The Oracle Guide is outdated and actually

Re: JDK8 compatible javadoc

2014-04-29 Thread Bernd Eckenfels
Am Tue, 29 Apr 2014 20:19:03 -0400 schrieb Gary Gregory garydgreg...@gmail.com: If you think XHTML/XML you should be fine. Hm, actually I dont know. It looks that neighter pblock/p (HTML) nor self-closing br/ (XHTML) is valid/preferred. (So I plan to only use p and br as paragraph or line

Re: Apache Commons ApacheCon Europe 2014 ...

2014-04-30 Thread Bernd Eckenfels
Am Wed, 30 Apr 2014 20:37:50 +0100 schrieb Schalk Cronjé ysb...@gmail.com: VFS - Schalk W. Cronjé - would like to present Correction. It is more of a case of me helping Bernd to do a presentation. Good thing! Maybe we can make that two sessions, one about using VFS with groovyvfs/vfs-cli

[VFS][VFS-520] Re: svn commit: r1591517 - /commons/proper/vfs/trunk/src/changes/changes.xml

2014-04-30 Thread Bernd Eckenfels
Hello, for some reason the commit with the actual javadoc changes does not show in the commits list. I also had a internal error message after the commit in Eclipse. # org.eclipse.team.svn.core.connector.SVNConnectorException: # svn: E160006: No such reported revision '1591517' found in the #

Re: [ALL] Suppressing Javadoc errors with Java 8 - temporary hack

2014-05-01 Thread Bernd Eckenfels
Am Thu, 1 May 2014 11:01:32 -0500 schrieb Paul Benedict pbened...@apache.org: Wrong syntax is different than missing syntax. The former affects readability while the other just affects usability. Glad you found a way to catch the former but ignore the latter. I agree with the missing should

[VFS] release preparation: clirr report

2014-05-01 Thread Bernd Eckenfels
Hello, in preparation of the VFS2.1 release I was reviewing the Clirr report. It has quite a number of errors, especially in regard to new Interface methods. # Method 'public long write(org.apache.commons.vfs2.FileContent)' has been added to an interface # Method 'public boolean isFile()' has

Re: [Math] Javadoc with Java 8 (Was: svn commit: r1591664 [2/2] - ...)

2014-05-01 Thread Bernd Eckenfels
Am Fri, 02 May 2014 00:49:53 +0200 schrieb Gilles gil...@harfang.homelinux.org: In a context where people are fairly likely write documentation referring to generics, it's quite short-sighted to impose rules that lead to e.g. Listlt;String IMO, that counts as _not_ readable. You can use

Re: [VFS] JDK 8 2.1-SNAPSHOT

2014-05-02 Thread Bernd Eckenfels
Yes, I see the same problem. (And besides that it seems PMD and findbugs make problems for Java8, too.) bernd Am 02.05.2014 um 13:27 schrieb Schalk Cronjé ysb...@gmail.com: Does anyone else have failures building VFS 2.1 with JDK8 (SVN rev 1591869)? I am seeing this test failure

Re: [VFS] JDK 8 2.1-SNAPSHOT

2014-05-02 Thread Bernd Eckenfels
Hello, I opened VFS-521 for this, and it looks like the problem is in try-with-resource in Java8 FilterOutputStream. The test in question is expected to fail with an IOException. Gruss Bernd Am Fri, 02 May 2014 12:27:01 +0100 schrieb Schalk Cronjé ysb...@gmail.com: Does anyone else have

Re: [VFS] VFS 2.1 Compress

2014-05-03 Thread Bernd Eckenfels
The default manager configuration in providers.xml registers the Tar and Bzip2FileProvider conditionally based on commons compress classes. For GzipFileProvider it uses unconditionally the java.util.zip package. provider class-name=org.apache.commons.vfs2.provider.tar.TarFileProvider

[CSV] release review

2014-05-04 Thread Bernd Eckenfels
Hello, I did some chekcs on the CSV trunk cause you mentioned a release is coming up (and I feel its a bad feeling to get no external reviews for releases). Here are my findings: - compiling with Java 8 and maven 3.2.1 on Windows works, but the site goal fails (findbugs porblem) - site:

Re: [CSV] release review

2014-05-04 Thread Bernd Eckenfels
Hello, I noticed while building, that there is a warning of the taglist plugin regarding deprecated config option. When I use the following it will use the new configuration mehtod and does some more tags (separated in two sections): plugin groupIdorg.codehaus.mojo/groupId

Re: How to run unit test ProviderRenameTests?

2014-05-06 Thread Bernd Eckenfels
Hello, I tried several times to understand how the testconfiguration and suite building is working but I failed. I noticed that most of the tests have totally unrelated class-names when run in Eclipse JUnit runner (but can be used). So I typically do the same as you did, make standalone tests or

Re: [lang] Any objections to LANG-1012?

2014-05-14 Thread Bernd Eckenfels
Hello, no oppinion if good or bad, just want to point out that typically largerThan means x y and a more common name (think html entity) is greater than and less than. The other (=, -ge) operator would be greaterOrEqual. Greetings Bernd Am Tue, 13 May 2014 21:06:56 +0100 schrieb Duncan

Re: [continuum] BUILD FAILURE: Apache Commons JCS - Apache Commons ()

2014-05-16 Thread Bernd Eckenfels
Hello, what is it about those JCS Build Failures. They happen for quite some time. Is this a known problem? Is it worked upon? BTW: I agree with the idea that a JCache interface to JCS should actually use JCS. But of course having a different implementation would also be possible. But then in

[VFS] canRenameTo

2014-05-17 Thread Bernd Eckenfels
Hello, today there are only two canRenameTo implementations in VFS2, the AbstractFileObject one which does just check if the file is on the same VFS filesystem instance and HdfsFileObject which overwrites this with UnsupportedOperation. For the HdfsFileObject I think it is best to remove this

Re: [VFS] canRenameTo

2014-05-18 Thread Bernd Eckenfels
of in this context is where I might have a large folder system and I want to check beforehand whether the move operation will be expensive (lots of copying) or atomic (simple rename). Regards. On 17/05/2014 21:51, Bernd Eckenfels wrote: Hello, today there are only two canRenameTo implementations

[VFS][Site] Broken VFS Site

2014-05-18 Thread Bernd Eckenfels
Hello, has anybody an idea where the component sites of commons-vfs2 went to? I am quite sure I visited the pages a few days ago, but now the Link to Core, Examples and Sandbox lead to 404: http://commons.apache.org/proper/commons-vfs/ (core) -

Re: [jira] [Commented] (VFS-526) No Hdfs testing on Windows

2014-05-18 Thread Bernd Eckenfels
: Commons VFS Issue Type: Bug Affects Versions: 2.1 Environment: Win7 x64 Reporter: Bernd Eckenfels Assignee: Bernd Eckenfels Priority: Minor Labels: hdfs, testing, windows Fix For: 2.1 Attachments

Re: [VOTE] Release DBCP 2.0.1 based on RC3

2014-05-18 Thread Bernd Eckenfels
+0 'mvn verify' works with mvn3.2.1 jdk8 on win7 'mvn site' works with mvn3.2.1 jdk7 on win7 Why I do not +1: It looks like the assembly-plugin workaround causes a maven warning, it is I guess better to add the version number to the existing assembly entry and not add a second one? At least the

Re: svn commit: r1596077 - /commons/proper/fileupload/trunk/fileupload/

2014-05-19 Thread Bernd Eckenfels
Am Mon, 19 May 2014 23:35:47 +0100 schrieb Mark Thomas ma...@apache.org: On 19/05/2014 23:17, e...@apache.org wrote: Author: ecki Date: Mon May 19 22:17:00 2014 New Revision: 1596077 URL: http://svn.apache.org/r1596077 Log: Share project fileupload into

Re: [jcs] Non Serializeable Interface

2014-05-26 Thread Bernd Eckenfels
Hello, I think it is usefull to have an Interface which allows non-serializeable Keys and Values. First of all this is usefull for actual in-heap implementations (and a generic Map?,? replacement) but also for a modular approach where you can plug-in custom serializers. In fact I would consider

Re: svn commit: r1598071 - in /commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs: auxiliary/disk/ engine/control/ engine/memory/ utils/logger/ utils/struct/

2014-06-01 Thread Bernd Eckenfels
Am Sun, 1 Jun 2014 23:43:10 +0100 schrieb sebb seb...@gmail.com: On 1 June 2014 20:19, Romain Manni-Bucau rmannibu...@gmail.com wrote: well it is for sure thread safe. Not sure I get why final and synch would be mandatory in this particular case (field will maybe be cached by thread but

Re: [VFS] HDFS failures on Windows

2014-06-10 Thread Bernd Eckenfels
Hello, they do work for me, hm. Windows 7 x64 de. I will try some other environments. Maybe it picks up some cygwin stuff or something on my system? Gruss Bernd Am Mon, 9 Jun 2014 18:05:18 -0400 schrieb Gary Gregory garydgreg...@gmail.com: Ecki enabled the HDFS tests on Windows but they sure

Re: [VFS] Release 2.1

2014-06-10 Thread Bernd Eckenfels
Hello, we are working on a release. Thats why I closed or moved most of the blockers. It would be good if you can have a look at the remaining blockers (and maybe also check if all the open bugs are not critical). Gruss Bernd Am Mon, 9 Jun 2014 20:53:28 + (UTC) schrieb

Re: [VFS] HDFS failures on Windows

2014-06-16 Thread Bernd Eckenfels
specific. Gary On Tue, Jun 10, 2014 at 9:45 AM, Bernd Eckenfels e...@zusammenkunft.net wrote: Hello, they do work for me, hm. Windows 7 x64 de. I will try some other environments. Maybe it picks up some cygwin stuff or something on my system? Gruss Bernd Am Mon, 9 Jun

Re: [VFS] HDFS failures on Windows

2014-06-17 Thread Bernd Eckenfels
OS commands that are *Nix specific. Gary On Tue, Jun 10, 2014 at 9:45 AM, Bernd Eckenfels e...@zusammenkunft.net wrote: Hello, they do work for me, hm. Windows 7 x64 de. I will try some other environments. Maybe it picks up some cygwin stuff or something

Re: [VFS] HDFS failures on Windows

2014-06-17 Thread Bernd Eckenfels
because they rely on calling OS commands that are *Nix specific. Gary On Tue, Jun 10, 2014 at 9:45 AM, Bernd Eckenfels e...@zusammenkunft.net wrote: Hello, they do work for me, hm. Windows 7 x64 de. I will try some other environments. Maybe it picks up some cygwin

Re: [VFS] HDFS failures on Windows

2014-06-30 Thread Bernd Eckenfels
schrieb Gary Gregory garydgreg...@gmail.com: On Tue, Jun 17, 2014 at 9:27 PM, Bernd Eckenfels e...@zusammenkunft.net wrote: Am Tue, 17 Jun 2014 20:26:11 -0400 schrieb Gary Gregory garydgreg...@gmail.com: The build still breaks on Windows. Can you fix it please? Sure, it is tracked under

author of changes.xml

2014-06-30 Thread Bernd Eckenfels
Hello, in [VFS] (but I guess the question is broader) I see an author tag in the changes.xml. However most of the recent changes (as well as the entries) to that file are from different persons. What is the best way here? I feel uneasy to write a text which is attributed (possibly unknowingly) to

  1   2   3   4   >