[jbosstools-dev] Re: Hibernate tests
Max Rydahl Andersen
max.andersen at redhat.com
Mon Oct 20 02:01:16 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.
Stupid file systems ;(
> We can do the following:
> - fix JBIDE-1012; we can remove System.currentTimeMilis() from the
> project name
If we remove the unique filenames we would use the same project over and
over again
instead of starting from scratch which ensures the test runs in the setup
it needs.
> or
> - skip deleting the project or ignore an exception thrown when deleting
> the project. System.currentTimeMilis() can't be removed from the project
> name.
or
Fix the classloader issue. I'll take a stab on verifying your patch for
this ASAP.
--
/max
More information about the jbosstools-dev
mailing list