Keerthivasan,
Thank you very much, I made changes according to your last reply and build has gone further. Now I have such error
“[ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:0.26.0:validate-version (default-validate-version) on project com.arc.embeddedcdt.rxtx:
OSGi version 2016.9.0 must have .qualifier qualifier for SNAPSHOT builds -> [Help 1]”.
I removed .qualifier from MANIFEST.MF to avoid conflict with SNAPSHOT, when I got this error I returned .qualifier but got such error
“[ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:0.26.0:validate-version (default-validate-version) on project com.arc.embeddedcdt.rxtx:
Unqualified OSGi version 2016.9.0.qualifier must match unqualified Maven version 0.0.0-SNAPSHOT for SNAPSHOT builds -> [Help 1]”. Could you please help me with it (
https://github.com/foss-for-synopsys-dwc-arc-processors/arc_gnu_eclipse/tree/moving_to_tycho_2 )?
Thanks,
Evgeniya
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx]
On Behalf Of Keerthivasan Chinnathambi (RBEI/EMT5)
Sent: Wednesday, April 5, 2017 4:40 PM
To: Tycho user list <tycho-user@xxxxxxxxxxx>
Cc: Anton Kolesov <Anton.Kolesov@xxxxxxxxxxxx>
Subject: Re: [tycho-user] Missing requirement issue
The category xml should looks like this below.
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<site>
|
|
|
<feature " id="
com.arc.cdt.feature" version="0.0.0">
|
|
|
<category name="com.arc.cdt"/>
|
|
|
</feature>
|
|
|
<category-def name="com.arc.cdt" label="ARC GNU Tools Support"/>
|
|
Also in the
pom.xml, uncomment the line 10 and list all the plugin module needs to build at compile time
Create a pom.xml inside the feature folder(
https://github.com/foss-for-synopsys-dwc-arc-processors/arc_gnu_eclipse/tree/moving_to_tycho_2/feature ) and make packaging type
eclipse-feature
Thank you
Keerthivasan C
Keerthivasan,
I made changes according to your answer (
https://github.com/foss-for-synopsys-dwc-arc-processors/arc_gnu_eclipse/tree/moving_to_tycho_2
) but I still have the same error with the 0.0.0 version. “[ERROR] Software being installed: repository raw:0.0.0.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):0.0.0-SNAPSHOT
[ERROR] Missing requirement: repository raw:0.0.0.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):0.0.0-SNAPSHOT requires 'plugin.feature.group 0.0.0' but it could not be found”
Evgeniya
Hello Evgeniya,
In category.xml, there is version attribute for the feature element .
Ø
The value of the version attribute should not ends with
.qualifier because during build time , the .qualifier will gets replaced by timestamp. So the best way could be mention only the version like (2016.9.0) or open version like (0.0.0).
Ø
Make sure the feature added in category should be in folder format not as jar format.
Thank you
Best Regards,
Keerthivasan
Hi all,
I am trying to build the feature and update site (eclipse repository) with the Maven/Tycho. I have an error “[ERROR] Software being installed: repository raw:2016.9.0.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):2016.9.0-SNAPSHOT
[ERROR] Missing requirement: repository raw:2016.9.0.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):2016.9.0-SNAPSHOT requires 'plugin.feature.group [2016.9.0,2016.9.1)' but it could not be found”. Could you please help me to puzzle out what
is wrong with my configuration? It is located here --
https://github.com/foss-for-synopsys-dwc-arc-processors/arc_gnu_eclipse/tree/moving_to_tycho_2 .
Thank you!
Evgeniya