wiki:Eclipse

Version 2 (modified by vijay, 15 years ago) (diff)

--

HOW TO START MARY FROM ECLIPSE

Initial Setup:

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.
  • 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,

http://HostName:59125/

         (!HostName = MARY Server running system);Ex: !http://localhost:59125/)