Refactor.
[phpeclipse.git] / utilities / pluginbuilder / build-files / subversionSupport.xml
1 <project name="to be included into customTargets.xml">\r
2 \r
3         <import file="fetchSvnAll.xml"/>\r
4 \r
5         <path id="project.classpath">\r
6                 <pathelement location="${buildHome}/build-files/svn/svnant.jar"/>\r
7                 <pathelement location="${buildHome}/build-files/svn/svnClientAdapter.jar"/>\r
8         </path>\r
9         \r
10         <target name="fetchSubversion" if="is.svn.fetch">\r
11                  <taskdef resource="svntask.properties" classpathref="project.classpath"/>\r
12                  <property name="fetchTag" value="HEAD"/>\r
13                  <antcall target="fetch.svn.all"/>\r
14         </target>\r
15     \r
16     <target name="svn.co">\r
17         <property name="target.dir" value="${element.id}"/>\r
18         <svn javahl="false" username="${pluginbuilder.svn.user}" password="${pluginbuilder.svn.password}">\r
19                         <checkout revision="${fetchTag}" url="${url}/${project.name}" destPath="${buildDirectory}/${target}/${target.dir}" />\r
20                 </svn> \r
21         </target>    \r
22 \r
23 </project>