[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.pde] How to deploy a plugin such that it can be imported again?
|
- From: Patrick Könemann <pk@xxxxxxxxxx>
- Date: Wed, 09 Sep 2009 10:51:09 +0200
- Newsgroups: eclipse.platform.pde
- Organization: EclipseCorner
- User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.1) Gecko/20090715 Thunderbird/3.0b3
Hi,
I have a plugin which I would like to deploy via an update site and which can be imported again (Eclipse 3.5).
The structure of the plugin is as follows:
META-INF\
src\
tests\
.classpath
.project
A feature project contains this plugin and an update site project builts an update site as expected (containing the feature and the plugin as jar files).
Then I can install the plugin in another Eclipse and in the Plugin-view I can see it.
What I would like to do now is to right-click my plugin in the plugin-view -> Import As -> Source Project.
However, the imported project looks different from the one in my original workspace:
META-INF\
tests\
.classpath
.project
<plugin-name>_1.0.0.jar
The jar seems to be the same as the one in the update site.
Inside the jar, I have exactly the expected contents from my workspace:
META-INF\
src\
tests\
.classpath
.project
My question is now, how do I restore the original project again from the installed plugin?
-> I thought it would be Import as source project, but apparently it isn't.
-> I had that working with Eclipse 3.2 (or 3.3, I can't remember). Did I miss something here?
Any help appreciated!
Patrick