Re: settings in config.xml for forceonly builds

Pankaj Agarwal <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
 
I don't think even scedule build will work with the enclosed config.xml.
 
Try adding a time variable to composite definition.
 
<composite time="1700" >.
 
Cheers,
 
Pankaj
 


--- On Thu, 7/23/09, Kapila Kohli <[email protected]> wrote:


From: Kapila Kohli <[email protected]>
Subject: [Cruisecontrol-user] settings in config.xml for forceonly builds
To: [email protected]
Date: Thursday, July 23, 2009, 6:06 AM




Hi Experts,
 

Unable to run a project forceably when required by clicking in GUI. Can  anyone correct me where i am wrong in my config.xml---


        <project name="Rel-titan-3.0" buildafterfailed="false" forceonly="true"
           requiremodification="false">
                <bootstrappers>
                         <currentbuildstatusbootstrapper
                                file="logs/titan-3.0/currentbuild.txt"/>
                        <execbootstrapper command="/usr/bin/perl" workingdir="${workingdir}" args="${workingdir}/cvsupver.pl ${chngFile}"
                        errorstr="permission" />
                </bootstrappers>
                <log dir="logs/titan-3.0/"/>
                <listeners>
                        <currentbuildstatuslistener file="${logdir}/${projectname}/status.txt" />
                </listeners>
                <schedule  showProgress="true" >
                        <composite>
                         <ant
                                uselogger="true"
                                antworkingdir="/opt/work/cruise/checkout/flights-engine"
                                antscript="/opt/apache-ant-1.7.1/bin/ant"
                                buildfile="build.xml"
                                target="CC-build"
                                showAntOutput="true">
                        </ant>
                        <ant
                                uselogger="true"
                                antworkingdir="/opt/work/cruise/checkout/titan"
                                antscript="/opt/apache-ant-1.7.1/bin/ant"
                                buildfile="build.xml"
                                showAntOutput="true"
                                target="all">
                        </ant>
                          <exec workingdir="${workingdir}" command="/usr/bin/perl" args="${workingdir}/createTar.pl"/>
                        </composite>
                </schedule>

                <publishers>
                 <artifactspublisher
                    dir="/opt/work/cruise/checkout/flights-engine/dist"
                    dest="/opt/work/cruise/artifacts/titan-3.0"/>
                 <artifactspublisher
                    file="/opt/work/cruise/checkout/pack.tar"
                    dest="/opt/work/cruise/artifacts/titan-3.0"/>
                         <currentbuildstatuspublisher
                             file="logs/titan-3.0/currentbuild.txt"/>
                </publishers>
        </project>
 


>   Regards
Kapila 

  _______________________________________________
>     Cruisecontrol-user mailing list
>     [email protected]
>     <mailto:[email protected]>
>     https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Enter the BlackBerry Developer Challenge
> This is your chance to win up to $100,000 in prizes! For a limited time,
> vendors submitting new applications to BlackBerry App World(TM) will have
> the opportunity to enter the BlackBerry Developer Challenge. See full prize
> details at: http://p.sf.net/sfu/Challenge
> ------------------------------------------------------------------------
>
> _______________________________________________
> Cruisecontrol-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
>


------------------------------------------------------------------------------
_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user


-----Inline Attachment Follows-----


------------------------------------------------------------------------------

-----Inline Attachment Follows-----


_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user

------------------------------------------------------------------------------

_______________________________________________
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.