Re: Problem with one class

From: Q (qdola..mail.com)
Date: Thu Jul 02 2009 - 19:33:52 EDT

  • Next message: John Gregory: "Generate Migration fails for doubleNumber"

    On 03/07/2009, at 6:18 AM, Pascal Robert wrote:

    > Good catch. So I hand-edited the .classpath file and it fix the
    > problem, but if I manage the classpath inside Eclipse for his
    > project, ERExtensions and ERJars are moved back below the Apple
    > frameworks.

    Does this mean the "Order and Export" tab is not preserving the
    correct classpath order?

    >> 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
    >>>
    >>>
    >>>
    >>
    >
    >
    > -------------------------------------------------------
    > Pascal Robert
    >
    > http://www.macti.ca | http://www.linkedin.com/in/macti
    >
    > Skype | Twitter | AIM/iChat : MacTICanada
    >

    -- 
    Seeya...Q
    

    Quinton Dolan - qdola..mail.com Gold Coast, QLD, Australia (GMT+10) Ph: +61 419 729 806



    This archive was generated by hypermail 2.0.0 : Thu Jul 02 2009 - 19:35:02 EDT