|[pdt-dev] Problem Exporting a Plugin with php.core Dependency - Steps to Reproduce|
# 2/8/09 9:56:02 PM CST
# Eclipse Java Compiler 0.883_R34x, 3.4.1 release, Copyright IBM Corp 2000, 2008. All rights reserved.
1. ERROR in C:\export\com.test.php\src\com\test2\php\PHPMixinBuildVisitorExtension.java (at line 4)
org.eclipse.php cannot be resolved to a type
1 problem (1 error)
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:
- 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.
- 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,
WilliamOn 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).
> 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:
>> 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
>> Does anyone have any insights into this issue? Any suggestions for
>> Thanks for your time,
> pdt-dev mailing list
pdt-dev mailing list