Re: -extdirs /Library/WebObjects/Extensions -> .classpath howto?

From: Chuck Hill (chil..lobal-village.net)
Date: Mon Jan 29 2007 - 23:55:31 EST

  • Next message: Chuck Hill: "Re: weird compile error"

    On Jan 29, 2007, at 8:29 PM, Lachlan Deck wrote:

    > Hi Chuck,
    >
    > On 30/01/2007, at 2:23 PM, Chuck Hill wrote:
    >
    >> I just added this tutorial: http://wiki.objectstyle.org/confluence/
    >> display/WOL/Working+with+the+Jars+in+WebObjects+Extensions
    >>
    >> Does that help?
    >
    > I think you also need to add this UserLibrary to each project's
    > Build path also, no?

    Um, see the last line of the first paragraph. :-P

    >> Not exactly what you wanted, but not too painful either.
    >
    > Here's the pain as I see it:
    > - the above UserLibrary is not added by default for new projects.
    > You have to add it manually.
    > - any existing projects also need to be manually edited to include
    > the user library. Ugh.
    > - I would guess that because it's an option specified within my
    > Eclipse preferences, for example, that the library is not stored
    > with the project and so the project cannot be checked out from
    > version control and worked on somewhere else without having
    > knowledge of that same environment.

    That is all correct.

    > Anyway, But that's certainly a step in the right direction, yes.
    >
    > I'm inclined to create a bug report for this... Ulrich, you closed
    > WOL-68 bug as "Won't fix". Can we re-open it?

    While we do have a work around, I also agree that this really ought
    to be part of WOLips. Perhaps it can be added to the WOFrameworks
    library. Of course, WOProject will need some similar help.

    Chuck

    >> On Jan 29, 2007, at 6:39 PM, Lachlan Deck wrote:
    >>
    >>> Hi all,
    >>>
    >>> Importing another project from Xcode to Eclipse and I've hit a
    >>> slight snag...
    >>>
    >>> I realise that WOL-68 was deemed as "Won't fix" - but that
    >>> doesn't make any sense to me at all. The bug report in essence
    >>> asked for the above directory to wild-card-include-jars in that
    >>> folder (as it is on a deployment machine), not to be able to add
    >>> jars individually in Eclipse's build-path settings.
    >>>
    >>> Fixing the ant file to compile things externally is the easy
    >>> part... but so far as Eclipse is concerned there are packages not
    >>> on the classpath and various Problems listed. Ugh.
    >>>
    >>> So how do we specify the equivalent of javac -extdirs /Library/
    >>> WebObjects/Extensions in the .classpath file?
    >>>
    >>> Thanks.
    >
    > with regards,
    > --
    >
    > Lachlan Deck
    >
    >
    >
    >

    -- 
    

    Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects



    This archive was generated by hypermail 2.0.0 : Mon Jan 29 2007 - 23:55:41 EST