|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 . I guess you will have to use mvnDebug to find out why it doesn't work in your case. Regards, Jan  http://git.eclipse.org/c/tycho/org.eclipse.tycho.git/tree/tycho-bundles/org.eclipse.tycho.p2.tools.impl/src/main/java/org/eclipse/tycho/p2/tools/mirroring/MirrorApplicationServiceImpl.java#n112 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 Hi, 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: <iu> <query> <expression>id ~= $0</expression> <parameters>org.eclipse.babel.nls.*_de.feature.group</parameters> </query> </iu> 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? Regards, -- 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