This repository has been archived on 2025-12-25. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
studio-se-master/tools/scripts/find_missing_poms.xml
2015-01-09 16:33:52 +01:00

25 lines
876 B
XML

<project name="proj" default="checkRepos">
<path id="project.classpath">
</path>
<taskdef resource="net/sf/antcontrib/antcontrib.properties"/>
<taskdef resource="net/sf/antcontrib/antlib.xml" classpathref="project.classpath" />
<property name="buildRoot" value="../../.." />
<target name="checkRepos">
<delete file="./missing_poms.txt" failonerror="false"/>
<dirname property="proj.basedir" file="${ant.file.proj}" />
<foreach target="checkDir" param="dir">
<path>
<dirset dir="${proj.basedir}/${buildRoot}" includes="**/plugins/*,**/features/*" excludes="**/studio-se-master/**" />
</path>
</foreach>
</target>
<target name="checkDir">
<echo>${dir}</echo>
<if>
<not><available file="${dir}/pom.xml" /></not>
<then>
<echo file="./missing_poms.txt" append="true">${dir}${line.separator}</echo>
</then>
</if>
</target>
</project>