Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forumsclarifying the importance of includes & requires in feature.xml for <eclipse.generateBuildScr
https://www.eclipse.org/forums/index.php/mv/msg/12559/39282/#msg_39282
product P that includes two features, A and B where A includes B.
The PDE log for building P failed with annoying compilation errors:
import x.y.z.Foo;
^^^^^
The import x.y.z cannot be resolved.
Examining the build artifacts, I realized that the generated build
script led to building A before B. Since the generated build.xml script
includes classpath elements that refer to the binary folder of the
plugin, the compilation of the plugins for feature A failed simply
because the binary folders for the B plugins had yet to be created!
Since the feature editor does not allow us to change the order in which
features are included in a feature.xml file, it seems rather important
to verify that dependencies among features are explicitly defined in the
feature.xml instead of relying on luck that they will be built serially
in the order that they are included.
This point seems even more important in consideration of the fact that
one could take advantage of new support for concurrent builds in PDE to
speed up continuous builds.