RE: Funky Generated Classpath

From: Bill Michell (bill.michel..bc.co.uk)
Date: Tue Nov 16 2004 - 12:35:54 EST

  • Next message: Ulrich Köster: "Re: More Path Wierdness"

    Actually, there are 3 places of relevance in the project properties:
    1) Java Build Path/Projects tab (so this framework gets its dependent frameworks in its classpath at compile time)
    2) Java Build Path/Order and Export tab (so any dependent frameworks also get exported to depending frameworks' and applications' classpath)
    3) Project References, so Eclipse build order and incremental build works as expected.

    If you are using a team provider, you may need to make sure that all the relevant files are checked out before you start - when manipulating dependencies, I always check out the entire project first...

    -- 
    Bill Michell
    Development Team Leader, Broadcast Platforms, BBC News Interactive.
    

    -----Original Message----- From: Kimball Larsen [mailto:kimbal..imballlarsen.com] Sent: Tuesday, November 16, 2004 4:10 PM To: WOProject List Subject: Funky Generated Classpath

    We have several applications that depend on a mutli-level set of frameworks. For example: Application A -> Framework A -> Framework B -> Framework C -> Framework D -> Framework E -> Framework F

    We would expect that if we were to include Framework C in our application, as long as it exposes D and E, we would not have to import D and E as well, just the parent framework C.

    Did I lose everyone yet?

    Let's call the framework we wish to import "Base". Base includes several other frameworks - "Logging" and "Utils", for example.

    When I set Base as a required project on the build path using the latest of both WOLips and Eclipse, I still have to include Logging and Utils separately.

    Is this the way it is supposed to be?

    Thanks!

    -- Kimball

    http://www.bbc.co.uk/

    This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this.



    This archive was generated by hypermail 2.0.0 : Tue Nov 16 2004 - 12:36:00 EST