Install problem : "Unknown plugin for: <currentbuildstatuspublisher>" though it is "file"

"Jean-Michel Cazaux" <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <0296331502AE489997C7C8ADC23858CF@Windows71>
Hi guys,

I am new to this continuous build and Cruise Control thing, but I have been banging my head on the wall to get this working all day, so I thought that now is the right time to ask.

I have everything installed on an Ubuntu 10.10 server.
I am using Bazaar for source control.
I have installed the last version from the binary distribution.

I follwed the steps in the Wiki as well as I could (understand them).

It all went pershape when I started to populate the config.xml file (stage 6 of the “Getting Started With CruiseControl” ThoughtWork wiki).


Details are below, but basically, I am getting a “net.sourceforge.cruisecontrol.CruiseControlException: Unknown plugin for: <currentbuildstatuspublisher>” when I only refer to “file”.
I am not massively confident about the bazaar plugin configuration, but I do not think it is going this far yet.

Did I miss a big step ? You help is much much much appreciated.

The configuration files are below.

Many thanks in advance,
Jean-Michel

----------------- config.xml -----------------
<cruisecontrol>
    <project name="EABUICore-trunk" buildafterfailed="true">
        <!-- Bootstrappers are run every time the build runs, *before* the modification 
            checks -->
        <bootstrappers>
            <!-- <currentbuildstatusbootstrapper file="logs/EABUICore-trunk/buildstatus.txt" /> -->
        </bootstrappers>

        <!-- Defines where cruise looks for changes, to decide whether to run the 
            build -->
        <plugin name="bazaar" classname="net.fusonic.cruisecontrolbazaar.Bazaar" />
        <modificationset quietperiod="10">
            <bazaar localWorkingCopy="projects/EABUICore/trunk" />
        </modificationset>

        <!-- Configures the actual build loop, how often and which build file/target -->
        <schedule interval="60">
            <ant buildfile="build-EABUICore-trunk.xml"
                target="build" uselogger="true" usedebug="false" />
        </schedule>

        <!-- directory to write build logs to -->
        <log dir="logs/EABUICore-trunk" />

        <!-- more recent versions of CC should use the listener below, instead 
            of the currentbuildstatusbootstrapper, currentbuildstatuspublisher combination. 
            NOTE: Must match filename in CC reporting/jsp - override.properties: user.build.status.file -->
        <listeners> <currentbuildstatuslistener file="logs/EABUICore-trunk/buildstatus.txt"/> 
            </listeners>

        <!-- Publishers are run *after* a build completes -->
        <publishers>
            <currentbuildstatuspublisher file="logs/EABUICore-trunk/buildstatus.txt" />
        </publishers>
    </project>
</cruisecontrol>

----------------- cruisecontrol.log -----------------
2011-04-21 18:41:29,660 [main     ] INFO  Main             - CruiseControl Version 2.8.4 Compiled on September 15 2010 1952
2011-04-21 18:41:29,685 [main     ] INFO  XMLConfigManager - reading settings from config file [/srv/cruisecontrol/config.xml]
2011-04-21 18:41:29,982 [main     ] ERROR Main             - error setting config file on controller
net.sourceforge.cruisecontrol.CruiseControlException: error configuring project EABUICore-trunk
    at net.sourceforge.cruisecontrol.CruiseControlConfig.handleProject(CruiseControlConfig.java:447)
    at net.sourceforge.cruisecontrol.CruiseControlConfig.parse(CruiseControlConfig.java:178)
    at net.sourceforge.cruisecontrol.CruiseControlConfig.<init>(CruiseControlConfig.java:139)
    at net.sourceforge.cruisecontrol.config.XMLConfigManager.loadConfig(XMLConfigManager.java:90)
    at net.sourceforge.cruisecontrol.config.XMLConfigManager.<init>(XMLConfigManager.java:82)
    at net.sourceforge.cruisecontrol.CruiseControlController.setConfigFile(CruiseControlController.java:93)
    at net.sourceforge.cruisecontrol.Main.createController(Main.java:146)
    at net.sourceforge.cruisecontrol.Main.start(Main.java:113)
    at net.sourceforge.cruisecontrol.launch.Launcher.run(Launcher.java:259)
    at net.sourceforge.cruisecontrol.launch.Launcher.main(Launcher.java:117)
Caused by: net.sourceforge.cruisecontrol.CruiseControlException: Unknown plugin for: <currentbuildstatuspublisher>
    at net.sourceforge.cruisecontrol.ProjectXMLHelper.configurePlugin(ProjectXMLHelper.java:106)
    at net.sourceforge.cruisecontrol.PluginXMLHelper.configureObject(PluginXMLHelper.java:198)
    at net.sourceforge.cruisecontrol.PluginXMLHelper.configure(PluginXMLHelper.java:137)
    at net.sourceforge.cruisecontrol.PluginXMLHelper.configure(PluginXMLHelper.java:92)
    at net.sourceforge.cruisecontrol.ProjectXMLHelper.configurePlugin(ProjectXMLHelper.java:104)
    at net.sourceforge.cruisecontrol.PluginXMLHelper.configureObject(PluginXMLHelper.java:198)
    at net.sourceforge.cruisecontrol.PluginXMLHelper.configure(PluginXMLHelper.java:137)
    at net.sourceforge.cruisecontrol.PluginXMLHelper.configure(PluginXMLHelper.java:92)
    at net.sourceforge.cruisecontrol.ProjectXMLHelper.configurePlugin(ProjectXMLHelper.java:104)
    at net.sourceforge.cruisecontrol.CruiseControlConfig.handleProject(CruiseControlConfig.java:445)
    ... 9 more
2011-04-21 18:41:29,985 [main     ] FATAL Main             - error configuring project EABUICore-trunk

----------------- build-EABUICore-trunk.xml -----------------
<!-- Delegating build script, used by cruisecontrol to build MY_PROJECT_1.
       Note that the basedir is set to the checked out project -->
  <project name="EABUICore-trunk" default="build"
       basedir="checkout/EABUICore/trunk">
    <target name="build">
    <!-- Get the latest from Bazaar -->
    <plugin name="bazaar" classname="net.fusonic.cruisecontrolbazaar.Bazaar" />
    <bootstrappers>
        <execbootstrapper command="bzr" args="update"
             workingdir="projects/EABUICore/trunk" />
    </bootstrappers>
    <modificationset quietperiod="0">
        <bazaar localWorkingCopy="projects/EABUICore/trunk" />
    </modificationset>

    <!-- Call the target that does everything -->
    <ant antfile="build.xml" target="build all"/>
    </target>
  </project>

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev

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