Re: <veto> and ignoreFiles ...

Julian Simpson <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <CANwBkz-aEoUFhs8kfdrTzwq7dNo+_MSrXwYqn6uEVgZEDKMOqg@mail.gmail.com>
On 21 July 2011 12:44, Thaddaeus Frogley <[email protected]> wrote:

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

How about a composite build (
http://cruisecontrol.sourceforge.net/main/configxml.html#composite) or a
top-level wrapper build that calls builds in the right sequence?

J.


> 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/
> _______________________________________________
> Cruisecontrol-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
>



-- 
Julian Simpson
The Build Doctor Ltd.
http://www.build-doctor.com
[email protected]
(+44) 207 183 0323

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1

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