WO javadoc does not show up on the Mac

From: Marc Guenther (mar..iffy-berlin.in-berlin.de)
Date: Tue Aug 15 2006 - 08:59:41 EDT

  • Next message: Ulrich Köster: "Re: WO javadoc does not show up on the Mac"

    Hi,

    This is 2.0.0.2949 on the Mac. Don't know if it works on Windows.

    The wo.dir.reference.api property in the wobuild.properties file is
    still wrong. If that property doesn't exist, it gets created as:
       wo.dir.reference.api=/Developer/ADC%20Reference%20Library/
    documentation/WebObjects/Reference/API/
    which doesn't work. Where as:
       wo.dir.reference.api=file:/Developer/ADC%20Reference%20Library/
    documentation/WebObjects/Reference/API/
    works just fine.

    Please note that there is only one / now. I remember you had to put
    two...?!?

    Attached is a small patch which works for me. It prepends "file:" if
    the reference api starts with a "/".

    Marc-------------------------------

    Index: /Users/marc/Developer/eclipse/workspace_wolips/
    org.objectstyle.wolips.variables/java/org/objectstyle/wolips/
    variables/VariablesPlugin.java
    ===================================================================
    --- /Users/marc/Developer/eclipse/workspace_wolips/
    org.objectstyle.wolips.variables/java/org/objectstyle/wolips/
    variables/VariablesPlugin.java (revision 2951)
    +++ /Users/marc/Developer/eclipse/workspace_wolips/
    org.objectstyle.wolips.variables/java/org/objectstyle/wolips/
    variables/VariablesPlugin.java (working copy)
    ..-213,6 +213,9 @@
                            referenceApiString = referenceApiString.replace('\\', '/');
                            referenceApiString = "file:///" + referenceApiString;
                    }
    + if (referenceApiString.startsWith("/")) {
    + referenceApiString = "file:" + referenceApiString;
    + }
                    return referenceApiString;
            }



    This archive was generated by hypermail 2.0.0 : Tue Aug 15 2006 - 08:59:54 EDT