From ae83845e86715e7b2fd44698a5e84ca749fdcb09 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Sun, 26 Jul 2009 08:51:48 +0200 Subject: 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. --- src/lombok/installer/EclipseFinder.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lombok/installer') diff --git a/src/lombok/installer/EclipseFinder.java b/src/lombok/installer/EclipseFinder.java index 0e589776..b69932e0 100644 --- a/src/lombok/installer/EclipseFinder.java +++ b/src/lombok/installer/EclipseFinder.java @@ -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; -- cgit