Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 328495

Summary: p2.mirror doesn't support query language
Product: [Eclipse Project] Equinox Reporter: Nikolas Falco <nfalco79>
Component: p2Assignee: P2 Inbox <equinox.p2-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3 CC: aniefer, nfalco79
Version: 3.6.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

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 ***