How can I specify an Eclipse .classpath entry for specific O/S platform?
问题 I am working on an SWT project as part of a team. We are constantly breaking each others build environment because Eclipses .classpath file is checked into version control and we include different SWT libraries for our machines. Depending on who committed last, the .classpath entry can be: <classpathentry kind="lib" path="lib/swt/swt-win32.jar"/> or <classpathentry kind="lib" path="lib/swt/swt-carbon.jar"/> or <classpathentry kind="lib" path="lib/swt/swt-gtk.jar"/> It appears that the