Version 2 (modified by vijay, 15 years ago) (diff) |
---|
HOW TO START MARY FROM ECLIPSE
Initial Setup:
- Install JDK 1.5 and JRE 1.5 in your system from http://java.sun.com/
- Download Eclipse Classic from link: http://www.eclipse.org/downloads/
- Install the subversion(svn) Eclipse plugin by following the link: http://www.eclipse.org/subversive/documentation/gettingStarted/aboutSubversive/install.php
How to import Mary into Eclipse:
When ready with all setups installed on your system,
- Open Eclipse
- Then click on File>Import>SVN
- Under SVN select “Project from SVN” and next
- Create new repository location so that you can checkout a project from SVN repository.
- Click next and type the link https://mary.opendfki.de/repos/ under URL column and click next
- 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.
- By this time you should be able to see Open Mary in Eclipse
Few Mandatory Eclipse Configurations:
Under 'Menu', Goto Windows → Preferences, try the following changes:
- Java version used: "Java"->"installed JREs" must be JAVA 1.5
- Open Eclipse → File → Run as → Run configuration:
- Click "New" in order to add a Mary process under Java Application tab. Now provide the following information:
- Name=Mary
- In "Main", Tab → "Main class"= marytts.server.Mary; “Project”= OpenMary
- In the "Arguments" tab, add the following lines into the "VM Arguments" field:
-Xmx256m -Dmary.base=${workspace_loc:OpenMary} -ea
- For debugging informations displayed in Eclipse, you also have to add the following:
-Dlog.tofile=false -Dlog.level=debug
- Click "Apply" to save these settings.
- Run it from Run configuration window. It should run by this time.
If you want to start a MARY Client, open following link in web browser,
(!HostName = MARY Server running system);Ex: !http://localhost:59125/)