Return-Path: Delivered-To: apmail-directory-commits-archive@www.apache.org Received: (qmail 20596 invoked from network); 12 Sep 2007 07:17:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Sep 2007 07:17:19 -0000 Received: (qmail 31065 invoked by uid 500); 12 Sep 2007 07:17:12 -0000 Delivered-To: apmail-directory-commits-archive@directory.apache.org Received: (qmail 31027 invoked by uid 500); 12 Sep 2007 07:17:12 -0000 Mailing-List: contact commits-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@directory.apache.org Delivered-To: mailing list commits@directory.apache.org Received: (qmail 31016 invoked by uid 99); 12 Sep 2007 07:17:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Sep 2007 00:17:12 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Sep 2007 07:17:18 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 9390A1A9844; Wed, 12 Sep 2007 00:16:58 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r574813 - /directory/installers/trunk/apacheds-noarch/src/main/java/org/apache/directory/server/Service.java Date: Wed, 12 Sep 2007 07:16:58 -0000 To: commits@directory.apache.org From: elecharny@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20070912071658.9390A1A9844@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: elecharny Date: Wed Sep 12 00:16:57 2007 New Revision: 574813 URL: http://svn.apache.org/viewvc?rev=574813&view=rev Log: Switched from toURL() to toURI().toURL() as a direct toURL() is deprecated. Modified: directory/installers/trunk/apacheds-noarch/src/main/java/org/apache/directory/server/Service.java Modified: directory/installers/trunk/apacheds-noarch/src/main/java/org/apache/directory/server/Service.java URL: http://svn.apache.org/viewvc/directory/installers/trunk/apacheds-noarch/src/main/java/org/apache/directory/server/Service.java?rev=574813&r1=574812&r2=574813&view=diff ============================================================================== --- directory/installers/trunk/apacheds-noarch/src/main/java/org/apache/directory/server/Service.java (original) +++ directory/installers/trunk/apacheds-noarch/src/main/java/org/apache/directory/server/Service.java Wed Sep 12 00:16:57 2007 @@ -74,7 +74,7 @@ { log.info( "server: loading settings from ", args[0] ); ApplicationContext factory = null; - factory = new FileSystemXmlApplicationContext( new File( args[0] ).toURL().toString() ); + factory = new FileSystemXmlApplicationContext( new File( args[0] ).toURI().toURL().toString() ); cfg = ( MutableServerStartupConfiguration ) factory.getBean( "configuration" ); env = ( Properties ) factory.getBean( "environment" ); }