Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Running Plug-ins for Plug-in creation
Running Plug-ins for Plug-in creation [message #327923] Thu, 08 May 2008 14:00 Go to next message
T Kruse is currently offline T KruseFriend
Messages: 73
Registered: July 2009
Member
Hi,

I don't know how to explain my problem best, though I guess other people
must have had the same problem.
I want to create a library eclipse plug-in with classes that can later be
used by different plugins.

Assume I have a library workspace with the library plug-open in as
project. I would like to run / debug this plug-in from there, and in the
strated eclipse environment, I would like to create a new plugin that
depends, on the library plug-in.

Right now, in order to do so, I have to deploy the library plug-in and
unzip it into the plug-ins folder of a different environment, but that's
cumbersome to me. Is there some way I can run a plug-in such that it is
visible for plug-in projects in the target environment?
Re: Running Plug-ins for Plug-in creation [message #327926 is a reply to message #327923] Thu, 08 May 2008 14:19 Go to previous messageGo to next message
Felix L J Mayer is currently offline Felix L J MayerFriend
Messages: 202
Registered: July 2009
Senior Member
As far as I know you have 2 choices:
1. If you want to run a normal Eclipse, you can either have the project in
your workspace and reference it or you can deploy it to the plugins folder.
2. In a runtime workbench, you can use projects from your workspace like
they were deployed plugins.

"Thibault" <thibault.kruse@gmx.de> wrote in message
news:52a48cdb7c0c7c9b8cad14088d40663f$1@www.eclipse.org...
> Hi,
>
> I don't know how to explain my problem best, though I guess other people
> must have had the same problem.
> I want to create a library eclipse plug-in with classes that can later be
> used by different plugins.
> Assume I have a library workspace with the library plug-open in as
> project. I would like to run / debug this plug-in from there, and in the
> strated eclipse environment, I would like to create a new plugin that
> depends, on the library plug-in.
>
> Right now, in order to do so, I have to deploy the library plug-in and
> unzip it into the plug-ins folder of a different environment, but that's
> cumbersome to me. Is there some way I can run a plug-in such that it is
> visible for plug-in projects in the target environment?
>
Re: Running Plug-ins for Plug-in creation [message #327928 is a reply to message #327923] Thu, 08 May 2008 14:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: zx.us.ibm.com

Thibault wrote:
> Right now, in order to do so, I have to deploy the library plug-in and
> unzip it into the plug-ins folder of a different environment, but that's
> cumbersome to me. Is there some way I can run a plug-in such that it is
> visible for plug-in projects in the target environment?

Are you using something like EMF?

In 3.4M7, PDE added support for 'target weaving' which pretty much
translates into supporting the compilation of launching workspace plug-ins.

http://download.eclipse.org/eclipse/downloads/drops/S-3.4M7- 200805020100/eclipse-news-M7.html

However, this only applies if you're using plug-ins.

Cheers,

~ Chris
Re: Running Plug-ins for Plug-in creation [message #327944 is a reply to message #327926] Fri, 09 May 2008 07:48 Go to previous messageGo to next message
T Kruse is currently offline T KruseFriend
Messages: 73
Registered: July 2009
Member
Hi Felix,

> 2. In a runtime workbench, you can use projects from your workspace like
> they were deployed plugins.

It seems to me I can use my plugins in my runtime workspace, But I cannot
refer to them from plug-in projects in my runtime workspace.

For me it seems I cannot, since if in my runtime workspace I create a new
plugin, I cannot set a dependency to a plugin in my original workspace.
I need to set such dependencies from runtime workspace to plug-ins in the
original workspace, I I also need to reference classes contained in
plugins in the original workspace.
Re: Running Plug-ins for Plug-in creation [message #327945 is a reply to message #327928] Fri, 09 May 2008 07:51 Go to previous messageGo to next message
T Kruse is currently offline T KruseFriend
Messages: 73
Registered: July 2009
Member
Hi Chris,

it seems that that is part of what I need, so i also understand this is
not possible prior to 3.4 M7.
Re: Running Plug-ins for Plug-in creation [message #327964 is a reply to message #327945] Fri, 09 May 2008 19:30 Go to previous message
Eclipse UserFriend
Originally posted by: zx.us.ibm.com

Thibault wrote:
> Hi Chris,
> it seems that that is part of what I need, so i also understand this is
> not possible prior to 3.4 M7.

Correct, this was a very long and outstanding issue as JDT needed to
support external class folders for this to happen along with PDE
supporting target weaving.

See this bug for more information:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=109137

Cheers,

~ Chris
Previous Topic:Ganymede: Platform Plugin Developer Guide?
Next Topic:Where to call a validation mechanism in an editor?
Goto Forum:
  


Current Time: Sat Jul 27 20:27:18 GMT 2024

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

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

Back to the top