You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Sebastian Kanthak <se...@muehlheim.de> on 2000/02/18 17:31:29 UTC

jikes & extdirs patch

-----BEGIN PGP SIGNED MESSAGE-----

Hi!

I've attached a patch that emulates the extdir-feature for jikes,
which doesn't support it as a command line option.

My patch scans all directories given via the extdirs option of the
Javac task for jar files and adds them to the classpath. However, it
doesn't scan dirs recursively, because I thought an 'extdirs="/"'
could be somewhat problematic. How does javac handle this? Does it
also add ".zip" files?

The patch contains some minor fixes to other files, to make them
compile with jikes cleanly.

For the future (this or next weekend) I'm thinking of implementing
code to use the nice jikes feature to generate make-like dependancy
files. You probably know the problem, that will arise, if you define a
final variable (constant) in a class and use it in another class. When
you change the value of the final now, the other class won't be
recompiled.

jikes has a feature to generate files in which it records all
dependancies. You could then use these files to add all files to the
buildlist, that haven't changed, but are relying on files having
changed. Anybody interessted in this or do you think it is unneccesary
(I haven't used it extensively yet)?

ciao Sebastian

- ---
Sebastian Kanthak	|	sebastian.kanthak@muehlheim.de

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: latin1

iQCVAwUBOK1z5DyXPSL+WCZtAQEdVgQAhViVMyfhiy11Ug0XRSky0NlC4cSvVbHw
xF7rCYgBC1NaJWct43w+C8F/dpZwC/hf/maceowussVhPfnfaS002MiaOgw9eqkH
Z5YHjMdPHUfNHmKq80EbNZDTyXxv1EpmZPSFGsfFYL6y8pyjW6bs0IlfsQ8xWEGw
/ZMCjE0r2EI=
=TBLs
-----END PGP SIGNATURE-----