Re: using composite builds and multiple in builder?

Juergen Biebl <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <OF2C4C45BB.D3064B26-ONC1257592.0031CC06-C1257592.00324781@notes.msg.de>
Hi,

after reading the config reference again I found where I was mistaken.

Now it is working as intended using this:

        <schedule interval="600">
            <pause starttime="0000" endtime="0600" />
            <composite multiple="5">
                <ant 
                  target="delete-and-checkout"/>
                <maven2
                   mvnhome="${mvn.home}" 
                   pomfile="${project.wa}/nbproject/pom.xml"
                   goal="clean|package"/> 
            </composite>
            <composite multiple="1">
                <ant 
                  target="get-head-revision"/>
                <maven2
                   mvnhome="${mvn.home}" 
                   pomfile="${project.wa}/nbproject/pom.xml"
                   goal="clean|package"/> 
            </composite>
        </schedule>

Cheers,
Juergen










Juergen Biebl/msg
08.04.2009 10:54


An
[email protected]
Kopie

Thema
using composite builds and multiple in builder?





Hi,

I try to use the CompositeBuilder and within the <composite> the common 
builder attribute multiple.
Here is the part of my config.xml:

        <schedule interval="600">
            <pause starttime="0000" endtime="0600" />
            <composite>
                <ant 
                  target="delete-and-checkout" 
                   multiple="5"/>
                <ant 
                  target="get-head-revision" 
                   multiple="1"/>
                <maven2
                   mvnhome="${mvn.home}" 
                   pomfile="${project.wa}/pom.xml"
                   goal="clean|package" 
                   multiple="5"/> 
                <maven2
                   mvnhome="${mvn.home}" 
                   pomfile="${project.wa}/pom.xml"
                   goal="package" 
                   multiple="1"/> 
            </composite>
        </schedule>
 
The Problem is, that all four composite builds are always executed. It 
seems that the multiple attribute is not considered within <composite>.

Is this true od did I miss something in teh config reference?

Thanks,
Juergen

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com

_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
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.