Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 5434 invoked from network); 10 Jul 2010 11:26:06 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 10 Jul 2010 11:26:06 -0000 Received: (qmail 83918 invoked by uid 500); 10 Jul 2010 11:26:06 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 83717 invoked by uid 500); 10 Jul 2010 11:26:03 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 83710 invoked by uid 99); 10 Jul 2010 11:26:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Jul 2010 11:26:02 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,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 nirmal070125@gmail.com designates 209.85.216.172 as permitted sender) Received: from [209.85.216.172] (HELO mail-qy0-f172.google.com) (209.85.216.172) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Jul 2010 11:25:55 +0000 Received: by qyk1 with SMTP id 1so718747qyk.10 for ; Sat, 10 Jul 2010 04:24:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=TCWhYJ8RbaBWHQsSXJ7UmKB/Mit6BvI8Mig5l2aNIxA=; b=XLknK7ta1DM1hXVX5P4wW10vVmh3dXGOdHPSOmrz7EfRpbSrzLylsFM9rHswhAaMYv CRRaaOwCcWVcTtZhxifg2GbU+WJABZWUaThcqJ+xJrytstZ0GDkYSev13jPivd3bfgwu zdGa6bL+LzMlLW54arjGlu4LF/hprEgShNwIA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=snjT451lEUyMwOwerbFGD2UZTBRAUDoLZF+0kPdAFeIoyqftW52xqQQfzDtuRF9pWj TOEmS1Hs8AyHX6gAI+nZ8I1n+S+TUsrxdKKeA5MIVjn7+tvvxUBEDnS1k5S1zwvn+SqK Q25BUUaGb/WIs8Cd3WwPVaFr155dDNAkgo9jc= MIME-Version: 1.0 Received: by 10.224.11.210 with SMTP id u18mr105536qau.30.1278761074757; Sat, 10 Jul 2010 04:24:34 -0700 (PDT) Received: by 10.229.80.3 with HTTP; Sat, 10 Jul 2010 04:24:34 -0700 (PDT) Date: Sat, 10 Jul 2010 16:54:34 +0530 Message-ID: Subject: Additional Permission request to PlanExporter tool's tests From: Nirmal Fernando To: derby-dev@db.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi All, In order to run the tests I've created in XplainStatisticsTest.java class, I need read and write permissions to user's testing directory's extinout folder. Currently in derby_tests.policy file, it doesn't provide IO permissions to extinout folder under user's testing directory. So I like to request from the community to approve the above mentioned permission grant. After adding that permission derby_tests.policy file's relevant portion looks like following: // JUnit jar file tries to read junit.properties in the user's // home directory and seems to require permission to read the // property user.home as well. // junit.swingui.TestRunner writes to .junitsession on exit. grant codeBase "${derbyTesting.junit}" { permission java.util.PropertyPermission "user.home", "read"; permission java.io.FilePermission "${user.home}${/}junit.properties", "read"; permission java.io.FilePermission "${user.home}${/}.junitsession", "write"; // This permission is needed when running the tests using ant 1.7 permission java.io.FilePermission "${user.dir}${/}*", "write"; //DERBY-4587 PlanExporter tool needs this permission in order to run its tests permission java.io.FilePermission "${user.dir}${/}extinout${/}-", "read, write"; // These permissions are needed when testing code instrumented with EMMA. permission java.util.PropertyPermission "${emma.active}user.dir", "read"; permission java.io.FilePermission "${emma.active}${user.dir}${/}coverage.ec", "read, write"; permission java.lang.RuntimePermission "${emma.active}writeFileDescriptor"; }; Thanks. -- Best Regards, Nirmal C.S.Nirmal J. Fernando Department of Computer Science & Engineering, Faculty of Engineering, University of Moratuwa, Sri Lanka.