Did you modify the tests?<br clear="all"><br>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br><br>Esteban Aliverti<br>- Developer @ <a href="http://www.plugtree.com" target="_blank">http://www.plugtree.com </a><br>- Blog @ <a href="http://ilesteban.wordpress.com" target="_blank">http://ilesteban.wordpress.com</a><br>


<br><br><div class="gmail_quote">On Wed, Jul 28, 2010 at 12:22 AM, Mark Proctor <span dir="ltr">&lt;<a href="mailto:mproctor@codehaus.org">mproctor@codehaus.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

  I was just looking into why the kagent stuff fails on my windows,<br>
found a bug in Windows:<br>
<a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4243868" target="_blank">http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4243868</a><br>
<br>
So the cause was a single attempt to setLastModified on a file, without<br>
checking if it was sucessful. So instead I recommend the following when<br>
dealing with files:<br>
         int count = 0;<br>
         while ( !f.setLastModified(t) &amp;&amp; count &lt; 10 ) {<br>
             count++;<br>
             System.gc();<br>
             Thread.sleep( 100 );<br>
         }<br>
<br>
If the setLastModified still returns false then throw an exception.<br>
<br>
Mark<br>
<br>
_______________________________________________<br>
rules-dev mailing list<br>
<a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
</blockquote></div><br>