-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
33 lines (26 loc) · 975 Bytes
/
build.xml
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
<project name="ExcelReplaceAll" default="compile" basedir=".">
<description>Replace all string in excel using Apache POI.</description>
<property name="version" value="5.1.0"/>
<path id="classpath">
<pathelement path="./classes" />
<pathelement path="./lib/poi.jar" />
</path>
<target name="clean" description="Deletes all build files.">
<delete dir="./classes"/>
</target>
<target name="compile" description="Compiles the java source files of the library.">
<mkdir dir="./classes"/>
<native2ascii src="src" dest="classes">
<include name="**/*.ini" />
</native2ascii>
<javac destdir="./classes" debug="true" optimize="false" deprecation="true" includeantruntime="false" encoding="UTF-8">
<classpath refid="classpath"/>
<src path="./src"/>
</javac>
</target>
<target name="run">
<java classname="Main" fork="true" dir="./">
<classpath refid="classpath"/>
</java>
</target>
</project>