Re: CruiseControl Not Deploying Changes on a CVS Branch

Chuck Burgess <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
On Thu, Sep 10, 2009 at 10:25 AM, Flaisher, Harvey (NIH/NCI) [C] <
[email protected]> wrote:

>  Hello:
>
>
>
> CC was working fine on a branch of our project, “BR-2-0-5”.  We then merged
> that branch with the trunk and created another branch, “BR-2-0-5-1”.  Since
> that time, CC has ceased to work properly and nothing is being deployed off
> the new branch, “BR-2-0-5-1”.  config.xml points to a build file:
>
>
>
>     <schedule interval="20">
>
>       <ant buildfile="build-hints205.xml" uselogger="true"/>
>
>     </schedule>
>
>
>
> And in build-hints205.xml, I have:
>
>
>
> <project name="build-hints205" default="build" basedir="projects/hints205">
>
>     <target name="build">
>
>         <cvs command="update -P -d -r BR-2-0-5-1"/>
>
>         <ant antfile="build.xml" target="deploy"/>
>
>     </target>
>
> </project>
>
>
>
> On startup, no errors (hints205)
>
>
>
> [cc]Sep-10 10:47:40 Project       - Project hints205 started
>
> [cc]Sep-10 10:47:40 Project       - Project hints205:  next build in 20
> seconds
>
> [cc]Sep-10 10:47:40 Project       - Project hints205:  waiting for next
> time to build
>
> ....
>
> [cc]Sep-10 10:47:57 BuildQueue    - BuildQueue started
>
>
>
> When CC makes its first pass at attempting to deploy this project, CC does
> not recognize the changed file in CVS:
>
>
>
>  [parsley:cruisecontrol_workdir][cc]Sep-10 10:48:00 Project       - Project
> hints205:  in build queue
>
> [cc]Sep-10 10:48:00 jectController- hints205 Controller: build progress
> event: in build queue
>
> [cc]Sep-10 10:48:00 BuildQueue    - now adding to the thread queue:
> hints205
>
> [cc]Sep-10 10:48:00 Project       - Project hints205:  bootstrapping
>
> [cc]Sep-10 10:48:00 jectController- hints205 Controller: build progress
> event: bootstrapping
>
> [cc]Sep-10 10:48:00 Project       - Project hints205:  checking for
> modifications
>
> [cc]Sep-10 10:48:00 jectController- hints205 Controller: build progress
> event: checking for modifications
>
> [cc]Sep-10 10:48:00 VersionsSystem- cvs checkout: cannot find module
> `CVSROOT/users' - ignored
>
> [cc]Sep-10 10:48:00 VersionsSystem- problem getting CVSROOT/users; using
> empty email map
>
> -à   [cc]Sep-10 10:48:06 Project       - Project hints205:  No
> modifications found, build not necessary.
>
> [cc]Sep-10 10:48:06 Project       - Project hints205:  idle
>
> [cc]Sep-10 10:48:06 jectController- hints205 Controller: build progress
> event: idle
>
> [cc]Sep-10 10:48:06 Project       - Project hints205:  next build in 20
> seconds
>
>
>
>
>
> And nothing is deployed, when one file should have been (a test file I
> checked into CVS).  (I think CVSROOT/users is not a substantive error, as it
> involves emails).  When I update from CVS manually to the localworkingcopy
> (cruisecontrol_workdir/projects/hints205) at the Unix command prompt:
>
>
>
> cvs update -P -d -r BR-2-0-5-1
>
>
>
> CVS recognizes the file as having been changed and updates it locally:
>
>
>
> P wwwroot/sharing.jsp
>
>
>
> So this appears to be a CC problem.  Could anyone give me some direction?
>
>
>
> Thanks in advance for any advice.
>
>
>
> Regards,
>
> Harvey
>


Hi Harvey,

It sounds to me like perhaps the *modificationset* piece is set to only
check your original branch rather than the new one.  Are you using the
*cvs*task inside
*modificationset* to do the check?
-- 
CRB

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july

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