设为首页 收藏本站
查看: 521|回复: 0

[经验分享] tomcat 编译

[复制链接]

尚未签到

发表于 2017-1-15 09:16:54 | 显示全部楼层 |阅读模式
1.
下载源码
http://svn.apache.org/repos/asf/tomcat/tc6.0.x/tags/TOMCAT_6_0_32/
2
导入工程
tomcat6032
3
重命名
eclipse.project
eclipse.classpath
4
复制
build.properties.default -> build.properties
5
配置 build.properties
新建目录 tomcat6032/deps
base.path=E:/bisoft/code/workspace/201404/tomcat6032/deps
6
PS:工程的 JDK为必须1.5版本.否则DBCP包编译会报错.
builder.xml
运行 ant download build-tomcat-dbcp deploy

Buildfile: E:\bisoft\code\workspace\201404\tomcat6032\build.xml
build-manifests:
[mkdir] Created dir: E:\bisoft\code\workspace\201404\tomcat6032\output\manifests
[copy] Copying 8 files to E:\bisoft\code\workspace\201404\tomcat6032\output\manifests
download:
proxyflags:
setproxy:
testexist:
[echo] Testing  for E:/bisoft/code/workspace/201404/tomcat6032/deps/tomcat-native-1.1.20/tomcat-native.tar.gz
downloadfile:
[mkdir] Created dir: E:\bisoft\code\workspace\201404\tomcat6032\deps\tomcat-native-1.1.20
[get] Getting: http://archive.apache.org/dist/tomcat/tomcat-connectors/native/1.1.20/source/tomcat-native-1.1.20-src.tar.gz
[get] To: E:\bisoft\code\workspace\201404\tomcat6032\deps\tomcat-native-1.1.20\tomcat-native.tar.gz
proxyflags:
setproxy:
testexist:
[echo] Testing  for E:/bisoft/code/workspace/201404/tomcat6032/deps/tomcat-native-1.1.20/tcnative-1.dll.x86
downloadfile:
[get] Getting: http://archive.apache.org/dist/tomcat/tomcat-connectors/native/1.1.20/binaries/win32/tcnative-1.dll
[get] To: E:\bisoft\code\workspace\201404\tomcat6032\deps\tomcat-native-1.1.20\tcnative-1.dll.x86
proxyflags:
setproxy:
testexist:
[echo] Testing  for E:/bisoft/code/workspace/201404/tomcat6032/deps/tomcat-native-1.1.20/tcnative-1.dll.x64
downloadfile:
[get] Getting: http://archive.apache.org/dist/tomcat/tomcat-connectors/native/1.1.20/binaries/win64/x64/tcnative-1.dll
[get] To: E:\bisoft\code\workspace\201404\tomcat6032\deps\tomcat-native-1.1.20\tcnative-1.dll.x64
proxyflags:
setproxy:
testexist:
[echo] Testing  for E:/bisoft/code/workspace/201404/tomcat6032/deps/tomcat-native-1.1.20/tcnative-1.dll.i64
downloadfile:
[get] Getting: http://archive.apache.org/dist/tomcat/tomcat-connectors/native/1.1.20/binaries/win64/ia64/tcnative-1.dll
[get] To: E:\bisoft\code\workspace\201404\tomcat6032\deps\tomcat-native-1.1.20\tcnative-1.dll.i64
proxyflags:
setproxy:
testexist:
[echo] Testing  for E:/bisoft/code/workspace/201404/tomcat6032/deps/commons-daemon-1.0.5/commons-daemon-1.0.5.jar
downloadgz:
[get] Getting: http://archive.apache.org/dist/commons/daemon/binaries/1.0.5/commons-daemon-1.0.5-bin.tar.gz
[get] To: E:\bisoft\code\workspace\201404\tomcat6032\deps\file.tar.gz
[gunzip] Expanding E:\bisoft\code\workspace\201404\tomcat6032\deps\file.tar.gz to E:\bisoft\code\workspace\201404\tomcat6032\deps\file.tar
[untar] Expanding: E:\bisoft\code\workspace\201404\tomcat6032\deps\file.tar into E:\bisoft\code\workspace\201404\tomcat6032\deps
[delete] Deleting: E:\bisoft\code\workspace\201404\tomcat6032\deps\file.tar
[delete] Deleting: E:\bisoft\code\workspace\201404\tomcat6032\deps\file.tar.gz
proxyflags:
setproxy:
testexist:
[echo] Testing  for E:/bisoft/code/workspace/201404/tomcat6032/deps/commons-daemon-1.0.5/commons-daemon-1.0.5-native-src.tar.gz
downloadfile:
[get] Getting: http://archive.apache.org/dist/commons/daemon/source/commons-daemon-1.0.5-native-src.tar.gz
[get] To: E:\bisoft\code\workspace\201404\tomcat6032\deps\commons-daemon-1.0.5\commons-daemon-1.0.5-native-src.tar.gz
proxyflags:
setproxy:
testexist:
[echo] Testing  for E:/bisoft/code/workspace/201404/tomcat6032/deps/commons-daemon-1.0.5/windows/prunmgr.exe
downloadzip:
[get] Getting: http://archive.apache.org/dist/commons/daemon/binaries/1.0.5/windows/commons-daemon-1.0.5-bin-windows.zip
[get] To: E:\bisoft\code\workspace\201404\tomcat6032\deps\file.zip
[mkdir] Created dir: E:\bisoft\code\workspace\201404\tomcat6032\deps\commons-daemon-1.0.5\windows
[unzip] Expanding: E:\bisoft\code\workspace\201404\tomcat6032\deps\file.zip into E:\bisoft\code\workspace\201404\tomcat6032\deps\commons-daemon-1.0.5\windows
[delete] Deleting: E:\bisoft\code\workspace\201404\tomcat6032\deps\file.zip
proxyflags:
setproxy:
testexist:
[echo] Testing  for E:/bisoft/code/workspace/201404/tomcat6032/deps/commons-pool-1.5.5-src/build.xml
downloadgz:
[get] Getting: http://archive.apache.org/dist/commons/pool/source/commons-pool-1.5.5-src.tar.gz
[get] To: E:\bisoft\code\workspace\201404\tomcat6032\deps\file.tar.gz
[gunzip] Expanding E:\bisoft\code\workspace\201404\tomcat6032\deps\file.tar.gz to E:\bisoft\code\workspace\201404\tomcat6032\deps\file.tar
[untar] Expanding: E:\bisoft\code\workspace\201404\tomcat6032\deps\file.tar into E:\bisoft\code\workspace\201404\tomcat6032\deps
[delete] Deleting: E:\bisoft\code\workspace\201404\tomcat6032\deps\file.tar
[delete] Deleting: E:\bisoft\code\workspace\201404\tomcat6032\deps\file.tar.gz
proxyflags:
setproxy:
testexist:
[echo] Testing  for E:/bisoft/code/workspace/201404/tomcat6032/deps/commons-dbcp-1.3-src/build.xml
downloadgz:
[get] Getting: http://archive.apache.org/dist/commons/dbcp/source/commons-dbcp-1.3-src.tar.gz
[get] To: E:\bisoft\code\workspace\201404\tomcat6032\deps\file.tar.gz
[gunzip] Expanding E:\bisoft\code\workspace\201404\tomcat6032\deps\file.tar.gz to E:\bisoft\code\workspace\201404\tomcat6032\deps\file.tar
[untar] Expanding: E:\bisoft\code\workspace\201404\tomcat6032\deps\file.tar into E:\bisoft\code\workspace\201404\tomcat6032\deps
[delete] Deleting: E:\bisoft\code\workspace\201404\tomcat6032\deps\file.tar
[delete] Deleting: E:\bisoft\code\workspace\201404\tomcat6032\deps\file.tar.gz
[mkdir] Created dir: E:\bisoft\code\workspace\201404\tomcat6032\deps\tomcat6-deps\dbcp
build-manifests:
[copy] Copying 8 files to E:\bisoft\code\workspace\201404\tomcat6032\output\manifests
build-tomcat-dbcp:
testexist:
[echo] Testing  for E:/bisoft/code/workspace/201404/tomcat6032/deps/ecj-3.3.1/ecj-3.3.1.jar
downloadfile-2:
[mkdir] Created dir: E:\bisoft\code\workspace\201404\tomcat6032\deps\ecj-3.3.1
proxyflags:
setproxy:
trydownload.check:
trydownload:
[get] Getting: http://archive.eclipse.org/eclipse/downloads/drops/R-3.3.1-200709211145/ecj.jar
[get] To: E:\bisoft\code\workspace\201404\tomcat6032\deps\ecj-3.3.1\ecj-3.3.1.jar
proxyflags:
setproxy:
trydownload.check:
trydownload:
proxyflags:
setproxy:
testexist:
[echo] Testing  for E:/bisoft/code/workspace/201404/tomcat6032/deps/nsis-2.46/makensis.exe
downloadzip:
[get] Getting: http://downloads.sourceforge.net/nsis/nsis-2.46.zip
[get] To: E:\bisoft\code\workspace\201404\tomcat6032\deps\file.zip
[get] http://downloads.sourceforge.net/nsis/nsis-2.46.zip permanently moved to http://downloads.sourceforge.net/project/nsis/NSIS%202/2.46/nsis-2.46.zip
[get] http://downloads.sourceforge.net/project/nsis/NSIS%202/2.46/nsis-2.46.zip moved to http://nchc.dl.sourceforge.net/project/nsis/NSIS%202/2.46/nsis-2.46.zip
[unzip] Expanding: E:\bisoft\code\workspace\201404\tomcat6032\deps\file.zip into E:\bisoft\code\workspace\201404\tomcat6032\deps
[delete] Deleting: E:\bisoft\code\workspace\201404\tomcat6032\deps\file.zip
build-tomcat-dbcp:
...
BUILD SUCCESSFUL
Total time: 2 minutes 23 seconds

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-328609-1-1.html 上篇帖子: resin/tomcat 下篇帖子: Tomcat结构
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表