Investigate why it is not possible to use the Filer API to load non class resources like
The API throws a FilerException with the message "Illegal name /META-INF". The
call is processingEnv.getFiler().getResource((StandardLocation.CLAS /META-INF/orm.xml
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: METAGEN-12
URL:
http://opensource.atlassian.com/projects/hibernate/browse/METAGEN-12
Project: Hibernate StaticMetamodel Generator
Issue Type: Improvement
Reporter: Hardy Ferentschik
Assignee: Hardy Ferentschik
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira