classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Working On Classpath


From: Thomas Zander
Subject: Re: Working On Classpath
Date: Thu, 27 May 2004 17:45:14 +0200
User-agent: KMail/1.6.2

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 27 May 2004 12:17, Andrew John Hughes wrote:
> > since I still can't apt-get it, its not on my radar.  (I'm wondering
> > how many distro's ship kaffe.)
>
> Kaffe is in Debian stable and unstable
Hmm, I use testing..


>  So, Ant simulates make's functionality, but there
> is nothing to simulate detecting the JVM as the autotools can do (or, if
> there is, you don't see it in any current uses of Ant).
ant is a shell-script; it does its best to look for java. It uses JAVACMD, 
or JAVA_HOME if it can't find a java in the path.
I'm not sure this answers your concerns though, and still expects a fully 
implemented JVM.

> If [the autotools] are flexible enough to
> also work with Java code (which they probably predate), this is an
> advantage of their design.

That is something they can't do; they can call jikes from the command line; 
but that is a LOT slower then ant with jikes, or ant with javac. This is 
because a) ant knows which 'clusters' of files have changed and passes 
them all to the compiler in one compile-run, and  b) ant can do dependency 
checking (which file needs a recompile because it depends on a changed 
one) by reading the class files.


- -- 
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAtg0KCojCW6H2z/QRAmDsAJ9AlDKcQ7s/38eC8TrOEFsbOgwRmQCgzGNn
qvC1caK9cgUwgzvdFHUC6JU=
=6c+4
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]