External jar class cannot be resolved [message #897957] |
Wed, 25 July 2012 09:56  |
Eclipse User |
|
|
|
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)
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.24686 seconds