Although it's not exactly helpful James, standard practice in
Cruisecontrol would be to use set up each of the ant subprojects you
want to build and set them up as individual cruisecontrol subprojects.
An alternative is to use the multiple <ant> tasks in your main ant
script to call each of the individual build.xml's. This allows an ant
build.xml file to run another ant build file, wait until it's finished,
then continue on with whatever it was doing before. It's a standard ant
task.
http://ant.apache.org/manual/CoreTasks/ant.html

-----Original Message-----
From: James Carr [mailto:[EMAIL PROTECTED] 
Sent: 24 August 2006 15:05
To: user@ant.apache.org
Subject: Any way to import an ant script inside a target?

Hi All,

I am trying to set up an ant script from cruise control to pull projects
in from CVS, build them, and run all tests. The problem that I have is
that I want to use the ant file that is in the project that I check out
as it contains the classpath that is specific a project and changes for
each project. Although one solution would possibly be to use a build
task in the ant file pulled in, the ant file has different needs,
different tasks, and different deployment logic than what I want to do
with cruise control.

Any ideas would be greatly apperciated.



Thanks,
James

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional
commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to