Oh right -- I forgot <ant> lets you specify an output file. This is a
reasonable way to do it -- except you don't need to break your build up
into 3 different build.xml files -- just go ahead and <ant> to targets in
the one you have now.
Diane
--- Filip Hanik <[EMAIL PROTECTED]> wrote:
> 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
> <ANT>
>
> 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
> Filip
>
> ~
> Namaste - I bow to the divine in you.
> ~
> Filip Hanik
> Technical Architect
> [EMAIL PROTECTED]
>
> ----- Original Message -----
> From: "Bevan Arps" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> 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:
>
> tnz_user_service
> tnz_vehicle_service
> pricinging_scenario_service
>
> 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
> build:
>
> Logs/tnz_user_service.log
> Logs/tnz_vehicle_service.log
> Logs/pricinging_scenario_service.log
>
> 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?
>
> Ta,
> Bevan.
>
> --
> _______________________________________________________________________
> Bevan Arps, OO Analyst email: [EMAIL PROTECTED]
> 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
> Pacific).
> ***********************************************************************
>
=====
([EMAIL PROTECTED])
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/