summaryrefslogtreecommitdiff
path: root/build.xml
blob: 5d91239faf7073db01588fed2297fc22ef288a84 (plain)
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
<project>

    <target name="clean">
        <delete dir="build"/>
    </target>

    <target name="compile">
        <mkdir dir="build/classes"/>
        <javac srcdir="src" encoding="UTF-8" destdir="build/classes"/>
    </target>

    <target name="jar">
        <mkdir dir="build/jar"/>
        <jar destfile="build/jar/ColorsMemory.jar" basedir="build/classes">
            <manifest>
                <attribute name="Main-Class" value="ColorsMemory"/>
            </manifest>
        </jar>
    </target>

    <target name="run">
        <java jar="build/jar/ColorsMemory.jar" fork="true"/>
    </target>

</project>