Articles

Affichage des articles du 2014

Easily create your own Eclipse

Image
Eclipse contains hundreds of preferences to set. It takes years to know perfectly what option exists, which value is the best and where is this option. When you work with multiple workspaces it become almost impossible to have all your preferences set in all of them. If you use one workspace but work with other colleagues, everyone has different settings. What if, you could build your own zip of Eclipse with your plugins, your JDKs, all your preferences applied automatically in a new workspace ? In fact, you can do it quite easily. we will describe all the steps in this article.

Eclipse.ini file

A common way to optimize Eclipse performances is to customize its eclipse.ini file. Here is the content of mine (for Eclipse Luna) : -startup plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -showlocation --launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20140603-1326 -product org.eclipse.epp.package.jee.product --launcher.defaultAction openFile --launcher.XXMaxPermSize 256M -showsplash org.eclipse.platform --launcher.XXMaxPermSize 256m --launcher.defaultAction openFile --launcher.appendVmargs -vmargs -server -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:+UnlockExperimentalVMOptions -javaagent:lombok.jar -Xbootclasspath/a:lombok.jar -Dosgi.requiredJavaVersion=1.6 -Xms256m -Xmx1024m -Xverify:none If you don't use Lombok, remove the " -javaagent:lombok.jar " line.