ebarboni commented on a change in pull request #2001: Get a file of all
libraries during download
URL: https://github.com/apache/netbeans/pull/2001#discussion_r389057766
##########
File path: nbbuild/antsrc/org/netbeans/nbbuild/extlibs/DownloadBinaries.java
##########
@@ -161,6 +169,13 @@ public void execute() throws BuildException {
} else {
success &= fillInFile(hashAndFile[0],
hashAndFile[1], manifest, () -> legacyDownload(hashAndFile[0] + "-" +
hashAndFile[1]));
}
+ if (report != null) {
+ Files.write(
+ report.toPath(),
+ (hashAndFile[0] + ";" + hashAndFile[1]
+ ";" + include + "\n").getBytes(),
+ StandardOpenOption.APPEND);
Review comment:
This would lead to having only last binary in the file.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists