blob: 55929b4dd2d4a4aed3874d760db9117f749c13cb [file] [log] [blame]
<project name="to be included into customTargets.xml">
<import file="fetchSvnAll.xml"/>
<path id="project.classpath">
<pathelement location="${buildHome}/build-files/svn/svnant.jar"/>
<pathelement location="${buildHome}/build-files/svn/svnClientAdapter.jar"/>
</path>
<target name="fetchSubversion" if="is.svn.fetch">
<taskdef resource="svntask.properties" classpathref="project.classpath"/>
<property name="fetchTag" value="HEAD"/>
<antcall target="fetch.svn.all"/>
</target>
<target name="svn.co">
<property name="target.dir" value="${element.id}"/>
<condition property="svn.url" value="${pluginbuilder.svn.url}" else="${url}">
<isset property="pluginbuilder.svn.url"/>
</condition>
<svn javahl="false" username="${pluginbuilder.svn.user}" password="${pluginbuilder.svn.password}">
<checkout revision="${fetchTag}" url="${svn.url}/${project.name}" destPath="${buildDirectory}/${target}/${target.dir}" />
</svn>
</target>
</project>