Re: [CSV] Prohibit creation of more than one iterator over a CSVParser?

2013-08-12 Thread sebb
Or if it cannot easily be prevented, add Javadoc to warn against doing it. On 13 August 2013 00:31, James Carman wrote: > Agreed. +1 > > On Monday, August 12, 2013, Matt Benson wrote: > >> As someone with no prior involvement with this component, and at risk of >> being hit by the digital tomato

Re: [CSV] Prohibit creation of more than one iterator over a CSVParser?

2013-08-12 Thread James Carman
Agreed. +1 On Monday, August 12, 2013, Matt Benson wrote: > As someone with no prior involvement with this component, and at risk of > being hit by the digital tomatoes of the group, this seems to indicate to > me that once a parser definition has been joined to a source of input, the > resultin

Re: [CSV] Prohibit creation of more than one iterator over a CSVParser?

2013-08-12 Thread Matt Benson
As someone with no prior involvement with this component, and at risk of being hit by the digital tomatoes of the group, this seems to indicate to me that once a parser definition has been joined to a source of input, the resulting object *is* the record iterator. If there's no way to twist that i

Re: [CSV] Prohibit creation of more than one iterator over a CSVParser?

2013-08-12 Thread Gary Gregory
On Mon, Aug 12, 2013 at 3:26 PM, Benedikt Ritter wrote: > Hi, > > I've added a new test to CSVParser test case that shows what happens if > CSVParser.iterator() is called twice [1]. > > This looks pretty strange to me. One iterator can eat up records of the > other. > Would it be better to throw

Re: [CSV] Creating CSVParser instances

2013-08-12 Thread Gary Gregory
On Mon, Aug 12, 2013 at 3:13 PM, Benedikt Ritter wrote: > 2013/8/8 Gary Gregory > > > On Thu, Aug 8, 2013 at 10:27 AM, Benedikt Ritter > > wrote: > > > > > 2013/8/8 Emmanuel Bourg > > > > > > > Le 08/08/2013 15:40, Gary Gregory a écrit : > > > > > > > > > Sans type names: > > > > > > > > > > p

[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 I

Re: [spam] Re: [CONVERT] Toward Release 1.0

2013-08-12 Thread Adrian Crum
I had to commit it manually. -Adrian On 8/12/2013 1:01 PM, Matt Benson wrote: Your account is likely locked out now. I just reset mine from a mvn site:stage build I did earlier today. ;) Matt On Mon, Aug 12, 2013 at 2:51 PM, Adrian Crum < adrian.c...@sandglass-software.com> wrote: Thanks

Re: [CONVERT] Toward Release 1.0

2013-08-12 Thread Benedikt Ritter
I always have to pass my credentials view -Dusername and -Dpassword. Maybe this does the trick for you? Benedikt 2013/8/12 Matt Benson > Your account is likely locked out now. I just reset mine from a mvn > site:stage build I did earlier today. ;) > > Matt > > > On Mon, Aug 12, 2013 at 2:51

[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 mu

Re: [CONVERT] Toward Release 1.0

2013-08-12 Thread Matt Benson
Your account is likely locked out now. I just reset mine from a mvn site:stage build I did earlier today. ;) Matt On Mon, Aug 12, 2013 at 2:51 PM, Adrian Crum < adrian.c...@sandglass-software.com> wrote: > Thanks! > > Running mvn clean site-deploy generates this error: > > [INFO]

Re: [CONVERT] Toward Release 1.0

2013-08-12 Thread Adrian Crum
Thanks! Running mvn clean site-deploy generates this error: [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 5:21.438s [INFO] Finished at: Mo

[CSV] Prohibit creation of more than one iterator over a CSVParser?

2013-08-12 Thread Benedikt Ritter
Hi, I've added a new test to CSVParser test case that shows what happens if CSVParser.iterator() is called twice [1]. This looks pretty strange to me. One iterator can eat up records of the other. Would it be better to throw an exception if iterator() is called more than once? Benedikt [1] http

Re: [Math] Fluent API, inheritance and immutability

2013-08-12 Thread Phil Steitz
On 8/12/13 10:55 AM, Evan Ward wrote: > On 08/12/2013 12:19 PM, Phil Steitz wrote: >> On 8/12/13 9:04 AM, Evan Ward wrote: >>> On 08/09/2013 06:55 PM, Gilles wrote: >> [...] >> >>> This does make it important to decide on a well written and >>> complete API before releasing it.

Re: [CSV] Creating CSVParser instances

2013-08-12 Thread Benedikt Ritter
2013/8/8 Gary Gregory > On Thu, Aug 8, 2013 at 10:27 AM, Benedikt Ritter > wrote: > > > 2013/8/8 Emmanuel Bourg > > > > > Le 08/08/2013 15:40, Gary Gregory a écrit : > > > > > > > Sans type names: > > > > > > > > parse(File, CSVFormat) > > > > parse(String, Charset, ClassLoader, CSVFormat) > >

Re: svn commit: r1513173 - /commons/sandbox/convert/trunk/build.xml

2013-08-12 Thread Adrian Crum
The Convert devs use Ant. We are not accustomed to using Maven. -Adrian On 8/12/2013 11:34 AM, sebb wrote: On 12 August 2013 18:45, Benedikt Ritter wrote: 2013/8/12 Author: adrianc Date: Mon Aug 12 15:47:17 2013 New Revision: 1513173 URL: http://svn.apache.org/r1513173 Log: Fixed some bui

[LANG] Build fails with JDK 8 developer preview

2013-08-12 Thread Benedikt Ritter
Hi, I've been playing around with developer previews of JDK 8 lately and I just realized that LANG does not build with JDK 8. This may not be super critical but I thought better to be aware of this early instead of being caught off guard. Here is some info about my system and the complete log of

Re: svn commit: r1513173 - /commons/sandbox/convert/trunk/build.xml

2013-08-12 Thread sebb
On 12 August 2013 18:45, Benedikt Ritter wrote: > 2013/8/12 > >> Author: adrianc >> Date: Mon Aug 12 15:47:17 2013 >> New Revision: 1513173 >> >> URL: http://svn.apache.org/r1513173 >> Log: >> Fixed some build.xml errors, updated JUnit to 4.10. >> > > JUnit 4.11 is the latest version. > Also, is

Re: [Math] Fluent API, inheritance and immutability

2013-08-12 Thread Evan Ward
On 08/12/2013 12:19 PM, Phil Steitz wrote: > On 8/12/13 9:04 AM, Evan Ward wrote: >> On 08/09/2013 06:55 PM, Gilles wrote: > [...] > >> This does make it important to decide on a well written and >> complete API before releasing it. > When the scope of the software is well circ

Re: svn commit: r1513173 - /commons/sandbox/convert/trunk/build.xml

2013-08-12 Thread Benedikt Ritter
2013/8/12 > Author: adrianc > Date: Mon Aug 12 15:47:17 2013 > New Revision: 1513173 > > URL: http://svn.apache.org/r1513173 > Log: > Fixed some build.xml errors, updated JUnit to 4.10. > JUnit 4.11 is the latest version. > > Modified: > commons/sandbox/convert/trunk/build.xml > > Modified

Re: [CONVERT] Toward Release 1.0

2013-08-12 Thread Benedikt Ritter
Hey, site publication has changed. Use the steps described on the website: http://commons.apache.org/site-publish.html Benedikt 2013/8/12 Adrian Crum > In revision 1513175 I updated the code with the latest bug fixes. I can't > deploy the site changes because the maven site:deploy target is b

Re: [Math] Fluent API, inheritance and immutability

2013-08-12 Thread Phil Steitz
On 8/12/13 9:04 AM, Evan Ward wrote: > > On 08/09/2013 06:55 PM, Gilles wrote: [...] > This does make it important to decide on a well written and > complete API before releasing it. When the scope of the software is well circumscribed, that would be possible. With the w

[CONVERT] Toward Release 1.0

2013-08-12 Thread Adrian Crum
In revision 1513175 I updated the code with the latest bug fixes. I can't deploy the site changes because the maven site:deploy target is broken - most likely due to recent changes to the deployment scripts. It worked fine the last time I used it. So, I need help from a maven guru to get it fix

Re: [Math] Fluent API, inheritance and immutability

2013-08-12 Thread Evan Ward
On 08/09/2013 06:55 PM, Gilles wrote: >>> [...] >>> This does make it important to decide on a well written and complete API before releasing it. >>> >>> When the scope of the software is well circumscribed, that would be >>> possible. With the whole of [Math]ematics, much less so. :-}