Recreating Plugin from existing JAR [message #45686] |
Mon, 09 February 2009 06:45  |
Eclipse User |
|
|
|
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 08:20  |
Eclipse User |
|
|
|
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
>
|
|
|
Re: Recreating Plugin from existing JAR [message #591605 is a reply to message #45686] |
Mon, 09 February 2009 06:49  |
Eclipse User |
|
|
|
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 #591622 is a reply to message #45717] |
Mon, 09 February 2009 08:07  |
Eclipse User |
|
|
|
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 08:20  |
Eclipse User |
|
|
|
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
>
|
|
|
Powered by
FUDForum. Page generated in 0.03505 seconds