How to exclude some plugins from a headless build? [message #39407] |
Thu, 08 January 2009 06:31  |
Eclipse User |
|
|
|
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 #587905 is a reply to message #39407] |
Thu, 08 January 2009 09:38  |
Eclipse User |
|
|
|
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 #587964 is a reply to message #39407] |
Fri, 09 January 2009 07:24  |
Eclipse User |
|
|
|
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 09:48  |
Eclipse User |
|
|
|
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
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05326 seconds