Re: Im getting frustrated and angry!
- From: Dale King <DaleWKing@xxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 15 Aug 2005 13:05:05 GMT
Tor Iver Wilhelmsen wrote:
Ant however is there to provide a framework for cross-platform development with smart compilers.
Another point I thought of after sending is that javac is not smart enough to fulfill make's guarantee of correctness and efficiency. It has enough knowledge to be able to do it if it cached the information. But I don't fault javac with not doing it itself. The problem is that javac doesn't provide any way of getting to the information that it does have. If it at least divulged the information we could build tools that would achieve correctness and efficiency.
Class files can provide some of the information, but not all of it. The other problem is to know which class files to look at. Foo.java doesn't necessarily just produce Foo.class. It can produce Bar.class, Foo$1.class, and/or Foo$Baz.class.
Modern C/C++ compilers don't do the dependency checking but they at least provide a way to get all the information you need to do the dependency checking.
Jikes supported producing makefile dependencies, but it was incomplete and as I said makefile dependencies can't express the complexities of Java's compilation model.
The real solution for Java is to have the compiler support divulging all the information it knows about the dependencies. I've thought about working on such changes, but then again I just use Eclipse which already does this for me, so the motivation isn't there.
-- Dale King .
- References:
- Re: Im getting frustrated and angry!
- From: Stefan Schulz
- Re: Im getting frustrated and angry!
- From: Dale King
- Re: Im getting frustrated and angry!
- From: Tor Iver Wilhelmsen
- Re: Im getting frustrated and angry!
- From: Dale King
- Re: Im getting frustrated and angry!
- From: Tor Iver Wilhelmsen
- Re: Im getting frustrated and angry!
- From: Dale King
- Re: Im getting frustrated and angry!
- From: Tor Iver Wilhelmsen
- Re: Im getting frustrated and angry!
- Prev by Date: Re: anyone know what this means?
- Next by Date: Re: Im getting frustrated and angry!
- Previous by thread: Re: Im getting frustrated and angry!
- Next by thread: Re: Im getting frustrated and angry!
- Index(es):
Relevant Pages
|