Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Eclipse and Free TTS
Eclipse and Free TTS [message #256566] Tue, 29 June 2004 05:27 Go to next message
Eclipse UserFriend
Originally posted by: sazib2000.hotmail.com

Hi Develpers,
I have been working on developing a plugin for eclipse that uses Free TTS.
I added the jsapi.jar file as an "external jar file" in build path of
project properties. It compiles just fine but the problem is that when I
run it as a workbench, it gives me an error NoClassDefFound. I know that I
have the Free TTS setup right since I can use it in java application in
eclipse..Its only in plugin when it gives trouble. Can some one pls tell
me how to add a .jar file to eclipse so that it finds it right during run
time.
thanks in advance
M. Rahman
NSF-CSCAP
Winona State University
Re: Eclipse and Free TTS [message #256579 is a reply to message #256566] Tue, 29 June 2004 16:17 Go to previous message
Guillaume Pothier is currently offline Guillaume PothierFriend
Messages: 107
Registered: July 2009
Senior Member
I think that you have to configure properly your plugin.xml file rather
than project properties; by the way it seems that some project
properties get reset when plugin.xml or build.xml is saved.
Here is what I did to use additional jar:
- copy the jar in a lib directory in the project root (I guess you could
also leave the jar in the root)
- in the Runtime tab of the plugin.xml editor, add it as Runtime library
with the "new" button. It is a bit misleading as it doesn't show a
browser; just enter "lib/xxx.jar" without quotes.
- in build.xml, the bin.includes entry should look like this:
bin.includes = plugin.xml,\
icons/,\
plugin.jar,\
lib/
If I remember correctly, you can achieve that by adding the lib
directory in the "binary build" part of the "build" tab.

Hope this helps.
Guillaume


Raman wrote:
> Hi Develpers,
> I have been working on developing a plugin for eclipse that uses Free TTS.
> I added the jsapi.jar file as an "external jar file" in build path of
> project properties. It compiles just fine but the problem is that when I
> run it as a workbench, it gives me an error NoClassDefFound. I know that I
> have the Free TTS setup right since I can use it in java application in
> eclipse..Its only in plugin when it gives trouble. Can some one pls tell
> me how to add a .jar file to eclipse so that it finds it right during run
> time.
> thanks in advance
> M. Rahman
> NSF-CSCAP
> Winona State University
>
Previous Topic:File Associations cannot be shared in a team via preferences file
Next Topic:[RCP] WorkbenchAdvisor vs plugin.xml (menus)
Goto Forum:
  


Current Time: Wed Jul 17 17:36:35 GMT 2024

Powered by FUDForum. Page generated in 0.04262 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top