I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit edf5ef58 authored by zzz's avatar zzz
Browse files

remove dup docs from tomcat jars

parent 405c24b0
No related branches found
No related tags found
No related merge requests found
...@@ -112,18 +112,23 @@ ...@@ -112,18 +112,23 @@
servlet-api.jar + jsp-api.jar : javax.servlet.jar servlet-api.jar + jsp-api.jar : javax.servlet.jar
tomcat-juli.jar : commons-logging.jar tomcat-juli.jar : commons-logging.jar
empty jar : jasper-compiler.jar empty jar : jasper-compiler.jar
Also, take NOTICE and LICENSE out of each one, we bundle those separately.
--> -->
<target name="copyTomcatLib" > <target name="copyTomcatLib" >
<copy file="${tomcat.lib}/jasper.jar" tofile="jettylib/jasper-runtime.jar" /> <jar destfile="jettylib/jasper-runtime.jar" >
<copy file="${tomcat.lib}/jasper-el.jar" tofile="jettylib/commons-el.jar" /> <zipfileset excludes="META-INF/LICENSE META-INF/NOTICE" src="${tomcat.lib}/jasper.jar" />
<jar destfile="jettylib/commons-el.jar" duplicate="preserve" update="true" > </jar>
<jar destfile="jettylib/commons-el.jar" duplicate="preserve" >
<zipfileset excludes="META-INF/LICENSE META-INF/NOTICE" src="${tomcat.lib}/jasper-el.jar" />
<zipfileset excludes="META-INF/**/*" src="${tomcat.lib}/el-api.jar" /> <zipfileset excludes="META-INF/**/*" src="${tomcat.lib}/el-api.jar" />
</jar> </jar>
<copy file="${tomcat.lib}/servlet-api.jar" tofile="jettylib/javax.servlet.jar" /> <jar destfile="jettylib/javax.servlet.jar" duplicate="preserve" >
<jar destfile="jettylib/javax.servlet.jar" duplicate="preserve" update="true" > <zipfileset excludes="META-INF/LICENSE META-INF/NOTICE" src="${tomcat.lib}/servlet-api.jar" />
<zipfileset excludes="META-INF/**/*" src="${tomcat.lib}/jsp-api.jar" /> <zipfileset excludes="META-INF/**/*" src="${tomcat.lib}/jsp-api.jar" />
</jar> </jar>
<copy file="${tomcat.lib}/tomcat-juli.jar" tofile="jettylib/commons-logging.jar" /> <jar destfile="jettylib/commons-logging.jar" >
<zipfileset excludes="META-INF/LICENSE META-INF/NOTICE" src="${tomcat.lib}/tomcat-juli.jar" />
</jar>
<jar destfile="jettylib/jasper-compiler.jar" /> <jar destfile="jettylib/jasper-compiler.jar" />
</target> </target>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment