Re: Project dependency in CC - how to achieve it ?

"Tom Gould" <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
If you get this working satisfactorily - i would love to know the
solution - my predecessor had been fighting this exact thing for a while
and gave up - I have yet to get it back on my priority list....
 
Thanks...

________________________________

From: as rao [mailto:[email protected]] 
Sent: Monday, November 30, 2009 11:05 AM
To: [email protected]
Subject: [Cruisecontrol-user] Project dependency in CC - how to achieve
it ?


Hi

I would like to know how to establish proj dependency in CC projects. If
I have 2 projects A and B, and I would like A to run first before every
time B runs (in other words, A as a bootstrapper for B). 

my env:
- RH Linux
- CC 2.8.2
- I am calling ant targets from CC. 

I don't see any dependency functionality directly supported in CC. (I am
a new user though, so no wonder if I missed some obivious.) Given the
nice way CC is designed, I tend to think that, this is not supported for
some specific reason. 

I am thinking of simulating my need in one of the following ways:
1. Use <antbootstrapper> in B, call the ant target of the A in this
antbootstrapper. Problem: Its difficult to simulate bootstrappers, log,
etc., of A

2. In <schedule> use <ant> call to call ant target of A, before calling
targets for B. Same problems as above.

3. Call A using exec .. don't know if its possible.

Any suggestions on how to achieve/simulate this requirement ? Also if CC
delibrately denied this feature for some reason, I want to be aware of
that reason, so that, I don't learn the same lesson trying to simulate. 

TIA
a s

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