[jbosstools-dev] Hibernate tests

Snjezana Peco snjezana.peco at redhat.com
Sun Oct 19 14:19:33 EDT 2008


The problem with Hibernate tests happens because the tests are being 
executed in a workspace mounted as NFS share.
This problem is described on 
http://www.cs.indiana.edu/csg/FAQ/General/dotnfs.html.
Hibernate tests remove the ejb3-persistence.jar, but the NFS server 
creates .nfsXXX file in the project directory because a  Java 
classloader keeps the ejb3-persistence.jar file open (JBIDE-1012). The 
project can't be removed because the project root directory is not empty.

We can do the following:
- fix JBIDE-1012; we can remove System.currentTimeMilis() from the 
project name
or
- skip deleting the project or ignore an exception thrown when deleting 
the project. System.currentTimeMilis() can't be removed from the project 
name.

Snjeza



More information about the jbosstools-dev mailing list