1 <?xml version="1.0"?> 2 3 <project name="Validate a Feed" default="validateFeed" basedir="../"> 4 <!-- TODO: set correct path to EMF plugins --> 5 <property name="EMF_HOME" value="../../eclipse-plugins-emf22/eclipse/plugins"/> 6 <echo message="Using EMF_HOME = ${EMF_HOME}"/> 7 8 <taskdef name="validateFeed" 9 classname="org.eclipse.releng.util.rss.emf.RSSFeedValidatorDynamicTask"> 10 <classpath> 11 <pathelement path="feedValidator.jar"/> 12 <fileset dir="${EMF_HOME}"> 13 <include name="**/org.eclipse.emf.ecore_*.jar"/> 14 <include name="**/org.eclipse.emf.common_*.jar"/> 15 <include name="**/org.eclipse.emf.ecore.xmi_*.jar"/> 16 <include name="**/org.eclipse.xsd_*.jar"/> 17 </fileset> 18 </classpath> 19 </taskdef> 20 21 <!-- debug: 0|1|2 --> 22 <target name="validateFeed" description="verify if the feed is valid with respect to the schema"> 23 <validateFeed 24 debug="2" 25 XSDFile="../schema/atom10_build.xsd" 26 XMLFile="../data/builds-emf.xml" > 27 </validateFeed> 28 </target> 29 </project> 30