Re: [vfs] Error While Reading Large Files Through FTP

2011-01-29 Thread Hiranya Jayathilaka
Hi Ralph, On Sat, Jan 29, 2011 at 9:10 PM, Ralph Goers wrote: > Can you try with the latest source in subversion? > I checked out and built the latest commons-vfs trunk head and then I realized the artifact names and package names have changed (vfs => vfs2). So we have to change Synapse source c

Re: [csv] Proposal to remove setter methods from CSVStrategy

2011-01-29 Thread Adrian Crum
From my perspective, if DEFAULT_STRATEGY, EXCEL_STRATEGY, or TDF_STRATEGY are mutable, then copies of them should be returned in a factory method. Ideally, a selector would be passed to a factory method: CSVStrategy strategy = CSVStrategy.getInstance(CSVStrategy.DEFAULT_STRATEGY); -Adrian O

Re: [SCXML] Actionscript SCXML engine

2011-01-29 Thread Xun Long Gui
Hi Gavin, It sounds like a good idea. Anyway, if you want to do something, you should just start your job. If you hava got something, you can show it here. May be there will be more guys like it. But i think may be your idea is a very large project, it is not a easy thing if you want to finish th

Re: [SCXML] Actionscript SCXML engine

2011-01-29 Thread Gavin Lei
Hi Jake, Thank you for your help and you have done a good job. I am not very familiar with ECMAScript, it seems that ECMAScript is some kind of JavaScript. I do not think ActionScript is a superset of ECMAScript. ActionScript is a kind a Flex/Flash script languare, we usually use it to develop som

Re: [csv] Proposal to remove setter methods from CSVStrategy

2011-01-29 Thread Jacopo Cappellato
Hi Gary, I initially proposed the change when I noticed the following code in one of the automated tests of common-csv: CSVStrategy strategy = (CSVStrategy)CSVStrategy.DEFAULT_STRATEGY.clone(); strategy.setCommentStart('#'); TestCSVParser parser = new TestCSVParser(new StringReader(c

Re: [SCXML] Actionscript SCXML engine

2011-01-29 Thread Jacob Beard
Hi Gavin, I've developed scxml-js, a SCXML-to-ECMAScript compiler as a part of last year's Google Summer of Code. In addition to continuing to develop this compiler, I'm currently using it in my research on developing user interface with Statecharts. I've never worked with ActionScript before, but

[SCXML] Actionscript SCXML engine

2011-01-29 Thread Gavin Lei
Hi guys, I am a doctor student from China. My name is Gavin Lei. I have much Flex/Flash development experience, and you know that we usually use Flash actionscript to develop some cartoon application, such as some thing move in the screen. Recently, i noticed that SCXML may be a good solution for

RE: Releasing commons-parent

2011-01-29 Thread Gary Gregory
I am trying to logon to Nexus and I get: Nexus returned an error: ERROR 503: Service Temporarily Unavailable Can anyone else get in? Gary > -Original Message- > From: sebb [mailto:seb...@gmail.com] > Sent: Friday, January 28, 2011 17:41 > To: Commons Developers List > Subject: Re: Rel

Re: [csv] Proposal to remove setter methods from CSVStrategy

2011-01-29 Thread Simone Tripodi
indeed, if not, it doesn't worth the value changing the actual design :P Have a nice WE! Simo http://people.apache.org/~simonetripodi/ http://www.99soft.org/ On Sat, Jan 29, 2011 at 9:49 PM, Gary Gregory wrote: > Are people really using these classes in an MT way?  These seem like the kind >

Re: [csv] Proposal to remove setter methods from CSVStrategy

2011-01-29 Thread Gary Gregory
Are people really using these classes in an MT way? These seem like the kind of classes you do not share between threads. My op only though. Gary On Jan 29, 2011, at 12:27, "Simone Tripodi" wrote: > Hi all guys!!! :) > I'd suggest to apply Jacopo's suggestion, making strategies' fields as >

[NET] FTPS via an http-proxy

2011-01-29 Thread Marco van Eck
Hi, Is anyone working on a solution to use a http-proxy to connect to a ftps-server. Solving the issue for FTP (passive) is not so difficult by creating a new SocketFactory that uses "org.apache.commons.httpclient.ProxyClient" and setting it on the FTPClient. The same trick can't be used for the F

Re: Pointers

2011-01-29 Thread Matt Benson
Adding fuel to the fire, note that [lang] 3.0 will include the Pair class. Matt On 1/28/11, Stephen Williams wrote: > On 1/28/11 3:14 PM, James Ring wrote: >> Hey, >> >> On Fri, Jan 28, 2011 at 3:00 PM, Stephen Williams >> wrote: >>> True, you shouldn't synchronize on any object that A) you want

Re: [csv] Proposal to remove setter methods from CSVStrategy

2011-01-29 Thread Simone Tripodi
Hi all guys!!! :) I'd suggest to apply Jacopo's suggestion, making strategies' fields as final would help classes becoming thread-safe; to fix the issue of construction described by Stephen, it would be useful adding builder classes (optionally implemented as static inner classes). WDYT? HTH, that'

Re: [vfs] Error While Reading Large Files Through FTP

2011-01-29 Thread Ralph Goers
Can you try with the latest source in subversion? Ralph On Jan 28, 2011, at 10:46 PM, Hiranya Jayathilaka wrote: > Hi Devs, > > We are using Commons-VFS in the File transport of Apache Synapse. When we > are reading large files (> 1M) into Synapse over FTP, we often get the > following exceptio

Re: [csv] Proposal to remove setter methods from CSVStrategy

2011-01-29 Thread Jacopo Cappellato
Thank you Stephen, I understand this; alternatively we could implement a factory method that clones DEFAULT_STRATEGY, EXCEL_STRATEGY, TDF_STRATEGY; but I will definitely postpone any decision, it is not a big deal for me and we can wait for additional feedback. Jacopo On Jan 29, 2011, at 1:1

Re: [csv] Fixes for commons-csv

2011-01-29 Thread Jacopo Cappellato
Thank you Jörg. At this point I would be happy to get karma for the sandbox (my account is jacopoc): of course I will be very careful about my commits and I will discuss any ideas here before. Kind regards, Jacopo On Jan 29, 2011, at 1:37 PM, Jörg Schaible wrote: > Hi Jacopo, > > Jacopo Ca

Re: [csv] Fixes for commons-csv

2011-01-29 Thread Jörg Schaible
Hi Jacopo, Jacopo Cappellato wrote: > Hi all, > > I am a committer of the Apache OFBiz project and I am using commons-csv > for a project at work. I am wondering if there are plans to maintain the > common-csv package; if I will submit some patches and small enhancements > will they be considere

Re: [csv] Proposal to remove setter methods from CSVStrategy

2011-01-29 Thread Stephen Colebourne
Traditionally, many commons projects has taken no position on the correct way to instantiate objects, whether via constructor or bean methods. This was to allow construction from tools such as Velocity. It is also still easier to construct using Spring via bean methods rather than the constructor.

[csv] Proposal to remove setter methods from CSVStrategy

2011-01-29 Thread Jacopo Cappellato
Hi all, in my opinion all the setter methods should be removed from the CSVStrategy class: in this way the fields will only be set using the constructors and they will become readonly. The main issue I see with the current implementation is that a calling method can modify the values of the fie

[GUMP@vmgump]: Project commons-proxy-test (in module apache-commons) failed

2011-01-29 Thread Gump
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at gene...@gump.apache.org. Project commons-proxy-test has an issue affecting its community integration. This

[GUMP@vmgump]: Project commons-scxml-test (in module apache-commons) failed

2011-01-29 Thread Gump
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at gene...@gump.apache.org. Project commons-scxml-test has an issue affecting its community integration. This