Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsExport Plugin - Imports can not be resolved
https://www.eclipse.org/forums/index.php/mv/msg/398307/939244/#msg_939244
I developed a plugin for Eclipse.
When I start it in the development environment with "Run as Eclipse application" everything works fine.
But when I try to export it (either as feature to install it with "Install new Software" or export it as jar to the dropins folder) i can't use the plugin. But there are no problems visualized during the export process.
Whenever I try to export the plugin directly into host repository, I get some errors in the log file saying that several imports could not be resolved.
I somehow found out that this depends on packages in the plugin's build path that reference .class files instead of the source .java files.
This becomes obviously as this problem also occurs when I create an empty plugin depending on existing jar archives which reference .class files. If there are only references to jar archives containing .java files everything works fine.
Does anyone here have experience with this problem and/or is there a way to solve this?
Regards,
Theo]]>Theo Retisch2012-10-10T15:06:50-00:00Re: Export Plugin - Imports can not be resolved
https://www.eclipse.org/forums/index.php/mv/msg/398307/945016/#msg_945016
When creating a new plugin depending on existing jar archives it's important to uncheck the option "Unzip the JAR archives into the project".
The export works without errors like "import xxx could not be resolved" then.]]>Theo Retisch2012-10-15T07:45:48-00:00