1.Download Tomcat source code.
2.Create a new directory: basepath.
3.set #base.path from the file build.properties to the above basepath.
4.enter source code directory and ant.
5.after compiling successfully , you can make the two files(.project and .classpath) using executing the command: ant ide-eclipse
6. open eclipse ,import the source code.
7. change the classpath output path to TOMCAT_PROJECT/output/classes
add the classpath variables
ANT_HOME: navigate to ant home directory.
TOMCAT_LIBS_BASE:navigate to base.path
8. run
Import Tomcat Source Code into Eclipse
猜你喜欢
转载自shh201203143702.iteye.com/blog/2184056
今日推荐
周排行