| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| create final build repo. |
| Eventually may want to "move" this to each component, in "post build" step? |
| See http://aniefer.blogspot.com/2009/08/versioning-p2-slides-from-eclipsecon.html |
| for example of comparator. |
| --> |
| <project |
| name="createFinalRepo" |
| default="build" |
| basedir="."> |
| |
| |
| |
| <target |
| name="build" |
| depends="doMirror"> |
| |
| <echo |
| message="done"/> |
| |
| </target> |
| |
| <target |
| name="doMirror"> |
| <property |
| name="destinationDir" |
| value="/home/shared/webtools/apps/antrunner/testrepo"/> |
| <echo |
| message="destinationDir: ${destinationDir}"/> |
| |
| <p2.mirror |
| ignoreErrors="true" |
| verbose="true" |
| log="/home/shared/webtools/apps/antrunner/testlog.txt"> |
| |
| |
| <destination |
| kind="metadata" |
| location="file:/${destinationDir}" |
| name="Web Tools Platform Repository Test"/> |
| <destination |
| kind="artifact" |
| location="file:/${destinationDir}" |
| name="Web Tools Platform Repository Test"/> |
| |
| |
| <source> |
| <repository |
| location="file://home/shared/webtools/projects/jsdt-R1.3.0-I/workdir/I-1.3.0-20101005042801/buildrepository/"/> |
| </source> |
| |
| <slicingoptions |
| followStrict="true" |
| includeNonGreedy="false" |
| includeOptional="false"/> |
| <!-- |
| <iu |
| id="org.eclipse.wst.jsdt_sdk.feature.feature.group"/> |
| |
| |
| <iu |
| query="property[@name='org.eclipse.equinox.p2.type.category']"/> |
| --> |
| |
| <iu |
| query="property[@name='org.eclipse.equinox.p2.type.category'] and property[@name='org.eclipse.equinox.p2.name' and (@value!='Web Tools Platform Tests']"/> |
| |
| |
| </p2.mirror> |
| |
| |
| </target> |
| |
| |
| </project> |