incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r1553094 [4/5] - in /sling/trunk/samples/mail-archive: ./ docs/ server/ server/src/ server/src/main/ server/src/main/java/ server/src/main/java/org/ server/src/main/java/org/apache/ server/src/main/java/org/apache/sling/ server/src/main/jav...
Date Mon, 23 Dec 2013 11:11:17 GMT
Added: sling/trunk/samples/mail-archive/server/test_files/wrongbody.txt
URL: http://svn.apache.org/viewvc/sling/trunk/samples/mail-archive/server/test_files/wrongbody.txt?rev=1553094&view=auto
==============================================================================
--- sling/trunk/samples/mail-archive/server/test_files/wrongbody.txt (added)
+++ sling/trunk/samples/mail-archive/server/test_files/wrongbody.txt Mon Dec 23 11:11:15 2013
@@ -0,0 +1,294 @@
+Return-Path: <dev-return-26293-apmail-sling-dev-archive=sling.apache.org@sling.apache.org>
+X-Original-To: apmail-sling-dev-archive@www.apache.org
+Delivered-To: apmail-sling-dev-archive@www.apache.org
+Received: from mail.apache.org (hermes.apache.org [140.211.11.3])
+	by minotaur.apache.org (Postfix) with SMTP id C03AA926F
+	for <apmail-sling-dev-archive@www.apache.org>; Fri, 30 Mar 2012 03:16:33 +0000 (UTC)
+Received: (qmail 11978 invoked by uid 500); 30 Mar 2012 03:16:33 -0000
+Delivered-To: apmail-sling-dev-archive@sling.apache.org
+Received: (qmail 11936 invoked by uid 500); 30 Mar 2012 03:16:33 -0000
+Mailing-List: contact dev-help@sling.apache.org; run by ezmlm
+Precedence: bulk
+List-Help: <mailto:dev-help@sling.apache.org>
+List-Unsubscribe: <mailto:dev-unsubscribe@sling.apache.org>
+List-Post: <mailto:dev@sling.apache.org>
+List-Id: <dev.sling.apache.org>
+Reply-To: dev@sling.apache.org
+Delivered-To: mailing list dev@sling.apache.org
+Received: (qmail 11912 invoked by uid 99); 30 Mar 2012 03:16:32 -0000
+Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230)
+    by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Mar 2012 03:16:32 +0000
+X-ASF-Spam-Status: No, hits=-2000.0 required=5.0
+	tests=ALL_TRUSTED
+X-Spam-Check-By: apache.org
+Received: from [140.211.11.8] (HELO aegis.apache.org) (140.211.11.8)
+    by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Mar 2012 03:16:26 +0000
+Received: from aegis.apache.org (localhost [127.0.0.1])
+	by aegis.apache.org (Postfix) with ESMTP id 3E8CBC00A0
+	for <dev@sling.apache.org>; Fri, 30 Mar 2012 03:16:05 +0000 (UTC)
+Date: Fri, 30 Mar 2012 03:16:05 +0000 (UTC)
+From: Apache Jenkins Server <jenkins@builds.apache.org>
+To: dev@sling.apache.org
+Message-ID: <1937985321.105.1333077365240.JavaMail.hudson@aegis>
+In-Reply-To: <1953604574.1290.1332996985382.JavaMail.hudson@aegis>
+References: <1953604574.1290.1332996985382.JavaMail.hudson@aegis>
+Subject: Build failed in Jenkins: sling-samples-1.5 #298
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 7bit
+X-Jenkins-Job: sling-samples-1.5
+X-Jenkins-Result: FAILURE
+
+See <https://builds.apache.org/job/sling-samples-1.5/298/>
+
+------------------------------------------
+[...truncated 946 lines...]
+[INFO] Preparing source:jar
+[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
+[JENKINS] Archiving <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/framework-fragment/pom.xml> to /home/hudson/hudson/jobs/sling-samples-1.5/modules/org.apache.sling$org.apache.sling.samples.frameworkfragment/builds/2012-03-30_03-13-43/archive/org.apache.sling/org.apache.sling.samples.frameworkfragment/0.9.9-SNAPSHOT/org.apache.sling.samples.frameworkfragment-0.9.9-SNAPSHOT.pom
+[JENKINS] Archiving <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/framework-fragment/target/org.apache.sling.samples.frameworkfragment-0.9.9-SNAPSHOT.jar> to /home/hudson/hudson/jobs/sling-samples-1.5/modules/org.apache.sling$org.apache.sling.samples.frameworkfragment/builds/2012-03-30_03-13-43/archive/org.apache.sling/org.apache.sling.samples.frameworkfragment/0.9.9-SNAPSHOT/org.apache.sling.samples.frameworkfragment-0.9.9-SNAPSHOT.jar
+[INFO] [enforcer:enforce {execution: enforce-java}]
+[INFO] [source:jar {execution: attach-sources}]
+[INFO] META-INF already added, skipping
+[INFO] META-INF/LICENSE already added, skipping
+[INFO] META-INF/NOTICE already added, skipping
+[INFO] META-INF/DEPENDENCIES already added, skipping
+[INFO] Building jar: <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/framework-fragment/target/org.apache.sling.samples.frameworkfragment-0.9.9-SNAPSHOT-sources.jar>
+[INFO] META-INF already added, skipping
+[INFO] META-INF/LICENSE already added, skipping
+[INFO] META-INF/NOTICE already added, skipping
+[INFO] META-INF/DEPENDENCIES already added, skipping
+[INFO] [ianal:verify-legal-files {execution: default}]
+[INFO] Checking legal files in: org.apache.sling.samples.frameworkfragment-0.9.9-SNAPSHOT.jar
+[INFO] Checking legal files in: org.apache.sling.samples.frameworkfragment-0.9.9-SNAPSHOT-sources.jar
+[INFO] [install:install {execution: default-install}]
+[INFO] Installing <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/framework-fragment/target/org.apache.sling.samples.frameworkfragment-0.9.9-SNAPSHOT.jar> to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/sling/org.apache.sling.samples.frameworkfragment/0.9.9-SNAPSHOT/org.apache.sling.samples.frameworkfragment-0.9.9-SNAPSHOT.jar
+[INFO] Installing <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/framework-fragment/target/org.apache.sling.samples.frameworkfragment-0.9.9-SNAPSHOT-sources.jar> to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/sling/org.apache.sling.samples.frameworkfragment/0.9.9-SNAPSHOT/org.apache.sling.samples.frameworkfragment-0.9.9-SNAPSHOT-sources.jar
+[JENKINS] Archiving <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/framework-fragment/target/org.apache.sling.samples.frameworkfragment-0.9.9-SNAPSHOT-sources.jar> to /home/hudson/hudson/jobs/sling-samples-1.5/modules/org.apache.sling$org.apache.sling.samples.frameworkfragment/builds/2012-03-30_03-13-43/archive/org.apache.sling/org.apache.sling.samples.frameworkfragment/0.9.9-SNAPSHOT/org.apache.sling.samples.frameworkfragment-0.9.9-SNAPSHOT-sources.jar
+[INFO] ------------------------------------------------------------------------
+[INFO] Building Apache Sling User Manager UI sample
+[INFO]    task-segment: [clean, install]
+[INFO] ------------------------------------------------------------------------
+[INFO] artifact net.alchim31.maven:yuicompressor-maven-plugin: checking for updates from oss.sonatype.org
+[INFO] [clean:clean {execution: default-clean}]
+[INFO] Deleting <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/usermanager-ui/target>
+[INFO] [enforcer:enforce {execution: enforce-java}]
+[INFO] [remote-resources:process {execution: default}]
+[INFO] [resources:resources {execution: default-resources}]
+[INFO] Using 'UTF-8' encoding to copy filtered resources.
+[INFO] Copying 28 resources
+[INFO] Copying 3 resources
+[WARNING] DEPRECATED [tasks]: Use target instead
+[INFO] [antrun:run {execution: default}]
+[WARNING] Parameter tasks is deprecated, use target instead
+[INFO] Executing tasks
+
+main:
+     [echo] **************** WARNING (SLING-443/SLING-1782) ******************************
+     [echo] On most platforms, you'll get OutOfMemoryErrors when building unless you set
+     [echo] on 32bit platforms: MAVEN_OPTS="-Xmx256M -XX:MaxPermSize=256M", see SLING-443
+     [echo] on 64bit platforms: MAVEN_OPTS="-Xmx512M -XX:MaxPermSize=512M", see SLING-1782
+     [echo] ******************************************************************************
+[INFO] Executed tasks
+[INFO] [yuicompressor:compress {execution: default}]
+[INFO] nothing to do, <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/usermanager-ui/src/main/resources/js/usermanager/usermanager.min.js> is younger than original, use 'force' option or clean your target
+[INFO] nothing to do, <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/usermanager-ui/src/main/resources/css/usermanager/usermanager.min.css> is younger than original, use 'force' option or clean your target
+[INFO] nothing to do, <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/usermanager-ui/src/main/resources/js/usermanager/usermanager.min.js> is younger than original, use 'force' option or clean your target
+[INFO] nothing to do, <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/usermanager-ui/src/main/resources/css/usermanager/usermanager.min.css> is younger than original, use 'force' option or clean your target
+[INFO] nb warnings: 0, nb errors: 0
+[INFO] [compiler:compile {execution: default-compile}]
+[INFO] Compiling 1 source file to <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/usermanager-ui/target/classes>
+[INFO] [scr:scr {execution: generate-scr-scrdescriptor}]
+[INFO] [resources:testResources {execution: default-testResources}]
+[INFO] Using 'UTF-8' encoding to copy filtered resources.
+[INFO] skip non existing resourceDirectory <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/usermanager-ui/src/test/resources>
+[INFO] Copying 3 resources
+[INFO] [compiler:testCompile {execution: default-testCompile}]
+[INFO] No sources to compile
+[INFO] [surefire:test {execution: default-test}]
+[INFO] Surefire report directory: <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/usermanager-ui/target/surefire-reports>
+
+-------------------------------------------------------
+ T E S T S
+-------------------------------------------------------
+There are no tests to run.
+
+Results :
+
+Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
+
+[JENKINS] Recording test results[INFO] [animal-sniffer:check {execution: default}]
+[INFO] Checking unresolved references to org.codehaus.mojo.signature:java15:1.0
+
+[INFO] [bundle:bundle {execution: default-bundle}]
+[INFO] Preparing source:jar
+[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
+[JENKINS] Archiving <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/usermanager-ui/pom.xml> to /home/hudson/hudson/jobs/sling-samples-1.5/modules/org.apache.sling.samples$org.apache.sling.samples.usermanager.ui/builds/2012-03-30_03-13-43/archive/org.apache.sling.samples/org.apache.sling.samples.usermanager.ui/0.9-SNAPSHOT/org.apache.sling.samples.usermanager.ui-0.9-SNAPSHOT.pom
+[JENKINS] Archiving <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/usermanager-ui/target/org.apache.sling.samples.usermanager.ui-0.9-SNAPSHOT.jar> to /home/hudson/hudson/jobs/sling-samples-1.5/modules/org.apache.sling.samples$org.apache.sling.samples.usermanager.ui/builds/2012-03-30_03-13-43/archive/org.apache.sling.samples/org.apache.sling.samples.usermanager.ui/0.9-SNAPSHOT/org.apache.sling.samples.usermanager.ui-0.9-SNAPSHOT.jar
+[INFO] [enforcer:enforce {execution: enforce-java}]
+[INFO] [source:jar {execution: attach-sources}]
+[INFO] META-INF already added, skipping
+[INFO] META-INF/LICENSE already added, skipping
+[INFO] META-INF/NOTICE already added, skipping
+[INFO] META-INF/DEPENDENCIES already added, skipping
+[INFO] Building jar: <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/usermanager-ui/target/org.apache.sling.samples.usermanager.ui-0.9-SNAPSHOT-sources.jar>
+[INFO] META-INF already added, skipping
+[INFO] META-INF/LICENSE already added, skipping
+[INFO] META-INF/NOTICE already added, skipping
+[INFO] META-INF/DEPENDENCIES already added, skipping
+[INFO] [ianal:verify-legal-files {execution: default}]
+[INFO] Checking legal files in: org.apache.sling.samples.usermanager.ui-0.9-SNAPSHOT.jar
+[INFO] Checking legal files in: org.apache.sling.samples.usermanager.ui-0.9-SNAPSHOT-sources.jar
+[INFO] [install:install {execution: default-install}]
+[INFO] Installing <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/usermanager-ui/target/org.apache.sling.samples.usermanager.ui-0.9-SNAPSHOT.jar> to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/sling/samples/org.apache.sling.samples.usermanager.ui/0.9-SNAPSHOT/org.apache.sling.samples.usermanager.ui-0.9-SNAPSHOT.jar
+[INFO] Installing <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/usermanager-ui/target/org.apache.sling.samples.usermanager.ui-0.9-SNAPSHOT-sources.jar> to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/sling/samples/org.apache.sling.samples.usermanager.ui/0.9-SNAPSHOT/org.apache.sling.samples.usermanager.ui-0.9-SNAPSHOT-sources.jar
+[INFO] [bundle:install {execution: default-install}]
+[INFO] Local OBR update disabled (enable with -DobrRepository)
+[JENKINS] Archiving <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/usermanager-ui/target/org.apache.sling.samples.usermanager.ui-0.9-SNAPSHOT-sources.jar> to /home/hudson/hudson/jobs/sling-samples-1.5/modules/org.apache.sling.samples$org.apache.sling.samples.usermanager.ui/builds/2012-03-30_03-13-43/archive/org.apache.sling.samples/org.apache.sling.samples.usermanager.ui/0.9-SNAPSHOT/org.apache.sling.samples.usermanager.ui-0.9-SNAPSHOT-sources.jar
+[INFO] ------------------------------------------------------------------------
+[INFO] Building Apache Sling Access Manager UI sample
+[INFO]    task-segment: [clean, install]
+[INFO] ------------------------------------------------------------------------
+[INFO] [clean:clean {execution: default-clean}]
+[INFO] Deleting <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/accessmanager-ui/target>
+[INFO] [enforcer:enforce {execution: enforce-java}]
+[INFO] [remote-resources:process {execution: default}]
+[INFO] [resources:resources {execution: default-resources}]
+[INFO] Using 'UTF-8' encoding to copy filtered resources.
+[INFO] Copying 14 resources
+[INFO] Copying 3 resources
+[WARNING] DEPRECATED [tasks]: Use target instead
+[INFO] [antrun:run {execution: default}]
+[WARNING] Parameter tasks is deprecated, use target instead
+[INFO] Executing tasks
+
+main:
+     [echo] **************** WARNING (SLING-443/SLING-1782) ******************************
+     [echo] On most platforms, you'll get OutOfMemoryErrors when building unless you set
+     [echo] on 32bit platforms: MAVEN_OPTS="-Xmx256M -XX:MaxPermSize=256M", see SLING-443
+     [echo] on 64bit platforms: MAVEN_OPTS="-Xmx512M -XX:MaxPermSize=512M", see SLING-1782
+     [echo] ******************************************************************************
+[INFO] Executed tasks
+[INFO] [yuicompressor:compress {execution: default}]
+[INFO] nothing to do, <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/accessmanager-ui/src/main/resources/js/accessmanager/accessmanager.min.js> is younger than original, use 'force' option or clean your target
+[INFO] nothing to do, <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/accessmanager-ui/src/main/resources/css/accessmanager/accessmanager.min.css> is younger than original, use 'force' option or clean your target
+[INFO] nothing to do, <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/accessmanager-ui/src/main/resources/js/accessmanager/accessmanager.min.js> is younger than original, use 'force' option or clean your target
+[INFO] nothing to do, <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/accessmanager-ui/src/main/resources/css/accessmanager/accessmanager.min.css> is younger than original, use 'force' option or clean your target
+[INFO] nb warnings: 0, nb errors: 0
+[INFO] [compiler:compile {execution: default-compile}]
+[INFO] Nothing to compile - all classes are up to date
+[INFO] [scr:scr {execution: generate-scr-scrdescriptor}]
+[INFO] [resources:testResources {execution: default-testResources}]
+[INFO] Using 'UTF-8' encoding to copy filtered resources.
+[INFO] skip non existing resourceDirectory <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/accessmanager-ui/src/test/resources>
+[INFO] Copying 3 resources
+[INFO] [compiler:testCompile {execution: default-testCompile}]
+[INFO] No sources to compile
+[INFO] [surefire:test {execution: default-test}]
+[INFO] Surefire report directory: <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/accessmanager-ui/target/surefire-reports>
+
+-------------------------------------------------------
+ T E S T S
+-------------------------------------------------------
+There are no tests to run.
+
+Results :
+
+Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
+
+[JENKINS] Recording test results[INFO] [animal-sniffer:check {execution: default}]
+[INFO] Checking unresolved references to org.codehaus.mojo.signature:java15:1.0
+
+[INFO] [bundle:bundle {execution: default-bundle}]
+[WARNING] Warning building bundle org.apache.sling.samples:org.apache.sling.samples.accessmanager.ui:bundle:0.9-SNAPSHOT : Did not find matching referal for *
+[INFO] Preparing source:jar
+[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
+[JENKINS] Archiving <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/accessmanager-ui/pom.xml> to /home/hudson/hudson/jobs/sling-samples-1.5/modules/org.apache.sling.samples$org.apache.sling.samples.accessmanager.ui/builds/2012-03-30_03-13-43/archive/org.apache.sling.samples/org.apache.sling.samples.accessmanager.ui/0.9-SNAPSHOT/org.apache.sling.samples.accessmanager.ui-0.9-SNAPSHOT.pom
+[JENKINS] Archiving <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/accessmanager-ui/target/org.apache.sling.samples.accessmanager.ui-0.9-SNAPSHOT.jar> to /home/hudson/hudson/jobs/sling-samples-1.5/modules/org.apache.sling.samples$org.apache.sling.samples.accessmanager.ui/builds/2012-03-30_03-13-43/archive/org.apache.sling.samples/org.apache.sling.samples.accessmanager.ui/0.9-SNAPSHOT/org.apache.sling.samples.accessmanager.ui-0.9-SNAPSHOT.jar
+[INFO] [enforcer:enforce {execution: enforce-java}]
+[INFO] [source:jar {execution: attach-sources}]
+[INFO] META-INF already added, skipping
+[INFO] META-INF/LICENSE already added, skipping
+[INFO] META-INF/NOTICE already added, skipping
+[INFO] META-INF/DEPENDENCIES already added, skipping
+[INFO] Building jar: <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/accessmanager-ui/target/org.apache.sling.samples.accessmanager.ui-0.9-SNAPSHOT-sources.jar>
+[INFO] META-INF already added, skipping
+[INFO] META-INF/LICENSE already added, skipping
+[INFO] META-INF/NOTICE already added, skipping
+[INFO] META-INF/DEPENDENCIES already added, skipping
+[INFO] [ianal:verify-legal-files {execution: default}]
+[INFO] Checking legal files in: org.apache.sling.samples.accessmanager.ui-0.9-SNAPSHOT.jar
+[INFO] Checking legal files in: org.apache.sling.samples.accessmanager.ui-0.9-SNAPSHOT-sources.jar
+[INFO] [install:install {execution: default-install}]
+[INFO] Installing <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/accessmanager-ui/target/org.apache.sling.samples.accessmanager.ui-0.9-SNAPSHOT.jar> to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/sling/samples/org.apache.sling.samples.accessmanager.ui/0.9-SNAPSHOT/org.apache.sling.samples.accessmanager.ui-0.9-SNAPSHOT.jar
+[INFO] Installing <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/accessmanager-ui/target/org.apache.sling.samples.accessmanager.ui-0.9-SNAPSHOT-sources.jar> to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/sling/samples/org.apache.sling.samples.accessmanager.ui/0.9-SNAPSHOT/org.apache.sling.samples.accessmanager.ui-0.9-SNAPSHOT-sources.jar
+[INFO] [bundle:install {execution: default-install}]
+[INFO] Local OBR update disabled (enable with -DobrRepository)
+[JENKINS] Archiving <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/accessmanager-ui/target/org.apache.sling.samples.accessmanager.ui-0.9-SNAPSHOT-sources.jar> to /home/hudson/hudson/jobs/sling-samples-1.5/modules/org.apache.sling.samples$org.apache.sling.samples.accessmanager.ui/builds/2012-03-30_03-13-43/archive/org.apache.sling.samples/org.apache.sling.samples.accessmanager.ui/0.9-SNAPSHOT/org.apache.sling.samples.accessmanager.ui-0.9-SNAPSHOT-sources.jar
+[INFO] ------------------------------------------------------------------------
+[INFO] Building Apache Sling Samples (Builder)
+[INFO]    task-segment: [clean, install]
+[INFO] ------------------------------------------------------------------------
+[INFO] [clean:clean {execution: default-clean}]
+[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
+[INFO] [install:install {execution: default-install}]
+[INFO] Installing <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/pom.xml> to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/sling/sling-samples-builder/2-SNAPSHOT/sling-samples-builder-2-SNAPSHOT.pom
+[JENKINS] Archiving <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/pom.xml> to /home/hudson/hudson/jobs/sling-samples-1.5/modules/org.apache.sling$sling-samples-builder/builds/2012-03-30_03-13-42/archive/org.apache.sling/sling-samples-builder/2-SNAPSHOT/sling-samples-builder-2-SNAPSHOT.pom
+[INFO] 
+[INFO] 
+[INFO] ------------------------------------------------------------------------
+[INFO] Reactor Summary:
+[INFO] ------------------------------------------------------------------------
+[INFO] Apache Sling ESP blog sample .......................... SUCCESS [20.231s]
+[INFO] Apache Sling Javashell sample ......................... SUCCESS [3.668s]
+[INFO] Apache Sling Sample Path Based Resource Type Provider . SUCCESS [12.550s]
+[INFO] Apache Sling Sample Post Servlet Extensions ........... SUCCESS [5.441s]
+[INFO] Apache Sling Sample Application ....................... SUCCESS [8.255s]
+[INFO] Apache Sling - Slingshot Demo ......................... SUCCESS [5.227s]
+[INFO] Apache Sling Webloader Service ........................ SUCCESS [3.886s]
+[INFO] Apache Sling Webloader User Interface ................. SUCCESS [3.669s]
+[INFO] Apache Sling Sample Custom Login Form ................. SUCCESS [4.275s]
+[INFO] Apache Sling Slingbucks - sample coffee store management application  SUCCESS [4.470s]
+[INFO] Dependency Install Sample ............................. SUCCESS [3.199s]
+[INFO] Apache Sling Sample Framework Fragment Bundle ......... SUCCESS [7.564s]
+[INFO] Apache Sling User Manager UI sample ................... SUCCESS [5.916s]
+[INFO] Apache Sling Access Manager UI sample ................. SUCCESS [3.523s]
+[INFO] Apache Sling Samples (Builder) ........................ SUCCESS [1.059s]
+[INFO] ------------------------------------------------------------------------
+[INFO] ------------------------------------------------------------------------
+[INFO] BUILD SUCCESSFUL
+[INFO] ------------------------------------------------------------------------
+[INFO] Total time: 1 minute 50 seconds
+[INFO] Finished at: Fri Mar 30 03:16:02 UTC 2012
+[INFO] Final Memory: 71M/106M
+[INFO] ------------------------------------------------------------------------
+channel stopped
+[locks-and-latches] Releasing all the locks
+[locks-and-latches] All the locks released
+Maven RedeployPublished use remote ubuntu1 maven settings from : /home/jenkins/.m2/settings.xml
+[INFO] Deployment in https://repository.apache.org/content/repositories/snapshots/ (id=,uniqueVersion=false)
+Deploying the main artifact installing-dependencies-sample-0.0.1-SNAPSHOT.jar
+ERROR: Error deploying artifact: Failed to transfer file: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/installing-dependencies-sample/0.0.1-SNAPSHOT/installing-dependencies-sample-0.0.1-SNAPSHOT.jar. Return code is: 401, ReasonPhrase:Unauthorized.
+org.apache.maven.artifact.deployer.ArtifactDeploymentException: Error deploying artifact: Failed to transfer file: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/installing-dependencies-sample/0.0.1-SNAPSHOT/installing-dependencies-sample-0.0.1-SNAPSHOT.jar. Return code is: 401, ReasonPhrase:Unauthorized.
+	at hudson.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:175)
+	at hudson.maven.reporters.MavenArtifactRecord.deploy(MavenArtifactRecord.java:182)
+	at hudson.maven.RedeployPublisher.perform(RedeployPublisher.java:176)
+	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
+	at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:703)
+	at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:678)
+	at hudson.maven.MavenModuleSetBuild$RunnerImpl.post2(MavenModuleSetBuild.java:998)
+	at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:625)
+	at hudson.model.Run.run(Run.java:1435)
+	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:481)
+	at hudson.model.ResourceController.execute(ResourceController.java:88)
+	at hudson.model.Executor.run(Executor.java:238)
+Caused by: org.apache.maven.wagon.TransferFailedException: Failed to transfer file: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/installing-dependencies-sample/0.0.1-SNAPSHOT/installing-dependencies-sample-0.0.1-SNAPSHOT.jar. Return code is: 401, ReasonPhrase:Unauthorized.
+	at org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:562)
+	at org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:471)
+	at org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:451)
+	at org.apache.maven.repository.legacy.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:543)
+	at org.apache.maven.repository.legacy.DefaultWagonManager.putArtifact(DefaultWagonManager.java:494)
+	at hudson.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:160)
+	... 11 more
+[INFO] Deployment failed after 1.4 sec
+Build step 'Deploy artifacts to Maven repository' changed build result to FAILURE

Added: sling/trunk/samples/mail-archive/server/test_files/wrongbody_body.txt
URL: http://svn.apache.org/viewvc/sling/trunk/samples/mail-archive/server/test_files/wrongbody_body.txt?rev=1553094&view=auto
==============================================================================
--- sling/trunk/samples/mail-archive/server/test_files/wrongbody_body.txt (added)
+++ sling/trunk/samples/mail-archive/server/test_files/wrongbody_body.txt Mon Dec 23 11:11:15 2013
@@ -0,0 +1,254 @@
+See <https://builds.apache.org/job/sling-samples-1.5/298/>
+
+------------------------------------------
+[...truncated 946 lines...]
+[INFO] Preparing source:jar
+[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
+[JENKINS] Archiving <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/framework-fragment/pom.xml> to /home/hudson/hudson/jobs/sling-samples-1.5/modules/org.apache.sling$org.apache.sling.samples.frameworkfragment/builds/2012-03-30_03-13-43/archive/org.apache.sling/org.apache.sling.samples.frameworkfragment/0.9.9-SNAPSHOT/org.apache.sling.samples.frameworkfragment-0.9.9-SNAPSHOT.pom
+[JENKINS] Archiving <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/framework-fragment/target/org.apache.sling.samples.frameworkfragment-0.9.9-SNAPSHOT.jar> to /home/hudson/hudson/jobs/sling-samples-1.5/modules/org.apache.sling$org.apache.sling.samples.frameworkfragment/builds/2012-03-30_03-13-43/archive/org.apache.sling/org.apache.sling.samples.frameworkfragment/0.9.9-SNAPSHOT/org.apache.sling.samples.frameworkfragment-0.9.9-SNAPSHOT.jar
+[INFO] [enforcer:enforce {execution: enforce-java}]
+[INFO] [source:jar {execution: attach-sources}]
+[INFO] META-INF already added, skipping
+[INFO] META-INF/LICENSE already added, skipping
+[INFO] META-INF/NOTICE already added, skipping
+[INFO] META-INF/DEPENDENCIES already added, skipping
+[INFO] Building jar: <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/framework-fragment/target/org.apache.sling.samples.frameworkfragment-0.9.9-SNAPSHOT-sources.jar>
+[INFO] META-INF already added, skipping
+[INFO] META-INF/LICENSE already added, skipping
+[INFO] META-INF/NOTICE already added, skipping
+[INFO] META-INF/DEPENDENCIES already added, skipping
+[INFO] [ianal:verify-legal-files {execution: default}]
+[INFO] Checking legal files in: org.apache.sling.samples.frameworkfragment-0.9.9-SNAPSHOT.jar
+[INFO] Checking legal files in: org.apache.sling.samples.frameworkfragment-0.9.9-SNAPSHOT-sources.jar
+[INFO] [install:install {execution: default-install}]
+[INFO] Installing <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/framework-fragment/target/org.apache.sling.samples.frameworkfragment-0.9.9-SNAPSHOT.jar> to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/sling/org.apache.sling.samples.frameworkfragment/0.9.9-SNAPSHOT/org.apache.sling.samples.frameworkfragment-0.9.9-SNAPSHOT.jar
+[INFO] Installing <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/framework-fragment/target/org.apache.sling.samples.frameworkfragment-0.9.9-SNAPSHOT-sources.jar> to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/sling/org.apache.sling.samples.frameworkfragment/0.9.9-SNAPSHOT/org.apache.sling.samples.frameworkfragment-0.9.9-SNAPSHOT-sources.jar
+[JENKINS] Archiving <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/framework-fragment/target/org.apache.sling.samples.frameworkfragment-0.9.9-SNAPSHOT-sources.jar> to /home/hudson/hudson/jobs/sling-samples-1.5/modules/org.apache.sling$org.apache.sling.samples.frameworkfragment/builds/2012-03-30_03-13-43/archive/org.apache.sling/org.apache.sling.samples.frameworkfragment/0.9.9-SNAPSHOT/org.apache.sling.samples.frameworkfragment-0.9.9-SNAPSHOT-sources.jar
+[INFO] ------------------------------------------------------------------------
+[INFO] Building Apache Sling User Manager UI sample
+[INFO]    task-segment: [clean, install]
+[INFO] ------------------------------------------------------------------------
+[INFO] artifact net.alchim31.maven:yuicompressor-maven-plugin: checking for updates from oss.sonatype.org
+[INFO] [clean:clean {execution: default-clean}]
+[INFO] Deleting <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/usermanager-ui/target>
+[INFO] [enforcer:enforce {execution: enforce-java}]
+[INFO] [remote-resources:process {execution: default}]
+[INFO] [resources:resources {execution: default-resources}]
+[INFO] Using 'UTF-8' encoding to copy filtered resources.
+[INFO] Copying 28 resources
+[INFO] Copying 3 resources
+[WARNING] DEPRECATED [tasks]: Use target instead
+[INFO] [antrun:run {execution: default}]
+[WARNING] Parameter tasks is deprecated, use target instead
+[INFO] Executing tasks
+
+main:
+     [echo] **************** WARNING (SLING-443/SLING-1782) ******************************
+     [echo] On most platforms, you'll get OutOfMemoryErrors when building unless you set
+     [echo] on 32bit platforms: MAVEN_OPTS="-Xmx256M -XX:MaxPermSize=256M", see SLING-443
+     [echo] on 64bit platforms: MAVEN_OPTS="-Xmx512M -XX:MaxPermSize=512M", see SLING-1782
+     [echo] ******************************************************************************
+[INFO] Executed tasks
+[INFO] [yuicompressor:compress {execution: default}]
+[INFO] nothing to do, <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/usermanager-ui/src/main/resources/js/usermanager/usermanager.min.js> is younger than original, use 'force' option or clean your target
+[INFO] nothing to do, <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/usermanager-ui/src/main/resources/css/usermanager/usermanager.min.css> is younger than original, use 'force' option or clean your target
+[INFO] nothing to do, <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/usermanager-ui/src/main/resources/js/usermanager/usermanager.min.js> is younger than original, use 'force' option or clean your target
+[INFO] nothing to do, <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/usermanager-ui/src/main/resources/css/usermanager/usermanager.min.css> is younger than original, use 'force' option or clean your target
+[INFO] nb warnings: 0, nb errors: 0
+[INFO] [compiler:compile {execution: default-compile}]
+[INFO] Compiling 1 source file to <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/usermanager-ui/target/classes>
+[INFO] [scr:scr {execution: generate-scr-scrdescriptor}]
+[INFO] [resources:testResources {execution: default-testResources}]
+[INFO] Using 'UTF-8' encoding to copy filtered resources.
+[INFO] skip non existing resourceDirectory <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/usermanager-ui/src/test/resources>
+[INFO] Copying 3 resources
+[INFO] [compiler:testCompile {execution: default-testCompile}]
+[INFO] No sources to compile
+[INFO] [surefire:test {execution: default-test}]
+[INFO] Surefire report directory: <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/usermanager-ui/target/surefire-reports>
+
+-------------------------------------------------------
+ T E S T S
+-------------------------------------------------------
+There are no tests to run.
+
+Results :
+
+Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
+
+[JENKINS] Recording test results[INFO] [animal-sniffer:check {execution: default}]
+[INFO] Checking unresolved references to org.codehaus.mojo.signature:java15:1.0
+
+[INFO] [bundle:bundle {execution: default-bundle}]
+[INFO] Preparing source:jar
+[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
+[JENKINS] Archiving <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/usermanager-ui/pom.xml> to /home/hudson/hudson/jobs/sling-samples-1.5/modules/org.apache.sling.samples$org.apache.sling.samples.usermanager.ui/builds/2012-03-30_03-13-43/archive/org.apache.sling.samples/org.apache.sling.samples.usermanager.ui/0.9-SNAPSHOT/org.apache.sling.samples.usermanager.ui-0.9-SNAPSHOT.pom
+[JENKINS] Archiving <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/usermanager-ui/target/org.apache.sling.samples.usermanager.ui-0.9-SNAPSHOT.jar> to /home/hudson/hudson/jobs/sling-samples-1.5/modules/org.apache.sling.samples$org.apache.sling.samples.usermanager.ui/builds/2012-03-30_03-13-43/archive/org.apache.sling.samples/org.apache.sling.samples.usermanager.ui/0.9-SNAPSHOT/org.apache.sling.samples.usermanager.ui-0.9-SNAPSHOT.jar
+[INFO] [enforcer:enforce {execution: enforce-java}]
+[INFO] [source:jar {execution: attach-sources}]
+[INFO] META-INF already added, skipping
+[INFO] META-INF/LICENSE already added, skipping
+[INFO] META-INF/NOTICE already added, skipping
+[INFO] META-INF/DEPENDENCIES already added, skipping
+[INFO] Building jar: <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/usermanager-ui/target/org.apache.sling.samples.usermanager.ui-0.9-SNAPSHOT-sources.jar>
+[INFO] META-INF already added, skipping
+[INFO] META-INF/LICENSE already added, skipping
+[INFO] META-INF/NOTICE already added, skipping
+[INFO] META-INF/DEPENDENCIES already added, skipping
+[INFO] [ianal:verify-legal-files {execution: default}]
+[INFO] Checking legal files in: org.apache.sling.samples.usermanager.ui-0.9-SNAPSHOT.jar
+[INFO] Checking legal files in: org.apache.sling.samples.usermanager.ui-0.9-SNAPSHOT-sources.jar
+[INFO] [install:install {execution: default-install}]
+[INFO] Installing <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/usermanager-ui/target/org.apache.sling.samples.usermanager.ui-0.9-SNAPSHOT.jar> to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/sling/samples/org.apache.sling.samples.usermanager.ui/0.9-SNAPSHOT/org.apache.sling.samples.usermanager.ui-0.9-SNAPSHOT.jar
+[INFO] Installing <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/usermanager-ui/target/org.apache.sling.samples.usermanager.ui-0.9-SNAPSHOT-sources.jar> to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/sling/samples/org.apache.sling.samples.usermanager.ui/0.9-SNAPSHOT/org.apache.sling.samples.usermanager.ui-0.9-SNAPSHOT-sources.jar
+[INFO] [bundle:install {execution: default-install}]
+[INFO] Local OBR update disabled (enable with -DobrRepository)
+[JENKINS] Archiving <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/usermanager-ui/target/org.apache.sling.samples.usermanager.ui-0.9-SNAPSHOT-sources.jar> to /home/hudson/hudson/jobs/sling-samples-1.5/modules/org.apache.sling.samples$org.apache.sling.samples.usermanager.ui/builds/2012-03-30_03-13-43/archive/org.apache.sling.samples/org.apache.sling.samples.usermanager.ui/0.9-SNAPSHOT/org.apache.sling.samples.usermanager.ui-0.9-SNAPSHOT-sources.jar
+[INFO] ------------------------------------------------------------------------
+[INFO] Building Apache Sling Access Manager UI sample
+[INFO]    task-segment: [clean, install]
+[INFO] ------------------------------------------------------------------------
+[INFO] [clean:clean {execution: default-clean}]
+[INFO] Deleting <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/accessmanager-ui/target>
+[INFO] [enforcer:enforce {execution: enforce-java}]
+[INFO] [remote-resources:process {execution: default}]
+[INFO] [resources:resources {execution: default-resources}]
+[INFO] Using 'UTF-8' encoding to copy filtered resources.
+[INFO] Copying 14 resources
+[INFO] Copying 3 resources
+[WARNING] DEPRECATED [tasks]: Use target instead
+[INFO] [antrun:run {execution: default}]
+[WARNING] Parameter tasks is deprecated, use target instead
+[INFO] Executing tasks
+
+main:
+     [echo] **************** WARNING (SLING-443/SLING-1782) ******************************
+     [echo] On most platforms, you'll get OutOfMemoryErrors when building unless you set
+     [echo] on 32bit platforms: MAVEN_OPTS="-Xmx256M -XX:MaxPermSize=256M", see SLING-443
+     [echo] on 64bit platforms: MAVEN_OPTS="-Xmx512M -XX:MaxPermSize=512M", see SLING-1782
+     [echo] ******************************************************************************
+[INFO] Executed tasks
+[INFO] [yuicompressor:compress {execution: default}]
+[INFO] nothing to do, <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/accessmanager-ui/src/main/resources/js/accessmanager/accessmanager.min.js> is younger than original, use 'force' option or clean your target
+[INFO] nothing to do, <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/accessmanager-ui/src/main/resources/css/accessmanager/accessmanager.min.css> is younger than original, use 'force' option or clean your target
+[INFO] nothing to do, <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/accessmanager-ui/src/main/resources/js/accessmanager/accessmanager.min.js> is younger than original, use 'force' option or clean your target
+[INFO] nothing to do, <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/accessmanager-ui/src/main/resources/css/accessmanager/accessmanager.min.css> is younger than original, use 'force' option or clean your target
+[INFO] nb warnings: 0, nb errors: 0
+[INFO] [compiler:compile {execution: default-compile}]
+[INFO] Nothing to compile - all classes are up to date
+[INFO] [scr:scr {execution: generate-scr-scrdescriptor}]
+[INFO] [resources:testResources {execution: default-testResources}]
+[INFO] Using 'UTF-8' encoding to copy filtered resources.
+[INFO] skip non existing resourceDirectory <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/accessmanager-ui/src/test/resources>
+[INFO] Copying 3 resources
+[INFO] [compiler:testCompile {execution: default-testCompile}]
+[INFO] No sources to compile
+[INFO] [surefire:test {execution: default-test}]
+[INFO] Surefire report directory: <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/accessmanager-ui/target/surefire-reports>
+
+-------------------------------------------------------
+ T E S T S
+-------------------------------------------------------
+There are no tests to run.
+
+Results :
+
+Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
+
+[JENKINS] Recording test results[INFO] [animal-sniffer:check {execution: default}]
+[INFO] Checking unresolved references to org.codehaus.mojo.signature:java15:1.0
+
+[INFO] [bundle:bundle {execution: default-bundle}]
+[WARNING] Warning building bundle org.apache.sling.samples:org.apache.sling.samples.accessmanager.ui:bundle:0.9-SNAPSHOT : Did not find matching referal for *
+[INFO] Preparing source:jar
+[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
+[JENKINS] Archiving <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/accessmanager-ui/pom.xml> to /home/hudson/hudson/jobs/sling-samples-1.5/modules/org.apache.sling.samples$org.apache.sling.samples.accessmanager.ui/builds/2012-03-30_03-13-43/archive/org.apache.sling.samples/org.apache.sling.samples.accessmanager.ui/0.9-SNAPSHOT/org.apache.sling.samples.accessmanager.ui-0.9-SNAPSHOT.pom
+[JENKINS] Archiving <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/accessmanager-ui/target/org.apache.sling.samples.accessmanager.ui-0.9-SNAPSHOT.jar> to /home/hudson/hudson/jobs/sling-samples-1.5/modules/org.apache.sling.samples$org.apache.sling.samples.accessmanager.ui/builds/2012-03-30_03-13-43/archive/org.apache.sling.samples/org.apache.sling.samples.accessmanager.ui/0.9-SNAPSHOT/org.apache.sling.samples.accessmanager.ui-0.9-SNAPSHOT.jar
+[INFO] [enforcer:enforce {execution: enforce-java}]
+[INFO] [source:jar {execution: attach-sources}]
+[INFO] META-INF already added, skipping
+[INFO] META-INF/LICENSE already added, skipping
+[INFO] META-INF/NOTICE already added, skipping
+[INFO] META-INF/DEPENDENCIES already added, skipping
+[INFO] Building jar: <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/accessmanager-ui/target/org.apache.sling.samples.accessmanager.ui-0.9-SNAPSHOT-sources.jar>
+[INFO] META-INF already added, skipping
+[INFO] META-INF/LICENSE already added, skipping
+[INFO] META-INF/NOTICE already added, skipping
+[INFO] META-INF/DEPENDENCIES already added, skipping
+[INFO] [ianal:verify-legal-files {execution: default}]
+[INFO] Checking legal files in: org.apache.sling.samples.accessmanager.ui-0.9-SNAPSHOT.jar
+[INFO] Checking legal files in: org.apache.sling.samples.accessmanager.ui-0.9-SNAPSHOT-sources.jar
+[INFO] [install:install {execution: default-install}]
+[INFO] Installing <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/accessmanager-ui/target/org.apache.sling.samples.accessmanager.ui-0.9-SNAPSHOT.jar> to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/sling/samples/org.apache.sling.samples.accessmanager.ui/0.9-SNAPSHOT/org.apache.sling.samples.accessmanager.ui-0.9-SNAPSHOT.jar
+[INFO] Installing <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/accessmanager-ui/target/org.apache.sling.samples.accessmanager.ui-0.9-SNAPSHOT-sources.jar> to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/sling/samples/org.apache.sling.samples.accessmanager.ui/0.9-SNAPSHOT/org.apache.sling.samples.accessmanager.ui-0.9-SNAPSHOT-sources.jar
+[INFO] [bundle:install {execution: default-install}]
+[INFO] Local OBR update disabled (enable with -DobrRepository)
+[JENKINS] Archiving <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/accessmanager-ui/target/org.apache.sling.samples.accessmanager.ui-0.9-SNAPSHOT-sources.jar> to /home/hudson/hudson/jobs/sling-samples-1.5/modules/org.apache.sling.samples$org.apache.sling.samples.accessmanager.ui/builds/2012-03-30_03-13-43/archive/org.apache.sling.samples/org.apache.sling.samples.accessmanager.ui/0.9-SNAPSHOT/org.apache.sling.samples.accessmanager.ui-0.9-SNAPSHOT-sources.jar
+[INFO] ------------------------------------------------------------------------
+[INFO] Building Apache Sling Samples (Builder)
+[INFO]    task-segment: [clean, install]
+[INFO] ------------------------------------------------------------------------
+[INFO] [clean:clean {execution: default-clean}]
+[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
+[INFO] [install:install {execution: default-install}]
+[INFO] Installing <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/pom.xml> to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/sling/sling-samples-builder/2-SNAPSHOT/sling-samples-builder-2-SNAPSHOT.pom
+[JENKINS] Archiving <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/pom.xml> to /home/hudson/hudson/jobs/sling-samples-1.5/modules/org.apache.sling$sling-samples-builder/builds/2012-03-30_03-13-42/archive/org.apache.sling/sling-samples-builder/2-SNAPSHOT/sling-samples-builder-2-SNAPSHOT.pom
+[INFO] 
+[INFO] 
+[INFO] ------------------------------------------------------------------------
+[INFO] Reactor Summary:
+[INFO] ------------------------------------------------------------------------
+[INFO] Apache Sling ESP blog sample .......................... SUCCESS [20.231s]
+[INFO] Apache Sling Javashell sample ......................... SUCCESS [3.668s]
+[INFO] Apache Sling Sample Path Based Resource Type Provider . SUCCESS [12.550s]
+[INFO] Apache Sling Sample Post Servlet Extensions ........... SUCCESS [5.441s]
+[INFO] Apache Sling Sample Application ....................... SUCCESS [8.255s]
+[INFO] Apache Sling - Slingshot Demo ......................... SUCCESS [5.227s]
+[INFO] Apache Sling Webloader Service ........................ SUCCESS [3.886s]
+[INFO] Apache Sling Webloader User Interface ................. SUCCESS [3.669s]
+[INFO] Apache Sling Sample Custom Login Form ................. SUCCESS [4.275s]
+[INFO] Apache Sling Slingbucks - sample coffee store management application  SUCCESS [4.470s]
+[INFO] Dependency Install Sample ............................. SUCCESS [3.199s]
+[INFO] Apache Sling Sample Framework Fragment Bundle ......... SUCCESS [7.564s]
+[INFO] Apache Sling User Manager UI sample ................... SUCCESS [5.916s]
+[INFO] Apache Sling Access Manager UI sample ................. SUCCESS [3.523s]
+[INFO] Apache Sling Samples (Builder) ........................ SUCCESS [1.059s]
+[INFO] ------------------------------------------------------------------------
+[INFO] ------------------------------------------------------------------------
+[INFO] BUILD SUCCESSFUL
+[INFO] ------------------------------------------------------------------------
+[INFO] Total time: 1 minute 50 seconds
+[INFO] Finished at: Fri Mar 30 03:16:02 UTC 2012
+[INFO] Final Memory: 71M/106M
+[INFO] ------------------------------------------------------------------------
+channel stopped
+[locks-and-latches] Releasing all the locks
+[locks-and-latches] All the locks released
+Maven RedeployPublished use remote ubuntu1 maven settings from : /home/jenkins/.m2/settings.xml
+[INFO] Deployment in https://repository.apache.org/content/repositories/snapshots/ (id=,uniqueVersion=false)
+Deploying the main artifact installing-dependencies-sample-0.0.1-SNAPSHOT.jar
+ERROR: Error deploying artifact: Failed to transfer file: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/installing-dependencies-sample/0.0.1-SNAPSHOT/installing-dependencies-sample-0.0.1-SNAPSHOT.jar. Return code is: 401, ReasonPhrase:Unauthorized.
+org.apache.maven.artifact.deployer.ArtifactDeploymentException: Error deploying artifact: Failed to transfer file: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/installing-dependencies-sample/0.0.1-SNAPSHOT/installing-dependencies-sample-0.0.1-SNAPSHOT.jar. Return code is: 401, ReasonPhrase:Unauthorized.
+	at hudson.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:175)
+	at hudson.maven.reporters.MavenArtifactRecord.deploy(MavenArtifactRecord.java:182)
+	at hudson.maven.RedeployPublisher.perform(RedeployPublisher.java:176)
+	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
+	at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:703)
+	at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:678)
+	at hudson.maven.MavenModuleSetBuild$RunnerImpl.post2(MavenModuleSetBuild.java:998)
+	at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:625)
+	at hudson.model.Run.run(Run.java:1435)
+	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:481)
+	at hudson.model.ResourceController.execute(ResourceController.java:88)
+	at hudson.model.Executor.run(Executor.java:238)
+Caused by: org.apache.maven.wagon.TransferFailedException: Failed to transfer file: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/installing-dependencies-sample/0.0.1-SNAPSHOT/installing-dependencies-sample-0.0.1-SNAPSHOT.jar. Return code is: 401, ReasonPhrase:Unauthorized.
+	at org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:562)
+	at org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:471)
+	at org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:451)
+	at org.apache.maven.repository.legacy.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:543)
+	at org.apache.maven.repository.legacy.DefaultWagonManager.putArtifact(DefaultWagonManager.java:494)
+	at hudson.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:160)
+	... 11 more
+[INFO] Deployment failed after 1.4 sec
+Build step 'Deploy artifacts to Maven repository' changed build result to FAILURE
+

Added: sling/trunk/samples/mail-archive/server/test_files/wrongbody_bodyOf1.txt
URL: http://svn.apache.org/viewvc/sling/trunk/samples/mail-archive/server/test_files/wrongbody_bodyOf1.txt?rev=1553094&view=auto
==============================================================================
--- sling/trunk/samples/mail-archive/server/test_files/wrongbody_bodyOf1.txt (added)
+++ sling/trunk/samples/mail-archive/server/test_files/wrongbody_bodyOf1.txt Mon Dec 23 11:11:15 2013
@@ -0,0 +1,36 @@
+
+    [ https://issues.apache.org/jira/browse/SLING-2311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13241609#comment-13241609 ] 
+
+Carsten Ziegeler commented on SLING-2311:
+-----------------------------------------
+
+Great stuff - I think we should definitely have something like this, not sure whether we should start a new module or add it to commons testing or could just test
+junit-perf for this?
+                
+> Sling Performance Testing tool
+> ------------------------------
+>
+>                 Key: SLING-2311
+>                 URL: https://issues.apache.org/jira/browse/SLING-2311
+>             Project: Sling
+>          Issue Type: New Feature
+>          Components: Testing
+>            Reporter: Antonio Sanso
+>            Assignee: Carsten Ziegeler
+>            Priority: Minor
+>         Attachments: ResolveWithManyAliasTest.java, SLING-2311-patch.txt
+>
+>
+> As described/discussed in [0] it would be nice to have a performance test tool in Sling .
+> This can be useful in different situations (e.g. micro benchmarks of a feature and so on).
+> Patch to follow
+> [0] http://sling.markmail.org/message/bz44im7aqeae4r57
+
+--
+This message is automatically generated by JIRA.
+If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
+For more information on JIRA, see: http://www.atlassian.com/software/jira
+
+        
+
+

Added: sling/trunk/samples/mail-archive/server/test_files/wrongbody_bodyOf4.txt
URL: http://svn.apache.org/viewvc/sling/trunk/samples/mail-archive/server/test_files/wrongbody_bodyOf4.txt?rev=1553094&view=auto
==============================================================================
--- sling/trunk/samples/mail-archive/server/test_files/wrongbody_bodyOf4.txt (added)
+++ sling/trunk/samples/mail-archive/server/test_files/wrongbody_bodyOf4.txt Mon Dec 23 11:11:15 2013
@@ -0,0 +1,4 @@
+See <https://builds.apache.org/job/sling-trunk-1.6/1288/changes>
+
+
+

Added: sling/trunk/samples/mail-archive/server/test_files/wrongbody_bodyOf5.txt
URL: http://svn.apache.org/viewvc/sling/trunk/samples/mail-archive/server/test_files/wrongbody_bodyOf5.txt?rev=1553094&view=auto
==============================================================================
--- sling/trunk/samples/mail-archive/server/test_files/wrongbody_bodyOf5.txt (added)
+++ sling/trunk/samples/mail-archive/server/test_files/wrongbody_bodyOf5.txt Mon Dec 23 11:11:15 2013
@@ -0,0 +1,255 @@
+See <https://builds.apache.org/job/sling-samples-1.5/298/>
+
+------------------------------------------
+[...truncated 946 lines...]
+[INFO] Preparing source:jar
+[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
+[JENKINS] Archiving <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/framework-fragment/pom.xml> to /home/hudson/hudson/jobs/sling-samples-1.5/modules/org.apache.sling$org.apache.sling.samples.frameworkfragment/builds/2012-03-30_03-13-43/archive/org.apache.sling/org.apache.sling.samples.frameworkfragment/0.9.9-SNAPSHOT/org.apache.sling.samples.frameworkfragment-0.9.9-SNAPSHOT.pom
+[JENKINS] Archiving <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/framework-fragment/target/org.apache.sling.samples.frameworkfragment-0.9.9-SNAPSHOT.jar> to /home/hudson/hudson/jobs/sling-samples-1.5/modules/org.apache.sling$org.apache.sling.samples.frameworkfragment/builds/2012-03-30_03-13-43/archive/org.apache.sling/org.apache.sling.samples.frameworkfragment/0.9.9-SNAPSHOT/org.apache.sling.samples.frameworkfragment-0.9.9-SNAPSHOT.jar
+[INFO] [enforcer:enforce {execution: enforce-java}]
+[INFO] [source:jar {execution: attach-sources}]
+[INFO] META-INF already added, skipping
+[INFO] META-INF/LICENSE already added, skipping
+[INFO] META-INF/NOTICE already added, skipping
+[INFO] META-INF/DEPENDENCIES already added, skipping
+[INFO] Building jar: <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/framework-fragment/target/org.apache.sling.samples.frameworkfragment-0.9.9-SNAPSHOT-sources.jar>
+[INFO] META-INF already added, skipping
+[INFO] META-INF/LICENSE already added, skipping
+[INFO] META-INF/NOTICE already added, skipping
+[INFO] META-INF/DEPENDENCIES already added, skipping
+[INFO] [ianal:verify-legal-files {execution: default}]
+[INFO] Checking legal files in: org.apache.sling.samples.frameworkfragment-0.9.9-SNAPSHOT.jar
+[INFO] Checking legal files in: org.apache.sling.samples.frameworkfragment-0.9.9-SNAPSHOT-sources.jar
+[INFO] [install:install {execution: default-install}]
+[INFO] Installing <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/framework-fragment/target/org.apache.sling.samples.frameworkfragment-0.9.9-SNAPSHOT.jar> to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/sling/org.apache.sling.samples.frameworkfragment/0.9.9-SNAPSHOT/org.apache.sling.samples.frameworkfragment-0.9.9-SNAPSHOT.jar
+[INFO] Installing <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/framework-fragment/target/org.apache.sling.samples.frameworkfragment-0.9.9-SNAPSHOT-sources.jar> to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/sling/org.apache.sling.samples.frameworkfragment/0.9.9-SNAPSHOT/org.apache.sling.samples.frameworkfragment-0.9.9-SNAPSHOT-sources.jar
+[JENKINS] Archiving <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/framework-fragment/target/org.apache.sling.samples.frameworkfragment-0.9.9-SNAPSHOT-sources.jar> to /home/hudson/hudson/jobs/sling-samples-1.5/modules/org.apache.sling$org.apache.sling.samples.frameworkfragment/builds/2012-03-30_03-13-43/archive/org.apache.sling/org.apache.sling.samples.frameworkfragment/0.9.9-SNAPSHOT/org.apache.sling.samples.frameworkfragment-0.9.9-SNAPSHOT-sources.jar
+[INFO] ------------------------------------------------------------------------
+[INFO] Building Apache Sling User Manager UI sample
+[INFO]    task-segment: [clean, install]
+[INFO] ------------------------------------------------------------------------
+[INFO] artifact net.alchim31.maven:yuicompressor-maven-plugin: checking for updates from oss.sonatype.org
+[INFO] [clean:clean {execution: default-clean}]
+[INFO] Deleting <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/usermanager-ui/target>
+[INFO] [enforcer:enforce {execution: enforce-java}]
+[INFO] [remote-resources:process {execution: default}]
+[INFO] [resources:resources {execution: default-resources}]
+[INFO] Using 'UTF-8' encoding to copy filtered resources.
+[INFO] Copying 28 resources
+[INFO] Copying 3 resources
+[WARNING] DEPRECATED [tasks]: Use target instead
+[INFO] [antrun:run {execution: default}]
+[WARNING] Parameter tasks is deprecated, use target instead
+[INFO] Executing tasks
+
+main:
+     [echo] **************** WARNING (SLING-443/SLING-1782) ******************************
+     [echo] On most platforms, you'll get OutOfMemoryErrors when building unless you set
+     [echo] on 32bit platforms: MAVEN_OPTS="-Xmx256M -XX:MaxPermSize=256M", see SLING-443
+     [echo] on 64bit platforms: MAVEN_OPTS="-Xmx512M -XX:MaxPermSize=512M", see SLING-1782
+     [echo] ******************************************************************************
+[INFO] Executed tasks
+[INFO] [yuicompressor:compress {execution: default}]
+[INFO] nothing to do, <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/usermanager-ui/src/main/resources/js/usermanager/usermanager.min.js> is younger than original, use 'force' option or clean your target
+[INFO] nothing to do, <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/usermanager-ui/src/main/resources/css/usermanager/usermanager.min.css> is younger than original, use 'force' option or clean your target
+[INFO] nothing to do, <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/usermanager-ui/src/main/resources/js/usermanager/usermanager.min.js> is younger than original, use 'force' option or clean your target
+[INFO] nothing to do, <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/usermanager-ui/src/main/resources/css/usermanager/usermanager.min.css> is younger than original, use 'force' option or clean your target
+[INFO] nb warnings: 0, nb errors: 0
+[INFO] [compiler:compile {execution: default-compile}]
+[INFO] Compiling 1 source file to <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/usermanager-ui/target/classes>
+[INFO] [scr:scr {execution: generate-scr-scrdescriptor}]
+[INFO] [resources:testResources {execution: default-testResources}]
+[INFO] Using 'UTF-8' encoding to copy filtered resources.
+[INFO] skip non existing resourceDirectory <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/usermanager-ui/src/test/resources>
+[INFO] Copying 3 resources
+[INFO] [compiler:testCompile {execution: default-testCompile}]
+[INFO] No sources to compile
+[INFO] [surefire:test {execution: default-test}]
+[INFO] Surefire report directory: <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/usermanager-ui/target/surefire-reports>
+
+-------------------------------------------------------
+ T E S T S
+-------------------------------------------------------
+There are no tests to run.
+
+Results :
+
+Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
+
+[JENKINS] Recording test results[INFO] [animal-sniffer:check {execution: default}]
+[INFO] Checking unresolved references to org.codehaus.mojo.signature:java15:1.0
+
+[INFO] [bundle:bundle {execution: default-bundle}]
+[INFO] Preparing source:jar
+[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
+[JENKINS] Archiving <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/usermanager-ui/pom.xml> to /home/hudson/hudson/jobs/sling-samples-1.5/modules/org.apache.sling.samples$org.apache.sling.samples.usermanager.ui/builds/2012-03-30_03-13-43/archive/org.apache.sling.samples/org.apache.sling.samples.usermanager.ui/0.9-SNAPSHOT/org.apache.sling.samples.usermanager.ui-0.9-SNAPSHOT.pom
+[JENKINS] Archiving <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/usermanager-ui/target/org.apache.sling.samples.usermanager.ui-0.9-SNAPSHOT.jar> to /home/hudson/hudson/jobs/sling-samples-1.5/modules/org.apache.sling.samples$org.apache.sling.samples.usermanager.ui/builds/2012-03-30_03-13-43/archive/org.apache.sling.samples/org.apache.sling.samples.usermanager.ui/0.9-SNAPSHOT/org.apache.sling.samples.usermanager.ui-0.9-SNAPSHOT.jar
+[INFO] [enforcer:enforce {execution: enforce-java}]
+[INFO] [source:jar {execution: attach-sources}]
+[INFO] META-INF already added, skipping
+[INFO] META-INF/LICENSE already added, skipping
+[INFO] META-INF/NOTICE already added, skipping
+[INFO] META-INF/DEPENDENCIES already added, skipping
+[INFO] Building jar: <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/usermanager-ui/target/org.apache.sling.samples.usermanager.ui-0.9-SNAPSHOT-sources.jar>
+[INFO] META-INF already added, skipping
+[INFO] META-INF/LICENSE already added, skipping
+[INFO] META-INF/NOTICE already added, skipping
+[INFO] META-INF/DEPENDENCIES already added, skipping
+[INFO] [ianal:verify-legal-files {execution: default}]
+[INFO] Checking legal files in: org.apache.sling.samples.usermanager.ui-0.9-SNAPSHOT.jar
+[INFO] Checking legal files in: org.apache.sling.samples.usermanager.ui-0.9-SNAPSHOT-sources.jar
+[INFO] [install:install {execution: default-install}]
+[INFO] Installing <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/usermanager-ui/target/org.apache.sling.samples.usermanager.ui-0.9-SNAPSHOT.jar> to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/sling/samples/org.apache.sling.samples.usermanager.ui/0.9-SNAPSHOT/org.apache.sling.samples.usermanager.ui-0.9-SNAPSHOT.jar
+[INFO] Installing <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/usermanager-ui/target/org.apache.sling.samples.usermanager.ui-0.9-SNAPSHOT-sources.jar> to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/sling/samples/org.apache.sling.samples.usermanager.ui/0.9-SNAPSHOT/org.apache.sling.samples.usermanager.ui-0.9-SNAPSHOT-sources.jar
+[INFO] [bundle:install {execution: default-install}]
+[INFO] Local OBR update disabled (enable with -DobrRepository)
+[JENKINS] Archiving <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/usermanager-ui/target/org.apache.sling.samples.usermanager.ui-0.9-SNAPSHOT-sources.jar> to /home/hudson/hudson/jobs/sling-samples-1.5/modules/org.apache.sling.samples$org.apache.sling.samples.usermanager.ui/builds/2012-03-30_03-13-43/archive/org.apache.sling.samples/org.apache.sling.samples.usermanager.ui/0.9-SNAPSHOT/org.apache.sling.samples.usermanager.ui-0.9-SNAPSHOT-sources.jar
+[INFO] ------------------------------------------------------------------------
+[INFO] Building Apache Sling Access Manager UI sample
+[INFO]    task-segment: [clean, install]
+[INFO] ------------------------------------------------------------------------
+[INFO] [clean:clean {execution: default-clean}]
+[INFO] Deleting <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/accessmanager-ui/target>
+[INFO] [enforcer:enforce {execution: enforce-java}]
+[INFO] [remote-resources:process {execution: default}]
+[INFO] [resources:resources {execution: default-resources}]
+[INFO] Using 'UTF-8' encoding to copy filtered resources.
+[INFO] Copying 14 resources
+[INFO] Copying 3 resources
+[WARNING] DEPRECATED [tasks]: Use target instead
+[INFO] [antrun:run {execution: default}]
+[WARNING] Parameter tasks is deprecated, use target instead
+[INFO] Executing tasks
+
+main:
+     [echo] **************** WARNING (SLING-443/SLING-1782) ******************************
+     [echo] On most platforms, you'll get OutOfMemoryErrors when building unless you set
+     [echo] on 32bit platforms: MAVEN_OPTS="-Xmx256M -XX:MaxPermSize=256M", see SLING-443
+     [echo] on 64bit platforms: MAVEN_OPTS="-Xmx512M -XX:MaxPermSize=512M", see SLING-1782
+     [echo] ******************************************************************************
+[INFO] Executed tasks
+[INFO] [yuicompressor:compress {execution: default}]
+[INFO] nothing to do, <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/accessmanager-ui/src/main/resources/js/accessmanager/accessmanager.min.js> is younger than original, use 'force' option or clean your target
+[INFO] nothing to do, <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/accessmanager-ui/src/main/resources/css/accessmanager/accessmanager.min.css> is younger than original, use 'force' option or clean your target
+[INFO] nothing to do, <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/accessmanager-ui/src/main/resources/js/accessmanager/accessmanager.min.js> is younger than original, use 'force' option or clean your target
+[INFO] nothing to do, <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/accessmanager-ui/src/main/resources/css/accessmanager/accessmanager.min.css> is younger than original, use 'force' option or clean your target
+[INFO] nb warnings: 0, nb errors: 0
+[INFO] [compiler:compile {execution: default-compile}]
+[INFO] Nothing to compile - all classes are up to date
+[INFO] [scr:scr {execution: generate-scr-scrdescriptor}]
+[INFO] [resources:testResources {execution: default-testResources}]
+[INFO] Using 'UTF-8' encoding to copy filtered resources.
+[INFO] skip non existing resourceDirectory <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/accessmanager-ui/src/test/resources>
+[INFO] Copying 3 resources
+[INFO] [compiler:testCompile {execution: default-testCompile}]
+[INFO] No sources to compile
+[INFO] [surefire:test {execution: default-test}]
+[INFO] Surefire report directory: <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/accessmanager-ui/target/surefire-reports>
+
+-------------------------------------------------------
+ T E S T S
+-------------------------------------------------------
+There are no tests to run.
+
+Results :
+
+Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
+
+[JENKINS] Recording test results[INFO] [animal-sniffer:check {execution: default}]
+[INFO] Checking unresolved references to org.codehaus.mojo.signature:java15:1.0
+
+[INFO] [bundle:bundle {execution: default-bundle}]
+[WARNING] Warning building bundle org.apache.sling.samples:org.apache.sling.samples.accessmanager.ui:bundle:0.9-SNAPSHOT : Did not find matching referal for *
+[INFO] Preparing source:jar
+[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
+[JENKINS] Archiving <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/accessmanager-ui/pom.xml> to /home/hudson/hudson/jobs/sling-samples-1.5/modules/org.apache.sling.samples$org.apache.sling.samples.accessmanager.ui/builds/2012-03-30_03-13-43/archive/org.apache.sling.samples/org.apache.sling.samples.accessmanager.ui/0.9-SNAPSHOT/org.apache.sling.samples.accessmanager.ui-0.9-SNAPSHOT.pom
+[JENKINS] Archiving <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/accessmanager-ui/target/org.apache.sling.samples.accessmanager.ui-0.9-SNAPSHOT.jar> to /home/hudson/hudson/jobs/sling-samples-1.5/modules/org.apache.sling.samples$org.apache.sling.samples.accessmanager.ui/builds/2012-03-30_03-13-43/archive/org.apache.sling.samples/org.apache.sling.samples.accessmanager.ui/0.9-SNAPSHOT/org.apache.sling.samples.accessmanager.ui-0.9-SNAPSHOT.jar
+[INFO] [enforcer:enforce {execution: enforce-java}]
+[INFO] [source:jar {execution: attach-sources}]
+[INFO] META-INF already added, skipping
+[INFO] META-INF/LICENSE already added, skipping
+[INFO] META-INF/NOTICE already added, skipping
+[INFO] META-INF/DEPENDENCIES already added, skipping
+[INFO] Building jar: <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/accessmanager-ui/target/org.apache.sling.samples.accessmanager.ui-0.9-SNAPSHOT-sources.jar>
+[INFO] META-INF already added, skipping
+[INFO] META-INF/LICENSE already added, skipping
+[INFO] META-INF/NOTICE already added, skipping
+[INFO] META-INF/DEPENDENCIES already added, skipping
+[INFO] [ianal:verify-legal-files {execution: default}]
+[INFO] Checking legal files in: org.apache.sling.samples.accessmanager.ui-0.9-SNAPSHOT.jar
+[INFO] Checking legal files in: org.apache.sling.samples.accessmanager.ui-0.9-SNAPSHOT-sources.jar
+[INFO] [install:install {execution: default-install}]
+[INFO] Installing <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/accessmanager-ui/target/org.apache.sling.samples.accessmanager.ui-0.9-SNAPSHOT.jar> to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/sling/samples/org.apache.sling.samples.accessmanager.ui/0.9-SNAPSHOT/org.apache.sling.samples.accessmanager.ui-0.9-SNAPSHOT.jar
+[INFO] Installing <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/accessmanager-ui/target/org.apache.sling.samples.accessmanager.ui-0.9-SNAPSHOT-sources.jar> to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/sling/samples/org.apache.sling.samples.accessmanager.ui/0.9-SNAPSHOT/org.apache.sling.samples.accessmanager.ui-0.9-SNAPSHOT-sources.jar
+[INFO] [bundle:install {execution: default-install}]
+[INFO] Local OBR update disabled (enable with -DobrRepository)
+[JENKINS] Archiving <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/accessmanager-ui/target/org.apache.sling.samples.accessmanager.ui-0.9-SNAPSHOT-sources.jar> to /home/hudson/hudson/jobs/sling-samples-1.5/modules/org.apache.sling.samples$org.apache.sling.samples.accessmanager.ui/builds/2012-03-30_03-13-43/archive/org.apache.sling.samples/org.apache.sling.samples.accessmanager.ui/0.9-SNAPSHOT/org.apache.sling.samples.accessmanager.ui-0.9-SNAPSHOT-sources.jar
+[INFO] ------------------------------------------------------------------------
+[INFO] Building Apache Sling Samples (Builder)
+[INFO]    task-segment: [clean, install]
+[INFO] ------------------------------------------------------------------------
+[INFO] [clean:clean {execution: default-clean}]
+[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
+[INFO] [install:install {execution: default-install}]
+[INFO] Installing <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/pom.xml> to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/sling/sling-samples-builder/2-SNAPSHOT/sling-samples-builder-2-SNAPSHOT.pom
+[JENKINS] Archiving <https://builds.apache.org/job/sling-samples-1.5/ws/contrib-1.5/pom.xml> to /home/hudson/hudson/jobs/sling-samples-1.5/modules/org.apache.sling$sling-samples-builder/builds/2012-03-30_03-13-42/archive/org.apache.sling/sling-samples-builder/2-SNAPSHOT/sling-samples-builder-2-SNAPSHOT.pom
+[INFO] 
+[INFO] 
+[INFO] ------------------------------------------------------------------------
+[INFO] Reactor Summary:
+[INFO] ------------------------------------------------------------------------
+[INFO] Apache Sling ESP blog sample .......................... SUCCESS [20.231s]
+[INFO] Apache Sling Javashell sample ......................... SUCCESS [3.668s]
+[INFO] Apache Sling Sample Path Based Resource Type Provider . SUCCESS [12.550s]
+[INFO] Apache Sling Sample Post Servlet Extensions ........... SUCCESS [5.441s]
+[INFO] Apache Sling Sample Application ....................... SUCCESS [8.255s]
+[INFO] Apache Sling - Slingshot Demo ......................... SUCCESS [5.227s]
+[INFO] Apache Sling Webloader Service ........................ SUCCESS [3.886s]
+[INFO] Apache Sling Webloader User Interface ................. SUCCESS [3.669s]
+[INFO] Apache Sling Sample Custom Login Form ................. SUCCESS [4.275s]
+[INFO] Apache Sling Slingbucks - sample coffee store management application  SUCCESS [4.470s]
+[INFO] Dependency Install Sample ............................. SUCCESS [3.199s]
+[INFO] Apache Sling Sample Framework Fragment Bundle ......... SUCCESS [7.564s]
+[INFO] Apache Sling User Manager UI sample ................... SUCCESS [5.916s]
+[INFO] Apache Sling Access Manager UI sample ................. SUCCESS [3.523s]
+[INFO] Apache Sling Samples (Builder) ........................ SUCCESS [1.059s]
+[INFO] ------------------------------------------------------------------------
+[INFO] ------------------------------------------------------------------------
+[INFO] BUILD SUCCESSFUL
+[INFO] ------------------------------------------------------------------------
+[INFO] Total time: 1 minute 50 seconds
+[INFO] Finished at: Fri Mar 30 03:16:02 UTC 2012
+[INFO] Final Memory: 71M/106M
+[INFO] ------------------------------------------------------------------------
+channel stopped
+[locks-and-latches] Releasing all the locks
+[locks-and-latches] All the locks released
+Maven RedeployPublished use remote ubuntu1 maven settings from : /home/jenkins/.m2/settings.xml
+[INFO] Deployment in https://repository.apache.org/content/repositories/snapshots/ (id=,uniqueVersion=false)
+Deploying the main artifact installing-dependencies-sample-0.0.1-SNAPSHOT.jar
+ERROR: Error deploying artifact: Failed to transfer file: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/installing-dependencies-sample/0.0.1-SNAPSHOT/installing-dependencies-sample-0.0.1-SNAPSHOT.jar. Return code is: 401, ReasonPhrase:Unauthorized.
+org.apache.maven.artifact.deployer.ArtifactDeploymentException: Error deploying artifact: Failed to transfer file: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/installing-dependencies-sample/0.0.1-SNAPSHOT/installing-dependencies-sample-0.0.1-SNAPSHOT.jar. Return code is: 401, ReasonPhrase:Unauthorized.
+	at hudson.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:175)
+	at hudson.maven.reporters.MavenArtifactRecord.deploy(MavenArtifactRecord.java:182)
+	at hudson.maven.RedeployPublisher.perform(RedeployPublisher.java:176)
+	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
+	at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:703)
+	at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:678)
+	at hudson.maven.MavenModuleSetBuild$RunnerImpl.post2(MavenModuleSetBuild.java:998)
+	at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:625)
+	at hudson.model.Run.run(Run.java:1435)
+	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:481)
+	at hudson.model.ResourceController.execute(ResourceController.java:88)
+	at hudson.model.Executor.run(Executor.java:238)
+Caused by: org.apache.maven.wagon.TransferFailedException: Failed to transfer file: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/installing-dependencies-sample/0.0.1-SNAPSHOT/installing-dependencies-sample-0.0.1-SNAPSHOT.jar. Return code is: 401, ReasonPhrase:Unauthorized.
+	at org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:562)
+	at org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:471)
+	at org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:451)
+	at org.apache.maven.repository.legacy.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:543)
+	at org.apache.maven.repository.legacy.DefaultWagonManager.putArtifact(DefaultWagonManager.java:494)
+	at hudson.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:160)
+	... 11 more
+[INFO] Deployment failed after 1.4 sec
+Build step 'Deploy artifacts to Maven repository' changed build result to FAILURE
+
+

Propchange: sling/trunk/samples/mail-archive/ui/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Mon Dec 23 11:11:15 2013
@@ -0,0 +1,13 @@
+target
+bin
+*.iml
+*.ipr
+*.iws
+.settings
+.project
+.classpath
+.externalToolBuilders
+maven-eclipse.xml
+
+
+

Added: sling/trunk/samples/mail-archive/ui/pom.xml
URL: http://svn.apache.org/viewvc/sling/trunk/samples/mail-archive/ui/pom.xml?rev=1553094&view=auto
==============================================================================
--- sling/trunk/samples/mail-archive/ui/pom.xml (added)
+++ sling/trunk/samples/mail-archive/ui/pom.xml Mon Dec 23 11:11:15 2013
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <parent>
+        <groupId>org.apache.sling</groupId>
+        <artifactId>sling</artifactId>
+        <version>18</version>
+    </parent>
+
+    <groupId>org.apache.sling</groupId>
+    <artifactId>org.apache.sling.mailarchive.ui</artifactId>
+    <version>0.1.0-SNAPSHOT</version>
+    <packaging>bundle</packaging>
+    <name>Apache Sling Mail Archive Server UI</name>
+    <description>User interface for Mail Archive Server.</description>
+
+    <properties>
+        <sling.java.version>6</sling.java.version>
+    </properties>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <extensions>true</extensions>
+                <configuration>
+                    <instructions>
+                        <Sling-Initial-Content>
+							initial-content; uninstall:=true
+						</Sling-Initial-Content>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.sling</groupId>
+            <artifactId>org.apache.sling.mailarchive.server</artifactId>
+            <version>0.1.0-SNAPSHOT</version>
+        </dependency>
+    </dependencies>
+</project>

Added: sling/trunk/samples/mail-archive/ui/src/main/resources/initial-content/apps/mailarchiveserver/archive/html.esp
URL: http://svn.apache.org/viewvc/sling/trunk/samples/mail-archive/ui/src/main/resources/initial-content/apps/mailarchiveserver/archive/html.esp?rev=1553094&view=auto
==============================================================================
--- sling/trunk/samples/mail-archive/ui/src/main/resources/initial-content/apps/mailarchiveserver/archive/html.esp (added)
+++ sling/trunk/samples/mail-archive/ui/src/main/resources/initial-content/apps/mailarchiveserver/archive/html.esp Mon Dec 23 11:11:15 2013
@@ -0,0 +1,59 @@
+<html>
+
+<head>
+<% load("../head.esp"); %>
+<title>Mail archive</title>
+</head>
+
+<body>
+
+<% sling.include(currentNode.getPath(), "forceResourceType=mailarchiveserver,replaceSelectors=navbar"); %>
+
+<div class="content">
+
+<table width="100%">
+<colgroup>
+<col style="width: 33%" />
+<col style="width: 33%" />
+<col style="width: 33%" />
+</colgroup>
+<%
+	var cnt = 0;
+	var archiveChildren = currentNode.getChildren();
+	for(i in archiveChildren) {
+		var domain = archiveChildren[i];
+%>
+
+	<td>
+	<div class="domain">
+		<h4><%= domain["jcr:text"] %>  lists:</h4>
+		<ul>
+<%
+		var domainChildren = domain.getChildren();
+		for(k in domainChildren) {
+			var list = domainChildren[k];
+%>
+			<li><a href="<%= list.getPath() %>.html">  <%= list["jcr:text"] %></a></li>
+<% 
+		}
+%>
+		</ul>
+	</div>
+	</td>
+
+<% 
+		if (cnt % 3 == 2)
+			out.print("</tr>");
+		cnt++;
+	}
+	if (cnt % 3 != 2)
+		out.print("</tr>");
+%>
+
+</table>
+</div>
+
+
+</body>
+
+</html>

Added: sling/trunk/samples/mail-archive/ui/src/main/resources/initial-content/apps/mailarchiveserver/head.esp
URL: http://svn.apache.org/viewvc/sling/trunk/samples/mail-archive/ui/src/main/resources/initial-content/apps/mailarchiveserver/head.esp?rev=1553094&view=auto
==============================================================================
--- sling/trunk/samples/mail-archive/ui/src/main/resources/initial-content/apps/mailarchiveserver/head.esp (added)
+++ sling/trunk/samples/mail-archive/ui/src/main/resources/initial-content/apps/mailarchiveserver/head.esp Mon Dec 23 11:11:15 2013
@@ -0,0 +1,36 @@
+<link rel="stylesheet" href="/apps/mailarchiveserver/styles.css"/>
+<script type="text/javascript" src="/apps/mailarchiveserver/util.js"></script>
+<% 
+	var threadNodesNumber = 3
+
+	var startPage = "/mailarchiveserver/archive.html"
+	var homePage = "/mailarchiveserver.html?noredirect"
+
+	function dateComparator (a, b) {
+	if (a.date > b.date)
+		return 1;
+	else if (a.date < b.date)
+		return -1;
+	else
+		return 0;
+	}
+
+	function OrderedRenderer (comparator, renderOptions) {
+		this.list = []
+		this.addMsg = function (msg) {
+			var obj = new Object();
+			obj.path = msg.getPath();
+			obj.date = new Date(msg["Date"]);
+			this.list.push(obj);
+		}
+		this.sort = function () {
+			this.list.sort(comparator);
+		}
+		this.render = function () {
+			while (this.list.length > 0) {
+				 sling.include(this.list.pop().path, renderOptions); 
+			}
+		}
+	}
+	
+%>

Added: sling/trunk/samples/mail-archive/ui/src/main/resources/initial-content/apps/mailarchiveserver/import/mbox.esp
URL: http://svn.apache.org/viewvc/sling/trunk/samples/mail-archive/ui/src/main/resources/initial-content/apps/mailarchiveserver/import/mbox.esp?rev=1553094&view=auto
==============================================================================
--- sling/trunk/samples/mail-archive/ui/src/main/resources/initial-content/apps/mailarchiveserver/import/mbox.esp (added)
+++ sling/trunk/samples/mail-archive/ui/src/main/resources/initial-content/apps/mailarchiveserver/import/mbox.esp Mon Dec 23 11:11:15 2013
@@ -0,0 +1,22 @@
+<html>
+	<head>
+		<% load("../head.esp"); %>
+	</head>
+
+	<body>
+	<div class="navbar">
+	<a href=<%= homePage %>>< back</a>
+	</div>
+
+	<div class="content">
+		<form method="POST" enctype="multipart/form-data" >
+
+		    Select .mbox file: <input type="file" name="mboxfile" /> <br> 
+		    <input type="submit" value="Import to archive" />
+		
+		</form>
+	</div>
+
+
+	</body>
+</html>

Added: sling/trunk/samples/mail-archive/ui/src/main/resources/initial-content/apps/mailarchiveserver/list/html.esp
URL: http://svn.apache.org/viewvc/sling/trunk/samples/mail-archive/ui/src/main/resources/initial-content/apps/mailarchiveserver/list/html.esp?rev=1553094&view=auto
==============================================================================
--- sling/trunk/samples/mail-archive/ui/src/main/resources/initial-content/apps/mailarchiveserver/list/html.esp (added)
+++ sling/trunk/samples/mail-archive/ui/src/main/resources/initial-content/apps/mailarchiveserver/list/html.esp Mon Dec 23 11:11:15 2013
@@ -0,0 +1,32 @@
+<html>
+<head>
+<% load("../head.esp"); %>
+<title><%= currentNode["jcr:text"] %></title>
+</head>
+
+<body>
+<% sling.include(currentNode.getPath(), "forceResourceType=mailarchiveserver,replaceSelectors=navbar"); %>
+
+<%
+
+function iterate(renderer, node, lvl) {
+	for (i in node.getChildren()) {
+		var child = node[i]
+		if (child) {
+			if (lvl == 0) {
+				renderer.addMsg(child)
+			} else {
+				iterate(renderer, child, lvl-1)
+			}
+		}
+	}
+}
+
+var renderer = new OrderedRenderer(dateComparator, "replaceSelectors=preview")
+iterate(renderer, currentNode, threadNodesNumber)
+renderer.sort()
+renderer.render()
+
+%>
+</body>
+</html>
\ No newline at end of file

Propchange: sling/trunk/samples/mail-archive/ui/src/main/resources/initial-content/apps/mailarchiveserver/list/html.esp
------------------------------------------------------------------------------
    svn:executable = *

Added: sling/trunk/samples/mail-archive/ui/src/main/resources/initial-content/apps/mailarchiveserver/message/html.esp
URL: http://svn.apache.org/viewvc/sling/trunk/samples/mail-archive/ui/src/main/resources/initial-content/apps/mailarchiveserver/message/html.esp?rev=1553094&view=auto
==============================================================================
--- sling/trunk/samples/mail-archive/ui/src/main/resources/initial-content/apps/mailarchiveserver/message/html.esp (added)
+++ sling/trunk/samples/mail-archive/ui/src/main/resources/initial-content/apps/mailarchiveserver/message/html.esp Mon Dec 23 11:11:15 2013
@@ -0,0 +1,66 @@
+<html>
+
+<head>
+<link rel="stylesheet" href="/apps/mailarchiveserver/styles.css"/>
+<script type="text/javascript" src="/apps/mailarchiveserver/util.js"></script>
+<title>
+	From 
+	<% 
+		var from = currentNode.From
+		out.print(from.match(/\w+ \w+/))
+	%>, 
+	<%
+		out.print(currentNode.Subject)
+	%> 
+</title>
+</head>
+
+<body>
+<% sling.include(currentNode.getPath(), "forceResourceType=mailarchiveserver,replaceSelectors=navbar"); %>
+
+<div class="message">
+	<div class="header">
+		<span class="from">	
+		From 
+		<% 
+			var from = currentNode["From"];
+			if (from.indexOf(" ") > 0)
+				out.print(from.substring(0, from.indexOf(" ")))
+			else
+				out.print(from)
+		%> 
+		</span>
+		<span class="date">
+		<%
+			var d = new Date(currentNode["Date"])
+			var now = Date.now()
+			if (now - d.value < 79200000)
+				out.print(d.getHours()+":"+d.getMinutes())
+			else {
+				var m_names = new Array("Jan", "Feb", "Mar", 
+					"Apr", "May", "Jun", "Jul", "Aug", "Sep", 
+					"Oct", "Nov", "Dec")
+				out.print(m_names[d.getMonth()]+" "+d.getDate())
+			}
+		%>
+		</span>
+		<br/>
+		<a class="nolinkstyle" href="<%= currentNode.getParent().getPath() %>.html"><%= currentNode["Subject"] %></a>
+	</div>
+	<div class="body">
+		<%  
+			var lines = currentNode["Body"].split('\n');
+			for (i in lines) {
+				var line = lines[i];
+		%>
+		<script type="text/javascript">
+			document.write(toHtmlString("<%= new String(line) %>"));
+		</script>
+		<%
+				out.print("<br>");
+			}
+		%>
+	</div>
+</div>
+</body>
+</html>

Added: sling/trunk/samples/mail-archive/ui/src/main/resources/initial-content/apps/mailarchiveserver/message/preview.html.esp
URL: http://svn.apache.org/viewvc/sling/trunk/samples/mail-archive/ui/src/main/resources/initial-content/apps/mailarchiveserver/message/preview.html.esp?rev=1553094&view=auto
==============================================================================
--- sling/trunk/samples/mail-archive/ui/src/main/resources/initial-content/apps/mailarchiveserver/message/preview.html.esp (added)
+++ sling/trunk/samples/mail-archive/ui/src/main/resources/initial-content/apps/mailarchiveserver/message/preview.html.esp Mon Dec 23 11:11:15 2013
@@ -0,0 +1,60 @@
+<div>
+
+<a class="nolinkstyle" href=<% 
+		out.print("\"")			
+		out.print(currentNode.getPath())			
+		out.print(".html")
+		out.print("\"")
+%>>
+
+	<div class="message"> 
+		<b>
+		<span>	
+		From 
+		<% 
+			var from = currentNode["From"];
+			if (from.indexOf(" ") > 0)
+				out.print(from.substring(0, from.indexOf(" ")))
+			else
+				out.print(from)
+		%> 
+		</span>
+		<span>
+		<%
+			var d = new Date(currentNode["Date"])
+			var now = Date.now()
+			if (now - d.value < 79200000) {
+				out.print(" at ")
+				out.print(d.getHours()+":"+d.getMinutes())
+			} else {
+				out.print(" on ")
+				var m_names = new Array("Jan", "Feb", "Mar", 
+					"Apr", "May", "Jun", "Jul", "Aug", "Sep", 
+					"Oct", "Nov", "Dec")
+				out.print(m_names[d.getMonth()]+" "+d.getDate())
+			}
+		%>
+		</span>
+		</b>
+
+		<br>
+		<%= currentNode["Subject"] %> <br>
+
+		<div class="bodypreview">
+		<%
+			var lines = currentNode["Body"].split('\n');
+			for (i=0; i<Math.min(5,lines.length); i++ ) {
+				var line = lines[i];
+		%>
+		<script type="text/javascript">
+			document.write(toHtmlString("<%= new String(line) %>"));
+		</script>
+		<%
+				out.print("<br>");
+			}
+		%>
+		</div>
+	</div>
+
+</a>
+</div>



Mime
View raw message