This repository has been archived by the owner on Dec 5, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
/
build.xml
108 lines (86 loc) · 4.22 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
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
97
98
99
100
101
102
103
104
105
106
107
108
<?xml version="1.0" encoding="UTF-8"?>
<project name="adito-build" default="start-using-java">
<property name="adito.home" value="adito"/>
<property name="agent.home" value="adito-agent"/>
<!-- Display some help -->
<target name="help" description="Displays some help.">
<echo>
You must have run the 'install' target at least once which compiles
all source starts Adito's installation wizard. You also should
configure the Agent certificate and run 'install-agent' target.
Otherwise resources based on SSL-tunnels will not work.
For a list of Ant targets, use "ant -projecthelp"
</echo>
</target>
<target name="sysinfo" description="Display some system information">
<echo>Operating system: ${os.name}</echo>
<echo>Java home: ${java.home}</echo>
</target>
<target name="clean" description="Removes compiled files">
<ant dir="${adito.home}" target="clean"/>
<!-- NOTE This Code use Old Apache Commons VFS. This is not required for new Apache Commons VFS -->
<!--
<ant dir="adito-commons-vfs" target="clean"/>
-->
<ant dir="adito-community-activedirectory" target="clean"/>
<ant dir="adito-community-applications" target="clean"/>
<ant dir="adito-community-network-places" target="clean"/>
<ant dir="adito-community-pam" target="clean"/>
<ant dir="adito-community-tunnels" target="clean"/>
<ant dir="adito-community-unix" target="clean"/>
<ant dir="adito-community-web-forwards" target="clean"/>
<ant dir="maverick-crypto" target="clean"/>
<ant dir="maverick-multiplex" target="clean"/>
<ant dir="maverick-ssl" target="clean"/>
<ant dir="maverick-util" target="clean"/>
<ant dir="${agent.home}" target="clean"/>
</target>
<!-- Warning: there's no target to remove the generated HTML files yet -->
<target name="javadoc" description="Generate javadocs for everything">
<ant dir="${adito.home}" target="javadoc"/>
<!-- NOTE This Code use Old Apache Commons VFS. This is not required for new Apache Commons VFS -->
<!--<ant dir="adito-commons-vfs" target="javadoc"/>-->
<ant dir="adito-community-activedirectory" target="javadoc"/>
<ant dir="adito-community-applications" target="javadoc"/>
<ant dir="adito-community-network-places" target="javadoc"/>
<ant dir="adito-community-tunnels" target="javadoc"/>
<ant dir="adito-community-unix" target="javadoc"/>
<ant dir="adito-community-web-forwards" target="javadoc"/>
<ant dir="maverick-crypto" target="javadoc"/>
<ant dir="maverick-multiplex" target="javadoc"/>
<ant dir="maverick-ssl" target="javadoc"/>
<ant dir="maverick-util" target="javadoc"/>
<!-- Javadoc target for Agent is not yet finished -->
<!-- <ant dir="${agent.home}" target="javadoc"/> -->
</target>
<target name="console" description="Starts the Adito server in the foreground display all output to the console">
<ant dir="${adito.home}" target="console"/>
</target>
<target name="start" description="Starts the Adito in the background">
<ant dir="${adito.home}" target="start"/>
</target>
<target name="start-using-java" description="Starts the Adito in the foreground without the OS-dependent wrapper">
<ant dir="${adito.home}" target="start-using-java"/>
</target>
<target name="stop" description="Stops the running Adito. Note, this currently does not work on all platforms.">
<ant dir="${adito.home}" target="stop"/>
</target>
<target name="install" description="Run the Adito installation wizard. The server must not be running.">
<ant dir="${adito.home}" target="install"/>
</target>
<target name="install-agent" description="Install Adito Agent.">
<ant inheritall="false" dir="${adito.home}" target="install-agent" />
</target>
<target name="install-service" description="Install Adito as a service.">
<ant dir="${adito.home}" target="install-service"/>
</target>
<target name="uninstall-service" description="Uninstall Adito service.">
<ant dir="${adito.home}" target="uninstall-service"/>
</target>
<target name="compile" description="Compile Adito.">
<ant dir="${adito.home}" target="deploy-community-extensions"/>
</target>
<target name="dist" description="Create an executable, ready to distribute version of Adito">
<ant inheritall="false" dir="${adito.home}" target="dist"/>
</target>
</project>