Eclipse Tuning

From UbikWiki

(Difference between revisions)
(New page: In Eclipse folder (where you find eclise.exe), open the file called eclipse.ini: <source lang="text"> -showlocation -consolelog -showsplash org.eclipse.platform --launcher.XXMaxPermSize 2...)
Current revision (09:52, 9 February 2009) (edit) (undo)
 

(4 intermediate revisions not shown.)

Line 1:

Line 1:

-
In Eclipse folder (where you find eclise.exe), open the file called eclipse.ini:
+
== Eclipse.ini ==
 +
In Eclipse folder (where you find eclipse.exe), open the file called eclipse.ini:
<source lang="text">
<source lang="text">
-showlocation
-showlocation

Line 25:

Line 26:

-Xloggc:C:/temp/gc
-Xloggc:C:/temp/gc
</source>
</source>
 +
 +
=== Configuration depending on RAM ===
 +
For 1GO:
 +
-XX:PermSize=128m
 +
-XX:MaxPermSize=128m
 +
-Xms512m
 +
-Xmx512m
 +
 +
For 2GO:
 +
-XX:PermSize=256m
 +
-XX:MaxPermSize=256m
 +
-Xms1024m
 +
-Xmx1024m
 +
 +
== Plugins installation ==
 +
 +
 +
== Cooperative work ==
 +
 +
A plugin for CVS is available by default but you have to install one for SVN.
 +
 +
 +
== Formatter ==
 +
 +
In cooperative work developpers have to use the same format policy for source code. This can be done in Eclipse in:
 +
'''Windows>Preferences>Java>Code style>Formatter'''
 +
 +
There you can create, edit, import or export your formatter profile.
 +
The maximum Line width (Line Wrapping tab) or the identation type can be modified in this preferences menu.
 +
 +
 +
 +
[[Category:Eclipse Tips]]
 +
[[Category:Tips and Tricks]]

Current revision

Contents

Eclipse.ini

In Eclipse folder (where you find eclipse.exe), open the file called eclipse.ini:

-showlocation 
-consolelog
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256M
-framework
plugins\org.eclipse.osgi_3.4.2.R34x_v20080826-1230.jar
-vm
C:\JDKs\jdk1.6.0_10\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms512m
-Xmx512m
-XX:PermSize=128m
-XX:MaxPermSize=128m
-XX:+CMSPermGenSweepingEnabled
-XX:+UseConcMarkSweepGC
-XX:+CMSClassUnloadingEnabled
-XX:+PrintGCDetails
-XX:+UseAdaptiveSizePolicy
-XX:MaxGCPauseMillis=5000
-Xloggc:C:/temp/gc

Configuration depending on RAM

For 1GO: -XX:PermSize=128m -XX:MaxPermSize=128m -Xms512m -Xmx512m

For 2GO: -XX:PermSize=256m -XX:MaxPermSize=256m -Xms1024m -Xmx1024m

Plugins installation

Cooperative work

A plugin for CVS is available by default but you have to install one for SVN.


Formatter

In cooperative work developpers have to use the same format policy for source code. This can be done in Eclipse in: Windows>Preferences>Java>Code style>Formatter

There you can create, edit, import or export your formatter profile. The maximum Line width (Line Wrapping tab) or the identation type can be modified in this preferences menu.

Personal tools