Return-Path: Delivered-To: apmail-incubator-chemistry-dev-archive@minotaur.apache.org Received: (qmail 13328 invoked from network); 10 May 2010 16:03:56 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 10 May 2010 16:03:56 -0000 Received: (qmail 46379 invoked by uid 500); 10 May 2010 16:03:56 -0000 Delivered-To: apmail-incubator-chemistry-dev-archive@incubator.apache.org Received: (qmail 46344 invoked by uid 500); 10 May 2010 16:03:56 -0000 Mailing-List: contact chemistry-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: chemistry-dev@incubator.apache.org Delivered-To: mailing list chemistry-dev@incubator.apache.org Received: (qmail 46336 invoked by uid 99); 10 May 2010 16:03:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 May 2010 16:03:56 +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 fmueller@opentext.com designates 149.235.128.48 as permitted sender) Received: from [149.235.128.48] (HELO mucmx01.ixos.de) (149.235.128.48) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 May 2010 16:03:48 +0000 Received: from mucpm02.smtp.dmz.opentext.com (localhost [127.0.0.1]) by mucmx01.ixos.de (8.12.10+Sun/8.12.10) with ESMTP id o4AG3STC008649 for ; Mon, 10 May 2010 18:03:28 +0200 (MEST) Received: from MUCXGC1.opentext.net (mucxg04.opentext.net [149.235.128.138]) by mucpm02.smtp.dmz.opentext.com (8.14.4/8.14.4) with ESMTP id o4AG3Re0025300 for ; Mon, 10 May 2010 12:03:27 -0400 (envelope-from fmueller@opentext.com) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Creating a folder Date: Mon, 10 May 2010 18:03:26 +0200 Message-ID: <56C255F88C54014E92512ED3E7848F9404B585D1@MUCXGC1.opentext.net> In-Reply-To: <1BA9863F-3AD7-4922-B7AE-5ABA03D66C61@sourcesense.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Creating a folder Thread-Index: AcrwWM/Nj5lldeEuQTSddywieDDVHgAAFhvA References: <1027495A-ECA3-4CF6-99C8-E3B4A58F9425@sourcesense.com> <56C255F88C54014E92512ED3E7848F9404B585BB@MUCXGC1.opentext.net> <1BA9863F-3AD7-4922-B7AE-5ABA03D66C61@sourcesense.com> From: =?iso-8859-1?Q?Florian_M=FCller?= To: X-Archived: msg.BK1iugS:2010-05-10:mucpm02.smtp.dmz.opentext.com X-Virus-Checked: Checked by ClamAV on apache.org That's one valid way to do it. The Folder class also has a createFolder() method. It would save you one = line if you would use that instead of the one provided by the Session = class. ;-) If you don't want to provide ACLs and policies, you can just pass nulls = instead of empty lists. Florian -----Original Message----- From: Ugo Cei [mailto:u.cei@sourcesense.com]=20 Sent: Montag, 10. Mai 2010 17:52 To: chemistry-dev@incubator.apache.org Subject: Re: Creating a folder On May 10, 2010, at 5:28 PM, Florian M=FCller wrote: > I have seen that before. > Are you using an Alfresco server? There is a bug that has been fixed = in Alfresco 3.3g. Alfresco Community 3.3. Looks like I have to upgrade to 3.3g, right? = Doesn't seem to be already available though. Possibly I will have to = build it from source. By the way, is the code snippet I pasted before "the right way" to do = it? Ugo --=20 Ugo Cei Sourcesense - making sense of Open Source: http://www.sourcesense.com