Re: Functional Testing

2007-05-31 Thread robert burrell donkin
On 5/31/07, Bernd Fondermann <[EMAIL PROTECTED]> wrote: On 5/31/07, robert burrell donkin <[EMAIL PROTECTED]> wrote: > On 5/31/07, Danny Angus <[EMAIL PROTECTED]> wrote: > > On 5/31/07, robert burrell donkin <[EMAIL PROTECTED]> wrote: > > > > > opinions? > > > > Can you explain a bit, you lost me

Re: Functional Testing

2007-05-31 Thread Bernd Fondermann
On 5/31/07, robert burrell donkin <[EMAIL PROTECTED]> wrote: On 5/31/07, Danny Angus <[EMAIL PROTECTED]> wrote: > On 5/31/07, robert burrell donkin <[EMAIL PROTECTED]> wrote: > > > opinions? > > Can you explain a bit, you lost me about half way through! maybe some examples will make things clear

Re: Functional Testing

2007-05-31 Thread Danny Angus
On 5/31/07, robert burrell donkin <[EMAIL PROTECTED]> wrote: a functional test suite for IMAP might consist of a script which uses an IMAP client to perform a number of operations and records their results. Ok I had the wrong idea about how you were going to create the tests! Its a good idea.

MailRepository.store() current user?

2007-05-31 Thread Michael Valenty
In config.xml > spoolmanager > processor(name=transport), I added: ew://mail/outgoing/ Then, when I send mail from a Outlook to a remote recipient MyMailRepository.store() is invoked as expected. The issue is that it looks like there is only one instance of MyMailRepository

Re: POP3 - leave copy of message on server (fixed)

2007-05-31 Thread Michael Valenty
I needed to do: mail.setName(key); Michael Valenty wrote: > > I have James 2.3.1 configured to use MyMailRepository. I am using Outlook > Express as a test POP3 client and I have it set to "leave copy of message > on server", however I get duplicates of messages I have already > downloaded. >

Re: Functional Testing

2007-05-31 Thread Norman Maurer
Am Donnerstag, den 31.05.2007, 17:19 +0100 schrieb robert burrell donkin: > On 5/31/07, Danny Angus <[EMAIL PROTECTED]> wrote: > > On 5/31/07, robert burrell donkin <[EMAIL PROTECTED]> wrote: > > > > > opinions? > > > > Can you explain a bit, you lost me about half way through! > > maybe some exam

Re: Mime4j and buffering

2007-05-31 Thread Norman Maurer
Am Donnerstag, den 31.05.2007, 17:23 +0100 schrieb robert burrell donkin: > On 5/31/07, Jukka Zitting <[EMAIL PROTECTED]> wrote: > > Hi, > > > > On 5/31/07, Norman Maurer <[EMAIL PROTECTED]> wrote: > > > Can you please elaborate what a lookahead buffer is ? > > > > I'm planning to use a buffer (eve

Re: Mime4j and buffering

2007-05-31 Thread robert burrell donkin
On 5/31/07, Jukka Zitting <[EMAIL PROTECTED]> wrote: Hi, On 5/31/07, Norman Maurer <[EMAIL PROTECTED]> wrote: > Can you please elaborate what a lookahead buffer is ? I'm planning to use a buffer (even a mapped one if using nio) to load larger chunks of the message being parsed. The parser can t

Re: Functional Testing

2007-05-31 Thread robert burrell donkin
On 5/31/07, Danny Angus <[EMAIL PROTECTED]> wrote: On 5/31/07, robert burrell donkin <[EMAIL PROTECTED]> wrote: > opinions? Can you explain a bit, you lost me about half way through! maybe some examples will make things clearer... a functional test suite for IMAP might consist of a script wh

Re: [ANNOUNCE] Apache Mime4j 0.3 released

2007-05-31 Thread Norman Maurer
Am Mittwoch, den 30.05.2007, 22:37 +0200 schrieb Stefano Bagnara: > The Apache JAMES team is pleased to announce the release of Apache > Mime4J version 0.3. Apache Mime4J mime4j provides parsing for e-mail > message streams in plain rfc822 and MIME format. > > The 0.3 release is the first officia

Re: Functional Testing

2007-05-31 Thread Norman Maurer
Am Donnerstag, den 31.05.2007, 17:10 +0100 schrieb Danny Angus: > On 5/31/07, robert burrell donkin <[EMAIL PROTECTED]> wrote: > > > opinions? > > Can you explain a bit, you lost me about half way through! > > d. Same here :-D bye Norman --

Re: Functional Testing

2007-05-31 Thread Danny Angus
On 5/31/07, robert burrell donkin <[EMAIL PROTECTED]> wrote: opinions? Can you explain a bit, you lost me about half way through! d. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECT

Re: Mime4j and buffering

2007-05-31 Thread Niklas Therning
Jukka Zitting wrote: > Hi, > > I've been looking at MIME4J-5 and I have a few ideas on how to speed > up parsing. However, I'm not sure about how the underlying mime stream > should be treated. I would use a lookahead buffer but that would leave > the underlying stream in an undefined state for exa

Re: Mime4j and buffering

2007-05-31 Thread Jukka Zitting
Hi, On 5/31/07, Norman Maurer <[EMAIL PROTECTED]> wrote: Can you please elaborate what a lookahead buffer is ? I'm planning to use a buffer (even a mapped one if using nio) to load larger chunks of the message being parsed. The parser can then "look ahead" in the buffer to find the next multip

Functional Testing

2007-05-31 Thread robert burrell donkin
the subject of functional (black box) testing has been on my mind recently. this arises from thinking about IMAP and about supporting multiple variations on the same code base (for example, multiple mail repositories). a functional test suite is important for IMAP. IMHO simulating real life email

Re: Mime4j and buffering

2007-05-31 Thread Norman Maurer
Can you please elaborate what a lookahead buffer is ? bye Norman Am Donnerstag, den 31.05.2007, 17:08 +0300 schrieb Jukka Zitting: > Hi, > > I've been looking at MIME4J-5 and I have a few ideas on how to speed > up parsing. However, I'm not sure about how the underlying mime stream > should be t

Re: [ANNOUNCE] Apache Mime4j 0.3 released

2007-05-31 Thread Norman Maurer
Am Donnerstag, den 31.05.2007, 09:20 +0200 schrieb Norman Maurer: > Stefano Bagnara schrieb: > > The Apache JAMES team is pleased to announce the release of Apache > > Mime4J version 0.3. Apache Mime4J mime4j provides parsing for e-mail > > message streams in plain rfc822 and MIME format. > > > >

Mime4j and buffering

2007-05-31 Thread Jukka Zitting
Hi, I've been looking at MIME4J-5 and I have a few ideas on how to speed up parsing. However, I'm not sure about how the underlying mime stream should be treated. I would use a lookahead buffer but that would leave the underlying stream in an undefined state for example when parsing is stopped wi

svn commit: r543129 - /james/jspf/trunk/pom.xml

2007-05-31 Thread norman
Author: norman Date: Thu May 31 06:34:43 2007 New Revision: 543129 URL: http://svn.apache.org/viewvc?view=rev&rev=543129 Log: Add build instructions for linux Modified: james/jspf/trunk/pom.xml Modified: james/jspf/trunk/pom.xml URL: http://svn.apache.org/viewvc/james/jspf/trunk/pom.xml?vie

Re: svn commit: r543105 - in /james/jspf/trunk/src/main/java/org/apache/james/jspf/terms: IncludeMechanism.java RedirectModifier.java

2007-05-31 Thread Norman Maurer
Ups, I was not aware of this ... Thx for fixing :-) bye Norman [EMAIL PROTECTED] schrieb: > Author: bago > Date: Thu May 31 03:12:00 2007 > New Revision: 543105 > > URL: http://svn.apache.org/viewvc?view=rev&rev=543105 > Log: > IllegalStateException(Exception e) is not available in java 1.4 > >

svn commit: r543105 - in /james/jspf/trunk/src/main/java/org/apache/james/jspf/terms: IncludeMechanism.java RedirectModifier.java

2007-05-31 Thread bago
Author: bago Date: Thu May 31 03:12:00 2007 New Revision: 543105 URL: http://svn.apache.org/viewvc?view=rev&rev=543105 Log: IllegalStateException(Exception e) is not available in java 1.4 Modified: james/jspf/trunk/src/main/java/org/apache/james/jspf/terms/IncludeMechanism.java james/js

svn commit: r543104 - in /james/jspf/trunk: pom.xml stage/uk.nominet/jars/dnsjnio-0.9.7-SNAPSHOT.jar

2007-05-31 Thread bago
Author: bago Date: Thu May 31 03:11:29 2007 New Revision: 543104 URL: http://svn.apache.org/viewvc?view=rev&rev=543104 Log: Updated dnsjnio dependency. Updated pom to depend on non-snapshot when possible (and to point to updated stage folder) Modified: james/jspf/trunk/pom.xml james/jspf

Re: [ANNOUNCE] Apache Mime4j 0.3 released

2007-05-31 Thread Norman Maurer
Stefano Bagnara schrieb: > The Apache JAMES team is pleased to announce the release of Apache > Mime4J version 0.3. Apache Mime4J mime4j provides parsing for e-mail > message streams in plain rfc822 and MIME format. > > The 0.3 release is the first official release under The Apache Software > Foun