Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Recreating Plugin from existing JAR
Recreating Plugin from existing JAR [message #45686] Mon, 09 February 2009 11:45 Go to next message
Timothy Marc is currently offline Timothy MarcFriend
Messages: 547
Registered: July 2009
Senior Member
Hi all,

i've a common question about how to recreate a plugin from an existing
jar. In my case, a new version of the has been released and i want to
replace the files of the existing plugin (from the old jar) with the
files of the new jar. Is this possible or may i have to create a
completly new plugin???

Thx for any help.
Timothy
Re: Recreating Plugin from existing JAR [message #45717 is a reply to message #45686] Mon, 09 February 2009 11:49 Go to previous messageGo to next message
Alessandro Caproni is currently offline Alessandro CaproniFriend
Messages: 21
Registered: July 2009
Junior Member
Hi,
I would say that you have to recreate the entire plugin.
The reason is that plugin Manifest:Export-Package contains the list of the packages of the jars of the plugin.
Given that (probably) the packages of the new jar differ from those of the old jar such a list will not be valid and therefore you have to regenerate the entire plugin.

Ale

Timothy Marc wrote:
> Hi all,
>
> i've a common question about how to recreate a plugin from an existing
> jar. In my case, a new version of the has been released and i want to
> replace the files of the existing plugin (from the old jar) with the
> files of the new jar. Is this possible or may i have to create a
> completly new plugin???
>
> Thx for any help.
> Timothy


Alessandro Caproni
European Southern Observatory (http://www.eso.org)
Re: Recreating Plugin from existing JAR [message #45779 is a reply to message #45717] Mon, 09 February 2009 13:07 Go to previous messageGo to next message
Timothy Marc is currently offline Timothy MarcFriend
Messages: 547
Registered: July 2009
Senior Member
Hi,
hmm... this is not optimal, since the current plugin is imported into
svn, so i have to kill it and reimport it everytime, i want to update
the referenced library. I think this is a very tedious work, hm?
Timothy

Alessandro Caproni schrieb:
> Hi,
> I would say that you have to recreate the entire plugin.
> The reason is that plugin Manifest:Export-Package contains the list of
> the packages of the jars of the plugin.
> Given that (probably) the packages of the new jar differ from those of
> the old jar such a list will not be valid and therefore you have to
> regenerate the entire plugin.
>
> Ale
>
> Timothy Marc wrote:
>> Hi all,
>>
>> i've a common question about how to recreate a plugin from an existing
>> jar. In my case, a new version of the has been released and i want to
>> replace the files of the existing plugin (from the old jar) with the
>> files of the new jar. Is this possible or may i have to create a
>> completly new plugin???
>>
>> Thx for any help.
>> Timothy
Re: Recreating Plugin from existing JAR [message #45808 is a reply to message #45779] Mon, 09 February 2009 13:20 Go to previous message
Alessandro Caproni is currently offline Alessandro CaproniFriend
Messages: 21
Registered: July 2009
Junior Member
I have written a java tool that generates plugins out of jars. It is not very difficult when you know how an eclipse plugin is generated out of a set of jars.

Ale

Timothy Marc wrote:
> Hi,
> hmm... this is not optimal, since the current plugin is imported into
> svn, so i have to kill it and reimport it everytime, i want to update
> the referenced library. I think this is a very tedious work, hm?
> Timothy
>


Alessandro Caproni
European Southern Observatory (http://www.eso.org)
Re: Recreating Plugin from existing JAR [message #591605 is a reply to message #45686] Mon, 09 February 2009 11:49 Go to previous message
Alessandro Caproni is currently offline Alessandro CaproniFriend
Messages: 21
Registered: July 2009
Junior Member
Hi,
I would say that you have to recreate the entire plugin.
The reason is that plugin Manifest:Export-Package contains the list of the packages of the jars of the plugin.
Given that (probably) the packages of the new jar differ from those of the old jar such a list will not be valid and therefore you have to regenerate the entire plugin.

Ale

Timothy Marc wrote:
> Hi all,
>
> i've a common question about how to recreate a plugin from an existing
> jar. In my case, a new version of the has been released and i want to
> replace the files of the existing plugin (from the old jar) with the
> files of the new jar. Is this possible or may i have to create a
> completly new plugin???
>
> Thx for any help.
> Timothy


Alessandro Caproni
European Southern Observatory (http://www.eso.org)
Re: Recreating Plugin from existing JAR [message #591622 is a reply to message #45717] Mon, 09 February 2009 13:07 Go to previous message
Timothy Marc is currently offline Timothy MarcFriend
Messages: 547
Registered: July 2009
Senior Member
Hi,
hmm... this is not optimal, since the current plugin is imported into
svn, so i have to kill it and reimport it everytime, i want to update
the referenced library. I think this is a very tedious work, hm?
Timothy

Alessandro Caproni schrieb:
> Hi,
> I would say that you have to recreate the entire plugin.
> The reason is that plugin Manifest:Export-Package contains the list of
> the packages of the jars of the plugin.
> Given that (probably) the packages of the new jar differ from those of
> the old jar such a list will not be valid and therefore you have to
> regenerate the entire plugin.
>
> Ale
>
> Timothy Marc wrote:
>> Hi all,
>>
>> i've a common question about how to recreate a plugin from an existing
>> jar. In my case, a new version of the has been released and i want to
>> replace the files of the existing plugin (from the old jar) with the
>> files of the new jar. Is this possible or may i have to create a
>> completly new plugin???
>>
>> Thx for any help.
>> Timothy
Re: Recreating Plugin from existing JAR [message #591628 is a reply to message #45779] Mon, 09 February 2009 13:20 Go to previous message
Alessandro Caproni is currently offline Alessandro CaproniFriend
Messages: 21
Registered: July 2009
Junior Member
I have written a java tool that generates plugins out of jars. It is not very difficult when you know how an eclipse plugin is generated out of a set of jars.

Ale

Timothy Marc wrote:
> Hi,
> hmm... this is not optimal, since the current plugin is imported into
> svn, so i have to kill it and reimport it everytime, i want to update
> the referenced library. I think this is a very tedious work, hm?
> Timothy
>


Alessandro Caproni
European Southern Observatory (http://www.eso.org)
Previous Topic:Startup eclipse for another workspace
Next Topic:Installing issue but test ok
Goto Forum:
  


Current Time: Sun Jun 20 20:26:50 GMT 2021

Powered by FUDForum. Page generated in 0.02550 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top