-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild.xml
executable file
·34 lines (33 loc) · 1.02 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
<?xml version="1.0" encoding="UTF-8"?>
<project name="js-el" default="package" basedir="./">
<target name="init">
</target>
<target name="compile">
<javac srcdir="src/main/java" fork="true" target="1.5" debug="true" destdir="bin" encoding="UTF-8">
<classpath>
<fileset dir="./lib">
<include name="**/*.jar" />
</fileset>
</classpath>
</javac>
</target>
<target name="package" depends="init,compile">
<jar destfile="target/JSEL.jar" compress="true" encoding="UTF-8">
<fileset dir="target/classes">
<include name="org/xidea/el/**/*.class" />
<exclude name="**/*.js" />
<exclude name="**/test/**/*.*" />
</fileset>
<zipgroupfileset dir="./">
<include name="commons-logging*.jar" />
</zipgroupfileset>
<fileset dir="src/main/java">
<include name="org/xidea/el/*.java" />
<include name="org/xidea/el/json/*.java" />
<include name="org/xidea/el/impl/*.java" />
<exclude name="**/*.js" />
<exclude name="**/test/**/*.*" />
</fileset>
</jar>
</target>
</project>