Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Source or javadoc for plugin
Source or javadoc for plugin [message #306159] Mon, 24 July 2006 06:48 Go to next message
Eclipse UserFriend
Hi,
could you please write me some instruction
on how to add source of any plugin which
I have made a plugin by using wizard
'extract a jar package and make it plugin'.

If I make a plugin say from mysql-connector.jar
by extracting its contents into new plugin project
and then use this plugin in my applications
then I am not able to attach a source code to this
and have no description on auto completion.

If I pick mysql-connector.jar as jar and add it
to my project then I can attach source code
(file or folder) to it in the project preferences.

So how to to that in the first method?

--
Piotr Gorny
Re: Source or javadoc for plugin [message #306160 is a reply to message #306159] Mon, 24 July 2006 06:59 Go to previous messageGo to next message
Eclipse UserFriend
Just my 2¢: Why are not simply creating a plugin from the
MySQL-JDBC-Sources instead of the creating a plugin from the Jar-File?
Another question is why you use MySQL-Classes instead of the generic
interfaces from java.sql.* and javax.sql.*.

Tom


Piotr Gorny schrieb:
> Hi,
> could you please write me some instruction
> on how to add source of any plugin which
> I have made a plugin by using wizard
> 'extract a jar package and make it plugin'.
>
> If I make a plugin say from mysql-connector.jar
> by extracting its contents into new plugin project
> and then use this plugin in my applications
> then I am not able to attach a source code to this
> and have no description on auto completion.
>
> If I pick mysql-connector.jar as jar and add it
> to my project then I can attach source code
> (file or folder) to it in the project preferences.
>
> So how to to that in the first method?
>
> --
> Piotr Gorny
Re: Source or javadoc for plugin [message #306161 is a reply to message #306160] Mon, 24 July 2006 07:02 Go to previous messageGo to next message
Eclipse UserFriend
Oh and i just saw what also might work. When creating a plugin from jar
don't extract the Jar-Content but instead add the complete Jar and then
you can attach the sources to the jar in the
mysql-plugin-Properties-Window. I have not test this because I never use
the MySql-Class directly.

Tom

Tom Schindl schrieb:
> Just my 2¢: Why are not simply creating a plugin from the
> MySQL-JDBC-Sources instead of the creating a plugin from the Jar-File?
> Another question is why you use MySQL-Classes instead of the generic
> interfaces from java.sql.* and javax.sql.*.
>
> Tom
>
>
> Piotr Gorny schrieb:
>> Hi,
>> could you please write me some instruction
>> on how to add source of any plugin which
>> I have made a plugin by using wizard
>> 'extract a jar package and make it plugin'.
>>
>> If I make a plugin say from mysql-connector.jar
>> by extracting its contents into new plugin project
>> and then use this plugin in my applications
>> then I am not able to attach a source code to this
>> and have no description on auto completion.
>>
>> If I pick mysql-connector.jar as jar and add it
>> to my project then I can attach source code
>> (file or folder) to it in the project preferences.
>>
>> So how to to that in the first method?
>>
>> --
>> Piotr Gorny
>
Re: Source or javadoc for plugin [message #306164 is a reply to message #306161] Mon, 24 July 2006 09:28 Go to previous messageGo to next message
Eclipse UserFriend
Tom Schindl napisał(a):
> Tom Schindl schrieb:
>> Just my 2¢: Why are not simply creating a plugin from the
>> MySQL-JDBC-Sources

The mysql was just for an example :-).
The question is general - sometimes we have to extract
jar into the plugin project and I want to learn how
to attach sources to them.

--
Piotr Gorny
Re: Source or javadoc for plugin [message #306165 is a reply to message #306164] Mon, 24 July 2006 09:37 Go to previous messageGo to next message
Eclipse UserFriend
Why do you need to uncompress them and cannot use the leave me them as
Jar's by unchecking "Unzip the JAR archives into the project"? I for
myself always had problems when unzipping the files and it's also easier
to update the plugin if a new version is available.

Tom

Piotr Gorny schrieb:
> Tom Schindl napisał(a):
>> Tom Schindl schrieb:
>>> Just my 2¢: Why are not simply creating a plugin from the
>>> MySQL-JDBC-Sources
>
> The mysql was just for an example :-).
> The question is general - sometimes we have to extract
> jar into the plugin project and I want to learn how
> to attach sources to them.
>
> --
> Piotr Gorny
Re: Source or javadoc for plugin [message #306166 is a reply to message #306165] Mon, 24 July 2006 09:53 Go to previous message
Eclipse UserFriend
Tom Schindl napisał(a):
> Why do you need to uncompress them and cannot use the leave me them as
> Jar's by unchecking "Unzip the JAR archives into the project"? I for
> myself always had problems when unzipping the files and it's also easier
> to update the plugin if a new version is available.
Thanks for answer.
I'll try your idea. I thought I must uncompress jars
into plugin project because I read that on this
news group :P
Previous Topic:Plugin gives NoClassDefFoundError in 3.2 while ok in 3.1 !
Next Topic:How to expand Navigator view by Code ?
Goto Forum:
  


Current Time: Sat Sep 13 15:10:49 EDT 2025

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

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

Back to the top