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

Adam Bruss <[email protected]> Thu, 22 Mar 2012 20:17:37 +0000
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
Are you relying on the 'defaultsuffix' to augment your returnaddress? If so try entering a full email address in 'returnaddress' instead.

Adam Bruss
Senior Development Engineer
AWR Corporation
11520 N. Port Washington Rd., Suite 201
Mequon, WI  53092  USA
P: 1.262.240.0291 x104
F: 1.262.240.0294
E: [email protected]
W: http://www.awrcorp.com


-----Original Message-----
From: Glenn Boysko [mailto:[email protected]] 
Sent: Thursday, March 22, 2012 2:51 PM
To: CM Analyst; [email protected]
Subject: Re: [Cruisecontrol-user] config file error: cruisecontrol failed to load file config.xml

Not sure what value you supplied for 'returnaddress', but the error seems to indicate it was omitted. 

-----Original Message-----
From: CM Analyst [mailto:[email protected]] 
Sent: Thursday, March 22, 2012 3:42 PM
To: Glenn Boysko; [email protected]
Subject: Re: [Cruisecontrol-user] config file error: cruisecontrol failed to load file config.xml

Glenn and Marino,

Thank you for nailing that one. I fixed it and am now getting:

'returnaddress' is required for LinkEmailPublisher.

The return adress value I've specified is my work email address (which should be valid, of course). I also tried something generic like "BuildMaster" but neither has worked.



----- Original Message -----
From: Glenn Boysko <[email protected]>
To: CM Analyst <[email protected]>; "[email protected]" <[email protected]>
Cc: 
Sent: Thursday, March 22, 2012 1:37 PM
Subject: RE: [Cruisecontrol-user] config file error: cruisecontrol failed to load file config.xml

Seems like you are missing a closing '>' character in the 'email' element.

-----Original Message-----
From: CM Analyst [mailto:[email protected]] 
Sent: Thursday, March 22, 2012 2:28 PM
To: [email protected]
Subject: [Cruisecontrol-user] config file error: cruisecontrol failed to load file config.xml

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


------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user

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