False positive for error: Invalid Ice Home Directory, in IceBuilder Plugin for Eclipse in Linux
In Linux, we get the error "Invalid Ice Home Directory", when setting up the IceBuilder plug in Window-->Preferences->Ice Builder.
This isn't a real error and we can actually get the system to build properly.
I looked through the source code and think I found the error:
Method: private static String getSliceDirectory(String dir)
This method uses File.pathSeparator (":" on Linux) a number of places, instead of File.separator ("/" on Linux). This causes null to be returned from the method which triggers this false error.
Note: I see File.pathSeparator used many places. It didn't check it out in detail, but I suspect this is probably wrong in at least some of these cases as well.