ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otto Moerbeek <omoerb...@mac.com>
Subject [PATCH] Make jikes work on MacOS X out of the box
Date Sat, 30 Jun 2001 10:35:24 GMT

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
omoerbeek@mac.com

Mime
View raw message