In issue
QUARTZ-350, I renamed quartz-service.xml to quartz-service.xml-example, so that it wouldn't be picked up by JBoss automatically.
However, it occured to me that this wasn't the correct solution as doc-files shouldn't be in the archives in the first place, so I fixed it such that:
1. The contents of doc-files directories are not copied to the build directory so they are excluded from the archives (for the compile.features.jboss target).
2. Renamed quartz-service.xml-example back to quartz-service.xml
3. Added an explicit link in the QuartzService and QuartzServiceMBean javadocs to the doc-files/quartz-service.xml file rather than just referencing it by name.
It would be nice to have a link or the config file location mentioned in the manifest.mf in the archive (if possible).
=============
Another comment: The file contains:
<classpath codebase="." archives="quartz.jar"/>
I do not think it is hurting (JBoss 3.2.x seems to silently ignore incorrect classpath settings) but the archive parameter is wrong - it will be either quartz-jboss-1.6.0.jar or quartz-all-1.6.0.jar. Perhaps the safe option would be to leave out the <classpath> element in the service definition example (JBoss uses flat classloaders and so just dropping the library in server/<configName>/lib or deploy directory is sufficient).
Peter