Re: [TEXT-2] Add Jaccard Index and Jaccard Distance

2016-11-18 Thread don jeba
Thank you Rob for the clarification. >>as this satisfies the triangle inequality and all of the other metric axioms >>it should implement EditDistance, which is intended to represent string >>comparisons that fully satisfy the definition of a metric. Considering this, I will also implementĀ EditDi

[VOTE][LAZY] Release Commons Build Plugin 1.2 based on RC1

2016-11-18 Thread Gary Gregory
We have added some enhancements since Commons Build Plugin 1.6 was released, so I would like to release Commons Build Plugin 1.7. This LAZY VOTE is open for at least 72 hours, until November 21, 2016 19:00 PDT (UTC-8) Commons Build Plugin 1.7 RC1 is available for review here: https://dist.apache

[text][lang] string escaping

2016-11-18 Thread Gary Gregory
Just a thought: Does all the current (and future) string escaping code (XML, HTML, ...) really belong in [lang]? Would it be more natural to have it in [text]? Gary -- E-Mail: garydgreg...@gmail.com | ggreg...@apache.org Java Persistence with Hibernate, Second Edition

[BEANUTILS] Docker Jenkins Job?!

2016-11-18 Thread Benedikt Ritter
Hello, we have this jenkins job that executes a build inside some docker containers: https://builds.apache.org/view/Apache%20Commons/job/Commons%20Beanutils%20docker/ Why do we need it? Benedikt

[email] Failing tests on Jenkins

2016-11-18 Thread Benedikt Ritter
Hi, does anybody know what is causing these test failures on jenkins? https://builds.apache.org/view/Apache%20Commons/job/commons-email/3/console Benedikt

Re: [io] test failure in FileUtilsTestCase.testContentEqualsIgnoreEOL

2016-11-18 Thread Benedikt Ritter
Hi, Gary Gregory schrieb am Fr., 18. Nov. 2016 um 22:49 Uhr: > Thanks, Travis CI is happy FWIW https://travis-ci.org/apache/commons-io Jenkins is also happy: https://builds.apache.org/view/Apache%20Commons/job/commons-io/13 That's also only running on Linux. We probably need to create a multi

Re: [io] test failure in FileUtilsTestCase.testContentEqualsIgnoreEOL

2016-11-18 Thread Pascal Schumacher
Yes I'm on windows. mvn clean test -Dtest=FileUtilsTestCase works for me. Before https://github.com/apache/commons-io/commit/2bb4bec8391aa03f0e4d3a6f9292630243044726 git "fixed"/normalized the line-ends of the test file use, so the test always failed. I guess git does not un-normalize the

Re: [io] test failure in FileUtilsTestCase.testContentEqualsIgnoreEOL

2016-11-18 Thread Benedikt Ritter
Benedikt Ritter schrieb am Fr., 18. Nov. 2016 um 22:48 Uhr: > I'm on Mac. If this problem is OS related, we should probably set up a > build matrix for IO, running the tests on several OSes. > > I'll have a look into that. > The Jenkins job for commons-io is currently deactivated. Why?! > > Be

Re: [io] test failure in FileUtilsTestCase.testContentEqualsIgnoreEOL

2016-11-18 Thread Gary Gregory
Thanks, Travis CI is happy FWIW https://travis-ci.org/apache/commons-io Gary On Fri, Nov 18, 2016 at 1:48 PM, Benedikt Ritter wrote: > I'm on Mac. If this problem is OS related, we should probably set up a > build matrix for IO, running the tests on several OSes. > > I'll have a look into that.

Re: [io] test failure in FileUtilsTestCase.testContentEqualsIgnoreEOL

2016-11-18 Thread Benedikt Ritter
I'm on Mac. If this problem is OS related, we should probably set up a build matrix for IO, running the tests on several OSes. I'll have a look into that. Benedikt Gary Gregory schrieb am Fr., 18. Nov. 2016 um 22:47 Uhr: > I have the latest from Git master. > > For short I run: > > mvn clean t

Re: [io] test failure in FileUtilsTestCase.testContentEqualsIgnoreEOL

2016-11-18 Thread Gary Gregory
I have the latest from Git master. For short I run: mvn clean test -Dtest=FileUtilsTestCase Are you on Windows? Gary On Fri, Nov 18, 2016 at 1:42 PM, Pascal Schumacher wrote: > Do you get this on current master? > > https://github.com/apache/commons-io/commit/2bb4bec8391aa03f > 0e4d3a6f9292

Re: [io] test failure in FileUtilsTestCase.testContentEqualsIgnoreEOL

2016-11-18 Thread Pascal Schumacher
Do you get this on current master? https://github.com/apache/commons-io/commit/2bb4bec8391aa03f0e4d3a6f9292630243044726**fixed it for me. Am 18.11.2016 um 22:30 schrieb Gary Gregory: Does anyone else see this? --- T E S T S --

Re: [lang] LANG-1289" type="fix" dev="ggregory">JavaVersion class depends on Apache Commons Math class NumberUtils.

2016-11-18 Thread Benedikt Ritter
Gary Gregory schrieb am Fr., 18. Nov. 2016 um 22:35 Uhr: > Dang! My bad I will revert. I thought we had introduced a dependency on > Commons Math. > Okay, thank you! Benedikt > > Gary > > On Fri, Nov 18, 2016 at 1:29 PM, Benedikt Ritter > wrote: > > > Hello Gary, > > > > I don't understand t

Re: [io] test failure in FileUtilsTestCase.testContentEqualsIgnoreEOL

2016-11-18 Thread Benedikt Ritter
Hi Gary, working on my machine: Results : Tests run: 1281, Failures: 0, Errors: 0, Skipped: 4 [INFO] [INFO] BUILD SUCCESS [INFO] What does Jenkins s

Re: [LANG] - Deprecated CharEncoding?

2016-11-18 Thread Matt Sicker
Makes sense. You could even make the deprecated constants refer to the StandardCharsets constants. On 18 November 2016 at 15:26, Benedikt Ritter wrote: > +1 > Gary Gregory schrieb am Fr. 18. Nov. 2016 um > 22:07: > > > +1 > > > > That's how it is in Commons IO's Charsets class and I plan on doi

Re: [lang] LANG-1289" type="fix" dev="ggregory">JavaVersion class depends on Apache Commons Math class NumberUtils.

2016-11-18 Thread Gary Gregory
Dang! My bad I will revert. I thought we had introduced a dependency on Commons Math. Gary On Fri, Nov 18, 2016 at 1:29 PM, Benedikt Ritter wrote: > Hello Gary, > > I don't understand this change. The NumberUtils import you removed was > from lang itself. Doesn't this change introduce code dupl

Re: [io] test failure in FileUtilsTestCase.testContentEqualsIgnoreEOL

2016-11-18 Thread Gary Gregory
I am on Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T08:41:47-08:00) Maven home: E:\Java\apache-maven-3.3.9\bin\.. Java version: 1.8.0_112, vendor: Oracle Corporation Java home: C:\Program Files\Java\jdk1.8.0_112\jre Default locale: en_US, platform encoding: Cp1252 OS na

[io] test failure in FileUtilsTestCase.testContentEqualsIgnoreEOL

2016-11-18 Thread Gary Gregory
Does anyone else see this? --- T E S T S --- Running org.apache.commons.io.FileUtilsTestCase Tests run: 135, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 3.102 sec <<< FAILURE! - in org.ap

Re: [lang] LANG-1289" type="fix" dev="ggregory">JavaVersion class depends on Apache Commons Math class NumberUtils.

2016-11-18 Thread Benedikt Ritter
Hello Gary, I don't understand this change. The NumberUtils import you removed was from lang itself. Doesn't this change introduce code duplication within Lang? Benedikt schrieb am Fr. 18. Nov. 2016 um 21:30: > Repository: commons-lang > Updated Branches: > refs/heads/master 429c847b2 -> 9dc

Re: [LANG] - Deprecated CharEncoding?

2016-11-18 Thread Benedikt Ritter
+1 Gary Gregory schrieb am Fr. 18. Nov. 2016 um 22:07: > +1 > > That's how it is in Commons IO's Charsets class and I plan on doing the > same with Commons Codec after the next release which will be the last one > on Java 1.6. > > Gary > > On Fri, Nov 18, 2016 at 10:03 AM, Pascal Schumacher < > p

Re: [LANG] - Deprecated CharEncoding?

2016-11-18 Thread Gary Gregory
+1 That's how it is in Commons IO's Charsets class and I plan on doing the same with Commons Codec after the next release which will be the last one on Java 1.6. Gary On Fri, Nov 18, 2016 at 10:03 AM, Pascal Schumacher < pascalschumac...@gmx.net> wrote: > Hello everybody, > > now that LANG requ

[LANG] - Deprecated CharEncoding?

2016-11-18 Thread Pascal Schumacher
Hello everybody, now that LANG requires java 7, should we deprecate org.apache.commons.lang3.CharEncoding (or at least the string constants with charset names) and suggest that users use java.nio.charset.StandardCharsets instead? -Pascal

Re: [complex] commons-complex module

2016-11-18 Thread Gilles
Hi Bernd. On Fri, 18 Nov 2016 11:44:05 +, Bernd Porr wrote: Hi Eric, how do we move this forward? I cannot commit to the CVS so shall I send you patches and you work them in or what is the workflow? For non-committer contributions, my preference is to have files/patches attached to a repo

Re: [complex] commons-complex module

2016-11-18 Thread Bernd Porr
Hi Eric, how do we move this forward? I cannot commit to the CVS so shall I send you patches and you work them in or what is the workflow? Best /Bernd On 26/10/16 13:48, Eric Barnhill wrote: On Wed, Oct 26, 2016 at 2:25 PM, Gilles wrote: It sounds like you can create your new component