Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Use p2 query expression with Tycho Mirror

we use QueryUtil.createMatchQuery(iu.getQueryMatchExpression(), iu.getQueryParameters());

with comma-separated query parameters to create the p2 query [1].

I guess you will have to use mvnDebug to find out why it doesn't work in your case.



From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Aurélien Pupier
Sent: Montag, 13. Mai 2013 12:53
To: tycho-user@xxxxxxxxxxx
Subject: [tycho-user] Use p2 query expression with Tycho Mirror


I'm trying to mirror Babel update site including only a subset of languages.

Since Tycho 0.17.0, there is a great features that seems to allow to do it quite easily.

For instance for filtering on German Babel translations, I tried to use:
          <expression>id ~= $0</expression>

unfortunately, it complains that I can't use ~= with Two Strings.
org.eclipse.tycho.extras:tycho-p2-extras-plugin:0.17.0:mirror failed: Cannot match a java.lang.String with a java.lang.String

 Effectively, I want to use ~= Operator with a String and a SimplePattern. How can I specify to use a SimplePattern with Tycho?


Aurelien Pupier
R&D Engineer, BOS Studio Development Leader

email : aurelien.pupier@xxxxxxxxxxxxxx

This message and any attachment (the "message") is intended solely for the addressees and is confidential. If you receive this message by mistake, please delete it and notify the sender immediately. Any use not in accordance with its purpose, any out-spread or disclosure, either as a whole or partially, is prohibited except with formal approval. Internet cannot guarantee the integrity of this message, therefore BonitaSoft will not be liable for the message if modified. 

Back to the top