Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » External jar class cannot be resolved
External jar class cannot be resolved [message #897957] Wed, 25 July 2012 13:56 Go to next message
asm2008 asm2008 is currently offline asm2008 asm2008
Messages: 5
Registered: July 2012
Junior Member
A plugin with external third party jars,
works fine in eclipse, but not work when exported to RCP product.

---------------------------------------------
1. Plugin mainifest.mf:classpath:
external:$THIRDPARTY$/a1.jar
external:$THIRDPARTY$/a2.jar
2. works fine in eclispe
2.1 add vm arguments using Run Configurations : -DTHIRDPARTY="c:/thirdparty"
2.2 running ok in eclipse
3. but not work in exported product
3.1 export the product: myeclipse.exe
3.2 config myeclipse.ini to add vm arguments : -DTHIRDPARTY="c:/thirdparty"
3.3 raise error when running, whill THIRDPARTY was succesful set.
--------------------------
error message : java.lang.error: unresolved compilation problems:
the import org.thirdparty.xxx cannot be resolved
.........


---------------------------------
i need help, what's missed?
(eclipse version: 3.7)
Re: External jar class cannot be resolved [message #897959 is a reply to message #897957] Wed, 25 July 2012 14:00 Go to previous messageGo to next message
asm2008 asm2008 is currently offline asm2008 asm2008
Messages: 5
Registered: July 2012
Junior Member
any help? thanks a lot
Re: External jar class cannot be resolved [message #898284 is a reply to message #897959] Thu, 26 July 2012 06:40 Go to previous messageGo to next message
asm2008 asm2008 is currently offline asm2008 asm2008
Messages: 5
Registered: July 2012
Junior Member
already fixed, no more help needed.
thanks
Re: External jar class cannot be resolved [message #902850 is a reply to message #898284] Mon, 20 August 2012 18:07 Go to previous message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

It looked like it wasn't compiled successfully before deployment. Was that the problem?

PW


Previous Topic:Property and Preference Page
Next Topic:Automating the deployment process of plugin
Goto Forum:
  


Current Time: Thu Sep 18 19:54:11 GMT 2014

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

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