avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h..@apache.org
Subject cvs commit: jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/tools/metagenerate MetaGenerateTask.java
Date Tue, 22 Oct 2002 06:41:12 GMT
huw         2002/10/21 23:41:12

  Modified:    src/java/org/apache/avalon/phoenix/tools/metagenerate
                        MetaGenerateTask.java
  Log:
  no message
  
  Revision  Changes    Path
  1.3       +12 -1     jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/tools/metagenerate/MetaGenerateTask.java
  
  Index: MetaGenerateTask.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/tools/metagenerate/MetaGenerateTask.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- MetaGenerateTask.java	22 Oct 2002 06:19:35 -0000	1.2
  +++ MetaGenerateTask.java	22 Oct 2002 06:41:12 -0000	1.3
  @@ -22,6 +22,7 @@
   {
   
       private File m_destDir;
  +    private boolean m_inheritance = true;
   
       /**
        * Execute
  @@ -51,6 +52,15 @@
       }
   
       /**
  +     * Inheritence : should parent classes of blocks be queried too?
  +     * @param inheritance
  +     */
  +    public void setInheritance(boolean inheritance)
  +    {
  +        m_inheritance = inheritance;
  +    }
  +
  +    /**
        * Output the classes
        * @throws IOException If a problem writing output
        */
  @@ -63,7 +73,8 @@
               DocletTag block = javaClass.getTagByName("phoenix:block");
               if (block != null)
               {
  -                XinfoFactory factory = new XinfoFactory(m_destDir, javaClass);
  +                XinfoFactory factory = new XinfoFactory(m_destDir, javaClass,
  +                        allClasses, m_inheritance);
                   factory.generate();
               }
               DocletTag topic = javaClass.getTagByName("phoenix:mx-topic");
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message