This small project demonstrates that the Tycho-Plugins (1.2.0) have a problem to generate source-feature.xmls with correct tag order.
The project consists of two features:
-
xxx.feature.a (that contains plugin xxx.plugin.a)
-
xxx.feature.b (that contains plugin xxx.plugin.b)
Furthermore, there is a ``dependency'' between xxx.feature.a and xxx.feature.b (xxx.feature.a includes xxx.feature.b)
Goto central/eclipse/features/xxx.feature.a/target/sources-feature/feature.xml
expected result | actual result |
---|---|
<?xml version="1.0" encoding="UTF-8"?>
<feature id="xxx.feature.a.source" version="..." label="..." provider-name="xxx">
<description url="...">
[Enter Feature Description here.]
</description>
<copyright url="...">
[Enter Copyright Description here.]
</copyright>
<license url="...">
[Enter License Description here.]
</license>
<includes id="xxx.feature.a" version="7.0.0.002"/>
<includes id="xxx.feature.b.source" version="7.0.0.003"/>
<plugin id="xxx.plugin.a.source" version="7.0.0.001" download-size="0" install-size="0" unpack="false"/>
</feature> |
<?xml version="1.0" encoding="UTF-8"?>
<feature id="xxx.feature.a.source" version="7.0.0.002" label="xxx.feature.a Developer Resources" provider-name="xxx">
<includes id="xxx.feature.a" version="7.0.0.002"/>
<description url="http://www.example.com/description">
[Enter Feature Description here.]
</description>
<copyright url="http://www.example.com/copyright">
[Enter Copyright Description here.]
</copyright>
<license url="http://www.example.com/license">
[Enter License Description here.]
</license>
<plugin id="xxx.plugin.a.source" version="7.0.0.001" download-size="0" install-size="0" unpack="false"/>
<includes id="xxx.feature.b.source" version="7.0.0.003"/>
</feature> |
Goto central/eclipse/features/xxx.feature.b/target/sources-feature/feature.xml
expected result | actual result |
---|---|
<?xml version="1.0" encoding="UTF-8"?>
<feature id="xxx.feature.b.source" version="..." label="...">
<description>
[Enter Feature Description here.]
</description>
<copyright url="...">
[Enter Copyright Description here.]
</copyright>
<license url="...">
[Enter License Description here.]
</license>
<includes id="xxx.feature.b" version="7.0.0.003"/>
<plugin id="xxx.plugin.b.source" version="7.0.0.001" download-size="0" install-size="0" unpack="false"/>
</feature> |
<?xml version="1.0" encoding="UTF-8"?>
<feature id="xxx.feature.b.source" version="7.0.0.003" label="xxx.feature.b Developer Resources">
<includes id="xxx.feature.b" version="7.0.0.003"/>
<description>
[Enter Feature Description here.]
</description>
<copyright url="http://www.example.com/copyright">
[Enter Copyright Description here.]
</copyright>
<license url="http://www.example.com/license">
[Enter License Description here.]
</license>
<plugin id="xxx.plugin.b.source" version="7.0.0.001" download-size="0" install-size="0" unpack="false"/>
</feature> |
According to the official feature dtd the <includes>
-tags should be placed between the <license>
-tag and the <plugin>
-tag.