톰캣 7은 ant + eclipse 기반이라 바로 다운받아서 컴파일이 가능하다..
http://apache.mirror.cdnetworks.com/tomcat/tomcat-7/v7.0.0-beta/src/
여기서 소스를 다운받는다.
빌드를 실행시킨다. 깔끔하다. 상황에 따라서, 사용자 디렉토리의 일부 lib와 버젼 문제가 있을 수는 있다.
불필요하다면 해당 jar를 지우고, 컴파일 하면 깔끔히 컴파일이 된다.
Buildfile: D:\platform\Tomcat7\build.xml
build-prepare:
[delete] Deleting directory D:\platform\Tomcat7\output\build\temp
[mkdir] Created dir: D:\platform\Tomcat7\output\build\temp
download-compile:
proxyflags:
setproxy:
testexist:
[echo] Testing for /usr/share/java/tomcat-native-1.1.20/tomcat-native.tar.gz
downloadfile:
proxyflags:
setproxy:
testexist:
[echo] Testing for /usr/share/java/commons-daemon-1.0.2/commons-daemon-1.0.2.jar
downloadgz:
proxyflags:
setproxy:
testexist:
[echo] Testing for /usr/share/java/commons-daemon-1.0.2/commons-daemon-1.0.2-native-src.tar.gz
downloadfile:
proxyflags:
setproxy:
testexist:
[echo] Testing for /usr/share/java/commons-pool-1.5.4-src/build.xml
downloadgz:
proxyflags:
setproxy:
testexist:
[echo] Testing for /usr/share/java/commons-dbcp-1.4-src/build.xml
downloadgz:
build-prepare:
[delete] Deleting directory D:\platform\Tomcat7\output\build\temp
[mkdir] Created dir: D:\platform\Tomcat7\output\build\temp
build-manifests:
build-tomcat-dbcp:
[copy] Copying 64 files to D:\usr\share\java\tomcat7-deps\dbcp
[move] Moving 64 files to D:\usr\share\java\tomcat7-deps\dbcp\src\java\org\apache\tomcat\dbcp
[javac] Compiling 64 source files to D:\usr\share\java\tomcat7-deps\dbcp\classes
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[jar] Building jar: D:\usr\share\java\tomcat7-deps\dbcp\tomcat-dbcp.jar
[jar] Building jar: D:\usr\share\java\tomcat7-deps\dbcp\tomcat-dbcp-src.jar
testexist:
[echo] Testing for /usr/share/java/ecj-3.5.1/ecj-3.5.1.jar
downloadfile-2:
[mkdir] Created dir: D:\usr\share\java\ecj-3.5.1
proxyflags:
setproxy:
trydownload.check:
trydownload:
proxyflags:
setproxy:
trydownload.check:
trydownload:
[get] Getting: http://download.eclipse.org/eclipse/downloads/drops/R-3.5.1-200909170800/ecj-3.5.1.jar
[get] To: D:\usr\share\java\ecj-3.5.1\ecj-3.5.1.jar
compile:
[javac] Compiling 1165 source files to D:\platform\Tomcat7\output\classes
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[copy] Copying 189 files to D:\platform\Tomcat7\output\classes
build-manifests:
package:
[jar] Building jar: D:\platform\Tomcat7\output\build\lib\annotations-api.jar
[jar] Building jar: D:\platform\Tomcat7\output\build\lib\servlet-api.jar
[jar] Building jar: D:\platform\Tomcat7\output\build\lib\jsp-api.jar
[jar] Building jar: D:\platform\Tomcat7\output\build\lib\el-api.jar
[jar] Building jar: D:\platform\Tomcat7\output\build\bin\bootstrap.jar
[jar] Building jar: D:\platform\Tomcat7\output\build\bin\tomcat-juli.jar
[jar] Building jar: D:\platform\Tomcat7\output\build\lib\catalina.jar
[jar] Building jar: D:\platform\Tomcat7\output\build\lib\catalina-tribes.jar
[jar] Building jar: D:\platform\Tomcat7\output\build\lib\catalina-ha.jar
[jar] Building jar: D:\platform\Tomcat7\output\build\lib\catalina-ant.jar
[jar] Building jar: D:\platform\Tomcat7\output\build\lib\tomcat-api.jar
[jar] Building jar: D:\platform\Tomcat7\output\build\lib\tomcat-util.jar
[jar] Building jar: D:\platform\Tomcat7\output\build\lib\tomcat-coyote.jar
[jar] Building jar: D:\platform\Tomcat7\output\build\lib\jasper.jar
[jar] Building jar: D:\platform\Tomcat7\output\build\lib\jasper-el.jar
[jar] Building jar: D:\platform\Tomcat7\output\build\lib\tomcat-i18n-es.jar
[jar] Building jar: D:\platform\Tomcat7\output\build\lib\tomcat-i18n-fr.jar
[jar] Building jar: D:\platform\Tomcat7\output\build\lib\tomcat-i18n-ja.jar
build-docs:
[copy] Copying 27 files to D:\platform\Tomcat7\output\build\webapps
[copy] Copying 2 files to D:\platform\Tomcat7\output\build\webapps\docs
[copy] Copying 1 file to D:\platform\Tomcat7\output\build\webapps\docs
[copy] Copying 1 file to D:\platform\Tomcat7\output\build\webapps\docs\appdev\sample
[mkdir] Created dir: D:\platform\Tomcat7\output\build\webapps\docs\funcspecs
[xslt] Transforming into D:\platform\Tomcat7\output\build\webapps\docs
[xslt] Processing D:\platform\Tomcat7\webapps\docs\aio.xml to D:\platform\Tomcat7\output\build\webapps\docs\aio.html
[xslt] Loading stylesheet D:\platform\Tomcat7\webapps\docs\tomcat-docs.xsl
[xslt] Processing D:\platform\Tomcat7\webapps\docs\apr.xml to D:\platform\Tomcat7\output\build\webapps\docs\apr.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\balancer-howto.xml to D:\platform\Tomcat7\output\build\webapps\docs\balancer-howto.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\building.xml to D:\platform\Tomcat7\output\build\webapps\docs\building.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\cgi-howto.xml to D:\platform\Tomcat7\output\build\webapps\docs\cgi-howto.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\changelog.xml to D:\platform\Tomcat7\output\build\webapps\docs\changelog.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\class-loader-howto.xml to D:\platform\Tomcat7\output\build\webapps\docs\class-loader-howto.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\cluster-howto.xml to D:\platform\Tomcat7\output\build\webapps\docs\cluster-howto.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\connectors.xml to D:\platform\Tomcat7\output\build\webapps\docs\connectors.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\default-servlet.xml to D:\platform\Tomcat7\output\build\webapps\docs\default-servlet.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\deployer-howto.xml to D:\platform\Tomcat7\output\build\webapps\docs\deployer-howto.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\developers.xml to D:\platform\Tomcat7\output\build\webapps\docs\developers.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\extras.xml to D:\platform\Tomcat7\output\build\webapps\docs\extras.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\html-manager-howto.xml to D:\platform\Tomcat7\output\build\webapps\docs\html-manager-howto.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\index.xml to D:\platform\Tomcat7\output\build\webapps\docs\index.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\introduction.xml to D:\platform\Tomcat7\output\build\webapps\docs\introduction.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\jasper-howto.xml to D:\platform\Tomcat7\output\build\webapps\docs\jasper-howto.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\jndi-datasource-examples-howto.xml to D:\platform\Tomcat7\output\build\webapps\docs\jndi-datasource-examples-howto.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\jndi-resources-howto.xml to D:\platform\Tomcat7\output\build\webapps\docs\jndi-resources-howto.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\logging.xml to D:\platform\Tomcat7\output\build\webapps\docs\logging.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\manager-howto.xml to D:\platform\Tomcat7\output\build\webapps\docs\manager-howto.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\maven-jars.xml to D:\platform\Tomcat7\output\build\webapps\docs\maven-jars.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\mbeans-descriptor-howto.xml to D:\platform\Tomcat7\output\build\webapps\docs\mbeans-descriptor-howto.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\monitoring.xml to D:\platform\Tomcat7\output\build\webapps\docs\monitoring.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\proxy-howto.xml to D:\platform\Tomcat7\output\build\webapps\docs\proxy-howto.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\realm-howto.xml to D:\platform\Tomcat7\output\build\webapps\docs\realm-howto.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\security-howto.xml to D:\platform\Tomcat7\output\build\webapps\docs\security-howto.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\security-manager-howto.xml to D:\platform\Tomcat7\output\build\webapps\docs\security-manager-howto.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\setup.xml to D:\platform\Tomcat7\output\build\webapps\docs\setup.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\ssi-howto.xml to D:\platform\Tomcat7\output\build\webapps\docs\ssi-howto.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\ssl-howto.xml to D:\platform\Tomcat7\output\build\webapps\docs\ssl-howto.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\virtual-hosting-howto.xml to D:\platform\Tomcat7\output\build\webapps\docs\virtual-hosting-howto.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\windows-service-howto.xml to D:\platform\Tomcat7\output\build\webapps\docs\windows-service-howto.html
[xslt] Transforming into D:\platform\Tomcat7\output\build\webapps\docs\appdev
[xslt] Processing D:\platform\Tomcat7\webapps\docs\appdev\deployment.xml to D:\platform\Tomcat7\output\build\webapps\docs\appdev\deployment.html
[xslt] Loading stylesheet D:\platform\Tomcat7\webapps\docs\tomcat-docs.xsl
[xslt] Processing D:\platform\Tomcat7\webapps\docs\appdev\index.xml to D:\platform\Tomcat7\output\build\webapps\docs\appdev\index.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\appdev\installation.xml to D:\platform\Tomcat7\output\build\webapps\docs\appdev\installation.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\appdev\introduction.xml to D:\platform\Tomcat7\output\build\webapps\docs\appdev\introduction.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\appdev\processes.xml to D:\platform\Tomcat7\output\build\webapps\docs\appdev\processes.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\appdev\source.xml to D:\platform\Tomcat7\output\build\webapps\docs\appdev\source.html
[xslt] Transforming into D:\platform\Tomcat7\output\build\webapps\docs\funcspecs
[xslt] Processing D:\platform\Tomcat7\webapps\docs\funcspecs\fs-admin-apps.xml to D:\platform\Tomcat7\output\build\webapps\docs\funcspecs\fs-admin-apps.html
[xslt] Loading stylesheet D:\platform\Tomcat7\webapps\docs\tomcat-docs.xsl
[xslt] Processing D:\platform\Tomcat7\webapps\docs\funcspecs\fs-admin-objects.xml to D:\platform\Tomcat7\output\build\webapps\docs\funcspecs\fs-admin-objects.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\funcspecs\fs-admin-opers.xml to D:\platform\Tomcat7\output\build\webapps\docs\funcspecs\fs-admin-opers.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\funcspecs\fs-default.xml to D:\platform\Tomcat7\output\build\webapps\docs\funcspecs\fs-default.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\funcspecs\fs-jdbc-realm.xml to D:\platform\Tomcat7\output\build\webapps\docs\funcspecs\fs-jdbc-realm.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\funcspecs\fs-jndi-realm.xml to D:\platform\Tomcat7\output\build\webapps\docs\funcspecs\fs-jndi-realm.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\funcspecs\fs-memory-realm.xml to D:\platform\Tomcat7\output\build\webapps\docs\funcspecs\fs-memory-realm.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\funcspecs\index.xml to D:\platform\Tomcat7\output\build\webapps\docs\funcspecs\index.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\funcspecs\mbean-names.xml to D:\platform\Tomcat7\output\build\webapps\docs\funcspecs\mbean-names.html
[xslt] Transforming into D:\platform\Tomcat7\output\build\webapps\docs\config
[xslt] Processing D:\platform\Tomcat7\webapps\docs\config\ajp.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\ajp.html
[xslt] Loading stylesheet D:\platform\Tomcat7\webapps\docs\tomcat-docs.xsl
[xslt] Processing D:\platform\Tomcat7\webapps\docs\config\cluster-channel.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\cluster-channel.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\config\cluster-deployer.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\cluster-deployer.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\config\cluster-interceptor.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\cluster-interceptor.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\config\cluster-listener.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\cluster-listener.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\config\cluster-manager.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\cluster-manager.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\config\cluster-membership.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\cluster-membership.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\config\cluster-receiver.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\cluster-receiver.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\config\cluster-sender.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\cluster-sender.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\config\cluster-valve.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\cluster-valve.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\config\cluster.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\cluster.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\config\context.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\context.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\config\engine.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\engine.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\config\executor.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\executor.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\config\filter.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\filter.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\config\globalresources.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\globalresources.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\config\host.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\host.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\config\http.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\http.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\config\index.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\index.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\config\jar-scanner.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\jar-scanner.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\config\listeners.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\listeners.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\config\loader.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\loader.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\config\manager.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\manager.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\config\realm.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\realm.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\config\resources.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\resources.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\config\server.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\server.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\config\service.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\service.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\config\systemprops.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\systemprops.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\config\valve.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\valve.html
[xslt] Transforming into D:\platform\Tomcat7\output\build\webapps\docs\architecture
[xslt] Processing D:\platform\Tomcat7\webapps\docs\architecture\index.xml to D:\platform\Tomcat7\output\build\webapps\docs\architecture\index.html
[xslt] Loading stylesheet D:\platform\Tomcat7\webapps\docs\tomcat-docs.xsl
[xslt] Processing D:\platform\Tomcat7\webapps\docs\architecture\overview.xml to D:\platform\Tomcat7\output\build\webapps\docs\architecture\overview.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\architecture\requestProcess.xml to D:\platform\Tomcat7\output\build\webapps\docs\architecture\requestProcess.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\architecture\startup.xml to D:\platform\Tomcat7\output\build\webapps\docs\architecture\startup.html
[xslt] Transforming into D:\platform\Tomcat7\output\build\webapps\docs\tribes
[xslt] Processing D:\platform\Tomcat7\webapps\docs\tribes\faq.xml to D:\platform\Tomcat7\output\build\webapps\docs\tribes\faq.html
[xslt] Loading stylesheet D:\platform\Tomcat7\webapps\docs\tomcat-docs.xsl
[xslt] Processing D:\platform\Tomcat7\webapps\docs\tribes\introduction.xml to D:\platform\Tomcat7\output\build\webapps\docs\tribes\introduction.html
[xslt] Processing D:\platform\Tomcat7\webapps\docs\tribes\setup.xml to D:\platform\Tomcat7\output\build\webapps\docs\tribes\setup.html
deploy:
[copy] Copying 1 file to D:\platform\Tomcat7\output\build\bin
[copy] Copying 1 file to D:\platform\Tomcat7\output\build\bin
[copy] Copying 1 file to D:\platform\Tomcat7\output\build\bin
[copy] Copying 1 file to D:\platform\Tomcat7\output\build\bin
[copy] Copying 16 files to D:\platform\Tomcat7\output\build\bin
[copy] Copying 7 files to D:\platform\Tomcat7\output\build\conf
[copy] Copying 222 files to D:\platform\Tomcat7\output\build\webapps
[copy] Copying 1 file to D:\platform\Tomcat7\output\build\webapps
[copy] Copying 1 file to D:\platform\Tomcat7\output\build\webapps\ROOT
[javac] Compiling 50 source files to D:\platform\Tomcat7\output\build\webapps\examples\WEB-INF\classes
[javac] Compiling 1 source file to D:\platform\Tomcat7\output\build\webapps\examples\jsp\plugin\applet
examples-sources:
[txt2html] Converted 1 file to D:\platform\Tomcat7\output\build\webapps\examples\jsp\jsp2\simpletag
[txt2html] Converted 4 files to D:\platform\Tomcat7\output\build\webapps\examples\jsp\jsp2\simpletag
[txt2html] Converted 5 files to D:\platform\Tomcat7\output\build\webapps\examples\jsp\jsp2\simpletag
[txt2html] Converted 1 file to D:\platform\Tomcat7\output\build\webapps\examples\jsp\jsp2\jspattribute
[txt2html] Converted 4 files to D:\platform\Tomcat7\output\build\webapps\examples\jsp\jsp2\jspattribute
[txt2html] Converted 4 files to D:\platform\Tomcat7\output\build\webapps\examples\jsp\cal
[txt2html] Converted 1 file to D:\platform\Tomcat7\output\build\webapps\examples\jsp\jsptoserv
[txt2html] Converted 1 file to D:\platform\Tomcat7\output\build\webapps\examples\jsp\jsp2\el
[txt2html] Converted 2 files to D:\platform\Tomcat7\output\build\webapps\examples\jsp\jsp2\el
[txt2html] Converted 3 files to D:\platform\Tomcat7\output\build\webapps\examples\jsp\jsp2\el
[txt2html] Converted 1 file to D:\platform\Tomcat7\output\build\webapps\examples\jsp\jsp2\misc
[txt2html] Converted 4 files to D:\platform\Tomcat7\output\build\webapps\examples\jsp\jsp2\tagfiles
[txt2html] Converted 51 files to D:\platform\Tomcat7\output\build\webapps\examples
[copy] Copying 1 file to D:\platform\Tomcat7\output\build\lib
[copy] Copying 1 file to D:\platform\Tomcat7\output\build\lib
BUILD SUCCESSFUL
Total time: 46 seconds
'Web service' 카테고리의 다른 글
Apache httpd 에 sticky bit 줄 때, 해야할 일 (0) | 2010.07.19 |
---|---|
web dav 설명 (0) | 2010.07.19 |
Http Client 4 이슈 (0) | 2010.07.09 |
Tomcat 7 Released (0) | 2010.07.02 |
AB (apache load generator) usage (0) | 2010.06.13 |