• 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: Java building not very smart?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Java building not very smart?


  • Subject: Re: Java building not very smart?
  • From: David Ewing <email@hidden>
  • Date: Fri, 28 May 2004 11:42:48 -0600

On May 27, 2004, at 4:25 PM, Christian Pekeler wrote:

Build again without touching any files, it proceeds to compile *all* the source files in the project *again*.

This is expected behavior when Indexing is turned off. Xcode uses the index to provide build dependencies and without that information it needs to recompile all the .java source files to ensure correct builds.

I think most java compilers (javac, jikes, ajc) take care of dependencies and what files actually need recompilation without needing assistance from the ide. Just point them to the sources and the same builddir and they should be doing the right thing.

That's only partly true. I'm pretty sure both javac and jikes will compile every file that you pass to them, whether they need they're out of date or not. The extra bit the compilers do is that they'll compiler any other source files that they find in the -sourcepath command line argument that are out of date.


Dave
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


References: 
 >Java building not very smart? (From: Randall Meadows <email@hidden>)
 >Re: Java building not very smart? (From: David Ewing <email@hidden>)
 >Re: Java building not very smart? (From: Christian Pekeler <email@hidden>)

  • Prev by Date: Re: add jar to class browser
  • Next by Date: Re: cursor position
  • Previous by thread: Re: Java building not very smart?
  • Next by thread: XCode 1.2 - New?
  • Index(es):
    • Date
    • Thread