Starting the lombok installer on mac os X using soylatte instead of apple's JVM now correctly detects being on a mac, and using mac-specific code for finding and installing eclipses.

This commit is contained in:
Reinier Zwitserloot committed 2009-07-26 08:51:48 +02:00
1 parent 0e8bda517f
commit ae83845e86
1 file changed
+1
+1
View File
@@ -207,6 +207,7 @@ class EclipseFinder {
static OS getOS() {
String prop = System.getProperty("os.name", "").toLowerCase();
if ( prop.matches("^.*\\bmac\\b.*$") ) return OS.MAC_OS_X;
if ( prop.matches("^.*\\bdarwin\\b.*$") ) return OS.MAC_OS_X;
if ( prop.matches("^.*\\bwin(dows)\\b.*$") ) return OS.WINDOWS;
return OS.UNIX;