Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update glassfish-hk2 to version 2.5.0 / rev 6 via SR 1110690
https://build.opensuse.org/request/show/1110690 by user fstrba + anag+factory reproducibility improvements
- Loading branch information
1 parent
241e3e2
commit 0f1235e
Showing
5 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- glassfish-hk2-2.5.0-RELEASE/maven-plugins/hk2-inhabitant-generator/src/main/java/org/jvnet/hk2/generator/internal/GeneratorRunner.java 2023-09-12 17:24:07.673254218 +0200 | ||
+++ glassfish-hk2-2.5.0-RELEASE/maven-plugins/hk2-inhabitant-generator/src/main/java/org/jvnet/hk2/generator/internal/GeneratorRunner.java 2023-09-12 17:26:20.997518588 +0200 | ||
@@ -378,7 +378,11 @@ | ||
private void writeHeader(PrintWriter writer) { | ||
writer.println("#"); | ||
if (includeDate) { | ||
- writer.println("# Generated on " + new Date() + " by hk2-inhabitant-generator"); | ||
+ Date now = new Date(); | ||
+ if (System.getenv("SOURCE_DATE_EPOCH") != null) { | ||
+ now = new Date(1000 * Long.parseLong(System.getenv("SOURCE_DATE_EPOCH"))); | ||
+ } | ||
+ writer.println("# Generated on " + now + " by hk2-inhabitant-generator"); | ||
} | ||
else { | ||
writer.println("# Generated by hk2-inhabitant-generator"); | ||
--- glassfish-hk2-2.5.0-RELEASE/dependency-visualizer/src/main/java/com/sun/enterprise/tools/visualizer/hk2/DotGenerator.java 2023-09-12 17:28:53.991920312 +0200 | ||
+++ glassfish-hk2-2.5.0-RELEASE/dependency-visualizer/src/main/java/com/sun/enterprise/tools/visualizer/hk2/DotGenerator.java 2023-09-12 17:30:06.552427028 +0200 | ||
@@ -202,8 +202,12 @@ | ||
this.wireOut.println("digraph wiring {"); | ||
this.wireOut.println("node [color=grey, style=filled];"); | ||
this.wireOut.println("node [fontname=\"Verdana\", size=\"30,30\"];"); | ||
+ Date now = new Date(); | ||
+ if (System.getenv("SOURCE_DATE_EPOCH") != null) { | ||
+ now = new Date(1000 * Long.parseLong(System.getenv("SOURCE_DATE_EPOCH"))); | ||
+ } | ||
String date = DateFormat.getDateTimeInstance(DateFormat.MEDIUM, | ||
- DateFormat.SHORT).format(new Date()); | ||
+ DateFormat.SHORT).format(now); | ||
StringBuffer footer = new StringBuffer(); | ||
footer.append("graph [ fontname = \"Arial\", fontsize = 26,style = \"bold\", "); | ||
footer.append("label = \"\\nGlassFish v3 OSGi bundle wiring relationship diagram"); |