hello guys,

I am trying to add the harvest plugin and do a checkout using that via cruisecontrol, this is how i have written the config.xml file

<cruisecontrol>

  <project name="harvestTest" buildafterfailed="false">

    <plugin name="Harvest" classname="net.sourceforge.cruisecontrol.sourcecontrols.AllFusionHarvest" />
    <plugin name="harvestbootstrapper" classname="net.sourceforge.cruisecontrol.bootstrappers.AllFusionHarvestBootstrapper" />

    <listeners>
      <currentbuildstatuslistener
          file="logs/harvestTest/status.txt"/>
    </listeners>

    <!-- Bootstrappers are run every time the build runs,
        *before* the modification checks -->
    <bootstrappers>
    <!--<antbootstrapper anthome="apache-ant-1.7.0"  target="clean" />-->
    <harvestbootstrapper 
    username="ifs01"  
    password="harvest" 
    broker="cmbdbapp08" 
    project="Accrul 8.10.0" 
    state="Implementation" 
    viewpath="\Accrul 8.10.0\accrulCORE" 
    clientpath="C:\CruiseTest\binary\checkout"
    process="Checkout for Browse" 
    file="C:/CruiseTest/binary/cruisecontrol-bin-2.8.3/logs/harvestTest/bootstraper.project" 
    />
        </bootstrappers> 

    <!-- Defines where CruiseControl looks for changes, to decide whether to run the build -->
   <modificationset quietperiod="10">

     <Harvest  username="ifs01" password ="harvest" broker="cmbdbapp08"  state="Implementation" project="Accrul 8.10.0"/>
    </modificationset> 

    <!-- Configures the actual build loop, how often and which
         build file/target -->
    <schedule interval="10">
      <ant buildfile="C:/CruiseTest/binary/checkout/accrul/source/accrul/build.xml"/> 
    </schedule>

    <!-- directory to write build logs to -->
    <log>
            <merge dir="projects/${project.name}/target/test-results"/>
        </log>

    <!-- Publishers are run *after* a build completes -->  
<!--publishers-->
           <!-- <onsuccess>
                <artifactspublisher dest="artifacts/${project.name}" file="projects/${project.name}/target/${project.name}.jar"/>
            </onsuccess> -->
            <!--email mailhost="smtp.corpnet.ifsworld.com" returnaddress="cc@mydomain.com"
        buildresultsurl="http://momilk0:8080/cruisecontrol/buildresults/connectfour"
        skipusers="true" spamwhilebroken="true">
    <always address="miraj0072004@hotmail.com"/>
    <always address="gayan.jayasinghe@ifsworld.com"/>
    <failure address="mohajireen.miraj@ifsworld.com"/>
    </email> -->





<!--/publishers-->

  </project>
</cruisecontrol>

when i run the cruisecontrol.bat the connection to the repository is made successfully but it fails to check out the files that I need and gives an error as

[cc]Jul-02 04:54:53 stBootstrapper- E0309001f: ERROR: Invalid Version List.

I don't seem to be able to find the reason for this.

can anyone please help? thanks a lot

This isn't an XML related issue. I think you need to talk with CruiseControl experts, or someone who knows the Harvest plugin. If you find one here on this board it's just pure luck.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.