1. seems to be a CC question ... 2. <trycatch> would not the target fail 3. create a master buildfile <import file="${test1.dir}/canoo.xml"> <import file="${test2.dir}/canoo.xml"> <target name="run-tests" depeds="test1.run-tests,tests2.run-tests"/> 4. http://cruisecontrol.sourceforge.net/main/configxml.html#schedule Note: Only one builder is used for a given interval where modifications are found. Builds using the time attribute take precedence over builds using the multiple attribute.
Jan >-----Ursprüngliche Nachricht----- >Von: O'Shea, Sean [mailto:Sean.O'[EMAIL PROTECTED] >Gesendet: Freitag, 7. Oktober 2005 13:01 >An: user@ant.apache.org >Betreff: Ant target not getting called > >Hi all, > >I'm using CruiseControl to call two ant targets like this: > > <ant > antfile="${test1.dir}/canoo.xml" > dir="${test.dir}" > target="run-tests"/> > <ant > antfile="${test2.dir}/canoo.xml" > dir="${test.dir}" > target="run-tests"/> > >The run tests target in canoo.xml is a series of Canoo WebTests. > >The problem I'm having is that the second ant call does not >get called if the first target fails. ie. If the tests in >{test1.dir} fail, the tests in {test2.dir} never run. > >Is there a way in which I can always have these two targets >run, regardless of the results of the first test? > >I looked into failonerror=false flags, but I'm not too sure >where I should put these flags. > >All help would be greatly appreciated > >Kind regards > >Sean O Shea > >Sean O' Shea >Fisc-Ireland Ltd. / Fidelity Investments >External: + 353 91 747448 >Email: Sean.O'[EMAIL PROTECTED] > >FISC Ireland Ltd., registered in Ireland no. 245656. Registered office: >Hardwicke House, Upper Hatch Street, Dublin 2. >Any comments or statements made are not necessarily those of >Fidelity Investments, its subsidiaries or affiliates. > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]