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

  • Home
  • SEARCH
  • 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 554887
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T11:45:28+00:00 2026-05-13T11:45:28+00:00

I have 2 applications sharing a common library. Both apps and the library are

  • 0

I have 2 applications sharing a common library. Both apps and the library are in active development. Both apps include the project file in their solution.

The folders are laid out in source control as:

Root
  App1
  App2
  Library

We currently have separate cruise control builds set to run any time a file is committed to the app1, app2, or library folder hierarchies. A successful build of Library will then trigger builds of app1 and app2.

For the most part this works well; the problem is when someone commits changes to both Library and App1 (or app2). This generally occurs as a result of implementing a function that requires modification/addition to something in Library to be implemented. When this happens the triggers for building both Library (change in Library\foo.cs) and App1 (change in app1\bar.cs) will activate. Both will see that the file Base\Library\foo.cs has been changed and attempt to rebuild Library. Only one will succeed because the fire one to start writing an object file for Library will get an exclusive file lock; the second immediately fails. This has happened several times forcing someone to go in and manually rerun the build that failed due to the lock.

To try and mitigate the risk of this happening again we’ve changed the polling intervals for each of the triggers so that they’re set to different values to try and avoid two firing at the same time. It’s still not perfect because the cycles between Library and AppN will occur at the same time every N*M seconds (N and M being the respective polling intervals).

Is there a more elegant or less likely to fail solution available?

  • 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-13T11:45:28+00:00Added an answer on May 13, 2026 at 11:45 am

    Yes. I believe you want to put all 3 projects in the same queue. This will prevent the projects from being built simultaneously.

    You’ll want something like this in your CCNet.Config file:

    <project name="Library" queue="Q1" queuePriority="1">
    <project name="App1" queue="Q1" queuePriority="2">
    <project name="App2" queue="Q1" queuePriority="3">
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two applications under tomcat/webapps folder. tomcat/webapps/App1 tomcat/webapps/App2 Both applications share the same
I have two applications in two solutions in VS2008 that share a common dll,
I have three web application projects that share a common library of custom server
I have a C++ legacy codebase with 10-15 applications, all sharing several components. While
Many applications have grids that display data from a database table one page at
I have two applications written in Java that communicate with each other using XML
I have several applications that are part of a suite of tools that various
I have clustered applications that requires one of the nodes to be designated as
We have 2 applications that run under JBoss. I am looking for a way
I have three applications that talk to each other using sockets. They can all

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.