<veto> and ignoreFiles ...
Thaddaeus Frogley <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <CAFvpAJFioXHqT9C0ZgY0L+BT8W7eN7+0jC38Nha+0Rk8Ho=nyw@mail.gmail.com> |
Hi,
I have a project I'm trying to automate with CC, and I've hit on a
problem I can't see a way of handling.
I have a big project which is made up of several bits and pieces that
need to build one after another.
If something further down the dependency chain is changed I'd rather
not build the full set of projects.
For reasons outside my control, there is for all intents and purposes
code and date mixed up in the same directory tree.
One sub project is a tool that builds the data, lets call it "Editor",
and has a modification set looks like this:
<modificationset quietperiod="30" ignoreFiles="*.XX">
<p4 view="//Depot/Foo/Bar/..."/>
</modificationset>
Where "*.XX" is the data files it in turn processes.
And I then have the data building sub project, that uses the
executable built by the first sub project to build the XX data:
To handle the dependency I hoped to use a modification set with a veto
to depend on the first project being built, which might look like
this:
<modificationset quietperiod="30">
<veto>
<triggers>
<p4 view="//Depot/Foo/Bar/..."/>
</triggers>
<buildstatus logdir="logs/Editor" />
</veto>
<p4 view="//Depot/Foo/Bar/....XX"/>
</modificationset>
But as you can see, the veto will fail because a change to an XX file
will "veto" the data build, thinking the Editor is out of date, since
there doesn't seem to be any way to tell a "veto" block about a
project's "ignoreFiles".
I realise the way the files are mixed together is obscene, so please
don't tell me to fix it by fixing that, for reasons outside my
control, it's not an option.
I just need to find a way to tell CC that one project depends on the
other project, without causing false positives in the veto dependency
checking.
Thanks
Thad
--
Thaddaeus Frogley
Senior Programmer, Climax Games
------------------------------------------------------------------------------
5 Ways to Improve & Secure Unified Communications
Unified Communications promises greater efficiencies for business. UC can
improve internal communications as well as offer faster, more efficient ways
to interact with customers and streamline customer service. Learn more!
http://www.accelacomm.com/jaw/sfnl/114/51426253/