Build failed in Jenkins: james-server-trunk » Apache James :: Server :: SMTP #5256

2015-05-28 Thread Apache Jenkins Server
See 


--
[...truncated 741 lines...]
Tests run: 39, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 5.569 sec
Running org.apache.james.smtpserver.SMTPServerTest
2015-05-28 04:57:54,508 INFO  [main   ] [SMTP   
   ] 187 SMTP Service bound to: localhost:8001
2015-05-28 04:57:54,513 INFO  [main   ] [SMTP   
   ] 347 SMTP Service is running on: pomona.apache.org
2015-05-28 04:57:54,513 INFO  [main   ] [SMTP   
   ] 360 SMTP Service handler hello name is: pomona.apache.org
2015-05-28 04:57:54,513 INFO  [main   ] [SMTP   
   ] 205 SMTP Service handler connection timeout is: 36
2015-05-28 04:57:54,514 INFO  [main   ] [SMTP   
   ] 210 SMTP Service connection backlog is: 200
2015-05-28 04:57:54,514 INFO  [main   ] [SMTP   
   ] 130 This SMTP server does not require authentication.
2015-05-28 04:57:54,514 INFO  [main   ] [SMTP   
   ] 162 No maximum message size is enforced for this server.
2015-05-28 04:57:54,794 INFO  [main   ] [SMTP   
   ] 277 Init SMTP Service done
2015-05-28 04:57:54,836 INFO  [executor-2 ] [SMTP   
   ] 69 Id='189036899' User='' Connection established from 127.0.0.1
2015-05-28 04:57:54,849 INFO  [main   ] [SMTP   
   ] 286 Dispose SMTP Service
2015-05-28 04:57:54,851 INFO  [executor-7 ] [SMTP   
   ] 69 Id='189036899' User='' Connection closed for 127.0.0.1
2015-05-28 04:57:54,860 INFO  [main   ] [SMTP   
   ] 298 Dispose SMTP Service done
2015-05-28 04:57:54,863 INFO  [main   ] [SMTP   
   ] 187 SMTP Service bound to: localhost:8002
2015-05-28 04:57:54,863 INFO  [main   ] [SMTP   
   ] 347 SMTP Service is running on: pomona.apache.org
2015-05-28 04:57:54,864 INFO  [main   ] [SMTP   
   ] 360 SMTP Service handler hello name is: pomona.apache.org
2015-05-28 04:57:54,864 INFO  [main   ] [SMTP   
   ] 205 SMTP Service handler connection timeout is: 36
2015-05-28 04:57:54,867 INFO  [main   ] [SMTP   
   ] 210 SMTP Service connection backlog is: 200
2015-05-28 04:57:54,867 INFO  [main   ] [SMTP   
   ] 130 This SMTP server does not require authentication.
2015-05-28 04:57:54,868 INFO  [main   ] [SMTP   
   ] 160 The maximum allowed message size is 1024 bytes.
2015-05-28 04:57:54,898 INFO  [main   ] [SMTP   
   ] 277 Init SMTP Service done
2015-05-28 04:57:54,960 INFO  [executor-2 ] [SMTP   
   ] 69 Id='149698808' User='' Connection established from 127.0.0.1
2015-05-28 04:57:55,042 INFO  [executor-13] [SMTP   
   ] 69 Id='149698808' User='' Successfully spooled mail 
Mail1432789075020-918e4c81-f972-40fb-9148-1f18fcc8d671 from mail@localhost on 
localhost/127.0.0.1 for [mail@localhost]
2015-05-28 04:57:55,043 INFO  [main   ] [SMTP   
   ] 286 Dispose SMTP Service
2015-05-28 04:57:55,045 INFO  [executor-15] [SMTP   
   ] 69 Id='149698808' User='' Connection closed for 127.0.0.1
2015-05-28 04:57:55,047 INFO  [main   ] [SMTP   
   ] 298 Dispose SMTP Service done
2015-05-28 04:57:55,049 INFO  [main   ] [SMTP   
   ] 187 SMTP Service bound to: localhost:8003
2015-05-28 04:57:55,050 INFO  [main   ] [SMTP   
   ] 347 SMTP Service is running on: pomona.apache.org
2015-05-28 04:57:55,050 INFO  [main   ] [SMTP   
   ] 360 SMTP Service handler hello name is: pomona.apache.org
2015-05-28 04:57:55,050 INFO  [main   ] [SMTP   
   ] 205 SMTP Service handler connection timeout is: 36
2015-05-28 04:57:55,051 INFO  [main   ] [SMTP   
   ] 210 SMTP Service connection backlog is: 200
2015-05-28 04:57:55,051 INFO  [main   ] [SMTP   
   ] 130 This SMTP server does not require authentication.
2015-05-28 04:57:55,051 INFO  [main   ] [SMTP

Build failed in Jenkins: james-server-trunk #5256

2015-05-28 Thread Apache Jenkins Server
See 

--
[...truncated 4646 lines...]
[JENKINS] Archiving 

 to 
org.apache.james/james-server-data-jcr/3.0.0-beta5-SNAPSHOT/james-server-data-jcr-3.0.0-beta5-SNAPSHOT.pom
Sending artifact delta relative to james-server-trunk » Apache James :: Server 
:: Data :: JCR Persistence #5255
Archived 1 artifacts
Archive block size is 32768
Received 0 blocks and 4328 bytes
Compression is 0.0%
Took 0.34 sec
[JENKINS] Archiving 

 to 
org.apache.james.karaf/james-karaf-distribution/3.0.0-beta5-SNAPSHOT/james-karaf-distribution-3.0.0-beta5-SNAPSHOT.pom
Sending artifact delta relative to james-server-trunk » Apache James :: Karaf 
:: James Server #5255
Archived 1 artifacts
Archive block size is 32768
Received 0 blocks and 6663 bytes
Compression is 0.0%
Took 4.3 sec
[JENKINS] Archiving 

 to 
org.apache.james/james-server-queue-jms/3.0.0-beta5-SNAPSHOT/james-server-queue-jms-3.0.0-beta5-SNAPSHOT.pom
Sending artifact delta relative to james-server-trunk » Apache James :: Server 
:: Mail Queue :: JMS #5255
Archived 1 artifacts
Archive block size is 32768
Received 0 blocks and 4524 bytes
Compression is 0.0%
Took 0.27 sec
[JENKINS] Archiving 

 to 
org.apache.james/james-server-filesystem-api/3.0.0-beta5-SNAPSHOT/james-server-filesystem-api-3.0.0-beta5-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
org.apache.james/james-server-filesystem-api/3.0.0-beta5-20150528.045358-1438/james-server-filesystem-api-3.0.0-beta5-20150528.045358-1438.jar
[JENKINS] Archiving 

 to 
org.apache.james/james-server-filesystem-api/3.0.0-beta5-20150528.045358-1438/james-server-filesystem-api-3.0.0-beta5-20150528.045358-1438-tests.jar
[JENKINS] Archiving 

 to 
org.apache.james/james-server-filesystem-api/3.0.0-beta5-20150528.045358-1438/james-server-filesystem-api-3.0.0-beta5-20150528.045358-1438-sources.jar
[JENKINS] Archiving 

 to 
org.apache.james/james-server-filesystem-api/3.0.0-beta5-20150528.045358-1438/james-server-filesystem-api-3.0.0-beta5-20150528.045358-1438-test-sources.jar
Sending artifact delta relative to james-server-trunk » Apache James :: Server 
:: Filesystem API #5255
Archived 5 artifacts
Archive block size is 32768
Received 0 blocks and 56645 bytes
Compression is 0.0%
Took 0.14 sec
[JENKINS] Archiving 

 to 
org.apache.james/james-server-mailetcontainer-api/3.0.0-beta5-SNAPSHOT/james-server-mailetcontainer-api-3.0.0-beta5-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
org.apache.james/james-server-mailetcontainer-api/3.0.0-beta5-20150528.045412-1433/james-server-mailetcontainer-api-3.0.0-beta5-20150528.045412-1433.jar
[JENKINS] Archiving 

 to 
org.apache.james/james-server-mailetcontainer-api/3.0.0-beta5-20150528.045412-1433/james-server-mailetcontainer-api-3.0.0-beta5-20150528.045412-1433-tests.jar
[JENKINS] Archiving 

 to 
org.apache.james/james-server-mailetcontainer-api/3.0.0-beta5-20150528.045412-1433/james-server-mailetcontainer-api-3.0.0-beta5-20150528.045412-1433-sources.jar
[JENKINS] Archiving 

 to 
org.apache.james/james-server-mailetcontainer-api/3.0.0-beta5-20150528.045412-1433/james-server-mailetcontainer-api-3.0.0-beta5-20150528.045412-1433-test-sources.jar
Sending artifact delta relative to james-server-trunk » Apache James :: Server 
:: Mailetcontainer API #5255
Archived 5 artifacts
Arch

Jenkins build is back to normal : james-server-trunk » Apache James :: Server :: SMTP #5257

2015-05-28 Thread Apache Jenkins Server
See 



-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



Jenkins build is back to normal : james-server-trunk #5257

2015-05-28 Thread Apache Jenkins Server
See 


-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



svn commit: r1682264 - in /james/mailbox/trunk: ./ cassandra/src/main/java/org/apache/james/mailbox/cassandra/ cassandra/src/main/java/org/apache/james/mailbox/cassandra/mail/ cassandra/src/main/java/

2015-05-28 Thread eric
Author: eric
Date: Thu May 28 15:43:09 2015
New Revision: 1682264

URL: http://svn.apache.org/r1682264
Log:
Improve the way Cassandra tables are created, patch contributed by Benoit 
Tellier (MAILBOX-226)

Modified:

james/mailbox/trunk/cassandra/src/main/java/org/apache/james/mailbox/cassandra/CassandraMailboxSessionMapperFactory.java

james/mailbox/trunk/cassandra/src/main/java/org/apache/james/mailbox/cassandra/mail/CassandraACLMapper.java

james/mailbox/trunk/cassandra/src/main/java/org/apache/james/mailbox/cassandra/mail/utils/FunctionRunnerWithRetry.java

james/mailbox/trunk/cassandra/src/main/resources/META-INF/spring/mailbox-cassandra.xml

james/mailbox/trunk/cassandra/src/test/java/org/apache/james/mailbox/cassandra/CassandraClusterSingleton.java

james/mailbox/trunk/cassandra/src/test/java/org/apache/james/mailbox/cassandra/CassandraMailboxManagerTest.java
james/mailbox/trunk/pom.xml

Modified: 
james/mailbox/trunk/cassandra/src/main/java/org/apache/james/mailbox/cassandra/CassandraMailboxSessionMapperFactory.java
URL: 
http://svn.apache.org/viewvc/james/mailbox/trunk/cassandra/src/main/java/org/apache/james/mailbox/cassandra/CassandraMailboxSessionMapperFactory.java?rev=1682264&r1=1682263&r2=1682264&view=diff
==
--- 
james/mailbox/trunk/cassandra/src/main/java/org/apache/james/mailbox/cassandra/CassandraMailboxSessionMapperFactory.java
 (original)
+++ 
james/mailbox/trunk/cassandra/src/main/java/org/apache/james/mailbox/cassandra/CassandraMailboxSessionMapperFactory.java
 Thu May 28 15:43:09 2015
@@ -46,7 +46,7 @@ public class CassandraMailboxSessionMapp
 private ModSeqProvider modSeqProvider;
 private int maxRetry;
 
-public CassandraMailboxSessionMapperFactory(CassandraUidProvider 
uidProvider, ModSeqProvider modSeqProvider, CassandraSession session) {
+public CassandraMailboxSessionMapperFactory(CassandraUidProvider 
uidProvider, ModSeqProvider modSeqProvider, Session session) {
 this.uidProvider = uidProvider;
 this.modSeqProvider = modSeqProvider;
 this.session = session;

Modified: 
james/mailbox/trunk/cassandra/src/main/java/org/apache/james/mailbox/cassandra/mail/CassandraACLMapper.java
URL: 
http://svn.apache.org/viewvc/james/mailbox/trunk/cassandra/src/main/java/org/apache/james/mailbox/cassandra/mail/CassandraACLMapper.java?rev=1682264&r1=1682263&r2=1682264&view=diff
==
--- 
james/mailbox/trunk/cassandra/src/main/java/org/apache/james/mailbox/cassandra/mail/CassandraACLMapper.java
 (original)
+++ 
james/mailbox/trunk/cassandra/src/main/java/org/apache/james/mailbox/cassandra/mail/CassandraACLMapper.java
 Thu May 28 15:43:09 2015
@@ -25,7 +25,7 @@ import com.datastax.driver.core.Session;
 import com.fasterxml.jackson.core.JsonProcessingException;
 import com.google.common.base.Preconditions;
 import com.google.common.base.Throwables;
-import org.apache.james.mailbox.cassandra.CassandraSession;
+import org.apache.james.mailbox.cassandra.CassandraConstants;
 import 
org.apache.james.mailbox.cassandra.mail.utils.SimpleMailboxACLJsonConverter;
 import org.apache.james.mailbox.cassandra.mail.utils.FunctionRunnerWithRetry;
 import org.apache.james.mailbox.cassandra.table.CassandraACLTable;
@@ -92,7 +92,7 @@ public class CassandraACLMapper {
 .map((x) -> x.apply(command))
 .map(this::updateStoredACL)
 .orElseGet(() -> 
insertACL(applyCommandOnEmptyACL(command)));
-return 
resultSet.one().getBool(CassandraSession.LIGHTWEIGHT_TRANSACTION_APPLIED);
+return 
resultSet.one().getBool(CassandraConstants.LIGHTWEIGHT_TRANSACTION_APPLIED);
 }
 );
 }

Modified: 
james/mailbox/trunk/cassandra/src/main/java/org/apache/james/mailbox/cassandra/mail/utils/FunctionRunnerWithRetry.java
URL: 
http://svn.apache.org/viewvc/james/mailbox/trunk/cassandra/src/main/java/org/apache/james/mailbox/cassandra/mail/utils/FunctionRunnerWithRetry.java?rev=1682264&r1=1682263&r2=1682264&view=diff
==
--- 
james/mailbox/trunk/cassandra/src/main/java/org/apache/james/mailbox/cassandra/mail/utils/FunctionRunnerWithRetry.java
 (original)
+++ 
james/mailbox/trunk/cassandra/src/main/java/org/apache/james/mailbox/cassandra/mail/utils/FunctionRunnerWithRetry.java
 Thu May 28 15:43:09 2015
@@ -22,11 +22,17 @@ package org.apache.james.mailbox.cassand
 import com.google.common.base.Preconditions;
 import org.apache.james.mailbox.exception.MailboxException;
 
+import java.util.Optional;
 import java.util.function.BooleanSupplier;
 import java.util.stream.IntStream;
 
-public class FunctionRunnerWithRetry {
-
+public class FunctionRunnerWithRetry {
+
+@FunctionalInterface
+public interface OptionalSupplier {
+   

svn commit: r1682267 - in /james/mailbox/trunk/cassandra: ./ src/main/java/org/apache/james/mailbox/cassandra/

2015-05-28 Thread eric
Author: eric
Date: Thu May 28 15:51:11 2015
New Revision: 1682267

URL: http://svn.apache.org/r1682267
Log:
Add missing files to support Cassandra table creation, patch contributed by 
Benoit Tellier (MAILBOX-226)

Added:
james/mailbox/trunk/cassandra/README.txt

james/mailbox/trunk/cassandra/src/main/java/org/apache/james/mailbox/cassandra/CassandraConstants.java

james/mailbox/trunk/cassandra/src/main/java/org/apache/james/mailbox/cassandra/CassandraTableManager.java

james/mailbox/trunk/cassandra/src/main/java/org/apache/james/mailbox/cassandra/ClusterFactory.java

james/mailbox/trunk/cassandra/src/main/java/org/apache/james/mailbox/cassandra/ClusterWithKeyspaceCreatedFactory.java

james/mailbox/trunk/cassandra/src/main/java/org/apache/james/mailbox/cassandra/SessionFactory.java
Removed:

james/mailbox/trunk/cassandra/src/main/java/org/apache/james/mailbox/cassandra/CassandraSession.java

Added: james/mailbox/trunk/cassandra/README.txt
URL: 
http://svn.apache.org/viewvc/james/mailbox/trunk/cassandra/README.txt?rev=1682267&view=auto
==
--- james/mailbox/trunk/cassandra/README.txt (added)
+++ james/mailbox/trunk/cassandra/README.txt Thu May 28 15:51:11 2015
@@ -0,0 +1,18 @@
+= Cassandra Mailbox implementation
+
+This Mailbox sub-project is about providing a scalable mailbox implementation 
relying on Cassandra database.
+
+Concurrency is handled by this implementation while performing writes using 
Lightweight transactions. You do not need to lock anything, or provide utils to 
lock anything, when using this implementation.
+
+== Configuration
+
+The configuration is achieved through Spring. The file is 
'src/main/resources/META-INF/spring/mailbox-cassandra.xml' .
+
+The components are instanciated and wired together.
+
+What might interest you the most is the way you want to connect your Cassandra 
cluster.
+
+Factories are used. You have :
+  * ClusterFactory : you specify which Cassandra servers you want to connect, 
with ( optional ) which user name and password to use.
+  * ClusterWithKeyspaceCreatedFactory : This ( optional ) component creates a 
Keyspace if it does not already exists. You may want to skip this step in 
production environment.
+  * SessionFactory : Connect the appropriated Keyspace, to create a Session 
our application can work with.
\ No newline at end of file

Added: 
james/mailbox/trunk/cassandra/src/main/java/org/apache/james/mailbox/cassandra/CassandraConstants.java
URL: 
http://svn.apache.org/viewvc/james/mailbox/trunk/cassandra/src/main/java/org/apache/james/mailbox/cassandra/CassandraConstants.java?rev=1682267&view=auto
==
--- 
james/mailbox/trunk/cassandra/src/main/java/org/apache/james/mailbox/cassandra/CassandraConstants.java
 (added)
+++ 
james/mailbox/trunk/cassandra/src/main/java/org/apache/james/mailbox/cassandra/CassandraConstants.java
 Thu May 28 15:51:11 2015
@@ -0,0 +1,24 @@
+/
+ * Licensed to the Apache Software Foundation (ASF) under one   *
+ * or more contributor license agreements.  See the NOTICE file *
+ * distributed with this work for additional information*
+ * regarding copyright ownership.  The ASF licenses this file   *
+ * to you under the Apache License, Version 2.0 (the*
+ * "License"); you may not use this file except in compliance   *
+ * with the License.  You may obtain a copy of the License at   *
+ *  *
+ *   http://www.apache.org/licenses/LICENSE-2.0 *
+ *  *
+ * Unless required by applicable law or agreed to in writing,   *
+ * software distributed under the License is distributed on an  *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY   *
+ * KIND, either express or implied.  See the License for the*
+ * specific language governing permissions and limitations  *
+ * under the License.   *
+ /
+
+package org.apache.james.mailbox.cassandra;
+
+public interface CassandraConstants {
+int LIGHTWEIGHT_TRANSACTION_APPLIED = 0;
+}

Added: 
james/mailbox/trunk/cassandra/src/main/java/org/apache/james/mailbox/cassandra/CassandraTableManager.java
URL: 
http://svn.apache.org/viewvc/james/mailbox/trunk/cassandra/src/main/java/org/apache/james/mailbox/cassandra/CassandraTableManager.java?rev=1682267&view=auto
==
--- 
james/mailbox/trunk/cassandra/src/main/java/org/apache/james/mailbox/cassandra/CassandraTableManager.java
 (added)
+++ 
james/mailbox/trunk/cassandra/src/main/java/org/apache/james/mailbox/cassandra/CassandraTableManager.java
 Thu May 28 15:51:

[jira] [Commented] (MAILBOX-226) Improve the way Cassandra tables are created

2015-05-28 Thread Tellier Benoit (JIRA)

[ 
https://issues.apache.org/jira/browse/MAILBOX-226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14563133#comment-14563133
 ] 

Tellier Benoit commented on MAILBOX-226:


You partially applied the patch. I can find no trace in the e-mail about newly 
created files :

 create mode 100644 cassandra/README.txt
 create mode 100644 
cassandra/src/main/java/org/apache/james/mailbox/cassandra/CassandraConstants.java
 create mode 100644 
cassandra/src/main/java/org/apache/james/mailbox/cassandra/CassandraTableManager.java
 create mode 100644 
cassandra/src/main/java/org/apache/james/mailbox/cassandra/ClusterFactory.java
 create mode 100644 
cassandra/src/main/java/org/apache/james/mailbox/cassandra/ClusterWithKeyspaceCreatedFactory.java
 create mode 100644 
cassandra/src/main/java/org/apache/james/mailbox/cassandra/SessionFactory.java

And no mention about the deleted file :

 delete mode 100644 
cassandra/src/main/java/org/apache/james/mailbox/cassandra/CassandraSession.java

> Improve the way Cassandra tables are created
> 
>
> Key: MAILBOX-226
> URL: https://issues.apache.org/jira/browse/MAILBOX-226
> Project: James Mailbox
>  Issue Type: Improvement
>Reporter: Tellier Benoit
> Attachments: 
> 0001-MAILBOX-226-Cassandra-Allow-password-authentication-.patch
>
>
>  - Table creation should be centralized between test and production code
>  - Table creation should rely on the SchemaBuilder
>  - Improve creation of Cassandra Session's ( connect a cluster, with password 
> )
>  - Keyspace creation should be optionnal.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



[jira] [Commented] (MAILBOX-226) Improve the way Cassandra tables are created

2015-05-28 Thread Tellier Benoit (JIRA)

[ 
https://issues.apache.org/jira/browse/MAILBOX-226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14563136#comment-14563136
 ] 

Tellier Benoit commented on MAILBOX-226:


Sorry, the time I posted this, you already corrected the problem.

Thanks,

Benoit

> Improve the way Cassandra tables are created
> 
>
> Key: MAILBOX-226
> URL: https://issues.apache.org/jira/browse/MAILBOX-226
> Project: James Mailbox
>  Issue Type: Improvement
>Reporter: Tellier Benoit
>Assignee: Eric Charles
> Fix For: 0.6
>
> Attachments: 
> 0001-MAILBOX-226-Cassandra-Allow-password-authentication-.patch
>
>
>  - Table creation should be centralized between test and production code
>  - Table creation should rely on the SchemaBuilder
>  - Improve creation of Cassandra Session's ( connect a cluster, with password 
> )
>  - Keyspace creation should be optionnal.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



[jira] [Closed] (MAILBOX-226) Improve the way Cassandra tables are created

2015-05-28 Thread Eric Charles (JIRA)

 [ 
https://issues.apache.org/jira/browse/MAILBOX-226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric Charles closed MAILBOX-226.

   Resolution: Fixed
Fix Version/s: 0.6
 Assignee: Eric Charles

Patch committed, thx Benoit.

> Improve the way Cassandra tables are created
> 
>
> Key: MAILBOX-226
> URL: https://issues.apache.org/jira/browse/MAILBOX-226
> Project: James Mailbox
>  Issue Type: Improvement
>Reporter: Tellier Benoit
>Assignee: Eric Charles
> Fix For: 0.6
>
> Attachments: 
> 0001-MAILBOX-226-Cassandra-Allow-password-authentication-.patch
>
>
>  - Table creation should be centralized between test and production code
>  - Table creation should rely on the SchemaBuilder
>  - Improve creation of Cassandra Session's ( connect a cluster, with password 
> )
>  - Keyspace creation should be optionnal.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



svn commit: r1682268 - /james/mailbox/trunk/pom.xml

2015-05-28 Thread eric
Author: eric
Date: Thu May 28 15:58:38 2015
New Revision: 1682268

URL: http://svn.apache.org/r1682268
Log:
Mailbos to use lates snapshot, patch contributed by Antoine Duprat (MAILBOX-230)

Modified:
james/mailbox/trunk/pom.xml

Modified: james/mailbox/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/james/mailbox/trunk/pom.xml?rev=1682268&r1=1682267&r2=1682268&view=diff
==
--- james/mailbox/trunk/pom.xml (original)
+++ james/mailbox/trunk/pom.xml Thu May 28 15:58:38 2015
@@ -23,8 +23,7 @@
 
 james-project
 org.apache.james
-1.8.2
-
+1.8.3-SNAPSHOT
 
 
 apache-james-mailbox
@@ -114,7 +113,7 @@
 
1.1.1
 
1.1
 1.8.3
-2.5.0
+2.5.1-SNAPSHOT
 1.7.7
 4.11
 1.9.0



-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



svn commit: r1682269 - in /james/jsieve/trunk: mailet/src/main/java/org/apache/jsieve/mailet/SieveMailAdapter.java pom.xml

2015-05-28 Thread eric
Author: eric
Date: Thu May 28 15:59:17 2015
New Revision: 1682269

URL: http://svn.apache.org/r1682269
Log:
JSieve to use latest snapshot, patch contributed by Antoine Duprat (MAILBOX-230)

Modified:

james/jsieve/trunk/mailet/src/main/java/org/apache/jsieve/mailet/SieveMailAdapter.java
james/jsieve/trunk/pom.xml

Modified: 
james/jsieve/trunk/mailet/src/main/java/org/apache/jsieve/mailet/SieveMailAdapter.java
URL: 
http://svn.apache.org/viewvc/james/jsieve/trunk/mailet/src/main/java/org/apache/jsieve/mailet/SieveMailAdapter.java?rev=1682269&r1=1682268&r2=1682269&view=diff
==
--- 
james/jsieve/trunk/mailet/src/main/java/org/apache/jsieve/mailet/SieveMailAdapter.java
 (original)
+++ 
james/jsieve/trunk/mailet/src/main/java/org/apache/jsieve/mailet/SieveMailAdapter.java
 Thu May 28 15:59:17 2015
@@ -39,7 +39,7 @@ import org.apache.james.mime4j.dom.addre
 import org.apache.james.mime4j.dom.address.Mailbox;
 import org.apache.james.mime4j.dom.address.MailboxList;
 import org.apache.james.mime4j.dom.field.ParseException;
-import org.apache.james.mime4j.field.address.AddressBuilder;
+import org.apache.james.mime4j.field.address.DefaultAddressParser;
 import org.apache.jsieve.SieveContext;
 import org.apache.jsieve.exception.InternetAddressException;
 import org.apache.jsieve.exception.SieveException;
@@ -393,7 +393,7 @@ public class SieveMailAdapter implements
 
 public Address[] parseAddresses(String arg) throws SieveMailException, 
InternetAddressException {
 try {
-final MailboxList list = new 
AddressList(AddressBuilder.DEFAULT.parseAddressList(arg), true).flatten();
+final MailboxList list = new 
AddressList(DefaultAddressParser.DEFAULT.parseAddressList(arg), true).flatten();
 final int size = list.size();
 final Address[] results = new Address[size];
 for (int i=0;ihttp://svn.apache.org/viewvc/james/jsieve/trunk/pom.xml?rev=1682269&r1=1682268&r2=1682269&view=diff
==
--- james/jsieve/trunk/pom.xml (original)
+++ james/jsieve/trunk/pom.xml Thu May 28 15:59:17 2015
@@ -24,7 +24,7 @@
 
 org.apache.james
 james-project
-1.8.1
+1.8.3-SNAPSHOT
 
 
 apache-jsieve
@@ -78,7 +78,7 @@
 1.6
 UTF-8
 
-0.7.2
+0.8.0-SNAPSHOT
 2.5.1-SNAPSHOT
 4.10
 1.2.0



-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



[jira] [Closed] (MAILBOX-230) Mailbox should use latest version of other James subprojects

2015-05-28 Thread Eric Charles (JIRA)

 [ 
https://issues.apache.org/jira/browse/MAILBOX-230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric Charles closed MAILBOX-230.

Resolution: Fixed
  Assignee: Eric Charles

Patch committed, thx Antoine.

> Mailbox should use latest version of other James subprojects
> 
>
> Key: MAILBOX-230
> URL: https://issues.apache.org/jira/browse/MAILBOX-230
> Project: James Mailbox
>  Issue Type: Improvement
>Reporter: Antoine Duprat
>Assignee: Eric Charles
> Fix For: 0.6
>
> Attachments: 
> 0001-JWC-111-update-james-related-projects-to-SNAPSHOT-ve.patch, 
> 0002-JWC-111-update-mime4j-to-0.8.0-SNAPSHOT.patch
>
>
> We want an integration tool that builds the entire James project in its 
> latest version.
> To do that, each james project needs to use the latest version of all other 
> James subprojects.
> In JDKIM, this means :
> - Update mailet version
> - Update james-project version
> - Update mime4j version



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



svn commit: r1682270 - in /james/mpt/trunk: ./ antlib/ app/ core/ impl/imap-mailbox/ impl/imap-mailbox/src/test/java/org/apache/james/mpt/imapmailbox/jcr/ impl/imap-mailbox/src/test/java/org/apache/ja

2015-05-28 Thread eric
Author: eric
Date: Thu May 28 16:01:37 2015
New Revision: 1682270

URL: http://svn.apache.org/r1682270
Log:
MPT to use latest snapshots, patch contributed by Benoit Tellier (MPT-11)

Modified:
james/mpt/trunk/antlib/pom.xml
james/mpt/trunk/app/pom.xml
james/mpt/trunk/core/pom.xml
james/mpt/trunk/impl/imap-mailbox/pom.xml

james/mpt/trunk/impl/imap-mailbox/src/test/java/org/apache/james/mpt/imapmailbox/jcr/JcrMailboxTest.java

james/mpt/trunk/impl/imap-mailbox/src/test/java/org/apache/james/mpt/imapmailbox/jpa/JpaMailboxTest.java

james/mpt/trunk/impl/imap-mailbox/src/test/java/org/apache/james/mpt/imapmailbox/suite/AuthenticatedState.java

james/mpt/trunk/impl/imap-mailbox/src/test/java/org/apache/james/mpt/imapmailbox/suite/SelectedInbox.java
james/mpt/trunk/mavenplugin/pom.xml
james/mpt/trunk/pom.xml

Modified: james/mpt/trunk/antlib/pom.xml
URL: 
http://svn.apache.org/viewvc/james/mpt/trunk/antlib/pom.xml?rev=1682270&r1=1682269&r2=1682270&view=diff
==
--- james/mpt/trunk/antlib/pom.xml (original)
+++ james/mpt/trunk/antlib/pom.xml Thu May 28 16:01:37 2015
@@ -48,39 +48,35 @@ to the library requiring no extra coding
 
 ${project.groupId}
 apache-james-mpt-core
-
-${project.version}
 
 
-commons-logging
-commons-logging
-
-
-junit
-junit
+${project.groupId}
+apache-james-mpt-core
+test-jar
+test
 
 
 org.apache.ant
 ant
 
 
-jmock
-jmock
-test
-
-
 org.apache.ant
 ant-antunit
 test
 
 
-${project.groupId}
-apache-james-mpt-core
-
-${project.version}
-test-jar
+commons-logging
+commons-logging
+
+
+jmock
+jmock
 test
 
+
+junit
+junit
+
 
 
 

Modified: james/mpt/trunk/app/pom.xml
URL: 
http://svn.apache.org/viewvc/james/mpt/trunk/app/pom.xml?rev=1682270&r1=1682269&r2=1682270&view=diff
==
--- james/mpt/trunk/app/pom.xml (original)
+++ james/mpt/trunk/app/pom.xml Thu May 28 16:01:37 2015
@@ -48,16 +48,21 @@ interfaces to the MPT library.
 ${project.groupId}
 apache-james-mpt-core
-
-${project.version}
 
 
-commons-logging
-commons-logging
+${project.groupId}
+apache-james-mpt-core
+test-jar
+test
 
+
 
-junit
-junit
+commons-cli
+commons-cli
+
+
+commons-logging
+commons-logging
 
 
 jmock
@@ -65,16 +70,8 @@ interfaces to the MPT library.test
 
 
-commons-cli
-commons-cli
-
-
-${project.groupId}
-apache-james-mpt-core
-
-${project.version}
-test-jar
-test
+junit
+junit
 
 
 
@@ -136,6 +133,9 @@ interfaces to the MPT library.
 
 
+
+-Xdoclint:none
+
 
 
 

Modified: james/mpt/trunk/core/pom.xml
URL: 
http://svn.apache.org/viewvc/james/mpt/trunk/core/pom.xml?rev=1682270&r1=1682269&r2=1682270&view=diff
==
--- james/mpt/trunk/core/pom.xml (original)
+++ james/mpt/trunk/core/pom.xml Thu May 28 16:01:37 2015
@@ -35,19 +35,6 @@
   scriptable functional testing of ASCII based line protocols.
 
 http://james.apache.org/mpt/main
-
-0.92.0
-1.0.1
-2.0.1
-1.2.16
-1.6.1
-javax.mail
-mail
-1.4.1
-1.6.3-SNAPSHOT
-0.5-SNAPSHOT
-0.2-SNAPSHOT
-
 
 
scm:svn:http://svn.apache.org/repos/asf/james/mpt/trunk/core
 
scm:svn:https://rdon...@svn.apache.org/repos/asf/james/mpt/trunk/core
@@ -57,50 +44,44 @@
 
 org.apache.james.protocols
 protocols-imap
-${version.james-protocols}
 
 
 org.apache.james.protocols
 protocols-imap
-${version.james-protocols}
 test-jar
 compile
 
 
 org.apache.james
 apache-james-mailbox-api
-${version.james-mailbox}
 
 
 org.apache.james
 apache-jam

[jira] [Closed] (MPT-11) Updates MPT pom so that it uses latest versions for other james-project

2015-05-28 Thread Eric Charles (JIRA)

 [ 
https://issues.apache.org/jira/browse/MPT-11?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric Charles closed MPT-11.
---
Resolution: Fixed
  Assignee: Eric Charles

Patch committed, thx Benoit.

> Updates MPT pom so that it uses latest versions for other james-project
> ---
>
> Key: MPT-11
> URL: https://issues.apache.org/jira/browse/MPT-11
> Project: James MPT
>  Issue Type: Bug
>Reporter: Tellier Benoit
>Assignee: Eric Charles
> Attachments: 
> 0001-MPT-11-MPT-compiles-on-java-8-and-tests-passes.-See-.patch
>
>
> We want MPT tests to compile and run on latest version of other James project.
> Update to :
>  - james-mailbox 0.6-SNAPSHOT
>  - james-protocols 1.4-SNAPSHOT
>  - james-project 1.8.3-SNAPSHOT
> Turn off doclint validation upon javadoc generation.
> Disactivate tests for Subscriptions ( it does not pass in any implementation. 
> See MPT-10 )
> Disactivate JCR tests ( See MPT-7 )
> Disctivate JPA tests ( See MPT-9 )



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



[jira] [Closed] (JSIEVE-97) James JSieve should use latest version of other James subprojects

2015-05-28 Thread Eric Charles (JIRA)

 [ 
https://issues.apache.org/jira/browse/JSIEVE-97?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric Charles closed JSIEVE-97.
--
Resolution: Fixed

Already committed as part of MAILBOX-230

> James JSieve should use latest version of other James subprojects
> -
>
> Key: JSIEVE-97
> URL: https://issues.apache.org/jira/browse/JSIEVE-97
> Project: James jSieve
>  Issue Type: Task
>  Components: MultiModule
>Reporter: Matthieu Baechler
> Fix For: 0.6
>
> Attachments: 0001-JWC-111-Updating-parent-project.patch
>
>
> It should depend on james-project 1.8.3-SNAPSHOT and mime4j 0.8 to use only 
> up-to-date component.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



[jira] [Updated] (MAILBOX-73) More tests in mailbox implementations

2015-05-28 Thread Tellier Benoit (JIRA)

 [ 
https://issues.apache.org/jira/browse/MAILBOX-73?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tellier Benoit updated MAILBOX-73:
--
Attachment: 0001-MAILBOX-73-Generic-tests-for-mapper-implementations-.patch

We wrote some general tests about mailbox mapper ( that are supposed to be the 
specific part of each mailbox implementation ) and run it on the Cassandra 
mailbox.

You can easily run them on other backends : you just need to implement a mapper 
provider.

We implemented strong testing for each mapper methods.

> More tests in mailbox implementations
> -
>
> Key: MAILBOX-73
> URL: https://issues.apache.org/jira/browse/MAILBOX-73
> Project: James Mailbox
>  Issue Type: Improvement
>Reporter: Eric Charles
>Assignee: Ioan Eugen Stan
> Attachments: 
> 0001-MAILBOX-73-Generic-tests-for-mapper-implementations-.patch
>
>
> We need more base tests in api module that each implementation benefit from.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



[jira] [Updated] (MPT-12) Run MTP test suite on Cassandra backend

2015-05-28 Thread Tellier Benoit (JIRA)

 [ 
https://issues.apache.org/jira/browse/MPT-12?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tellier Benoit updated MPT-12:
--
Attachment: 0001-MPT-12-Split-imap-mailbox-test-in-submodules-per-bac.patch

Patch contributed by Antoine Duprat.

Split the imapmailbox project in per implementation subproject ( readability )

Add a mailbox MPT test.for Cassandra mailbox.

> Run MTP test suite on Cassandra backend
> ---
>
> Key: MPT-12
> URL: https://issues.apache.org/jira/browse/MPT-12
> Project: James MPT
>  Issue Type: Improvement
>Reporter: Matthieu Baechler
> Attachments: 
> 0001-MPT-12-Split-imap-mailbox-test-in-submodules-per-bac.patch
>
>
> We would like to check that James over cassandra pass all mpt tests. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



[jira] [Commented] (MAILBOX-230) Mailbox should use latest version of other James subprojects

2015-05-28 Thread Tellier Benoit (JIRA)

[ 
https://issues.apache.org/jira/browse/MAILBOX-230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14563471#comment-14563471
 ] 

Tellier Benoit commented on MAILBOX-230:


You only partly applied the chenges inteded by this issue, as you did not 
applied 
0002-JWC-111-update-mime4j-to-0.8.0-SNAPSHOT.patch ( 29/Apr/15 11:57 )

In this patch contributed by Matthieu Baechler, we update the mime4J version 
used by the mailbox.

Thanks by advance,

Benoit



> Mailbox should use latest version of other James subprojects
> 
>
> Key: MAILBOX-230
> URL: https://issues.apache.org/jira/browse/MAILBOX-230
> Project: James Mailbox
>  Issue Type: Improvement
>Reporter: Antoine Duprat
>Assignee: Eric Charles
> Fix For: 0.6
>
> Attachments: 
> 0001-JWC-111-update-james-related-projects-to-SNAPSHOT-ve.patch, 
> 0002-JWC-111-update-mime4j-to-0.8.0-SNAPSHOT.patch
>
>
> We want an integration tool that builds the entire James project in its 
> latest version.
> To do that, each james project needs to use the latest version of all other 
> James subprojects.
> In JDKIM, this means :
> - Update mailet version
> - Update james-project version
> - Update mime4j version



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



[jira] [Created] (JSIEVE-98) Manage Sieve Mailet should be usable in James server

2015-05-28 Thread Tellier Benoit (JIRA)
Tellier Benoit created JSIEVE-98:


 Summary: Manage Sieve Mailet should be usable in James server
 Key: JSIEVE-98
 URL: https://issues.apache.org/jira/browse/JSIEVE-98
 Project: James jSieve
  Issue Type: Bug
Reporter: Tellier Benoit


We have multiple things to do :

 - MessageToCoreToMessage should also handle String that may be returned by 
getContent ( avoiding cast exception if the received message is not a Mime 
multipart )

 - ScriptSummary should be a bean and implement equals ( Required to correct 
tests )

 - Correct tests for Sieve manager



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



[jira] [Updated] (JSIEVE-98) Manage Sieve Mailet should be usable in James server

2015-05-28 Thread Tellier Benoit (JIRA)

 [ 
https://issues.apache.org/jira/browse/JSIEVE-98?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tellier Benoit updated JSIEVE-98:
-
Attachment: 0001-JSIEVE-98-Sieve-mailet-manager-should-be-usable-from.patch

This patch solves the issue

> Manage Sieve Mailet should be usable in James server
> 
>
> Key: JSIEVE-98
> URL: https://issues.apache.org/jira/browse/JSIEVE-98
> Project: James jSieve
>  Issue Type: Bug
>Reporter: Tellier Benoit
> Attachments: 
> 0001-JSIEVE-98-Sieve-mailet-manager-should-be-usable-from.patch
>
>
> We have multiple things to do :
>  - MessageToCoreToMessage should also handle String that may be returned by 
> getContent ( avoiding cast exception if the received message is not a Mime 
> multipart )
>  - ScriptSummary should be a bean and implement equals ( Required to correct 
> tests )
>  - Correct tests for Sieve manager



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



svn commit: r1682364 - in /james/mailbox/trunk: ./ lucene/src/main/java/org/apache/james/mailbox/lucene/search/ maildir/src/main/java/org/apache/james/mailbox/maildir/mail/model/ store/src/main/java/o

2015-05-28 Thread eric
Author: eric
Date: Fri May 29 04:19:39 2015
New Revision: 1682364

URL: http://svn.apache.org/r1682364
Log:
Mailbox: update mime4j to 0.8.0-SNAPSHOT, patch contributed by Matthieu 
Baechler (MAILBOX-230)

Modified:

james/mailbox/trunk/lucene/src/main/java/org/apache/james/mailbox/lucene/search/LuceneMessageSearchIndex.java

james/mailbox/trunk/maildir/src/main/java/org/apache/james/mailbox/maildir/mail/model/MaildirMessage.java
james/mailbox/trunk/pom.xml

james/mailbox/trunk/store/src/main/java/org/apache/james/mailbox/store/MimeDescriptorImpl.java

james/mailbox/trunk/store/src/main/java/org/apache/james/mailbox/store/ResultUtils.java

james/mailbox/trunk/store/src/main/java/org/apache/james/mailbox/store/StoreMessageManager.java

james/mailbox/trunk/store/src/main/java/org/apache/james/mailbox/store/search/MessageSearcher.java

james/mailbox/trunk/store/src/main/java/org/apache/james/mailbox/store/search/MessageSearches.java

james/mailbox/trunk/store/src/main/java/org/apache/james/mailbox/store/search/SearchUtil.java

james/mailbox/trunk/store/src/main/java/org/apache/james/mailbox/store/streaming/PartContentBuilder.java

Modified: 
james/mailbox/trunk/lucene/src/main/java/org/apache/james/mailbox/lucene/search/LuceneMessageSearchIndex.java
URL: 
http://svn.apache.org/viewvc/james/mailbox/trunk/lucene/src/main/java/org/apache/james/mailbox/lucene/search/LuceneMessageSearchIndex.java?rev=1682364&r1=1682363&r2=1682364&view=diff
==
--- 
james/mailbox/trunk/lucene/src/main/java/org/apache/james/mailbox/lucene/search/LuceneMessageSearchIndex.java
 (original)
+++ 
james/mailbox/trunk/lucene/src/main/java/org/apache/james/mailbox/lucene/search/LuceneMessageSearchIndex.java
 Fri May 29 04:19:39 2015
@@ -70,7 +70,7 @@ import org.apache.james.mime4j.dom.addre
 import org.apache.james.mime4j.dom.datetime.DateTime;
 import org.apache.james.mime4j.dom.field.DateTimeField;
 import org.apache.james.mime4j.field.address.AddressFormatter;
-import org.apache.james.mime4j.field.address.LenientAddressBuilder;
+import org.apache.james.mime4j.field.address.LenientAddressParser;
 import org.apache.james.mime4j.field.datetime.parser.DateTimeParser;
 import org.apache.james.mime4j.message.SimpleContentHandler;
 import org.apache.james.mime4j.parser.MimeStreamParser;
@@ -519,7 +519,7 @@ public class LuceneMessageSearchIndexhttp://svn.apache.org/viewvc/james/mailbox/trunk/maildir/src/main/java/org/apache/james/mailbox/maildir/mail/model/MaildirMessage.java?rev=1682364&r1=1682363&r2=1682364&view=diff
==
--- 
james/mailbox/trunk/maildir/src/main/java/org/apache/james/mailbox/maildir/mail/model/MaildirMessage.java
 (original)
+++ 
james/mailbox/trunk/maildir/src/main/java/org/apache/james/mailbox/maildir/mail/model/MaildirMessage.java
 Fri May 29 04:19:39 2015
@@ -227,8 +227,7 @@ public class MaildirMessage extends Abst
 // Disable line length... This should be handled by the smtp server
 // component and not the parser itself
 // https://issues.apache.org/jira/browse/IMAP-122
-MimeConfig config = new MimeConfig();
-config.setMaxLineLen(-1);
+MimeConfig config = MimeConfig.custom().setMaxLineLen(-1).build();
 final MimeTokenStream parser = new MimeTokenStream(config, new 
DefaultBodyDescriptorBuilder());
 parser.setRecursionMode(RecursionMode.M_NO_RECURSE);
 parser.parse(tmpMsgIn.newStream(0, -1));

Modified: james/mailbox/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/james/mailbox/trunk/pom.xml?rev=1682364&r1=1682363&r2=1682364&view=diff
==
--- james/mailbox/trunk/pom.xml (original)
+++ james/mailbox/trunk/pom.xml Fri May 29 04:19:39 2015
@@ -89,7 +89,7 @@
 2.2.1
 1.0.2
 1
-0.7.2
+0.8.0-SNAPSHOT
 1.4.1
 1.1.1
 2.5.1

Modified: 
james/mailbox/trunk/store/src/main/java/org/apache/james/mailbox/store/MimeDescriptorImpl.java
URL: 
http://svn.apache.org/viewvc/james/mailbox/trunk/store/src/main/java/org/apache/james/mailbox/store/MimeDescriptorImpl.java?rev=1682364&r1=1682363&r2=1682364&view=diff
==
--- 
james/mailbox/trunk/store/src/main/java/org/apache/james/mailbox/store/MimeDescriptorImpl.java
 (original)
+++ 
james/mailbox/trunk/store/src/main/java/org/apache/james/mailbox/store/MimeDescriptorImpl.java
 Fri May 29 04:19:39 2015
@@ -62,10 +62,7 @@ public class MimeDescriptorImpl implemen
 public static MimeDescriptorImpl build(final InputStream stream) throws 
IOException, MimeException {
 // Disable line length limit
 // See https://issues.apache.org/jira/browse/IMAP-132
-MimeConfig config = n

[jira] [Commented] (MAILBOX-73) More tests in mailbox implementations

2015-05-28 Thread Eric Charles (JIRA)

[ 
https://issues.apache.org/jira/browse/MAILBOX-73?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14564195#comment-14564195
 ] 

Eric Charles commented on MAILBOX-73:
-

git apply --check 
0001-MAILBOX-73-Generic-tests-for-mapper-implementations-.patch
error: patch failed: cassandra/pom.xml:75
error: cassandra/pom.xml: patch does not apply

Could you check and reupload if needed? Thx.

> More tests in mailbox implementations
> -
>
> Key: MAILBOX-73
> URL: https://issues.apache.org/jira/browse/MAILBOX-73
> Project: James Mailbox
>  Issue Type: Improvement
>Reporter: Eric Charles
>Assignee: Ioan Eugen Stan
> Attachments: 
> 0001-MAILBOX-73-Generic-tests-for-mapper-implementations-.patch
>
>
> We need more base tests in api module that each implementation benefit from.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



[jira] [Commented] (MAILBOX-230) Mailbox should use latest version of other James subprojects

2015-05-28 Thread Eric Charles (JIRA)

[ 
https://issues.apache.org/jira/browse/MAILBOX-230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14564196#comment-14564196
 ] 

Eric Charles commented on MAILBOX-230:
--

Done.Thx.

> Mailbox should use latest version of other James subprojects
> 
>
> Key: MAILBOX-230
> URL: https://issues.apache.org/jira/browse/MAILBOX-230
> Project: James Mailbox
>  Issue Type: Improvement
>Reporter: Antoine Duprat
>Assignee: Eric Charles
> Fix For: 0.6
>
> Attachments: 
> 0001-JWC-111-update-james-related-projects-to-SNAPSHOT-ve.patch, 
> 0002-JWC-111-update-mime4j-to-0.8.0-SNAPSHOT.patch
>
>
> We want an integration tool that builds the entire James project in its 
> latest version.
> To do that, each james project needs to use the latest version of all other 
> James subprojects.
> In JDKIM, this means :
> - Update mailet version
> - Update james-project version
> - Update mime4j version



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



svn commit: r1682367 [13/22] - in /james/mpt/trunk: ./ impl/imap-mailbox/ impl/imap-mailbox/cassandra/ impl/imap-mailbox/cassandra/src/ impl/imap-mailbox/cassandra/src/reporting-site/ impl/imap-mailbo

2015-05-28 Thread eric
Added: 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/Rename.test
URL: 
http://svn.apache.org/viewvc/james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/Rename.test?rev=1682367&view=auto
==
--- 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/Rename.test
 (added)
+++ 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/Rename.test
 Fri May 29 05:16:50 2015
@@ -0,0 +1,2610 @@
+
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information#
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the#
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#  #
+#   http://www.apache.org/licenses/LICENSE-2.0 #
+#  #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY   #
+# KIND, either express or implied.  See the License for the#
+# specific language governing permissions and limitations  #
+# under the License.   #
+
+C: A2 CREATE testmailbox
+S: A2 OK CREATE completed\.
+C: A3 SELECT testmailbox
+S: \* FLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\Seen\)
+S: \* 0 EXISTS
+S: \* 0 RECENT
+S: \* OK \[UIDVALIDITY \d+\].*
+S: \* OK \[PERMANENTFLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\\Seen( 
\\\*)?\)\].*
+S: \* OK \[HIGHESTMODSEQ \d+\].*
+S: \* OK \[UIDNEXT 1\].*
+S: A3 OK \[READ-WRITE\] SELECT completed\.
+C: A4 APPEND testmailbox {185+}
+C: From: Timothy Tayler 
+C: To: Samual Smith 
+C: Date: Thu, 14 Feb 2008 12:00:00 + (GMT)
+C: Subject: A Simple Email
+C: 
+C: This is a very simple email.
+C: 
+S: \* 1 EXISTS
+S: \* 1 RECENT
+S: A4 OK (\[.+\] )?APPEND completed\.
+C: A5 STORE 1  FLAGS (\DELETED)
+S: \* 1 FETCH \(FLAGS \(\\Deleted \\Recent\)\)
+S: A5 OK STORE completed\.
+C: A6 EXPUNGE
+S: \* 1 EXPUNGE
+S: \* 0 RECENT
+S: A6 OK EXPUNGE completed\.
+C: A7 APPEND testmailbox {185+}
+C: From: Timothy Tayler 
+C: To: Samual Smith 
+C: Date: Thu, 14 Feb 2008 12:00:00 + (GMT)
+C: Subject: A Simple Email
+C: 
+C: This is a very simple email.
+C: 
+S: \* 1 EXISTS
+S: \* 1 RECENT
+S: A7 OK (\[.+\] )?APPEND completed\.
+C: A8 STORE 1  FLAGS (\DELETED)
+S: \* 1 FETCH \(FLAGS \(\\Deleted \\Recent\)\)
+S: A8 OK STORE completed\.
+C: A9 EXPUNGE
+S: \* 1 EXPUNGE
+S: \* 0 RECENT
+S: A9 OK EXPUNGE completed\.
+C: A10 APPEND testmailbox {185+}
+C: From: Timothy Tayler 
+C: To: Samual Smith 
+C: Date: Thu, 14 Feb 2008 12:00:00 + (GMT)
+C: Subject: A Simple Email
+C: 
+C: This is a very simple email.
+C: 
+S: \* 1 EXISTS
+S: \* 1 RECENT
+S: A10 OK (\[.+\] )?APPEND completed\.
+C: A11 STORE 1  FLAGS (\DELETED)
+S: \* 1 FETCH \(FLAGS \(\\Deleted \\Recent\)\)
+S: A11 OK STORE completed\.
+C: A12 EXPUNGE
+S: \* 1 EXPUNGE
+S: \* 0 RECENT
+S: A12 OK EXPUNGE completed\.
+C: A13 APPEND testmailbox {185+}
+C: From: Timothy Tayler 
+C: To: Samual Smith 
+C: Date: Thu, 14 Feb 2008 12:00:00 + (GMT)
+C: Subject: A Simple Email
+C: 
+C: This is a very simple email.
+C: 
+S: \* 1 EXISTS
+S: \* 1 RECENT
+S: A13 OK (\[.+\] )?APPEND completed\.
+C: A14 STORE 1  FLAGS (\DELETED)
+S: \* 1 FETCH \(FLAGS \(\\Deleted \\Recent\)\)
+S: A14 OK STORE completed\.
+C: A15 EXPUNGE
+S: \* 1 EXPUNGE
+S: \* 0 RECENT
+S: A15 OK EXPUNGE completed\.
+C: A16 APPEND testmailbox {185+}
+C: From: Timothy Tayler 
+C: To: Samual Smith 
+C: Date: Thu, 14 Feb 2008 12:00:00 + (GMT)
+C: Subject: A Simple Email
+C: 
+C: This is a very simple email.
+C: 
+S: \* 1 EXISTS
+S: \* 1 RECENT
+S: A16 OK (\[.+\] )?APPEND completed\.
+C: A17 STORE 1  FLAGS (\DELETED)
+S: \* 1 FETCH \(FLAGS \(\\Deleted \\Recent\)\)
+S: A17 OK STORE completed\.
+C: A18 EXPUNGE
+S: \* 1 EXPUNGE
+S: \* 0 RECENT
+S: A18 OK EXPUNGE completed\.
+C: A19 APPEND testmailbox {185+}
+C: From: Timothy Tayler 
+C: To: Samual Smith 
+C: Date: Thu, 14 Feb 2008 12:00:00 + (GMT)
+C: Subject: A Simple Email
+C: 
+C: This is a very simple email.
+C: 
+S: \* 1 EXISTS
+S: \* 1 RECENT
+S: A19 OK (\[.+\] )?APPEND completed\.
+C: A20 STORE 1  FLAGS (\DELETED)
+S: \* 1 FETCH \(FLAGS \(\\Deleted \\Recent\)\)
+S: A20 OK STORE completed\.
+C: A21 EXPUNGE
+S: \* 1 EXPUNGE
+S: \* 0 RECENT
+S: A21 OK EXPUNGE completed\.
+C: A22 APPEND testmailbox {

svn commit: r1682367 [10/22] - in /james/mpt/trunk: ./ impl/imap-mailbox/ impl/imap-mailbox/cassandra/ impl/imap-mailbox/cassandra/src/ impl/imap-mailbox/cassandra/src/reporting-site/ impl/imap-mailbo

2015-05-28 Thread eric
Added: 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/FetchStructureComplex.test
URL: 
http://svn.apache.org/viewvc/james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/FetchStructureComplex.test?rev=1682367&view=auto
==
--- 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/FetchStructureComplex.test
 (added)
+++ 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/FetchStructureComplex.test
 Fri May 29 05:16:50 2015
@@ -0,0 +1,3117 @@
+
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information#
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the#
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#  #
+#   http://www.apache.org/licenses/LICENSE-2.0 #
+#  #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY   #
+# KIND, either express or implied.  See the License for the#
+# specific language governing permissions and limitations  #
+# under the License.   #
+
+C: A2 CREATE testmailbox
+S: A2 OK CREATE completed\.
+C: A3 SELECT testmailbox
+S: \* FLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\Seen\)
+S: \* 0 EXISTS
+S: \* 0 RECENT
+S: \* OK \[UIDVALIDITY \d+\].*
+S: \* OK \[PERMANENTFLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\\Seen( 
\\\*)?\)\].*
+S: \* OK \[HIGHESTMODSEQ \d+\].*
+S: \* OK \[UIDNEXT 1\].*
+S: A3 OK \[READ-WRITE\] SELECT completed\.
+C: A4 APPEND testmailbox {14154+}
+C: Return-Path: 
+C: Delivered-To: rob@localhost
+C: Delivered-To: rob@localhost
+C: Received: from smtp-in3.blueyonder.co.uk ([172.23.146.14]) by cluster6 with
+C: Microsoft SMTPSVC(5.0.2195.6713); Tue, 11 Mar 2008 18:53:48 +
+C: Received: from eback03.blueyonder.co.uk ([195.188.53.214]) by
+C: smtp-in3.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.6713); 
Tue, 11
+C: Mar 2008 18:53:48 +
+C: Received: from [172.23.170.141] (helo=anti-virus02-08) by
+C: eback03.blueyonder.co.uk with smtp (Exim 4.52) id 1JZ9bg-0005pc-Kc 
for
+C: robertburrelldon...@blueyonder.co.uk; Tue, 11 Mar 2008 18:53:48 
+
+C: Received: from [209.85.146.177] (helo=wa-out-1112.google.com) by
+C: exim11.blueyonder.co.uk with esmtp (Exim 4.68) (envelope-from
+C: ) id 1JZ9bf-0005sq-E4 for
+C: robertburrelldon...@blueyonder.co.uk; Tue, 11 Mar 2008 18:53:47 
+
+C: Received: by wa-out-1112.google.com with SMTP id k40so3093721wah.25 for
+C: ; Tue, 11 Mar 2008 11:53:46 
-0700
+C: (PDT)
+C: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
+C: 
h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references;
+C: bh=yuycNteU3R8u06MvlZyMGfEM6XWUsfZNdi4MXOvDmJM=;
+C: 
b=YlpZWlL8q5FXdYMMXo1tUnxhwvV6uGNszLQ7f7p0LXDa0YLsPi8GQRckuRlB8aHvO6aVR14qbuLTbFHZJ5+cwITLZhtQrFzq/BiBzh5F1UjbcgwLkulHRkw2ulBGN06rK4FJCH976aaf7M8qKkK3i+xkwo2ptTzve4VFzGXh4gg=
+C: DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
+C: 
h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references;
+C: 
b=CITXFMszoBpjfabn47oOdBGGj3ULwqJ3L1P84fQz0ZY/LdPk1qW3oC0bsmJPK6swRfHYDkz695QKHn9XG/d0B7lFmODrXZ1jxSqyz6N6WgvE4vqyiZ+fniz0sZHvpXGub06y1DI8b7vGLA5fj5BoJ9tFk8uIthJbrKb2j4WbJco=
+C: Received: by 10.114.197.1 with SMTP id u1mr5302053waf.61.1205261626861;
+C: Tue, 11 Mar 2008 11:53:46 -0700 (PDT)
+C: Received: by 10.114.126.16 with HTTP; Tue, 11 Mar 2008 11:53:38 -0700 (PDT)
+C: Message-ID: 
+C: Date: Tue, 11 Mar 2008 18:53:38 +
+C: From: "Robert Burrell Donkin" 
+C: To: "Robert Burrell Donkin" 
+C: Subject: Re: Sonnets By William Shakespeare
+C: Cc: "Robert Burrell Donkin" 
+C: In-Reply-To: <1205261107.7516.6.camel@localhost>
+C: MIME-Version: 1.0
+C: Content-Type: multipart/mixed;  
boundary="=_Part_4002_22491526.1205261626856"
+C: References: <1205261107.7516.6.camel@localhost>
+C: X-Envelope-To: robertburrelldon...@blueyonder.co.uk
+C: X-OriginalArrivalTime: 11 Mar 2008 18:53:48.0705 (UTC)
+C: FILETIME=[3DA5D910:01C883A9]
+C: X-fetched-from: blueyonder.co.uk

svn commit: r1682367 [6/22] - in /james/mpt/trunk: ./ impl/imap-mailbox/ impl/imap-mailbox/cassandra/ impl/imap-mailbox/cassandra/src/ impl/imap-mailbox/cassandra/src/reporting-site/ impl/imap-mailbox

2015-05-28 Thread eric
Added: 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/ExpungeBasics.test
URL: 
http://svn.apache.org/viewvc/james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/ExpungeBasics.test?rev=1682367&view=auto
==
--- 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/ExpungeBasics.test
 (added)
+++ 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/ExpungeBasics.test
 Fri May 29 05:16:50 2015
@@ -0,0 +1,718 @@
+
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information#
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the#
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#  #
+#   http://www.apache.org/licenses/LICENSE-2.0 #
+#  #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY   #
+# KIND, either express or implied.  See the License for the#
+# specific language governing permissions and limitations  #
+# under the License.   #
+
+C: A2 CREATE testmailbox
+S: A2 OK CREATE completed.
+C: A3 SELECT testmailbox
+S: \* FLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\Seen\)
+S: \* 0 EXISTS
+S: \* 0 RECENT
+S: \* OK \[UIDVALIDITY \d+\].*
+S: \* OK \[PERMANENTFLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\\Seen( 
\\\*)?\)\].*
+S: \* OK \[HIGHESTMODSEQ \d+\].*
+S: \* OK \[UIDNEXT 1\].*
+S: A3 OK \[READ-WRITE\] SELECT completed.
+C: A4 APPEND testmailbox {185+}
+C: From: Timothy Tayler 
+C: To: Samual Smith 
+C: Date: Thu, 14 Feb 2008 12:00:00 + (GMT)
+C: Subject: A Simple Email
+C: 
+C: This is a very simple email.
+C: 
+S: \* 1 EXISTS
+S: \* 1 RECENT
+S: A4 OK (\[.+\] )?APPEND completed.
+C: A5 APPEND testmailbox {704+}
+C: Received: by 10.114.81.13 with HTTP; Sat, 2 Feb 2008 05:14:19 -0800 (PST)
+C: Message-ID: 
+C: Date: Sat, 2 Feb 2008 13:14:19 +
+C: From: "Robert Burrell Donkin" 
+C: To: "James Developers List" 
+C: Subject: JCR -> trunk ...?
+C: MIME-Version: 1.0
+C: Content-Type: text/plain; charset=ISO-8859-1
+C: Content-Transfer-Encoding: 7bit
+C: Content-Disposition: inline
+C: Delivered-To: robertburrelldon...@gmail.com
+C: 
+C: i'd like to copy james-jcr into trunk and add some example
+C: configurations. development can continue in the sandbox (or not) and
+C: merged in later (if necessary).
+C: 
+C: any objections?
+C: 
+C: - robert
+S: \* 2 EXISTS
+S: \* 2 RECENT
+S: A5 OK (\[.+\] )?APPEND completed.
+C: A6 APPEND testmailbox {668+}
+C: From: Timothy Tayler 
+C: To: Samual Smith 
+C: Date: Thu, 14 Feb 2008 12:00:00 + (GMT)
+C: Subject: A Multipart Email
+C: Content-Type: multipart/alternative;boundary=1729
+C: 
+C: Start with a preamble
+C: 
+C: --1729
+C: Content-Type: applcation/xhtml+xml
+C: 
+C: http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+C: RhubarbRhubarb!
+C: 
+C: --1729
+C: Content-Type: text/plain; charset=US-ASCII
+C: 
+C: Rhubarb!
+C: 
+C: --1729
+C: Content-Type: text/html; charset=US-ASCII
+C: 
+C: RhubarbRhubarb!
+C: 
+C: --1729--
+C: 
+S: \* 3 EXISTS
+S: \* 3 RECENT
+S: A6 OK (\[.+\] )?APPEND completed.
+C: A7 APPEND testmailbox {1767+}
+C: From: Timothy Tayler 
+C: To: Samual Smith 
+C: Date: Thu, 14 Feb 2008 12:00:00 + (GMT)
+C: Subject: A Multipart Email
+C: Content-Type: multipart/mixed;boundary=1729
+C: 
+C: Start with a preamble
+C: 
+C: --1729
+C: Content-Type: text/plain; charset=US-ASCII
+C: 
+C: Rhubarb!
+C: 
+C: --1729
+C: Content-Type: application/octet-stream
+C: Content-Transfer-Encoding: base64
+C: 
+C: 987654321AHPLA
+C: 
+C: --1729
+C: Content-Type: message/rfc822
+C: 
+C: From: Timothy Tayler 
+C: To: Samual Smith 
+C: Date: Thu, 14 Feb 2008 12:00:00 + (GMT)
+C: Subject: A Multipart Alternative Email
+C: Content-Type: multipart/alternative;boundary=42
+C: 
+C: This message has a premable
+C: 
+C: --42
+C: Content-Type: text/plain; charset=US-ASCII
+C: 
+C: Custard!
+C: 
+C: --42
+C: Content-Type: application/octet-stream
+C: 
+C: CUSTARDCUSTARDCUSTARD
+C: 
+C: --42--
+C: 
+C: --1729
+C: Content-Type: multipart/mixed; boundary=4.66920160910299
+C: 
+C: --4.66920160910299
+C: Content-Type: image/gif
+C: Content-Transfer-Encoding: base64
+C: MIME-Version: 1.0
+C: Content-ID: 2

svn commit: r1682367 [15/22] - in /james/mpt/trunk: ./ impl/imap-mailbox/ impl/imap-mailbox/cassandra/ impl/imap-mailbox/cassandra/src/ impl/imap-mailbox/cassandra/src/reporting-site/ impl/imap-mailbo

2015-05-28 Thread eric
Added: 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/SearchAtoms.test
URL: 
http://svn.apache.org/viewvc/james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/SearchAtoms.test?rev=1682367&view=auto
==
--- 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/SearchAtoms.test
 (added)
+++ 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/SearchAtoms.test
 Fri May 29 05:16:50 2015
@@ -0,0 +1,1920 @@
+
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information#
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the#
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#  #
+#   http://www.apache.org/licenses/LICENSE-2.0 #
+#  #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY   #
+# KIND, either express or implied.  See the License for the#
+# specific language governing permissions and limitations  #
+# under the License.   #
+
+C: A2 CREATE testmailbox
+S: A2 OK CREATE completed\.
+C: A3 SELECT testmailbox
+S: \* FLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\Seen\)
+S: \* 0 EXISTS
+S: \* 0 RECENT
+S: \* OK \[UIDVALIDITY (.)*
+S: \* OK \[PERMANENTFLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\\Seen( 
\\\*)?\)\](.)*
+S: \* OK \[HIGHESTMODSEQ \d+\].*
+S: \* OK \[UIDNEXT 1\].*
+S: A3 OK \[READ-WRITE\] SELECT completed\.
+C: A4 APPEND testmailbox {185+}
+C: From: Timothy Tayler 
+C: To: Samual Smith 
+C: Date: Thu, 14 Feb 2008 12:00:00 + (GMT)
+C: Subject: A Simple Email
+C: 
+C: This is a very simple email.
+C: 
+S: \* 1 EXISTS
+S: \* 1 RECENT
+S: A4 OK (\[.+\] )?APPEND completed\.
+C: A5 APPEND testmailbox {704+}
+C: Received: by 10.114.81.13 with HTTP; Sat, 2 Feb 2008 05:14:19 -0800 (PST)
+C: Message-ID: 
+C: Date: Sat, 2 Feb 2008 13:14:19 +
+C: From: "Robert Burrell Donkin" 
+C: To: "James Developers List" 
+C: Subject: JCR -> trunk ...?
+C: MIME-Version: 1.0
+C: Content-Type: text/plain; charset=ISO-8859-1
+C: Content-Transfer-Encoding: 7bit
+C: Content-Disposition: inline
+C: Delivered-To: robertburrelldon...@gmail.com
+C: 
+C: i'd like to copy james-jcr into trunk and add some example
+C: configurations. development can continue in the sandbox (or not) and
+C: merged in later (if necessary).
+C: 
+C: any objections?
+C: 
+C: - robert
+S: \* 2 EXISTS
+S: \* 2 RECENT
+S: A5 OK (\[.+\] )?APPEND completed\.
+C: A6 APPEND testmailbox {668+}
+C: From: Timothy Tayler 
+C: To: Samual Smith 
+C: Date: Thu, 14 Feb 2008 12:00:00 + (GMT)
+C: Subject: A Multipart Email
+C: Content-Type: multipart/alternative;boundary=1729
+C: 
+C: Start with a preamble
+C: 
+C: --1729
+C: Content-Type: applcation/xhtml+xml
+C: 
+C: http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+C: RhubarbRhubarb!
+C: 
+C: --1729
+C: Content-Type: text/plain; charset=US-ASCII
+C: 
+C: Rhubarb!
+C: 
+C: --1729
+C: Content-Type: text/html; charset=US-ASCII
+C: 
+C: RhubarbRhubarb!
+C: 
+C: --1729--
+C: 
+S: \* 3 EXISTS
+S: \* 3 RECENT
+S: A6 OK (\[.+\] )?APPEND completed\.
+C: A7 APPEND testmailbox {765+}
+C: From: Timothy Tayler 
+C: To: Samual Smith 
+C: Date: Thu, 14 Feb 2008 12:00:00 + (GMT)
+C: Subject: A Multipart Email
+C: Content-Type: multipart/mixed;boundary=1729
+C: 
+C: Start with a preamble
+C: 
+C: --1729
+C: Content-Type: text/plain; charset=US-ASCII
+C: 
+C: Rhubarb!
+C: 
+C: --1729
+C: Content-Type: text/html; charset=US-ASCII
+C: 
+C: RhubarbRhubarb!
+C: 
+C: --1729
+C: Content-Type: application/xhtml+xml
+C: 
+C: http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+C: RhubarbRhubarb!
+C: 
+C: --1729
+C: Content-Type: image/jpeg
+C: Content-Transfer-Encoding: base64
+C: 
+C: 1234567890ABCDEFGHIJKLMNOPQ
+C: 
+C: --1729--
+C: 
+S: \* 4 EXISTS
+S: \* 4 RECENT
+S: A7 OK (\[.+\] )?APPEND completed\.
+C: A8 APPEND testmailbox {1767+}
+C: From: Timothy Tayler 
+C: To: Samual Smith 
+C: Date: Thu, 14 Feb 2008 12:00:00 + (GMT)
+C: Subject: A Multipart Email
+C: Content-Type: multipart/mixed;boundary=1729
+C: 
+C: Start with a preamble
+C: 
+C: --1729
+C: Content-Type: text/plain; charset=US-ASCII
+C: 
+C: Rhubarb!
+C: 
+C: --1729
+C: Content-Type: applic

svn commit: r1682367 [21/22] - in /james/mpt/trunk: ./ impl/imap-mailbox/ impl/imap-mailbox/cassandra/ impl/imap-mailbox/cassandra/src/ impl/imap-mailbox/cassandra/src/reporting-site/ impl/imap-mailbo

2015-05-28 Thread eric
Added: james/mpt/trunk/impl/imap-mailbox/jcr/LICENSE.txt
URL: 
http://svn.apache.org/viewvc/james/mpt/trunk/impl/imap-mailbox/jcr/LICENSE.txt?rev=1682367&view=auto
==
--- james/mpt/trunk/impl/imap-mailbox/jcr/LICENSE.txt (added)
+++ james/mpt/trunk/impl/imap-mailbox/jcr/LICENSE.txt Fri May 29 05:16:50 2015
@@ -0,0 +1,176 @@
+ Apache License
+   Version 2.0, January 2004
+http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+  "License" shall mean the terms and conditions for use, reproduction,
+  and distribution as defined by Sections 1 through 9 of this document.
+
+  "Licensor" shall mean the copyright owner or entity authorized by
+  the copyright owner that is granting the License.
+
+  "Legal Entity" shall mean the union of the acting entity and all
+  other entities that control, are controlled by, or are under common
+  control with that entity. For the purposes of this definition,
+  "control" means (i) the power, direct or indirect, to cause the
+  direction or management of such entity, whether by contract or
+  otherwise, or (ii) ownership of fifty percent (50%) or more of the
+  outstanding shares, or (iii) beneficial ownership of such entity.
+
+  "You" (or "Your") shall mean an individual or Legal Entity
+  exercising permissions granted by this License.
+
+  "Source" form shall mean the preferred form for making modifications,
+  including but not limited to software source code, documentation
+  source, and configuration files.
+
+  "Object" form shall mean any form resulting from mechanical
+  transformation or translation of a Source form, including but
+  not limited to compiled object code, generated documentation,
+  and conversions to other media types.
+
+  "Work" shall mean the work of authorship, whether in Source or
+  Object form, made available under the License, as indicated by a
+  copyright notice that is included in or attached to the work
+  (an example is provided in the Appendix below).
+
+  "Derivative Works" shall mean any work, whether in Source or Object
+  form, that is based on (or derived from) the Work and for which the
+  editorial revisions, annotations, elaborations, or other modifications
+  represent, as a whole, an original work of authorship. For the purposes
+  of this License, Derivative Works shall not include works that remain
+  separable from, or merely link (or bind by name) to the interfaces of,
+  the Work and Derivative Works thereof.
+
+  "Contribution" shall mean any work of authorship, including
+  the original version of the Work and any modifications or additions
+  to that Work or Derivative Works thereof, that is intentionally
+  submitted to Licensor for inclusion in the Work by the copyright owner
+  or by an individual or Legal Entity authorized to submit on behalf of
+  the copyright owner. For the purposes of this definition, "submitted"
+  means any form of electronic, verbal, or written communication sent
+  to the Licensor or its representatives, including but not limited to
+  communication on electronic mailing lists, source code control systems,
+  and issue tracking systems that are managed by, or on behalf of, the
+  Licensor for the purpose of discussing and improving the Work, but
+  excluding communication that is conspicuously marked or otherwise
+  designated in writing by the copyright owner as "Not a Contribution."
+
+  "Contributor" shall mean Licensor and any individual or Legal Entity
+  on behalf of whom a Contribution has been received by Licensor and
+  subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+  this License, each Contributor hereby grants to You a perpetual,
+  worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+  copyright license to reproduce, prepare Derivative Works of,
+  publicly display, publicly perform, sublicense, and distribute the
+  Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+  this License, each Contributor hereby grants to You a perpetual,
+  worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+  (except as stated in this section) patent license to make, have made,
+  use, offer to sell, sell, import, and otherwise transfer the Work,
+  where such license applies only to those patent claims licensable
+  by such Contributor that are necessarily infringed by their
+  Contribution(s) alone or by combination of their Contribution(s)
+  with the Work to which 

svn commit: r1682367 [20/22] - in /james/mpt/trunk: ./ impl/imap-mailbox/ impl/imap-mailbox/cassandra/ impl/imap-mailbox/cassandra/src/ impl/imap-mailbox/cassandra/src/reporting-site/ impl/imap-mailbo

2015-05-28 Thread eric
Added: 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/ValidAuthenticated.test
URL: 
http://svn.apache.org/viewvc/james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/ValidAuthenticated.test?rev=1682367&view=auto
==
--- 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/ValidAuthenticated.test
 (added)
+++ 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/ValidAuthenticated.test
 Fri May 29 05:16:50 2015
@@ -0,0 +1,43 @@
+
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information#
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the#
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#  #
+#   http://www.apache.org/licenses/LICENSE-2.0 #
+#  #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY   #
+# KIND, either express or implied.  See the License for the#
+# specific language governing permissions and limitations  #
+# under the License.   #
+
+# Commands not valid in NONAUTHENTICATED state
+# Valid in authenticated or selected only
+C: a001 SELECT mailbox
+S: a001 NO SELECT failed. Command not valid in this state.
+C: a001 EXAMINE mailbox
+S: a001 NO EXAMINE failed. Command not valid in this state.
+C: a001 CREATE mailbox
+S: a001 NO CREATE failed. Command not valid in this state.
+C: a001 DELETE mailbox
+S: a001 NO DELETE failed. Command not valid in this state.
+C: a001 RENAME oldname newname
+S: a001 NO RENAME failed. Command not valid in this state.
+C: a001 SUBSCRIBE mailbox
+S: a001 NO SUBSCRIBE failed. Command not valid in this state.
+C: a001 UNSUBSCRIBE mailbox
+S: a001 NO UNSUBSCRIBE failed. Command not valid in this state.
+C: a001 LIST "" ""
+S: a001 NO LIST failed. Command not valid in this state.
+C: a001 LSUB "" ""
+S: a001 NO LSUB failed. Command not valid in this state.
+C: a001 STATUS mailbox (UIDNEXT)
+S: a001 NO STATUS failed. Command not valid in this state.
+C: a001 APPEND mailbox {13+}
+C: 13 characters
+S: a001 NO APPEND failed. Command not valid in this state.

Added: 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/ValidNonAuthenticated.test
URL: 
http://svn.apache.org/viewvc/james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/ValidNonAuthenticated.test?rev=1682367&view=auto
==
--- 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/ValidNonAuthenticated.test
 (added)
+++ 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/ValidNonAuthenticated.test
 Fri May 29 05:16:50 2015
@@ -0,0 +1,23 @@
+
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information#
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the#
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#  #
+#   http://www.apache.org/licenses/LICENSE-2.0 #
+#  #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY   #
+# KIND, either express or implied.  See the License for the#
+# specific language governing permissions and limitations  #
+# under the License.   #
+
+# Valid in non-authenticated only
+C: a001 LOGIN daz daz
+S: a001 NO LOGIN failed. Command not valid in this state.
+C: abcd AUTHENTICATE KERBEROS_V4
+S: abcd NO AUTHENTICATE failed. Command not valid in this state.

Added: 
james/mpt/tru

svn commit: r1682367 [4/22] - in /james/mpt/trunk: ./ impl/imap-mailbox/ impl/imap-mailbox/cassandra/ impl/imap-mailbox/cassandra/src/ impl/imap-mailbox/cassandra/src/reporting-site/ impl/imap-mailbox

2015-05-28 Thread eric
Added: 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/samples/wild-alt-reply3.mail
URL: 
http://svn.apache.org/viewvc/james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/samples/wild-alt-reply3.mail?rev=1682367&view=auto
==
--- 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/samples/wild-alt-reply3.mail
 (added)
+++ 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/samples/wild-alt-reply3.mail
 Fri May 29 05:16:50 2015
@@ -0,0 +1,254 @@
+
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information#
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the#
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#  #
+#   http://www.apache.org/licenses/LICENSE-2.0 #
+#  #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY   #
+# KIND, either express or implied.  See the License for the#
+# specific language governing permissions and limitations  #
+# under the License.   #
+
+Return-Path: 
+Delivered-To: rob@localhost
+Delivered-To: rob@localhost
+Received: from smtp-in3.blueyonder.co.uk ([172.23.146.14]) by cluster6 with
+Microsoft SMTPSVC(5.0.2195.6713); Tue, 11 Mar 2008 18:53:48 +
+Received: from eback03.blueyonder.co.uk ([195.188.53.214]) by
+smtp-in3.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.6713); Tue, 
11
+Mar 2008 18:53:48 +
+Received: from [172.23.170.141] (helo=anti-virus02-08) by
+eback03.blueyonder.co.uk with smtp (Exim 4.52) id 1JZ9bg-0005pc-Kc for
+robertburrelldon...@blueyonder.co.uk; Tue, 11 Mar 2008 18:53:48 +
+Received: from [209.85.146.177] (helo=wa-out-1112.google.com) by
+exim11.blueyonder.co.uk with esmtp (Exim 4.68) (envelope-from
+) id 1JZ9bf-0005sq-E4 for
+robertburrelldon...@blueyonder.co.uk; Tue, 11 Mar 2008 18:53:47 +
+Received: by wa-out-1112.google.com with SMTP id k40so3093721wah.25 for
+; Tue, 11 Mar 2008 11:53:46 -0700
+(PDT)
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
+
h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references;
+bh=yuycNteU3R8u06MvlZyMGfEM6XWUsfZNdi4MXOvDmJM=;
+
b=YlpZWlL8q5FXdYMMXo1tUnxhwvV6uGNszLQ7f7p0LXDa0YLsPi8GQRckuRlB8aHvO6aVR14qbuLTbFHZJ5+cwITLZhtQrFzq/BiBzh5F1UjbcgwLkulHRkw2ulBGN06rK4FJCH976aaf7M8qKkK3i+xkwo2ptTzve4VFzGXh4gg=
+DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
+
h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references;
+
b=CITXFMszoBpjfabn47oOdBGGj3ULwqJ3L1P84fQz0ZY/LdPk1qW3oC0bsmJPK6swRfHYDkz695QKHn9XG/d0B7lFmODrXZ1jxSqyz6N6WgvE4vqyiZ+fniz0sZHvpXGub06y1DI8b7vGLA5fj5BoJ9tFk8uIthJbrKb2j4WbJco=
+Received: by 10.114.197.1 with SMTP id u1mr5302053waf.61.1205261626861;
+Tue, 11 Mar 2008 11:53:46 -0700 (PDT)
+Received: by 10.114.126.16 with HTTP; Tue, 11 Mar 2008 11:53:38 -0700 (PDT)
+Message-ID: 
+Date: Tue, 11 Mar 2008 18:53:38 +
+From: "Robert Burrell Donkin" 
+To: "Robert Burrell Donkin" 
+Subject: Re: Sonnets By William Shakespeare
+Cc: "Robert Burrell Donkin" 
+In-Reply-To: <1205261107.7516.6.camel@localhost>
+MIME-Version: 1.0
+Content-Type: multipart/mixed;  
boundary="=_Part_4002_22491526.1205261626856"
+References: <1205261107.7516.6.camel@localhost>
+X-Envelope-To: robertburrelldon...@blueyonder.co.uk
+X-OriginalArrivalTime: 11 Mar 2008 18:53:48.0705 (UTC)
+FILETIME=[3DA5D910:01C883A9]
+X-fetched-from: blueyonder.co.uk
+X-Evolution-Source: imap://rob@thebes/
+
+
+--=_Part_4002_22491526.1205261626856
+Content-Type: multipart/alternative;  
boundary="=_Part_4003_18492227.1205261626856"
+
+
+--=_Part_4003_18492227.1205261626856
+Content-Type: text/plain; charset=ISO-8859-1
+Content-Transfer-Encoding: 7bit
+Content-Disposition: inline
+
+*Ah yes!*
+
+On Tue, Mar 11, 2008 at 6:45 PM, Robert Burrell Donkin <
+robertburrelldon...@blueyonder.co.uk> wrote:
+> O! lest the world should task you to recite
+>  What merit lived in me, that you should love
+>  After my death,--dear love, forget me quite

svn commit: r1682367 [18/22] - in /james/mpt/trunk: ./ impl/imap-mailbox/ impl/imap-mailbox/cassandra/ impl/imap-mailbox/cassandra/src/ impl/imap-mailbox/cassandra/src/reporting-site/ impl/imap-mailbo

2015-05-28 Thread eric
Added: 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/UidSearchAtoms.test
URL: 
http://svn.apache.org/viewvc/james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/UidSearchAtoms.test?rev=1682367&view=auto
==
--- 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/UidSearchAtoms.test
 (added)
+++ 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/UidSearchAtoms.test
 Fri May 29 05:16:50 2015
@@ -0,0 +1,2280 @@
+
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information#
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the#
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#  #
+#   http://www.apache.org/licenses/LICENSE-2.0 #
+#  #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY   #
+# KIND, either express or implied.  See the License for the#
+# specific language governing permissions and limitations  #
+# under the License.   #
+
+C: A2 CREATE testmailbox
+S: A2 OK CREATE completed\.
+C: A3 SELECT testmailbox
+S: \* FLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\Seen\)
+S: \* 0 EXISTS
+S: \* 0 RECENT
+S: \* OK \[UIDVALIDITY (.)*
+S: \* OK \[PERMANENTFLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\\Seen( 
\\\*)?\)\](.)*
+S: \* OK \[HIGHESTMODSEQ \d+\].*
+S: \* OK \[UIDNEXT 1\].*
+S: A3 OK \[READ-WRITE\] SELECT completed\.
+C: A4 APPEND testmailbox {185+}
+C: From: Timothy Tayler 
+C: To: Samual Smith 
+C: Date: Thu, 14 Feb 2008 12:00:00 + (GMT)
+C: Subject: A Simple Email
+C: 
+C: This is a very simple email.
+C: 
+S: \* 1 EXISTS
+S: \* 1 RECENT
+S: A4 OK (\[.+\] )?APPEND completed\.
+C: A5 STORE 1  FLAGS (\DELETED)
+S: \* 1 FETCH \(FLAGS \(\\Deleted \\Recent\)\)
+S: A5 OK STORE completed\.
+C: A6 EXPUNGE
+S: \* 1 EXPUNGE
+S: \* 0 RECENT
+S: A6 OK EXPUNGE completed\.
+C: A7 APPEND testmailbox {185+}
+C: From: Timothy Tayler 
+C: To: Samual Smith 
+C: Date: Thu, 14 Feb 2008 12:00:00 + (GMT)
+C: Subject: A Simple Email
+C: 
+C: This is a very simple email.
+C: 
+S: \* 1 EXISTS
+S: \* 1 RECENT
+S: A7 OK (\[.+\] )?APPEND completed\.
+C: A8 STORE 1  FLAGS (\DELETED)
+S: \* 1 FETCH \(FLAGS \(\\Deleted \\Recent\)\)
+S: A8 OK STORE completed\.
+C: A9 EXPUNGE
+S: \* 1 EXPUNGE
+S: \* 0 RECENT
+S: A9 OK EXPUNGE completed\.
+C: A10 APPEND testmailbox {185+}
+C: From: Timothy Tayler 
+C: To: Samual Smith 
+C: Date: Thu, 14 Feb 2008 12:00:00 + (GMT)
+C: Subject: A Simple Email
+C: 
+C: This is a very simple email.
+C: 
+S: \* 1 EXISTS
+S: \* 1 RECENT
+S: A10 OK (\[.+\] )?APPEND completed\.
+C: A11 STORE 1  FLAGS (\DELETED)
+S: \* 1 FETCH \(FLAGS \(\\Deleted \\Recent\)\)
+S: A11 OK STORE completed\.
+C: A12 EXPUNGE
+S: \* 1 EXPUNGE
+S: \* 0 RECENT
+S: A12 OK EXPUNGE completed\.
+C: A13 APPEND testmailbox {185+}
+C: From: Timothy Tayler 
+C: To: Samual Smith 
+C: Date: Thu, 14 Feb 2008 12:00:00 + (GMT)
+C: Subject: A Simple Email
+C: 
+C: This is a very simple email.
+C: 
+S: \* 1 EXISTS
+S: \* 1 RECENT
+S: A13 OK (\[.+\] )?APPEND completed\.
+C: A14 STORE 1  FLAGS (\DELETED)
+S: \* 1 FETCH \(FLAGS \(\\Deleted \\Recent\)\)
+S: A14 OK STORE completed\.
+C: A15 EXPUNGE
+S: \* 1 EXPUNGE
+S: \* 0 RECENT
+S: A15 OK EXPUNGE completed\.
+C: A16 APPEND testmailbox {185+}
+C: From: Timothy Tayler 
+C: To: Samual Smith 
+C: Date: Thu, 14 Feb 2008 12:00:00 + (GMT)
+C: Subject: A Simple Email
+C: 
+C: This is a very simple email.
+C: 
+S: \* 1 EXISTS
+S: \* 1 RECENT
+S: A16 OK (\[.+\] )?APPEND completed\.
+C: A17 STORE 1  FLAGS (\DELETED)
+S: \* 1 FETCH \(FLAGS \(\\Deleted \\Recent\)\)
+S: A17 OK STORE completed\.
+C: A18 EXPUNGE
+S: \* 1 EXPUNGE
+S: \* 0 RECENT
+S: A18 OK EXPUNGE completed\.
+C: A19 APPEND testmailbox {185+}
+C: From: Timothy Tayler 
+C: To: Samual Smith 
+C: Date: Thu, 14 Feb 2008 12:00:00 + (GMT)
+C: Subject: A Simple Email
+C: 
+C: This is a very simple email.
+C: 
+S: \* 1 EXISTS
+S: \* 1 RECENT
+S: A19 OK (\[.+\] )?APPEND completed\.
+C: A20 STORE 1  FLAGS (\DELETED)
+S: \* 1 FETCH \(FLAGS \(\\Deleted \\Recent\)\)
+S: A20 OK STORE completed\.
+C: A21 EXPUNGE
+S: \* 1 EXPUNGE
+S: \* 0 RECENT
+S: A21 OK EXPUNGE completed

svn commit: r1682367 [3/22] - in /james/mpt/trunk: ./ impl/imap-mailbox/ impl/imap-mailbox/cassandra/ impl/imap-mailbox/cassandra/src/ impl/imap-mailbox/cassandra/src/reporting-site/ impl/imap-mailbox

2015-05-28 Thread eric
Added: 
james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/user/MailboxUser.java
URL: 
http://svn.apache.org/viewvc/james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/user/MailboxUser.java?rev=1682367&view=auto
==
--- 
james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/user/MailboxUser.java
 (added)
+++ 
james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/user/MailboxUser.java
 Fri May 29 05:16:50 2015
@@ -0,0 +1,77 @@
+/
+ * Licensed to the Apache Software Foundation (ASF) under one   *
+ * or more contributor license agreements.  See the NOTICE file *
+ * distributed with this work for additional information*
+ * regarding copyright ownership.  The ASF licenses this file   *
+ * to you under the Apache License, Version 2.0 (the*
+ * "License"); you may not use this file except in compliance   *
+ * with the License.  You may obtain a copy of the License at   *
+ *  *
+ *   http://www.apache.org/licenses/LICENSE-2.0 *
+ *  *
+ * Unless required by applicable law or agreed to in writing,   *
+ * software distributed under the License is distributed on an  *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY   *
+ * KIND, either express or implied.  See the License for the*
+ * specific language governing permissions and limitations  *
+ * under the License.   *
+ /
+
+package org.apache.james.mpt.user;
+
+import java.util.Collection;
+import java.util.Collections;
+import java.util.HashSet;
+import java.util.Set;
+
+class MailboxUser {
+private final String userName;
+
+private CharSequence password;
+
+private final Set subscriptions;
+
+public MailboxUser(final String userName) {
+this.userName = userName;
+this.subscriptions = new HashSet();
+}
+
+public String getUserName() {
+return userName;
+}
+
+public void setPassword(CharSequence password) {
+this.password = password;
+}
+
+public Collection getSubscriptions() {
+return Collections.unmodifiableSet(subscriptions);
+}
+
+public void addSubscription(String subscription) {
+this.subscriptions.add(subscription);
+}
+
+public void removeSubscription(String mailbox) {
+this.subscriptions.remove(mailbox);
+}
+
+public boolean isPassword(CharSequence password) {
+final boolean result;
+if (password == null) {
+result = this.password == null;
+} else if (this.password == null) {
+result = false;
+} else if (this.password.length() == password.length()) {
+for (int i=0;ihttp://svn.apache.org/viewvc/james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/log4j.properties?rev=1682367&view=auto
==
--- james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/log4j.properties 
(added)
+++ james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/log4j.properties 
Fri May 29 05:16:50 2015
@@ -0,0 +1,27 @@
+
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information#
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the#
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#  #
+#   http://www.apache.org/licenses/LICENSE-2.0 #
+#  #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY   #
+# KIND, either express or implied.  See the License for the#
+# specific language governing permissions and limitations  #
+# under the License.   #
+
+
+log4j.rootLogger=ERROR, A1
+log4j.appender.A1=org.apache.log4j.ConsoleAppender
+log4j.appender.A1.layout=org.apache.log4j.PatternLayout
+
+# Print the date in ISO 8601 format
+log4j.appender.A1.layout.ConversionPattern=%d [%t] %-5p %c - %m%n
+
+org.apache.james.imap=DEBUG,CONS
\ No newline at end of file

Added: 
jam

svn commit: r1682367 [11/22] - in /james/mpt/trunk: ./ impl/imap-mailbox/ impl/imap-mailbox/cassandra/ impl/imap-mailbox/cassandra/src/ impl/imap-mailbox/cassandra/src/reporting-site/ impl/imap-mailbo

2015-05-28 Thread eric
Added: 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/FetchStructureEmbedded.test
URL: 
http://svn.apache.org/viewvc/james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/FetchStructureEmbedded.test?rev=1682367&view=auto
==
--- 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/FetchStructureEmbedded.test
 (added)
+++ 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/FetchStructureEmbedded.test
 Fri May 29 05:16:50 2015
@@ -0,0 +1,558 @@
+
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information#
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the#
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#  #
+#   http://www.apache.org/licenses/LICENSE-2.0 #
+#  #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY   #
+# KIND, either express or implied.  See the License for the#
+# specific language governing permissions and limitations  #
+# under the License.   #
+
+C: A2 CREATE testmailbox
+S: A2 OK CREATE completed\.
+C: A3 SELECT testmailbox
+S: \* FLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\Seen\)
+S: \* 0 EXISTS
+S: \* 0 RECENT
+S: \* OK \[UIDVALIDITY \d+\].*
+S: \* OK \[PERMANENTFLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\\Seen( 
\\\*)?\)\].*
+S: \* OK \[HIGHESTMODSEQ \d+\].*
+S: \* OK \[UIDNEXT 1\].*
+S: A3 OK \[READ-WRITE\] SELECT completed\.
+C: A4 APPEND testmailbox {1767+}
+C: From: Timothy Tayler 
+C: To: Samual Smith 
+C: Date: Thu, 14 Feb 2008 12:00:00 + (GMT)
+C: Subject: A Multipart Email
+C: Content-Type: multipart/mixed;boundary=1729
+C: 
+C: Start with a preamble
+C: 
+C: --1729
+C: Content-Type: text/plain; charset=US-ASCII
+C: 
+C: Rhubarb!
+C: 
+C: --1729
+C: Content-Type: application/octet-stream
+C: Content-Transfer-Encoding: base64
+C: 
+C: 987654321AHPLA
+C: 
+C: --1729
+C: Content-Type: message/rfc822
+C: 
+C: From: Timothy Tayler 
+C: To: Samual Smith 
+C: Date: Thu, 14 Feb 2008 12:00:00 + (GMT)
+C: Subject: A Multipart Alternative Email
+C: Content-Type: multipart/alternative;boundary=42
+C: 
+C: This message has a premable
+C: 
+C: --42
+C: Content-Type: text/plain; charset=US-ASCII
+C: 
+C: Custard!
+C: 
+C: --42
+C: Content-Type: application/octet-stream
+C: 
+C: CUSTARDCUSTARDCUSTARD
+C: 
+C: --42--
+C: 
+C: --1729
+C: Content-Type: multipart/mixed; boundary=4.66920160910299
+C: 
+C: --4.66920160910299
+C: Content-Type: image/gif
+C: Content-Transfer-Encoding: base64
+C: MIME-Version: 1.0
+C: Content-ID: 238478934723847238947892374
+C: Content-Description: Bogus Image Data
+C: 
+C: ABCDFEGHIJKLMNO
+C: 
+C: --4.66920160910299
+C: Content-Type: message/rfc822
+C: 
+C: From: Timothy Tayler 
+C: To: John Smith 
+C: Date: Sat, 16 Feb 2008 12:00:00 + (GMT)
+C: Subject: Another Example Email
+C: Content-Type: multipart/mixed;boundary=2.50290787509
+C: 
+C: Yet another preamble
+C: 
+C: --2.50290787509
+C: Content-Type: text/plain
+C: 
+C: Rhubard AND Custard!
+C: 
+C: --2.50290787509
+C: Content-Type: multipart/alternative;boundary=3.243F6A8885A308D3
+C: 
+C: --3.243F6A8885A308D3
+C: Content-Type: text/plain
+C: 
+C: Rhubard?Custard?
+C: 
+C: --3.243F6A8885A308D3
+C: 
+C: Content-Type: text/richtext
+C: 
+C: Rhubard?Custard?
+C: 
+C: --3.243F6A8885A308D3--
+C: 
+C: --2.50290787509--
+C: 
+C: --4.66920160910299--
+C: --1729--
+C: 
+S: \* 1 EXISTS
+S: \* 1 RECENT
+S: A4 OK (\[.+\] )?APPEND completed\.
+C: A5 FETCH 1 (BODY[])
+S: \* 1 FETCH \(FLAGS \(\\Recent \\Seen\) BODY\[\] \{1767\}
+S: From: Timothy Tayler 
+S: To: Samual Smith 
+S: Date: Thu, 14 Feb 2008 12:00:00 \+ \(GMT\)
+S: Subject: A Multipart Email
+S: Content-Type: multipart/mixed;boundary=1729
+S: 
+S: Start with a preamble
+S: 
+S: --1729
+S: Content-Type: text/plain; charset=US-ASCII
+S: 
+S: Rhubarb!
+S: 
+S: --1729
+S: Content-Type: application/octet-stream
+S: Content-Transfer-Encoding: base64
+S: 
+S: 987654321AHPLA
+S: 
+S: --1729
+S: Content-Type: message/rfc822
+S: 
+S: From: Timothy Tayler 
+S: To: Samual Smith 
+S: Date: Thu, 14 Feb 2008 12:00:00 \+ \(GMT\)
+S: Subject: A Multipart Alternative Email
+S: Content-Type: m

svn commit: r1682367 [5/22] - in /james/mpt/trunk: ./ impl/imap-mailbox/ impl/imap-mailbox/cassandra/ impl/imap-mailbox/cassandra/src/ impl/imap-mailbox/cassandra/src/reporting-site/ impl/imap-mailbox

2015-05-28 Thread eric
Added: 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/ComplexMail.test
URL: 
http://svn.apache.org/viewvc/james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/ComplexMail.test?rev=1682367&view=auto
==
--- 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/ComplexMail.test
 (added)
+++ 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/ComplexMail.test
 Fri May 29 05:16:50 2015
@@ -0,0 +1,330 @@
+
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information#
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the#
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#  #
+#   http://www.apache.org/licenses/LICENSE-2.0 #
+#  #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY   #
+# KIND, either express or implied.  See the License for the#
+# specific language governing permissions and limitations  #
+# under the License.   #
+
+#
+# TODO: This mail is not parsed correctly by JavaMail.
+# TODO: use Mime4J
+#
+C: A2 CREATE testmailbox
+S: A2 OK CREATE completed\.
+C: A3 SELECT testmailbox
+S: \* FLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\Seen\)
+S: \* 0 EXISTS
+S: \* 0 RECENT
+S: \* OK \[UIDVALIDITY (.)*
+S: \* OK \[PERMANENTFLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\\Seen( 
\\\*)?\)\](.)*
+S: \* OK \[HIGHESTMODSEQ \d+\].*
+S: \* OK \[UIDNEXT 1\].*
+S: A3 OK \[READ-WRITE\] SELECT completed\.
+C: A20 APPEND testmailbox {14862+}
+C: Return-Path: 
+C: Received: (qmail 16059 invoked from network); 11 Mar 2008 18:54:16 -
+C: Received: from unknown (HELO pre-smtp34-01.prod.mesa1.secureserver.net)
+C: ([10.0.19.134]) (envelope-sender ) 
by
+C: smtp28.prod.mesa1.secureserver.net (qmail-1.03) with SMTP for
+C: ; 11 Mar 2008 18:54:16 -
+C: Received: (qmail 24109 invoked from network); 11 Mar 2008 18:54:16 -
+C: Received: from minotaur.apache.org ([140.211.11.9]) (envelope-sender
+C: ) by
+C: pre-smtp34-01.prod.mesa1.secureserver.net (qmail-ldap-1.03) with 
SMTP for
+C: ; 11 Mar 2008 18:54:15 -
+C: Received: (qmail 33110 invoked by uid 1289); 11 Mar 2008 18:54:14 -
+C: Delivered-To: rdon...@locus.apache.org
+C: Received: (qmail 33091 invoked from network); 11 Mar 2008 18:54:14 -
+C: Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by
+C: minotaur.apache.org with SMTP; 11 Mar 2008 18:54:14 -
+C: Received: (qmail 12832 invoked by uid 500); 11 Mar 2008 18:54:10 -
+C: Delivered-To: apmail-rdon...@apache.org
+C: Delivered-To: rob@localhost
+C: Delivered-To: rob@localhost
+C: Received: (qmail 12693 invoked by uid 99); 11 Mar 2008 18:54:10 -
+C: Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by
+C: apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Mar 2008 11:54:10 
-0700
+C: X-ASF-Spam-Status: No, hits=5.3 required=10.0
+C: tests=HTML_MESSAGE,MIME_QP_LONG_LINE,MSGID_FROM_MTA_HEADER,SPF_PASS
+C: X-Spam-Check-By: apache.org
+C: Received-SPF: pass (nike.apache.org: domain of
+C: 
3mtxwrxukbyyecngpfct-pqvkhkecvkqpiqqing.eqotfqpmkpcrcejg@calendar-server.bounces.google.com
+C: designates 64.233.166.140 as permitted sender)
+C: Received: from [64.233.166.140] (HELO py-out-f140.google.com)
+C: (64.233.166.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 
Mar 2008
+C: 18:53:18 +
+C: Received: by py-out-f140.google.com with SMTP id a74so255262pye.5 for
+C: ; Tue, 11 Mar 2008 11:53:38 -0700 (PDT)
+C: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=beta;
+C: 
h=domainkey-signature:mime-version:message-id:date:reply-to:sender:received:subject:from:to:content-type;
+C: bh=a0xHxfGwMbTaCb1AQbvdZZ4bcSJ2pPfhH9+aq/N8Iio=;
+C: 
b=XcR46ahkaRiXL6w4DXB16+pG9O4qvSUyCHzL8N3rebn6+s3HAlztkGBCdXbNTOSeLnjEQnv+2slUMkdQy+ZJdg==
+C: DomainKey-Signature: a=rsa-sha1; c=nofws; d=google.com; s=beta;
+C: 
h=mime-version:message-id:date:reply-to:sender:subject:from:to:content-type;
+C: 
b=E3kUX5aHg+csZ3D0TcHKt9Wie43boX+xpyARVjHAhQ0fJ

svn commit: r1682367 [14/22] - in /james/mpt/trunk: ./ impl/imap-mailbox/ impl/imap-mailbox/cassandra/ impl/imap-mailbox/cassandra/src/ impl/imap-mailbox/cassandra/src/reporting-site/ impl/imap-mailbo

2015-05-28 Thread eric
Added: 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/RenameHierarchy.test
URL: 
http://svn.apache.org/viewvc/james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/RenameHierarchy.test?rev=1682367&view=auto
==
--- 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/RenameHierarchy.test
 (added)
+++ 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/RenameHierarchy.test
 Fri May 29 05:16:50 2015
@@ -0,0 +1,97 @@
+
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information#
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the#
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#  #
+#   http://www.apache.org/licenses/LICENSE-2.0 #
+#  #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY   #
+# KIND, either express or implied.  See the License for the#
+# specific language governing permissions and limitations  #
+# under the License.   #
+
+C: A2 CREATE one
+S: A2 OK CREATE completed\.
+C: A3 CREATE one.two
+S: A3 OK CREATE completed\.
+C: A4 CREATE one.two.three
+S: A4 OK CREATE completed\.
+C: A5 CREATE one.two.three.four
+S: A5 OK CREATE completed\.
+C: A6 LIST "" "*"
+S: \* LIST \(\\HasNoChildren\) "\." "INBOX"
+S: \* LIST \(\\HasChildren\) "\." "one"
+S: \* LIST \(\\HasChildren\) "\." "one\.two"
+S: \* LIST \(\\HasChildren\) "\." "one\.two\.three"
+S: \* LIST \(\\HasNoChildren\) "\." "one\.two\.three\.four"
+S: \* LIST \(\\HasNoChildren\) "\." "selected"
+S: A6 OK LIST completed\.
+C: A7 RENAME one.two alpha.beta
+S: A7 OK RENAME completed\.
+C: A8 LIST "" "*"
+S: \* LIST \(\\HasNoChildren\) "\." "INBOX"
+S: \* LIST \(\\HasChildren\) "\." "alpha\.beta"
+S: \* LIST \(\\HasChildren\) "\." "alpha\.beta\.three"
+S: \* LIST \(\\HasNoChildren\) "\." "alpha\.beta\.three\.four"
+S: \* LIST \(\\HasNoChildren\) "\." "one"
+S: \* LIST \(\\HasNoChildren\) "\." "selected"
+S: A8 OK LIST completed\.
+C: A9 RENAME alpha.beta.three.four alpha.beta.gamma.delta
+S: A9 OK RENAME completed\.
+C: A10 LIST "" "*"
+S: \* LIST \(\\HasNoChildren\) "\." "INBOX"
+S: \* LIST \(\\HasChildren\) "\." "alpha\.beta"
+S: \* LIST \(\\HasNoChildren\) "\." "alpha\.beta\.gamma\.delta"
+S: \* LIST \(\\HasNoChildren\) "\." "alpha\.beta\.three"
+S: \* LIST \(\\HasNoChildren\) "\." "one"
+S: \* LIST \(\\HasNoChildren\) "\." "selected"
+S: A10 OK LIST completed\.
+C: A11 RENAME alpha.beta.three aleph
+S: A11 OK RENAME completed\.
+C: A12 LIST "" "*"
+S: \* LIST \(\\HasNoChildren\) "\." "INBOX"
+S: \* LIST \(\\HasNoChildren\) "\." "aleph"
+S: \* LIST \(\\HasChildren\) "\." "alpha\.beta"
+S: \* LIST \(\\HasNoChildren\) "\." "alpha\.beta\.gamma\.delta"
+S: \* LIST \(\\HasNoChildren\) "\." "one"
+S: \* LIST \(\\HasNoChildren\) "\." "selected"
+S: A12 OK LIST completed\.
+C: A13 RENAME aleph alpha.beta.gamma.delta.epsilon
+S: A13 OK RENAME completed\.
+C: A14 LIST "" "*"
+S: \* LIST \(\\HasNoChildren\) "\." "INBOX"
+S: \* LIST \(\\HasChildren\) "\." "alpha\.beta"
+S: \* LIST \(\\HasChildren\) "\." "alpha\.beta\.gamma\.delta"
+S: \* LIST \(\\HasNoChildren\) "\." "alpha\.beta\.gamma\.delta\.epsilon"
+S: \* LIST \(\\HasNoChildren\) "\." "one"
+S: \* LIST \(\\HasNoChildren\) "\." "selected"
+S: A14 OK LIST completed\.
+C: A15 RENAME alpha.beta.gamma one
+S: A15 NO RENAME failed. Mailbox already exists\.
+C: A16 LIST "" "*"
+S: \* LIST \(\\HasNoChildren\) "\." "INBOX"
+S: \* LIST \(\\HasChildren\) "\." "alpha\.beta"
+S: \* LIST \(\\HasChildren\) "\." "alpha\.beta\.gamma\.delta"
+S: \* LIST \(\\HasNoChildren\) "\." "alpha\.beta\.gamma\.delta\.epsilon"
+S: \* LIST \(\\HasNoChildren\) "\." "one"
+S: \* LIST \(\\HasNoChildren\) "\." "selected"
+S: A16 OK LIST completed\.
+C: A17 DELETE one
+S: A17 OK DELETE completed\.
+C: A18 DELETE alpha
+S: A18 NO DELETE failed. No such mailbox\.
+C: A19 LIST "" "*"
+S: \* LIST \(\\HasNoChildren\) "\." "INBOX"
+S: \* LIST \(\\HasChildren\) "\." "alpha\.beta"
+S: \* LIST \(\\HasChildren\) "\." "alpha\.beta\.gamma\.delta"
+S: \* LIST \(\\HasNoChildren\) "\." "alpha\.beta\.gamma\.delta\.epsilon"
+S: \* LIST \(\\HasNoChildren\) "\." "selected"
+S: A19 OK LIST comple

svn commit: r1682367 [9/22] - in /james/mpt/trunk: ./ impl/imap-mailbox/ impl/imap-mailbox/cassandra/ impl/imap-mailbox/cassandra/src/ impl/imap-mailbox/cassandra/src/reporting-site/ impl/imap-mailbox

2015-05-28 Thread eric
Added: 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/FetchRFC822Text.test
URL: 
http://svn.apache.org/viewvc/james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/FetchRFC822Text.test?rev=1682367&view=auto
==
--- 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/FetchRFC822Text.test
 (added)
+++ 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/FetchRFC822Text.test
 Fri May 29 05:16:50 2015
@@ -0,0 +1,24 @@
+
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information#
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the#
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#  #
+#   http://www.apache.org/licenses/LICENSE-2.0 #
+#  #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY   #
+# KIND, either express or implied.  See the License for the#
+# specific language governing permissions and limitations  #
+# under the License.   #
+
+# RFC822.TEXT
+C: f1 FETCH 1 (RFC822.TEXT)
+S: \* 1 FETCH \(FLAGS \(\\Recent \\Seen\) RFC822.TEXT \{9\}
+S: Test 01
+S: \)
+S: f1 OK FETCH completed.
\ No newline at end of file

Added: 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/FetchSimpleBodyStructure.test
URL: 
http://svn.apache.org/viewvc/james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/FetchSimpleBodyStructure.test?rev=1682367&view=auto
==
--- 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/FetchSimpleBodyStructure.test
 (added)
+++ 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/FetchSimpleBodyStructure.test
 Fri May 29 05:16:50 2015
@@ -0,0 +1,212 @@
+
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information#
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the#
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#  #
+#   http://www.apache.org/licenses/LICENSE-2.0 #
+#  #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY   #
+# KIND, either express or implied.  See the License for the#
+# specific language governing permissions and limitations  #
+# under the License.   #
+
+C: A2 CREATE testmailbox
+S: A2 OK CREATE completed\.
+C: A3 SELECT testmailbox
+S: \* FLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\Seen\)
+S: \* 0 EXISTS
+S: \* 0 RECENT
+S: \* OK \[UIDVALIDITY \d+\].*
+S: \* OK \[PERMANENTFLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\\Seen( 
\\\*)?\)\].*
+S: \* OK \[HIGHESTMODSEQ \d+\].*
+S: \* OK \[UIDNEXT 1\].*
+S: A3 OK \[READ-WRITE\] SELECT completed\.
+C: A4 APPEND testmailbox {318+}
+C: From: "Brian G. Hutton" 
+C: To: Timothy Taylor , fa...@example.org, Huh? 

+C: CC: , "David \"The Thin White Duke\" Bowie" 

+C: Subject: Rhubarb
+C: Date: Sat, 23 Feb 2008 07:48:03 -0600
+C: Message-ID: <17291...@machine.example.org>
+C: 
+C: Rhubarb!
+S: \* 1 EXISTS
+S: \* 1 RECENT
+S: A4 OK (\[.+\] )?APPEND completed\.
+C: A5 APPEND testmailbox {704+}
+C: Received: by 10.114.81.13 with HTTP; Sat, 2 Feb 2008 05:14:19 -0800 (PST)
+C: Message-ID: 
+C: Date: Sat, 2 Feb 2008 13:14:19 +
+C: From: "Robert Burrell Donkin" 
+C: To: "James Developers List" 
+C: Subject: JCR -> trunk ...?
+C: MIME-Version: 1.0
+C: Content-Type: text/plain; charset=ISO-8859-1
+C: Content-Transf

svn commit: r1682367 [7/22] - in /james/mpt/trunk: ./ impl/imap-mailbox/ impl/imap-mailbox/cassandra/ impl/imap-mailbox/cassandra/src/ impl/imap-mailbox/cassandra/src/reporting-site/ impl/imap-mailbox

2015-05-28 Thread eric
Added: 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/FetchMultipartBodyStructure.test
URL: 
http://svn.apache.org/viewvc/james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/FetchMultipartBodyStructure.test?rev=1682367&view=auto
==
--- 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/FetchMultipartBodyStructure.test
 (added)
+++ 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/FetchMultipartBodyStructure.test
 Fri May 29 05:16:50 2015
@@ -0,0 +1,689 @@
+C: A2 CREATE testmailbox
+S: A2 OK CREATE completed\.
+C: A3 SELECT testmailbox
+S: \* FLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\Seen\)
+S: \* 0 EXISTS
+S: \* 0 RECENT
+S: \* OK \[UIDVALIDITY \d+\].*
+S: \* OK \[PERMANENTFLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\\Seen( 
\\\*)?\)\].*
+S: \* OK \[HIGHESTMODSEQ \d+\].*
+S: \* OK \[UIDNEXT 1\].*
+S: A3 OK \[READ-WRITE\] SELECT completed\.
+C: A4 APPEND testmailbox {8989+}
+C: Return-Path: 
+C: Received: (qmail 18554 invoked from network); 25 May 2008 14:38:53 -
+C: Received: from unknown (HELO p3presmtp01-16.prod.phx3.secureserver.net)
+C: ([208.109.80.165]) (envelope-sender 
) by
+C: smtp20-01.prod.mesa1.secureserver.net (qmail-1.03) with SMTP for
+C: ; 25 May 2008 14:38:53 -
+C: Received: (qmail 9751 invoked from network); 25 May 2008 14:38:53 -
+C: Received: from minotaur.apache.org ([140.211.11.9]) (envelope-sender
+C: ) by
+C: p3presmtp01-16.prod.phx3.secureserver.net (qmail-ldap-1.03) with 
SMTP for
+C: ; 25 May 2008 14:38:50 -
+C: Received: (qmail 46768 invoked by uid 1289); 25 May 2008 14:38:46 -
+C: Delivered-To: rdon...@locus.apache.org
+C: Received: (qmail 46763 invoked from network); 25 May 2008 14:38:46 -
+C: Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by
+C: minotaur.apache.org with SMTP; 25 May 2008 14:38:46 -
+C: Received: (qmail 61275 invoked by uid 500); 25 May 2008 14:38:48 -
+C: Delivered-To: apmail-rdon...@apache.org
+C: Delivered-To: rob@localhost
+C: Delivered-To: rob@localhost
+C: Received: (qmail 61272 invoked by uid 99); 25 May 2008 14:38:48 -
+C: Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136)
+C: by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 May 2008 07:38:48 
-0700
+C: X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS
+C: X-Spam-Check-By: apache.org
+C: Received-SPF: pass (athena.apache.org: domain of
+C: robertburrelldon...@blueyonder.co.uk designates 195.188.213.5 as 
permitted
+C: sender)
+C: Received: from [195.188.213.5] (HELO smtp-out2.blueyonder.co.uk)
+C: (195.188.213.5) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 
May 2008
+C: 14:38:00 +
+C: Received: from [172.23.170.140] (helo=anti-virus02-07) by
+C: smtp-out2.blueyonder.co.uk with smtp (Exim 4.52) id 
1K0HMV-00087e-HY for
+C: rdon...@apache.org; Sun, 25 May 2008 15:38:15 +0100
+C: Received: from [82.38.65.6] (helo=[10.0.0.27]) by
+C: asmtp-out5.blueyonder.co.uk with esmtpa (Exim 4.52) id 
1K0HMU-0001A2-3q for
+C: rdon...@apache.org; Sun, 25 May 2008 15:38:14 +0100
+C: Subject: This is an example of a multipart mixed email with image content
+C: From: Robert Burrell Donkin 
+C: To: Robert Burrell Donkin 
+C: Content-Type: multipart/mixed; boundary="=-tIdGYVstQJghyEDATnJ+"
+C: Content-Location: http://www.example.org/
+C: Date: Sun, 25 May 2008 15:38:13 +0100
+C: Message-Id: <1211726293.5772.10.camel@localhost>
+C: Mime-Version: 1.0
+C: X-Mailer: Evolution 2.12.3 
+C: X-Virus-Checked: Checked by ClamAV on apache.org
+C: X-Nonspam: None
+C: X-fetched-from: mail.xmlmapt.org
+C: X-Evolution-Source: imap://rob@thebes/
+C: 
+C: 
+C: --=-tIdGYVstQJghyEDATnJ+
+C: Content-Type: text/plain
+C: Content-Transfer-Encoding: 7bit
+C: Content-Location: relative/license.txt
+C: 
+C: Licensed to the Apache Software Foundation (ASF) under one
+C: or more contributor license agreements.  See the NOTICE file
+C: distributed with this work for additional information
+C: regarding copyright ownership.  The ASF licenses this file
+C: to you under the Apache License, Version 2.0 (the
+C: \"License\"); you may not use this file except in compliance
+C: with the License.  You may obtain a copy of the License at
+C: 
+C: http://www.apache.org/licenses/LICENSE-2.0
+C:  
+C: Unless required by applicable law or agreed to in writing,
+C: software distributed under the License is distributed on an
+C: \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+C: KIND, either express or implied.  See the License for the
+C: specific language governing permissions and limitations
+C: under the License.
+C:  
+C: 
+C: --=-tIdGYVstQJghyEDATnJ+
+C: Content-Disposition: attac

svn commit: r1682367 [2/22] - in /james/mpt/trunk: ./ impl/imap-mailbox/ impl/imap-mailbox/cassandra/ impl/imap-mailbox/cassandra/src/ impl/imap-mailbox/cassandra/src/reporting-site/ impl/imap-mailbox

2015-05-28 Thread eric
Added: 
james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/imapmailbox/suite/Expunge.java
URL: 
http://svn.apache.org/viewvc/james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/imapmailbox/suite/Expunge.java?rev=1682367&view=auto
==
--- 
james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/imapmailbox/suite/Expunge.java
 (added)
+++ 
james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/imapmailbox/suite/Expunge.java
 Fri May 29 05:16:50 2015
@@ -0,0 +1,53 @@
+/
+ * Licensed to the Apache Software Foundation (ASF) under one   *
+ * or more contributor license agreements.  See the NOTICE file *
+ * distributed with this work for additional information*
+ * regarding copyright ownership.  The ASF licenses this file   *
+ * to you under the Apache License, Version 2.0 (the*
+ * "License"); you may not use this file except in compliance   *
+ * with the License.  You may obtain a copy of the License at   *
+ *  *
+ *   http://www.apache.org/licenses/LICENSE-2.0 *
+ *  *
+ * Unless required by applicable law or agreed to in writing,   *
+ * software distributed under the License is distributed on an  *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY   *
+ * KIND, either express or implied.  See the License for the*
+ * specific language governing permissions and limitations  *
+ * under the License.   *
+ /
+
+package org.apache.james.mpt.imapmailbox.suite;
+
+import java.util.Locale;
+
+import javax.inject.Inject;
+
+import org.apache.james.mpt.api.HostSystem;
+import org.apache.james.mpt.imapmailbox.suite.base.BaseSelectedState;
+import org.junit.Test;
+
+public class Expunge extends BaseSelectedState {
+
+@Inject
+private static HostSystem system;
+
+public Expunge() throws Exception {
+super(system);
+}
+
+@Test
+public void testBasicExpungeUS() throws Exception {
+scriptTest("ExpungeBasics", Locale.US);
+}
+
+@Test
+public void testBasicExpungeIT() throws Exception {
+scriptTest("ExpungeBasics", Locale.ITALY);
+}
+
+@Test
+public void testBasicExpungeKO() throws Exception {
+scriptTest("ExpungeBasics", Locale.KOREA);
+}
+}

Added: 
james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/imapmailbox/suite/Fetch.java
URL: 
http://svn.apache.org/viewvc/james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/imapmailbox/suite/Fetch.java?rev=1682367&view=auto
==
--- 
james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/imapmailbox/suite/Fetch.java
 (added)
+++ 
james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/imapmailbox/suite/Fetch.java
 Fri May 29 05:16:50 2015
@@ -0,0 +1,158 @@
+/
+ * Licensed to the Apache Software Foundation (ASF) under one   *
+ * or more contributor license agreements.  See the NOTICE file *
+ * distributed with this work for additional information*
+ * regarding copyright ownership.  The ASF licenses this file   *
+ * to you under the Apache License, Version 2.0 (the*
+ * "License"); you may not use this file except in compliance   *
+ * with the License.  You may obtain a copy of the License at   *
+ *  *
+ *   http://www.apache.org/licenses/LICENSE-2.0 *
+ *  *
+ * Unless required by applicable law or agreed to in writing,   *
+ * software distributed under the License is distributed on an  *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY   *
+ * KIND, either express or implied.  See the License for the*
+ * specific language governing permissions and limitations  *
+ * under the License.   *
+ /
+
+package org.apache.james.mpt.imapmailbox.suite;
+
+import java.util.Locale;
+
+import javax.inject.Inject;
+
+import org.apache.james.mpt.api.HostSystem;
+import org.apache.james.mpt.imapmailbox.suite.base.BaseSelectedState;
+import org.junit.Test;
+
+public class Fetch extends BaseSelectedState {
+
+@Inject
+private static HostSystem system;
+
+public Fetch() throws Exception {
+super(system);
+}
+
+@Test
+public void testFetchEnvelopeUS() throws Exception {
+

svn commit: r1682367 [8/22] - in /james/mpt/trunk: ./ impl/imap-mailbox/ impl/imap-mailbox/cassandra/ impl/imap-mailbox/cassandra/src/ impl/imap-mailbox/cassandra/src/reporting-site/ impl/imap-mailbox

2015-05-28 Thread eric
Added: 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/FetchRFC822Mixed.test
URL: 
http://svn.apache.org/viewvc/james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/FetchRFC822Mixed.test?rev=1682367&view=auto
==
--- 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/FetchRFC822Mixed.test
 (added)
+++ 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/FetchRFC822Mixed.test
 Fri May 29 05:16:50 2015
@@ -0,0 +1,1965 @@
+
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information#
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the#
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#  #
+#   http://www.apache.org/licenses/LICENSE-2.0 #
+#  #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY   #
+# KIND, either express or implied.  See the License for the#
+# specific language governing permissions and limitations  #
+# under the License.   #
+
+C: A2 CREATE testmailbox
+S: A2 OK CREATE completed\.
+C: A3 SELECT testmailbox
+S: \* FLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\Seen\)
+S: \* 0 EXISTS
+S: \* 0 RECENT
+S: \* OK \[UIDVALIDITY \d+\].*
+S: \* OK \[PERMANENTFLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\\Seen( 
\\\*)?\)\].*
+S: \* OK \[HIGHESTMODSEQ \d+\].*
+S: \* OK \[UIDNEXT 1\].*
+S: A3 OK \[READ-WRITE\] SELECT completed\.
+C: A4 APPEND testmailbox {185+}
+C: From: Timothy Tayler 
+C: To: Samual Smith 
+C: Date: Thu, 14 Feb 2008 12:00:00 + (GMT)
+C: Subject: A Simple Email
+C: 
+C: This is a very simple email.
+C: 
+S: \* 1 EXISTS
+S: \* 1 RECENT
+S: A4 OK (\[.+\] )?APPEND completed\.
+C: A5 APPEND testmailbox {704+}
+C: Received: by 10.114.81.13 with HTTP; Sat, 2 Feb 2008 05:14:19 -0800 (PST)
+C: Message-ID: 
+C: Date: Sat, 2 Feb 2008 13:14:19 +
+C: From: "Robert Burrell Donkin" 
+C: To: "James Developers List" 
+C: Subject: JCR -> trunk ...?
+C: MIME-Version: 1.0
+C: Content-Type: text/plain; charset=ISO-8859-1
+C: Content-Transfer-Encoding: 7bit
+C: Content-Disposition: inline
+C: Delivered-To: robertburrelldon...@gmail.com
+C: 
+C: i'd like to copy james-jcr into trunk and add some example
+C: configurations. development can continue in the sandbox (or not) and
+C: merged in later (if necessary).
+C: 
+C: any objections?
+C: 
+C: - robert
+S: \* 2 EXISTS
+S: \* 2 RECENT
+S: A5 OK (\[.+\] )?APPEND completed\.
+C: A6 APPEND testmailbox {668+}
+C: From: Timothy Tayler 
+C: To: Samual Smith 
+C: Date: Thu, 14 Feb 2008 12:00:00 + (GMT)
+C: Subject: A Multipart Email
+C: Content-Type: multipart/alternative;boundary=1729
+C: 
+C: Start with a preamble
+C: 
+C: --1729
+C: Content-Type: applcation/xhtml+xml
+C: 
+C: http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+C: RhubarbRhubarb!
+C: 
+C: --1729
+C: Content-Type: text/plain; charset=US-ASCII
+C: 
+C: Rhubarb!
+C: 
+C: --1729
+C: Content-Type: text/html; charset=US-ASCII
+C: 
+C: RhubarbRhubarb!
+C: 
+C: --1729--
+C: 
+S: \* 3 EXISTS
+S: \* 3 RECENT
+S: A6 OK (\[.+\] )?APPEND completed\.
+C: A7 APPEND testmailbox {1767+}
+C: From: Timothy Tayler 
+C: To: Samual Smith 
+C: Date: Thu, 14 Feb 2008 12:00:00 + (GMT)
+C: Subject: A Multipart Email
+C: Content-Type: multipart/mixed;boundary=1729
+C: 
+C: Start with a preamble
+C: 
+C: --1729
+C: Content-Type: text/plain; charset=US-ASCII
+C: 
+C: Rhubarb!
+C: 
+C: --1729
+C: Content-Type: application/octet-stream
+C: Content-Transfer-Encoding: base64
+C: 
+C: 987654321AHPLA
+C: 
+C: --1729
+C: Content-Type: message/rfc822
+C: 
+C: From: Timothy Tayler 
+C: To: Samual Smith 
+C: Date: Thu, 14 Feb 2008 12:00:00 + (GMT)
+C: Subject: A Multipart Alternative Email
+C: Content-Type: multipart/alternative;boundary=42
+C: 
+C: This message has a premable
+C: 
+C: --42
+C: Content-Type: text/plain; charset=US-ASCII
+C: 
+C: Custard!
+C: 
+C: --42
+C: Content-Type: application/octet-stream
+C: 
+C: CUSTARDCUSTARDCUSTARD
+C: 
+C: --42--
+C: 
+C: --1729
+C: Content-Type: multipart/mixed; boundary=4.66920160910299
+C: 
+C: --4.66920160910299
+C: Content-Type: image/gif
+C: Content-Transfer-Encoding: base64
+C: MIME-Version: 1.0

svn commit: r1682367 [12/22] - in /james/mpt/trunk: ./ impl/imap-mailbox/ impl/imap-mailbox/cassandra/ impl/imap-mailbox/cassandra/src/ impl/imap-mailbox/cassandra/src/reporting-site/ impl/imap-mailbo

2015-05-28 Thread eric
Added: 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/PeekMultipartMixedComplex.test
URL: 
http://svn.apache.org/viewvc/james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/PeekMultipartMixedComplex.test?rev=1682367&view=auto
==
--- 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/PeekMultipartMixedComplex.test
 (added)
+++ 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/PeekMultipartMixedComplex.test
 Fri May 29 05:16:50 2015
@@ -0,0 +1,576 @@
+
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information#
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the#
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#  #
+#   http://www.apache.org/licenses/LICENSE-2.0 #
+#  #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY   #
+# KIND, either express or implied.  See the License for the#
+# specific language governing permissions and limitations  #
+# under the License.   #
+
+
+C: A2 CREATE testmailbox
+S: A2 OK Create completed\.
+C: A3 SELECT testmailbox
+S: \* FLAGS \(\\Answered \\Flagged \\Deleted \\Seen \\Draft\)
+S: \* OK \[PERMANENTFLAGS \(\\Answered \\Flagged \\Deleted \\Seen \\Draft 
\\\*\)\] Flags permitted\.
+S: \* 0 EXISTS
+S: \* 0 RECENT
+S: \* OK \[UIDVALIDITY 1203163973\] UIDs valid
+S: \* OK \[HIGHESTMODSEQ \d+\].*
+S: \* OK \[UIDNEXT 1\] Predicted next UID
+S: A3 OK \[READ-WRITE\] Select completed\.
+C: A4 APPEND testmailbox {1767+}
+C: From: Timothy Tayler 
+C: To: Samual Smith 
+C: Date: Thu, 14 Feb 2008 12:00:00 + (GMT)
+C: Subject: A Multipart Email
+C: Content-Type: multipart/mixed;boundary=1729
+C: 
+C: Start with a preamble
+C: 
+C: --1729
+C: Content-Type: text/plain; charset=US-ASCII
+C: 
+C: Rhubarb!
+C: 
+C: --1729
+C: Content-Type: application/octet-stream
+C: Content-Transfer-Encoding: base64
+C: 
+C: 987654321AHPLA
+C: 
+C: --1729
+C: Content-Type: message/rfc822
+C: 
+C: From: Timothy Tayler 
+C: To: Samual Smith 
+C: Date: Thu, 14 Feb 2008 12:00:00 + (GMT)
+C: Subject: A Multipart Alternative Email
+C: Content-Type: multipart/alternative;boundary=42
+C: 
+C: This message has a premable
+C: 
+C: --42
+C: Content-Type: text/plain; charset=US-ASCII
+C: 
+C: Custard!
+C: 
+C: --42
+C: Content-Type: application/octet-stream
+C: 
+C: CUSTARDCUSTARDCUSTARD
+C: 
+C: --42--
+C: 
+C: --1729
+C: Content-Type: multipart/mixed; boundary=4.66920160910299
+C: 
+C: --4.66920160910299
+C: Content-Type: image/gif
+C: Content-Transfer-Encoding: base64
+C: MIME-Version: 1.0
+C: Content-ID: 238478934723847238947892374
+C: Content-Description: Bogus Image Data
+C: 
+C: ABCDFEGHIJKLMNO
+C: 
+C: --4.66920160910299
+C: Content-Type: message/rfc822
+C: 
+C: From: Timothy Tayler 
+C: To: John Smith 
+C: Date: Sat, 16 Feb 2008 12:00:00 + (GMT)
+C: Subject: Another Example Email
+C: Content-Type: multipart/mixed;boundary=2.50290787509
+C: 
+C: Yet another preamble
+C: 
+C: --2.50290787509
+C: Content-Type: text/plain
+C: 
+C: Rhubard AND Custard!
+C: 
+C: --2.50290787509
+C: Content-Type: multipart/alternative;boundary=3.243F6A8885A308D3
+C: 
+C: --3.243F6A8885A308D3
+C: Content-Type: text/plain
+C: 
+C: Rhubard?Custard?
+C: 
+C: --3.243F6A8885A308D3
+C: 
+C: Content-Type: text/richtext
+C: 
+C: Rhubard?Custard?
+C: 
+C: --3.243F6A8885A308D3--
+C: 
+C: --2.50290787509--
+C: 
+C: --4.66920160910299--
+C: --1729--
+C: 
+S: \* 1 EXISTS
+S: \* 1 RECENT
+S: A4 OK Append completed\.
+C: A5 SELECT testmailbox
+S: \* FLAGS \(\\Answered \\Flagged \\Deleted \\Seen \\Draft\)
+S: \* OK \[PERMANENTFLAGS \(\\Answered \\Flagged \\Deleted \\Seen \\Draft 
\\\*\)\] Flags permitted\.
+S: \* 1 EXISTS
+S: \* 1 RECENT
+S: \* OK \[UNSEEN 1\] First unseen\.
+S: \* OK \[UIDVALIDITY 1203163973\] UIDs valid
+S: \* OK \[HIGHESTMODSEQ \d+\].*
+S: \* OK \[UIDNEXT 2\] Predicted next UID
+S: A5 OK \[READ-WRITE\] Select completed\.
+C: A6 FETCH 1 (BODY.PEEK[])
+S: \* 1 FETCH \(BODY\[\] {1767}
+S: From: Timothy Tayler 
+S: To: Samual Smith 
+S: Date: Thu, 14 Feb 2008 12:00:00 \+ \(GMT\)
+S: Subject: A Multipart Email
+S: Content-Type: multipart/mixed;bound

svn commit: r1682367 [19/22] - in /james/mpt/trunk: ./ impl/imap-mailbox/ impl/imap-mailbox/cassandra/ impl/imap-mailbox/cassandra/src/ impl/imap-mailbox/cassandra/src/reporting-site/ impl/imap-mailbo

2015-05-28 Thread eric
Added: 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/UidSearchCombinations.test
URL: 
http://svn.apache.org/viewvc/james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/UidSearchCombinations.test?rev=1682367&view=auto
==
--- 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/UidSearchCombinations.test
 (added)
+++ 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/UidSearchCombinations.test
 Fri May 29 05:16:50 2015
@@ -0,0 +1,1982 @@
+
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information#
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the#
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#  #
+#   http://www.apache.org/licenses/LICENSE-2.0 #
+#  #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY   #
+# KIND, either express or implied.  See the License for the#
+# specific language governing permissions and limitations  #
+# under the License.   #
+
+C: A2 CREATE testmailbox
+S: A2 OK CREATE completed\.
+C: A3 SELECT testmailbox
+S: \* FLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\Seen\)
+S: \* 0 EXISTS
+S: \* 0 RECENT
+S: \* OK \[UIDVALIDITY (.)*
+S: \* OK \[PERMANENTFLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\\Seen( 
\\\*)?\)\](.)*
+S: \* OK \[HIGHESTMODSEQ \d+\].*
+S: \* OK \[UIDNEXT 1\].*
+S: A3 OK \[READ-WRITE\] SELECT completed\.
+C: A4 APPEND testmailbox {185+}
+C: From: Timothy Tayler 
+C: To: Samual Smith 
+C: Date: Thu, 14 Feb 2008 12:00:00 + (GMT)
+C: Subject: A Simple Email
+C: 
+C: This is a very simple email.
+C: 
+S: \* 1 EXISTS
+S: \* 1 RECENT
+S: A4 OK (\[.+\] )?APPEND completed\.
+C: A5 STORE 1  FLAGS (\DELETED)
+S: \* 1 FETCH \(FLAGS \(\\Deleted \\Recent\)\)
+S: A5 OK STORE completed\.
+C: A6 EXPUNGE
+S: \* 1 EXPUNGE
+S: \* 0 RECENT
+S: A6 OK EXPUNGE completed\.
+C: A7 APPEND testmailbox {185+}
+C: From: Timothy Tayler 
+C: To: Samual Smith 
+C: Date: Thu, 14 Feb 2008 12:00:00 + (GMT)
+C: Subject: A Simple Email
+C: 
+C: This is a very simple email.
+C: 
+S: \* 1 EXISTS
+S: \* 1 RECENT
+S: A7 OK (\[.+\] )?APPEND completed\.
+C: A8 STORE 1  FLAGS (\DELETED)
+S: \* 1 FETCH \(FLAGS \(\\Deleted \\Recent\)\)
+S: A8 OK STORE completed\.
+C: A9 EXPUNGE
+S: \* 1 EXPUNGE
+S: \* 0 RECENT
+S: A9 OK EXPUNGE completed\.
+C: A10 APPEND testmailbox {185+}
+C: From: Timothy Tayler 
+C: To: Samual Smith 
+C: Date: Thu, 14 Feb 2008 12:00:00 + (GMT)
+C: Subject: A Simple Email
+C: 
+C: This is a very simple email.
+C: 
+S: \* 1 EXISTS
+S: \* 1 RECENT
+S: A10 OK (\[.+\] )?APPEND completed\.
+C: A11 STORE 1  FLAGS (\DELETED)
+S: \* 1 FETCH \(FLAGS \(\\Deleted \\Recent\)\)
+S: A11 OK STORE completed\.
+C: A12 EXPUNGE
+S: \* 1 EXPUNGE
+S: \* 0 RECENT
+S: A12 OK EXPUNGE completed\.
+C: A13 APPEND testmailbox {185+}
+C: From: Timothy Tayler 
+C: To: Samual Smith 
+C: Date: Thu, 14 Feb 2008 12:00:00 + (GMT)
+C: Subject: A Simple Email
+C: 
+C: This is a very simple email.
+C: 
+S: \* 1 EXISTS
+S: \* 1 RECENT
+S: A13 OK (\[.+\] )?APPEND completed\.
+C: A14 STORE 1  FLAGS (\DELETED)
+S: \* 1 FETCH \(FLAGS \(\\Deleted \\Recent\)\)
+S: A14 OK STORE completed\.
+C: A15 EXPUNGE
+S: \* 1 EXPUNGE
+S: \* 0 RECENT
+S: A15 OK EXPUNGE completed\.
+C: A16 APPEND testmailbox {185+}
+C: From: Timothy Tayler 
+C: To: Samual Smith 
+C: Date: Thu, 14 Feb 2008 12:00:00 + (GMT)
+C: Subject: A Simple Email
+C: 
+C: This is a very simple email.
+C: 
+S: \* 1 EXISTS
+S: \* 1 RECENT
+S: A16 OK (\[.+\] )?APPEND completed\.
+C: A17 STORE 1  FLAGS (\DELETED)
+S: \* 1 FETCH \(FLAGS \(\\Deleted \\Recent\)\)
+S: A17 OK STORE completed\.
+C: A18 EXPUNGE
+S: \* 1 EXPUNGE
+S: \* 0 RECENT
+S: A18 OK EXPUNGE completed\.
+C: A19 APPEND testmailbox {185+}
+C: From: Timothy Tayler 
+C: To: Samual Smith 
+C: Date: Thu, 14 Feb 2008 12:00:00 + (GMT)
+C: Subject: A Simple Email
+C: 
+C: This is a very simple email.
+C: 
+S: \* 1 EXISTS
+S: \* 1 RECENT
+S: A19 OK (\[.+\] )?APPEND completed\.
+C: A20 STORE 1  FLAGS (\DELETED)
+S: \* 1 FETCH \(FLAGS \(\\Deleted \\Recent\)\)
+S: A20 OK STORE completed\.
+C: A21 EXPUNGE
+S: \* 1 EXPUNGE
+S: \* 0 RECENT

svn commit: r1682367 [1/22] - in /james/mpt/trunk: ./ impl/imap-mailbox/ impl/imap-mailbox/cassandra/ impl/imap-mailbox/cassandra/src/ impl/imap-mailbox/cassandra/src/reporting-site/ impl/imap-mailbox

2015-05-28 Thread eric
Author: eric
Date: Fri May 29 05:16:50 2015
New Revision: 1682367

URL: http://svn.apache.org/r1682367
Log:
Split the imapmailbox project in per implementation subproject + Add a mailbox 
MPT test.for Cassandra mailbox, patch contributed by Antoine Duprat (MPT-12)

Added:
james/mpt/trunk/impl/imap-mailbox/cassandra/
james/mpt/trunk/impl/imap-mailbox/cassandra/pom.xml
james/mpt/trunk/impl/imap-mailbox/cassandra/src/
james/mpt/trunk/impl/imap-mailbox/cassandra/src/reporting-site/
james/mpt/trunk/impl/imap-mailbox/cassandra/src/reporting-site/site.xml
james/mpt/trunk/impl/imap-mailbox/cassandra/src/test/
james/mpt/trunk/impl/imap-mailbox/cassandra/src/test/java/
james/mpt/trunk/impl/imap-mailbox/cassandra/src/test/java/org/
james/mpt/trunk/impl/imap-mailbox/cassandra/src/test/java/org/apache/
james/mpt/trunk/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/

james/mpt/trunk/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/

james/mpt/trunk/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/

james/mpt/trunk/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/

james/mpt/trunk/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraMailboxTest.java

james/mpt/trunk/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraMailboxTestModule.java

james/mpt/trunk/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/host/

james/mpt/trunk/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/host/CassandraHostSystem.java
james/mpt/trunk/impl/imap-mailbox/core/
james/mpt/trunk/impl/imap-mailbox/core/LICENSE.txt
james/mpt/trunk/impl/imap-mailbox/core/NOTICE.txt
james/mpt/trunk/impl/imap-mailbox/core/pom.xml
james/mpt/trunk/impl/imap-mailbox/core/src/
james/mpt/trunk/impl/imap-mailbox/core/src/main/
james/mpt/trunk/impl/imap-mailbox/core/src/main/java/
james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/
james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/
james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/
james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/

james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/host/

james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/host/ImapHostSystem.java

james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/imapmailbox/

james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/imapmailbox/AbstractMailboxTest.java

james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/imapmailbox/ImapTestConstants.java

james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/imapmailbox/suite/

james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/imapmailbox/suite/AuthenticatedState.java

james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/imapmailbox/suite/ConcurrentSessions.java

james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/imapmailbox/suite/Events.java

james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/imapmailbox/suite/Expunge.java

james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/imapmailbox/suite/Fetch.java

james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/imapmailbox/suite/FetchBodySection.java

james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/imapmailbox/suite/FetchBodyStructure.java

james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/imapmailbox/suite/FetchHeaders.java

james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/imapmailbox/suite/Listing.java

james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/imapmailbox/suite/NonAuthenticatedState.java

james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/imapmailbox/suite/PartialFetch.java

james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/imapmailbox/suite/Rename.java

james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/imapmailbox/suite/Search.java

james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/imapmailbox/suite/Security.java

james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/imapmailbox/suite/Select.java

james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/imapmailbox/suite/SelectedInbox.java

james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/imapmailbox/suite/SelectedState.java

james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/

svn commit: r1682367 [16/22] - in /james/mpt/trunk: ./ impl/imap-mailbox/ impl/imap-mailbox/cassandra/ impl/imap-mailbox/cassandra/src/ impl/imap-mailbox/cassandra/src/reporting-site/ impl/imap-mailbo

2015-05-28 Thread eric
Added: 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/SearchCombinations.test
URL: 
http://svn.apache.org/viewvc/james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/SearchCombinations.test?rev=1682367&view=auto
==
--- 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/SearchCombinations.test
 (added)
+++ 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/SearchCombinations.test
 Fri May 29 05:16:50 2015
@@ -0,0 +1,1622 @@
+
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information#
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the#
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#  #
+#   http://www.apache.org/licenses/LICENSE-2.0 #
+#  #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY   #
+# KIND, either express or implied.  See the License for the#
+# specific language governing permissions and limitations  #
+# under the License.   #
+
+C: A2 CREATE testmailbox
+S: A2 OK CREATE completed\.
+C: A3 SELECT testmailbox
+S: \* FLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\Seen\)
+S: \* 0 EXISTS
+S: \* 0 RECENT
+S: \* OK \[UIDVALIDITY (.)*
+S: \* OK \[PERMANENTFLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\\Seen( 
\\\*)?\)\](.)*
+S: \* OK \[HIGHESTMODSEQ \d+\].*
+S: \* OK \[UIDNEXT 1\].*
+S: A3 OK \[READ-WRITE\] SELECT completed\.
+C: A4 APPEND testmailbox {185+}
+C: From: Timothy Tayler 
+C: To: Samual Smith 
+C: Date: Thu, 14 Feb 2008 12:00:00 + (GMT)
+C: Subject: A Simple Email
+C: 
+C: This is a very simple email.
+C: 
+S: \* 1 EXISTS
+S: \* 1 RECENT
+S: A4 OK (\[.+\] )?APPEND completed\.
+C: A5 APPEND testmailbox {704+}
+C: Received: by 10.114.81.13 with HTTP; Sat, 2 Feb 2008 05:14:19 -0800 (PST)
+C: Message-ID: 
+C: Date: Sat, 2 Feb 2008 13:14:19 +
+C: From: "Robert Burrell Donkin" 
+C: To: "James Developers List" 
+C: Subject: JCR -> trunk ...?
+C: MIME-Version: 1.0
+C: Content-Type: text/plain; charset=ISO-8859-1
+C: Content-Transfer-Encoding: 7bit
+C: Content-Disposition: inline
+C: Delivered-To: robertburrelldon...@gmail.com
+C: 
+C: i'd like to copy james-jcr into trunk and add some example
+C: configurations. development can continue in the sandbox (or not) and
+C: merged in later (if necessary).
+C: 
+C: any objections?
+C: 
+C: - robert
+S: \* 2 EXISTS
+S: \* 2 RECENT
+S: A5 OK (\[.+\] )?APPEND completed\.
+C: A6 APPEND testmailbox {668+}
+C: From: Timothy Tayler 
+C: To: Samual Smith 
+C: Date: Thu, 14 Feb 2008 12:00:00 + (GMT)
+C: Subject: A Multipart Email
+C: Content-Type: multipart/alternative;boundary=1729
+C: 
+C: Start with a preamble
+C: 
+C: --1729
+C: Content-Type: applcation/xhtml+xml
+C: 
+C: http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+C: RhubarbRhubarb!
+C: 
+C: --1729
+C: Content-Type: text/plain; charset=US-ASCII
+C: 
+C: Rhubarb!
+C: 
+C: --1729
+C: Content-Type: text/html; charset=US-ASCII
+C: 
+C: RhubarbRhubarb!
+C: 
+C: --1729--
+C: 
+S: \* 3 EXISTS
+S: \* 3 RECENT
+S: A6 OK (\[.+\] )?APPEND completed\.
+C: A7 APPEND testmailbox {765+}
+C: From: Timothy Tayler 
+C: To: Samual Smith 
+C: Date: Thu, 14 Feb 2008 12:00:00 + (GMT)
+C: Subject: A Multipart Email
+C: Content-Type: multipart/mixed;boundary=1729
+C: 
+C: Start with a preamble
+C: 
+C: --1729
+C: Content-Type: text/plain; charset=US-ASCII
+C: 
+C: Rhubarb!
+C: 
+C: --1729
+C: Content-Type: text/html; charset=US-ASCII
+C: 
+C: RhubarbRhubarb!
+C: 
+C: --1729
+C: Content-Type: application/xhtml+xml
+C: 
+C: http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+C: RhubarbRhubarb!
+C: 
+C: --1729
+C: Content-Type: image/jpeg
+C: Content-Transfer-Encoding: base64
+C: 
+C: 1234567890ABCDEFGHIJKLMNOPQ
+C: 
+C: --1729--
+C: 
+S: \* 4 EXISTS
+S: \* 4 RECENT
+S: A7 OK (\[.+\] )?APPEND completed\.
+C: A8 APPEND testmailbox {1767+}
+C: From: Timothy Tayler 
+C: To: Samual Smith 
+C: Date: Thu, 14 Feb 2008 12:00:00 + (GMT)
+C: Subject: A Multipart Email
+C: Content-Type: multipart/mixed;boundary=1729
+C: 
+C: Start with a preamble
+C: 
+C: --1729
+C: Content-Type: text/plain; charset=US-ASCII
+C: 
+C: Rhubarb!
+C: 
+C: --1

svn commit: r1682367 [17/22] - in /james/mpt/trunk: ./ impl/imap-mailbox/ impl/imap-mailbox/cassandra/ impl/imap-mailbox/cassandra/src/ impl/imap-mailbox/cassandra/src/reporting-site/ impl/imap-mailbo

2015-05-28 Thread eric
Added: 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/SelectEmpty.test
URL: 
http://svn.apache.org/viewvc/james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/SelectEmpty.test?rev=1682367&view=auto
==
--- 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/SelectEmpty.test
 (added)
+++ 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/SelectEmpty.test
 Fri May 29 05:16:50 2015
@@ -0,0 +1,72 @@
+
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information#
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the#
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#  #
+#   http://www.apache.org/licenses/LICENSE-2.0 #
+#  #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY   #
+# KIND, either express or implied.  See the License for the#
+# specific language governing permissions and limitations  #
+# under the License.   #
+
+# Create a few folders
+C: 10 CREATE test
+S: 10 OK CREATE completed.
+C: 11 CREATE test.subfolder
+S: 11 OK CREATE completed.
+C: 12 CREATE test1
+S: 12 OK CREATE completed.
+C: 13 CREATE test1.subfolder1
+S: 13 OK CREATE completed.
+
+C: abcd SELECT test
+S: \* FLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\Seen\)
+S: \* 0 EXISTS
+S: \* 0 RECENT
+S: \* OK \[UIDVALIDITY \d+\].*
+S: \* OK \[PERMANENTFLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\\Seen( 
\\\*)?\)\].*
+S: \* OK \[HIGHESTMODSEQ \d+\].*
+S: \* OK \[UIDNEXT 1\].*
+S: abcd OK \[READ-WRITE\] SELECT completed.
+
+C: abcd SELECT test.subfolder
+SUB {
+S: \* FLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\Seen\)
+S: \* 0 EXISTS
+S: \* 0 RECENT
+S: \* OK \[UIDVALIDITY \d+\].*
+}
+S: \* OK \[PERMANENTFLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\\Seen( 
\\\*)?\)\].*
+S: \* OK \[HIGHESTMODSEQ \d+\].*
+S: \* OK \[UIDNEXT 1\].*
+S: abcd OK \[READ-WRITE\] SELECT completed.
+
+C: abcd SELECT test1
+S: \* FLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\Seen\)
+S: \* 0 EXISTS
+S: \* 0 RECENT
+S: \* OK \[UIDVALIDITY \d+\].*
+S: \* OK \[PERMANENTFLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\\Seen( 
\\\*)?\)\].*
+S: \* OK \[HIGHESTMODSEQ \d+\].*
+S: \* OK \[UIDNEXT 1\].*
+S: abcd OK \[READ-WRITE\] SELECT completed.
+
+C: abcd SELECT subfolder1
+S: abcd NO SELECT failed. No such mailbox.
+
+# Cleanup
+C: a1 DELETE test1.subfolder1
+S: a1 OK DELETE completed.
+C: a1 DELETE test1
+S: a1 OK DELETE completed.
+C: a1 DELETE test.subfolder
+S: a1 OK DELETE completed.
+C: a1 DELETE test
+S: a1 OK DELETE completed.

Added: 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/SelectInbox.test
URL: 
http://svn.apache.org/viewvc/james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/SelectInbox.test?rev=1682367&view=auto
==
--- 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/SelectInbox.test
 (added)
+++ 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/SelectInbox.test
 Fri May 29 05:16:50 2015
@@ -0,0 +1,27 @@
+
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information#
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the#
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#  #
+#   http://www.apache.org/licenses/LICENSE-2.0 #
+#  #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY   #
+# KIND, either express or implied.  See th

svn commit: r1682367 [22/22] - in /james/mpt/trunk: ./ impl/imap-mailbox/ impl/imap-mailbox/cassandra/ impl/imap-mailbox/cassandra/src/ impl/imap-mailbox/cassandra/src/reporting-site/ impl/imap-mailbo

2015-05-28 Thread eric
Modified: james/mpt/trunk/impl/imap-mailbox/pom.xml
URL: 
http://svn.apache.org/viewvc/james/mpt/trunk/impl/imap-mailbox/pom.xml?rev=1682367&r1=1682366&r2=1682367&view=diff
==
--- james/mpt/trunk/impl/imap-mailbox/pom.xml (original)
+++ james/mpt/trunk/impl/imap-mailbox/pom.xml Fri May 29 05:16:50 2015
@@ -33,167 +33,64 @@
 
 apache-james-mpt-imapmailbox
 Apache James MPT Imap Mailbox
+pom
 
-
-
-org.apache.james
-apache-james-mpt-core
-test
-
-
-org.apache.james.protocols
-protocols-imap
-test
-
-
-org.apache.james.protocols
-protocols-imap
-test-jar
-test
-
-
-org.apache.james
-apache-james-mailbox-api
-test
-
-
-org.apache.james
-apache-james-mailbox-store
-test-jar
-test
-
-
-org.apache.onami
-org.apache.onami.test
-test
-
-
-com.google.inject
-guice
-test
-
-
-commons-io
-commons-io
-
-
-commons-lang
-commons-lang
-
-
-${javax.mail.groupId}
-${javax.mail.artifactId}
-${javax.mail.version}
-
-
-org.slf4j
-slf4j-api
-
-
-org.apache.james
-apache-james-mailbox-jcr
-test
-
-
-
-org.slf4j
-jcl-over-slf4j
-test
-
-
-
-
-org.apache.lucene
-lucene-core
-test
-
-
-org.apache.jackrabbit
-jackrabbit-core
-test
-
-
-org.apache.james
-apache-james-mailbox-jpa
-test
-
-
-com.h2database
-h2
-test
-
-
-org.apache.james
-apache-james-mailbox-maildir
-test
-
-
-org.apache.james
-apache-james-mailbox-memory
-test
-
-
-org.apache.derby
-derby
-test
-
-
-junit
-junit
-test
-
-
-org.jmock
-jmock
-test
-
-
-org.jmock
-jmock-junit4
-test
-
-
-org.slf4j
-slf4j-simple
-
-
-org.apache.james
-apache-james-mailbox-hbase
-
-
-org.apache.hbase
-hbase
-test-jar
-test
-
-
-org.apache.hbase
-hbase
-test
-
-
-org.apache.hadoop
-hadoop-test
-test
-
-
-
-
-
-
-
-
-org.apache.maven.plugins
-maven-surefire-plugin
-
-
-**/suite/*.java
-**/suite/**/*.java
-
-
-
-
-
+
+core
+cassandra
+hbase
+inmemory
+jcr
+jpa
+maildir
+
+
+
+
+
+${project.groupId}
+apache-james-mpt-imapmailbox-cassandra
+${project.version}
+test
+
+
+${project.groupId}
+apache-james-mpt-imapmailbox-core
+${project.version}
+test
+
+
+${project.groupId}
+apache-james-mpt-imapmailbox-hbase
+${project.version}
+test
+
+
+${project.groupId}
+apache-james-mpt-imapmailbox-inmemory
+${project.version}
+test
+
+
+${project.groupId}
+apache-james-mpt-imapmailbox-jcr
+${project.version}
+test
+
+
+${project.groupId}
+apache-james-mpt-imapmailbox-jpa
+${project.version}
+test
+
+
+${project.groupId}
+apache-james-mpt-imapmailbox-maildir
+${project.version}
+test
+
+
+
 
 
 
@@ -209,6 +106,26 @@
 
 
 
+cassandra
+
+   

[jira] [Closed] (MPT-12) Run MTP test suite on Cassandra backend

2015-05-28 Thread Eric Charles (JIRA)

 [ 
https://issues.apache.org/jira/browse/MPT-12?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric Charles closed MPT-12.
---
   Resolution: Fixed
Fix Version/s: 0.2
 Assignee: Eric Charles

Patch committed. Thx.

> Run MTP test suite on Cassandra backend
> ---
>
> Key: MPT-12
> URL: https://issues.apache.org/jira/browse/MPT-12
> Project: James MPT
>  Issue Type: Improvement
>Reporter: Matthieu Baechler
>Assignee: Eric Charles
> Fix For: 0.2
>
> Attachments: 
> 0001-MPT-12-Split-imap-mailbox-test-in-submodules-per-bac.patch
>
>
> We would like to check that James over cassandra pass all mpt tests. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



svn commit: r1682368 - in /james/jsieve/trunk/manager: api/src/main/java/org/apache/james/managesieve/api/ mailet/src/main/java/org/apache/james/managesieve/mailet/transcode/ mailet/src/test/java/org/

2015-05-28 Thread eric
Author: eric
Date: Fri May 29 05:19:24 2015
New Revision: 1682368

URL: http://svn.apache.org/r1682368
Log:
JSieveManager should be accessible from server, patch contributed by Tellier 
Benoit (JSIEVE-98)

Modified:

james/jsieve/trunk/manager/api/src/main/java/org/apache/james/managesieve/api/ScriptSummary.java

james/jsieve/trunk/manager/mailet/src/main/java/org/apache/james/managesieve/mailet/transcode/MessageToCoreToMessage.java

james/jsieve/trunk/manager/mailet/src/test/java/org/apache/james/managesieve/mailet/ManageSieveMailetTestCase.java

james/jsieve/trunk/manager/mock/src/main/java/org/apache/james/managesieve/mock/MockSieveRepository.java

Modified: 
james/jsieve/trunk/manager/api/src/main/java/org/apache/james/managesieve/api/ScriptSummary.java
URL: 
http://svn.apache.org/viewvc/james/jsieve/trunk/manager/api/src/main/java/org/apache/james/managesieve/api/ScriptSummary.java?rev=1682368&r1=1682367&r2=1682368&view=diff
==
--- 
james/jsieve/trunk/manager/api/src/main/java/org/apache/james/managesieve/api/ScriptSummary.java
 (original)
+++ 
james/jsieve/trunk/manager/api/src/main/java/org/apache/james/managesieve/api/ScriptSummary.java
 Fri May 29 05:19:24 2015
@@ -20,7 +20,40 @@
 
 package org.apache.james.managesieve.api;
 
-public interface ScriptSummary {
-abstract public String getName();
-abstract public boolean isActive();
+public class ScriptSummary {
+
+private final String name;
+private final boolean activeFile;
+
+public ScriptSummary(String name, boolean activeFile) {
+this.name = name;
+this.activeFile = activeFile;
+}
+
+public String getName() {
+return name;
+}
+
+public boolean isActive() {
+return activeFile;
+}
+
+@Override
+public boolean equals(Object o) {
+if (this == o) return true;
+if (!(o instanceof ScriptSummary)) return false;
+
+ScriptSummary that = (ScriptSummary) o;
+
+if (activeFile != that.activeFile) return false;
+return !(name != null ? !name.equals(that.name) : that.name != null);
+
+}
+
+@Override
+public int hashCode() {
+int result = name != null ? name.hashCode() : 0;
+result = 31 * result + (activeFile ? 1 : 0);
+return result;
+}
 }
\ No newline at end of file

Modified: 
james/jsieve/trunk/manager/mailet/src/main/java/org/apache/james/managesieve/mailet/transcode/MessageToCoreToMessage.java
URL: 
http://svn.apache.org/viewvc/james/jsieve/trunk/manager/mailet/src/main/java/org/apache/james/managesieve/mailet/transcode/MessageToCoreToMessage.java?rev=1682368&r1=1682367&r2=1682368&view=diff
==
--- 
james/jsieve/trunk/manager/mailet/src/main/java/org/apache/james/managesieve/mailet/transcode/MessageToCoreToMessage.java
 (original)
+++ 
james/jsieve/trunk/manager/mailet/src/main/java/org/apache/james/managesieve/mailet/transcode/MessageToCoreToMessage.java
 Fri May 29 05:19:24 2015
@@ -69,6 +69,10 @@ public class MessageToCoreToMessage {
 && (fileName.endsWith(".siv") || 
fileName.endsWith(".sieve"));
 }
 if (found) {
+Object content = part.getContent();
+if (content instanceof String) {
+return (String) part.getContent();
+}
 InputStream is = (InputStream) part.getContent();
 Scanner scanner = null;
 try {

Modified: 
james/jsieve/trunk/manager/mailet/src/test/java/org/apache/james/managesieve/mailet/ManageSieveMailetTestCase.java
URL: 
http://svn.apache.org/viewvc/james/jsieve/trunk/manager/mailet/src/test/java/org/apache/james/managesieve/mailet/ManageSieveMailetTestCase.java?rev=1682368&r1=1682367&r2=1682368&view=diff
==
--- 
james/jsieve/trunk/manager/mailet/src/test/java/org/apache/james/managesieve/mailet/ManageSieveMailetTestCase.java
 (original)
+++ 
james/jsieve/trunk/manager/mailet/src/test/java/org/apache/james/managesieve/mailet/ManageSieveMailetTestCase.java
 Fri May 29 05:19:24 2015
@@ -33,6 +33,7 @@ import static org.junit.Assert.assertEqu
 import static org.junit.Assert.assertNotNull;
 import static org.junit.Assert.assertTrue;
 import org.junit.Before;
+import org.junit.Ignore;
 import org.junit.Test;
 
 import javax.activation.DataHandler;
@@ -40,7 +41,6 @@ import javax.mail.Address;
 import javax.mail.BodyPart;
 import javax.mail.MessagingException;
 import javax.mail.Session;
-import javax.mail.internet.AddressException;
 import javax.mail.internet.InternetAddress;
 import javax.mail.internet.MimeBodyPart;
 import javax.mail.internet.MimeMessage;
@@ -1077,6 +1077,7 @@ public class ManageSieveMailetTestCase {
 
 }
 
+@Ignore("Ignore t

[jira] [Closed] (JSIEVE-98) Manage Sieve Mailet should be usable in James server

2015-05-28 Thread Eric Charles (JIRA)

 [ 
https://issues.apache.org/jira/browse/JSIEVE-98?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric Charles closed JSIEVE-98.
--
Resolution: Fixed
  Assignee: Eric Charles

Patch committed, Thx Benoit.

> Manage Sieve Mailet should be usable in James server
> 
>
> Key: JSIEVE-98
> URL: https://issues.apache.org/jira/browse/JSIEVE-98
> Project: James jSieve
>  Issue Type: Bug
>Reporter: Tellier Benoit
>Assignee: Eric Charles
> Attachments: 
> 0001-JSIEVE-98-Sieve-mailet-manager-should-be-usable-from.patch
>
>
> We have multiple things to do :
>  - MessageToCoreToMessage should also handle String that may be returned by 
> getContent ( avoiding cast exception if the received message is not a Mime 
> multipart )
>  - ScriptSummary should be a bean and implement equals ( Required to correct 
> tests )
>  - Correct tests for Sieve manager



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



Build failed in Jenkins: james-server-trunk » Apache James :: Server :: Filesystem API #5263

2015-05-28 Thread Apache Jenkins Server
See 


--
[INFO] 
[INFO] 
[INFO] Building Apache James :: Server :: Filesystem API 3.0.0-beta5-SNAPSHOT
[INFO] 
Downloading: 
http://repository.apache.org/snapshots/org/apache/james/apache-jsieve-manager-api/0.6-SNAPSHOT/maven-metadata.xml
Downloaded: 
http://repository.apache.org/snapshots/org/apache/james/apache-jsieve-manager-api/0.6-SNAPSHOT/maven-metadata.xml
 (2 KB at 10.4 KB/sec)
Downloading: 
http://repository.apache.org/snapshots/org/apache/james/apache-jsieve-manager-api/0.6-SNAPSHOT/apache-jsieve-manager-api-0.6-20150529.052136-1565.pom
Downloaded: 
http://repository.apache.org/snapshots/org/apache/james/apache-jsieve-manager-api/0.6-SNAPSHOT/apache-jsieve-manager-api-0.6-20150529.052136-1565.pom
 (2 KB at 32.1 KB/sec)
Downloading: 
http://repository.apache.org/snapshots/org/apache/james/apache-jsieve-manager/0.6-SNAPSHOT/maven-metadata.xml
Downloaded: 
http://repository.apache.org/snapshots/org/apache/james/apache-jsieve-manager/0.6-SNAPSHOT/maven-metadata.xml
 (829 B at 9.3 KB/sec)
Downloading: 
http://repository.apache.org/snapshots/org/apache/james/apache-jsieve-manager/0.6-SNAPSHOT/apache-jsieve-manager-0.6-20150529.052131-1569.pom
Downloaded: 
http://repository.apache.org/snapshots/org/apache/james/apache-jsieve-manager/0.6-SNAPSHOT/apache-jsieve-manager-0.6-20150529.052131-1569.pom
 (2 KB at 36.7 KB/sec)
Downloading: 
http://repository.apache.org/snapshots/org/apache/james/apache-jsieve/0.6-SNAPSHOT/maven-metadata.xml
Downloaded: 
http://repository.apache.org/snapshots/org/apache/james/apache-jsieve/0.6-SNAPSHOT/maven-metadata.xml
 (2 KB at 11.1 KB/sec)
Downloading: 
http://repository.apache.org/snapshots/org/apache/james/apache-jsieve/0.6-SNAPSHOT/apache-jsieve-0.6-20150529.052029-1714.pom
Downloaded: 
http://repository.apache.org/snapshots/org/apache/james/apache-jsieve/0.6-SNAPSHOT/apache-jsieve-0.6-20150529.052029-1714.pom
 (11 KB at 274.6 KB/sec)
Downloading: 
http://repository.apache.org/snapshots/org/apache/james/apache-jsieve-manager-api/0.6-SNAPSHOT/apache-jsieve-manager-api-0.6-20150529.052136-1565.jar
Downloaded: 
http://repository.apache.org/snapshots/org/apache/james/apache-jsieve-manager-api/0.6-SNAPSHOT/apache-jsieve-manager-api-0.6-20150529.052136-1565.jar
 (28 KB at 465.4 KB/sec)
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ 
james-server-filesystem-api ---
[INFO] Deleting 

[INFO] 
[INFO] --- maven-remote-resources-plugin:1.4:process (default) @ 
james-server-filesystem-api ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ 
james-server-filesystem-api ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ 
james-server-filesystem-api ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 2 source files to 

[INFO] -
[ERROR] COMPILATION ERROR : 
[INFO] -
[ERROR] 
:[248,31]
 constructor ScriptSummary in class 
org.apache.james.managesieve.api.ScriptSummary cannot be applied to given types;
  required: java.lang.String,boolean
  found: no arguments
  reason: actual and formal argument lists differ in length
[ERROR] 
:[248,51]
 constructor ScriptSummary in class 
org.apache.james.managesieve.api.ScriptSummary cannot be applied to given types;
  required: java.lang.String,boolean
  found: no arguments
  reason: actual and formal argument lists differ in length
[INFO] 2 errors 
[INFO] -

-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



Build failed in Jenkins: james-server-trunk #5263

2015-05-28 Thread Apache Jenkins Server
See 

--
[...truncated 559 lines...]
Compression is 0.0%
Took 0.4 sec
[JENKINS] Archiving 

 to 
org.apache.james/james-server-cli/3.0.0-beta5-SNAPSHOT/james-server-cli-3.0.0-beta5-SNAPSHOT.pom
Sending artifact delta relative to james-server-trunk » Apache James :: Server 
:: Client #5262
Archived 1 artifacts
Archive block size is 32768
Received 0 blocks and 3035 bytes
Compression is 0.0%
Took 0.29 sec
[JENKINS] Archiving 

 to 
org.apache.james/james-server-protocols-pop3/3.0.0-beta5-SNAPSHOT/james-server-protocols-pop3-3.0.0-beta5-SNAPSHOT.pom
Sending artifact delta relative to james-server-trunk » Apache James :: Server 
:: POP3 #5262
Archived 1 artifacts
Archive block size is 32768
Received 0 blocks and 5434 bytes
Compression is 0.0%
Took 0.37 sec
[JENKINS] Archiving 

 to 
org.apache.james/james-server-protocols-imap4/3.0.0-beta5-SNAPSHOT/james-server-protocols-imap4-3.0.0-beta5-SNAPSHOT.pom
Sending artifact delta relative to james-server-trunk » Apache James :: Server 
:: IMAP #5262
Archived 1 artifacts
Archive block size is 32768
Received 0 blocks and 3426 bytes
Compression is 0.0%
Took 0.33 sec
[JENKINS] Archiving 

 to 
org.apache.james.karaf/james-karaf-integration/3.0.0-beta5-SNAPSHOT/james-karaf-integration-3.0.0-beta5-SNAPSHOT.pom
Sending artifact delta relative to james-server-trunk » Apache James :: Karaf 
:: Integration tests #5262
Archived 1 artifacts
Archive block size is 32768
Received 0 blocks and 4618 bytes
Compression is 0.0%
Took 0.13 sec
[JENKINS] Archiving 

 to 
org.apache.james/james-server-data-api/3.0.0-beta5-SNAPSHOT/james-server-data-api-3.0.0-beta5-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
org.apache.james/james-server-data-api/3.0.0-beta5-20150529.052309-1457/james-server-data-api-3.0.0-beta5-20150529.052309-1457.jar
[JENKINS] Archiving 

 to 
org.apache.james/james-server-data-api/3.0.0-beta5-20150529.052309-1457/james-server-data-api-3.0.0-beta5-20150529.052309-1457-tests.jar
[JENKINS] Archiving 

 to 
org.apache.james/james-server-data-api/3.0.0-beta5-20150529.052309-1457/james-server-data-api-3.0.0-beta5-20150529.052309-1457-sources.jar
[JENKINS] Archiving 

 to 
org.apache.james/james-server-data-api/3.0.0-beta5-20150529.052309-1457/james-server-data-api-3.0.0-beta5-20150529.052309-1457-test-sources.jar
Sending artifact delta relative to james-server-trunk » Apache James :: Server 
:: Data  :: API #5262
Archived 5 artifacts
Archive block size is 32768
Received 0 blocks and 67435 bytes
Compression is 0.0%
Took 0.18 sec
[JENKINS] Archiving 

 to 
org.apache.james/james-server-util/3.0.0-beta5-SNAPSHOT/james-server-util-3.0.0-beta5-SNAPSHOT.pom
Sending artifact delta relative to james-server-trunk » Apache James :: Server 
:: Common Utilities #5262
Archived 1 artifacts
Archive block size is 32768
Received 0 blocks and 2329 bytes
Compression is 0.0%
Took 0.22 sec
[JENKINS] Archiving 

 to 
org.apache.james/james-server-data-jcr/3.0.0-beta5-SNAPSHOT/james-server-data-jcr-3.0.0-beta5-SNAPSHOT.pom
Sending artifact delta relative to james-server-trunk » Apache James :: Server 
:: Data :: JCR Persistence #5262
Archived 1 artifacts
Archive block size is 32768
Received 0 blocks and 4328 bytes
Compression is 0.0%
Took 0.16 sec
[JENKINS] Archiving 

 to 
org.apache.james.karaf/james-karaf-distribution/3.0.0-beta5-SNAPSHOT/james-karaf-distribution-3.0.0-beta5-SNAPSHOT.pom
Sending artifact delta relative to james-server-trunk » Apache James :: Karaf 
:: James Server #5262
Archived 1 artifacts
Archive block size is 32768
Received 0 blocks and 6663 bytes
Compression is 0.0%
Took 2.7 sec
[JENKINS] Archiving 

 to 
org.ap