On 18 Sep 2003 11:59:32 -0500 Ean Schuessler <ean@brainfood.com> wrote: > As I said in my email, this is almost certainly a bug in ant. Ant is > specifically checking to see if the VM is Kaffe and then looks for > additional jars in /usr/lib/kaffe/share/kaffe. Ant does not bother to > catch an Exception if that directory doesn't exist. Here is a patch for file src/main/org.../ant/types/Path.java It should resolve the problem with the kaffe version we have in Debian -- Arnaud Vandyck, STE fi, ULg Formateur Cellule Programmation.
--- src/main/org/apache/tools/ant/types/Path.java.old 2003-08-12 06:11:03.000000000 +0200
+++ src/main/org/apache/tools/ant/types/Path.java 2003-09-18 22:24:15.000000000 +0200
@@ -579,9 +579,7 @@
addFileset(msZipFiles);
} else if ("Kaffe".equals(System.getProperty("java.vm.name"))) {
FileSet kaffeJarFiles = new FileSet();
- kaffeJarFiles.setDir(new File(System.getProperty("java.home")
- + File.separator + "share"
- + File.separator + "kaffe"));
+ kaffeJarFiles.setDir(new File(System.getProperty("java.home")));
kaffeJarFiles.setIncludes("*.jar");
addFileset(kaffeJarFiles);
Attachment:
pgpTKKLWX47R0.pgp
Description: PGP signature