User: rinkrank
  Date: 02/05/13 15:24:16

  Modified:    core/src/xdoclet/loader Tag: MODULE_REFACTORING_BRANCH
                        ModuleFinder.java
  Log:
  Added @tags to core taghandlers. required when building the xdoclet-all.jar file
  Modules are now loaded in DocletTask's constructor
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.3.2.9   +3 -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.8
  retrieving revision 1.3.2.9
  diff -u -w -r1.3.2.8 -r1.3.2.9
  --- ModuleFinder.java 13 May 2002 08:50:11 -0000      1.3.2.8
  +++ ModuleFinder.java 13 May 2002 22:24:16 -0000      1.3.2.9
  @@ -23,7 +23,7 @@
    *
    * @author    <a href="mailto:[EMAIL PROTECTED]";>Aslak Helles�y</a>
    * @created   7. april 2002
  - * @version   $Revision: 1.3.2.8 $
  + * @version   $Revision: 1.3.2.9 $
    */
   public class ModuleFinder
   {
  @@ -53,7 +53,7 @@
                   return file;
               }
           }
  -        return null;
  +        throw new IllegalStateException("Couldn't find " + name + " on classpath:" 
+ System.getProperty("xdoclet.class.path"));
       }
   
       public static List findModules(boolean verbose)
  @@ -76,7 +76,7 @@
                   JarEntry xdocletXml = jar.getJarEntry("META-INF/xdoclet.xml");
   
                   if (xdocletXml != null) {
  -                    log.info(file.getAbsolutePath() + " complies. Parsing it.");
  +                    log.info(file.getAbsolutePath() + " exists. Parsing it.");
   
                       InputStream xdocletXmlIs = jar.getInputStream(xdocletXml);
                       XDocletModule module = parser.parse(xdocletXmlIs);
  
  
  

_______________________________________________________________

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

Reply via email to