Changeset edf5ef5 for apps/jetty


Ignore:
Timestamp:
Jan 10, 2012 8:17:35 PM (8 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
23ca49ea
Parents:
405c24b
Message:

remove dup docs from tomcat jars

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/jetty/build.xml

    r405c24b redf5ef5  
    113113         tomcat-juli.jar : commons-logging.jar
    114114         empty jar : jasper-compiler.jar
     115         Also, take NOTICE and LICENSE out of each one, we bundle those separately.
    115116     -->
    116117    <target name="copyTomcatLib" >
    117         <copy file="${tomcat.lib}/jasper.jar" tofile="jettylib/jasper-runtime.jar" />
    118         <copy file="${tomcat.lib}/jasper-el.jar" tofile="jettylib/commons-el.jar" />
    119         <jar destfile="jettylib/commons-el.jar" duplicate="preserve" update="true" >
     118        <jar destfile="jettylib/jasper-runtime.jar" >
     119            <zipfileset excludes="META-INF/LICENSE META-INF/NOTICE" src="${tomcat.lib}/jasper.jar" />
     120        </jar>
     121        <jar destfile="jettylib/commons-el.jar" duplicate="preserve" >
     122            <zipfileset excludes="META-INF/LICENSE META-INF/NOTICE" src="${tomcat.lib}/jasper-el.jar" />
    120123            <zipfileset excludes="META-INF/**/*" src="${tomcat.lib}/el-api.jar" />
    121124        </jar>
    122         <copy file="${tomcat.lib}/servlet-api.jar" tofile="jettylib/javax.servlet.jar" />
    123         <jar destfile="jettylib/javax.servlet.jar" duplicate="preserve" update="true" >
     125        <jar destfile="jettylib/javax.servlet.jar" duplicate="preserve" >
     126            <zipfileset excludes="META-INF/LICENSE META-INF/NOTICE" src="${tomcat.lib}/servlet-api.jar" />
    124127            <zipfileset excludes="META-INF/**/*" src="${tomcat.lib}/jsp-api.jar" />
    125128        </jar>
    126         <copy file="${tomcat.lib}/tomcat-juli.jar" tofile="jettylib/commons-logging.jar" />
     129        <jar destfile="jettylib/commons-logging.jar" >
     130            <zipfileset excludes="META-INF/LICENSE META-INF/NOTICE" src="${tomcat.lib}/tomcat-juli.jar" />
     131        </jar>
    127132        <jar destfile="jettylib/jasper-compiler.jar" />
    128133    </target>
Note: See TracChangeset for help on using the changeset viewer.