tomcat 编译

1.
下载源码
[url]http://svn.apache.org/repos/asf/tomcat/tc6.0.x/tags/TOMCAT_6_0_32/[/url]

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
[color=red]PS:工程的 JDK为必须1.5版本.否则DBCP包编译会报错.[/color]
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
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值