-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.xml
27 lines (23 loc) · 846 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
<project name="persistencejs-gen" default="dist" basedir=".">
<property file="build.properties" />
<target name="dist" depends="clean,copy">
<jar jarfile="target/persistencejs-gen-${ver}.jar" basedir="${build}" />
<jar jarfile="target/persistencejs-gen-${ver}-sources.jar" basedir="${src}" />
</target>
<target name="clean">
<delete dir="target" failonerror="false"/>
<mkdir dir="target"/>
<mkdir dir="${build}"/>
</target>
<target name="copy">
<copy todir="${build}">
<fileset dir="../slim3-gen/build/classes">
<exclude name="META-INF/services/**" />
</fileset>
</copy>
<copy todir="${build}">
<fileset dir="build/classes">
</fileset>
</copy>
</target>
</project>