Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Xtext Workspace Setup"

Line 1: Line 1:
1) Besorge Dir eine aktuelle [http://oaw.itemis.eu/[oAW Distro]].  
+
1) Download current oAW+eclipse SDK distribution from [http://oaw.itemis.eu/[oAW Distribution from itemis]].  
  
2) Starte die Distro und stelle ISO-8859-1 als Encoding ein (Preferences -> Workspace -> Text file encoding -> Other = ISO-8859-1
+
2) Start eclipse and set ISO-8859-1 as default text file encoding (Preferences -> Workspace -> Text file encoding -> Other = ISO-8859-1
  
3) Füge folgende CVS Repository Location hinzu: :pserver:dev.eclipse.org:/cvsroot/modeling
+
3) Add CVS Repository Location: :pserver:dev.eclipse.org:/cvsroot/modeling
  
4) Lade Dir vom [http://wiki.eclipse.org/Xtext_Repository_Details[Xtext Wiki]] das entsprechende PSF und speichere es irgendwo lokal ab.
+
4) Download the corresponding Team Project Set (PSF) file from [http://wiki.eclipse.org/Xtext_Repository_Details[Xtext Wiki]] and store it locally.
  
5) Nun importiere das PSF aus Schritt 2 (Import -> Team Project Set -> Browse)
+
5) Import the team project set file from the previous step (Import -> Team Project Set -> Browse)
  
6) Schalte dann die "Working Sets" Sicht im Package Explorer an (Package Explorer View Menu -> Top Level Elements -> Working Sets)
+
6) Switch to "Working Sets" View from within Package Explorer (Package Explorer View Menu -> Top Level Elements -> Working Sets)
  
7) Führe die Klasse org.eclipse.xtext.reference.ReferenceGrammar.java als normale Java-Klasse aus. Dadurch wir die Referenz-Grammatik (die wir zum Experimentieren verwenden) generiert.
+
7) Execute main Class org.eclipse.xtext.reference.ReferenceGrammar.java as java application (Run as Java..).
  
8) Importiere nun das vom Generator erzeugte Plug-in org.eclipse.xtext.reference.ui_gen und füge es (z.B. mit Drag'n'Drop) dem Working Set "Xtext Reference" hinzu.
+
8) Import the plugin-in project created from previous execution (7) 'org.eclipse.xtext.reference.ui_gen' and add it to the current working set 'Xtext Reference'.

Revision as of 11:30, 12 September 2008

1) Download current oAW+eclipse SDK distribution from [oAW Distribution from itemis].

2) Start eclipse and set ISO-8859-1 as default text file encoding (Preferences -> Workspace -> Text file encoding -> Other = ISO-8859-1

3) Add CVS Repository Location: :pserver:dev.eclipse.org:/cvsroot/modeling

4) Download the corresponding Team Project Set (PSF) file from [Xtext Wiki] and store it locally.

5) Import the team project set file from the previous step (Import -> Team Project Set -> Browse)

6) Switch to "Working Sets" View from within Package Explorer (Package Explorer View Menu -> Top Level Elements -> Working Sets)

7) Execute main Class org.eclipse.xtext.reference.ReferenceGrammar.java as java application (Run as Java..).

8) Import the plugin-in project created from previous execution (7) 'org.eclipse.xtext.reference.ui_gen' and add it to the current working set 'Xtext Reference'.

Back to the top