[
http://opensource.atlassian.com/projects/hibernate/browse/HBX-824?page=co...
]
Max Rydahl Andersen commented on HBX-824:
-----------------------------------------
ok...as a sidenote i'm considering adding a "ConfigurationProvider"
extension point to the plugin...it will work in the sense that you just need to specify a
class name that the tools can instantiate and call getConfiguration(someparams) and you
will be responsible for returning it. Would that be something you could use instead of
this "hack" with recursive directories that i'm not sooo keen on.
I changed Hibernate Console to allow selecting directories containing
.hbm.xml files instead of selecting each file one by one
------------------------------------------------------------------------------------------------------------------------------
Key: HBX-824
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HBX-824
Project: Hibernate Tools
Type: Improvement
Components: consoleconfiguration
Versions: 3.2beta8
Environment: Eclipse 3.2
Sun JDK 1.6.0
Reporter: Alexandre de Pellegrin
Priority: Minor
Attachments: FourClassesModified.zip
Hi,
Since I use Hibernate Console Eclipse plugin, I want to propose a refinement to simplify
configuration. I work in very large project and selecting hibernate files one by one is
very boring. So I modified the plugin to accept directories. In practice, when you select
a directory, all hibernate files included in this directory and all its sub-directories
will be loaded in the session.
This change impacts four classes. I put in green new code and blue modified code. You
will find this classes in attachement.
I hope you will include it in next release.
Regards,
Alexandre de Pellegrin
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira