Fatal Error with missing modification set

"Meystrik,Jeff,ST LOUIS,Engineering" <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
Most of our projects are composed of many cvs tags inside the
modificationset:

<modificationset quietperiod="120">
  <cvs localworkingcopy="projects/${project.name}/${project.dir}"
tag="CARMA_6_10_0"/>
  <cvs localworkingcopy="projects/${project.name}/NPPC Domain(II)"
tag="CARMA_6_10_0"/>
  <cvs localworkingcopy="projects/${project.name}/NPPC Common"
tag="CARMA_6_10_0"/>
  <cvs localworkingcopy="projects/${project.name}/Security"
tag="CARMA_6_10_0"/>
</modificationset>

>From time to time, the developers forget to tag a required project
(example Security) and we receive the following error:

   2009-03-02 14:12:12,164 [WrapperSimpleAppMain] FATAL Main   - Local
working copy "projects/carma-6.10.0/Security" does not exist!

Sporadically, this will cause CruiseControl to crash.  Also,
CruiseControl will not restart until I either fix this problem or remove
the project from the configuration file.  The problem with the restart
is that it can not parse the config.xml file because of the missing
required project:

2009-03-04 09:57:17,692 [Project build thread] ERROR
CruiseControlController - error parsing config file C:\Program
Files\Special\CruiseControl\projects\Build\cruise
control\config.generated.xml
net.sourceforge.cruisecontrol.CruiseControlException: Local working copy
"projects/carma-6.10.0/Security" does not exist!
	at
net.sourceforge.cruisecontrol.util.ValidationHelper.fail(ValidationHelpe
r.java:90)
	at
net.sourceforge.cruisecontrol.util.ValidationHelper.assertFalse(Validati
onHelper.java:99)
	at
net.sourceforge.cruisecontrol.sourcecontrols.ConcurrentVersionsSystem.va
lidate(ConcurrentVersionsSystem.java:447)
	...

I have been running some test as I was typing this e-mail.  Looks like
the problem I am seeing is in the failed parsing of the config.xml file.
(When the project's build loop runs, it correctly fails the build and
reports the missing "Local working copy".)    It seems to me that the
parsing should only fail if the document is not well formed.  All other
checks (like if a local working copy exist) should not be performed
until the project's build loop is run.  Is there somewhere in the
configuration that I can change the behavior of the parsing?  Should
this be reported as a bug?  

I did look on the issue tracking site and I found one issue (CCRB-27
don't crash the builder on build config errors ) that seemed similar to
my issue.  But there was not enough detail provide for me to determine
if it was the same problem.

Jeff Meystrik

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H

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