]
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: