All, I'm currently using Jenkins and the ClearCase plugin to maintain 30+ jobs. Many of our projects contain the same configurations and we are looking for a way to make one change to a general configuration instead of making that change in each project that is relevant as this can become very tedious every time we want to change a ClearCase config spec or email address in the job. Since most of the configuration is in XML, I attempted to add a DOCTYPE ENTITY into a job's config.xml file to "include" another XML file in it just to see if it would work. This other XML file contained the ClearCase configuration I wanted to use for multiple jobs. When I opened up the config.xml file in Microsoft's default XML editor, it understood the include and replaced the character entity with the XML in the external file. This showed me that my syntax and idea were sound. I then attempted to run Jenkins and my console was flooded with hudson.util.IOExceptions coming from hudson.XmlFile.read(). I looked at this file and it looks like XStream is the XML parser you are using. I'm not sure if XStream supports this functionality of including XML files in other XML files, but I wanted to see what you, the Jenkins' developers, thought about adding this functionality since it allows you to have one XML file define many config.xml files or sections within config.xml's. I'm sure I've butchered my words somehow, so I've included a link to the XML topic I'm referencing:
http://xml.silmaril.ie/includes.html
