Bud Bach ha scritto:
[...]
The mailet I developed is pretty simple but it does use hibernate to persist the objects. my applicationContext-service.xml and applicationContext-hibernate.xml files contain my bean definitions and all this gets jar'd up (including the xml files) and I stick it in ${james_home}/lib

In James 2.3.0+ it should be possible to place everything in james_home/apps/james/SAR-INF/lib folder and james_home/apps/james/SAR-INF/classes is also present in the classpath.

Your xml could probably been simply placed in the classes folder (skipping the jar creation).

I've not tested it, but it should work if you placed spring stuff in the james/SAR-INF/lib folder.

If you try and it works, please confirm it ;-)

Stefano


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to