components/tomcat-8/patches/build.xml.patch
changeset 4248 7b59b5b80fb0
parent 4089 1788e52b3086
child 5149 651acf52b7a3
equal deleted inserted replaced
4247:d42d8f27e0f9 4248:7b59b5b80fb0
       
     1 Patch origin: in-house
       
     2 Patch status: Solaris-specific; not suitable for upstream
       
     3 
       
     4 Download/use only archives we really need.
       
     5 Don't install unnecessary stuff.
       
     6 
       
     7 --- build.xml
       
     8 +++ build.xml
       
     9 @@ -999,13 +999,6 @@
       
    10    <target name="deploy" depends="package,build-docs,build-tomcat-jdbc,compile-webapp-examples"
       
    11            description="Default. Builds a working Tomcat instance">
       
    12  
       
    13 -    <copy tofile="${tomcat.build}/bin/tomcat-native.tar.gz"
       
    14 -            file="${tomcat-native.tar.gz}" />
       
    15 -    <copy tofile="${tomcat.build}/bin/commons-daemon-native.tar.gz"
       
    16 -            file="${commons-daemon.native.src.tgz}" />
       
    17 -
       
    18 -    <copy tofile="${tomcat.build}/bin/commons-daemon.jar" file="${commons-daemon.jar}" />
       
    19 -
       
    20      <!-- Copy scripts -->
       
    21      <copy todir="${tomcat.build}/bin">
       
    22        <fileset dir="bin">
       
    23 @@ -2744,27 +2737,6 @@
       
    24    <target name="download-compile"
       
    25            description="Download (and build) components necessary to compile" >
       
    26  
       
    27 -    <antcall target="downloadfile-2">
       
    28 -      <param name="sourcefile.1" value="${tomcat-native.loc.1}"/>
       
    29 -      <param name="sourcefile.2" value="${tomcat-native.loc.2}"/>
       
    30 -      <param name="destfile" value="${tomcat-native.tar.gz}"/>
       
    31 -      <param name="destdir" value="${tomcat-native.home}"/>
       
    32 -    </antcall>
       
    33 -
       
    34 -    <!-- Download Commons Daemon -->
       
    35 -    <antcall target="downloadgz-2">
       
    36 -      <param name="sourcefile.1" value="${commons-daemon.bin.loc.1}"/>
       
    37 -      <param name="sourcefile.2" value="${commons-daemon.bin.loc.2}"/>
       
    38 -      <param name="destfile" value="${commons-daemon.jar}"/>
       
    39 -    </antcall>
       
    40 -
       
    41 -    <antcall target="downloadfile-2">
       
    42 -      <param name="sourcefile.1" value="${commons-daemon.native.src.loc.1}"/>
       
    43 -      <param name="sourcefile.2" value="${commons-daemon.native.src.loc.2}"/>
       
    44 -      <param name="destfile" value="${commons-daemon.native.src.tgz}"/>
       
    45 -      <param name="destdir" value="${commons-daemon.home}"/>
       
    46 -    </antcall>
       
    47 -
       
    48      <!-- Download JDT (Eclipse compiler) -->
       
    49      <antcall target="downloadfile-2">
       
    50        <param name="sourcefile.1" value="${jdt.loc.1}"/>
       
    51 @@ -2775,15 +2747,6 @@
       
    52  
       
    53    </target>
       
    54  
       
    55 -  <target name="download-npn"
       
    56 -          description="Download optional NPN" >
       
    57 -    <antcall target="downloadfile">
       
    58 -     <param name="sourcefile" value="${npn.loc}"/>
       
    59 -     <param name="destfile" value="${npn.jar}"/>
       
    60 -     <param name="destdir" value="${npn.home}"/>
       
    61 -    </antcall>
       
    62 -  </target>
       
    63 -
       
    64    <target name="download-test-compile"
       
    65            description="Download additional components for the tests" >
       
    66