Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 60189 invoked from network); 7 Jul 2006 13:48:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Jul 2006 13:48:25 -0000 Received: (qmail 44083 invoked by uid 500); 7 Jul 2006 13:48:24 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 43963 invoked by uid 500); 7 Jul 2006 13:48:24 -0000 Mailing-List: contact harmony-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-commits@incubator.apache.org Received: (qmail 43944 invoked by uid 99); 7 Jul 2006 13:48:24 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Jul 2006 06:48:24 -0700 X-ASF-Spam-Status: No, hits=0.8 required=10.0 tests=INFO_TLD X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Jul 2006 06:48:23 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 668FC71428E for ; Fri, 7 Jul 2006 13:46:33 +0000 (GMT) Message-ID: <27075664.1152279993417.JavaMail.jira@brutus> Date: Fri, 7 Jul 2006 13:46:33 +0000 (GMT+00:00) From: "Mark Hindess (JIRA)" To: harmony-commits@incubator.apache.org Subject: [jira] Assigned: (HARMONY-789) logging.properties is missing in VM build In-Reply-To: <2480733.1152192030105.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HARMONY-789?page=all ] Mark Hindess reassigned HARMONY-789: ------------------------------------ Assign To: Mark Hindess > logging.properties is missing in VM build > ----------------------------------------- > > Key: HARMONY-789 > URL: http://issues.apache.org/jira/browse/HARMONY-789 > Project: Harmony > Type: Bug > Components: VM > Environment: Windows XP > Reporter: Anton Luht > Assignee: Mark Hindess > Priority: Minor > > I've built VM and classlib revision 419539 > Trying to run a simple test with logging: > import java.util.logging.Level; > import java.util.logging.Logger; > public class Test { > public static void main(String[] args) { > Logger log = Logger.getAnonymousLogger(); > log.setLevel(Level.INFO); > log.info("hello world"); > } > } > I've got the error: > prompt> \build\win_ia32_msvc_debug\deploy\jre\bin\ij.exe Test > java.io.FileNotFoundException > at org.apache.harmony.luni.platform.OSFileSystem.open(OSFileSystem.java: > 223) > at java.io.FileInputStream.(FileInputStream.java:66) > at java.io.FileInputStream.(FileInputStream.java:110) > at java.util.logging.LogManager.readConfigurationImpl(LogManager.java:45 > 0) > at java.util.logging.LogManager.(LogManager.java:186) > at java.util.logging.Logger.getLoggerWithRes(Logger.java:362) > at java.util.logging.Logger.getLogger(Logger.java:389) > at java.util.logging.Logger.(Logger.java:99) > at Test.main(Test.java:6) > The problem was that logging.properties file was not copied from classlib. The following patch to VM build solves the problem: > Index: build.xml > =================================================================== > --- build.xml (revision 419539) > +++ build.xml (working copy) > @@ -445,6 +445,12 @@ > > > + > + > + > + > + > + > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira