Source: icu4j
Version: 57.1-1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi,

Whilst working on the "reproducible builds" effort [0], we noticed that icu4j 
could not be built reproducibly.

Patch attached.


 [0] https://wiki.debian.org/ReproducibleBuilds


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/tools/build/src/com/ibm/icu/dev/tool/index/IndexGenerator.java    
2016-06-23 15:21:11.416302342 +0200
--- b/tools/build/src/com/ibm/icu/dev/tool/index/IndexGenerator.java    
2016-06-23 15:30:18.029205337 +0200
@@ -60,13 +60,13 @@
         }
 
         DateFormat fmt = DateFormat.getDateTimeInstance(DateFormat.LONG, 
DateFormat.LONG, Locale.US);
-        DateFormat copyfmt = new SimpleDateFormat("'# Copyright (C) 'yyyy' IBM 
Inc.  All Rights Reserved.'");
+        DateFormat copyfmt = new SimpleDateFormat("'# Copyright (C) IBM Inc.  
All Rights Reserved.'");
 
         try {
             File outFile = new File(outDir, "res_index.txt");
             PrintWriter pw = new PrintWriter(new BufferedWriter(new 
FileWriter(outFile)));
             Date now = new Date();
-            pw.println("# Generated by " + IndexGenerator.class.getName() + " 
on " + fmt.format(now));
+            pw.println("# Generated by " + IndexGenerator.class.getName());
             pw.println("# from contents of " + inDir.getCanonicalPath());
             pw.println(copyfmt.format(now));
             Iterator i = names.iterator();
_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to