Re: Problem with one class

From: David Avendasora (webobject..vendasora.com)
Date: Thu Jul 02 2009 - 16:05:00 EDT

  • Next message: Pascal Robert: "Re: Problem with one class"

    Is ERExtensions at the top of the list of frameworks (Above the Apple
    ones)?

    Dave

    On Jul 2, 2009, at 3:57 PM, Pascal Robert wrote:

    > I have a really strange problem with a project. In this project, for
    > only one class, I get :
    >
    > The type NSArray is not generic; it cannot be parameterized with
    > arguments <? extends GRH_Vacances>
    >
    > But ERExtensions and ERJars are in the classpath, and other classes
    > in the same project use « generized » NSArrays without complaining.
    > And the worst thing? If I comment out the line when the error is
    > raised, now Eclipse can't find the superclass of this class :
    >
    > GRHComponent cannot be resolved to a type
    >
    > But auto-complete show that class (GRHComponent), and my subclass
    > (Vacances) is in the same package as GRHComponent. Cleaning the
    > project and re-importing the project (from CVS) in a new workspace
    > didn't fix anything.
    >
    > In system.log, I get :
    >
    > 09-07-02 15:54:35 [0x0-0x7f27f2].org.eclipse.eclipse[29362]
    > TypeCacheEntry.getTypeForName: couldn't resolve
    > com.webobjects.foundation.NSArray<T>
    > 09-07-02 15:54:38 [0x0-0x7f27f2].org.eclipse.eclipse[29362]
    > TypeCacheEntry.getTypeForName: couldn't resolve
    > com.webobjects.foundation.NSArray<? extends
    > com.acaiq.grh.GRH_DateIntervale>
    >
    > WOLips 3.3 (latest stable in 3.3), Eclipse 3.3, WO 5.3.3
    >
    > -------------------------------------------------------
    > Pascal Robert
    >
    > http://www.macti.ca | http://www.linkedin.com/in/macti
    >
    > Skype | Twitter | AIM/iChat : MacTICanada
    >
    >
    >



    This archive was generated by hypermail 2.0.0 : Thu Jul 02 2009 - 16:05:57 EDT