directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r749048 - in /directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs: InitializeAttributesRunnable.java InitializeChildrenRunnable.java
Date Sun, 01 Mar 2009 15:44:23 GMT
Author: seelmann
Date: Sun Mar  1 15:44:22 2009
New Revision: 749048

URL: http://svn.apache.org/viewvc?rev=749048&view=rev
Log:
Wait till root DSE is loaded

Modified:
    directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/InitializeAttributesRunnable.java
    directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/InitializeChildrenRunnable.java

Modified: directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/InitializeAttributesRunnable.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/InitializeAttributesRunnable.java?rev=749048&r1=749047&r2=749048&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/InitializeAttributesRunnable.java
(original)
+++ directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/InitializeAttributesRunnable.java
Sun Mar  1 15:44:22 2009
@@ -214,6 +214,13 @@
             InitializeRootDSERunnable runnable = new InitializeRootDSERunnable( ( IRootDSE
) entry );
             StudioConnectionJob job = new StudioConnectionJob( runnable );
             job.execute();
+            try
+            {
+                job.join();
+            }
+            catch ( InterruptedException e )
+            {
+            }
         }
         else
         {

Modified: directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/InitializeChildrenRunnable.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/InitializeChildrenRunnable.java?rev=749048&r1=749047&r2=749048&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/InitializeChildrenRunnable.java
(original)
+++ directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/InitializeChildrenRunnable.java
Sun Mar  1 15:44:22 2009
@@ -156,6 +156,13 @@
                     InitializeRootDSERunnable runnable = new InitializeRootDSERunnable( (
IRootDSE ) entry );
                     StudioConnectionJob job = new StudioConnectionJob( runnable );
                     job.execute();
+                    try
+                    {
+                        job.join();
+                    }
+                    catch ( InterruptedException e )
+                    {
+                    }
                     continue;
                 }
 



Mime
View raw message