[veryquickwiki-develop] [JIRA] Commented: (VQW-268) PluginClassLoaderTest fails to delete plugin.ja
Status: Abandoned
Brought to you by:
mteodori
|
From: Marcello T. (JIRA) <su...@vq...> - 2010-08-01 01:54:30
|
[ http://issues.vqwiki.org/browse/VQW-268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=10780#action_10780 ]
Marcello Teodori commented on VQW-268:
--------------------------------------
I suppose it happens on last release 2.8.1 or svn trunk for 2.8.2 but I'm not able to reproduce it in on osx, could be a windows file locking problem. Does it happen always or could it be that some other program besides the build is locking the plugin.jar file?
> PluginClassLoaderTest fails to delete plugin.jar in tearDown
> ------------------------------------------------------------
>
> Key: VQW-268
> URL: http://issues.vqwiki.org/browse/VQW-268
> Project: VQWiki
> Issue Type: Bug
> Environment: Win XP
> java version "1.6.0_07"
> Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
> Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing)
> Reporter: Dennis Carroll
> Priority: Minor
>
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running vqwiki.plugin.PluginClassLoaderTest
> C:\java\vqwiki-classic\build\test-classes\work
> C:\java\vqwiki-classic\build\test-classes\work
> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.218 sec <<< FAILURE!
> testShouldLoadPluginResourceFromJar(vqwiki.plugin.PluginClassLoaderTest) Time elapsed: 0.094 sec <<< ERROR!
> java.io.IOException: Unable to delete file: C:\java\vqwiki-classic\build\test-classes\work\WEB-INF\lib\plugin.jar
> at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1087)
> at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:811)
> at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:777)
> at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1079)
> at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:811)
> at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:777)
> at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1079)
> at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:811)
> at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:777)
> at vqwiki.plugin.PluginClassLoaderTest.tearDown(PluginClassLoaderTest.java:57)
> at junit.framework.TestCase.runBare(TestCase.java:136)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.vqwiki.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|