-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathinstaller.xml
93 lines (88 loc) · 4.04 KB
/
installer.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
87
88
89
90
91
92
93
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Id: installer.xml 2074 2010-09-18 22:27:46Z djb61 $ -->
<project name="DrFTPd 3.0.0" default="build" basedir=".">
<property name="app.name" value="drftpd" />
<property name="app.version" value="3.0.0" />
<property name="build.debug" value="true" />
<property name="build.javac" value="1.6" />
<property name="build.optimize" value="false" />
<property name="build.verbose" value="true" />
<path id="classpath">
<fileset dir="lib" includes="*.jar" />
</path>
<target name="build" description="Builds entire project">
<!-- beware of dragons -->
<echo>WARNING: The trunk branch of DrFTPD is bleeding edge code, which includes</echo>
<echo>work in progress, experimental changes, and transitional mechanisms that</echo>
<echo>might or might not be present in the next official release of the software.</echo>
<echo />
<echo>While the developers make an effort to keep the trunk branch in a usable</echo>
<echo>state, there are periods of time when the sources are not buildable. These</echo>
<echo>problems are resolved as expeditiously as possible, but whether or not trunk</echo>
<echo>brings disaster or greatly desired functionality can be a matter of which</echo>
<echo>revision you are using. It is recommended that you NOT use this branch unless</echo>
<echo>you follow development closely, and are prepared to fix any problems you might</echo>
<echo>encounter.</echo>
<echo />
<echo>Users of trunk are expected to have a high degree of technical skill, and should</echo>
<echo>be capable of solving difficult system problems on their own.</echo>
<echo />
<echo>If you are new to DrFTPD, think twice before installing this version.</echo>
<!-- compile plugin framework classes -->
<property name="jpf.src" value="src/jpf" />
<property name="jpf.dest" value="build/jpf/classes" />
<mkdir dir="${jpf.dest}" />
<javac destdir="${jpf.dest}"
srcdir="${jpf.src}"
classpathref="classpath"
excludes=""
target="${build.javac}"
debug="${build.debug}"
optimize="${build.optimize}"
includeAntRuntime="false" />
<copy todir="${jpf.dest}">
<fileset dir="${jpf.src}" includes="**/*.properties" />
</copy>
<!-- create plugin framework jar -->
<jar destfile="lib/${app.name}-jpf-${app.version}.jar">
<manifest>
<attribute name="Class-Path" value="ant.jar" />
<attribute name="Specification-Title" value="DrFTPd - plugin framework library" />
<attribute name="Specification-Version" value="${app.version}" />
<attribute name="Specification-Vendor" value="http://www.drftpd.org" />
<attribute name="Implementation-Title" value="org.java.plugin.drftpd" />
<attribute name="Implementation-Version" value="${app.version}" />
<attribute name="Implementation-Vendor" value="http://www.drftpd.org" />
</manifest>
<fileset dir="${jpf.dest}" includes="**/*.class" />
</jar>
<!-- compile tools classes -->
<property name="tools.src" value="src/tools" />
<property name="tools.dest" value="build/tools/classes" />
<mkdir dir="${tools.dest}" />
<javac destdir="${tools.dest}"
srcdir="${tools.src}"
classpathref="classpath"
excludes=""
target="${build.javac}"
debug="${build.debug}"
optimize="${build.optimize}"
includeAntRuntime="false" />
<copy todir="${tools.dest}">
<fileset dir="${tools.src}" includes="**/*.properties" />
</copy>
<!-- create tools jar -->
<jar destfile="lib/${app.name}-tools-${app.version}.jar">
<manifest>
<attribute name="Class-Path" value="ant.jar" />
<attribute name="Specification-Title" value="DrFTPd - tools library" />
<attribute name="Specification-Version" value="${app.version}" />
<attribute name="Specification-Vendor" value="http://www.drftpd.org" />
<attribute name="Implementation-Title" value="org.drftpd.tools" />
<attribute name="Implementation-Version" value="${app.version}" />
<attribute name="Implementation-Vendor" value="http://www.drftpd.org" />
</manifest>
<fileset dir="${tools.dest}" includes="**/*.class,**/*.properties" />
</jar>
</target>
</project>