Re: [Configuration] Problem in using FileChangedReloadingStrategy events ...

2011-02-15 Thread Ralph Goers
Yes, you've stumbled on one of the uglinesses of Commons Configuration. We should convert these to an Enum in the experimental branch. The particular event you encountered is defined in AbstractFileConfiguration. /** Constant for the configuration reload event.*/ public static final

Re: [Configuration] Problem in using FileChangedReloadingStrategy events ...

2011-02-15 Thread Moein Enayati
Dear Ralph Thanks a lot . Now I can use these constants to handle my scenario. *but as a comment *, I can't find any constant named *EVENT_CONFIG_CHANGED*in * AbstractFileConfiguration* ! the hole EVENT-Constants I can find are : AbstractFileConfiguration.EVENT_ADD_PROPERTY = 1;

Re: [jci] Can someone please make a 1.1 release?

2011-02-15 Thread Joe Littlejohn
So Torsten, would a new release from trunk be possible? Cheers On 12 February 2011 23:47, Joe Littlejohn joelittlej...@gmail.com wrote: Hi Torsten, I have built the trunk and installed a 1.1-SNAPSHOT to my local repository - this solves the problem so I really just need what's in trunk to

Re: [jci] Can someone please make a 1.1 release?

2011-02-15 Thread Torsten Curdt
Sorry for the late answer. I have built the trunk and installed a 1.1-SNAPSHOT to my local repository - this solves the problem so I really just need what's in trunk to be available in a release. OK As an aside, I was having some unit test failures during the JCI build so I had to run with

Re: [jci] Can someone please make a 1.1 release?

2011-02-15 Thread Christian Grobmeier
Just don't ask me to implement the JSR-199 based compiler for JCI - I've wrestled with that API a couple of times now and lost :D Haha :) I know. I admit I was on the expert group for that. ...and I told them it sucks (in nicer words) but the wouldn't listen. Just out of interest i read the

Re: [jci] Can someone please make a 1.1 release?

2011-02-15 Thread Christian Grobmeier
No, the implementation is already part of the JDK. It's just that using it seems to be harder to use than it should be. JCI is an easier abstraction. There already is some code in JCI bridging to the JSR199 but it's not fully working yet. So its probably a goal for JCI 2.0 to be a full

Re: [jci] Can someone please make a 1.1 release?

2011-02-15 Thread Joe Littlejohn
I already read the impl is part of JDK and I was wondering if JCI will stop development and is in maintenance mode for the old JDKs TBH ... I was thinking the same. Until Joe asked for a release :) I can certainly understand that JCI may seem a little redundant now that JSR-199 has arrived.

RE: [jci] Can someone please make a 1.1 release?

2011-02-15 Thread Gary Gregory
-Original Message- From: Joe Littlejohn [mailto:joelittlej...@gmail.com] Sent: Tuesday, February 15, 2011 12:46 To: Commons Users List Subject: Re: [jci] Can someone please make a 1.1 release? I already read the impl is part of JDK and I was wondering if JCI will stop

Re: [jci] Can someone please make a 1.1 release?

2011-02-15 Thread Christian Grobmeier
I already read the impl is part of JDK and I was wondering if JCI will stop development and is in maintenance mode for the old JDKs TBH ... I was thinking the same. Until Joe asked for a release :) Guess there are more interesting places in the java world at the moment... Anyway it would

Re: [jci] Can someone please make a 1.1 release?

2011-02-15 Thread Joe Littlejohn
Here's a link to the details of the test failure: http://pastebin.com/LTLwh8wX Looks like the Rhino compiler is not able to fulfil the testCrossReferenceCompilation test from org.apache.commons.jci.compilers.AbstractCompilerTestCase. Any ideas Torsten? On 15 February 2011 17:53, Christian

Re: [jci] Can someone please make a 1.1 release?

2011-02-15 Thread Torsten Curdt
I'm not sure whether it's worth investing a great deal of time in JCI, but I am sure that the trunk is currently a lot more useful than what's available in a release. That's true It sounds like it a week of someone's time to wake up [jci], fix the tests, update the build, etc. Maybe not a

Re: [jci] Can someone please make a 1.1 release?

2011-02-15 Thread Torsten Curdt
On Tue, Feb 15, 2011 at 19:17, Joe Littlejohn joelittlej...@gmail.com wrote: Here's a link to the details of the test failure: http://pastebin.com/LTLwh8wX Looks like the Rhino compiler is not able to fulfil the testCrossReferenceCompilation test from

Re: [Configuration] Problem in using FileChangedReloadingStrategy events ...

2011-02-15 Thread Oliver Heger
Am 15.02.2011 09:37, schrieb Moein Enayati: Dear Ralph Thanks a lot . Now I can use these constants to handle my scenario. *but as a comment *, I can't find any constant named *EVENT_CONFIG_CHANGED*in * AbstractFileConfiguration* ! the hole EVENT-Constants I can find are :

FTPClient hangs when downloading large files

2011-02-15 Thread Cysneros, Nelson A CIV SPAWARSYSCEN-PACIFIC, 56540
I'm using the net-commons v2.2 FTPClient to download files from a server and it works great for files less then 250MB, but hangs with larger files. Wondering if there is anything I can do to get around this issue. I'm downloading files up to 500MB in size. Thanks in advance. Here is my

Re: FTPClient hangs when downloading large files

2011-02-15 Thread sebb
Can you create a thread dump [1] to show where the code is hanging? [1] http://www.crazysquirrel.com/computing/java/basics/java-thread-dump.jspx On 15 February 2011 21:50, Cysneros, Nelson A CIV SPAWARSYSCEN-PACIFIC, 56540 nelson.cysne...@navy.mil wrote: I'm using the net-commons v2.2

[Email] Using Amazon Simple Email Service SES

2011-02-15 Thread Nathan Maves
Has anyone been able to use this service with commons email? I can't seem to wrap my head around how to do it. Here here is bit of their sample code PropertiesCredentials credentials = new PropertiesCredentials( AWSJavaMailSample.class