Re: WO javadoc does not show up on the Mac

From: Ulrich Köster (ulric..bjectstyle.org)
Date: Tue Aug 15 2006 - 09:55:05 EDT

  • Next message: Kieran Kelleher: "Re: I need a little help... [SOLVED]"

    Moin Marc,

    thank you for the patch. I'll take a look at it later today.

    Uli
    Am 15.08.2006 um 14:59 schrieb Marc Guenther:

    > 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 - 09:55:13 EDT