Affichage des articles dont le libellé est eclipse. Afficher tous les articles
Affichage des articles dont le libellé est eclipse. Afficher tous les articles

mardi 15 janvier 2013

Easy Scala with Maven & Eclipse (scala 2.10)


I spent some time to figure this out ... not sold on sbt yet, and I am used to Eclipse 3.7.

So here is the simple procedure :



  1. Install the Scala plugin for Eclipse from scala-ide.org. I use this update-site for scala 2.10
  2. Install this eclipse plugin for maven / m2e : http://alchim31.free.fr/m2e-scala/update-site
  3. You can then import easily a Maven project.
  4. Right-click on the project, Configure > Add Scala Nature


Sample maven file :

vendredi 17 février 2012

Speed up Eclipse

I'm trying these tricks found on the web to speed up Eclipse.


http://stackoverflow.com/questions/1005407/can-i-move-maven2-target-folder-to-another-device

http://www.ltr-data.se/opencode.html/#ImDisk

http://forums.guru3d.com/showthread.php?t=356046

Add more RAM to Eclipse

Open configuration file eclipse.ini in your Eclipse installation folder, then add more memory, and restart.
--launcher.XXMaxPermSize
512M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
512m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms256m
-Xmx512m
Add -Xverify:none to your eclipse.ini.

Disable Eclipse validators

By default, all code validators are running, go to Windows > Preferences > Validation and uncheck validators you don't need.

Disable Plugins you won't use and startup builds.

Go to Windows > Preferences > General > Startup and Shutdown and uncheck plugins you don't need.
Don't forget to disable startup automatic builds.

Disable Eclipse PDT automatic build

Go to Windows > Preferences > General > Workspace and uncheck build automatically.