Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Headless build does not resolve inter-feature dependencies
Headless build does not resolve inter-feature dependencies [message #302670] Thu, 27 April 2006 03:51
Eclipse UserFriend
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
Previous Topic:Eclipse common navigation framework
Next Topic:Trying to use JDTCompilerAdapter with Ant outside of Eclipse
Goto Forum:
  


Current Time: Tue Apr 29 04:20:21 EDT 2025

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

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

Back to the top