0
|
1 <project>
|
|
2
|
|
3 <target name="clean">
|
|
4 <delete dir="build"/>
|
|
5 </target>
|
|
6
|
|
7 <target name="compile">
|
|
8 <mkdir dir="build/classes"/>
|
|
9 <javac srcdir="src" destdir="build/classes"/>
|
|
10 </target>
|
|
11
|
|
12 <target name="jar">
|
|
13 <mkdir dir="build/jar"/>
|
|
14 <jar destfile="build/jar/ColorsMemory.jar" basedir="build/classes">
|
|
15 <manifest>
|
|
16 <attribute name="Main-Class" value="ColorsMemory"/>
|
|
17 </manifest>
|
|
18 </jar>
|
|
19 </target>
|
|
20
|
|
21 <target name="run">
|
|
22 <java jar="build/jar/ColorsMemory.jar" fork="true"/>
|
|
23 </target>
|
|
24
|
|
25 </project>
|