Re: 2.8.2 -> 2.8.4: antBuilderOutput.log deleted on ant task completion?

Jeffrey Fredrick <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
I think if you use the saveLogDir attribute and set it to the artifact
directory then the log will be saved:

http://cruisecontrol.sourceforge.net/main/configxml.html#ant

I haven't checked the source to confirm this, but that's what I get from
looking at the documentation.

Jtf


On Wed, Dec 1, 2010 at 12:03 AM, Marc W. <[email protected]> wrote:

> Under 2.8.2, I was happily gathering the leftover antBuilderOutput.log (raw
> text of the Ant output) after an <ant> or <antpublisher> step to save in the
> build's artifact folder so that one could see exactly what occurred.
>
> However, upon upgrading to 2.8.4 (and replacing the "showAntOutput"
> attribute with "liveOutput"), I find that the antBuilderOutput.log is
> getting deleted after the build.  I can't for the life of me figure out a
> configuration set to preserve them.  As a result, my <artifactpublisher>
> can't find the log to save in my artifacts folder, and developers
> investigating a failed build are wondering where the Ant log went.
>
> I've managed to add a tab to essentially report the XPath query,
> "cruisecontrol/build//message[@priority!='debug']" text() output, but while
> this can report Ant output from the <ant> task, I can't use this approach to
> report on the Ant output from an <antpublisher> step (which is just as
> important).
>
> Any advice?  Thanks for your help,
> -Marc
>


-- 
CITCON
Continuous Integration and Testing Conference
http://www.citconf.com/

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev

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