rubys       01/10/27 20:29:14

  Modified:    proposal/gump/java Project.java
  Log:
  s/href/url/ in javadoc => that way it doesn't look like something that
  the generation process will inline.
  
  Revision  Changes    Path
  1.13      +6 -6      jakarta-alexandria/proposal/gump/java/Project.java
  
  Index: Project.java
  ===================================================================
  RCS file: /home/cvs/jakarta-alexandria/proposal/gump/java/Project.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- Project.java      2001/10/28 02:48:48     1.12
  +++ Project.java      2001/10/28 03:29:14     1.13
  @@ -354,10 +354,10 @@
       private void resolveJavadoc(Element javadoc) throws Exception {
           if (javadoc == null) return;
   
  -        // retrieve href and dir of javadoc from the workspace
  +        // retrieve url and dir of javadoc from the workspace
           Element config = Workspace.getJavaDoc();
           if (config == null) return;
  -        String href = config.getAttribute("href");
  +        String url = config.getAttribute("url");
           String javadocDir = config.getAttribute("dir");
   
           // default project attribute to the name of this project
  @@ -385,7 +385,7 @@
               fullpath = Workspace.getBaseDir() + "/" + path;
           }
   
  -        // for each description entry, resolve source, href, and dest attrs.
  +        // for each description entry, resolve source, url, and dest attrs.
           Node child=javadoc.getFirstChild();
           for (; child != null; child=child.getNextSibling()) {
               if (child.getNodeName().equals("description")) {
  @@ -396,10 +396,10 @@
   
                   desc.setAttribute("source", fullpath + append);
   
  -                if (href.equals("")) {
  -                    desc.setAttribute("href", "file:///" + fullpath);
  +                if (url.equals("")) {
  +                    desc.setAttribute("url", "file:///" + fullpath);
                   } else {
  -                    desc.setAttribute("href", href + path + append);
  +                    desc.setAttribute("url", url + path + append);
                   }
   
                   if (!javadocDir.equals("")) {
  
  
  

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

Reply via email to