sono riuscito a trovare questi due documenti che hanno contribuito:
Installa appena scaricato Eclipse Classic:
sudo tar -xvzf eclipse-SDK-3.7-linux-gtk.tar.gz -C /usr/local/
Per installare caratteristiche CDT desiderati (riferimenti trovato usando "Aiuto" di Eclipse > Installare il nuovo software" strumento)
- C/C++ Development Tools (org.eclipse.cdt.feature.group)
- C/C++ Development Tools SDK (org.eclipse.cdt.sdk.feature.group)
- C/C++ Development Platform (org.eclipse.cdt.platform.feature.group)
- C/C++ memoria View Miglioramenti (org.eclipse.cdt.debug.ui.memory.feature.group)
- Eclipse Debugger per C/C++ (org.eclipse.cdt.debug.edc.feature.group)
- Varie C/C++ Utilities (org.eclipse.cdt.util.feature.group)
run:
sudo /usr/local/eclipse/eclipse -nosplash \
-application org.eclipse.equinox.p2.director \
-repository http://download.eclipse.org/releases/indigo/,http://download.eclipse.org/tools/cdt/releases/helios/ \
-destination /usr/local/eclipse \
-installIU org.eclipse.cdt.feature.group \
-installIU org.eclipse.cdt.sdk.feature.group \
-installIU org.eclipse.cdt.platform.feature.group \
-installIU org.eclipse.cdt.debug.ui.memory.feature.group \
-installIU org.eclipse.cdt.debug.edc.feature.group \
-installIU org.eclipse.cdt.util.feature.group
Per installare PyDev, abbiamo prima bisogno di inserire il certificato auto-firmato (che può essere trovato qui: http://pydev.org/pydev_certificate.cer)
#!/usr/bin/env python
# add PyDev's certificate to Java's key and certificate database
# Certificate file can be downloaded here : http://pydev.org/pydev_certificate.cer
import os, sys
import pexpect
print "Adding pydev_certificate.cer to /usr/lib/jvm/java-6-openjdk/jre/lib/security/cacerts"
cwd = os.path.abspath (os.path.dirname(sys.argv[0]))
child = pexpect.spawn("keytool -import -file ./pydev_certificate.cer -keystore /usr/lib/jvm/java-6-openjdk/jre/lib/security/cacerts")
child.expect("Enter keystore password:")
child.sendline("changeit")
if child.expect(["Trust this certificate?", "already exists"]) == 0:
child.sendline("yes")
try:
child.interact()
except OSError:
pass
print "done"
quindi eseguirlo:
sudo ./add_pydev_certificate.py
Le caratteristiche desiderate sono PyDev:
- pydev per Eclipse (org.python.pydev.feature.feature.gruppo)
run:
sudo /usr/local/eclipse/eclipse -nosplash \
-application org.eclipse.equinox.p2.director \
-repository http://pydev.org/updates/ \
-destination /usr/local/eclipse \
-installIU org.python.pydev.feature.feature.group
Buona idea. Stavo cercando il vero metodo di scripting per farlo, che può essere parzialmente utilizzato (ad esempio solo CDT) o esteso in seguito aggiungendo un'altra funzionalità di Eclipse. – samb