Re: [imap] Java 1.5...?

2009-01-06 Thread Eric MacAdie
Robert Burrell Donkin wrote: On Mon, Jan 5, 2009 at 6:14 AM, Eric MacAdie wrote: Robert Burrell Donkin wrote: On Tue, Dec 30, 2008 at 8:40 AM, Eric MacAdie wrote: Would this OpenJPA store be for IMAP only? ...yes but... IMAP is complex and has very specific storage requirem

JAMES Server Nightly Build Report

2009-01-06 Thread JAMES Nightly Build System
An automated nightly build of JAMES has been posted to http://people.apache.org/builds/james/nightly/ Any unit test errors from the build should be reported below: -

Re: SSL Not Working

2009-01-06 Thread Megha Agarval
Robert Burrell Donkin wrote: > On Tue, Dec 16, 2008 at 2:39 PM, Megha Agarval wrote: >> Hi, >> >> I was using SMTPS and POP3S to send and receive mails successfully with the >> phoenix deployment I had downloaded a couple of months back. But, after >> updating my sources to the latest version of

[mime4j] Drop JDK1.4 support entirely?

2009-01-06 Thread Markus Wiederkehr
Mime4j uses the retrotranslator maven plugin to build a JDK1.4 compatible jar file. Now I've noticed a few problems with that. For example CipherStorageProvider contains this innocent looking lines of code: catch (NoSuchAlgorithmException e) { throw new IllegalArgumentException(e)

Re: [imap] Java 1.5...? + JCR vs JPA implementation

2009-01-06 Thread hanasaki
Interesting comment below on the use of JCR (hierarchical schemata) or a JPA implementation. (RDBMS) What would you consider the pro/con argument of one vs the other? Robert Burrell Donkin wrote: On Mon, Jan 5, 2009 at 6:14 AM, Eric MacAdie wrote: Robert Burrell Donkin wrote: On Tue, Dec 30

Re: [mime4j] Drop JDK1.4 support entirely?

2009-01-06 Thread Stefano Bagnara
Markus Wiederkehr ha scritto: > Mime4j uses the retrotranslator maven plugin to build a JDK1.4 > compatible jar file. Now I've noticed a few problems with that. > > For example CipherStorageProvider contains this innocent looking lines of > code: > > catch (NoSuchAlgorithmException e) { >

Re: [mime4j] Drop JDK1.4 support entirely?

2009-01-06 Thread Robert Burrell Donkin
On Tue, Jan 6, 2009 at 1:19 PM, Stefano Bagnara wrote: > Markus Wiederkehr ha scritto: >> Mime4j uses the retrotranslator maven plugin to build a JDK1.4 >> compatible jar file. Now I've noticed a few problems with that. >> >> For example CipherStorageProvider contains this innocent looking lines o

Re: [mime4j] Drop JDK1.4 support entirely?

2009-01-06 Thread Markus Wiederkehr
On Tue, Jan 6, 2009 at 2:19 PM, Stefano Bagnara wrote: > Markus Wiederkehr ha scritto: >> Mime4j uses the retrotranslator maven plugin to build a JDK1.4 >> compatible jar file. Now I've noticed a few problems with that. >> >> For example CipherStorageProvider contains this innocent looking lines o

Re: [mime4j] Drop JDK1.4 support entirely?

2009-01-06 Thread Oleg Kalnichevski
Markus Wiederkehr wrote: On Tue, Jan 6, 2009 at 2:19 PM, Stefano Bagnara wrote: Markus Wiederkehr ha scritto: Mime4j uses the retrotranslator maven plugin to build a JDK1.4 compatible jar file. Now I've noticed a few problems with that. For example CipherStorageProvider contains this innocent

Re: [mime4j] Drop JDK1.4 support entirely?

2009-01-06 Thread Norman Maurer
+1 Norman 2009/1/6 Oleg Kalnichevski : > Markus Wiederkehr wrote: >> >> On Tue, Jan 6, 2009 at 2:19 PM, Stefano Bagnara wrote: >>> >>> Markus Wiederkehr ha scritto: Mime4j uses the retrotranslator maven plugin to build a JDK1.4 compatible jar file. Now I've noticed a few problems w

svn commit: r732049 - /james/mime4j/trunk/pom.xml

2009-01-06 Thread mwiederkehr
Author: mwiederkehr Date: Tue Jan 6 10:50:13 2009 New Revision: 732049 URL: http://svn.apache.org/viewvc?rev=732049&view=rev Log: Dropped JDK 1.4 support Modified: james/mime4j/trunk/pom.xml Modified: james/mime4j/trunk/pom.xml URL: http://svn.apache.org/viewvc/james/mime4j/trunk/pom.xml?r

svn commit: r732051 - /james/mime4j/trunk/src/main/java/org/apache/james/mime4j/message/Mode.java

2009-01-06 Thread mwiederkehr
Author: mwiederkehr Date: Tue Jan 6 10:51:04 2009 New Revision: 732051 URL: http://svn.apache.org/viewvc?rev=732051&view=rev Log: Changed Mode into a Java 5 enum because JDK 1.4 support has been dropped Modified: james/mime4j/trunk/src/main/java/org/apache/james/mime4j/message/Mode.java Mod

Re: [mime4j] Drop JDK1.4 support entirely?

2009-01-06 Thread Markus Wiederkehr
Done.. Markus On Tue, Jan 6, 2009 at 7:46 PM, Norman Maurer wrote: > +1 > Norman > > 2009/1/6 Oleg Kalnichevski : >> Markus Wiederkehr wrote: >>> >>> On Tue, Jan 6, 2009 at 2:19 PM, Stefano Bagnara wrote: Markus Wiederkehr ha scritto: > > Mime4j uses the retrotranslator maven

svn commit: r732056 - in /james/mime4j/trunk/src/main/java/org/apache/james/mime4j/field/address: AddressList.java DomainList.java MailboxList.java

2009-01-06 Thread mwiederkehr
Author: mwiederkehr Date: Tue Jan 6 10:58:27 2009 New Revision: 732056 URL: http://svn.apache.org/viewvc?rev=732056&view=rev Log: Implements Iterable to support enhanced for-loops Modified: james/mime4j/trunk/src/main/java/org/apache/james/mime4j/field/address/AddressList.java james/mi

[ANNOUNCEMENT] Apache Mailet 2.4 Released

2009-01-06 Thread Robert Burrell Donkin
The Apache James Project is pleased to announce that the Apache Mailet 2.4 release is now available for download at http://james.apache.org/download.cgi#Apache%20Mailet. The Mailet API is a mature standard for enterprise mail agents. For more details see http://james.apache.org/mailet/. A Mailet

[jira] Assigned: (MIME4J-96) Field.parse() should defer parsing until the parsed value is actually requested

2009-01-06 Thread Markus Wiederkehr (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-96?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Markus Wiederkehr reassigned MIME4J-96: --- Assignee: Markus Wiederkehr > Field.parse() should defer parsing until the parsed valu

svn commit: r732068 - in /james/mime4j/trunk/src/main/java/org/apache/james/mime4j/field: AddressListField.java ContentTransferEncodingField.java ContentTypeField.java DateTimeField.java MailboxField.

2009-01-06 Thread mwiederkehr
Author: mwiederkehr Date: Tue Jan 6 11:25:25 2009 New Revision: 732068 URL: http://svn.apache.org/viewvc?rev=732068&view=rev Log: Deferred parsing of header fields (MIME4J-96). Modified: james/mime4j/trunk/src/main/java/org/apache/james/mime4j/field/AddressListField.java james/mime4j/t

[jira] Commented: (MIME4J-96) Field.parse() should defer parsing until the parsed value is actually requested

2009-01-06 Thread Markus Wiederkehr (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-96?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12661271#action_12661271 ] Markus Wiederkehr commented on MIME4J-96: - Patch applied. The test now runs under 22

Re: [mime4j] Reconsider Message#getSubject()

2009-01-06 Thread Markus Wiederkehr
Would it be a problem to change the return type of Message.getSubject? Markus On Sun, Jan 4, 2009 at 7:49 PM, Markus Wiederkehr wrote: > I've noticed that Message has a method getSubject() that returns the > subject as UnstructuredField. > > In my opinion it would be more practical if getSubject

Re: [imap] Java 1.5...? + JCR vs JPA implementation

2009-01-06 Thread Robert Burrell Donkin
On Tue, Jan 6, 2009 at 12:22 AM, hanasaki wrote: > Interesting comment below on the use of JCR (hierarchical schemata) or a JPA > implementation. (RDBMS) > > What would you consider the pro/con argument of one vs the other? the way i see things: JCR is more document-centric. this makes integrati

Re: [mime4j] Reconsider Message#getSubject()

2009-01-06 Thread Robert Burrell Donkin
On Tue, Jan 6, 2009 at 7:31 PM, Markus Wiederkehr wrote: > Would it be a problem to change the return type of Message.getSubject? i'm not a fan of the legacy message API so i generally keep quiet... > Markus > > On Sun, Jan 4, 2009 at 7:49 PM, Markus Wiederkehr > wrote: >> I've noticed that Mes

svn commit: r732092 - in /james/protocols/imap/trunk: jpa/src/main/java/org/apache/james/imap/jpa/ jpa/src/main/java/org/apache/james/imap/jpa/mail/ jpa/src/main/java/org/apache/james/imap/jpa/mail/ma

2009-01-06 Thread rdonkin
Author: rdonkin Date: Tue Jan 6 12:09:45 2009 New Revision: 732092 URL: http://svn.apache.org/viewvc?rev=732092&view=rev Log: Push exception handling into mappers Added: james/protocols/imap/trunk/mailbox/src/main/java/org/apache/james/imap/mailbox/StorageException.java Modified: james

Re: [imap] Java 1.5...?

2009-01-06 Thread Robert Burrell Donkin
On Tue, Jan 6, 2009 at 8:04 AM, Eric MacAdie wrote: > Robert Burrell Donkin wrote: >> >> On Mon, Jan 5, 2009 at 6:14 AM, Eric MacAdie wrote: >> >>> >>> Robert Burrell Donkin wrote: >>> On Tue, Dec 30, 2008 at 8:40 AM, Eric MacAdie wrote: > > Would this OpenJPA store b

svn commit: r732097 - in /james/protocols/imap/trunk/jpa/src/main/java/org/apache/james/imap/jpa: ./ mail/ mail/map/openjpa/ user/

2009-01-06 Thread rdonkin
Author: rdonkin Date: Tue Jan 6 12:25:43 2009 New Revision: 732097 URL: http://svn.apache.org/viewvc?rev=732097&view=rev Log: Renamed mappers. Original names will be reused for interfaces. Added: james/protocols/imap/trunk/jpa/src/main/java/org/apache/james/imap/jpa/mail/JPAMailboxMapper.ja

Re: [mime4j] Reconsider Message#getSubject()

2009-01-06 Thread Markus Wiederkehr
On Tue, Jan 6, 2009 at 9:09 PM, Robert Burrell Donkin wrote: > On Tue, Jan 6, 2009 at 7:31 PM, Markus Wiederkehr > wrote: >> Would it be a problem to change the return type of Message.getSubject? > > i'm not a fan of the legacy message API so i generally keep quiet... May I ask why not? I think

Re: [mime4j] Reconsider Message#getSubject()

2009-01-06 Thread Robert Burrell Donkin
On Tue, Jan 6, 2009 at 8:34 PM, Markus Wiederkehr wrote: > On Tue, Jan 6, 2009 at 9:09 PM, Robert Burrell Donkin > wrote: >> On Tue, Jan 6, 2009 at 7:31 PM, Markus Wiederkehr >> wrote: >>> Would it be a problem to change the return type of Message.getSubject? >> >> i'm not a fan of the legacy me

svn commit: r732114 - in /james/protocols/imap/trunk: deployment/src/test/java/org/apache/james/imap/functional/jpa/ jpa/src/main/java/org/apache/james/imap/jpa/ jpa/src/main/java/org/apache/james/ima

2009-01-06 Thread rdonkin
Author: rdonkin Date: Tue Jan 6 12:53:21 2009 New Revision: 732114 URL: http://svn.apache.org/viewvc?rev=732114&view=rev Log: Factor out interfaces for mappers. Added: james/protocols/imap/trunk/jpa/src/main/java/org/apache/james/imap/jpa/JPASubscriptionManager.java (contents, props chan

svn commit: r732125 [2/2] - in /james/protocols/imap/trunk: deployment/src/test/java/org/apache/james/imap/functional/jpa/ jpa/ jpa/src/main/java/org/apache/james/imap/jpa/ jpa/src/main/java/org/apach

2009-01-06 Thread rdonkin
Modified: james/protocols/imap/trunk/jpa/src/main/java/org/apache/james/imap/store/mail/MessageMapper.java URL: http://svn.apache.org/viewvc/james/protocols/imap/trunk/jpa/src/main/java/org/apache/james/imap/store/mail/MessageMapper.java?rev=732125&r1=732124&r2=732125&view=diff ==

svn commit: r732131 - /james/mailet/current/src/site/xdoc/index.xml

2009-01-06 Thread rdonkin
Author: rdonkin Date: Tue Jan 6 13:46:20 2009 New Revision: 732131 URL: http://svn.apache.org/viewvc?rev=732131&view=rev Log: Corrected bad links Modified: james/mailet/current/src/site/xdoc/index.xml Modified: james/mailet/current/src/site/xdoc/index.xml URL: http://svn.apache.org/viewvc/

RE: [imap] Java 1.5...? + JCR vs JPA implementation

2009-01-06 Thread Steve Brewin
Robert Burrell Donkin [mailto:robertburrelldon...@gmail.com] wrote on: 06 January 2009 19:53 > On Tue, Jan 6, 2009 at 12:22 AM, hanasaki > wrote: > > Interesting comment below on the use of JCR (hierarchical > schemata) or a JPA > > implementation. (RDBMS) > > > > What would you consider the pro/c

svn commit: r732179 - /james/mime4j/trunk/src/main/java/org/apache/james/mime4j/field/ContentTypeField.java

2009-01-06 Thread mwiederkehr
Author: mwiederkehr Date: Tue Jan 6 15:43:48 2009 New Revision: 732179 URL: http://svn.apache.org/viewvc?rev=732179&view=rev Log: minor optimization: getCharset(ContentTypeField) no longer calls f.getCharset() up to three times Modified: james/mime4j/trunk/src/main/java/org/apache/james/mi

svn commit: r732183 - in /james/protocols/imap/trunk: deployment/src/test/java/org/apache/james/imap/functional/jpa/ deployment/src/test/java/org/apache/james/imap/functional/jpa/user/ jpa/src/main/ja

2009-01-06 Thread rdonkin
Author: rdonkin Date: Tue Jan 6 15:49:02 2009 New Revision: 732183 URL: http://svn.apache.org/viewvc?rev=732183&view=rev Log: Repackage Added: james/protocols/imap/trunk/jpa/src/main/java/org/apache/james/imap/store/Authenticator.java - copied, changed from r732065, james/protocols/i

Re: SSL Not Working

2009-01-06 Thread Bernd Fondermann
On Tue, Jan 6, 2009 at 12:56, Megha Agarval wrote: > > Robert Burrell Donkin wrote: >> On Tue, Dec 16, 2008 at 2:39 PM, Megha Agarval wrote: >>> Hi, >>> >>> I was using SMTPS and POP3S to send and receive mails successfully with the >>> phoenix deployment I had downloaded a couple of months back