forked from AlexandreBrillant/Editix-xml-editor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
86 lines (63 loc) · 1.54 KB
/
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<?xml version="1.0"?>
<!--
[ant all] for compiling and running all
[ant compile] for compiling editix
[ant run] for running editix
(c) copyrights JAPISOFT SARL - http://www.editix.com
-->
<project default="all">
<target name="all" depends="compile,run"/>
<target name="compile">
<javac
source="1.6"
target="1.6"
debug="true"
destdir="bin"
srcdir="src"
memoryinitialsize="200m"
memorymaximumsize="400m"
includeantruntime="false"
nowarn="true"
fork="false"
>
<classpath>
<fileset dir="lib">
<include name="**/*.jar"/>
</fileset>
</classpath>
</javac>
<copy todir="bin">
<fileset dir="src">
<include name="**/template.*"/>
<include name="**/*.exf"/>
<include name="**/*.js"/>
<include name="**/*.xxf"/>
<include name="**/*.xml"/>
<include name="**/*.txt"/>
<include name="**/*.png"/>
<include name="**/*.jpg"/>
<include name="**/*.gif"/>
<include name="**/*.doc"/>
<include name="**/*.rng"/>
<include name="**/*.grammar"/>
<include name="**/*.schema"/>
<include name="**/*.properties"/>
</fileset>
</copy>
</target>
<target name="run">
<java classname="com.japisoft.editix.main.Main" fork="true">
<jvmarg value="-Dapplication.debug=false"/>
<classpath>
<dirset dir="bin"/>
<fileset dir="lib">
<include name="**/*.jar"/>
</fileset>
</classpath>
</java>
</target>
<target name="clean">
<delete dir="bin"></delete>
<mkdir dir="bin"/>
</target>
</project>