Changes between Initial Version and Version 1 of Eclipse


Ignore:
Timestamp:
01/15/10 14:37:53 (15 years ago)
Author:
vijay
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Eclipse

    v1 v1  
     1'''HOW TO START MARY FROM ECLIPSE''' 
     2 
     3'''        Initial Setup:''' 
     4 
     5 * Install JDK 1.5 and JRE 1.5 in         your system from http://java.sun.com/ 
     6 
     7 * Download Eclipse Classic from         !http://www.eclipse.org/downloads/ 
     8 
     9 * Install the  subversion(svn)         Eclipse plugin by following the link:         !http://www.eclipse.org/subversive/documentation/gettingStarted/aboutSubversive/install.php 
     10 
     11'''How to import Mary         into Eclipse:''' 
     12 
     13When ready with all setups installed         on your system, 
     14 
     15 * Open Eclipse 
     16 
     17 * Then click on File>Import>SVN 
     18 
     19 * Under SVN select “Project from         SVN” and next. 
     20 
     21 * Create new repository location so         that you can checkout a project from SVN repository. 
     22 
     23 * Click next and type the link          !https://mary.opendfki.de/repos/  under URL column and click next 
     24 
     25 * Now to select a resourse, which         will be checked out on a project, please type         !https://mary.opendfki.de/repos/trunk  under URL tab and then click         next and finish. 
     26 
     27 * By this time you should be able to         see Open Mary in Eclipse 
     28 
     29'''Few Mandatory Eclipse Configurations: ''' 
     30 
     31Under 'Menu', Goto Windows →  Preferences, try the following changes: 
     32 
     33 * Java         version used: "Java"->"installed JREs" must         be JAVA 1.5 
     34 
     35 * Open Eclipse → File →  Run as         → Run configuration: 
     36 
     37 * Click "New" in order to         add a Mary process under Java Application tab. Now provide the         following information: 
     38 
     39 * Name=Mary 
     40 
     41 * In "Main" Tab → "Main         class"= marytts.server.Mary;  “Project”= !OpenMary 
     42 
     43 * In the "Arguments" tab,         add the following lines into the "VM Arguments" field: 
     44 
     45          -Xmx256m -Dmary.base=$MARY_BASE -ea 
     46 
     47 * For debugging informations         displayed in Eclipse, you also have to add the following: 
     48 
     49         -Dlog.tofile=false -Dlog.level=debug 
     50 
     51In the end replace “$MARY_BASE” with the current path of the installed openmary(eg:         “home/user/workspace/openmary” if using Linux) and make sure that the path name is under         inverted commas. 
     52 
     53 * Click "Apply" to save         these settings. 
     54 
     55 * Run it from Run configuration         window. It should run by this time. 
     56 
     57If you want to start a MARY Client, open following link in web browser, 
     58 
     59!http://HostName:59125/ (!HostName = MARY Server running system); 
     60 
     61Ex: !http://localhost:59125/)