ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Hanik" <>
Subject Re: Fully Automated Builds
Date Thu, 18 Jan 2001 23:55:28 GMT
create three different build.xml files and invoke them after each other
inside your main build.xml you would have three different <ant> tasks,
for each task you would specify the output. Take a look at the builtin task

since you are using the ANT task you only need to set global properties etc
once, in the main file.

for example

<ant antfile="subproject/subbuild.xml" dir="subproject" target="compile"
output="mylog1.log" />

hope this helps

Namaste - I bow to the divine in you.
Filip Hanik
Technical Architect

----- Original Message -----
From: "Bevan Arps" <>
To: <>
Sent: Thursday, January 18, 2001 3:36 PM
Subject: Re: Fully Automated Builds

Filip Hanik wrote:

> -logfile mybuid.log should do it

This only captures ALL the ant output to a file (and includes all of the
ANT overhead as well) - I want to capture the output of *each*
compilation to a separate file.

Eg: Say I trigger a build of a serious of CORBA services we are writing.

I want ANT to attempt to compile and build each of the following jars:


I also want to produce a log on our intranet that lists the results of
each build *separately*.

I already have this up and running for Delphi builds, but not for Java.

In other words, I want to get the following output log files from the


Once I have these files the rest of the logging system will pick them up
as I desire.

Thanks for your idea, Filip.

Any more ideas?


Bevan Arps, OO Analyst                    email:
ACT Financial Systems     "Programming is an Art Form that Fights Back"
This  communication  is confidential  to ACT  Financial  Systems  (Asia
Pacific)  and is intended for  use only by the  addressee.   The  views
and opinions  expressed in  this email  are the senders  own and do not
represent  the  views  and  opinions of  ACT  Financial  Systems  (Asia

View raw message