Re: Some .java files being skipped by build process
Re: Some .java files being skipped by build process
- Subject: Re: Some .java files being skipped by build process
- From: Chuck Hill <email@hidden>
- Date: Mon, 10 Aug 2009 17:49:52 -0700
On Aug 10, 2009, at 5:43 PM, 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.
Are they in the same folder as other classes that are getting compiled?
Chuck
> 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.
> 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.
Denise
_______________________________________________
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
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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