ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Hanik" <fi...@filip.net>
Subject Re: Fully Automated Builds
Date Fri, 19 Jan 2001 00:05:58 GMT
>ant -verbose -buildfile mybuild.xml java_target > mybuild.log.
see my previous post how you can generate more than one file

Filip

~
Namaste - I bow to the divine in you.
~
Filip Hanik
Technical Architect
filip@filip.net

----- Original Message ----- 
From: "Beaumont Muni" <BMuni@iLumin.com>
To: <ant-user@jakarta.apache.org>
Sent: Thursday, January 18, 2001 3:58 PM
Subject: RE: Fully Automated Builds


Filip

Regarding logging the output of the builds:

I am also doing the same kind of thing using ant on win-2000 platform. You
might already be doing this, but to answer your question, there isn't any
redirection type of attribute for outputs with javac, yet it can be done by
simply implementing redirection when invoking the xml file. eg ant -verbose
-buildfile mybuild.xml java_target > mybuild.log.
The output still gets redirected even if the build fails.


Beaumont Muni

Software Engineer
iLumin Corporation
http://www.ilumin.com
bmuni@ilumin.com


-----Original Message-----
From: Filip Hanik [mailto:filip@filip.net]
Sent: Thursday, January 18, 2001 4:31 PM
To: ant-user@jakarta.apache.org
Subject: Re: Fully Automated Builds


-logfile mybuid.log should do it

Filip

~
Namaste - I bow to the divine in you.
~
Filip Hanik
Technical Architect
filip@filip.net

----- Original Message ----- 
From: "Bevan Arps" <bevan.arps@actfs.co.nz>
To: "Ant User Mailing List" <ant-user@jakarta.apache.org>
Sent: Thursday, January 18, 2001 3:26 PM
Subject: Fully Automated Builds



Gidday everyone.

I'm using ANT to automate our production build process and having a good
deal of success.

Two things elude me though - despite reading the docs and searching the
mailing lists.

The first is how to capture the output of javac to a log file - our
builds are unattended and we want to end up with the results of the
build logged on our intranet. All I need to achieve that is having the
log messages in a text file.

The second is how to get ant to continue building even after javac fails
- our builds usually contain a number of related applications and we
want ant to at least attempt compiling all of them.

Thanks for your help,
Bevan.

-- 
_______________________________________________________________________
Bevan Arps, OO Analyst                    email: bevan.arps@actfs.co.nz
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).
***********************************************************************


Mime
View raw message