How Tos

Last reviewed: 10/1/2009

Article ID: H100907

HOW: Developing JBuilder 2008 applications that manage markup

The information in this article applies to:

  • VoiceMarkupKit 3

Summary

VoiceMarkupKit 3 includes updated samples for JBuilder 2008 from Embarcadero.

More Information

Configure JBuilder-Eclipse (JBuilder 2007 and 2008) to use the Chant VoiceMarkupKit Java Component Library with the following steps:

  1. copy the DJVoiceMarkupKit.DLL (C:\Program Files\Chant\VoiceMarkupKit 3\Win32 Developer\Java\bin\DJVoiceMarkupKit.DLL) file to your Java JRE bin directory; and
  2. configure the voicemarkupkit.jar and chant-shared.jar libraries (C:\Program Files\Chant\VoiceMarkupKit 3\Win32 Developer\Java\libv1.x) within your JBuilder project as follows:
    1. create a lib directory containing voicemarkupkit.jar and chant-shared.jar within your project root directory;
    2. right-click on the voicemarkupkit.jar file and select Build Path | Add To Build Path; and
    3. right-click on the chant-shared.jar file and select Build Path | Add To Build Path.

Configure JBuilder-Eclipse (JBuilder 2007 and 2008) to run the Markup and Phonemes samples with the following steps:

  1. copy the DJVoiceMarkupKit.DLL file to your Java JRE bin directory;
  2. copy the JBuilder-Eclipse Markup and Phonemes project folders (i.e., C:\Program Files\Chant\VoiceMarkupKit 3\Win32 Developer\Java\Samples\JBuilder-Eclipse\Markup and C:\Program Files\Chant\VoiceMarkupKit 3\Win32 Developer\Java\Samples\JBuilder-Eclipse\Phonemes) to your JBuilder workspace directory;
  3. within JBuilder, select File | Import; and
  4. select General | Existing Projects into Workspace.

The JBuilder-Swing samples can be opened end edited under the Swing Designer (JBuilder 2008). Configure JBuilder-Eclipse (JBuilder 2008) to run the Markup and Phonemes samples with the following steps:

  1. copy the DJVoiceMarkupKit.DLL file to your Java JRE bin directory;
  2. copy the JBuilder-Swing Markup and Phonemes project folders (i.e., C:\Program Files\Chant\VoiceMarkupKit 3\Win32 Developer\Java\Samples\JBuilder-Swing\Markup and C:\Program Files\Chant\VoiceMarkupKit 3\Win32 Developer\Java\Samples\JBuilder-Swing\Phonemes) to your JBuilder workspace directory;
  3. within JBuilder, select File | Import; and
  4. select General | Existing Projects into Workspace.

Place import com.voicemarkupkit.*; and import net.chant.shared.*; statements in your application to reference the VoiceMarkupKit classes and members within your code.

JBuilder-Eclipse sample projects are installed at [My] Documents\Chant VoiceMarkupKit 3\Java\JBuilder-Eclipse and [My] Documents\Chant VoiceMarkupKit 3\Java\JBuilder-Swing.