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

From: Lachlan Deck (lachlan.dec..mail.com)
Date: Mon Jan 29 2007 - 23:29:03 EST

  • Next message: Lachlan Deck: "Re: weird compile error"

    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?

    > 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.

    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?

    Thanks.

    > 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



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