1 | <?xml version="1.0"?>
|
---|
2 | <!--
|
---|
3 | This is the build.xml run by AntInstaller for the installer
|
---|
4 | -->
|
---|
5 |
|
---|
6 | <project name="Installation" default="" basedir="${basedir}">
|
---|
7 |
|
---|
8 | <!-- this is required to pick up the properties generated during the install pages -->
|
---|
9 | <property file="${basedir}/ant.install.properties"/>
|
---|
10 |
|
---|
11 |
|
---|
12 | <target name="default" depends="">
|
---|
13 | <echo message="Createing Installation directory"/>
|
---|
14 | <mkdir dir="${installDir}"/>
|
---|
15 |
|
---|
16 | <!--Scripts
|
---|
17 | <echo message="Installing Scripts files"/>
|
---|
18 | <mkdir dir="${installDir}/bin"/>
|
---|
19 | <unzip src="${antinstaller.jar}" dest="${installDir}">
|
---|
20 | <patternset>
|
---|
21 | <include name="bin/*.sh"/>
|
---|
22 | <include name="bin/*.ksh"/>
|
---|
23 | <include name="bin/*.csh"/>
|
---|
24 | <include name="bin/*.cmd"/>
|
---|
25 | <include name="bin/*.bat"/>
|
---|
26 | </patternset>
|
---|
27 | </unzip>
|
---|
28 | <chmod file="${installDir}/bin/*.sh" perm="774"/>
|
---|
29 | <chmod file="${installDir}/bin/*.ksh" perm="774"/>
|
---|
30 | <chmod file="${installDir}/bin/*.csh" perm="774"/>
|
---|
31 | Scripts-->
|
---|
32 |
|
---|
33 | <!--Libraries
|
---|
34 | <echo message="Installing Libraries files"/>
|
---|
35 | <mkdir dir="${installDir}/lib"/>
|
---|
36 | <unzip src="${antinstaller.jar}" dest="${installDir}">
|
---|
37 | <patternset>
|
---|
38 | <include name="lib/*"/>
|
---|
39 | </patternset>
|
---|
40 | </unzip>
|
---|
41 | Libraries-->
|
---|
42 |
|
---|
43 | <!--Classes
|
---|
44 | <echo message="Installing Class files"/>
|
---|
45 | <mkdir dir="${installDir}/classes"/>
|
---|
46 | <unzip src="${antinstaller.jar}" dest="${installDir}">
|
---|
47 | <patternset>
|
---|
48 | <include name="classes/**/*"/>
|
---|
49 | </patternset>
|
---|
50 | </unzip>
|
---|
51 | Classes-->
|
---|
52 | </target>
|
---|
53 |
|
---|
54 | <!--Documentation
|
---|
55 | <target name="tgdoc" depends="">
|
---|
56 | <echo message="Installing Documentation files"/>
|
---|
57 | <mkdir dir="${installDir}/doc"/>
|
---|
58 | <unzip src="${antinstaller.jar}" dest="${installDir}">
|
---|
59 | <patternset>
|
---|
60 | <include name="doc/**/*"/>
|
---|
61 | </patternset>
|
---|
62 | </unzip>
|
---|
63 | </target>
|
---|
64 | Documentation-->
|
---|
65 |
|
---|
66 | <!--SourceCode
|
---|
67 | <target name="tgsrc" depends="">
|
---|
68 | <echo message="Installing Source files"/>
|
---|
69 | <mkdir dir="${installDir}/src"/>
|
---|
70 | <unzip src="${antinstaller.jar}" dest="${installDir}">
|
---|
71 | <patternset>
|
---|
72 | <include name="src/**/*"/>
|
---|
73 | </patternset>
|
---|
74 | </unzip>
|
---|
75 | </target>
|
---|
76 | SourceCode-->
|
---|
77 |
|
---|
78 | <target name="cleanuptarget" depends="">
|
---|
79 | </target>
|
---|
80 | </project>
|
---|