usr/src/cmd/tomcat/Patches/build.xml.patch
author Jon Tibble <meths@btinternet.com>
Tue, 31 Jan 2012 18:34:04 +0000
branchoi_151a
changeset 113 b1282e88c680
parent 19 2551d5e2ae4a
child 179 dc5cd0abc245
permissions -rw-r--r--
Bump tomcat to 6.0.35
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
113
b1282e88c680 Bump tomcat to 6.0.35
Jon Tibble <meths@btinternet.com>
parents: 19
diff changeset
     1
--- apache-tomcat-6.0.33-src/build.xml	Tue Aug 16 05:26:13 2011
b1282e88c680 Bump tomcat to 6.0.35
Jon Tibble <meths@btinternet.com>
parents: 19
diff changeset
     2
+++ apache-tomcat-6.0.33-src/build.xml	Tue Aug 16 06:44:09 2011
b1282e88c680 Bump tomcat to 6.0.35
Jon Tibble <meths@btinternet.com>
parents: 19
diff changeset
     3
@@ -469,13 +469,6 @@
0
b34509ac961f Import sfw repo b126
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
     4
 
19
2551d5e2ae4a Import sfw build 145
Cyril Plisko <cyril.plisko@grigale.com>
parents: 7
diff changeset
     5
   <target name="deploy" depends="build-only,build-docs,warn.dbcp">
7
f96733ecc878 Import sfw build 133
Cyril Plisko <cyril.plisko@grigale.com>
parents: 0
diff changeset
     6
 
0
b34509ac961f Import sfw repo b126
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
     7
-    <copy tofile="${tomcat.build}/bin/tomcat-native.tar.gz"
b34509ac961f Import sfw repo b126
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
     8
-            file="${tomcat-native.tar.gz}" />
19
2551d5e2ae4a Import sfw build 145
Cyril Plisko <cyril.plisko@grigale.com>
parents: 7
diff changeset
     9
-    <copy tofile="${tomcat.build}/bin/commons-daemon-native.tar.gz"
2551d5e2ae4a Import sfw build 145
Cyril Plisko <cyril.plisko@grigale.com>
parents: 7
diff changeset
    10
-            file="${commons-daemon.native.src.tgz}" />
0
b34509ac961f Import sfw repo b126
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    11
-
19
2551d5e2ae4a Import sfw build 145
Cyril Plisko <cyril.plisko@grigale.com>
parents: 7
diff changeset
    12
-    <copy tofile="${tomcat.build}/bin/commons-daemon.jar" file="${commons-daemon.jar}" />
0
b34509ac961f Import sfw repo b126
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    13
-
b34509ac961f Import sfw repo b126
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    14
     <!-- Copy scripts -->
b34509ac961f Import sfw repo b126
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    15
     <copy todir="${tomcat.build}/bin">
b34509ac961f Import sfw repo b126
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    16
       <fileset dir="bin">
113
b1282e88c680 Bump tomcat to 6.0.35
Jon Tibble <meths@btinternet.com>
parents: 19
diff changeset
    17
@@ -759,55 +752,6 @@
7
f96733ecc878 Import sfw build 133
Cyril Plisko <cyril.plisko@grigale.com>
parents: 0
diff changeset
    18
           description="Download (and build as necessary) dependent components"
f96733ecc878 Import sfw build 133
Cyril Plisko <cyril.plisko@grigale.com>
parents: 0
diff changeset
    19
           depends="build-manifests">
0
b34509ac961f Import sfw repo b126
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    20
 
113
b1282e88c680 Bump tomcat to 6.0.35
Jon Tibble <meths@btinternet.com>
parents: 19
diff changeset
    21
-    <antcall target="downloadfile-2">
b1282e88c680 Bump tomcat to 6.0.35
Jon Tibble <meths@btinternet.com>
parents: 19
diff changeset
    22
-      <param name="sourcefile.1" value="${tomcat-native.loc.1}"/>
b1282e88c680 Bump tomcat to 6.0.35
Jon Tibble <meths@btinternet.com>
parents: 19
diff changeset
    23
-      <param name="sourcefile.2" value="${tomcat-native.loc.2}"/>
0
b34509ac961f Import sfw repo b126
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    24
-      <param name="destfile" value="${tomcat-native.tar.gz}"/>
b34509ac961f Import sfw repo b126
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    25
-      <param name="destdir" value="${tomcat-native.home}"/>
b34509ac961f Import sfw repo b126
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    26
-    </antcall>
b34509ac961f Import sfw repo b126
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    27
-
113
b1282e88c680 Bump tomcat to 6.0.35
Jon Tibble <meths@btinternet.com>
parents: 19
diff changeset
    28
-    <antcall target="downloadfile-2">
b1282e88c680 Bump tomcat to 6.0.35
Jon Tibble <meths@btinternet.com>
parents: 19
diff changeset
    29
-      <param name="sourcefile.1" value="${tomcat-native.dll.1}/win32/tcnative-1.dll"/>
b1282e88c680 Bump tomcat to 6.0.35
Jon Tibble <meths@btinternet.com>
parents: 19
diff changeset
    30
-      <param name="sourcefile.2" value="${tomcat-native.dll.2}/win32/tcnative-1.dll"/>
b1282e88c680 Bump tomcat to 6.0.35
Jon Tibble <meths@btinternet.com>
parents: 19
diff changeset
    31
-      <param name="destfile" value="${tomcat-native.dll.win32}"/>
0
b34509ac961f Import sfw repo b126
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    32
-      <param name="destdir" value="${tomcat-native.home}"/>
b34509ac961f Import sfw repo b126
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    33
-    </antcall>
b34509ac961f Import sfw repo b126
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    34
-
113
b1282e88c680 Bump tomcat to 6.0.35
Jon Tibble <meths@btinternet.com>
parents: 19
diff changeset
    35
-    <antcall target="downloadfile-2">
b1282e88c680 Bump tomcat to 6.0.35
Jon Tibble <meths@btinternet.com>
parents: 19
diff changeset
    36
-      <param name="sourcefile.1" value="${tomcat-native.dll.1}/win64/x64/tcnative-1.dll"/>
b1282e88c680 Bump tomcat to 6.0.35
Jon Tibble <meths@btinternet.com>
parents: 19
diff changeset
    37
-      <param name="sourcefile.2" value="${tomcat-native.dll.2}/win64/x64/tcnative-1.dll"/>
b1282e88c680 Bump tomcat to 6.0.35
Jon Tibble <meths@btinternet.com>
parents: 19
diff changeset
    38
-      <param name="destfile" value="${tomcat-native.dll.x64}"/>
0
b34509ac961f Import sfw repo b126
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    39
-      <param name="destdir" value="${tomcat-native.home}"/>
b34509ac961f Import sfw repo b126
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    40
-    </antcall>
b34509ac961f Import sfw repo b126
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    41
-
113
b1282e88c680 Bump tomcat to 6.0.35
Jon Tibble <meths@btinternet.com>
parents: 19
diff changeset
    42
-    <antcall target="downloadfile-2">
b1282e88c680 Bump tomcat to 6.0.35
Jon Tibble <meths@btinternet.com>
parents: 19
diff changeset
    43
-      <param name="sourcefile.1" value="${tomcat-native.dll.1}/win64/ia64/tcnative-1.dll"/>
b1282e88c680 Bump tomcat to 6.0.35
Jon Tibble <meths@btinternet.com>
parents: 19
diff changeset
    44
-      <param name="sourcefile.2" value="${tomcat-native.dll.2}/win64/ia64/tcnative-1.dll"/>
b1282e88c680 Bump tomcat to 6.0.35
Jon Tibble <meths@btinternet.com>
parents: 19
diff changeset
    45
-      <param name="destfile" value="${tomcat-native.dll.i64}"/>
7
f96733ecc878 Import sfw build 133
Cyril Plisko <cyril.plisko@grigale.com>
parents: 0
diff changeset
    46
-      <param name="destdir" value="${tomcat-native.home}"/>
f96733ecc878 Import sfw build 133
Cyril Plisko <cyril.plisko@grigale.com>
parents: 0
diff changeset
    47
-    </antcall>
f96733ecc878 Import sfw build 133
Cyril Plisko <cyril.plisko@grigale.com>
parents: 0
diff changeset
    48
-
19
2551d5e2ae4a Import sfw build 145
Cyril Plisko <cyril.plisko@grigale.com>
parents: 7
diff changeset
    49
-    <!-- Download Commons Daemon -->
113
b1282e88c680 Bump tomcat to 6.0.35
Jon Tibble <meths@btinternet.com>
parents: 19
diff changeset
    50
-    <antcall target="downloadgz-2">
b1282e88c680 Bump tomcat to 6.0.35
Jon Tibble <meths@btinternet.com>
parents: 19
diff changeset
    51
-      <param name="sourcefile.1" value="${commons-daemon.bin.loc.1}"/>
b1282e88c680 Bump tomcat to 6.0.35
Jon Tibble <meths@btinternet.com>
parents: 19
diff changeset
    52
-      <param name="sourcefile.2" value="${commons-daemon.bin.loc.2}"/>
0
b34509ac961f Import sfw repo b126
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    53
-      <param name="destfile" value="${commons-daemon.jar}"/>
b34509ac961f Import sfw repo b126
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    54
-    </antcall>
b34509ac961f Import sfw repo b126
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    55
-
113
b1282e88c680 Bump tomcat to 6.0.35
Jon Tibble <meths@btinternet.com>
parents: 19
diff changeset
    56
-    <antcall target="downloadfile-2">
b1282e88c680 Bump tomcat to 6.0.35
Jon Tibble <meths@btinternet.com>
parents: 19
diff changeset
    57
-      <param name="sourcefile.1" value="${commons-daemon.native.src.loc.1}"/>
b1282e88c680 Bump tomcat to 6.0.35
Jon Tibble <meths@btinternet.com>
parents: 19
diff changeset
    58
-      <param name="sourcefile.2" value="${commons-daemon.native.src.loc.2}"/>
19
2551d5e2ae4a Import sfw build 145
Cyril Plisko <cyril.plisko@grigale.com>
parents: 7
diff changeset
    59
-      <param name="destfile" value="${commons-daemon.native.src.tgz}"/>
2551d5e2ae4a Import sfw build 145
Cyril Plisko <cyril.plisko@grigale.com>
parents: 7
diff changeset
    60
-      <param name="destdir" value="${commons-daemon.home}"/>
2551d5e2ae4a Import sfw build 145
Cyril Plisko <cyril.plisko@grigale.com>
parents: 7
diff changeset
    61
-    </antcall>
2551d5e2ae4a Import sfw build 145
Cyril Plisko <cyril.plisko@grigale.com>
parents: 7
diff changeset
    62
-
113
b1282e88c680 Bump tomcat to 6.0.35
Jon Tibble <meths@btinternet.com>
parents: 19
diff changeset
    63
-    <antcall target="downloadzip-2">
b1282e88c680 Bump tomcat to 6.0.35
Jon Tibble <meths@btinternet.com>
parents: 19
diff changeset
    64
-      <param name="sourcefile.1" value="${commons-daemon.native.win.loc.1}"/>
b1282e88c680 Bump tomcat to 6.0.35
Jon Tibble <meths@btinternet.com>
parents: 19
diff changeset
    65
-      <param name="sourcefile.2" value="${commons-daemon.native.win.loc.2}"/>
19
2551d5e2ae4a Import sfw build 145
Cyril Plisko <cyril.plisko@grigale.com>
parents: 7
diff changeset
    66
-      <param name="destfile" value="${commons-daemon.native.win.mgr.exe}"/>
2551d5e2ae4a Import sfw build 145
Cyril Plisko <cyril.plisko@grigale.com>
parents: 7
diff changeset
    67
-      <param name="destdir" value="${commons-daemon.native.win.home}"/>
2551d5e2ae4a Import sfw build 145
Cyril Plisko <cyril.plisko@grigale.com>
parents: 7
diff changeset
    68
-    </antcall>
2551d5e2ae4a Import sfw build 145
Cyril Plisko <cyril.plisko@grigale.com>
parents: 7
diff changeset
    69
-
0
b34509ac961f Import sfw repo b126
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    70
     <!-- Build Tomcat DBCP bundle -->
113
b1282e88c680 Bump tomcat to 6.0.35
Jon Tibble <meths@btinternet.com>
parents: 19
diff changeset
    71
     <antcall target="downloadgz-2">
b1282e88c680 Bump tomcat to 6.0.35
Jon Tibble <meths@btinternet.com>
parents: 19
diff changeset
    72
       <param name="sourcefile.1" value="${commons-pool-src.loc.1}"/>
b1282e88c680 Bump tomcat to 6.0.35
Jon Tibble <meths@btinternet.com>
parents: 19
diff changeset
    73
@@ -832,15 +776,9 @@
b1282e88c680 Bump tomcat to 6.0.35
Jon Tibble <meths@btinternet.com>
parents: 19
diff changeset
    74
       <param name="destdir" value="${jdt.home}"/>
0
b34509ac961f Import sfw repo b126
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    75
     </antcall>
b34509ac961f Import sfw repo b126
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    76
 
b34509ac961f Import sfw repo b126
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    77
-    <antcall target="downloadzip">
b34509ac961f Import sfw repo b126
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    78
-      <param name="sourcefile" value="${nsis.loc}"/>
b34509ac961f Import sfw repo b126
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    79
-      <param name="destfile" value="${nsis.exe}"/>
b34509ac961f Import sfw repo b126
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    80
-      <param name="destdir" value="${nsis.home}/.."/>
b34509ac961f Import sfw repo b126
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    81
-    </antcall>
b34509ac961f Import sfw repo b126
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    82
-
b34509ac961f Import sfw repo b126
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    83
   </target>
b34509ac961f Import sfw repo b126
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    84
 
19
2551d5e2ae4a Import sfw build 145
Cyril Plisko <cyril.plisko@grigale.com>
parents: 7
diff changeset
    85
-  <target name="build-tomcat-dbcp" unless="jdk16.present"
2551d5e2ae4a Import sfw build 145
Cyril Plisko <cyril.plisko@grigale.com>
parents: 7
diff changeset
    86
+  <target name="build-tomcat-dbcp"
2551d5e2ae4a Import sfw build 145
Cyril Plisko <cyril.plisko@grigale.com>
parents: 7
diff changeset
    87
           depends="build-manifests">
7
f96733ecc878 Import sfw build 133
Cyril Plisko <cyril.plisko@grigale.com>
parents: 0
diff changeset
    88
     <copy todir="${tomcat-dbcp.home}">
f96733ecc878 Import sfw build 133
Cyril Plisko <cyril.plisko@grigale.com>
parents: 0
diff changeset
    89
       <fileset dir="${commons-pool.home}">