Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] No content found generating eclipse-repository under tycho 0.14.0

With some more digging it appears that the iu syntax was introduced to
the category.xml as part of [1]. A corresponding commit [2] forked the
SiteParser for a new CategoryParser hooking in the p2 query language
into the category syntax.

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=303127
[2] https://github.com/eclipse/rt.equinox.p2/commit/51277bef2fcd1e91f92f5c4a9c508ec8933dc74d

Regards,

Simon

On 18 February 2012 21:21, Igor Fedorenko <ifedorenko@xxxxxxxxxxxx> wrote:
> I do not see any mentioning of category.xml or site.xml on that page. I
> know what p2 query language is, but I don't know if it can be used in
> category/site xml file like in the example you provided. It looks like
> category/site documentation has been removed from recent eclipse
> releases but the latest I can find [1] does not mention <iu> element. I
> also don't see a way to enter <iu> elements using PDE site/category file
> editor.
>
> [1]
> http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclipse.platform.doc.isv/reference/misc/update_sitemap.html
>
> --
> Regards,
> Igor
>
>
> On 12-02-18 4:08 PM, Simon Goodall wrote:
>>
>> Looks like it is part of the p2 query language.
>>
>> http://wiki.eclipse.org/Query_Language_for_p2
>>
>> Regards
>>
>> Simon
>>
>> On 17 February 2012 12:44, Igor Fedorenko<igor@xxxxxxxxxxxxxx>  wrote:
>>>
>>> Can you provide link to official eclipse documentation that describes
>>> <iu>  element of category.xml or site.xml?
>>>
>>> --
>>> Regards,
>>> Igor
>>>
>>>
>>> On 12-02-17 4:13 AM, Alex Blewitt wrote:
>>>>
>>>>
>>>> The category.xml is the same format as the site.xml which was used by
>>>> Eclipse in pre-P2 days. It's still needed in P2 to provide the
>>>> categories
>>>> shown in the update menu.
>>>>
>>>> I suspect you'll find the format documented in the help under site.xml.
>>>>
>>>> Alex
>>>>
>>>> Sent from my iPhone 4S
>>>>
>>>> On 17 Feb 2012, at 06:47, Simon Goodall<simon.goodall@xxxxxxxxxxxxxxx>
>>>>  wrote:
>>>>
>>>>> I think I originally found it here [1] and the Orbit repo seems to use
>>>>> it too [2]. A google search just now hit up on an older tycho bug [3].
>>>>>
>>>>> I've been using it for a while with the tycho-extras
>>>>> publish-features-and-bundles goal to first build a repo out of 3rd
>>>>> party plugins obtained via the maven dependency plugin and then call
>>>>> category-p2-metadata to make the repo browsable in eclipse.
>>>>>
>>>>> My aim is to make the results of one project consumable in another
>>>>> tycho build and ideally also be browsable in eclipse.
>>>>>
>>>>> [1]
>>>>>
>>>>> http://maksim.sorokin.dk/it/2010/11/26/creating-a-p2-repository-from-features-and-plugins
>>>>>
>>>>>
>>>>> [2]http://dev.eclipse.org/viewcvs/viewvc.cgi/org.eclipse.orbit/org.eclipse.orbit.releng/maps/category.xml?root=Tools_Project&view=markup
>>>>> [3] https://issues.sonatype.org/browse/TYCHO-605
>>>>>
>>>>> Simon
>>>>>
>>>>> On 17 February 2012 03:55, Igor Fedorenko<igor@xxxxxxxxxxxxxx>
>>>>>  wrote:
>>>>>>
>>>>>>
>>>>>> Where did you find this category.xml syntax? Can you provide a link at
>>>>>> any
>>>>>> relevant documentation?
>>>>>>
>>>>>> --
>>>>>> Regards,
>>>>>> Igor
>>>>>>
>>>>>>
>>>>>> On 12-02-16 4:13 PM, Simon Goodall wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> I have several multi-module tycho projects consisting of one or more
>>>>>>> eclipse-plugin modules and a eclipse-repository module. Under tycho
>>>>>>> 0.13.0 I managed to get the eclipse-repository producing a p2
>>>>>>> repository containing the eclipse-plugins using a combination of pom
>>>>>>> dependencies and a catch all category.xml file. Under Tycho 0.14.0
>>>>>>> the
>>>>>>> eclipse-repository is unable to find any content and the build fails.
>>>>>>>
>>>>>>> Is this the correct approach or is there a better way to do this
>>>>>>> which
>>>>>>> will work under tycho 0.14.0?
>>>>>>>
>>>>>>> I've attached a sample project.
>>>>>>>
>>>>>>> Thanks,
>>>>>>>
>>>>>>> Simon
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> tycho-user mailing list
>>>>>>> tycho-user@xxxxxxxxxxx
>>>>>>> https://dev.eclipse.org/mailman/listinfo/tycho-user
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> tycho-user mailing list
>>>>>> tycho-user@xxxxxxxxxxx
>>>>>> https://dev.eclipse.org/mailman/listinfo/tycho-user
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Simon Goodall, PhD
>>>>> Solutions Architect
>>>>> Minimax Labs Ltd, 31 Southampton Row, London WC1B 5HJ, UK
>>>>> t/f: +44 (0)20 3356 9771 | m: 07905 266 385
>>>>> e: simon.goodall@xxxxxxxxxxxxxxx
>>>>> www.minimaxlabs.com
>>>>>
>>>>> Minimax Labs Ltd, a company registered in England and Wales,
>>>>> registration number 07193685, registered office: Office 4, 219
>>>>> Kensington High Street, London  W8 6BD. This message may contain
>>>>> privileged or confidential information. If you are not the intended
>>>>> recipient, please delete it and inform the sender immediately. Any
>>>>> unauthorised use of any of the information contained in this email is
>>>>> strictly prohibited.
>>>>> _______________________________________________
>>>>> tycho-user mailing list
>>>>> tycho-user@xxxxxxxxxxx
>>>>> https://dev.eclipse.org/mailman/listinfo/tycho-user
>>>>
>>>>
>>>> _______________________________________________
>>>> tycho-user mailing list
>>>> tycho-user@xxxxxxxxxxx
>>>> https://dev.eclipse.org/mailman/listinfo/tycho-user
>>>
>>>
>>> _______________________________________________
>>> tycho-user mailing list
>>> tycho-user@xxxxxxxxxxx
>>> https://dev.eclipse.org/mailman/listinfo/tycho-user
>>
>>
>>
>>
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user



-- 
Simon Goodall, PhD
Solutions Architect
Minimax Labs Ltd, 31 Southampton Row, London WC1B 5HJ, UK
t/f: +44 (0)20 3356 9771 | m: 07905 266 385
e: simon.goodall@xxxxxxxxxxxxxxx
www.minimaxlabs.com

Minimax Labs Ltd, a company registered in England and Wales,
registration number 07193685, registered office: Office 4, 219
Kensington High Street, London  W8 6BD. This message may contain
privileged or confidential information. If you are not the intended
recipient, please delete it and inform the sender immediately. Any
unauthorised use of any of the information contained in this email is
strictly prohibited.


Back to the top