https://bz.apache.org/bugzilla/show_bug.cgi?id=61269

--- Comment #5 from Stefan Bodewig <[email protected]> ---
I believe it depends on what you mean by "supports reproducible builds".

The archiving tasks all support attributes that can be used to set the
timestamps of the archive entries - which should create identical archives in
many cases. javac doesn't done anything specific to support reproducible class
files, your build process needs to ensure it works.

<tstamp> honors an environment variable SOURCE_DATE_EPOCH that allows you to
set its outcome to a given value.

All Ant build setups are different and there is no magic flag one can use that
would make a build that is not prepared to be reproducible to become
reproducible.

I'm pretty sure there are Ant tasks that could and should be improved to make
things easier and the debian patches point at some weaknesses (at least the
tstamp one has been applied already).

We should proabably try to make Ant's own build reproducible which should help
us identify weak spots. I know the Tomcat community has been able to do so and
we can learn from them. And most likely we should document how to do it for the
benefit of others.

"we should" here means "if anybodxy of the few active developers still present
finds time to do so", unfortunately.

Oh, I've never heard of a ant.build.reproducible property :-)

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

Reply via email to