Re: [imap] Unit test failure in my environment

2008-07-11 Thread Robert Burrell Donkin
On Fri, Jul 11, 2008 at 3:19 PM, Stefano Bagnara <[EMAIL PROTECTED]> wrote: > Running org.apache.james.experimental.imapserver.ExperimentalRenameTest from > my eclipse I have failures on the Rename tests: > > RenameHierarchy.test > > Here is the debug output after I activated continueAfterFailure:

Re: [imap] unit test failure under Java 1.4 / Win32 because of path length issues

2008-07-11 Thread Robert Burrell Donkin
On Fri, Jul 11, 2008 at 6:43 PM, Stefano Bagnara <[EMAIL PROTECTED]> wrote: > Stefano Bagnara ha scritto: >> >> Robert Burrell Donkin ha scritto: >>> >>> On 7/11/08, Stefano Bagnara <[EMAIL PROTECTED]> wrote: As I reported some weeks ago I found that many IMAP/SUBSCRIBER tests was fa

Trunk -= IMAP (again) ...?

2008-07-11 Thread Robert Burrell Donkin
i think we're quickly reaching a time where different agendas for JAMES will start to come into conflict with one another. i believe that many community problems just reflect problems with structure and modularity. so again, i'm going to suggest a technical solution to avoid a community problem. i

Re: svn commit: r676035 - /james/server/trunk/stage/

2008-07-11 Thread Jukka Zitting
Hi, On Fri, Jul 11, 2008 at 8:44 PM, David Jencks <[EMAIL PROTECTED]> wrote: > You might want to configure your svn client instead At least I appreciate if all files and folders that are generated by the build process are explicitly svn:ignored. BR, Jukka Zitting --

Re: svn commit: r676035 - /james/server/trunk/stage/

2008-07-11 Thread David Jencks
You might want to configure your svn client instead, e.g. http://cwiki.apache.org/GMOxDEV/subversion-client-configuration.html global-ignores section. thanks david jencks On Jul 11, 2008, at 10:35 AM, [EMAIL PROTECTED] wrote: Author: bago Date: Fri Jul 11 10:35:46 2008 New Revision: 676035

Re: [imap] unit test failure under Java 1.4 / Win32 because of path length issues

2008-07-11 Thread Stefano Bagnara
Stefano Bagnara ha scritto: Robert Burrell Donkin ha scritto: On 7/11/08, Stefano Bagnara <[EMAIL PROTECTED]> wrote: As I reported some weeks ago I found that many IMAP/SUBSCRIBER tests was failing in my environment when I used Java 1.4 while they passed under java 5+. I debugged this and foun

svn commit: r676035 - /james/server/trunk/stage/

2008-07-11 Thread bago
Author: bago Date: Fri Jul 11 10:35:46 2008 New Revision: 676035 URL: http://svn.apache.org/viewvc?rev=676035&view=rev Log: svn:ignoring target for the stage module Modified: james/server/trunk/stage/ (props changed) Propchange: james/server/trunk/stage/ ---

svn commit: r676034 - /james/server/trunk/avalon-spring-bridge-library/

2008-07-11 Thread bago
Author: bago Date: Fri Jul 11 10:34:01 2008 New Revision: 676034 URL: http://svn.apache.org/viewvc?rev=676034&view=rev Log: svn:ignoring target for the new avalon-spring bridge module Modified: james/server/trunk/avalon-spring-bridge-library/ (props changed) Propchange: james/server/trunk/

Re: svn commit: r675877 - in /james/server/trunk/avalon-spring-bridge-library: ./ src/ src/main/ src/main/java/ src/main/java/org/ src/main/java/org/apache/ src/main/java/org/apache/james/ src/main/ja

2008-07-11 Thread Stefano Bagnara
David Jencks ha scritto: It looks like this unintentionally added avalon-spring-bridge-library/target to svn thanks david jencks My bad... removed! Thank you, Stefano On Jul 11, 2008, at 2:22 AM, [EMAIL PROTECTED] wrote: Author: bago Date: Fri Jul 11 02:22:47 2008 New Revision: 675877

svn commit: r676033 - /james/server/trunk/avalon-spring-bridge-library/target/

2008-07-11 Thread bago
Author: bago Date: Fri Jul 11 10:30:54 2008 New Revision: 676033 URL: http://svn.apache.org/viewvc?rev=676033&view=rev Log: Remove target folder committed by mistake. It should be svn:ignored. Removed: james/server/trunk/avalon-spring-bridge-library/target/ -

Re: [imap] unit test failure under Java 1.4 / Win32 because of path length issues

2008-07-11 Thread Stefano Bagnara
Robert Burrell Donkin ha scritto: On 7/11/08, Stefano Bagnara <[EMAIL PROTECTED]> wrote: As I reported some weeks ago I found that many IMAP/SUBSCRIBER tests was failing in my environment when I used Java 1.4 while they passed under java 5+. I debugged this and found that the FileUserMetaDataRe

Re: svn commit: r676012 - in /james/server/trunk: avalon-spring-bridge-library/src/main/java/org/apache/james/container/spring/beanfactory/ spring-deployment/ spring-deployment/src/main/config/james/

2008-07-11 Thread Stefano Bagnara
Thank you David, I don't know how I lost this while committing! Thank you for reviewing! Stefano David Jencks ha scritto: This all looks good but I have to make the following changes to get the build to go: Index: spring-deployment/pom.xml

svn commit: r676032 - in /james/server/trunk: avalon-spring-bridge-library/pom.xml spring-deployment/pom.xml

2008-07-11 Thread bago
Author: bago Date: Fri Jul 11 10:27:46 2008 New Revision: 676032 URL: http://svn.apache.org/viewvc?rev=676032&view=rev Log: Pom fixes for the avalon-spring-bridge-library module creation. Modified: james/server/trunk/avalon-spring-bridge-library/pom.xml james/server/trunk/spring-deploymen

[jira] Commented: (JAMES-842) Inconsistencies in spring integration

2008-07-11 Thread David Jencks (JIRA)
[ https://issues.apache.org/jira/browse/JAMES-842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612936#action_12612936 ] David Jencks commented on JAMES-842: After fixing the build problems I had in james thes

Re: svn commit: r676012 - in /james/server/trunk: avalon-spring-bridge-library/src/main/java/org/apache/james/container/spring/beanfactory/ spring-deployment/ spring-deployment/src/main/config/james/

2008-07-11 Thread David Jencks
This all looks good but I have to make the following changes to get the build to go: Index: spring-deployment/pom.xml === --- spring-deployment/pom.xml (revision 676029) +++ spring-deployment/pom.xml (working copy) @@ -44,5 +44

Re: svn commit: r675877 - in /james/server/trunk/avalon-spring-bridge-library: ./ src/ src/main/ src/main/java/ src/main/java/org/ src/main/java/org/apache/ src/main/java/org/apache/james/ src/main/ja

2008-07-11 Thread David Jencks
It looks like this unintentionally added avalon-spring-bridge-library/ target to svn thanks david jencks On Jul 11, 2008, at 2:22 AM, [EMAIL PROTECTED] wrote: Author: bago Date: Fri Jul 11 02:22:47 2008 New Revision: 675877 URL: http://svn.apache.org/viewvc?rev=675877&view=rev Log: Created

Re: [imap] unit test failure under Java 1.4 / Win32 because of path length issues

2008-07-11 Thread Robert Burrell Donkin
On 7/11/08, Stefano Bagnara <[EMAIL PROTECTED]> wrote: > As I reported some weeks ago I found that many IMAP/SUBSCRIBER tests was > failing in my environment when I used Java 1.4 while they passed under > java 5+. > > I debugged this and found that the > FileUserMetaDataRepository.fileSystemSafeNam

[jira] Commented: (JAMES-842) Inconsistencies in spring integration

2008-07-11 Thread Stefano Bagnara (JIRA)
[ https://issues.apache.org/jira/browse/JAMES-842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612914#action_12612914 ] Stefano Bagnara commented on JAMES-842: --- Hi David, I slightly modified JAMES-842-2.p

svn commit: r676012 - in /james/server/trunk: avalon-spring-bridge-library/src/main/java/org/apache/james/container/spring/beanfactory/ spring-deployment/ spring-deployment/src/main/config/james/ spri

2008-07-11 Thread bago
Author: bago Date: Fri Jul 11 09:09:41 2008 New Revision: 676012 URL: http://svn.apache.org/viewvc?rev=676012&view=rev Log: Second attempt to fix Spring integration for better geronimo integration (JAMES-842) Based on a patch kindly submitted by David Jencks. Added: james/server/trunk/sprin

svn commit: r676010 - in /james/server/trunk/phoenix-deployment: pom.xml src/test/org/apache/james/mailrepository/MBoxMailRepositoryTest.java src/test/org/apache/james/test/mock/james/MockFileSystem.j

2008-07-11 Thread bago
Author: bago Date: Fri Jul 11 09:07:38 2008 New Revision: 676010 URL: http://svn.apache.org/viewvc?rev=676010&view=rev Log: Better reporting for non existent file in MockFileSystem, updated MBoxMailRepositoryTest to be able to find its resources even under Eclipse. Modified: james/server/tru

[imap] unit test failure under Java 1.4 / Win32 because of path length issues

2008-07-11 Thread Stefano Bagnara
As I reported some weeks ago I found that many IMAP/SUBSCRIBER tests was failing in my environment when I used Java 1.4 while they passed under java 5+. I debugged this and found that the FileUserMetaDataRepository.fileSystemSafeName when called with long names (e.g: org.apache.james.imapser

[imap] Unit test failure in my environment

2008-07-11 Thread Stefano Bagnara
Running org.apache.james.experimental.imapserver.ExperimentalRenameTest from my eclipse I have failures on the Rename tests: RenameHierarchy.test Here is the debug output after I activated continueAfterFailure: - Got : A6 Got : LIST Created command class org.apache.james.imapserver

Re: Parsing an incoming request based on the protocol used

2008-07-11 Thread Robert Burrell Donkin
On Fri, Jul 11, 2008 at 10:34 AM, james 98 <[EMAIL PROTECTED]> wrote: >> >> does james allow parsing of incoming requests to the MTA based on the >> protocol used? yes you'll get quicker and better answers to questions like this on the users list cheers - robert ---

svn commit: r675915 - /james/server/trunk/avalon-spring-bridge-library/src/main/java/org/apache/james/container/spring/beanfactory/AvalonApplicationContext.java

2008-07-11 Thread bago
Author: bago Date: Fri Jul 11 03:48:15 2008 New Revision: 675915 URL: http://svn.apache.org/viewvc?rev=675915&view=rev Log: Rever AvalonApplicationContext committed by mistake in "Ant build fixes for the avalon-spring-bridge-library module." Modified: james/server/trunk/avalon-spring-bridge

svn commit: r675912 - in /james/server/trunk: ./ avalon-spring-bridge-library/src/main/config/ avalon-spring-bridge-library/src/main/java/org/apache/james/container/spring/beanfactory/ avalon-spring-b

2008-07-11 Thread bago
Author: bago Date: Fri Jul 11 03:41:35 2008 New Revision: 675912 URL: http://svn.apache.org/viewvc?rev=675912&view=rev Log: Ant build fixes for the avalon-spring-bridge-library module. Added: james/server/trunk/avalon-spring-bridge-library/src/main/config/ james/server/trunk/avalon-spring

svn commit: r675893 - in /james/server/trunk: avalon-spring-bridge-library/src/main/java/org/apache/james/container/spring/adaptor/ avalon-spring-bridge-library/src/main/java/org/apache/james/containe

2008-07-11 Thread bago
Author: bago Date: Fri Jul 11 02:51:48 2008 New Revision: 675893 URL: http://svn.apache.org/viewvc?rev=675893&view=rev Log: Made avalon-spring-bridge classes JAMES agnostic. Moved AvalonWebApplicationContext back to the spring-deployment module (it is JAMES specific). Added: james/server/tr

Parsing an incoming request based on the protocol used

2008-07-11 Thread james 98
> > does james allow parsing of incoming requests to the MTA based on the > protocol used?

svn commit: r675888 - in /james/server/trunk: avalon-spring-bridge-library/src/main/java/org/apache/james/container/spring/Main.java spring-deployment/src/main/java/org/apache/james/container/spring/M

2008-07-11 Thread bago
Author: bago Date: Fri Jul 11 02:33:09 2008 New Revision: 675888 URL: http://svn.apache.org/viewvc?rev=675888&view=rev Log: Move back Spring JAMES' Main to the spring-deployment module (this is JAMES specific) Added: james/server/trunk/spring-deployment/src/main/java/org/apache/james/contai

svn commit: r675887 - in /james/server/trunk/avalon-spring-bridge-library/src/main/java/org/apache/james/container/spring: Main.java beanfactory/AvalonApplicationContext.java

2008-07-11 Thread bago
Author: bago Date: Fri Jul 11 02:31:44 2008 New Revision: 675887 URL: http://svn.apache.org/viewvc?rev=675887&view=rev Log: Made AvalonApplicationContext application agnostic (moved james references to JAMES Main). Modified: james/server/trunk/avalon-spring-bridge-library/src/main/java/org/

svn commit: r675880 - /james/server/trunk/spring-deployment/src/main/java/org/apache/james/container/spring/beanfactory/

2008-07-11 Thread bago
Author: bago Date: Fri Jul 11 02:25:00 2008 New Revision: 675880 URL: http://svn.apache.org/viewvc?rev=675880&view=rev Log: Created an avalon-spring-bridge-library module including non-james specific code for the avalon-spring bridge. Removed: james/server/trunk/spring-deployment/src/main/j

svn commit: r675879 - in /james/server/trunk: ./ spring-deployment/ spring-deployment/src/main/java/org/apache/james/container/spring/ spring-deployment/src/main/java/org/apache/james/container/spring

2008-07-11 Thread bago
Author: bago Date: Fri Jul 11 02:24:18 2008 New Revision: 675879 URL: http://svn.apache.org/viewvc?rev=675879&view=rev Log: Created an avalon-spring-bridge-library module including non-james specific code for the avalon-spring bridge. Removed: james/server/trunk/spring-deployment/src/main/j

svn commit: r675877 - in /james/server/trunk/avalon-spring-bridge-library: ./ src/ src/main/ src/main/java/ src/main/java/org/ src/main/java/org/apache/ src/main/java/org/apache/james/ src/main/java/o

2008-07-11 Thread bago
Author: bago Date: Fri Jul 11 02:22:47 2008 New Revision: 675877 URL: http://svn.apache.org/viewvc?rev=675877&view=rev Log: Created an avalon-spring-bridge-library module including non-james specific code for the avalon-spring bridge. Added: james/server/trunk/avalon-spring-bridge-library/

[jira] Resolved: (MIME4J-48) NPE when parsing embedded quoted printable encoded message

2008-07-11 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-48?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Niklas Therning resolved MIME4J-48. --- Resolution: Fixed Checked in the fix. I've also added the test message I attached as a test in

[jira] Assigned: (MIME4J-48) NPE when parsing embedded quoted printable encoded message

2008-07-11 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-48?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Niklas Therning reassigned MIME4J-48: - Assignee: Niklas Therning > NPE when parsing embedded quoted printable encoded message > -

svn commit: r675871 - in /james/mime4j/trunk/src: main/java/org/apache/james/mime4j/MimeEntity.java test/java/org/apache/james/mime4j/MultipartTokensTest.java

2008-07-11 Thread niklas
Author: niklas Date: Fri Jul 11 01:58:23 2008 New Revision: 675871 URL: http://svn.apache.org/viewvc?rev=675871&view=rev Log: Resolved MIME4J-48: Messages containing qp or base64 encoded embedded messages should now parse as expected. Modified: james/mime4j/trunk/src/main/java/org/apache/jam

[jira] Closed: (MIME4J-49) Message or body part with empty header causes infinite loop

2008-07-11 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-49?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Niklas Therning closed MIME4J-49. - Resolution: Cannot Reproduce Assignee: Niklas Therning Turns out the infinite loop was cause

[jira] Commented: (MIME4J-49) Message or body part with empty header causes infinite loop

2008-07-11 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-49?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612803#action_12612803 ] Niklas Therning commented on MIME4J-49: --- I'll add a test case for this > Message or b

[jira] Commented: (MIME4J-48) NPE when parsing embedded quoted printable encoded message

2008-07-11 Thread Oleg Kalnichevski (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-48?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612799#action_12612799 ] Oleg Kalnichevski commented on MIME4J-48: - I guess I was wrong. Post no comment befo

[jira] Commented: (MIME4J-49) Message or body part with empty header causes infinite loop

2008-07-11 Thread Oleg Kalnichevski (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-49?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612797#action_12612797 ] Oleg Kalnichevski commented on MIME4J-49: - Looks good to me. Would it be a big deal

[jira] Commented: (MIME4J-49) Message or body part with empty header causes infinite loop

2008-07-11 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-49?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612787#action_12612787 ] Niklas Therning commented on MIME4J-49: --- This very simple patch seems to fix this prob

[jira] Commented: (MIME4J-48) NPE when parsing embedded quoted printable encoded message

2008-07-11 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-48?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612780#action_12612780 ] Niklas Therning commented on MIME4J-48: --- Hmmm, ok. But I thought the stream wrapped by

[jira] Created: (MIME4J-49) Message or body part with empty header causes infinite loop

2008-07-11 Thread Niklas Therning (JIRA)
Message or body part with empty header causes infinite loop --- Key: MIME4J-49 URL: https://issues.apache.org/jira/browse/MIME4J-49 Project: Mime4j Issue Type: Bug Affects Versions:

[jira] Commented: (MIME4J-48) NPE when parsing embedded quoted printable encoded message

2008-07-11 Thread Oleg Kalnichevski (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-48?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612779#action_12612779 ] Oleg Kalnichevski commented on MIME4J-48: - Hi Niklas, This is a difficult case, som

[jira] Commented: (MIME4J-48) NPE when parsing embedded quoted printable encoded message

2008-07-11 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-48?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612775#action_12612775 ] Niklas Therning commented on MIME4J-48: --- After some debugging I've figured out that th