Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » How to exclude some plugins from a headless build?
How to exclude some plugins from a headless build? [message #39407] Thu, 08 January 2009 11:31 Go to next message
romu is currently offline romuFriend
Messages: 34
Registered: July 2009
Member
Dear all,
I currently build my project using the headless PDE build, this means a
couple of files (global build.properties and allElements.xml) to build a
whole project (= a set of Eclipse plugins and features).

I'm facing an issue with a particular project which contains a plugin that
we don't want to build. This plugin is NOT referenced at all by any
feature of the project, but PDE still tries to bulid it and the process
stops because PDE is not able to properly execute the "generateScript"
target for this plugin.

So my question is pretty simple: How can I exclude a whole plugin from my
projects?

Thanks in advance for the help.
Re: How to exclude some plugins from a headless build? [message #39437 is a reply to message #39407] Thu, 08 January 2009 14:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

On 1/8/2009 6:31 AM, romu wrote:
> Dear all,
> I currently build my project using the headless PDE build, this means a
> couple of files (global build.properties and allElements.xml) to build a
> whole project (= a set of Eclipse plugins and features).
>
> I'm facing an issue with a particular project which contains a plugin
> that we don't want to build. This plugin is NOT referenced at all by any
> feature of the project, but PDE still tries to bulid it and the process
> stops because PDE is not able to properly execute the "generateScript"
> target for this plugin.
>
> So my question is pretty simple: How can I exclude a whole plugin from
> my projects?

I'm pretty sure the only way PDE Build would try to build it is if it is
either included in one of the features your are building or it is
declared as a dependency in one of the other plugins.
The "Plug-in Dependencies" view can help you find what is referencing it.

Hope this helps,
Eric
Re: How to exclude some plugins from a headless build? [message #39467 is a reply to message #39437] Thu, 08 January 2009 15:03 Go to previous messageGo to next message
romu is currently offline romuFriend
Messages: 34
Registered: July 2009
Member
Thanks Eric, but no, this plugin is not referenced with any other plugin
or feature, we checked with Eclipse Plugin Depencencies View (thanks for
the tips) and any other text analysis tools directly in the XMLs.

And PDE stills try to build it.
Re: How to exclude some plugins from a headless build? [message #39624 is a reply to message #39407] Fri, 09 January 2009 12:24 Go to previous messageGo to next message
Stefan   is currently offline Stefan Friend
Messages: 316
Registered: July 2009
Senior Member
Hi,

PDE-Build skips bundles that have no build.properties. Maybe that's a
solution?
Anyway, I agree to Eric that this bundle should be ignored if it isn't
referenced in a feature. Strange...

Regards,
Stefan.

romu schrieb:
> Dear all,
> I currently build my project using the headless PDE build, this means a
> couple of files (global build.properties and allElements.xml) to build a
> whole project (= a set of Eclipse plugins and features).
>
> I'm facing an issue with a particular project which contains a plugin
> that we don't want to build. This plugin is NOT referenced at all by any
> feature of the project, but PDE still tries to bulid it and the process
> stops because PDE is not able to properly execute the "generateScript"
> target for this plugin.
>
> So my question is pretty simple: How can I exclude a whole plugin from
> my projects?
>
> Thanks in advance for the help.
>
Re: How to exclude some plugins from a headless build? [message #39654 is a reply to message #39467] Fri, 09 January 2009 14:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

On 1/8/2009 10:03 AM, romu wrote:
> Thanks Eric, but no, this plugin is not referenced with any other plugin
> or feature, we checked with Eclipse Plugin Depencencies View (thanks for
> the tips) and any other text analysis tools directly in the XMLs.
>
> And PDE stills try to build it.
>

Can you reproduce this with a simple example that can be attached to a
bug report? That is the best way to get someone to look at (and
potentially fix) it.

Eric
Re: How to exclude some plugins from a headless build? [message #40349 is a reply to message #39654] Wed, 14 January 2009 10:43 Go to previous messageGo to next message
romu is currently offline romuFriend
Messages: 34
Registered: July 2009
Member
Thanks Eric,
It works, my problem was I didn't see other error messages. Indeed, PDE
still tries to generate the script for the not used plugins, but it
doesn't build them.

Sorry for this fake error.

romu
Re: How to exclude some plugins from a headless build? [message #40411 is a reply to message #39624] Wed, 14 January 2009 13:37 Go to previous message
romu is currently offline romuFriend
Messages: 34
Registered: July 2009
Member
Hi Stephan,
I just answered to Eric, this was my mistake, PDE tries to generate the
scripts for the unused plugins but doesn't try to build them indeed.
Re: How to exclude some plugins from a headless build? [message #587905 is a reply to message #39407] Thu, 08 January 2009 14:38 Go to previous message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3071
Registered: July 2009
Senior Member
On 1/8/2009 6:31 AM, romu wrote:
> Dear all,
> I currently build my project using the headless PDE build, this means a
> couple of files (global build.properties and allElements.xml) to build a
> whole project (= a set of Eclipse plugins and features).
>
> I'm facing an issue with a particular project which contains a plugin
> that we don't want to build. This plugin is NOT referenced at all by any
> feature of the project, but PDE still tries to bulid it and the process
> stops because PDE is not able to properly execute the "generateScript"
> target for this plugin.
>
> So my question is pretty simple: How can I exclude a whole plugin from
> my projects?

I'm pretty sure the only way PDE Build would try to build it is if it is
either included in one of the features your are building or it is
declared as a dependency in one of the other plugins.
The "Plug-in Dependencies" view can help you find what is referencing it.

Hope this helps,
Eric
Re: How to exclude some plugins from a headless build? [message #587910 is a reply to message #39437] Thu, 08 January 2009 15:03 Go to previous message
romu is currently offline romuFriend
Messages: 34
Registered: July 2009
Member
Thanks Eric, but no, this plugin is not referenced with any other plugin
or feature, we checked with Eclipse Plugin Depencencies View (thanks for
the tips) and any other text analysis tools directly in the XMLs.

And PDE stills try to build it.
Re: How to exclude some plugins from a headless build? [message #587964 is a reply to message #39407] Fri, 09 January 2009 12:24 Go to previous message
Stefan   is currently offline Stefan Friend
Messages: 316
Registered: July 2009
Senior Member
Hi,

PDE-Build skips bundles that have no build.properties. Maybe that's a
solution?
Anyway, I agree to Eric that this bundle should be ignored if it isn't
referenced in a feature. Strange...

Regards,
Stefan.

romu schrieb:
> Dear all,
> I currently build my project using the headless PDE build, this means a
> couple of files (global build.properties and allElements.xml) to build a
> whole project (= a set of Eclipse plugins and features).
>
> I'm facing an issue with a particular project which contains a plugin
> that we don't want to build. This plugin is NOT referenced at all by any
> feature of the project, but PDE still tries to bulid it and the process
> stops because PDE is not able to properly execute the "generateScript"
> target for this plugin.
>
> So my question is pretty simple: How can I exclude a whole plugin from
> my projects?
>
> Thanks in advance for the help.
>
Re: How to exclude some plugins from a headless build? [message #587974 is a reply to message #39467] Fri, 09 January 2009 14:48 Go to previous message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3071
Registered: July 2009
Senior Member
On 1/8/2009 10:03 AM, romu wrote:
> Thanks Eric, but no, this plugin is not referenced with any other plugin
> or feature, we checked with Eclipse Plugin Depencencies View (thanks for
> the tips) and any other text analysis tools directly in the XMLs.
>
> And PDE stills try to build it.
>

Can you reproduce this with a simple example that can be attached to a
bug report? That is the best way to get someone to look at (and
potentially fix) it.

Eric
Re: How to exclude some plugins from a headless build? [message #588229 is a reply to message #39654] Wed, 14 January 2009 10:43 Go to previous message
romu is currently offline romuFriend
Messages: 34
Registered: July 2009
Member
Thanks Eric,
It works, my problem was I didn't see other error messages. Indeed, PDE
still tries to generate the script for the not used plugins, but it
doesn't build them.

Sorry for this fake error.

romu
Re: How to exclude some plugins from a headless build? [message #588242 is a reply to message #39624] Wed, 14 January 2009 13:37 Go to previous message
romu is currently offline romuFriend
Messages: 34
Registered: July 2009
Member
Hi Stephan,
I just answered to Eric, this was my mistake, PDE tries to generate the
scripts for the unused plugins but doesn't try to build them indeed.
Previous Topic:Plugin deployment problem on IBM JRE 1.4.2
Next Topic:Launching a "RunAs" Task from a Wizard
Goto Forum:
  


Current Time: Sat Jun 12 18:53:05 GMT 2021

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

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

Back to the top