tomcat 6.0 build from source

1.文档http://tomcat.apache.org/tomcat-6.0-doc/building.html#Building_Tomcat

2.在下载好的文件下面,找到build.properties.default. 复制这个文件,到同级目录并重命名为build.properties.

3.打开build.properties, 找到base.path,替换此行,改为base.path=C:/job/tomcat-build-download.   Base path声明了tomcat build所依赖的外部资源的目录。Build过程中所有的网络依赖资源,都下载到此目录下面。

4.执行ant download 然后执行ant


5.引入eclipse 调试方法见官方文档

猜你喜欢

转载自dragonwhen.iteye.com/blog/1979309