|
Re: How to deploy a plugin such that it can be imported again? [message #484784 is a reply to message #484778] |
Wed, 09 September 2009 09:34 |
Patrick Konemann Messages: 116 Registered: July 2009 |
Senior Member |
|
|
Hi again,
I found a simple but not very satisfying solution:
In the feature, select 'Unpack the plug-in archive after the installation' for that plugin. Then it works.
Still, does anyone know of a more elegant way of importing the complete directory structure from a plugin deployed as a jar file?
Cheers
Patrick
On 09-09-2009 10:51, Patrick Könemann wrote:
> 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
|
|
|
Re: How to deploy a plugin such that it can be imported again? [message #601386 is a reply to message #484778] |
Wed, 09 September 2009 09:34 |
Patrick Konemann Messages: 116 Registered: July 2009 |
Senior Member |
|
|
Hi again,
I found a simple but not very satisfying solution:
In the feature, select 'Unpack the plug-in archive after the installation' for that plugin. Then it works.
Still, does anyone know of a more elegant way of importing the complete directory structure from a plugin deployed as a jar file?
Cheers
Patrick
On 09-09-2009 10:51, Patrick Könemann wrote:
> 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
|
|
|
Powered by
FUDForum. Page generated in 0.03785 seconds