[hibernate-issues] [Hibernate-JIRA] Updated: (METAGEN-12) Investigate why it is not possible to use the Filer API to load non class resources like /META-INF/orm.xml
Hardy Ferentschik (JIRA)
noreply at atlassian.com
Wed Nov 3 12:08:48 EDT 2010
[ http://opensource.atlassian.com/projects/hibernate/browse/METAGEN-12?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hardy Ferentschik updated METAGEN-12:
-------------------------------------
Assignee: (was: Hardy Ferentschik)
> Investigate why it is not possible to use the Filer API to load non class resources like /META-INF/orm.xml
> ----------------------------------------------------------------------------------------------------------
>
> Key: METAGEN-12
> URL: http://opensource.atlassian.com/projects/hibernate/browse/METAGEN-12
> Project: Hibernate Metamodel Generator
> Issue Type: Improvement
> Components: processor
> Affects Versions: 1.0.0-Beta-2
> Reporter: Hardy Ferentschik
> Fix For: 1.x
>
>
> The API throws a FilerException with the message "Illegal name /META-INF".
> The call in question is:
> {code}
> processingEnv.getFiler().getResource((StandardLocation.CLASS_OUTPUT, "/META-INF", "orm.xml" )
> {code}
> Currently we work around this by using {{Class.getResourceAsStream()}}
--
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