]
Hardy Ferentschik updated METAGEN-12:
-------------------------------------
Affects Version/s: 1.0.0-Beta-2
Fix Version/s: 1.1.0
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 StaticMetamodel Generator
Issue Type: Improvement
Affects Versions: 1.0.0-Beta-2
Reporter: Hardy Ferentschik
Assignee: Hardy Ferentschik
Fix For: 1.1.0
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: