directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r584148 - /directory/apacheds/branches/bigbang/server-xml/src/test/java/org/apache/directory/server/SpringServerTest.java
Date Fri, 12 Oct 2007 12:42:00 GMT
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 );



Mime
View raw message