Changeset 708:7c7e655f02f1 in make_builder
- Timestamp:
- 02.10.2020 14:59:51 (2 years ago)
- Branch:
- default
- Phase:
- public
- Tags:
- tip
- Rebase:
- 36643061306639616664343330323430616238383161646165386164623261663237336635663131
- Location:
- src/makebuilder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/makebuilder/BuildEntity.java
r707 r708 195 195 if (be.missingDep) { 196 196 missingDep = true; 197 mfb.printCannotBuildError(this, Util.color(" due to dependency " + be.getReferenceName() + " (" + be.errorMessageId + ")", Util.Color.X, false) + " (" + be.buildFile.relative + (be.lineNumber != 0 ? (":" + be.lineNumber) : "") + ") " + Util.color("which cannot be built", Util.Color.X, false), Util.Color.X); 197 Color messageColor = this.isOptional() ? Util.Color.LIGHTBLUE : Util.Color.X; 198 mfb.printCannotBuildError(this, Util.color(" due to dependency " + be.getReferenceName() + " (" + be.errorMessageId + ")", messageColor, false) + " (" + be.buildFile.relative + (be.lineNumber != 0 ? (":" + be.lineNumber) : "") + ") " + Util.color("which cannot be built", messageColor, false), messageColor); 198 199 return; 199 200 } -
src/makebuilder/util/Util.java
r626 r708 171 171 172 172 /** Color for output */ 173 public enum Color { NONE, RED, GREEN, X, Y 173 public enum Color { NONE, RED, GREEN, X, Y, WHITE, ORANGE, LIGHTBLUE} 174 174 175 175 /** Control Strings for colors */ 176 private static String[] COLOR_STRING = {"", "\033[;2;31m", "\033[;2;32m", "\033[;2;34m", "\033[;2;33m" };176 private static String[] COLOR_STRING = {"", "\033[;2;31m", "\033[;2;32m", "\033[;2;34m", "\033[;2;33m", "\033[;2;37m", "\033[;2;38;5;208m", "\033[;2;38;5;45m"}; 177 177 178 178 /**
Note: See TracChangeset
for help on using the changeset viewer.