rubys       01/09/18 19:28:43

  Modified:    proposal/gump gen.java
               proposal/gump/stylesheet build.xsl
  Log:
  More confusion between projects and modules.  I'm considering rewriting
  this section.
  
  Revision  Changes    Path
  1.13      +11 -1     jakarta-alexandria/proposal/gump/gen.java
  
  Index: gen.java
  ===================================================================
  RCS file: /home/cvs/jakarta-alexandria/proposal/gump/gen.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- gen.java  2001/09/18 22:48:14     1.12
  +++ gen.java  2001/09/19 02:28:43     1.13
  @@ -118,6 +118,7 @@
                  copy.removeAttribute("defined-in");
               copyChildren(copy, parent);
           } else {
  +
               parent.replaceChild(copy,node);
           }
          }
  @@ -153,6 +154,7 @@
                String definedIn = parent.getAttribute("defined-in");
                   if (!definedIn.equals(""))
                    element.setAttribute("defined-in",definedIn);
  +
                copyChildren(priorDefinition, element);
                parent.removeChild(priorDefinition);
            }
  @@ -177,12 +179,20 @@
        for (Enumeration e=list.keys(); e.hasMoreElements();) {
           Element element = (Element)list.get(e.nextElement());
           Element parent  = (Element)element.getParentNode();
  +
           if (parent != root) {
  -            parent.removeChild(element);
               String definedIn = parent.getAttribute("defined-in");
                  if (definedIn.equals(""))
                   definedIn = parent.getAttribute("name");
               element.setAttribute("defined-in",definedIn);
  +
  +               if (parent.getNodeName().equals("module")) {
  +                   if (element.getAttributeNode("module") == null) {
  +                       element.setAttribute("module",parent.getAttribute("name"));
  +                   }
  +               }
  +
  +            parent.removeChild(element);
               root.appendChild(element);
           }
        }
  
  
  
  1.27      +1 -1      jakarta-alexandria/proposal/gump/stylesheet/build.xsl
  
  Index: build.xsl
  ===================================================================
  RCS file: /home/cvs/jakarta-alexandria/proposal/gump/stylesheet/build.xsl,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- build.xsl 2001/09/18 21:25:59     1.26
  +++ build.xsl 2001/09/19 02:28:43     1.27
  @@ -136,7 +136,7 @@
             <a href="project_{@defined-in}.html">definition</a>
   
             <xsl:for-each select="/workspace/module[cvs and @name=$module]">
  -            <a href="cvs_{@name}.html">cvs</a>
  +            <a href="cvs_{@defined-in}.html">cvs</a>
             </xsl:for-each>
   
             <!-- dependencies -->
  
  
  

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

Reply via email to