File: SvnUpdateTest.xml

package info (click to toggle)
phing 3.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 9,340 kB
  • sloc: php: 59,826; xml: 9,770; sql: 78; makefile: 39; sh: 14
file content (25 lines) | stat: -rw-r--r-- 785 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?xml version="1.0"?>
<project name="SvnUpdateTest" default="invalid">

    <property name="tmp.dir" value="./../../../../tmp/svn" />
    <property name="repo.url" value="https://github.com/phingofficial/phing/trunk/etc"/>

    <resolvepath propertyName="tmp.dir.resolved" file="${tmp.dir}" />

    <target name="invalid">
        <fail>This file should only be run via a testcase</fail>
    </target>

    <target name="updateSimple" description="Checkout then update existing repo">
        <svncheckout
            repositoryurl="${repo.url}"
            todir="${tmp.dir.resolved}" />
        <svnupdate
            todir="${tmp.dir.resolved}" />
    </target>

    <target name="noRepository" description="Required param checking">
        <svnupdate />
    </target>

</project>