[compress] javac uses --release on Jenkins/Windows

2018-01-10 Thread Stefan Bodewig
Hi all has anybody got any idea why javac should suddenly start using --release for a Java7 javac on the windows boxes but not for Linux? I recall Gary updatng all kinds of Maven plugins as well as infra updating the jenkins nodes to run Java9 but the build explicitly selects Java7 - and this kin

[Commons Wiki] Update of "UsingGIT" by sebbapache

2018-01-10 Thread Apache Wiki
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Commons Wiki" for change notification. The "UsingGIT" page has been changed by sebbapache: https://wiki.apache.org/commons/UsingGIT?action=diff&rev1=20&rev2=21 Comment: How to fix EOL in working copy If there haven't

Re: [compress] javac uses --release on Jenkins/Windows

2018-01-10 Thread sebb
I just changed the build to use Java 8 for running Maven (not for compilation/testing) [On the basis that one starts by fixing the easy issues] This has got rid of the warning about using an incompatible Java. Furthermore it seems to have fixed the main problem. Looks like when Jenkins retries u

Re: [compress] javac uses --release on Jenkins/Windows

2018-01-10 Thread Stefan Bodewig
On 2018-01-10, sebb wrote: > I just changed the build to use Java 8 for running Maven (not for > compilation/testing) > [On the basis that one starts by fixing the easy issues] > This has got rid of the warning about using an incompatible Java. > Furthermore it seems to have fixed the main probl

Re: Build failed in Jenkins: Commons-Compress-Windows #455

2018-01-10 Thread sebb
FTR: See other email thread from Stefan I fixed this error: ERROR: Invalid project setup: jenkins/security/MasterToSlaveCallable : Unsupported major.minor version 52.0 ERROR: [JENKINS-18403][JENKINS-28294] JDK 'JDK 1.7 (unlimited security) 64-bit Windows only' not supported to run Maven projects

[build] status?

2018-01-10 Thread Gary Gregory
Hi Rob, Thank you for you work on our new build plugin! What is the status of our new build plugin? I'd like to cut a Commons Collection RC soon. Gary

[collections] New iterator/iterable methods

2018-01-10 Thread Gary Gregory
Hi All, I plan on adding methods like: - IteratorUtils.first(Iterator) - IterableUtils.first(Iterable) Gary

[collections] new fluent/builder api

2018-01-10 Thread Sergio Fernández
As Gary just did for iterator/iterable methods, I'd like to discuss the idea of adding fluent/builder api. I can draft the methods if people agree on that addition.

Re: [build] status?

2018-01-10 Thread Rob Tompkins
I’ll try to get a rc up this evening. -Rob > On Jan 10, 2018, at 11:36 AM, Gary Gregory wrote: > > Hi Rob, > > Thank you for you work on our new build plugin! > > What is the status of our new build plugin? > > I'd like to cut a Commons Collection RC soon. > > Gary ---

Re: [collections] new fluent/builder api

2018-01-10 Thread Pascal Schumacher
+1 Am 10.01.2018 um 18:09 schrieb Sergio Fernández: As Gary just did for iterator/iterable methods, I'd like to discuss the idea of adding fluent/builder api. I can draft the methods if people agree on that addition. - To u

[Statistics] Preferred name of the Jira project? (Was: [All] New git repository)

2018-01-10 Thread Gilles
Hi. The preferred name of the component was "Commons Statistics". What shall be the preferred name of the Jira project's "key" (maximal length is 10 characters)? Regards, Gilles P.S. My choice is "STATISTICS". On Wed, 03 Jan 2018 02:26:02 +0100, Gilles wrote: On Tue, 2 Jan 2018 11:13:00 -0500

[lang]

2018-01-10 Thread Gary Gregory
Hi All: I find myself writing a lot of this kind of code: if (SystemUtils.isJavaVersionAtLeast(JavaVersion.JAVA_1_8)) ... and Assume.assumeTrue(SystemUtils.isJavaVersionAtLeast(JavaVersion.JAVA_1_8)); I think this would be more tidy: if (SystemUtils.isJavaVersionAtLeast8()) ... If this makes

Re: [Statistics] Preferred name of the Jira project? (Was: [All] New git repository)

2018-01-10 Thread Amey Jadiye
+1, STATISTICS. Regards, Amey On Thu, Jan 11, 2018, 5:42 AM Gilles wrote: > Hi. > > The preferred name of the component was "Commons Statistics". > What shall be the preferred name of the Jira project's "key" > (maximal length is 10 characters)? > > Regards, > Gilles > > P.S. My choice is "STAT

Re: [lang]

2018-01-10 Thread Matt Benson
As I'm sure you're aware, the planned obsolescence of this approach is its obvious drawback (a similar drawback exists already in the JavaVersion parameter type). I assume this is the reason you said "technical reasons." However, wouldn't it be straight up simple, as well as future proof (if done c

Re: [lang]

2018-01-10 Thread Gilles
On Wed, 10 Jan 2018 17:34:55 -0700, Gary Gregory wrote: Hi All: I find myself writing a lot of this kind of code: if (SystemUtils.isJavaVersionAtLeast(JavaVersion.JAVA_1_8)) ... and Assume.assumeTrue(SystemUtils.isJavaVersionAtLeast(JavaVersion.JAVA_1_8)); I think this would be more tidy:

Re: svn commit: r24121 - in /dev/commons/text: ./ binaries/ source/

2018-01-10 Thread Rob Tompkins
Apparently there’s a bug with my “-DdryRun=true”. I think I’ll fix that before I push the release up. -Rob > On Jan 10, 2018, at 9:00 PM, chtom...@apache.org wrote: > > Author: chtompki > Date: Thu Jan 11 02:00:44 2018 > New Revision: 24121 > > Log: > Staging release: commons-text, version: 1.

[VOTE] Release Commons Release Plugin 1.0 base on RC1

2018-01-10 Thread Rob Tompkins
Hello all, This is a [VOTE] for releasing Apache commons-release-plugin 1.0 (from RC1). Tag name: commons-release-plugin-1.0-RC1 (signature can be checked from git using 'git tag -v') Tag URL: https://git-wip-us.apache.org/repos/asf?p=commons-release-plugin.git;a=tag;h=6b05b8bee894ad471c

Re: [Statistics] Preferred name of the Jira project? (Was: [All] New git repository)

2018-01-10 Thread Gary Gregory
You pick :-) Gary On Wed, Jan 10, 2018 at 5:12 PM, Gilles wrote: > Hi. > > The preferred name of the component was "Commons Statistics". > What shall be the preferred name of the Jira project's "key" > (maximal length is 10 characters)? > > Regards, > Gilles > > P.S. My choice is "STATISTICS".

Re: [lang]

2018-01-10 Thread Gary Gregory
On Wed, Jan 10, 2018 at 5:44 PM, Matt Benson wrote: > As I'm sure you're aware, the planned obsolescence of this approach is its > obvious drawback (a similar drawback exists already in the JavaVersion > parameter type). I assume this is the reason you said "technical reasons." > However, wouldn'

Re: [lang]

2018-01-10 Thread Gary Gregory
On Wed, Jan 10, 2018 at 5:47 PM, Gilles wrote: > On Wed, 10 Jan 2018 17:34:55 -0700, Gary Gregory wrote: > >> Hi All: >> >> I find myself writing a lot of this kind of code: >> >> if (SystemUtils.isJavaVersionAtLeast(JavaVersion.JAVA_1_8)) ... >> >> and >> >> >> Assume.assumeTrue(SystemUtils.isJa

Re: [VOTE] Release Commons Release Plugin 1.0 base on RC1

2018-01-10 Thread Gary Gregory
Nit: main site page: "This is a Maven 3.x Plugin which is used by Apache Commons releases." -> "This is a Maven 3.x Plugin which is used by Apache Commons release managers." Gary On Wed

Re: [VOTE] Release Commons Release Plugin 1.0 base on RC1

2018-01-10 Thread Gary Gregory
I wonder if: - This should be a LAZY VOTE since this is not an official component but rather a tool - We should release it as 1.0 anyway (unless obvious bugs are found) to avoid the chicken and egg problem: To really test this, I want to create an RC for Commons Collection (for example). But that m

Re: [collections] New iterator/iterable methods

2018-01-10 Thread Claude Warren
does first return the first object or the first non-null object? If the first object how do you distinguish between first() returning a null object and there being an empty container? If the first non-null object how do you determine that nulls were skipped? Keep in mind that the Optional impleme