mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-30 19:52:13 +01:00
Added library version to "Using library X..." verbose notification
This commit is contained in:
parent
ddd19f6057
commit
c4de750253
@ -388,16 +388,22 @@ public class Compiler implements MessageConsumer {
|
|||||||
for (UserLibrary lib : importedLibraries) {
|
for (UserLibrary lib : importedLibraries) {
|
||||||
if (verbose) {
|
if (verbose) {
|
||||||
String legacy = "";
|
String legacy = "";
|
||||||
if (lib instanceof LegacyUserLibrary)
|
if (lib instanceof LegacyUserLibrary) {
|
||||||
legacy = "(legacy)";
|
legacy = "(legacy)";
|
||||||
System.out.println(I18n
|
}
|
||||||
.format(_("Using library {0} in folder: {1} {2}"), lib.getName(),
|
|
||||||
lib.getInstalledFolder(), legacy));
|
if (lib.getParsedVersion() == null) {
|
||||||
|
System.out.println(I18n.format(_("Using library {0} in folder: {1} {2}"), lib.getName(), lib.getInstalledFolder(), legacy));
|
||||||
|
} else {
|
||||||
|
System.out.println(I18n.format(_("Using library {0} at version {1} in folder: {2} {3}"), lib.getName(), lib.getParsedVersion(), lib.getInstalledFolder(), legacy));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
includeFolders.add(lib.getSrcFolder());
|
includeFolders.add(lib.getSrcFolder());
|
||||||
}
|
}
|
||||||
if (verbose)
|
|
||||||
|
if (verbose) {
|
||||||
System.out.println();
|
System.out.println();
|
||||||
|
}
|
||||||
|
|
||||||
List<String> archs = new ArrayList<String>();
|
List<String> archs = new ArrayList<String>();
|
||||||
archs.add(BaseNoGui.getTargetPlatform().getId());
|
archs.add(BaseNoGui.getTargetPlatform().getId());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user