Degrade echo "Ignoring File..." message from WARNING to INFO. Add process status indicator during parallel build.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1609 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
wuyizhong 2006-09-25 09:22:01 +00:00
parent 5c55f71cc9
commit 1a0d7262b4
2 changed files with 15 additions and 1 deletions

View File

@ -767,7 +767,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<element name="EXTRA.ARG" optional="yes"/>
<sequential>
<echo message="Ignoring ${MODULE_DIR}/@{FILEPATH}/@{FILENAME}.@{FILEEXT}"/>
<echo message="Ignoring ${MODULE_DIR}/@{FILEPATH}/@{FILENAME}.@{FILEEXT}" level="info" />
</sequential>
</macrodef>

View File

@ -173,6 +173,7 @@ public class FpdParserForThread extends FpdParserTask {
}
int percentage = (totalNumber - remainNumber) * 100 / totalNumber;
updateTaskName(percentage);
EdkLog.log(this, EdkLog.EDK_ALWAYS, percentage + "% finished. Has built " + (totalNumber - remainNumber) + " modules of " + totalNumber + " total. ");
Set<FpdModuleIdentification> currentQueueModules = fvs.get(queueList.get(currentQueueCode));
@ -392,4 +393,17 @@ public class FpdParserForThread extends FpdParserTask {
--remainNumber;
}
}
private void updateTaskName(int percentage){
int number = percentage/10;
StringBuffer str = new StringBuffer(9);
for(int i = 0; i < 9; i++) {
if (i < number) {
str.append('>');
} else {
str.append('.');
}
}
this.setTaskName(str.toString());
}
}