Nested 'composite' elements in CC-config?

"Jeroen van der Vegt" <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
Hi all,


In a project consisting of several subprojects, I'd like to make the
'moduletest' target with ant in the lunch break and in the evening. I have
come up with the following configuration:

<project name="ModuleTests">
  <listeners> ... </listeners>
  <modificationset> ... </modificationset>
  <schedule>
    <composite>
      <composite time="1240">
        <ant anthome="${ant.home}" antWorkingDir="${projects}/common"   
          target="moduletest" keepgoing="true" timeout="600" />
        <ant anthome="${ant.home}" antWorkingDir="${projects}/main" 
          target="moduletest" keepgoing="true" timeout="600" />
      </composite>

      <composite time="2000">
        <ant anthome="${ant.home}" antWorkingDir="${projects}/common" 
          target="moduletest" keepgoing="true" timeout="600" />
        <ant anthome="${ant.home}" antWorkingDir="${projects}/main" 
          target="moduletest" keepgoing="true" timeout="600" />
      </composite>
    </composite>
  </schedule>
</project>

This doesn't quite seem to work, as the indicted times are ignored. The
documentation is not clear about this:

http://cruisecontrol.sourceforge.net/main/configxml.html#composite

Quoting: 'The CompositeBuilder executes a list of builders (any builder,
except <pause>).' Though 'composite' is not mentioned in the potential child
builders.

Are nested 'composite' elements allowed? If not, how can I achieve two timed
builds for one CC-project?



Cheers,


Jeroen van der Vegt	 
System designer 
________________________________

Technolution B.V.	 
Visit us at:      www.technolution.eu	 
Mailing address:  P.O. Box 2013 - 2800 BD Gouda - The Netherlands	 
Address:          Zuidelijk Halfrond 1 - 2801 DD Gouda - The Netherlands

________________________________

This e-mail is intended exclusively for the addressee(s), and may not be
passed on to, or made available for use by any person other than the
addressee(s). Technolution B.V. rules out any and every liability resulting
from any electronic transmission. 


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.