下载源码
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