Discussion:
[tycho-user] Missing requirement issue
Evgeniya Katunina
2017-04-05 08:27:47 UTC
Permalink
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
Keerthivasan Chinnathambi (RBEI/EMT5)
2017-04-05 08:49:45 UTC
Permalink
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

From: tycho-user-***@eclipse.org [mailto:tycho-user-***@eclipse.org] On Behalf Of Evgeniya Katunina
Sent: Wednesday, April 05, 2017 1:58 PM
To: tycho-***@eclipse.org
Cc: Anton Kolesov <***@synopsys.com>
Subject: [tycho-user] Missing requirement issue

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
Evgeniya Katunina
2017-04-05 13:14:55 UTC
Permalink
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

From: tycho-user-***@eclipse.org [mailto:tycho-user-***@eclipse.org] On Behalf Of Keerthivasan Chinnathambi (RBEI/EMT5)
Sent: Wednesday, April 5, 2017 11:50 AM
To: Anton Kolesov <***@synopsys.com>
Cc: Tycho user list <tycho-***@eclipse.org>
Subject: Re: [tycho-user] Missing requirement issue

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

From: tycho-user-***@eclipse.org<mailto:tycho-user-***@eclipse.org> [mailto:tycho-user-***@eclipse.org] On Behalf Of Evgeniya Katunina
Sent: Wednesday, April 05, 2017 1:58 PM
To: tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>
Cc: Anton Kolesov <***@synopsys.com<mailto:***@synopsys.com>>
Subject: [tycho-user] Missing requirement issue

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<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_foss-2Dfor-2Dsynopsys-2Ddwc-2Darc-2Dprocessors_arc-5Fgnu-5Feclipse_tree_moving-5Fto-5Ftycho-5F2&d=DwMFAg&c=DPL6_X_6JkXFx7AXWqB0tg&r=T2Nu5oC0cFpYft-aWVADZQwW1gKau7VGmdiLGLU-TEU&m=lY2JkG4eqovs1eutukkj-ScOLUoDsro3CAt7WlcfPN4&s=txvwpHznWqjD68X99zh9rCMj-DdeVlm1TQPRxqaBE7M&e=> .
Thank you!

Evgeniya
Keerthivasan Chinnathambi (RBEI/EMT5)
2017-04-05 13:39:38 UTC
Permalink
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"/>



</site>


Also in the pom.xml<https://github.com/foss-for-synopsys-dwc-arc-processors/arc_gnu_eclipse/blob/moving_to_tycho_2/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
From: tycho-user-***@eclipse.org [mailto:tycho-user-***@eclipse.org] On Behalf Of Evgeniya Katunina
Sent: Wednesday, April 05, 2017 6:45 PM
To: Tycho user list <tycho-***@eclipse.org>
Cc: Anton Kolesov <***@synopsys.com>
Subject: Re: [tycho-user] Missing requirement issue

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

From: tycho-user-***@eclipse.org<mailto:tycho-user-***@eclipse.org> [mailto:tycho-user-***@eclipse.org] On Behalf Of Keerthivasan Chinnathambi (RBEI/EMT5)
Sent: Wednesday, April 5, 2017 11:50 AM
To: Anton Kolesov <***@synopsys.com<mailto:***@synopsys.com>>
Cc: Tycho user list <tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>>
Subject: Re: [tycho-user] Missing requirement issue

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

From: tycho-user-***@eclipse.org<mailto:tycho-user-***@eclipse.org> [mailto:tycho-user-***@eclipse.org] On Behalf Of Evgeniya Katunina
Sent: Wednesday, April 05, 2017 1:58 PM
To: tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>
Cc: Anton Kolesov <***@synopsys.com<mailto:***@synopsys.com>>
Subject: [tycho-user] Missing requirement issue

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<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_foss-2Dfor-2Dsynopsys-2Ddwc-2Darc-2Dprocessors_arc-5Fgnu-5Feclipse_tree_moving-5Fto-5Ftycho-5F2&d=DwMFAg&c=DPL6_X_6JkXFx7AXWqB0tg&r=T2Nu5oC0cFpYft-aWVADZQwW1gKau7VGmdiLGLU-TEU&m=lY2JkG4eqovs1eutukkj-ScOLUoDsro3CAt7WlcfPN4&s=txvwpHznWqjD68X99zh9rCMj-DdeVlm1TQPRxqaBE7M&e=> .
Thank you!

Evgeniya
Evgeniya Katunina
2017-04-06 17:41:59 UTC
Permalink
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-***@eclipse.org [mailto:tycho-user-***@eclipse.org] On Behalf Of Keerthivasan Chinnathambi (RBEI/EMT5)
Sent: Wednesday, April 5, 2017 4:40 PM
To: Tycho user list <tycho-***@eclipse.org>
Cc: Anton Kolesov <***@synopsys.com>
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"/>



</site>


Also in the pom.xml<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_foss-2Dfor-2Dsynopsys-2Ddwc-2Darc-2Dprocessors_arc-5Fgnu-5Feclipse_blob_moving-5Fto-5Ftycho-5F2_pom.xml&d=DwMFAg&c=DPL6_X_6JkXFx7AXWqB0tg&r=T2Nu5oC0cFpYft-aWVADZQwW1gKau7VGmdiLGLU-TEU&m=KqK8R6JwjlDQncQSz_064fAg3jyfx7BLtZV0LZa54GY&s=AvlQbw-ypaDjuo_xTxeL0xDpvZCUMRdZZxRiNU77JAw&e=>, 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<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_foss-2Dfor-2Dsynopsys-2Ddwc-2Darc-2Dprocessors_arc-5Fgnu-5Feclipse_tree_moving-5Fto-5Ftycho-5F2_feature&d=DwMFAg&c=DPL6_X_6JkXFx7AXWqB0tg&r=T2Nu5oC0cFpYft-aWVADZQwW1gKau7VGmdiLGLU-TEU&m=KqK8R6JwjlDQncQSz_064fAg3jyfx7BLtZV0LZa54GY&s=INhf9e0lUaWDxaKn-ixHJUOJKJgFMfN0elzwDlo6UHM&e=> ) and make packaging type eclipse-feature

Thank you
Keerthivasan C
From: tycho-user-***@eclipse.org<mailto:tycho-user-***@eclipse.org> [mailto:tycho-user-***@eclipse.org] On Behalf Of Evgeniya Katunina
Sent: Wednesday, April 05, 2017 6:45 PM
To: Tycho user list <tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>>
Cc: Anton Kolesov <***@synopsys.com<mailto:***@synopsys.com>>
Subject: Re: [tycho-user] Missing requirement issue

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<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_foss-2Dfor-2Dsynopsys-2Ddwc-2Darc-2Dprocessors_arc-5Fgnu-5Feclipse_tree_moving-5Fto-5Ftycho-5F2&d=DwMFAg&c=DPL6_X_6JkXFx7AXWqB0tg&r=T2Nu5oC0cFpYft-aWVADZQwW1gKau7VGmdiLGLU-TEU&m=KqK8R6JwjlDQncQSz_064fAg3jyfx7BLtZV0LZa54GY&s=NW7Gr7Qr58XXq5TAtIlUhsPgHm9h9pn3vWqDOZQUA8Q&e=> ) 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

From: tycho-user-***@eclipse.org<mailto:tycho-user-***@eclipse.org> [mailto:tycho-user-***@eclipse.org] On Behalf Of Keerthivasan Chinnathambi (RBEI/EMT5)
Sent: Wednesday, April 5, 2017 11:50 AM
To: Anton Kolesov <***@synopsys.com<mailto:***@synopsys.com>>
Cc: Tycho user list <tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>>
Subject: Re: [tycho-user] Missing requirement issue

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

From: tycho-user-***@eclipse.org<mailto:tycho-user-***@eclipse.org> [mailto:tycho-user-***@eclipse.org] On Behalf Of Evgeniya Katunina
Sent: Wednesday, April 05, 2017 1:58 PM
To: tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>
Cc: Anton Kolesov <***@synopsys.com<mailto:***@synopsys.com>>
Subject: [tycho-user] Missing requirement issue

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<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_foss-2Dfor-2Dsynopsys-2Ddwc-2Darc-2Dprocessors_arc-5Fgnu-5Feclipse_tree_moving-5Fto-5Ftycho-5F2&d=DwMFAg&c=DPL6_X_6JkXFx7AXWqB0tg&r=T2Nu5oC0cFpYft-aWVADZQwW1gKau7VGmdiLGLU-TEU&m=lY2JkG4eqovs1eutukkj-ScOLUoDsro3CAt7WlcfPN4&s=txvwpHznWqjD68X99zh9rCMj-DdeVlm1TQPRxqaBE7M&e=> .
Thank you!

Evgeniya
SCHREIBER.Martin
2017-04-07 06:53:40 UTC
Permalink
Hi Evgeniya,

the version in the MANIFEST.MF must match the version from the pom.
In your pom.

In com.arc.embeddedcdt.rxtx/META-INF/MANIFEST you have:
Bundle-Version: 2016.9.0

This means you have to have the same version in your pom:

<project>
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.arc.cdt</groupId>
<artifactId>plugin</artifactId>
<version>0.0.0-SNAPSHOT</version>
</parent>
<artifactId>com.arc.embeddedcdt.rxtx</artifactId>
<version>2016.9.0</version>
<packaging>eclipse-plugin</packaging>
</project>

The same issue exists in the other plugins.
If you want to use SNAPSHOTS (meaning that Maven/Tycho does replace "SNAPSHOT" with the build timestamp), you have to use:

Bundle-Version: 2016.9.0.qualifier

In your MANIFEST.MF and

<version>2016.9.0-SNAPSHOT</version> in your poms.

There are 2 other issues:


1. A typo in the pom.xml of (com.arc.embeddedcdt), the artifactId must match the Bundle-Symbolic-Name. In your pom the artifactId is com.arc.embedded.cdt but the bundle name is without the dot before "cdt".
2. Within your build.properties you do have directories and files listed, that do not exist in that plugins. The build will fail if you have there files and directories, that are not there (e.g. the "/bin").
3. The version of the feature must match the version within the feature.xml and the <artifactId> in /feature/pom.xml must match the feature id. Update the /feature/pom.xml to:



<project>

<modelVersion>4.0.0</modelVersion>

<parent>

<groupId>com.arc.cdt</groupId>

<artifactId>plugin</artifactId>

<version>0.0.0-SNAPSHOT</version>

</parent>

<artifactId>com.arc.cdt.feature</artifactId>

<version>2016.9.0</version>

<packaging>eclipse-feature</packaging>

</project>







Correcting all that issues, I am able to build your stuff. I sent you a pull request for the changes....
Hth
Martin


Von: tycho-user-***@eclipse.org [mailto:tycho-user-***@eclipse.org] Im Auftrag von Evgeniya Katunina
Gesendet: Donnerstag, 06. April 2017 19:42
An: Tycho user list <tycho-***@eclipse.org>
Cc: Anton Kolesov <***@synopsys.com>
Betreff: Re: [tycho-user] Missing requirement issue

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-***@eclipse.org<mailto:tycho-user-***@eclipse.org> [mailto:tycho-user-***@eclipse.org] On Behalf Of Keerthivasan Chinnathambi (RBEI/EMT5)
Sent: Wednesday, April 5, 2017 4:40 PM
To: Tycho user list <tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>>
Cc: Anton Kolesov <***@synopsys.com<mailto:***@synopsys.com>>
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"/>



</site>


Also in the pom.xml<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_foss-2Dfor-2Dsynopsys-2Ddwc-2Darc-2Dprocessors_arc-5Fgnu-5Feclipse_blob_moving-5Fto-5Ftycho-5F2_pom.xml&d=DwMFAg&c=DPL6_X_6JkXFx7AXWqB0tg&r=T2Nu5oC0cFpYft-aWVADZQwW1gKau7VGmdiLGLU-TEU&m=KqK8R6JwjlDQncQSz_064fAg3jyfx7BLtZV0LZa54GY&s=AvlQbw-ypaDjuo_xTxeL0xDpvZCUMRdZZxRiNU77JAw&e=>, 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<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_foss-2Dfor-2Dsynopsys-2Ddwc-2Darc-2Dprocessors_arc-5Fgnu-5Feclipse_tree_moving-5Fto-5Ftycho-5F2_feature&d=DwMFAg&c=DPL6_X_6JkXFx7AXWqB0tg&r=T2Nu5oC0cFpYft-aWVADZQwW1gKau7VGmdiLGLU-TEU&m=KqK8R6JwjlDQncQSz_064fAg3jyfx7BLtZV0LZa54GY&s=INhf9e0lUaWDxaKn-ixHJUOJKJgFMfN0elzwDlo6UHM&e=> ) and make packaging type eclipse-feature

Thank you
Keerthivasan C
From: tycho-user-***@eclipse.org<mailto:tycho-user-***@eclipse.org> [mailto:tycho-user-***@eclipse.org] On Behalf Of Evgeniya Katunina
Sent: Wednesday, April 05, 2017 6:45 PM
To: Tycho user list <tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>>
Cc: Anton Kolesov <***@synopsys.com<mailto:***@synopsys.com>>
Subject: Re: [tycho-user] Missing requirement issue

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<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_foss-2Dfor-2Dsynopsys-2Ddwc-2Darc-2Dprocessors_arc-5Fgnu-5Feclipse_tree_moving-5Fto-5Ftycho-5F2&d=DwMFAg&c=DPL6_X_6JkXFx7AXWqB0tg&r=T2Nu5oC0cFpYft-aWVADZQwW1gKau7VGmdiLGLU-TEU&m=KqK8R6JwjlDQncQSz_064fAg3jyfx7BLtZV0LZa54GY&s=NW7Gr7Qr58XXq5TAtIlUhsPgHm9h9pn3vWqDOZQUA8Q&e=> ) 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

From: tycho-user-***@eclipse.org<mailto:tycho-user-***@eclipse.org> [mailto:tycho-user-***@eclipse.org] On Behalf Of Keerthivasan Chinnathambi (RBEI/EMT5)
Sent: Wednesday, April 5, 2017 11:50 AM
To: Anton Kolesov <***@synopsys.com<mailto:***@synopsys.com>>
Cc: Tycho user list <tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>>
Subject: Re: [tycho-user] Missing requirement issue

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

From: tycho-user-***@eclipse.org<mailto:tycho-user-***@eclipse.org> [mailto:tycho-user-***@eclipse.org] On Behalf Of Evgeniya Katunina
Sent: Wednesday, April 05, 2017 1:58 PM
To: tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>
Cc: Anton Kolesov <***@synopsys.com<mailto:***@synopsys.com>>
Subject: [tycho-user] Missing requirement issue

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<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_foss-2Dfor-2Dsynopsys-2Ddwc-2Darc-2Dprocessors_arc-5Fgnu-5Feclipse_tree_moving-5Fto-5Ftycho-5F2&d=DwMFAg&c=DPL6_X_6JkXFx7AXWqB0tg&r=T2Nu5oC0cFpYft-aWVADZQwW1gKau7VGmdiLGLU-TEU&m=lY2JkG4eqovs1eutukkj-ScOLUoDsro3CAt7WlcfPN4&s=txvwpHznWqjD68X99zh9rCMj-DdeVlm1TQPRxqaBE7M&e=> .
Thank you!

Evgeniya
Evgeniya Katunina
2017-04-07 12:47:41 UTC
Permalink
Hi Martin,

Thank you very much, it worked for me.

Evgeniya

From: tycho-user-***@eclipse.org [mailto:tycho-user-***@eclipse.org] On Behalf Of SCHREIBER.Martin
Sent: Friday, April 7, 2017 9:54 AM
To: Tycho user list <tycho-***@eclipse.org>
Cc: Anton Kolesov <***@synopsys.com>
Subject: Re: [tycho-user] Missing requirement issue

Hi Evgeniya,

the version in the MANIFEST.MF must match the version from the pom.
In your pom.

In com.arc.embeddedcdt.rxtx/META-INF/MANIFEST you have:
Bundle-Version: 2016.9.0

This means you have to have the same version in your pom:

<project>
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.arc.cdt</groupId>
<artifactId>plugin</artifactId>
<version>0.0.0-SNAPSHOT</version>
</parent>
<artifactId>com.arc.embeddedcdt.rxtx</artifactId>
<version>2016.9.0</version>
<packaging>eclipse-plugin</packaging>
</project>

The same issue exists in the other plugins.
If you want to use SNAPSHOTS (meaning that Maven/Tycho does replace "SNAPSHOT" with the build timestamp), you have to use:

Bundle-Version: 2016.9.0.qualifier

In your MANIFEST.MF and

<version>2016.9.0-SNAPSHOT</version> in your poms.

There are 2 other issues:

1) A typo in the pom.xml of (com.arc.embeddedcdt), the artifactId must match the Bundle-Symbolic-Name. In your pom the artifactId is com.arc.embedded.cdt but the bundle name is without the dot before "cdt".
2) Within your build.properties you do have directories and files listed, that do not exist in that plugins. The build will fail if you have there files and directories, that are not there (e.g. the "/bin").
3) The version of the feature must match the version within the feature.xml and the <artifactId> in /feature/pom.xml must match the feature id. Update the /feature/pom.xml to:



<project>

<modelVersion>4.0.0</modelVersion>

<parent>

<groupId>com.arc.cdt</groupId>

<artifactId>plugin</artifactId>

<version>0.0.0-SNAPSHOT</version>

</parent>

<artifactId>com.arc.cdt.feature</artifactId>

<version>2016.9.0</version>

<packaging>eclipse-feature</packaging>

</project>







Correcting all that issues, I am able to build your stuff. I sent you a pull request for the changes....
Hth
Martin


Von: tycho-user-***@eclipse.org<mailto:tycho-user-***@eclipse.org> [mailto:tycho-user-***@eclipse.org] Im Auftrag von Evgeniya Katunina
Gesendet: Donnerstag, 06. April 2017 19:42
An: Tycho user list <tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>>
Cc: Anton Kolesov <***@synopsys.com<mailto:***@synopsys.com>>
Betreff: Re: [tycho-user] Missing requirement issue

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<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_foss-2Dfor-2Dsynopsys-2Ddwc-2Darc-2Dprocessors_arc-5Fgnu-5Feclipse_tree_moving-5Fto-5Ftycho-5F2&d=DwMFAg&c=DPL6_X_6JkXFx7AXWqB0tg&r=T2Nu5oC0cFpYft-aWVADZQwW1gKau7VGmdiLGLU-TEU&m=pAY7u70rBtMH7EVjwPXyNB8Pmp8N9KPWWxf4dhF9pwc&s=9rsAJ7f9XH3oYcQxLXYZS-wNyYkskU8tGGjmXJwMHho&e=> )?

Thanks,
Evgeniya

From: tycho-user-***@eclipse.org<mailto:tycho-user-***@eclipse.org> [mailto:tycho-user-***@eclipse.org] On Behalf Of Keerthivasan Chinnathambi (RBEI/EMT5)
Sent: Wednesday, April 5, 2017 4:40 PM
To: Tycho user list <tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>>
Cc: Anton Kolesov <***@synopsys.com<mailto:***@synopsys.com>>
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"/>



</site>


Also in the pom.xml<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_foss-2Dfor-2Dsynopsys-2Ddwc-2Darc-2Dprocessors_arc-5Fgnu-5Feclipse_blob_moving-5Fto-5Ftycho-5F2_pom.xml&d=DwMFAg&c=DPL6_X_6JkXFx7AXWqB0tg&r=T2Nu5oC0cFpYft-aWVADZQwW1gKau7VGmdiLGLU-TEU&m=KqK8R6JwjlDQncQSz_064fAg3jyfx7BLtZV0LZa54GY&s=AvlQbw-ypaDjuo_xTxeL0xDpvZCUMRdZZxRiNU77JAw&e=>, 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<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_foss-2Dfor-2Dsynopsys-2Ddwc-2Darc-2Dprocessors_arc-5Fgnu-5Feclipse_tree_moving-5Fto-5Ftycho-5F2_feature&d=DwMFAg&c=DPL6_X_6JkXFx7AXWqB0tg&r=T2Nu5oC0cFpYft-aWVADZQwW1gKau7VGmdiLGLU-TEU&m=KqK8R6JwjlDQncQSz_064fAg3jyfx7BLtZV0LZa54GY&s=INhf9e0lUaWDxaKn-ixHJUOJKJgFMfN0elzwDlo6UHM&e=> ) and make packaging type eclipse-feature

Thank you
Keerthivasan C
From: tycho-user-***@eclipse.org<mailto:tycho-user-***@eclipse.org> [mailto:tycho-user-***@eclipse.org] On Behalf Of Evgeniya Katunina
Sent: Wednesday, April 05, 2017 6:45 PM
To: Tycho user list <tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>>
Cc: Anton Kolesov <***@synopsys.com<mailto:***@synopsys.com>>
Subject: Re: [tycho-user] Missing requirement issue

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<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_foss-2Dfor-2Dsynopsys-2Ddwc-2Darc-2Dprocessors_arc-5Fgnu-5Feclipse_tree_moving-5Fto-5Ftycho-5F2&d=DwMFAg&c=DPL6_X_6JkXFx7AXWqB0tg&r=T2Nu5oC0cFpYft-aWVADZQwW1gKau7VGmdiLGLU-TEU&m=KqK8R6JwjlDQncQSz_064fAg3jyfx7BLtZV0LZa54GY&s=NW7Gr7Qr58XXq5TAtIlUhsPgHm9h9pn3vWqDOZQUA8Q&e=> ) 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

From: tycho-user-***@eclipse.org<mailto:tycho-user-***@eclipse.org> [mailto:tycho-user-***@eclipse.org] On Behalf Of Keerthivasan Chinnathambi (RBEI/EMT5)
Sent: Wednesday, April 5, 2017 11:50 AM
To: Anton Kolesov <***@synopsys.com<mailto:***@synopsys.com>>
Cc: Tycho user list <tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>>
Subject: Re: [tycho-user] Missing requirement issue

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

From: tycho-user-***@eclipse.org<mailto:tycho-user-***@eclipse.org> [mailto:tycho-user-***@eclipse.org] On Behalf Of Evgeniya Katunina
Sent: Wednesday, April 05, 2017 1:58 PM
To: tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>
Cc: Anton Kolesov <***@synopsys.com<mailto:***@synopsys.com>>
Subject: [tycho-user] Missing requirement issue

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<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_foss-2Dfor-2Dsynopsys-2Ddwc-2Darc-2Dprocessors_arc-5Fgnu-5Feclipse_tree_moving-5Fto-5Ftycho-5F2&d=DwMFAg&c=DPL6_X_6JkXFx7AXWqB0tg&r=T2Nu5oC0cFpYft-aWVADZQwW1gKau7VGmdiLGLU-TEU&m=lY2JkG4eqovs1eutukkj-ScOLUoDsro3CAt7WlcfPN4&s=txvwpHznWqjD68X99zh9rCMj-DdeVlm1TQPRxqaBE7M&e=> .
Thank you!

Evgeniya

Loading...