productBuild.xml generateFeature generates features in random order [message #315618] |
Wed, 16 May 2007 12:16  |
Eclipse User |
|
|
|
Using 3.3M6 pde headless build, I'm having a problem running my build
off the .product definition. My product consists of two different
features, and one must be built before the other.
In the manifest editor I can set the order exactly as needed, but in the
generated feature.xml file in org.eclipse.pde.build.container.feature I
get two different results at random.
Here's the example. 'ca.application.feature' has a dependency on
'ca.core.feature'. Both are in the .product definition and
ca.core.feature is first.
Most times the generated feature is correct. One one host though, I
sometimes get the following which won't compile because the first two
entries are in the wrong order.
Is there no guarantee about the order in which the features in a
..product file will be built? It seemed like a recent feature to allow
you to change the order of features in the product editor so I'm
surprised the build doesn't respect this.
<?xml version="1.0" encoding="UTF-8"?>
<feature id="org.eclipse.pde.build.container.feature" version="1.0.0">
<includes id="ca.application.feature" version="0.0.0"/>
<includes id="ca.core.feature" version="0.0.0"/>
<includes id="org.eclipse.equinox.executable" version="0.0.0"/>
</feature>
Bill Kayser
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06980 seconds