• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Generic code works on my machine but generate error on another machine
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Generic code works on my machine but generate error on another machine


  • Subject: Re: Generic code works on my machine but generate error on another machine
  • From: "Yung-Luen Lan" <email@hidden>
  • Date: Thu, 1 Nov 2007 12:29:37 +0800

Thanks, Guido.

I move the WOFrameworks down but it didn't work.

Here is the configuration of my working machine: (without error)
http://farm3.static.flickr.com/2299/1812761484_52ff1aba62_o.png

And this is another one: (oops! error)
http://farm3.static.flickr.com/2003/1811918265_0cef8587bb_o.png

You'll notice that the order of WOFrameworks in the latter picture is even lower than the working one. And I tried all possible order permutation.

I just wondering if I should revert those generic code to avoid those error...

Regards,
yllan

On 11/1/07, Guido Neitzer <email@hidden> wrote:
On 31.10.2007, at 21:03, Yung-Luen Lan wrote:

> Recently I update my project with Generic code like
> NSArray<EOSortOrdering>. On my machine, it did not generate error in
> Eclipse 3.2.2 with latest stable WOLips and Wonder 4.0. (Mac OS X
> 10.4.10, Java 1.5.0_07, WebObjects come with Xcode 2.4)
>
> But on another machine, almost the same configuration, Eclipse 3.2.2
> with latest stable WOLips, Wonder 4.0, Mac OS X 10.4.10 , Java
> 1.5.0_07, WebObjects 5.3.3, eclipse whining "The type NSArray is not
> generic; It cannot be parameterized with arguments <EOSortOrdering>"
> and failed to compile.
>
> I couldn't figure out what could make this difference. Did I miss
> something to check?

Classpath ordering. Check the project properties --> Build path -->
Order and export and move the WOFrameworks waaaaayyy down.

cug

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Generic code works on my machine but generate error on another machine (From: "Yung-Luen Lan" <email@hidden>)

  • Prev by Date: Re: WOOGNL Inline Bindings Help!
  • Next by Date: Re: WOLips nightly: generated SQL missing spaces
  • Previous by thread: Generic code works on my machine but generate error on another machine
  • Next by thread: Deploying WO 5.3 apps on Leopard Server
  • Index(es):
    • Date
    • Thread