[go: up one dir, main page]

Menu

[r53]: / LeCo_0.2 / build.xml  Maximize  Restore  History

Download this file

35 lines (27 with data), 994 Bytes

 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
26
27
28
29
30
31
32
33
34
35
<?xml version="1.0" encoding="UTF-8"?>
<project name="myProject" default="main" basedir=".">
<property file = "build.properties" />
<property name = "srcDir" location = "src"> </property>
<property name = "srcAPIs" location = "APIs"> </property>
<property name = "buildDir" location = "build" />
<property name = "binDir" location = "${buildDir}/bin"> </property>
<property name = "jarDir" location = "${buildDir}/jar"> </property>
<target name="main" depends="clean, init, compile">
<echo>
Built LeCo
</echo>
</target>
<target name = "clean">
<delete dir="${buildDir}"/>
</target>
<target name = "init" >
<mkdir dir = "${binDir}"/>
<mkdir dir = "${jarDir}"/>
</target>
<target name = "compile">
<javac srcdir = "${srcDir}:${srcAPIs}" destdir="${binDir}"/>
</target>
<target name = "compress">
<jar destfile = "${jarDir}/LeCo${leco.version}.${leco.version.minor}.jar" basedir = "${binDir}" includes = "**/*.class" />
</target>
</project>