heise online
  • c't
  • iX
  • Technology Review
  • Mac & i
  • mobil
  • Security
  • Netze
  • Open Source
  • Developer
  • c't-TV
  • Download
  • Telepolis
  • Resale
  • Foto
  • Autos
  • Preisvergleich
  • Stellenmarkt
  • Abo
  • weitere Angebote
    • Shop
    • Artikel-Archiv
    • Veranstaltungen
    • Whitepapers
    • heise-marktplatz
    • IT-Markt
    • Tarifrechner
    • Jobs bei Heise

c't Magazin
  • Startseite
  • Artikel
  • c't-Projekte
  • Hotline & FAQ
  • Treiber & mehr
  • Kolumnen
Software zu Projekten Allgemeine Hinweise
Archiv-Suche Newsletter RSS-FeedRSS

c't › c't-Projekte

Trac
  • Login
  • Help/Guide
  • About Trac
  • Preferences
  • Wiki
  • Timeline
  • Roadmap
  • Browse Source
  • View Tickets
  • Search

Context Navigation

  • Start Page
  • Index
  • History
  • Last Change

    1. Eclipse-Installation
      1. Eclipse Galileo
      2. CDT
      3. SVN-Zugriff
      4. Eclox

Eclipse-Installation

Die folgende Anleitung beschreibt die Installation von Eclipse Indigo (3.7) inkl. aller nötigen Plugins.

Bitte beachten: Eclipse 3.7 ist die empfohlene Version, 3.6 (Helios) und 3.5 (Galileo) funktioniert auch - eine zu alte Version hingegen nicht. Dann werden die Projekteinstellungen des Bot-Codes nicht korrekt verarbeitet und der Build-Prozess scheitert.

Auf die Schritte für CDT und Eclox kann man verzichten, falls man keinen Bot-Code in C entwickeln oder übersetzen möchte.

Eclipse Galileo

Was ist Eclipse?
Für Experimente am Code des Simulators und des Bots bietet sich die Entwicklungsumgebung Eclipse an, da sie einerseits Java unterstützt für die Weiterentwicklung des c't-Sim und andererseits C für die Entwicklung des c't-Bot-Steuercodes. Eclipse selbst ist in Java geschrieben und ist für alle gängigen Rechnerplattformen verfügbar.
 Warum Eclipse und keine andere IDE?

Zur Installation lädt man Eclipse IDE for Java Developers von  Eclipse Downloads für seine Plattform herunter (diese Anleitung benutzt das Java-Paket als Basis, CDT für den C-Support wird im Folgenden nachinstalliert) und entpackt das Archiv.
Eine weitere Installation entfällt, die ausführbare Datei eclipse(.exe) startet direkt die Entwicklungsumgebung auf Java-Basis. Eclipse legt ein Arbeitsverzeichnis namens workspace an, dessen Ort der Nutzer selbst bestimmen kann.

Hinweis für Windows-Nutzer: Beim Entpacken mit dem Windows-Explorer kann es Probleme geben, deshalb ist es sinnvoll, einen alternativen Entpacker wie z.B. 7-Zip zu verwenden.

CDT

Was ist das CDT? Das Plugin CDT (C Development Toolkit) rüstet Eclipse um Unterstützung für Entwicklung in C auf, da Eclipse von Haus aus kein C spricht.
Die Installation nimmt man am besten über den in Eclipse integrierten Update-Mechanismus wie folgt vor:

1.)
Update-Mechanismus von Eclipse 3.5

2.) --All Available Sites-- aus der List auswählen:
CDT-Installation für Eclipse 3.5 Schritt 1

3.)
CDT-Installation für Eclipse 3.5 Schritt 2

4.)
CDT-Installation für Eclipse 3.5 Schritt 3


SVN-Zugriff

Alternativ zur unten stehenden Anleitung lässt sich auch das Plugin Subversive zum SVN-Zugriff verwenden, für dessen Installation man keine externe Update-Site benötigt. Man findet es unter: Helios-Update-Site -> Collaboration -> Subversive SVN Team Provider.

Um den Code aus dem Subversion-Repository direkt in Eclipse verwenden zu können, benötigt man ein Plugin wie Subclipse.
Über den bereits bekannten Update-Mechanismus lässt sich auch Subclipse installieren, indem man dort eine neue Update-Site anlegt:
Update-Site: http://subclipse.tigris.org/update_1.6.x

1.)
Update-Mechanismus von Eclipse 3.5

2.) Update-Site in das Eingabefeld kopieren und [Enter]:
Subclipse-Installation für Eclipse 3.5

3.) und 4.) wie oben.

Wie Subclipse benutzt wird, ist unter Zugriff auf das Subversion-Repository mit Eclipse erklärt.

Eclox

Als Frontend für Doxygen dient das Eclipse-Plugin Eclox, das ebenfalls über den o.a. Update-Mechanismus installiert wird:
Update-Site: http://download.gna.org/eclox/update (siehe Screenshots).

1.)
Update-Mechanismus von Eclipse 3.5

2.) Update-Site in das Eingabefeld kopieren und [Enter], Option für Gruppierung ausschalten:
Eclox-Installation für Eclipse 3.5

3.) und 4.) wie oben.

Nach der Installation von Eclox muss man in Eclipse unter Preferences für Doxygen/Compiler? Path den Pfad zum Programm doxygen(.exe) eintragen.

Attachments

  • eclipse1.png Download (33.6 KB) - added by ip 4 years ago. Update-Mechanismus von Eclipse
  • cdt1.png Download (92.5 KB) - added by ip 4 years ago. CDT-Installation Schritt 1
  • cdt2.png Download (42.3 KB) - added by ip 4 years ago. CDT-Installation Schritt 2
  • cdt3.png Download (121.6 KB) - added by ip 4 years ago. CDT-Installation Schritt 3
  • subclipse1.png Download (123.2 KB) - added by ip 4 years ago. Subclipse-Installation Schritt 1
  • subclipse2.png Download (94.2 KB) - added by ip 4 years ago. Subclipse-Installation Schritt 2
  • eclox1.png Download (79.4 KB) - added by ip 4 years ago. Eclox-Installation Schritt 1
  • eclox2.png Download (73.8 KB) - added by ip 4 years ago. Eclox-Installation Schritt 2
  • eclipse35_1.png Download (21.1 KB) - added by ip 3 years ago. Update-Mechanismus von Eclipse 3.5
  • cdt35_1.png Download (51.8 KB) - added by ip 3 years ago. CDT-Installation für Eclipse 3.5 Schritt 1
  • cdt35_2.png Download (16.3 KB) - added by ip 3 years ago. CDT-Installation für Eclipse 3.5 Schritt 2
  • cdt35_3.png Download (59.4 KB) - added by ip 3 years ago. CDT-Installation für Eclipse 3.5 Schritt 3
  • subclipse35_1.png Download (41.4 KB) - added by ip 3 years ago. Subclipse-Installation für Eclipse 3.5
  • eclox35_1.png Download (34.6 KB) - added by ip 3 years ago. Eclox-Installation für Eclipse 3.5

Download in other formats:

  • Plain Text

Trac Powered

Powered by Trac 0.11.7
By Edgewall Software.

http://www.ctmagazin.de/
http://www.ctmagazin.de/projekte/

  • Datenschutzhinweis
  • Impressum
  • Kritik, Anregungen bitte an c't-WWW
  • Mediadaten
  • Copyright © 2011 Heise Zeitschriften Verlag
  • International: The H, The H Security, The H Open Source