config file error: cruisecontrol failed to load file config.xml

CM Analyst <[email protected]> Thu, 22 Mar 2012 11:28:11 -0700 (PDT)
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
Hello,

I am new to Cruise Control. 


Given the config.xml file below, I can't get the email notification to work.

If I remove the  <publisher> section, I can get the build to work. With the <publisher> section added to the file, I get the error message:

cruisecontrol failed to load file config.xml

I am running v2.8.4.

Any advice is much appreciated.




<cruisecontrol> 

<project name="MYPROJ">

        <listeners>

            <currentbuildstatuslistener file="logs/${project.name}/buildstatus.txt"/>

        </listeners>

        <bootstrappers>
            <clearcasebootstrapper
            file="build.xml"
            viewPath="c:\view3\MYPROJ"/>

                       <antbootstrapper anthome="apache-ant-1.7.0" buildfile="c:\view3\MYPROJ\build.xml" target="clean" />

            </bootstrappers>

            <modificationset quietperiod="30">

            <!-- touch any file in the project to trigger a build -->

            <filesystem folder="c:\view3\MYPROJ"/>

        </modificationset>

 

        <schedule interval="300">

            <ant anthome="apache-ant-1.7.0" buildfile="c:\view3\MYPROJ\build.xml"/>

        </schedule>

 

        <log>

            <merge dir="projects/${project.name}/target/test-results"/>

        </log>

           

<publishers>

            <email mailhost="MySMTPHost.com"

 

            returnaddress="[email protected]"

 

            subjectprefix="[Cruise Control]: Build Results..."

<always address="[email protected]"/>

<failure address="[email protected]"/>

</email>
</publishers>
</project>
</cruisecontrol>


------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure