java-gobject-introspection r63 - trunk/src/org/gnome/gir/compiler
- From: walters svn gnome org
- To: svn-commits-list gnome org
- Subject: java-gobject-introspection r63 - trunk/src/org/gnome/gir/compiler
- Date: Tue, 23 Sep 2008 22:52:37 +0000 (UTC)
Author: walters
Date: Tue Sep 23 22:52:37 2008
New Revision: 63
URL: http://svn.gnome.org/viewvc/java-gobject-introspection?rev=63&view=rev
Log:
Print number of generated classes
Modified:
trunk/src/org/gnome/gir/compiler/CodeFactory.java
Modified: trunk/src/org/gnome/gir/compiler/CodeFactory.java
==============================================================================
--- trunk/src/org/gnome/gir/compiler/CodeFactory.java (original)
+++ trunk/src/org/gnome/gir/compiler/CodeFactory.java Tue Sep 23 22:52:37 2008
@@ -2176,11 +2176,13 @@
verify = null;
}
+ int nClasses = 0;
for (Map.Entry<String,InputStream> entry : allClassnames.entrySet()) {
if (verify != null) {
try {
ClassReader reader = new ClassReader(entry.getValue());
verify.invoke(null, new Object[] { reader, loader, false, new PrintWriter(System.err) } );
+ nClasses++;
} catch (InvocationTargetException e) {
System.err.println("Failed to verify " + entry.getKey());
e.printStackTrace();
@@ -2193,6 +2195,7 @@
}
for (ZipFile zip: zips)
zip.close();
+ logger.info(String.format("Verified %d classes", nClasses));
}
public static Set<File> compileAll() throws Exception {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]