From: Sharmila R <sha...@gm...> - 2007-11-23 07:45:53
|
Hi, I have multiple projects in my CC build (I am using CruiseControl 2.6.2). Everything worked fine with a single cc-config file. Now I am trying to use <include.projects> to build multiple projects each with its own config file. The structure of the config files is as follows: cc-config.xml: <cruisecontrol> <include.projects file="cc-config-A.xml"/> <include.projects file="cc-config-B.xml"/> </cruisecontrol> cc-config-A.xml: <project name="A"> <listeners> <currentbuildstatuslistener file="logs/A/buildstatus.txt"/> </listeners> <bootstrappers> ..... </bootstrappers> <modificationset quietperiod="30" ignoreFiles="${cc_ignore}"> ..... </modificationset> <schedule interval="..."> ... </schedule> <log> ..... </log> <publishers> ..... </publishers> </project> I am getting the following error: net.sourceforge.cruisecontrol.CruiseControlException: cannot handle child of <listeners> at net.sourceforge.cruisecontrol.CruiseControlConfig.parse(CruiseControlConfig.java:114) at net.sourceforge.cruisecontrol.CruiseControlConfig.<init>(CruiseControlConfig.java:124) at net.sourceforge.cruisecontrol.CruiseControlConfig.handleIncludedProjects(CruiseControlConfig.java:140) at net.sourceforge.cruisecontrol.CruiseControlConfig.parse(CruiseControlConfig.java:104) at net.sourceforge.cruisecontrol.CruiseControlConfig.<init>(CruiseControlConfig.java:92) at net.sourceforge.cruisecontrol.config.XMLConfigManager.loadConfig(XMLConfigManager.java:81) at net.sourceforge.cruisecontrol.config.XMLConfigManager.<init>(XMLConfigManager.java:73) at net.sourceforge.cruisecontrol.CruiseControlController.setConfigFile(CruiseControlController.java:94) at net.sourceforge.cruisecontrol.Main.startController(Main.java:112) at net.sourceforge.cruisecontrol.Main.start(Main.java:98) at net.sourceforge.cruisecontrol.launch.Launcher.run(Launcher.java:244) at net.sourceforge.cruisecontrol.launch.Launcher.main(Launcher.java:108) Please help. Thanks. |