I am working through the tutorials on writing custom spring namespace handlers found here:
http://static.springsource.org/spring/docs/2.5.x/reference/extensible-xml.html
Everything was working great until I got to section B.5 on registering the new handler and schema..
I have tried putting spring.handlers and spring.schemas into my project – didn’t work
I was able to find the File | Settings | Schemas and DTD’s, which did enable the auto-complete in the editor, but the handler is still not registering. Also this did not translate to an entry in the spring.schemas file.
In short, can someone explain how to do the following in intelliJ 11.1.2?
a) configure it to recognize the new schema and namespace handler
b) put the correct information into the META-INF/spring.handlers and spring.schemas files when I build the artifact?
Any help would be greatly appreciated.
In order to make this work, I needed to add *.handlers, *.schemas, and *.xsd to the resource patterns (Settings | Compiler). Once I got that setup, it worked like a charm.