Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 328495 - p2.mirror doesn't support query language
Summary: p2.mirror doesn't support query language
Status: CLOSED DUPLICATE of bug 310319
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.6.1   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-22 12:14 EDT by Nikolas Falco CLA
Modified: 2010-10-22 13:24 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolas Falco CLA 2010-10-22 12:14:52 EDT
Build Identifier: M20100909-0800

Currently p2 tasks only supports queries on "property".
Should be great and very useful remove this limitation and use p2QL. This avoid creation of new ant task or application that extends actual to maintains our p2 repository.

For example, actual i need mirror (extract from a big central repo) only a specific version IU (we have plugins of same products with the same version) to other repository or make a clean of repository keeping only last 10 builds etc etc.


Little example
<p2.mirror source="http://xxx.yyy/centralrepository">
	<destination location="d:/testRepo"/>
	<slicingoptions includeoptional="false" followstrict="true" />
	<iu query="[version == 4.6.6.v06005264]" />
</p2.mirror>


Reproducible: Always
Comment 1 Andrew Niefer CLA 2010-10-22 13:24:52 EDT

*** This bug has been marked as a duplicate of bug 310319 ***