Hi,

MacOS X uses non-standard naming for the run time lib. The run time lib is even 
split
up in two parts to make things worse.

The patch below fixes this, so that if jikes is started up by ant, it can find 
the
run time lib classes.

Otto


--- DefaultCompilerAdapter.java.org     Sat Jun 30 09:21:14 2001
+++ DefaultCompilerAdapter.java Sat Jun 30 09:14:51 2001
@@ -178,6 +178,18 @@
                                                 + File.separator +"jre"
                                                 + File.separator + "lib"
                                                 + File.separator + "rt.jar"));
+               // Added for MacOS X
+                classpath.addExisting(new Path(null,
+                                                System.getProperty("java.home")
+                                                + File.separator + ".."
+                                                + File.separator + "Classes"
+                                                + File.separator + 
"classes.jar"));
+               // Added for MacOS X
+                classpath.addExisting(new Path(null,
+                                                System.getProperty("java.home")
+                                                + File.separator + ".."
+                                                + File.separator + "Classes"
+                                                + File.separator + "ui.jar"));
             }
         }
             
-- 
Otto Moerbeek
[EMAIL PROTECTED]

Reply via email to