On Aug 10, 2009, at 6:01 PM, Q wrote: On 11/08/2009, at 10:43 AM, Denise Howard wrote: On Aug 10, 2009, at 5:05 PM, Q wrote: On 11/08/2009, at 3:54 AM, Denise Howard wrote: > > I just inherited an Eclipse-based WO project from a guy who's leaving, > and I'm scrambling to get it working on my machine before he turns > into a pumpkin. He's on a PC (builds fine there), I'm on a Mac. My > problem is that when building on my machine, several classes in the > project are not being built. They're not failing with compiler > errors; the .java files are just skipped as if they're not even > there. How did you determine this? Are you not seeing .class files generated for these classes?
Correct. Nor are there any compiler errors or warnings for them. > The console shows the same spewage as in this post: http://www.mail-archive.com/email@hidden/msg27726.html > . Consequently, I can't build the other projects he gave me which > depend on this project. We have compared project properties settings > and they seem to be the same between his machine and mine, but his > works and mine doesn't. So the error you get is exactly this? "The type NSDictionary is not generic; it cannot be parameterized with arguments ..."
That's the compiler error that I get in the project that *depends* on the project in which some .java files are being skipped.
If you are using 5.4.3 you should never see this error, unless your custom NSDictionary class has no generic type info and is actually causing the error.
I get that error in NSDictionary.java in the project where files are being skipped, too. (I should have been more clear, sorry.) I don't see why he would've included NSDictionary.java in the source unless it was to try to work around that very problem on his machine. > Now for the kicker: this project does not include the Project Wonder > or WOLips stuff. It does include its own version of Dictionary.java. Dictionary.java, do you mean NSDictionary.java?
Yes, sorry. > So I can't solve this by ensuring that ERExtensions appears in the > "Order and Export" list above the WO libraries (as mentioned in that > thread), because it's not part of the project in the first place. It > is as if the Dictionary.class that it builds is not being used. > > How do I fix this? Based on what little detail you have provided, I would guess that the apps are being built against WO 5.4 on the PC, and you have WO 5.3 or earlier installed on your mac. Alternatively you have a custom NSDictionary that is not being included in the classpath in the same order on the two machines.
The PC is running Linux, so it's not clear to me how he has installed WO at all; I think he has simply placed the libraries in a place where they can be referenced. I have WO 5.4.3 on my Mac.
There is a custom version of NSDictionary.java in the project in which some files are being skipped. The classpaths appear to be the same on both machines.
How about the classpath "order", it's the last tab in the build path property sheet.
Yes, those are the same, too. (Just double-checked from a screen shot he gave me.)
Denise |