User: pathoss
Date: 02/05/13 01:50:11
Modified: core/src/xdoclet/loader Tag: MODULE_REFACTORING_BRANCH
ModuleFinder.java
Log:
Added support for verbose="true".
Revision Changes Path
No revision
No revision
1.3.2.8 +11 -3 xdoclet/core/src/xdoclet/loader/ModuleFinder.java
Index: ModuleFinder.java
===================================================================
RCS file: /cvsroot/xdoclet/xdoclet/core/src/xdoclet/loader/ModuleFinder.java,v
retrieving revision 1.3.2.7
retrieving revision 1.3.2.8
diff -u -w -r1.3.2.7 -r1.3.2.8
--- ModuleFinder.java 12 May 2002 21:42:34 -0000 1.3.2.7
+++ ModuleFinder.java 13 May 2002 08:50:11 -0000 1.3.2.8
@@ -23,7 +23,7 @@
*
* @author <a href="mailto:[EMAIL PROTECTED]">Aslak Helles�y</a>
* @created 7. april 2002
- * @version $Revision: 1.3.2.7 $
+ * @version $Revision: 1.3.2.8 $
*/
public class ModuleFinder
{
@@ -56,7 +56,7 @@
return null;
}
- public static List findModules()
+ public static List findModules(boolean verbose)
{
Log log = LogUtil.getLog(ModuleFinder.class, "findModules");
@@ -89,13 +89,21 @@
}
}
else {
+ if (verbose) {
+ log.info("Skipping " + file.getAbsolutePath() + " (No
META-INF/xdoclet.xml in here)");
+ }
+ else {
log.debug("Skipping " + file.getAbsolutePath() + " (No
META-INF/xdoclet.xml in here)");
}
}
+ }
catch (IOException e) {
throw new IllegalStateException("Error looking for modules:" +
e.getMessage());
}
}
+
+ if (verbose)
+ log.info("Finished. Registered " + result.size() + " modules.");
return result;
}
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel