Statistics
| Branch: | Revision:

root / java / gssclient / build.xml @ 47:2997ff3d7811

History | View | Annotate | Download (3.4 kB)

1
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
<!-- WARNING: Eclipse auto-generated file.
3
              Any modifications will be overwritten.
4
              To include a user specific buildfile here, simply create one in the same
5
              directory with the processing instruction <?eclipse.ant.import?>
6
              as the first entry and export the buildfile again. -->
7
<project basedir="." default="build" name="gssclient">
8
    <property environment="env"/>
9
    <property name="debuglevel" value="source,lines,vars"/>
10
    <property name="target" value="1.5"/>
11
    <property name="source" value="1.5"/>
12
    <path id="gssclient.classpath">
13
        <pathelement location="bin"/>
14
        <pathelement location="lib/commons-cli-1.2.jar"/>
15
        <pathelement location="lib/commons-codec-1.3.jar"/>
16
        <pathelement location="lib/commons-collections-3.2.1.jar"/>
17
        <pathelement location="lib/commons-io-1.4.jar"/>
18
        <pathelement location="lib/commons-lang-2.4.jar"/>
19
        <pathelement location="lib/commons-logging-1.1.1.jar"/>
20
        <pathelement location="lib/cssparser-0.9.5.jar"/>
21
        <pathelement location="lib/log4j-1.2.15.jar"/>
22
        <pathelement location="lib/nekohtml-1.9.11.jar"/>
23
        <pathelement location="lib/sac-1.3.jar"/>
24
        <pathelement location="lib/serializer-2.7.1.jar"/>
25
        <pathelement location="lib/xalan-2.7.1.jar"/>
26
        <pathelement location="lib/xercesImpl-2.8.1.jar"/>
27
        <pathelement location="lib/xml-apis-1.3.04.jar"/>
28
        <pathelement location="lib/httpclient-4.0.jar"/>
29
        <pathelement location="lib/httpcore-4.0.1.jar"/>
30
    </path>
31
    <target name="init">
32
        <mkdir dir="bin"/>
33
        <copy includeemptydirs="false" todir="bin">
34
            <fileset dir="src">
35
                <exclude name="**/*.launch"/>
36
                <exclude name="**/*.java"/>
37
            </fileset>
38
        </copy>
39
    </target>
40
    <target name="clean">
41
        <delete dir="bin"/>
42
    </target>
43
    <target depends="clean" name="cleanall"/>
44
    <target depends="build-subprojects,build-project" name="build"/>
45
    <target name="build-subprojects"/>
46
    <target depends="init" name="build-project">
47
        <echo message="${ant.project.name}: ${ant.file}"/>
48
        <javac debug="true" debuglevel="${debuglevel}" destdir="bin" source="${source}" target="${target}">
49
            <src path="src"/>
50
            <classpath refid="gssclient.classpath"/>
51
        </javac>
52
    </target>
53
    <target description="Build all projects which reference this project. Useful to propagate changes." name="build-refprojects"/>
54
    <target name="GSSClient">
55
        <java classname="gssclient.cli.GSSClient" failonerror="true" fork="yes">
56
            <arg line="put &quot;/Users/Panos/Movies/The Wire Season 2/*.srt&quot; &quot;video/The Wire 2&quot;"/>
57
            <classpath refid="gssclient.classpath"/>
58
        </java>
59
    </target>
60
    <target name="ListPropertiesCmd">
61
        <java classname="gssclient.commands.ListPropertiesCmd" failonerror="true" fork="yes">
62
            <classpath refid="gssclient.classpath"/>
63
        </java>
64
    </target>
65
    <target name="MkDirCmd">
66
        <java classname="gssclient.commands.MkDirCmd" failonerror="true" fork="yes">
67
            <classpath refid="gssclient.classpath"/>
68
        </java>
69
    </target>
70
    <target name="PutFileCmd">
71
        <java classname="gssclient.commands.PutFileCmd" failonerror="true" fork="yes">
72
            <classpath refid="gssclient.classpath"/>
73
        </java>
74
    </target>
75
</project>