• 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: Some .java files being skipped by build process
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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:16:17 -0700

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@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Some .java files being skipped by build process
      • From: Denise Howard <email@hidden>
References: 
 >Re: Some .java files being skipped by build process (From: Chuck Hill <email@hidden>)
 >Re: Some .java files being skipped by build process (From: Denise Howard <email@hidden>)

  • Prev by Date: Re: Some .java files being skipped by build process
  • Next by Date: Re: Some .java files being skipped by build process
  • Previous by thread: Re: Some .java files being skipped by build process
  • Next by thread: Re: Some .java files being skipped by build process
  • Index(es):
    • Date
    • Thread