You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2007/10/12 14:42:00 UTC
svn commit: r584148 -
/directory/apacheds/branches/bigbang/server-xml/src/test/java/org/apache/directory/server/SpringServerTest.java
Author: elecharny
Date: Fri Oct 12 05:41:37 2007
New Revision: 584148
URL: http://svn.apache.org/viewvc?rev=584148&view=rev
Log:
Replaced a deprecated method by the correct call
Modified:
directory/apacheds/branches/bigbang/server-xml/src/test/java/org/apache/directory/server/SpringServerTest.java
Modified: directory/apacheds/branches/bigbang/server-xml/src/test/java/org/apache/directory/server/SpringServerTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/server-xml/src/test/java/org/apache/directory/server/SpringServerTest.java?rev=584148&r1=584147&r2=584148&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/server-xml/src/test/java/org/apache/directory/server/SpringServerTest.java (original)
+++ directory/apacheds/branches/bigbang/server-xml/src/test/java/org/apache/directory/server/SpringServerTest.java Fri Oct 12 05:41:37 2007
@@ -44,7 +44,7 @@
URL configURL = classLoader.getResource( "server.xml" );
File configF = new File( configURL.toURI() );
- ApplicationContext factory = new FileSystemXmlApplicationContext( configF.toURL().toString() );
+ ApplicationContext factory = new FileSystemXmlApplicationContext( configF.toURI().toURL().toString() );
ApacheDS apacheDS = ( ApacheDS ) factory.getBean( "apacheDS" );
File workingDirFile = new File( configF.getParentFile(), "work" );
apacheDS.getDirectoryService().setWorkingDirectory( workingDirFile );