Headless build does not resolve inter-feature dependencies [message #302670] |
Thu, 27 April 2006 03:51 |
Eclipse User |
|
|
|
Hi,
I am having problems using headless build with eclipse 3.2 (M6). It
seems like the dependencies between features are not resolved at all. As
a result the build order of features and their contained plugins is
wrong, and I get lots of
<CLASSNAME> cannot be resolved
errors, because required plugins are have not been build yet.
My setting is as follows
product <--- featurex <---+--- feature1 <------- plugin1
| | |
| |<--dependency-->|
| | |
| v v
+--- feature2 <------- plugin2
So plugin1 depends on plugin2 and that's why feature1 also depends on
feature2.
When I build the product from eclipse using the Eclipse product export
wizard on the product, everything works fine. I think that's because the
classes are already compiled in the bin folders. In the headless build
the plugin1 is compiled first and build fails, because referenced
classes from plugin2 cannot be found.
It seems like the build order of features is always alphabetically.
Inter-feature dependencies are completely ignored. Everything works fine
when I rename feature2 to x.
Is that a bug or am I missing something?
Regards
JK
|
|
|
Powered by
FUDForum. Page generated in 0.32860 seconds