[ANNOUNCE] Apache Commons CLI 1.3.1 released!

2015-06-17 Thread Benedikt Ritter
The Apache Commons Team is pleased to announce the release of Apache Commons CLI 1.3.1. The Apache Commons CLI library provides an API for parsing command line options passed to programs. It's also able to print help messages detailing the options available for a command line tool. 1.3.1 is binar

[LANG][COLLECTIONS] Require a static function to swap 2 elements in a array (primitive as well non-primitive)

2015-06-17 Thread venkatesha murthy
Hi All I was looking to ArrayUtils(version 3.4) to hopefully find a swap method . Is this some thing available else where or can i implement one. please suggest. Also i am not sure which commons lib this can be placed with. please let know about that as well. thanks venkat.

Re: [VOTE] Release Configuration 2.0-beta1 based on RC1

2015-06-17 Thread Phil Steitz
+1 Got the same test failure as Thomas and Bruno testing with Apache Maven 3.2.3 Java version: 1.8.0_45, vendor: Oracle Corporation OS name: "mac os x", version: "10.10.3", arch: "x86_64", family: "mac" Checked sigs and hashes good. Distro contents look good. Jar has right contents and looks g

[cli] GnuParser vs DefaultParser

2015-06-17 Thread Alex P
Hi All, Not sure if that is a change in API or bug in DefaultParser. If I use GnuParser (what I used in 1.2) like: - public void testUnlimitedArgs() throws Exception { String[] args = new String[] {"-unlimited", "one", "t

Re: [VOTE] Release Configuration 2.0-beta1 based on RC1

2015-06-17 Thread Thomas Neidhart
On 06/14/2015 10:10 PM, Oliver Heger wrote: > Hi all, > > this is a vote for the first beta version of [configuration] 2.0 based > on the first release candidate. After two alpha versions, it is now time > to move to a beta version. Since the last alpha version, there has only > be a small change:

Re: [VOTE] Release Configuration 2.0-beta1 based on RC1

2015-06-17 Thread Benedikt Ritter
Hello Oliver, 2015-06-17 21:46 GMT+02:00 Oliver Heger : > > > Am 15.06.2015 um 21:34 schrieb Oliver Heger: > > Hi Bruno, > > > > Am 15.06.2015 um 10:34 schrieb Bruno P. Kinoshita: > >> Hi > >> > >> -1 not binding > >> > >> The following test fails in Ubuntu 14.04 with Java versions: > >> > >> * 1

Re: [VOTE] Release Configuration 2.0-beta1 based on RC1

2015-06-17 Thread Oliver Heger
Am 15.06.2015 um 21:34 schrieb Oliver Heger: > Hi Bruno, > > Am 15.06.2015 um 10:34 schrieb Bruno P. Kinoshita: >> Hi >> >> -1 not binding >> >> The following test fails in Ubuntu 14.04 with Java versions: >> >> * 1.8.0_45, vendor: Oracle Corporation, Java home: >> /usr/lib/jvm/java-8-oracle/j

Re: Apache Commons Configuration & Bean Scripting Framework (BSF) - dependencies on JDK-Internal APIs

2015-06-17 Thread Oliver Heger
Hi Rory, Am 15.06.2015 um 10:04 schrieb Rory O'Donnell: > > Hi Benedict, > > I'm contacting you in relation to Apache Commons Configuration & Bean > Scripting Framework (BSF), both projects seems to be very popular > dependencies for other open source projects. > > As part of the preparations

[RESULT][VOTE] Release Apache Commons CLI 1.3.1 based on RC1

2015-06-17 Thread Benedikt Ritter
Hello, this vote passes with the following votes: Oliver Heger: +1 (binding) Gary Gregory: +1 (binding) Bruno P. Kinoshita: +1 (non-binding) Paul King: +1 (non-binding) Benedikt Ritter: +1 (binding) I go on and publish the artifacts. Thank you to all how reviewed this RC. Benedikt 2015-06-14

Re: ByteSizeUnit a la TimeUnit

2015-06-17 Thread Benedikt Ritter
2015-06-17 14:03 GMT+02:00 David Blevins : > I'd be happy to donate these if we want them: > > > https://raw.githubusercontent.com/tomitribe/tomitribe-util/master/src/main/java/org/tomitribe/util/SizeUnit.java > > https://raw.githubusercontent.com/tomitribe/tomitribe-util/master/src/test/java/org/

Re: ByteSizeUnit a la TimeUnit

2015-06-17 Thread David Blevins
I'd be happy to donate these if we want them: https://raw.githubusercontent.com/tomitribe/tomitribe-util/master/src/main/java/org/tomitribe/util/SizeUnit.java https://raw.githubusercontent.com/tomitribe/tomitribe-util/master/src/test/java/org/tomitribe/util/SizeUnitTest.java Which commons lib wou

[IO] Re: ByteSizeUnit a la TimeUnit

2015-06-17 Thread Benedikt Ritter
Hi Gary, 2015-06-17 9:50 GMT+02:00 Gary Gregory : > Hi All: > > Java 5 introduced TimeUnit, a very nice enum. > > What do you all think of a ByteSizeUnit enum to handle bit, nibble, byte, > kilobyte, kilobit, megabyte and so on? > Have a look at IO-294 [1] and IO-373 [2]. Benedikt [1] https://

ByteSizeUnit a la TimeUnit

2015-06-17 Thread Gary Gregory
Hi All: Java 5 introduced TimeUnit, a very nice enum. What do you all think of a ByteSizeUnit enum to handle bit, nibble, byte, kilobyte, kilobit, megabyte and so on? Gary -- E-Mail: garydgreg...@gmail.com | ggreg...@apache.org Java Persistence with Hibernate, Second Edition