You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2014/11/21 08:02:29 UTC

[Bug 57243] New: Deterministic (reproducible) output (without total time)

https://issues.apache.org/bugzilla/show_bug.cgi?id=57243

            Bug ID: 57243
           Summary: Deterministic (reproducible) output (without total
                    time)
           Product: Ant
           Version: 1.9.4
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Core
          Assignee: notifications@ant.apache.org
          Reporter: ville@oikarinen.org

I'm generating documentation from output of code that, among other things,
executes ant.

I want the generated document to be fully reproducible (deterministic) i.e.
given the same input files the output document must be exactly the same.

But I cannot achieve this without filtering ant output, because ant prints
"Total time" in the end, and the time can be different between runs.

I have tried the "-S" flag, but that also suppresses output from java programs
executed by ant using the <java> element. So that does not help.

Using a custom logger is not an easy enough solution for my needs.

So I propose one or several of the following:
- option "--nototaltime" that just suppresses the Total time line, regardless
of other flags
- option "--deterministic-output" that tells the intention more clearly, in
case there are other possible nondeterministic output cases

Yet another option is to make another flag like "-S" that suppresses all
_irrelevant_ output. Now it's printing all relevant output produced directly by
ant, but this new option would also print all relevant output (actually, all
output) by code executed with <java> and <exec>

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 57243] Deterministic (reproducible) output (without total time)

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57243

--- Comment #1 from Ville Oikarinen <vi...@oikarinen.org> ---
Oh, yet another option: instead of new flags just add a new logger
implementation to the ant distribution. Or several of them.

-- 
You are receiving this mail because:
You are the assignee for the bug.