From martinnancy@example.net Mon Mar 01 18:07:36 2010 Return-Path: <martinnancy@example.net> Delivered-To: martinnancy@example.net Received: (qmail 45995 invoked from network); 1 Mar 2010 18:07:36 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 1 Mar 2010 18:07:36 -0000 Received: (qmail 59059 invoked by uid 500); 1 Mar 2010 18:07:35 -0000 Delivered-To: martinnancy@example.net Received: (qmail 58975 invoked by uid 500); 1 Mar 2010 18:07:34 -0000 Mailing-List: contact martinnancy@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:martinnancy@example.net> List-Unsubscribe: <mailto:martinnancy@example.net> List-Post: <mailto:martinnancy@example.net> List-Id: <users.sling.apache.org> Reply-To: martinnancy@example.net Delivered-To: mailing list martinnancy@example.net Received: (qmail 58967 invoked by uid 99); 1 Mar 2010 18:07:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Mar 2010 18:07:34 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of martinnancy@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO fg-out-1718.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Mar 2010 18:07:26 +0000 Received: by fg-out-1718.google.com with SMTP id 19so371031fgg.3 for <martinnancy@example.net>; Mon, 01 Mar 2010 10:07:04 -0800 (PST) MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id j4mr451318hbe.136.1267466824222; Mon, 01 Mar 2010 10:07:04 -0800 (PST) From: Vidar Ramdal <martinnancy@example.net> Date: Mon, 1 Mar 2010 19:06:44 +0100 Message-ID: <martinnancy@example.net> Subject: Registering 401 error handling script To: users <martinnancy@example.net> Content-Type: text/plain; charset=ISO-8859-1 I'm trying to register a .esp to handle 401 Not Authorized errors, but I can't get Sling to use it. Instead, I'm getting the standard 401 page as produced by Jetty. I have a 404.esp in the same folder, which is invoked as expected. Is the 401 script supposed to be supported, or are there limitations to what errors could be handled by scripts? -- Vidar S. Ramdal <martinnancy@example.net> - http://www.idium.no Sommerrogata 13-15, N-0255 Oslo, Norway 715-246-7911 / 715-246-7911 From martinnancy@example.net Thu Mar 04 09:28:48 2010 Return-Path: <martinnancy@example.net> Delivered-To: martinnancy@example.net Received: (qmail 64317 invoked from network); 4 Mar 2010 09:28:48 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 4 Mar 2010 09:28:48 -0000 Received: (qmail 97434 invoked by uid 500); 4 Mar 2010 09:28:38 -0000 Delivered-To: martinnancy@example.net Received: (qmail 97353 invoked by uid 500); 4 Mar 2010 09:28:38 -0000 Mailing-List: contact martinnancy@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:martinnancy@example.net> List-Unsubscribe: <mailto:martinnancy@example.net> List-Post: <mailto:martinnancy@example.net> List-Id: <users.sling.apache.org> Reply-To: martinnancy@example.net Delivered-To: mailing list martinnancy@example.net Delivered-To: moderator for martinnancy@example.net Received: (qmail 81754 invoked by uid 99); 4 Mar 2010 09:13:46 -0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Date: Thu, 4 Mar 2010 01:13:17 -0800 (PST) From: bgoetzmann <martinnancy@example.net> To: martinnancy@example.net Message-ID: <martinnancy@example.net> Subject: Getting collections using REST MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hello, I'm really impressed by Sling! I have a beginner question: how to get a collection via the REST interface? For example, with this kind of URL: http://localhost:8080/content/blog/ where Sling should return all nodes under "blog"? Thank you, Bertrand. -- View this message in context: http://n3.nabble.com/Getting-collections-using-REST-tp428146p428146.html Sent from the Sling - Users mailing list martinnancy@example.net. From martinnancy@example.net Thu Mar 04 09:36:56 2010 Return-Path: <martinnancy@example.net> Delivered-To: martinnancy@example.net Received: (qmail 66141 invoked from network); 4 Mar 2010 09:36:56 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 4 Mar 2010 09:36:56 -0000 Received: (qmail 7703 invoked by uid 500); 4 Mar 2010 09:36:46 -0000 Delivered-To: martinnancy@example.net Received: (qmail 7589 invoked by uid 500); 4 Mar 2010 09:36:46 -0000 Mailing-List: contact martinnancy@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:martinnancy@example.net> List-Unsubscribe: <mailto:martinnancy@example.net> List-Post: <mailto:martinnancy@example.net> List-Id: <users.sling.apache.org> Reply-To: martinnancy@example.net Delivered-To: mailing list martinnancy@example.net Received: (qmail 7576 invoked by uid 99); 4 Mar 2010 09:36:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Mar 2010 09:36:46 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of martinnancy@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-vw0-f50.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Mar 2010 09:36:36 +0000 Received: by vws18 with SMTP id 18so932061vws.9 for <martinnancy@example.net>; Thu, 04 Mar 2010 01:36:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=nyknVZbAjPFgkmTFODhKpPYX+FX4kGqLdV1i76qtTdY=; b=QB1jGYrMUM7uxYQ2lCcmiHft9zjV3LFUgj3onPuyksOK2R9haMAmUXW94fMKUIsHja Yh1Os9pGCvPCGuqp6kzHMsioaXJ0W2cqNuDq7QsNgSo/lO2ovks//AX3wqk/nOR8ehyO b3oHUlPh+TtTFu2rHD4kYfqOOCxUMzAtQmoz8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=u1FtS/mO1y1tXfZ/nE8XfWg02iQRCmg62chmX6Jsxgkvds8SmPe0q4ncdLfIaTixen xYuNMcg686e/u/sgHW0zgIJT4o6c7DbXso6B4kG9SyehlAYppQ8tCIXt2dZAa5Slbkpc yDNftqc5XXqdBEWSA2H+EX6gJW+6dJBvf87tQ= Received: by 83.161.120.155 with SMTP id u42mr603091vcr.50.1267695374933; Thu, 04 Mar 2010 01:36:14 -0800 (PST) Received: from dhcp-47.caret.private (ginger.caret.cam.ac.uk [83.161.120.155]) by mx.google.com with ESMTPS id 29sm55648652vws.3.283.161.120.155.36.13 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 04 Mar 2010 01:36:13 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1077) Subject: Re: Getting collections using REST From: Simon Gaeremynck <martinnancy@example.net> In-Reply-To: <martinnancy@example.net> Date: Thu, 4 Mar 2010 09:36:11 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: <martinnancy@example.net> References: <martinnancy@example.net> To: martinnancy@example.net X-Mailer: Apple Mail (2.1077) X-Virus-Checked: Checked by ClamAV on apache.org Hi Bertrand, To get the direct childnodes under a node you can do a GET request=20 to http://localhost:8080/content/blog.1.json If you want to go 2 levels deep you can do: GET http://localhost:8080/content/blog.2.json If you want all of the child nodes you can try GET http://localhost:8080/content/blog.infinity.json Keep in mind that if your collection gets bigger then a certain number = (iirc 200) Sling will respond with a 300. Simon On 4 Mar 2010, at 09:13, bgoetzmann wrote: >=20 > Hello, >=20 > I'm really impressed by Sling! >=20 > I have a beginner question: how to get a collection via the REST = interface? > For example, with this kind of URL: = http://localhost:8080/content/blog/ > where Sling should return all nodes under "blog"? >=20 > Thank you, >=20 >=20 > Bertrand. > --=20 > View this message in context: = http://n3.nabble.com/Getting-collections-using-REST-tp428146p428146.html > Sent from the Sling - Users mailing list martinnancy@example.net. From martinnancy@example.net Thu Mar 04 10:10:47 2010 Return-Path: <martinnancy@example.net> Delivered-To: martinnancy@example.net Received: (qmail 74399 invoked from network); 4 Mar 2010 10:10:47 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 4 Mar 2010 10:10:47 -0000 Received: (qmail 58997 invoked by uid 500); 4 Mar 2010 10:10:37 -0000 Delivered-To: martinnancy@example.net Received: (qmail 58930 invoked by uid 500); 4 Mar 2010 10:10:37 -0000 Mailing-List: contact martinnancy@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:martinnancy@example.net> List-Unsubscribe: <mailto:martinnancy@example.net> List-Post: <mailto:martinnancy@example.net> List-Id: <users.sling.apache.org> Reply-To: martinnancy@example.net Delivered-To: mailing list martinnancy@example.net Delivered-To: moderator for martinnancy@example.net Received: (qmail 55561 invoked by uid 99); 4 Mar 2010 10:06:17 -0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of martinnancy@example.net designates 83.161.120.155 as permitted sender) MIME-Version: 1.0 Date: Thu, 4 Mar 2010 11:05:45 +0100 Message-ID: <martinnancy@example.net> Subject: Modifying multi-value property with Ecmascript From: Erik Buene <martinnancy@example.net> To: martinnancy@example.net Content-Type: multipart/alternative; boundary=0016e6d783fc0d1e870480f6be2e X-Virus-Checked: Checked by ClamAV on apache.org --0016e6d783fc0d1e870480f6be2e Content-Type: text/plain; charset=ISO-8859-1 Hi What is the best way to modify a multi-value property using ecmascript (.esp files)? Was expecting something like this to work: var arr = node.property; arr.push("added value"); node.property = arr; node.save(); And it doesn't produce errors, but the value does not seem to be modified in the repository. The only way I have been able to do it is: var arr = node.property; arr.push("added value"); var valueMap = (resource.adaptTo(Packages.org.apache.sling.api.resource.PersistableValueMap)); var stringArray = java.lang.reflect.Array.newInstance(java.lang.String, arr.length); for(var i =0; i<arr.length; i++) { stringArray[i] = new Packages.java.lang.String(arr[i]); } vm.put("property", stringArray); vm.save(); Surely, there must be a more practical way of doing this. Best regards, Erik Buene --0016e6d783fc0d1e870480f6be2e-- From martinnancy@example.net Thu Mar 04 10:11:16 2010 Return-Path: <martinnancy@example.net> Delivered-To: martinnancy@example.net Received: (qmail 74713 invoked from network); 4 Mar 2010 10:11:16 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 4 Mar 2010 10:11:16 -0000 Received: (qmail 61039 invoked by uid 500); 4 Mar 2010 10:11:06 -0000 Delivered-To: martinnancy@example.net Received: (qmail 61014 invoked by uid 500); 4 Mar 2010 10:11:06 -0000 Mailing-List: contact martinnancy@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:martinnancy@example.net> List-Unsubscribe: <mailto:martinnancy@example.net> List-Post: <mailto:martinnancy@example.net> List-Id: <users.sling.apache.org> Reply-To: martinnancy@example.net Delivered-To: mailing list martinnancy@example.net Received: (qmail 61006 invoked by uid 99); 4 Mar 2010 10:11:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Mar 2010 10:11:06 +0000 X-ASF-Spam-Status: No, hits=4.9 required=10.0 tests=HTML_MESSAGE,SPF_PASS,TRACKER_ID X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of martinnancy@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-ew0-f221.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Mar 2010 10:10:58 +0000 Received: by ewy21 with SMTP id 21so649964ewy.25 for <martinnancy@example.net>; Thu, 04 Mar 2010 02:10:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=0Gw5CH1w+Vhfob6nbX1i1a251kUU4YAS62c0t2M+mV4=; b=k69AgLB51FjAZ+OfW81EV/Zzjz5INuFE105LOtHP3vxTZI9bj7M5xTmq1v0dEVr2Ks 2Tuc0wd2Fpd8vfU5eib+rhYFfBYQIaBAgj5fXS+iozkeUweHYA7hINzT25TYoprCIkFg gLp0VVmXLjT//2X38uv/dgXb4dw+tJB0gL4Lk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=nXIhhN+qG48X7jTowQd7KVRobiHdKb4VDLZS9CyCsMapBc2MbalJAzmKbOvR7VAZDB RKjlY6qeT4sh0UOZMF2uuZJg3fTHGQfPcSHESweTMXwjFLdAAa9wjDdn659GAJhZjcxp HUMXxOSjl0xrPg6ngbmdnVjbACHlVmJ2avMsw= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id v14mr410081ebd.28.1267697433186; Thu, 04 Mar 2010 02:10:33 -0800 (PST) From: Davide Maestroni <martinnancy@example.net> Date: Thu, 4 Mar 2010 11:10:13 +0100 Message-ID: <martinnancy@example.net> Subject: PathResourceTypeProvider To: martinnancy@example.net Content-Type: multipart/alternative; boundary=0014852d24c63019770480f6cfe6 --0014852d24c63019770480f6cfe6 Content-Type: text/plain; charset=ISO-8859-1 Hi all, I am trying to find a way to customize new node creation inside Sling. By setting a specific sling:resourceType I am able to have my servlet called, instead of the default one, when the node is modified (through POST, PUT, DELETE), but I couldn't find a way to do the same before the node is actually created. I tried registering a JcrResourceTypeProvider, but it is anyway called after the node is already there. After looking in several forums I came across the PathResourceTypeProvider interface, which might provide me the right solution to my problem, but I see that is not part of the latest Sling. Do you plan to integrate that feature in future releases? Is there any other (maybe better) way to achieve what I need, i.e. to have my servlet called instead of the default one on new node creation? Thanks in advance, Davide --0014852d24c63019770480f6cfe6-- From martinnancy@example.net Thu Mar 04 11:25:16 2010 Return-Path: <martinnancy@example.net> Delivered-To: martinnancy@example.net Received: (qmail 95939 invoked from network); 4 Mar 2010 11:25:16 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 4 Mar 2010 11:25:16 -0000 Received: (qmail 50918 invoked by uid 500); 4 Mar 2010 11:25:06 -0000 Delivered-To: martinnancy@example.net Received: (qmail 50870 invoked by uid 500); 4 Mar 2010 11:25:06 -0000 Mailing-List: contact martinnancy@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:martinnancy@example.net> List-Unsubscribe: <mailto:martinnancy@example.net> List-Post: <mailto:martinnancy@example.net> List-Id: <users.sling.apache.org> Reply-To: martinnancy@example.net Delivered-To: mailing list martinnancy@example.net Delivered-To: moderator for martinnancy@example.net Received: (qmail 19693 invoked by uid 99); 4 Mar 2010 10:54:13 -0000 X-ASF-Spam-Status: No, hits=3.7 required=10.0 tests=HTML_MESSAGE,MIME_HTML_MOSTLY,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CABB88.F47E9089" Subject: "Resource dumped" on running espblog sample Date: Thu, 4 Mar 2010 11:53:42 +0100 Message-ID: <martinnancy@example.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: "Resource dumped" on running espblog sample thread-index: Acq7iPSugqjnBnrOQTG8BqLFoZ4rVA== From: "Stephanie Seeger" <martinnancy@example.net> To: <martinnancy@example.net> X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01CABB88.F47E9089 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Hi, =20 I'm trying to run the espblog sample. I checked out the latest versions of sling, espblog and path-based-rtp, followed the sling guide and the README of espblog. =20 But even with having installed the "path-based-rtp" bundle I get the "Resource dumped by HtmlRendererServlet" message when accessing to http://localhost:8888/content/espblog/*.html. =20 Tried a few different things.. installing ROOT.war, sling.war. Running on Tomcat, running as standalone. Checked the pages in Firefox and IE. But no changes. =20 Any idea? =20 Regards Stephanie =20 =20 =20 =20 =20 =20 =20 =20 =20 ------_=_NextPart_001_01CABB88.F47E9089-- From martinnancy@example.net Thu Mar 04 11:37:12 2010 Return-Path: <martinnancy@example.net> Delivered-To: martinnancy@example.net Received: (qmail 99710 invoked from network); 4 Mar 2010 11:37:12 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 4 Mar 2010 11:37:12 -0000 Received: (qmail 63392 invoked by uid 500); 4 Mar 2010 11:37:01 -0000 Delivered-To: martinnancy@example.net Received: (qmail 63346 invoked by uid 500); 4 Mar 2010 11:37:01 -0000 Mailing-List: contact martinnancy@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:martinnancy@example.net> List-Unsubscribe: <mailto:martinnancy@example.net> List-Post: <mailto:martinnancy@example.net> List-Id: <users.sling.apache.org> Reply-To: martinnancy@example.net Delivered-To: mailing list martinnancy@example.net Received: (qmail 63338 invoked by uid 99); 4 Mar 2010 11:37:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Mar 2010 11:37:01 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of martinnancy@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO fg-out-1718.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Mar 2010 11:36:52 +0000 Received: by fg-out-1718.google.com with SMTP id 22so1556773fge.3 for <martinnancy@example.net>; Thu, 04 Mar 2010 03:36:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=zbuB46hZ2kbdhy47RA+DNbgOZ9HIJ8Y3aW/yLhR8eUA=; b=IaAtAszRUug5bcaslVyZHw4ggysLbJ1CFc7y+ZeSC5YoBIJlpyIsfA2BEMexD37Vpa j1XLJwsoNaEJ0+EHj6/MFz/d1D8Mtnk5QzQm8WbFlPyUnR09w317iETj2oNPYFY9V+iz A+slmzdiKs4ZmzRGjZMPMYJ3Oe/rS/R6TUHc0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=KJZ2HPDxDJRw8pWW8FPy0gDOSwDGMUFlfVlKHvgQ87b0X9GVmwPWOAknpKLxHnnpVb w/r5QN1kI/Uzdm0HWw6uytVbNtyLamWlz/IVBS20fP83844ohZmFHAQ+DZe0/Al5kekY 5DpHdG5UlDOtES1HydazXdx1hwGHutyW/O2T4= Received: by 83.161.120.155 with SMTP id o30mr95663fgj.33.1267702592046; Thu, 04 Mar 2010 03:36:32 -0800 (PST) Received: from [83.161.120.155] (bsl-rtr.day.com [83.161.120.155]) by mx.google.com with ESMTPS id e3sm854991fga.13.283.161.120.155.36.31 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 04 Mar 2010 03:36:31 -0800 (PST) Message-ID: <martinnancy@example.net> Date: Thu, 04 Mar 2010 12:36:31 +0100 From: Felix Meschberger <martinnancy@example.net> User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:83.161.120.155pre) Gecko/20100120 Shredder/3.0.2pre MIME-Version: 1.0 To: martinnancy@example.net Subject: Re: Modifying multi-value property with Ecmascript References: <martinnancy@example.net> In-Reply-To: <martinnancy@example.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, On 04.03.2010 11:05, Erik Buene wrote: > Hi > > What is the best way to modify a multi-value property using ecmascript (.esp > files)? > > Was expecting something like this to work: > > var arr = node.property; This returns a JCR Property representiation (implemented internally by ScriptableProperty). This is not an array in the EcmaScript sense. > arr.push("added value"); Therefore this does not work. > node.property = arr; Not sure, whether this works at all at the moment. Regards Felix > node.save(); > > And it doesn't produce errors, but the value does not seem to be modified in > the repository. > > The only way I have been able to do it is: > > var arr = node.property; > arr.push("added value"); > var valueMap = > (resource.adaptTo(Packages.org.apache.sling.api.resource.PersistableValueMap)); > var stringArray = java.lang.reflect.Array.newInstance(java.lang.String, > arr.length); > for(var i =0; i<arr.length; i++) { > stringArray[i] = new Packages.java.lang.String(arr[i]); > } > vm.put("property", stringArray); > vm.save(); > > Surely, there must be a more practical way of doing this. > > Best regards, > Erik Buene > From martinnancy@example.net Thu Mar 04 13:33:57 2010 Return-Path: <martinnancy@example.net> Delivered-To: martinnancy@example.net Received: (qmail 39832 invoked from network); 4 Mar 2010 13:33:57 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 4 Mar 2010 13:33:57 -0000 Received: (qmail 41698 invoked by uid 500); 4 Mar 2010 13:33:46 -0000 Delivered-To: martinnancy@example.net Received: (qmail 41674 invoked by uid 500); 4 Mar 2010 13:33:46 -0000 Mailing-List: contact martinnancy@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:martinnancy@example.net> List-Unsubscribe: <mailto:martinnancy@example.net> List-Post: <mailto:martinnancy@example.net> List-Id: <users.sling.apache.org> Reply-To: martinnancy@example.net Delivered-To: mailing list martinnancy@example.net Received: (qmail 41666 invoked by uid 99); 4 Mar 2010 13:33:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Mar 2010 13:33:46 +0000 X-ASF-Spam-Status: No, hits=-1998.5 required=10.0 tests=ALL_TRUSTED,WEIRD_PORT X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO minotaur.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 04 Mar 2010 13:33:46 +0000 Received: (qmail 39780 invoked by uid 99); 4 Mar 2010 13:33:36 -0000 Received: from localhost.apache.org (HELO mail-vw0-f50.google.com) (83.161.120.155) (smtp-auth username bdelacretaz, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Mar 2010 13:33:36 +0000 Received: by vws18 with SMTP id 18so1085312vws.9 for <martinnancy@example.net>; Thu, 04 Mar 2010 05:33:24 -0800 (PST) MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id q15mr900448vcr.186.1267709604631; Thu, 04 Mar 2010 05:33:24 -0800 (PST) In-Reply-To: <martinnancy@example.net> References: <Acq7iPSugqjnBnrOQTG8BqLFoZ4rVA==> <martinnancy@example.net> Date: Thu, 4 Mar 2010 14:33:24 +0100 Message-ID: <martinnancy@example.net> Subject: Re: "Resource dumped" on running espblog sample From: Bertrand Delacretaz <martinnancy@example.net> To: martinnancy@example.net Content-Type: text/plain; charset=UTF-8 Hi Stephanie, On Thu, Mar 4, 2010 at 11:53 AM, Stephanie Seeger <martinnancy@example.net> wrote: > I'm trying to run the espblog sample. > I checked out the latest versions of sling, espblog and path-based-rtp, > followed the sling guide and the README of espblog. > > But even with having installed the "path-based-rtp" bundle I get the > "Resource dumped by HtmlRendererServlet" message when accessing to > http://localhost:8888/content/espblog/*.html.... I checked and this does indeed not work in the current trunk, due to a regression introduced by SLING-1420. For now, if you use revision 795864 instead of trunk (svn export -r 795864...) the sample should work, please confirm if you try that. Sorry for the inconvenience - it looks like we don't have automated tests for that so we missed the regression. -Bertrand From martinnancy@example.net Thu Mar 04 13:37:06 2010 Return-Path: <martinnancy@example.net> Delivered-To: martinnancy@example.net Received: (qmail 40529 invoked from network); 4 Mar 2010 13:37:06 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 4 Mar 2010 13:37:06 -0000 Received: (qmail 48978 invoked by uid 500); 4 Mar 2010 13:36:55 -0000 Delivered-To: martinnancy@example.net Received: (qmail 48953 invoked by uid 500); 4 Mar 2010 13:36:55 -0000 Mailing-List: contact martinnancy@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:martinnancy@example.net> List-Unsubscribe: <mailto:martinnancy@example.net> List-Post: <mailto:martinnancy@example.net> List-Id: <users.sling.apache.org> Reply-To: martinnancy@example.net Delivered-To: mailing list martinnancy@example.net Received: (qmail 48945 invoked by uid 99); 4 Mar 2010 13:36:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Mar 2010 13:36:55 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of martinnancy@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-ew0-f221.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Mar 2010 13:36:47 +0000 Received: by ewy21 with SMTP id 21so760454ewy.25 for <martinnancy@example.net>; Thu, 04 Mar 2010 05:36:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=37PYWUrrkXgf0ZdCspNUPgt0wQptFj67b0mRXrt23wM=; b=cHYkZ5m7FfbMUE0pAaSMVWqvdkbwETlQ83xZlOenir8jdo/nC1hbSEZ+bxbYfUXg/C shnf+MwyhWED+G1XWlaUUsABH0fi62V5MMb1BYmgfq/4+vSRyfkVgK0njioJbhcZm3wr ku+Lsq5oaFDdg0rZrshoaSJ8tpXbKJqEmzkoQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=Kqxk8s65sTkzw9rIUJkzOyS40ukC9MbUPznP2ukTOOpHKEa5nxG0SZ1pd4dAhkTj3U GAEVXZyTW2jA5LiKNnO9+hng+lExpJzbHrzKBgNKhwqqJ4XT8lUxyEWUdeQsh9IoJhWn zmckXeQOpjPgokcTMhu5VobRssorPgde+lLPE= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id i20mr3330704ebn.35.1267709787142; Thu, 04 Mar 2010 05:36:27 -0800 (PST) From: Davide Maestroni <martinnancy@example.net> Date: Thu, 4 Mar 2010 14:36:07 +0100 Message-ID: <martinnancy@example.net> Subject: Issue with <Sling-Initial-Content> To: martinnancy@example.net Content-Type: multipart/alternative; boundary=001636c5a55d8a7bad0480f9af43 X-Virus-Checked: Checked by ClamAV on apache.org --001636c5a55d8a7bad0480f9af43 Content-Type: text/plain; charset=ISO-8859-1 Hi all, I came across an issue with the <Sling-Initial-Content> setting in my bundle. As far as I set it to "SLING-INF/content;overwrite:=false" everything works correctly, i.e. when I re-deploy the bundle the content of the repository is still there. But, after the first time I deploy it with "SLING-INF/content;overwrite:=true" there's no way to return to the previous setting. In fact, even if I re-deploy the bundle with the original configuration ("SLING-INF/content;overwrite:=false"), the content is deleted every time. Here is what I did: 1) deploy the bundle with "overwrite:=false" 2) add some nodes 3) deploy the bundle with "overwrite:=false", the nodes are still there (OK) 4) deploy the bundle with "overwrite:=true", the nodes are deleted (OK) 5) add some nodes 6) deploy the bundle with "overwrite:=false", the nodes are not there (OK, since uninstall was implicitly true) 7) add some nodes 8) deploy the bundle with "overwrite:=false", the nodes are not there anymore! (NG) 9) add some nodes 10) deploy the bundle with "overwrite:=false", the nodes are still not there! (NG) I tried also to explicitly set the "uninstall" property but with no luck. What's wrong with my configuration? Thanks Davide --001636c5a55d8a7bad0480f9af43-- From martinnancy@example.net Thu Mar 04 14:16:46 2010 Return-Path: <martinnancy@example.net> Delivered-To: martinnancy@example.net Received: (qmail 53635 invoked from network); 4 Mar 2010 14:16:46 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 4 Mar 2010 14:16:46 -0000 Received: (qmail 53460 invoked by uid 500); 4 Mar 2010 14:16:35 -0000 Delivered-To: martinnancy@example.net Received: (qmail 53435 invoked by uid 500); 4 Mar 2010 14:16:35 -0000 Mailing-List: contact martinnancy@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:martinnancy@example.net> List-Unsubscribe: <mailto:martinnancy@example.net> List-Post: <mailto:martinnancy@example.net> List-Id: <users.sling.apache.org> Reply-To: martinnancy@example.net Delivered-To: mailing list martinnancy@example.net Received: (qmail 53427 invoked by uid 99); 4 Mar 2010 14:16:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Mar 2010 14:16:35 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of martinnancy@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-ww0-f50.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Mar 2010 14:16:27 +0000 Received: by wwc33 with SMTP id 33so1286201wwc.9 for <martinnancy@example.net>; Thu, 04 Mar 2010 06:16:07 -0800 (PST) MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id g16mr140719wef.102.1267712164642; Thu, 04 Mar 2010 06:16:04 -0800 (PST) In-Reply-To: <martinnancy@example.net> References: <martinnancy@example.net> <martinnancy@example.net> Date: Thu, 4 Mar 2010 15:16:04 +0100 Message-ID: <martinnancy@example.net> Subject: Re: Modifying multi-value property with Ecmascript From: Erik Buene <martinnancy@example.net> To: martinnancy@example.net Content-Type: multipart/alternative; boundary=0016e6d7ec6c4041930480fa3d42 X-Virus-Checked: Checked by ClamAV on apache.org --0016e6d7ec6c4041930480fa3d42 Content-Type: text/plain; charset=ISO-8859-1 So the method I described as working is the best way to update multi-value properties using ecmascript? Regards, Erik Buene 2010/3/4 Felix Meschberger <martinnancy@example.net> > Hi, > > On 04.03.2010 11:05, Erik Buene wrote: > > Hi > > > > What is the best way to modify a multi-value property using ecmascript > (.esp > > files)? > > > > Was expecting something like this to work: > > > > var arr = node.property; > > This returns a JCR Property representiation (implemented internally by > ScriptableProperty). This is not an array in the EcmaScript sense. > > > arr.push("added value"); > > Therefore this does not work. > > > node.property = arr; > > Not sure, whether this works at all at the moment. > > Regards > Felix > > > > node.save(); > > > > > > > And it doesn't produce errors, but the value does not seem to be modified > in > > the repository. > > > > The only way I have been able to do it is: > > > > var arr = node.property; > > arr.push("added value"); > > var valueMap = > > > (resource.adaptTo(Packages.org.apache.sling.api.resource.PersistableValueMap)); > > var stringArray = java.lang.reflect.Array.newInstance(java.lang.String, > > arr.length); > > for(var i =0; i<arr.length; i++) { > > stringArray[i] = new Packages.java.lang.String(arr[i]); > > } > > vm.put("property", stringArray); > > vm.save(); > > > > Surely, there must be a more practical way of doing this. > > > > Best regards, > > Erik Buene > > > --0016e6d7ec6c4041930480fa3d42-- From martinnancy@example.net Thu Mar 04 20:03:36 2010 Return-Path: <martinnancy@example.net> Delivered-To: martinnancy@example.net Received: (qmail 80553 invoked from network); 4 Mar 2010 20:03:36 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 4 Mar 2010 20:03:36 -0000 Received: (qmail 72097 invoked by uid 500); 4 Mar 2010 20:03:25 -0000 Delivered-To: martinnancy@example.net Received: (qmail 72074 invoked by uid 500); 4 Mar 2010 20:03:25 -0000 Mailing-List: contact martinnancy@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:martinnancy@example.net> List-Unsubscribe: <mailto:martinnancy@example.net> List-Post: <mailto:martinnancy@example.net> List-Id: <users.sling.apache.org> Reply-To: martinnancy@example.net Delivered-To: mailing list martinnancy@example.net Received: (qmail 72066 invoked by uid 99); 4 Mar 2010 20:03:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Mar 2010 20:03:24 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of martinnancy@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-fx0-f221.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Mar 2010 20:03:16 +0000 Received: by fxm21 with SMTP id 21so312815fxm.25 for <martinnancy@example.net>; Thu, 04 Mar 2010 12:02:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=5wKjgSE5RV1t1BUwYLDYD8L0h5T8Q5SaLSawD6XLiUY=; b=BDBcpy5RxlMWk3m/Rw23t648uf6/d2Zb3WVarYWAPBn/Wtgdx3ei2aGAkd4UvOqVRu Brm2Ko3wzr0iFoiBP0Q3Zq6qtazo/lSKMQ+1huigXQEZG+q4Wvs27I+enYSj+nbHxBpp 8GWU0YN7UzbxH6cq8z7wueX3RGIhYuFCdiTc8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=HeGFRg1QGmWMbKHERbXOqlmB72Nj69cCYPhABuVASEN/8LzvPVjNMsotB2W4h65mDq sI4BjTvNm1AQW7auJyTtzNE0T6Z+CNnM+DVYunOdjX6qEI9PNqXhV9G9wSS45hPOJfW7 5TU45fO+hbyMiam9zOHotkUMMHcFToNAb3/2I= Received: by 83.161.120.155 with SMTP id 28mr241175fau.26.1267732974657; Thu, 04 Mar 2010 12:02:54 -0800 (PST) Received: from [83.161.120.155] (cable-static-138-82.eblcom.ch [83.161.120.155]) by mx.google.com with ESMTPS id 13sm656861fxm.6.283.161.120.155.02.53 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 04 Mar 2010 12:02:53 -0800 (PST) Message-ID: <martinnancy@example.net> Date: Thu, 04 Mar 2010 21:02:52 +0100 From: Felix Meschberger <martinnancy@example.net> User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:83.161.120.155pre) Gecko/20100120 Shredder/3.0.2pre MIME-Version: 1.0 To: martinnancy@example.net Subject: Re: Modifying multi-value property with Ecmascript References: <martinnancy@example.net> <martinnancy@example.net> <martinnancy@example.net> In-Reply-To: <martinnancy@example.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi, On 04.03.2010 15:16, Erik Buene wrote: > So the method I described as working is the best way to update multi-value > properties using ecmascript? Yes, for now this is so. But in [1] on the dev@ list I reasoned about "fixing" this use case. Regards Felix [1] http://markmail.org/message/nacovry3p5l3a2jx > > Regards, > Erik Buene > > 2010/3/4 Felix Meschberger <martinnancy@example.net> > >> Hi, >> >> On 04.03.2010 11:05, Erik Buene wrote: >>> Hi >>> >>> What is the best way to modify a multi-value property using ecmascript >> (.esp >>> files)? >>> >>> Was expecting something like this to work: >>> >>> var arr = node.property; >> >> This returns a JCR Property representiation (implemented internally by >> ScriptableProperty). This is not an array in the EcmaScript sense. >> >>> arr.push("added value"); >> >> Therefore this does not work. >> >>> node.property = arr; >> >> Not sure, whether this works at all at the moment. >> >> Regards >> Felix >> >> >>> node.save(); >> >> >> >>> >>> And it doesn't produce errors, but the value does not seem to be modified >> in >>> the repository. >>> >>> The only way I have been able to do it is: >>> >>> var arr = node.property; >>> arr.push("added value"); >>> var valueMap = >>> >> (resource.adaptTo(Packages.org.apache.sling.api.resource.PersistableValueMap)); >>> var stringArray = java.lang.reflect.Array.newInstance(java.lang.String, >>> arr.length); >>> for(var i =0; i<arr.length; i++) { >>> stringArray[i] = new Packages.java.lang.String(arr[i]); >>> } >>> vm.put("property", stringArray); >>> vm.save(); >>> >>> Surely, there must be a more practical way of doing this. >>> >>> Best regards, >>> Erik Buene >>> >> > From martinnancy@example.net Thu Mar 04 20:30:32 2010 Return-Path: <martinnancy@example.net> Delivered-To: martinnancy@example.net Received: (qmail 86261 invoked from network); 4 Mar 2010 20:30:32 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 4 Mar 2010 20:30:32 -0000 Received: (qmail 11384 invoked by uid 500); 4 Mar 2010 20:30:20 -0000 Delivered-To: martinnancy@example.net Received: (qmail 11364 invoked by uid 500); 4 Mar 2010 20:30:20 -0000 Mailing-List: contact martinnancy@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:martinnancy@example.net> List-Unsubscribe: <mailto:martinnancy@example.net> List-Post: <mailto:martinnancy@example.net> List-Id: <users.sling.apache.org> Reply-To: martinnancy@example.net Delivered-To: mailing list martinnancy@example.net Received: (qmail 11356 invoked by uid 99); 4 Mar 2010 20:30:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Mar 2010 20:30:20 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of martinnancy@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-wy0-f178.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Mar 2010 20:30:10 +0000 Received: by wyj26 with SMTP id 26so1475661wyj.9 for <martinnancy@example.net>; Thu, 04 Mar 2010 12:29:50 -0800 (PST) MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id u44mr53182wee.65.1267734589818; Thu, 04 Mar 2010 12:29:49 -0800 (PST) In-Reply-To: <martinnancy@example.net> References: <martinnancy@example.net> <martinnancy@example.net> <martinnancy@example.net> <martinnancy@example.net> Date: Thu, 4 Mar 2010 21:29:49 +0100 Message-ID: <martinnancy@example.net> Subject: Re: Modifying multi-value property with Ecmascript From: Erik Buene <martinnancy@example.net> To: martinnancy@example.net Content-Type: multipart/alternative; boundary=0016e6d7e744e548c20480ff7527 X-Virus-Checked: Checked by ClamAV on apache.org --0016e6d7e744e548c20480ff7527 Content-Type: text/plain; charset=ISO-8859-1 Ok, thank you for considering to "fix" this. :) Regards, Erik Buene 2010/3/4 Felix Meschberger <martinnancy@example.net> > Hi, > > On 04.03.2010 15:16, Erik Buene wrote: > > So the method I described as working is the best way to update > multi-value > > properties using ecmascript? > > Yes, for now this is so. > > But in [1] on the dev@ list I reasoned about "fixing" this use case. > > Regards > Felix > > [1] http://markmail.org/message/nacovry3p5l3a2jx > > > > > Regards, > > Erik Buene > > > > 2010/3/4 Felix Meschberger <martinnancy@example.net> > > > >> Hi, > >> > >> On 04.03.2010 11:05, Erik Buene wrote: > >>> Hi > >>> > >>> What is the best way to modify a multi-value property using ecmascript > >> (.esp > >>> files)? > >>> > >>> Was expecting something like this to work: > >>> > >>> var arr = node.property; > >> > >> This returns a JCR Property representiation (implemented internally by > >> ScriptableProperty). This is not an array in the EcmaScript sense. > >> > >>> arr.push("added value"); > >> > >> Therefore this does not work. > >> > >>> node.property = arr; > >> > >> Not sure, whether this works at all at the moment. > >> > >> Regards > >> Felix > >> > >> > >>> node.save(); > >> > >> > >> > >>> > >>> And it doesn't produce errors, but the value does not seem to be > modified > >> in > >>> the repository. > >>> > >>> The only way I have been able to do it is: > >>> > >>> var arr = node.property; > >>> arr.push("added value"); > >>> var valueMap = > >>> > >> > (resource.adaptTo(Packages.org.apache.sling.api.resource.PersistableValueMap)); > >>> var stringArray = java.lang.reflect.Array.newInstance(java.lang.String, > >>> arr.length); > >>> for(var i =0; i<arr.length; i++) { > >>> stringArray[i] = new Packages.java.lang.String(arr[i]); > >>> } > >>> vm.put("property", stringArray); > >>> vm.save(); > >>> > >>> Surely, there must be a more practical way of doing this. > >>> > >>> Best regards, > >>> Erik Buene > >>> > >> > > > --0016e6d7e744e548c20480ff7527-- From martinnancy@example.net Fri Mar 05 09:24:36 2010 Return-Path: <martinnancy@example.net> Delivered-To: martinnancy@example.net Received: (qmail 81188 invoked from network); 5 Mar 2010 09:24:36 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 5 Mar 2010 09:24:36 -0000 Received: (qmail 47037 invoked by uid 500); 5 Mar 2010 09:24:23 -0000 Delivered-To: martinnancy@example.net Received: (qmail 46889 invoked by uid 500); 5 Mar 2010 09:24:21 -0000 Mailing-List: contact martinnancy@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:martinnancy@example.net> List-Unsubscribe: <mailto:martinnancy@example.net> List-Post: <mailto:martinnancy@example.net> List-Id: <users.sling.apache.org> Reply-To: martinnancy@example.net Delivered-To: mailing list martinnancy@example.net Received: (qmail 46881 invoked by uid 99); 5 Mar 2010 09:24:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Mar 2010 09:24:20 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO msxmx04.webde.de) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Mar 2010 09:24:12 +0000 Received: from WEBEXCHANGE.webde.local (webexc02.webde.local [83.161.120.155]) by msxmx04.webde.de (Postfix) with ESMTP id A711F1820E for <martinnancy@example.net>; Fri, 5 Mar 2010 10:23:52 +0100 (CET) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Subject: AW: "Resource dumped" on running espblog sample Date: Fri, 5 Mar 2010 10:23:51 +0100 Message-ID: <martinnancy@example.net> In-Reply-To: <martinnancy@example.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: "Resource dumped" on running espblog sample thread-index: Acq7oWoIUjEjWMJOSXiA32GIgMsm/gAoyjew References: <Acq7iPSugqjnBnrOQTG8BqLFoZ4rVA==> <martinnancy@example.net> <martinnancy@example.net> From: "Stephanie Seeger" <martinnancy@example.net> To: <martinnancy@example.net> X-Virus-Checked: Checked by ClamAV on apache.org Hi Bertrand, > I checked and this does indeed not work in the current trunk,=20 > due to a regression introduced by SLING-1420. >=20 > For now, if you use revision 795864 instead of trunk (svn export -r > 795864...) the sample should work, please confirm if you try that. >=20 > Sorry for the inconvenience - it looks like we don't have=20 > automated tests for that so we missed the regression. > -Bertrand >=20 I first tried the revision 795864, but had some problems with this. The project structure is different to the actual one and I was used to have a launchpad/builder directory ;) So I tried a newer revision {2010-02-01} and it worked for me! Regards Stephanie From martinnancy@example.net Fri Mar 05 09:32:17 2010 Return-Path: <martinnancy@example.net> Delivered-To: martinnancy@example.net Received: (qmail 83709 invoked from network); 5 Mar 2010 09:32:17 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 5 Mar 2010 09:32:17 -0000 Received: (qmail 57707 invoked by uid 500); 5 Mar 2010 09:32:04 -0000 Delivered-To: martinnancy@example.net Received: (qmail 57571 invoked by uid 500); 5 Mar 2010 09:32:03 -0000 Mailing-List: contact martinnancy@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:martinnancy@example.net> List-Unsubscribe: <mailto:martinnancy@example.net> List-Post: <mailto:martinnancy@example.net> List-Id: <users.sling.apache.org> Reply-To: martinnancy@example.net Delivered-To: mailing list martinnancy@example.net Received: (qmail 57559 invoked by uid 99); 5 Mar 2010 09:32:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Mar 2010 09:32:02 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO minotaur.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 05 Mar 2010 09:32:00 +0000 Received: (qmail 83619 invoked by uid 99); 5 Mar 2010 09:31:52 -0000 Received: from localhost.apache.org (HELO mail-fx0-f221.google.com) (83.161.120.155) (smtp-auth username bdelacretaz, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Mar 2010 09:31:52 +0000 Received: by fxm21 with SMTP id 21so1103759fxm.25 for <martinnancy@example.net>; Fri, 05 Mar 2010 01:31:37 -0800 (PST) MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id m27mr792923fan.16.1267781497218; Fri, 05 Mar 2010 01:31:37 -0800 (PST) In-Reply-To: <martinnancy@example.net> References: <martinnancy@example.net> <martinnancy@example.net> <martinnancy@example.net> Date: Fri, 5 Mar 2010 10:31:37 +0100 Message-ID: <martinnancy@example.net> Subject: Re: "Resource dumped" on running espblog sample From: Bertrand Delacretaz <martinnancy@example.net> To: martinnancy@example.net Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org Hi Stephanie, On Fri, Mar 5, 2010 at 10:23 AM, Stephanie Seeger <martinnancy@example.net> wrote: > ...I first tried the revision 795864, but had some problems with this. The > project structure is different to the actual one and I was used to have > a launchpad/builder directory ;) > So I tried a newer revision {2010-02-01} and it worked for me!... Ok, thanks for the feedback! I'll add that info to SLING-1420. -Bertrand From martinnancy@example.net Sat Mar 06 15:11:10 2010 Return-Path: <martinnancy@example.net> Delivered-To: martinnancy@example.net Received: (qmail 50283 invoked from network); 6 Mar 2010 15:11:10 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 6 Mar 2010 15:11:10 -0000 Received: (qmail 75308 invoked by uid 500); 6 Mar 2010 15:10:53 -0000 Delivered-To: martinnancy@example.net Received: (qmail 75268 invoked by uid 500); 6 Mar 2010 15:10:52 -0000 Mailing-List: contact martinnancy@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:martinnancy@example.net> List-Unsubscribe: <mailto:martinnancy@example.net> List-Post: <mailto:martinnancy@example.net> List-Id: <users.sling.apache.org> Reply-To: martinnancy@example.net Delivered-To: mailing list martinnancy@example.net Received: (qmail 75260 invoked by uid 99); 6 Mar 2010 15:10:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Mar 2010 15:10:51 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of martinnancy@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-wy0-f178.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Mar 2010 15:10:51 +0000 Received: by wyj26 with SMTP id 26so2304492wyj.9 for <martinnancy@example.net>; Sat, 06 Mar 2010 07:10:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=wt3Y5+qU15lN7OYh+Jr3DjcYF87QOxvTB+8xIkW+X4Q=; b=r9jrw1igas/G/U6OY/OPyjY1jHG2uHCAccHhk9kmBpTZ4pXbvn7Kzi4AlVpOxFosTB 575/YZHwxGo1T5dZYeb+/mLlRST28B0SxsXfMP69dhR5c7bUGV4D2jBDh2UgeRN4nuw6 eDji36CIOzCykw/kjupCXNP4SRbnjLIirQsmo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Lf8f9lTbdiJE28MDpDhO8D+dSG5ZcATn4rS6Ncpvc/++xd0HkUwa7BfIaKyjSb9I4P lP3W2lDVvmG5SdPERwsP1AwlAbxNOd/DdbNbGkmEDTdHlUuAX/DnPxmVb7GcLsUDJPKj bczpbG9iY9FgUgeU7P09EF5qziczbjll6vElo= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id c63mr1088424wef.211.1267888229895; Sat, 06 Mar 2010 07:10:29 -0800 (PST) Date: Sat, 6 Mar 2010 10:10:29 -0500 Message-ID: <martinnancy@example.net> Subject: Looking to incorporate Jackrabbit 2.0.0 into Sling standalone From: John Burnley <martinnancy@example.net> To: martinnancy@example.net Content-Type: multipart/alternative; boundary=0016e6d464cc8ecfd90481233bf2 --0016e6d464cc8ecfd90481233bf2 Content-Type: text/plain; charset=ISO-8859-1 I've been looking for a way to add the Jackrabbit 2.0.0 bundle to the Sling standalone project. I expect this can be done using Felix but I haven't been able to find any documentation on how to go about it. Does anyone have any ideas or advice on how to get this figured out? Thanks, John Burnley --0016e6d464cc8ecfd90481233bf2-- From martinnancy@example.net Sat Mar 06 19:13:17 2010 Return-Path: <martinnancy@example.net> Delivered-To: martinnancy@example.net Received: (qmail 1006 invoked from network); 6 Mar 2010 19:13:16 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 6 Mar 2010 19:13:16 -0000 Received: (qmail 24708 invoked by uid 500); 6 Mar 2010 19:12:59 -0000 Delivered-To: martinnancy@example.net Received: (qmail 24674 invoked by uid 500); 6 Mar 2010 19:12:59 -0000 Mailing-List: contact martinnancy@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:martinnancy@example.net> List-Unsubscribe: <mailto:martinnancy@example.net> List-Post: <mailto:martinnancy@example.net> List-Id: <users.sling.apache.org> Reply-To: martinnancy@example.net Delivered-To: mailing list martinnancy@example.net Received: (qmail 24666 invoked by uid 99); 6 Mar 2010 19:12:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Mar 2010 19:12:59 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of martinnancy@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO fg-out-1718.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Mar 2010 19:12:51 +0000 Received: by fg-out-1718.google.com with SMTP id d23so471914fga.3 for <martinnancy@example.net>; Sat, 06 Mar 2010 11:12:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=nOJBhRipDAg9EyRs+DA5vrqnHX2mefbZaGl0FCoIDmw=; b=gBeIioKtuabw/DCCNOMhNglahRSR28NQQZmoLzdoXMmosjjjXl7mnPAqGFFtO/eDQ2 7SFJDxrpdUuIRhDb3XxoRC/bBVaisbWX5oPbBl4gtxfKWl4UckHWAvSlhl55d654D1l6 eWf4xGOMFANUcP4HOhJNTGtSTMfzwYNdQSrLI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=abQokDWWULFvIN4NKEx/zbGlvJJC4Bg/eVgL9Au9fCD8Re60VPiStX+k9QN6a16Hxr d8YHI9T1hVa4SFuNXd0l5v1RR4bkzDZZyVYxFu5G2buQDcI3HnSXtc2avO3D4Kex95mz Uah6bsG8lx4D6GA/riSmBYaPRTIJ5XjFAt7Ig= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id a23mr2944290fgl.76.1267902750566; Sat, 06 Mar 2010 11:12:30 -0800 (PST) In-Reply-To: <martinnancy@example.net> References: <martinnancy@example.net> Date: Sat, 6 Mar 2010 14:12:30 -0500 Message-ID: <martinnancy@example.net> Subject: Re: Looking to incorporate Jackrabbit 2.0.0 into Sling standalone From: Justin Edelson <martinnancy@example.net> To: martinnancy@example.net Content-Type: multipart/alternative; boundary=0016364588aa0ec5e30481269da0 X-Virus-Checked: Checked by ClamAV on apache.org --0016364588aa0ec5e30481269da0 Content-Type: text/plain; charset=ISO-8859-1 Jackrabbit 2 is integrated into Sling standalone in the current trunk. Justin On Sat, Mar 6, 2010 at 10:10 AM, John Burnley <martinnancy@example.net>wrote: > I've been looking for a way to add the Jackrabbit 2.0.0 bundle to the Sling > standalone project. I expect this can be done using Felix but I haven't > been > able to find any documentation on how to go about it. Does anyone have any > ideas or advice on how to get this figured out? > > Thanks, > John Burnley > --0016364588aa0ec5e30481269da0-- From martinnancy@example.net Tue Mar 09 09:32:10 2010 Return-Path: <martinnancy@example.net> Delivered-To: martinnancy@example.net Received: (qmail 55904 invoked from network); 9 Mar 2010 09:32:10 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 9 Mar 2010 09:32:10 -0000 Received: (qmail 93266 invoked by uid 500); 9 Mar 2010 09:31:44 -0000 Delivered-To: martinnancy@example.net Received: (qmail 93139 invoked by uid 500); 9 Mar 2010 09:31:41 -0000 Mailing-List: contact martinnancy@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:martinnancy@example.net> List-Unsubscribe: <mailto:martinnancy@example.net> List-Post: <mailto:martinnancy@example.net> List-Id: <users.sling.apache.org> Reply-To: martinnancy@example.net Delivered-To: mailing list martinnancy@example.net Received: (qmail 93131 invoked by uid 99); 9 Mar 2010 09:31:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Mar 2010 09:31:41 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO minotaur.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 09 Mar 2010 09:31:39 +0000 Received: (qmail 55697 invoked by uid 99); 9 Mar 2010 09:31:43 -0000 Received: from localhost.apache.org (HELO bsls-019.corp.day.com) (83.161.120.155) (smtp-auth username cziegeler, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Mar 2010 09:31:43 +0000 Message-ID: <martinnancy@example.net> Date: Tue, 09 Mar 2010 10:31:13 +0100 From: Carsten Ziegeler <martinnancy@example.net> User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; de; rv:83.161.120.155) Gecko/20090812 Lightning/0.9 Thunderbird/83.161.120.155 Mnenhy/83.161.120.1556 MIME-Version: 1.0 To: martinnancy@example.net Subject: Re: Issue with <Sling-Initial-Content> References: <martinnancy@example.net> In-Reply-To: <martinnancy@example.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Davide Maestroni wrote > Hi all, > > I came across an issue with the <Sling-Initial-Content> setting in my > bundle. > As far as I set it to "SLING-INF/content;overwrite:=false" everything works > correctly, i.e. when I re-deploy the bundle the content of the repository is > still there. But, after the first time I deploy it with > "SLING-INF/content;overwrite:=true" there's no way to return to the previous > setting. In fact, even if I re-deploy the bundle with the original > configuration ("SLING-INF/content;overwrite:=false"), the content is deleted > every time. > > Here is what I did: > 1) deploy the bundle with "overwrite:=false" > 2) add some nodes > 3) deploy the bundle with "overwrite:=false", the nodes are still there (OK) > 4) deploy the bundle with "overwrite:=true", the nodes are deleted (OK) > 5) add some nodes > 6) deploy the bundle with "overwrite:=false", the nodes are not there (OK, > since uninstall was implicitly true) > 7) add some nodes > 8) deploy the bundle with "overwrite:=false", the nodes are not there > anymore! (NG) > 9) add some nodes > 10) deploy the bundle with "overwrite:=false", the nodes are still not > there! (NG) > > I tried also to explicitly set the "uninstall" property but with no luck. > What's wrong with my configuration? > I'm not 100% sure but maybe you hit a bug in the content installer. Can you please create a JIRA issue for this? Thanks Carsten -- Carsten Ziegeler martinnancy@example.net From martinnancy@example.net Fri Mar 12 16:10:45 2010 Return-Path: <martinnancy@example.net> Delivered-To: martinnancy@example.net Received: (qmail 26102 invoked from network); 12 Mar 2010 16:10:45 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 12 Mar 2010 16:10:45 -0000 Received: (qmail 69726 invoked by uid 500); 12 Mar 2010 16:10:08 -0000 Delivered-To: martinnancy@example.net Received: (qmail 69698 invoked by uid 500); 12 Mar 2010 16:10:07 -0000 Mailing-List: contact martinnancy@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:martinnancy@example.net> List-Unsubscribe: <mailto:martinnancy@example.net> List-Post: <mailto:martinnancy@example.net> List-Id: <users.sling.apache.org> Reply-To: martinnancy@example.net Delivered-To: mailing list martinnancy@example.net Received: (qmail 69690 invoked by uid 99); 12 Mar 2010 16:10:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Mar 2010 16:10:07 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of martinnancy@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-px0-f202.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Mar 2010 16:10:00 +0000 Received: by pxi40 with SMTP id 40so746426pxi.9 for <martinnancy@example.net>; Fri, 12 Mar 2010 08:09:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=HCavN8KckvBqeppzzpBoJpW278LXSIHv5wRdB0nSOD8=; b=Cm1UsEub2LGDCq4ujWlAptscVkE+CdQ/wMb6QQeYjicSzy/l9yTqW763YU8PjOQFY3 TgGcZI5zA52jtVZNN7Cr/a5ykqyEREpYJoVYeTTGMy0bVf6DGqQSdKKi9xpBOwYh5MQS JDxiL4eyFrBSscyAoiQ0eS+ge3wsUAHCqWWmo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=tJvg2SUN0Pgy2fVaSNd5O7XDvVZWSsyAmbtwSS1fEPl66q0FzGlJzJZ1D3gUtSdEZs 4FlCoozzcvYXkBnJ7uGpt0kkieA+dB2fPk02dCzk6AbkdS/3Pk4IGAdcNiSC6ZFrLJSG xdGWMnQmqETn/joaft+HOMGPKMQA7S+ymEkHY= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id d17mr3131827rvm.219.1268410177420; Fri, 12 Mar 2010 08:09:37 -0800 (PST) Date: Fri, 12 Mar 2010 11:09:37 -0500 Message-ID: <martinnancy@example.net> Subject: Sling download page is down From: Michael Yin <martinnancy@example.net> To: martinnancy@example.net Content-Type: multipart/alternative; boundary=000e0cd139260dff0204819cc2d1 X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd139260dff0204819cc2d1 Content-Type: text/plain; charset=ISO-8859-1 "You don't have permission to access /site/downloads.cgi on this server." Where should I download it from? -mike --000e0cd139260dff0204819cc2d1-- From martinnancy@example.net Fri Mar 12 16:40:22 2010 Return-Path: <martinnancy@example.net> Delivered-To: martinnancy@example.net Received: (qmail 35727 invoked from network); 12 Mar 2010 16:40:22 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 12 Mar 2010 16:40:22 -0000 Received: (qmail 18861 invoked by uid 500); 12 Mar 2010 16:39:45 -0000 Delivered-To: martinnancy@example.net Received: (qmail 18837 invoked by uid 500); 12 Mar 2010 16:39:44 -0000 Mailing-List: contact martinnancy@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:martinnancy@example.net> List-Unsubscribe: <mailto:martinnancy@example.net> List-Post: <mailto:martinnancy@example.net> List-Id: <users.sling.apache.org> Reply-To: martinnancy@example.net Delivered-To: mailing list martinnancy@example.net Received: (qmail 18829 invoked by uid 99); 12 Mar 2010 16:39:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Mar 2010 16:39:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO minotaur.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 12 Mar 2010 16:39:43 +0000 Received: (qmail 35299 invoked by uid 99); 12 Mar 2010 16:40:00 -0000 Received: from localhost.apache.org (HELO mail-fx0-f216.google.com) (83.161.120.155) (smtp-auth username bdelacretaz, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Mar 2010 16:40:00 +0000 Received: by fxm8 with SMTP id 8so1362436fxm.25 for <martinnancy@example.net>; Fri, 12 Mar 2010 08:39:21 -0800 (PST) MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id 7mr1381979fan.21.1268411961239; Fri, 12 Mar 2010 08:39:21 -0800 (PST) In-Reply-To: <martinnancy@example.net> References: <martinnancy@example.net> Date: Fri, 12 Mar 2010 17:39:21 +0100 Message-ID: <martinnancy@example.net> Subject: Re: Sling download page is down From: Bertrand Delacretaz <martinnancy@example.net> To: martinnancy@example.net Content-Type: text/plain; charset=UTF-8 Hi, On Fri, Mar 12, 2010 at 5:09 PM, Michael Yin <martinnancy@example.net> wrote: > "You don't have permission to access /site/downloads.cgi on this server." This was supposed to be fixed (SLING-1425) but apparently it's not. > > Where should I download it from? You can use http://apache.org/dyn/closer.cgi/sling in the meantime, and http://archive.apache.org/dist/sling/ for older releases. Those are the same releases than you'd get from the downloads page, just not as neatly presented. -Bertrand From martinnancy@example.net Fri Mar 12 19:37:19 2010 Return-Path: <martinnancy@example.net> Delivered-To: martinnancy@example.net Received: (qmail 94091 invoked from network); 12 Mar 2010 19:37:19 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 12 Mar 2010 19:37:19 -0000 Received: (qmail 56465 invoked by uid 500); 12 Mar 2010 19:36:41 -0000 Delivered-To: martinnancy@example.net Received: (qmail 56443 invoked by uid 500); 12 Mar 2010 19:36:41 -0000 Mailing-List: contact martinnancy@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:martinnancy@example.net> List-Unsubscribe: <mailto:martinnancy@example.net> List-Post: <mailto:martinnancy@example.net> List-Id: <users.sling.apache.org> Reply-To: martinnancy@example.net Delivered-To: mailing list martinnancy@example.net Received: (qmail 56435 invoked by uid 99); 12 Mar 2010 19:36:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Mar 2010 19:36:41 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of martinnancy@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO tarap.cc.columbia.edu) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Mar 2010 19:36:32 +0000 Received: from CUIT-EXCHANGE3.ais.columbia.edu (cuit-x5.cuit.columbia.edu [83.161.120.155]) by tarap.cc.columbia.edu (8.14.3/8.14.3) with ESMTP id o2CJaAf8023919 for <martinnancy@example.net>; Fri, 12 Mar 2010 14:36:11 -0500 (EST) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CAC21B.44DA4F0D" Subject: Versioning - Default POST behaviour Date: Fri, 12 Mar 2010 14:36:10 -0500 Message-ID: <martinnancy@example.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Versioning - Default POST behaviour Thread-Index: AcrCG0TAlz9pf6tWTnO5Xy1Po8lCNA== From: "Carpenter Ngo" <martinnancy@example.net> To: <martinnancy@example.net> X-No-Spam-Score: Local X-Scanned-By: MIMEDefang 2.68 on 83.161.120.155 X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01CAC21B.44DA4F0D Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi there, =20 I am interested in making use of JackRabbit's versioning capabilities, but can not seem to find any evidence of this in the Sling default post servlets (SlingPostServlet.java) in trunk. Currently, it seems that subsequent form submissions to an existing node will just generate a new node with an appended sequential identifier (generateName() of ModifyOperation.java). Am I overlooking something? =20 Thanks. Carpenter ------_=_NextPart_001_01CAC21B.44DA4F0D-- From martinnancy@example.net Fri Mar 12 22:14:34 2010 Return-Path: <martinnancy@example.net> Delivered-To: martinnancy@example.net Received: (qmail 32895 invoked from network); 12 Mar 2010 22:14:33 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 12 Mar 2010 22:14:33 -0000 Received: (qmail 65267 invoked by uid 500); 12 Mar 2010 22:13:55 -0000 Delivered-To: martinnancy@example.net Received: (qmail 65240 invoked by uid 500); 12 Mar 2010 22:13:55 -0000 Mailing-List: contact martinnancy@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:martinnancy@example.net> List-Unsubscribe: <mailto:martinnancy@example.net> List-Post: <mailto:martinnancy@example.net> List-Id: <users.sling.apache.org> Reply-To: martinnancy@example.net Delivered-To: mailing list martinnancy@example.net Received: (qmail 65232 invoked by uid 99); 12 Mar 2010 22:13:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Mar 2010 22:13:55 +0000 X-ASF-Spam-Status: No, hits=4.7 required=10.0 tests=FREEMAIL_FROM,FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of martinnancy@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO qw-out-2122.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Mar 2010 22:13:48 +0000 Received: by qw-out-2122.google.com with SMTP id 8so676370qwh.9 for <martinnancy@example.net>; Fri, 12 Mar 2010 14:13:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=o8KLem7nuWNo0jn79S17MPG6ma+t3FyQXqqwqELG2iM=; b=bzmFWBC5GlUV4Wh6n4tp/LHnKV4tOCkSZYCAFlO0Xod9mNHBpsgccsUstpWhdjWH1p UxncN5l++i/zcbPTmYCMaphUTXpBW4F6myJgZh4BqfDDGXXG2IeVMveHykBjfw++5Dkf ydXvSCjE3nOsSIKpZIVNmFRQ9dg4oGv4jnXkg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Bi0rZGNOqYCW2Zn3VKkFiTn2V4WSGNAvJ4XOvK4h+2VgtjwX6ptWdGzKAPUD4n8jku /LRirHl1gK3iH3vMh2whaK9pn4QO9n7EHrjjdcFM2NM4FxbJl/MjKKSqEAKj9z3f4fFx EpiFnE0nQKEtO96DcBDu1ORlRWzj5fpNNebr0= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id i30mr1516221vcs.238.1268432006999; Fri, 12 Mar 2010 14:13:26 -0800 (PST) In-Reply-To: <martinnancy@example.net> References: <martinnancy@example.net> <martinnancy@example.net> Date: Fri, 12 Mar 2010 17:13:26 -0500 Message-ID: <martinnancy@example.net> Subject: Re: Looking to incorporate Jackrabbit 2.0.0 into Sling standalone From: Michael Yin <martinnancy@example.net> To: martinnancy@example.net Content-Type: multipart/alternative; boundary=001636e1ece332f0b40481a1d7cb X-Virus-Checked: Checked by ClamAV on apache.org --001636e1ece332f0b40481a1d7cb Content-Type: text/plain; charset=ISO-8859-1 how stable is the trunk? is there a way to use it with the sling 5 release? On Sat, Mar 6, 2010 at 2:12 PM, Justin Edelson <martinnancy@example.net>wrote: > Jackrabbit 2 is integrated into Sling standalone in the current trunk. > > Justin > > On Sat, Mar 6, 2010 at 10:10 AM, John Burnley <martinnancy@example.net > >wrote: > > > I've been looking for a way to add the Jackrabbit 2.0.0 bundle to the > Sling > > standalone project. I expect this can be done using Felix but I haven't > > been > > able to find any documentation on how to go about it. Does anyone have > any > > ideas or advice on how to get this figured out? > > > > Thanks, > > John Burnley > > > --001636e1ece332f0b40481a1d7cb-- From martinnancy@example.net Fri Mar 12 22:43:25 2010 Return-Path: <martinnancy@example.net> Delivered-To: martinnancy@example.net Received: (qmail 38843 invoked from network); 12 Mar 2010 22:43:25 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 12 Mar 2010 22:43:25 -0000 Received: (qmail 99733 invoked by uid 500); 12 Mar 2010 22:42:47 -0000 Delivered-To: martinnancy@example.net Received: (qmail 99703 invoked by uid 500); 12 Mar 2010 22:42:47 -0000 Mailing-List: contact martinnancy@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:martinnancy@example.net> List-Unsubscribe: <mailto:martinnancy@example.net> List-Post: <mailto:martinnancy@example.net> List-Id: <users.sling.apache.org> Reply-To: martinnancy@example.net Delivered-To: mailing list martinnancy@example.net Received: (qmail 99695 invoked by uid 99); 12 Mar 2010 22:42:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Mar 2010 22:42:47 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of martinnancy@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-bw0-f217.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Mar 2010 22:42:40 +0000 Received: by bwz9 with SMTP id 9so1706389bwz.25 for <martinnancy@example.net>; Fri, 12 Mar 2010 14:42:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=beeWJq243yQfFkQ6meY/0LPlK6dmI/uT0Nl+QVrMhN4=; b=IrD22BxeSVE5e/HfcHpagL5vubbxNW7Hd3K5nUTFC4/eQ04i/wiOBOsmd+ucJq8T/Y kkH0SOgUCXAW6DEnwJ/32LpE+aXMmoRrgcaqosBjHQKb0ngvjf0mJiTeHzSgCcQ7giph VNQUVpYCAlv4jkQketHwMhzU/T4OdT7+tSCvE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=cY3cUq/36NTcTNJ2fgjUaYHk/GDhv12R3NGxprjfez41+yYa7xrXWakDJ9gtq2Qvxp +yJ1iu5a5P5xDSvWjed6KjneewyID5rQCeiyU4y2NK2un3MkerWvj1jDUlegEIjod+lQ NAm7F26uJqnGL4HiVA8QTdBPliHa8mWoQYWMw= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id o22mr1983376bkv.95.1268433740367; Fri, 12 Mar 2010 14:42:20 -0800 (PST) In-Reply-To: <martinnancy@example.net> References: <martinnancy@example.net> Date: Fri, 12 Mar 2010 23:42:20 +0100 Message-ID: <martinnancy@example.net> Subject: Re: Versioning - Default POST behaviour From: Alvaro Cabrerizo <martinnancy@example.net> To: martinnancy@example.net Content-Type: multipart/alternative; boundary=0015175cd29a8408730481a23e55 X-Virus-Checked: Checked by ClamAV on apache.org --0015175cd29a8408730481a23e55 Content-Type: text/plain; charset=ISO-8859-1 Hi: Try to add the mixinType in the form. For example: <form ...> ... <input type="hidden" name="jcr:mixinTypes" value="mix:versionable" /> ... </form> Regards. 2010/3/12 Carpenter Ngo <martinnancy@example.net> > Hi there, > > > > I am interested in making use of JackRabbit's versioning capabilities, > but can not seem to find any evidence of this in the Sling default post > servlets (SlingPostServlet.java) in trunk. Currently, it seems that > subsequent form submissions to an existing node will just generate a new > node with an appended sequential identifier (generateName() of > ModifyOperation.java). Am I overlooking something? > > > > Thanks. > > Carpenter > > --0015175cd29a8408730481a23e55-- From martinnancy@example.net Sat Mar 13 06:48:42 2010 Return-Path: <martinnancy@example.net> Delivered-To: martinnancy@example.net Received: (qmail 31521 invoked from network); 13 Mar 2010 06:48:42 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 13 Mar 2010 06:48:42 -0000 Received: (qmail 46432 invoked by uid 500); 13 Mar 2010 06:48:03 -0000 Delivered-To: martinnancy@example.net Received: (qmail 46336 invoked by uid 500); 13 Mar 2010 06:48:01 -0000 Mailing-List: contact martinnancy@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:martinnancy@example.net> List-Unsubscribe: <mailto:martinnancy@example.net> List-Post: <mailto:martinnancy@example.net> List-Id: <users.sling.apache.org> Reply-To: martinnancy@example.net Delivered-To: mailing list martinnancy@example.net Received: (qmail 46328 invoked by uid 99); 13 Mar 2010 06:48:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Mar 2010 06:48:00 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of martinnancy@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-bw0-f217.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Mar 2010 06:47:58 +0000 Received: by bwz9 with SMTP id 9so1874031bwz.25 for <martinnancy@example.net>; Fri, 12 Mar 2010 22:47:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com;
{'source': 'Apache Software Foundation Public Mail Archives'}