Re: Question on JARs

From: Kieran Kelleher (kieran_list..ac.com)
Date: Fri Feb 16 2007 - 14:09:38 EST

  • Next message: Andrus Adamchik: "Re: http://wiki.objectstyle.org is down ..... please reboot ;-)"

    More weirdness.

    I added a different framework with exact same structure and created
    the same way in Eclipse a few months ago that has 3rd party jars and
    a few java classes and it *did* add the jars to the WO Frameworks
    library which is the way it *should* work.

    Anyway, as a workaround, I just did "Add Jars" in the Java Build Path
    and selected those missing jars to Java Build Path and that does
    work. Let's see if it goes OK in deployment configured this way.

    - Kieran

    On Feb 16, 2007, at 1:16 PM, John Huss wrote:

    > I believe the build path configuration will also be used to determine
    > which frameworks are a part of the project when you do an install
    > build. I'm not sure why it's not working for you. But you can
    > certainly try adding the jars explicitly and see if it works - I would
    > expect it to.
    >
    > John
    >
    > On 2/16/07, Kieran Kelleher <kieran_list..ac.com> wrote:
    >> No they are not listed there, however the Framework is checked if I
    >> right click the 'WO Frameworks' resource and select Configure...
    >>
    >> I followed the instructions here:
    >> http://wiki.objectstyle.org/confluence/display/WOL/Add+a+Framework
    >> +Dependency
    >>
    >> The framework in question is in /Library and has been working fine.
    >> The framework was built in Eclipse, installed and has been used by an
    >> XCode app in dev and deployment up until now. The framework has a
    >> half dozen java classes and 5 3rd party jars.
    >>
    >> Is the project build path configuration *only* for the purpose of
    >> building and running inside Eclipse?
    >>
    >> So should I just add a reference to the paths 4 jars that are
    >> *inside* the framework project's Libraries directory in the build
    >> path configuration?
    >>
    >> -Kieran
    >>
    >> On Feb 16, 2007, at 11:56 AM, John Huss wrote:
    >>
    >> > In the project properties, under Java Build Path, on the
    >> Libraries tab
    >> > - if you expand the WebObjects Frameworks entry, are the jars
    >> listed
    >> > there?
    >> >
    >> > John
    >> >
    >> > On 2/16/07, Kieran Kelleher <kieran_list..ac.com> wrote:
    >> >> Perhaps I am missing an Eclipse concept here:
    >> >>
    >> >> I have added a Framework to a project in Eclipse. The framework
    >> has
    >> >> jars in it. Yet the import statements for packages contained in
    >> these
    >> >> jars are not "seen" by the Eclipse compiler. What have I done
    >> wrong?
    >> >>
    >> >> -Kieran
    >> >>
    >> >>
    >>
    >>



    This archive was generated by hypermail 2.0.0 : Fri Feb 16 2007 - 14:09:57 EST