Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Classpath change doesn't take effect
Classpath change doesn't take effect [message #277551] Mon, 13 December 2004 11:46 Go to next message
Eclipse UserFriend
Originally posted by: jiaqi.evavi.com

I'm working on an eclipse plugin these days. It was fine until I added
some features, changed the plugin.xml to add the new extensions and jar
files.

It's running well in runtime workbench. But after I export the zip file,
unzip it and restart the eclipse, I got a NoClassDefFoundError of a
class in one of the new jar files.

It looks like the classpath setting of old version plugin is cached
somewhere while the new code is picked up. I've tried to delete the
configuration directory, but it wasn't helpful.

What should I do to make my new plugin work?



Thanks in advance
Jiaqi
Re: Classpath change doesn't take effect [message #277553 is a reply to message #277551] Mon, 13 December 2004 11:56 Go to previous messageGo to next message
Eclipse UserFriend
Start Eclipse using the -clean option to remove the cached plugin manifest
information

HTH
Darins

"Jiaqi Guo" <jiaqi@evavi.com> wrote in message
news:cpkh0o$3qq$1@www.eclipse.org...
> I'm working on an eclipse plugin these days. It was fine until I added
> some features, changed the plugin.xml to add the new extensions and jar
> files.
>
> It's running well in runtime workbench. But after I export the zip file,
> unzip it and restart the eclipse, I got a NoClassDefFoundError of a class
> in one of the new jar files.
>
> It looks like the classpath setting of old version plugin is cached
> somewhere while the new code is picked up. I've tried to delete the
> configuration directory, but it wasn't helpful.
>
> What should I do to make my new plugin work?
>
>
>
> Thanks in advance
> Jiaqi
Re: Classpath change doesn't take effect [message #277556 is a reply to message #277553] Mon, 13 December 2004 12:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jiaqi.evavi.com

Thanks for quick reply, Darins. Unfortunately the error still exists.
Anything else I can try?



Thanks
Jiaqi

Darin Swanson wrote:
> Start Eclipse using the -clean option to remove the cached plugin manifest
> information
>
> HTH
> Darins
>
> "Jiaqi Guo" <jiaqi@evavi.com> wrote in message
> news:cpkh0o$3qq$1@www.eclipse.org...
>
>>I'm working on an eclipse plugin these days. It was fine until I added
>>some features, changed the plugin.xml to add the new extensions and jar
>>files.
>>
>>It's running well in runtime workbench. But after I export the zip file,
>>unzip it and restart the eclipse, I got a NoClassDefFoundError of a class
>>in one of the new jar files.
>>
>>It looks like the classpath setting of old version plugin is cached
>>somewhere while the new code is picked up. I've tried to delete the
>>configuration directory, but it wasn't helpful.
>>
>>What should I do to make my new plugin work?
>>
>>
>>
>>Thanks in advance
>>Jiaqi
>
>
>
Re: Classpath change doesn't take effect [message #277559 is a reply to message #277556] Mon, 13 December 2004 12:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Did you update the build.properties file to have that new jar exported
(thru the bin.includes)?

--
Thanks,
Rich Kulp
Re: Classpath change doesn't take effect [message #277566 is a reply to message #277559] Mon, 13 December 2004 13:03 Go to previous message
Eclipse UserFriend
Originally posted by: jiaqi.evavi.com

I didn't. This was the reason.
Now it works.


Thanks a lot

Rich Kulp wrote:
> Did you update the build.properties file to have that new jar exported
> (thru the bin.includes)?
>
Previous Topic:(Abstract)TextEditor and Undo
Next Topic:Problems with plugins
Goto Forum:
  


Current Time: Sat May 03 14:01:03 EDT 2025

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

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

Back to the top