[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [pdt-dev] Re: Problem Exporting a Plugin with php.core Dependency

Thanks for your suggestion Klaus. 

Yes, my manifest does contain an entry for the php.core plugin as a "Require-Bundle":

Require-Bundle: org.eclipse.ui,

I also tried using the "Plug-ins and Fragments" import wizard to bring both PDT dependencies into my workspace. When I do so, my project fails to build (at all, not just during the "plugin export") due to the following error:

The project was not built since its build path is incomplete. Cannot find the class file for org.eclipse.php.core.codeassist.IPHPCompletionRequestor. Fix the build path then try building this project

So to summarize:
  1. When the dependencies are pulled directly from my Eclipse installation (i.e. I let Eclipse reference its own set of installed plugins), everything works as you would expect.
  2. If I try to build as a plugin, or if I import the plugins as binaries into my workspace (and allow those to be the dependencies), I have build errors.

(And if it matters, the php.core and php.ui versions I have are 20081229-1135).

I'm really at a loss regarding this issue.  Its always been my experience that the solution to these types are problems are pretty simple and obvious, and I'm always embarrassed by the fact that I didn't figure it out on my own.  So any other suggestions or help, no matter how obvious it might seem, would be greatly appreciated.

Thanks again for your time,


On Thu, Feb 5, 2009 at 1:33 PM, Klaus Hartlage <khartlage@xxxxxxxxx> wrote:

This seems to be obvious, but did you define all "Require-Bundle:" in the file:

2009/2/5 William <woolieKing+pdt@xxxxxxxxx>:
> Sorry for the interruption again.  I was hoping someone might have some
> comments regarding my previous email (below).
> Thanks,
> William
> On Wed, Jan 28, 2009 at 11:20 PM, William <woolieKing+pdt@xxxxxxxxx> wrote:
>> Hi All,
>> I have a plugin I've been working on that includes, as part of its
>> dependencies, the following PDT plugins:
>> org.eclipse.php.core
>> org.eclipse.php.ui
>> I have been unable to build my plugin (through the "Export" wizard's
>> "deployable plugin" or via an "update" site build).  Each time the build
>> process fails due to multiple errors, all of which are related to:
>> The import org.eclipse.php.internal.core cannot be resolved
>> The php.ui dependency as well as all others (e.g. dltk.core, wst.sse.core,
>> etc.) do not produce any errors. It is only the php.core plugin.
>> I can (of course) debug the plugin just fine within the Eclipse
>> environment.
>> Does anyone have any insights into this issue? Any suggestions for
>> debugging?
>> Thanks for your time,
>> William
> _______________________________________________
> pdt-dev mailing list
> pdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/pdt-dev

Blog: http://blog.klha.de
pdt-dev mailing list