From: <leg...@at...> - 2003-12-29 10:33:25
|
The following comment has been added to this issue: Author: tom quas Created: Mon, 29 Dec 2003 4:33 AM Body: Max, I might not have made myself clear enough. The point is not to access information under META-INF but to bundle a mappings.jar with a WAR (under WEB-INF/classes) or EAR and access it from there--preferably via Class.getResource() or getResourceAsStream since those methods are guaranteed to work on the classpath. I agree with you that java.io.File is not appropriate for this case. This is exactly the point why I'm asking for a convenience API to retrieve such a bundled mappings archive. Configration.addJar(String resource) provided that API till it's been deprecated. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-580 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-580 Summary: Undo deprecation of Configuration.addJar(String) Type: Improvement Status: Closed Priority: Critical Resolution: WON'T FIX Project: Hibernate2 Components: core Versions: 2.1.1 Assignee: Reporter: tom quas Created: Fri, 26 Dec 2003 3:51 PM Updated: Mon, 29 Dec 2003 4:33 AM Environment: API Description: I just realized that Configuration.addJar( String filename ) has been deprecated. I regularly use it to load mappings from the classpath. Could you please leave it in for convenience? --------------------------------------------------------------------- JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |