On Aug 10, 2009, at 6:11 PM, 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?
>>
>
> No.  NSDictionary.java is in the project in src/com/webobjects/
> foundation, and is getting built.  Files in src/com/pgp/utils are
> built, but files in src/com/pgp/util and src/com/pgp/revrec are not.


We are talking about an incremental build in Eclipse right, not an Ant
controlled build?  Check the Project - Properties - Java Build Path -
Source tab for inclusions and exclusions.   Also check woproject/
classes.include.patternset and woproject/classes.exclude.patternset.

Included is "all", excluded is "none". There is no woproject directory since as I mentioned, this guy was doing this work on Linux without benefit of anything WO except putting the libraries in a place on his machine where he could reference them from Eclipse. (Go figure.)

Denise


So when you say "Eclipse-based WO project" you don't mean a WOLips project, just some Eclipse/Java project that he made? Eclipse with WOLips should be fine on Linux AFAIK. If you are not using WOLips, I'd recreate this project as Fluffy Bunny Layout (e.g. standard) WOLips WebObjects Framework.


Chuck

--
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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to