kaz         02/03/17 11:21:04

  Modified:    src/dvsl/xdocs dependencies.dvsl developer-list.dvsl
                        mail-lists.dvsl
  Log:
  If the dependencies, mailing lists, or developers do not exist in the
  project descriptor, then indicate this in a more friendly manner on the
  generated web site.
  
  Revision  Changes    Path
  1.2       +21 -7     jakarta-turbine-maven/src/dvsl/xdocs/dependencies.dvsl
  
  Index: dependencies.dvsl
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-maven/src/dvsl/xdocs/dependencies.dvsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- dependencies.dvsl 11 Mar 2002 20:20:38 -0000      1.1
  +++ dependencies.dvsl 17 Mar 2002 19:21:04 -0000      1.2
  @@ -2,10 +2,10 @@
   
     dependency page generator
   
  -  version : $Id: dependencies.dvsl,v 1.1 2002/03/11 20:20:38 jvanzyl Exp $
  +  version : $Id: dependencies.dvsl,v 1.2 2002/03/17 19:21:04 kaz Exp $
   -->
   
  -#match ("dependencies")
  +#match ("/")
   <?xml version="1.0"?>
   <document>
   
  @@ -15,9 +15,26 @@
   
     <body>
       <section name="Dependencies">
  -      <p>
  -        These are the dependencies required by the project :
  +
  +    #if (! $node.get('/project/dependencies'))
  +      <p> 
  +        There are no dependencies for this project.  It is a standalone
  +        application that does not depend on any other project.
         </p>
  +    #else
  +      <p> 
  +        The following is a list of dependencies for this project.  These
  +        dependencies are required to compile and run the application:
  +      </p>
  +$context.applyTemplates()
  +    #end
  +
  +    </section>
  +  </body>
  +</document>
  +#end
  +
  +#match ("dependencies")
         <table>
           <tr>
             <th>Name</th>
  @@ -27,9 +44,6 @@
           </tr>
   $context.applyTemplates()
         </table>
  -    </section>
  -  </body>
  -</document>
   #end
   
   #match ("dependency")
  
  
  
  1.2       +22 -7     jakarta-turbine-maven/src/dvsl/xdocs/developer-list.dvsl
  
  Index: developer-list.dvsl
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-maven/src/dvsl/xdocs/developer-list.dvsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- developer-list.dvsl       11 Mar 2002 20:20:38 -0000      1.1
  +++ developer-list.dvsl       17 Mar 2002 19:21:04 -0000      1.2
  @@ -2,10 +2,10 @@
   
     developer list page generator
   
  -  version : $Id: developer-list.dvsl,v 1.1 2002/03/11 20:20:38 jvanzyl Exp $
  +  version : $Id: developer-list.dvsl,v 1.2 2002/03/17 19:21:04 kaz Exp $
   -->
   
  -#match ("developers")
  +#match ("/")
   <?xml version="1.0"?>
   <document>
   
  @@ -15,9 +15,27 @@
   
     <body>
       <section name="Developers">
  -      <p>
  -        Here are the developers on the project:
  +
  +    #if (! $node.get('project/developers'))
  +      <p> 
  +        There are no developers working on this project.  Please check
  +        back at a later date.
         </p>
  +    #else
  +      <p> 
  +        The following is a list of developers that have contributed to
  +        the project in one way or another through source contributions
  +        to documentation efforts.
  +      </p>
  +$context.applyTemplates()
  +    #end
  +
  +    </section>
  +  </body>
  +</document>
  +#end
  +
  +#match ("developers")
         <table>
           <tr>
             <th>Name</th>
  @@ -26,9 +44,6 @@
           </tr>
   $context.applyTemplates()
         </table>
  -    </section>
  -  </body>
  -</document>
   #end
   
   #match ("developer")
  
  
  
  1.2       +22 -7     jakarta-turbine-maven/src/dvsl/xdocs/mail-lists.dvsl
  
  Index: mail-lists.dvsl
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-maven/src/dvsl/xdocs/mail-lists.dvsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- mail-lists.dvsl   11 Mar 2002 20:20:38 -0000      1.1
  +++ mail-lists.dvsl   17 Mar 2002 19:21:04 -0000      1.2
  @@ -2,10 +2,10 @@
   
     mail list page generator
   
  -  version : $Id: mail-lists.dvsl,v 1.1 2002/03/11 20:20:38 jvanzyl Exp $
  +  version : $Id: mail-lists.dvsl,v 1.2 2002/03/17 19:21:04 kaz Exp $
   -->
   
  -#match ("mailingLists")
  +#match ("/")
   <?xml version="1.0"?>
   <document>
   
  @@ -15,9 +15,27 @@
   
     <body>
       <section name="Mailing Lists">
  -      <p>
  -        Here are the email lists for the project:
  +
  +    #if (! $node.get('project/mailingLists'))
  +      <p> 
  +        There are no mailing lists established for this project.  Please
  +        check back at a later date.
         </p>
  +    #else
  +      <p> 
  +        These are the mailing lists that have been established for this
  +        project.  For each list, there is a subscribe, unsubscribe, and an
  +        archive link.
  +      </p>
  +$context.applyTemplates()
  +    #end
  +
  +    </section>
  +  </body>
  +</document>
  +#end
  +
  +#match ("mailingLists")
         <table>
           <tr>
             <th>List Name</th>
  @@ -27,9 +45,6 @@
           </tr>
   $context.applyTemplates()
         </table>
  -    </section>
  -  </body>
  -</document>
   #end
   
   #match ("mailingList")
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to