Re: Eclipse Setup

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Wed Nov 30 2005 - 09:20:42 EST

  • Next message: Gentry, Michael \(Contractor\): "RE: Eclipse Setup"

    When you say "workarea", I assume you meant a "project" in Eclipse
    terms (as there is also a concept of Eclipse "workspace" which is a
    combination of projects).

    Yeah, I guess the best thing to do is to delete an old "cayenne"
    project from Eclipse (right-click on the project and select "Delete"
    menu item), and then check out four new projects.

    Andrus

    On Nov 30, 2005, at 5:00 PM, Gentry, Michael ((Contractor)) wrote:

    > OK, stupid question ...
    >
    > I updated my 1.2 workarea last night (through Eclipse) and now
    > everything is broken. My assumption at this point is I need to
    > release
    > the old workarea and then check out four new workareas. Does this
    > sound
    > correct?
    >
    > Thanks!
    >
    > /dev/mrg
    >
    >
    > -----Original Message-----
    > From: Andrus Adamchik [mailto:andru..bjectstyle.org]
    > Sent: Sunday, November 06, 2005 4:27 AM
    > To: cayenne-deve..bjectstyle.org
    > Subject: Eclipse Setup
    >
    >
    > I think I finally figured out safe (though a little kludgy) Eclipse
    > setup:
    >
    > http://objectstyle.org/confluence/display/CAY/Eclipse
    >
    > In short - use JVM 1.4 as default for the workspace; define
    > JRE_LIB_15 variable to point to JDK 1.5 lib. Also since we now have
    > per-project settings in CVS, I checked in code templates from the
    > "contrib" folder to each project.
    >
    > Andrus
    >
    >
    > On Nov 5, 2005, at 4:11 PM, Andrus Adamchik wrote:
    >
    >> This sounded too simple, and this is because I was wrong. Building
    >> with JDK 1.5 and setting compiler level to 1.4 correctly reports a
    >> problem with this code:
    >>
    >> List<String> list = new ArrayList<String>();
    >>
    >> but not this code:
    >>
    >> StringBuilder b = new StringBuilder();
    >>
    >> So I had to introduce "test-1_4" build target to the main build
    >> file. Its main purpose is to allow nightly build script to do an
    >> extra regression pass using JDK 1.4, detecting bad code, before
    >> creating a final build with JDK 1.5. But of course this target can
    >> be used in development as well.
    >>
    >
    >



    This archive was generated by hypermail 2.0.0 : Wed Nov 30 2005 - 09:20:44 EST