forked from identityxx/penrose-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
68 lines (57 loc) · 2.12 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
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
<project name="services" default="build">
<description>Services</description>
<property file="../build.properties"/>
<property name="prefix" value=""/>
<tstamp>
<format property="TIMESTAMP" pattern="yyyyMMddHHmmss"/>
</tstamp>
<target name="init">
<echo message="Operating System: ${os.name} ${os.version} (${os.arch})" />
<echo message="Java Version: ${java.version}" />
<condition property="isWindows">
<os family="windows"/>
</condition>
<condition property="isUnix">
<and>
<os family="unix"/>
<not>
<os family="mac"/>
</not>
</and>
</condition>
<condition property="isMac">
<os family="mac"/>
</condition>
</target>
<target name="import" depends="init">
<ant dir="ApacheDS" target="import"/>
<ant dir="LDAP" target="import"/>
<ant dir="OpenDS" target="import"/>
</target>
<target name="build" depends="init">
<ant dir="ApacheDS" target="build"/>
<ant dir="JMX" target="build"/>
<ant dir="LDAP" target="build"/>
<ant dir="OpenDS" target="build"/>
</target>
<target name="dist" depends="init">
<ant dir="ApacheDS" target="dist"/>
<ant dir="JMX" target="dist"/>
<ant dir="LDAP" target="dist"/>
<ant dir="OpenDS" target="dist"/>
<chmod dir="../server/target/dist/services" perm="ugo+rx" includes="**/*.sh"/>
</target>
<target name="install" depends="init">
<ant dir="ApacheDS" target="install"/>
<ant dir="JMX" target="install"/>
<ant dir="LDAP" target="install"/>
<ant dir="OpenDS" target="install"/>
<chmod dir="${server.home}/services" perm="ugo+rx" includes="**/*.sh"/>
</target>
<target name="clean">
<ant dir="ApacheDS" target="clean"/>
<ant dir="JMX" target="clean"/>
<ant dir="LDAP" target="clean"/>
<ant dir="OpenDS" target="clean"/>
</target>
</project>