diff options
author | Reinier Zwitserloot <reinier@tipit.to> | 2009-07-26 08:51:48 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@tipit.to> | 2009-07-26 08:51:48 +0200 |
commit | ae83845e86715e7b2fd44698a5e84ca749fdcb09 (patch) | |
tree | 3fab07068082528d51a41114be28cdb40227397e /src/lombok/installer | |
parent | 0e8bda517fcf82fc8a620b20818e75872eb7e9d7 (diff) | |
download | lombok-ae83845e86715e7b2fd44698a5e84ca749fdcb09.tar.gz lombok-ae83845e86715e7b2fd44698a5e84ca749fdcb09.tar.bz2 lombok-ae83845e86715e7b2fd44698a5e84ca749fdcb09.zip |
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.
Diffstat (limited to 'src/lombok/installer')
-rw-r--r-- | src/lombok/installer/EclipseFinder.java | 1 |
1 files changed, 1 insertions, 0 deletions
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; |