Re: CVS and *.eomodeld~ files

From: Harald Niesche (haral..heCo.de)
Date: Thu Feb 27 2003 - 12:49:49 EST

  • Next message: JR Ruggentaler: "Build distribution WOProject & WOLips"

    Hmm, it looks like the stuff in CVS is seriously broken.

    Quoting from WOLipsProject.WOLipsProjectNatures.addNature :

      this.getProject().getDescription().setNatureIds(
            (String[]) projectNaturesVector.toArray());

    this line throws a ClassCastException, which is correct, because it should
    probably read:

      this.getProject().getDescription().setNatureIds(
            (String[]) projectNaturesVector.toArray(new
    String[projectNatures.size()]));

    I'm not going to change it now since I have only very little time right now
    and the only value inside the array is null, anyway.

    Ulrich - you did some refactoring to the incremental build stuff (which
    looks great, btw), but some parts seem to be unfinished.

    Another thing in the same class is the fact that the removeWOLipsNatures
    method only calls
    naturesVector.add(...) and looks like it was adding all the available
    WOLipsNatures (instead of removing anything).
    Additional confusion arises, because I don't understand why it is necessary
    to deconfigure the Natures manually, I always thought that removing the
    Natures would cause eclipse to deconfigure them ... but I assume there is a
    reason it is done this way.

    I'll take another look tomorrow.

    Harald

    ----- Original Message -----
    From: "Harald Niesche" <haral..heCo.de>
    To: "Ulrich Köster" <ulric..ssense.com>
    Cc: "Anders Peterson" <anders_peterso..ptimatika.se>; "Dirk Olmes"
    <dirk.olme..mx.de>; <woproject-dev@objectstyle.org>
    Sent: Thursday, February 27, 2003 5:21 PM
    Subject: Re: CVS and *.eomodeld~ files

    > I think I could take a look ...
    >
    >
    > Harald



    This archive was generated by hypermail 2.0.0 : Thu Feb 27 2003 - 12:50:13 EST