- Install Eclipse.
- Install the latest version from www.eclipse.org.
The instructions here presume that you have version 3.7 (Indigo).
- Because compiling Electric consumes more than average memory,
edit the file eclipse.ini in the installed area and change the last line from -Xmx384m to -Xmx1024.
- Make sure Eclipse is up-to-date by doing: Help / Check for Updates
- Add Subclipse to Eclipse
- Do: Help / Install New Software
- Work with http://download.eclipse.org/releases/indigo and select:
- Collaboration/Subversive Revision Graph (Optional) (Incubation)
- Collaboration/Subversive SVN Integration for the Mylyn Project (Optional) (Incubation)
- Collaboration/Subversive SVN JDT Ignore Extensions (Optional) (Incubation)
- Collaboration/Subversive SVN Team Provider (Incubation)
- Add Scala to Eclipse:
- Do: Help / Install New Software
- Work with http://download.scala-ide.org/releases-29/2.0.0-beta (check all 3)
- Add m2e-scala connector to Eclipse:
- Do: Help / Install New Software
- Work with http://alchim31.free.fr/m2e-scala/update-site
- Download Electric:
- Do: File / Import
- Choose: Maven / Check out Maven Projects from SCM
- Repository type is: svn, path is: https://svn.java.net/svn/electric~svn/trunk
If there is no svn repository type, click "find more SCM connectors in the Eclipse Marketplace" and select "m2e-subversive"
- Make a launch configuration:
- Do: Run / Run configurations
- Create a new launch configuration (icon in upper-left)
- In the Main tab, set the project to electric-core and the main class to com.sun.electric.Launcher
- In the Arguments tab, set the VM arguments to -mx1200m (to request a 1.2GB JVM)