[hibernate-issues] [Hibernate-JIRA] Commented: (HBX-936) Project cannot be deleted when there is console configuration associated with the project

Vitali Yemialyanchyk (JIRA) noreply at atlassian.com
Wed Nov 18 09:01:09 EST 2009


    [ http://opensource.atlassian.com/projects/hibernate/browse/HBX-936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=34655#action_34655 ] 

Vitali Yemialyanchyk commented on HBX-936:
------------------------------------------

now it fixed!

> Project cannot be deleted when there is console configuration associated with the project
> -----------------------------------------------------------------------------------------
>
>                 Key: HBX-936
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-936
>             Project: Hibernate Tools
>          Issue Type: Bug
>          Components: consoleconfiguration, eclipse
>    Affects Versions: 3.2beta9
>         Environment: Eclipse 3.2, Windows XP, jdk1.5.0_8
>            Reporter: Dariusz Tylus
>
> Project cannot be deleted when there is console configuration associated with the project:
> Use case:
> 1. Create java project 
> 2. Put jdbc driver jar file into lib filder (in the project)
> 3. Create console configuration for this project
> 4. Swich to the hibernate perspective and expand the tree for just created console configuration
> 5. Delete the console configuration
> 6. Delete the project and select option 'Also delete contents under....'
> There is following error:
> ==
> Problems encountered while deleting resources.
>   Could not delete: /hbmtest.
>     Problems encountered while deleting resources.
>       Problems encountered while deleting files.
>         Could not delete: C:\work\ORM\_tests\orm\hbmtest\lib\hsqldb-1_7_2_9.jar.
>         Could not delete: C:\work\ORM\_tests\orm\hbmtest\lib.
> ==
> The problem is that jvm keeps lock on the jar file so it cannot be deleted. 
> Console configuration also keeps  reference to the driver class.
> Could the console configuration release all resources when it is deleted?
> Thenx,
> Dariusz

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list