My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
RunningFromEclipse  
Tutorial on how to get the "old" Talking-Points Java-version running with Eclipse (on Windows)
Updated Feb 4, 2010 by yansu...@gmail.com

Get Eclipse

Prerequisite is a recent version of Sun's Java Runtime Environment (JRE)

First you need to download Eclipse (it is a very popular open source Integrated Development Environment written in Java).

You basically just need some version of Eclipse that includes all the necessary tools to develop and run Java code. This is a good choice:

http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/ganymede/SR1/eclipse-java-ganymede-SR1-win32.zip

Note: Eclipse doesn't have to be "installed", you just unzip it and run eclipse.exe

Get Subclipse

Subclipse is a module for Eclipse that allows you to use the Subversion (SVN) code repostoty.

  1. Start Eclipse (exlipse.exe)
  2. Pick a location for your workspace
  3. Skip the intro to the workbench
  4. Go to Help > Sofware Updates ..
  5. Go to the Available Software tab
  6. Go to 'Add Site..' and enter this URL: http://subclipse.tigris.org/update_1.4.x
  7. Expand the subclise entry you created
  8. Check 'JavaHL Adapter' and 'Subclipse' and click 'Install...'
  9. wait :)
  10. Click 'Next', 'Accept agreement', 'Finish'
  11. Restart Eclipse

If you get stuck, you can find more documentation about installing Subclipse here: http://subclipse.tigris.org/install.html

Check out the code

Now you have to check out (download) the code from the code repository

  1. Go to 'Window' > 'Open perspective' > 'Other'
  2. Select 'SVN Repository Exploring'
  3. Right-click in the 'SVN Repositories' area on the right and select 'New' > 'Repository location'
  4. Enter this URL: http://talkingpoints-2.googlecode.com/svn/tts_java/tags/release-1.0
  5. Right-click on the created repository and chose 'Checkout'
  6. Select 'Finish'
  7. Wait until the code has been checked out

Configure the application

  1. Switch to the 'Java' or 'Java Browsing' perspective
  2. Click on 'Run' > 'Run configurations'
  3. Select 'Java Application' (double click) to create a new configuration
  4. For the Main class click on 'Search..' and select the "TagReaderTest.java" class as the Main class
  5. Go to arguments tab and add the following parameters
  6. Program arguments can be either "1" (SUI only), "2" (GUI only), or "3" (SUI+GUI)
  7. The VM arguments need to be "-Xmx200m" to allocate enough memory to the VM for the speech recognition to work
  8. Apply the configuration

Now you can run the application either through the 'Run' menu or by hitting 'Crtl+F11'

If Bluetooth is disabled it will detect 3 virtual Bluetooth tags, otherwise it will start searching for real Bluetooth devices.

Powered by Google Project Hosting