Re: getting rid of Eclipse JRE_LIB_15

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Wed Aug 02 2006 - 10:01:28 EDT

  • Next message: Andrus Adamchik: "Re: getting rid of Eclipse JRE_LIB_15"

    I was going to put this on Wiki once we are done (there are still a
    number of things pending conversion, and things will likely get
    rearranged).Here is my current setup:

    * get Maven2 Eclipse plugin - http://m2eclipse.codehaus.org/ (I have
    version 0.0.9, don't see it on the site, don't remember where I got
    it from :-))
    * get all code from SVN:
       svn co https://svn.apache.org/repos/asf/incubator/cayenne/main/
    trunk/ cayenne/

    [you may want to do "cd cayenne && mvn install" at this point to seed
    the local repo)]

    * create two workspaces - one for JDK 1.4 and one for 1.5 code.
    * import the following projects to 1.4 workspace:

       core/cayenne-jdk1.4-core/
       modeler/modeler

    * import the following projects to 1.5 workspace

       core/cayenne-jdk1.5-core
       core/cayenne-jpa

    Of course you can import only a subset of projects that you are
    working with.

    Andrus

    On Aug 2, 2006, at 9:51 AM, Watkins, Garry wrote:

    > Would someone please send a quick how-to setup eclipse with the new
    > Maven environment?
    >
    > Thanks
    > Garry
    >
    > -----Original Message-----
    > From: Andrus Adamchik [mailto:andru..bjectstyle.org]
    > Sent: Tuesday, August 01, 2006 9:32 PM
    > To: cayenne-de..ncubator.apache.org
    > Subject: getting rid of Eclipse JRE_LIB_15
    >
    > As a reminder, JRE_LIB_15 Eclipse variable is used to work with JDK
    > 1.5 projects in a JDK 1.4 workspace. It has never been a clean
    > solution,
    > but now it causes some serious weirdness when working with JPA. Now
    > that
    > migration to Maven saves us from explicit cross-project
    > dependencies in
    > Eclipse, I am planning to get rid of it (and just use default Eclipse
    > JRE in all projects).
    >
    > Locally I am going to use two workspaces - one for 1.4 and another
    > - for
    > 1.5 projects. But it will be up to a developer how to organize his/her
    > Eclipse workspace.
    >
    > Let me know if this causes problems.
    >
    > Andrus
    >
    >
    >
    >
    > Confidential & Privileged
    >
    > Unless otherwise indicated or obvious from its nature, the
    > information contained in this communication is attorney-client
    > privileged and confidential information/work product. This
    > communication is intended for the use of the individual or entity
    > named above. If the reader of this communication is not the
    > intended recipient, you are hereby notified that any dissemination,
    > distribution or copying of this communication is strictly
    > prohibited. If you have received this communication in error or
    > are not sure whether it is privileged, please immediately notify us
    > by return e-mail and destroy any copies--electronic, paper or
    > otherwise--which you may have of this communication.
    >
    >
    >
    >



    This archive was generated by hypermail 2.0.0 : Wed Aug 02 2006 - 10:01:51 EDT