File: 0019-build-date.patch

package info (click to toggle)
ant 1.10.13-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 22,560 kB
  • sloc: java: 146,466; xml: 39,751; sh: 504; perl: 135; javascript: 65; python: 53; jsp: 38; makefile: 35
file content (13 lines) | stat: -rw-r--r-- 514 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
Description: set (compilation) DATE to the property BUILD_DATE
 DATE is used to set the "compiled on" value for `ant -version`.
 A separate property avoids overlap with other uses of the TODAY property.
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1014635
Forwarded: not-needed
Author: tony mancill <tmancill@debian.org>

--- a/src/main/org/apache/tools/ant/version.txt
+++ b/src/main/org/apache/tools/ant/version.txt
@@ -1,2 +1,2 @@
 VERSION=${project.version}
-DATE=${TODAY}
+DATE=${BUILD_DATE}