[kaffe] Re: Re: Old dirs in classpath?
Fabio.di.Fabio
abel@lmib.org
Wed Aug 13 02:29:02 2003
--nextPart1331472.78oAXdQ9tu
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: 8Bit
Dalibor Topic wrote:
> Fabio.di.Fabio wrote:
> True. On the other hand, it is questionable how well the old version of
> kaffe can run the latest ant, if at all. Especially since the next ant
> release is going to drop Java 1.1. support [ red box on
> http://ant.apache.org/ ].
You are right, infact I've downloaded Kaffe 1.0.6 and it doesn't run Ant
1.5.3.
I've proposed a patch to Ant developers.
I also attach the patch just in case it is usefull to someone.
--
Don't throw anything out of the windows,
but throw Windows out of everything. (abel)
--nextPart1331472.78oAXdQ9tu
Content-Type: text/x-diff; name="ant-kaffe-patch.txt"
Content-Transfer-Encoding: 8Bit
Content-Disposition: attachment; filename="ant-kaffe-patch.txt"
+++ apache-ant-1.5.3-1.kaffe-1.1/src/main/org/apache/tools/ant/types/Path.java 2003-08-11 12:22:16.000000000 +0200
@@ -577,14 +577,6 @@
+ File.separator + "Packages"));
msZipFiles.setIncludes("*.ZIP");
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.setIncludes("*.jar");
- addFileset(kaffeJarFiles);
} else if (JavaEnvUtils.isJavaVersion(JavaEnvUtils.JAVA_1_1)) {
addExisting(new Path(null,
System.getProperty("java.home")
--nextPart1331472.78oAXdQ9tu--