Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7649791
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T11:03:41+00:00 2026-05-31T11:03:41+00:00

I asked some time ago for help getting continuous integration working in Delphi previously.

  • 0

I asked some time ago for help getting continuous integration working in Delphi previously. One side-answer has partial incomplete (not working for me) information [here][2] for using cruisecontrol.

I have gotten Jenkins/Hudson working, and the easy part about it is that (with Delphi) the configuration is done purely through the Web browser. However with CruiseControl.net is much more difficult to set up.

I would like to see a sample ccnet.config that will build a hello-world delphi project (Project1.dproj) using MSBUILD, from CruiseControl, and auto-rebuild each time that the subversion (or mercurial) upstream sources are modified.

So far I have:

  • installed and got CruiseControl.net version 1.6.7981 and its running.
  • No valid projects in my ccnet.config

Here’s my ccnet.config, originally I had <exec> and changed as suggested below to <msbuild>:

<cruisecontrol xmlns:cb="urn:ccnet.config.builder">
        <!-- CRUISECONTROL.NET Server configuration -->
        <project name="Project1">
            <tasks>
                <msbuild>
                    <projectFile>project1.dproj</projectFile>
                </msbuild>
            </tasks>
        </project>
</cruisecontrol>

Update: I was originally unable to make it read c:\builds\ccnet.config from ccnet.exe but I found that I could run ccnet.exe (non-service mode) with a command line parameter and that got me around the problem finding my ccnet.config.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T11:03:43+00:00Added an answer on May 31, 2026 at 11:03 am

    Here is a sample configuration block for a project that is rebuild at 05:00 if modification exists:

    <!-- DelphiCodeToDoc Project -->
    <project name="DelphiCodeToDoc" queue="Q1" queuePriority="1">
      <category>Delphi</category>
      <artifactDirectory>$(ArtifactBaseDir)\DelphiCodeToDoc</artifactDirectory>
      <workingDirectory>$(WorkingBaseDir)\DelphiCodeToDoc</workingDirectory>
      <triggers>
        <scheduleTrigger time="05:00" buildCondition="IfModificationExists" name="Scheduled" />
      </triggers>
    
      <!-- SVN implementation -->
      <sourcecontrol type="svn">
        <trunkUrl>http://dephicodetodoc.svn.sourceforge.net/svnroot/dephicodetodoc/trunk/DelphiCodeToDoc/</trunkUrl>
        <workingDirectory>$(WorkingBaseDir)\DelphiCodeToDoc</workingDirectory>
      </sourcecontrol>
    
      <!-- Build tasks to implement -->
      <tasks>
    
        <!-- Compile command-line application -->
        <msbuild>
          <executable>$(MSBuildPath)\MSBuild.exe</executable>
          <workingDirectory>$(WorkingBaseDir)\DelphiCodeToDoc\Source</workingDirectory>
          <projectFile>DCTD_cmd.dproj</projectFile>
          <buildArgs>/target:Build /p:Config=Debug</buildArgs>
          <timeout>900</timeout>
          <logger>$(MSBuildLogger)</logger>
        </msbuild>
    
      <!-- Publishing compiled results -->
      <publishers>
        <merge>
          <files>
            <file>$(ArtifactBaseDir)\DelphiCodeToDoc\buildlogs*.xml</file>
          </files>
        </merge>
    
      <!-- Statistics -->
        <xmllogger />
        <rss/>
        <statistics>
        </statistics>
    
      </publishers>
    </project>
    

    You can define variables $(MSBuildPath) in this way:

      <cb:define MSBuildPath="C:\WINDOWS\Microsoft.NET\Framework\v3.5" />
    

    Or replace it directly with the real path.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I asked another SOAP related question some time ago, which asks for a working
One of the questions that I asked some time ago had undefined behavior, so
This is an extension to a question which I asked some time ago. I
This question was asked quite some time ago, and while it covers possible solutions
I asked a question some time ago on java 2d pathfinding... Pathfinding 2D Java
Some time ago I developed a multilingual website and now they have asked me
I've already asked question similar to this some time ago, I thought I solved
I have been working on XNA for quite some time, but was asked to
Some time ago I asked a question about nested loops on SO and as
Some time ago I started working on OpenGL(3.3) renderer for MFC program.Everything was fine

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.