-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
36 lines (33 loc) · 1.34 KB
/
build.xml
File metadata and controls
36 lines (33 loc) · 1.34 KB
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
<project name="org.eclipse.birt.test.profile" default="start" basedir=".">
<!-- compile source, compile this project -->
<property name="src.dir" location="src"/>
<property name="bin.dir" location="build"/>
<property name="dist.dir" location="dist"/>
<property name="lib.dir" location="lib" />
<property name="http.dir" location="../ServerBase/build/server/http" />
<target name="compileSource" description="compile this project">
<mkdir dir="${bin.dir}"/>
<echo message="start compiling ..."/>
<javac srcdir="${src.dir}" destdir="${bin.dir}" source="1.6" target="1.6" debug="true" encoding="utf-8" failonerror="true">
<classpath>
<fileset dir="${lib.dir}">
<include name="*.jar"/>
</fileset>
</classpath>
</javac>
<echo message="finish compiling ..."/>
</target>
<target name="start" depends="compileSource" >
<copy todir="${bin.dir}/server/http" overwrite="true">
<fileset dir="${http.dir}">
<include name="*.*"/>
</fileset>
</copy>
<jar destfile="${dist.dir}/profile.jar" basedir="${bin.dir}" manifest="${src.dir}/META-INF/MANIFEST.MF"/>
<copy todir="${dist.dir}" overwrite="false">
<fileset dir="${lib.dir}">
<include name="*.*"/>
</fileset>
</copy>
</target>
</project>