Making a JAR available to project from plugin? [message #63869] |
Tue, 02 June 2009 13:09  |
Eclipse User |
|
|
|
Hi Folks,
I'm writing my first plugin and it has a number of components. One is a
wizard that helps set up the data. That's all working great. The second
is a couple of packages of .class files that use the data.
I know how to use the Project->properties to include the jar that contains
these classes in my project, but that would involve distributing the JAR
twice, ocen as part of the plugin for the wizard to use and ocne as a
straight jar to be included in the project's properties.
That seems kind of wasteful as well as kludgy. Is there a way to make the
JAR that is in the plugin's code automatically part of a project generated
with the plugins project wizard? If not is there some other way to
package it with the plugin so it can be found and used by a project
created by that project wizard?
Thanks
JK
|
|
|
|
Re: Making a JAR available to project from plugin? [message #64262 is a reply to message #63869] |
Sun, 07 June 2009 17:12  |
Eclipse User |
|
|
|
Originally posted by: wim.jongman.gmail.com
Hi Jeffrey,
Do you generate the JARs or are these JARs third party Jars? Where do they
come from?
Regards,
Wim
> Hi Folks,
>
> I'm writing my first plugin and it has a number of components. One is a
> wizard that helps set up the data. That's all working great. The second
> is a couple of packages of .class files that use the data.
>
> I know how to use the Project->properties to include the jar that contains
> these classes in my project, but that would involve distributing the JAR
> twice, ocen as part of the plugin for the wizard to use and ocne as a
> straight jar to be included in the project's properties.
>
> That seems kind of wasteful as well as kludgy. Is there a way to make the
> JAR that is in the plugin's code automatically part of a project generated
> with the plugins project wizard? If not is there some other way to
> package it with the plugin so it can be found and used by a project
> created by that project wizard?
>
> Thanks
>
> JK
|
|
|
|
Re: Making a JAR available to project from plugin? [message #598146 is a reply to message #63869] |
Sun, 07 June 2009 17:12  |
Eclipse User |
|
|
|
Hi Jeffrey,
Do you generate the JARs or are these JARs third party Jars? Where do they
come from?
Regards,
Wim
> Hi Folks,
>
> I'm writing my first plugin and it has a number of components. One is a
> wizard that helps set up the data. That's all working great. The second
> is a couple of packages of .class files that use the data.
>
> I know how to use the Project->properties to include the jar that contains
> these classes in my project, but that would involve distributing the JAR
> twice, ocen as part of the plugin for the wizard to use and ocne as a
> straight jar to be included in the project's properties.
>
> That seems kind of wasteful as well as kludgy. Is there a way to make the
> JAR that is in the plugin's code automatically part of a project generated
> with the plugins project wizard? If not is there some other way to
> package it with the plugin so it can be found and used by a project
> created by that project wizard?
>
> Thanks
>
> JK
|
|
|
Powered by
FUDForum. Page generated in 0.02824 seconds