User: pathoss
Date: 02/05/12 14:42:34
Modified: core/src/xdoclet/loader Tag: MODULE_REFACTORING_BRANCH
ModuleFinder.java
Log:
Better output.
Revision Changes Path
No revision
No revision
1.3.2.7 +5 -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.6
retrieving revision 1.3.2.7
diff -u -w -r1.3.2.6 -r1.3.2.7
--- ModuleFinder.java 12 May 2002 21:36:20 -0000 1.3.2.6
+++ ModuleFinder.java 12 May 2002 21:42:34 -0000 1.3.2.7
@@ -23,7 +23,7 @@
*
* @author <a href="mailto:[EMAIL PROTECTED]">Aslak Helles�y</a>
* @created 7. april 2002
- * @version $Revision: 1.3.2.6 $
+ * @version $Revision: 1.3.2.7 $
*/
public class ModuleFinder
{
@@ -60,6 +60,8 @@
{
Log log = LogUtil.getLog(ModuleFinder.class, "findModules");
+ log.info("Registering XDoclet modules (searching for jars containing
META-INF/xdoclet.xml) ...");
+
ArrayList result = new ArrayList();
XDocletXmlParser parser = new XDocletXmlParser();
@@ -74,7 +76,7 @@
JarEntry xdocletXml = jar.getJarEntry("META-INF/xdoclet.xml");
if (xdocletXml != null) {
- log.info(file.getAbsolutePath() + " has a META-INF/xdoclet.xml.
Parsing it.");
+ log.info(file.getAbsolutePath() + " complies. Parsing it.");
InputStream xdocletXmlIs = jar.getInputStream(xdocletXml);
XDocletModule module = parser.parse(xdocletXmlIs);
@@ -87,7 +89,7 @@
}
}
else {
- log.info("Skipping " + file.getAbsolutePath() + " (No
META-INF/xdoclet.xml found)");
+ log.debug("Skipping " + file.getAbsolutePath() + " (No
META-INF/xdoclet.xml in here)");
}
}
catch (IOException e) {
_______________________________________________________________
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