Re: Project References

From: Harald Niesche (haral..heco.de)
Date: Thu Apr 10 2003 - 16:38:14 EDT

  • Next message: Ulrich Köster: "Re: Project References"

    > > Should referenced project(s) jar file(s) be added to the referring
    project
    > > Java build path by WOLips/WOProject? My basic scenario is I have WO apps
    > > that reference WO frameworks so I right click on my apps' project folder
    > and
    > > select Preferences->Project References and check the frameworks used by
    my
    > > app but that doesn't seem to update my build path to include the
    framework
    > > jars. Should it or is there some other purpose for Preferences->Project
    > > References?

    > What is the purpose/function of Properties > Project References ?

    Quoting from help:
    (
    http://dev.eclipse.org:8080/help/content/help:/org.eclipse.jdt.doc.user/refe
    rence/ref-123.htm )
    -----------------
    Projects tab

    In the Required projects on the build path list, you can add project
    dependencies by selecting other workbench projects to add to the build path
    for this new project. TheSelect All and Deselect All buttons can be used to
    add or remove all other projects to or from the build path.
    Adding a required project indirectly adds all its classpath entries marked
    as 'exported'. Setting a classpath entry as exported is done in the Order
    and Export tab.
    The projects selected here are automatically added to the referenced
    projects list. The referenced project list is used to determine the build
    order. A project is always build after all its referenced projects are
    built.
    -----------------

    To answer the original question: There is a subtle difference between
    references in the "Java build path" pages and plain project references. The
    first kind change the classpath, the second do not.

    (I assume the reason is that "Project References" are a generic feature of
    eclipse (independent of any programming language or other foolishness) while
    the Java build path is specific to Java.)

    Harald

    ----- Original Message -----
    From: "Anders Peterson" <anders_peterso..ptimatika.se>
    To: "JR Ruggentaler" <j..pv.com>
    Cc: <woproject-de..bjectstyle.org>
    Sent: Thursday, April 10, 2003 7:05 PM
    Subject: Re: Project References

    > What is the purpose/function of Properties > Project References ?
    >
    > /Anders
    >
    > ----- Original Message -----
    > From: "JR Ruggentaler" <j..pv.com>
    > Newsgroups: gmane.comp.web.webobjects.woproject.devel
    > Sent: Tuesday, April 08, 2003 6:45 PM
    > Subject: Project References
    >
    >
    > > Should referenced project(s) jar file(s) be added to the referring
    project
    > > Java build path by WOLips/WOProject? My basic scenario is I have WO apps
    > > that reference WO frameworks so I right click on my apps' project folder
    > and
    > > select Preferences->Project References and check the frameworks used by
    my
    > > app but that doesn't seem to update my build path to include the
    framework
    > > jars. Should it or is there some other purpose for Preferences->Project
    > > References?
    > >
    > > J.R.
    > >
    >
    >



    This archive was generated by hypermail 2.0.0 : Thu Apr 10 2003 - 16:28:54 EDT