Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Logic in Manipulators of tycho-versions-plugin

Hello Igor,

just wanted to let everybody interested know what the problem was: My plugins and features had completely inconsistent version numbers. One 3.11.0, the next one 3.0.4, and so on. Those version numbers did not match the version numbers of their parent/reactor project. Then Tycho tries to match the GAV of project and parent when aggregating all required version changes and does not take all changes into account that I expected.

So for now everything works - assuming I can lift my whole project to a consistent version level.

Regards
Timo


-----Ursprüngliche Nachricht-----
Von: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] Im Auftrag von Rohrberg, Timo
Gesendet: Freitag, 7. März 2014 16:01
An: Tycho user list
Betreff: Re: [tycho-user] Logic in Manipulators of tycho-versions-plugin

Hello Igor,

thanks again for your answer. I created a small demo set-up and - unfortunately or fortunately - it works there :-/. I don't know yet why - I will have to dive into it in greater detail next week and make it also work with my real set-up.

Thanks for your help.

Regards
Timo


-----Ursprüngliche Nachricht-----
Von: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] Im Auftrag von Igor Fedorenko
Gesendet: Freitag, 7. März 2014 15:10
An: tycho-user@xxxxxxxxxxx
Betreff: Re: [tycho-user] Logic in Manipulators of tycho-versions-plugin



On 2014-03-07, 8:52, Rohrberg, Timo wrote:
> Hello everybody,
>
> I am trying to use the tycho-versions-plugin to increase version
> numbers in all pom.xml, feature.xml, MANIFEST.MF, and *.product files
> in a project structure as follows:
>
> - trunk (pom.xml)
> |-- feature-project (packaging type "eclipse-feature")
>        |-- feature.xml
>        |-- build.properties
>        |-- pom.xml
> |-- product-project (packaging type "eclipse-repository")
>        |-- myproduct.product
>        |-- pom.xml
> |-- bundle-project (packaging type "eclipse-plugin")
>        |-- MANIFEST-INF
>              |-- MANIFEST.MF
>        |-- pom.xml
>
> Is there a particular reason for the
> org.eclipse.tycho.versions.manipulation.FeatureXmlManipulator and
> org.eclipse.tycho.versions.manipulation.ProductFileManipulator
> implementation to NOT update my feature.xml and myproduct.product
> files in some cases:
>
> -org.eclipse.tycho.versions.manipulation.FeatureXmlManipulator only
> updates the feature.xml, if my reactor project (the pom.xml in the
> trunk) is of packaging type "eclipse-feature" or "eclipse-plugin":

Your feature-project/feature.xml is supposed to be updated, I will need a small standalone example to understand why this does not happen.


> -org.eclipse.tycho.versions.manipulation.ProductFileManipulator only
> updates the myproduct.product file if my reactor project (pom.xml in
> the
> trunk) shares the same artifactId (which will never happen, right?) or
> is of packaging type "eclipse-feature" or "eclipse-plugin":

For eclipse-repository projects the code does not check for artifactId/productId match. Again, small standalone example will help explain the problem.

--
Regards,
Igor



> I do not fully understand why these checks are implemented that way.
> Is my project structure invalid? Am I trying to do something weird in
> the sense of Maven/Tycho?
>
> Looking forward to your responses.
>
> Regards
>
> Timo Rohrberg
>
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user

Hinweis: Diese Email enthält evtl. vertrauliche und rechtlich geschützte Informationen. Sollten Sie nicht der richtige Adressat sein oder diese Email irrtümlich erhalten haben, informieren Sie bitte sofort den Absender, und löschen Sie anschließend diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe des Inhalts dieser Email sind nicht gestattet.

Attention: This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or if you have received this e-mail in error, please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the contents of this e-mail is strictly prohibited.
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user

Hinweis: Diese Email enthält evtl. vertrauliche und rechtlich geschützte
Informationen. Sollten Sie nicht der richtige Adressat sein oder diese
Email irrtümlich erhalten haben, informieren Sie bitte sofort den Absender,
und löschen Sie anschließend diese E-Mail. Das unerlaubte Kopieren sowie
die unbefugte Weitergabe des Inhalts dieser Email sind nicht gestattet.

Attention: This e-mail may contain confidential and/or privileged
information. If you are not the intended recipient or if you have received
this e-mail in error, please notify the sender immediately and delete this
e-mail. Any unauthorized copying, disclosure or distribution of the
contents of this e-mail is strictly prohibited.


Back to the top