Installing Descent
First download Eclipse >= 3.2.1 (we know it dosen't work in version 3.2).x
Important: if the new version dosen't appear in the "Find and install" window, try running eclipse from the command line with the "-clean" argument.
Very Important: you will need Java 1.5 or greater.
- Run Eclipse. (as root to install system wide)
- Goto "Help -> Software updates -> Find and install..." and click Next.
- Select "Search for new features to install" and click Next.
- Click "New remote site...".
- Enter "Descent" in the name field.
- Enter "http://downloads.dsource.org/projects/descent/update-site" in the URL field.
- Click Ok.
- Click Finish.
- From here, check all the checkboxes found, and click Next.
- Accept the license agreement and click Next, and then finish.
- Make sure you configure the plugin properly after the installation finishes.
After the plugin installs, restart Eclipse.
Go to "File -> New -> Project". In the "D" category select "D Project", enter it's location and hit OK.
Installing Eclipse under Ubuntu 8.04
Useful links: https://help.ubuntu.com/community/EclipseIDE
First, enable Universe and Multiverse repositories. See here how to do it.
Install necessary packages
sudo apt-get install sun-java6-jdk eclipse
To make Eclipse to always run under Sun's JVM, edit the /etc/eclipse/java_home file so that the path to the Sun's JVM is at the top of the list
sudo vi /etc/eclipse/java_home
Then, install and configure Descent as described above
Note: due to this bug, contents of /usr/lib/eclipse/eclipse.ini is not taken into consideration during Eclipse launch. If you see OutOfMemory exceptions and want to increase amount of memory, allocated to Eclipse, either pass appropriate parameters to eclipse in command line, or create file /home/<user>/.eclipse/eclipserc with just one line in it:
VMARGS="-Xms40m -Xmx512m -XX:PermSize=128M -XX:MaxPermSize=256M"
