Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Target Definition and deployed plugins = class path problem in build.xml
Target Definition and deployed plugins = class path problem in build.xml [message #591289] Wed, 04 February 2009 09:54
Rhodan76 Mising name is currently offline Rhodan76 Mising nameFriend
Messages: 71
Registered: July 2009
Member
Hello,

i have an rcp application, for which i try to set up an target definition.
In these target definition i include the rcp delta pack AND some own
plugins. These own plugins are mainly wrapping a library and have
additionally rcp classes.

To use these plugins in my target definition i do an export of the plugins
(Export-> PDE -> deployable plugins) and deploy it into an special folder
of my workspace. These folder(s) i have added to my target definitnion
file.

Now the problem:

First try: When i export these plugins as jar's (and set the target
definition for my workspace), then the eclipse compiler moans, that he
cannot find the classes of the wrapped library inside the plugin.jar. (My
workspace is getting red due to of missing library classes)

Second try: But when i export these plugins as pure directory (not jar'ed)
the eclipse compiler finds the classes inside the wrapped jar, but i'm
getting problem when doing an product export of my whole project. The
Product Export (or ant build) now doesn't find the plugin classes of the
deployed plugins!


The ant build of my product log these failures:

[javac] The import com.xyz.my.deployed.plugin.rcp cannot be resolved


Summary:

exporting my library wrapping plugins as jar -> the eclipse compiler
doesn't find the classes of the jar's inside the plugin

exporting my library wrapping plugins as directory -> running the product
build by build.xml --> the javac-compiler doesn't find the wrapping plugin
classes.


What can i do ?
Previous Topic:Adding new markers
Next Topic:Imports can't resolved after eclipse restart
Goto Forum:
  


Current Time: Sat Jun 12 11:20:25 GMT 2021

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

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

Back to the top