Changes between Version 2 and Version 3 of EclipseConfiguration
- Timestamp:
- 09/22/09 14:36:05 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
EclipseConfiguration
v2 v3 35 35 36 36 37 2. Verify/adapt a number of general settings in Eclipse. From the Eclipse 37 38 '''Common instructions for Eclipse configuration:''' 39 40 41 1. Verify/adapt a number of general settings in Eclipse. From the Eclipse 38 42 menu, select "Windows"->"Preferences...". In the dialogue window that opens, 39 43 verify/adapt the following settings: … … 41 45 must be UTF-8 (Note: may be under "General"->"Editors"->"Text file encoding" 42 46 on the Linux version of Eclipse) 43 - Java version used: "Java"->"installed JREs" must be 1. 4 or 1.547 - Java version used: "Java"->"installed JREs" must be 1.5 44 48 - Java source compatibility: "Java"->"Compiler"->"Compliance and Classfiles" 45 49 "Use default compliance settings" must NOT be ticked; all of the following 46 must be set to 1. 4:50 must be set to 1.5: 47 51 "Compiler compliance level" 48 52 "Generated .class files compatibility" 49 53 "Source compatibility" 50 54 51 3. Import the MARY-project in Eclipse:55 2. Import the MARY-project in Eclipse: 52 56 In Eclipse, select from the "File" menu "Import", then click on 53 57 "Existing Project into Workspace". 54 Click "Next", then "Browse" and select the mary directory MARY_BASE55 (for example "/home/myself/MARY 58 Click "Next", then "Browse" and select the mary directory $MARY_BASE 59 (for example "/home/myself/MARY_TTS"). 56 60 Then click "Finish". 57 61 If you get errors about jar files missing, verify the project settings … … 64 68 Eclipse (e.g., for quick debugging). 65 69 66 4. Define a number of environment variables. 67 a) Under linux, add to the file ~/.bashrc: 70 {{{ 71 #!comment 72 73 3. Define a number of environment variables. 74 a) Under linux, add to the file ~/.bashrc: 68 75 export MARY_BASE=/home/myself/MARY TTS 69 76 export SHPROT_BASE=$MARY_BASE/lib/modules/shprot … … 77 84 content of the Path variable, append the following: 78 85 ;c:\Program Files\MARY TTS\bin;c:\Program Files\MARY TTS\lib\windows 86 }}} 79 87 80 5. To define a run target: From the menu, select "Run"->"Run...".88 3. To define a run target: From the menu, select "Run"->"Run configurations..". 81 89 Click "New" in order to add a Mary process: 82 90 Name=Mary, "Main"->"Main class"=de.dfki.lt.mary.Mary … … 102 110 Click "Apply" to save these settings. 103 111 104 6. If you click on "Run" now, the process will start.112 4. If you click on "Run" now, the process will start. 105 113 106 7. Start the MARY GUI client by double-clicking the MARY client icon on the desktop114 5. Start the MARY GUI client by double-clicking the MARY client icon on the desktop 107 115 (or from the command line in MARY_BASE/bin/maryclient).