You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by tc...@apache.org on 2005/08/10 00:58:58 UTC

svn commit: r231132 - in /jakarta/commons/sandbox/jci/trunk: .classpath src/test/org/apache/commons/jci/CompilingClassLoaderTestCase.java

Author: tcurdt
Date: Tue Aug  9 15:58:53 2005
New Revision: 231132

URL: http://svn.apache.org/viewcvs?rev=231132&view=rev
Log:
fall back to a simple wait for now


Modified:
    jakarta/commons/sandbox/jci/trunk/.classpath
    jakarta/commons/sandbox/jci/trunk/src/test/org/apache/commons/jci/CompilingClassLoaderTestCase.java

Modified: jakarta/commons/sandbox/jci/trunk/.classpath
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/jci/trunk/.classpath?rev=231132&r1=231131&r2=231132&view=diff
==============================================================================
--- jakarta/commons/sandbox/jci/trunk/.classpath (original)
+++ jakarta/commons/sandbox/jci/trunk/.classpath Tue Aug  9 15:58:53 2005
@@ -10,6 +10,6 @@
 	<classpathentry kind="var" path="MAVEN_REPO/commons-collections/jars/commons-collections-3.1.jar"/>
 	<classpathentry kind="var" path="MAVEN_REPO/janino/jars/janino-2.3.0.jar"/>
 	<classpathentry kind="var" path="MAVEN_REPO/junit/jars/junit-3.8.1.jar"/>
-	<classpathentry kind="lib" path="lib/jdtcore-3.1.0.jar"/>
+	<classpathentry kind="var" path="MAVEN_REPO/eclipse/jars/jdtcore-3.1.0.jar"/>
 	<classpathentry kind="output" path="eclipse"/>
 </classpath>

Modified: jakarta/commons/sandbox/jci/trunk/src/test/org/apache/commons/jci/CompilingClassLoaderTestCase.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/jci/trunk/src/test/org/apache/commons/jci/CompilingClassLoaderTestCase.java?rev=231132&r1=231131&r2=231132&view=diff
==============================================================================
--- jakarta/commons/sandbox/jci/trunk/src/test/org/apache/commons/jci/CompilingClassLoaderTestCase.java (original)
+++ jakarta/commons/sandbox/jci/trunk/src/test/org/apache/commons/jci/CompilingClassLoaderTestCase.java Tue Aug  9 15:58:53 2005
@@ -35,13 +35,7 @@
         cl.addListener(listener);
         cl.start();
         
-        // FIXME
-        log.debug("waiting for reload");
-        while(true) {
-            if (reloaded) break;
-            Thread.sleep(200);
-        }
-        log.debug("reloaded");
+        Thread.sleep(1000);
 
         reloaded = false;
     }
@@ -68,13 +62,7 @@
               + "} \n"
               );
         
-        // FIXME
-        log.debug("waiting for reload");
-        while(true) {
-            if (reloaded) break;
-            Thread.sleep(200);
-        }
-        log.debug("reloaded");
+        Thread.sleep(4000);
         
         Object o;
         



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org