-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.xml
More file actions
96 lines (78 loc) · 2.69 KB
/
build.xml
File metadata and controls
96 lines (78 loc) · 2.69 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
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
87
88
89
90
91
92
93
94
95
96
<?xml version="1.0" encoding="utf-8"?>
<project name="CIKNOW Visualizer" basedir="." default="deploy-ciknow-assembler">
<property file="build.properties"/>
<property environment="env"/>
<property name="src" value="${basedir}/src"/>
<property name="build" value="${basedir}/build"/>
<path id="shared.classpath">
<fileset dir="${basedir}/lib">
<include name="**/*.jar"/>
</fileset>
</path>
<path id="compile.classpath">
<path refid="shared.classpath"/>
<fileset dir="${basedir}">
<include name="prefuse.jar"/>
</fileset>
</path>
<path id="compile5.classpath">
<path refid="shared.classpath"/>
<fileset dir="${basedir}">
<include name="prefuse5.jar"/>
</fileset>
</path>
<target name="clean" description="Delete old build directory and jar file">
<delete dir="${build}"/>
</target>
<target name="init" depends="clean">
<tstamp/>
<mkdir dir="${build}"/>
</target>
<target name="compile" description="Compile Java sources and create jar distribution">
<antcall target="init"/>
<javac srcdir="${src}"
destdir="${build}"
classpathref="compile.classpath">
</javac>
<copy todir="${build}">
<fileset dir="${src}" excludes="**/*.java"/>
</copy>
<jar destfile="${basedir}/graphApplet.jar" basedir="${build}"/>
</target>
<target name="compile5" description="Compile Java sources and create jar distribution">
<antcall target="init"/>
<javac srcdir="${src}"
destdir="${build}"
compiler="javac1.5"
fork="true"
executable="${java5.path}"
classpathref="compile5.classpath">
</javac>
<copy todir="${build}">
<fileset dir="${src}" excludes="**/*.java"/>
</copy>
<jar destfile="${basedir}/graphApplet5.jar" basedir="${build}"/>
</target>
<target name="deploy-ciknow-assembler" depends="compile, compile5"
description="Copy ciknow visualizer components to ciknow-assembler">
<copy toDir="${ciknow.assembler.dir}/build" overwrite="true">
<fileset dir="${basedir}/lib">
<include name="*.jar"/>
</fileset>
<fileset dir="${basedir}">
<include name="*.jar"/>
</fileset>
</copy>
</target>
<target name="deploy-ciknowmgr-assembler" depends="compile, compile5"
description="Copy ciknow visualizer components to ciknowmgr-assembler">
<copy toDir="${ciknowmgr.assembler.dir}/build/WEB-INF/template/server" overwrite="true">
<fileset dir="${basedir}/lib">
<include name="*.jar"/>
</fileset>
<fileset dir="${basedir}">
<include name="*.jar"/>
</fileset>
</copy>
</target>
</project>