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 18:22:33 -0700
On Aug 10, 2009, at 6:19 PM, Denise Howard wrote:
On Aug 10, 2009, at 6:16 PM, Chuck Hill wrote:
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?
Right.
¡Ay, caramba!
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.
Heh. I know that before this guy got it three years ago, it was an
old-style WO project that was built under Xcode. I'm tempted to
dust off my old Mac that still runs OS X 10.4 and see if it'll work
there again!
I'd guess that it won't take more than 15 minutes to do this and I
guarantee it will make the rest of your life easier.
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden