RE: Eclipse Setup

From: Gentry, Michael \(Contractor\) ("Gentry,)
Date: Wed Nov 30 2005 - 09:00:44 EST

  • Next message: Andrus Adamchik: "Re: Eclipse Setup"

    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:00:50 EST